/* ==========================================================================
   Taj Gold - Product Showcase Grid & Cards
   ========================================================================== */

.taj-products-section {
  padding: 40px 20px 80px;
  position: relative;
  z-index: 2;
}

.products-container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 20px;
}

.sub-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-accent);
  margin-bottom: 6px;
}

.section-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--brown-deep);
}

.header-note {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--brown-dark);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: greenPulse 1.8s infinite;
}

@keyframes greenPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Product Grid Layout */
.taj-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.taj-gold-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.taj-gold-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 217, 61, 0.8);
  box-shadow: 0 16px 30px rgba(79, 32, 13, 0.12);
}

.card-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.weight-tag {
  background: var(--brown-deep);
  color: #FFD93D;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
}

.assay-code {
  font-size: 11px;
  font-weight: 700;
  color: #7A4F3D;
  background: rgba(255, 255, 255, 0.8);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(79, 32, 13, 0.08);
}

.card-thumbnail-wrap {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.gold-bar-mini {
  width: 110px;
  height: 65px;
  background: linear-gradient(135deg, #FFE169 0%, #FFD93D 35%, #D48800 100%);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(212, 136, 0, 0.35), inset 0 1px 2px #FFF;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bar-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: shimmerMove 4s infinite;
}

.bar-text {
  text-align: center;
  color: #4A2800;
  line-height: 1.1;
}

.bar-text span { font-size: 9px; font-weight: 900; letter-spacing: 0.5px; display: block; }
.bar-text strong { font-size: 13px; font-weight: 950; display: block; }
.bar-text small { font-size: 8px; opacity: 0.8; display: block; }

.product-name {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
}

.product-name a {
  color: var(--brown-deep);
  text-decoration: none;
  transition: color 0.2s;
}

.product-name a:hover {
  color: var(--gold-accent);
}

.card-specs {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #7A4F3D;
  margin-bottom: 14px;
}

.card-pricing {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 14px;
}

.price-label {
  display: block;
  font-size: 10.5px;
  color: #7A4F3D;
}

.price-val strong {
  font-size: 16px;
  font-weight: 900;
  color: var(--brown-deep);
}

.price-val .currency {
  font-size: 10.5px;
  color: #7A4F3D;
  margin-right: 2px;
}

.btn-quick-buy {
  width: 100%;
  background: var(--gold-gradient);
  color: var(--brown-deep);
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(255, 154, 0, 0.25);
  transition: var(--transition-smooth);
}

.btn-quick-buy:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 154, 0, 0.35);
}

/* Responsive Grid */
@media (max-width: 1100px) {
  .taj-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .taj-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .taj-gold-card {
    padding: 12px;
  }
  .gold-bar-mini {
    width: 90px;
    height: 52px;
  }
  .product-name {
    font-size: 13.5px;
  }
  .price-val strong {
    font-size: 14px;
  }
  .btn-quick-buy span {
    font-size: 11.5px;
  }
}

/* Shop archive */
.taj-shop-page { padding: 2.5rem 0 4rem; }
.taj-shop-header { margin-bottom: 1.8rem; }
.taj-shop-page .woocommerce-pagination ul { display: flex; gap: 0.4rem; justify-content: center; list-style: none; margin-top: 2rem; }
.taj-shop-page .woocommerce-pagination a,
.taj-shop-page .woocommerce-pagination span {
  display: inline-block; padding: 0.4rem 0.9rem; border-radius: var(--taj-radius-sm);
  border: 1px solid var(--taj-gray-border); background: #fff;
}
.taj-shop-page .woocommerce-pagination .current { background: var(--taj-brown-deep); color: var(--taj-gold-bright); }
.taj-gold-card .card-thumbnail-wrap img { margin: 0 auto; max-height: 160px; object-fit: contain; }
a.btn-quick-buy { text-align: center; justify-content: center; }
