/* ================================================================
   JANTARA TREASURE — Design System / Global Stylesheet
   File: css/style.css
   ================================================================ */

/* ── CSS Custom Properties ─────────────────────────────────────── */
:root {
  --gold:          #C9A84C;
  --gold-dark:     #A88830;
  --gold-hover:    #E0C060;
  --gold-light:    rgba(201,168,76,.18);
  --gold-border:   rgba(201,168,76,.40);
  --dark:          #0A0803;
  --darker:        #050302;
  --bg:            #0D0B08;
  --bg-alt:        #141209;
  --bg-card:       #1C1810;
  --text:          #EDE5CF;
  --text-muted:    #A89068;
  --border:        rgba(201,168,76,.18);
  --sh-sm:  0 2px  8px rgba(0,0,0,.50);
  --sh-md:  0 4px 24px rgba(0,0,0,.60);
  --sh-lg:  0 8px 48px rgba(0,0,0,.70);
  --sh-xl:  0 16px 64px rgba(0,0,0,.75);
  --r-xs:  6px; --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --nav-h: 108px; --nav-top-h: 64px; --max-w: 1260px; --pad-x: 24px;
  --t: all .28s ease;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; object-fit: cover; }
a    { text-decoration: none; color: inherit; transition: var(--t); }
ul   { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Typography ─────────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; }
p  { color: var(--text-muted); line-height: 1.8; }
em { font-style: italic; color: var(--gold); }

/* ── Layout ─────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }
.section-head.light h2 { color: #fff; }
.section-head.light p  { color: rgba(255,255,255,.65); }
.section-head.left     { text-align: left; margin: 0 0 40px; }
.section-head h2::after { content: ''; display: block; width: 56px; height: 2px; background: linear-gradient(90deg,transparent,var(--gold),transparent); margin: 14px auto 0; border-radius: 1px; }
.section-head.left h2::after { margin-left: 0; }
.section-head.light h2::after { background: linear-gradient(90deg,transparent,rgba(201,168,76,.6),transparent); }

/* ── Tag ────────────────────────────────────────────────────────── */
.tag { display: inline-block; background: var(--gold-light); color: var(--gold-dark); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 14px; border-radius: 50px; margin-bottom: 14px; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 30px; border-radius: 50px; font-weight: 600; font-size: .92rem; cursor: pointer; border: 2px solid transparent; transition: var(--t); white-space: nowrap; }
.btn-primary { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(184,135,12,.40); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn-ghost  { background: transparent; color: var(--text-muted); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark   { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn-dark:hover { background: var(--gold-dark); color: var(--dark); border-color: var(--gold-dark); }
.btn-danger { background: #dc3545; color: #fff; border-color: #dc3545; }
.btn-danger:hover { background: #b02a37; border-color: #b02a37; }
.btn.full   { width: 100%; }
.btn.sm     { padding: 9px 20px; font-size: .84rem; }
.btn.lg     { padding: 16px 40px; font-size: 1rem; }
.btn:disabled { opacity: .5; pointer-events: none; }

/* ── Badge ──────────────────────────────────────────────────────── */
.badge { display: inline-block; background: var(--gold); color: var(--dark); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 50px; }
.badge-new  { background: #2e7d32; color: #fff; }
.badge-rare { background: #4a148c; color: #fff; }
.badge-excl { background: var(--dark); color: var(--gold); }
.badge-sale { background: #c62828; color: #fff; }

/* ── Forms ──────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .83rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-group label .req { color: #c62828; margin-left: 2px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--r-sm); background: var(--bg); color: var(--text); transition: var(--t); outline: none; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.12); }
.form-input.error { border-color: #c62828; }
.form-hint { font-size: .78rem; color: var(--text-muted); margin-top: 5px; }
.form-error { font-size: .78rem; color: #c62828; margin-top: 4px; display: none; }
.form-error.show { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Toast ──────────────────────────────────────────────────────── */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(120px); background: var(--dark); color: #fff; padding: 13px 28px; border-radius: 50px; font-size: .88rem; font-weight: 500; box-shadow: var(--sh-lg); z-index: 9999; transition: transform .3s ease, opacity .3s ease; opacity: 0; white-space: nowrap; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { background: #2e7d32; }
.toast.error   { background: #c62828; }

/* ── Breadcrumb ─────────────────────────────────────────────────── */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .82rem; color: var(--text-muted); padding: 14px 0 20px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep  { color: var(--border); }
.breadcrumb .cur  { color: var(--gold); font-weight: 600; }

/* ── Divider ────────────────────────────────────────────────────── */
hr.divider { border: none; border-top: 1px solid var(--border); margin: 28px 0; }

/* ── Animation ──────────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Utility ────────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden  { display: none !important; }

/* ══════════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════════ */
.navbar { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 1000; transition: var(--t); }
.navbar.scrolled, .navbar.solid { background: rgba(13,11,8,.97); backdrop-filter: blur(14px); box-shadow: 0 2px 20px rgba(0,0,0,.5); border-bottom: 1px solid var(--gold-border); }
/* 2-row layout */
.nav-container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); height: 100%; display: flex; flex-direction: column; }
.nav-top-row { height: var(--nav-top-h); display: flex; align-items: center; flex-shrink: 0; }
.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-bottom-row { flex: 1; display: flex; align-items: center; justify-content: center; border-top: 1px solid rgba(201,168,76,.18); }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: #fff; transition: var(--t); display: flex; align-items: center; gap: 10px; }
.nav-logo-img {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  /* Zoom into the outer wheel ring, hiding the "Jaipur" text inside */
  object-fit: cover;
  object-position: center center;
  transform: scale(1.55);
  overflow: hidden;
}
.navbar.scrolled .nav-logo, .navbar.solid .nav-logo { color: var(--text); }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 0; justify-content: center; }
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 5px; padding: 7px 16px; font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.7); border-radius: 4px; transition: var(--t); white-space: nowrap; }
.navbar.scrolled .nav-item > a, .navbar.solid .nav-item > a { color: rgba(237,229,207,.7); }
.nav-item > a:hover, .nav-item > a.active { color: var(--gold); background: var(--gold-light); }
.nav-item > a .chev { font-size: .55rem; transition: transform .2s; display: inline-block; opacity: .7; }
.nav-item:hover > a .chev { transform: rotate(180deg); }
/* Dropdown */
.nav-drop { position: absolute; top: calc(100% + 8px); left: 50%; background: var(--bg-card); border: 1px solid var(--gold-border); border-radius: var(--r-sm); box-shadow: var(--sh-lg); padding: 8px; min-width: 200px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-50%) translateY(-8px); transition: opacity .22s ease, transform .22s ease, visibility .22s; }
.nav-item:hover .nav-drop { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-drop a { display: block; padding: 9px 14px; font-size: .86rem; color: var(--text); border-radius: var(--r-xs); font-weight: 500; }
.nav-drop a:hover { background: var(--gold-light); color: var(--gold-dark); }
/* Cart */
.nav-cart-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-light); color: var(--gold-dark); cursor: pointer; border: none; flex-shrink: 0; transition: var(--t); }
.nav-cart-btn:hover { background: var(--gold); color: var(--dark); }
.nav-cart-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -4px; right: -4px; background: var(--gold); color: var(--dark); font-size: .62rem; font-weight: 800; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.cart-count.hidden { display: none; }
.btn-nav { background: var(--gold); color: var(--dark); border-color: var(--gold); padding: 9px 20px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.btn-nav:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: 8px; }
.hamburger span { display: block; width: 26px; height: 2px; background: rgba(255,255,255,.85); border-radius: 2px; transition: var(--t); }
.navbar.scrolled .hamburger span, .navbar.solid .hamburger span { background: var(--text); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════════
   HERO (home page)
══════════════════════════════════════════════════════════════════ */
/* ══ HERO SLIDESHOW ══════════════════════════════════════════════ */
.hero { position: relative; min-height: 100vh; overflow: hidden; }

/* Slides wrapper */
.hero-slides-wrap { position: relative; width: 100%; height: 100vh; min-height: 560px; }

/* Each slide */
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }

/* Gradient overlay per slide */
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(160deg,rgba(8,3,1,.72) 0%,rgba(18,6,2,.5) 50%,rgba(8,3,1,.65) 100%); }

/* Hero text */
.hero-content { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; text-align: center; padding: 0 var(--pad-x); }
.hero-badge { display: inline-block; background: rgba(184,135,12,.22); color: var(--gold-hover); border: 1px solid rgba(184,135,12,.50); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 8px 24px; border-radius: 50px; margin-bottom: 26px; }
.hero h1 { color: #fff; margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero p  { font-size: 1.1rem; color: rgba(255,255,255,.75); margin-bottom: 38px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Arrow buttons */
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 52px; height: 52px; background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; font-size: 1.25rem; cursor: pointer; transition: background .25s, transform .25s; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-50%) scale(1.08); }
.hero-prev { left: 28px; }
.hero-next { right: 28px; }

/* Dot indicators */
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; cursor: pointer; padding: 0; transition: background .25s, transform .25s; }
.hero-dot.active { background: var(--gold); transform: scale(1.25); }

/* Scroll hint */
.scroll-hint { position: absolute; bottom: 32px; right: var(--pad-x); z-index: 10; width: 34px; height: 54px; border: 2px solid rgba(255,255,255,.25); border-radius: 50px; display: flex; align-items: flex-start; justify-content: center; padding-top: 8px; }
.scroll-hint span { display: block; width: 4px; height: 10px; background: var(--gold); border-radius: 4px; animation: scrollBounce 1.6s ease-in-out infinite; }
@keyframes scrollBounce { 0%,100%{transform:translateY(-3px);opacity:.5} 50%{transform:translateY(8px);opacity:1} }

/* ── Category grid (home) ───────────────────────────────────────── */
.cat-strip  { padding: 72px 0; background: var(--bg); }
.cat-grid   { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat-card   { position: relative; border-radius: var(--r); overflow: hidden; cursor: pointer; aspect-ratio: 3/4; transition: var(--t); box-shadow: var(--sh-sm); text-decoration: none; display: block; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.cat-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; }
.cat-card:hover .cat-card-bg { transform: scale(1.06); }
.cat-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(16,6,1,.94) 0%,rgba(16,6,1,.32) 62%,transparent 100%); }
.cat-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 16px; }
.cat-card-body h3   { color: #fff; font-size: 1rem; margin-bottom: 3px; }
.cat-card-body span { color: rgba(255,255,255,.6); font-size: .75rem; font-weight: 500; }

/* ── Stats bar ──────────────────────────────────────────────────── */
.stats-bar   { background: var(--bg-alt); padding: 44px 0; border-top: 2px solid var(--gold-border); border-bottom: 2px solid var(--gold-border); }
.stats-grid  { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item   { text-align: center; padding: 20px 12px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-val    { font-family: 'Playfair Display',serif; font-size: 2.6rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat-label  { font-size: .82rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }

/* ── Product grid + card ────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.product-card { background: var(--bg-card); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); border: 1px solid var(--border); transition: var(--t); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--gold-border); }
.product-card-img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-alt); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-badge { position: absolute; top: 12px; left: 12px; z-index: 1; }
.product-card-body  { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-card-cat   { font-size: .72rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 5px; }
.product-card-body h3 { font-size: .98rem; margin-bottom: 6px; line-height: 1.3; }
.product-card-body h3 a { color: var(--text); }
.product-card-body h3 a:hover { color: var(--gold); }
.product-card-price { font-family: 'Playfair Display',serif; font-size: 1.15rem; font-weight: 700; color: var(--gold); margin-bottom: 14px; margin-top: auto; padding-top: 10px; }
.add-to-cart-btn { width: 100%; padding: 10px; background: transparent; color: var(--gold); border: 1.5px solid var(--gold-border); border-radius: var(--r-sm); font-size: .88rem; font-weight: 600; cursor: pointer; transition: var(--t); }
.add-to-cart-btn:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.add-to-cart-btn.added { background: #2e7d32; border-color: #2e7d32; color: #fff; }

/* ── Why cards ──────────────────────────────────────────────────── */
.why-section { background: var(--bg-alt); }
.why-grid    { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.why-card    { background: var(--bg-card); border-radius: var(--r); padding: 36px 28px; text-align: center; border: 1px solid var(--border); transition: var(--t); }
.why-card:hover { border-color: var(--gold); box-shadow: var(--sh-md); transform: translateY(-4px); }
.why-icon { font-size: 2.2rem; margin-bottom: 16px; display: block; line-height: 1; }
.why-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.why-card p  { font-size: .9rem; line-height: 1.7; }

/* ── Testimonials ───────────────────────────────────────────────── */
.testi-section { background: var(--dark); }
.testi-section .tag { background: rgba(201,168,76,.15); color: var(--gold); }
.testi-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testi-card  { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 30px; transition: var(--t); }
.testi-card:hover { background: rgba(255,255,255,.09); border-color: var(--gold-border); }
.stars { color: var(--gold); font-size: 1.05rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { color: rgba(255,255,255,.75); font-size: .93rem; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem; flex-shrink: 0; }
.testi-author strong { display: block; color: #fff; font-size: .92rem; }
.testi-author span   { color: rgba(255,255,255,.5); font-size: .78rem; }

/* ── Newsletter banner ──────────────────────────────────────────── */
.nl-section { background: var(--bg-alt); border-top: 2px solid var(--gold-border); border-bottom: 2px solid var(--gold-border); padding: 64px 0; }
.nl-wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.nl-text h2 { color: var(--text); font-size: clamp(1.5rem,3vw,2rem); }
.nl-text p  { color: var(--text-muted); margin-top: 6px; }
.nl-form { display: flex; align-items: stretch; border-radius: 6px; overflow: hidden; flex-shrink: 0; min-width: 420px; border: 1.5px solid var(--gold-border); box-shadow: var(--sh-md); }
.nl-form input { flex: 1; padding: 15px 22px; background: var(--bg-card); border: none; border-right: 1.5px solid var(--gold-border); outline: none; font-size: .9rem; color: var(--text); min-width: 0; }
.nl-form input::placeholder { color: var(--text-muted); }
.nl-form button { background: var(--gold); color: var(--dark); border: none; padding: 15px 28px; font-size: .88rem; font-weight: 700; cursor: pointer; transition: var(--t); white-space: nowrap; flex-shrink: 0; letter-spacing: .04em; }
.nl-form button:hover { background: var(--gold-dark); }
#nlMsg { font-size: .8rem; margin-top: 8px; min-height: 18px; color: var(--gold); }

/* ══════════════════════════════════════════════════════════════════
   CATEGORY PAGE HERO
══════════════════════════════════════════════════════════════════ */
.page-hero { position: relative; height: 320px; display: flex; align-items: flex-end; overflow: hidden; margin-top: var(--nav-h); }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(16,6,1,.85) 0%,rgba(16,6,1,.32) 70%,transparent 100%); }
.page-hero-content { position: relative; z-index: 1; padding: 40px var(--pad-x); max-width: var(--max-w); margin: 0 auto; width: 100%; }
.page-hero-content h1 { color: #fff; font-size: clamp(1.8rem,4vw,3rem); margin-bottom: 6px; }
.page-hero-content p  { color: rgba(255,255,255,.7); font-size: .98rem; max-width: 440px; }

/* Subcategory tabs */
.subcat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.subcat-tab  { padding: 8px 18px; border-radius: 50px; border: 1.5px solid var(--border); background: var(--bg-card); color: var(--text); font-size: .85rem; font-weight: 600; cursor: pointer; transition: var(--t); }
.subcat-tab:hover, .subcat-tab.active { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* ══════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
══════════════════════════════════════════════════════════════════ */
.product-page   { padding: calc(var(--nav-h) + 28px) 0 80px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-gallery { position: sticky; top: calc(var(--nav-h) + 24px); }
.product-main-img { width: 100%; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--bg-alt); margin-bottom: 14px; }
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.product-thumb  { width: 76px; height: 76px; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: var(--t); }
.product-thumb.active, .product-thumb:hover { border-color: var(--gold); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info .tag { margin-bottom: 8px; }
.product-info h1   { font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: 14px; }
.product-price     { font-family: 'Playfair Display',serif; font-size: 2rem; font-weight: 700; color: var(--gold); margin-bottom: 18px; }
.product-desc      { margin-bottom: 26px; }
.product-desc p    { font-size: .95rem; line-height: 1.8; }
.product-qty { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.qty-label   { font-size: .85rem; font-weight: 600; color: var(--text); min-width: 60px; }
.qty-ctrl    { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.qty-btn     { width: 40px; height: 40px; background: none; border: none; cursor: pointer; font-size: 1.1rem; transition: var(--t); }
.qty-btn:hover { background: var(--gold-light); color: var(--gold-dark); }
.qty-input   { width: 50px; text-align: center; border: none; border-left: 1.5px solid var(--border); border-right: 1.5px solid var(--border); padding: 8px 0; font-size: .95rem; font-weight: 600; outline: none; background: var(--bg-card); color: var(--text); }
.product-actions { display: flex; gap: 12px; margin-bottom: 26px; }
.product-meta { border-top: 1px solid var(--border); padding-top: 22px; }
.product-meta-item { display: flex; gap: 10px; margin-bottom: 10px; font-size: .88rem; }
.product-meta-item strong { color: var(--text); min-width: 100px; }
.product-meta-item span   { color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════════
   CART DRAWER
══════════════════════════════════════════════════════════════════ */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1100; opacity: 0; visibility: hidden; transition: var(--t); }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer  { position: fixed; top: 0; right: 0; bottom: 0; width: 420px; background: var(--bg-card); z-index: 1101; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .32s ease; box-shadow: var(--sh-xl); border-left: 1px solid var(--gold-border); }
.cart-drawer.open { transform: translateX(0); }
.cart-header  { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--border); }
.cart-header h3 { font-size: 1.15rem; }
.cart-close   { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--text-muted); transition: var(--t); }
.cart-close:hover { background: #fee; border-color: #c62828; color: #c62828; }
.cart-body    { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-empty   { text-align: center; padding: 56px 0; color: var(--text-muted); }
.cart-empty-icon { font-size: 3rem; margin-bottom: 14px; }
.cart-item    { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.cart-item-img  { width: 70px; height: 70px; border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0; background: var(--bg-alt); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: .88rem; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.cart-item-sub  { font-size: .74rem; color: var(--text-muted); margin-bottom: 8px; }
.cart-item-row  { display: flex; align-items: center; justify-content: space-between; }
.cart-item-price { font-family: 'Playfair Display',serif; font-size: .95rem; font-weight: 700; color: var(--gold); }
.cart-item-qty  { display: flex; align-items: center; gap: 6px; }
.cqb { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); background: none; cursor: pointer; font-size: .9rem; transition: var(--t); display: flex; align-items: center; justify-content: center; }
.cqb:hover { background: var(--gold-light); border-color: var(--gold); }
.cqv { font-size: .85rem; font-weight: 700; min-width: 18px; text-align: center; }
.cart-remove { color: var(--text-muted); background: none; border: none; cursor: pointer; font-size: .75rem; padding: 2px 6px; transition: var(--t); border-radius: 4px; margin-left: auto; }
.cart-remove:hover { background: #fee; color: #c62828; }
.cart-footer  { padding: 18px 24px; border-top: 1px solid var(--border); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cart-subtotal-lbl { font-weight: 600; color: var(--text); }
.cart-subtotal-val { font-family: 'Playfair Display',serif; font-size: 1.3rem; font-weight: 700; color: var(--gold); }
.cart-note { font-size: .78rem; color: var(--text-muted); margin-bottom: 14px; text-align: center; }

/* ══════════════════════════════════════════════════════════════════
   CHECKOUT PAGE
══════════════════════════════════════════════════════════════════ */
.checkout-page   { padding: calc(var(--nav-h) + 28px) 0 80px; }
.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
/* Step progress */
.checkout-steps { display: flex; align-items: center; margin-bottom: 36px; }
.step-item  { display: flex; align-items: center; gap: 8px; flex: 1; }
.step-item:last-child { flex: 0; }
.step-circle { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg-card); display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700; color: var(--text-muted); flex-shrink: 0; transition: var(--t); }
.step-circle.active { border-color: var(--gold); background: var(--gold); color: var(--dark); }
.step-circle.done   { border-color: #2e7d32; background: #2e7d32; color: #fff; }
.step-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; transition: var(--t); }
.step-label.active { color: var(--gold-dark); }
.step-label.done   { color: #2e7d32; }
.step-line  { flex: 1; height: 2px; background: var(--border); margin: 0 8px; border-radius: 2px; }
.step-line.done { background: #2e7d32; }
/* Panels */
.step-panel { display: none; }
.step-panel.active { display: block; }
.checkout-card { background: var(--bg-card); border-radius: var(--r); padding: 30px; box-shadow: var(--sh-sm); border: 1px solid var(--border); margin-bottom: 20px; }
.checkout-card h3 { margin-bottom: 22px; font-size: 1.15rem; }
/* Order summary sidebar */
.order-summary { background: var(--bg-card); border-radius: var(--r); padding: 26px; box-shadow: var(--sh-sm); border: 1px solid var(--border); position: sticky; top: calc(var(--nav-h) + 22px); }
.order-summary h3 { margin-bottom: 18px; font-size: 1.05rem; }
.order-items-list { max-height: 260px; overflow-y: auto; margin-bottom: 16px; }
.order-line { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); align-items: center; }
.order-line-img { width: 52px; height: 52px; border-radius: var(--r-xs); overflow: hidden; background: var(--bg-alt); flex-shrink: 0; }
.order-line-img img { width: 100%; height: 100%; object-fit: cover; }
.order-line-name  { font-size: .84rem; font-weight: 600; color: var(--text); }
.order-line-qty   { font-size: .73rem; color: var(--text-muted); }
.order-line-price { font-family: 'Playfair Display',serif; font-size: .9rem; font-weight: 700; color: var(--gold); margin-left: auto; white-space: nowrap; }
.order-row { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; margin-bottom: 9px; }
.order-row-lbl { color: var(--text-muted); }
.order-row-val { font-weight: 600; color: var(--text); }
.order-total-row { border-top: 2px solid var(--border); padding-top: 13px; margin-top: 6px; }
.order-total-row .order-row-lbl { font-size: 1rem; font-weight: 700; color: var(--text); }
.order-total-row .order-row-val { font-family: 'Playfair Display',serif; font-size: 1.25rem; color: var(--gold); }
/* Confirmation */
.confirm-wrap  { max-width: 540px; margin: 0 auto; }
.confirm-box   { background: var(--bg-card); border-radius: var(--r-lg); padding: 48px; text-align: center; box-shadow: var(--sh-lg); }
.confirm-icon  { font-size: 4rem; margin-bottom: 18px; }
.confirm-box h2 { margin-bottom: 10px; }
.confirm-box p  { margin-bottom: 22px; }
.order-id-badge { display: inline-block; background: var(--gold-light); color: var(--gold-dark); border: 1px solid var(--gold-border); border-radius: var(--r-sm); padding: 9px 22px; font-weight: 700; font-size: .98rem; margin-bottom: 26px; font-family: 'Playfair Display',serif; }

/* ══════════════════════════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════════════════════════ */
.contact-page { padding: calc(var(--nav-h) + 28px) 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.contact-items { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.contact-item  { display: flex; align-items: flex-start; gap: 16px; }
.contact-item-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-item-body strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; color: var(--text); }
.contact-item-body a, .contact-item-body span { color: var(--text-muted); font-size: .92rem; }
.contact-item-body a:hover { color: var(--gold); }
.contact-form-card { background: var(--bg-card); border-radius: var(--r); padding: 38px; box-shadow: var(--sh-md); }
.form-status { margin-top: 12px; font-size: .88rem; font-weight: 500; text-align: center; min-height: 20px; }
.form-status.success { color: #2e7d32; }
.form-status.error   { color: #c62828; }

/* ══════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════ */
.footer { background: var(--darker); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-logo { font-family: 'Playfair Display',serif; font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-logo span { color: var(--gold); }
.footer-brand p { color: rgba(255,255,255,.45); font-size: .9rem; line-height: 1.7; margin-bottom: 22px; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; transition: var(--t); }
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.footer-col h4 { font-family: 'Inter',sans-serif; font-size: .79rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { color: rgba(255,255,255,.45); font-size: .88rem; transition: var(--t); }
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-nl p { color: rgba(255,255,255,.45); font-size: .88rem; margin-bottom: 14px; }
.footer-nl input { width: 100%; padding: 11px 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff; border-radius: var(--r-sm); outline: none; font-size: .87rem; margin-bottom: 10px; transition: var(--t); }
.footer-nl input::placeholder { color: rgba(255,255,255,.3); }
.footer-nl input:focus { border-color: var(--gold); }
.footer-nl button { width: 100%; background: var(--gold); color: var(--dark); border: none; padding: 11px; border-radius: var(--r-sm); font-size: .87rem; font-weight: 700; cursor: pointer; transition: var(--t); }
.footer-nl button:hover { background: var(--gold-dark); }
#footerNlMsg { font-size: .8rem; color: var(--gold); min-height: 18px; margin-top: 6px; }
.footer-bottom { padding: 18px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: rgba(255,255,255,.28); font-size: .82rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.3); font-size: .8rem; }
.footer-bottom-links a:hover { color: var(--gold); }

/* WhatsApp float */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 900; background: #25D366; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: var(--t); }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3,1fr); }
  .product-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .product-layout { gap: 40px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .btn-nav { display: none; }
  .hamburger { display: flex; }
  .nav-bottom-row { display: none; }
  .nav-container { flex-direction: row; align-items: center; }
  .nav-actions { gap: 4px; }
  .nav-links { display: flex; flex-direction: column; align-items: stretch; position: fixed; top: var(--nav-h); left: 0; right: 0; background: rgba(13,11,8,.98); padding: 12px 0 24px; gap: 0; box-shadow: var(--sh-lg); z-index: 999; transform: translateY(-120%); transition: transform .32s ease; border-top: 1px solid var(--gold-border); }
  .nav-links.open { transform: translateY(0); }
  .nav-item > a   { letter-spacing: .08em; color: var(--text); padding: 13px 28px; border-radius: 0; }
  .nav-drop       { position: static; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; border: none; background: var(--bg-alt); border-radius: 0; padding: 4px 28px 8px; }
  .nav-drop a     { padding: 8px 8px; color: var(--text-muted); border-radius: 0; }
  .testi-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .why-grid   { grid-template-columns: repeat(2,1fr); }
  .nl-wrap    { flex-direction: column; gap: 24px; }
  .nl-form    { min-width: unset; width: 100%; max-width: 460px; }
  .product-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .contact-grid   { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid     { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .cart-drawer    { width: 100%; max-width: 420px; }
}
@media (max-width: 600px) {
  :root { --nav-h: 58px; }
  .section { padding: 60px 0; }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .product-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row  { grid-template-columns: 1fr; }
  .checkout-steps .step-label { display: none; }
  .confirm-box { padding: 30px 18px; }
  .hero-btns .btn { width: 100%; max-width: 280px; }
  /* Slideshow mobile */
  .hero-arrow { width: 40px; height: 40px; font-size: 1rem; }
  .hero-prev  { left: 12px; }
  .hero-next  { right: 12px; }
  .hero-dots  { bottom: 64px; }
}

/* ══════════════════════════════════════════════════════════════════
   SEARCH OVERLAY
══════════════════════════════════════════════════════════════════ */
.search-overlay { position: fixed; inset: 0; background: rgba(10,4,1,.88); z-index: 2000; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s; }
.search-overlay.open { opacity: 1; visibility: visible; }

.search-header { display: flex; align-items: center; gap: 14px; padding: 20px 28px; border-bottom: 1px solid rgba(255,255,255,.1); flex-shrink: 0; }
.search-icon-wrap { color: rgba(255,255,255,.45); flex-shrink: 0; }
.search-icon-wrap svg { width: 22px; height: 22px; }
#searchInput { flex: 1; background: transparent; border: none; outline: none; color: #fff; font-size: 1.25rem; font-family: inherit; caret-color: var(--gold); }
#searchInput::placeholder { color: rgba(255,255,255,.35); }
/* Kill browser native autocomplete popup */
#searchInput::-webkit-contacts-auto-fill-button,
#searchInput::-webkit-credentials-auto-fill-button { display: none !important; visibility: hidden; pointer-events: none; }
.search-close-btn { width: 36px; height: 36px; background: rgba(255,255,255,.1); border: none; border-radius: 50%; color: #fff; font-size: 1rem; cursor: pointer; transition: var(--t); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.search-close-btn:hover { background: var(--gold); color: var(--dark); }

.search-body { flex: 1; overflow-y: auto; padding: 24px 28px 40px; }

/* Results count */
.sr-count { font-size: .85rem; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.sr-count strong { color: var(--gold); }

/* Results grid */
.sr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.sr-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-sm); overflow: hidden; text-decoration: none; transition: var(--t); display: block; }
.sr-card:hover { background: rgba(255,255,255,.12); border-color: var(--gold-border); transform: translateY(-3px); }
.sr-card-img { position: relative; aspect-ratio: 1; overflow: hidden; background: rgba(255,255,255,.05); }
.sr-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sr-card:hover .sr-card-img img { transform: scale(1.05); }
.sr-badge { position: absolute; top: 8px; left: 8px; background: var(--gold); color: var(--dark); font-size: .62rem; font-weight: 700; padding: 2px 8px; border-radius: 50px; text-transform: uppercase; letter-spacing: .06em; }
.sr-card-body { padding: 12px 14px; }
.sr-card-cat  { font-size: .7rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.sr-card-name { font-size: .9rem; font-weight: 600; color: #fff; margin-bottom: 6px; line-height: 1.3; }
.sr-card-name mark { background: transparent; color: var(--gold); }
.sr-card-price { font-family: 'Playfair Display', serif; color: var(--gold); font-size: .95rem; font-weight: 700; }

/* Empty / suggestions */
.sr-empty { text-align: center; padding: 48px 20px; }
.sr-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.sr-empty p { color: rgba(255,255,255,.7); font-size: 1rem; margin-bottom: 8px; }
.sr-empty strong { color: var(--gold); }
.sr-empty-hint { font-size: .88rem; color: rgba(255,255,255,.4); }
.sr-suggestions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sr-sug-label { width: 100%; color: rgba(255,255,255,.4); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.sr-sug-tag { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.75); padding: 7px 16px; border-radius: 50px; font-size: .84rem; cursor: pointer; transition: var(--t); }
.sr-sug-tag:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* Search trigger button in navbar */
.nav-search-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: transparent; border: none; color: rgba(255,255,255,.75); cursor: pointer; transition: var(--t); flex-shrink: 0; }
.navbar.scrolled .nav-search-btn, .navbar.solid .nav-search-btn { color: var(--text); }
.nav-search-btn:hover { background: var(--gold-light); color: var(--gold); }
.nav-search-btn svg { width: 20px; height: 20px; }

/* Prevent body scroll when overlay open */
body.modal-open { overflow: hidden; }

@media (max-width: 600px) {
  .sr-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .search-header { padding: 16px 16px; }
  .search-body   { padding: 16px 16px 32px; }
  #searchInput   { font-size: 1rem; }
}

/* ══════════════════════════════════════════════════════════════════
   AUTH MODAL (Login with Email / Mobile OTP)
══════════════════════════════════════════════════════════════════ */
.auth-modal { position: fixed; inset: 0; background: rgba(10,4,1,.75); z-index: 2100; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s; }
.auth-modal.open { opacity: 1; visibility: visible; }

.auth-box { background: var(--bg-card); border-radius: var(--r-lg); width: 100%; max-width: 440px; overflow: hidden; box-shadow: var(--sh-xl); position: relative; }

/* Header */
.auth-box-head { background: var(--dark); padding: 28px 32px 24px; text-align: center; }
.auth-box-head h2 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.auth-box-head p  { color: rgba(255,255,255,.5); font-size: .9rem; }
.auth-close-btn { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,.12); border: none; border-radius: 50%; width: 34px; height: 34px; color: rgba(255,255,255,.7); font-size: .95rem; cursor: pointer; transition: var(--t); display: flex; align-items: center; justify-content: center; }
.auth-close-btn:hover { background: rgba(255,255,255,.25); color: #fff; }

/* Tabs */
.auth-tabs { display: flex; border-bottom: 1px solid var(--border); }
.auth-tab-btn { flex: 1; padding: 14px 0; font-size: .9rem; font-weight: 600; background: transparent; border: none; border-bottom: 2px solid transparent; color: var(--text-muted); cursor: pointer; transition: var(--t); }
.auth-tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.auth-tab-btn:hover:not(.active) { color: var(--dark); }

/* Body */
.auth-body { padding: 28px 32px 32px; }

/* Step: contact */
.auth-contact-group { position: relative; margin-bottom: 6px; }
.auth-mobile-prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: .9rem; font-weight: 600; color: var(--text-muted); pointer-events: none; line-height: 1; }
.auth-input-mobile  { padding-left: 52px !important; }
.auth-contact-input { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font-size: .95rem; outline: none; transition: var(--t); }
.auth-contact-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,135,12,.12); }
.auth-send-btn { width: 100%; margin-top: 16px; padding: 14px; background: var(--gold); color: var(--dark); border: none; border-radius: var(--r-sm); font-size: .95rem; font-weight: 700; cursor: pointer; transition: var(--t); }
.auth-send-btn:hover { background: var(--gold-dark); }

/* Step: OTP */
.auth-contact-label { text-align: center; color: var(--text-muted); font-size: .88rem; margin-bottom: 18px; }
.auth-otp-group { display: flex; flex-direction: column; align-items: center; gap: 14px; }
#authOtpInput { width: 220px; padding: 16px; text-align: center; letter-spacing: .3em; font-size: 1.5rem; font-weight: 700; border: 2px solid var(--border); border-radius: var(--r-sm); background: var(--bg); color: var(--text); outline: none; transition: var(--t); }
#authOtpInput:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,135,12,.12); }
.auth-verify-btn { width: 100%; padding: 14px; background: var(--gold); color: var(--dark); border: none; border-radius: var(--r-sm); font-size: .95rem; font-weight: 700; cursor: pointer; transition: var(--t); }
.auth-verify-btn:hover { background: var(--gold-dark); }
.auth-resend-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: .82rem; }
#authResendBtn { background: none; border: none; color: var(--gold); font-size: .82rem; font-weight: 600; cursor: pointer; padding: 4px 0; transition: var(--t); }
#authResendBtn:disabled { color: var(--text-muted); cursor: default; }
#authResendTimer { color: var(--text-muted); }
.auth-back-btn { background: none; border: none; color: var(--text-muted); font-size: .82rem; cursor: pointer; padding: 4px 0; display: flex; align-items: center; gap: 4px; transition: var(--t); }
.auth-back-btn:hover { color: var(--gold); }
.auth-demo-note { margin-top: 20px; background: rgba(184,135,12,.1); border: 1px solid var(--gold-border); border-radius: var(--r-sm); padding: 10px 14px; font-size: .78rem; color: var(--text-muted); text-align: center; }
.auth-demo-note strong { color: var(--gold-dark); }

/* Error */
#authError { font-size: .82rem; color: #c62828; margin-top: 8px; min-height: 18px; display: none; }
#authError.show { display: block; }

/* Nav: login button + user menu */
.nav-login-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 50px; color: rgba(255,255,255,.85); font-size: .84rem; font-weight: 600; cursor: pointer; transition: var(--t); white-space: nowrap; flex-shrink: 0; }
.navbar.scrolled .nav-login-btn, .navbar.solid .nav-login-btn { background: var(--gold-light); border-color: var(--gold-border); color: var(--gold); }
.nav-login-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.nav-login-btn svg { width: 16px; height: 16px; }

.nav-user-wrap { position: relative; flex-shrink: 0; }
.nav-user-trigger { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; background: var(--gold-light); border: 1px solid var(--gold-border); border-radius: 50px; cursor: pointer; color: var(--gold-dark); font-size: .84rem; font-weight: 600; transition: var(--t); white-space: nowrap; }
.nav-user-trigger:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.nav-user-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--dark); font-size: .8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-user-drop { position: absolute; top: calc(100% + 8px); right: 0; background: var(--bg-card); border: 1px solid var(--gold-border); border-radius: var(--r-sm); box-shadow: var(--sh-lg); min-width: 180px; padding: 6px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s; transform: translateY(-6px); z-index: 500; }
.nav-user-drop.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.nav-user-drop a, .nav-user-drop button { display: block; width: 100%; text-align: left; padding: 9px 14px; font-size: .86rem; color: var(--text); border-radius: var(--r-xs); background: none; border: none; cursor: pointer; font-family: inherit; transition: var(--t); }
.nav-user-drop a:hover, .nav-user-drop button:hover { background: var(--gold-light); color: var(--gold-dark); }
.nav-user-sep { height: 1px; background: var(--border); margin: 4px 8px; }

@media (max-width: 600px) {
  .auth-box { margin: 0 12px; }
  .auth-body { padding: 20px 20px 24px; }
  .auth-box-head { padding: 22px 20px 18px; }
  .nav-login-btn span { display: none; }
}
