/* ============================================================
   ORIXO LUXE — Premium App-Style Stylesheet  v3
   Palette: Gold / Black-Charcoal / Navy / Copper-Rose / Forest
   ============================================================ */

:root {
  --gold: #c9a227;
  --gold-light: #e8c55a;
  --gold-dark: #a07f14;
  --charcoal: #0a0a0a;
  --charcoal-2: #121212;
  --charcoal-3: #1a1a1a;
  --navy: #101c30;
  --navy-light: #1b2b47;
  --copper: #b87333;
  --rose: #c78a7a;
  --forest: #1b4332;
  --forest-light: #2d6a4f;
  --text: #e8e6df;
  --text-muted: #b5b1a6;
  --text-dim: #9e9a90;
  --border: rgba(201, 162, 39, 0.18);
  --card-bg: #16161a;
  --danger: #c0392b;
  --success: #2d9c6b;
  --grad-gold: linear-gradient(135deg, #f5d576 0%, #c9a227 40%, #8f6d12 100%);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-bn-title: "Anek Bangla", "Tiro Bengali", "Noto Serif Bengali", sans-serif;
  --font-bn-body: "Hind Siliguri", "Inter", system-ui, sans-serif;
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.55);
  --radius: 16px;
  --bottom-nav-h: 64px;
  --topbar-h: 86px;
}

/* Mobile: reduce topbar height for a sleek, slim navbar */
@media (max-width: 820px) {
  :root {
    --bottom-nav-h: 64px;
    --topbar-h: 52px;
    --header-h: 80px; /* safe default before JS measures actual height */
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 8px); }

body {
  font-family: var(--font-sans);
  background: var(--charcoal);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  /* This single padding-top is the ONLY offset needed for all pages */
  /* JS keeps --header-h updated via ResizeObserver on #siteHeader */
  padding-top: var(--header-h, 86px);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

::selection { background: var(--gold); color: #000; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--charcoal-2); }
::-webkit-scrollbar-thumb { background: #2c2c2c; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* Hide scrollbar for horizontal scrollers */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ============ APP LOADER ============ */
.app-loader {
  position: fixed; inset: 0; z-index: 500;
  background: var(--charcoal);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 26px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.app-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-brand { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.loader-brand .loader-logo {
  width: 220px;
  height: auto;
  animation: loaderLogoPulse 2s ease-in-out infinite;
}
.loader-brand p { font-family: var(--font-serif); font-size: 22px; letter-spacing: 6px; }
.loader-brand em { font-style: italic; color: var(--gold); }
.loader-bar { width: 180px; height: 2px; background: rgba(201,162,39,0.15); border-radius: 2px; overflow: hidden; }
.loader-bar span { display: block; width: 40%; height: 100%; background: var(--grad-gold); animation: loaderSlide 1.1s ease-in-out infinite; }
@keyframes loaderSlide { 0% { transform: translateX(-120%); } 100% { transform: translateX(450%); } }
@keyframes loaderPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0.35); } 50% { box-shadow: 0 0 0 14px rgba(201,162,39,0); } }
@keyframes loaderLogoPulse {
  0%, 100% { opacity: 1; transform: translateY(0) scale(1); }
  50% { opacity: 0.72; transform: translateY(-3px) scale(0.98); }
}

/* ============ SITE HEADER & NAVBAR ============ */
/* Header is FIXED — body padding-top is auto-set by JS to exact header height */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  padding-top: env(safe-area-inset-top, 0px);
}

.navbar {
  position: relative;
  width: 100%;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.12);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled { background: rgba(8, 8, 8, 0.94); border-color: rgba(201, 162, 39, 0.22); }

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: block;
  height: 66px;
  width: auto;
  object-fit: contain;
  transition: height 0.2s ease;
}

@media (max-width: 820px) {
  .brand-logo { height: 48px; }
  .nav-inner { padding: 4px 16px; min-height: 60px; }
}

.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 600;
  color: var(--gold-light);
  background: radial-gradient(circle at 30% 25%, rgba(232,197,90,0.25), rgba(160,127,20,0.06));
  box-shadow: 0 0 18px rgba(201, 162, 39, 0.25);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-serif); font-size: 19px; letter-spacing: 4px; font-weight: 600; }
.brand-sub { font-size: 8px; letter-spacing: 6.5px; color: var(--gold); text-transform: uppercase; font-weight: 600; }

.nav-links { display: flex; gap: 34px; }

.nav-link {
  position: relative;
  font-size: 12.5px; letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color 0.25s;
}

.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 6px; }

/* Language switch (header / mobile menu) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}
.lang-btn {
  border: none; background: none;
  color: var(--text-muted);
  font-size: 11px; font-weight: 600;
  letter-spacing: 1px;
  padding: 5px 11px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s;
}
.lang-btn.active {
  background: var(--grad-gold);
  color: #1a1200;
}
.lang-switch--nav { margin-right: 4px; }
.lang-switch--nav .lang-btn { padding: 4px 9px; font-size: 10px; }

/* Language switcher inside the mobile menu dropdown */
.nav-lang {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.nav-lang-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.nav-lang .lang-btn { font-size: 12px; padding: 6px 14px; }

.icon-btn { position: relative; background: none; border: none; color: var(--text);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: color 0.25s, background 0.25s;
}
.icon-btn:hover { color: var(--gold-light); background: rgba(201,162,39,0.08); }
.icon-btn svg { width: 23px; height: 23px; }
#signInBtn { background: rgba(201,162,39,0.12); color: var(--gold-light); transition: all 0.25s ease; }
#signInBtn:hover, #signInBtn.active { background: rgba(201,162,39,0.28); color: var(--gold-light); box-shadow: 0 0 12px rgba(201,162,39,0.3); }
.m-account-btn:hover, .m-account-btn.active { background: rgba(201,162,39,0.22); color: var(--gold-light); }

.cart-count {
  position: absolute; top: 0; right: 0;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  display: grid; place-items: center;
  background: var(--grad-gold);
  color: #000;
  font-size: 10.5px; font-weight: 700;
  border-radius: 10px;
  transform: translate(18%, -8%);
}



/* ============ HERO SLIDER ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-slider { position: absolute; inset: 0; }

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex; align-items: center;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-slide.active .hero-content > * { animation: riseIn 0.9s ease forwards; }
.hero-slide.active .hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-slide.active .hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-slide.active .hero-content > *:nth-child(3) { animation-delay: 0.32s; }
.hero-slide.active .hero-content > *:nth-child(4) { animation-delay: 0.44s; }

@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

/* Hero art backgrounds (video + translucent overlay + SVG ornaments) */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-art {
  position: absolute; inset: 0;
}
.hero-art--gold {
  background:
    radial-gradient(ellipse at 72% 28%, rgba(201,162,39,0.28), transparent 55%),
    radial-gradient(ellipse at 12% 88%, rgba(184,116,51,0.22), transparent 50%),
    radial-gradient(ellipse at 90% 90%, rgba(16,28,48,0.8), transparent 60%),
    linear-gradient(180deg, rgba(13,13,16,0.55) 0%, rgba(10,10,10,0.78) 100%);
}
.hero-art--navy {
  background:
    radial-gradient(ellipse at 70% 25%, rgba(27,43,71,0.85), transparent 60%),
    radial-gradient(ellipse at 15% 85%, rgba(201,162,39,0.18), transparent 50%),
    linear-gradient(180deg, rgba(12,17,28,0.62) 0%, rgba(10,10,10,0.8) 100%);
}
.hero-art--forest {
  background:
    radial-gradient(ellipse at 70% 25%, rgba(45,106,79,0.45), transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(199,138,122,0.2), transparent 50%),
    linear-gradient(180deg, rgba(11,18,14,0.6) 0%, rgba(10,10,10,0.8) 100%);
}

.hero-art::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7), transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7), transparent 78%);
}

/* Watch / glasses ring ornament */
.hero-art::after {
  content: "";
  position: absolute;
  right: -100px; top: 50%;
  transform: translateY(-50%);
  width: min(560px, 55vw); height: min(560px, 55vw);
  border: 1px solid rgba(201,162,39,0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 50px rgba(201,162,39,0.035),
    0 0 0 100px rgba(201,162,39,0.02),
    inset 0 0 70px rgba(201,162,39,0.05);
  animation: heroOrb 16s ease-in-out infinite;
}
.hero-slide[data-slide="1"] .hero-art::after { animation-delay: 3s; }
.hero-slide[data-slide="2"] .hero-art::after { animation-delay: 6s; }

@keyframes heroOrb {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.06); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 110px 24px 90px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 1.5px;
  max-width: 15em;
  overflow: visible;
  padding-top: 0.1em;
}

.hero-title em {
  font-style: italic;
  display: inline-block;
  padding: 0.15em 0.18em 0.12em 0.05em;
  margin: -0.15em -0.18em -0.12em -0.05em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  max-width: 500px;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero progress bar */
.hero-progress {
  position: absolute; left: 0; right: 0; top: 0; z-index: 3;
  height: 3px; background: transparent;
}
.hero-progress span {
  display: block; height: 100%;
  width: 100%;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* Hero nav arrows + dots */
.hero-nav {
  position: absolute;
  bottom: 30px; right: 24px;
  z-index: 3;
  display: flex; align-items: center; gap: 14px;
}
.hero-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.35);
  background: rgba(10,10,10,0.5);
  color: var(--gold-light);
  font-size: 20px; line-height: 1;
  display: grid; place-items: center;
  transition: all 0.25s;
}
.hero-arrow:hover { background: var(--grad-gold); color: #000; border-color: transparent; }
.hero-dots { display: flex; gap: 7px; }
.hero-dots button {
  width: 8px; height: 8px;
  border-radius: 6px;
  border: none;
  background: rgba(255,255,255,0.22);
  transition: all 0.3s;
}
.hero-dots button.active { width: 26px; background: var(--gold); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.3px; text-transform: none;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  user-select: none;
}

.btn-gold {
  background: var(--grad-gold);
  color: #1a1200;
  box-shadow: 0 10px 26px rgba(201,162,39,0.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(201,162,39,0.4); }
.btn-gold:active { transform: translateY(0); }

.btn-ghost {
  border-color: rgba(232,197,90,0.4);
  color: var(--gold-light);
}
.btn-ghost:hover { background: rgba(201,162,39,0.08); border-color: var(--gold); }

.btn-outline {
  border-color: rgba(201,162,39,0.4);
  color: var(--gold-light);
  background: transparent;
  padding: 10px 20px;
  font-size: 11px;
  width: 100%;
}
.btn-outline:hover { background: rgba(201,162,39,0.1); border-color: var(--gold); }
.btn-outline:active { background: rgba(201,162,39,0.18); }

.btn-block { width: 100%; }

.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ============ SECTION COMMON ============ */
.shop, .about, .contact { padding: 64px 24px; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }

.section-eyebrow {
  font-size: 11.5px; letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 1px;
}

.section-desc { margin-top: 12px; color: var(--text-muted); font-weight: 300; font-size: 14.5px; }

/* ============ BENGALI TYPOGRAPHY & ELEGANT DISPLAY STYLING ============ */
html[lang="bn"] body {
  font-family: var(--font-bn-body);
}

/* General Bengali headings — sleek, stylish modern font */
html[lang="bn"] .footer-brand-name,
html[lang="bn"] .brand-name,
html[lang="bn"] .cat-card-name,
html[lang="bn"] .pd-title,
html[lang="bn"] .drawer-head h3,
html[lang="bn"] .checkout-inner h3,
html[lang="bn"] .orders-head h3,
html[lang="bn"] .acct-orders-head h4,
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3, html[lang="bn"] h4 {
  font-family: "Anek Bangla", "Hind Siliguri", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.4 !important;
  padding-top: 0.12em;
  padding-bottom: 0.08em;
  overflow: visible !important;
}

/* Hero Title — Sleek, stylish display font matching luxury aesthetic */
html[lang="bn"] .hero-title {
  font-family: "Anek Bangla", "Hind Siliguri", sans-serif !important;
  font-weight: 500 !important; /* Elegant medium stroke */
  font-size: clamp(38px, 6.8vw, 84px);
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  padding-top: 0.15em;
  overflow: visible !important;
}

/* Section Title — Distinct modern font */
html[lang="bn"] .section-title {
  font-family: "Anek Bangla", "Hind Siliguri", sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(26px, 4.2vw, 46px);
  line-height: 1.4 !important;
  padding-top: 0.12em;
  overflow: visible !important;
}

html[lang="bn"] .hero-sub,
html[lang="bn"] .section-desc,
html[lang="bn"] .nav-link,
html[lang="bn"] .filter-pill,
html[lang="bn"] .btn {
  font-family: var(--font-bn-body) !important;
  letter-spacing: 0 !important;
}

/* ============ FILTER ============ */
.filter-bar {
  display: flex; justify-content: center; gap: 10px;
  flex-wrap: wrap;
  margin: -18px auto 38px;
}

.filter-pill {
  padding: 10px 26px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  border-radius: 30px;
  transition: all 0.3s;
}
.filter-pill:hover { color: var(--gold-light); border-color: var(--gold); }
.filter-pill.active {
  background: var(--grad-gold);
  color: #1a1200;
  border-color: transparent;
  font-weight: 700;
}

/* ============ PRODUCT GRID / CARDS (titanltd-style) ============ */
.products-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  display: flex; flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(201,162,39,0.35);
}

.card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0e0e12;
}

.card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.product-card:hover .card-img { transform: scale(1.06); }

.card-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--grad-gold);
  color: #1a1200;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.card-sale {
  position: absolute; top: 10px; right: 10px;
  background: var(--danger);
  color: #fff;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
}

.card-quick {
  position: absolute; inset: auto 10px 10px 10px;
  padding: 9px;
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201,162,39,0.3);
  color: var(--gold-light);
  font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase;
  border-radius: 6px;
  opacity: 0; transform: translateY(10px);
  transition: all 0.35s ease;
}
.product-card:hover .card-quick,
.product-card.touch-active .card-quick {
  opacity: 1;
  transform: translateY(0);
}

.card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; flex: 1; }

.card-title {
  font-size: 13.5px; font-weight: 500;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-subline { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.card-category { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stock-dot { font-size: 10px; color: var(--text-dim); white-space: nowrap; flex-shrink: 0; }
.stock-dot.in { color: var(--success); }
.stock-dot.out { color: var(--danger); }

.card-price {
  margin-top: 8px;
  display: flex; align-items: baseline; gap: 8px;
  flex-wrap: wrap;
}
.price-now { font-size: 18px; font-weight: 700; color: var(--gold-light); font-family: var(--font-sans); letter-spacing: 0.2px; }
.price-was { font-size: 12.5px; color: var(--text-dim); text-decoration: line-through; opacity: 0.75; font-weight: 500; }
.price-off { font-size: 11px; color: #22c55e; font-weight: 700; background: rgba(34,197,94,0.12); padding: 1px 6px; border-radius: 4px; }

.card-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-add, .card-buy {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 8px;
}

/* ============ LOAD STATE ============ */
.load-state { text-align: center; padding: 60px 0; color: var(--text-muted); }
.spinner {
  width: 40px; height: 40px;
  margin: 0 auto 16px;
  border: 2px solid rgba(201,162,39,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ BRAND STRIP ============ */
.brand-strip {
  background: linear-gradient(90deg, #0d0d0f, #14141a, #0d0d0f);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 24px;
}
.strip-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.strip-item { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 13px; letter-spacing: 1px; }
.strip-item svg { width: 20px; height: 20px; color: var(--gold); }

/* ============ ABOUT ============ */
.about {
  position: relative;
  background: linear-gradient(180deg, var(--charcoal) 0%, #0d0e13 100%);
  overflow: hidden;
  isolation: isolate;
  padding: 90px 24px;
}
.about-bg-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #000;
  pointer-events: none;
}
.about-grid {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.about-grid.text-align-left { text-align: left; }
.about-grid.text-align-left .section-eyebrow,
.about-grid.text-align-left .section-title,
.about-grid.text-align-left p { text-align: left; }
.about-grid.text-align-left .about-stats-grid { justify-content: flex-start; }
.about-grid.text-align-left .about-btn-wrap { justify-content: flex-start; text-align: left; }

.about-grid.text-align-center { text-align: center; }
.about-grid.text-align-center .section-eyebrow,
.about-grid.text-align-center .section-title,
.about-grid.text-align-center p { text-align: center; }
.about-grid.text-align-center .about-stats-grid { justify-content: center; }
.about-grid.text-align-center .about-btn-wrap { justify-content: center; text-align: center; }

.about-grid.text-align-right { text-align: right; }
.about-grid.text-align-right .section-eyebrow,
.about-grid.text-align-right .section-title,
.about-grid.text-align-right p { text-align: right; }
.about-grid.text-align-right .about-stats-grid { justify-content: flex-end; }
.about-grid.text-align-right .about-btn-wrap { justify-content: flex-end; text-align: right; }

.about-content .section-eyebrow { text-transform: uppercase; letter-spacing: 2px; color: var(--gold-light); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.about-content .section-title { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 42px); color: #fff; margin-bottom: 22px; line-height: 1.25; }
.about-content p { color: rgba(255,255,255,0.88); font-weight: 300; font-size: 15.5px; line-height: 1.7; margin-bottom: 16px; }

.about-btn-wrap { margin-top: 24px; margin-bottom: 36px; display: flex; }
.about-cta-btn { padding: 12px 32px; font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; border-radius: 4px; box-shadow: 0 4px 20px rgba(201,162,39,0.25); transition: transform 0.3s ease, box-shadow 0.3s ease; text-decoration: none; }
.about-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(201,162,39,0.4); }

.about-stats { margin-top: 36px; }
.about-stats-grid { display: grid; gap: 20px; }
.about-stats-grid.count-4 { grid-template-columns: repeat(4, 1fr); }
.about-stats-grid.count-3 { grid-template-columns: repeat(3, 1fr); }
.about-stats-grid.count-2 { grid-template-columns: repeat(2, 1fr); }
.about-stats-grid.count-1 { grid-template-columns: 1fr; }

.about .stat {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 191, 36, 0.18);
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
}
.about .stat:hover {
  background: rgba(201, 162, 39, 0.12);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.stat strong { font-family: var(--font-serif); font-size: clamp(26px, 3.5vw, 36px); color: var(--gold-light); font-weight: 700; line-height: 1.1; margin-bottom: 4px; }
.stat span { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.75); font-weight: 500; }

@media (max-width: 900px) {
  .about-stats-grid.count-4,
  .about-stats-grid.count-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 600px) {
  .about-stats-grid.count-4,
  .about-stats-grid.count-3,
  .about-stats-grid.count-2 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .about .stat { padding: 14px 10px; }
  .stat strong { font-size: 22px; }
  .stat span { font-size: 10px; letter-spacing: 0.8px; }
}

/* ============ CONTACT ============ */
.contact { background: var(--charcoal-2); }
.contact-inner { max-width: 640px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.field input, .field textarea, .field select {
  background: var(--charcoal-3);
  border: 1px solid rgba(201,162,39,0.16);
  border-radius: 8px;
  color: var(--text);
  padding: 13px 15px;
  font-family: inherit; font-size: 14px;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
  width: 100%;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9a227' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
  cursor: pointer;
}
.field select option {
  background: #141416;
  color: var(--text);
  padding: 10px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}
.form-status { font-size: 13px; color: var(--success); min-height: 20px; }

/* ============ FOOTER ============ */
.footer { background: #080808; border-top: 1px solid var(--border); padding: 44px 24px 0; }
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 30px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { height: 42px; }
.footer-tagline { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); font-size: 13px; letter-spacing: 1px; transition: color 0.25s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact p { color: var(--text-muted); font-size: 13px; margin-bottom: 8px; }
.footer-contact a { color: var(--text-muted); text-decoration: none; transition: color 0.25s; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-social-label { margin-top: 14px; font-size: 12px !important; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted) !important; font-weight: 500; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: #111;
  color: var(--text-muted); transition: all 0.25s;
}
.footer-social a svg { width: 16px; height: 16px; fill: currentColor; }
.footer-social a:hover { color: var(--gold-light); border-color: var(--gold); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(201,162,39,0.1); text-align: center; padding: 16px 24px; }
.footer-bottom p { font-size: 12px; color: var(--text-muted); }

/* ============ BOTTOM NAV (mobile / tablet) ============ */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(201,162,39,0.14);
  display: none;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}

.bottom-nav-item {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  height: 100%;
  background: none; border: none;
  color: var(--text-muted);
  font-size: 9.5px; letter-spacing: 0.5px;
  transition: color 0.25s;
}
.bottom-nav-item svg { width: 23px; height: 23px; transition: transform 0.25s, color 0.25s; }
.bottom-nav-item span { font-weight: 500; }
.bottom-nav-item.active, .bottom-nav-item:hover { color: var(--gold-light); }
.bottom-nav-item.active svg { transform: translateY(-2px); }

.bottom-cart-inner { position: relative; display: grid; place-items: center; }
.bottom-cart-count {
  position: absolute; top: -6px; right: -14px;
  transform: none;
}

/* Center FAB-style cart */
.bottom-cart { position: relative; }
.bottom-cart::before {
  content: "";
  position: absolute; top: -14px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: 0 8px 24px rgba(201,162,39,0.4);
  border: 4px solid var(--charcoal);
  z-index: -1;
}
.bottom-cart svg { width: 24px; height: 24px; color: #1a1200; }
.bottom-cart > span:last-child {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.3px;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 1px 7px;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.25);
  margin-top: 1px;
  display: inline-block;
  line-height: 1.2;
}
.bottom-cart .bottom-cart-count {
  background: #000;
  color: var(--gold-light);
  border: 1px solid rgba(201,162,39,0.5);
}

/* ============ FAB CONTACT ============ */
.fab {
  position: fixed;
  right: 22px;
  bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 20px);
  z-index: 130;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
@media (min-width: 821px) {
  .fab { bottom: 28px; right: 26px; }
  /* Keep slider arrows clear of the FAB on desktop */
  .hero-nav { left: 26px; right: auto; }
}

.fab-menu {
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.fab.open .fab-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.fab-item {
  position: relative;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.45);
  transition: transform 0.2s ease;
  animation: fadeIn 0.3s ease;
}
.fab-item:hover { transform: scale(1.12); }
.fab-item svg { width: 24px; height: 24px; }
.fab-item span {
  position: absolute; right: 62px;
  white-space: nowrap;
  background: rgba(10,10,10,0.9);
  border: 1px solid rgba(201,162,39,0.3);
  color: var(--text);
  font-size: 11px; letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0; transform: translateX(6px);
  transition: all 0.25s ease;
  pointer-events: none;
}
.fab-item:hover span { opacity: 1; transform: translateX(0); }

.fab-whatsapp   { background: linear-gradient(135deg, #25d366, #128c7e); }
.fab-messenger  { background: linear-gradient(135deg, #00b2ff, #006aff); }
.fab-email,
.fab-bot,
.fab-chat      { background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: #fff; }
.fab-phone      { background: linear-gradient(135deg, #34c0d0, #1b7f8b); }

.fab-main {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--grad-gold);
  color: #1a1200;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(201,162,39,0.45);
  position: relative;
  transition: transform 0.25s ease;
}
.fab-main:hover { transform: scale(1.08); }
.fab-main:active { transform: scale(0.96); }
.fab-main svg { width: 26px; height: 26px; position: absolute; transition: opacity 0.25s ease, transform 0.25s ease; }
.fab-icon-close { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.fab.open .fab-icon-chat { opacity: 0; transform: rotate(90deg) scale(0.5); }
.fab.open .fab-icon-close { opacity: 1; transform: rotate(0) scale(1); }

.fab-main::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.35);
  animation: fabRing 2.4s ease-out infinite;
}
@keyframes fabRing {
  0% { transform: scale(1); opacity: 0.8; }  100% { transform: scale(1.35); opacity: 0; }
}
.fab.open .fab-main::after { display: none; }

/* Scroll lock: keeps page position when modals/drawers open.
   Uses overflow:hidden on html instead of position:fixed to avoid
   interfering with body padding-top (which equals the fixed header height). */
body.scroll-lock { overflow: hidden; }

/* ============ MODAL ============ */
.modal {
  position: fixed; inset: 0; z-index: 10050;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 1; }

.modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%; max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--charcoal-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s ease;
}
.modal.open .modal-dialog { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute; top: 12px; right: 14px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  font-size: 19px; line-height: 1;
  border-radius: 50%;
  transition: all 0.25s;
  z-index: 5;
}
.modal-close:hover { background: var(--gold); color: #000; border-color: var(--gold); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.pd-media { background: #0e0e12; position: relative; min-height: 380px; }
.pd-img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.pd-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--grad-gold); color: #1a1200;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 4px;
}
.pd-info { padding: 44px 38px; }
.pd-category { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.pd-title { font-family: var(--font-serif); font-size: 32px; font-weight: 600; margin: 10px 0 6px; line-height: 1.15; }
.pd-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13px; color: var(--text-muted); }
.pd-desc { color: var(--text-muted); font-weight: 300; font-size: 14.5px; margin-bottom: 22px; }
.pd-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.pd-price .price-now { font-size: 34px; }
.pd-price .price-was { font-size: 16px; }

.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.qty-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-btn {
  width: 40px; height: 40px;
  background: var(--charcoal-3); border: none; color: var(--gold-light);
  font-size: 18px;
  transition: background 0.2s;
}
.qty-btn:hover { background: rgba(201,162,39,0.15); }
.qty-val { width: 52px; text-align: center; font-weight: 600; font-size: 16px; background: transparent; border: none; color: var(--text); }

.pd-meta { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-dim); display: flex; flex-direction: column; gap: 6px; }
.pd-meta b { color: var(--text-muted); font-weight: 600; }

/* ============ CART DRAWER (Full-Height Top Overlay) ============ */
.drawer { position: fixed; inset: 0; z-index: 10000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.drawer.open { opacity: 1; visibility: visible; }
.drawer-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.drawer-panel {
  position: fixed; top: 0; right: 0; bottom: 0; height: 100%; height: 100dvh;
  width: 100%; max-width: 440px;
  background: var(--charcoal-2);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -12px 0 40px rgba(0,0,0,0.75);
}
.drawer.open .drawer-panel { transform: translateX(0); }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}
.drawer-head h3 { font-family: var(--font-serif); font-size: 21px; letter-spacing: 2px; }

.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }

.cart-empty { text-align: center; color: var(--text-dim); padding: 50px 0; }
.cart-empty svg { width: 54px; height: 54px; margin: 0 auto 16px; opacity: 0.4; }
.cart-empty p { font-size: 14px; }

.cart-item {
  display: flex; gap: 14px;
  padding: 12px;
  background: var(--charcoal-3);
  border: 1px solid rgba(201,162,39,0.12);
  border-radius: 12px;
  animation: fadeIn 0.3s ease;
}
.cart-item-img { width: 70px; height: 70px; border-radius: 8px; object-fit: cover; background: #0e0e12; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-size: 13px; font-weight: 500; line-height: 1.3; }
.cart-item-price { color: var(--gold-light); font-weight: 600; font-size: 13.5px; margin-top: 4px; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.cart-qty-btn {
  width: 26px; height: 26px;
  background: rgba(201,162,39,0.1);
  border: 1px solid var(--border);
  color: var(--gold-light);
  border-radius: 6px;
  font-size: 14px; line-height: 1;
  transition: background 0.2s;
}
.cart-qty-btn:hover { background: rgba(201,162,39,0.25); }
.cart-item-qty { font-size: 13px; min-width: 22px; text-align: center; }
.cart-remove {
  background: none; border: none;
  color: var(--text-dim); font-size: 12px;
  text-decoration: underline; letter-spacing: 0.5px;
  transition: color 0.2s;
}
.cart-remove:hover { color: var(--danger); }

.drawer-foot {
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  background: #0e0e12;
  display: flex; flex-direction: column; gap: 14px;
  padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
}
.cart-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.cart-total strong { font-family: var(--font-sans); font-weight: 700; font-size: 24px; color: var(--gold-light); }

/* ============ CHECKOUT ============ */
.checkout-dialog { max-width: 720px; }
.checkout-inner { padding: 38px; }
.checkout-inner h3 { font-family: var(--font-serif); font-size: 28px; letter-spacing: 1px; margin-bottom: 6px; }
.checkout-sub { color: var(--text-muted); font-size: 13.5px; margin-bottom: 24px; }

.checkout-items { margin-bottom: 22px; }
.co-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(201,162,39,0.15); font-size: 13.5px; }
.co-item span:last-child { color: var(--gold-light); font-weight: 600; }

.checkout-form { display: flex; flex-direction: column; gap: 16px; }
.co-summary {
  margin-top: 10px; padding: 18px;
  background: rgba(201,162,39,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 10px;
}
.co-summary .row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-muted); }
.co-summary .row.total { border-top: 1px solid var(--border); padding-top: 12px; color: var(--text); font-weight: 700; }
.co-summary .row.total strong { color: var(--gold-light); font-size: 22px; font-family: var(--font-sans); font-weight: 700; }

/* Sleek compact checkout coupon row */
.co-coupon-box {
  margin-top: 4px;
}
.co-coupon-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--charcoal-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.co-coupon-input-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,162,39,0.12);
}
.co-coupon-icon {
  position: absolute;
  left: 12px;
  color: var(--gold-light);
  pointer-events: none;
}
.co-coupon-input-wrap input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px 8px 34px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.co-coupon-input-wrap input:focus {
  outline: none;
}
.co-coupon-input-wrap input::placeholder {
  text-transform: none;
  color: var(--text-dim);
  font-size: 11.5px;
  letter-spacing: normal;
}
.co-coupon-btn {
  padding: 0 14px;
  align-self: stretch;
  background: var(--grad-gold);
  border: none;
  color: #1a1200;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.co-coupon-btn:hover {
  opacity: 0.9;
}
.co-coupon-status {
  font-size: 11.5px;
  margin-top: 5px;
  padding-left: 2px;
}

.checkout-success { text-align: center; padding: 50px 20px; }
.checkout-success svg { width: 74px; height: 74px; color: var(--success); margin: 0 auto 18px; }
.checkout-success h3 { font-family: var(--font-serif); font-size: 28px; margin-bottom: 10px; }
.checkout-success p { color: var(--text-muted); font-size: 14px; margin-bottom: 6px; }
.checkout-success .order-id { color: var(--gold); font-family: var(--font-sans); font-weight: 700; font-size: 19px; letter-spacing: 1px; }

/* ============ TOAST ============ */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bottom-nav-h) + 26px);
  transform: translateX(-50%) translateY(80px);
  z-index: 400;
  background: var(--charcoal-3);
  border: 1px solid rgba(201,162,39,0.35);
  color: var(--text);
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transition: all 0.35s ease;
  max-width: calc(100vw - 48px);
  text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { border-color: rgba(45,156,107,0.6); }
.toast.error { border-color: rgba(192,57,43,0.6); }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .about-grid { gap: 44px; }
}

/* Tablet & mobile: show bottom nav, hide desktop menu, compact cards */
@media (max-width: 820px) {
  .bottom-nav { display: grid; }
  body { padding-bottom: 0; }

  .shop, .about, .contact { padding: 48px 20px; }
  .section-head { margin-bottom: 30px; }

  /* Header nav actions: keep language switcher visible on tablet/mobile header */
  .nav-actions .lang-switch--nav { display: inline-flex !important; }
  .nav-actions #cartBtn { display: none; }

  /* Fully opaque navbar on mobile (backdrop-filter is unreliable in mobile browsers) */
  .navbar, .navbar.scrolled { background: rgba(10, 10, 10, 0.97); }

  .nav-link { font-size: 15px; }
  .nav-lang { display: flex; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 4px; }
  .product-detail { grid-template-columns: 1fr; }
  .pd-info { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .checkout-inner { padding: 26px 20px; }

  /* Full-screen dialog on mobile (No bottom sheet effect) */
  .modal { padding: 0; align-items: stretch; justify-content: center; }
  .modal-dialog {
    width: 100% !important; max-width: 100% !important;
    height: 100% !important; height: 100dvh !important;
    max-height: 100% !important; max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    transform: scale(0.96);
  }
  .modal.open .modal-dialog { transform: scale(1); }
  .modal-close { top: 12px; right: 14px; width: 36px; height: 36px; z-index: 10; }
  .checkout-inner { padding: 24px 18px 30px; }

  /* Specific mobile thumb-friendly positioning for Track Order, Logout & Phone Modals (Not full screen; floating card near bottom) */
  #trackModal,
  #trackDetailModal,
  #logoutModal,
  #phoneModal {
    padding: 16px;
    align-items: flex-end;
    justify-content: center;
  }
  #trackModal .modal-dialog,
  #trackDetailModal .modal-dialog,
  #logoutModal .modal-dialog,
  #phoneModal .modal-dialog,
  .track-dialog,
  .logout-dialog,
  .phone-dialog {
    width: 100% !important;
    max-width: 440px !important;
    height: auto !important;
    max-height: 85vh !important;
    border-radius: 20px !important;
    border: 1px solid var(--border) !important;
    margin-bottom: calc(var(--bottom-nav-h, 60px) + env(safe-area-inset-bottom, 0px) + 12px) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.85) !important;
    transform: translateY(20px) scale(0.96) !important;
  }
  #trackModal.open .modal-dialog,
  #trackDetailModal.open .modal-dialog,
  #logoutModal.open .modal-dialog,
  #phoneModal.open .modal-dialog {
    transform: translateY(0) scale(1) !important;
  }

  /* Full-width full-height cart drawer on mobile (No bottom sheet effect) */
  .drawer-panel {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    border-left: none !important;
  }
}

/* Phone */
@media (max-width: 600px) {
  /* Profile button hidden in top header ONLY on mobile screen (stays visible on tablet) */
  .nav-actions #signInBtn { display: none !important; }
}

@media (max-width: 520px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .shop, .about, .contact { padding: 64px 14px; }
  .brand-strip { padding: 18px 14px; }
  .strip-inner { justify-content: center; gap: 14px; }
  .strip-item { font-size: 11px; }
  .strip-item svg { width: 17px; height: 17px; }

  .hero-content { padding: 90px 18px 80px; }
  .hero-cta .btn { width: 100%; }
  /* Mobile: arrows at vertical middle — left & right sides; no dots on mobile */
  .hero-nav {
    top: 50%; bottom: auto; left: 0; right: 0;
    transform: translateY(-50%);
    justify-content: space-between;
    padding: 0 12px;
    gap: 0;
  }
  .hero-dots { display: none; }

  /* Compact FAB on phones */
  .fab { right: 16px; bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 14px); gap: 10px; }
  .fab-main { width: 52px; height: 52px; }
  .fab-main svg { width: 22px; height: 22px; }
  .fab-item { width: 44px; height: 44px; }
  .fab-item svg { width: 20px; height: 20px; }
  .fab-item span { right: 54px; font-size: 10px; padding: 5px 10px; }
  .fab-menu { gap: 10px; }

  /* Compact product cards — no tall cards on phone */
  .card-body { padding: 10px 10px 12px; }
  .card-title { font-size: 12px; min-height: 2.4em; -webkit-line-clamp: 2; line-height: 1.25; }
  .card-subline { margin-top: 5px; }
  .stock-dot { font-size: 9.5px; }
  .card-price { margin-top: 7px; }
  .price-now { font-size: 15px; }
  .price-was { font-size: 10.5px; }
  .card-actions { margin-top: 8px; gap: 5px; }
  .card-add, .card-buy { padding: 8px 3px; font-size: 10px; letter-spacing: 0px; }
  .btn-outline { padding: 8px 10px; font-size: 10px; letter-spacing: 1.2px; }

  .pd-title { font-size: 26px; }
  .pd-info { padding: 24px 18px 30px; }
  .pd-media, .pd-img { min-height: 300px; }

  .filter-pill { padding: 9px 20px; font-size: 11px; }
  .section-head { margin-bottom: 38px; }

  .toast { bottom: calc(var(--bottom-nav-h) + 18px); font-size: 13px; padding: 12px 18px; }
}

@media (max-width: 360px) {
  .price-off { display: none; }
  .card-title { -webkit-line-clamp: 1; }
}

/* ============================================================
   ORL-R2 — Fashion e-commerce additions
   (announcement bar, mega menu, category grid, homepage
   sections, product-detail options/gallery, related products)
   ============================================================ */

.announce[hidden] { display: none !important; }
.announce {
  position: relative;
  width: 100%;
  height: 34px;
  background: var(--grad-gold);
  color: #1a1200;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 46px;
  white-space: nowrap;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
}
/* Scroll-hide: collapse announce bar height when user scrolls down */
.announce.scrolled-out {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}
.announce-close {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; color: inherit;
  font-size: 19px; line-height: 1; padding: 4px 6px;
  opacity: 0.65; transition: opacity 0.2s;
}
.announce-close:hover { opacity: 1; }

/* Announcement carousel arrows (‹ ›) */
.announce-arrow {
  background: none; border: none; color: inherit;
  font-size: 20px; line-height: 1; padding: 4px 8px;
  opacity: 0.65; cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.announce-arrow:hover { opacity: 1; }
.announce-arrow[hidden] { display: none; }

/* Announcement carousel track & slides */
.announce-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  min-width: 0;
}
.announce-slide {
  position: absolute;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.announce-slide.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile category list (accordion) — hidden on desktop */
.mobile-cat { display: none; }

/* Mobile category list (accordion) — hidden on desktop */
.mobile-cat { display: none; }

/* ---------- Category showcase ---------- */
.categories { padding: 90px 24px 10px; }
.category-grid {
  max-width: 1240px; margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.cat-card {
  width: calc(25% - 13.5px);
  max-width: 290px;
  min-width: 220px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 0 0 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit; color: inherit; text-align: center;
}

/* When total categories > 4 (e.g. 5, 6, 7 items), switch to 4-column Grid so 5th item aligns to the left on row 2 */
.category-grid:has(.cat-card:nth-child(5)),
.category-grid.has-many {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.category-grid:has(.cat-card:nth-child(5)) .cat-card,
.category-grid.has-many .cat-card {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.cat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: var(--shadow-card);
}
.cat-card-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0e0e12;
}
.cat-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-card:hover .cat-card-img { transform: scale(1.06); }
.cat-card-name { font-family: var(--font-serif); font-size: 18px; letter-spacing: 1px; color: var(--text); }
.cat-card-count { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); }

.category-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.cat-more-btn {
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 999px;
  padding: 12px 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.cat-more-btn:hover {
  background: rgba(201, 162, 39, 0.1);
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- Homepage featured sections ---------- */
.featured-sec { padding: 0 24px 90px; }
.sale-sec .section-eyebrow { color: var(--danger); }

/* ---------- Flash sale countdown ---------- */
.sale-timer {
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  margin: 22px auto 0;
}
.sale-timer[hidden] { display: none; }
.sale-timer-label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-dim);
}
.sale-timer-units {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 14px;
  padding: 12px 20px;
}
.st-unit {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 52px;
}
.st-unit b {
  font-family: var(--font-serif);
  font-size: 30px; line-height: 1; font-weight: 600;
  color: var(--gold-light);
}
.st-unit i { font-style: normal; font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); }
.st-colon { font-family: var(--font-serif); font-size: 26px; color: var(--gold); }

@media (max-width: 520px) {
  .sale-timer-units { gap: 7px; padding: 10px 12px; }
  .st-unit { min-width: 44px; }
  .st-unit b { font-size: 24px; }
  .st-colon { font-size: 20px; }
}

/* ---------- Product card variants (swatches + sizes) ---------- */
.card-variants { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.card-swatches { display: flex; gap: 5px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); display: inline-block; }
.card-sizes { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.card-sizes i {
  font-style: normal;
  font-size: 9.5px; font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 1px 5px; border-radius: 4px;
}

/* ---------- Product detail: gallery + options ---------- */
.product-detail { display: block; }
.pd-media {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 0;
}
.pd-gallery { min-width: 0; background: #0e0e12; }
.pd-main { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.pd-img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.pd-sale {
  position: absolute; top: 14px; right: 14px;
  background: var(--danger); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 4px;
  z-index: 2;
}
.pd-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.pd-thumb {
  width: 62px; height: 62px; flex: 0 0 auto;
  border-radius: 8px; object-fit: cover;
  border: 1px solid var(--border);
  opacity: 0.55; cursor: pointer;
  transition: opacity 0.2s, border-color 0.2s;
}
.pd-thumb:hover { opacity: 0.85; }
.pd-thumb.active { opacity: 1; border-color: var(--gold); }
.pd-info { padding: 44px 38px; }

.pd-option { margin-bottom: 22px; }
.pd-opt-label {
  display: block;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 10px;
}
.pd-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-opt-btn {
  min-width: 46px; height: 40px; padding: 0 14px;
  background: var(--charcoal-3);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px; font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
}
.pd-opt-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.pd-opt-btn.active { background: var(--grad-gold); color: #1a1200; border-color: transparent; }
.pd-colors { gap: 10px; }
.pd-color-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.pd-color-btn:hover { transform: scale(1.12); }
.pd-color-btn.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--charcoal-2), 0 0 0 4px var(--gold);
}

/* ---------- Related products ---------- */
.pd-related { border-top: 1px solid var(--border); padding: 30px 38px 38px; }
.pd-related h3 { font-family: var(--font-serif); font-size: 22px; letter-spacing: 1px; margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.related-card {
  background: none; border: none; padding: 0;
  text-align: left; cursor: pointer;
}
.related-img { display: block; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: #0e0e12; margin-bottom: 8px; }
.related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.related-card:hover .related-img img { transform: scale(1.05); }
.related-name { display: block; font-size: 12.5px; line-height: 1.35; min-height: 2.6em; color: var(--text); }
.related-price { display: block; color: var(--gold-light); font-weight: 600; font-size: 13px; margin-top: 4px; }

/* ---------- Cart item variant ---------- */
.cart-item-variant { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

/* ---------- Responsive additions ---------- */
@media (max-width: 1100px) {
  .category-grid { gap: 14px; }
  .category-grid:has(.cat-card:nth-child(5)),
  .category-grid.has-many { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .announce { height: 28px; font-size: 10px; letter-spacing: 0.8px; }

  /* Mobile menu: absolute panel below the sticky navbar */
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
    padding: 18px 26px 22px;
    gap: 16px;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    z-index: 99;
    max-height: calc(100vh - var(--topbar-h) - env(safe-area-inset-top, 0px));
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }

  /* Hide mega menu on mobile; use the accordion instead */
  .drop-panel { display: none; }
  .mobile-cat { display: block; margin-top: 4px; }

  .categories { padding: 60px 14px 0; }
  .featured-sec { padding: 0 14px 60px; }
  .category-grid,
  .category-grid:has(.cat-card:nth-child(5)),
  .category-grid.has-many {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .category-grid .cat-card,
  .category-grid:has(.cat-card:nth-child(5)) .cat-card,
  .category-grid.has-many .cat-card {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  .pd-media { grid-template-columns: 1fr; }
  .pd-thumbs { padding: 8px; }
  .pd-thumb { width: 56px; height: 56px; }
}

@media (max-width: 520px) {
  .category-grid,
  .category-grid:has(.cat-card:nth-child(5)),
  .category-grid.has-many {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cat-card { padding: 0 0 14px; }
  .cat-card-name { font-size: 14px; }
  .cat-card-count { font-size: 9px; }
  .pd-related { padding: 24px 18px 30px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pd-opt-btn { min-width: 42px; height: 38px; padding: 0 12px; }
  .card-swatches .swatch { width: 14px; height: 14px; }
}

/* ============ ACCOUNT (nav / mobile) ============ */
.account-badge {
  position: absolute; bottom: -2px; right: -2px;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  background: var(--grad-gold); color: #1a1200;
  font-size: 10px; font-weight: 700;
  border-radius: 50%;
  border: 2px solid var(--charcoal);
}

.m-account-btn {
  display: none;
  align-items: center; gap: 12px;
  width: 100%;
  padding: 13px 14px;
  background: var(--charcoal-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 13.5px;
  text-align: left;
  position: relative;
}
.m-account-btn svg { width: 20px; height: 20px; color: var(--gold-light); flex-shrink: 0; }
.m-account-badge {
  position: absolute; top: 8px; right: 12px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--grad-gold); color: #1a1200;
  font-size: 11px; font-weight: 700;
  border-radius: 50%;
}
@media (max-width: 820px) { .m-account-btn { display: flex; } }

/* ============ CART DRAWER AUTH ============ */
.drawer-auth { display: flex; flex-direction: column; gap: 4px; }
.auth-link {
  display: flex; align-items: center; gap: 9px;
  background: none; border: none;
  color: var(--text-muted);
  font-size: 12px;
  padding: 7px 2px;
  text-align: left;
  transition: color 0.2s;
}
.auth-link svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
.auth-link:hover { color: var(--gold-light); }
.auth-link[hidden] { display: none; }

/* ============ AUTH MODAL ============ */
.auth-dialog { max-width: 430px; }
.auth-inner { padding: 36px 34px; }
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 20px; }
.auth-brand .brand-mark { width: 46px; height: 46px; font-size: 24px; }
.auth-brand h3 { font-family: var(--font-serif); font-size: 26px; letter-spacing: 1px; }
.auth-sub { color: var(--text-muted); font-size: 12.5px; text-align: center; }

.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--charcoal-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}
.auth-tab {
  padding: 10px;
  background: none; border: none;
  color: var(--text-muted);
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: 8px;
  transition: all 0.25s;
}
.auth-tab.active { background: var(--grad-gold); color: #1a1200; }

.auth-form { display: flex; flex-direction: column; gap: 15px; margin-top: 18px; }
.auth-form .form-status { margin-top: 2px; }

.auth-sep { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--text-dim); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.auth-sep::before, .auth-sep::after { content: ""; flex: 1; height: 1px; background: rgba(201,162,39,0.18); }

.btn-google {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 600;
  padding: 12px 18px;
}
.btn-google:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.35); }

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0 12px; color: var(--text-dim);
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: rgba(201,162,39,0.15);
}

.auth-guest {
  background: none; border: none;
  color: var(--gold-light);
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-top: 4px;
  width: 100%; text-align: center; padding: 8px;
  transition: color 0.2s;
  cursor: pointer;
}
.auth-guest:hover { color: var(--gold); }
.auth-hint { text-align: center; color: var(--text-dim); font-size: 11.5px; margin-top: 4px; }

.auth-trust {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px dashed rgba(201,162,39,0.15);
  color: var(--text-muted); font-size: 11px; text-align: center;
}
.auth-trust svg { color: var(--gold); }

/* ============ PHONE MODAL ============ */
.phone-dialog { max-width: 400px; }
.phone-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.phone-input-icon {
  position: absolute;
  left: 14px;
  color: var(--gold-light);
  pointer-events: none;
}
.phone-input-wrap input {
  width: 100%;
  padding: 13px 14px 13px 42px;
  background: var(--charcoal-3);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-sans);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.phone-input-wrap input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
  outline: none;
}
.phone-input-wrap input::placeholder { color: var(--text-dim); }


/* ============ CHECKOUT AUTH LINE ============ */
.checkout-auth {
  margin-bottom: 20px; padding: 12px 14px;
  background: var(--charcoal-3);
  border: 1px dashed var(--border);
  border-radius: 10px;
}
.co-auth-in { color: var(--success); font-size: 12.5px; }
.co-auth-link {
  background: none; border: none;
  color: var(--gold-light);
  font-size: 12.5px; letter-spacing: 0.5px;
  padding: 0;
  text-decoration: underline; text-underline-offset: 3px;
}
.co-auth-link:hover { color: var(--gold); }

/* ============ MY ORDERS MODAL ============ */
.orders-dialog { max-width: 560px; }
.orders-head { padding: 26px 26px 0; }
.orders-head h3 { font-family: var(--font-serif); font-size: 26px; letter-spacing: 1px; }
.orders-sub { color: var(--text-muted); font-size: 12.5px; margin-top: 4px; }

.orders-account {
  margin: 18px 26px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px;
  background: var(--charcoal-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
}
.orders-account > span { color: var(--gold-light); font-weight: 600; }
.orders-account .co-auth-link { font-size: 12px; }
.orders-signout { background: none; border: none; color: var(--text-dim); font-size: 11.5px; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.orders-signout:hover { color: var(--danger); }

.orders-loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 50px 0; color: var(--text-muted); font-size: 13px; }
.orders-empty { text-align: center; padding: 44px 26px; }
.orders-empty svg { width: 52px; height: 52px; margin: 0 auto 16px; opacity: 0.4; }
.orders-empty p { color: var(--text-muted); }
.orders-empty-hint { display: block; color: var(--text-dim); font-size: 12px; margin: 6px 0 22px; }

.orders-list { padding: 10px 16px 16px; display: flex; flex-direction: column; gap: 16px; }

/* Order card — redesigned */
.order-card {
  background: var(--charcoal-3);
  border: 1px solid rgba(201,162,39,0.18);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.order-card:hover { border-color: rgba(201,162,39,0.36); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

.order-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px 10px;
}
.order-head-left { display: flex; flex-direction: column; gap: 2px; }
.order-id { font-family: var(--font-sans); font-weight: 600; font-size: 13.5px; letter-spacing: 0.5px; color: var(--gold-light); }
.order-date { font-size: 11px; color: var(--text-dim); }
.order-status {
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; border: 1px solid; white-space: nowrap;
}
.st-pending   { color: #e8c55a; border-color: rgba(232,197,90,0.35); background: rgba(232,197,90,0.07); }
.st-confirmed { color: #7fb2e5; border-color: rgba(127,178,229,0.35); background: rgba(127,178,229,0.07); }
.st-processing{ color: #7fb2e5; border-color: rgba(127,178,229,0.35); background: rgba(127,178,229,0.07); }
.st-shipped   { color: #c78a7a; border-color: rgba(199,138,122,0.35); background: rgba(199,138,122,0.07); }
.st-delivered { color: var(--success); border-color: rgba(45,156,107,0.35); background: rgba(45,156,107,0.07); }
.st-cancelled { color: var(--danger); border-color: rgba(192,57,43,0.35); background: rgba(192,57,43,0.07); }

/* Product thumbnail items */
.oc-items {
  list-style: none;
  padding: 0 16px 10px;
  display: flex; flex-direction: column; gap: 10px;
  border-top: 1px dashed rgba(201,162,39,0.14);
  padding-top: 10px;
  margin: 0 16px;
}
.oc-item { display: flex; align-items: center; gap: 10px; }
.oc-item-img {
  width: 44px; height: 44px;
  border-radius: 8px; object-fit: cover; flex-shrink: 0;
  background: var(--charcoal-3); border: 1px solid var(--border);
}
.oc-item-img-ph { background: linear-gradient(135deg,#1e1e26,#14141c); }
.oc-item-info { flex: 1; min-width: 0; }
.oc-item-title { display: block; font-size: 12.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-item-title small { color: var(--text-dim); }
.oc-item-qty { display: block; font-size: 11px; color: var(--text-dim); margin-top: 2px; }

/* Order footer */
.order-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  border-top: 1px solid rgba(201,162,39,0.13);
  background: rgba(201,162,39,0.04);
}
.order-items-count { font-size: 11px; color: var(--text-dim); }
.order-total-wrap { display: flex; align-items: baseline; gap: 8px; }
.order-total-lbl { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.order-total-amt { font-family: var(--font-sans); font-weight: 700; font-size: 17px; color: var(--gold-light); }

/* ============ ACCOUNT TABS ============ */
.acct-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--charcoal-3);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 4px;
  margin-bottom: 16px;
}
.acct-tab {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 12px;
  background: none; border: none;
  color: var(--text-muted); font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  border-radius: 9px; transition: all 0.2s; cursor: pointer;
}
.acct-tab.active { background: var(--grad-gold); color: #1a1200; }
.acct-tab svg { transition: none; }
.acct-tab-panel { animation: fadein 0.2s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* ============ COUPONS TAB ============ */
.acct-coupons-header { text-align: center; padding: 20px 0 16px; }
.acct-coupons-icon { font-size: 36px; margin-bottom: 8px; }
.acct-coupons-header h4 { font-family: var(--font-serif); font-size: 20px; margin: 0 0 4px; }
.acct-coupons-header p { font-size: 12px; color: var(--text-muted); margin: 0; }

.acct-coupons-list { display: flex; flex-direction: column; gap: 10px; }
.my-coupon-card {
  display: flex; align-items: stretch;
  background: var(--charcoal-3);
  border: 1.5px dashed var(--gold);
  border-radius: 12px; overflow: hidden;
  position: relative;
}
.my-coupon-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad-gold); border-radius: 12px 0 0 12px;
}
.mc-left { flex: 1; padding: 14px 14px 14px 18px; display: flex; flex-direction: column; gap: 3px; }
.mc-val { font-family: var(--font-sans); font-size: 20px; color: var(--gold-light); font-weight: 700; line-height: 1.1; }
.mc-code { font-size: 13px; color: var(--text); background: rgba(201,162,39,0.1); padding: 3px 8px; border-radius: 5px; letter-spacing: 1px; width: fit-content; }
.mc-name { font-size: 11.5px; color: var(--text-muted); }
.mc-exp { font-size: 10.5px; color: var(--text-dim); }
.mc-copy-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 14px 14px;
  background: rgba(201,162,39,0.06);
  border-left: 1px dashed rgba(201,162,39,0.3);
  color: var(--gold-light); font-size: 10px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; border-top: none; border-right: none; border-bottom: none;
  transition: background 0.2s;
}
.mc-copy-btn:hover { background: rgba(201,162,39,0.14); }

.coupon-empty { text-align: center; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.coupon-empty p { font-size: 14px; color: var(--text); margin: 0; }
.coupon-empty span { font-size: 12px; color: var(--text-muted); }

/* track dialog sizing */
.track-dialog { max-width: 420px; }


/* ============ FORM STATUS ERROR ============ */
.form-status.error { color: var(--danger); }

/* ============ ACCOUNT VIEW (app tab — profile + orders) ============ */
.app-view {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.32s ease, visibility 0.32s;
}
.app-view.open { transform: translateX(0); visibility: visible; }
body.acct-open .fab { display: none; }
.app-view-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  flex-shrink: 0;
}
.app-view-head h3 { font-family: var(--font-serif); font-size: 20px; letter-spacing: 1px; }
.app-view-head-spacer { width: 34px; }
.app-view-back {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--charcoal-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 20px; line-height: 1;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.app-view-back:hover { color: var(--gold-light); border-color: rgba(201, 162, 39, 0.4); }
.app-view-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }

.acct-inner { max-width: 640px; margin: 0 auto; padding: 22px 20px 24px; }

.acct-profile-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(201,162,39,0.08), rgba(20,20,20,0.95));
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 18px;
}
.acct-meta {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0; flex: 1;
}
.acct-meta strong {
  font-size: 15px; font-weight: 700;
  color: var(--text); line-height: 1.3;
  display: block; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.acct-meta span {
  font-size: 12px; color: var(--text-dim);
  display: block; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

.acct-guest-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px;
  background: var(--card-bg);
  border: 1px dashed var(--border);
  border-radius: 14px;
  margin-bottom: 18px;
}
.acct-guest-info strong { font-family: var(--font-serif); font-size: 19px; color: var(--text); display: block; margin-bottom: 4px; }
.acct-guest-info p { color: var(--text-muted); font-size: 12.5px; line-height: 1.5; }

/* Stats Summary Grid */
.acct-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-bottom: 18px;
}
.acct-stat-card {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.acct-stat-card svg { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }
.acct-stat-info { display: flex; flex-direction: column; }
.acct-stat-val { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.1; }
.acct-stat-lbl { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 3px; }

/* Phone Binding Form */
.acct-phone-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.acct-card-head {
  display: flex; align-items: center; gap: 8px;
  color: var(--gold-light); font-size: 13px; font-weight: 600;
  margin-bottom: 10px;
}
.acct-phone-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.acct-phone-info {
  display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0;
}
.acct-phone-info svg { flex-shrink: 0; color: var(--gold-light); }
.acct-phone-label {
  display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-dim); font-weight: 600; margin-bottom: 2px;
}
.acct-phone-val {
  display: block; font-size: 13.5px; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Secondary Cards (Quick Nav & Preferences) */
.acct-sec-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
}
.acct-sec-title {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--text-dim); margin-bottom: 12px; font-weight: 600;
}
.acct-menu-list { display: flex; flex-direction: column; gap: 6px; }
.acct-menu-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 12px 14px;
  background: var(--charcoal-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text); font-size: 13.5px; font-weight: 500;
  cursor: pointer; text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.acct-menu-item:hover { border-color: var(--gold); background: rgba(201,162,39,0.06); }
.acct-menu-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
/* arrow should NOT have margin-left:auto — badge pushes everything right */
.acct-menu-item .arrow { width: 16px; height: 16px; color: var(--text-dim); margin-left: 0; flex-shrink: 0; }
.acct-menu-item .acct-badge {
  background: rgba(201,162,39,0.15); color: var(--gold-light);
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px;
  margin-left: auto; /* pushes badge + arrow to right */ 
}

/* Logout button inside account profile card */
.acct-signout {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.4);
  border-radius: 8px;
  color: #ef4444;
  font-size: 12.5px; font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.acct-signout:hover { background: rgba(239,68,68,0.16); border-color: rgba(239,68,68,0.7); }
.acct-signout svg { width: 14px; height: 14px; flex-shrink: 0; }

.acct-lang-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.acct-lang-lbl {
  display: flex; align-items: center; gap: 8px;
  color: var(--text); font-size: 13.5px; font-weight: 500;
}
.acct-lang-lbl svg { color: var(--gold); }

.acct-sync-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(201,162,39,0.08), rgba(20,20,20,0.95));
  border: 1px solid rgba(201,162,39,0.22);
  border-radius: 14px;
  margin-bottom: 22px;
}
.acct-sync-info { flex: 1; min-width: 0; }
.acct-sync-info strong {
  color: var(--gold-light);
  font-size: 13.5px;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.acct-sync-info span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
  display: block;
}
#syncGoogleBtn {
  padding: 9px 16px;
  font-size: 12px;
  width: auto;
  flex-shrink: 0;
}

.acct-orders-sec { margin-top: 10px; }
.acct-orders-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(201,162,39,0.15);
}
.acct-orders-head h4 { font-family: var(--font-serif); font-size: 22px; letter-spacing: 1px; margin: 0; }
.acct-orders-head p { color: var(--text-muted); font-size: 12px; margin-top: 3px; }
.btn-track-sm {
  padding: 8px 16px;
  font-size: 12px;
  width: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .acct-sync-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
  }
  #syncGoogleBtn { width: 100%; justify-content: center; }
  .acct-orders-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .btn-track-sm { width: 100%; justify-content: center; }
}

/* ============ ORDER TRACKING ============ */
.track-sub { color: var(--text-muted); font-size: 13px; line-height: 1.6; margin-bottom: 18px; }
.track-form { margin-bottom: 8px; }
.track-result { margin-top: 18px; }
.track-msg {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--text-muted); font-size: 13px;
  padding: 22px 12px; text-align: center;
}
.track-msg.error { color: var(--danger); }
.track-msg .spinner { flex: none; }
.track-divider {
  display: block; text-align: center;
  color: var(--text-dim); font-size: 12px;
  margin: 18px 0 12px; letter-spacing: 1px;
}
.track-entry-sub { color: var(--text-muted); font-size: 12.5px; margin-bottom: 12px; }

/* ============ CHECKOUT PHONE & LOCATION AUTO-DETECT ============ */
.co-phone-wrap {
  display: flex;
  align-items: center;
  background: var(--charcoal-3);
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.co-phone-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}
.co-phone-wrap.invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
.co-phone-wrap.valid {
  border-color: #22c55e;
}
.co-phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(201, 162, 39, 0.16);
  color: var(--gold-light);
  font-size: 13.5px;
  font-weight: 600;
  height: 100%;
  align-self: stretch;
  user-select: none;
}
.co-phone-wrap input {
  flex: 1;
  min-width: 0;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 13px 14px;
  font-size: 14px;
  letter-spacing: 0.5px;
  border-radius: 0 !important;
}

.co-area-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(201, 162, 39, 0.03);
  border: 1px solid rgba(201, 162, 39, 0.12);
  border-radius: 10px;
  padding: 14px;
}
.co-area-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.co-area-title {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.co-auto-loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.co-auto-loc-btn:hover {
  background: rgba(201, 162, 39, 0.24);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}
.co-auto-loc-btn[disabled] {
  opacity: 0.65;
  cursor: default;
  transform: none;
}
.co-gps-icon {
  animation: gpsPulse 2s infinite ease-in-out;
}
@keyframes gpsPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.18); opacity: 1; color: var(--gold); }
}

.co-loc-btn {
  display: inline-flex; align-items: center; gap: 7px;
  align-self: flex-start;
  margin-top: 6px;
  background: none; border: none;
  color: var(--gold-light);
  font-size: 12px; font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.2s;
}
.co-loc-btn svg { width: 15px; height: 15px; }
.co-loc-btn:hover { color: var(--gold); }
.co-loc-btn[disabled] { opacity: 0.6; cursor: default; }

@media (max-width: 520px) {
  .auth-inner { padding: 28px 22px; }
  .orders-head { padding: 22px 20px 0; }
  .orders-account { margin: 14px 20px 0; }
  .orders-list { padding: 4px 0 10px; }
}

/* ============================================================
   Search overlay (header live search)
   ============================================================ */
.search-overlay {
  position: fixed; inset: 0; z-index: 140; display: none;
  align-items: flex-start; justify-content: center;
  background: rgba(10,10,10,0.72); backdrop-filter: blur(4px);
  padding: 5vh 16px 16px;
}
.search-overlay.open { display: flex; animation: fadeIn .18s ease; }
.search-panel {
  width: 100%; max-width: 620px; background: #14141a;
  border: 1px solid rgba(201,162,39,.25); border-radius: 18px;
  overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.6);
}
.search-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  border-bottom: 1px solid #26262e; color: #c9a227;
}
.search-head svg { width: 20px; height: 20px; flex: none; }
#searchInput {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: #f2eee4; font-size: 16px; font-family: inherit;
}
#searchInput::placeholder { color: #7a7568; }
.search-close {
  background: none; border: 0; color: #9b9689; font-size: 24px; line-height: 1;
  cursor: pointer; padding: 0 4px;
}
.search-close:hover { color: #fff; }
.search-body { max-height: 62vh; overflow-y: auto; padding: 12px 18px 18px; }
.search-idle-title, .search-results-title {
  margin: 0 0 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #7a7568;
}
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-chip {
  background: #1d1d25; border: 1px solid #2a2a33; color: #cfcabc; padding: 7px 14px;
  border-radius: 999px; font-size: 13px; cursor: pointer; font-family: inherit;
}
.search-chip:hover { border-color: #c9a227; color: #c9a227; }
.search-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.search-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: transparent; border: 0; text-align: left; cursor: pointer;
  padding: 8px; border-radius: 10px; font-family: inherit;
}
.search-item:hover { background: #1d1d25; }
.search-item-img { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex: none; background: #1d1d25; }
.search-item-img img { width: 100%; height: 100%; object-fit: cover; }
.search-item-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search-item-name { color: #f2eee4; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item-cat { color: #9b9689; font-size: 11px; }
.search-item-price { color: #c9a227; font-size: 13px; }
.search-item-price s { color: #6b675c; margin-right: 6px; }
.search-empty { color: #9b9689; font-size: 14px; padding: 12px 4px; margin: 0; }
.search-all.btn { margin-top: 4px; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* ============ TOAST NOTIFICATIONS ============ */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9999;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: #16161c;
  color: var(--text, #f2eee4);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 99px;
  font-size: 13.5px; font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
  max-width: 90vw;
}
.toast.show {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.toast-ic { flex-shrink: 0; }
.toast-msg { line-height: 1.3; }

/* Toast Categories */
.toast.success { border-color: rgba(34, 197, 94, 0.5); background: #0f1e14; color: #4ade80; }
.toast.success .toast-ic { color: #22c55e; }

.toast.error { border-color: rgba(239, 68, 68, 0.5); background: #221012; color: #f87171; }
.toast.error .toast-ic { color: #ef4444; }

.toast.warning { border-color: rgba(245, 158, 11, 0.5); background: #221a0c; color: #fbbf24; }
.toast.warning .toast-ic { color: #f59e0b; }

.toast.info { border-color: rgba(59, 130, 246, 0.5); background: #0f172a; color: #60a5fa; }
.toast.info .toast-ic { color: #3b82f6; }

.toast.delete { border-color: rgba(239, 68, 68, 0.5); background: #221012; color: #f87171; }
.toast.delete .toast-ic { color: #ef4444; }

/* ============================================================
   APP VIEW (Account & Orders Full-Screen Slide View)
   ============================================================ */
.app-view {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--charcoal-1, #0a0a0c);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease;
}

.app-view.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.app-view-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--charcoal-2, #121215);
  border-bottom: 1px solid var(--border, #26262e);
  flex-shrink: 0;
}

.app-view-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light, #e8c55a);
  font-family: var(--font-serif, serif);
}

.app-view-back {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border, #26262e);
  color: var(--text, #fff);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}
.app-view-back:hover {
  background: var(--grad-gold);
  color: #1a1200;
}

.app-view-head-spacer {
  width: 36px;
}

.app-view-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px 80px 20px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

/* Account inner elements */
.acct-inner { display: flex; flex-direction: column; gap: 20px; }
.acct-profile-card {
  background: var(--charcoal-2, #121215);
  border: 1px solid var(--border, #26262e);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.acct-guest-card {
  background: var(--charcoal-2, #121215);
  border: 1px solid var(--border, #26262e);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.acct-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.acct-meta strong { display: block; font-size: 16px; font-weight: 700; color: var(--gold-light, #e8c55a); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-meta span { display: block; font-size: 13px; color: var(--text-dim, #888); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-signout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  margin-left: auto;
  align-self: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.acct-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.acct-stat-card {
  background: var(--charcoal-2, #121215);
  border: 1px solid var(--border, #26262e);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.acct-stat-card svg { width: 28px; height: 28px; color: var(--gold, #c9a227); flex-shrink: 0; }
.acct-stat-val { display: block; font-size: 20px; font-weight: 700; color: #fff; }
.acct-stat-lbl { font-size: 12px; color: var(--text-dim, #888); }
/* Luxury Centered Account Tab Navigation Bar */
.acct-tabs {
  display: flex;
  gap: 6px;
  width: 100%;
  max-width: 440px;
  margin: 24px auto;
  padding: 5px;
  background: rgba(14, 14, 18, 0.95);
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 30px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.acct-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 24px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted, #aaa);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  white-space: nowrap;
}

.acct-tab svg {
  color: var(--gold, #c9a227);
  transition: color 0.25s ease, stroke 0.25s ease;
}

.acct-tab:hover {
  color: var(--gold-light, #e8c55a);
  background: rgba(255, 255, 255, 0.05);
}

.acct-tab.active {
  background: var(--grad-gold, linear-gradient(135deg, #c9a227, #e8c55a));
  color: #0d0d0f;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
}

.acct-tab.active svg {
  color: #0d0d0f;
  stroke: #0d0d0f;
}

.acct-tab-panel {
  margin-top: 16px;
}
.acct-orders-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.acct-orders-title-group h4 { margin: 0; font-size: 18px; color: var(--gold-light, #e8c55a); }
.acct-orders-title-group p { margin: 4px 0 0 0; font-size: 13px; color: var(--text-dim, #888); }
.orders-loading, .orders-empty { text-align: center; padding: 40px 20px; color: var(--text-dim, #888); }
.orders-empty svg { width: 48px; height: 48px; margin-bottom: 12px; opacity: 0.5; }

/* ============================================================
   BOTTOM NAVIGATION BAR (Mobile / Tablet App Tab Bar)
   ============================================================ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: rgba(12, 12, 15, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 3000;
  padding: 0 8px;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 820px) {
  .bottom-nav {
    display: flex;
  }
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--text-dim, #888);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.bottom-nav-item:hover,
.bottom-nav-item:focus {
  color: var(--gold-light, #e8c55a);
}

.bottom-nav-item.active {
  color: var(--gold-light, #e8c55a) !important;
  font-weight: 700;
}

.bottom-nav-item.active svg {
  color: var(--gold-light, #e8c55a) !important;
  stroke: var(--gold-light, #e8c55a) !important;
  transform: translateY(-1px) scale(1.08);
}

.bottom-nav-item.active::after {
  content: '';
  position: absolute;
  top: 4px;
  width: 4px;
  height: 4px;
  background: var(--gold-light, #e8c55a);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--gold-light, #e8c55a);
}

.bottom-cart-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bottom-cart-count {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--grad-gold, linear-gradient(135deg, #c9a227, #e8c55a));
  color: #1a1200;
  font-size: 10px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   MOBILE OPTIMIZATION FOR ORDERS & ACCOUNT CARDS
   ============================================================ */
@media (max-width: 640px) {
  /* Reduce outer container side margins on mobile */
  .page-content .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* Reduce main card wrapper padding & border radius on mobile */
  #pageOrdersWrap,
  #pageAccountWrap,
  .page-orders-wrap,
  .page-account-wrap {
    padding: 14px 12px !important;
    border-radius: 12px !important;
  }

  /* Reduce inner sub-card padding on mobile */
  .acct-profile-card,
  .acct-guest-card,
  .acct-sec-card,
  .acct-phone-card {
    padding: 14px 12px !important;
    border-radius: 10px !important;
    gap: 10px !important;
  }

  /* Compact tab container for mobile screens */
  .acct-tabs {
    margin: 18px auto !important;
    max-width: 100% !important;
    padding: 4px !important;
  }
  .acct-tab {
    padding: 8px 10px !important;
    font-size: 12.5px !important;
  }

  /* Specific mobile compact optimization for Order Cards & Items */
  .orders-list {
    padding: 0 !important;
  }
  .order-card {
    padding: 12px 10px !important;
    margin-bottom: 10px !important;
    border-radius: 10px !important;
  }
  .order-head {
    margin-bottom: 6px !important;
  }
  .order-meta {
    font-size: 11.5px !important;
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
  }
  .order-items {
    margin-bottom: 8px !important;
  }
  .oc-item {
    padding: 6px 0 !important;
    gap: 8px !important;
  }
  .oc-item-img {
    width: 40px !important;
    height: 40px !important;
  }
  .oc-item-title {
    font-size: 12.5px !important;
  }
  .oc-item-qty {
    font-size: 11.5px !important;
  }
  .order-foot {
    padding-top: 8px !important;
  }
  .order-foot strong {
    font-size: 15px !important;
  }

  /* Adjust stats grid on mobile */
  .acct-stats-grid {
    gap: 8px !important;
  }
  .acct-stat-card {
    padding: 12px 10px !important;
    gap: 10px !important;
    border-radius: 10px !important;
  }
  .acct-stat-val {
    font-size: 16px !important;
  }
  .acct-stat-lbl {
    font-size: 11px !important;
  }

  /* Adjust orders list & header on mobile */
  .acct-orders-head {
    margin-bottom: 12px !important;
  }
  .acct-inner {
    gap: 12px !important;
  }
}

/* ============================================================
   Layout Clearance
   body padding-top = header height (set by JS ResizeObserver)
   page-content only needs bottom clearance for bottom-nav
   ============================================================ */

/* Sub-page content container — no top padding needed, body handles it */
.page-content {
  min-height: 60vh;
}

/* Bottom clearance on mobile/tablet for bottom navigation bar */
@media (max-width: 820px) {
  .page-content {
    padding-bottom: 0 !important;
  }

  /* Footer sits above the fixed bottom-nav on mobile & tablet with elegant, balanced clearance */
  .footer {
    padding: 36px 20px 0 20px;
  }
  .footer-inner {
    padding-bottom: 24px;
    gap: 24px;
  }
  .footer-bottom {
    padding: 14px 16px calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 12px) 16px;
  }
  .footer-bottom p {
    font-size: 12px;
    line-height: 1.5;
  }
}

/* Unified Sub-Page Container & Header styles */
.page-acct-container { max-width: 850px; margin: 0 auto; padding: 0 20px 32px; }
.page-acct-header { text-align: center; margin-bottom: 20px; }
.page-acct-title { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--gold-light); margin: 0 0 6px 0; }
.page-acct-sub { color: var(--text-dim); font-size: 13.5px; margin: 0; }
.acct-card-wrapper { background: var(--charcoal-2); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); overflow: hidden; }

/* ============================================================
   PRODUCT DETAILS RESPONSIVE DESIGN SYSTEM
   Supports Desktop (>1024px), Tablet (768px-1024px), Mobile (<768px)
   ============================================================ */

/* ================================================================
   PRODUCT DETAIL PAGE — Fully Responsive Design System
   Desktop (≥1200px) | Tablet (768–1199px) | Mobile (<767px)
   ================================================================ */

.pd-breadcrumb {
  max-width: 1200px;
  margin: 0 auto 18px auto;
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 4px;
}

.pd-detail-card {
  background: var(--charcoal-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  margin: 0 auto 36px auto;
  max-width: 1200px;
}

/* ---------- MAIN GRID ---------- */
.pd-media,
.product-detail {
  display: grid;
  grid-template-columns: 480px 1fr;
  min-height: 480px;
}

/* ---------- GALLERY (LEFT) ---------- */
.pd-gallery {
  background: #08080a;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.pd-main {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  background: #000;
  aspect-ratio: 1 / 1;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.pd-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.pd-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.pd-slide .pd-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

.pd-slide .pd-img:hover { transform: scale(1.03); }

/* Product Gallery Slider Arrows & Counter */
.pd-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(14, 14, 18, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.pd-slider-arrow:hover {
  background: var(--gold);
  color: #000;
  border-color: transparent;
  transform: translateY(-50%) scale(1.08);
}

.pd-slider-arrow.prev { left: 12px; }
.pd-slider-arrow.next { right: 12px; }

.pd-slider-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 3;
  letter-spacing: 0.5px;
}

.pd-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.pd-thumb {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--border);
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.pd-thumb:hover,
.pd-thumb.active {
  border-color: var(--gold);
  opacity: 1;
  transform: translateY(-2px);
}

/* ---------- INFO PANEL (RIGHT) ---------- */
.pd-info {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.pd-category {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* DESKTOP heading */
.pd-title {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.24;
  margin: 0 0 12px 0;
  color: #fff;
  font-weight: 700;
  word-break: break-word;
}

.pd-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--text-dim);
}

.pd-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.pd-price .price-now {
  font-size: 26px;
  font-weight: 800;
  color: var(--gold-light);
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.pd-price .price-was {
  font-size: 17px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.pd-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
  margin-top: auto;
}

.pd-actions .btn {
  height: 46px;
  padding: 0 16px;
  font-size: 15.5px;
  font-weight: 700;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.3px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.15);
}

.pd-actions .btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.05);
}

.pd-trust-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.pd-trust-badges > div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  flex: 1;
  padding: 6px 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.pd-tb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.pd-tb-icon svg {
  width: 14px;
  height: 15px;
  stroke-width: 1.6;
}

.pd-option { margin-bottom: 20px; }

.pd-opt-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.pd-options { display: flex; flex-wrap: wrap; gap: 8px; }

.pd-opt-btn {
  min-width: 48px;
  height: 40px;
  padding: 0 14px;
  background: var(--charcoal-3);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}

.pd-opt-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.pd-opt-btn.active { background: var(--grad-gold); color: #1a1200; border-color: transparent; }

.pd-colors { gap: 10px; }

.pd-color-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pd-color-btn:hover { transform: scale(1.12); }
.pd-color-btn.active {
  box-shadow: 0 0 0 3px var(--gold);
  transform: scale(1.08);
}

/* ---------- RELATED ---------- */
.pd-related {
  border-top: 1px solid var(--border);
  padding: 36px 36px 40px;
  background: rgba(0,0,0,0.2);
}

.pd-related h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 700;
}

/* ---------- MOBILE STICKY BAR ---------- */
.mobile-pd-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(12, 12, 16, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 10px 14px;
  z-index: 1000;
  align-items: center;
  gap: 10px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.8);
}

.mobile-pd-bar .mpb-info {
  flex: 1;
  min-width: 0;
}

.mobile-pd-bar .mpb-name {
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  margin-bottom: 2px;
}

.mobile-pd-bar .mpb-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold-light);
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.mobile-pd-bar .mpb-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ================================================================
   TABLET — 768px to 1199px
   ================================================================ */
@media (min-width: 768px) and (max-width: 1199px) {
  .pd-media,
  .product-detail {
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
  }

  .pd-gallery { padding: 20px; }

  .pd-info { padding: 28px 24px; }

  .pd-title { font-size: clamp(20px, 2.5vw, 26px); }

  .pd-price .price-now { font-size: clamp(24px, 3vw, 30px); }

  .pd-thumb { width: 58px; height: 58px; }

  .pd-actions {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .pd-actions .btn {
    padding: 13px 8px;
    font-size: 14px;
  }

  .pd-related { padding: 28px 24px 32px; }

  .pd-related .products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }
}

/* ================================================================
   MOBILE — max 767px
   ================================================================ */
@media (max-width: 767px) {
  .pd-detail-card {
    border-radius: 14px;
    border-left: none;
    border-right: none;
  }

  .pd-media,
  .product-detail {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .pd-gallery {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    gap: 10px;
  }

  .pd-main { border-radius: 10px; }

  .pd-thumb { width: 52px; height: 52px; border-radius: 8px; }

  .pd-info { padding: 18px 16px 80px; } /* bottom pad for sticky bar */

  /* Mobile title: readable but not too big */
  .pd-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .pd-category { font-size: 10px; letter-spacing: 2px; }

  .pd-rating { font-size: 12px; gap: 6px; }

  .pd-price { margin-bottom: 14px; padding-bottom: 14px; }

  .pd-price .price-now { font-size: 26px; }

  .pd-price .price-was { font-size: 15px; }

  .pd-opt-btn {
    min-width: 46px !important;
    height: 40px !important;
    font-size: 13px !important;
  }

  .pd-color-btn {
    width: 36px !important;
    height: 36px !important;
  }

  .qty-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 20px !important;
  }

  /* Mobile: buttons SIDE BY SIDE */
  .pd-actions {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .pd-actions .btn {
    padding: 13px 8px;
    font-size: 14px;
    border-radius: 10px;
  }

  .pd-trust-badges {
    margin-top: 16px;
    padding-top: 14px;
    font-size: 10px;
    gap: 8px;
  }

  /* Show sticky bar on mobile */
  .mobile-pd-bar { display: flex !important; }

  .page-content { padding-bottom: 76px !important; }

  .pd-related { padding: 22px 16px 28px !important; }

  .pd-related h3 {
    font-size: 16px !important;
    margin-bottom: 14px !important;
  }

  .pd-related .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}


/* TABLET RESPONSIVE STYLING (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .pd-media,
  .product-detail {
    grid-template-columns: 1fr 1fr;
    min-height: 440px;
  }
  .pd-gallery {
    padding: 18px;
  }
  .pd-info {
    padding: 24px 20px;
  }
  .pd-title {
    font-size: 23px;
  }
  .pd-price .price-now {
    font-size: 26px;
  }
  .pd-thumb {
    width: 60px;
    height: 60px;
  }
  .pd-actions {
    gap: 10px;
  }
  .pd-actions .btn {
    padding: 13px 10px;
    font-size: 14px;
  }
  .pd-related .products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }
}

/* MOBILE RESPONSIVE STYLING (< 767px) */
@media (max-width: 767px) {
  .pd-detail-card {
    border-radius: 14px;
    border-left: none;
    border-right: none;
  }
  .pd-media,
  .product-detail {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .pd-gallery {
    padding: 14px;
    border-bottom: 1px solid var(--border);
  }
  .pd-main {
    border-radius: 10px;
  }
  .pd-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
  }
  .pd-info {
    padding: 20px 16px;
  }
  .pd-title {
    font-size: 21px;
    margin-bottom: 10px;
  }
  .pd-price {
    margin-bottom: 16px;
    padding-bottom: 16px;
  }
  .pd-price .price-now {
    font-size: 24px;
  }
  .pd-color-btn {
    width: 40px !important;
    height: 40px !important;
  }
  .pd-opt-btn {
    min-width: 52px !important;
    height: 42px !important;
    font-size: 13px !important;
  }
  .qty-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
  }
  .pd-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pd-actions .btn {
    padding: 14px;
    font-size: 15px;
  }
  .pd-trust-badges {
    gap: 5px;
    padding-top: 14px;
    margin-top: 14px;
  }
  .pd-trust-badges > div {
    font-size: 10.5px;
    padding: 5px 2px;
    gap: 4px;
  }
  .pd-tb-icon svg {
    width: 13px;
    height: 13px;
  }

  .mobile-pd-bar {
    display: flex !important;
    position: fixed;
    bottom: calc(var(--bottom-nav-h, 64px) + env(safe-area-inset-bottom, 0px)) !important;
    left: 0;
    right: 0;
    background: rgba(14, 14, 18, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    padding: 6px 12px;
    z-index: 990;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.7);
  }

  .mobile-pd-bar .mpb-btns {
    display: flex;
    gap: 6px;
    flex: 1;
    max-width: 230px;
  }

  .mobile-pd-bar .mpb-btns .btn {
    height: 35px;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    letter-spacing: 0.2px;
    text-transform: none;
  }

  .mobile-pd-bar .mpb-btns .btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold-light);
    background: transparent;
  }

  .page-content:has(.mobile-pd-bar) {
    padding-bottom: 140px !important;
  }

  .pd-related {
    padding: 24px 16px !important;
  }
  .pd-related h3 {
    font-size: 17px !important;
    margin-bottom: 14px !important;
  }
  .pd-related .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* ============================================================
   POLICY & LEGAL PAGES (Privacy Policy / Terms & Conditions)
   Centered luxury styling for desktop & mobile
   ============================================================ */
.policy-page-wrapper {
  min-height: 80vh;
  width: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(212,175,55,0.04) 0%, transparent 60%), var(--bg, #0b0c10);
  padding-top: 20px;
}

.policy-centered-container {
  width: 100%;
  max-width: 900px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 30px 20px 80px;
  box-sizing: border-box;
}

.policy-hero-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(212,175,55,0.03) 100%);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 20px;
  padding: 36px 32px;
  margin-bottom: 32px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.policy-hero-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold, #d4af37);
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.25);
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.policy-title {
  font-family: 'Cormorant Garamond', 'Noto Serif Bengali', serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.25;
  letter-spacing: 0.2px;
}

.policy-subtitle {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted, #cbd5e1);
  margin: 0 0 18px;
  max-width: 780px;
}

.policy-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-dim, #94a3b8);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
}

.policy-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.policy-sec-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 26px 28px;
  margin-bottom: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.policy-sec-card:hover {
  border-color: rgba(212,175,55,0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.policy-sec-heading {
  font-size: 17.5px;
  font-weight: 600;
  color: var(--gold, #d4af37);
  margin: 0 0 14px;
  font-family: 'Inter', 'Hind Siliguri', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.policy-sec-text {
  font-size: 14.5px;
  line-height: 1.8;
  color: #e2e8f0;
  white-space: pre-line;
  margin: 0;
}

.policy-footer-nav {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 768px) {
  .policy-centered-container { padding: 20px 14px 60px; }
  .policy-hero-card { padding: 24px 18px; border-radius: 16px; }
  .policy-sec-card { padding: 20px 16px; }
  .policy-sec-heading { font-size: 16px; }
  .policy-sec-text { font-size: 14px; line-height: 1.7; }
}
