/* Draft & Build — site styles.
   Palette: warm ivory paper, graphite night, brass gold. Type: Cormorant Garamond + Manrope. */

/* ---------- tokens ---------- */
:root {
  --ink: #16130f;
  --ink-2: #2d2823;
  --muted: #6d655b;
  --muted-2: #988f83;
  --paper: #f6f2eb;
  --paper-2: #efe8dc;
  --sand: #f2ebdf;
  --card: #fffdf9;
  --line: rgba(22, 19, 15, .1);
  --line-2: rgba(22, 19, 15, .18);
  --gold: #b88c4e;
  --gold-2: #d2a967;
  --gold-3: #ead7b5;
  --gold-deep: #8b642f;
  --night: #14120f;
  --night-2: #1d1a16;
  --night-3: #29251f;
  --night-line: rgba(234, 215, 181, .14);
  --on-night: #efe6d6;
  --on-night-muted: #b7ab98;
  --ok: #2e7a50;
  --warn: #a8701c;
  --err: #b0402c;
  --r-s: 12px;
  --r: 18px;
  --r-l: 24px;
  --r-xl: 32px;
  --sh-1: 0 1px 2px rgba(22, 19, 15, .05), 0 8px 24px -12px rgba(22, 19, 15, .12);
  --sh-2: 0 24px 60px -24px rgba(22, 19, 15, .35);
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 78px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 70px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: 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, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold-3); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--paper); }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic--sm { width: 15px; height: 15px; }
.ic--lg { width: 28px; height: 28px; stroke-width: 1.35; }
.ic--xl { width: 46px; height: 46px; stroke-width: 1.2; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap--text { max-width: 880px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.tiny { font-size: 12px; line-height: 1.5; }
.tiny a, .muted a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.todo { background: rgba(184, 140, 78, .18); border-bottom: 1px dashed var(--gold); border-radius: 4px; padding: 0 3px; }

/* ---------- type ---------- */
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.012em; color: inherit; }
.h1 { font-size: clamp(46px, 6.6vw, 96px); line-height: .96; }
.h1 em, .h2 em { font-style: italic; font-weight: 500; color: var(--gold-deep); }
.h1--page { font-size: clamp(40px, 5.2vw, 72px); line-height: 1; }
.h1--product { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.06; }
.h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; }
.h3 { font-size: clamp(25px, 2.3vw, 32px); line-height: 1.12; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font: 700 11.5px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--gold-2); }
.lead { margin-top: 18px; max-width: 62ch; font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.65; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: .02em; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 3px; white-space: nowrap; transition: gap .3s var(--ease), color .2s; }
.link-arrow:hover { gap: 16px; color: var(--gold-deep); }
.link-arrow .ic { width: 17px; height: 17px; }
.linkbtn { color: var(--ink); font-size: 13.5px; text-align: left; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.linkbtn:hover { color: var(--gold-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 700 12.5px/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: 0 12px 28px -14px rgba(22, 19, 15, .6); }
.btn--gold { background: linear-gradient(135deg, #dcb575, #b0823f 55%, #9a6d31); color: #1b140b; box-shadow: 0 14px 30px -14px rgba(160, 112, 48, .75), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn--line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); background: rgba(22, 19, 15, .03); }
.btn--ghost-light { border-color: rgba(239, 230, 214, .28); color: var(--on-night); }
.btn--ghost-light:hover { border-color: var(--gold-2); color: #fff; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 11.5px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; min-width: 0; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.iconbtn { position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--ink); transition: background .2s, color .2s; }
.iconbtn:hover { background: rgba(22, 19, 15, .06); }
.iconbtn em, .drawer__nav span[data-count] {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--gold); color: var(--night); font: 800 11px/19px var(--sans); font-style: normal; text-align: center;
}
.tool {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 253, 249, .9); border: 1px solid var(--line); color: var(--ink);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: color .2s, border-color .2s, transform .3s var(--ease), background .2s;
}
.tool .ic { width: 18px; height: 18px; }
.tool:hover { color: var(--gold-deep); border-color: var(--gold); }
.tool[aria-pressed="true"] { color: var(--gold-deep); border-color: var(--gold); background: #fff6e8; }
.tool[data-fav][aria-pressed="true"] .ic { fill: var(--gold); stroke: var(--gold-deep); }
.tool--lg { width: 54px; height: 54px; background: var(--paper); border-color: var(--line-2); }
.tool--lg .ic { width: 20px; height: 20px; }

/* ---------- topbar & header ---------- */
.topbar { background: var(--night); color: #d9cdb9; font-size: 12.5px; letter-spacing: .02em; }
.topbar__in { height: 38px; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 48px); }
.topbar span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar .ic { width: 15px; height: 15px; color: var(--gold-2); }
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 242, 235, .86); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.hdr.is-scrolled { box-shadow: 0 10px 30px -22px rgba(22, 19, 15, .5); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 22px; transition: height .3s var(--ease); }
.hdr.is-scrolled .hdr__in { height: 66px; }
.hdr__burger { display: none; margin-left: -10px; }
.hdr__actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; border-radius: 12px;
  background: var(--night); color: var(--gold-3); font: italic 600 16px/1 var(--serif); letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(210, 169, 103, .35);
}
.logo__mark i { color: var(--gold-2); font-style: italic; }
.logo__word { font: 600 25px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.logo__word i { font-style: italic; font-weight: 500; color: var(--gold-deep); }
.logo--light .logo__word { color: var(--on-night); }
.logo--light .logo__word i { color: var(--gold-2); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: rgba(22, 19, 15, .055); color: var(--ink); }
.nav__link.is-active { color: var(--gold-deep); }
.nav__link[aria-expanded="true"] .ic { transform: rotate(180deg); }
.nav__link .ic { transition: transform .3s var(--ease); }

/* mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 40px 60px -40px rgba(22, 19, 15, .45);
  animation: drop .35s var(--ease);
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.mega__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.15fr); gap: 28px; padding-block: 34px 38px; }
.mega__title { display: grid; gap: 4px; margin-bottom: 14px; font: 600 23px/1.1 var(--serif); transition: color .2s; }
.mega__title small { font: 600 12px/1.3 var(--sans); color: var(--muted); letter-spacing: .02em; }
.mega__title:hover { color: var(--gold-deep); }
.mega__col li a { display: block; padding: 6px 0; color: var(--ink-2); font-size: 14.5px; transition: color .2s, transform .25s var(--ease); }
.mega__col li a:hover { color: var(--gold-deep); transform: translateX(4px); }
.mega__feature { display: grid; grid-template-rows: auto auto auto 1fr; gap: 6px; padding: 18px; border-radius: var(--r-l); background: var(--night); color: var(--on-night); }
.mega__feature .eyebrow { margin: 0; color: var(--gold-2); }
.mega__feature b { font: 600 24px/1.1 var(--serif); }
.mega__feature .link-arrow { color: var(--on-night); align-self: end; justify-self: start; border-color: var(--gold-2); }
.mega__ph { display: block; height: 120px; margin-bottom: 8px; border-radius: 16px; background: radial-gradient(circle at 50% 45%, #fff, #e9dfcf 70%); }
.mega__ph img { height: 100%; width: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8px; }

/* search */
.search { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 40px 60px -40px rgba(22, 19, 15, .45); padding-block: 22px 28px; animation: drop .3s var(--ease); }
.search__form { display: flex; align-items: center; gap: 14px; border-bottom: 1.5px solid var(--ink); padding-bottom: 8px; }
.search__form > .ic { width: 24px; height: 24px; color: var(--gold-deep); }
.search__form input { flex: 1; min-width: 0; height: 56px; border: 0; background: transparent; font: 500 clamp(20px, 2.4vw, 30px)/1 var(--serif); outline: none; }
.search__form input::placeholder { color: var(--muted-2); }
.search__hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.search__hints a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 600; }
.search__hints a:hover { border-color: var(--gold); color: var(--gold-deep); }
.search__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin-top: 18px; }
.sres { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
@media (hover: hover) { .sres:hover { border-color: var(--gold); transform: translateY(-2px); } }
.sres__ph { width: 58px; height: 58px; flex: none; border-radius: 12px; background: var(--sand); }
.sres__ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4px; }
.sres b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.sres small { color: var(--gold-deep); font-weight: 700; }
.search__all { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(20, 18, 15, .5); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(380px, 88vw); background: var(--paper); display: flex; flex-direction: column; gap: 18px; padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; animation: slidein .4s var(--ease); }
@keyframes slidein { from { transform: translateX(-100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__nav { display: grid; }
.drawer__nav .eyebrow { margin: 18px 0 6px; }
.drawer__nav a { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.drawer__nav a > span { color: var(--muted); font-size: 13px; }
.drawer__nav span[data-count] { position: static; }
.drawer .btn { margin-top: auto; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 120px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--flush { padding-top: 0; }
.section--paper2 { background: var(--paper-2); }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(28px, 4vw, 52px); flex-wrap: wrap; }
.shead .lead { margin-top: 14px; }
.shead--center { justify-content: center; text-align: center; }
.shead--center .lead { margin-inline: auto; }
.shead--center .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 80px) 0 clamp(64px, 8vw, 120px); background:
  radial-gradient(60% 70% at 88% 18%, rgba(210, 169, 103, .22), transparent 60%),
  radial-gradient(40% 50% at 0% 100%, rgba(210, 169, 103, .12), transparent 70%), var(--paper); }
.hero__glow { position: absolute; right: -10%; top: 10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 105, 42, .14), transparent 62%); animation: breathe 9s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .7; } }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__lead { margin-top: 26px; max-width: 48ch; font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.65; color: var(--muted); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 46px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(18px, 3vw, 44px); padding-top: 28px; border-top: 1px solid var(--line); }
.hero__stats li { display: grid; gap: 6px; }
.hero__stats b { font: 600 clamp(36px, 3.4vw, 50px)/1 var(--serif); color: var(--gold-deep); }
.hero__stats span { max-width: 14ch; font-size: 12px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero__visual { position: relative; aspect-ratio: .92; max-width: 560px; justify-self: center; width: 100%; }
.hero__arch {
  position: absolute; inset: 0 7%; display: grid; place-items: end center; overflow: hidden;
  border-radius: 999px 999px 40px 40px;
  background: radial-gradient(circle at 50% 46%, #fff 0, #f4ede1 48%, #e6d9c4 100%);
  box-shadow: inset 0 0 0 1px rgba(184, 140, 78, .28), 0 50px 80px -40px rgba(80, 56, 24, .45);
}
.hero__ring { position: absolute; inset: 5%; border-radius: inherit; border: 1px solid rgba(184, 140, 78, .35); animation: ring 7s ease-in-out infinite; }
@keyframes ring { 50% { inset: 3%; opacity: .5; } }
.hero__img { position: relative; width: 82%; margin-bottom: 7%; mix-blend-mode: multiply; animation: rise 1.4s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.hero__tag {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 18px; background: rgba(255, 253, 249, .86); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--sh-1); font-weight: 600; font-size: 13.5px;
  animation: float 6s ease-in-out infinite;
}
.hero__tag .ic { color: var(--gold-deep); }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero__tag--product { left: -2%; bottom: 12%; display: grid; gap: 2px; padding: 14px 18px; transition: border-color .2s; }
.hero__tag--product:hover { border-color: var(--gold); }
.hero__tag--product .eyebrow { margin: 0 0 2px; font-size: 10px; }
.hero__tag--product b { font: 600 22px/1.1 var(--serif); }
.hero__tag--product span { display: flex; align-items: center; gap: 10px; font: 600 20px/1 var(--serif); color: var(--gold-deep); }
.hero__tag--product i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); }
.hero__tag--product i .ic { width: 14px; height: 14px; color: inherit; }
.hero__tag--chip { right: -1%; top: 16%; animation-delay: -2s; }
.hero__tag--chip2 { right: 4%; bottom: 34%; animation-delay: -4s; }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cat { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
@media (hover: hover) { .cat:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(184, 140, 78, .45); } }
.cat__ph { aspect-ratio: 1 / .92; display: grid; place-items: center; background: radial-gradient(circle at 50% 44%, #fff 0, var(--sand) 72%); }
.cat__ph img { width: 78%; height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
@media (hover: hover) { .cat:hover .cat__ph img { transform: scale(1.05); } }
.cat__body { display: grid; gap: 6px; padding: 18px 22px 22px; }
.cat__body b { font: 600 27px/1.05 var(--serif); }
.cat__body small { font-size: 13px; color: var(--muted); font-weight: 600; }
.cat__go { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--card); border: 1px solid var(--line); transition: background .3s, color .3s, transform .4s var(--ease); }
@media (hover: hover) { .cat:hover .cat__go { background: var(--ink); color: var(--gold-3); transform: rotate(-45deg); } }

/* ---------- promise strip ---------- */
.promise { background: var(--night); color: var(--on-night); }
.promise__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.promise__item { display: grid; gap: 10px; align-content: start; padding: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 32px); border-left: 1px solid var(--night-line); }
.promise__item:first-child { border-left: 0; padding-left: 0; }
.promise__item .ic { color: var(--gold-2); }
.promise__item b { font: 600 24px/1.1 var(--serif); color: #fff; }
.promise__item p { font-size: 14px; color: var(--on-night-muted); }

/* ---------- tabs & grids ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 28px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs__btn { height: 42px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; transition: background .25s, color .25s; }
.tabs__btn.is-active { background: var(--ink); color: var(--paper); }
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- product card ---------- */
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 22px; background: var(--card); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
@media (hover: hover) { .pcard:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(184, 140, 78, .4); } }
.pcard__media { position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 11%; border-radius: 21px 21px 0 0; overflow: hidden; background: radial-gradient(circle at 50% 42%, #fff 0, var(--sand) 74%); }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .5s, transform .8s var(--ease); }
.pcard__alt { position: absolute; inset: 11%; width: 78% !important; height: 78% !important; opacity: 0; }
@media (hover: hover) {
  .pcard:hover .pcard__media img:not(.pcard__alt) { transform: scale(1.04); }
  .pcard:hover .pcard__media:has(.pcard__alt) img:not(.pcard__alt) { opacity: 0; }
  .pcard:hover .pcard__alt { opacity: 1; }
  .pcard__tools .tool[aria-pressed="false"] { opacity: 0; transform: translateX(6px); }
  .pcard:hover .pcard__tools .tool, .pcard__tools .tool:focus-visible { opacity: 1; transform: none; }
}
.badge { position: absolute; z-index: 2; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 9px; border-radius: 999px; background: var(--night); color: var(--gold-3); font: 700 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.badge .ic { width: 12px; height: 12px; color: var(--gold-2); }
.pcard__tools { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; gap: 8px; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.pcard__brand { font: 700 10.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.pcard__brand span { margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--line-2); color: var(--muted); letter-spacing: .1em; }
.pcard__title { margin: 8px 0 12px; font: 600 15.5px/1.38 var(--sans); }
.pcard__title a { transition: color .2s; }
.pcard__title a::after { content: ''; position: absolute; inset: 0; border-radius: 22px; }
@media (hover: hover) { .pcard__title a:hover { color: var(--gold-deep); } }
.pcard__facts { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__facts li { padding: 4px 9px; border-radius: 999px; background: var(--paper-2); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.pcard__foot { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.pcard__price { display: grid; gap: 6px; }
.pcard__price b { font: 600 27px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.pcard__tools, .pcard__foot .cartbtn { position: relative; z-index: 3; }
.pcard__tools { position: absolute; }
.stock { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.stock--in { color: var(--ok); }
.stock--order { color: var(--warn); }
.cartbtn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 700 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; transition: background .25s, color .25s, transform .3s var(--ease); }
.cartbtn .ic { width: 18px; height: 18px; }
.cartbtn:hover { background: var(--gold); color: var(--night); }
.cartbtn.is-added { background: var(--ok); color: #fff; }

/* ---------- quick calc (dark) ---------- */
.calc-teaser { position: relative; overflow: hidden; padding-block: clamp(64px, 8vw, 120px); background: radial-gradient(50% 80% at 85% 50%, rgba(217, 105, 42, .16), transparent 70%), var(--night); color: var(--on-night); }
.calc-teaser .h2 { color: #fff; }
.calc-teaser .lead { color: var(--on-night-muted); margin-bottom: 30px; }
.calc-teaser__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.quickcalc { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-xl); background: linear-gradient(160deg, var(--night-3), var(--night-2)); border: 1px solid var(--night-line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.quickcalc__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-night-muted); }
.quickcalc__area { display: block; margin: 6px 0 14px; font: 600 clamp(48px, 5vw, 68px)/1 var(--serif); color: #fff; }
.quickcalc__scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--muted-2); }
.quickcalc__res { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 22px 0 16px; }
.quickcalc__res div { padding: 16px; border-radius: 16px; background: rgba(234, 215, 181, .06); border: 1px solid var(--night-line); }
.quickcalc__res small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-muted); font-weight: 700; }
.quickcalc__res b { display: block; margin-top: 4px; font: 600 34px/1.1 var(--serif); color: var(--gold-2); }
.quickcalc__list { display: grid; gap: 8px; }
.qc-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--night-line); transition: border-color .2s, background .2s; }
.qc-item:hover { border-color: var(--gold); background: rgba(255, 255, 255, .07); }
.qc-item span { width: 44px; height: 44px; flex: none; border-radius: 10px; background: #efe6d6; }
.qc-item img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 3px; }
.qc-item b { flex: 1; font-size: 14px; font-weight: 600; color: #fff; }
.qc-item em { font: 600 18px/1 var(--serif); font-style: normal; color: var(--gold-2); white-space: nowrap; }

/* range input */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 30%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--gold-2) var(--p), rgba(234, 215, 181, .18) var(--p)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(234, 215, 181, .18); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--gold-2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); }
.selform input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--gold) var(--p), var(--paper-2) var(--p)); }
.selform input[type="range"]::-moz-range-track { background: var(--paper-2); }

/* ---------- series ---------- */
.series { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.serie { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 22px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
@media (hover: hover) { .serie:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(184, 140, 78, .45); } }
.serie__ph { aspect-ratio: 1 / .9; display: grid; place-items: center; margin-bottom: 8px; border-radius: 16px; background: radial-gradient(circle at 50% 44%, #fff 0, var(--sand) 72%); }
.serie__ph img { width: 74%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.serie > span:not(.serie__ph), .serie > b { padding-inline: 6px; }
.serie__type { font: 700 11px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.serie__name { font: 600 30px/1 var(--serif); }
.serie__note { font-size: 14px; color: var(--muted); }
.serie__facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; font-size: 13px; font-weight: 600; }
.serie__facts span { display: inline-flex; align-items: center; gap: 6px; }
.serie__facts .ic { width: 16px; height: 16px; color: var(--gold-deep); }
.serie__price { margin-top: auto; padding-top: 10px; font: 600 22px/1 var(--serif); color: var(--gold-deep); }

/* ---------- system ---------- */
.system { padding-block: clamp(64px, 8vw, 120px); background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.system__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.system__visual { position: relative; aspect-ratio: 1 / .95; }
.system__ph { position: absolute; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 44%, #fff 0, #eee4d4 72%); box-shadow: 0 40px 70px -40px rgba(80, 56, 24, .5); }
.system__ph img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.system__ph--a { left: 0; top: 0; width: 60%; aspect-ratio: .8; border-radius: 999px 999px 28px 28px; }
.system__ph--b { right: 2%; top: 14%; width: 40%; aspect-ratio: .7; border-radius: 999px 999px 24px 24px; }
.system__ph--c { right: 14%; bottom: 0; width: 38%; aspect-ratio: 1; border-radius: 50%; border: 8px solid var(--paper); }
.steps { display: grid; gap: 0; margin: 30px 0 34px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 2px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: '0' counter(s); grid-row: span 2; font: 600 28px/1 var(--serif); color: var(--gold); }
.steps b { font-size: 16px; }
.steps span { font-size: 14.5px; color: var(--muted); }

/* ---------- brands ---------- */
.brands { padding-block: 30px; border-block: 1px solid var(--line); background: var(--paper); }
.brands__title { text-align: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 18px; }
.brands__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 36px; }
.brands__list li { display: grid; gap: 2px; text-align: center; flex: 1 1 140px; }
.brands__list b { font: 600 clamp(26px, 2.6vw, 34px)/1 var(--serif); letter-spacing: .02em; }
.brands__list span { font-size: 12px; color: var(--muted); }
.brands--big { padding-block: 56px; }

/* ---------- flow ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.flow li { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px 0 0; border-top: 1px solid var(--gold); }
.flow__n { position: absolute; right: 0; top: 14px; font: 600 64px/1 var(--serif); color: rgba(184, 140, 78, .22); }
.flow .ic { color: var(--gold-deep); }
.flow b { font: 600 26px/1 var(--serif); }
.flow p { font-size: 14.5px; color: var(--muted); max-width: 30ch; }

/* ---------- posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.posts--index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post { display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 24px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
@media (hover: hover) { .post:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(184, 140, 78, .4); } }
.post__ph { aspect-ratio: 16 / 10; display: grid; place-items: center; border-radius: 16px; background: radial-gradient(circle at 50% 44%, #fff 0, var(--sand) 72%); margin-bottom: 6px; }
.post__ph img { height: 86%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.post > span:not(.post__ph), .post > b { padding-inline: 8px; }
.post__meta { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.post__title { font: 600 27px/1.08 var(--serif); }
.post__lead { font-size: 14.5px; color: var(--muted); }
.post--next { position: relative; padding: 24px 64px 24px 24px; }
.post--next > .ic { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--gold-deep); }

/* ---------- faq ---------- */
.faqwrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faqwrap__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.faq { border-top: 1px solid var(--line-2); }
.faq--page { max-width: 900px; }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 600 clamp(19px, 1.7vw, 23px)/1.25 var(--serif); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { width: 22px; height: 22px; color: var(--gold-deep); transition: transform .35s var(--ease); }
.faq__item[open] summary .ic { transform: rotate(45deg); }
.faq__item p { padding: 0 48px 24px 0; color: var(--muted); max-width: 70ch; animation: fade .4s; }

/* ---------- page heads ---------- */
.pagehead { position: relative; padding: clamp(22px, 3vw, 40px) 0 clamp(28px, 4vw, 44px); }
.pagehead--dark { background: radial-gradient(50% 90% at 90% 0%, rgba(217, 105, 42, .18), transparent 70%), var(--night); color: var(--on-night); padding-bottom: clamp(48px, 6vw, 88px); }
.pagehead--dark .h1 { color: #fff; }
.pagehead--dark .lead { color: var(--on-night-muted); }
.pagehead--dark .crumbs { color: var(--on-night-muted); }
.pagehead__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.pagehead__count { display: grid; justify-items: end; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pagehead__count b { font: 600 64px/1 var(--serif); color: var(--gold-deep); letter-spacing: 0; }
.crumbs { margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; opacity: .5; }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; }
.pagehead--dark .crumbs [aria-current] { color: var(--on-night); }
.cattabs { display: flex; gap: 8px; margin-top: 28px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cattabs::-webkit-scrollbar { display: none; }
.cattabs__a { flex: none; height: 42px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; color: var(--ink-2); transition: all .2s; }
.cattabs__a:hover { border-color: var(--ink); }
.cattabs__a.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- catalog ---------- */
.catalog { display: grid; grid-template-columns: 284px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: clamp(56px, 7vw, 100px); }
.filters { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; padding: 22px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); scrollbar-width: thin; }
.filters__head { display: none; }
.fgroup { border: 0; margin: 0 0 22px; padding: 0 0 22px; border-bottom: 1px solid var(--line); min-width: 0; }
.fgroup:last-of-type { border-bottom: 0; padding-bottom: 0; }
.fgroup legend { padding: 0; margin-bottom: 12px; font: 700 11.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.check { position: relative; display: flex; align-items: center; gap: 11px; padding: 7px 0; cursor: pointer; font-size: 14px; font-weight: 500; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { width: 21px; height: 21px; flex: none; display: grid; place-items: center; border-radius: 7px; border: 1.5px solid var(--line-2); background: #fff; transition: background .2s, border-color .2s; }
.check__box .ic { width: 14px; height: 14px; stroke-width: 2.4; color: var(--gold-3); opacity: 0; transform: scale(.6); transition: all .2s var(--ease); }
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check__box .ic { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.check em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted-2); font-weight: 700; }
.check a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.range2 { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.range2 input { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); font-size: 14px; font-weight: 600; }
.range2 input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 140, 78, .18); }
.range2 span { color: var(--muted-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { position: relative; height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on, .chip--check:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip--check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip--check:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14px; font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { position: relative; width: 42px; height: 24px; flex: none; border-radius: 999px; background: var(--line-2); transition: background .25s; }
.switch__track::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.switch input:checked + .switch__track { background: var(--gold); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--gold); outline-offset: 2px; }
.filters__foot { display: flex; gap: 10px; margin-top: 20px; }
.filters__foot .btn { flex: 1; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.toolbar--plain { justify-content: space-between; }
.toolbar__count { margin-right: auto; font-size: 14px; color: var(--muted); font-weight: 600; }
.toolbar__count > span:first-child { color: var(--ink); font-weight: 800; }
.toolbar__q { margin-left: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
.toolbar__q button { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--card); }
.toolbar__q .ic { width: 12px; height: 12px; }
.toolbar__filters { display: none; }
.toolbar__filters em { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--night); font: 800 11px/20px var(--sans); font-style: normal; letter-spacing: 0; }
.select { position: relative; display: inline-flex; }
.select select { -webkit-appearance: none; appearance: none; height: 42px; padding: 0 42px 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.select select:focus { outline: none; border-color: var(--gold); }
.select .ic { position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; }
.empty { display: grid; justify-items: center; gap: 10px; padding: clamp(40px, 6vw, 80px) 20px; text-align: center; border-radius: var(--r-l); background: var(--card); border: 1px dashed var(--line-2); }
.empty > .ic { color: var(--gold-deep); }
.empty b { font: 600 32px/1.1 var(--serif); }
.empty p { color: var(--muted); max-width: 46ch; }
.empty__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.seo { max-width: 900px; }
.seo p { margin-top: 14px; color: var(--muted); }
.seo .btn { margin-top: 22px; }

/* ---------- product page ---------- */
.product { padding-top: clamp(14px, 2vw, 26px); }
.product__top { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: clamp(32px, 4vw, 56px); }
.gallery { position: sticky; top: 92px; min-width: 0; }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(circle at 50% 44%, #fff 0, var(--sand) 76%); border: 1px solid var(--line); }
.gallery__stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 8%; cursor: zoom-in; }
.gallery__img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .3s, transform .6s var(--ease); }
.gallery__img.is-swapping { opacity: 0; transform: scale(.98); }
.gallery__zoom { position: absolute; right: 16px; bottom: 16px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--card); border: 1px solid var(--line); }
.gallery__nav { position: absolute; top: 50%; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 253, 249, .92); border: 1px solid var(--line); transform: translateY(-50%); transition: opacity .25s, background .2s; }
.gallery__nav:hover { background: var(--ink); color: var(--paper); }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
@media (hover: hover) { .gallery__nav { opacity: 0; } .gallery__main:hover .gallery__nav { opacity: 1; } }
.gallery__count { position: absolute; left: 16px; bottom: 18px; padding: 6px 11px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.gallery__count b { color: var(--ink); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumb { flex: 0 0 80px; aspect-ratio: 1; padding: 6px; border-radius: 16px; background: var(--sand); border: 1.5px solid transparent; scroll-snap-align: start; transition: border-color .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__thumb.is-active { border-color: var(--gold); }
.buy { min-width: 0; }
.buy__brand { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font: 700 11.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.buy__brand span { color: var(--muted); letter-spacing: .06em; }
.buy__brand a:hover { color: var(--ink); }
.buy .h1--product { margin: 14px 0 14px; }
.buy__lead { color: var(--muted); font-size: 16px; }
.buy__keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; margin: 24px 0; }
.buy__keys li { display: grid; gap: 3px; align-content: start; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.buy__keys .ic { color: var(--gold-deep); margin-bottom: 4px; }
.buy__keys b { font-size: 16px; font-weight: 800; line-height: 1.25; }
.buy__keys small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.buy__box { padding: clamp(18px, 2vw, 26px); border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.buy__price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.buy__price b { font: 600 clamp(40px, 4vw, 54px)/1 var(--serif); letter-spacing: -.01em; }
.buy__note { display: flex; gap: 10px; margin-top: 12px; font-size: 13.5px; color: var(--warn); }
.buy__row { display: flex; align-items: center; gap: 10px; margin: 20px 0 12px; }
.qty { display: inline-flex; align-items: center; height: 54px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); flex: none; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; border-radius: 999px; }
.qty button:hover { color: var(--gold-deep); }
.qty input { width: 38px; border: 0; background: transparent; text-align: center; font-weight: 800; font-size: 16px; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty--sm { height: 40px; }
.qty--sm button { width: 34px; }
.qty--sm input { width: 30px; font-size: 14px; }
.buy__perks { display: grid; gap: 16px; margin-top: 24px; padding: 4px 4px 0; }
.buy__perks li { display: flex; gap: 14px; }
.buy__perks .ic { width: 24px; height: 24px; color: var(--gold-deep); margin-top: 2px; }
.buy__perks span { display: grid; gap: 2px; font-size: 13.5px; color: var(--muted); }
.buy__perks b { font-size: 14.5px; color: var(--ink); }

/* kit builder */
.kit { margin: 0 0 clamp(36px, 5vw, 64px); padding: clamp(22px, 3vw, 40px); border-radius: var(--r-xl); color: var(--on-night); background: radial-gradient(60% 100% at 100% 0%, rgba(217, 105, 42, .16), transparent 70%), var(--night); }
.kit__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 30px; margin-bottom: 22px; }
.kit__head .h3 { color: #fff; }
.kit__head p { color: var(--on-night-muted); max-width: 56ch; font-size: 14.5px; margin-top: 8px; }
.kit__list { display: grid; gap: 10px; }
.kitrow { position: relative; display: grid; grid-template-columns: auto 60px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .035); border: 1px solid var(--night-line); cursor: pointer; transition: border-color .2s, background .2s; }
.kitrow:hover { border-color: rgba(210, 169, 103, .5); }
.kitrow.is-on { background: rgba(210, 169, 103, .08); border-color: rgba(210, 169, 103, .55); }
.kitrow--main { cursor: default; }
.kitrow input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kitrow .check__box { background: transparent; border-color: rgba(234, 215, 181, .4); }
.kitrow input:checked + .check__box { background: var(--gold-2); border-color: var(--gold-2); }
.kitrow input:checked + .check__box .ic { color: var(--night); opacity: 1; transform: none; }
.kitrow__ph { width: 60px; height: 60px; border-radius: 14px; background: #efe6d6; }
.kitrow__ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4px; }
.kitrow b { display: block; color: #fff; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.kitrow small { display: block; color: var(--on-night-muted); font-size: 12.5px; margin-top: 2px; }
.kitrow a { text-decoration: underline; text-decoration-color: rgba(210, 169, 103, .6); text-underline-offset: 3px; }
.kitrow em { font: 600 22px/1 var(--serif); font-style: normal; color: var(--gold-2); white-space: nowrap; }
.kit__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--night-line); }
.kit__total small { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); font-weight: 700; }
.kit__total b { font: 600 42px/1.1 var(--serif); color: #fff; }

/* product tabs + details */
.ptabs { position: sticky; top: 66px; z-index: 30; background: rgba(246, 242, 235, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.ptabs__in { display: flex; gap: clamp(16px, 3vw, 34px); height: 56px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.ptabs__in::-webkit-scrollbar { display: none; }
.ptabs a { display: flex; align-items: center; white-space: nowrap; font-weight: 700; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.ptabs a:hover, .ptabs a.is-active { color: var(--ink); border-color: var(--gold); }
.pdetails { padding-bottom: clamp(20px, 3vw, 40px); }
.pdetails__main { max-width: 900px; }
.pblock { padding: clamp(32px, 4vw, 52px) 0; border-bottom: 1px solid var(--line); }
.pblock > p { margin-top: 14px; max-width: 74ch; color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.pblock .h3 { margin-bottom: 6px; }
.pblock .link-arrow { margin-top: 20px; }
.ticks { display: grid; gap: 10px; margin-top: 20px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ticks .ic { color: var(--gold-deep); margin-top: 2px; }
.callout { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 16px; background: rgba(184, 140, 78, .1); border: 1px solid rgba(184, 140, 78, .3); font-size: 14.5px; color: var(--ink-2); }
.callout .ic { color: var(--gold-deep); margin-top: 1px; }
.specs { margin-top: 26px; }
.specs h3 { font: 700 11.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 4px; }
.specs dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 650; }
.pblock .muted.small { margin-top: 18px; }
.compat { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 20px; }
.compat__a { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
@media (hover: hover) { .compat__a:hover { border-color: var(--gold); transform: translateY(-2px); } }
.compat__ph { width: 54px; height: 54px; flex: none; border-radius: 12px; background: var(--sand); }
.compat__ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4px; }
.compat__a b { display: block; font-size: 14px; }
.compat__a small { color: var(--gold-deep); font-weight: 700; }
.infocards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 20px; }
.infocards > div { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.infocards .ic { color: var(--gold-deep); }
.infocards b { font: 600 22px/1.1 var(--serif); }
.infocards p { font-size: 14.5px; color: var(--muted); }
.related { background: var(--paper-2); }
.buybar { display: none; }

/* ---------- forms ---------- */
.field { display: grid; gap: 7px; min-width: 0; }
.field > span { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #fffdf9;
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184, 140, 78, .16); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--err); box-shadow: 0 0 0 4px rgba(176, 64, 44, .1); }
/* the message is a span inside .field: don't let it take the uppercase label style */
.field > .field__err { font-size: 12.5px; color: var(--err); font-weight: 600; letter-spacing: normal; text-transform: none; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field--wide { grid-column: 1 / -1; }
.form-error { padding: 12px 14px; border-radius: 12px; background: rgba(176, 64, 44, .08); border: 1px solid rgba(176, 64, 44, .25); color: var(--err); font-size: 14px; font-weight: 600; }

/* ---------- cart & checkout ---------- */
.cartpage { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding-bottom: clamp(56px, 7vw, 100px); }
.cartlist { border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); }
.cartlist:empty { display: none; }
.citem { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.citem:last-child { border-bottom: 0; }
.citem__ph { width: 96px; height: 96px; border-radius: 16px; background: radial-gradient(circle at 50% 44%, #fff, var(--sand) 76%); }
.citem__ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8px; }
.citem__t { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; }
.citem__t:hover { color: var(--gold-deep); }
.citem__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; }
.citem__unit { font-size: 13px; color: var(--muted); }
.citem__right { display: grid; justify-items: end; gap: 8px; }
.citem__sum { font: 600 25px/1 var(--serif); white-space: nowrap; }
.citem__rm { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.citem__rm:hover { color: var(--err); }
.citem__rm .ic { width: 16px; height: 16px; }
.cart-empty { display: grid; justify-items: center; gap: 10px; padding: 56px 20px; text-align: center; border-radius: var(--r-l); background: var(--card); border: 1px dashed var(--line-2); }
.cart-empty > .ic { color: var(--gold-deep); }
.cart-empty b { font: 600 32px/1.1 var(--serif); }
.cart-empty p { color: var(--muted); max-width: 46ch; }
.cart-extra { margin-top: 18px; padding: 20px; border-radius: var(--r-l); background: var(--paper-2); }
.cart-extra h3 { font: 700 11.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.cart-extra__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.xsell { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.xsell__ph { width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--sand); }
.xsell__ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4px; }
.xsell__t { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.xsell__t small { display: block; color: var(--gold-deep); font-weight: 700; margin-top: 2px; }
.xsell .tool { flex: none; }
.checkout { margin-top: 40px; }
.checkout__title { margin-bottom: 26px; }
.step { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font: 600 28px/1.1 var(--serif); }
.step legend span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold-3); font: 800 14px/1 var(--sans); }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.opt { position: relative; cursor: pointer; min-width: 0; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__box { height: 100%; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--card); transition: border-color .2s, background .2s, box-shadow .2s; }
.opt__box > .ic { color: var(--gold-deep); }
.opt__box b { display: block; font-size: 14.5px; line-height: 1.3; }
.opt__box small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.opt__dot { position: relative; width: 20px; height: 20px; flex: none; margin-left: auto; border-radius: 50%; border: 1.5px solid var(--line-2); }
.opt input:checked + .opt__box { border-color: var(--gold); background: #fff9ef; box-shadow: 0 0 0 4px rgba(184, 140, 78, .12); }
.opt input:checked + .opt__box .opt__dot { border-color: var(--gold); }
.opt input:checked + .opt__box .opt__dot::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--gold); }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--gold); outline-offset: 2px; }

/* payment slot */
.payslot { position: relative; overflow: hidden; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 26px; align-items: center; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-l); color: var(--on-night); background: radial-gradient(70% 120% at 0% 0%, rgba(217, 105, 42, .16), transparent 60%), linear-gradient(135deg, #1e1a15, #12100d); border: 1px solid rgba(210, 169, 103, .3); }
.payslot__card { position: relative; aspect-ratio: 1.586; padding: 18px; border-radius: 18px; overflow: hidden; color: #20170b; background: linear-gradient(135deg, #e5c58e, #b88b48 46%, #7a5728); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .4); transform: rotate(-4deg); }
.payslot__card::after { content: ''; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .35) 50%, transparent 60%); animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 0%, 60% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.payslot__chip { position: absolute; left: 18px; top: 44%; width: 40px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #f6e7c6, #c49b5c); box-shadow: inset 0 0 0 1px rgba(80, 56, 24, .35); }
.payslot__brand { position: absolute; right: 18px; top: 16px; font: italic 600 20px/1 var(--serif); }
.payslot__brand i { color: #5a3e17; }
.payslot__num { position: absolute; left: 18px; bottom: 18px; font-size: 13px; font-weight: 800; letter-spacing: .2em; }
.payslot__marks { position: absolute; right: 18px; bottom: 14px; display: flex; }
.payslot__marks i { width: 26px; height: 26px; border-radius: 50%; background: rgba(32, 23, 11, .55); }
.payslot__marks i + i { margin-left: -10px; background: rgba(32, 23, 11, .3); }
.payslot__title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15.5px; color: var(--gold-3); }
.payslot__title .ic { color: var(--gold-2); }
.payslot__text { margin-top: 8px; font-size: 14px; color: var(--on-night-muted); }
.payslot__mount { display: grid; gap: 4px; margin-top: 14px; padding: 14px 16px; border-radius: 16px; border: 1.5px dashed rgba(210, 169, 103, .6); background: rgba(210, 169, 103, .06); }
.payslot__label { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.payslot__label .ic { width: 16px; height: 16px; }
.payslot__mount small { font-size: 12.5px; color: #a99d8a; line-height: 1.45; }
.paymarks { display: flex; flex-wrap: wrap; gap: 6px; }
.paymarks span { padding: 4px 8px; border-radius: 6px; border: 1px solid var(--night-line); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; color: var(--on-night-muted); }
.paymarks--dark { margin-top: 12px; }
.check--consent { margin-top: 8px; font-size: 14px; }

/* summary */
.summary { position: sticky; top: 92px; }
.summary__box { padding: 24px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.summary__rows { margin: 16px 0 0; }
.summary__rows div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.summary__rows dt { color: var(--muted); }
.summary__rows dd { font-weight: 700; text-align: right; }
.summary__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 18px 0; }
.summary__total span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.summary__total b { font: 600 42px/1 var(--serif); }
.summary__trust { display: grid; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.summary__trust li { display: flex; gap: 10px; align-items: center; }
.summary__trust .ic { width: 18px; height: 18px; color: var(--gold-deep); }

/* ---------- favorites & compare ---------- */
.cmp { overflow-x: auto; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); }
.cmp table { border-collapse: separate; border-spacing: 0; min-width: 100%; font-size: 14px; }
.cmp th, .cmp td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 210px; }
.cmp th:first-child, .cmp td:first-child { position: sticky; left: 0; z-index: 1; min-width: 190px; max-width: 220px; background: var(--paper); color: var(--muted); font-weight: 600; }
.cmp thead td { vertical-align: top; }
.cmp tr.is-group td { padding-top: 22px; font: 700 11px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); background: var(--card); }
.cmp tr.is-group td:first-child { background: var(--paper); color: var(--gold-deep); }
.cmp tr.is-diff td:not(:first-child) { background: rgba(184, 140, 78, .08); }
.cmp-head { display: grid; gap: 8px; }
.cmp-head__ph { position: relative; height: 150px; border-radius: 16px; background: radial-gradient(circle at 50% 44%, #fff, var(--sand) 76%); }
.cmp-head__ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 10px; }
.cmp-head__ph .tool { position: absolute; top: 8px; right: 8px; }
.cmp-head b { font-weight: 600; line-height: 1.35; }
.cmp-head em { font: 600 24px/1 var(--serif); font-style: normal; }

/* ---------- selection ---------- */
.selection { display: grid; grid-template-columns: 390px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: clamp(-56px, -5vw, -32px); padding-bottom: clamp(48px, 6vw, 80px); position: relative; }
.selform { position: sticky; top: 92px; display: grid; gap: 24px; padding: 26px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.selform__group > label, .selform__label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.selform output { display: block; font: 600 54px/1 var(--serif); margin-bottom: 8px; }
.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.seg--3 { grid-template-columns: minmax(0, 1fr); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: grid; place-items: center; min-height: 46px; padding: 8px 6px; border-radius: 14px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; text-align: center; transition: all .2s; }
.seg--3 span { place-items: start; text-align: left; padding: 11px 14px; }
.seg small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.seg input:checked + span small { color: var(--gold-3); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.selres { min-width: 0; }
.selres__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.selres__head > div { padding: 24px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.selres__head small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.selres__head b { display: block; margin-top: 6px; font: 600 clamp(40px, 4vw, 58px)/1 var(--serif); color: var(--gold-deep); }
.selres__note { margin: 18px 0 22px; color: var(--muted); }
.kit--inline { margin: 28px 0 0; }

/* ---------- info pages ---------- */
.prose { max-width: 860px; }
.prose > p { margin-top: 14px; font-size: 17px; line-height: 1.78; color: var(--ink-2); }
.prose > .h3 { margin-top: 44px; }
.prose > .h3:first-child { margin-top: 0; }
.numlist { display: grid; gap: 12px; margin-top: 18px; counter-reset: n; }
.numlist li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; counter-increment: n; font-size: 16px; }
.numlist li::before { content: counter(n); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold-3); font-weight: 800; font-size: 13px; }
.tablewrap { margin-top: 18px; overflow-x: auto; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { padding: 14px 18px; text-align: left; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.ctabox { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin: 44px 0 0; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); background: radial-gradient(60% 120% at 100% 0%, rgba(217, 105, 42, .18), transparent 70%), var(--night); color: var(--on-night); }
.ctabox p { flex: 1 1 320px; font: 600 clamp(22px, 2vw, 27px)/1.2 var(--serif); color: #fff; }
.infogrid, .paygrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.infogrid { margin-bottom: 44px; }
.paygrid { margin: 20px 0 8px; }
.infocard, .paycard { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); }
.infocard .ic, .paycard .ic { color: var(--gold-deep); }
.infocard b, .paycard b { font: 600 25px/1.1 var(--serif); }
.infocard p, .paycard p { font-size: 14.5px; color: var(--muted); }
.legal > p { font-size: 15.5px; }
.about-hero { padding: clamp(22px, 3vw, 40px) 0 clamp(40px, 5vw, 70px); background: radial-gradient(50% 70% at 90% 30%, rgba(210, 169, 103, .2), transparent 70%); }
.about-hero__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.about-hero__ph { aspect-ratio: .85; display: grid; place-items: end center; overflow: hidden; border-radius: 999px 999px 32px 32px; background: radial-gradient(circle at 50% 46%, #fff 0, #efe5d5 60%, #e3d4bd 100%); box-shadow: inset 0 0 0 1px rgba(184, 140, 78, .28); }
.about-hero__ph img { width: 80%; margin-bottom: 6%; mix-blend-mode: multiply; }
.about-name { display: grid; gap: 16px; max-width: 900px; margin: 0 auto clamp(48px, 6vw, 88px); text-align: center; font: 500 clamp(24px, 2.6vw, 36px)/1.3 var(--serif); }
.about-name b { font-style: italic; color: var(--gold-deep); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); }
.value .ic { color: var(--gold-deep); }
.value b { font: 600 25px/1.1 var(--serif); }
.value p { font-size: 14.5px; color: var(--muted); }
.contacts { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; align-items: start; }
.contacts__main { display: grid; gap: 12px; }
.contacts__main > .muted { display: flex; gap: 10px; margin-top: 8px; font-size: 14px; }
.contacts__main > .muted .ic { color: var(--gold-deep); }
.contacts__msg { display: grid; gap: 12px; }
.contact { display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); text-align: left; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
@media (hover: hover) { .contact:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--sh-1); } }
.contact > span { flex: 1; display: grid; gap: 2px; }
.contact b { font: 600 24px/1.1 var(--serif); }
.contact small { font-size: 13.5px; color: var(--muted); }
.contact > .ic:last-child { color: var(--gold-deep); }
.contact--chat { background: var(--night); color: var(--on-night); border-color: var(--night); }
.contact--chat b { color: #fff; }
.contact--chat small { color: var(--on-night-muted); }
.contact--chat .ic { color: var(--gold-2) !important; }
.contact__ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 15px; color: #fff; }
.contact__ic .ic { width: 24px; height: 24px; }
.contact--tg .contact__ic { background: #2aabee; }
.contact--viber .contact__ic { background: #7360f2; }
.contact--wa .contact__ic { background: #25d366; }
.contacts__side { padding: 26px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); }
.req { margin: 14px 0; }
.req div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: 14.5px; }
.req dt { color: var(--muted); }
.req dd { font-weight: 600; }
.article__head { padding: clamp(22px, 3vw, 40px) 0 clamp(24px, 3vw, 36px); }
.article__head .lead { font-size: clamp(18px, 1.6vw, 21px); }
.article__body { padding-bottom: 20px; }
.article__body .ticks li { font-weight: 500; }
.article__foot { padding-bottom: clamp(56px, 7vw, 100px); margin-top: 32px; }
.thanks { text-align: center; }
.thanks__in { display: grid; justify-items: center; gap: 6px; max-width: 760px; }
.thanks .lead { margin-inline: auto; }
.thanks__mark { width: 96px; height: 96px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; color: var(--night); background: linear-gradient(135deg, #e5c58e, #b0823f); box-shadow: 0 20px 40px -18px rgba(160, 112, 48, .8); animation: pop .7s var(--ease) both; }
.thanks__mark .ic { stroke-width: 2; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.thanks__card { width: 100%; margin: 26px 0 8px; padding: 22px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); text-align: left; }
.thanks__card dl div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); font-size: 14.5px; }
.thanks__card dt { color: var(--muted); }
.thanks__card dd { font-weight: 700; text-align: right; }
.thanks .empty__btns { margin-top: 26px; }
.nf { font: 600 clamp(120px, 18vw, 200px)/1 var(--serif); color: var(--gold-3); }

/* ---------- footer ---------- */
.ftr { background: var(--night); color: var(--on-night-muted); padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.ftr__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(48px, 6vw, 88px) 0; border-bottom: 1px solid var(--night-line); }
.ftr__big { max-width: 22ch; font: 600 clamp(32px, 4vw, 56px)/1.04 var(--serif); color: #fff; }
.ftr__cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 52px 0 40px; }
.ftr__about p { margin-top: 18px; max-width: 40ch; font-size: 14.5px; }
.ftr h4 { margin-bottom: 16px; font: 700 11.5px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.ftr li a { display: inline-block; padding: 5px 0; font-size: 14.5px; color: var(--on-night); opacity: .85; transition: opacity .2s, color .2s; }
.ftr li a:hover { opacity: 1; color: var(--gold-2); }
.ftr__msg { display: flex; gap: 10px; margin-top: 22px; }
.ftr__msg a, .ftr__msg button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--night-line); color: var(--on-night); transition: border-color .2s, color .2s, background .2s; }
.ftr__msg a:hover, .ftr__msg button:hover { border-color: var(--gold-2); color: var(--gold-2); }
.ftr__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 12.5px; }
.ftr .todo { color: var(--on-night); }

/* ---------- overlays: minicart, modal, lightbox, toast ---------- */
.overlay { position: fixed; inset: 0; z-index: 85; background: rgba(20, 18, 15, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade .3s; }
.minicart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(430px, 100vw); display: flex; flex-direction: column; background: var(--paper); box-shadow: -30px 0 60px -30px rgba(20, 18, 15, .5); animation: slideright .45s var(--ease); }
@keyframes slideright { from { transform: translateX(100%); } }
.minicart__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.minicart__head b { font: 600 28px/1 var(--serif); }
.minicart__head small { margin-left: 8px; font-size: 13px; color: var(--muted); font-weight: 700; }
.minicart__added { display: flex; align-items: center; gap: 10px; margin: 14px 20px 0; padding: 10px 14px; border-radius: 14px; background: rgba(46, 122, 80, .1); color: var(--ok); font-weight: 700; font-size: 13.5px; }
.minicart__list { flex: 1; overflow-y: auto; padding: 8px 20px; }
.mitem { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mitem__ph { width: 64px; height: 64px; border-radius: 12px; background: var(--sand); }
.mitem__ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 5px; }
.mitem b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.mitem small { color: var(--muted); font-size: 12.5px; }
.mitem em { font: 600 19px/1 var(--serif); font-style: normal; white-space: nowrap; }
.minicart__xs { padding: 14px 20px; background: var(--paper-2); }
.minicart__xs h3 { font: 700 11px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.minicart__xs .xsell + .xsell { margin-top: 8px; }
.minicart__foot { display: grid; gap: 10px; padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); }
.minicart__total { display: flex; align-items: baseline; justify-content: space-between; }
.minicart__total span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.minicart__total b { font: 600 34px/1 var(--serif); }
.minicart__empty { display: grid; justify-items: center; gap: 10px; padding: 48px 10px; text-align: center; color: var(--muted); }
.minicart__empty .ic { color: var(--gold-deep); }
.modal { width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-xl); background: transparent; color: var(--ink); overflow: visible; }
.modal::backdrop { background: rgba(20, 18, 15, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: pop .45s var(--ease); }
.modal__box { position: relative; display: grid; gap: 14px; padding: 30px; border-radius: var(--r-xl); background: var(--paper); max-height: calc(100dvh - 24px); overflow-y: auto; }
.modal__box .eyebrow { margin: 0; }
.modal__x { position: absolute; top: 12px; right: 12px; }
.modal__product { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.modal__product img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: var(--sand); mix-blend-mode: multiply; padding: 4px; }
.modal__product span { display: grid; font: 600 22px/1.1 var(--serif); }
.modal__product b { font: 600 14px/1.3 var(--sans); }
.modal__done { display: grid; justify-items: center; gap: 10px; padding: 20px 0 6px; text-align: center; }
.modal__done .thanks__mark { width: 72px; height: 72px; margin: 0; }
.lightbox { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; background: rgba(16, 14, 12, .96); animation: fade .3s; touch-action: pan-y; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 84vh; object-fit: contain; border-radius: 12px; background: #fff; user-select: none; -webkit-user-drag: none; }
.lightbox__x, .lightbox__nav { position: absolute; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s; }
.lightbox__x:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .2); }
.lightbox__x { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__n { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #d9cdb9; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 99; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 14px 18px 14px 14px; border-radius: 999px; background: var(--night); color: var(--on-night); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); font-size: 14px; font-weight: 600; transform: translate(-50%, 0); animation: toast .45s var(--ease); }
.toast .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--gold); color: var(--night); stroke-width: 2.2; }
.toast a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.toast.is-out { opacity: 0; transform: translate(-50%, 12px); transition: all .3s; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 16px); } }
body.is-locked { overflow: hidden; }

/* ---------- chat widget (assets/js/chat.js) ---------- */
.chat { position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; }
.chat > * { pointer-events: auto; }
.chat__launch { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 8px; border-radius: 999px; background: var(--night); color: var(--on-night); font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 20px 40px -16px rgba(20, 18, 15, .7), inset 0 0 0 1px rgba(210, 169, 103, .3); transition: transform .3s var(--ease), box-shadow .3s; }
.chat__launch:hover { transform: translateY(-2px); }
.chat__launch > svg { width: 42px; height: 42px; padding: 10px; border-radius: 50%; color: var(--night); background: linear-gradient(135deg, #e5c58e, #b0823f); fill: none; stroke: currentColor; }
.chat__unread { position: absolute; top: -6px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ember, #d9692a); background: #d9692a; color: #fff; font: 800 12px/18px var(--sans); font-style: normal; text-align: center; border: 2px solid var(--paper); letter-spacing: 0; }
.chat__panel { width: 380px; max-width: calc(100vw - 24px); height: min(580px, calc(100dvh - 120px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(20, 18, 15, .55); transform-origin: 100% 100%; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.97); transition: opacity .25s, transform .4s var(--ease), visibility 0s .25s; }
.chat.open .chat__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px; background: radial-gradient(120% 140% at 100% 0%, rgba(217, 105, 42, .25), transparent 60%), var(--night); color: var(--on-night); }
.chat__back, .chat__x { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .07); color: var(--on-night); }
.chat__back:hover, .chat__x:hover { background: rgba(255, 255, 255, .14); }
.chat__back svg, .chat__x svg { width: 18px; height: 18px; }
.chat__x { margin-left: auto; }
.chat__avatar { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 13px; background: var(--night-3); color: var(--gold-3); font: italic 600 15px/1 var(--serif); box-shadow: inset 0 0 0 1px rgba(210, 169, 103, .4); }
.chat__who b { display: block; font: 600 20px/1.1 var(--serif); color: #fff; }
.chat__status { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 12.5px; color: var(--on-night-muted); }
.chat__status i { width: 8px; height: 8px; border-radius: 50%; background: #3fb072; box-shadow: 0 0 0 3px rgba(63, 176, 114, .25); }
.chat__screen { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.chat__choose { gap: 10px; padding: 18px; overflow-y: auto; }
.chat__intro { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.chat__opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-align: left; color: inherit; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
@media (hover: hover) { .chat__opt:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--sh-1); } }
.chat__opt > svg { width: 18px; height: 18px; margin-left: auto; color: var(--muted-2); flex: none; }
.chat__ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; color: #fff; }
.chat__ic svg { width: 22px; height: 22px; }
.chat__opt--tg .chat__ic { background: #2aabee; }
.chat__opt--viber .chat__ic { background: #7360f2; }
.chat__opt--wa .chat__ic { background: #25d366; }
.chat__opt--web { background: var(--night); color: var(--on-night); border-color: var(--night); }
.chat__opt--web small { color: var(--on-night-muted) !important; }
.chat__opt--web .chat__ic { background: linear-gradient(135deg, #e5c58e, #b0823f); color: var(--night); }
.chat__opt b { display: block; font-size: 15px; font-weight: 800; }
.chat__opt small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.chat__hint { padding: 9px 12px; border-radius: 12px; background: rgba(184, 140, 78, .12); color: var(--gold-deep); font-size: 12.5px; line-height: 1.45; }
.chat__log { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 16px; overflow-y: auto; overscroll-behavior: contain; }
.msg { max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg time { display: block; margin-top: 4px; font-size: 11px; opacity: .6; text-align: right; }
.msg--manager { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg--client { align-self: flex-end; background: var(--night); color: var(--on-night); border-bottom-right-radius: 6px; }
.msg--pending { opacity: .6; }
.msg--failed { background: #fff0ec; color: var(--err); border: 1px solid #f3c6bb; cursor: pointer; }
.msg__who { display: block; margin-bottom: 3px; font-size: 11.5px; font-weight: 800; color: var(--gold-deep); }
.chat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.chat__chips button { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(184, 140, 78, .45); background: var(--card); color: var(--gold-deep); font-size: 13px; font-weight: 700; }
.chat__chips button:hover { background: #fff6e8; }
.chat__form { display: grid; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); background: var(--card); }
.chat__name { height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); font-size: 14px; font-weight: 600; }
.chat__row { display: flex; align-items: flex-end; gap: 8px; }
.chat__row textarea { flex: 1; min-height: 44px; max-height: 120px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--paper); font-size: 16px; line-height: 1.4; resize: none; }
.chat__name:focus, .chat__row textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(184, 140, 78, .15); }
.chat__send { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--night); color: var(--gold-3); }
.chat__send svg { width: 20px; height: 20px; }
.chat__demo { font-size: 11.5px; color: var(--muted-2); text-align: center; }
body[data-page="product"] .chat { bottom: calc(22px + env(safe-area-inset-bottom)); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1360px) { .nav__link--minor { display: none; } }
@media (max-width: 1180px) {
  .nav { display: none; }
  .hdr__burger { display: inline-grid; }
  .hdr__in { gap: 10px; }
  .mega { display: none; }
  .grid--4, .cats, .series, .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cats > :nth-child(4), .series > :nth-child(4) { display: none; }
  .catalog { grid-template-columns: 250px minmax(0, 1fr); gap: 24px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .ftr__about { grid-column: 1 / -1; }
  .cartpage { grid-template-columns: minmax(0, 1fr) 330px; }
  .selection { grid-template-columns: 340px minmax(0, 1fr); }
  .opts { grid-template-columns: minmax(0, 1fr); }
  .payslot { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 960px) {
  :root { --hdr: 66px; }
  .hero__in, .calc-teaser__in, .system__in, .faqwrap, .about-hero__in, .contacts { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 460px; }
  .cats, .series { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats > :nth-child(4), .series > :nth-child(4) { display: flex; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .promise__item { border-left: 0; padding-left: 0; border-top: 1px solid var(--night-line); }
  .promise__item:nth-child(-n+2) { border-top: 0; }
  .flow, .values, .infogrid, .paygrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .posts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .posts > :nth-child(3) { display: none; }
  .posts--index > :nth-child(3) { display: flex; }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; z-index: 90; inset: auto 0 0 0; top: auto; max-height: 86dvh; padding: 0 20px calc(20px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; border: 0; transform: translateY(105%); transition: transform .45s var(--ease); box-shadow: 0 0 0 100vmax rgba(20, 18, 15, 0); visibility: hidden; }
  .filters.is-open { transform: none; visibility: visible; box-shadow: 0 0 0 100vmax rgba(20, 18, 15, .5); }
  .filters__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin: 0 -20px 16px; padding: 14px 20px; background: var(--card); border-bottom: 1px solid var(--line); }
  .filters__head b { font: 600 26px/1 var(--serif); }
  .filters__foot { position: sticky; bottom: calc(-20px - env(safe-area-inset-bottom)); margin: 0 -20px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); }
  .toolbar__filters { display: inline-flex; }
  .product__top { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; }
  .cartpage, .selection { grid-template-columns: minmax(0, 1fr); }
  .summary, .selform { position: static; }
  .selection { margin-top: -28px; }
  .ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: block; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(246, 242, 235, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
  .buybar.is-visible { transform: none; }
  .buybar__in { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 720px; margin: 0 auto; }
  .buybar__info { min-width: 0; display: grid; }
  .buybar__info small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12px; font-weight: 600; }
  .buybar__info b { font: 600 26px/1 var(--serif); }
  body.has-buybar .chat { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .ptabs { top: 66px; }
}
@media (max-width: 720px) {
  .topbar span:not(:first-child) { display: none; }
  .hide-sm { display: none !important; }
  .logo__word { font-size: 22px; }
  .logo__mark { width: 38px; height: 38px; font-size: 14px; }
  .hero { padding-top: 26px; }
  .hero__btns { margin: 28px 0 34px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__tag--chip2 { display: none; }
  .hero__tag--product { left: 0; bottom: 6%; }
  .hero__tag--chip { right: 0; top: 10%; }
  .grid { gap: 12px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard__media { padding: 9%; }
  .pcard__body { padding: 12px 12px 14px; }
  .pcard__brand span { display: none; }
  .pcard__title { font-size: 13.5px; margin: 6px 0 8px; }
  .pcard__facts li { font-size: 11px; padding: 3px 7px; }
  .pcard__facts li:nth-child(3) { display: none; }
  .pcard__foot { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 12px; }
  .pcard__price b { font-size: 23px; }
  .cartbtn { justify-content: center; height: 40px; }
  .pcard__tools { top: 8px; right: 8px; gap: 6px; }
  .pcard .tool { width: 34px; height: 34px; }
  .badge { top: 8px; left: 8px; padding: 5px 8px; font-size: 9px; letter-spacing: .08em; }
  .badge .ic { display: none; }
  .cats { gap: 12px; }
  .cat__body { padding: 12px 14px 16px; }
  .cat__body b { font-size: 21px; }
  .cat__go { width: 34px; height: 34px; top: 10px; right: 10px; }
  .series { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .serie__name { font-size: 24px; }
  .serie__note { display: none; }
  .promise__in, .flow, .values, .infogrid, .paygrid, .posts, .posts--index { grid-template-columns: minmax(0, 1fr); }
  .promise__item { border-top: 1px solid var(--night-line) !important; padding-block: 22px; }
  .promise__item:first-child { border-top: 0 !important; }
  .posts > :nth-child(3) { display: flex; }
  .quickcalc__res b { font-size: 28px; }
  .pagehead__row { flex-direction: column; align-items: flex-start; }
  .pagehead__count { justify-items: start; flex-direction: row; }
  .pagehead__count b { font-size: 44px; }
  .toolbar { gap: 8px; }
  .toolbar__count { order: 3; width: 100%; }
  .select select { max-width: 210px; }
  .buy__keys { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .buy__row { flex-wrap: wrap; }
  .buy__row .btn--grow { order: 3; flex: 1 1 100%; }
  .specs dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .infocards { grid-template-columns: minmax(0, 1fr); }
  .kitrow { grid-template-columns: auto 48px minmax(0, 1fr); padding: 12px; }
  .kitrow__ph { width: 48px; height: 48px; }
  .kitrow em { grid-column: 3; font-size: 19px; }
  .kit__total b { font-size: 34px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .citem { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .citem__ph { width: 72px; height: 72px; }
  .citem__right { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .payslot { grid-template-columns: minmax(0, 1fr); }
  .payslot__card { max-width: 260px; }
  .selres__head { grid-template-columns: minmax(0, 1fr); }
  .seg span { font-size: 13px; }
  .ftr__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 40px; }
  .ftr__legal { flex-direction: column; align-items: flex-start; }
  .ctabox .btn { width: 100%; }
  .contact b { font-size: 21px; }
  .chat { right: 12px; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); align-items: stretch; }
  .chat__launch { align-self: flex-end; height: 54px; }
  .chat__panel { width: auto; max-width: none; height: min(620px, calc(100dvh - 96px)); }
  body.has-buybar .chat { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .lightbox__nav { display: none; }
  .modal__box { padding: 24px 20px; }
}
@media (max-width: 560px) {
  .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .hero__stats b { font-size: 34px; }
  .hero__stats span { font-size: 10.5px; letter-spacing: .06em; }
}
@media (max-width: 380px) {
  .chat__launch span { display: none; }
  .chat__launch { padding: 0 8px; }
  .hero__stats { gap: 18px; }
  .hero__stats b { font-size: 32px; }
}
@media (min-width: 961px) { .hide-lg { display: none !important; } }

/* product details: sticky buy card on the right */
.pdetails { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.pdetails__aside { position: sticky; top: 140px; padding-top: clamp(32px, 4vw, 52px); }
.minibuy { display: grid; gap: 10px; padding: 18px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.minibuy__ph { display: grid; place-items: center; aspect-ratio: 1.2; border-radius: 16px; background: radial-gradient(circle at 50% 44%, #fff 0, var(--sand) 76%); }
.minibuy__ph img { width: 70%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.minibuy__brand { margin-top: 4px; font: 700 10.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.minibuy__t { font: 600 24px/1.1 var(--serif); }
.minibuy__price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 4px; }
.minibuy__price b { font: 600 30px/1 var(--serif); }
.minibuy__ask { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 6px; text-decoration: none; font-weight: 700; color: var(--muted); }
.minibuy__ask .ic { width: 17px; height: 17px; color: var(--gold-deep); }
@media (max-width: 1180px) { .pdetails { grid-template-columns: minmax(0, 1fr) 280px; } }
@media (max-width: 960px) { .pdetails { grid-template-columns: minmax(0, 1fr); } .pdetails__aside { display: none; } }
@media (max-width: 720px) {
  .tabs { display: flex; width: 100%; }
  .tabs__btn { flex: 1 1 auto; padding: 0 10px; font-size: 12.5px; }
}
.contact > .contact__ic { flex: none; display: grid; gap: 0; }

/* checkout: Nova Poshta suggestions */
.field > label { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field--ac { position: relative; }
.field-row { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 120px 120px; gap: 14px; }
.ac { position: absolute; z-index: 45; left: 0; right: 0; top: calc(100% + 6px); max-height: min(340px, 50vh); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 24px 50px -20px rgba(22, 19, 15, .35); animation: drop .2s var(--ease); }
.field-row .field--ac .ac { right: auto; width: 100%; }
.ac li[role="option"] { display: grid; gap: 3px; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.ac li[role="option"]:hover, .ac li[aria-selected="true"] { background: #fff4e2; }
.ac b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.ac small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.ac mark { background: rgba(184, 140, 78, .28); color: inherit; border-radius: 3px; padding: 0 1px; }
.ac__tag { display: inline-block; margin-left: 8px; vertical-align: 1px; padding: 2px 8px; border-radius: 999px; background: var(--paper-2); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; color: var(--ink-2); }
.ac__tag--gold { background: rgba(184, 140, 78, .18); color: var(--gold-deep); }
.ac__note { padding: 12px; font-size: 13.5px; color: var(--muted); }
.fields > .callout { margin-top: 0; }
@media (max-width: 720px) {
  .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field-row > .field--ac { grid-column: 1 / -1; }
}
.fields:has(> [data-for="np-branch np-cargo"][hidden]) > .field--ac:first-child { grid-column: 1 / -1; }
.field--ac input { scroll-margin-top: calc(var(--hdr) + 16px); }
@media (max-width: 720px) { body.ac-open .chat { opacity: 0; pointer-events: none; } }

/* ---------- photo boxes: absolutely positioned images ----------
   Safari doesn't always resolve percentage heights inside aspect-ratio boxes, and an image
   then falls back to its natural width and stretches the card. Pinning images to the box
   makes every photo area behave the same in Safari, Chrome and Firefox. */
.pcard__media, .cat__ph, .serie__ph, .post__ph, .system__ph, .minibuy__ph, .gallery__thumb, .gallery__main { position: relative; overflow: hidden; }
.pcard__media { display: block; padding: 0; }
.pcard__media img { position: absolute; left: 11%; top: 11%; width: 78%; height: 78%; object-fit: contain; }
.pcard__media .badge { z-index: 2; }
.cat__ph, .serie__ph, .post__ph, .minibuy__ph { display: block; }
.cat__ph img { position: absolute; left: 11%; top: 7%; width: 78%; height: 86%; object-fit: contain; }
.serie__ph img { position: absolute; left: 13%; top: 7%; width: 74%; height: 86%; object-fit: contain; }
.post__ph img { position: absolute; left: 6%; top: 7%; width: 88%; height: 86%; object-fit: contain; }
.system__ph img { position: absolute; left: 9%; top: 9%; width: 82%; height: 82%; object-fit: contain; }
.minibuy__ph img { position: absolute; left: 15%; top: 7%; width: 70%; height: 86%; object-fit: contain; }
.gallery__thumb img { position: absolute; left: 6px; top: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; }
.gallery__stage { position: absolute; inset: 0; display: block; padding: 0; }
.gallery__img { position: absolute; left: 8%; top: 8%; width: 84% !important; height: 84% !important; object-fit: contain; }
@media (max-width: 720px) {
  .pcard__media { padding: 0; }
  .pcard__media img { left: 9%; top: 9%; width: 82%; height: 82%; }
}
.callout--test { border-style: dashed; background: rgba(176, 64, 44, .06); border-color: rgba(176, 64, 44, .35); }

/* ---------- generators catalog: menu, filters, calculators ---------- */
.mega__group { margin: 0 0 12px; font: 700 11.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.mega__col li a.mega__cat { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mega__cat small { font-size: 12px; font-weight: 700; color: var(--muted-2); }
.mega__brands a { font-weight: 600; }

.brandlist .is-extra { display: none; }
.brandlist.is-open .is-extra { display: flex; }
.brandlist__more { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--gold-deep); }
.loadmore { display: grid; justify-items: center; gap: 12px; margin-top: 34px; }
.loadmore[hidden] { display: none; }

.qc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.qc-chip { position: relative; cursor: pointer; }
.qc-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qc-chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--night-line); color: var(--on-night); font-size: 13.5px; font-weight: 600; transition: background .2s, border-color .2s, color .2s; }
.qc-chip span::before { content: '+'; color: var(--gold-2); font-weight: 800; }
.qc-chip:hover span { border-color: var(--gold-2); }
.qc-chip input:checked + span { background: var(--gold-2); border-color: var(--gold-2); color: var(--night); }
.qc-chip input:checked + span::before { content: '✓'; color: var(--night); }
.qc-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.qc-item b small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--on-night-muted); }

.selection .selform { position: static; }
.apps { display: grid; gap: 6px; }
.app { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 7px 7px 14px; border-radius: 14px; border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.app.is-on { border-color: var(--ink); background: var(--paper); }
.app__t { min-width: 0; }
.app__t b { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.app__t small { display: block; font-size: 12px; color: var(--muted); }
.selres { align-self: stretch; scroll-margin-top: 96px; }
.selres__head { position: sticky; top: 80px; z-index: 3; margin: -10px 0 0; padding: 10px 0 0; background: var(--paper); }
.selres__more { margin-top: 26px; }
.selres__alt { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 16px 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.selres__alt > .ic { flex: none; margin-top: 2px; color: var(--gold-deep); }
.selres__alt a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.selbar__kw small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.selbar__kw b { font: 600 26px/1.1 var(--serif); color: var(--gold-deep); }
@media (max-width: 960px) {
  .selres__head { position: static; margin: 0; padding: 0; background: none; }
}

/* ---------- discounts: generator.ua price crossed out + badge (PRICE_RULE in src/data/catalog.mjs) ---------- */
.oldp { color: var(--muted-2); font: 600 14px/1.1 var(--sans); letter-spacing: 0; text-decoration: line-through; text-decoration-thickness: 1px; white-space: nowrap; }
.pcard__price .oldp { margin-bottom: -2px; font-size: 13px; }
.badge--sale { padding: 7px 11px; font-size: 12px; letter-spacing: .04em; }
.salebadge { display: inline-flex; align-items: center; padding: 6px 11px; border-radius: 999px; background: var(--night); color: var(--gold-3); font: 700 13px/1 var(--sans); letter-spacing: .04em; }
.badge--sale.is-hot, .salebadge.is-hot { background: var(--gold); color: var(--night); }
.buy__sale { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.buy__sale .oldp { font-size: 17px; }
.buy__sale > span:last-child { color: var(--ok); font-size: 13px; font-weight: 700; }
.minibuy__price .oldp { font-size: 13px; }
.citem__unit .oldp { margin-left: 4px; font-size: 12px; }
.cmp-head .oldp { font-size: 12px; }
.summary__rows .sum-disc { color: var(--ok); }
@media (max-width: 720px) {
  .badge--sale { padding: 5px 8px; font-size: 11px; letter-spacing: .02em; }
  .pcard__price .oldp { font-size: 12px; }
}
/* top bar: 4 items fit only on wide screens; ≤720px shows just the first (see above) */
@media (max-width: 1100px) { .topbar span:nth-child(4) { display: none; } }
@media (max-width: 900px) { .topbar span:nth-child(3) { display: none; } }

/* ---------- customer cabinet (/account/) ---------- */
.iconbtn[data-acc-link].is-auth::after { content: ''; position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--paper); }
.callout a, .accnote a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.accnote { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 2px; padding: 12px 14px; border-radius: 14px; background: var(--paper-2); color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.accnote .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--gold-deep); }
.account { padding-bottom: clamp(56px, 8vw, 110px); }
.account__loading { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.account__loading .ic { color: var(--gold-deep); }
.auth { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.auth__card { padding: clamp(20px, 3vw, 34px); border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.auth__notice { margin: 0 0 18px; }
.auth__tabs { display: flex; margin-bottom: 22px; }
.auth__tabs .tabs__btn { flex: 1; }
.auth__form { display: grid; gap: 14px; }
.auth__link { justify-self: center; margin-top: 2px; }
.auth__hint { display: grid; gap: 8px; justify-items: start; padding: 16px 18px; border-radius: var(--r); background: var(--sand); }
.auth__hint > b { font: 600 22px/1.1 var(--serif); }
.auth__hint p b { font-weight: 700; color: var(--ink); }
.auth__hint p { color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.auth__perks { display: grid; gap: 26px; padding-top: 10px; }
.auth__perks li { display: flex; gap: 16px; align-items: flex-start; }
.auth__perks .ic { flex: none; color: var(--gold-deep); }
.auth__perks span { display: grid; gap: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.auth__perks b { color: var(--ink); font: 600 22px/1.15 var(--serif); }
.check.is-invalid .check__box { border-color: var(--err); }
/* the wrapper is a span inside .field: undo the uppercase label style so the password isn't shown in caps */
.field > .pw { position: relative; display: block; color: var(--ink); font-size: 16px; font-weight: 400; letter-spacing: normal; text-transform: none; }
.pw input { width: 100%; padding-right: 52px; }
.pw__eye { position: absolute; top: 50%; right: 6px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); transform: translateY(-50%); }
.pw__eye:hover, .pw__eye.is-on { color: var(--gold-deep); }
.pw__eye .ic { width: 20px; height: 20px; }
.form-ok { display: flex; align-items: center; gap: 8px; color: var(--ok); font-size: 14px; font-weight: 700; }
.form-ok .ic { width: 18px; height: 18px; }
.cabinet { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(22px, 4vw, 48px); align-items: start; }
.cabinet__title { margin-bottom: 18px; }
.cabinet__orders { display: grid; gap: 18px; }
.cabinet__side { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 12px; }
.profile { display: grid; justify-items: center; gap: 6px; padding: 24px 20px 20px; border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); text-align: center; }
.profile__ava { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 4px; border-radius: 50%; background: var(--night); color: var(--gold-2); }
.profile__name { font: 600 24px/1.15 var(--serif); }
.profile .btn { margin-top: 10px; }
.profile__more { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.profile__more summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 18px; font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; }
.profile__more summary::-webkit-details-marker { display: none; }
.profile__more summary .ic { transition: transform .25s; }
.profile__more[open] summary .ic { transform: rotate(180deg); }
.profile__more .auth__form { padding: 0 18px 18px; }
.ord { padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.ord__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ord__head div { display: grid; gap: 3px; }
.ord__head b { font: 600 24px/1.1 var(--serif); }
.ord__head small { color: var(--muted); font-size: 13px; }
.ostatus { flex: none; display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-size: 12px; font-weight: 800; letter-spacing: .03em; white-space: nowrap; }
.ostatus--new { background: rgba(184, 140, 78, .15); color: var(--gold-deep); }
.ostatus--confirmed { background: var(--night); color: var(--gold-3); }
.ostatus--shipped { background: var(--gold); color: var(--night); }
.ostatus--done { background: rgba(46, 122, 80, .13); color: var(--ok); }
.ostatus--cancelled { background: rgba(176, 64, 44, .1); color: var(--err); }
.ord__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 8px; }
.ord__steps li { position: relative; display: grid; justify-items: center; gap: 8px; color: var(--muted-2); font-size: 12px; font-weight: 700; text-align: center; }
.ord__steps li::before { content: ''; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: var(--line-2); }
.ord__steps li:first-child::before { display: none; }
.ord__steps i { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 2px solid var(--line-2); }
.ord__steps .is-done, .ord__steps .is-now { color: var(--ink); }
.ord__steps .is-done::before, .ord__steps .is-now::before { background: var(--gold); }
.ord__steps .is-done i { background: var(--gold); border-color: var(--gold); }
.ord__steps .is-now i { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(184, 140, 78, .28); }
.ord__cancel { display: flex; align-items: center; gap: 8px; margin: 16px 0 4px; color: var(--err); font-size: 14px; font-weight: 600; }
.ord__cancel .ic { width: 18px; height: 18px; }
.ord__items { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.ord__items li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 14px; }
.ord__items a { font-weight: 600; line-height: 1.35; }
.ord__items a:hover { color: var(--gold-deep); }
.ord__items em { color: var(--muted); font-style: normal; white-space: nowrap; }
.ord__ph { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--sand); overflow: hidden; }
.ord__ph img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4px; }
.ord__ph.is-empty img { display: none; }
.ord__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.ord__foot b { flex: none; color: var(--ink); font: 600 26px/1 var(--serif); }
@media (max-width: 960px) {
  .auth, .cabinet { grid-template-columns: minmax(0, 1fr); }
  .cabinet__side { position: static; }
}
@media (max-width: 560px) {
  .ord__head b { font-size: 21px; }
  .ord__steps li { font-size: 10.5px; }
  .ord__items li { grid-template-columns: 40px minmax(0, 1fr); }
  .ord__items em { grid-column: 2; }
  .ord__ph { width: 40px; height: 40px; }
  .ord__foot { flex-direction: column; align-items: flex-start; }
}
/* cabinet: sign-up with e-mail confirmation, password hints */
.callout--ok { background: rgba(46, 122, 80, .08); border-color: rgba(46, 122, 80, .3); }
.callout--ok .ic { color: var(--ok); }
.account__notice { margin: 0 0 18px; }
.auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-top: -4px; }
.auth__row .check { padding: 4px 0; }
.auth__note { margin-top: -2px; text-align: center; line-height: 1.55; }
.linkbtn:disabled { color: var(--muted-2); text-decoration: none; cursor: default; }
.form-error span { display: block; }
.form-error__acts { display: flex !important; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
.form-error .linkbtn { color: var(--err); font-weight: 700; text-decoration-color: currentColor; }
.pwrules { display: grid; gap: 8px; margin-top: -4px; padding: 12px 14px; border-radius: 14px; background: var(--paper-2); font-size: 13px; }
.pwrules b { font-size: 12.5px; }
.pwrules ul { display: grid; gap: 6px; }
.pwrules li { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); line-height: 1.4; }
.pwrules li::before { content: ''; flex: none; width: 6px; height: 6px; margin: 6px 5px 0; border-radius: 50%; background: var(--muted-2); }
.pwrules .ic { display: none; flex: none; width: 16px; height: 16px; stroke-width: 2.4; }
.pwrules li.is-ok, .pwrules li.is-bad { color: var(--ink-2); }
.pwrules li.is-ok::before, .pwrules li.is-bad::before { display: none; }
.pwrules li.is-ok .pwrules__ok { display: block; color: var(--ok); }
.pwrules li.is-bad .pwrules__bad { display: block; color: var(--err); }
.profile__mail { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; color: var(--muted); font-size: 14px; }
.profile__mail span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile__mail .ic { flex: none; width: 15px; height: 15px; color: var(--ok); }
@media (max-width: 400px) { .auth__names { grid-template-columns: minmax(0, 1fr); } }
/* orders: the ТТН in the cabinet, «Що далі» on the thank-you page */
.ord__ttn { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--paper-2); font-size: 14px; }
.ord__ttn > .ic { width: 18px; height: 18px; color: var(--gold-deep); }
.ord__ttn a { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 700; color: var(--gold-deep); }
.ord__ttn a .ic { width: 15px; height: 15px; }
.thanks__steps { display: grid; gap: 12px; width: min(100%, 560px); margin: 26px auto 4px; padding: 0; counter-reset: st; text-align: left; }
.thanks__steps li { position: relative; display: grid; gap: 2px; padding: 14px 16px 14px 58px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.5; counter-increment: st; }
.thanks__steps li::before { content: counter(st); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--night); color: var(--gold-2); font-weight: 800; font-size: 13px; }
.thanks__steps b { color: var(--ink); font-size: 15px; }
/* checkout: «Я постійний покупець» or «Ви увійшли як …», like big shops put it first */
.checkout__who { display: grid; gap: 8px; margin: 0 0 24px; }
.checkout__who .muted { text-align: center; }
.checkout__who .accnote { margin: 0; }
