/* ============================================================
   Qimu Furniture lightweight independent site — shared stylesheet
   STRUCTURE-FIRST BUILD (2026-12-01).
   Visual theme lives in the :root tokens below; the benchmark
   visual pass (per Reed 2026-12-01 22:57) may restyle by editing
   tokens + component classes only — layout hooks stay stable.
   ============================================================ */

/* ---------- THEME TOKENS (visual pass: edit here) ---------- */
:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --surface-2: #efe9df;
  --ink: #221d17;
  --ink-2: #5d554a;
  --ink-3: #8d8272;
  --line: #ddd3c2;
  --gold: #a8842c;
  --gold-soft: #f0e4cf;
  --bronze: #7a4a1e;
  --price: #7a4a1e;
  --wa-green: #25d366;
  --wa-green-dark: #1da851;
  --hero-overlay: linear-gradient(180deg, rgba(18, 14, 10, .62) 0%, rgba(18, 14, 10, .45) 45%, rgba(18, 14, 10, .72) 100%);
  --shadow: 0 1px 2px rgba(34, 29, 23, .06), 0 8px 24px rgba(34, 29, 23, .08);
  --shadow-lg: 0 2px 6px rgba(34, 29, 23, .08), 0 18px 44px rgba(34, 29, 23, .14);
  --radius: 14px;
  --radius-sm: 9px;
  --header-h: 64px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(.22, .9, .3, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171310;
    --surface: #221d18;
    --surface-2: #2b251e;
    --ink: #f1eadd;
    --ink-2: #b6ab96;
    --ink-3: #857a66;
    --line: #3a332a;
    --gold: #d2a24e;
    --gold-soft: #3a2d1b;
    --bronze: #d29a55;
    --price: #e0aa63;
    --hero-overlay: linear-gradient(180deg, rgba(10, 8, 6, .66) 0%, rgba(10, 8, 6, .5) 45%, rgba(10, 8, 6, .78) 100%);
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .4);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 18px 44px rgba(0, 0, 0, .5);
  }
}

/* ---------- BASE ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); line-height: 1.55;
}
img, video { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.alt { background: var(--surface); }
.eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin: 0 0 10px;
}
.h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
.lede { color: var(--ink-2); font-size: 17px; max-width: 640px; margin: 0 0 8px; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; color: var(--ink-3); }

/* ---------- MOTION (dynamic layer; hooks stable) ---------- */
@keyframes kenburns { from { transform: scale(1) translateY(0); } to { transform: scale(1.12) translateY(-1.5%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-in { max-width: 1180px; margin: 0 auto; padding: 0 20px; height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .04em; }
.brand img { width: 38px; height: 38px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.brand b { font-size: 17px; }
.brand span { display: block; font-size: 10px; letter-spacing: .22em; color: var(--gold); font-weight: 700; }
.main-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.main-nav a {
  text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--surface-2); color: var(--ink); }
.main-nav a.active { background: var(--ink); color: var(--bg); }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  border: 0; background: transparent; padding: 6px 10px; font-size: 13px; cursor: pointer; color: var(--ink-2);
}
.lang-switch button.on { background: var(--ink); color: var(--bg); }
.menu-btn { display: none; margin-inline-start: auto; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; padding: 7px 11px; cursor: pointer; }
@media (max-width: 860px) {
  .main-nav {
    display: none; position: absolute; top: var(--header-h); inset-inline: 0;
    background: var(--surface); flex-direction: column; padding: 10px 20px 16px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 12px; font-size: 16px; }
  .menu-btn { display: block; }
  .lang-switch { margin-inline-start: auto; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer;
  border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 15px; border: 1px solid transparent;
  transition: transform .2s var(--ease-out), box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(135deg, #c9a24b, #a8842c); color: #fff; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-wa { background: var(--wa-green); color: #fff; }
.btn-wa:hover { background: var(--wa-green-dark); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; animation: kenburns 24s ease-in-out infinite alternate; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero-in { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto; padding: 90px 20px 54px; }
.hero-badge {
  display: inline-flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em;
}
.hero h1 { font-size: clamp(34px, 6vw, 62px); line-height: 1.06; margin: 18px 0 14px; letter-spacing: -.015em; max-width: 760px; }
.hero h1 .gold { color: #e8c268; }
.hero p.sub { font-size: clamp(16px, 2.2vw, 20px); color: rgba(255, 255, 255, .88); max-width: 640px; margin: 0 0 22px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-price-strip { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .25); }
.hero-price-strip .stat b { display: block; font-size: 26px; letter-spacing: -.01em; }
.hero-price-strip .stat span { font-size: 13px; color: rgba(255, 255, 255, .75); }
.hero-price-strip .stat .strike { text-decoration: line-through; opacity: .65; font-size: 15px; }
@media (max-width: 640px) {
  .hero { min-height: 78vh; }
  .hero-media img { object-position: center 30%; }
  .hero-price-strip { gap: 16px; }
  .hero-price-strip .stat b { font-size: 20px; }
}

/* ---------- PRODUCT CARDS ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; gap: 16px; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); display: block; }
.card:hover .card-media img { transform: scale(1.06); }
.card-badge {
  position: absolute; top: 10px; inset-inline-start: 10px; background: var(--ink); color: var(--bg);
  font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; letter-spacing: .03em;
}
.card-badge.gold { background: linear-gradient(135deg, #c9a24b, #a8842c); color: #fff; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-price { font-size: 21px; font-weight: 800; color: var(--price); line-height: 1.1; }
.card-price small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.card-name { font-weight: 700; font-size: 15.5px; }
.card-spec { font-size: 13px; color: var(--ink-2); }
.card-cat { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.card-cta { margin-top: auto; padding-top: 10px; }
.link-arrow { font-weight: 700; font-size: 14px; color: var(--bronze); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- BUNDLE / FEATURE BANDS ---------- */
.band {
  border-radius: 18px; overflow: hidden; position: relative;
  background: linear-gradient(120deg, #241c12 0%, #4a3419 55%, #6b4d1f 100%);
  color: #f6efe2; padding: 40px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center;
}
.band h3 { margin: 0 0 8px; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; }
.band p { color: rgba(246, 239, 226, .82); margin: 0 0 16px; }
.band-price { font-size: clamp(38px, 6vw, 54px); font-weight: 800; color: #e8c268; line-height: 1; }
.band-price small { font-size: 15px; color: rgba(246, 239, 226, .75); font-weight: 600; }
.band-math { font-size: 14.5px; color: rgba(246, 239, 226, .85); line-height: 1.9; border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 12px; margin-top: 14px; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 28px 22px; } }

/* ---------- CATEGORY TILES ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none;
  min-height: 220px; display: flex; align-items: flex-end; box-shadow: var(--shadow);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(15, 11, 8, .78)); }
.cat-tile div { position: relative; z-index: 2; padding: 20px; color: #fff; }
.cat-tile b { font-size: 21px; display: block; }
.cat-tile span { font-size: 14px; opacity: .85; }

/* ---------- WHY / TRUST ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); }
.why-cell .ico { font-size: 26px; }
.why-cell b { display: block; margin: 10px 0 4px; font-size: 16px; }
.why-cell p { margin: 0; font-size: 14px; color: var(--ink-2); }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
@media (max-width: 820px) { .trust { grid-template-columns: 1fr; } }
.trust img.logo-card { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; font-size: 15px; }
.check-list li::before { content: "✓"; color: var(--gold); font-weight: 800; }

/* ---------- VIDEO ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .video-grid { grid-template-columns: 1fr; } }
.video-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-card video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #000; }
.video-card div { padding: 12px 14px; font-size: 14px; }
.video-card b { display: block; font-size: 14.5px; }

/* ---------- PRODUCT DETAIL ---------- */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; padding: 34px 0 60px; align-items: start; }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; } }
.pd-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); box-shadow: var(--shadow); }
.pd-main img, .pd-main video { width: 100%; display: block; aspect-ratio: 4 / 3.4; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumbs img { width: 84px; height: 70px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; flex: none; }
.pd-thumbs img.on { border-color: var(--gold); }
.pd-price { font-size: 34px; font-weight: 800; color: var(--price); }
.pd-price small { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.size-btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.size-btns button {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 9px 16px; cursor: pointer; font-weight: 600; transition: all .2s;
}
.size-btns button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; }
.spec-table td { padding: 9px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table td:first-child { color: var(--ink-3); width: 110px; }

/* ---------- FORM ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); max-width: 720px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field label span { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 13px; background: var(--bg); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
@media (max-width: 600px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--surface); box-shadow: var(--shadow); }
.contact-card b { display: block; font-size: 16px; margin-bottom: 4px; }

/* ---------- FOOTER ---------- */
.site-footer { background: #1d1813; color: #cfc5b2; margin-top: 40px; }
.site-footer a { color: #efe7d6; }
.footer-in { max-width: 1180px; margin: 0 auto; padding: 44px 20px 26px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr; } }
.site-footer h4 { color: #f3ede3; margin: 0 0 12px; font-size: 15px; letter-spacing: .06em; }
.site-footer p, .site-footer li { font-size: 14px; line-height: 1.7; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 20px; text-align: center; font-size: 12.5px; color: #9a8f7c; }

/* ---------- FLOATING WHATSAPP ---------- */
.wa-float {
  position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 60;
  display: flex; align-items: center; gap: 9px; background: var(--wa-green); color: #fff;
  text-decoration: none; font-weight: 700; padding: 12px 18px; border-radius: 999px;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .45); animation: floaty 3.2s ease-in-out infinite;
  transition: background .2s;
}
.wa-float:hover { background: var(--wa-green-dark); }

/* ---------- RTL ---------- */
[dir="rtl"] .hero h1, [dir="rtl"] .h2 { letter-spacing: 0; }
[dir="rtl"] .eyebrow { letter-spacing: 0; }

/* ---------- BENCHMARK COMPONENTS (report 2026-12-01) ---------- */
/* Card: name + FOB + FOB note + tag (no compare prices) */
.card-name a { color: inherit; text-decoration: none; }
.card-name a:hover { text-decoration: underline; }
.card-cta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-add {
  border: 1px solid var(--line); background: var(--surface-2); border-radius: 999px;
  padding: 6px 11px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all .2s;
}
.card-add:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Product detail: spec cards, trust bar */
.spec-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 8px 0 18px; }
@media (max-width: 760px) { .spec-cards { grid-template-columns: 1fr; } }
.spec-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.spec-card span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 6px; }
.spec-card b { font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.trustbar {
  display: flex; gap: 10px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 16px; margin-bottom: 26px; font-size: 14px; box-shadow: var(--shadow);
}
.trustbar span { display: inline-flex; gap: 6px; align-items: baseline; }
.trustbar span + span { border-inline-start: 1px solid var(--line); padding-inline-start: 12px; }
.pd-thumb { position: relative; display: block; cursor: pointer; flex: none; }
.pd-thumb img { width: 84px; height: 70px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; display: block; }
.pd-thumb.on img { border-color: var(--gold); }
.pd-thumb em {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-style: normal; color: #fff; font-size: 20px; text-shadow: 0 1px 6px rgba(0, 0, 0, .7);
}

/* Configurator (Burrow/Floyd pattern) */
.cfg { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); margin-top: 8px; }
.cfg h2 { margin: 0 0 18px; font-size: 22px; }
.cfg-step { margin-bottom: 18px; }
/* cfg-step title is now <summary>; styled in the Qimu additions below */
.cfg-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cfg-chips button {
  border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 9px 15px;
  cursor: pointer; font-weight: 600; font-size: 14px; transition: all .2s;
}
.cfg-chips button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cfg-chips button:hover { border-color: var(--ink); }
.qty { display: flex; align-items: center; gap: 12px; }
.qty button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg);
  font-size: 19px; cursor: pointer; transition: all .2s;
}
.qty button:hover { background: var(--ink); color: var(--bg); }
.qty b { font-size: 22px; min-width: 34px; text-align: center; }
.qty-note { font-size: 13.5px; color: var(--ink-2); }
.qty-note.ok { color: #1d7a3a; font-weight: 700; }
.cfg-total {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px;
}
.cfg-total span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.cfg-total b { font-size: 30px; color: var(--price); }
.cfg-total small { color: var(--ink-2); font-size: 13px; margin-inline-start: 6px; }
.cfg-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.disabled { opacity: .45; pointer-events: none; }

/* Lightbox */
.th-lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(12, 9, 6, .92);
  display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out;
}
.th-lightbox.open { display: flex; }
.th-lightbox img { max-width: 96vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.th-lightbox button {
  position: absolute; top: 16px; inset-inline-end: 18px; background: rgba(255, 255, 255, .16); color: #fff;
  border: 0; font-size: 30px; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
}

/* Inquiry list (replaces cart) */
.inq-float {
  position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 60;
  display: none; align-items: center; gap: 8px; background: var(--ink); color: var(--bg);
  border: 0; font-weight: 700; padding: 12px 18px; border-radius: 999px; cursor: pointer;
  box-shadow: var(--shadow-lg);
}
.inq-drawer {
  position: fixed; inset: 0; z-index: 90; background: rgba(12, 9, 6, .55);
  display: none; align-items: flex-end; justify-content: center;
}
.inq-drawer.open { display: flex; }
.inq-drawer-card {
  background: var(--surface); width: 100%; max-width: 620px; max-height: 82vh; overflow: auto;
  border-radius: 18px 18px 0 0; padding: 20px 22px 26px; box-shadow: var(--shadow-lg);
}
.inq-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.inq-drawer-head b { font-size: 18px; }
.inq-drawer-head button { border: 0; background: transparent; font-size: 26px; cursor: pointer; line-height: 1; }
.inq-line {
  display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.inq-line span { flex: 1; }
.inq-line button { border: 0; background: transparent; font-size: 19px; cursor: pointer; color: var(--ink-3); }
.inq-drawer-foot { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* How it works: 3 steps (Floyd pattern) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow); position: relative;
}
.step i {
  font-style: normal; font-size: 40px; font-weight: 800; color: var(--gold-soft);
  -webkit-text-stroke: 1px var(--gold); display: block; line-height: 1; margin-bottom: 12px;
}
.step b { display: block; font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* Bundle builder + tiers */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
@media (max-width: 820px) { .tier-grid { grid-template-columns: 1fr; } }
.tier-card {
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 22px; cursor: pointer; text-align: start; transition: all .25s var(--ease-out); box-shadow: var(--shadow);
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier-card.on { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft), var(--shadow-lg); }
.tier-card b { font-size: 17px; display: block; }
.tier-card .tier-price { font-size: 30px; font-weight: 800; color: var(--price); margin: 8px 0 4px; }
.tier-card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.bundle-builder { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.bundle-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
@media (max-width: 760px) { .bundle-rows { grid-template-columns: 1fr; } }
.bundle-rows label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 7px; }
.bundle-rows select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 12px; background: var(--bg);
}
.bundle-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; }
.bundle-foot span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.bundle-foot b { font-size: 32px; color: var(--price); }
.bundle-foot small { color: var(--ink-2); }

/* Shop the look */
.shop-look { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.shop-look img.scene { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 62%; }
.hotspot {
  position: absolute; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .94); color: var(--ink); font-weight: 800; font-size: 17px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .35); transition: transform .2s;
}
.hotspot:hover { transform: scale(1.18); }
.hotspot .tip {
  position: absolute; bottom: 42px; inset-inline-start: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600; white-space: nowrap;
  padding: 8px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.hotspot:hover .tip, .hotspot:focus .tip { opacity: 1; }
[dir="rtl"] .hotspot .tip { transform: translateX(50%); }
.shop-look-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 18px 18px;
  padding: 16px 20px;
}

/* Trade / hotels zone */
.trade-zone {
  border-radius: 18px; background: var(--ink); color: #f3ede3; padding: 38px;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 26px; align-items: center;
}
@media (max-width: 820px) { .trade-zone { grid-template-columns: 1fr; padding: 28px 22px; } }
.trade-zone h3 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 28px); color: #fff; }
.trade-zone p { color: rgba(243, 237, 227, .82); margin: 0 0 14px; }
.trade-zone ul { margin: 0 0 18px; padding-inline-start: 18px; color: rgba(243, 237, 227, .88); display: grid; gap: 6px; font-size: 14.5px; }

/* ============================================================
   QIMU ADDITIONS (2026-12-01: rebrand + verified patterns + mobile)
   ============================================================ */
/* Hero FOB note */
.hero-fobnote { font-size: 13px; color: rgba(255, 255, 255, .72); margin: 16px 0 0; max-width: 640px; }
.hero-trust { font-size: 13.5px; color: #f6e7c1; margin: 10px 0 0; max-width: 640px; line-height: 1.55; }
.guide-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.guide-teaser a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease; }
.guide-teaser a:hover { transform: translateY(-2px); border-color: var(--gold); }
.guide-teaser b { display: block; font-size: 15px; margin-bottom: 6px; }
.guide-teaser span { font-size: 13px; color: var(--gold); font-weight: 700; }
.guide-faq details { scroll-margin-top: 90px; }
/* Pillars strip (reuses .why-grid / .why-cell) */
.pillars { padding-top: 44px; padding-bottom: 44px; }
/* Video strip (muted autoplay hero video) */
.video-strip { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 8px; }
.video-strip video { width: 100%; display: block; aspect-ratio: 21 / 8; object-fit: cover; background: #000; }
.video-strip-cap { position: absolute; left: 18px; bottom: 14px; background: rgba(12, 9, 6, .72); color: #fff; padding: 9px 14px; border-radius: 10px; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.video-strip-cap b { font-size: 15px; }
/* Card: FOB note, hover alt, dots, fav, counter */
.card-media a { display: block; height: 100%; }
.card-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--ease-out); }
.card:hover .card-alt { opacity: 1; }
.card-fob { font-size: 12px; color: var(--ink-3); }
.card-dots { display: flex; gap: 7px; align-items: center; margin-top: 6px; }
.card-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface-2); cursor: pointer; padding: 0; transition: border-color .2s, transform .2s; }
.card-dot:hover { transform: scale(1.15); }
.card-dot.on { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }
.card-more { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.card-fav { position: absolute; top: 10px; inset-inline-end: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); transition: transform .2s, color .2s; }
.card-fav:hover { transform: scale(1.12); }
.card-fav.on { color: #c0392b; }
.card-count { position: absolute; bottom: 10px; inset-inline-end: 10px; background: rgba(12, 9, 6, .72); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; display: none; }
@media (max-width: 640px) { .card-count { display: block; } }
/* Detail collapsible sections (Burrow / Article pattern) */
.det-list { margin: 8px 0 26px; display: grid; gap: 10px; }
.det-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); }
.det-list summary { font-weight: 800; font-size: 15px; cursor: pointer; list-style: none; }
.det-list summary::-webkit-details-marker { display: none; }
.det-list summary::after { content: "+"; float: inline-end; color: var(--gold); font-size: 18px; line-height: 1; }
.det-list details[open ] summary::after { content: "\2212"; }
.det-list p { margin: 10px 0 2px; font-size: 14.5px; color: var(--ink-2); }
/* Pair card ("Complete the set", Article Bundle pattern, mobile form) */
.bundle-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow); margin: 8px 0 26px; }
.bundle-card h3 { margin: 0 0 14px; font-size: 19px; }
.bundle-card-rows { display: flex; align-items: center; gap: 14px; }
.bundle-card-rows > div { flex: 1; text-align: center; }
.bundle-card-rows img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.bundle-card-rows span { display: block; font-size: 13.5px; font-weight: 700; margin-top: 8px; }
.bundle-card-rows b { color: var(--price); }
.bundle-card-rows em { font-style: normal; font-size: 22px; font-weight: 800; color: var(--ink-3); }
.bundle-card p { margin: 12px 0 0; }
/* Sticky bottom bar (Burrow mobile pattern) */
.pd-stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; gap: 14px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 26px rgba(34, 29, 23, .12); padding: 10px 20px; }
.pd-sticky-name { font-weight: 700; font-size: 15px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-sticky-price { font-size: 20px; font-weight: 800; color: var(--price); }
.pd-stickybar .btn { padding: 10px 18px; }
body.has-stickybar { padding-bottom: 64px; }
body.has-stickybar .wa-float { bottom: 84px; }
body.has-stickybar .inq-float { bottom: 84px; }
/* Configurator <details> steps (Floyd mobile: collapsible rows) */
.cfg-step summary { font-weight: 800; font-size: 14px; letter-spacing: .04em; margin-bottom: 9px; cursor: pointer; list-style: none; }
.cfg-step summary::-webkit-details-marker { display: none; }
.cfg-step summary::after { content: "\25be"; float: inline-end; color: var(--ink-3); }
.cfg-step[open ] summary::after { content: "\25b4"; }
/* Bundle preview + extras (room builder) */
.bundle-preview { display: flex; gap: 10px; margin-bottom: 18px; }
.bundle-preview img { width: 96px; height: 78px; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); }
.bundle-preview-name { display: inline-flex; align-items: center; padding: 0 12px; height: 78px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); font-size: 13px; font-weight: 700; }
.room-add { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.room-add select { flex: 1; min-width: 200px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--bg); }
.room-extras { display: grid; gap: 8px; margin-bottom: 12px; }
.room-line { display: flex; align-items: center; gap: 10px; font-size: 14.5px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 12px; }
.room-line span { flex: 1; }
.room-line button { border: 0; background: transparent; font-size: 18px; cursor: pointer; color: var(--ink-3); }
.tier-meta { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; }
/* Shop the look: 21/8 scene crop */
.shop-look img.scene { aspect-ratio: 21 / 8; }
/* Consent + legal + cookie */
.consent { display: grid; gap: 10px; margin: 18px 0 6px; font-size: 14px; }
.consent label { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--gold); }
.legal h3 { margin: 26px 0 8px; font-size: 18px; }
.legal p { color: var(--ink-2); font-size: 15px; }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 13px 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 13.5px; }
.cookie-banner button { border: 0; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 8px 16px; font-weight: 700; cursor: pointer; margin-inline-start: auto; }
/* Lightbox (Castlery pattern: counter + arrows + thumbs) */
.th-lightbox { flex-direction: column; gap: 12px; padding: 16px; cursor: default; }
.th-lightbox.open { display: flex; }
.th-lightbox button { position: static; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 980px; }
.lb-count { color: #fff; font-weight: 700; font-size: 14px; }
#lb-close { background: rgba(255, 255, 255, .16); color: #fff; border: 0; font-size: 28px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; width: 100%; }
.lb-stage img, .lb-stage video { max-width: 96vw; max-height: 62vh; object-fit: contain; border-radius: 8px; background: #000; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .16); color: #fff; border: 0; font-size: 34px; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; line-height: 1; }
.lb-prev { inset-inline-start: 14px; }
.lb-next { inset-inline-end: 14px; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; max-width: 980px; padding-bottom: 4px; }
.lb-thumb { flex: none; border: 2px solid transparent; border-radius: 8px; overflow: hidden; padding: 0; background: transparent; cursor: pointer; position: relative; }
.lb-thumb img { width: 72px; height: 56px; object-fit: cover; display: block; }
.lb-thumb.on { border-color: var(--gold); }
.lb-thumb em { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-style: normal; color: #fff; font-size: 16px; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }

/* ---------- MOBILE (390x844 verified 2026-12-01) ----------
   Single-column full-width list cards; swipe gallery with 1/N counter;
   sticky WhatsApp bar; Floyd-style collapsible configurator; preset
   bundle combos (tiers) + add-pieces; NO subscription popup, NO
   marquee promo bar, NO 2D drag canvas on mobile. */
@media (max-width: 640px) {
  .card-media { aspect-ratio: 4 / 3; }
  .card-dots { overflow-x: auto; padding-bottom: 2px; }
  .pd-stickybar { padding: 10px 14px; gap: 10px; }
  .pd-sticky-name { display: none; }
  .pd-stickybar .btn { flex: 1; justify-content: center; }
  .shop-look img.scene { aspect-ratio: 16 / 10; object-position: center 60%; }
  .video-strip video { aspect-ratio: 16 / 9; }
  .video-strip-cap { left: 10px; bottom: 10px; font-size: 12.5px; }
  .room-add { flex-direction: column; align-items: stretch; }
  .room-add select { min-width: 0; }
  .bundle-preview img { width: 76px; height: 62px; }
  .cfg-total b { font-size: 26px; }
  .cfg-actions { width: 100%; }
  .cfg-actions .btn { flex: 1; justify-content: center; }
  .bundle-card-rows { gap: 8px; }
  .lb-prev, .lb-next { width: 40px; height: 40px; font-size: 28px; }
  .lb-stage img, .lb-stage video { max-height: 56vh; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .hero-price-strip { gap: 14px; }
  .tier-card .tier-price { font-size: 26px; }
  .bundle-foot b { font-size: 26px; }
}
