/* ==========================================================================
   GT Store - tiles and sanitary ware
   The storefront of the sd theme, moved over from the approved design (desighn/site).
   Font: Nunito Sans. Responsive through container queries on .gt
   (the width of the container, not the window) plus media for overlays outside .gt.
   Developer: Site Done · https://sitedone.tech
   ========================================================================== */

:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --sand: #efe9e1;
  --sand-2: #e5ddd1;
  --ink: #1e1a16;
  --ink-2: #4a433c;
  --muted: #6b6259;
  --line: #e6dfd5;
  --line-2: #d6cdc1;
  --accent: #b0502f;
  --accent-hover: #933f22;
  --accent-soft: #f7e9e2;
  --green: #2f7a4a;
  --green-soft: #e6f2ea;
  --amber: #a5670c;

  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-xs: 6px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(30, 26, 22, .06);
  --shadow: 0 10px 30px -12px rgba(30, 26, 22, .18);
  --shadow-lg: 0 24px 60px -20px rgba(30, 26, 22, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1320px;
  --gutter: 32px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
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 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 16px; height: 16px; }
.ico--lg { width: 28px; height: 28px; stroke-width: 1.5; }

/* The page root is the container the layout responds to */
.gt { container: gt / inline-size; background: var(--bg); min-height: 100vh; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-sm);
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); box-shadow: 0 8px 20px -8px rgba(176, 80, 47, .6); }
.btn--ghost { border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico--arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent);
  border-bottom: 1px solid transparent; transition: border-color .2s, gap .2s;
}
.link-arrow:hover { gap: 10px; border-color: currentColor; }
.link-arrow--ink { color: var(--ink); border-bottom-color: var(--line-2); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; color: var(--ink);
  transition: background-color .2s;
}
.icon-btn:hover { background: var(--sand); }
/* The project: a round button on sand; the cart: the same pill with its sum */
.header__actions .icon-btn { width: 48px; height: 48px; background: var(--bg); border: 1px solid var(--line); transition: background-color .2s, border-color .2s, color .2s; }
.header__actions .icon-btn:hover { background: var(--sand); border-color: var(--sand-2); color: var(--accent); }
.header__actions .icon-btn .ico { width: 23px; height: 23px; stroke-width: 1.7; }
.header__actions .icon-btn .badge { top: -3px; right: -3px; box-shadow: 0 0 0 2px #fff; }
.hcart { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 5px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); transition: background-color .2s, border-color .2s; }
.hcart:hover { background: var(--sand); border-color: var(--sand-2); }
.hcart:hover .hcart__ico { color: var(--accent); }
.hcart__ico { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); transition: color .2s; }
.hcart__ico .ico { width: 20px; height: 20px; stroke-width: 1.8; }
.hcart__ico .badge { top: -5px; right: -6px; box-shadow: 0 0 0 2px #fff; }
.hcart__txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.hcart__txt small { font-size: 11.5px; color: var(--muted); }
.hcart__txt b { font-size: 14.5px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.badge {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
  transform: scale(1); transition: transform .3s var(--ease);
}
.badge[data-count="0"] { transform: scale(0); }
.badge.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #d9d2c8; font-size: 13px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.topbar__l, .topbar__r { display: flex; align-items: center; gap: 22px; }
.topbar__l span { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar__phone { font-weight: 700; color: #fff; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header.is-stuck { box-shadow: 0 6px 24px -14px rgba(30, 26, 22, .35); }
.header__in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.header__burger { display: none; margin-left: -10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .22em; font-size: 17px; white-space: nowrap; }
.logo__mark { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 26px; height: 26px; }
.logo__mark i { border-radius: 2px; background: var(--accent); }
.logo__mark i:nth-child(2), .logo__mark i:nth-child(3) { background: var(--sand-2); }
.logo__mark i:nth-child(4) { background: var(--ink); }

.search { position: relative; flex: 1; max-width: 560px; }
.search__field {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 16px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.search__field:focus-within { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 4px rgba(30, 26, 22, .06); }
.search__field .ico { color: var(--muted); }
.search__input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; }
.search__input::placeholder { color: #8a8178; }
.search__go { flex: none; height: 34px; padding: 0 16px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; transition: background-color .2s; }
.search__go:hover { background: var(--accent-hover); }
.search__drop {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease);
}
.search.is-open .search__drop { opacity: 1; visibility: visible; transform: none; }
.search__label { padding: 6px 10px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.search__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 10px 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 99px; background: var(--surface);
  font-size: 14px; font-weight: 600; white-space: nowrap; transition: .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.search__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-sm); }
.search__item:hover, .search__item.is-focus { background: var(--bg); }
.search__item img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: var(--sand); }
.search__item b { display: block; font-size: 14px; font-weight: 700; }
.search__item small { color: var(--muted); font-size: 13px; }
.search__item span:last-child { margin-left: auto; font-weight: 800; white-space: nowrap; }
.search__item mark { background: var(--accent-soft); color: inherit; border-radius: 3px; }
.search__empty { padding: 14px 10px; color: var(--muted); }

.header__contact { display: flex; flex-direction: column; line-height: 1.2; }
.header__contact small { font-size: 12px; color: var(--muted); }
.header__contact b { font-size: 15px; font-weight: 800; }

/* Contacts: the popup over the phone of the header */
.hcontact { position: relative; margin-left: auto; }
.hcontact .header__contact { padding: 6px 0; }
.hcontact__pop {
  position: absolute; z-index: 60; top: calc(100% + 12px); right: -16px; width: 320px; padding: 16px;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease) .12s, transform .22s var(--ease) .12s, visibility 0s .34s;
}
/* an invisible bridge, so the popup stays open while the pointer travels to it */
.hcontact__pop::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }
.hcontact:hover .hcontact__pop, .hcontact:focus-within .hcontact__pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hcontact__head { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.hcontact__head small { font-size: 12px; color: var(--muted); }
.hcontact__live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--green); white-space: nowrap; }
.hcontact__live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(47, 122, 74, .18); animation: pulse 2s infinite; }
.hcontact__phones { display: flex; flex-direction: column; padding: 6px 0; }
.hcontact__phone { display: flex; flex-direction: column; padding: 8px 10px; margin-inline: -10px; border-radius: var(--r-sm); line-height: 1.25; transition: background-color .15s; }
.hcontact__phone:hover { background: var(--bg); }
.hcontact__phone b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hcontact__phone small { font-size: 12.5px; color: var(--muted); }
.hcontact__msg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.hcontact__m { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 4px; border-radius: var(--r-sm); background: var(--bg); font-size: 12.5px; font-weight: 700; transition: background-color .15s, color .15s; }
.hcontact__m .ico { width: 18px; height: 18px; }
.hcontact__m--tg .ico { color: #2a9bd8; }
.hcontact__m--vb .ico { color: #7360f2; }
.hcontact__m--wa .ico { color: #25a95a; }
.hcontact__m:hover { background: var(--sand); }
.hcontact__cb { height: 44px; font-size: 14px; }
.header__actions { display: flex; align-items: center; gap: 10px; }

/* Store picker of the header */
.store { position: relative; flex: none; }
.store__btn { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px 0 6px; border-radius: 99px; text-align: left; transition: background-color .2s; }
.store__btn:hover, .store.is-open .store__btn { background: var(--bg); }
.store__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); flex: none; }
.store__txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.store__txt small { font-size: 12px; color: var(--muted); }
.store__txt b { font-size: 14px; font-weight: 800; white-space: nowrap; }
.store__chev { color: var(--muted); transition: transform .25s var(--ease); }
.store.is-open .store__chev { transform: rotate(180deg); }
.store__pop {
  position: absolute; z-index: 60; top: calc(100% + 10px); left: 50%; width: 360px; padding: 18px;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .18s var(--ease), transform .22s var(--ease), visibility 0s .22s;
}
.store.is-open .store__pop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.store__head b { display: block; font-size: 16px; font-weight: 800; }
.store__head small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.store__cities { display: flex; gap: 4px; margin: 14px 0 10px; padding: 3px; border-radius: var(--r-sm); background: var(--sand); }
.store__city { flex: 1; height: 34px; border-radius: 6px; font-size: 14px; font-weight: 700; color: var(--muted); transition: background-color .2s, color .2s; }
.store__city:hover { color: var(--ink); }
.store__city[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.store__list { display: flex; flex-direction: column; gap: 6px; }
.store__item { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); text-align: left; transition: border-color .2s, background-color .2s; }
.store__item:hover { border-color: var(--sand-2); background: var(--bg); }
.store__item[aria-pressed="true"] { border-color: var(--ink); background: var(--surface); }
.store__item > span { flex: 1; min-width: 0; }
.store__item b { display: block; font-size: 14.5px; font-weight: 800; }
.store__item small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.store__item em { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--green); }
.store__item em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.store__tick { width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--sand-2); display: grid; place-items: center; flex: none; color: #fff; }
.store__tick .ico { width: 12px; height: 12px; stroke-width: 3; opacity: 0; }
.store__item[aria-pressed="true"] .store__tick { background: var(--ink); border-color: var(--ink); }
.store__item[aria-pressed="true"] .store__tick .ico { opacity: 1; }

/* Navigation and the mega menu */
.nav { border-top: 1px solid var(--line); position: relative; }
.nav__in { display: flex; align-items: center; gap: 8px; height: 54px; }
.nav__catalog { min-height: 38px; padding: 0 16px; margin-right: 12px; font-size: 14px; }
.nav__catalog .ico-x { display: none; }
.nav__catalog[aria-expanded="true"] .ico-burger { display: none; }
.nav__catalog[aria-expanded="true"] .ico-x { display: block; }
.nav__link { position: relative; padding: 8px 14px; font-weight: 600; font-size: 15px; border-radius: var(--r-xs); transition: color .2s, background-color .2s; }
.nav__link:hover, .nav__link.is-current { color: var(--accent); }
.nav__link.is-current::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -9px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav__link--sale { color: var(--accent); }
.nav__link--sale::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: middle; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.nav__aside { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--muted); }
.nav__aside a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.nav__aside a:hover { color: var(--ink); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 50;
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease);
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega__in { display: grid; grid-template-columns: 236px 1fr 248px; gap: 28px; padding-block: 20px; }
/* no card on the right: the columns take its place */
.mega__in--bare { grid-template-columns: 236px 1fr; }
.mega__cats { display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); padding-right: 16px; }
.mega__cat { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-sm); font-weight: 700; font-size: 15px; transition: background-color .15s; }
.mega__cat img { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; }
.mega__cat .ico { margin-left: auto; color: var(--muted); }
.mega__cat:hover, .mega__cat.is-active { background: var(--bg); }
.mega__cat.is-active { color: var(--accent); }
/* as many columns as the group has, three or four side by side */
.mega__cols { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 24px; align-content: start; }
/* without it display:grid beats the hidden attribute and every panel shows at once */
.mega__cols[hidden] { display: none; }
.mega__col h4 { display: flex; align-items: center; gap: 8px; padding-bottom: 9px; margin-bottom: 6px; border-bottom: 1.5px solid var(--line); font-size: 14px; font-weight: 800; color: var(--ink); }
.mega__col h4::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex: none; }
.mega__col li a { display: block; padding: 4px 0; font-size: 14.5px; color: var(--ink-2); transition: color .15s, transform .15s; }
.mega__col li a:hover { color: var(--accent); transform: translateX(3px); }
.mega__promo { position: relative; border-radius: var(--r); overflow: hidden; min-height: 220px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega__promo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 30%, rgba(30, 26, 22, .78)); }
.mega__promo > *:not(img) { position: relative; z-index: 2; }
.mega__promo b { font-size: 20px; line-height: 1.2; }
.mega__promo span { font-size: 14px; opacity: .9; margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding-block: 56px; }
.section--tight { padding-block: 32px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.h-section { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.lead { font-size: 17px; color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { padding-top: 20px; }
.hero__card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 520px; border-radius: var(--r-lg); overflow: hidden; background: #ece3d6;
}
.hero__media { position: absolute; inset: 0 0 0 38%; overflow: hidden; }
/* slides: pictures cross-fade, the active one slowly zooms in */
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__slide.is-on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7.5s cubic-bezier(.25, .1, .25, 1); }
.hero__slide.is-on img { transform: scale(1); }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #ece3d6 0%, rgba(236, 227, 214, .85) 22%, rgba(236, 227, 214, .35) 45%, rgba(236, 227, 214, 0) 62%); }

.hero__body { position: relative; z-index: 2; display: grid; align-content: center; padding: 56px 0 104px 56px; }
/* the texts of all slides share one grid cell, so the height follows the longest and nothing jumps */
.hero__text { grid-area: 1 / 1; visibility: hidden; }
.hero__text > * { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.hero__text.is-on { visibility: visible; }
.hero__text.is-on > * { opacity: 1; transform: none; }
.hero__text.is-on > :nth-child(1) { transition-delay: .25s; }
.hero__text.is-on > :nth-child(2) { transition-delay: .33s; }
.hero__text.is-on > :nth-child(3) { transition-delay: .41s; }
.hero__text.is-on > :nth-child(4) { transition-delay: .49s; }
.hero__text .eyebrow { margin-bottom: 14px; }
.hero__nav { position: absolute; left: 56px; bottom: 36px; display: flex; align-items: center; gap: 18px; }
.hero__count { min-width: 64px; font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.hero__count b { color: var(--ink); }
.hero__dots { display: flex; gap: 6px; }
.hero__dot { position: relative; width: 34px; height: 20px; }
.hero__dot i { position: absolute; left: 0; right: 0; top: 9px; height: 2px; border-radius: 2px; background: rgba(30, 26, 22, .16); overflow: hidden; }
.hero__dot i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-past i::after { transform: scaleX(1); background: rgba(30, 26, 22, .4); }
.hero__dot.is-on i::after { animation: heroBar var(--hero-dur, 7s) linear forwards; }
.hero[data-paused] .hero__dot.is-on i::after { animation-play-state: paused; }
@keyframes heroBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(30, 26, 22, .14); color: var(--ink); transition: background-color .2s, border-color .2s, color .2s; }
.hero__arrow:hover { background: var(--surface); border-color: var(--surface); color: var(--accent); }
.hero__arrow + .hero__arrow { margin-left: -10px; }
.hero__title { font-size: 58px; line-height: 1.04; font-weight: 800; letter-spacing: -.025em; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__sub { margin-top: 18px; font-size: 20px; color: var(--ink-2); max-width: 30ch; }
.hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.hero__float {
  position: absolute; z-index: 3; right: 28px; bottom: 28px; display: flex; align-items: center; gap: 14px;
  padding: 12px 18px 12px 12px; border-radius: var(--r); background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  box-shadow: var(--shadow); max-width: 320px;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s .55s;
}
.hero__float.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: .55s, .55s, 0s; }
.hero__float img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.hero__float b { display: block; font-size: 14px; }
.hero__float small { display: block; font-size: 13px; color: var(--muted); }
.hero__float .ico { margin-left: 4px; color: var(--accent); }
.reveal > * { animation: rise .8s var(--ease) both; }
.reveal > *:nth-child(2) { animation-delay: .08s; }
.reveal > *:nth-child(3) { animation-delay: .16s; }
.reveal > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Perks ---------- */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.perk { display: flex; align-items: center; gap: 16px; padding: 22px 24px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk__ico { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--bg); color: var(--ink); transition: background-color .25s, color .25s; }
.perk:hover .perk__ico { background: var(--accent); color: #fff; }
.perk b { display: block; font-size: 16px; font-weight: 800; }
.perk small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cat { position: relative; display: block; aspect-ratio: 4 / 3.3; border-radius: var(--r); overflow: hidden; background: var(--sand); isolation: isolate; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(30, 26, 22, .72)); }
.cat:hover img { transform: scale(1.07); }
.cat__body { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #fff; }
.cat__body b { font-size: 21px; font-weight: 800; line-height: 1.15; }
.cat__body small { display: block; font-size: 13px; opacity: .85; font-weight: 600; margin-top: 3px; }
.cat__arrow { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.cat:hover .cat__arrow { background: #fff; color: var(--ink); transform: rotate(-45deg); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 99px; background: var(--sand); }
.tab { min-height: 38px; padding: 0 18px; border-radius: 99px; font-weight: 700; font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: .2s; }
.tab:hover { color: var(--ink); }
.tab.is-active, .tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Carousels ---------- */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 4px 4px 18px; margin: -4px -4px -18px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 8px; }
.round-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); transition: .2s; }
.round-btn:hover:not(:disabled) { border-color: var(--ink); background: var(--ink); color: #fff; }
.round-btn:disabled { opacity: .35; cursor: default; }
.progress { height: 3px; margin-top: 26px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 30%; background: var(--ink); border-radius: 3px; transition: transform .3s var(--ease), width .3s; }

/* ---------- Product card ---------- */
.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r); padding: 14px; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.card__top { position: absolute; z-index: 3; top: 26px; left: 26px; right: 26px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.card__top > * { pointer-events: auto; }
.stock { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 700; color: var(--green); }
.stock i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(47, 122, 74, .18); }
.stock--order { color: var(--amber); }
.stock--order i { box-shadow: 0 0 0 3px rgba(165, 103, 12, .18); }
.wish { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink-2); transition: color .2s, transform .2s var(--ease); }
.wish:hover { color: var(--accent); }
.wish[aria-pressed="true"] { color: var(--accent); }
.wish[aria-pressed="true"] .ico { fill: currentColor; animation: bump .45s var(--ease); }
/* the numbered pages under «Показати ще» */
.pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; }
.pages__n, .pages__step { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; transition: border-color .2s, color .2s, background-color .2s; }
a.pages__n:hover, a.pages__step:hover { border-color: var(--ink); }
.pages__n.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pages__step.is-off { opacity: .35; }
.pages__gap { min-width: 24px; text-align: center; color: var(--muted); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--bg); margin-bottom: 14px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; }
.card:hover .card__media img { transform: scale(1.05); }
/* a tile shown whole: on the sand, with a soft shadow that draws its edge even when it is white */
.card__media--whole { display: grid; place-items: center; background: var(--sand); }
/* from edge to edge across, its own height: a strip of a tile stays a strip */
.card__media--whole img { width: 100%; height: auto; max-height: 100%; object-fit: contain; box-shadow: 0 12px 22px -14px rgba(30, 26, 22, .4); }
.card__media--contain img { object-fit: contain; padding: 10px; background: #fff; }
.card__tags { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 5px; font-size: 12px; font-weight: 800; background: var(--ink); color: #fff; }
.tag--sale { background: var(--accent); }
.tag--new { background: var(--surface); color: var(--ink); }
/* the colours of the stickers of «Стікери» */
.tag--accent { background: var(--accent); }
.tag--dark { background: var(--ink); }
.tag--light { background: var(--surface); color: var(--ink); }
.tag--green { background: var(--green); }
.card__title { font-size: 15px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.card__title:hover { color: var(--accent); }
.card__meta { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.price { display: flex; flex-direction: column; line-height: 1.15; }
.price s { font-size: 13px; color: var(--muted); }
.price b { font-size: 20px; font-weight: 800; white-space: nowrap; }
.price small { font-size: 14px; font-weight: 700; }
.price--sale b { color: var(--accent); }
/* parts needed only in the list view */
.card__specs, .card__pack, .btn-cart__txt { display: none; }
.card__specs dt { font-size: 12.5px; color: var(--muted); }
.card__specs dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; }
.card__pack { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.btn-cart__txt { font-size: 14.5px; font-weight: 700; }
.btn-cart.is-added .btn-cart__txt { display: none; }
.btn-cart {
  position: relative; display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: var(--r-sm);
  background: var(--accent); color: #fff; overflow: hidden; transition: background-color .2s, width .3s var(--ease);
}
.btn-cart:hover { background: var(--accent-hover); }
.btn-cart .ico-check { display: none; }
.btn-cart.is-added { background: var(--green); }
.btn-cart.is-added .ico-cart { display: none; }
.btn-cart.is-added .ico-check { display: block; animation: bump .4s var(--ease); }
.card__unit { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* list view of a category */
.grid-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-products.is-list { grid-template-columns: 1fr; }
.grid-products.is-list .card { display: grid; grid-template-columns: 220px minmax(0, 1fr) 240px; grid-template-rows: auto auto 1fr; column-gap: 28px; align-items: start; }
.grid-products.is-list .card__media { grid-row: 1 / 4; margin: 0; }
.grid-products.is-list .card__top { right: auto; width: 196px; }
.grid-products.is-list .card__title { grid-column: 2; margin-top: 4px; font-size: 18px; }
.grid-products.is-list .card__meta { grid-column: 2; font-size: 14.5px; }
.grid-products.is-list .card__specs { grid-column: 2; align-self: end; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.grid-products.is-list .card__foot { grid-column: 3; grid-row: 1 / 4; flex-direction: column; align-items: stretch; justify-content: center; gap: 4px; height: 100%; margin: 0; padding: 0 0 0 24px; border-left: 1px solid var(--line); }
.grid-products.is-list .price b { font-size: 24px; }
.grid-products.is-list .card__pack { display: block; }
.grid-products.is-list .btn-cart { width: 100%; height: 46px; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.grid-products.is-list .btn-cart__txt { display: inline; }
.grid-products .card.is-hidden { display: none; }

/* ---------- Calculator (home) ---------- */
/* The calculator of the home page: a light sand card in the colours of the site */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro intro" "form viz"; gap: 32px 40px; padding: 44px 48px; border-radius: var(--r-lg); background: var(--sand); }
.calc__intro { grid-area: intro; }
.calc__form { grid-area: form; }
.calc__viz { grid-area: viz; display: flex; flex-direction: column; gap: 14px; }
/* Preview: a room to scale, laid with the chosen tile format */
.calc__fmt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.calc__fmt-label { margin-right: auto; font-size: 14px; font-weight: 700; }
.calc__fmt label { position: relative; cursor: pointer; }
.calc__fmt input { position: absolute; opacity: 0; pointer-events: none; }
.calc__fmt label span { display: grid; place-items: center; height: 34px; padding: 0 12px; border-radius: 99px; background: var(--surface); font-size: 13.5px; font-weight: 700; color: var(--ink-2); transition: background-color .2s, color .2s; }
.calc__fmt label:hover span { color: var(--ink); }
.calc__fmt input:checked + span { background: var(--ink); color: #fff; }
.calc__fmt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
/* the room stretches to the height of the form, so both columns end level */
.calc__room { flex: 1; display: grid; place-items: center; min-height: 220px; padding: 20px; border-radius: var(--r); background: var(--surface); }
.calc__empty { color: var(--muted); font-size: 14px; }
.calc__room svg { display: block; overflow: visible; }
.calc__count { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.calc__count b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc__count span { font-size: 14.5px; color: var(--accent); font-weight: 700; }
.calc__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.calc__legend { display: flex; gap: 16px; font-size: 13px; color: var(--muted); }
.calc__legend span { display: inline-flex; align-items: center; gap: 6px; }
.calc__legend i { width: 12px; height: 12px; border-radius: 3px; background: #e2d4bf; border: 1px solid #cdbca3; }
.calc__legend i.is-cut { background: #f1cbb9; border-color: var(--accent); }
.calc__intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.calc__intro h2 { font-size: 34px; line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
.calc__intro p { color: var(--ink-2); font-size: 16px; max-width: 44ch; }
.calc__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 7px; }
/* otherwise display:flex above beats the hidden attribute */
.field[hidden] { display: none; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label { font-size: 14px; font-weight: 700; color: inherit; }
.input, .dd__btn {
  width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: 16px; outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .dd__btn:focus-visible, .dd.is-open .dd__btn { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(30, 26, 22, .07); }

/* Custom dropdown (the native select hides inside .dd) */
.dd { position: relative; }
.dd__btn { display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.dd__val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd__chev { color: var(--muted); transition: transform .25s var(--ease); }
.dd.is-open .dd__chev { transform: rotate(180deg); }
.dd__list {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; max-height: 280px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none; border-radius: var(--r); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); outline: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top center;
  transition: opacity .18s var(--ease), transform .22s var(--ease), visibility 0s .22s;
}
.dd.is-up .dd__list { top: auto; bottom: calc(100% + 6px); transform-origin: bottom center; transform: translateY(6px) scale(.98); }
.dd.is-open .dd__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd__opt { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: var(--r-xs); font-size: 15px; color: var(--ink); cursor: pointer; }
.dd__opt span { flex: 1; min-width: 0; }
.dd__opt.is-active { background: var(--sand); }
.dd__opt[aria-selected="true"] { font-weight: 700; }
.dd__tick { color: var(--accent); opacity: 0; }
.dd__opt[aria-selected="true"] .dd__tick { opacity: 1; }
.dd--compact .dd__btn { height: 42px; font-size: 14px; font-weight: 700; }
.dd--compact .dd__list { left: auto; min-width: 100%; width: max-content; }
.dd--compact .dd__opt { font-size: 14px; white-space: nowrap; }
.input-unit { position: relative; }
.input-unit .input { padding-right: 44px; }
.input-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; opacity: .6; pointer-events: none; }
.seg { display: flex; padding: 4px; gap: 4px; border-radius: var(--r-sm); background: var(--sand-2); }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; height: 40px; border-radius: 6px; font-weight: 700; font-size: 15px; cursor: pointer; color: var(--ink-2); transition: .2s; }
.seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }
.calc__result { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.calc__result div { padding: 16px 18px; border-radius: var(--r-sm); background: var(--surface); }
.calc__result small { display: block; font-size: 13.5px; color: var(--muted); }
.calc__result b { display: block; margin-top: 2px; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__result div:last-child b { color: var(--accent); }
/* Tile search in the calculator: the catalogue is large, so a search with suggestions instead of a list */
.field label small { font-weight: 600; color: var(--muted); }
.tsel { position: relative; }
.tsel__box { display: flex; align-items: center; height: 48px; padding: 0 6px 0 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.tsel__box:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(30, 26, 22, .07); }
.tsel__lead { display: grid; place-items: center; flex: none; width: 30px; height: 30px; margin-right: 8px; border-radius: 6px; overflow: hidden; color: var(--muted); }
.tsel__lead img { width: 100%; height: 100%; object-fit: cover; }
.tsel__box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.tsel__box input::placeholder { color: var(--muted); opacity: .8; }
.tsel__clear { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 6px; color: var(--muted); }
.tsel__clear:hover { background: var(--bg); color: var(--ink); }
.tsel__clear[hidden] { display: none; }
.tsel__list {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; max-height: 300px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s var(--ease), transform .22s var(--ease), visibility 0s .22s;
}
.tsel.is-open .tsel__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tsel__opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-xs); cursor: pointer; }
.tsel__opt.is-active { background: var(--sand); }
.tsel__opt img { width: 40px; height: 40px; flex: none; border-radius: 6px; object-fit: cover; }
.tsel__opt b { display: block; font-size: 14.5px; }
.tsel__opt small { display: block; font-size: 12.5px; color: var(--muted); }
.tsel__opt mark { background: none; color: var(--accent); }
.tsel__none { padding: 12px; font-size: 14px; color: var(--muted); }

.calc__pack { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--surface); border: 1.5px solid var(--accent); animation: rise .35s var(--ease) both; }
.calc__pack[hidden] { display: none; }
.calc__pack img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; }
.calc__pack small { display: block; font-size: 13px; color: var(--muted); }
.calc__pack b { display: block; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc__pack-sum { text-align: right; }
.calc__pack-sum b { color: var(--accent); white-space: nowrap; }
.calc__actions [hidden] { display: none; }
.calc__actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.calc__actions .btn { padding-inline: 14px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 18px; }
.step b { display: block; font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted); }

/* ---------- Consultation ---------- */
.consult { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 48px; border-radius: var(--r-lg); background: var(--sand); overflow: hidden; }
.consult__deco { position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; transform: rotate(12deg); opacity: .5; pointer-events: none; }
.consult__deco i { border-radius: 6px; background: var(--sand-2); }
.consult h2 { font-size: 32px; line-height: 1.15; font-weight: 800; }
.consult p { margin-top: 12px; color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.consult__messengers { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.consult__form { position: relative; z-index: 1; display: grid; gap: 12px; padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.consult__form .field label { opacity: 1; color: var(--ink-2); }
.consult__note { font-size: 12.5px; color: var(--muted); }
.form-ok { display: none; align-items: center; gap: 12px; padding: 18px; border-radius: var(--r-sm); background: var(--green-soft); color: var(--green); font-weight: 700; }
.is-sent .form-ok { display: flex; }
.is-sent .form-body { display: none; }

/* ---------- Footer ---------- */
.footer { margin-top: 56px; background: var(--ink); color: #c9c0b5; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 32px; padding-block: 56px 40px; }
.footer .logo { color: #fff; }
.footer .logo__mark i:nth-child(4) { background: #fff; }
.footer p { margin-top: 14px; max-width: 32ch; line-height: 1.6; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer li a { display: inline-block; padding: 4px 0; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer__contact b { display: block; color: #fff; font-size: 18px; font-weight: 800; }
.footer__contact > * + * { margin-top: 10px; }
.footer__social { display: flex; gap: 8px; margin-top: 16px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #4a433c; transition: .2s; }
.footer__social a:hover { border-color: #fff; background: #fff; color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 20px; border-top: 1px solid #3a342e; font-size: 13px; color: #9a9086; }
.footer__dev a { color: #e8dfd3; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(232, 223, 211, .35); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.footer__dev a:hover { color: #fff; text-decoration-color: currentColor; }
.pay { display: flex; gap: 8px; }
.pay span { padding: 4px 10px; border: 1px solid #4a433c; border-radius: 5px; font-weight: 800; font-size: 12px; color: #c9c0b5; }

/* ---------- Bottom bar (phone) ---------- */
.tabbar { display: none; }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-block: 18px; font-size: 13.5px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs .ico { width: 14px; height: 14px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   CATEGORY
   ========================================================================== */
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.cat-head h1 { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.cat-head h1 sup { font-size: 16px; font-weight: 700; color: var(--muted); margin-left: 8px; vertical-align: super; }
.cat-head p { color: var(--muted); max-width: 52ch; }
.subcats { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 28px; }
.subcats::-webkit-scrollbar { display: none; }
.subcat { display: flex; align-items: center; gap: 10px; flex: none; padding: 6px 16px 6px 6px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font-weight: 700; font-size: 14px; transition: .2s; }
.subcat img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.subcat:hover { border-color: var(--sand-2); background: var(--bg); }
.subcat img { transition: box-shadow .2s; }
/* the active one in the brand colours: a thin terracotta outline (inset, so the neighbours do not move) and a ring round the thumbnail */
.subcat.is-active { background: var(--accent-soft); border-color: var(--accent); box-shadow: inset 0 0 0 .5px var(--accent); color: var(--accent); }
.subcat.is-active img { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--accent); }

.catalog { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 70px); max-height: calc(100vh - var(--header-h) - 90px); overflow-y: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters__head { display: none; }
.fgroup { border-bottom: 1px solid var(--line); padding-block: 16px; }
.fgroup:first-child { padding-top: 0; }
.fgroup__title { display: flex; width: 100%; align-items: center; justify-content: space-between; font-weight: 800; font-size: 15px; padding: 2px 0; }
.fgroup__title .ico { transition: transform .25s var(--ease); color: var(--muted); }
.fgroup.is-collapsed .fgroup__title .ico { transform: rotate(-90deg); }
.fgroup__body { padding-top: 12px; display: grid; gap: 4px; }
.fgroup.is-collapsed .fgroup__body { display: none; }
.check { display: flex; align-items: center; gap: 10px; min-height: 34px; cursor: pointer; font-size: 14.5px; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--line-2); background: var(--surface); transition: .15s; }
.check__box .ico { width: 13px; height: 13px; stroke-width: 3; color: #fff; opacity: 0; transform: scale(.5); transition: .15s; }
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check__box .ico { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check:hover .check__box { border-color: var(--ink); }
.check__n { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 700; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__ui { position: relative; flex: none; width: 44px; height: 26px; border-radius: 13px; background: var(--line-2); transition: .2s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.switch input:checked + .switch__ui { background: var(--green); }
.switch input:checked + .switch__ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.range { position: relative; height: 28px; margin-top: 4px; }
.range__track { position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 2px; background: var(--line); }
.range__fill { position: absolute; top: 12px; height: 4px; border-radius: 2px; background: var(--ink); }
.range input[type="range"] { position: absolute; inset: 0; width: 100%; margin: 0; appearance: none; -webkit-appearance: none; background: none; pointer-events: none; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: grab; box-shadow: var(--shadow-sm); }
.range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: grab; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-inputs .input { height: 40px; font-size: 16px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span { display: block; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); box-shadow: inset 0 0 0 3px #fff; transition: box-shadow .15s; }
.swatch input:checked + span { box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--ink); }
.swatch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
/* the search over a long list of the filter */
.fsearch { position: relative; display: block; margin-bottom: 6px; }
.fsearch svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.fsearch input { width: 100%; height: 40px; padding: 0 12px 0 36px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); font: inherit; font-size: 14.5px; color: var(--ink); outline: 0; transition: border-color .2s; }
.fsearch input:focus { border-color: var(--ink); }
.fsearch input::-webkit-search-cancel-button { cursor: pointer; }
.fsearch__none { margin: 4px 0; color: var(--muted); font-size: 14px; }
.check mark { background: var(--accent-soft); color: inherit; border-radius: 2px; }
.more-btn { justify-self: start; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--accent); }

.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.toolbar__count { font-size: 14px; color: var(--muted); }
.toolbar__count b { color: var(--ink); }
.toolbar__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.toolbar .dd { width: auto; }
.view-toggle { display: flex; padding: 3px; border-radius: var(--r-sm); background: var(--sand); }
.view-toggle button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; color: var(--muted); transition: .2s; }
.view-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.filters-btn { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filters:empty { display: none; }
.afilter { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 6px 0 12px; border-radius: 99px; border: 1px solid var(--sand-2); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 700; transition: border-color .2s, background-color .2s, color .2s; }
.afilter .ico { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--sand); color: var(--muted); transition: background-color .2s, color .2s; }
.afilter:hover { border-color: var(--accent); color: var(--accent); }
.afilter:hover .ico { background: var(--accent-soft); color: var(--accent); }
.afilter--clear { border-color: transparent; background: none; color: var(--accent); padding: 0 6px; }
.afilter--clear:hover { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.empty-state { display: none; flex-direction: column; align-items: center; gap: 12px; padding: 60px 20px; text-align: center; border: 1.5px dashed var(--line-2); border-radius: var(--r); color: var(--muted); }
.empty-state.is-shown { display: flex; }
.empty-state b { color: var(--ink); font-size: 18px; }

.promo-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; padding: 22px 28px; border-radius: var(--r); background: var(--accent-soft); }
.promo-row .ico--lg { color: var(--accent); }
.promo-row b { font-size: 17px; }
.promo-row p { color: var(--ink-2); font-size: 14px; }
.promo-row .btn { margin-left: auto; }

.pager { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 32px; }
.pager__pages { display: flex; gap: 6px; }
.pager__pages a, .pager__pages span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 6px; border-radius: var(--r-sm); font-weight: 700; border: 1px solid transparent; transition: .2s; }
.pager__pages a:hover { border-color: var(--line-2); background: var(--surface); }
.pager__pages [aria-current] { background: var(--ink); color: #fff; }

.seo { margin-top: 48px; padding: 32px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.seo h2 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.seo__text { position: relative; max-height: 110px; overflow: hidden; color: var(--ink-2); transition: max-height .4s var(--ease); }
.seo__text p + p { margin-top: 10px; }
.seo__text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); transition: opacity .3s; }
.seo.is-open .seo__text { max-height: 600px; }
.seo.is-open .seo__text::after { opacity: 0; }
.seo button { margin-top: 12px; }

/* ==========================================================================
   PRODUCT
   ========================================================================== */
.pdp { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; }

/* Gallery: the large photo with captioned previews under it */
.gallery { position: sticky; top: calc(var(--hdr-h, var(--header-h)) + 20px); display: grid; gap: 14px; }
.gallery__stage { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.gallery__slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.gallery__slides::-webkit-scrollbar { display: none; }
.gallery__slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; overflow: hidden; cursor: zoom-in; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out; }
/* a narrow or plain tile: across the stage edge to edge, its own height, on the sand */
.gallery__slide.is-whole { display: grid; place-items: center; background: var(--sand); }
.gallery__slide.is-whole img { width: 100%; height: auto; max-height: 100%; object-fit: contain; box-shadow: 0 14px 26px -16px rgba(30, 26, 22, .4); }
/* the lens: the full picture under the cursor, its power in the badge; the wheel changes it */
.gallery__slide.is-lens { cursor: none; }
.lens { position: absolute; z-index: 3; top: 0; left: 0; width: 230px; height: 230px; border-radius: 50%; pointer-events: none; opacity: 0; background: var(--sand) no-repeat; box-shadow: 0 0 0 3px rgba(255, 255, 255, .95), 0 18px 44px -12px rgba(20, 17, 14, .5); transition: opacity .15s; }
.gallery__slide.is-lens .lens { opacity: 1; }
.lens::after { content: attr(data-power); position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 2px 9px; border-radius: 10px; background: rgba(20, 17, 14, .72); color: #fff; font-size: 11.5px; font-weight: 700; }
.gallery__hint { position: absolute; z-index: 2; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 20px; background: rgba(255, 255, 255, .92); color: var(--ink-2); font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-sm); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s var(--ease); }
.gallery__stage:hover .gallery__hint { opacity: 1; transform: none; }
.gallery__stage:has(.is-lens) .gallery__hint { opacity: 0; }

/* the photo viewer */
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1000; display: none; grid-template-rows: auto minmax(0, 1fr) auto auto auto; background: #15120f; color: #fff; }
.lb.is-open { display: grid; animation: lb-in .2s ease-out; }
@keyframes lb-in { from { opacity: 0; } }
.lb__bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; }
.lb__title { display: grid; min-width: 0; margin-right: auto; }
.lb__title b { overflow: hidden; font-size: 16px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.lb__title small { color: rgba(255, 255, 255, .6); font-size: 13px; }
.lb__count { color: rgba(255, 255, 255, .6); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.lb__close { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .2s; }
.lb__close:hover { background: rgba(255, 255, 255, .2); }
.lb__modes { display: inline-flex; padding: 3px; border-radius: 22px; background: rgba(255, 255, 255, .1); }
.lb__modes .lb__chip { border: 0; }
.lb__modes .lb__chip.is-on { background: #fff; color: var(--ink); }
.lb__stage { position: relative; overflow: hidden; }
.lb__box { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; touch-action: none; cursor: zoom-in; }
.lb.is-zoomed .lb__box { cursor: grab; }
.lb__box.is-grab { cursor: grabbing; }
.lb__img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; transform-origin: 50% 50%; transition: transform .12s ease-out, filter .3s; }
.lb__box.is-grab .lb__img { transition: none; }
.lb__lay { position: absolute; inset: 0; width: 100%; height: 100%; transition: filter .3s; }
.lb__lay[hidden], .lb__box[hidden] { display: none; }
.lb__nav { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: rgba(20, 17, 14, .6); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); transition: background-color .2s; }
.lb__nav:hover { background: rgba(20, 17, 14, .85); }
.lb__nav--prev { left: 16px; }
.lb__nav--next { right: 16px; }
.lb.is-layout .lb__nav, .lb.is-layout .lb__zoom, .lb.is-layout .lb__thumbs, .lb.is-layout .lb__count { display: none; }
.lb__zoom { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 24px; background: rgba(20, 17, 14, .7); }
.lb__zoom button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; }
.lb__zoom button:hover { background: rgba(255, 255, 255, .14); }
.lb__zoom span { min-width: 48px; text-align: center; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
/* the light a buyer will have at home: the same picture, warmer, darker or colder */
.lb[data-light="warm"] .lb__img, .lb[data-light="warm"] .lb__lay { filter: sepia(.22) saturate(1.12) brightness(1.02); }
.lb[data-light="evening"] .lb__img, .lb[data-light="evening"] .lb__lay { filter: sepia(.4) saturate(1.05) brightness(.74) contrast(.94); }
.lb[data-light="cold"] .lb__img, .lb[data-light="cold"] .lb__lay { filter: saturate(.85) brightness(1.06) hue-rotate(-10deg) contrast(1.03); }
.lb__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; padding: 12px 20px 0; }
.lb__tools:empty { display: none; }
.lb__opts { display: contents; }
.lb__opts[hidden] { display: none; }
.lb__group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lb__label { margin-right: 4px; color: rgba(255, 255, 255, .55); font-size: 12.5px; font-weight: 600; }
.lb__chip { padding: 7px 13px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s; }
.lb__chip:hover { border-color: rgba(255, 255, 255, .45); color: #fff; }
.lb__chip.is-on { background: #fff; border-color: #fff; color: var(--ink); }
.lb__grout { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.lb__grout.is-on { outline-color: #fff; }
.lb__thumbs { display: flex; justify-content: center; gap: 8px; padding: 12px 20px 0; overflow-x: auto; scrollbar-width: none; }
.lb__thumbs::-webkit-scrollbar { display: none; }
.lb__thumb { flex: none; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; opacity: .5; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s, outline-color .2s; }
.lb__thumb:hover { opacity: .85; }
.lb__thumb.is-on { opacity: 1; outline-color: #fff; }
.lb__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px 16px; }
.lb__hint { color: rgba(255, 255, 255, .55); font-size: 13px; }
/* the viewer hangs on body, outside the «gt» container: a media query, not a container one */
@media (max-width: 900px) {
  .lb__bar { padding: 10px 12px; gap: 10px; }
  .lb__title b { font-size: 14.5px; }
  .lb__nav { display: none; }
  .lb__tools { justify-content: flex-start; gap: 8px 16px; padding: 10px 12px 0; max-height: 34vh; overflow-y: auto; }
  .lb__thumbs { justify-content: flex-start; padding: 10px 12px 0; }
  .lb__thumb { width: 52px; height: 52px; }
  .lb__foot { padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); }
  .lb__hint { display: none; }
  .lb__foot .btn { width: 100%; }
  .lb__chip { padding: 5px 10px; font-size: 12.5px; }
  .lb__grout { width: 22px; height: 22px; }
  .lb__label { font-size: 12px; }
}
.gallery__badges { position: absolute; z-index: 2; top: 16px; left: 16px; display: flex; gap: 6px; pointer-events: none; }
.gallery__zoom { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), background-color .2s; }
.gallery__zoom:hover { transform: scale(1.06); background: #fff; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gallery__thumb { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.gallery__pic { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--sand); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.gallery__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__thumb:hover .gallery__pic img { transform: scale(1.04); }
.gallery__thumb[aria-selected="true"] .gallery__pic { outline-color: var(--ink); }
.gallery__cap { font-size: 13px; color: var(--muted); transition: color .2s; }
.gallery__thumb[aria-selected="true"] .gallery__cap { color: var(--ink); font-weight: 700; }
.gallery__dots { display: none; }

/* Right column */
.pinfo__head { display: flex; align-items: flex-start; gap: 16px; }
.pinfo h1 { flex: 1; font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: -.015em; }
.pinfo__wish { flex: none; width: 44px; height: 44px; margin-top: 2px; border: 1.5px solid var(--line); background: var(--surface); }
.pinfo__sub { margin-top: 6px; font-size: 17px; color: var(--muted); }
.pinfo__sub span { margin-inline: 6px; }
.pinfo__stock { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.pinfo__stock i { width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(47, 122, 74, .15); flex: none; }
.pinfo__stock b { display: block; font-size: 15.5px; font-weight: 700; }
.pinfo__stock small { display: block; font-size: 13px; color: var(--muted); }

.pprice { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px; padding-block: 20px; }
.pprice__main b { display: block; font-size: 38px; line-height: 1.05; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pprice__main b small { font-size: 20px; }
.pprice__old { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.pprice__old s { color: var(--muted); font-size: 14.5px; }
.pprice__pack { padding-left: 24px; border-left: 1px solid var(--line); }
.pprice__pack b { display: block; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pprice__pack small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

.pcalc { display: grid; gap: 14px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pcalc__title { font-size: 17px; font-weight: 800; }
.pcalc__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: 16px; }
.pcalc__row label { font-size: 15px; font-weight: 600; }
.pcalc__field { display: flex; align-items: center; height: 50px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.pcalc__field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(30, 26, 22, .07); }
.pcalc__field input { flex: 1; min-width: 0; height: 100%; padding: 0 14px; border: 0; outline: 0; background: transparent; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pcalc__field em { display: grid; place-items: center; align-self: stretch; padding: 0 14px; border-left: 1px solid var(--line); background: var(--bg); font-style: normal; font-size: 14px; font-weight: 700; color: var(--muted); }
.pcalc__reserve { display: flex; align-items: center; gap: 8px; }
.pcalc__reserve .check { min-height: 28px; font-size: 14.5px; color: var(--ink-2); }
.pcalc__sum { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--bg); }
.pcalc__sum small { display: block; margin-bottom: 4px; font-size: 13px; color: var(--muted); }
.pcalc__sum b { display: block; font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pcalc__sum div:last-child { text-align: right; }
.pcalc__sum div:last-child b { font-size: 26px; }
.pcalc .btn--lg { min-height: 54px; }
.pcalc__consult { border: 1.5px solid var(--accent); color: var(--accent); background: var(--surface); }
.pcalc__consult:hover { background: var(--accent-soft); }

/* The "?" hint */
.tip { position: relative; display: inline-flex; }
.tip__btn { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); font-size: 12px; font-weight: 800; color: var(--muted); transition: border-color .2s, color .2s; }
.tip__btn:hover, .tip__btn:focus-visible { border-color: var(--ink); color: var(--ink); }
.tip__pop { position: absolute; z-index: 20; bottom: calc(100% + 10px); left: 50%; width: 240px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-size: 13px; line-height: 1.45; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 4px); transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s; pointer-events: none; }
.tip__pop::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--ink); }
.tip:hover .tip__pop, .tip__btn:focus-visible + .tip__pop, .tip.is-open .tip__pop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }

.pperks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; padding: 22px 6px; border-radius: var(--r); background: var(--sand); }
.pperk { display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: 14px; }
.pperk + .pperk { border-left: 1px solid var(--sand-2); }
.pperk__ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 50%; background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm); }
.pperk__ico .ico { width: 22px; height: 22px; }
.pperk b { font-size: 14.5px; line-height: 1.3; font-weight: 800; }
.pperk small { max-width: 18ch; margin-top: 5px; font-size: 13px; line-height: 1.4; color: var(--muted); }

/* Quantity stepper (cart) */
.stepper { display: flex; align-items: center; height: 48px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--surface); }
.stepper button { display: grid; place-items: center; width: 44px; height: 100%; color: var(--ink-2); }
.stepper button:hover { color: var(--accent); }
.stepper input { width: 64px; height: 100%; border: 0; outline: 0; text-align: center; font-weight: 800; font-size: 16px; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Anchor menu of the product: sticks under the header and lights the current section.
   The full width background is a box-shadow cut by clip-path, so there is no horizontal scroll. */
.pnav {
  position: sticky; z-index: 30; top: var(--hdr-h, 0px); display: flex; align-items: center; gap: 24px;
  margin-top: 48px; background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax);
  transition: background-color .25s, box-shadow .25s;
}
.pnav.is-stuck { background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); }
.pnav__links { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.pnav__links::-webkit-scrollbar { display: none; }
.pnav__link { position: relative; padding: 16px 14px; font-weight: 700; font-size: 15px; color: var(--muted); white-space: nowrap; transition: color .2s; }
.pnav__link:hover { color: var(--ink); }
.pnav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.pnav__link.is-active { color: var(--ink); }
.pnav__link.is-active::after { transform: scaleX(1); }

.psec { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding-block: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hdr-h, 0px) + 56px); }
.psec__title { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.psec__body.prose { max-width: 72ch; }
#overview, #kit, #similar { scroll-margin-top: calc(var(--hdr-h, 0px) + 72px); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.specs dl { margin: 0; }
.specs dl div { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs dt { color: var(--muted); }
.specs dt::after { content: ""; flex: 1; }
.specs dd { margin: 0 0 0 auto; font-weight: 700; text-align: right; }
.prose { max-width: 72ch; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.prose p + p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose h3 { color: var(--ink); font-size: 18px; margin: 20px 0 6px; }

.bundle { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: stretch; }
.bundle__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bitem { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--r); background: var(--surface); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s; }
.bitem:has(input:checked) { border-color: var(--ink); }
.bitem img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); background: var(--bg); }
.bitem .check { position: absolute; top: 20px; left: 20px; min-height: 0; }
.bitem b { font-size: 14.5px; line-height: 1.3; }
.bitem small { color: var(--muted); font-size: 13px; }
.bitem span.p { font-weight: 800; }
/* the bundle total: a sand panel as tall as the cards, its button level with their bottom */
.bundle__sum { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r); background: var(--sand); color: var(--ink); }
.bundle__sum .btn { margin-top: auto; }
.bundle__sum small { color: var(--muted); font-size: 13.5px; }
.bundle__sum b { font-size: 32px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }

.buybar { display: none; }

/* ==========================================================================
   CHECKOUT
   A short header (nothing distracts), three steps on the left, a sticky summary on the right.
   ========================================================================== */
.co-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.co-head__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.co-head__safe { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 700; }
.co-head__help { display: flex; flex-direction: column; margin-left: auto; line-height: 1.2; }
.co-head__help small { font-size: 12px; color: var(--muted); }
.co-head__help b { font-size: 15px; font-weight: 800; }
.co-head__back { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; font-weight: 700; transition: background-color .2s; }
.co-head__back:hover { background: var(--sand); }

.co { padding-bottom: 56px; }
.co-title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 24px; }
.co-title h1 { font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.co__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.co__form { display: grid; gap: 16px; min-width: 0; }
/* otherwise display above beats the hidden attribute (the form hides after sending) */
.co__grid[hidden], .co-title[hidden] { display: none; }

/* steps */
.co-step { padding: 26px 28px 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.co-step__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.co-step__head h2 { font-size: 20px; font-weight: 800; line-height: 1.25; }
.co-step__head p { margin-top: 2px; font-size: 14px; color: var(--muted); }
.co-step__num { position: relative; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sand); font-weight: 800; font-size: 15px; transition: background-color .25s, color .25s; }
.co-step__num .ico { position: absolute; opacity: 0; transform: scale(.5); stroke-width: 2.6; transition: .25s var(--ease); }
.co-step__num i { font-style: normal; transition: opacity .2s; }
.co-step.is-done .co-step__num { background: var(--green); color: #fff; }
.co-step.is-done .co-step__num i { opacity: 0; }
.co-step.is-done .co-step__num .ico { opacity: 1; transform: none; }
.co-step__body { display: grid; gap: 16px; }

.co-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.co-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px 16px; }
.co-span2 { grid-column: span 2; }
.co-sub { padding: 16px; border-radius: var(--r-sm); background: var(--bg); }
.co-sub[hidden], .co-panel[hidden] { display: none; }
.co-row .check { font-size: 15px; }
.co-field { position: relative; }
.co-hint { font-size: 12.5px; color: var(--muted); }
.co-err { display: none; font-size: 12.5px; font-weight: 700; color: #b3261e; }
.co-field.is-invalid .co-err { display: block; }
.co-field.is-invalid .input, .co-field.is-invalid .cbx__box, .co-field.is-invalid .dp__btn { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, .08); }
.co-textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.45; font-family: inherit; }

/* cards of the delivery and payment methods */
.co-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-opt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.co-opt:hover { border-color: var(--sand-2); background: var(--bg); }
.co-opt input { position: absolute; opacity: 0; pointer-events: none; }
.co-opt__ico { grid-row: 1 / 3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--bg); color: var(--ink-2); }
.co-opt__body { min-width: 0; }
.co-opt__body b { display: block; font-size: 15px; font-weight: 800; }
.co-opt__body small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.co-opt__price { grid-column: 3; grid-row: 1; align-self: start; font-size: 13.5px; font-weight: 800; white-space: nowrap; color: var(--ink); }
.co-opt__price.is-free { color: var(--green); }
.co-opt__radio { position: absolute; top: 14px; right: 14px; display: none; }
.co-opt:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(30, 26, 22, .06); background: var(--surface); }
.co-opt:has(input:checked) .co-opt__ico { background: var(--accent-soft); color: var(--accent); }
.co-opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.co-opt.is-off { cursor: not-allowed; opacity: .55; background: var(--bg); }
.co-opt.is-off:hover { border-color: var(--line); }
.co-opt__why { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: #a5670c; }
.co-logo { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 10px; font-size: 13px; font-weight: 900; letter-spacing: .02em; color: #fff; }
.co-logo--np { background: #da291c; }
.co-logo--ukr { background: #f6bd18; color: #1e1a16; }
.co-cards { display: flex; gap: 4px; margin-top: 6px; }
.co-cards i { padding: 2px 6px; border-radius: 4px; border: 1px solid var(--line); font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--ink-2); background: var(--surface); }

.co-panel { display: grid; gap: 14px; padding: 18px; border-radius: var(--r-sm); background: var(--bg); }
.co-seg3 span { height: auto; min-height: 40px; padding: 6px 8px; text-align: center; line-height: 1.2; }
.co-seg3 label.is-off span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.co-note { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.co-note .ico { flex: none; margin-top: 2px; color: var(--muted); }
.co-note--warn { padding: 10px 12px; border-radius: var(--r-sm); background: #fbf1df; color: #7a4d09; }
.co-note--warn .ico { color: #a5670c; }
.co-note[hidden] { display: none; }

/* stores for pickup */
.co-stores { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.co-store { position: relative; display: block; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .2s; }
.co-store input { position: absolute; opacity: 0; pointer-events: none; }
.co-store b { display: block; font-size: 14.5px; }
.co-store small { display: block; font-size: 12.5px; color: var(--muted); }
.co-store em { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--green); }
.co-store em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.co-store:has(input:checked) { border-color: var(--ink); }
.co-store:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* time slots */
.co-slots { display: flex; flex-wrap: wrap; gap: 6px; }
.co-slots label { position: relative; flex: 1; min-width: 72px; }
.co-slots input { position: absolute; opacity: 0; pointer-events: none; }
.co-slots span { display: grid; place-items: center; height: 48px; padding: 0 10px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); font-size: 14.5px; font-weight: 700; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.co-slots input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.co-slots input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.co-lift { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px 24px; }
.co-lift[hidden] { display: none; }
.co-floor { width: max-content; }
.co-floor input { font-size: 16px; }

/* Combobox with search (city, branch) */
.cbx { position: relative; }
.cbx__box { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px 0 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.cbx__box > .ico { flex: none; width: 18px; height: 18px; color: var(--muted); }
.cbx__box:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(30, 26, 22, .07); }
.cbx__box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.cbx__box input:disabled { cursor: not-allowed; }
.cbx.is-disabled .cbx__box { background: var(--bg); }
.cbx__clear { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 6px; color: var(--muted); }
.cbx__clear:hover { background: var(--bg); color: var(--ink); }
.cbx__clear[hidden] { display: none; }
.cbx__list {
  position: absolute; z-index: 45; top: calc(100% + 6px); left: 0; right: 0; max-height: 300px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s var(--ease), transform .22s var(--ease), visibility 0s .22s;
}
.cbx.is-open .cbx__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.cbx__opt { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: var(--r-xs); cursor: pointer; }
.cbx__opt.is-active { background: var(--sand); }
.cbx__opt b { display: block; font-size: 14.5px; font-weight: 700; }
.cbx__opt small { display: block; font-size: 12.5px; color: var(--muted); }
.cbx__opt mark { background: none; color: var(--accent); }
.cbx__opt .tag { flex: none; margin-left: auto; height: 20px; font-size: 11px; }
.cbx__none { padding: 12px; font-size: 14px; color: var(--muted); }

/* Calendar */
.dp { position: relative; }
.dp__btn { display: flex; align-items: center; gap: 10px; width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font-size: 16px; text-align: left; transition: border-color .2s, box-shadow .2s; }
.dp__btn > .ico:first-child { color: var(--muted); }
.dp__val { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.dp.has-value .dp__val { color: var(--ink); font-weight: 700; }
.dp__chev { color: var(--muted); transition: transform .25s var(--ease); }
.dp.is-open .dp__chev { transform: rotate(180deg); }
.dp.is-open .dp__btn, .dp__btn:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(30, 26, 22, .07); outline: 0; }
.dp__pop {
  position: absolute; z-index: 45; top: calc(100% + 6px); left: 0; width: 304px; padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s var(--ease), transform .22s var(--ease), visibility 0s .22s;
}
.dp.is-open .dp__pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dp__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp__head b { font-size: 15px; font-weight: 800; text-transform: capitalize; }
.dp__nav { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink-2); }
.dp__nav:hover:not(:disabled) { background: var(--bg); }
.dp__nav:disabled { opacity: .3; cursor: default; }
.dp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp__dow { padding: 6px 0; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.dp__day { height: 38px; border-radius: 8px; font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color .15s, color .15s; }
.dp__day:hover:not(:disabled) { background: var(--sand); }
.dp__day:disabled { color: #c9c0b5; font-weight: 500; cursor: default; }
.dp__day.is-today { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.dp__day.is-sel { background: var(--ink); color: #fff; }
.dp__day:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.dp__foot { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* summary */
.co-sum { position: sticky; top: 20px; }
.co-sum__card { display: grid; gap: 16px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.co-sum__head { display: flex; align-items: baseline; justify-content: space-between; }
.co-sum__head h2 { font-size: 20px; font-weight: 800; }
.co-sum__head span { font-size: 13.5px; color: var(--muted); }
.co-demo { display: flex; gap: 8px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--accent-soft); font-size: 13px; color: var(--accent); font-weight: 600; }
.co-demo[hidden] { display: none; }
.co-items { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.co-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; }
.co-item img { grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--bg); }
.co-item__name { font-size: 14px; font-weight: 700; line-height: 1.3; }
.co-item__meta { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.co-item__sum { font-size: 14.5px; font-weight: 800; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.co-item__ctl { grid-column: 2 / 4; display: flex; align-items: center; gap: 10px; }
.co-item .stepper { height: 34px; }
.co-item .stepper button { width: 32px; }
.co-item .stepper input { width: 38px; font-size: 16px; }
.co-item__unit { font-size: 12.5px; color: var(--muted); }
.co-item__del { margin-left: auto; font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.co-item__del:hover { color: #b3261e; }
.co-badges { display: grid; gap: 8px; padding: 14px; border-radius: var(--r-sm); background: var(--bg); }
.co-badge { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.4; }
.co-badge .ico { flex: none; margin-top: 1px; color: var(--accent); }
.co-badge b { font-weight: 800; }
.co-upsell { display: grid; gap: 8px; }
.co-upsell[hidden] { display: none; }
.co-upsell > b { font-size: 14px; }
.co-ups { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r-sm); border: 1px dashed var(--line-2); }
.co-ups img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.co-ups span { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; }
.co-ups span small { display: block; color: var(--muted); }
.co-ups button { flex: none; height: 32px; padding: 0 12px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 800; transition: background-color .2s, color .2s; }
.co-ups button:hover { background: var(--accent); color: #fff; }
.co-promo__box { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 5px 0 12px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); }
.co-promo__box:focus-within { border-color: var(--ink); }
.co-promo__box .ico { color: var(--muted); }
.co-promo__box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; text-transform: uppercase; }
.co-promo__box input::placeholder { text-transform: none; }
.co-promo__box button { height: 34px; padding: 0 12px; border-radius: 6px; background: var(--sand); font-size: 13.5px; font-weight: 800; }
.co-promo__box button:hover { background: var(--sand-2); }
.co-promo__msg { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.co-promo__msg.is-ok { color: var(--green); font-weight: 700; }
.co-promo__msg.is-err { color: #b3261e; font-weight: 700; }
.co-totals { display: grid; gap: 8px; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.co-totals div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.co-totals dt { color: var(--ink-2); }
.co-totals dt small { display: block; font-size: 12px; color: var(--muted); }
.co-totals dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.co-totals .is-disc dd { color: var(--green); }
.co-totals .is-free dd { color: var(--green); }
.co-totals .is-total { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line-2); align-items: baseline; }
.co-totals .is-total dt { font-size: 15px; font-weight: 800; color: var(--ink); }
.co-totals .is-total dd { font-size: 26px; font-weight: 800; }
.co-submit { gap: 10px; }
.co-legal { font-size: 12px; line-height: 1.5; color: var(--muted); }
.co-legal a { text-decoration: underline; text-underline-offset: 2px; }
.co-trust { display: grid; gap: 6px; margin: 0; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--line); }
.co-trust li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.co-trust .ico { color: var(--green); }

/* bottom bar on a phone */
.co-bar { display: none; }

/* the "accepted" screen */
.co-done[hidden] { display: none; }
.co-done { display: grid; place-items: center; padding-block: 24px 8px; outline: 0; }
.co-done__card { width: min(640px, 100%); padding: 40px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-align: center; animation: rise .45s var(--ease) both; }
.co-done__ico { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.co-done__ico .ico { width: 32px; height: 32px; stroke-width: 2.6; }
.co-done h1 { margin-top: 16px; font-size: 28px; font-weight: 800; line-height: 1.2; }
.co-done h1 span { color: var(--accent); }
.co-done__card > p { margin-top: 8px; color: var(--ink-2); }
.co-done__steps { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: s; text-align: left; }
.co-done__steps li { position: relative; padding: 12px 14px 12px 52px; border-radius: var(--r-sm); background: var(--bg); counter-increment: s; }
.co-done__steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); font-size: 13px; font-weight: 800; }
.co-done__steps b { display: block; font-size: 14.5px; }
.co-done__steps span { font-size: 13.5px; color: var(--muted); }
.co-done__sum { display: grid; gap: 6px; margin: 20px 0 0; text-align: left; }
.co-done__sum div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.co-done__sum dt { color: var(--muted); }
.co-done__sum dd { margin: 0; font-weight: 700; text-align: right; }
.co-done__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.co-done .co-legal { margin-top: 14px; }

.co-foot { padding-block: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.co-foot__in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
.co-foot .footer__dev a { color: var(--ink); }

@container gt (max-width: 1180px) {
  .co__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; }
  .co-opts { grid-template-columns: 1fr; }
}
@container gt (max-width: 900px) {
  .co-head__in { height: 60px; gap: 12px; }
  .co-head__safe, .co-head__help { display: none; }
  .co-head__back { margin-left: auto; }
  .co-title h1 { font-size: 25px; }
  .co__grid { grid-template-columns: 1fr; }
  .co-sum { position: static; }
  .co-step { padding: 20px 16px; }
  .co-grid2, .co-grid3, .co-stores { grid-template-columns: 1fr; }
  .co-span2 { grid-column: auto; }
  .co-panel { padding: 14px; }
  .co-sum__card { padding: 18px 16px; }
  .co-done__card { padding: 28px 18px; }
  .co { padding-bottom: 96px; }
  .co-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -16px rgba(30, 26, 22, .3); }
  .co-bar small { display: block; font-size: 12px; color: var(--muted); }
  .co-bar b { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
  .co-bar.is-hidden { display: none; }
  .dp__pop { width: min(304px, calc(100vw - 64px)); }
}


/* ==========================================================================
   TRY-ON
   ========================================================================== */
.nav__aside .nav__vz { color: var(--accent); }
.nav__aside .nav__vz:hover { color: var(--accent-hover); }
.vz { padding-bottom: 56px; }
.vz-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 24px; }
.vz-head h1 { font-size: 38px; line-height: 1.1; font-weight: 800; letter-spacing: -.015em; }
.vz-head p { max-width: 46ch; font-size: 16px; color: var(--ink-2); }
.vz-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 28px; align-items: start; }
.vz-view { position: sticky; top: calc(var(--hdr-h, var(--header-h)) + 16px); min-width: 0; }
.vz-scenes { display: flex; gap: 8px; margin-bottom: 12px; }
.vz-scene { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 14.5px; font-weight: 700; color: var(--ink-2); transition: border-color .2s, background-color .2s, color .2s; }
.vz-scene svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vz-scene:hover { border-color: var(--sand-2); background: var(--bg); }
.vz-scene[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

.vz-stage { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #e8e1d6; box-shadow: var(--shadow); }
/* the eye a little above the middle of the wall shows more floor, as from the doorway */
.vz-scaler { position: absolute; left: 0; top: 0; transform-origin: 0 0; perspective-origin: 50% 26%; }
.vz-room { position: absolute; left: 500px; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.vz-plane { position: absolute; transform-style: preserve-3d; backface-visibility: hidden; }
.vz-plane canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* light: walls lighter under the ceiling, corners darker, the floor darker further away */
.vz-plane::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.vz-plane--back::after { background: linear-gradient(180deg, rgba(255, 252, 245, .14), rgba(0, 0, 0, .06) 75%, rgba(0, 0, 0, .14)), radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .12)); }
.vz-plane--left::after { background: linear-gradient(90deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .22)); }
.vz-plane--right::after { background: linear-gradient(270deg, rgba(0, 0, 0, .14), rgba(0, 0, 0, .28)); }
.vz-plane--floor::after { background: linear-gradient(180deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .04) 70%, rgba(255, 255, 255, .06)); }
.vz-plane--ceil { background: #f6f3ee; }
.vz-plane--ceil::after { background: linear-gradient(0deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .02)); }
.vz-plane--counter { background: linear-gradient(0deg, #ddd6cb, #ebe6de); }
.vz-fix { position: absolute; }
.vz-fix svg { display: block; overflow: visible; }
.vz-fix--shadow { filter: drop-shadow(0 6px 8px rgba(40, 28, 16, .28)); }
.vz-rug { position: absolute; z-index: 1; box-shadow: 0 2px 6px rgba(30, 22, 14, .25); }
.vz-shadow { z-index: 2;  position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 22, 14, .42), rgba(30, 22, 14, 0)); pointer-events: none; }

.vz-labels { position: absolute; left: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 160px); pointer-events: none; }
.vz-labels span { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 99px; background: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow-sm); }
.vz-labels i { width: 22px; height: 22px; border-radius: 50%; background-size: cover; background-position: center; }
.vz-share { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 99px; background: rgba(255, 255, 255, .94); font-size: 13.5px; font-weight: 800; box-shadow: var(--shadow-sm); transition: background-color .2s; }
.vz-share:hover { background: #fff; }
.vz-loading { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); padding: 6px 14px; border-radius: 99px; background: rgba(30, 26, 22, .78); color: #fff; font-size: 12.5px; font-weight: 700; opacity: 0; transition: opacity .2s; pointer-events: none; }
.vz-loading.is-on { opacity: 1; transition-delay: .25s; }
.vz-disclaimer { display: flex; gap: 8px; margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.vz-disclaimer .ico { flex: none; margin-top: 2px; }

.vz-panel { display: grid; gap: 14px; min-width: 0; }
.vz-panel > *, .vz-lay, .vz-grout { min-width: 0; }
/* the icon right next to its label, not pushed to the edges */
.vz-surf span { display: flex; align-items: center; justify-content: center; gap: 8px; }
.vz-surf span .ico { width: 19px; height: 19px; flex: none; }
.vz-surf [hidden] { display: none; }
.vz-surf--3 span { font-size: 14px; gap: 6px; }
.vz-surf label.is-off span { opacity: .4; cursor: not-allowed; }
.vz-note { font-size: 13px; line-height: 1.45; color: var(--muted); }
.vz-note[hidden] { display: none; }
.vz-sec { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.vz-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.vz-sec__head h2 { font-size: 15.5px; font-weight: 800; }
.vz-sec__head span { font-size: 13px; font-weight: 700; color: var(--accent); text-align: right; }
.vz-find { display: flex; align-items: center; gap: 8px; height: 42px; margin-bottom: 10px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); color: var(--muted); }
.vz-find:focus-within { border-color: var(--ink); background: var(--surface); }
.vz-find input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.vz-tiles { display: grid; grid-template-columns: 1fr; gap: 6px; max-height: 320px; overflow-y: auto; scrollbar-width: none; margin: -2px; padding: 2px; }
.vz-tiles::-webkit-scrollbar { display: none; }
.vz-tile { display: flex; align-items: center; gap: 9px; padding: 6px; border-radius: var(--r-sm); border: 1.5px solid var(--line); text-align: left; transition: border-color .2s, background-color .2s; }
.vz-tile:hover { border-color: var(--sand-2); background: var(--bg); }
.vz-tile[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); }
.vz-tile img { width: 40px; height: 40px; flex: none; border-radius: 6px; object-fit: cover; }
.vz-tile span { min-width: 0; }
.vz-tile b { display: block; font-size: 12.5px; line-height: 1.25; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vz-tile small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; }
.vz-tile b { font-size: 13.5px; }
.vz-lays { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.vz-lay { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 2px 7px; border-radius: var(--r-sm); border: 1.5px solid var(--line); font-size: 11.5px; font-weight: 700; color: var(--ink-2); line-height: 1.15; text-align: center; transition: border-color .2s, background-color .2s, color .2s; }
.vz-lay svg { width: 30px; height: 30px; fill: var(--sand-2); stroke: var(--surface); stroke-width: .8; }
.vz-lay:hover:not(:disabled) { border-color: var(--sand-2); background: var(--bg); }
.vz-lay[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.vz-lay[aria-pressed="true"] svg { fill: #e2a68d; }
.vz-lay:disabled { opacity: .38; cursor: not-allowed; }
.vz-sec .vz-note { margin-top: 10px; }
.vz-grouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.vz-grout { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 2px; border-radius: var(--r-sm); border: 1.5px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-2); transition: border-color .2s, background-color .2s; }
.vz-grout i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.vz-grout:hover:not(:disabled) { border-color: var(--sand-2); }
.vz-grout[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.vz-grout:disabled, .vz-joint input:disabled + span { opacity: .4; cursor: not-allowed; }
.vz-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vz-sizes .input { height: 44px; }
.vz-sum { display: grid; gap: 12px; padding: 20px; border-radius: var(--r); background: var(--sand); }
.vz-sum h2 { font-size: 15.5px; font-weight: 800; }
.vz-line { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px; border-radius: var(--r-sm); background: var(--surface); }
.vz-line img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.vz-line small { display: block; font-size: 12px; color: var(--muted); }
.vz-line b { display: block; font-size: 14px; font-weight: 800; line-height: 1.3; }
.vz-line span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-2); }
.vz-line em { font-style: normal; font-size: 14.5px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vz-total { display: flex; align-items: baseline; justify-content: space-between; padding: 4px 4px 2px; }
.vz-total span { font-weight: 700; color: var(--ink-2); }
.vz-total b { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.vz-consult { border: 1.5px solid var(--accent); color: var(--accent); background: var(--surface); }
.vz-consult:hover { background: var(--accent-soft); }


/* Full screen try-on: over the site, with the short header of the checkout */
.vz-fullhead { display: none; }
.vz-expand { position: absolute; z-index: 3; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px 0 11px; border-radius: 99px; background: rgba(255, 255, 255, .94); font-size: 13.5px; font-weight: 800; box-shadow: var(--shadow-sm); transition: background-color .2s, color .2s; }
.vz-expand:hover { background: #fff; color: var(--accent); }
.vz-expand svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vz-expand__off { display: none; }
body.vz-is-full { overflow: hidden; }
.vz.is-full { position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column; padding: 0; background: var(--bg); animation: rise .3s var(--ease) both; }
.vz.is-full .vz-fullhead { display: flex; align-items: center; gap: 20px; flex: none; height: 64px; padding: 0 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.vz-fullhead__title { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: 13.5px; font-weight: 800; }
.vz.is-full .co-head__help { margin-left: auto; }
.vz.is-full > .wrap { flex: 1; min-height: 0; max-width: none; padding: 16px 24px; }
.vz.is-full .crumbs, .vz.is-full .vz-head, .vz.is-full .vz-disclaimer { display: none; }
.vz.is-full .vz-grid { height: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
.vz.is-full .vz-view { position: static; }
.vz.is-full .vz-panel { height: 100%; overflow-y: auto; scrollbar-width: none; padding-bottom: 8px; }
.vz.is-full .vz-panel::-webkit-scrollbar { display: none; }
.vz.is-full .vz-expand__on { display: none; }
.vz.is-full .vz-expand__off { display: block; }
@media (max-width: 900px) {
  .vz-expand span { display: none; }
  .vz-expand { padding: 0; width: 38px; justify-content: center; right: 10px; top: 10px; }
  .vz.is-full .vz-fullhead { height: 56px; padding: 0 14px; gap: 10px; }
  .vz.is-full .vz-fullhead__title, .vz.is-full .co-head__help { display: none; }
  .vz.is-full .co-head__back { margin-left: auto; }
  .vz.is-full > .wrap { padding: 0 16px; overflow-y: auto; overflow-x: hidden; }
  .vz.is-full .vz-grid { height: auto; grid-template-columns: 1fr; }
  .vz.is-full .vz-view { position: sticky; top: 0; }
  .vz.is-full .vz-panel { height: auto; overflow: visible; }
}

/* The "Share" popup over its button */
.vz-sharepop { position: absolute; z-index: 6; right: 14px; bottom: 62px; width: 320px; display: grid; gap: 10px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: rise .25s var(--ease) both; }
.vz-sharepop[hidden] { display: none; }
.vz-sharepop__head b { display: block; font-size: 15px; font-weight: 800; }
.vz-sharepop__head small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.vz-sharepop__apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.vz-app { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: var(--r-sm); background: var(--bg); font-size: 12.5px; font-weight: 700; transition: background-color .2s; }
.vz-app .ico { width: 20px; height: 20px; }
.vz-app--vb .ico { color: #7360f2; }
.vz-app--tg .ico { color: #2a9bd8; }
.vz-app--wa .ico { color: #25a95a; }
.vz-app:hover { background: var(--sand); }
.vz-sharepop__row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); text-align: left; font-size: 14px; font-weight: 700; transition: border-color .2s, background-color .2s; }
.vz-sharepop__row:hover { border-color: var(--sand-2); background: var(--bg); }
.vz-sharepop__row .ico { flex: none; color: var(--ink-2); }
.vz-sharepop__row small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.vz-sharepop__row--accent { border-color: var(--accent); background: var(--accent-soft); }
.vz-sharepop__row--accent .ico { color: var(--accent); }
.vz-sharepop__row--accent:hover { border-color: var(--accent); background: #f3ddd2; }
.vz-sharepop__form { display: grid; gap: 8px; }
.vz-sharepop__form[hidden] { display: none; }
.vz-sharepop__form .input { height: 44px; }
.vz-sharepop__form .input.is-bad { border-color: #b3261e; }
.vz-sharepop__form small { font-size: 12px; color: var(--muted); }

/* The "Your photo" mode */
.vz-scene--photo[hidden] { display: none; }
.vz-scene--photo { border-style: dashed; border-color: var(--accent); color: var(--accent); }
.vz-photo { display: none; position: absolute; inset: 0; z-index: 2; background: #efe9e1; }
.vz.is-photo .vz-photo { display: block; }
.vz.is-photo .vz-scaler, .vz.is-photo .vz-loading { display: none; }
.vz-labels, .vz-share { z-index: 5; }
.vz-expand { z-index: 5; }
.vz-photo canvas { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 100%; max-height: 100%; display: none; }
.vz-photo.has-photo canvas { display: block; }
.vz-photo__empty { position: absolute; inset: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; border: 2px dashed var(--sand-2); border-radius: var(--r); text-align: center; }
.vz-photo.has-photo .vz-photo__empty { display: none; }
.vz-photo__ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm); }
.vz-photo__ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vz-photo__empty b { font-size: 20px; font-weight: 800; }
.vz-photo__empty p { max-width: 46ch; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.vz-photo__empty small { font-size: 12.5px; color: var(--muted); }
.vz-photo__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.vz-photo__btns label { cursor: pointer; }
.vz-photo__tools { display: none; position: absolute; z-index: 4; left: 14px; top: 14px; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-sm); }
.vz-photo.has-photo .vz-photo__tools { display: flex; }
/* keep clear of the "Full screen" button on the right */
.vz-photo__tools { max-width: calc(100% - 84px); overflow-x: auto; scrollbar-width: none; }
/* in the photo mode "Full screen" is an icon only, so the toolbar has room */
.vz.is-photo .vz-expand { width: 42px; height: 42px; padding: 0; justify-content: center; }
.vz.is-photo .vz-expand span { display: none; }
.vz-photo__tools::-webkit-scrollbar { display: none; }
.vz-photo__tools button { flex: none; }
.vz-photo__tools button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 99px; font-size: 13px; font-weight: 700; color: var(--ink-2); transition: background-color .2s, color .2s; }
.vz-photo__tools button:hover { background: var(--bg); }
.vz-photo__tools button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.vz-photo__tools .vz-photo__minor { color: var(--muted); font-weight: 600; }
.vz-photo__tools .vz-photo__undo { color: var(--accent); }
.vz-photo__tools .vz-photo__undo:disabled { color: var(--muted); opacity: .45; cursor: default; background: none; }
.vz-photo__sep { flex: none; width: 1px; margin: 6px 2px; background: var(--line); }
.vz-photo__hint { display: none; position: absolute; z-index: 4; left: 50%; top: 68px; transform: translateX(-50%); padding: 6px 14px; border-radius: 99px; background: rgba(30, 26, 22, .78); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; pointer-events: none; }
.vz-photo.has-photo .vz-photo__hint:not(:empty) { display: block; }
.vz-photo__add { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: var(--shadow); }
.vz-photo__add[hidden], .vz-photo:not(.has-photo) .vz-photo__add { display: none; }
.ph-handles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ph-quad { position: absolute; overflow: visible; }
.ph-quad polygon { fill: rgba(176, 80, 47, .08); stroke: #fff; stroke-width: 2; stroke-dasharray: 6 5; }
.ph-pt { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); cursor: grab; pointer-events: auto; touch-action: none; transition: transform .15s; }
.ph-pt:hover, .ph-pt:active { transform: scale(1.18); }
.vz-photo[data-tool="erase"] canvas, .vz-photo[data-tool="restore"] canvas { cursor: none; touch-action: none; }
/* the brush ring: a double outline, visible on light and dark alike */
.ph-ring { position: absolute; z-index: 4; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(30, 26, 22, .7), inset 0 0 0 1px rgba(30, 26, 22, .7); }
.ph-ring[hidden] { display: none; }
.vz-photo[data-tool="erase"] .ph-ring { background: rgba(255, 255, 255, .18); }
.vz-photo[data-tool="restore"] .ph-ring { background: rgba(176, 80, 47, .22); border-color: #f3ddd2; }
.vz-photo__sizes { display: none; position: absolute; z-index: 4; left: 14px; top: 64px; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-sm); }
.vz-photo.has-photo[data-tool="erase"] .vz-photo__sizes, .vz-photo.has-photo[data-tool="restore"] .vz-photo__sizes { display: flex; }
.vz-photo__sizes button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; transition: background-color .2s; }
.vz-photo__sizes button:hover { background: var(--bg); }
.vz-photo__sizes i { border-radius: 50%; background: var(--ink-2); }
.vz-photo__sizes button[aria-pressed="true"] { background: var(--ink); }
.vz-photo__sizes button[aria-pressed="true"] i { background: #fff; }
@media (max-width: 900px) {
  .vz-photo__tools { left: 8px; right: 56px; top: 8px; max-width: none; }
  .vz-photo__tools button { flex: none; }
  .vz-photo__empty { inset: 10px; padding: 14px; }
  .vz-photo__empty p { font-size: 13px; }
  .vz-photo__hint { top: 54px; font-size: 12px; }
  .vz-photo__sizes { top: auto; bottom: 10px; left: 10px; }
}
/* the button in the product gallery */
.gallery__try { position: absolute; z-index: 2; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 99px; background: rgba(255, 255, 255, .95); font-size: 14px; font-weight: 800; color: var(--ink); box-shadow: var(--shadow-sm); transition: background-color .2s, color .2s; }
.gallery__try:hover { background: #fff; color: var(--accent); }
.gallery__try .ico { color: var(--accent); }

@container gt (max-width: 1180px) {
  .vz-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 20px; }
  .nav__aside .nav__vz { display: inline-flex; }
}
@container gt (max-width: 900px) {
  .vz-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 16px; }
  .vz-head h1 { font-size: 27px; }
  .vz-head p { font-size: 14.5px; }
  .vz-grid { grid-template-columns: 1fr; }
  .vz-view { top: calc(var(--hdr-h, 120px) + 4px); z-index: 5; margin-inline: -20px; padding: 8px 20px 10px; background: var(--bg); }
  .vz-scenes { overflow-x: auto; scrollbar-width: none; }
  .vz-scene { height: 38px; flex: none; font-size: 13.5px; }
  .vz-stage { border-radius: var(--r); }
  .vz-labels { display: none; }
  .vz-share { height: 34px; right: 10px; bottom: 10px; font-size: 12.5px; }
  .vz-disclaimer { display: none; }
  .vz-lays { grid-template-columns: repeat(5, 1fr); }
  .vz-lay { font-size: 10.5px; }
}

/* ==========================================================================
   OVERLAYS (outside .gt, hence media and not container queries)
   ========================================================================== */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(30, 26, 22, .45); opacity: 0; visibility: hidden; transition: .3s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; z-index: 100; top: 0; bottom: 0; right: 0; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
}
.drawer--left { right: auto; left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 20px; font-weight: 800; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total b { font-size: 24px; font-weight: 800; }
/* the sum and the discount are the steps to the total: small and quiet, the total alone is large */
.drawer__total--sub { font-size: 14px; color: var(--muted); }
.drawer__total--sub b { font-size: 15px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.drawer__total--disc b { color: var(--green); }
.drawer__total--final { margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.drawer__total--final span { font-size: 15px; font-weight: 800; color: var(--ink); }
.drawer__total--sub + .drawer__total--sub { margin-top: -4px; }
.mini { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); animation: rise .35s var(--ease) both; }
.mini img { width: 72px; height: 72px; border-radius: var(--r-sm); object-fit: cover; background: var(--bg); }
.mini b { display: block; font-size: 14.5px; line-height: 1.3; }
.mini small { color: var(--muted); font-size: 13px; }
.mini .stepper { height: 36px; margin-top: 8px; width: max-content; }
.mini .stepper button { width: 34px; }
.mini .stepper input { width: 40px; font-size: 16px; }
.mini__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.mini__right b { white-space: nowrap; }
.mini__del { color: var(--muted); font-size: 13px; text-decoration: underline; }
.mini__del:hover { color: var(--accent); }
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 60px 10px; text-align: center; color: var(--muted); }
.cart-empty b { color: var(--ink); font-size: 18px; }
.freeship { padding: 12px 0 4px; font-size: 13.5px; color: var(--ink-2); }
.freeship .progress { margin-top: 8px; height: 6px; }
.freeship .progress i { background: var(--green); }

.mmenu__nav a { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 16px; }
.mmenu__nav img { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: cover; }
.mmenu__nav .ico { margin-left: auto; color: var(--muted); }
.mmenu__links { display: grid; gap: 4px; padding: 18px 0; }
.mmenu__links a { padding: 8px 0; color: var(--ink-2); }


.fly { position: fixed; z-index: 130; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; pointer-events: none; box-shadow: var(--shadow); transition: transform .7s cubic-bezier(.5, -0.3, .7, 1), opacity .7s; }

/* Notices: a stack bottom right; on a phone full width above the bottom bars */
.tsts { position: fixed; z-index: 140; right: 24px; bottom: 24px; transition: right .4s var(--ease); display: flex; flex-direction: column; gap: 10px; width: 384px; max-width: calc(100vw - 24px); pointer-events: none; }
.tst {
  --tc: var(--ink-2);
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 14px;
  padding: 14px 12px 16px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; pointer-events: auto;
  box-shadow: 0 28px 56px -24px rgba(30, 26, 22, .38), 0 2px 8px rgba(30, 26, 22, .06);
  animation: tstIn .42s var(--ease) both;
}
.tst--ok { --tc: var(--green); }
.tst--del { --tc: var(--ink); }
.tst--wish { --tc: var(--accent); }
.tst--warn { --tc: #a5670c; }
.tst.is-leaving { animation: tstOut .26s ease forwards; }
@keyframes tstIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes tstOut { to { opacity: 0; transform: translateX(28px); } }
.tst svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tst__media { position: relative; width: 54px; height: 54px; }
.tst__media img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; background: var(--bg); }
.tst__badge { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--tc); color: #fff; box-shadow: 0 0 0 2.5px var(--surface); }
.tst--wish .tst__badge svg { fill: currentColor; stroke-width: 1.6; }
.tst__ico { display: grid; place-items: center; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: color-mix(in srgb, var(--tc) 12%, transparent); color: var(--tc); }
.tst__body { min-width: 0; padding-top: 2px; }
.tst__body b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.3; }
.tst__body span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.tst__body em { display: block; margin-top: 4px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.tst__act { display: inline-flex; align-items: center; height: 28px; margin-top: 8px; padding: 0 11px; border-radius: 7px; border: 1px solid var(--line); background: var(--bg); font-size: 12.5px; font-weight: 700; color: var(--ink); transition: background-color .2s, border-color .2s; }
.tst__act:hover { border-color: var(--line-2); background: var(--sand); }
.tst__x { display: grid; place-items: center; width: 28px; height: 28px; margin: -4px -2px 0 0; padding: 7px; border-radius: 50%; color: var(--muted); transition: background-color .2s, color .2s; }
.tst__x:hover { background: var(--bg); color: var(--ink); }
.tst__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--tc); opacity: .55; transform-origin: left; animation: tstBar var(--tst-dur, 2.2s) linear forwards; }
/* the bar is the timer, not decoration: its duration stays even with reduced motion */
@media (prefers-reduced-motion: reduce) { .tst .tst__bar { animation-duration: var(--tst-dur, 2.2s) !important; } }
.tst:hover .tst__bar, .tst:focus-within .tst__bar { animation-play-state: paused; }
@keyframes tstBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
/* with the right drawer (cart) open the stack moves beside it, so "Checkout" stays visible */
body:has(.drawer:not(.drawer--left).is-open) .tsts { right: calc(min(440px, 100%) + 20px); }
@media (max-width: 900px) {
  .tsts, body:has(.drawer.is-open) .tsts { left: 12px; right: 12px; bottom: 84px; width: auto; max-width: none; }
  /* on a phone the drawer is full screen, so notices go to the top over it */
  body:has(.drawer.is-open) .tsts { top: 12px; bottom: auto !important; }
  .tst { padding: 12px 10px 14px 12px; gap: 12px; }
  .tst__media { width: 48px; height: 48px; }
}

/* ==========================================================================
   RESPONSIVE (container queries on .gt)
   ========================================================================== */
@container gt (max-width: 1180px) {
  .hcontact { display: none; }
  .store { margin-left: auto; }
  .nav__aside { display: none; }
  .hero__title { font-size: 48px; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .carousel__track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__brand, .footer__contact { grid-column: span 3; }
  .catalog { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp { gap: 32px; }
  .bundle { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "viz"; gap: 28px; }
  .calc__intro { flex-direction: column; align-items: flex-start; }
  .mega__in { grid-template-columns: 240px 1fr; }
  .mega__promo { display: none; }
}

@container gt (max-width: 900px) {
  .store { position: static; margin-left: auto; }
  .store__btn { padding: 0; }
  .store__txt, .store__chev { display: none; }
  .store__pop { position: absolute; top: 100%; left: 16px; right: 16px; width: auto; transform: translateY(-6px); }
  .store.is-open .store__pop { transform: none; }
  :root { --gutter: 20px; }
  .wrap { padding-inline: 20px; }
  .topbar { display: none; }
  .nav { display: none; }
  .header__burger { display: inline-grid; }
  .header__in { flex-wrap: wrap; height: auto; gap: 8px 12px; padding-block: 10px 12px; }
  .logo { margin-right: auto; font-size: 15px; letter-spacing: .18em; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .header__actions .icon-btn--wish { display: none; }
  .hcart { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .hcart__ico { background: none; }
  .hcart__txt { display: none; }

  .hero { padding-top: 12px; }
  .hero__card { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { position: relative; inset: auto; height: 260px; order: 2; }
  .hero__media::before { background: linear-gradient(180deg, #ece3d6 0%, rgba(236, 227, 214, 0) 35%); }
  .hero__body { padding: 28px 22px 72px; }
  .hero__nav { left: 22px; bottom: 22px; gap: 12px; }
  .hero__count { display: none; }
  .hero__dot { width: 26px; }
  .hero__title { font-size: 36px; }
  .hero__sub { font-size: 17px; margin-top: 10px; }
  .hero__cta { gap: 16px; margin-top: 22px; flex-direction: column; align-items: stretch; text-align: center; }
  .hero__cta .link-arrow { align-self: center; }
  .hero__float { display: none; }

  .section { padding-block: 36px; }
  .section--tight { padding-block: 20px; }
  .h-section { font-size: 23px; }
  .section__head { margin-bottom: 16px; flex-wrap: wrap; }
  .section__head .tabs { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .carousel__nav { display: none; }

  .perks { grid-template-columns: 1fr; border-radius: var(--r); }
  .perk { padding: 14px 16px; }
  .perk + .perk { border-left: 0; border-top: 1px solid var(--line); }
  .perk__ico { width: 44px; height: 44px; }

  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat { aspect-ratio: 1 / .78; }
  .cat__body { left: 12px; right: 12px; bottom: 10px; }
  .cat__body b { font-size: 15px; }
  .cat__body small { display: none; }
  .cat__arrow { width: 28px; height: 28px; }
  .cat__arrow .ico { width: 14px; height: 14px; }

  .carousel__track { grid-auto-columns: calc((100% - 10px) / 2.15); gap: 10px; }
  .card { padding: 10px; }
  .card__top { top: 18px; left: 18px; right: 18px; }
  .stock { font-size: 11px; padding: 3px 7px; }
  .wish { width: 32px; height: 32px; }
  .card__title { font-size: 13.5px; }
  .card__meta { font-size: 12.5px; }
  .price b { font-size: 16px; }
  .price small { font-size: 12px; }
  .btn-cart { width: 38px; height: 38px; }
  .card__media { margin-bottom: 10px; }

  .calc { gap: 22px; padding: 26px 20px; }
  .calc__room { min-height: 160px; padding: 14px; }
  .calc__intro h2 { font-size: 26px; }
  .calc__form { grid-template-columns: 1fr 1fr; gap: 12px; }
  .calc__result b { font-size: 21px; }
  .calc__actions { grid-template-columns: 1fr; }
  .calc__pack { grid-template-columns: auto 1fr; }
  .calc__pack-sum { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; text-align: left; padding-top: 10px; border-top: 1px solid var(--line); }

  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { padding: 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; }
  .step__n { margin: 0; grid-row: span 2; }

  .consult { grid-template-columns: 1fr; padding: 26px 20px; gap: 22px; }
  .consult h2 { font-size: 25px; }
  .consult__deco { width: 160px; height: 160px; right: -50px; top: -50px; }

  .footer { margin-top: 36px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 36px 24px; }
  .footer__brand, .footer__contact { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }

  .tabbar {
    position: sticky; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
  .tabbar .is-current { color: var(--accent); }
  .tabbar .badge { top: 6px; right: calc(50% - 22px); }

  /* category */
  .cat-head h1 { font-size: 28px; }
  .cat-head p { display: none; }
  .subcats { margin-bottom: 18px; margin-inline: -20px; padding-inline: 20px; }
  .catalog { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters-btn { display: inline-flex; }
  .toolbar { flex-wrap: wrap; }
  .toolbar__count { order: 5; width: 100%; }
  .toolbar__right { margin-left: auto; }
  .view-toggle { display: none; }
  .grid-products { gap: 10px; }
  .grid-products.is-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* on a phone the list view shows plain cards: three columns do not fit */
  .grid-products.is-list .card { display: flex; flex-direction: column; }
  .grid-products.is-list .card__media { margin-bottom: 14px; }
  .grid-products.is-list .card__top { right: 18px; width: auto; }
  .grid-products.is-list .card__title, .grid-products.is-list .card__meta { font-size: inherit; }
  .grid-products.is-list .card__specs, .grid-products.is-list .card__pack, .grid-products.is-list .btn-cart__txt { display: none; }
  .grid-products.is-list .card__foot { flex-direction: row; align-items: flex-end; justify-content: space-between; height: auto; margin-top: auto; padding: 14px 0 0; border-left: 0; }
  .grid-products.is-list .price b { font-size: inherit; }
  .grid-products.is-list .btn-cart { width: 38px; height: 38px; margin-top: 0; }
  .promo-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
  .promo-row .btn { margin-left: 0; }
  .seo { padding: 20px; margin-top: 32px; }

  /* product */
  .crumbs { padding-block: 12px; font-size: 12.5px; }
  .pdp { grid-template-columns: 1fr; gap: 20px; }
  .gallery { position: relative; top: 0; }
  .gallery__stage { margin-inline: -20px; border-radius: 0; aspect-ratio: 1 / .85; }
  .gallery__slide { cursor: default; }
  .gallery__zoom { display: none; }
  .gallery__hint, .lens { display: none; }
  .gallery__thumbs { display: none; }
  .gallery__dots { position: absolute; z-index: 2; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
  .gallery__dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .6); transition: width .3s var(--ease), background-color .3s; }
  .gallery__dots i.is-active { width: 22px; background: #fff; }
  .pinfo h1 { font-size: 25px; }
  .pinfo__sub { font-size: 15px; }
  .pprice { gap: 16px; }
  .pprice__main b { font-size: 30px; }
  .pprice__main b small { font-size: 16px; }
  .pprice__pack { padding-left: 16px; }
  .pcalc { padding: 16px; }
  .pcalc__row { grid-template-columns: 1fr; gap: 8px; }
  .pcalc__sum { padding: 14px; }
  .pcalc__sum b { font-size: 16px; }
  .pcalc__sum div:last-child b { font-size: 21px; }
  .pperks { padding: 18px 2px; }
  .pperk { padding-inline: 8px; }
  .pperk__ico { width: 40px; height: 40px; margin-bottom: 10px; }
  .pperk b { font-size: 13.5px; }
  .pperk small { font-size: 12px; }
  .specs { grid-template-columns: 1fr; }
  .pnav { margin-top: 32px; }
  .pnav__link { padding: 13px 11px; font-size: 14px; }
  .pnav__link::after { left: 11px; right: 11px; }
  .psec { grid-template-columns: 1fr; gap: 14px; padding-block: 28px; scroll-margin-top: calc(var(--hdr-h, 0px) + 50px); }
  .psec__title { font-size: 19px; }
  .bundle__list { grid-template-columns: 1fr; }
  .bitem { flex-direction: row; align-items: center; }
  .bitem img { width: 84px; flex: none; }
  .bitem .check { position: static; order: 3; margin-left: auto; }
  .buybar {
    position: sticky; bottom: 60px; z-index: 44; display: flex; align-items: center; gap: 12px; padding: 10px 20px;
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(30, 26, 22, .4);
  }
  .buybar b { display: block; font-size: 18px; font-weight: 800; line-height: 1.1; }
  .buybar small { color: var(--muted); font-size: 12px; }
  .buybar .btn { margin-left: auto; }
}


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

@media (prefers-reduced-motion: reduce) { .hero__slide img { transform: none !important; } }


/* ==========================================================================
   SHOWROOM BOOKING
   The same step cards as the checkout; the visit "ticket" on the right.
   ========================================================================== */
.tabbar { grid-template-columns: repeat(5, 1fr); }
.field__label small { font-weight: 600; color: var(--muted); }
.sr-sum, .pj-aside { top: calc(var(--hdr-h, var(--header-h)) + 16px); }
.sr-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: stretch; margin-bottom: 28px; padding: 32px; border-radius: var(--r-lg); background: var(--sand); }
.sr-hero__txt { align-self: center; }
.sr-hero h1 { font-size: 36px; line-height: 1.12; font-weight: 800; letter-spacing: -.015em; }
.sr-hero__txt > p { margin-top: 12px; max-width: 58ch; font-size: 16px; color: var(--ink-2); }
.sr-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.sr-perks li { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: var(--r); background: rgba(255, 255, 255, .72); font-size: 13px; line-height: 1.35; color: var(--muted); }
.sr-perks .ico { flex: none; color: var(--accent); }
.sr-perks b { display: block; margin-bottom: 2px; font-size: 14px; color: var(--ink); }
.sr-hero__img { position: relative; min-height: 300px; margin: 0; border-radius: var(--r); overflow: hidden; }
.sr-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sr-hero__img figcaption { position: absolute; left: 14px; bottom: 14px; padding: 10px 14px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-sm); line-height: 1.25; }
.sr-hero__img figcaption b { display: block; font-size: 15px; font-weight: 800; }
.sr-hero__img figcaption small { font-size: 12.5px; color: var(--muted); }
[data-sr-main][hidden] { display: none; }

.sr-store em { color: var(--ink-2); }
.sr-store em::before { background: var(--accent); }
.sr-store:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.sr-when { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 16px 20px; align-items: start; }
.sr-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.sr-slots label { position: relative; }
.sr-slots input { position: absolute; opacity: 0; pointer-events: none; }
.sr-slots span { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 52px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); font-size: 15px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.sr-slots small { font-size: 11px; font-weight: 600; color: var(--green); }
.sr-slots label:not(.is-off) span:hover { border-color: var(--sand-2); background: var(--bg); }
.sr-slots input:checked + span, .sr-slots label:not(.is-off) input:checked + span:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.sr-slots input:checked + span small { color: var(--accent); }
.sr-slots .is-off span { border-style: dashed; background: var(--bg); color: #b9b0a5; cursor: not-allowed; }
.sr-slots .is-off small { color: inherit; }
.sr-slots input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.co-field.is-invalid .sr-slots label:not(.is-off) span { border-color: #e2aaa4; }

.sr-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-topics label { position: relative; }
.sr-topics input { position: absolute; opacity: 0; pointer-events: none; }
.sr-topics span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.sr-topics span:hover { border-color: var(--sand-2); background: var(--bg); }
.sr-topics input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.sr-topics input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.sr-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.sr-quick > span { margin-right: 2px; }
.sr-chip { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px 0 9px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); font-size: 13px; font-weight: 700; color: var(--ink-2); transition: background-color .2s; }
.sr-chip:hover { background: var(--sand); }
.sr-chip[hidden], .sr-fromwish[hidden] { display: none; }
.sr-fromwish { display: inline-flex; align-items: center; gap: 8px; justify-self: start; width: max-content; height: 38px; padding: 0 14px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-size: 13.5px; font-weight: 800; transition: background-color .2s; }
.sr-fromwish:hover { background: #f3ddd2; }
.sr-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.sr-pick { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); }
.sr-pick.is-new { animation: rise .35s var(--ease) both; }
.sr-pick img { flex: none; width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: var(--bg); }
.sr-pick > span { flex: 1; min-width: 0; line-height: 1.25; }
.sr-pick b, .sr-pick small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sr-pick b { font-size: 13.5px; }
.sr-pick small { font-size: 12px; color: var(--muted); }
.sr-pick button { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 6px; color: var(--muted); }
.sr-pick button:hover { background: var(--bg); color: var(--ink); }
.sr-picks__empty { grid-column: 1 / -1; padding: 14px; border-radius: var(--r-sm); border: 1.5px dashed var(--line-2); font-size: 13.5px; text-align: center; color: var(--muted); }

.sr-sum .co-sum__head span { color: var(--green); font-weight: 700; }
.sr-ticket { display: grid; padding: 4px 16px; border-radius: var(--r-sm); background: var(--bg); }
.sr-tk { display: flex; gap: 12px; padding: 12px 0; }
.sr-tk + .sr-tk { border-top: 1px dashed var(--line-2); }
.sr-tk__ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); color: var(--accent); }
.sr-tk > span:last-child { min-width: 0; }
.sr-tk small { display: block; font-size: 12px; color: var(--muted); }
.sr-tk b { display: block; font-size: 15px; font-weight: 800; line-height: 1.3; }
.sr-tk em { display: block; font-style: normal; font-size: 13px; color: var(--ink-2); }
.sr-tk em.is-warn { color: var(--amber); font-weight: 700; }
.sr-tk__thumbs { display: flex; margin-top: 6px; }
.sr-tk__thumbs img, .sr-tk__thumbs i { width: 30px; height: 30px; margin-right: -8px; border-radius: 50%; border: 2px solid var(--bg); object-fit: cover; }
.sr-tk__thumbs i { display: grid; place-items: center; background: var(--sand-2); font-style: normal; font-size: 11px; font-weight: 800; }
.sr-cons { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.sr-cons__ava { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 800; }
.sr-cons b { display: block; font-size: 14.5px; }
.sr-cons small { display: block; font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.sr-link { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.sr-done .co-done__sum dd { max-width: 65%; }

@container gt (max-width: 1180px) {
  .sr-hero { grid-template-columns: 1fr; }
  .sr-hero__img { min-height: 240px; }
  .sr-when { grid-template-columns: 1fr; }
}
@container gt (max-width: 900px) {
  .sr-hero { gap: 18px; padding: 16px; }
  .sr-hero__img { order: -1; min-height: 190px; }
  .sr-hero h1 { font-size: 26px; }
  .sr-hero__txt > p { font-size: 15px; }
  .sr-perks { grid-template-columns: 1fr; margin-top: 16px; }
  .sr-perks li { padding: 10px 12px; }
  .sr-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sr-picks { grid-template-columns: 1fr; }
  .sr-fromwish { width: 100%; justify-content: center; }
}

/* ==========================================================================
   MY PROJECT
   ========================================================================== */
.pj { padding-bottom: 56px; }
.pj-shared { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 14px 16px; border-radius: var(--r); border: 1px solid #efd3c6; background: var(--accent-soft); animation: rise .35s var(--ease) both; }
.pj-shared[hidden] { display: none; }
.pj-shared__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); color: var(--accent); }
.pj-shared > span:nth-child(2) { flex: 1; min-width: 0; }
.pj-shared b { display: block; font-size: 15px; }
.pj-shared small { display: block; font-size: 13px; color: var(--ink-2); }
.pj-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; margin-bottom: 18px; }
.pj-head h1 { display: flex; align-items: center; gap: 6px; font-size: 38px; line-height: 1.1; font-weight: 800; letter-spacing: -.015em; }
.pj-name { margin-left: -6px; padding: 0 6px; border-radius: 8px; outline: 0; transition: background-color .2s, box-shadow .2s; }
.pj-name[contenteditable="true"]:hover { background: var(--sand); }
.pj-name:focus { background: var(--surface); box-shadow: 0 0 0 2px var(--accent); }
.pj-rename { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); transition: background-color .2s, color .2s; }
.pj-rename:hover { background: var(--sand); color: var(--ink); }
.is-shared .pj-rename { display: none; }
.pj-head p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
.pj-head__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.pj-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pj-filters[hidden], .pj-filter[hidden] { display: none; }
.pj-filter { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 700; color: var(--ink-2); transition: border-color .2s, background-color .2s, color .2s; }
.pj-filter:hover { border-color: var(--sand-2); background: var(--bg); }
.pj-filter i { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; background: var(--bg); font-style: normal; font-size: 12px; font-weight: 800; }
.pj-filter[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.pj-filter[aria-pressed="true"] i { background: var(--surface); }

.pj-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.pj-grid[hidden], .pj-sec[hidden], .pj-empty[hidden] { display: none; }
.pj-main { display: grid; gap: 34px; min-width: 0; }
.pj-sec__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 14px; }
.pj-sec__head h2 { font-size: 22px; font-weight: 800; }
.pj-sec__head small { font-size: 13.5px; color: var(--muted); }
.pj-aside { position: sticky; }

/* rooms */
.pj-rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pj-room { display: flex; flex-direction: column; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); overflow: hidden; animation: rise .35s var(--ease) both; }
.pj-room__view { position: relative; display: block; aspect-ratio: 16 / 9; background: #e8e1d6; overflow: hidden; }
.pj-room__open { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-sm); font-size: 12.5px; font-weight: 800; opacity: 0; transform: translateY(4px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.pj-room__view:hover .pj-room__open, .pj-room__view:focus-visible .pj-room__open { opacity: 1; transform: none; }
@media (hover: none) { .pj-room__open { opacity: 1; transform: none; } }
.pj-room__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; }
.pj-room__body > b { font-size: 16px; font-weight: 800; }
.pj-room__lines { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.pj-room__lines li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; line-height: 1.25; }
.pj-room__lines img { flex: none; width: 30px; height: 30px; border-radius: 6px; object-fit: cover; }
.pj-room__lines small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.pj-room__foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.pj-room__foot > span { flex: 1; min-width: 0; }
.pj-room__foot small { display: block; font-size: 12px; color: var(--muted); }
.pj-room__foot strong { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pj-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 260px; padding: 20px; border-radius: var(--r); border: 1.5px dashed var(--line-2); text-align: center; transition: border-color .2s, background-color .2s; }
.pj-add:hover { border-color: var(--accent); background: var(--surface); }
.pj-add__ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 4px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.pj-add b { font-size: 15px; }
.pj-add small { max-width: 28ch; font-size: 13px; color: var(--muted); }

/* room thumbnail: an unfolded box with the vanishing point in the middle of the back wall */
.pr { position: absolute; inset: 0; background: #ebe5dc; }
.pr i { position: absolute; inset: 0; background-color: #ebe5dc; background-size: 56px; }
.pr__b { clip-path: polygon(25% 10%, 75% 10%, 75% 64%, 25% 64%); background-image: var(--b); background-size: 44px; }
.pr__l { clip-path: polygon(0 0, 25% 10%, 25% 64%, 0 100%); background-image: var(--w); filter: brightness(.84); }
.pr__r { clip-path: polygon(100% 0, 75% 10%, 75% 64%, 100% 100%); background-image: var(--w); filter: brightness(.92); }
.pr__f { clip-path: polygon(25% 64%, 75% 64%, 100% 100%, 0 100%); background-image: var(--f); background-size: 72px; filter: brightness(.97); }
.pr__band { clip-path: polygon(25% 30%, 75% 30%, 75% 45%, 25% 45%); background-image: var(--band); background-size: 28px; }
.pr::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 20%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(transparent 70%, rgba(30, 26, 22, .12)); pointer-events: none; }

/* mood board */
.pj-mood__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; gap: 6px; height: 320px; border-radius: var(--r); overflow: hidden; }
.pj-mood__cell { position: relative; margin: 0; overflow: hidden; background: var(--sand); }
.pj-mood__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pj-mood__cell:hover img { transform: scale(1.04); }
.pj-mood__cell figcaption { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .94); font-size: 12.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pj-mood__cell:first-child { grid-column: span 2; grid-row: span 2; }
.pj-mood__grid--2 .pj-mood__cell { grid-column: span 2; grid-row: span 2; }
.pj-mood__grid--3 .pj-mood__cell:not(:first-child) { grid-column: span 2; }
.pj-mood__grid--4 .pj-mood__cell:nth-child(2) { grid-row: span 2; }

/* product cards */
.pj-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pj-item { display: flex; flex-direction: column; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); overflow: hidden; animation: rise .35s var(--ease) both; }
.pj-item__img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; }
.pj-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pj-item__img:hover img { transform: scale(1.04); }
.pj-item__pack { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .94); font-size: 12px; font-weight: 800; }
.pj-item__body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 14px; }
.pj-item__name { font-size: 15px; font-weight: 800; line-height: 1.3; transition: color .2s; }
.pj-item__name:hover { color: var(--accent); }
.pj-item__body > small { font-size: 13px; color: var(--muted); }
.pj-item__price { margin-top: 2px; font-size: 16px; font-weight: 800; }
.pj-note { display: flex; align-items: center; gap: 8px; min-height: 38px; margin-top: 8px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid transparent; background: var(--bg); color: var(--muted); transition: border-color .2s, background-color .2s; }
.pj-note:focus-within { border-color: var(--line-2); background: var(--surface); }
.pj-note input { flex: 1; min-width: 0; height: 36px; border: 0; outline: 0; background: transparent; font-size: 13.5px; color: var(--ink); }
.pj-note--ro { align-items: flex-start; padding: 8px 10px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.pj-note--ro .ico { margin-top: 2px; color: var(--muted); }
.pj-item__acts { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; }
.pj-item__acts .pj-x { margin-left: auto; }
.pj-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); font-size: 13.5px; font-weight: 800; white-space: nowrap; transition: background-color .2s, color .2s; }
.pj-btn:hover { background: var(--accent); color: #fff; }
.pj-btn--ghost { background: var(--bg); color: var(--ink-2); }
.pj-btn--ghost:hover { background: var(--sand); color: var(--ink); }
.pj-x { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: var(--r-sm); color: var(--muted); transition: background-color .2s, color .2s; }
.pj-x:hover { background: #fbecea; color: #b3261e; }

/* summary */
.pj-sum__rows { display: grid; gap: 9px; margin: 0; }
.pj-sum__rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.pj-sum__rows dt { color: var(--ink-2); }
.pj-sum__rows dt small { margin-left: 4px; padding: 1px 7px; border-radius: 99px; background: var(--bg); font-size: 12px; font-weight: 700; color: var(--muted); }
.pj-sum__rows dd { margin: 0; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pj-sum__hint dd { font-weight: 600; color: var(--muted); }
.pj-sum__total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.pj-sum__total span { font-size: 15px; font-weight: 700; }
.pj-sum__total b { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pj-consult { display: grid; gap: 8px; animation: rise .3s var(--ease) both; }
.pj-consult[hidden], .pj-visit[hidden] { display: none; }
.pj-consult .input.is-bad { border-color: #b3261e; }
.pj-consult small { font-size: 12px; color: var(--muted); }
.pj-visit { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r-sm); background: var(--green-soft); color: var(--green); font-size: 13px; }
.pj-visit span { color: var(--ink-2); }
.pj-visit b { display: block; font-size: 14px; color: var(--ink); }

.pj-empty { max-width: 660px; margin: 24px auto 0; padding: 48px 32px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); text-align: center; animation: rise .4s var(--ease) both; }
.pj-empty__ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.pj-empty h2 { margin-top: 16px; font-size: 24px; font-weight: 800; }
.pj-empty p { max-width: 50ch; margin: 8px auto 0; color: var(--ink-2); }
.pj-empty__acts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* try-on: "Save to project" next to "Share" */
.vz-acts { position: absolute; z-index: 5; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.vz-acts .vz-share { position: static; }
.vz-save .ico { color: var(--accent); }
.vz-labels { max-width: calc(100% - 340px); }

@container gt (max-width: 1180px) {
  .pj-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; }
  .pj-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container gt (max-width: 900px) {
  .pj-head h1 { font-size: 28px; }
  .pj-head__acts { width: 100%; }
  .pj-head__acts .btn { flex: 1; }
  .pj-grid { grid-template-columns: 1fr; }
  .pj-aside { position: static; }
  .pj-main { gap: 28px; }
  .pj-rooms, .pj-items { grid-template-columns: 1fr; gap: 10px; }
  .pj-add { min-height: 140px; }
  .pj-item { flex-direction: row; }
  .pj-item__img { flex: none; width: 116px; aspect-ratio: auto; }
  .pj-item__pack { display: none; }
  .pj-item__body { padding: 12px; }
  .pj-item__acts { gap: 4px; }
  .pj-item__acts .pj-btn--ghost { width: 36px; padding: 0; justify-content: center; }
  .pj-item__acts .pj-btn--ghost span { display: none; }
  .pj-note input { font-size: 16px; }
  .pj-mood__grid { height: 230px; }
  .pj-shared { flex-wrap: wrap; }
  .pj-shared .btn { width: 100%; }
  .pj-empty { padding: 32px 18px; }
  .vz-acts { right: 10px; bottom: 10px; gap: 6px; }
  .vz-save { width: 34px; padding: 0; justify-content: center; }
  .vz-save span { display: none; }
}


/* ==========================================================================
   SHOP PARTS OF THE KIT IN THE GT LOOK
   The price request dialog (sd.js opens it), the honeypot of every form.
   ========================================================================== */
.rq-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
html.rq-lock { overflow: hidden; }
.rq { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(30, 26, 22, .42); opacity: 0; transition: opacity .3s ease; }
.rq[hidden] { display: none; }
.rq.is-in { opacity: 1; }
.rq-box { position: relative; width: min(440px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 26px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-lg); transform: translateY(16px) scale(.98); transition: transform .4s var(--ease); font-family: var(--font); color: var(--ink); }
.rq.is-in .rq-box { transform: none; }
.rq-close { position: absolute; top: 16px; right: 16px; }
.rq-head { display: flex; align-items: center; gap: 14px; padding-right: 44px; }
.rq-pic { display: grid; place-items: center; flex: none; width: 64px; height: 64px; padding: 4px; border-radius: var(--r-sm); background: var(--bg); }
.rq-pic[hidden] { display: none; }
.rq-pic img { max-width: 100%; max-height: 100%; border-radius: 6px; }
.rq-intro { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rq-intro b { font-size: 21px; font-weight: 800; line-height: 1.15; }
.rq-product { font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.rq-lead { margin: 14px 0 16px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.rq-form { display: grid; gap: 12px; }
.rq-form[hidden], .rq-done[hidden] { display: none; }
.rq-err { font-size: 12.5px; font-weight: 700; color: #b3261e; }
.rq-err:empty { display: none; }
.co-field.has-error .input { border-color: #b3261e; }
.rq-submit.is-busy { opacity: .65; pointer-events: none; }
.rq-done { display: grid; justify-items: center; gap: 8px; padding-top: 8px; text-align: center; }
.rq-done b { font-size: 21px; font-weight: 800; }
.rq-done p { max-width: 320px; color: var(--ink-2); }
.logo__img { display: block; max-height: 40px; width: auto; }
.input.is-bad, .field.is-invalid .input { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, .08); }
@media (max-width: 900px) {
  .rq { align-items: flex-end; padding: 0; }
  .rq-box { width: 100%; max-height: calc(100dvh - 48px); padding: 22px 18px calc(20px + env(safe-area-inset-bottom)); border-radius: var(--r-lg) var(--r-lg) 0 0; transform: translateY(101%); }
}

/* ---------- category of the shop: filter options are links the server renders ---------- */
a.check { color: inherit; text-decoration: none; }
a.check[aria-checked="true"] .check__box { background: var(--ink); border-color: var(--ink); }
a.check[aria-checked="true"] .check__box .ico { opacity: 1; transform: none; }
a.check.is-empty, .swatch.is-empty { opacity: .42; }
a.check[hidden] { display: none; }
.swatch.is-on span:first-child { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent); }
.filters__reset { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.catalog.is-loading .catalog__main { opacity: .5; transition: opacity .2s; pointer-events: none; }
.catalog__main { min-width: 0; }
.afilter small { font-weight: 600; color: var(--muted); }
.afilter--reset { background: none; border-color: transparent; color: var(--accent); }
.empty-state.is-on { display: flex; }
.pager { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.pager .is-loading { opacity: .6; pointer-events: none; }
.price__ask { font-size: 15px; font-weight: 800; color: var(--ink-2); }
.cat-lands { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; font-size: 14px; font-weight: 700; }
.cat-lands > span { margin-right: 6px; color: var(--muted); }
.cat-text { margin-top: 40px; color: var(--ink-2); line-height: 1.65; }
.cat-text.is-intro { margin: 0 0 22px; }
.cat-text h2, .cat-text h3 { margin: 22px 0 8px; color: var(--ink); }
.cat-text p { margin: 0 0 12px; }
.cat-text ul, .cat-text ol { margin: 0 0 14px; padding-left: 22px; }
.cat-text ul { list-style: disc; }
.cat-text ol { list-style: decimal; }
.cat-text li + li { margin-top: 4px; }
.mega__note { color: var(--muted); }
/* the drawer of a phone lives inside .gt here, so the filter it receives must not stay hidden */
.drawer .filters { display: block; position: static; max-height: none; overflow: visible; }

/* ---------- product of the shop: article, delivery section, out-of-stock ---------- */
.pr-sku { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 4px 10px; border-radius: 99px; background: var(--sand); font-size: 12.5px; color: var(--ink-2); transition: background-color .2s; }
.pr-sku:hover { background: var(--sand-2); }
.pr-sku-cap { color: var(--muted); }
.pr-sku-val { font-weight: 800; letter-spacing: .02em; }
.pr-sku.is-copied { background: var(--green-soft); color: var(--green); }
.pinfo__stock.is-order i { background: var(--amber); box-shadow: 0 0 0 4px rgba(165, 103, 12, .14); }
.pr-ship-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 16px; }
.pr-ship-card { padding: 16px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.pr-ship-card img { width: 40px; height: 40px; margin-bottom: 8px; }
.pr-ship-card b { display: block; margin-bottom: 4px; }
.pr-ship-card p { margin: 0; font-size: 14px; color: var(--ink-2); }
.pr-ship-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.pr-ship-pay-cap { margin-right: 4px; font-weight: 700; color: var(--muted); }
.pcalc .stepper { height: 46px; }
/* in the calculator the stepper fills its cell like the area field: the buttons at the ends, the count between */
.pcalc .stepper { width: 100%; justify-content: space-between; }
.pcalc .stepper button { width: 52px; flex: none; }
.pcalc .stepper input { flex: 1; min-width: 0; width: auto; }

/* ---------- checkout of the shop: the Nova Poshta drop of sd.js, errors, the summary ---------- */
.co-pick-box { position: relative; }
.co-drop { position: absolute; z-index: 45; top: calc(100% + 6px); left: 0; right: 0; max-height: 300px; overflow-y: auto; padding: 6px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.co-drop[hidden] { display: none; }
.co-drop-item { display: block; width: 100%; padding: 9px 10px; border-radius: var(--r-xs); text-align: left; font-size: 14.5px; font-weight: 700; }
.co-drop-item:hover, .co-drop-item.is-active { background: var(--sand); }
.co-drop-item span { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
[data-delivery-fields][hidden] { display: none; }
.co-field.has-error .input, .co-field.has-error .cbx__box { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, .08); }
.co-card.has-error { border-color: #e2aaa4; }
.co-submit.is-busy { opacity: .65; pointer-events: none; }
[data-summary].is-loading { opacity: .55; transition: opacity .2s; }
.co-item__noimg { grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 8px; background: var(--bg); }
.co-totals > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.co-totals dt { color: var(--muted); }
.co-totals dd { margin: 0; font-weight: 700; }
.co-totals .is-final { padding-top: 12px; border-top: 1px solid var(--line); font-size: 17px; }
.co-totals .is-final dt { color: var(--ink); font-weight: 800; }
.co-totals .is-final dd { font-weight: 800; }
.co-sum__card > [data-summary] { display: grid; gap: 16px; }
.co-field.has-error .co-err, .co-card.has-error > .co-step__body > .co-err { display: block; }
.co-opt[hidden], .co-store[hidden] { display: none; }
.co-done__sum .is-final { padding-top: 8px; border-top: 1px solid var(--line); font-weight: 800; }
.co-done__sum + .co-done__sum { padding-top: 14px; border-top: 1px dashed var(--line-2); }
@media print { .header, .topbar, .footer, .tabbar, .co-done__actions { display: none !important; } }

/* ---------- search results: the catalogue layout with the query on top ---------- */
.srch-form { position: relative; display: flex; gap: 10px; max-width: 640px; margin: 0 0 24px; }
.srch-form > .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.srch-form .input { flex: 1; min-width: 0; padding-left: 46px; }
.srch-form .input::-webkit-search-cancel-button { -webkit-appearance: none; }
.srch-handoff { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; padding: 14px 18px; border-radius: var(--r); border: 1px solid #efd3c6; background: var(--accent-soft); color: var(--ink); }
.srch-handoff b { font-weight: 800; }
.srch-handoff .ico { color: var(--accent); flex: none; }
.filters__help { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: var(--r); background: var(--sand); color: var(--muted); font-size: 13px; }
.filters__help b { display: block; color: var(--ink); font-size: 14px; }
.filters__help .ico { color: var(--accent); flex: none; }
.empty-state__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.srch-popular h2 { margin: 8px 0 16px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.srch-popular .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .srch-popular .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .srch-popular .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .srch-form .btn { padding: 0 16px; }
}

/* ==========================================================================
   INFORMATION PAGES, BRANDS, CONTACTS, 404
   Kit pages in the language of the design: crumbs, a big heading, cards on the sand background.
   ========================================================================== */
.infopage { padding-bottom: 64px; }
.info-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin: 8px 0 24px; }
.info-head h1, .brand-head h1, .nf-hero h1 { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.info-head p { max-width: 560px; color: var(--muted); font-size: 16px; }
.info-card { max-width: none; padding: 32px 36px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.info-card > :first-child { margin-top: 0; }
.prose h2 { color: var(--ink); font-size: 24px; font-weight: 800; margin: 28px 0 10px; }
.prose ol { padding-left: 22px; list-style: decimal; margin-top: 12px; }
.prose a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.info-cover { display: block; width: 100%; margin-bottom: 24px; }
.info-stats { display: flex; gap: 28px; }
.info-stats li { display: flex; flex-direction: column; }
.info-stats b { font-size: 28px; font-weight: 800; line-height: 1.1; }
.info-stats span { color: var(--muted); font-size: 13px; }
.chip small { margin-left: 4px; color: var(--muted); font-weight: 700; }
.chip.is-plain { background: transparent; }

/* brands */
.brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.brand-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.brand-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.brand-card__logo { display: grid; place-items: center; height: 120px; border-radius: var(--r); background: var(--sand); overflow: hidden; }
.brand-card__logo img { max-width: 70%; max-height: 80px; object-fit: contain; mix-blend-mode: multiply; }
.brand-card__logo.is-plain span { font-size: 22px; font-weight: 800; letter-spacing: .04em; color: var(--ink-2); }
.brand-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.brand-card__name { font-size: 18px; font-weight: 800; }
.brand-card__n { color: var(--muted); font-size: 13px; white-space: nowrap; }
.brand-card__text { color: var(--ink-2); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.brand-card__cats, .brand-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.brand-card__pdf { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.brand-head { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 8px 0 20px; padding: 28px 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.brand-head__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 720px; }
.brand-head__txt p { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.brand-head__logo { flex: none; display: grid; place-items: center; width: 260px; height: 160px; border-radius: var(--r); background: var(--sand); }
.brand-head__logo img { max-width: 80%; max-height: 110px; object-fit: contain; mix-blend-mode: multiply; }
.brand-cats { margin-bottom: 28px; }
.brand-products { margin-bottom: 32px; }
.brand-products .grid-products, .nf-guess .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section__count { color: var(--muted); font-size: 14px; }

/* contacts */
.cn-channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 32px; }
.cn-card { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s; }
a.cn-card:hover { border-color: var(--ink); }
.cn-card__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.cn-card small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.cn-card b { display: block; font-size: 16px; font-weight: 800; margin: 2px 0; white-space: nowrap; }
.cn-card b.is-mail { white-space: normal; word-break: break-all; }
.cn-card > span:last-child { min-width: 0; }
.cn-card em { display: block; font-style: normal; color: var(--muted); font-size: 13px; }
.cn-apps { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.cn-stores { margin-bottom: 36px; }
.cn-stores__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.cn-store { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.cn-store__top { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cn-store__top b { font-size: 17px; font-weight: 800; }
.cn-store__tags { display: flex; gap: 6px; }
.cn-store__tags .tag { background: var(--sand); color: var(--ink-2); }
.cn-store p { display: flex; align-items: flex-start; gap: 8px; color: var(--ink-2); font-size: 14px; }
.cn-store p .ico { flex: none; margin-top: 2px; color: var(--muted); }
.cn-store__note { color: var(--muted) !important; }
.cn-store__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.cn-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.cn-main.is-single { grid-template-columns: minmax(0, 760px); }
.cn-map { min-height: 380px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.cn-map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.cn-form-card { padding: 28px 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.cn-form-card h2 { font-size: 24px; font-weight: 800; }
.cn-form-note { margin: 6px 0 18px; color: var(--muted); }
.cn-form { display: flex; flex-direction: column; gap: 14px; }
.cn-form .co-field.has-error .co-err { display: block; }
.cn-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cn-send small { flex: 1; min-width: 200px; color: var(--muted); font-size: 12.5px; }
.cn-done { display: flex; gap: 12px; margin-bottom: 18px; padding: 14px 16px; border-radius: var(--r); background: var(--green-soft); color: var(--green); }
.cn-done__ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; }
.cn-done p { color: var(--ink-2); font-size: 14px; }
.cn-note { margin-top: 16px; color: var(--muted); }

/* 404 */
.nf-hero { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 48px 20px 36px; text-align: center; }
.nf-code { font-size: 120px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px var(--accent); }
.nf-hero p { max-width: 560px; color: var(--muted); font-size: 16px; }
.nf-hero .srch-form { width: 100%; margin: 8px 0 4px; }
.nf-ways { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.nf-ways > span { color: var(--muted); font-size: 14px; font-weight: 700; margin-right: 4px; }
.nf-guess { margin: 16px 0 32px; }
.nf-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px 28px; border-radius: var(--r-lg); background: var(--sand); }
.nf-help b { display: block; font-size: 18px; font-weight: 800; }
.nf-help span { color: var(--muted); }
.nf-help__acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   BLOCKS OF THE BUILDER (kit types) on any page: text, questions, call to action, photos,
   reasons, figures. The GT blocks of the home page have their own rules above.
   ========================================================================== */
.blk { padding-block: 28px; }
.blk-inner { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.blk-inner.is-narrow { max-width: calc(860px + 2 * var(--gutter)); }
.blk-head { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; margin-bottom: 18px; }
.blk-lead { max-width: 640px; margin: -8px 0 20px; color: var(--muted); font-size: 16px; }
.blk-card { padding: 32px 36px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.blk-card.is-narrow { max-width: 860px; }
.blk-body { color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.blk-body p + p, .blk-body ul, .blk-body ol { margin-top: 12px; }
.blk-body ul { padding-left: 20px; list-style: disc; }
.blk-body ol { padding-left: 22px; list-style: decimal; }
.blk-body h3 { color: var(--ink); font-size: 18px; margin: 20px 0 6px; }
.blk-body a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.blk-text.is-band { margin-top: 24px; padding-block: 48px; background: var(--sand); }
.blk-band-head { font-size: 30px; font-weight: 800; margin-bottom: 18px; }
.blk-band-body { columns: 2; column-gap: 48px; }
.blk-cell { height: 100%; }

.blk-faq-list { display: flex; flex-direction: column; gap: 10px; }
.blk-q { border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.blk-q summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: 16px; font-weight: 800; cursor: pointer; list-style: none; }
.blk-q summary::-webkit-details-marker { display: none; }
.blk-q summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sand); }
.blk-q summary i::before, .blk-q summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.blk-q summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.blk-q[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.blk-q[open] summary i { background: var(--accent-soft); }
.blk-a { padding: 0 20px 18px; color: var(--ink-2); line-height: 1.6; }

.blk-cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 36px 40px; border-radius: var(--r-lg); background: var(--ink-2); color: #fff; }
.blk-cta-box h2 { font-size: 28px; line-height: 1.15; font-weight: 800; }
.blk-cta-box p { margin-top: 8px; max-width: 620px; color: rgba(255, 255, 255, .78); }
.blk-cta-box.is-light { background: var(--sand); color: var(--ink); }
.blk-cta-box.is-light p { color: var(--muted); }
.blk-tag { display: inline-block; margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #f3c2ad; }
.blk-cta-box.is-light .blk-tag { color: var(--accent); }
.blk-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: var(--r); background: var(--accent); color: #fff; font-weight: 800; transition: background .2s; }
.blk-btn:hover { background: var(--accent-hover); }

.blk-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.blk-shot { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.blk-shot img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; transition: transform .5s var(--ease); }
.blk-shot:hover img { transform: scale(1.03); }
.blk-shot figcaption { padding: 10px 14px; font-size: 13.5px; color: var(--ink-2); background: var(--surface); }

.blk-feats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.blk-feats-grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blk-feats-grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.blk-feat { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.blk-feat img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 4px; }
.blk-feat b { font-size: 17px; font-weight: 800; }
.blk-feat p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

.blk-stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; border-radius: var(--r-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.blk-stat { display: flex; flex-direction: column; gap: 4px; padding: 24px; background: var(--surface); }
.blk-stat b { font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--accent); }
.blk-stat span { color: var(--muted); font-size: 14px; }

@media (max-width: 1100px) {
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-products .grid-products, .nf-guess .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .blk-feats-grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .info-head h1, .brand-head h1, .nf-hero h1 { font-size: 28px; }
  .info-card, .blk-card, .cn-form-card { padding: 22px 18px; }
  .brand-grid, .cn-main, .cn-main.is-single { grid-template-columns: 1fr; }
  .brand-head { flex-direction: column-reverse; align-items: stretch; padding: 20px; }
  .brand-head__logo { width: 100%; height: 120px; }
  .brand-products .grid-products, .nf-guess .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nf-code { font-size: 84px; }
  .blk-head, .blk-band-head { font-size: 24px; }
  .blk-band-body { columns: 1; }
  .blk-cta-box { padding: 26px 22px; }
  .blk-feats-grid, .blk-feats-grid.g2, .blk-feats-grid.g4 { grid-template-columns: 1fr; }
  .co-grid2 { grid-template-columns: 1fr; }
}

/* ---------- checkout additions: the reason a way does not fit, the block of the confirmation ---------- */
.co-opt__body em { display: block; margin-top: 4px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--amber); }
.co-opt__body em[hidden] { display: none; }
.co-extra { display: grid; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.co-extra h3 { font-size: 17px; font-weight: 800; }
.co-totals .is-free dd { color: var(--green); font-weight: 800; }
.co-panel[hidden] { display: none; }
.switch { color: inherit; text-decoration: none; }

/* ---------- no jump when a drawer or a dialog opens ----------
   Opening one hides the scroll of the page, and its scrollbar went with it: the whole page moved
   by its width. The place of the scrollbar is now kept whether the page scrolls or not. */
html { scrollbar-gutter: stable; }
.co-promo__on { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--green-soft); color: var(--green); font-size: 13.5px; font-weight: 700; }
.co-promo__on span { flex: 1; }
.co-promo__on button { color: var(--muted); font-size: 12.5px; text-decoration: underline; }
.co-promo__msg.is-bad { color: #b3261e; }

/* the band of promises is close to what follows it: the gaps of both added up to too much air */
.section--tight + .section { padding-top: 16px; }
@media (max-width: 760px) { .section--tight + .section { padding-top: 8px; } }

/* ---------- the thumbnails of a product in one row; more than five scroll under two arrows ---------- */
.gallery__strip { position: relative; }
.gallery__strip.is-scroll .gallery__thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 3px; margin: -3px; }
.gallery__strip.is-scroll .gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__strip.is-scroll .gallery__thumb { flex: 0 0 calc((100% - 40px) / 5); scroll-snap-align: start; }
.gallery__arrow { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); transition: opacity .2s, transform .2s var(--ease); }
.gallery__arrow--prev { left: -12px; }
.gallery__arrow--next { right: -12px; }
.gallery__arrow:hover { transform: scale(1.06); }
.gallery__arrow:disabled { opacity: 0; pointer-events: none; }
/* the summary no longer fades while a quantity is on its way: the figures count instead */
[data-summary].is-loading { opacity: 1; }

/* «Акції»: no filter column, so four cards a row as on the home page; three, then two, as it narrows */
.sale-page__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1200px) { .sale-page__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .sale-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   PAGES OF THE SHOP: «Про нас», «Доставка та оплата», the terms
   ========================================================================== */
/* the first screen of a page: words and facts beside a photo */
.pintro { padding-bottom: 8px; }
.pintro__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.pintro__in--bare { grid-template-columns: 1fr; }
.pintro__txt { display: flex; flex-direction: column; justify-content: center; padding: 48px 52px; }
.pintro__title { font-size: 38px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.pintro__title em { font-style: normal; color: var(--accent); }
.pintro__lead { margin-top: 16px; max-width: 560px; color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.pintro__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pintro__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 24px; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.pintro__facts dt { font-size: 21px; line-height: 1.15; font-weight: 800; color: var(--ink); }
.pintro__facts dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.pintro__media { position: relative; margin: 0; min-height: 420px; background: var(--sand); }
.pintro__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pintro + .section--tight { padding-top: 20px; }

/* the terms: a contents column that follows the reader, the sections in one card beside it */
.blk-secs .blk-inner { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0 40px; align-items: start; }
.blk-secs .blk-head, .blk-secs .blk-lead { grid-column: 1 / -1; }
.blk-secs .blk-lead { max-width: 760px; }
.blk-secs-nav { position: sticky; top: calc(var(--hdr-h, var(--header-h, 140px)) + 20px); }
.blk-secs-track { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.blk-secs-pill { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-sm); color: var(--ink-2); font-size: 14.5px; font-weight: 600; line-height: 1.3; transition: background .15s, color .15s; }
.blk-secs-pill::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background .15s; }
.blk-secs-pill:hover { background: var(--bg); color: var(--ink); }
.blk-secs-pill.is-current { background: var(--accent-soft); color: var(--accent); }
.blk-secs-pill.is-current::before { background: var(--accent); }
.blk-secs-pill img { display: none; }
.blk-secs-list { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); padding: 8px 40px; }
.blk-sec { padding: 30px 0; scroll-margin-top: calc(var(--hdr-h, var(--header-h, 140px)) + 20px); }
.blk-sec + .blk-sec { border-top: 1px solid var(--line); }
.blk-sec-side img { display: none; }
.blk-sec-title { font-size: 22px; line-height: 1.25; font-weight: 800; margin-bottom: 12px; }
.blk-sec-body { font-size: 15.5px; }
.blk-sec-body ul li + li { margin-top: 6px; }

@media (max-width: 1100px) {
  .pintro__txt { padding: 36px; }
  .pintro__title { font-size: 32px; }
  .blk-secs .blk-inner { grid-template-columns: 220px minmax(0, 1fr); gap: 0 24px; }
}
@media (max-width: 900px) {
  .pintro__in { grid-template-columns: 1fr; }
  .pintro__media { order: -1; min-height: 240px; }
  .blk-secs .blk-inner { grid-template-columns: minmax(0, 1fr); }
  .blk-secs-nav, .blk-secs-list { min-width: 0; }
  /* on a phone the contents is a row of pills under the header that scrolls sideways */
  .blk-secs-nav { z-index: 20; margin: 0 calc(-1 * var(--gutter)) 14px; padding: 8px var(--gutter); background: var(--bg); top: var(--hdr-h, 0px); }
  .blk-secs-track { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 0; border: 0; background: none; gap: 8px; }
  .blk-secs-pill { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; }
  .blk-secs-pill::before { display: none; }
  .blk-secs-list { padding: 4px 20px; }
}
@media (max-width: 760px) {
  .pintro__txt { padding: 26px 20px; }
  .pintro__title { font-size: 26px; }
  .pintro__lead { font-size: 15.5px; }
  .pintro__facts dt { font-size: 18px; }
  .blk-sec { padding: 22px 0; }
  .blk-sec-title { font-size: 19px; }
}
/* four steps stand in one row, not three and an orphan */
.steps:has(> .step:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .steps:has(> .step:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .steps:has(> .step:nth-child(4)) { grid-template-columns: 1fr; } }

/* «/м²» stands at the top of the figures, the way a unit is written in «см²» */
.pprice__main b small, .price b small { position: relative; top: -.6em; margin-left: 2px; letter-spacing: 0; }
.pprice__main b small { font-size: .45em; }
.price b small { top: -.5em; font-size: .55em; }

/* a line of the cart on sale: the regular price struck out, the one paid in the accent */
.mini__old { color: var(--muted); }
.mini__sale { color: var(--accent); font-weight: 700; }

/* «Пакувальні дані»: the box and the pallet, a plain table as on the factory's site */
.pack-table { width: 100%; max-width: 720px; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); font-size: 15px; }
.pack-table th, .pack-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.pack-table tr:last-child th, .pack-table tr:last-child td { border-bottom: 0; }
.pack-table th { width: 55%; font-weight: 600; color: var(--ink-2); }
.pack-table td { font-weight: 700; font-variant-numeric: tabular-nums; }
.pack-table tr:nth-child(even) { background: var(--bg); }
@media (max-width: 760px) { .pack-table th, .pack-table td { padding: 11px 14px; font-size: 14px; } }

/* ---------- reviews: the stars, the product's section, the latest of a category ---------- */
.stars { --v: 0%; position: relative; display: inline-block; font-size: 18px; line-height: 1; letter-spacing: 2px; white-space: nowrap; }
.stars::before { content: "★★★★★"; background: linear-gradient(90deg, #e0a526 var(--v), #ddd5ca var(--v)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars--sm { font-size: 14px; letter-spacing: 1px; }
.psec__title sup, .pnav__link sup { font-size: .6em; color: var(--muted); font-weight: 700; }
.rv-top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.rv-score { display: grid; justify-items: start; gap: 4px; }
.rv-score b { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.rv-score small { color: var(--muted); font-size: 14px; }
.rv-bars { display: grid; gap: 4px; min-width: 220px; font-size: 13px; color: var(--muted); }
.rv-bars div { display: grid; grid-template-columns: 30px 1fr 28px; align-items: center; gap: 10px; }
.rv-bars i { height: 6px; border-radius: 3px; background: var(--sand); overflow: hidden; }
.rv-bars em { display: block; height: 100%; border-radius: 3px; background: #e0a526; }
.rv-none { flex: 1 1 360px; max-width: 60ch; color: var(--ink-2); line-height: 1.55; }
.rv-write { margin-left: auto; border: 1.5px solid var(--line); background: var(--surface); }
.rv-form { display: grid; gap: 16px; max-width: 640px; margin-top: 24px; padding: 24px; border-radius: var(--r); background: var(--sand); }
.rv-form[hidden], .rv-thanks[hidden] { display: none; }
.rv-write[aria-expanded="true"] { border-color: var(--ink); }
.rv-form h3 { font-size: 18px; font-weight: 800; }
.rv-form .input { background: var(--surface); }
.rv-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.rv-form__foot small { color: var(--muted); font-size: 13px; }
.rv-pick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rv-pick input { position: absolute; opacity: 0; pointer-events: none; }
.rv-pick label { font-size: 30px; line-height: 1; color: #d6ccbf; cursor: pointer; transition: color .15s, transform .15s; }
.rv-pick label:hover, .rv-pick label:hover ~ label, .rv-pick input:checked ~ label { color: #e0a526; }
.rv-pick input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.rv-pick label:active { transform: scale(.9); }
.field.is-invalid .rv-pick label { color: #e9b8b2; }
.rv-thanks { margin-top: 20px; padding: 16px 20px; border-radius: var(--r); background: #e8f1e6; color: #2f5b2a; font-weight: 700; }
.rv-list { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.rv-one { padding: 18px 0; border-bottom: 1px solid var(--line); }
.rv-one header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 8px; }
.rv-one header b { font-weight: 800; }
.rv-one time { margin-left: auto; color: var(--muted); font-size: 13px; }
.rv-one p { color: var(--ink-2); line-height: 1.6; max-width: 72ch; }
.rv-one.is-more { display: none; }
.rv.is-all .rv-one.is-more { display: block; }
.rv.is-all .rv-more { display: none; }
.rv-more { margin-top: 18px; background: none; border: 0; cursor: pointer; }

/* the latest reviews of a category's products */
.cat-block { margin-top: 56px; }
.cat-rv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cat-rv { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.cat-rv header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cat-rv header b { font-weight: 800; }
.cat-rv p { flex: 1; color: var(--ink-2); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.cat-rv a { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.cat-rv a img { width: 44px; height: 44px; flex: none; object-fit: cover; border-radius: 8px; background: var(--sand); }
.cat-rv a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cat-rv time { color: var(--muted); font-size: 12px; }
/* the questions of a section: the heading on the left, the questions on the right - the way the
   sections of a product page sit, so the block fills the width and the answers stay readable */
.cat-faq { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: start; }
.cat-faq .section__head { position: sticky; top: calc(var(--hdr-h, 0px) + 24px); margin: 0; }
.cat-faq .blk-a { max-width: 80ch; }

@container gt (max-width: 900px) {
  .cat-rv-grid { grid-template-columns: 1fr; }
  .cat-faq { grid-template-columns: 1fr; gap: 0; }
  .cat-faq .section__head { position: static; margin-bottom: 20px; }
  .rv-write { margin-left: 0; width: 100%; }
  .rv-form { padding: 18px; }
  .rv-one time { margin-left: 0; }
  .cat-block { margin-top: 40px; }
}
@container gt (min-width: 901px) and (max-width: 1180px) {
  .cat-rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- blog: the list and a post ---------- */
.blogpage { padding-bottom: 64px; }
.blog-head { max-width: 760px; margin: 8px 0 32px; }
.blog-head h1 { font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.blog-head p { margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.blog-empty { padding: 48px 0; color: var(--muted); font-size: 17px; }
.post-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; font-weight: 700; }
.post-meta i { font-style: normal; opacity: .6; }
.post-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; margin-bottom: 28px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: box-shadow .25s; }
.post-lead:hover { box-shadow: 0 18px 40px -24px rgba(30, 26, 22, .35); }
.post-lead__media { aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.post-lead__media img, .post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-lead:hover img, .post-card:hover img { transform: scale(1.03); }
.post-lead__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 36px 40px; }
.post-lead__body h2 { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.post-lead__body p { color: var(--ink-2); line-height: 1.6; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.post-card { display: flex; flex-direction: column; gap: 10px; }
.post-card__media { display: block; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--sand); margin-bottom: 4px; }
.post-card h2, .post-card h3 { font-size: 19px; line-height: 1.25; font-weight: 800; transition: color .2s; }
.post-card:hover h2, .post-card:hover h3 { color: var(--accent); }
.post-card p { color: var(--ink-2); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blogpage .pages { margin-top: 40px; justify-content: center; }

.post { max-width: 820px; margin: 8px auto 0; }
.post-head { display: grid; gap: 14px; margin-bottom: 28px; }
.post-head h1 { font-size: 42px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.post-intro { color: var(--ink-2); font-size: 19px; line-height: 1.55; }
.post-cover { margin: 0 0 32px; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.post-cover img { width: 100%; height: auto; display: block; }
.post-body { max-width: none; font-size: 17px; line-height: 1.7; }
.post-body h2 { margin: 36px 0 12px; color: var(--ink); font-size: 26px; line-height: 1.2; font-weight: 800; }
.post-body h3 { margin: 26px 0 8px; font-size: 20px; }
.post-body p { margin: 0 0 14px; }
.post-body ul, .post-body ol { margin: 0 0 16px; padding-left: 22px; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: 6px; }
.post-body a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.post-body img { max-width: 100%; height: auto; margin: 12px 0 20px; border-radius: var(--r); }
.post-body blockquote { margin: 24px 0; padding: 18px 24px; border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; background: var(--sand); color: var(--ink); font-weight: 600; }
.post-body table { width: 100%; margin: 16px 0 24px; border-collapse: collapse; font-size: 15px; }
.post-body th, .post-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.post-body th { color: var(--ink); font-weight: 800; background: var(--sand); }
.post-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; max-width: 820px; margin: 48px auto 0; padding: 32px 36px; border-radius: var(--r-lg); background: var(--ink-2); color: #fff; }
.post-help h2 { font-size: 24px; font-weight: 800; }
.post-help p { margin-top: 6px; max-width: 480px; color: rgba(255, 255, 255, .78); }

@container gt (max-width: 900px) {
  .blog-head h1, .post-head h1 { font-size: 30px; }
  .post-lead { grid-template-columns: 1fr; }
  .post-lead__body { padding: 22px 20px 24px; }
  .post-lead__body h2 { font-size: 23px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-intro { font-size: 17px; }
  .post-body { font-size: 16px; }
  .post-body h2 { font-size: 22px; }
  .post-body table { display: block; overflow-x: auto; }
  .post-help { padding: 24px 20px; }
  .post-help .btn { width: 100%; }
}
@container gt (min-width: 901px) and (max-width: 1180px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- blog authors: the circle, the chips of the list, the byline, the box, the page ---------- */
.author-pic { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--accent-soft, #f3ddd2); color: var(--accent); font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.author-pic img { width: 100%; height: 100%; object-fit: cover; }
.author-pic--xs { width: 26px; height: 26px; font-size: 10px; }
.author-pic--md { width: 88px; height: 88px; font-size: 26px; }
.author-pic--lg { width: 132px; height: 132px; font-size: 40px; }
.post-meta b { color: var(--ink); font-weight: 800; }
.author-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 28px; }
.author-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 700; transition: border-color .2s, background-color .2s, color .2s; }
.author-chip:first-child { padding-left: 14px; }
.author-chip small { color: var(--muted); font-weight: 700; }
.author-chip:hover { border-color: var(--ink); }
.author-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.author-chip.is-on small { color: rgba(255, 255, 255, .7); }
.post-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 6px; }
.post-by { display: inline-flex; align-items: center; gap: 12px; }
.post-by b { display: block; font-weight: 800; transition: color .2s; }
.post-by small { display: block; color: var(--muted); font-size: 13.5px; }
.post-by:hover b { color: var(--accent); }
.author-box { display: flex; gap: 22px; align-items: flex-start; margin-top: 40px; padding: 26px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.author-box > div { display: grid; gap: 6px; min-width: 0; }
.author-box__cap { color: var(--muted); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.author-box__name { font-size: 21px; font-weight: 800; }
.author-box__name:hover { color: var(--accent); }
.author-box__bio { color: var(--ink-2); line-height: 1.6; }
.author-box .link-arrow { margin-top: 6px; justify-self: start; }
.author-role { color: var(--muted); font-weight: 700; }
.author-head { display: flex; align-items: center; gap: 32px; max-width: 900px; margin: 8px 0 32px; }
.author-head h1 { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.author-head .author-role { margin-top: 6px; font-size: 17px; }
.author-bio { margin-top: 12px; max-width: 680px; color: var(--ink-2); line-height: 1.6; }

@container gt (max-width: 900px) {
  .author-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .author-head h1 { font-size: 30px; }
  .author-pic--lg { width: 96px; height: 96px; font-size: 30px; }
  .author-box { flex-direction: column; gap: 14px; padding: 20px; }
  .author-chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .author-chip { flex: none; }
}
