/* ===================================
   DAMINNI - Elegance Draped in Tradition
   style.css
   =================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* DAMINNI Brand Palette */
  --bone-white:   #FCEED6;   /* primary bg */
  --ember-red:    #E05220;   /* primary accent */
  --canyon-clay:  #985E38;   /* secondary accent */

  /* Mapped tokens */
  --primary:       #1C0F07;   /* deep warm almost-black */
  --primary-light: #2e1a0e;
  --secondary:     #E05220;   /* Ember Red */
  --gold:          #985E38;   /* Canyon Clay */
  --gold-light:    #b87545;
  --red:           #E05220;   /* sale / urgency */
  --cream:         #FCEED6;   /* Bone White */
  --off-white:     #F5E3C0;
  --text:          #1C0F07;
  --text-muted:    #6B4A35;
  --text-light:    #A07858;
  --border:        #E8D3B0;
  --white:         #FFFFFF;

  --header-h: 72px;
  --announce-h: 36px;
  --radius: 2px;
  --radius-lg: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(28,15,7,0.06);
  --shadow-md: 0 8px 24px rgba(28,15,7,0.10);
  --shadow-lg: 0 16px 48px rgba(28,15,7,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', 'Inter', -apple-system, sans-serif;
  background: var(--bone-white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================
   ANNOUNCEMENT BAR
   =================================== */
.announcement-bar {
  background: var(--ember-red);
  color: var(--white);
  height: var(--announce-h);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.announcement-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.announcement-track span {
  font-family: 'Lato', sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding-right: 60px;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================================
   HEADER
   =================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bone-white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 24px;
  max-width: 1320px;
  margin: 0 auto;
  gap: 8px;
}

/* Navigation */
.nav-left { display: flex; flex: 1; }
.nav-right { display: flex; flex: 1; justify-content: flex-end; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover { color: var(--ember-red); background: rgba(224,82,32,0.06); }

.nav-sale {
  color: var(--ember-red) !important;
  font-weight: 900;
}

.chevron {
  font-size: 14px;
  transition: transform var(--transition);
  display: inline-block;
  line-height: 1;
  margin-top: 2px;
}

.nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bone-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.dropdown a:hover { background: rgba(224,82,32,0.08); color: var(--ember-red); }

/* Logo */
.logo {
  text-align: center;
  flex-shrink: 0;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto;
}

.header-inner { position: relative; }

.logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--primary);
  line-height: 1;
}

.logo-tagline {
  font-family: 'Lato', sans-serif;
  font-size: 7.5px;
  font-weight: 300;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--canyon-clay);
  margin-top: 3px;
}

/* Logo image / SVG wordmark */
.logo-svg,
.logo-img {
  width: 200px;
  height: auto;
  display: block;
}

.header .logo-img {
  width: 120px;
}

/* Header Icons */
.header-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-shrink: 0;
  margin-left: auto;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  position: relative;
}

.icon-btn:hover { background: rgba(224,82,32,0.08); color: var(--ember-red); }

.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--ember-red);
  color: white;
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}

.hamburger:hover { background: rgba(224,82,32,0.08); }

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

/* Search Bar */
.search-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-bar.open { max-height: 500px; overflow-y: auto; }

.search-inner {
  display: flex;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 12px 24px;
  gap: 12px;
}

.search-input {
  flex: 1;
  border: none;
  border-bottom: 2px solid var(--ember-red);
  padding: 8px 0;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background: transparent;
  color: var(--text);
}

.search-input::placeholder { color: var(--text-light); }

.search-close {
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}

.search-close:hover { background: rgba(224,82,32,0.08); }

/* ===================================
   MOBILE MENU
   =================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 100vh;
  background: var(--bone-white);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  backdrop-filter: blur(2px);
}

.mobile-overlay.open { opacity: 1; visibility: visible; }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.mobile-close {
  font-size: 20px;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}

.mobile-close:hover { background: rgba(224,82,32,0.08); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  flex: 1;
}

.mobile-nav-link {
  display: block;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}

.mobile-nav-link:hover { background: rgba(224,82,32,0.08); color: var(--ember-red); }

.mobile-nav-sale { color: var(--ember-red) !important; font-weight: 900; }

.mobile-socials {
  display: flex;
  gap: 16px;
  padding: 24px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.social-icon:hover { background: var(--ember-red); color: var(--white); border-color: var(--ember-red); }

/* ===================================
   BUTTONS
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

/* Ember Red â€” primary CTA */
.btn-dark {
  background: var(--ember-red);
  color: var(--white);
  border: 2px solid var(--ember-red);
}
.btn-dark:hover { background: #c44418; border-color: #c44418; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(224,82,32,0.30); }

/* Outlined on light bg */
.btn-outline-dark {
  background: transparent;
  color: var(--ember-red);
  border: 2px solid var(--ember-red);
}
.btn-outline-dark:hover { background: var(--ember-red); color: var(--white); transform: translateY(-2px); }

/* Light on dark bg */
.btn-light {
  background: var(--bone-white);
  color: var(--primary);
  border: 2px solid var(--bone-white);
}
.btn-light:hover { background: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline-light {
  background: transparent;
  color: var(--bone-white);
  border: 2px solid rgba(252,238,214,0.7);
}
.btn-outline-light:hover { background: rgba(252,238,214,0.15); border-color: var(--bone-white); }

/* Canyon Clay */
.btn-gold {
  background: var(--canyon-clay);
  color: var(--white);
  border: 2px solid var(--canyon-clay);
}
.btn-gold:hover { background: #7d4d2c; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(152,94,56,0.35); }

.btn-outline-gold {
  background: transparent;
  color: var(--canyon-clay);
  border: 2px solid var(--canyon-clay);
}
.btn-outline-gold:hover { background: var(--canyon-clay); color: var(--white); }

/* General primary */
.btn-primary {
  background: var(--ember-red);
  color: var(--white);
  border: 2px solid var(--ember-red);
}
.btn-primary:hover { background: #c44418; border-color: #c44418; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(224,82,32,0.30); }

.btn-outline-primary {
  background: transparent;
  color: var(--ember-red);
  border: 2px solid var(--ember-red);
}
.btn-outline-primary:hover { background: var(--ember-red); color: var(--white); transform: translateY(-2px); }

.btn-lg { padding: 15px 38px; font-size: 12px; }

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
  position: relative;
  height: calc(100vh - var(--header-h) - var(--announce-h));
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Backgrounds */
.hero-bg {
  position: absolute;
  inset: 0;
  transition: transform 8s ease-out;
}

.hero-slide.active .hero-bg { transform: scale(1.03); }

/* Slide 1 - Image 1 */
.hero-bg-1 {
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('hero-1.jpg') center/cover;
}

/* Slide 2 - Image 2 */
.hero-bg-2 {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('hero-2.png') center/cover;
}

/* Slide 3 - Image 3 */
.hero-bg-3 {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('hero-3.jpg') center/cover;
}

/* Decorative pattern overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

/* Content Layout */
.hero-content {
  position: relative;
  z-index: 10;
  width: 50%;
  padding: 0 60px;
}

.hero-content-left { margin-left: 0; }
.hero-content-right { margin-left: auto; }

.hero-text-block {
  max-width: 480px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.9s 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.9s 0.3s;
}

.hero-slide.active .hero-text-block {
  transform: translateY(0);
  opacity: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--canyon-clay);
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
}

.hero-bg-1 ~ .hero-content .hero-eyebrow,
.hero-bg-2 ~ .hero-content .hero-eyebrow,
.hero-bg-3 ~ .hero-content .hero-eyebrow {
  color: var(--bone-white);
  opacity: 0.85;
}

.hero-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: currentColor;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.hero-bg-1 ~ .hero-content .hero-title,
.hero-bg-2 ~ .hero-content .hero-title,
.hero-bg-3 ~ .hero-content .hero-title {
  color: var(--white);
}

.hero-title em {
  font-style: italic;
  color: var(--ember-red);
}

.hero-bg-1 ~ .hero-content .hero-title em,
.hero-bg-2 ~ .hero-content .hero-title em {
  color: #f0a06a;
}

.hero-bg-3 ~ .hero-content .hero-title em {
  color: var(--bone-white);
}

.hero-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-bg-1 ~ .hero-content .hero-subtitle,
.hero-bg-2 ~ .hero-content .hero-subtitle,
.hero-bg-3 ~ .hero-content .hero-subtitle {
  color: rgba(255,255,255,0.65);
}

.hero-price-tag {
  display: inline-block;
  background: rgba(252,238,214,0.85);
  border: 1px solid rgba(152,94,56,0.25);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.hero-bg-1 ~ .hero-content .hero-price-tag,
.hero-bg-2 ~ .hero-content .hero-price-tag,
.hero-bg-3 ~ .hero-content .hero-price-tag {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

.hero-price-tag.highlight-box {
  background: var(--ember-red) !important;
  color: var(--white) !important;
  border-color: var(--ember-red) !important;
  box-shadow: 0 4px 15px rgba(224,82,32,0.4);
}

.hero-price-tag.highlight-box strong {
  color: var(--white) !important;
}

.hero-price-tag strong { color: var(--ember-red); font-weight: 800; }

.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero Image Block */
.hero-image-block {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
}

.hero-content-right + .hero-image-block {
  right: auto;
  left: 0;
}

.hero-model {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(40px);
  opacity: 0;
  transition: transform 1s 0.15s cubic-bezier(0.4, 0, 0.2, 1), opacity 1s 0.15s;
}

.hero-slide.active .hero-model {
  transform: translateX(0);
  opacity: 1;
}

/* Saree Card Visual (decorative) */
.saree-card-visual {
  width: 380px;
  height: 520px;
  border-radius: 200px 200px 0 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

/* DAMINNI palette saree visuals */
.sc-red  { background: linear-gradient(160deg, #f5c5a8 0%, #E05220 30%, #a83010 60%, #4a1200 100%); }
.sc-blue { background: linear-gradient(160deg, #f5e5c8 0%, #985E38 30%, #6b3c1e 60%, #30180a 100%); }
.sc-gold { background: linear-gradient(160deg, #FCEED6 0%, #e8c49a 30%, #c9a060 60%, #985E38 100%); }

.sc-fabric {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M0 0h20v20H0zM20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Weave pattern animation */
.sc-fabric::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 4px,
    rgba(255,255,255,0.04) 4px,
    rgba(255,255,255,0.04) 8px
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.sc-overlay-text {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.sc-badge {
  position: absolute;
  top: 32px;
  right: 32px;
  background: rgba(252,238,214,0.95);
  color: var(--ember-red);
  font-family: 'Lato', sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2.5px;
  padding: 6px 12px;
  border-radius: 2px;
}

.sc-badge-gold { background: var(--ember-red); color: var(--white); }

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 20;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(252,238,214,0.9);
  color: var(--primary);
  border: 1px solid rgba(152,94,56,0.3);
  backdrop-filter: blur(8px);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  background: var(--ember-red);
  color: var(--white);
  border-color: var(--ember-red);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(224,82,32,0.35);
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.6);
  transition: all var(--transition);
  cursor: pointer;
}

.dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--ember-red);
  border-color: var(--ember-red);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 20;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(26,26,26,0.5));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(1.3); opacity: 0.5; }
}

.scroll-indicator span {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

/* ===================================
   TRUST SECTION
   =================================== */
.trust-section {
  background: var(--ember-red);
  padding: 22px 0;
  overflow: hidden;
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 150px;
  justify-content: center;
}

.trust-icon { font-size: 22px; }

.trust-text {
  display: flex;
  flex-direction: column;
}

.trust-text strong {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
}

.trust-text span {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
}

/* ===================================
   SECTIONS COMMON
   =================================== */
.section { padding: 80px 0; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--canyon-clay);
  margin-bottom: 12px;
  position: relative;
  padding: 0 32px;
}

.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--canyon-clay);
}

.section-eyebrow::before { left: 0; }
.section-eyebrow::after { right: 0; }

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.18;
  letter-spacing: 0.5px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.section-footer {
  text-align: center;
  margin-top: 48px;
}

/* ===================================
   PRODUCT CARDS
   =================================== */
.products-carousel {
  overflow: hidden;
  position: relative;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.products-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}

/* Ensure product card bg matches bone white outside grid areas */
.trending-section .product-card,
.saree-store-section .product-card { background: var(--white); }

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--off-white);
}

/* Product images - colorful fabric-inspired visuals */
.product-img {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img { transform: scale(1.06); }

/* Fabric-inspired gradient backgrounds */
.product-img-1  { background: linear-gradient(160deg, #f4c2c2 0%, #d4548a 40%, #8b1a5a 75%, #4a0030 100%); }
.product-img-2  { background: linear-gradient(160deg, #b8d4e8 0%, #5b9bd5 40%, #1e4d9e 75%, #0a2060 100%); }
.product-img-3  { background: linear-gradient(160deg, #c8a882 0%, #8b6043 40%, #5c3a20 75%, #2a1500 100%); }
.product-img-4  { background: linear-gradient(160deg, #d4e8c2 0%, #6db045 40%, #2e7a1b 75%, #0f3d00 100%); }
.product-img-5  { background: linear-gradient(160deg, #f0c8c8 0%, #c23545 40%, #8b0010 75%, #4a0000 100%); }
.product-img-6  { background: linear-gradient(160deg, #fdb4c4 0%, #e05080 40%, #9e1040 75%, #5a0020 100%); }
.product-img-7  { background: linear-gradient(160deg, #a8d8f0 0%, #3a9bd0 40%, #1060a0 75%, #03305a 100%); }
.product-img-8  { background: linear-gradient(160deg, #b8e8c0 0%, #40b060 40%, #15702a 75%, #013d10 100%); }
.product-img-9  { background: linear-gradient(160deg, #ece5d0 0%, #c9a460 40%, #8b6914 75%, #4a3800 100%); }
.product-img-10 { background: linear-gradient(160deg, #c0e8c0 0%, #2da040 40%, #0a6020 75%, #013010 100%); }
.product-img-11 { background: linear-gradient(160deg, #b0d0f0 0%, #1870d0 40%, #083890 75%, #021450 100%); }
.product-img-12 { background: linear-gradient(160deg, #e8dfc0 0%, #c0a040 40%, #806800 75%, #403400 100%); }
.product-img-e1 { background: linear-gradient(160deg, #d0d0d0 0%, #555 40%, #222 75%, #000 100%); }
.product-img-e2 { background: linear-gradient(160deg, #f0d8c8 0%, #d09070 40%, #905040 75%, #501818 100%); }
.product-img-e3 { background: linear-gradient(160deg, #ece8e0 0%, #c8b88a 40%, #908050 75%, #503a10 100%); }
.product-img-e4 { background: linear-gradient(160deg, #f0e0f0 0%, #c070c0 40%, #802088 75%, #400040 100%); }
.product-img-r1 { background: linear-gradient(160deg, #f8c0b0 0%, #e05035 40%, #aa1800 75%, #600000 100%); }
.product-img-r2 { background: linear-gradient(160deg, #c0d8f0 0%, #4090d8 40%, #0850a0 75%, #002060 100%); }
.product-img-r3 { background: linear-gradient(160deg, #c0e8c0 0%, #38a84c 40%, #107825 75%, #003810 100%); }
.product-img-r4 { background: linear-gradient(160deg, #f8c8d8 0%, #e080a0 40%, #b03060 75%, #600030 100%); }

/* Fabric texture overlay */
.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 3px,
    rgba(255,255,255,0.05) 3px,
    rgba(255,255,255,0.05) 6px
  );
}

/* Product badges */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 3;
}

.badge-new { background: var(--ember-red); color: var(--white); }
.badge-gold { background: var(--canyon-clay); color: var(--white); }
.badge-sold-out, .product-badge.badge-sold-out { 
  background: #c0392b !important; 
  color: var(--white) !important; 
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
}
.product-card.is-sold-out .product-img {
  filter: grayscale(20%);
  opacity: 0.88;
}

.product-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  background: var(--ember-red);
  color: white;
  padding: 4px 9px;
  border-radius: 2px;
  z-index: 3;
}

/* Product overlay on hover */
.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 5;
}

.product-card:hover .product-overlay { opacity: 1; }

.btn-add-cart {
  flex: 1;
  background: var(--bone-white);
  color: var(--primary);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  transform: translateY(8px);
}

.product-card:hover .btn-add-cart { transform: translateY(0); }
.btn-add-cart:hover { background: var(--ember-red); color: var(--white); }

.btn-wishlist {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  transform: translateY(8px);
}

.product-card:hover .btn-wishlist { transform: translateY(0); }
.btn-wishlist:hover { background: var(--ember-red); color: var(--white); }

.product-info {
  padding: 16px;
}

.product-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.stars { color: var(--ember-red); font-size: 12px; }

.review-count {
  font-size: 11px;
  color: var(--text-muted);
}

.product-name {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-sale {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: var(--ember-red);
}

.price-original {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
}

/* ===================================
   STORE TABS
   =================================== */
.store-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
  flex-wrap: wrap;
}

.store-tab {
  padding: 12px 24px;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.store-tab:hover { color: var(--ember-red); }

.store-tab.active {
  color: var(--ember-red);
  border-bottom-color: var(--ember-red);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================================
   HERITAGE SECTION
   =================================== */
.heritage-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.heritage-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1C0F07 0%, #3A1A08 35%, #6B2E10 65%, #8B4A20 100%);
}

.heritage-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FCEED6' fill-opacity='0.05'%3E%3Cpath d='M40 0L80 40L40 80L0 40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.heritage-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.heritage-eyebrow {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--bone-white);
  opacity: 0.7;
  margin-bottom: 16px;
}

.heritage-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  color: var(--bone-white);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.heritage-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 400px;
}

.heritage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.heritage-tag {
  padding: 6px 18px;
  border: 1px solid rgba(252,238,214,0.3);
  border-radius: 2px;
  font-family: 'Lato', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bone-white);
  opacity: 0.8;
  transition: all var(--transition);
}

.heritage-tag:hover {
  background: var(--ember-red);
  color: var(--white);
  border-color: var(--ember-red);
  opacity: 1;
}

.heritage-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.heritage-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition);
}

.heritage-card:hover { transform: scale(1.03); }

.hc-img {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
}

.hc-1 .hc-img { background: linear-gradient(160deg, #f0d0a0 0%, #c09030 40%, #806010 100%); }
.hc-2 .hc-img { background: linear-gradient(160deg, #f0c0c0 0%, #d04060 40%, #8a0020 100%); }
.hc-3 .hc-img { background: linear-gradient(160deg, #c0d0f0 0%, #4060d0 40%, #082090 100%); }
.hc-4 .hc-img { background: linear-gradient(160deg, #f0c0d0 0%, #d04080 40%, #8a0050 100%); }

.heritage-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ===================================
   INSTAGRAM SECTION
   =================================== */
.insta-section { padding: 80px 0; background: var(--off-white); }

.insta-section .section-header { margin-bottom: 40px; }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.insta-item {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.ii-1 { background: url('insta-placeholder.jpg') center/cover no-repeat; }
.ii-2 { background: url('insta-placeholder.jpg') center/cover no-repeat; }
.ii-3 { background: url('insta-placeholder.jpg') center/cover no-repeat; }
.ii-4 { background: url('insta-placeholder.jpg') center/cover no-repeat; }
.ii-5 { background: url('insta-placeholder.jpg') center/cover no-repeat; }
.ii-6 { background: url('insta-placeholder.jpg') center/cover no-repeat; }

.insta-hover {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.insta-item:hover .insta-hover { opacity: 1; }

/* ===================================
   WHY SECTION
   =================================== */
.why-section { background: var(--bone-white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.why-icon { font-size: 36px; margin-bottom: 16px; }

.why-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.why-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===================================
   NEWSLETTER
   =================================== */
.newsletter-section {
  background: var(--ember-red);
  padding: 64px 0;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.newsletter-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.newsletter-text p { font-family: 'Lato', sans-serif; font-size: 13px; letter-spacing: 0.5px; color: rgba(255,255,255,0.75); }

.newsletter-form {
  display: flex;
  gap: 12px;
  flex: 1;
  max-width: 460px;
  min-width: 300px;
}

.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(252,238,214,0.3);
  border-radius: var(--radius);
  background: rgba(252,238,214,0.1);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-input::placeholder { color: rgba(252,238,214,0.55); }
.newsletter-input:focus { border-color: var(--bone-white); }

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: #160904;
  color: rgba(252,238,214,0.65);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--bone-white);
  letter-spacing: 6px;
  margin-bottom: 6px;
}

.footer-logo-tagline {
  font-family: 'Lato', sans-serif;
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--canyon-clay);
  margin-bottom: 18px;
}

.footer-tagline {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(252,238,214,0.45);
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}

.footer-social:hover {
  background: var(--ember-red);
  border-color: var(--ember-red);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--bone-white);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-family: 'Lato', sans-serif;
  font-size: 12.5px;
  color: rgba(252,238,214,0.45);
  transition: color var(--transition), transform var(--transition);
  display: inline-block;
  letter-spacing: 0.3px;
}

.footer-links a:hover { color: var(--ember-red); transform: translateX(4px); }

.footer-bottom {
  border-top: 1px solid rgba(252,238,214,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-family: 'Lato', sans-serif; font-size: 11.5px; letter-spacing: 0.5px; color: rgba(252,238,214,0.3); }

.footer-payments {
  display: flex;
  gap: 8px;
}

.payment-icon {
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
}

/* ===================================
   ANIMATIONS & TRANSITIONS
   =================================== */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: slideUp 0.6s ease forwards;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1100px) {
  .products-grid,
  .products-track { grid-template-columns: repeat(3, 1fr); }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-left, .nav-right { display: none; }
  .hamburger { display: flex; }

  /* header-inner is now flexbox - no grid override needed */
  .logo {
    position: static;
    transform: none;
    margin: 0 auto;
    text-align: center;
  }

  .hero-content { width: 60%; padding: 0 32px; }

  .heritage-inner { grid-template-columns: 1fr; gap: 40px; }
  .heritage-right { order: -1; }
  .heritage-cards { grid-template-columns: repeat(4, 1fr); }

  .insta-grid { grid-template-columns: repeat(3, 1fr); }

  .newsletter-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 700px) {
  :root { --header-h: 60px; --announce-h: 32px; }

  .products-grid,
  .products-track { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .hero-content { width: 100%; padding: 24px; }
  .hero-image-block { display: none; }

  .hero-title { font-size: 40px; }

  .trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .trust-item { flex-direction: column; text-align: center; gap: 6px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .insta-grid { grid-template-columns: repeat(3, 1fr); }

  .why-grid { grid-template-columns: 1fr; }

  .store-tabs { gap: 0; }
  .store-tab { padding: 10px 14px; font-size: 12px; }

  .heritage-cards { grid-template-columns: repeat(2, 1fr); }

  .scroll-indicator { display: none; }

  .section { padding: 56px 0; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  .newsletter-form { flex-direction: column; min-width: unset; width: 100%; }
  .newsletter-form .btn { width: 100%; }

  .logo-text { font-size: 22px; }

  .products-grid,
  .products-track { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .product-info { padding: 12px; }

  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}



/* ===================================
   PRODUCT DETAIL PAGE
   =================================== */
.product-detail-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .product-detail-container {
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
  }
}

.product-detail-left {
  flex: 1;
}

.pdp-image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--bone-white);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.pdp-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pdp-title {
  font-family: var(--font-playfair);
  font-size: 32px;
  font-weight: 500;
  color: var(--slate-gray);
  line-height: 1.2;
}

.pdp-price {
  font-size: 24px;
  color: var(--midnight-blue);
  font-weight: 500;
  margin-bottom: 10px;
}

.pdp-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.btn-block {
  width: 100%;
  padding: 16px;
  font-size: 14px;
  text-align: center;
}

/* Accordion */
.pdp-accordion {
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 20px;
}

.accordion-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  border: none;
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--midnight-blue);
  cursor: pointer;
  text-align: left;
}

.accordion-header .icon {
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.3s;
}

.accordion-header.active .icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--slate-gray);
  font-size: 15px;
  line-height: 1.6;
}

.accordion-content.active {
  max-height: 500px; /* Arbitrary large height */
  padding-bottom: 20px;
}
  
/* Additional PDP Styles */  
.pdp-taxes { font-size: 0.9rem; color: #666; margin-top: -10px; margin-bottom: 20px; }  



/* ===================================
   PRODUCT DETAIL PAGE
   =================================== */
.product-detail-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .product-detail-container {
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
  }
}

.product-detail-left {
  flex: 1;
}

.pdp-image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--bone-white);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.pdp-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pdp-title {
  font-family: var(--font-playfair);
  font-size: 32px;
  font-weight: 500;
  color: var(--slate-gray);
  line-height: 1.2;
}

.pdp-price {
  font-size: 24px;
  color: var(--midnight-blue);
  font-weight: 500;
  margin-bottom: 10px;
}

.pdp-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.btn-block {
  width: 100%;
  padding: 16px;
  font-size: 14px;
  text-align: center;
}

/* Accordion */
.pdp-accordion {
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 20px;
}

.accordion-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  border: none;
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--midnight-blue);
  cursor: pointer;
  text-align: left;
}

.accordion-header .icon {
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.3s;
}

.accordion-header.active .icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--slate-gray);
  font-size: 15px;
  line-height: 1.6;
}

.accordion-content.active {
  max-height: 500px; /* Arbitrary large height */
  padding-bottom: 20px;
}
  
/* Additional PDP Styles */  
.pdp-taxes { font-size: 0.9rem; color: #666; margin-top: -10px; margin-bottom: 20px; }  
.pdp-social-share { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }  
.pdp-social-share a { color: #333; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%%; background-color: #f5f5f5; transition: background-color 0.3s; }  
.pdp-social-share a:hover { background-color: #e0e0e0; }  
.pdp-urgency { background-color: #fafafa; padding: 15px; border-radius: 8px; margin-bottom: 25px; border: 1px solid #eee; }  
.pdp-urgency p { margin-bottom: 8px; font-size: 0.95rem; }  
.pdp-urgency p:last-child { margin-bottom: 0; }  
.pdp-urgency .highlight { font-weight: bold; color: var(--ember-red); }  

.pdp-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
  padding-bottom: 5px;
}
.pdp-thumbnail-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color 0.2s;
}
.pdp-thumbnail-img:hover, .pdp-thumbnail-img.active {
  border-color: var(--ember-red, #E05220);
}

.search-results {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px 24px;
  display: none;
  flex-direction: column;
  gap: 15px;
}
.search-results.active { display: flex; }
.search-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: var(--text);
  padding: 10px;
  border-radius: 4px;
  transition: background 0.3s;
}
.search-item:hover {
  background: #f5f5f5;
}
.search-item img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: 2px;
}
.search-item-info h4 {
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.search-item-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ember-red);
}
.search-empty {
  text-align: center;
  color: #666;
  font-family: var(--font-secondary);
  padding: 20px 0;
}

/* ===================================
   MODALS & CART SIDEBAR
   =================================== */

.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    display: flex;
    opacity: 1;
}
.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.modal-close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    background: none; border: none;
    color: #666;
}
.modal-tabs {
    display: flex;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}
.modal-tab {
    flex: 1; text-align: center;
    padding: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: #888;
}
.modal-tab.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}
.modal-form { display: none; }
.modal-form.active { display: block; }
.modal-form input {
    width: 100%; padding: 0.75rem; margin-bottom: 1rem;
    border: 1px solid #ddd; border-radius: 4px;
    font-family: inherit;
}
.modal-form button {
    width: 100%; padding: 0.75rem;
    background: var(--primary); color: #fff;
    border: none; border-radius: 4px;
    font-weight: 500; cursor: pointer;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0; right: -400px; width: 100%; max-width: 400px; height: 100%;
    background: #fff;
    z-index: 10000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    display: flex; flex-direction: column;
}
.cart-sidebar.open { right: 0; }
.cart-header {
    padding: 1.5rem; border-bottom: 1px solid #eee;
    display: flex; justify-content: space-between; align-items: center;
}
.cart-header h2 { font-family: var(--font-serif); font-size: 1.5rem; }
.cart-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; }
.cart-items {
    flex: 1; overflow-y: auto; padding: 1.5rem;
}
.cart-item {
    display: flex; gap: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid #eee; padding-bottom: 1rem;
}
.cart-item img {
    width: 80px; height: 100px; object-fit: cover; border-radius: 4px;
}
.cart-item-details { flex: 1; }
.cart-item-title { font-weight: 500; font-size: 1rem; margin-bottom: 0.25rem; }
.cart-item-price { color: #666; font-size: 0.9rem; margin-bottom: 0.5rem; }
.cart-item-actions { display: flex; justify-content: space-between; align-items: center; }
.cart-item-remove { background: none; border: none; color: #e74c3c; cursor: pointer; font-size: 0.8rem; }
.cart-footer {
    padding: 1.5rem; border-top: 1px solid #eee; background: #fafafa;
}
.cart-total {
    display: flex; justify-content: space-between; font-weight: bold; font-size: 1.2rem; margin-bottom: 1rem;
}
.btn-checkout {
    width: 100%; padding: 1rem; background: var(--primary); color: #fff;
    border: none; border-radius: 4px; font-weight: bold; cursor: pointer; text-transform: uppercase; letter-spacing: 1px;
}

/* Auth Dropdown */
.auth-dropdown {
    position: absolute; top: 100%; right: 0;
    background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px; overflow: hidden;
    display: none; min-width: 150px; z-index: 100;
}
.auth-dropdown.open { display: block; }
.auth-dropdown a {
    display: block; padding: 0.75rem 1rem; color: var(--text); text-decoration: none; border-bottom: 1px solid #eee;
}
.auth-dropdown a:hover { background: #f5f5f5; }
.icon-btn { position: relative; }

/* Orders List */
.order-item { border: 1px solid #ddd; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; }
.order-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-weight: bold; }
.order-products { font-size: 0.9rem; color: #666; }

/* Mock Payment */
.payment-loader {
    display: none;
    text-align: center;
    margin-top: 1rem;
}
.payment-loader.active { display: block; }
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 30px; height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px auto;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.payment-success {
    display: none;
    text-align: center;
    color: green;
    margin-top: 1rem;
    font-weight: bold;
}
.payment-success.active { display: block; }
