/* ===== SHOP PAGE STYLES ===== */

/* Filter Tabs */
.shop-hero {
  padding: 5rem 2rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, #0E0B0A 0%, #141110 100%);
  border-bottom: 1px solid rgba(201, 148, 122, 0.12);
}

.shop-hero__eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
}

.shop-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.shop-hero__sub {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem 1rem 0;
}

.filter-btn {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid rgba(201, 148, 122, 0.2);
  border-radius: 2rem;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  color: var(--rose-light);
  border-color: rgba(201, 148, 122, 0.5);
}

.filter-btn.active {
  background: var(--rose);
  color: #0E0B0A;
  border-color: var(--rose);
  font-weight: 500;
}

/* Shop Grid */
.shop-section {
  padding: 3rem 2rem 5rem;
  max-width: 1320px;
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading__label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--text);
}

.section-heading__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-heading__count {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(201, 148, 122, 0.35);
}

.product-card__visual {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__badge {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0E0B0A;
  background: var(--rose);
  padding: 0.25rem 0.65rem;
  border-radius: 2rem;
}

.product-card__icon {
  font-size: 3rem;
  opacity: 0.35;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.product-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-card__category {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
}

.product-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
}

.product-card__desc {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(201, 148, 122, 0.1);
}

.product-card__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--rose-light);
}

.btn-cart {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0E0B0A;
  background: var(--rose);
  border: none;
  border-radius: 2rem;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-cart:hover {
  background: var(--rose-light);
  transform: scale(1.04);
}

.btn-cart:active {
  transform: scale(0.97);
}

/* Product background gradients */
.prod-bg-hair-1 { background: linear-gradient(135deg, #1a2f1a 0%, #2d4a1e 50%, #1f3d15 100%); }
.prod-bg-hair-2 { background: linear-gradient(135deg, #0d2616 0%, #1a4020 50%, #0a2010 100%); }
.prod-bg-hair-3 { background: linear-gradient(135deg, #1e3a1a 0%, #2a5020 50%, #152d0f 100%); }

.prod-bg-wig-1 { background: linear-gradient(135deg, #2a1f12 0%, #4a3520 50%, #3a2815 100%); }
.prod-bg-wig-2 { background: linear-gradient(135deg, #251a0d 0%, #3d2e18 50%, #2e2210 100%); }
.prod-bg-wig-3 { background: linear-gradient(135deg, #2e2010 0%, #4d3520 50%, #3a2812 100%); }

.prod-bg-satin-1 { background: linear-gradient(135deg, #1f1030 0%, #3a1f4a 50%, #2a1438 100%); }
.prod-bg-satin-2 { background: linear-gradient(135deg, #1a0d28 0%, #2e1840 50%, #1e1030 100%); }

.prod-bg-beauty-1 { background: linear-gradient(135deg, #2a1518 0%, #3d1f22 50%, #2e1518 100%); }
.prod-bg-beauty-2 { background: linear-gradient(135deg, #1f1010 0%, #3a1a1a 50%, #281212 100%); }
.prod-bg-beauty-3 { background: linear-gradient(135deg, #281a15 0%, #3e2a20 50%, #2d1e18 100%); }

.prod-bg-care-1 { background: linear-gradient(135deg, #2a1a10 0%, #3d2a18 50%, #2e1e12 100%); }
.prod-bg-care-2 { background: linear-gradient(135deg, #201510 0%, #352010 50%, #281a0d 100%); }

/* All Products Section */
.shop-all {
  padding: 0 2rem 5rem;
  max-width: 1320px;
  margin: 0 auto;
}

/* Empty state */
.no-products {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  font-family: 'Jost', sans-serif;
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .shop-hero {
    padding: 4rem 1.25rem 1.5rem;
  }
  .shop-section {
    padding: 2rem 1.25rem 3rem;
  }
  .shop-all {
    padding: 0 1.25rem 3rem;
  }
  .filter-bar {
    gap: 0.4rem;
    padding: 1.5rem 1rem 0;
  }
  .filter-btn {
    font-size: 0.72rem;
    padding: 0.4rem 0.9rem;
  }
  .product-card__visual {
    height: 160px;
  }
  .product-card__name {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .shop-hero__title {
    font-size: 2.2rem;
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
