/* ==========================================================================
   Marella & Sanae Nang — design system
   Palette: obsidian black · deep espresso brown · antique gold · warm cream
   ========================================================================== */

:root {
  /* surfaces */
  --ink:        #0B0908;
  --ink-2:      #14100C;
  --espresso:   #241A12;
  --cocoa:      #3A2A1D;
  --cream:      #F7F1E6;
  --cream-2:    #EFE5D3;
  --paper:      #FCFAF6;
  --white:      #FFFFFF;

  /* gold */
  --gold:       #C8A44D;
  --gold-lt:    #E7CE8E;
  --gold-dk:    #8C6D2A;
  --gold-grad:  linear-gradient(115deg, #8C6D2A 0%, #E7CE8E 32%, #C8A44D 52%, #F3E4B8 78%, #A5813A 100%);

  /* text */
  --text:       #1C1712;
  --text-2:     #5A4E42;
  --muted:      #8A7C6D;
  --on-dark:    #EFE7DA;
  --on-dark-2:  #B3A796;

  /* accents */
  --jade:       #1E7A6B;
  --ruby:       #9E2B2B;
  --ok:         #2E7D5B;
  --warn:       #B4741C;
  --err:        #B03A3A;

  /* system */
  --radius:     4px;
  --radius-lg:  8px;
  --line:       rgba(200,164,77,.28);
  --line-soft:  rgba(28,23,18,.10);
  --shadow:     0 1px 2px rgba(28,23,18,.05), 0 8px 28px -12px rgba(28,23,18,.18);
  --shadow-lg:  0 2px 6px rgba(28,23,18,.06), 0 24px 60px -24px rgba(28,23,18,.30);

  --header-h:   66px;
  --maxw:       1280px;
  --ease:       cubic-bezier(.22,.61,.36,1);

  --font-display: 'Cormorant Garamond', 'Noto Serif Thai', Georgia, serif;
  --font-body:    'IBM Plex Sans Thai', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }

/* ---------------------------------------------------------------- helpers */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.wrap-sm { max-width: 880px; }
.wrap-xs { max-width: 620px; }
.center { text-align: center; }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack > * + * { margin-top: var(--gap, 14px); }
.row { display: flex; align-items: center; gap: 12px; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grow { flex: 1; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; }

.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-dk);
}
.eyebrow.on-dark { color: var(--gold-lt); }

.display { font-family: var(--font-display); font-weight: 500; letter-spacing: .005em; }

.section { padding: clamp(52px, 7vw, 96px) 0; }
.section-head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 500; margin-top: 10px;
}
.section-head p { color: var(--text-2); max-width: 62ch; margin: 12px auto 0; font-size: 15px; }

/* diamond divider */
.diamond { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px 0; }
.diamond::before, .diamond::after {
  content: ''; height: 1px; width: min(76px, 12vw);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.diamond::after { background: linear-gradient(90deg, var(--gold), transparent); }
.diamond i {
  width: 7px; height: 7px; background: var(--gold-grad);
  transform: rotate(45deg); display: block;
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  transition: all .3s var(--ease); cursor: pointer; text-align: center;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-gold {
  background: var(--gold-grad); color: #221806;
  box-shadow: 0 2px 14px -4px rgba(200,164,77,.6);
  background-size: 180% 100%; background-position: 0% 50%;
}
.btn-gold:hover { background-position: 100% 50%; box-shadow: 0 6px 22px -6px rgba(200,164,77,.8); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--espresso); transform: translateY(-1px); }
.btn-outline { border-color: var(--gold); color: var(--gold-dk); background: transparent; }
.btn-outline:hover { background: var(--gold); color: #221806; }
.btn-outline-light { border-color: rgba(231,206,142,.55); color: var(--gold-lt); }
.btn-outline-light:hover { background: var(--gold-lt); color: #221806; border-color: var(--gold-lt); }
.btn-ghost { color: var(--text-2); border-color: var(--line-soft); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dk); }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 16px 34px; font-size: 15px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

/* ------------------------------------------------------------------ badge */
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.badge-gold { background: var(--gold-grad); color: #221806; }
.badge-dark { background: var(--ink); color: var(--gold-lt); }
.badge-soft { background: var(--cream-2); color: var(--text-2); }

/* =============================================================== announce */
.announce {
  background: var(--ink); color: var(--on-dark-2);
  font-size: 12px; letter-spacing: .05em; text-align: center;
  padding: 8px 16px; position: relative; overflow: hidden;
}
.announce span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 500; }

/* ================================================================= header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,250,246,.92);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line-soft);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.header-inner {
  height: var(--header-h); display: flex; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand-txt { line-height: 1.05; }
.brand-txt b {
  display: block; font-family: var(--font-display); font-size: 19px;
  font-weight: 600; letter-spacing: .14em; color: var(--espresso);
}
.brand-txt small { font-size: 9.5px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav a {
  padding: 9px 15px; font-size: 14px; font-weight: 500; color: var(--text-2);
  position: relative; transition: color .25s var(--ease); border-radius: var(--radius);
}
.nav a::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1px;
  background: var(--gold-grad); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.on { color: var(--espresso); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }

.head-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  color: var(--text-2); transition: all .25s var(--ease); position: relative;
}
.icon-btn:hover { background: var(--cream-2); color: var(--espresso); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--gold-grad); color: #221806; border-radius: 999px;
  font-size: 10px; font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.burger { display: none; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200; visibility: hidden;
}
.drawer.open { visibility: visible; }
.drawer-bg {
  position: absolute; inset: 0; background: rgba(11,9,8,.55);
  opacity: 0; transition: opacity .35s var(--ease);
  backdrop-filter: blur(3px);
}
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 340px);
  background: var(--ink); color: var(--on-dark);
  transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid rgba(231,206,142,.16); }
.drawer-head .icon-btn { color: var(--on-dark-2); }
.drawer-head .icon-btn:hover { background: rgba(231,206,142,.12); color: var(--gold-lt); }
.drawer nav { padding: 12px 12px 24px; }
.drawer nav a {
  display: block; padding: 14px 12px; font-size: 16px; color: var(--on-dark);
  border-bottom: 1px solid rgba(231,206,142,.10); transition: color .2s;
}
.drawer nav a:hover, .drawer nav a.on { color: var(--gold-lt); }
.drawer-foot { margin-top: auto; padding: 20px 22px 28px; border-top: 1px solid rgba(231,206,142,.16); font-size: 13px; color: var(--on-dark-2); }
.drawer-foot a { color: var(--gold-lt); }

/* =================================================================== hero */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero-slide {
  position: relative; min-height: clamp(460px, 74vh, 720px);
  display: grid; align-items: center;
}
.hero-slide::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  /* keeps headline + body copy legible over any photograph */
  background:
    linear-gradient(90deg, rgba(11,9,8,.95) 0%, rgba(11,9,8,.88) 30%, rgba(11,9,8,.62) 52%,
                    rgba(11,9,8,.26) 74%, rgba(11,9,8,.42) 100%);
}
.hero-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center 30%;
  animation: kenburns 18s ease-out both;
}
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-copy { position: relative; z-index: 2; max-width: 620px; padding-block: 60px; }
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 66px); font-weight: 500; line-height: 1.12;
  color: var(--cream); margin: 14px 0 0;
}
.hero-copy p { color: var(--on-dark-2); font-size: clamp(14.5px, 1.6vw, 17px); margin-top: 18px; max-width: 42ch; }
.hero-copy .btn { margin-top: 28px; }
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 9px; }
.hero-dots button {
  width: 28px; height: 3px; background: rgba(231,206,142,.3); border-radius: 2px; transition: all .3s var(--ease);
}
.hero-dots button.on { background: var(--gold-grad); width: 44px; }

/* ================================================================== trust */
.trust { background: var(--espresso); color: var(--on-dark); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item { display: flex; align-items: center; gap: 12px; justify-content: center; text-align: left; }
.trust-item svg { width: 26px; height: 26px; color: var(--gold-lt); flex-shrink: 0; }
.trust-item b { display: block; font-size: 13.5px; font-weight: 600; color: var(--cream); }
.trust-item span { font-size: 11.5px; color: var(--on-dark-2); }

/* ============================================================= categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: 380px; display: flex; align-items: flex-end;
  background: var(--ink); isolation: isolate;
}
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease); z-index: -2;
}
.cat-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,9,8,.05) 20%, rgba(11,9,8,.62) 62%, rgba(11,9,8,.92) 100%);
}
.cat-card:hover img { transform: scale(1.07); }
.cat-body { padding: 28px 24px; width: 100%; }
.cat-body h3 { font-family: var(--font-display); font-size: 27px; color: var(--cream); margin: 8px 0 6px; }
.cat-body p { font-size: 13px; color: var(--on-dark-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-lt); }
.cat-link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.cat-card:hover .cat-link svg { transform: translateX(4px); }

/* =============================================================== products */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.pcard { display: flex; flex-direction: column; position: relative; }
.pcard-media {
  position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--cream-2);
}
.pcard-media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .5s;
}
.pcard-media img.alt { position: absolute; inset: 0; opacity: 0; }
.pcard:hover .pcard-media img.main { transform: scale(1.05); opacity: 0; }
.pcard:hover .pcard-media img.alt { opacity: 1; transform: scale(1.05); }
.pcard-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.pcard-quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  opacity: 0; transform: translateY(8px); transition: all .35s var(--ease);
}
.pcard:hover .pcard-quick { opacity: 1; transform: none; }
.pcard-body { padding: 16px 2px 0; display: flex; flex-direction: column; flex: 1; }
.pcard-cat { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pcard-name {
  font-size: 15px; font-weight: 500; line-height: 1.45; margin-top: 6px; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard:hover .pcard-name { color: var(--gold-dk); }
.pcard-size { font-size: 12px; color: var(--muted); margin-top: 3px; }
.pcard-price { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.pcard-price b { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--espresso); }
.pcard-price s { font-size: 13px; color: var(--muted); }

/* ============================================================ scent strip */
.scent-list { display: flex; flex-direction: column; gap: 12px; }
.scent-row {
  display: block; position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft); background: var(--white); transition: all .4s var(--ease);
}
.scent-row:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateX(4px); }
.scent-row img { width: 100%; height: auto; display: block; }
.scent-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; border-top: 1px solid var(--line-soft);
}
.scent-txt { min-width: 0; }
.scent-txt b { display: block; font-size: 14.5px; font-weight: 600; }
.scent-txt p {
  font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.scent-meta > span {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  color: var(--gold-dk); flex-shrink: 0;
}

/* ====================================================== category story */
.cat-story { background: var(--ink); color: var(--on-dark); padding: clamp(48px, 7vw, 84px) 0; }
.cat-story-body { font-size: 15.5px; color: var(--on-dark-2); line-height: 1.85; }
.cat-story-body > p { margin-bottom: 14px; }
.cat-story-body strong { color: var(--gold-lt); font-weight: 600; }
.cat-sub {
  font-family: var(--font-display); font-size: clamp(21px, 2.8vw, 28px); color: var(--cream);
  margin: 40px 0 6px; text-align: center; font-weight: 500;
}
.cat-sign {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(231,206,142,.16);
  text-align: center; font-size: 14.5px;
}

.cat-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 6px; }
.cat-cols > div {
  background: rgba(231,206,142,.05); border: 1px solid rgba(231,206,142,.16);
  border-radius: var(--radius-lg); padding: 20px 22px;
}
.cat-cols h4 { font-size: 14.5px; color: var(--gold-lt); margin-bottom: 9px; font-weight: 600; }
.cat-cols p { font-size: 14px; }
.cat-cols ul { display: grid; gap: 7px; }
.cat-cols li { font-size: 14px; padding-left: 22px; position: relative; }
.cat-cols li::before {
  content: ''; position: absolute; left: 2px; top: 10px;
  width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg);
}
.cat-cols .do { border-color: rgba(46,125,91,.4); background: rgba(46,125,91,.08); }
.cat-cols .do h4 { color: #7FD3AC; }
.cat-cols .do li::before { background: #7FD3AC; }
.cat-cols .dont { border-color: rgba(176,58,58,.4); background: rgba(176,58,58,.08); }
.cat-cols .dont h4 { color: #E89B9B; }
.cat-cols .dont li::before {
  content: '\00D7';                 /* an explicit × reads as "avoid" */
  background: none; width: auto; height: auto; transform: none;
  top: 0; left: 2px; font-size: 17px; line-height: 1.5; color: #E89B9B; font-weight: 700;
}

/* lifestyle shot grid inside a category story */
.shot-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px;
  /* break out of the narrow story column so the photos get room to breathe */
  width: min(1240px, calc(100vw - 40px));
  margin-left: 50%; transform: translateX(-50%);
}
.shot-grid figure {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(231,206,142,.16); background: rgba(231,206,142,.04);
}
.shot-grid img {
  /* height:auto is required — the width/height attributes would otherwise
     pin the height and aspect-ratio would be ignored */
  width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover;
  transition: transform .6s var(--ease);
}
.shot-grid figure:hover img { transform: scale(1.05); }
.shot-grid figcaption {
  padding: 10px 12px; font-size: 12.5px; color: var(--on-dark-2);
  text-align: center; border-top: 1px solid rgba(231,206,142,.12);
}
.shot-grid.two { grid-template-columns: repeat(2, 1fr); width: min(820px, calc(100vw - 40px)); }
.shot-grid.two img { aspect-ratio: 4/5; }

/* numbered routine steps */
.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.step-row > div {
  background: rgba(231,206,142,.05); border: 1px solid rgba(231,206,142,.16);
  border-radius: var(--radius-lg); padding: 22px;
}
.step-row span {
  display: block; font-family: var(--font-display); font-size: 30px; font-weight: 600;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; line-height: 1;
}
.step-row b { display: block; font-size: 15.5px; color: var(--cream); margin: 8px 0 5px; }
.step-row p { font-size: 13.5px; color: var(--on-dark-2); line-height: 1.6; }

@media (max-width: 900px) { .shot-grid { grid-template-columns: repeat(3, 1fr); } .step-row { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .shot-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shot-grid figcaption { font-size: 11.5px; padding: 8px 8px; } }

/* herbal extract cards */
.cat-lead {
  max-width: 68ch; margin: 0 auto 8px; text-align: center;
  font-size: 14.5px; color: var(--on-dark-2);
}
.herb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.herb-grid figure {
  background: rgba(231,206,142,.05); border: 1px solid rgba(231,206,142,.16);
  border-radius: var(--radius-lg); padding: 22px 18px; text-align: center;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.herb-grid figure:hover { border-color: var(--gold); transform: translateY(-3px); }
.herb-grid img {
  width: 96px; height: 96px; margin: 0 auto 14px;
  border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(231,206,142,.35);
  box-shadow: 0 6px 20px -8px rgba(0,0,0,.7);
}
.herb-grid figcaption b { display: block; font-size: 15px; color: var(--cream); font-weight: 600; }
.herb-grid figcaption span {
  display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-dk); margin-top: 3px;
}
.herb-grid figcaption em {
  display: block; font-style: normal; font-size: 13px; color: var(--on-dark-2);
  margin-top: 9px; line-height: 1.6;
}

@media (max-width: 860px) { .cat-cols { grid-template-columns: 1fr; } .herb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .herb-grid { grid-template-columns: 1fr; gap: 12px; }
  .herb-grid figure { display: flex; align-items: center; gap: 16px; text-align: left; padding: 14px; }
  .herb-grid img { margin: 0; flex-shrink: 0; width: 72px; height: 72px; }
  .herb-grid figcaption em { margin-top: 6px; font-size: 12.5px; }
}

/* ========================================================= artwork band */
/* Brand campaign images that already contain their own typography — shown
   whole, never behind an overlay, so their text is never doubled up. */
.artwork-band { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); }
.artwork-band a { display: block; overflow: hidden; position: relative; }
.artwork-band img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.artwork-band a:hover img { transform: scale(1.04); }
@media (max-width: 720px) { .artwork-band { grid-template-columns: 1fr; } }

/* ================================================================== story */
.story { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.story-grid.rev > figure { order: 2; }
.story figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.story figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.story h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); color: var(--cream); margin: 12px 0 0; }
.story p { color: var(--on-dark-2); margin-top: 18px; font-size: 15px; }
.story .btn { margin-top: 26px; }
.story-marks { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.story-marks div b { display: block; font-family: var(--font-display); font-size: 27px; color: var(--gold-lt); }
.story-marks div span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }

/* ================================================================ product */
.pdp { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.gallery-main {
  aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream-2);
  border: 1px solid var(--line-soft);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button {
  width: 74px; height: 74px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-soft); transition: all .25s var(--ease); background: var(--cream-2);
}
.gallery-thumbs button.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info h1 { font-family: var(--font-display); font-size: clamp(25px, 3.2vw, 37px); font-weight: 500; margin: 10px 0 0; line-height: 1.2; }
.pdp-en { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; }
.pdp-price b { font-family: var(--font-display); font-size: 38px; font-weight: 600; color: var(--espresso); }
.pdp-price s { color: var(--muted); font-size: 17px; }
.pdp-short { color: var(--text-2); margin-top: 16px; font-size: 15px; }

.hl-list { margin-top: 20px; display: grid; gap: 9px; }
.hl-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.hl-list svg { width: 16px; height: 16px; color: var(--gold-dk); flex-shrink: 0; margin-top: 4px; }

.buy-bar { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden; background: var(--white);
}
.qty button { width: 42px; height: 48px; display: grid; place-items: center; color: var(--text-2); transition: background .2s; }
.qty button:hover { background: var(--cream-2); color: var(--espresso); }
.qty input { width: 46px; height: 48px; text-align: center; border: 0; background: none; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp-meta { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.pdp-meta div { display: flex; gap: 10px; }
.pdp-meta b { color: var(--text-2); font-weight: 500; min-width: 92px; }

/* accordion */
.acc { border-top: 1px solid var(--line-soft); }
.acc summary {
  padding: 18px 0; font-weight: 600; font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 20px; color: var(--gold-dk); font-weight: 400; }
.acc[open] summary::after { content: '\2013'; }
.acc-body { padding-bottom: 22px; color: var(--text-2); font-size: 14.5px; }
.acc-body h4 { font-size: 15px; color: var(--espresso); margin: 18px 0 8px; font-weight: 600; }
.acc-body p { margin-bottom: 10px; }
.acc-body ul { display: grid; gap: 7px; margin: 8px 0 12px; }
.acc-body ul li { padding-left: 18px; position: relative; }
.acc-body ul li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.acc-body strong { color: var(--espresso); font-weight: 600; }
.acc-body img { border-radius: var(--radius); margin: 12px 0; }

/* ================================================================== forms */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.field > span i { color: var(--err); font-style: normal; }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--white); transition: border-color .25s, box-shadow .25s; font-size: 15px;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,77,.14);
}
.input.err { border-color: var(--err); }
.textarea { min-height: 92px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A7C6D' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field-err { font-size: 12px; color: var(--err); margin-top: 4px; }

/* ------------------------------------------------------------ radio cards */
.opt-list { display: grid; gap: 10px; }
.opt {
  display: flex; gap: 13px; align-items: flex-start; padding: 15px 16px;
  border: 1px solid var(--line-soft); border-radius: var(--radius); cursor: pointer;
  transition: all .25s var(--ease); background: var(--white);
}
.opt:hover { border-color: var(--gold); }
.opt.on { border-color: var(--gold); background: rgba(200,164,77,.06); box-shadow: 0 0 0 1px var(--gold); }
.opt input { margin-top: 4px; accent-color: var(--gold-dk); width: 17px; height: 17px; flex-shrink: 0; }
.opt-txt b { display: block; font-size: 14.5px; font-weight: 600; }
.opt-txt span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ================================================================== cart */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.cart-item {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line-soft); align-items: center;
}
.cart-item img { width: 92px; height: 92px; object-fit: cover; border-radius: var(--radius); background: var(--cream-2); }
.cart-item h4 { font-size: 14.5px; font-weight: 500; line-height: 1.5; }
.cart-item .sz { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.cart-item .price { font-family: var(--font-display); font-size: 19px; font-weight: 600; white-space: nowrap; }
.cart-item .qty { transform: scale(.86); transform-origin: left center; margin-top: 8px; }
.link-danger { font-size: 12.5px; color: var(--muted); margin-top: 8px; display: inline-block; }
.link-danger:hover { color: var(--err); }

.summary {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); box-shadow: var(--shadow);
}
.summary h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; color: var(--text-2); }
.sum-row b { color: var(--text); font-weight: 500; }
.sum-row.free b { color: var(--ok); }
.sum-row.disc b { color: var(--ok); }
.sum-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line-soft);
}
.sum-total span { font-weight: 600; }
.sum-total b { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--espresso); }

.coupon { display: flex; gap: 8px; margin: 16px 0; }
.coupon .input { flex: 1; }
.coupon-msg { font-size: 12.5px; margin-top: -8px; margin-bottom: 14px; }
.coupon-msg.ok { color: var(--ok); }
.coupon-msg.err { color: var(--err); }

.freeship-bar { margin: 14px 0 4px; }
.freeship-bar .track { height: 5px; background: var(--cream-2); border-radius: 3px; overflow: hidden; }
.freeship-bar .fill { height: 100%; background: var(--gold-grad); border-radius: 3px; transition: width .5s var(--ease); }
.freeship-bar p { font-size: 12.5px; color: var(--text-2); margin-bottom: 7px; }

/* =============================================================== payment */
.pay-card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow);
}
.pay-total {
  text-align: center; padding: 24px; background: var(--ink); color: var(--cream);
  border-radius: var(--radius-lg); margin-bottom: 24px;
}
.pay-total span { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.pay-total b { display: block; font-family: var(--font-display); font-size: clamp(36px, 7vw, 52px); font-weight: 600; margin-top: 6px; }
.pay-total b em { font-style: normal; font-size: .5em; }

.pay-tabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.pay-tab {
  padding: 10px 18px; border: 1px solid var(--line-soft); border-radius: var(--radius);
  font-size: 13.5px; font-weight: 500; transition: all .25s var(--ease); background: var(--white);
}
.pay-tab.on { border-color: var(--gold); background: var(--gold-grad); color: #221806; font-weight: 600; }

.qr-box {
  max-width: 330px; margin: 0 auto; padding: 18px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: center;
}
.qr-head {
  background: linear-gradient(180deg, #0A3D8F, #1157C2); color: #fff;
  border-radius: var(--radius) var(--radius) 0 0; padding: 10px; margin: -18px -18px 16px;
  font-weight: 700; letter-spacing: .14em; font-size: 13px;
}
.qr-box canvas, .qr-box svg { width: 100% !important; height: auto !important; max-width: 260px; margin: 0 auto; }
.qr-name { margin-top: 12px; font-size: 13.5px; color: var(--text-2); }
.qr-amt { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-top: 4px; }

.bank-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: var(--cream); border-radius: var(--radius); margin-bottom: 10px;
}
.bank-row div span { display: block; font-size: 11.5px; color: var(--muted); }
.bank-row div b { font-size: 16px; letter-spacing: .04em; }
.copy-btn { font-size: 12px; padding: 7px 13px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--white); font-weight: 600; color: var(--text-2); transition: all .2s; }
.copy-btn:hover { border-color: var(--gold); color: var(--gold-dk); }
.copy-btn.done { background: var(--ok); color: #fff; border-color: var(--ok); }

.upload-zone {
  border: 1.5px dashed var(--line); border-radius: var(--radius-lg); padding: 32px 20px;
  text-align: center; cursor: pointer; transition: all .25s var(--ease); background: var(--cream);
}
.upload-zone:hover, .upload-zone.drag { border-color: var(--gold); background: rgba(200,164,77,.08); }
.upload-zone svg { width: 38px; height: 38px; color: var(--gold-dk); margin: 0 auto 12px; }
.upload-zone b { display: block; font-size: 14.5px; }
.upload-zone span { font-size: 12.5px; color: var(--muted); }
.slip-preview { position: relative; max-width: 280px; margin: 0 auto; }
.slip-preview img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line-soft); }

/* =============================================================== timeline */
.timeline { display: grid; gap: 0; margin: 20px 0; }
.tl-step { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.tl-dot { display: flex; flex-direction: column; align-items: center; }
.tl-dot i {
  width: 13px; height: 13px; border-radius: 50%; background: var(--cream-2);
  border: 2px solid var(--line-soft); margin-top: 5px; flex-shrink: 0;
}
.tl-dot .bar { flex: 1; width: 2px; background: var(--line-soft); margin: 4px 0; min-height: 22px; }
.tl-step.done .tl-dot i { background: var(--gold-grad); border-color: var(--gold); }
.tl-step.done .tl-dot .bar { background: var(--gold); }
.tl-step.now .tl-dot i { background: var(--gold-grad); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,164,77,.22); }
.tl-body { padding-bottom: 22px; }
.tl-body b { font-size: 14.5px; }
.tl-body span { display: block; font-size: 12.5px; color: var(--muted); }
.tl-step:not(.done):not(.now) .tl-body b { color: var(--muted); font-weight: 400; }

/* ================================================================ success */
.success-mark {
  width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--gold-grad); display: grid; place-items: center;
  animation: pop .55s var(--ease) both;
}
.success-mark svg { width: 42px; height: 42px; color: #221806; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

.info-box {
  background: var(--cream); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 20px 22px;
}
.info-box.gold { background: rgba(200,164,77,.09); border-color: var(--line); }
.kv { display: grid; gap: 9px; }
.kv > div { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; }
.kv span { color: var(--muted); flex-shrink: 0; }
.kv b { font-weight: 500; text-align: right; }

/* ================================================================= footer */
.footer { background: var(--ink); color: var(--on-dark-2); padding: 60px 0 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.footer h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 16px; font-weight: 600; }
.footer a { transition: color .2s; font-size: 14px; }
.footer a:hover { color: var(--gold-lt); }
.footer ul { display: grid; gap: 9px; }
.footer p { font-size: 14px; line-height: 1.8; }
.brand-marks {
  display: flex; align-items: flex-end; gap: 26px; margin-bottom: 24px; flex-wrap: wrap;
}
.brand-marks img {
  height: 112px; width: auto; opacity: .96;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.brand-marks img:hover { opacity: 1; transform: translateY(-2px); }
@media (max-width: 720px) { .brand-marks { gap: 20px; } .brand-marks img { height: 88px; } }
.footer-bottom {
  border-top: 1px solid rgba(231,206,142,.14); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px;
}
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(231,206,142,.26); color: var(--gold-lt); transition: all .25s var(--ease);
}
.social a:hover { background: var(--gold-grad); color: #221806; border-color: transparent; }
.social svg { width: 18px; height: 18px; }

/* =============================================================== floating */
.fab-line {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; background: #06C755;
  display: grid; place-items: center; box-shadow: 0 8px 24px -6px rgba(6,199,85,.6);
  transition: transform .3s var(--ease);
}
.fab-line:hover { transform: scale(1.08); }
.fab-line svg { width: 30px; height: 30px; color: #fff; }

/* ================================================================== toast */
.toast-wrap { position: fixed; top: calc(var(--header-h) + 14px); right: 16px; z-index: 300; display: grid; gap: 8px; }
.toast {
  background: var(--ink); color: var(--cream); padding: 13px 18px; border-radius: var(--radius);
  font-size: 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  animation: slideIn .35s var(--ease) both; max-width: 340px;
  border-left: 3px solid var(--gold);
}
.toast.err { border-left-color: var(--err); }
.toast svg { width: 18px; height: 18px; color: var(--gold-lt); flex-shrink: 0; }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* ============================================================== skeleton */
.sk { background: linear-gradient(90deg, var(--cream-2) 25%, #F6EFE2 50%, var(--cream-2) 75%); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: var(--radius); }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.empty { text-align: center; padding: 70px 20px; }
.empty svg { width: 62px; height: 62px; color: var(--line); margin: 0 auto 18px; }
.empty h3 { font-family: var(--font-display); font-size: 25px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 22px; }

/* =============================================================== breadcrumb */
.crumb { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); padding: 18px 0; flex-wrap: wrap; }
.crumb a:hover { color: var(--gold-dk); }
.crumb i { font-style: normal; opacity: .5; }

/* ================================================================ layout */
.page { min-height: 60vh; }
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1080px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .nav { display: none; }
  .burger { display: grid; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { min-height: 300px; }
  .pdp { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid.rev > figure { order: 0; }
  .story figure img { aspect-ratio: 16/10; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
  .hero-slide::before { background: linear-gradient(180deg, rgba(11,9,8,.66) 0%, rgba(11,9,8,.70) 45%, rgba(11,9,8,.92) 100%); }
  .hero-copy h1, .hero-copy p { text-shadow: 0 1px 12px rgba(11,9,8,.5); }
  .hero-copy { max-width: 100%; text-align: center; padding-block: 48px; }
  .hero-copy p { margin-inline: auto; }
  .hero-slide img { object-position: center 22%; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .wrap { padding-inline: 16px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
  .prod-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .pcard-name { font-size: 13.5px; }
  .pcard-price b { font-size: 18px; }
  .pcard-quick { opacity: 1; transform: none; position: static; margin-top: 10px; }
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .brand img { height: 34px; }
  .brand-txt b { font-size: 16px; letter-spacing: .1em; }
  .brand-txt small { font-size: 8.5px; }
  .cart-item { grid-template-columns: 74px 1fr; gap: 12px; }
  .cart-item img { width: 74px; height: 74px; }
  .cart-item .price { grid-column: 2; text-align: right; font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding-top: 44px; }
  .toast-wrap { left: 16px; right: 16px; }
  .toast { max-width: none; }
  .gallery-thumbs button { width: 62px; height: 62px; }
  .pdp-price b { font-size: 32px; }
  .buy-bar { gap: 10px; }
  .buy-bar .btn { flex: 1; }
  .scent-meta { padding: 10px 14px; }
  .scent-meta b { font-size: 13px; }
  .fab-line { width: 48px; height: 48px; right: 14px; bottom: 14px; }
  .fab-line svg { width: 26px; height: 26px; }
}

@media (max-width: 400px) {
  .prod-grid, .prod-grid.cols-3 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .pay-tabs .pay-tab { flex: 1; text-align: center; padding: 10px 12px; font-size: 12.5px; }
  .bank-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .brand-txt small { display: none; }
}

/* sticky mobile buy bar on product page */
.mobile-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(252,250,246,.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-soft); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: none; gap: 10px; align-items: center;
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mobile-buy.show { transform: none; }
.mobile-buy .p { flex-shrink: 0; }
.mobile-buy .p span { display: block; font-size: 11px; color: var(--muted); }
.mobile-buy .p b { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
@media (max-width: 900px) { .mobile-buy { display: flex; } body.pdp-open { padding-bottom: 72px; } .fab-line { bottom: 82px; } }

@media print {
  .header, .footer, .fab-line, .mobile-buy, .announce, .toast-wrap { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================ language == */
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 11px;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  font-size: 13px; font-weight: 600; color: var(--text-2);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold-dk); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 120;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 150px; padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .22s var(--ease);
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a {
  display: block; padding: 9px 12px; border-radius: var(--radius);
  font-size: 14px; color: var(--text-2); transition: background .2s, color .2s;
}
.lang-menu a:hover { background: var(--cream-2); color: var(--espresso); }
.lang-menu a.on { color: var(--gold-dk); font-weight: 600; background: rgba(200,164,77,.1); }

/* inside the dark mobile drawer */
.lang-slot-drawer { display: block; padding: 12px 22px 4px; }
.lang-slot-drawer .lang-btn {
  width: 100%; justify-content: flex-start; height: 44px;
  border-color: rgba(231,206,142,.26); color: var(--on-dark);
}
.lang-slot-drawer .lang-btn:hover { border-color: var(--gold-lt); color: var(--gold-lt); }
.lang-slot-drawer .lang-menu { left: 22px; right: 22px; background: var(--ink-2); border-color: rgba(231,206,142,.2); }
.lang-slot-drawer .lang-menu a { color: var(--on-dark-2); }
.lang-slot-drawer .lang-menu a:hover { background: rgba(231,206,142,.1); color: var(--gold-lt); }
.lang-slot-drawer .lang-menu a.on { color: var(--gold-lt); background: rgba(231,206,142,.14); }

@media (max-width: 900px) { #langDesktop { display: none; } }
@media (min-width: 901px) { #langMobile { display: none; } }
