/* ==========================================================================
   RIWAYAT — Heritage Churidar & Ethnic Couture
   Core Design System & Stylesheet (2026 Edition)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Royal Palette - Rose Gold & Dusty Blush Edition */
  --primary-950: #120307;
  --primary-900: #1e050b;
  --primary-800: #2d0912;
  --primary-700: #420f1e;
  --primary-600: #5c182b;
  
  /* Rose Gold & Dusty Blush Accent System (Feminine Couture) */
  --rose-600: #9e3b54;
  --rose-500: #c8657f;
  --rose-400: #db8299;
  --rose-300: #eaa5b8;
  --rose-200: #f5ccd7;
  --rose-100: #fdf0f4;
  --rose-rgb: 200, 101, 127;
  
  /* Backward-compatible accent mappings */
  --gold-600: var(--rose-600);
  --gold-500: var(--rose-500);
  --gold-400: var(--rose-400);
  --gold-300: var(--rose-300);
  --gold-200: var(--rose-200);
  --gold-100: var(--rose-100);
  --gold-rgb: var(--rose-rgb);
  
  --emerald-900: #0a1f18;
  --emerald-800: #123328;
  --emerald-700: #1b4739;
  --emerald-500: #2d7a62;
  
  --bg-primary: #faf7f2;
  --bg-secondary: #f4eee6;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-dark: #160408;
  --bg-dark-card: #23080f;
  
  --text-primary: #1f161a;
  --text-secondary: #5c4d53;
  --text-muted: #8b7980;
  --text-light: #faf7f2;
  --text-gold: var(--rose-500);
  --text-rose: var(--rose-500);
  
  --border-light: rgba(200, 101, 127, 0.18);
  --border-medium: rgba(200, 101, 127, 0.35);
  --border-dark: rgba(255, 255, 255, 0.12);
  
  --shadow-sm: 0 2px 8px rgba(30, 5, 11, 0.04);
  --shadow-md: 0 8px 24px rgba(30, 5, 11, 0.08);
  --shadow-lg: 0 16px 40px rgba(30, 5, 11, 0.12);
  --shadow-xl: 0 24px 60px rgba(30, 5, 11, 0.16);
  --shadow-gold: 0 8px 30px rgba(200, 101, 127, 0.28);
  --shadow-rose: 0 8px 30px rgba(200, 101, 127, 0.28);
  
  --font-display: 'Cinzel Decorative', Georgia, serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 9999px;
  
  --container-max: 1360px;
  --header-height: 84px;
}

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--rose-500);
  box-shadow: 0 0 0 3px rgba(200, 101, 127, 0.15);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-900);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.font-display {
  font-family: var(--font-display);
}

.text-gold,
.text-rose {
  color: var(--rose-500) !important;
}

.text-primary-dark {
  color: var(--primary-900) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--gold-500);
  margin-bottom: 0.85rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background-color: var(--gold-400);
}

.section-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-lg {
  padding: 8rem 0;
}

.bg-light {
  background-color: var(--bg-secondary);
}

.bg-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: var(--text-light);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--primary-900);
  color: var(--gold-300);
  border: 1px solid var(--gold-500);
}

.btn-primary:hover {
  background-color: var(--primary-800);
  color: var(--bg-surface);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-gold,
.btn-rose {
  background: linear-gradient(135deg, var(--rose-400), var(--rose-600));
  color: #ffffff;
  border: 1px solid var(--rose-400);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(18, 3, 7, 0.25);
}

.btn-gold:hover,
.btn-rose:hover {
  background: linear-gradient(135deg, var(--rose-300), var(--rose-500));
  color: #ffffff;
  box-shadow: var(--shadow-rose);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-900);
  border: 1px solid var(--primary-900);
}

.btn-outline:hover {
  background: var(--primary-900);
  color: var(--gold-300);
  transform: translateY(-2px);
}

.btn-outline-gold,
.btn-outline-rose {
  background: transparent;
  color: var(--rose-600);
  border: 1px solid var(--rose-500);
}

.bg-dark .btn-outline-gold,
.bg-dark .btn-outline-rose {
  color: var(--rose-300);
  border-color: var(--rose-400);
}

.btn-outline-gold:hover,
.btn-outline-rose:hover {
  background: linear-gradient(135deg, var(--rose-400), var(--rose-600));
  color: #ffffff;
  border-color: var(--rose-400);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.65rem 1.4rem;
  font-size: 0.78rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
}

.badge-gold,
.badge-rose {
  background: var(--rose-100);
  color: var(--rose-600);
  border: 1px solid var(--rose-300);
}

.badge-silk {
  background: rgba(11, 32, 25, 0.08);
  color: var(--emerald-800);
  border: 1px solid rgba(18, 51, 40, 0.25);
}

.badge-royal {
  background: rgba(42, 8, 18, 0.08);
  color: var(--primary-800);
  border: 1px solid rgba(42, 8, 18, 0.2);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.announcement-bar {
  background-color: var(--primary-950);
  color: var(--gold-200);
  font-size: 0.78rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(200, 101, 127, 0.2);
}

.announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.currency-selector {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.currency-select {
  background: transparent;
  border: 1px solid rgba(200, 101, 127, 0.3);
  color: var(--gold-200);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: auto;
}

.currency-select option {
  background-color: var(--primary-950);
  color: #fff;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(250, 247, 242, 0.98);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand-logo .logo-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--primary-900);
  letter-spacing: 0.18em;
  line-height: 1;
}

.brand-logo .logo-subtitle {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold-500);
  font-weight: 600;
  margin-top: 0.25rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--gold-500);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-600);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--primary-900);
  transition: all var(--transition-fast);
}

.action-btn:hover {
  color: var(--rose-500);
  background-color: rgba(200, 101, 127, 0.08);
}

.badge-count {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: var(--rose-500);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-900);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-950);
  color: var(--text-light);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
  opacity: 0.52;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.02);
  transition: transform 8s ease;
}

.hero:hover .hero-bg img {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(18, 3, 7, 0.94) 0%,
    rgba(18, 3, 7, 0.82) 38%,
    rgba(30, 5, 11, 0.5) 70%,
    rgba(18, 3, 7, 0.2) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding: 4rem 0;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title span {
  font-style: italic;
  color: var(--gold-300);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(250, 247, 242, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(200, 101, 127, 0.25);
}

.stat-item h4 {
  font-size: 1.85rem;
  color: var(--gold-300);
  font-family: var(--font-display);
}

.stat-item p {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(250, 247, 242, 0.7);
}

/* ==========================================================================
   Product Cards & Grid
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.2rem;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
}

.product-thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-thumb img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.product-actions-hover {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition-normal);
  z-index: 3;
}

.product-card:hover .product-actions-hover {
  opacity: 1;
  transform: translateY(0);
}

.btn-quick-add {
  flex: 1;
  background: var(--primary-900);
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--gold-500);
  transition: all var(--transition-fast);
}

.btn-quick-add:hover {
  background: var(--primary-800);
  color: #fff;
}

.btn-wish-toggle {
  width: 38px;
  height: 38px;
  background: #fff;
  color: var(--primary-900);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-wish-toggle:hover, .btn-wish-toggle.active {
  background: var(--primary-900);
  color: var(--gold-300);
}

.product-info {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-600);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.product-title {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--primary-900);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.product-title a:hover {
  color: var(--gold-500);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(200, 101, 127, 0.15);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-900);
}

.product-price .old-price {
  font-size: 0.88rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-left: 0.4rem;
  font-weight: 400;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--gold-500);
  font-size: 0.8rem;
}

/* ==========================================================================
   Category Highlights
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.category-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 4, 8, 0.1) 0%,
    rgba(22, 4, 8, 0.4) 50%,
    rgba(22, 4, 8, 0.88) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  color: #fff;
  transition: all var(--transition-normal);
}

.category-overlay h3 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.category-overlay p {
  color: var(--gold-300);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ==========================================================================
   Feature Bar / Heritage Highlights
   ========================================================================== */
.feature-strip {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-surface);
  padding: 2.5rem 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--gold-100);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 1px solid var(--gold-300);
}

.feature-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Slide-Out Cart Drawer
   ========================================================================== */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 3, 7, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.cart-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--bg-surface);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-xl);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.btn-close-drawer {
  font-size: 1.5rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.btn-close-drawer:hover {
  color: var(--primary-900);
}

.cart-drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-item-row {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(200, 101, 127, 0.12);
}

.cart-item-thumb {
  width: 75px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cart-item-variant {
  font-size: 0.78rem;
  color: var(--gold-600);
  margin-bottom: 0.4rem;
}

.cart-item-pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
}

.qty-stepper button {
  padding: 0.2rem 0.6rem;
  font-size: 0.85rem;
  color: var(--primary-900);
}

.qty-stepper span {
  padding: 0.2rem 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.btn-remove-item {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.btn-remove-item:hover {
  color: #c0392b;
}

.cart-drawer-footer {
  padding: 1.5rem 1.8rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-secondary);
}

.cart-drawer-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.shipping-progress {
  margin-bottom: 1.25rem;
}

.shipping-progress-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(200, 101, 127, 0.2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gold-500);
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

/* ==========================================================================
   Modals (Quick View, Custom Stitching, Size Guide, Dupatta Drape)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 3, 7, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-surface);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.active .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--primary-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--primary-900);
  color: var(--gold-300);
}

/* Quick View Modal & Media Styling */
.modal-box.quick-view-box {
  max-width: 900px;
  padding: 2.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.quick-view-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: start;
}

.quick-view-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.quick-view-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.quick-view-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
  display: block;
}

.quick-view-media:hover img {
  transform: scale(1.04);
}

.quick-view-badge-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(18, 3, 7, 0.15);
}

.quick-view-auth-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  background: rgba(18, 3, 7, 0.78);
  backdrop-filter: blur(4px);
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid rgba(200, 101, 127, 0.3);
  pointer-events: none;
}

.quick-view-thumbs {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.quick-view-thumb {
  width: 62px;
  height: 82px;
  border-radius: 3px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--bg-secondary);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  padding: 0;
}

.quick-view-thumb.active {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 1px var(--gold-500);
}

.quick-view-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

.quick-view-info {
  display: flex;
  flex-direction: column;
}

.quick-view-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.quick-view-title {
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: var(--primary-900);
  font-family: var(--font-heading);
}

.quick-view-price {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.quick-view-price .old-price {
  font-size: 0.95rem;
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 400;
}

.quick-view-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-500);
  font-size: 0.88rem;
  margin-bottom: 1.1rem;
}

.quick-view-rating .review-count {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.quick-view-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
  line-height: 1.65;
}

.quick-view-sizes {
  margin-bottom: 1.5rem;
}

.quick-view-sizes-header {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quick-view-size-guide-btn {
  color: var(--gold-600);
  font-size: 0.78rem;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 500;
  padding: 0;
}

.quick-view-size-guide-btn:hover {
  color: var(--primary-900);
}

.quick-view-size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quick-view-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.quick-view-actions .btn-primary {
  flex: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--primary-950);
  color: rgba(250, 247, 242, 0.75);
  border-top: 1px solid rgba(200, 101, 127, 0.25);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr) 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .brand-logo {
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.footer-brand .brand-logo .logo-title {
  color: #fff;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-300);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(250, 247, 242, 0.7);
}

.footer-links a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}

.footer-newsletter p {
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* ==========================================================================
   Search Overlay
   ========================================================================== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 3, 7, 0.92);
  backdrop-filter: blur(8px);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding: 3rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.search-input-wrapper input {
  font-size: 1.5rem;
  padding: 1.25rem 3.5rem 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--gold-500);
  color: #fff;
  border-radius: var(--radius-sm);
}

.search-input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-results {
  max-height: 55vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--primary-900);
  color: #fff;
  border: 1px solid var(--gold-500);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
