/* =========================================================================
   AURA LINGERIE Luxury Lingerie Storefront Stylesheet
   High-Fashion Editorial Palette • Native RTL/LTR Logical CSS • Mobile-First
   ========================================================================= */
:root {
  --bg: #FAF7F4;
  --surface: #FFFFFF;
  --surface-alt: #F3ECE6;
  --burgundy: #4A0E23;
  --burgundy-deep: #320817;
  --burgundy-soft: #73203E;
  --gold: #C59B5F;
  --gold-light: #E8D5B7;
  --rose: #D8B4A0;
  --ink: #1A1316;
  --muted: #6C5D62;
  --border: #E8DDD4;
  --whatsapp: #1F9D55;
  --whatsapp-dark: #157A40;
  --danger: #B42318;
  --warning: #B54708;
  --success: #146C43;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 18px rgba(42, 12, 24, 0.06);
  --shadow-md: 0 14px 36px rgba(42, 12, 24, 0.11);
  --font-serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ar: "Cairo", "Tajawal", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[dir="rtl"] body { font-family: var(--font-ar); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] .brand-wordmark {
  font-family: var(--font-ar);
  letter-spacing: 0;
}
h1, h2, h3, .serif { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

.container { width: min(1240px, 92%); margin-inline: auto; }

/* Announcement Ribbon */
.announcement-bar {
  background: var(--burgundy-deep);
  color: var(--gold-light);
  font-size: 0.84rem;
  padding: 0.55rem 1rem;
  text-align: center;
  letter-spacing: 0.03em;
}
.announcement-bar strong { color: #FFF; }

/* Sticky Glass Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 247, 244, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand-wordmark {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--burgundy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
}
.nav-links a { position: relative; padding-block: 0.25rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--burgundy); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.lang-switcher {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}
.lang-pill {
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s;
}
.lang-pill.active {
  background: var(--burgundy);
  color: #FFF;
}
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--burgundy);
  color: #FFF;
  border: none;
  border-radius: 999px;
  padding: 0.52rem 1.05rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}
.cart-btn:hover { background: var(--burgundy-deep); transform: translateY(-1px); }
.cart-count {
  background: var(--gold);
  color: var(--burgundy-deep);
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  padding-inline: 5px;
}

/* Editorial Hero Slideshow */
.hero {
  position: relative;
  min-height: 550px;
  display: grid;
  align-items: center;
  background: linear-gradient(120deg, #2C0815 0%, #4A0E23 55%, #230611 100%);
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg,
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  opacity: 0;
  transform: scale(1.04);
  filter: saturate(1.06);
  transition: opacity 0.9s ease, transform 5.2s ease;
  pointer-events: none;
}
.hero-bg,
.hero-slide.active {
  opacity: 0.72;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transform: none;
    transition: opacity 0.25s ease;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(28, 7, 15, 0.86) 0%, rgba(44, 8, 21, 0.58) 52%, rgba(28, 7, 15, 0.28) 100%);
}
html[dir="rtl"] .hero-overlay {
  background: linear-gradient(270deg, rgba(28, 7, 15, 0.88) 0%, rgba(44, 8, 21, 0.6) 52%, rgba(28, 7, 15, 0.28) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding-block: 4.5rem 5.4rem;
  color: #FFF;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.hero-content.is-switching {
  opacity: 0.35;
  transform: translateY(4px);
}
.hero-slider-controls {
  position: absolute;
  z-index: 3;
  inset-inline: 0;
  bottom: 1.15rem;
  width: min(1240px, 92%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  pointer-events: none;
}
.hero-dots,
.hero-arrows {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  pointer-events: auto;
}
.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.hero-dot.active {
  width: 26px;
  background: var(--gold);
  border-color: var(--gold-light);
}
.hero-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(232, 213, 183, 0.42);
  background: rgba(28, 7, 15, 0.52);
  backdrop-filter: blur(8px);
  color: #FFF;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.hero-arrow:hover {
  background: var(--burgundy);
  border-color: var(--gold);
  transform: scale(1.05);
}
html[dir="rtl"] .hero-arrow {
  transform: scaleX(-1);
}
html[dir="rtl"] .hero-arrow:hover {
  transform: scaleX(-1) scale(1.05);
}
.hero-counter {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  background: rgba(28, 7, 15, 0.52);
  border: 1px solid rgba(232, 213, 183, 0.28);
  letter-spacing: 0.05em;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(232, 213, 183, 0.35);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  background: rgba(74, 14, 35, 0.45);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  margin-bottom: 1.1rem;
  color: #FFF;
}
.hero p {
  font-size: 1.06rem;
  color: rgba(255, 250, 245, 0.88);
  margin: 0 0 2rem;
  max-width: 560px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.55rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--burgundy);
  color: #FFF;
}
.btn-primary:hover { background: var(--burgundy-deep); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-gold {
  background: var(--gold);
  color: #1F0810;
}
.btn-gold:hover { background: #D7AF74; transform: translateY(-1px); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #FFF;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(31, 157, 85, 0.3); }
.btn-outline {
  background: transparent;
  border-color: var(--burgundy);
  color: var(--burgundy);
}
.btn-outline:hover { background: var(--burgundy); color: #FFF; }
.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFF;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.18); }
.btn-block { width: 100%; }

/* Trust Strip */
.trust-strip {
  padding-block: 2.2rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
}
.trust-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(74, 14, 35, 0.08);
  color: var(--burgundy);
  display: grid; place-items: center;
  font-size: 1.2rem;
}
.trust-card h3 { font-size: 0.96rem; margin-bottom: 0.25rem; font-family: inherit; font-weight: 700; }
.trust-card p { font-size: 0.83rem; color: var(--muted); margin: 0; line-height: 1.45; }

/* Sections & Filters */
.section { padding-block: 4rem; }
.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 2.25rem;
}
.section-header h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--burgundy-deep); margin-bottom: 0.55rem; }
.section-header p { color: var(--muted); margin: 0; }

.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}
.cat-pill {
  padding: 0.52rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-pill.active, .cat-pill:hover {
  background: var(--burgundy);
  color: #FFF;
  border-color: var(--burgundy);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.65rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--surface-alt);
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  transition: transform 0.5s ease;
}
.product-card:hover .product-media img { transform: scale(1.04); }
.product-badge {
  position: absolute;
  top: 0.85rem;
  inset-inline-start: 0.85rem;
  background: rgba(50, 8, 23, 0.88);
  color: var(--gold-light);
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.stock-pill {
  position: absolute;
  bottom: 0.75rem;
  inset-inline-end: 0.75rem;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  color: var(--success);
}
.stock-pill.low { color: var(--warning); }
.stock-pill.out { color: var(--danger); }
.product-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.product-cat { font-size: 0.76rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.product-title { font-size: 1.08rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.product-price-row { display: flex; align-items: baseline; gap: 0.6rem; margin-top: auto; }
.price-now { font-size: 1.18rem; font-weight: 800; color: var(--burgundy); }
.price-old { font-size: 0.88rem; color: var(--muted); text-decoration: line-through; }
.swatches-mini { display: flex; gap: 0.4rem; align-items: center; }
.swatch-dot {
  width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,0.18);
}

/* Product Detail Page */
.pdp-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: start;
}
.pdp-gallery {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pdp-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pdp-info { display: flex; flex-direction: column; gap: 1.2rem; }
.variant-group label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.55rem; }
.size-pills, .color-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.size-btn {
  min-width: 48px;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.size-btn.active { background: var(--burgundy); color: #FFF; border-color: var(--burgundy); }
.size-btn:disabled { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.color-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 0.86rem; font-weight: 600;
}
.color-btn.active { border-color: var(--burgundy); background: rgba(74, 14, 35, 0.06); }
.share-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  padding-top: 1rem; border-top: 1px solid var(--border);
}
.share-chip {
  padding: 0.4rem 0.8rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer;
}
.share-chip:hover { border-color: var(--burgundy); color: var(--burgundy); }

/* Checkout + Optional GPS Map (Overflow-Safe on iOS/Android & Desktop) */
.checkout-section {
  max-width: 100%;
  overflow-x: hidden;
  padding-block: 2.2rem 4rem;
}
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
}
.checkout-grid > * {
  min-width: 0;
  max-width: 100%;
}
.checkout-summary-card {
  position: sticky;
  top: 92px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  min-width: 0;
}
.security-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(20, 108, 67, 0.09);
  color: var(--success);
  border: 1px solid rgba(20, 108, 67, 0.25);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.83rem; font-weight: 700;
  margin-bottom: 1.25rem;
  max-width: 100%;
  flex-wrap: wrap;
}
.payment-method-box {
  margin-bottom: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.payment-method-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.55rem;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--burgundy);
  background: rgba(74, 14, 35, 0.04);
  cursor: pointer;
  max-width: 100%;
}
.payment-option input[type="radio"] {
  accent-color: var(--burgundy);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
}
.payment-option-text {
  min-width: 0;
  flex: 1;
}
.payment-option-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--burgundy-deep);
}
.payment-option-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.1rem;
}
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 100%;
}
.form-grid > * { min-width: 0; max-width: 100%; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; max-width: 100%; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.form-control {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.74rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #FFF;
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
select.form-control {
  text-overflow: ellipsis;
  overflow: hidden;
}
.form-control::placeholder { color: #9C9195; opacity: 1; }
.form-control:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(74, 14, 35, 0.12);
}
.gps-box {
  margin-top: 1.15rem;
  border-radius: var(--radius-sm);
  border: 1.5px dashed var(--gold);
  background: #FFFDF9;
  max-width: 100%;
  overflow: hidden;
}
.gps-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: start;
  color: var(--burgundy);
  font-weight: 700;
  font-size: 0.88rem;
}
.gps-toggle-btn:hover { background: rgba(197, 155, 95, 0.1); }
.gps-optional-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--surface-alt);
  color: var(--muted);
  flex-shrink: 0;
}
.gps-chevron {
  transition: transform 0.2s ease;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.gps-toggle-btn[aria-expanded="true"] .gps-chevron {
  transform: rotate(180deg);
}
.gps-body {
  display: none;
  padding: 0 1rem 1rem;
  border-top: 1px dashed var(--border);
}
.gps-body.open {
  display: block;
}
.gps-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
  margin: 0.85rem 0 0.75rem;
}
#checkout-map {
  width: 100%;
  max-width: 100%;
  height: 260px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #EDE5DC;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.gps-status {
  margin-top: 0.6rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  word-break: break-word;
}
.gps-status.confirmed { color: var(--success); }
.checkout-submit-btn {
  margin-top: 1.35rem;
  padding: 1rem;
  font-size: 1rem;
  scroll-margin-bottom: 28px;
}

/* Honeypot trap (invisible to real humans, traps spam bots, zero horizontal overflow in RTL/LTR) */
.hp-field {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Cart Drawer & Modals */
.drawer-backdrop, .modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 8, 13, 0.56);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
}
.drawer-backdrop.open { display: flex; justify-content: flex-end; align-items: stretch; }
.modal-backdrop.open { display: flex; padding: 1rem; }
.cart-drawer {
  width: min(420px, 100%);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: -8px 0 32px rgba(0,0,0,0.2);
}
.drawer-head, .modal-head {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-body { padding: 1.2rem 1.4rem; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 0.9rem; }
.drawer-foot { padding: 1.2rem 1.4rem; border-top: 1px solid var(--border); background: var(--bg); }
.cart-item {
  display: flex; gap: 0.85rem; align-items: center;
  padding-bottom: 0.85rem; border-bottom: 1px solid var(--border);
}
.cart-item img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; }
.modal-card {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.modal-body { padding: 1.4rem; }
.close-btn {
  background: transparent; border: none; font-size: 1.4rem; cursor: pointer; color: var(--muted);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
}
.close-btn:hover { background: var(--surface-alt); color: var(--ink); }

/* Mobile Menu Toggle & Responsive Drawer */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--burgundy);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
.mobile-menu-btn:hover,
.mobile-menu-btn[aria-expanded="true"] {
  background: var(--burgundy);
  color: #FFF;
  border-color: var(--burgundy);
}
.mobile-nav-panel {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.mobile-nav-panel.open {
  display: block;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0 0.85rem;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.82rem 0.5rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  min-height: 46px;
}
.mobile-nav-links a:last-child { border-bottom: none; }
.mobile-nav-links a:hover { color: var(--burgundy); }

/* Product Card & PDP Social Share Controls */
.card-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding-top: 0.6rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
}
.card-share-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  margin-inline-end: 0.15rem;
}
.share-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 32px;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.share-icon-btn:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
  background: #FFF;
  transform: translateY(-1px);
}
.share-icon-img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  border-radius: 3px;
  display: inline-block;
}
.aura-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(18px);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  background: var(--burgundy-deep);
  color: #FFF;
  padding: 0.72rem 1.3rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(27, 8, 16, 0.32);
  border: 1px solid rgba(232, 213, 183, 0.35);
  transition: opacity 0.22s ease, transform 0.22s ease;
  max-width: min(92vw, 420px);
  text-align: center;
}
.aura-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Footer */
.footer {
  background: #1B0A11;
  color: rgba(255, 248, 243, 0.85);
  padding-block: 3.5rem 1.8rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h4 { color: var(--gold-light); margin: 0 0 0.85rem; font-size: 1rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.social-pill {
  padding: 0.42rem 0.85rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0.82rem; transition: background 0.2s;
}
.social-pill:hover { background: var(--burgundy); border-color: var(--gold); }
.footer-bottom {
  padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.58);
}

/* Size Table */
.size-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.size-table th, .size-table td { padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--border); text-align: center; }
.size-table th { background: var(--surface-alt); color: var(--burgundy-deep); }

/* Alerts */
.alert {
  padding: 0.85rem 1.05rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.alert-danger { background: #FEF3F2; color: var(--danger); border: 1px solid #FECDCA; }
.alert-success { background: #ECFDF3; color: var(--success); border: 1px solid #ABEFC6; }

@media (max-width: 960px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-grid, .checkout-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .checkout-summary-card { position: static; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; }
}
@media (max-width: 768px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }
  .form-control { font-size: 16px; }
  .checkout-section { padding-block: 1.4rem 3.5rem; }
  .card { padding: 1.15rem; }
}
@media (max-width: 600px) {
  .container { width: 100%; padding-inline: 1rem; }
  .trust-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 450px; }
  .nav-inner { gap: 0.5rem; padding: 0.7rem 0; }
  .brand-wordmark { font-size: 1.12rem; letter-spacing: 0.09em; gap: 0.35rem; }
  .lang-pill { padding: 0.22rem 0.46rem; font-size: 0.72rem; }
  .cart-btn { padding: 0.44rem 0.72rem; font-size: 0.8rem; }
  .cart-btn .cart-label { display: none; }
  .checkout-submit-btn { font-size: 0.96rem; padding: 0.95rem 1rem; }
}

/* Editorial Lookbook Bento Gallery */
.lookbook-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
}
.lookbook-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
  min-height: 250px;
  box-shadow: var(--shadow-sm);
}
.lookbook-tile.span-6 { grid-column: span 6; min-height: 360px; }
.lookbook-tile.span-4 { grid-column: span 4; min-height: 360px; }
.lookbook-tile img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  transition: transform 0.6s ease;
}
.lookbook-tile:hover img { transform: scale(1.06); }
.lookbook-caption {
  position: absolute;
  inset-inline: 0; bottom: 0;
  padding: 2.2rem 1.25rem 1.1rem;
  background: linear-gradient(0deg, rgba(27, 8, 16, 0.82) 0%, rgba(27, 8, 16, 0) 100%);
  color: #FFF;
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.lookbook-caption span.tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* PDP Multi-Image Thumbnails */
.pdp-thumbs {
  display: flex;
  gap: 0.6rem;
  padding: 0.75rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  overflow-x: auto;
}
.pdp-thumb {
  width: 72px; height: 88px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden;
  border: 2px solid transparent;
  padding: 0; background: none; cursor: pointer;
  opacity: 0.72; transition: all 0.2s;
}
.pdp-thumb.active, .pdp-thumb:hover { border-color: var(--burgundy); opacity: 1; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 820px) {
  .lookbook-tile.span-6, .lookbook-tile.span-4 { grid-column: span 12; min-height: 230px; }
}
