/* YTElantivo storefront v2. Mobile first. Three style directions share one structure; [data-dir] sets the tokens and the hero composition.
   Palette is derived from the logo's bronze (#947559) and charcoal (#232323). Spacing scale: 4 8 12 16 24 32 48 64 96. */

/* ---------- tokens ---------- */
:root, [data-dir="B"] {
  --primary: #7A5E44; --primary-ink: #FFFFFF; --secondary: #232323; --accent: #C9A98A;
  --bg: #FFFFFF; --surface: #F6F3EE; --surface-2: #ECE6DC;
  --text: #232323; --text-2: #5C5852; --border: #DDD6CC;
  --hover: #5F4833; --focus: #1F5FBF; --disabled: #B9B2A8;
  --dark: #232323; --dark-2: #2F2C29; --on-dark: #FFFFFF; --on-dark-2: #CFC7BD; --accent-on-dark: #C9A98A;
  --font-h: Montserrat, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-b: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --h-weight: 800; --h-spacing: 0; --radius: 2px; --sec: 48px; --sec-lg: 96px;
  --room-wall: #F1ECE4; --room-floor: #DDD6CC; --room-base: #D2CABD; --room-window: #DCE7EA;
}
[data-dir="A"] {
  --primary: #A9531D; --primary-ink: #FFFFFF; --secondary: #17252B; --accent: #F0A63C;
  --bg: #FFFFFF; --surface: #F4F1EB; --surface-2: #FBE8CF;
  --text: #17191A; --text-2: #4F5355; --border: #DEDAD2;
  --hover: #843F14; --focus: #1F5FBF; --disabled: #BDB8AF;
  --dark: #17252B; --dark-2: #223239; --on-dark: #FFFFFF; --on-dark-2: #C6D0D3; --accent-on-dark: #F0A63C;
  --h-weight: 900; --radius: 0px;
  --room-wall: #FBF5EA; --room-floor: #E4DFD4; --room-base: #D8D2C6; --room-window: #D9EDF1;
}
[data-dir="C"] {
  --primary: #3D3026; --primary-ink: #FFFFFF; --secondary: #6B5847; --accent: #A88C6C;
  --bg: #F3EFE8; --surface: #E9E3D9; --surface-2: #DDD5C8;
  --text: #2A2521; --text-2: #5A5148; --border: #CFC6B7;
  --hover: #2A2019; --focus: #1F5FBF; --disabled: #B3A99A;
  --dark: #2A2521; --dark-2: #362F29; --on-dark: #F3EFE8; --on-dark-2: #CFC6B7; --accent-on-dark: #C9B08F;
  --font-h: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --h-weight: 500; --h-spacing: .02em; --radius: 0px; --sec: 64px; --sec-lg: 128px;
  --room-wall: #E6DFD3; --room-floor: #CFC6B7; --room-base: #C3B9A9; --room-window: #D5DCDB;
}
:root {
  --max: 1320px; --gut: 16px;
  --h1: clamp(34px, 5.2vw, 60px); --h2: clamp(26px, 3.2vw, 42px); --h3: clamp(20px, 2vw, 26px);
  --body: 16px; --cap: 13px; --price: clamp(26px, 2.6vw, 32px); --spec: 15px;
  --reviewbar: 36px; --header: 56px;
}
@media (min-width: 768px) { :root { --gut: 32px; --header: 72px; } }
@media (min-width: 1200px) { :root { --gut: 48px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--body)/1.7 var(--font-b); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-h); font-weight: var(--h-weight); letter-spacing: var(--h-spacing); line-height: 1.25; }
h1 { font-size: var(--h1); line-height: 1.16; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.35; }
h4 { font-size: 16px; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--bg); padding: 8px 16px; }
.skip:focus { left: 8px; top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); position: relative; }
@media (min-width: 1024px) { .sec { padding-block: var(--sec-lg); } }
.sec.tight { padding-top: 0; }
.band { background: var(--surface); }
.band-dark { background: var(--dark); color: var(--on-dark); }
.band-dark .muted, .band-dark p.lead { color: var(--on-dark-2); }
.band-dark .eyebrow { color: var(--accent-on-dark); }
.muted { color: var(--text-2); }
.cap { font-size: var(--cap); line-height: 1.55; color: var(--text-2); }
.band-dark .cap { color: var(--on-dark-2); }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--text-2); line-height: 1.75; }
.eyebrow { font: 700 13px/1.4 var(--font-b); color: var(--primary); letter-spacing: .12em; margin-bottom: 12px; display: block; }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.sec-head .lead { max-width: 640px; }
.sec-head .link { align-self: flex-start; }
@media (min-width: 768px) { .sec-head .link { align-self: auto; } .sec-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 48px; } .sec-head > div { max-width: 760px; } }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--primary); border-bottom: 1px solid currentColor; padding-bottom: 2px; line-height: 1.5; white-space: nowrap; }
.link:hover { color: var(--hover); }
.band-dark .link { color: var(--accent-on-dark); }
.grid { display: grid; gap: 24px; }
.g2, .g3, .g4 { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .g2, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g2.lg { gap: 48px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; background: var(--primary); color: var(--primary-ink); border: 1px solid var(--primary); border-radius: var(--radius); font-weight: 600; line-height: 1.3; text-align: center; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--hover); border-color: var(--hover); }
.btn.sec { background: transparent; color: var(--text); border-color: var(--text); }
.btn.sec:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.text { background: none; border-color: transparent; color: var(--primary); padding-inline: 8px; }
.btn.text:hover { color: var(--hover); text-decoration: underline; }
.btn.on-dark { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.btn.on-dark:hover { background: var(--accent-on-dark); border-color: var(--accent-on-dark); color: var(--dark); }
.btn.sec.on-dark { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.btn.sec.on-dark:hover { background: var(--on-dark); color: var(--dark); }
.btn[disabled], .btn.is-disabled { background: var(--disabled); border-color: var(--disabled); color: #fff; cursor: not-allowed; }
.btn.sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn.full { width: 100%; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--primary-ink); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- tags ---------- */
.tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; line-height: 1.4; padding: 2px 8px; border: 1px solid var(--border); color: var(--text-2); background: var(--bg); border-radius: var(--radius); }
.tag.pend { border-style: dashed; border-color: #A87A1B; color: #7A5600; background: #FFFBF0; }
.tag.conflict { border-color: #B8541F; color: #8A3B10; background: #FFF3EA; }
.tag.claim { border-color: var(--border); color: var(--text-2); background: var(--surface); }
.tag.concept { border-color: var(--text-2); color: var(--text-2); background: var(--bg); }
.tag.no-sale { border-color: #8A8378; color: #5C5852; background: var(--surface-2); }
.src { font-size: 12px; color: var(--text-2); line-height: 1.5; }

/* ---------- review bar (design review only, not part of the store) ---------- */
.reviewbar { background: #111; color: #EDEDED; font-size: 12.5px; line-height: 1.4; min-height: var(--reviewbar); display: flex; align-items: center; }
.reviewbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 4px; }
.reviewbar b { color: #fff; font-weight: 600; }
.rb-note { display: none; }
@media (min-width: 900px) { .rb-note { display: inline; } }
.rb-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.rb-dir { display: flex; }
.rb-dir button { padding: 4px 8px; min-height: 28px; color: #ccc; border: 1px solid #444; margin-left: -1px; font-size: 12.5px; line-height: 1; white-space: nowrap; }
.rb-dir button[aria-pressed="true"] { background: #fff; color: #111; border-color: #fff; position: relative; }
.rb-toggle, .rb-link { padding: 4px 8px; min-height: 28px; border: 1px solid #444; color: #eee; display: inline-flex; align-items: center; font-size: 12.5px; line-height: 1; white-space: nowrap; }
.rb-toggle[aria-pressed="true"] { background: #FEB81B; border-color: #FEB81B; color: #111; }
.rb-link { background: #2b2b2b; }
.dir-long { display: none; }
@media (min-width: 620px) { .dir-long { display: inline; } }
html.embed .reviewbar { display: none; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--border); }
.site-head .wrap { display: flex; align-items: center; height: var(--header); gap: 8px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 32px; width: auto; }
@media (min-width: 768px) { .logo img { height: 44px; } }
.mainnav { display: none; margin-left: 32px; align-items: stretch; height: 100%; gap: 4px; }
.mainnav > * { display: flex; align-items: center; }
.mainnav a.top { padding: 8px 12px; font-weight: 500; font-size: 15px; white-space: nowrap; }
.mainnav a.top:hover, .mainnav a.top[aria-current="page"] { color: var(--primary); }
.mainnav a.top[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--primary); }
.has-mega { position: relative; }
.mega { display: none; position: absolute; left: 0; top: 100%; width: 560px; background: var(--bg); border: 1px solid var(--border); padding: 12px; grid-template-columns: 1fr 1fr; gap: 4px; box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.has-mega:hover .mega, .has-mega:focus-within .mega { display: grid; }
.mega a { display: flex; gap: 12px; padding: 8px; align-items: center; }
.mega a:hover { background: var(--surface); }
.mega img { width: 72px; height: 54px; object-fit: cover; flex: none; }
.mega b { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.mega small { font-size: 12px; color: var(--text-2); line-height: 1.4; display: block; }
@media (min-width: 1040px) { .mainnav { display: flex; } }
.head-tools { margin-left: auto; display: flex; align-items: center; gap: 0; }
.iconbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; position: relative; }
.iconbtn:hover { color: var(--primary); }
.iconbtn svg { width: 22px; height: 22px; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--primary); color: var(--primary-ink); font-size: 11px; line-height: 18px; text-align: center; padding-inline: 4px; font-weight: 700; }
.badge:empty { display: none; }
.menu-btn { display: inline-flex; }
@media (min-width: 1040px) { .menu-btn { display: none; } }

/* ---------- footer ---------- */
.site-foot { background: var(--dark); color: var(--on-dark-2); font-size: 14px; }
.site-foot .wrap { padding-block: 48px 24px; }
@media (min-width: 1024px) { .site-foot .wrap { padding-block: 64px 32px; } }
.foot-top { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-brand { grid-column: 1 / -1; }
.foot-brand img { height: 36px; width: auto; }
.foot-brand p { margin-top: 16px; color: var(--on-dark); font-family: var(--font-h); font-weight: var(--h-weight); font-size: 18px; line-height: 1.45; max-width: 340px; }
@media (min-width: 1100px) { .foot-top { grid-template-columns: 2fr repeat(5, minmax(0, 1fr)); } .foot-brand { grid-column: auto; } }
.foot-col h3 { font: 700 13px/1.4 var(--font-b); color: var(--on-dark); margin-bottom: 12px; letter-spacing: .06em; }
.foot-col a { display: block; padding: 6px 0; line-height: 1.5; }
.foot-col a:hover { color: var(--on-dark); text-decoration: underline; }
.foot-sc { display: flex; gap: 12px; align-items: center; padding-block: 16px; margin-top: 32px; border-top: 1px solid rgba(255,255,255,.14); flex-wrap: wrap; }
.foot-sc img { width: 28px; height: 28px; }
.foot-sc a { text-decoration: underline; }
.foot-legal { font-size: 12.5px; line-height: 1.7; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.foot-legal a { text-decoration: underline; }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--bg); }
.hero-copy { padding: 32px var(--gut) 24px; position: relative; z-index: 2; }
.hero-copy h1 { margin-bottom: 16px; }
.hero-copy h1 span { display: block; }
.hero-copy .lead { margin-bottom: 24px; max-width: 520px; }
.hero-copy .actions .btn { flex: 1 1 auto; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 24px; font-size: 14px; color: var(--text-2); }
.hero-tags a { display: inline-flex; gap: 8px; padding: 4px 0; align-items: baseline; }
.hero-tags a b { color: var(--primary); font-family: var(--font-h); font-size: 12px; font-weight: 700; }
.hero-tags a:hover { color: var(--text); text-decoration: underline; }
.hero-img { margin: 0; position: relative; }
.hero-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.hero-img figcaption { font-size: 12px; color: var(--text-2); padding: 8px var(--gut) 0; line-height: 1.5; }
@media (min-width: 900px) {
  [data-dir="B"] .hero, html:not([data-dir]) .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(720px, calc(100vh - var(--header) - var(--reviewbar))); }
  [data-dir="B"] .hero-copy { align-self: center; padding: 48px 32px 48px max(var(--gut), calc((100vw - var(--max)) / 2)); }
  html[lang="en"][data-dir="B"] .hero-copy h1 { font-size: clamp(38px, 3.4vw, 50px); }
  [data-dir="B"] .hero-copy .actions .btn { flex: 0 0 auto; }
  [data-dir="B"] .hero-img { display: flex; flex-direction: column; min-height: 0; }
  [data-dir="B"] .hero-img img { flex: 1; aspect-ratio: auto; height: 100%; min-height: 0; object-position: 58% 50%; }
  [data-dir="B"] .hero-img figcaption { padding: 8px var(--gut) 8px 0; }
}
/* A: big type first, image pulled up under it, one bright block */
[data-dir="A"] .hero-copy { background: var(--surface-2); }
[data-dir="A"] .hero-copy h1 { font-size: clamp(36px, 5.6vw, 64px); }
[data-dir="A"] .hero-copy h1 span:last-child { color: var(--primary); }
@media (min-width: 900px) {
  [data-dir="A"] .hero-copy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px; align-items: end; padding: 64px max(var(--gut), calc((100vw - var(--max)) / 2)) 112px; }
  [data-dir="A"] .hero-copy h1 { grid-row: 2 / span 3; grid-column: 1; margin: 0; }
  [data-dir="A"] .hero-copy .eyebrow { grid-column: 1 / -1; }
  [data-dir="A"] .hero-copy .actions .btn { flex: 0 0 auto; }
  [data-dir="A"] .hero-img { margin: -80px max(var(--gut), calc((100vw - var(--max)) / 2)) 0; z-index: 3; }
  [data-dir="A"] .hero-img img { aspect-ratio: 21/9; object-position: 50% 62%; }
  [data-dir="A"] .hero-img figcaption { padding-inline: 0; }
}
/* C: full-bleed photograph, quiet serif over a dark veil */
[data-dir="C"] .hero { background: var(--dark); color: var(--on-dark); }
[data-dir="C"] .hero-img { order: -1; }
[data-dir="C"] .hero-copy .lead, [data-dir="C"] .hero-tags { color: var(--on-dark-2); }
[data-dir="C"] .hero-copy .eyebrow, [data-dir="C"] .hero-tags a b { color: var(--accent-on-dark); }
[data-dir="C"] .hero-tags a:hover { color: var(--on-dark); }
[data-dir="C"] .hero-copy .btn { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
[data-dir="C"] .hero-copy .btn.sec { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
[data-dir="C"] .hero-img figcaption { color: var(--on-dark-2); }
@media (min-width: 900px) {
  [data-dir="C"] .hero { min-height: min(760px, calc(100vh - var(--header) - var(--reviewbar))); align-content: end; }
  [data-dir="C"] .hero-img { position: absolute; inset: 0; }
  [data-dir="C"] .hero-img img { height: 100%; aspect-ratio: auto; filter: none; }
  [data-dir="C"] .hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,24,20,.86) 0%, rgba(30,24,20,.62) 42%, rgba(30,24,20,0) 72%); }
  [data-dir="C"] .hero-img figcaption { position: absolute; right: var(--gut); bottom: 12px; z-index: 2; padding: 0; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
  [data-dir="C"] .hero-copy { padding: 96px var(--gut) 64px max(var(--gut), calc((100vw - var(--max)) / 2)); max-width: 820px; }
  [data-dir="C"] .hero-copy .actions .btn { flex: 0 0 auto; }
}

/* ---------- area cards ---------- */
.area-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; } }
@media (min-width: 1100px) { .area-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.area-card { display: flex; flex-direction: column; }
.area-card .im { overflow: hidden; background: var(--surface); }
.area-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.area-card:hover img { transform: scale(1.03); }
.area-card .no { font: 700 13px/1 var(--font-h); color: var(--primary); margin-top: 16px; display: block; }
.area-card h3 { margin-top: 8px; }
.area-card p { color: var(--text-2); font-size: 15px; margin-top: 4px; }
.area-card .stat { margin-top: 8px; font-size: 13px; color: var(--text-2); display: flex; gap: 4px; flex-wrap: wrap; }
[data-dir="A"] .area-card { background: var(--surface); }
[data-dir="A"] .area-card > *:not(.im) { padding-inline: 16px; }
[data-dir="A"] .area-card > *:last-child { padding-bottom: 16px; }
[data-dir="A"] .area-card:hover { box-shadow: inset 0 -4px 0 var(--accent); }

/* ---------- scene (shop the workspace) ---------- */
.scene-tabs { display: flex; gap: 0; overflow-x: auto; margin-bottom: 16px; border-bottom: 1px solid var(--border); scrollbar-width: none; }
.scene-tabs button { padding: 12px 16px; font-weight: 600; font-size: 15px; color: var(--text-2); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; flex: none; }
.scene-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--primary); }
.scene-main { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .scene-main { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px; align-items: start; } }
.scene-fig { position: relative; margin: 0; background: var(--surface-2); }
.scene-fig img { width: 100%; height: auto; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.pin span { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #232323; font: 700 14px/30px var(--font-h); text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.35), 0 0 0 2px rgba(255,255,255,.55); transition: transform .15s; }
.pin:hover span { transform: scale(1.12); }
.pin[aria-pressed="true"] span { background: var(--primary); color: var(--primary-ink); box-shadow: 0 2px 10px rgba(0,0,0,.35), 0 0 0 4px rgba(255,255,255,.75); }
.pin.no span { background: rgba(255,255,255,.82); color: #5C5852; box-shadow: 0 0 0 2px rgba(92,88,82,.7); }
.pin.no[aria-pressed="true"] span { background: #5C5852; color: #fff; }
.scene-note { font-size: 12px; color: var(--text-2); line-height: 1.5; margin-top: 8px; }
.quick { background: var(--bg); border: 1px solid var(--border); padding: 16px; display: grid; gap: 12px; }
.band .quick { background: var(--bg); }
.quick .q-top { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: start; }
.quick .q-img { background: var(--surface); }
.quick .q-img img { width: 88px; height: 88px; object-fit: contain; mix-blend-mode: multiply; }
.quick h3 { font-size: 18px; line-height: 1.4; }
.quick dl { margin: 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 12px; font-size: 14px; }
.quick dt { color: var(--text-2); }
.quick dd { margin: 0; overflow-wrap: anywhere; }
.quick .price { font: 700 22px/1.2 var(--font-h); }
.scene-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 16px; padding-bottom: 8px; scrollbar-width: thin; }
.scene-card { flex: 0 0 min(76%, 260px); scroll-snap-align: start; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding: 12px; background: var(--bg); border: 1px solid var(--border); text-align: left; }
.scene-card[aria-pressed="true"] { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.scene-card .n { width: 24px; height: 24px; border-radius: 50%; background: var(--secondary); color: #fff; font: 700 12px/24px var(--font-h); text-align: center; }
.scene-card.no .n { background: #8A8378; }
.scene-card b { font-size: 14px; font-weight: 600; line-height: 1.45; display: block; }
.scene-card small { font-size: 12.5px; color: var(--text-2); display: block; line-height: 1.5; }
.scene-set { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; margin-top: 16px; background: var(--bg); border: 1px solid var(--border); }

/* ---------- combos ---------- */
.combo { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--surface); }
.combo .im { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface-2); }
.combo .im img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.combo .im.pair { background: #fff; }
.combo .im.pair img { object-fit: contain; aspect-ratio: 1/1; padding: 8px; }
.combo .bd { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.combo .sum { font: 700 var(--price)/1.2 var(--font-h); margin-top: 8px; }
.combo ul { font-size: 14px; display: grid; gap: 4px; }
.combo ul a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- value blocks ---------- */
.benefit { border-top: 2px solid var(--secondary); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.benefit .num { font: 700 13px/1 var(--font-h); color: var(--primary); }
.benefit p { color: var(--text-2); }
.pains { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.2); }
.pain-row { display: grid; gap: 8px 48px; padding-block: 24px; border-bottom: 1px solid rgba(255,255,255,.2); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .pain-row { grid-template-columns: minmax(0, 5fr) 32px minmax(0, 6fr); align-items: start; } }
.pain-row h3 { font-size: 20px; }
.pain-row p { color: var(--on-dark-2); font-size: 15px; margin-top: 4px; }
.pain-row .arrow { color: var(--accent-on-dark); }
.pain-row .arrow svg { width: 24px; height: 24px; transform: rotate(90deg); }
@media (min-width: 900px) { .pain-row .arrow svg { transform: none; margin-top: 4px; } }
.pain-row .sol b { display: block; color: var(--accent-on-dark); font-weight: 700; font-size: 18px; line-height: 1.5; }
.pain-row .sol a { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- editorial quality ---------- */
.ed-quality { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .ed-quality { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; } }
.ev { margin: 0; }
.ev .im { background: var(--surface); overflow: hidden; }
.ev img { width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.ev.tall img { aspect-ratio: 16/9; }
.ev.square img { aspect-ratio: 1/1; }
.ev figcaption { margin-top: 8px; display: grid; gap: 4px; }
.ev figcaption b { font-weight: 600; font-size: 15px; line-height: 1.5; }
.ev figcaption span { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.ev figcaption .tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.ev-list { display: grid; gap: 16px; }
.ev-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); align-items: start; }
.ev-row img { width: 112px; height: 112px; object-fit: cover; background: var(--surface); }
.ev-row b { display: block; font-weight: 700; }
.ev-row p { font-size: 14px; color: var(--text-2); }
.ev-row .tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- story ---------- */
.room { width: 100%; height: auto; background: var(--room-wall); }
.r-wall { fill: var(--room-wall); } .r-floor { fill: var(--room-floor); } .r-base { fill: var(--room-base); }
.r-window { fill: var(--room-window); stroke: #8D8579; stroke-width: 3; } .r-mullion { stroke: #8D8579; stroke-width: 3; fill: none; } .r-light { fill: #fff; opacity: .28; }
.r-door { fill: var(--room-base); stroke: #8D8579; stroke-width: 2; } .r-handle { fill: #3a3a3a; }
.r-track { stroke: #6B655C; stroke-width: 3; fill: none; } .r-lamp { fill: #6B655C; }
.r-ladder { stroke: #8D8579; stroke-width: 5; fill: none; }
.r-box { fill: #C9A67F; stroke: #8E6F4F; stroke-width: 1.5; } .r-boxtape { fill: #E7D3B8; } .r-boxlabel { fill: #fff; } .r-boxtext { font: 700 16px Montserrat, sans-serif; fill: #232323; }
.r-list { fill: #fff; stroke: #BDB5AB; stroke-width: 2; } .r-check { fill: none; stroke: #7A5E44; stroke-width: 2; } .r-line { fill: #BDB5AB; }
.r-card { fill: #fff; stroke: #BDB5AB; stroke-width: 2; }
.r-q text { font: 800 34px Montserrat, sans-serif; fill: #7A5E44; text-anchor: middle; }
.r-tape path { fill: none; stroke: #7A5E44; stroke-width: 3; stroke-dasharray: 10 8; }
.r-ghost rect, .r-ghost circle { fill: rgba(122,94,68,.08); stroke: #7A5E44; stroke-width: 2.5; stroke-dasharray: 9 7; }
.r-swatch-w { fill: #8A5A33; } .r-swatch-d { fill: #232323; } .r-swatch-l { fill: #E8E8E6; stroke: #BDB5AB; stroke-width: 1.5; }
.r-tick { fill: none; stroke: #2F6B3F; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.r-tablet { fill: #232323; }
.r-dark { fill: #232323; } .r-wood { fill: #8A5A33; } .r-woodline { fill: #6F4726; } .r-open { fill: #111; } .r-monitor { fill: #6B6B6B; }
.r-woodframe { fill: rgba(138,90,51,.12); stroke: #8A5A33; stroke-width: 2.5; stroke-dasharray: 9 7; }
.r-book1 { fill: #C9A98A; } .r-book2 { fill: #E8E8E6; } .r-book3 { fill: #947559; }
.r-skin { fill: #D8B394; } .r-shirt { fill: #47606E; } .r-shirt2 { fill: #B1704A; } .r-legs { fill: #2F3236; }
.r-leaf { fill: #5E7B5A; } .r-pot { fill: #BDB5AB; }
.r-manual { fill: #fff; stroke: #8D8579; stroke-width: 2; } .r-manualline { stroke: #8D8579; stroke-width: 2; }
.r-mark path { fill: none; stroke: #7A5E44; stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; }
.acts3 { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .acts3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.act b { display: block; font-family: var(--font-h); font-weight: var(--h-weight); font-size: var(--h3); margin-top: 16px; line-height: 1.35; }
.act span.n { font: 700 13px/1 var(--font-h); color: var(--primary); display: block; margin-top: 16px; }
.act p { color: var(--text-2); font-size: 15px; margin-top: 4px; }
.story-note { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.story { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.story-stage { display: none; }
.story-panel .room { margin-bottom: 16px; }
.story-panel .n { font: 700 13px/1 var(--font-h); color: var(--primary); display: block; margin-bottom: 8px; }
.story-panel p { color: var(--text-2); margin-top: 8px; }
@media (min-width: 1000px) {
  .story { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
  .story-stage { display: block; position: sticky; top: calc(var(--header) + 32px); align-self: start; }
  .story-panel .room { display: none; }
  .story-panel { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; opacity: .36; transition: opacity .3s; }
  .story-panel.on { opacity: 1; }
}

/* ---------- product cards ---------- */
.pgrid { display: grid; gap: 32px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; } }
.pgrid.feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .pgrid.feature { grid-template-columns: repeat(6, minmax(0, 1fr)); } .pgrid.feature > * { grid-column: span 2; } .pgrid.feature > *:nth-child(-n+2) { grid-column: span 3; } }
.pcard { display: flex; flex-direction: column; min-width: 0; position: relative; }
.pcard .im { display: block; background: var(--surface); overflow: hidden; }
.pcard .im img { width: 100%; aspect-ratio: 1/1; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease; }
.pcard:hover .im img { transform: scale(1.03); }
.pcard .type { font-size: 12.5px; color: var(--text-2); margin-top: 12px; }
.pcard h3 { font: 600 16px/1.45 var(--font-b); letter-spacing: 0; margin-top: 2px; }
.pcard h3 a:hover { color: var(--primary); }
.pcard .rate { font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
.pcard .price { font: 700 18px/1.3 var(--font-h); margin-top: 4px; }
.pcard .row { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; align-items: center; }
.pcard .act-link { font-size: 13.5px; font-weight: 600; color: var(--primary); min-height: 32px; display: inline-flex; align-items: center; }
.pcard .act-link:hover { text-decoration: underline; }
.pcard .act-link.muted { color: var(--text-2); font-weight: 500; }
.ph-card { align-self: start; border: 1px dashed #A8A195; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); align-items: flex-start; }
.ph-card h3 { font: 600 16px/1.45 var(--font-b); letter-spacing: 0; }
.ph-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }

/* ---------- placeholders for missing photography ---------- */
.ph { background: var(--surface-2); border: 1px dashed #A8A195; display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; text-align: center; padding: 16px; aspect-ratio: 4/3; }
.ph b { font-size: 12px; color: #7A5600; border: 1px dashed #A87A1B; padding: 1px 8px; background: #FFFBF0; font-weight: 600; }
.ph span { font-weight: 600; font-size: 15px; line-height: 1.5; }
.ph small { font-size: 12.5px; color: var(--text-2); line-height: 1.5; max-width: 280px; }

/* ---------- layers template (F04) ---------- */
.layers { display: grid; gap: 24px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .layers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.layer { margin: 0; display: flex; flex-direction: column; }
.layer .lab { font-size: 12.5px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.layer img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--surface); }
.layer figcaption { font-size: 13.5px; color: var(--text-2); margin-top: 8px; line-height: 1.55; }
.layer figcaption a { text-decoration: underline; }

/* ---------- page heads and crumbs ---------- */
.crumbs { font-size: 13px; color: var(--text-2); padding-block: 16px; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.page-head { padding-block: 16px 32px; max-width: 820px; }
@media (min-width: 900px) { .page-head { padding-block: 32px 48px; } }
.page-head p { margin-top: 12px; }

/* ---------- collection ---------- */
.area-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 24px; scrollbar-width: none; }
.area-tabs a { flex: none; padding: 8px 16px; border: 1px solid var(--border); font-size: 14px; font-weight: 500; border-radius: var(--radius); white-space: nowrap; }
.area-tabs a[aria-current="page"] { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.coll { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .coll { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; } }
.coll-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.coll-bar .cnt { font-size: 14px; color: var(--text-2); }
.coll-tools { display: flex; gap: 8px; align-items: center; }
.sel { min-height: 44px; padding: 8px 32px 8px 12px; border: 1px solid var(--border); background: var(--bg); border-radius: var(--radius); font-size: 14px; }
.filter-btn { display: inline-flex; }
@media (min-width: 1000px) { .filter-btn { display: none; } }
.filters { display: none; border: 1px solid var(--border); padding: 16px; }
.filters.open { display: block; }
@media (min-width: 1000px) { .filters { display: block; border: 0; padding: 0; position: sticky; top: calc(var(--header) + 24px); } }
.fgroup { padding-block: 12px; border-top: 1px solid var(--border); }
.fgroup:first-child { border-top: 0; padding-top: 0; }
.fgroup h3 { font: 700 14px/1.4 var(--font-b); margin-bottom: 8px; letter-spacing: 0; }
.fgroup label { display: flex; align-items: center; gap: 8px; min-height: 32px; font-size: 14px; cursor: pointer; line-height: 1.4; }
.fgroup input { width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.fgroup label small { color: var(--text-2); margin-left: auto; }
.fchips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.fchip { font-size: 13px; padding: 4px 12px; background: var(--surface); border-radius: var(--radius); min-height: 32px; display: inline-flex; align-items: center; gap: 8px; }
.pendings { margin-top: 48px; }
.pendings h2 { font-size: 20px; margin-bottom: 16px; }
.empty { padding: 48px 16px; text-align: center; background: var(--surface); display: grid; gap: 12px; justify-items: center; }

/* ---------- product page ---------- */
.pdp { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); padding-bottom: 48px; }
@media (min-width: 1000px) { .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; } }
.gal { min-width: 0; }
.gal-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--surface); scrollbar-width: none; }
.gal-main::-webkit-scrollbar { display: none; }
.gal-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; position: relative; }
.gal-slide img { width: 100%; aspect-ratio: 1/1; object-fit: contain; mix-blend-mode: multiply; }
.gal-slide figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.92); font-size: 12px; padding: 2px 8px; line-height: 1.5; color: var(--text-2); }
.gal-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.gal-thumbs button { flex: 0 0 72px; border: 1px solid var(--border); background: var(--surface); }
.gal-thumbs button[aria-current="true"] { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.gal-thumbs img { width: 100%; aspect-ratio: 1/1; object-fit: cover; mix-blend-mode: multiply; }
.buy h1 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.3; margin-top: 8px; }
.buy .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--text-2); margin-top: 8px; overflow-wrap: anywhere; }
.buy .summary { margin-top: 12px; color: var(--text-2); }
.buy .price { font: 700 var(--price)/1.2 var(--font-h); margin-top: 16px; }
.quickfacts { margin: 16px 0 0; border-top: 1px solid var(--border); }
.quickfacts div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.55; align-items: baseline; }
.quickfacts dt { color: var(--text-2); }
.quickfacts dd { margin: 0; }
.field { margin-top: 16px; }
.field .lab { font-size: 14px; font-weight: 600; display: block; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-height: 44px; padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; background: var(--bg); }
.opt[aria-checked="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); font-weight: 600; }
.qty { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius); align-items: center; }
.qty button { width: 44px; height: 44px; font-size: 18px; }
.qty button:hover { background: var(--surface); }
.qty span { min-width: 36px; text-align: center; font-weight: 600; }
.cfg-sum { font-size: 13.5px; color: var(--text-2); margin-top: 8px; }
.cfg-sum b { color: var(--text); font-weight: 600; }
.buy-actions { display: grid; gap: 8px; margin-top: 16px; grid-template-columns: 1fr 1fr; }
.buy-actions .btn:first-child { grid-column: 1 / -1; }
.buy-note { font-size: 13px; color: var(--text-2); margin-top: 8px; line-height: 1.6; }
.sc-note { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 12px; margin-top: 16px; border: 1px solid #C9DAF2; background: #F2F7FE; font-size: 13.5px; line-height: 1.6; color: #1A202C; }
.sc-note img { width: 32px; height: 32px; }
.sc-note a { color: #0052C9; text-decoration: underline; }
.stickybuy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--bg); border-top: 1px solid var(--border); padding: 8px var(--gut); display: flex; align-items: center; gap: 12px; }
.stickybuy .p { font: 700 18px/1.2 var(--font-h); margin-right: auto; }
.stickybuy .btn { min-height: 44px; padding: 8px 16px; flex: 0 1 auto; }
@media (min-width: 1000px) { .stickybuy { display: none; } }
body.has-sticky .site-foot { padding-bottom: 60px; }
@media (min-width: 1000px) { body.has-sticky .site-foot { padding-bottom: 0; } }
.acc { border-top: 1px solid var(--border); }
.acc > details { border-bottom: 1px solid var(--border); }
.acc > details > summary { list-style: none; cursor: pointer; padding: 16px 32px 16px 0; font: var(--h-weight) 18px/1.5 var(--font-h); position: relative; min-height: 48px; }
.acc > details > summary::-webkit-details-marker { display: none; }
.acc > details > summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 24px/1 var(--font-b); color: var(--text-2); }
.acc > details[open] > summary::after { content: "−"; }
.acc .in { padding-bottom: 24px; }
.spec th, .spec td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--border); vertical-align: top; font-size: var(--spec); line-height: 1.6; }
.spec th { width: 92px; padding-right: 12px; font-weight: 500; color: var(--text-2); }
@media (min-width: 768px) { .spec th { width: 140px; } }
.spec td { overflow-wrap: anywhere; }
.spec .tag { margin-left: 4px; vertical-align: 1px; white-space: normal; }
.spec .sn { display: block; font-size: 13px; color: var(--text-2); margin-top: 2px; }
.spec details { margin-top: 2px; font-size: 12.5px; color: var(--text-2); }
.spec details summary { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.spec summary { cursor: pointer; display: inline; }
.spec details p { margin-top: 4px; line-height: 1.6; }
.mgal { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .mgal { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mgal figure { margin: 0; }
.mgal img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--surface); }
.mgal .ph { aspect-ratio: 1/1; }
.mgal figcaption { font-size: 13.5px; margin-top: 8px; line-height: 1.55; }
.mgal figcaption small { display: block; color: var(--text-2); font-size: 12.5px; line-height: 1.5; }
.seq { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; counter-reset: st; }
.seq > figure { flex: 0 0 min(64%, 220px); margin: 0; scroll-snap-align: start; counter-increment: st; }
@media (min-width: 1000px) { .seq > figure { flex: 1 1 0; min-width: 0; } }
.seq img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--surface); }
.seq .ph { aspect-ratio: 1/1; padding: 8px; }
.seq figcaption { font-size: 13.5px; margin-top: 8px; line-height: 1.5; }
.seq figcaption::before { content: counter(st) ". "; font-weight: 700; color: var(--primary); }
.seq figcaption small { display: block; color: var(--text-2); font-size: 12.5px; }
.review-q { border-top: 1px solid var(--border); padding-block: 16px; display: grid; gap: 4px; }
.review-q .en { font-size: 14px; color: var(--text-2); }
.review-q .stars { font-size: 13px; color: var(--primary); letter-spacing: 1px; }
.section-title { font-size: var(--h3); margin-bottom: 24px; }
.pdp-sec { padding-block: 32px; border-top: 1px solid var(--border); }
@media (min-width: 1000px) { .pdp-sec { padding-block: 48px; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.f { display: grid; gap: 4px; min-width: 0; align-content: start; }
.f label, .f legend { font-size: 14px; font-weight: 600; padding: 0; }
.f .opt-mark { color: var(--text-2); font-weight: 400; }
.f input[type=text], .f input[type=email], .f input[type=tel], .f select, .f textarea { width: 100%; min-height: 48px; padding: 8px 12px; border: 1px solid #A8A195; border-radius: var(--radius); background: var(--bg); font-size: 16px; }
.f textarea { min-height: 112px; resize: vertical; }
.f .err { font-size: 13px; color: #9B2C2C; min-height: 0; }
.f.bad input, .f.bad select, .f.bad textarea { border-color: #9B2C2C; box-shadow: inset 0 0 0 1px #9B2C2C; }
fieldset.f { border: 0; margin: 0; padding: 0; }
.checks { display: grid; gap: 4px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 4px; }
.check { display: flex; gap: 8px; align-items: center; min-height: 36px; font-size: 14.5px; font-weight: 400; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.two { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.banner { padding: 16px; border: 1px solid var(--border); background: var(--surface); }
.banner.sim { border-color: #A87A1B; background: #FFFBF0; color: #5C4300; }
.banner.ok { border-color: #2F6B3F; background: #F1F8F2; color: #1E4A2A; }
.banner.bad { border-color: #9B2C2C; background: #FDF2F2; color: #7A1F1F; }
.contact-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; } }

/* ---------- cart and checkout ---------- */
.cart-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); padding-bottom: 64px; }
@media (min-width: 1000px) { .cart-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: start; } }
.line { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--border); }
.line .im { background: var(--surface); }
.line img { width: 88px; height: 88px; object-fit: contain; mix-blend-mode: multiply; }
.line b { font-weight: 600; line-height: 1.5; display: block; }
.line a:hover { color: var(--primary); }
.line .cfg { font-size: 13px; color: var(--text-2); }
.line .bot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.line .amt { font-family: var(--font-h); font-weight: 700; margin-left: auto; }
.line .qty button { width: 36px; height: 36px; font-size: 16px; }
.line .qty span { min-width: 28px; font-size: 14px; }
.line .rm { font-size: 13px; color: var(--text-2); text-decoration: underline; min-height: 36px; }
.summary-box { background: var(--surface); padding: 24px; display: grid; gap: 12px; }
.summary-box .row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; align-items: baseline; }
.summary-box .row.tot { border-top: 1px solid var(--border); padding-top: 12px; font: 700 20px/1.3 var(--font-h); }
.stepper { display: flex; gap: 0; margin-bottom: 24px; font-size: 13.5px; }
.stepper li { flex: 1; padding: 8px 4px; border-top: 3px solid var(--border); color: var(--text-2); line-height: 1.4; }
.stepper li.on { border-color: var(--primary); color: var(--text); font-weight: 600; }
.stepper li.done { border-color: var(--primary); }
.radio { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 16px; border: 1px solid var(--border); cursor: pointer; font-weight: 400; }
.radio input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); }
.radio:has(input:checked) { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }

/* ---------- layers: drawers, modal, toast ---------- */
.veil { position: fixed; inset: 0; z-index: 40; background: rgba(20,18,16,.5); }
.drawer { position: fixed; top: 0; bottom: 0; right: 0; z-index: 50; width: min(440px, 100%); background: var(--bg); display: flex; flex-direction: column; animation: slidein .2s ease; }
.drawer.left { right: auto; left: 0; width: min(360px, 88%); animation-name: slideinl; }
@keyframes slidein { from { transform: translateX(24px); opacity: .6; } }
@keyframes slideinl { from { transform: translateX(-24px); opacity: .6; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--border); min-height: 56px; }
.drawer-head h2 { font-size: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 16px; }
.drawer-foot { padding: 16px; border-top: 1px solid var(--border); display: grid; gap: 8px; }
.drawer-foot .row { display: flex; justify-content: space-between; font-weight: 700; font-family: var(--font-h); }
.mnav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); font-weight: 500; }
.mnav a.sub { padding-left: 16px; font-size: 14.5px; color: var(--text-2); font-weight: 400; }
.mnav form { display: flex; gap: 8px; padding-block: 16px; }
.mnav input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--border); padding: 8px 12px; font-size: 16px; }
.modal { position: fixed; z-index: 50; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(720px, calc(100% - 24px)); max-height: calc(100% - 32px); overflow-y: auto; background: var(--bg); padding: 24px; }
.modal-close { position: absolute; right: 4px; top: 4px; }
.modal h2 { font-size: 22px; padding-right: 40px; }
.manual-page { display: grid; gap: 16px; margin-top: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .manual-page { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.manual-fig { background: #fff; border: 1px solid var(--border); padding: 16px; position: relative; }
.manual-fig svg { width: 100%; height: auto; }
.manual-fig::after { content: "示例"; position: absolute; right: 8px; top: 8px; font-size: 12px; color: #7A5600; border: 1px dashed #A87A1B; background: #FFFBF0; padding: 0 6px; }
.manual-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 8px; }
#toast { position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%); z-index: 60; pointer-events: none; }
#toast span { display: block; background: #111; color: #fff; padding: 8px 16px; font-size: 14px; white-space: nowrap; animation: toast 2.4s forwards; }
@keyframes toast { 0% { opacity: 0; transform: translateY(6px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- compare ---------- */
.table-scroll { overflow-x: auto; }
.cmp { min-width: 680px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.cmp thead th { font-weight: 600; }
.cmp thead img { width: 112px; height: 112px; object-fit: contain; mix-blend-mode: multiply; background: var(--surface); margin-bottom: 8px; }
.cmp tbody th { width: 112px; color: var(--text-2); font-weight: 500; }

/* ---------- ShippingCow AI (ShippingCow's own brand) ---------- */
.sc { --sc-blue: #0052C9; --sc-yellow: #FEB81B; }
.sc-head { background: var(--sc-blue); color: #fff; padding-block: 32px; }
.sc-head .brand { display: flex; align-items: center; gap: 12px; }
.sc-head img { width: 40px; height: 40px; }
.sc-head h1 { font-size: 28px; color: #fff; }
.sc-head .px { font: 10px/1.6 "Press Start 2P", monospace; color: #FFE08A; }
.chat { display: grid; gap: 12px; padding-block: 24px; max-width: 760px; }
.bub { padding: 12px 16px; background: var(--surface); line-height: 1.7; }
.bub.me { background: var(--sc-blue); color: #fff; justify-self: end; max-width: 80%; }
.bub a { color: #0052C9; text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 12px; border: 1px solid var(--sc-blue); color: var(--sc-blue); font-size: 14px; border-radius: var(--radius); background: #fff; }
.chip:hover { background: var(--sc-blue); color: #fff; }
.sc-loop { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .sc-loop { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sc-loop div { border-top: 3px solid var(--sc-yellow); padding-top: 8px; }
.sc-loop b { display: block; font-weight: 700; }
.sc-loop span { font-size: 13.5px; color: var(--text-2); }

/* ---------- review center ---------- */
.rv { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); padding-bottom: 64px; }
@media (min-width: 1040px) { .rv { grid-template-columns: 200px minmax(0, 1fr); gap: 48px; } }
.rv-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--border); }
.rv-nav a { flex: none; padding: 8px 12px; font-size: 14px; white-space: nowrap; color: var(--text-2); }
.rv-nav a[aria-current="page"] { color: var(--text); font-weight: 700; box-shadow: inset 0 -2px 0 var(--primary); }
@media (min-width: 1040px) { .rv-nav { flex-direction: column; border: 0; position: sticky; top: calc(var(--header) + 24px); align-self: start; } .rv-nav a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--primary); } }
.rv-main { min-width: 0; }
.rv-main h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.rv-main h2 { font-size: 22px; margin-block: 32px 12px; }
.rv-main > p { color: var(--text-2); max-width: 760px; }
.rv-main .link { white-space: normal; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 24px; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats .stat { background: var(--surface); padding: 16px; }
.stats .stat b { display: block; font: 700 28px/1.2 var(--font-h); }
.stats .stat span { font-size: 13px; color: var(--text-2); line-height: 1.5; display: block; }
.mx-row { border-bottom: 1px solid var(--border); }
.mx-row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding-block: 12px; align-items: baseline; }
.mx-row summary::-webkit-details-marker { display: none; }
.mx-row .id { font: 700 14px/1.5 var(--font-h); color: var(--primary); }
.mx-row .req { font-weight: 600; line-height: 1.55; }
.mx-row .meta { grid-column: 2; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: var(--text-2); }
.st-done { border-color: #2F6B3F; color: #1E4A2A; background: #F1F8F2; }
.mx-body { padding: 4px 0 16px 56px; display: grid; gap: 8px; font-size: 14.5px; }
.mx-body div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; line-height: 1.6; }
.mx-body dt, .mx-body .k { color: var(--text-2); }
@media (max-width: 640px) { .mx-body { padding-left: 0; } }
.rtable { font-size: 14px; }
.rtable th, .rtable td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.6; overflow-wrap: anywhere; }
.rtable th { color: var(--text-2); font-weight: 500; }
.dir-cards { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
@media (min-width: 900px) { .dir-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dir-card { border: 1px solid var(--border); background: var(--bg); color: var(--text); display: flex; flex-direction: column; min-width: 0; }
.dir-card .bd { padding: 16px; display: grid; gap: 8px; }
.dir-card h3 { font-size: 22px; }
.dir-card .swatches { display: flex; }
.dir-card .swatches i { flex: 1; height: 24px; display: block; }
.dir-card ul { font-size: 14px; color: var(--text-2); display: grid; gap: 2px; }
.dir-card ul li::before { content: "· "; }
.dir-frame { position: relative; overflow: hidden; background: var(--surface); height: 340px; border-bottom: 1px solid var(--border); }
.dir-frame iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 1400px; border: 0; transform-origin: 0 0; pointer-events: none; }
.logo-row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-end; padding: 16px; background: var(--surface); }
.logo-row.dark { background: var(--dark); }
.logo-row figure { margin: 0; display: grid; gap: 4px; }
.logo-row figcaption { font-size: 12px; color: var(--text-2); }
.logo-row.dark figcaption { color: var(--on-dark-2); }
.explore { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
@media (min-width: 768px) { .explore { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.explore figure { margin: 0; border: 1px solid var(--border); padding: 16px; display: grid; gap: 8px; }
.explore svg { height: 88px; width: 100%; }
.explore b { font-weight: 600; }
.explore span { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.tok-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .tok-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .tok-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.tok i { display: block; height: 56px; border: 1px solid var(--border); }
.tok b { display: block; font-size: 13.5px; margin-top: 4px; }
.tok span { font-size: 12px; color: var(--text-2); display: block; line-height: 1.5; }
.type-row > * { min-width: 0; overflow-wrap: anywhere; }
.type-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--border); align-items: baseline; }
.type-row .k { font-size: 12.5px; color: var(--text-2); }
.space-row { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.space-row i { display: block; width: var(--w); height: 16px; background: var(--primary); }
.space-row span { font-size: 12px; color: var(--text-2); display: block; margin-top: 4px; }
.demo-box { padding: 16px; background: var(--surface); margin-top: 8px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.demo-box.col { display: block; }
.ba { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.ba figure { margin: 0; min-width: 0; }
.ba .frame { height: 300px; overflow: auto; border: 1px solid var(--border); background: var(--surface); }
.ba img { width: 100%; }
.ba figcaption { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.ba-card { padding-block: 24px; border-bottom: 1px solid var(--border); }
.ba-card dl { margin: 12px 0 0; display: grid; gap: 8px; font-size: 14.5px; }
.ba-card dl div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; line-height: 1.6; }
.ba-card dt { color: var(--text-2); }
.ba-card dd { margin: 0; }
.qa-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding-block: 8px; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.55; }
.qa-pass { color: #2F6B3F; font-weight: 700; }
.qa-fail { color: #9B2C2C; font-weight: 700; }

/* wedge, content, account */
.acct-btn { display: none; }
@media (min-width: 480px) { .acct-btn { display: inline-flex; } }
.sc-band { background: #0052C9; color: #fff; }
.sc-band h2 { color: #fff; margin-top: 12px; }
.sc-band .lead { color: #E6EEFA; margin-block: 16px 24px; }
.sc-band-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .sc-band-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; } }
.sc-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.sc-brand img { width: 32px; height: 32px; }
.sc-btn { background: #FEB81B; border-color: #FEB81B; color: #1A202C; }
.sc-btn:hover { background: #E8A40D; border-color: #E8A40D; color: #1A202C; }
.sc-today { margin-top: 16px; color: #E6EEFA; font-size: 15px; }
.sc-band .sc-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sc-loop.dark div { border-top-color: #FEB81B; }
.sc-loop.dark b { color: #fff; }
.sc-loop.dark span { color: #E6EEFA; }
.how-dl { margin: 0; display: grid; gap: 4px; font-size: 14px; }
.how-dl dt { color: var(--text-2); font-size: 12.5px; margin-top: 4px; }
.how-dl dd { margin: 0; line-height: 1.5; }
.check-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .check-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rows { border-top: 1px solid var(--border); }
.row-a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--border); }
.row-a .no { font: 700 13px/1.6 var(--font-h); color: var(--primary); overflow-wrap: anywhere; }
.row-a b { display: block; font-weight: 700; font-size: 18px; line-height: 1.4; }
.row-a span span { display: block; color: var(--text-2); font-size: 15px; margin-top: 4px; }
.row-a:hover b { color: var(--primary); }
.prose { max-width: 860px; }
.prose h2 { font-size: 22px; margin-block: 32px 8px; }
.prose h2 a:hover { color: var(--primary); }
.bul { list-style: disc; padding-left: 20px; display: grid; gap: 4px; margin-top: 8px; }
.quote { margin: 12px 0 0; padding-left: 16px; border-left: 3px solid var(--accent); display: grid; gap: 2px; }
.quote q { font-weight: 500; }
.quote-zh { color: var(--text-2); font-size: 14.5px; }
.quote cite { font-style: normal; }
.quote cite a { text-decoration: underline; }
.due { padding: 16px; background: var(--surface); line-height: 1.6; font-size: 15px; }
.notice { position: fixed; left: 16px; bottom: 16px; z-index: 35; max-width: 340px; background: var(--bg); border: 1px solid var(--border); padding: 12px 16px; font-size: 13.5px; line-height: 1.55; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
body.has-sticky .notice { bottom: 72px; }
@media (min-width: 1000px) { body.has-sticky .notice { bottom: 16px; } }
.notice .btn { min-height: 40px; }
code { font-size: .92em; background: var(--surface); padding: 1px 4px; overflow-wrap: anywhere; }
.qa-not { color: #8A5A00; font-weight: 700; font-size: 12px; line-height: 1.8; }
.qa-row { grid-template-columns: 64px minmax(0, 1fr); }
#payment-element { min-height: 40px; }

/* language switch and English-first adjustments */
html[lang="en"] body { line-height: 1.6; }
html[lang="en"] .eyebrow { text-transform: uppercase; }
html[lang="en"] h1, html[lang="en"] h2 { line-height: 1.12; letter-spacing: -.012em; }
html[lang="en"][data-dir="C"] h1, html[lang="en"][data-dir="C"] h2 { letter-spacing: 0; line-height: 1.2; }
html[lang="en"] .hero-copy h1 { line-height: 1.08; }
.langs { display: inline-flex; margin-inline: 4px; flex: none; }
.langs button { min-height: 32px; min-width: 34px; padding: 4px 8px; border: 1px solid var(--border); margin-left: -1px; font-size: 13px; font-weight: 600; line-height: 1; color: var(--text-2); background: var(--bg); }
.langs button[aria-pressed="true"] { background: var(--secondary); border-color: var(--secondary); color: #fff; position: relative; }
.foot-langs { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.foot-langs .langs { margin: 0; }
.foot-langs .langs button { background: transparent; color: var(--on-dark-2); border-color: rgba(255,255,255,.3); }
.foot-langs .langs button[aria-pressed="true"] { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.mnav-langs { padding-block: 12px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.search-btn { display: none; }
@media (min-width: 370px) { .search-btn { display: inline-flex; } }
@media (max-width: 359px) { .logo img { height: 26px; } }
.gal-slide.cover img { object-fit: cover; mix-blend-mode: normal; }
.gal-thumbs button.cover img { mix-blend-mode: normal; }
.orig { display: block; font-size: 13px; color: var(--text-2); font-weight: 400; margin-top: 2px; }

/* feedback pins */
[data-fb] { position: relative; }
.fbchips { display: none; position: absolute; right: 4px; top: 4px; z-index: 6; gap: 4px; flex-wrap: wrap; justify-content: flex-end; max-width: 50%; }
html.show-fb .fbchips { display: flex; }
.fbchip { background: #FEB81B; color: #111; font: 700 11px/1 var(--font-b); padding: 4px 6px; }
.fb-flash { animation: fbflash 2.4s ease; }
@keyframes fbflash { 0%, 70% { outline: 3px solid #FEB81B; outline-offset: 4px; } 100% { outline: 3px solid transparent; outline-offset: 4px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .story-panel { opacity: 1 !important; }
}
@media print { .reviewbar, .stickybuy, .site-foot { display: none; } }

/* ================= V3 additions (2026-11-15) ================= */
html.no-review { --reviewbar: 0px; }
.hero-copy .actions { align-items: center; gap: 24px; }
.hero-copy .hero-guide { font-size: 15px; }

/* PDP: ask box (replaces the seller-facing note) and agent data */
.ask-box { margin-top: 16px; padding: 16px; border: 1px solid #C9DAF2; background: #F2F7FE; color: #1A202C; }
.ask-h { display: flex; align-items: center; gap: 10px; font-family: var(--font-h); font-size: 16px; }
.ask-h img, .ai-launcher .cow, .ai-head .cow { image-rendering: pixelated; }
.ask-box .cap { color: #3B4A5E; margin-top: 4px; }
.agent-line { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #C9DAF2; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ai-chip { min-height: 36px; padding: 6px 12px; border: 1px solid #0052C9; color: #0052C9; background: #fff; font-size: 13.5px; font-weight: 600; border-radius: var(--radius); }
.ai-chip:hover { background: #0052C9; color: #fff; }
.ld-pre { margin: 0; max-height: 360px; overflow: auto; padding: 16px; background: #14181F; color: #D6E2F0; font: 12.5px/1.55 ui-monospace, Consolas, monospace; white-space: pre; }

/* Home: Shippingcow AI band */
.sc-band .sc-brand img { width: 32px; height: 32px; }
.agent-col { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.25); }
.agent-col h3 { color: #fff; font-size: 20px; }
.ai-steps { counter-reset: s; display: grid; gap: 12px; margin-top: 16px; }
.ai-steps li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; }
.ai-steps li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; display: grid; place-items: center; background: #FEB81B; color: #1A202C; font-weight: 700; font-size: 14px; }
.ai-steps b { color: #fff; }
.ai-steps span { color: #E6EEFA; font-size: 14.5px; }
.sc-tags { margin-top: 16px; }
.tag.concept.on-dark { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; border-style: dashed; }
.ai-demo { background: #fff; color: #1A202C; border: 1px solid #C9DAF2; box-shadow: 0 24px 48px rgba(0, 20, 60, .28); }
.ai-demo .ai-log { max-height: none; }

/* Launcher + panel */
.ai-launcher { position: fixed; right: 16px; bottom: 16px; z-index: 36; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 10px; background: #0052C9; color: #fff; border: 2px solid #0052C9; border-radius: var(--radius); font: 700 15px/1 var(--font-h); box-shadow: 0 10px 28px rgba(0, 40, 110, .35); }
.ai-launcher:hover { background: #0046AD; }
.ai-launcher .cow { width: 30px; height: 30px; background: #fff; padding: 2px; }
body.has-sticky .ai-launcher { bottom: 84px; }
@media (max-width: 767px) { .ai-launcher span { display: none; } .ai-launcher { padding: 8px; min-height: 52px; } }
body.ai-open .ai-launcher { display: none; }
.ai-panel { position: fixed; right: 16px; bottom: 16px; z-index: 45; width: min(420px, calc(100vw - 32px)); max-height: min(680px, calc(100vh - 32px)); display: flex; flex-direction: column; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-top: 4px solid #0052C9; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.ai-panel[hidden] { display: none; }
@media (max-width: 767px) { .ai-panel { right: 0; left: 0; bottom: 0; width: 100%; max-height: 88vh; } }
.ai-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #E3EAF5; }
.ai-id { display: grid; line-height: 1.3; margin-right: auto; }
.ai-id b { font: 800 15px/1.3 var(--font-h); }
.ai-id span { font-size: 12.5px; color: var(--text-2); }
.ai-x { width: 36px; height: 36px; display: grid; place-items: center; font-size: 16px; }
.ai-about { padding: 10px 16px; font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: var(--surface); }
.ai-pick, .ai-switch { padding: 4px 10px; border: 1px solid var(--border); background: var(--bg); font-size: 13px; border-radius: var(--radius); }
.ai-switch { border: 0; color: #0052C9; text-decoration: underline; padding: 0 4px; background: none; }
.ai-log { flex: 1 1 auto; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; max-height: 420px; }
.msg { max-width: 92%; padding: 10px 12px; font-size: 14px; line-height: 1.55; }
.msg--me { justify-self: end; background: var(--secondary); color: #fff; }
.msg--ai { justify-self: start; background: #F2F7FE; border: 1px solid #DCE7F7; }
.cites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.cite { font-size: 12px; color: #0052C9; border: 1px solid #C9DAF2; background: #fff; padding: 2px 8px; }
.ai-panel .ai-chips { padding: 0 16px; margin: 0 0 8px; }
.ai-form { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 8px; padding: 8px 16px; }
.ai-form input { min-height: 44px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.ai-send { background: #0052C9; color: #fff; font-size: 18px; border-radius: var(--radius); }
.ai-buy { margin: 4px 16px 0; }
.ai-note { padding: 8px 16px 12px; font-size: 12px; color: var(--text-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buyer's guide */
.guide .eyebrow { margin-top: 8px; }
.g-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.g-toc a { padding: 8px 12px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; font-weight: 600; }
.g-toc a:hover { border-color: var(--primary); color: var(--primary); }
.g-fig { margin: 16px 0; padding: 16px; background: var(--surface); color: var(--text); }
.g-fig svg { width: 100%; max-width: 560px; height: auto; margin: 0 auto; }
.g-fig figcaption { font-size: 13.5px; color: var(--text-2); margin-top: 8px; }
.g-steps { list-style: decimal; padding-left: 22px; display: grid; gap: 10px; margin-top: 8px; }
.src-link { font-size: 12.5px; color: var(--text-2); text-decoration: underline; white-space: nowrap; }
.src-link::before { content: "Source: "; }
.g-fig .src-link::before, .cap .src-link::before, .g-cta .src-link::before { content: ""; }
.g-cta { margin-top: 48px; padding: 24px; background: var(--dark); color: var(--on-dark); display: grid; gap: 16px; }
.g-cta .muted { color: var(--on-dark-2); }
.g-cta .src-link { color: var(--on-dark-2); }
.g-cta .link { color: var(--accent-on-dark); }
.g-cta .btn { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
@media (min-width: 768px) { .g-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.g-cta .actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

/* Tested & certified: PDP block and home strip (facts from lab reports; model match to confirm) */
.cert-box { margin-top: 16px; padding: 16px; border: 1px solid var(--line, #d9d4cb); background: #FAF8F4; color: #1A202C; font-size: 14px; }
.cert-box ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 8px; }
.cert-strip { background: #FAF8F4; border-block: 1px solid var(--line, #d9d4cb); }
.cert-row { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; font-size: 14px; }
.cert-row em { font-style: normal; font-weight: 600; }
span.cite { display: inline-block; font-size: 13px; padding: 2px 8px; border: 1px solid #C9DAF2; background: #F2F7FE; }

/* ---------- V4: client feedback made visible, phone first ---------- */
/* A01: the whole furnished office is the first thing on the phone (image above the copy), then headline, then two thumb-size CTAs */
.hero-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.hero-mosaic .hm { position: relative; display: block; overflow: hidden; }
.hero-mosaic .hm0 { grid-column: 1 / -1; }
.hero-v4 .hero-mosaic img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; }
.hero-v4 .hero-mosaic .hm0 img { aspect-ratio: 16/9; }
.hero-mosaic .hm span { position: absolute; left: 6px; bottom: 6px; background: rgba(255,255,255,.92); color: var(--text); font-size: 12px; font-weight: 600; padding: 3px 7px; line-height: 1.3; }
.hero-mosaic .hm span b { color: var(--primary); margin-right: 2px; }
.hero-mosaic figcaption { grid-column: 1 / -1; }
.hero-v4 .hero-tags { display: none; }
.hero-v4 .hero-img figcaption { padding-bottom: 0; }
.hero-v4 .hero-copy { padding-top: 20px; }
html[lang="en"] .hero-v4 .hero-copy h1 { font-size: clamp(30px, 8.4vw, 50px); line-height: 1.08; }
html[lang="zh-CN"] .hero-v4 .hero-copy h1 { font-size: clamp(30px, 8.6vw, 52px); line-height: 1.2; }
.hero-v4 .actions { display: flex; flex-direction: column; gap: 10px; }
.hero-v4 .actions .btn { min-height: 52px; width: 100%; justify-content: center; }
@media (min-width: 768px) {
  .hero-v4 .actions { flex-direction: row; }
  .hero-v4 .actions .btn { width: auto; }
  [data-dir="B"] .hero-v4 .hero-img { order: 2; }
  .hero-v4 .hero-mosaic { align-content: center; padding: 24px max(var(--gut), calc((100vw - var(--max)) / 2)) 24px 0; }
  .hero-v4 .hero-mosaic .hm0 img { aspect-ratio: 16/9; height: auto; }
}
/* D01-D04: models from the client's own GCC certificates */
.ph-card.range { border-style: solid; background: var(--surface, #faf8f5); }
.tag.range { background: #e9f1fb; color: #0b4a9c; border: 1px solid #b9d1f0; }
.ph-card .model { display: block; font-size: 13px; color: var(--text-2); margin: -4px 0 8px; font-variant-numeric: tabular-nums; }
/* thumb-reach bottom bar on phones */
.thumbbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--border); }
.thumbbar .btn { min-height: 48px; justify-content: center; padding: 8px 12px; }
@media (min-width: 1000px) { .thumbbar { display: none; } }
@media (min-width: 768px) {
  html[data-dir] .hero-v4 .hero-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; min-height: 0; }
  html[data-dir] .hero-v4 .hero-mosaic img { flex: none; height: auto; min-height: 0; aspect-ratio: 1/1; }
  html[data-dir] .hero-v4 .hero-mosaic .hm0 img { aspect-ratio: 16/9; }
  html[data-dir] .hero-v4 { min-height: 0; }
}
html[lang="en"] .hero-v4 .hero-copy h1 { font-size: clamp(28px, 7.6vw, 50px); }
@media (max-width: 767px) { .hero-v4 .hero-copy .lead { font-size: 15px; margin-bottom: 16px; } .hero-v4 .hero-copy .eyebrow { margin-bottom: 6px; } }
/* phone: the Shippingcow AI launcher docks into the thumb bar's third slot instead of floating over CTAs */
@media (max-width: 999px) {
  body.has-thumb .thumbbar { grid-template-columns: 1fr 1fr 48px; }
  body.has-thumb .ai-launcher { bottom: calc(8px + env(safe-area-inset-bottom)); right: var(--gut); min-height: 48px; width: 48px; padding: 8px; justify-content: center; }
}
