/* =====================================================================
   THEME · IVORY — refined, professional commerce (light)
   Warm ivory ground · single emerald brand accent · ink text
   Amber/red appear ONLY as semantic colours (sale, stars).
   Loaded after assets/css/base.css and overrides its dark defaults.
   ===================================================================== */
:root {
  --black: #0d0f12;
  --bg: #faf9f6; --bg-2: #f2f2ec; --surface: #ffffff; --surface-2: #ffffff; --elev: #ffffff;
  --line: rgba(18,26,22,0.13); --line-soft: rgba(18,26,22,0.07);
  --accent: #0e9f6e; --accent-2: #0a7d56; --accent-bright: #0a7d56; --accent-deep: #085e41;
  --accent-rgb: 14,159,110; --glow-rgb: 14,159,110;
  --text: #121a16; --text-2: #3d4742; --muted: #5a6660; --muted-2: #6f7a73;
  --live: #0a7d56; --hot: #c23b3b; --danger: #c23b3b;
  --ink: #ffffff;
  --grad-primary: linear-gradient(160deg, #0a7d56, #086048);
  --grad-primary-text: linear-gradient(120deg, #0a7d56, #0e9f6e);
  --grad-sheen: none;
  --media-grad: linear-gradient(165deg, #f3f4ee, #e9ece4);
  --shadow: 0 24px 48px -28px rgba(18,26,22,0.22); --shadow-card: 0 14px 32px -20px rgba(18,26,22,0.14);
  --glow-soft: 0 14px 32px -18px rgba(14,159,110,0.35);
  --particle-rgb: none; --grain-opacity: 0;
  --select-bg: #0e9f6e; --select-ink: #fff;
  --header-bg: rgba(255,255,255,0.88); --cursor-blend: multiply;
  --fill: rgba(18,26,22,0.035); --fill-strong: rgba(18,26,22,0.06);
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-mono: 'Inter', system-ui, sans-serif; /* prices use Inter + tabular figures */
}

/* ---------- calm the base FX: no perpetual animation, no gimmicks ---------- */
.gold-text { background: var(--grad-primary-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: none; background-size: 100% auto; }
.btn--gold { background: var(--grad-primary); animation: none; background-size: 100% auto; }
.btn--gold::after { display: none; }               /* no sheen sweep */
.cursor-glow, .cursor-dot { display: none; }        /* native cursor only */
.hero__bg-orb, .cta-band__orb { display: none; }    /* no floating colour blobs */
.hero__particles { display: none; }
.scroll-progress { background: var(--accent); box-shadow: none; height: 2px; }
.brand__mark { filter: none; }

/* prices and figures align */
.price-now, .pdp-price, .cart-item__price, .cart-foot__row b, .stat__num,
.lot-card__price, .price-was, .dash-row__price { font-variant-numeric: tabular-nums; }

/* visible keyboard focus everywhere (professional accessibility baseline) */
a:focus-visible, button:focus-visible, .input:focus-visible, .select:focus-visible,
[tabindex]:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }

/* skip-to-content link (hidden until keyboard-focused) */
.skip-link { position: fixed; top: -60px; left: 12px; z-index: 1000; background: var(--accent-2); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

/* out-of-stock + saved-wishlist states */
.cond--out { color: var(--hot); border: 1px solid rgba(194,59,59,0.3); background: rgba(194,59,59,0.08); padding: 0.2rem 0.6rem; border-radius: 99px; font-size: 0.76rem; }
.btn--text.is-on { color: var(--accent-2); }

/* ---------- light surfaces ---------- */
body { background: var(--bg); }
body::before { background: var(--bg); }             /* no radial colour washes */
.lot-card, .cat-card, .step, .quote, .usp__item, .hero-lot, .hero-lot__float { background: #ffffff; }
.lot-card, .step, .quote, .usp__item { box-shadow: 0 8px 22px -16px rgba(18,26,22,0.16); }
.lot-card { border-color: rgba(18,26,22,0.09); border-radius: 16px; }
.cat-card { border-radius: 16px; background: #fff; }
.section--alt { background: #f4f5f0; }
.btn--ghost { background: #fff; border-color: rgba(18,26,22,0.18); color: var(--text); backdrop-filter: none; }
.btn--ghost:hover { border-color: var(--accent-2); color: var(--accent-2); box-shadow: none; }
.chip, .input, .toast { background: #fff; }
.input { border-color: rgba(18,26,22,0.16); color: var(--text); }
.lot-card__timer-pill, .watch-btn { background: rgba(255,255,255,0.94); }
.marquee__item { color: var(--text-2); }
::-webkit-scrollbar-track { background: #ecece6; }
::-webkit-scrollbar-thumb { background: #c9cfc9; border-color: #f2f2ec; }

/* restrained hovers: small lift, neutral shadow, no scaling or glow */
.lot-card { transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.lot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(18,26,22,0.14); }
.lot-card::before { display: none; }
.lot-card:hover .lot-card__title { color: var(--accent-2); }
.lot-card__cat { color: var(--accent-2); }
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(14,159,110,0.5); }
.btn:active { transform: scale(0.99); }
.icon-btn:hover, .watch-btn:hover { transform: none; }
.cat-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-card); }
.cat-card:hover .cat-card__icon { transform: none; }
.cat-card:hover .cat-card__name { color: var(--accent-2); }
.step:hover, .quote:hover, .usp__item:hover, .dash-stat:hover { transform: none; box-shadow: var(--shadow-card); }
.dash-row:hover { transform: none; }
.to-top:hover, .chat-fab:hover { transform: translateY(-2px); }
.add-btn:hover { transform: none; box-shadow: 0 10px 20px -10px rgba(14,159,110,0.5); }
.thumb.is-active, .thumb:hover { transform: none; }
.social-btn:hover, .gbtn-lite:hover { transform: none; }
.footer__col a:hover { padding-left: 0; }
.mobile-menu a:hover { padding-left: 0; }

/* single-accent category tiles (no rainbow) */
.cats-grid .cat-card .cat-card__icon { background: rgba(var(--accent-rgb),0.1); border-color: rgba(var(--accent-rgb),0.22); font-size: 1.5rem; }
.cats-grid .cat-card .cat-card__arrow { color: var(--accent); }
.cat-card::after { display: none; }

/* ---------- LAYOUT: editorial hero, calm ---------- */
/* display:block overrides base.css's .hero{display:flex}, which squeezed the
   headline and showcase card side-by-side and overflowed phone screens */
.hero--editorial { position: relative; display: block; min-height: auto; padding-top: 8.5rem; padding-bottom: 2rem; text-align: center; overflow: hidden; }
.hero--editorial .hero__inner { display: block; position: relative; z-index: 2; }
.hero--editorial .hero__eyebrow, .hero--editorial .hero__sub { margin-inline: auto; }
.hero--editorial .hero__cta { justify-content: center; }
.hero--editorial .hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.025em; font-weight: 700; }
.hero__showcase { position: relative; z-index: 2; margin-top: 3rem; }
.hero--editorial .hero-lot { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1rem,3vw,2rem); align-items: center; max-width: 940px; margin: 0 auto; padding: 1.3rem; text-align: left; border: 1px solid var(--line-soft); box-shadow: var(--shadow); transition: box-shadow 0.3s var(--ease); }
.hero--editorial .hero-lot:hover { transform: none; box-shadow: 0 30px 60px -32px rgba(18,26,22,0.28); }
.hero--editorial .hero-lot__media { aspect-ratio: 1/1; }
.hero--editorial .hero-lot__body { padding: 1rem clamp(1rem,3vw,1.8rem); }
.hero--editorial .hero-lot__name { font-size: 1.35rem; font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
.hero--editorial .hero-lot__float { display: none; }
.hero--editorial::before, .hero--editorial::after { display: none; }
@media (max-width: 760px) { .hero--editorial .hero-lot { grid-template-columns: 1fr; } }

/* ---------- quiet stats band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2rem; border-radius: 18px; border: 1px solid var(--line-soft); background: #ffffff; box-shadow: var(--shadow-card); animation: none; }
.stat-band .stat { text-align: center; position: relative; z-index: 1; }
@media (max-width: 700px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }

/* neutral image placeholders: quiet, not broken-looking */
.lot-card__ph, .gallery__ph, .hero-lot__media .lot-card__ph, .cart-item__img span, .dash-row__ph { opacity: 0.28; }
.lot-card__ph { font-size: 2rem; }
.gallery__ph { font-size: 3rem; }

/* =========================================================== */
/*  SHOP components (normal store)                             */
/* =========================================================== */
.prod-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.7rem; }
.prod-rating .stars { color: #d9930d; letter-spacing: 0.04em; font-size: 0.9rem; }
.prod-rating small { color: var(--muted); font-size: 0.78rem; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: auto; padding-top: 0.7rem; border-top: 1px solid var(--line-soft); }
.prod-price { display: flex; align-items: baseline; gap: 0.45rem; flex-wrap: wrap; }
.price-now { font-family: var(--font-mono); font-weight: 700; font-size: 1.18rem; color: var(--text); }
.price-was { font-size: 0.85rem; color: var(--muted); text-decoration: line-through; }
.sale-badge { background: var(--hot); color: #fff; font-weight: 700; font-size: 0.72rem; padding: 0.28rem 0.55rem; border-radius: 8px; box-shadow: none; }
.add-btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.95rem; border-radius: 10px; background-color: var(--accent-2); color: #fff; font-weight: 600; font-size: 0.84rem; transition: background-color 0.25s, box-shadow 0.25s; }
.add-btn svg { width: 16px; height: 16px; }
.add-btn:hover { background-color: var(--accent-deep); }

/* product page */
.pdp-price { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.2rem); color: var(--text); display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pdp-price .price-was { font-size: 1rem; }
.pdp-desc { color: var(--text-2); margin-bottom: 1.4rem; max-width: 52ch; }
.pdp-actions { display: flex; gap: 0.8rem; align-items: stretch; }
.pdp-actions .btn--lg { flex: 1; }
.qty { display: inline-flex; align-items: center; gap: 0.1rem; border: 1px solid var(--line); border-radius: 12px; padding: 0.2rem; }
.qty button { width: 34px; height: 34px; border-radius: 9px; font-size: 1.1rem; font-weight: 700; color: var(--text); display: grid; place-items: center; transition: 0.2s; }
.qty button:hover { background: var(--fill); color: var(--accent-2); }
.qty span { min-width: 30px; text-align: center; font-family: var(--font-mono); font-weight: 700; font-variant-numeric: tabular-nums; }
.qty--lg button { width: 44px; height: 44px; }

/* nav cart */
.cart-btn { position: relative; }
.cart-count { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--accent-2); color: #fff; font-size: 0.66rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); font-variant-numeric: tabular-nums; }
.cart-count.is-empty { display: none; }

/* cart drawer */
.cart-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(12,16,14,0.42); opacity: 0; transition: opacity 0.3s; backdrop-filter: blur(2px); border: 0; }
.cart-overlay.is-on { opacity: 1; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); z-index: 310; background: var(--surface); border-left: 1px solid var(--line); box-shadow: -24px 0 50px -28px rgba(0,0,0,0.35); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s var(--ease); }
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line-soft); }
.cart-drawer__head h3 { font-family: var(--font-display); font-size: 1.3rem; }
.cart-close { font-size: 1.8rem; line-height: 1; color: var(--muted); width: 36px; height: 36px; border-radius: 50%; }
.cart-close:hover { background: var(--fill); color: var(--text); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 0.6rem 1.4rem; }
.cart-drawer__foot { border-top: 1px solid var(--line-soft); padding: 1.2rem 1.4rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); display: flex; flex-direction: column; gap: 0.8rem; align-items: center; }
.cart-item { display: flex; gap: 0.9rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); }
.cart-item__img { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--media-grad); position: relative; flex-shrink: 0; }
.cart-item__img span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.5rem; }
.cart-item__img img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__title { font-size: 0.88rem; font-weight: 600; line-height: 1.3; margin-bottom: 0.2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item__price { font-family: var(--font-mono); font-weight: 700; color: var(--accent-2); font-size: 0.9rem; margin-bottom: 0.4rem; }
.cart-item .qty { padding: 0.1rem; } .cart-item .qty button { width: 28px; height: 28px; font-size: 1rem; }
.cart-item__remove { font-size: 0.76rem; color: var(--muted); margin-left: 0.5rem; text-decoration: underline; }
.cart-item__remove:hover { color: var(--hot); }
.cart-foot__row { display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; margin-bottom: 0.4rem; }
.cart-foot__row b { font-family: var(--font-mono); font-size: 1.3rem; }
.cart-foot__note { font-size: 0.78rem; color: var(--muted); margin-bottom: 1rem; }

/* account status tags */
.tag--done { background: rgba(14,159,110,0.12); color: var(--accent-2); border: 1px solid rgba(14,159,110,0.3); }
.tag--ship { background: rgba(14,159,110,0.1); color: var(--accent-2); border: 1px solid var(--line); }
.tag--proc { background: rgba(18,26,22,0.06); color: var(--muted); border: 1px solid var(--line-soft); }
.dash-row__right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; }

/* =========================================================== */
/*  CHAT helper + WhatsApp handoff                             */
/* =========================================================== */
.chat-fab { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 240; width: 58px; height: 58px; border-radius: 50%; background: var(--accent-2); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(10,125,86,0.55); transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0.3s; }
.chat-fab svg { width: 26px; height: 26px; }
.chat-fab::after { content: ''; position: absolute; top: 5px; right: 5px; width: 11px; height: 11px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 2px var(--bg); }
.chat-fab.is-hidden { opacity: 0; visibility: hidden; transform: scale(0.6); }
.chat-box { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 241; width: min(360px, 92vw); height: min(520px, 76vh); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(18,26,22,0.4); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; transform: translateY(16px) scale(0.97); opacity: 0; visibility: hidden; transition: 0.35s var(--ease); }
.chat-box.is-open { transform: none; opacity: 1; visibility: visible; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; background: var(--accent-2); color: #fff; }
.chat-head__id { display: flex; align-items: center; gap: 0.6rem; }
.chat-ava { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.18); display: grid; place-items: center; font-size: 1.1rem; }
.chat-head__id b { display: block; font-size: 0.98rem; line-height: 1.1; } .chat-head__id small { opacity: 0.85; font-size: 0.74rem; }
.chat-close { color: #fff; font-size: 1.6rem; width: 32px; height: 32px; border-radius: 50%; line-height: 1; }
.chat-close:hover { background: rgba(255,255,255,0.15); }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.55rem; background: var(--bg-2); }
.chat-msg { max-width: 85%; padding: 0.6rem 0.85rem; border-radius: 14px; font-size: 0.88rem; line-height: 1.45; }
.chat-msg--bot { background: #fff; border: 1px solid var(--line-soft); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--text); }
.chat-msg--user { background: var(--accent-2); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }
.chat-quick { display: flex; gap: 0.4rem; flex-wrap: wrap; padding: 0.6rem 0.8rem 0; }
.chat-chip { font-size: 0.78rem; padding: 0.4rem 0.7rem; border-radius: 99px; border: 1px solid var(--line); color: var(--accent-2); background: rgba(var(--accent-rgb),0.07); transition: 0.2s; }
.chat-chip:hover { background: rgba(var(--accent-rgb),0.14); }
.chat-input { display: flex; gap: 0.5rem; padding: 0.7rem 0.8rem 0.4rem; }
.chat-input input { flex: 1; padding: 0.6rem 0.85rem; border-radius: 12px; border: 1px solid var(--line-soft); background: #fff; color: var(--text); font-size: 0.88rem; }
.chat-input input:focus { outline: none; border-color: var(--accent); }
.chat-input button { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-2); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.chat-input button svg { width: 18px; height: 18px; }
.chat-wa { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin: 0.3rem 0.8rem 0.8rem; padding: 0.7rem; border-radius: 12px; background: #25D366; color: #fff; font-weight: 600; font-size: 0.9rem; transition: 0.2s; }
.chat-wa svg { width: 20px; height: 20px; }
.chat-wa:hover { filter: brightness(1.05); }
.to-top { bottom: 6.4rem; }
@media (max-width: 560px) { .chat-box { right: 0.6rem; bottom: 0.6rem; } .chat-fab { right: 1rem; bottom: 1rem; } .to-top { bottom: 5.8rem; right: 1rem; } }

/* =========================================================== */
/*  PHONE FIXES                                                 */
/*  The header's natural width (~500px) exceeded small phones,  */
/*  forcing the whole layout wider than the viewport — the      */
/*  browser zoomed out and everything looked broken.            */
/* =========================================================== */
/* long AliExpress titles must never force horizontal growth */
.buy-panel__title, .hero-lot__name, .cart-item__title, .co-item__t,
.dash-row__title, .lot-card__title, .breadcrumbs { overflow-wrap: anywhere; }
.hero-lot__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* menu must scroll rather than clip on short/landscape screens */
.mobile-menu { overflow-y: auto; justify-content: flex-start; padding-top: 5.5rem; padding-bottom: 2rem; }
.mobile-menu a { font-size: clamp(1.4rem, 6vw, 2.2rem); }
/* 44px-class touch targets for core controls */
.cart-close, .auth-modal__x { width: 44px; height: 44px; }
.cart-item .qty { gap: 0.3rem; }
.cart-item .qty button { width: 40px; height: 40px; }
.cart-item__remove { font-size: 0.82rem; padding: 0.5rem 0.4rem; margin-left: auto; }
.chat-chip { padding: 0.6rem 0.9rem; font-size: 0.85rem; }
.chat-close { width: 44px; height: 44px; }
.chat-input button { width: 44px; height: 44px; }

@media (max-width: 640px) {
  /* compact header that fits 320px+ screens */
  .nav__inner { gap: 0.6rem; padding-block: 0.7rem; }
  .brand { gap: 0.5rem; min-width: 0; flex-shrink: 1; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__text { font-size: 1.05rem; white-space: nowrap; }
  .brand__text small { display: none; }
  .nav__actions { gap: 0.4rem; flex-shrink: 0; }
  .icon-btn, .nav-toggle { width: 40px; height: 40px; }
  /* the Sign in / Shop now pill lives inside the burger menu on phones */
  .nav__actions .btn--gold { display: none; }
  /* readable header from the first pixel (no transparent-over-content state) */
  .site-header .nav { background: var(--header-bg); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }

  /* hero: fit the first screen instead of overflowing it */
  .hero--editorial { padding-top: 5.2rem; padding-bottom: 1.2rem; }
  .hero--editorial .hero__title { font-size: clamp(2rem, 9vw, 2.7rem); }
  .hero__sub { font-size: 0.96rem; margin-bottom: 1.5rem; }
  .hero__cta { margin-bottom: 1rem; }
  .hero__showcase { margin-top: 1.4rem; }
  .hero--editorial .hero-lot { padding: 0.9rem; }
  .hero--editorial .hero-lot__media { aspect-ratio: 16/10; }
  .hero--editorial .hero-lot__name { font-size: 1.05rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero--editorial .hero-lot__body { padding: 0.7rem 0.2rem 0.2rem; }

  /* comfortable touch targets in the footer */
  .footer__col a { padding: 0.5rem 0; }

  /* category tiles: 2-up instead of a 2,200px single column */
  .cats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .cat-card { padding: 1.1rem 0.9rem; gap: 0.5rem; }
  .cat-card__icon { width: 44px; height: 44px; font-size: 1.3rem; }
  .cat-card__name { font-size: 1rem; }

  /* product cards 2-up: Add button gets a full touch target and may wrap
     under the price instead of being sliced off by the card edge */
  .prod-foot { flex-wrap: wrap; }
  .add-btn { min-height: 44px; padding: 0.55rem 0.9rem; }

  /* toasts must not bury the chat button */
  .toasts { left: 0.8rem; bottom: 5.6rem; max-width: calc(100vw - 6.8rem); }

  /* filter chips + PDP tabs to comfortable tap sizes */
  .chip { padding: 0.65rem 1rem; }
  .tab-btn { padding: 0.85rem 1rem; }
}

/* 16px inputs stop iOS Safari from auto-zooming on focus */
@media (max-width: 768px) {
  .input, .select, select, textarea.input, .chat-input input { font-size: 16px; }
}

/* =========================================================== */
/*  CLIENT LOGIN POPUP                                          */
/* =========================================================== */
.auth-modal { position: fixed; inset: 0; z-index: 330; display: none; }
.auth-modal.is-open { display: block; }
.auth-modal__ov { position: absolute; inset: 0; background: rgba(14,18,16,0.48); backdrop-filter: blur(3px); animation: fadeUp 0.3s; }
.auth-modal__card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(400px, 92vw); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 34px 80px -36px rgba(0,0,0,0.45); padding: 2.1rem 1.8rem 1.6rem; animation: amPop 0.35s var(--ease); }
@keyframes amPop { from { opacity: 0; transform: translate(-50%, -47%) scale(0.98); } to { opacity: 1; } }
.auth-modal__x { position: absolute; top: 0.9rem; right: 0.9rem; width: 34px; height: 34px; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--muted); }
.auth-modal__x:hover { background: var(--fill); color: var(--text); }
.auth-modal__head { text-align: center; margin-bottom: 1.3rem; }
.auth-modal__logo { font-size: 2rem; }
.auth-modal__head h3 { font-family: var(--font-display); font-size: 1.4rem; margin: 0.4rem 0 0.3rem; }
.auth-modal__head p { color: var(--muted); font-size: 0.86rem; max-width: 30ch; margin-inline: auto; }
.gbtn-lite { display: flex; align-items: center; justify-content: center; gap: 0.6rem; width: 100%; padding: 0.85rem; border-radius: 12px; background: #fff; color: #1f2430; font-weight: 600; border: 1px solid var(--line); transition: 0.2s var(--ease); }
.gbtn-lite:hover { border-color: rgba(18,26,22,0.3); box-shadow: 0 8px 18px -12px rgba(0,0,0,0.3); }
.auth-div { display: flex; align-items: center; gap: 0.8rem; color: var(--muted); font-size: 0.78rem; margin: 1rem 0; }
.auth-div::before, .auth-div::after { content: ''; flex: 1; height: 1px; background: var(--line-soft); }
.auth-modal__alt { text-align: center; color: var(--muted); font-size: 0.86rem; margin-top: 1rem; }
.auth-modal__alt a { color: var(--accent-2); font-weight: 600; }
