/* ==========================================================================
   RUPAM SAREES — FLAGSHIP LUXURY STOREFRONT CSS
   Est. 1983 | Mint Street, Sowcarpet, Chennai
   ========================================================================== */

@import './tokens.css';

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans-luxury);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  color: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
  background: var(--bg-dark);
  color: var(--text-gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
}

.announcement-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.announcement-badge {
  background: var(--gold-primary);
  color: #1F0D11;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-inverse);
  opacity: 0.9;
}

.announcement-link:hover {
  color: var(--gold-light);
  opacity: 1;
}

/* ==========================================================================
   STICKY LUXURY HEADER & NAVBAR
   ========================================================================== */
/* ==========================================================================
/* ==========================================================================
   STICKY LUXURY HEADER & NAVBAR (STANDARD SINGLE LINE)
   ========================================================================== */
.header-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-hairline);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-smooth);
}

/* Tier 1: Brand Showcase & Institutional Navigation */
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: var(--space-md);
  flex-wrap: nowrap;
}

/* Institutional Links on Top Left (Standard Single Line) */
.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  white-space: nowrap;
}

.institutional-links {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.inst-link {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.inst-link:hover {
  color: var(--gold-light);
}

.inst-sep {
  color: var(--border-subtle);
  font-size: 0.65rem;
  user-select: none;
}

/* Brand Centerpiece — Majestic Royal Showcase */
.brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  padding: 2px var(--space-sm);
  flex: 1.2;
}

.brand-crest-tag {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 3px;
  white-space: nowrap;
}

.brand-logo-img {
  width: 380px;
  max-width: 40vw;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  transition: transform var(--transition-smooth);
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.brand-center:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-tagline {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.brand-tagline::before, .brand-tagline::after {
  content: '✦';
  font-size: 0.45rem;
  color: var(--gold-primary);
}

/* Tier 2: Dedicated Single-Line Category & Store Navigation Bar */
.header-subnav {
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  background: rgba(0, 0, 0, 0.18);
  padding: 8px 0;
}

.subnav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 22px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-links::-webkit-scrollbar {
  display: none;
}

.subnav-link {
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding: 4px 2px;
  white-space: nowrap;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.subnav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width var(--transition-fast);
}

.subnav-link:hover, .subnav-link.active {
  color: var(--gold-light);
}

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

/* Controls Right (Single Line) */
.control-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.control-pill:hover {
  border-color: var(--gold-primary);
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--gold-primary);
}

.cart-trigger-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-accent-wine);
  color: #FAF7F2;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: all var(--transition-smooth);
}

.cart-trigger-btn:hover {
  background: var(--bg-accent-crimson);
}

.cart-badge {
  background: var(--gold-primary);
  color: #1F0D11;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   WIDE ANIMATED HERO BANNER (SABYASACHI & MANISH MALHOTRA ROYAL STYLE)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #14080C;
  color: #FAF7F2;
}

/* Background Animated Slider */
.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.4s;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 12s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.hero-slide.active .hero-slide-img {
  transform: scale(1.08);
}

/* Royal Vignette & Texture Overlays */
.hero-overlay-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at center, rgba(31, 13, 17, 0.45) 0%, rgba(20, 8, 12, 0.85) 75%, rgba(15, 6, 9, 0.96) 100%);
  pointer-events: none;
}

.hero-gold-filigree-border {
  position: absolute;
  inset: 18px;
  z-index: 3;
  border: 1px solid rgba(197, 160, 89, 0.35);
  pointer-events: none;
  border-radius: var(--radius-sm);
}

.hero-gold-filigree-border::before, .hero-gold-filigree-border::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--gold-primary);
}

.hero-gold-filigree-border::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.hero-gold-filigree-border::after {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

/* Hero Content Overlay */
.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
}

.hero-crest-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: var(--space-md);
  padding: 6px 18px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: var(--radius-full);
}

.hero-title {
  font-family: var(--font-serif-royal);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
  color: #FFFFFF;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

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

.hero-royal-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: var(--space-sm) auto var(--space-lg);
  color: var(--gold-primary);
  max-width: 320px;
}

.hero-royal-divider::before, .hero-royal-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.hero-description {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(250, 247, 242, 0.92);
  max-width: 820px;
  margin: 0 auto var(--space-2xl);
  font-weight: 300;
  line-height: 1.8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Hero Controls & Counter */
.hero-slider-nav {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-2xl);
  pointer-events: none;
}

.hero-nav-arrow {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(197, 160, 89, 0.5);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.hero-nav-arrow:hover {
  background: var(--gold-primary);
  color: #1F0D11;
  border-color: var(--gold-primary);
  transform: scale(1.08);
}

.hero-dots-container {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 160, 89, 0.3);
  backdrop-filter: blur(8px);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.hero-dot.active {
  background: var(--gold-primary);
  width: 24px;
}

.hero-slide-counter {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  font-weight: 600;
  margin-left: 8px;
}
  display: inline-block;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 4px;
}

.hero-title {
  font-family: var(--font-serif-royal);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-lg);
  color: #FFFFFF;
}

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

.hero-description {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: rgba(250, 247, 242, 0.88);
  max-width: 760px;
  margin: 0 auto var(--space-2xl);
  font-weight: 300;
  line-height: 1.7;
}

/* Dual Gateway Cards */
.hero-dual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.portal-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  padding: var(--space-xl);
  text-align: left;
  transition: all var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}

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

.portal-card.active {
  border-color: var(--gold-primary);
  background: rgba(197, 160, 89, 0.1);
}

.portal-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.portal-heading {
  font-family: var(--font-serif-royal);
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

.portal-desc {
  font-size: 0.92rem;
  color: rgba(250, 247, 242, 0.78);
  line-height: 1.5;
  margin-bottom: var(--space-lg);
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portal-btn svg {
  transition: transform var(--transition-fast);
}

.portal-card:hover .portal-btn svg {
  transform: translateX(5px);
}

/* ==========================================================================
   METRE SHOPPING ENGINE & INTERACTIVE CALCULATOR SECTION
   ========================================================================== */
.metre-engine-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-lg) 0;
  margin-bottom: var(--space-3xl);
  box-shadow: var(--shadow-sm);
}

.engine-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}

.engine-intro h3 {
  font-family: var(--font-serif-royal);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.engine-intro p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Preset Outfit Metre Helper */
.outfit-preset-chips {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.outfit-preset-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 4px;
}

.preset-chip {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-weight: 500;
}

.preset-chip:hover, .preset-chip.active {
  background: var(--gold-primary);
  color: #1F0D11;
  border-color: var(--gold-primary);
  font-weight: 600;
}

.engine-cta {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
}

.btn-luxury-gold {
  background: var(--gold-primary);
  color: #1F0D11;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-smooth);
}

.btn-luxury-gold:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-luxury-outline {
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-luxury-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--bg-card);
}

/* ==========================================================================
   FILTER & CURATION BAR
   ========================================================================== */
.catalog-section {
  padding: var(--space-2xl) 0 var(--space-4xl);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
}

.section-subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  display: block;
}

.section-title {
  font-family: var(--font-serif-royal);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.section-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Filter Controls */
.filter-tabs-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.filter-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--bg-accent-wine);
  color: #FAF7F2;
  border-color: var(--bg-accent-wine);
  font-weight: 600;
}

/* Secondary filters: Occasion & Outfit */
.subfilter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.subfilter-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.subfilter-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.select-luxury {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
}

.search-input-luxury {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-primary);
  width: 240px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.search-input-luxury:focus {
  border-color: var(--gold-primary);
}

/* ==========================================================================
   PRODUCT GRID & METRE-AWARE FABRIC CARDS
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.fabric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
}

.fabric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-subtle);
}

.fabric-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-secondary);
}

.fabric-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.fabric-card:hover .fabric-img {
  transform: scale(1.06);
}

.fabric-badge-stack {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.badge-tag {
  background: rgba(15, 15, 18, 0.75);
  backdrop-filter: blur(8px);
  color: #FAF7F2;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-gold {
  background: var(--gold-primary);
  color: #1F0D11;
  font-weight: 700;
}

/* Hover Action Drawer on Card */
.card-hover-actions {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-smooth);
  z-index: 2;
}

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

.card-action-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: #1F0D11;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
}

.card-action-btn:hover {
  background: var(--gold-primary);
  color: #1F0D11;
}

/* Card Body & Dynamic Metre Selector */
.fabric-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.fabric-category-name {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.fabric-title {
  font-family: var(--font-serif-royal);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.fabric-occasions {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

/* Metre Controller inside Card */
.metre-selector-row {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  border: 1px solid var(--border-hairline);
}

.metre-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.metre-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stepper-btn {
  width: 24px;
  height: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.stepper-btn:hover {
  background: var(--gold-primary);
  color: #1F0D11;
  border-color: var(--gold-primary);
}

.metre-value-display {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 36px;
  text-align: center;
}

/* Price & Add to Bag */
.card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.calculated-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.rate-per-metre {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-cta-row {
  display: flex;
  gap: 8px;
}

.btn-add-bag {
  flex: 1;
  background: var(--bg-accent-wine);
  color: #FAF7F2;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-add-bag:hover {
  background: var(--bg-accent-crimson);
}

.btn-card-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
}

.btn-card-whatsapp:hover {
  opacity: 0.9;
}

/* ==========================================================================
   LOOKBOOK & SHOWROOM SPOTLIGHT
   ========================================================================== */
.showroom-spotlight-section {
  background: var(--bg-secondary);
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.showroom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.showroom-photo-collage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-md);
}

.showroom-photo-large {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}

.showroom-photo-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showroom-photo-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.showroom-photo-small {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.showroom-photo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showroom-story-content h2 {
  font-family: var(--font-serif-royal);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 400;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.showroom-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: var(--space-xl) 0;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stat-number {
  font-family: var(--font-serif-royal);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-primary);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

/* ==========================================================================
   DESIGNER, CINEMA COSTUME & EXPORT B2B PORTAL
   ========================================================================== */
.trade-portal-section {
  padding: var(--space-3xl) 0 var(--space-4xl);
  background: var(--bg-dark);
  color: #FAF7F2;
  position: relative;
}

.trade-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.trade-content h2 {
  font-family: var(--font-serif-royal);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: var(--space-md);
}

.trade-content p {
  color: rgba(250, 247, 242, 0.85);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.trade-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.trade-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.trade-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(197, 160, 89, 0.2);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.trade-feature-text strong {
  display: block;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.trade-feature-text span {
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.7);
}

.trade-form-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  backdrop-filter: blur(16px);
}

.trade-form-card h3 {
  font-family: var(--font-serif-royal);
  font-size: 1.6rem;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.trade-form-card p {
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.7);
  margin-bottom: var(--space-lg);
}

.trade-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-bottom: 6px;
  font-weight: 600;
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  outline: none;
  font-size: 0.9rem;
}

.form-input:focus {
  border-color: var(--gold-primary);
}

.btn-trade-submit {
  background: var(--gold-primary);
  color: #1F0D11;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.88rem;
  margin-top: var(--space-sm);
  transition: all var(--transition-fast);
}

.btn-trade-submit:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   SLIDE-OUT CART DRAWER
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--bg-card);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

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

.cart-drawer-header h3 {
  font-family: var(--font-serif-royal);
  font-size: 1.4rem;
  color: var(--text-primary);
}

.close-drawer-btn {
  font-size: 1.5rem;
  color: var(--text-muted);
  line-height: 1;
  padding: 4px;
}

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

.cart-free-shipping-bar {
  background: var(--bg-secondary);
  padding: var(--space-md) var(--space-lg);
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border-hairline);
}

.progress-track {
  height: 5px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  margin-top: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gold-primary);
  width: 70%;
  border-radius: var(--radius-full);
  transition: width var(--transition-smooth);
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cart-item {
  display: flex;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-hairline);
}

.cart-item-img {
  width: 76px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-family: var(--font-serif-royal);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.cart-item-metres {
  font-size: 0.78rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 6px;
}

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

.cart-item-total {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
}

.cart-item-remove {
  font-size: 0.75rem;
  color: #c92a2a;
  text-decoration: underline;
  cursor: pointer;
}

.cart-drawer-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--border-hairline);
  background: var(--bg-card);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cart-total-row {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: var(--space-md) 0;
  border-top: 1px dashed var(--border-subtle);
  padding-top: var(--space-sm);
}

.btn-checkout-now {
  width: 100%;
  background: var(--bg-accent-wine);
  color: #FAF7F2;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-checkout-now:hover {
  background: var(--bg-accent-crimson);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   VIDEO CALL & QUICK VIEW MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  transition: all var(--transition-smooth);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--text-muted);
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   FOOTER (SOWCARPET HERITAGE, TIMINGS, MAP, SEO)
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #FAF7F2;
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand h4 {
  font-family: var(--font-serif-royal);
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: var(--space-xs);
  font-weight: 400;
}

.footer-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.6);
  margin-bottom: var(--space-md);
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(250, 247, 242, 0.75);
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: var(--space-lg);
}

.footer-col h5 {
  font-family: var(--font-serif-royal);
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.7);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   CATEGORY SHOWCASE AT FRONT (CATEGORY-WISE ARCHITECTURE)
   ========================================================================== */
.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.category-portal-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.category-portal-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.category-portal-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-secondary);
}

.category-portal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.category-portal-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 6, 9, 0.82);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  border: 1px solid rgba(197, 160, 89, 0.4);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.category-portal-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.category-portal-title {
  font-family: var(--font-serif-royal);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.category-portal-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.category-portal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-hairline);
  padding-top: var(--space-md);
}

.category-portal-rate {
  font-size: 0.8rem;
  color: var(--gold-primary);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.category-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color var(--transition-fast);
}

.category-portal-card:hover .category-portal-btn {
  color: var(--gold-primary);
}

/* Category Detail Header & Back Button */
.category-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.btn-back-categories {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 8px 18px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.btn-back-categories:hover {
  background: var(--gold-primary);
  color: #1F0D11;
  border-color: var(--gold-primary);
}

/* ==========================================================================
   CHENNAI STORE & SHOWROOM (HIGH CONTRAST & LEGIBILITY)
   ========================================================================== */
.showroom-info-card {
  background: #1A0A0E !important;
  color: #FAF7F2 !important;
  padding: 36px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(197, 160, 89, 0.45) !important;
  box-shadow: var(--shadow-md) !important;
}

.showroom-info-card h3 {
  font-family: var(--font-serif-royal) !important;
  font-size: 1.8rem !important;
  color: var(--gold-light) !important;
  margin-bottom: 22px !important;
  font-weight: 500 !important;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3) !important;
  padding-bottom: 12px !important;
}

.showroom-info-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  font-size: 0.95rem !important;
  color: #FAF7F2 !important;
  margin-bottom: 20px !important;
  line-height: 1.6 !important;
}

.showroom-info-item strong {
  color: var(--gold-light) !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  display: block !important;
  margin-bottom: 4px !important;
}

.showroom-info-item svg {
  color: var(--gold-primary) !important;
  flex-shrink: 0 !important;
  margin-top: 4px !important;
}

.showroom-info-item a {
  color: #FFFFFF !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
}

.showroom-info-item a:hover {
  color: var(--gold-light) !important;
}

/* Footer Section High Contrast */
.site-footer {
  background: #0F0508 !important;
  color: #FFFFFF !important;
}

.site-footer h4, .site-footer h5 {
  color: var(--gold-light) !important;
}

.site-footer p, .site-footer li, .site-footer span, .site-footer a {
  color: rgba(255, 255, 255, 0.9) !important;
}

.site-footer a:hover {
  color: var(--gold-light) !important;
}

/* ==========================================================================
   CATEGORY SHOWCASE GRID & PORTAL CARDS (FRONT-PAGE CATEGORY FIRST)
   ========================================================================== */
.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: var(--space-xl);
}

.category-portal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.category-portal-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.category-portal-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #110609;
}

.category-portal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.category-portal-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(20, 7, 10, 0.85);
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 160, 89, 0.35);
  backdrop-filter: blur(4px);
}

.category-portal-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.category-portal-title {
  font-family: var(--font-serif-royal);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.category-portal-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}

.category-portal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-hairline);
  padding-top: 14px;
}

.category-portal-rate {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.category-portal-btn {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.category-portal-card:hover .category-portal-btn {
  color: var(--gold-light);
}

/* Category Detail Header (Back Button & Active Category) */
.category-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Showroom Photo Pair Grid */
.showroom-layout-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.showroom-photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.showroom-photo-figure {
  margin: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.showroom-photo-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.showroom-photo-figure:hover .showroom-photo-img {
  transform: scale(1.03);
}

.showroom-photo-caption {
  padding: 12px 14px;
  background: #14070A;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.showroom-photo-caption span:first-child {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
}

.showroom-photo-caption span:last-child {
  font-size: 0.8rem;
  color: #FAF7F2;
}

.showroom-crest-tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.showroom-title {
  font-family: var(--font-serif-royal);
  font-size: 1.8rem;
  color: #FAF7F2;
  margin-bottom: 4px;
}

.showroom-tagline {
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

.showroom-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.showroom-label {
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.showroom-val {
  font-size: 0.92rem;
  color: #FAF7F2;
  line-height: 1.6;
}

.showroom-phone-link {
  color: #FAF7F2;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: underline;
}

.showroom-phone-link:hover {
  color: var(--gold-light);
}

.showroom-subtext {
  display: block;
  font-size: 0.75rem;
  color: rgba(250, 247, 242, 0.7);
  margin-top: 2px;
}

.showroom-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .engine-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .showroom-grid, .trade-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .announcement-bar .container {
    justify-content: center;
    text-align: center;
  }
  .announcement-actions {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .brand-logo-img {
    height: 38px;
  }
  .hero-dual-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MIX & MATCH ATELIER: THE ART OF DIY DESIGNER COUTURE
   ========================================================================== */
.mixmatch-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-hairline);
  padding: var(--space-3xl) 0;
  position: relative;
}

.mixmatch-manifesto {
  max-width: 900px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.mixmatch-quote {
  font-family: var(--font-serif-royal);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  position: relative;
  padding: 0 var(--space-lg);
}

.mixmatch-quote::before {
  content: "“";
  font-size: 3rem;
  color: var(--gold-primary);
  position: absolute;
  left: -10px;
  top: -20px;
  opacity: 0.4;
  font-family: serif;
}

.mixmatch-quote::after {
  content: "”";
  font-size: 3rem;
  color: var(--gold-primary);
  position: absolute;
  right: -10px;
  bottom: -40px;
  opacity: 0.4;
  font-family: serif;
}

.mixmatch-studio-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

/* Left: Step Builder */
.mixmatch-builder-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.mixmatch-step-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  overflow-x: auto;
}

.mixmatch-step-tab {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 16px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.mixmatch-step-tab.active {
  background: var(--bg-accent-wine);
  color: var(--gold-primary);
  border: 1px solid rgba(197, 160, 89, 0.4);
}

.mixmatch-step-num {
  font-family: var(--font-serif-royal);
  font-size: 1rem;
  opacity: 0.8;
}

.mixmatch-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
  gap: 12px;
}

.mixmatch-step-title {
  font-family: var(--font-serif-royal);
  font-size: 1.35rem;
  margin: 0;
  color: var(--text-primary);
}

.mixmatch-metre-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-secondary);
  padding: 4px 12px;
  border-radius: 30px;
  border: 1px solid var(--border-subtle);
}

.mixmatch-metre-btn {
  background: transparent;
  border: none;
  color: var(--gold-primary);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mixmatch-metre-val {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  min-width: 48px;
  text-align: center;
}

/* Options Grid */
.mixmatch-options-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
}

.mixmatch-option-card {
  display: flex;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  background: var(--bg-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  align-items: center;
}

.mixmatch-option-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.mixmatch-option-card.selected {
  border-color: var(--gold-primary);
  background: rgba(197, 160, 89, 0.08);
  box-shadow: 0 0 0 1px var(--gold-primary);
}

.mixmatch-option-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.mixmatch-option-info {
  flex: 1;
}

.mixmatch-option-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.mixmatch-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  display: inline-block;
}

.mixmatch-option-name {
  font-family: var(--font-serif-royal);
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.mixmatch-option-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 4px;
}

.mixmatch-option-price {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
}

/* Right: Visual Live Ensemble Canvas */
.mixmatch-canvas-card {
  background: #15090C;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: #FAF7F2;
  box-shadow: var(--shadow-xl);
  position: sticky;
  top: 120px;
}

.mixmatch-canvas-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid rgba(197, 160, 89, 0.5);
  color: #E5C478;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: var(--space-md);
}

.mixmatch-canvas-title {
  font-family: var(--font-serif-royal);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: #FAF7F2;
}

.mixmatch-canvas-sub {
  font-size: 0.84rem;
  color: rgba(250, 247, 242, 0.75);
  line-height: 1.5;
  margin-bottom: var(--space-lg);
}

/* 3-Panel Side-by-Side Co-ord View */
.mixmatch-drape-triptych {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.95fr;
  gap: 10px;
  margin-bottom: var(--space-lg);
  background: #0D0406;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 160, 89, 0.25);
}

.mixmatch-drape-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #1a0a0e;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.mixmatch-drape-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.mixmatch-drape-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mixmatch-drape-label {
  padding: 8px 6px;
  text-align: center;
  background: rgba(10, 4, 6, 0.9);
}

.mixmatch-drape-type {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E5C478;
  font-weight: 700;
  display: block;
}

.mixmatch-drape-name {
  font-family: var(--font-serif-royal);
  font-size: 0.75rem;
  color: #FAF7F2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.mixmatch-drape-meters {
  font-size: 0.7rem;
  color: rgba(250, 247, 242, 0.6);
}

/* Pricing Breakdown */
.mixmatch-summary-box {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px dashed rgba(197, 160, 89, 0.3);
  margin-bottom: var(--space-lg);
}

.mixmatch-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(250, 247, 242, 0.8);
  margin-bottom: 6px;
}

.mixmatch-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 700;
  color: #E5C478;
  padding-top: 8px;
  border-top: 1px solid rgba(197, 160, 89, 0.3);
  margin-top: 6px;
}

/* Actions */
.mixmatch-btn-whatsapp {
  width: 100%;
  background: #25D366;
  color: #000;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-fast);
  margin-bottom: 10px;
}

.mixmatch-btn-whatsapp:hover {
  background: #20BA5A;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

.mixmatch-btn-videodrape {
  width: 100%;
  background: transparent;
  color: #FAF7F2;
  border: 1px solid rgba(197, 160, 89, 0.6);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.mixmatch-btn-videodrape:hover {
  background: rgba(197, 160, 89, 0.15);
  border-color: #E5C478;
}

.mixmatch-showroom-callout {
  margin-top: var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.mixmatch-callout-text h4 {
  font-family: var(--font-serif-royal);
  font-size: 1.25rem;
  margin: 0 0 6px 0;
  color: var(--text-primary);
}

.mixmatch-callout-text p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .mixmatch-studio-grid {
    grid-template-columns: 1fr;
  }
  .mixmatch-canvas-card {
    position: static;
  }
}

