/* =============================================================================
   Anrotix — anrotixlamp.com
   零售站样式：暖色基底 + 深炭文字 + 黄铜点缀。衬线标题、无衬线正文。
   无外部字体依赖、无框架。移动优先，断点 640 / 900 / 1140。
   ============================================================================= */

/* ---------------------------------------------------------------- tokens */
:root {
  --bg:        #FBF8F4;
  --bg-2:      #F4EEE6;
  --bg-3:      #EDE5DA;
  --surface:   #FFFFFF;
  --ink:       #1B1815;
  --ink-2:     #4C463D;
  --ink-3:     #8B8177;
  --line:      #E5DDD1;
  --line-2:    #D6CBBA;
  --brass:     #AC7A31;
  --brass-dk:  #8C6122;
  --brass-lt:  #F0E4CF;
  --green:     #2C6A4C;
  --red:       #A6402F;
  --shadow-sm: 0 1px 2px rgba(27,24,21,.05), 0 2px 8px rgba(27,24,21,.04);
  --shadow-md: 0 2px 6px rgba(27,24,21,.06), 0 12px 32px rgba(27,24,21,.08);
  --shadow-lg: 0 4px 12px rgba(27,24,21,.08), 0 24px 64px rgba(27,24,21,.12);
  --r:         4px;
  --r-lg:      8px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Songti SC", serif;
  --maxw: 1240px;
  --hdr-h: 68px;
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.16; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--brass-lt); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

/* ---------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 68px 0; }
.section-sm { padding: 44px 0; }
.section-cream { background: var(--bg-2); }
.section-ink { background: var(--ink); color: #D9D2C7; }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #FBF8F4; }
.narrow { max-width: 760px; }
.center { text-align: center; }
/* 无障碍跳转链接：移出视口用 translateY，不要用 left:-9999px。
   LTR 下负 left 只是溢出、不可滚动；但 RTL 的滚动原点在右侧，向左溢出会变成
   真实可横向滚动区域 —— 阿语页面 documentElement.scrollWidth 会被撑到 10389px
   （9999 + 视口宽），而 body.scrollWidth 却正常，症状极易误判。 */
.skip-link { position: absolute; top: 0; inset-inline-start: 12px; transform: translateY(-200%); background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { transform: translateY(12px); }

/* 仅供屏幕阅读器。绝不要用 left:-9999px —— RTL 的滚动原点在右侧，
   向左溢出会成为真实可横向滚动区域，把页面撑宽近 10000px。
   用 1px + clip 方案：零溢出，且对 flex/grid 子项同样安全。
   （此前 .sr-only 只被引用却未定义，靠内联 left:-9999px 顶替，故一并补上。） */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .9rem;
}
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--ink-3); margin-bottom: 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-size: .94rem; font-weight: 600; letter-spacing: .01em;
  transition: background .18s, color .18s, border-color .18s, transform .12s, box-shadow .18s;
  text-align: center; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #FBF8F4; }
.btn-primary:hover { background: #2E2823; }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { background: var(--brass-dk); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #FBF8F4; }
.btn-ghost { color: var(--ink); border-color: transparent; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: var(--line-2); padding-left: 6px; padding-right: 6px; }
.btn-ghost:hover { text-decoration-color: var(--brass); color: var(--brass-dk); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.link-arrow { color: var(--brass-dk); font-weight: 600; font-size: .92rem; border-bottom: 1px solid var(--brass-lt); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--brass); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- chrome */
.promo-bar {
  background: var(--ink); color: #EFE8DC; font-size: .8rem; text-align: center;
  padding: 9px 16px; letter-spacing: .02em;
}
.promo-bar b { color: #fff; font-weight: 600; }
.promo-bar a { border-bottom: 1px solid rgba(255,255,255,.35); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,248,244,.92);
  -webkit-backdrop-filter: saturate(1.6) blur(10px);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--hdr-h); }
.brand { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: .01em; color: var(--ink); display: flex; align-items: center; gap: .5rem; }
.brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); display: inline-block; margin-bottom: -2px; }
.nav-main { display: none; gap: 30px; }
.nav-main a { font-size: .92rem; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brass); }
.hdr-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: var(--r);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink);
  transition: background .16s;
}
.icon-btn:hover { background: var(--bg-3); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: 3px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--brass); color: #fff; border-radius: 999px;
  font-size: .68rem; font-weight: 700; line-height: 19px; text-align: center;
  transform: scale(0); transition: transform .2s cubic-bezier(.3,1.6,.5,1);
}
.cart-count.show { transform: scale(1); }
.burger { display: inline-flex; }
.nav-main-toggle { display: inline-flex; }

/* ---------------- 语言切换器（i18n 新增） ----------------
   此前 HTML 已上线但这套 CSS 整体漏写，后果是：summary 里的两个
   <svg viewBox> 没有宽高约束（SVG 无尺寸时默认撑满容器宽度），
   地球与下拉箭头被渲染成巨型，溢出页头、压住公告条。
   移动端 390px 诊断里 svg 宽度 = 390px 即此因。 */
.lang-switch { position: relative; }
.lang-dd { position: relative; }
.lang-dd > summary {
  list-style: none;                       /* 去掉浏览器默认展开三角 */
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer; padding: 8px 10px; border-radius: var(--r);
  font-size: .86rem; font-weight: 500; color: var(--ink);
  -webkit-user-select: none; user-select: none;
}
.lang-dd > summary::-webkit-details-marker { display: none; }
.lang-dd > summary:hover { background: var(--bg-3); }
.lang-dd[open] > summary { background: var(--bg-3); }
.lang-dd > summary > svg { width: 18px; height: 18px; flex: none; color: var(--ink); }   /* 关键约束 */
.lang-dd > summary > svg:last-child { width: 14px; height: 14px; color: var(--ink-3); transition: transform .18s; }
.lang-dd[open] > summary > svg:last-child { transform: rotate(180deg); }
.lang-cur-label { white-space: nowrap; }
.lang-dd ul {
  position: absolute; top: calc(100% + 6px); inset-inline-end: 0;
  min-width: 172px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 12px 32px rgba(0,0,0,.14); z-index: 95;
}
.lang-dd li a, .lang-dd li .lang-cur {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: .9rem; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.lang-dd li a:hover { background: var(--bg-3); }
.lang-dd li .lang-cur { color: var(--ink-3); font-weight: 600; }

/* 抽屉内的语言切换：不用绝对定位（抽屉 overflow:auto 会裁掉弹层），改为文档流内展开 */
.drawer-lang { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 4px; }
.drawer-lang-title { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 12px 0 2px; }
.drawer-lang .lang-switch { display: block; }
.drawer-lang .lang-dd > summary { width: 100%; padding: 10px 8px; }
.drawer-lang .lang-dd ul { position: static; min-width: 0; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 10px; }

.drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: var(--hdr-h); padding: 0 20px; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.drawer nav { padding: 18px 20px 32px; }
.drawer nav a { display: block; padding: 15px 0; font-family: var(--serif); font-size: 1.35rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.drawer nav a:last-child { border-bottom: 0; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; background: var(--bg-3); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(251,248,244,.97) 0%, rgba(251,248,244,.90) 34%, rgba(251,248,244,.42) 62%, rgba(251,248,244,.06) 100%);
}
.hero-inner { position: relative; padding-top: 76px; padding-bottom: 72px; }
.hero-content { max-width: 560px; }
.hero h1 { margin-bottom: .45em; }
.hero-lead { font-size: 1.075rem; color: var(--ink-2); max-width: 46ch; }
.hero-actions { margin: 30px 0 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .82rem; color: var(--ink-3); }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); flex: 0 0 auto; }

/* ---------------------------------------------------------------- promises */
.promises { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.promise { background: var(--bg); padding: 26px 24px; }
.promise svg { width: 24px; height: 24px; color: var(--brass); margin-bottom: 12px; }
.promise h3 { font-family: var(--sans); font-size: .95rem; font-weight: 700; margin-bottom: .3em; }
.promise p { font-size: .88rem; color: var(--ink-3); margin: 0; line-height: 1.55; }

/* ---------------------------------------------------------------- category tiles */
.cat-grid { display: grid; gap: 20px; }
.cat-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); aspect-ratio: 4/3; display: block; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,0,.2,1); }
.cat-tile:hover img { transform: scale(1.045); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,18,15,.72) 0%, rgba(20,18,15,.18) 46%, transparent 72%); }
.cat-tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 2; color: #fff; }
.cat-tile-body h3 { color: #fff; font-size: 1.4rem; margin-bottom: .15em; }
.cat-tile-body span { font-size: .85rem; color: rgba(255,255,255,.82); }

/* ---------------------------------------------------------------- product card */
.product-grid { display: grid; gap: 26px 22px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.card-media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); aspect-ratio: 1/1; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .45s cubic-bezier(.2,0,.2,1); }
.product-card:hover .card-media img { transform: scale(1.05); }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; z-index: 2; }
.badge {
  background: rgba(251,248,244,.94); color: var(--ink); font-size: .68rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px;
}
.card-quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s;
}
.product-card:hover .card-quick, .product-card:focus-within .card-quick { opacity: 1; transform: translateY(0); }
.product-card .card-quick .btn { background: var(--ink); color: #FBF8F4; border-color: var(--ink); box-shadow: var(--shadow-sm); }
.product-card .card-quick .btn:hover { background: var(--brass); border-color: var(--brass); }
.card-body { padding: 14px 2px 0; }
.card-cat { font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .35rem; }
.card-title { font-family: var(--serif); font-size: 1.04rem; line-height: 1.3; color: var(--ink); margin: 0 0 .3rem; }
.card-title a:hover { color: var(--brass-dk); }
.card-tag { font-size: .85rem; color: var(--ink-3); line-height: 1.5; margin: 0 0 .6rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { font-size: 1rem; font-weight: 600; color: var(--ink); }
.card-price .from { font-size: .78rem; font-weight: 500; color: var(--ink-3); margin-right: .3rem; }
.swatches { display: flex; gap: 5px; margin-top: 8px; }
.swatch-dot { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(27,24,21,.18); }

/* ---------------------------------------------------------------- shop */
.shop-layout { display: grid; gap: 32px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 0 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: .87rem; font-weight: 500; color: var(--ink-2); transition: all .16s;
}
.chip:hover { border-color: var(--ink-3); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #FBF8F4; }
.sel-wrap { display: flex; align-items: center; gap: 10px; font-size: .87rem; color: var(--ink-3); }
select.sel {
  padding: 9px 32px 9px 13px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--surface) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%238B8177' d='M2 4.2 6 8l4-3.8z'/%3E%3C/svg%3E") no-repeat right 11px center/11px;
  appearance: none; -webkit-appearance: none; font-size: .88rem; color: var(--ink); cursor: pointer;
}
.result-count { font-size: .87rem; color: var(--ink-3); }
.empty-state { text-align: center; padding: 70px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }

/* ---------------------------------------------------------------- breadcrumb */
.crumbs { font-size: .82rem; color: var(--ink-3); padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.crumbs a:hover { color: var(--ink); }
.crumbs span.sep { color: var(--line-2); }

/* ---------------------------------------------------------------- PDP */
.pdp { display: grid; gap: 40px; padding: 28px 0 0; }
.gallery { display: grid; gap: 12px; }
.gallery-main { position: relative; background: var(--bg-2); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1/1; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 5%; cursor: zoom-in; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
  background: rgba(255,255,255,.92); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); color: var(--ink); transition: background .16s;
}
.gallery-nav:hover { background: #fff; }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-nav svg { width: 18px; height: 18px; }
.thumbs { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; }
.thumb { flex: 0 0 74px; width: 74px; height: 74px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--bg-2); overflow: hidden; transition: border-color .16s; }
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.thumb.active { border-color: var(--ink); }

.pdp-info .badges { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.pdp-info .badges .badge { background: var(--brass-lt); color: var(--brass-dk); }
.pdp-info h1 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); margin-bottom: .35em; }
.pdp-tag { font-size: 1.02rem; color: var(--ink-3); margin-bottom: 1.3em; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.price-now { font-size: 1.85rem; font-weight: 600; color: var(--ink); font-family: var(--serif); }
.price-note { font-size: .84rem; color: var(--ink-3); }
.stock-line { display: inline-flex; align-items: center; gap: .45rem; font-size: .87rem; color: var(--green); font-weight: 500; margin-bottom: 22px; }
.stock-line::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.option-group { margin-bottom: 22px; }
.option-label { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 9px; display: block; }
.option-label b { color: var(--ink); font-weight: 600; letter-spacing: 0; text-transform: none; }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  padding: 10px 15px; border: 1px solid var(--line-2); border-radius: var(--r);
  font-size: .89rem; color: var(--ink-2); transition: all .16s; background: var(--surface);
}
.opt:hover { border-color: var(--ink-3); }
.opt.active { border-color: var(--ink); background: var(--ink); color: #FBF8F4; }
.opt.out { opacity: .45; text-decoration: line-through; }

.buy-row { display: flex; gap: 12px; align-items: stretch; margin: 26px 0 18px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); height: 52px; }
.qty button { width: 44px; height: 100%; font-size: 1.15rem; color: var(--ink-2); transition: background .16s; }
.qty button:hover { background: var(--bg-2); }
.qty input { width: 46px; height: 100%; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: transparent; font-size: .98rem; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row .btn { height: 52px; flex: 1 1 220px; }

.assurances { display: grid; gap: 10px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.assurance { display: flex; gap: 11px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.assurance svg { width: 17px; height: 17px; color: var(--brass); flex: 0 0 auto; margin-top: 3px; }

.highlights { list-style: none; padding: 0; margin: 0 0 26px; }
.highlights li { position: relative; padding-left: 26px; margin-bottom: 11px; font-size: .95rem; }
.highlights li::before {
  content: ""; position: absolute; left: 4px; top: .58em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brass);
}

.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 17px 0; font-family: var(--serif); font-size: 1.06rem; color: var(--ink); text-align: left; }
.acc-head svg { width: 15px; height: 15px; color: var(--ink-3); transition: transform .22s; flex: 0 0 auto; }
.acc-item.open .acc-head svg { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 0 20px; font-size: .93rem; }
.acc-item.open .acc-body { display: block; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--ink-3); width: 42%; padding-right: 16px; }
.spec-table td { color: var(--ink); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-note { font-size: .8rem; color: var(--ink-3); margin-top: 14px; line-height: 1.6; }

.bestfor { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.bestfor span { font-size: .8rem; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }

.prose-narrow { margin-top: 26px; }
.story p { font-size: 1rem; }
.story p:first-of-type::first-letter { font-family: var(--serif); font-size: 2.6em; float: left; line-height: .86; padding: .06em .1em 0 0; color: var(--brass-dk); }

/* ---------------------------------------------------------------- cart */
.cart-layout { display: grid; gap: 34px; padding: 34px 0 0; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-line-img { width: 88px; height: 88px; border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.cart-line-img img { width: 100%; height: 100%; object-fit: contain; padding: 7%; }
.cart-line-main { display: flex; flex-direction: column; gap: 4px; }
.cart-line-name { font-family: var(--serif); font-size: 1.02rem; color: var(--ink); line-height: 1.3; }
.cart-line-name:hover { color: var(--brass-dk); }
.cart-line-finish { font-size: .84rem; color: var(--ink-3); }
.cart-line-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.cart-line-price { font-weight: 600; color: var(--ink); font-size: 1rem; }
.qty-sm { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); height: 36px; background: var(--surface); }
.qty-sm button { width: 32px; height: 100%; color: var(--ink-2); font-size: 1rem; }
.qty-sm button:hover { background: var(--bg-2); }
.qty-sm span { min-width: 30px; text-align: center; font-size: .9rem; font-weight: 600; }
.remove-link { font-size: .82rem; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.remove-link:hover { color: var(--red); }

.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.summary.sticky { position: sticky; top: calc(var(--hdr-h) + 20px); }
.summary h2 { font-size: 1.2rem; margin-bottom: 1.1em; }
.sum-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: .93rem; }
.sum-row .lbl { color: var(--ink-3); }
.sum-row .val { color: var(--ink); font-weight: 500; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 16px; font-size: 1.1rem; }
.sum-row.total .val { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.sum-row.free .val { color: var(--green); font-weight: 600; }
.summary .btn { margin-top: 20px; }
.sum-note { font-size: .8rem; color: var(--ink-3); margin: 16px 0 0; line-height: 1.6; }
.ship-progress { background: var(--brass-lt); border-radius: var(--r); padding: 12px 14px; font-size: .85rem; color: var(--brass-dk); margin-bottom: 18px; }
.ship-progress b { color: var(--brass-dk); }
.bar { height: 4px; background: rgba(172,122,49,.22); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--brass); border-radius: 99px; transition: width .4s ease; }

/* ---------------------------------------------------------------- paypal */
.pay-section { margin-top: 22px; }
#paypal-buttons { min-height: 46px; }
.pay-note { display: flex; gap: 9px; align-items: center; font-size: .82rem; color: var(--ink-3); margin-top: 14px; }
.pay-note svg { width: 15px; height: 15px; color: var(--brass); flex: 0 0 auto; }
.cfg-warn {
  background: #FDF6E7; border: 1px solid #E8D5A8; border-left: 3px solid var(--brass);
  border-radius: var(--r); padding: 15px 17px; font-size: .87rem; color: #6B4E17; margin-bottom: 18px; line-height: 1.6;
}
.cfg-warn b { color: #543C0F; }
.cfg-warn code { background: rgba(107,78,23,.1); padding: 1px 5px; border-radius: 3px; font-size: .84em; }
.spinner { width: 22px; height: 22px; border: 2.5px solid var(--line-2); border-top-color: var(--brass); border-radius: 50%; animation: spin .7s linear infinite; margin: 16px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-msg { font-size: .87rem; padding: 11px 14px; border-radius: var(--r); margin-top: 14px; display: none; }
.pay-msg.err { display: block; background: #FBEEEC; color: var(--red); border: 1px solid #EFD5D0; }
.pay-msg.ok { display: block; background: #EDF6F0; color: var(--green); border: 1px solid #CFE5D8; }

.done-panel { text-align: center; padding: 56px 20px; }
.done-icon { width: 62px; height: 62px; border-radius: 50%; background: var(--brass-lt); color: var(--brass-dk); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.done-icon svg { width: 30px; height: 30px; }
.done-ref { font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.done-id { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); word-break: break-all; }

/* ---------------------------------------------------------------- forms */
.form-grid { display: grid; gap: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--surface); font-size: .94rem; transition: border-color .16s, box-shadow .16s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-lt); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--ink-3); margin-top: 5px; }
.form-status { margin-top: 16px; font-size: .9rem; padding: 13px 16px; border-radius: var(--r); display: none; }
.form-status.ok { display: block; background: #EDF6F0; color: var(--green); border: 1px solid #CFE5D8; }
.form-status.err { display: block; background: #FBEEEC; color: var(--red); border: 1px solid #EFD5D0; }

/* ---------------------------------------------------------------- content */
.page-head { padding: 52px 0 34px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .3em; }
.page-head p { color: var(--ink-3); max-width: 62ch; margin: 0; }
.content-grid { display: grid; gap: 40px; padding-top: 46px; }
.prose h2 { margin-top: 2.2em; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; font-size: 1.12rem; }
.prose p, .prose li { font-size: .97rem; }
.prose a { color: var(--brass-dk); border-bottom: 1px solid var(--brass-lt); }
.prose a:hover { border-color: var(--brass); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1.5em 0; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--bg-2); font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.toc { position: sticky; top: calc(var(--hdr-h) + 20px); font-size: .88rem; }
.toc h3 { font-family: var(--sans); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .9em; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: .55em; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--brass-dk); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; width: 100%; padding: 20px 0; font-family: var(--serif); font-size: 1.08rem; color: var(--ink); text-align: left; line-height: 1.4; }
.faq-q svg { width: 16px; height: 16px; color: var(--ink-3); flex: 0 0 auto; margin-top: 5px; transition: transform .22s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 22px; font-size: .94rem; max-width: 74ch; }
.faq-item.open .faq-a { display: block; }

.value-grid { display: grid; gap: 26px; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; }
.value-card .num { font-family: var(--serif); font-size: 1.9rem; color: var(--brass); line-height: 1; margin-bottom: 12px; }
.value-card h3 { font-size: 1.08rem; }
.value-card p { font-size: .91rem; color: var(--ink-3); margin: 0; }

.stats-strip { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--bg); padding: 26px 22px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: 1.75rem; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.stat span { font-size: .83rem; color: var(--ink-3); }

.note-band { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: var(--r); padding: 20px 24px; font-size: .91rem; }
.note-band h3 { font-size: 1rem; margin-bottom: .5em; }
.note-band p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #A79E92; margin-top: 0; }
.footer-top { padding-top: 62px; padding-bottom: 44px; display: grid; gap: 40px; }
.footer-brand .brand { color: #FBF8F4; margin-bottom: 14px; }
.footer-brand p { font-size: .89rem; max-width: 34ch; line-height: 1.65; }
.footer-col h3 { font-family: var(--sans); font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; color: #7D7568; margin-bottom: 1.1em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6em; }
.footer-col a { font-size: .89rem; color: #CBC3B6; }
.footer-col a:hover { color: #FBF8F4; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; padding-bottom: 30px; display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between; font-size: .81rem; }
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-note { font-size: .78rem; color: #7D7568; margin-top: 26px; line-height: 1.65; max-width: 92ch; }

/* ---------------------------------------------------------------- toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 90px);
  background: var(--ink); color: #FBF8F4; padding: 13px 22px; border-radius: var(--r);
  font-size: .9rem; box-shadow: var(--shadow-lg); z-index: 120;
  transition: transform .28s cubic-bezier(.3,1.4,.5,1); display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 40px);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 17px; height: 17px; color: #8FD3A9; flex: 0 0 auto; }

/* ---------------------------------------------------------------- 404 */
.err-page { text-align: center; padding: 96px 20px 110px; }
.err-code { font-family: var(--serif); font-size: clamp(4rem, 14vw, 8rem); color: var(--line-2); line-height: 1; margin-bottom: 10px; }

/* ---------------------------------------------------------------- responsive */
@media (min-width: 640px) {
  .container { padding: 0 28px; }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .assurances { grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-line { grid-template-columns: 112px 1fr; }
  .cart-line-img { width: 112px; height: 112px; }
}
@media (min-width: 900px) {
  .nav-main { display: flex; }
  .nav-main-toggle { display: none; }
  .hero-inner { padding-top: 96px; padding-bottom: 92px; }
  .section { padding: 84px 0; }
  .section-sm { padding: 56px 0; }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 34px 26px; }
  .pdp { grid-template-columns: 1.08fr 1fr; gap: 52px; padding: 34px 0 0; }
  .gallery { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr 380px; gap: 48px; }
  .content-grid { grid-template-columns: 230px 1fr; gap: 60px; }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .stats-strip { grid-template-columns: repeat(4, 1fr); }
  .promises { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1140px) {
  .product-grid.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

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

/* print */
@media print {
  .site-header, .site-footer, .promo-bar, .toast, .drawer, .card-quick { display: none !important; }
  body { background: #fff; }
}
