/* ==========================================================================
   Mian Printers :: public storefront
   A premium retail aesthetic in the spirit of WoodMart, built from scratch.
   Light + dark palettes, restrained motion, mobile first.
   ========================================================================== */

/* --------------------------------------------------------------- 1. tokens */
:root {
  --font-sans: 'Jost', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;

  --bg: #ffffff;
  --bg-alt: #faf8f5;
  --bg-deep: #14110e;
  --surface: #ffffff;
  --surface-2: #f6f3ee;

  --ink: #15120f;
  --ink-soft: #3d372f;
  --muted: #847c72;
  --muted-2: #a79e93;

  --line: #e7e1d8;
  --line-soft: #f0ebe3;
  --line-strong: #d3cabc;

  --accent: #b08d57;
  --accent-deep: #94723f;
  --accent-wash: rgba(176, 141, 87, 0.1);
  --on-accent: #ffffff;

  --wa: #25d366;
  --wa-deep: #1da851;
  --sale: #b4443a;
  --new: #2f6f52;

  --shadow-sm: 0 1px 2px rgba(20, 17, 14, 0.05);
  --shadow: 0 10px 30px -12px rgba(20, 17, 14, 0.18);
  --shadow-lg: 0 28px 60px -24px rgba(20, 17, 14, 0.3);

  --r: 2px;
  --r-md: 4px;
  --r-lg: 8px;
  --r-pill: 999px;

  --shell: 1320px;
  --gutter: 16px;
  --header-h: 150px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.18s;
  --t: 0.32s;
  --t-slow: 0.6s;
}

:root[data-theme='dark'] {
  --bg: #0c0b0a;
  --bg-alt: #121110;
  --bg-deep: #000000;
  --surface: #171513;
  --surface-2: #1e1b18;

  --ink: #f4f0e9;
  --ink-soft: #ddd6cb;
  --muted: #9a9289;
  --muted-2: #7b746c;

  --line: #2b2722;
  --line-soft: #221f1b;
  --line-strong: #3a342d;

  --accent: #c9a46a;
  --accent-deep: #b08d57;
  --accent-wash: rgba(201, 164, 106, 0.14);
  --on-accent: #16130f;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 28px 60px -24px rgba(0, 0, 0, 0.8);
}

/* ----------------------------------------------------------------- 2. base */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}

body.is-locked { overflow: hidden; }

/* An author `display` rule beats the UA stylesheet's [hidden] rule, so make
   the attribute authoritative. Several panels here are flex containers that
   are toggled with `hidden`. */
[hidden] { display: none !important; }

img,
picture,
svg,
iframe { max-width: 100%; }

img { height: auto; display: block; }

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Icons drawn as solid shapes rather than strokes. */
.ico-wa,
.social__link svg,
.usp__item .ico-wa { fill: currentColor; stroke: none; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

button { font: inherit; color: inherit; }

input,
select,
textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r);
}

/* ------------------------------------------------------------ 3. utilities */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 16px; }

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}

.section { padding: clamp(48px, 7vw, 92px) 0; }
.section--alt { background: var(--bg-alt); }
.section--related { padding-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }

/* Scroll reveal. The hidden state is scoped to :root.js, which the inline
   theme script sets, so content stays visible when scripting is unavailable. */
:root.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
:root.js .reveal.is-in { opacity: 1; transform: none; }

/* -------------------------------------------------------------- 4. buttons */
.btn {
  --btn-bg: transparent;
  --btn-ink: var(--ink);
  --btn-line: var(--line-strong);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 24px;
  border: 1px solid var(--btn-line);
  border-radius: var(--r);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease),
    border-color var(--t) var(--ease), transform var(--t-fast) var(--ease),
    box-shadow var(--t) var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* A slow sheen travelling across the button on hover. */
.btn::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  transition: left 0.75s var(--ease-out), opacity 0.2s linear;
  pointer-events: none;
}
.btn:hover::after { left: 115%; opacity: 1; }

.btn--primary {
  --btn-bg: var(--ink);
  --btn-ink: var(--bg);
  --btn-line: var(--ink);
}
.btn--primary:hover {
  --btn-bg: var(--accent);
  --btn-line: var(--accent);
  --btn-ink: var(--on-accent);
  box-shadow: var(--shadow);
}

.btn--accent {
  --btn-bg: var(--accent);
  --btn-ink: var(--on-accent);
  --btn-line: var(--accent);
}
.btn--accent:hover { --btn-bg: var(--accent-deep); --btn-line: var(--accent-deep); }

.btn--outline { --btn-bg: transparent; --btn-ink: var(--ink); --btn-line: var(--line-strong); }
.btn--outline:hover { --btn-line: var(--accent); --btn-ink: var(--accent); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-ink: #fff;
  --btn-line: rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { --btn-bg: #fff; --btn-ink: var(--ink); --btn-line: #fff; }

.btn--wa {
  --btn-bg: var(--wa);
  --btn-ink: #06281a;
  --btn-line: var(--wa);
  font-weight: 600;
}
.btn--wa:hover {
  --btn-bg: var(--wa-deep);
  --btn-line: var(--wa-deep);
  --btn-ink: #fff;
  box-shadow: 0 12px 28px -12px rgba(37, 211, 102, 0.65);
}

.btn--lg { min-height: 52px; padding: 15px 34px; font-size: 13px; }
.btn--sm { min-height: 36px; padding: 7px 16px; font-size: 11.5px; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--surface-2); color: var(--accent); }

/* --------------------------------------------------------------- 5. badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: var(--r);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
  color: #fff;
}
.badge--sale { background: var(--sale); }
.badge--new { background: var(--new); }
.badge--draft { background: var(--muted); }

/* --------------------------------------------------------- 6. announcement */
.announce {
  background: var(--bg-deep);
  color: #efe8dc;
  font-size: 12.5px;
  letter-spacing: 0.07em;
}
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  text-align: center;
}
.announce__inner p { margin: 0; }
.announce__mark {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.6s var(--ease) infinite;
  flex: none;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* --------------------------------------------------------------- 7. header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t) var(--ease), background-color var(--t) var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow); }

.site-header__top { padding: 14px 0; }

.site-header__grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.site-header__burger { display: inline-flex; }

.burger { position: relative; width: 20px; height: 14px; display: block; }
.burger i {
  position: absolute;
  left: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease), width var(--t) var(--ease);
}
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6px; width: 70%; }
.burger i:nth-child(3) { top: 12px; }
.site-header__burger:hover .burger i:nth-child(2) { width: 100%; }

.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand__logo { width: auto; max-height: 50px; object-fit: contain; }
.brand__logo--dark { display: none; }
:root[data-theme='dark'] .brand__logo--light { display: none; }
:root[data-theme='dark'] .brand__logo--dark { display: block; }

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand__tag {
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
/* On a narrow phone the tagline wraps and doubles the header height. */
@media (max-width: 559px) {
  .brand__tag { display: none; }
}

/* search ------------------------------------------------------------------ */
.search {
  position: relative;
  display: none;
  align-items: center;
  max-width: 540px;
  width: 100%;
  margin-inline: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-wash);
}
.search__input {
  flex: 1;
  min-width: 0;
  padding: 11px 6px 11px 20px;
  border: 0;
  background: transparent;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.search__input::placeholder { color: var(--muted-2); }
.search__input:focus { outline: none; }
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  margin: 1px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  transition: background-color var(--t) var(--ease);
}
.search__submit svg { width: 17px; height: 17px; }
.search__submit:hover { background: var(--accent); color: var(--on-accent); }

/* suggestions ------------------------------------------------------------ */
.suggest {
  position: absolute;
  top: calc(100% + 10px);
  left: 0; right: 0;
  z-index: 60;
  max-height: 62vh;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: drop 0.22s var(--ease-out);
}
@keyframes drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.suggest__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--r-md);
  transition: background-color var(--t-fast) var(--ease);
}
.suggest__item:hover,
.suggest__item.is-active { background: var(--surface-2); }
.suggest__item img {
  width: 48px; height: 48px;
  object-fit: cover;
  border-radius: var(--r);
  background: var(--surface-2);
  flex: none;
}
.suggest__body { min-width: 0; flex: 1; }
.suggest__name {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.suggest__meta { display: block; font-size: 11.5px; color: var(--muted); }
.suggest__price { font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.suggest__empty { padding: 18px 12px; text-align: center; color: var(--muted); font-size: 13.5px; }
.suggest__all {
  display: block;
  margin-top: 4px;
  padding: 11px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-header__actions { display: flex; align-items: center; gap: 2px; }
.site-header__wa { display: none; }

.theme-toggle__moon { display: none; }
:root[data-theme='dark'] .theme-toggle__sun { display: none; }
:root[data-theme='dark'] .theme-toggle__moon { display: block; }

/* main nav --------------------------------------------------------------- */
.mainnav {
  display: none;
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
}
.mainnav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.mainnav__list { display: flex; align-items: center; gap: 2px; }
.mainnav__list > li { position: relative; }
.mainnav__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 15px 15px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
}
.mainnav__list > li > a::before {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 9px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.mainnav__list > li > a:hover,
.mainnav__list > li > a.is-active { color: var(--accent); }
.mainnav__list > li > a:hover::before,
.mainnav__list > li > a.is-active::before { transform: scaleX(1); }
.caret { width: 13px; height: 13px; transition: transform var(--t) var(--ease); }
.mainnav__list > li:hover .caret { transform: rotate(180deg); }

.mega,
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mega { width: min(760px, 86vw); padding: 22px; border-radius: var(--r-lg); }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.mega__card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 11px;
  border-radius: var(--r-md);
  transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.mega__card:hover { background: var(--surface-2); transform: translateX(3px); }
.mega__thumb {
  width: 54px; height: 54px;
  flex: none;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--surface-2);
}
.mega__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega__name { display: block; font-size: 13.5px; font-weight: 500; }
.mega__count { display: block; font-size: 11.5px; color: var(--muted); }
.mega__all {
  display: block;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.dropdown { min-width: 230px; padding: 8px; border-radius: var(--r-lg); }
.dropdown li a {
  display: block;
  padding: 9px 13px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  transition: background-color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.dropdown li a:hover { background: var(--surface-2); color: var(--accent); padding-left: 18px; }
.dropdown__sep { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line-soft); }
.dropdown__sep a { color: var(--accent); font-weight: 500; }

.mainnav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.mainnav__phone svg { width: 17px; height: 17px; color: var(--accent); }
.mainnav__phone:hover { color: var(--accent); }

/* --------------------------------------------------------------- 8. drawer */
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(12, 10, 8, 0.55);
  backdrop-filter: blur(2px);
  animation: fade 0.25s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.drawer {
  position: fixed;
  top: 0; left: 0;
  z-index: 130;
  display: flex;
  flex-direction: column;
  width: min(360px, 88vw);
  height: 100dvh;
  background: var(--bg);
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
  transition: transform 0.38s var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open { transform: none; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--line);
}
.drawer__title { font-family: var(--font-display); font-size: 21px; font-weight: 600; }

.drawer__search { display: flex; gap: 8px; padding: 16px; }
.drawer__search input {
  flex: 1;
  min-width: 0;
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 14px;
}
.drawer__search input:focus { outline: none; border-color: var(--accent); }
.drawer__search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
}
.drawer__search button svg { width: 18px; height: 18px; }

.drawer__nav { flex: 1; padding: 4px 8px 16px; }
.drawer__link,
.drawer__group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 12px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.drawer__group > summary { list-style: none; }
.drawer__group > summary::-webkit-details-marker { display: none; }
.drawer__group > summary::after {
  content: '';
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--t) var(--ease);
  opacity: 0.6;
}
.drawer__group[open] > summary::after { transform: rotate(-135deg); }
.drawer__group[open] > summary { color: var(--accent); }

.drawer__sub { padding: 6px 0 12px; }
.drawer__sub a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 20px;
  font-size: 14px;
  color: var(--ink-soft);
}
.drawer__sub a span { font-size: 11.5px; color: var(--muted); }
.drawer__sub a:hover { color: var(--accent); }
.drawer__all { color: var(--accent) !important; font-weight: 500; }

.drawer__foot {
  padding: 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.drawer__contact {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}

/* ------------------------------------------------------- 9. search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(60px, 12vh, 140px) var(--gutter) 40px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px) saturate(150%);
  animation: fade 0.22s var(--ease);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .search-overlay { background: var(--bg); }
}
.search-overlay__inner { width: min(760px, 100%); }
.search-overlay__form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.search-overlay__icon { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search-overlay__input {
  flex: 1;
  min-width: 0;
  padding: 13px 0;
  border: 0;
  background: transparent;
  font-size: 17px;
}
.search-overlay__input:focus { outline: none; }
.search-overlay__hints {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-inline: 6px;
  font-size: 13px;
  color: var(--muted);
}
.search-overlay__hints a {
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-soft);
}
.search-overlay__hints a:hover { border-color: var(--accent); color: var(--accent); }
.suggest--overlay { top: calc(100% + 12px); }

/* ---------------------------------------------------------- 10. hero slider */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}
.hero__viewport {
  position: relative;
  height: clamp(420px, 56vw, 660px);
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease-out), visibility 0.9s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

.hero__media { position: absolute; inset: 0; display: block; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 8, 6, 0.92) 0%, rgba(10, 8, 6, 0.45) 48%, rgba(10, 8, 6, 0.05) 100%);
}
.hero__inner--center .hero__scrim,
.hero__inner--right .hero__scrim { background: rgba(10, 8, 6, 1); }

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  height: 100%;
}
.hero__inner--center { justify-content: center; text-align: center; }
.hero__inner--right { justify-content: flex-end; text-align: right; }

.hero__content { max-width: 560px; }
.hero__inner--center .hero__content { margin-inline: auto; }

.is-theme-light .hero__content { color: #fff; }
.is-theme-dark .hero__content { color: #14110e; }
.is-theme-dark .hero__eyebrow { color: var(--accent-deep); }

.hero__eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e8cd9f;
}
.hero__heading {
  margin: 0;
  font-size: clamp(32px, 6.2vw, 66px);
  line-height: 1.04;
  font-weight: 500;
}
.hero__sub {
  margin: 16px 0 0;
  font-size: clamp(14.5px, 1.6vw, 17px);
  line-height: 1.6;
  max-width: 44ch;
  opacity: 0.9;
}
.hero__inner--center .hero__sub { margin-inline: auto; }
.hero__inner--right .hero__sub { margin-left: auto; }
.hero__price {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 600;
  color: #e8cd9f;
}
.is-theme-dark .hero__price { color: var(--accent-deep); }
.hero__btn { margin-top: 28px; }

/* Entrance choreography, replayed on each activation. */
.hero__slide.is-active .hero__eyebrow,
.hero__slide.is-active .hero__heading,
.hero__slide.is-active .hero__sub,
.hero__slide.is-active .hero__price,
.hero__slide.is-active .hero__btn {
  animation: heroIn 0.95s var(--ease-out) both;
}
.hero__slide.is-active .hero__heading { animation-delay: 0.08s; }
.hero__slide.is-active .hero__sub { animation-delay: 0.18s; }
.hero__slide.is-active .hero__price { animation-delay: 0.26s; }
.hero__slide.is-active .hero__btn { animation-delay: 0.34s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* Per-slide media motion */
.hero__slide--zoom.is-active .hero__media img { animation: kenburns 9s var(--ease-out) both; }
@keyframes kenburns {
  from { transform: scale(1.14); }
  to { transform: scale(1); }
}
.hero__slide--slide.is-active .hero__media img { animation: drift 9s var(--ease-out) both; }
@keyframes drift {
  from { transform: scale(1.08) translateX(2.5%); }
  to { transform: scale(1.08) translateX(-2.5%); }
}
.hero__slide--fade.is-active .hero__media img { animation: breathe 12s var(--ease) both; }
@keyframes breathe {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin-top: -26px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(16, 13, 10, 0.3);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease),
    transform var(--t) var(--ease), opacity var(--t) var(--ease);
  opacity: 0;
}
.hero:hover .hero__nav { opacity: 1; }
.hero__nav:focus-visible { opacity: 1; }
.hero__nav svg { width: 22px; height: 22px; }
.hero__nav:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero__nav--prev { left: 24px; }
.hero__nav--next { right: 24px; }
.hero__nav--prev:hover { transform: translateX(-3px); }
.hero__nav--next:hover { transform: translateX(3px); }

.hero__dots {
  position: absolute;
  bottom: 24px; left: 0; right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero__dot {
  width: 34px; height: 4px;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  overflow: hidden;
  transition: background-color var(--t) var(--ease), width var(--t) var(--ease);
}
.hero__dot span { display: block; width: 0; height: 100%; background: #fff; }
.hero__dot.is-active { width: 58px; background: rgba(255, 255, 255, 0.3); }
.hero__dot.is-active span { animation: dotFill linear forwards; animation-duration: var(--slide-duration, 6s); }
.hero.is-paused .hero__dot.is-active span { animation-play-state: paused; }
@keyframes dotFill { from { width: 0; } to { width: 100%; } }

/* ------------------------------------------------------------- 11. usp strip */
.usp { border-bottom: 1px solid var(--line); background: var(--bg); }
.usp__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
}
.usp__item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px 18px;
  background: var(--bg);
}
.usp__item svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.usp__item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.usp__item span { display: block; font-size: 12.5px; color: var(--muted); }

/* --------------------------------------------------------- 12. section head */
.sec-head { margin-bottom: clamp(28px, 4vw, 46px); text-align: center; }
.sec-head--left { text-align: left; }
.sec-head__title { font-size: clamp(26px, 3.8vw, 42px); }
.sec-head__rule {
  display: block;
  width: 54px; height: 1px;
  margin: 16px auto 0;
  background: var(--accent);
  position: relative;
}
.sec-head--left .sec-head__rule { margin-inline: 0; }
.sec-head__rule::before,
.sec-head__rule::after {
  content: '';
  position: absolute;
  top: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.sec-head__rule::before { left: -9px; }
.sec-head__rule::after { right: -9px; }
.sec-head__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.sec-head__link span { transition: transform var(--t) var(--ease); display: inline-block; }
.sec-head__link:hover span { transform: translateX(5px); }

/* ------------------------------------------------------------- 13. grids */
.grid { display: grid; gap: clamp(14px, 1.8vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3,
.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* -------------------------------------------------------- 14. product card */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease),
    transform var(--t) var(--ease);
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  z-index: 2;
}

.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}
.card__link { display: block; height: 100%; }
.card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease-out), opacity var(--t) var(--ease);
}
.card:hover .card__img { transform: scale(1.07); }
.card__img--hover { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__img--hover { opacity: 1; }

.card__badges {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.card__hover {
  position: absolute;
  bottom: 10px; left: 10px; right: 10px;
  z-index: 3;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease-out);
}
.card:hover .card__hover,
.card:focus-within .card__hover { opacity: 1; transform: none; }

.card__wa {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--r);
  background: var(--wa);
  color: #06281a;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.card__wa svg { width: 16px; height: 16px; }
.card__wa:hover { background: var(--wa-deep); color: #fff; }

.card__view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: var(--r);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.card__view svg { width: 18px; height: 18px; }
.card__view:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 15px 17px;
  text-align: center;
}
.card__brand {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__brand:hover { color: var(--accent); }
.card__title {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}
.card__title a { background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size var(--t) var(--ease), color var(--t-fast) var(--ease); }
.card__title a:hover { color: var(--accent); background-size: 100% 1px; }
.card__sku { margin: 0; font-size: 11.5px; color: var(--muted-2); letter-spacing: 0.04em; }
.card__price { margin: 3px 0 0; display: flex; align-items: baseline; justify-content: center; gap: 8px; flex-wrap: wrap; }

.price-now { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.price-was { font-size: 13px; color: var(--muted-2); text-decoration: line-through; }
.price-request {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.price-now--lg { font-family: var(--font-display); font-size: clamp(28px, 4vw, 38px); font-weight: 600; }
.price-was--lg { font-size: 18px; }
.price-request--lg { font-size: 15px; letter-spacing: 0.14em; }

/* ------------------------------------------------------- 15. category tiles */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}
.cat-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease),
    transform var(--t) var(--ease);
}
.cat-tile:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.cat-tile__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.cat-tile__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.cat-tile:hover .cat-tile__media img { transform: scale(1.08); }
.cat-tile__body {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 16px 15px;
  background: linear-gradient(transparent, rgba(12, 10, 8, 0.82) 55%);
  color: #fff;
}
.cat-tile__name {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 600;
}
.cat-tile__count { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.cat-tile__desc { margin-top: 5px; font-size: 12.5px; opacity: 0.82; line-height: 1.45; }

/* ---------------------------------------------------------------- 16. brands */
.brand-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.brand-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  padding: 20px;
  background: var(--surface);
  transition: background-color var(--t) var(--ease);
}
.brand-chip img {
  max-height: 54px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter var(--t) var(--ease), opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.brand-chip:hover { background: var(--bg-alt); }
.brand-chip:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.brand-chip__text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--t) var(--ease);
}
.brand-chip:hover .brand-chip__text { color: var(--accent); }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 26px 18px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--surface);
  text-align: center;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease),
    transform var(--t) var(--ease);
}
.brand-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.brand-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 78px;
  margin-bottom: 10px;
}
.brand-card__media img { max-height: 72px; width: auto; object-fit: contain; }
.brand-card__initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
}
.brand-card__name { font-size: 14.5px; font-weight: 500; }
.brand-card__count { font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em; }

/* ------------------------------------------------------- 17. promo banners */
.banner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}
.promo {
  position: relative;
  grid-column: span 6;
  display: block;
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--surface-2);
}
.promo__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.promo:hover .promo__img { transform: scale(1.06); }
.promo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 10, 8, 0.72), rgba(12, 10, 8, 0.12));
}
.promo.is-theme-dark::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.15));
}
.promo__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  height: 100%;
  padding: clamp(24px, 3.4vw, 42px);
  color: #fff;
}
.promo.is-theme-dark .promo__body { color: var(--bg-deep); }
.promo__sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
}
.promo__title { font-size: clamp(22px, 3.2vw, 34px); max-width: 18ch; line-height: 1.12; }
.promo__btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.promo__btn i { font-style: normal; transition: transform var(--t) var(--ease); }
.promo:hover .promo__btn i { transform: translateX(5px); }

/* ------------------------------------------------------------------ 18. cta */
.cta {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0;
  background: var(--bg-deep);
  color: #f3ece0;
  overflow: hidden;
}
.cta::before,
.cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-wash), transparent 68%);
  pointer-events: none;
}
.cta::before { width: 480px; height: 480px; top: -180px; right: -120px; }
.cta::after { width: 380px; height: 380px; bottom: -160px; left: -100px; }
.cta__inner { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; text-align: center; }
.cta__title { font-size: clamp(27px, 4.4vw, 48px); line-height: 1.1; }
.cta__text { margin: 18px auto 0; max-width: 54ch; color: #cdc3b3; }
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* --------------------------------------------------------------- 19. footer */
.site-footer { background: var(--bg-deep); color: #c9c0b2; }

.site-footer__cta { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.site-footer__cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 34px 0;
  text-align: center;
}
.site-footer__cta .eyebrow { color: var(--accent); }
.site-footer__cta h2 { font-size: clamp(22px, 3vw, 32px); color: #f6f1e8; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding: clamp(40px, 6vw, 68px) var(--gutter);
}
.site-footer__logo { max-height: 46px; width: auto; object-fit: contain; }
.site-footer__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: #f6f1e8;
}
.site-footer__about { margin-top: 14px; font-size: 13.5px; line-height: 1.7; }
.site-footer__about p { margin-bottom: 0.7em; }

.site-footer__heading {
  margin-bottom: 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f6f1e8;
}
.site-footer__links li + li { margin-top: 9px; }
.site-footer__links a { font-size: 13.5px; }
.site-footer__links a:hover { color: var(--accent); padding-left: 4px; }
.site-footer__links a { display: inline-block; transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease); }

.site-footer__contact li {
  display: flex;
  gap: 11px;
  font-size: 13.5px;
  line-height: 1.55;
}
.site-footer__contact li + li { margin-top: 13px; }
.site-footer__contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }
.site-footer__contact a:hover { color: var(--accent); }

.social { display: flex; gap: 8px; margin-top: 20px; }
.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #c9c0b2;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease),
    border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.social__link svg { width: 17px; height: 17px; }
.social__link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  transform: translateY(-3px);
}

.site-footer__bar { border-top: 1px solid rgba(255, 255, 255, 0.09); }
.site-footer__bar-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  font-size: 12.5px;
  text-align: center;
  color: #94897a;
}
.site-footer__bar-inner p { margin: 0; }
.site-footer__credit {
  color: #b9ad9b;
  border-bottom: 1px solid rgba(176, 141, 87, 0.5);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.site-footer__credit:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------------------------------------------------------- 20. breadcrumbs */
.crumbs { border-bottom: 1px solid var(--line-soft); background: var(--bg-alt); }
.crumbs__inner { padding: 13px var(--gutter); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.crumbs li { display: inline-flex; align-items: center; gap: 2px; }
.crumbs a,
.crumbs span { font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs li:last-child span { color: var(--ink); }
.crumbs__sep { width: 14px; height: 14px; color: var(--muted-2); opacity: 0.6; }

/* -------------------------------------------------------------- 21. archive */
.arch-hero {
  position: relative;
  padding: clamp(34px, 5vw, 62px) 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
  overflow: hidden;
}
.arch-hero--image { padding: 0; border-bottom: 0; }
.arch-hero--image .arch-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(220px, 28vw, 340px);
  padding-block: 40px;
  color: #fff;
}
.arch-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch-hero__scrim { position: absolute; inset: 0; background: rgba(12, 10, 8, 0.52); }
.arch-hero__logo {
  width: auto;
  max-height: 86px;
  margin: 0 auto 18px;
  object-fit: contain;
}
.arch-hero__title { font-size: clamp(28px, 4.6vw, 50px); }
.arch-hero__sub { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); letter-spacing: 0.04em; }
.arch-hero--image .arch-hero__sub { color: rgba(255, 255, 255, 0.85); }
.arch-hero__desc {
  margin: 16px auto 0;
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.arch-hero--image .arch-hero__desc { color: rgba(255, 255, 255, 0.9); }

.arch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding-block: clamp(26px, 4vw, 44px) clamp(48px, 7vw, 86px);
}

.arch__side {
  position: fixed;
  top: 0; left: 0;
  z-index: 130;
  width: min(330px, 88vw);
  height: 100dvh;
  padding: 0 0 24px;
  background: var(--bg);
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
  transition: transform 0.38s var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.arch__side.is-open { transform: none; }
.arch__side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.filters { padding: 4px 16px 0; }
.filters__group { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.filters__group:first-child { padding-top: 16px; }
.filters__title {
  margin-bottom: 13px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.filters__list li + li { margin-top: 3px; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  font-size: 13.5px;
  cursor: pointer;
}
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  width: 17px; height: 17px;
  flex: none;
  margin-top: 2px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  position: relative;
}
.check__box::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(40deg) scale(0);
  transition: transform var(--t-fast) var(--ease);
}
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box::after { transform: rotate(40deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check__label { color: var(--ink-soft); }
.check__label em { font-style: normal; font-size: 11.5px; color: var(--muted-2); }
.check:hover .check__label { color: var(--accent); }

.filters__price { display: flex; align-items: center; gap: 9px; }
.filters__price input {
  width: 100%;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 13.5px;
}
.filters__price input:focus { outline: none; border-color: var(--accent); }
.filters__hint { margin: 10px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--muted-2); }

.filters__actions { padding: 20px 0 8px; }
.filters__reset {
  display: block;
  margin-top: 11px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}
.filters__reset:hover { color: var(--accent); }

.filters__group--links { padding: 20px 16px; border-bottom: 0; }
.filters__links li + li { margin-top: 7px; }
.filters__links a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.filters__links a em { font-style: normal; font-size: 11.5px; color: var(--muted-2); }
.filters__links a:hover { color: var(--accent); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.toolbar__count { margin: 0; font-size: 13px; color: var(--muted); flex: 1; }
.toolbar__count strong { color: var(--ink); font-weight: 600; }
.toolbar__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.toolbar__field select {
  padding: 9px 34px 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 13px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23847c72' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 15px;
}
.toolbar__field select:focus { outline: none; border-color: var(--accent); }
.toolbar__cols { display: none; gap: 2px; }
.toolbar__col-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid transparent;
  border-radius: var(--r);
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.toolbar__col-btn svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.toolbar__col-btn:hover { color: var(--ink); }
.toolbar__col-btn.is-active { color: var(--accent); border-color: var(--line); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 12.5px;
  color: var(--ink-soft);
}
.chip span { color: var(--muted-2); }
.chip:hover { border-color: var(--sale); color: var(--sale); }
.chip:hover span { color: var(--sale); }
.chip--clear { border-style: dashed; color: var(--muted); }

/* ------------------------------------------------------------ 22. pagination */
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: clamp(32px, 5vw, 56px);
}
.pager__num,
.pager__arrow,
.pager__gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px; height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}
.pager__arrow svg { width: 18px; height: 18px; }
.pager__num:hover,
.pager__arrow:hover { border-color: var(--accent); color: var(--accent); }
.pager__num.is-current { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pager__gap { border-color: transparent; background: transparent; color: var(--muted-2); min-width: 26px; }
.pager__arrow.is-disabled { opacity: 0.35; pointer-events: none; }

/* ---------------------------------------------------------- 23. product page */
.product { padding-block: clamp(26px, 4vw, 48px) clamp(48px, 7vw, 86px); }

.draft-note {
  padding: 13px 16px;
  margin-bottom: 24px;
  border: 1px dashed var(--accent);
  border-radius: var(--r-md);
  background: var(--accent-wash);
  font-size: 13.5px;
}
.draft-note a { color: var(--accent); text-decoration: underline; }

.product__top { display: grid; grid-template-columns: 1fr; gap: clamp(26px, 4vw, 54px); }

.gallery__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--surface-2);
}
.gallery__badge { position: absolute; top: 14px; left: 14px; z-index: 4; }
.gallery__frame {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease);
}
.gallery__frame.is-active { opacity: 1; visibility: visible; }
.gallery__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease-out);
}
/* Cursor-tracked zoom, driven by --zx/--zy from site.js */
.gallery__frame.is-zooming img {
  transform: scale(2);
  transform-origin: var(--zx, 50%) var(--zy, 50%);
  transition: transform 0.12s linear;
}
.gallery__hint {
  position: absolute;
  bottom: 12px; right: 14px;
  z-index: 4;
  margin: 0;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(16, 13, 10, 0.55);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity var(--t) var(--ease);
  pointer-events: none;
}
.gallery__stage:hover .gallery__hint { opacity: 1; }

.gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-top: -22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--t) var(--ease), background-color var(--t) var(--ease),
    color var(--t) var(--ease);
}
.gallery__stage:hover .gallery__nav,
.gallery__nav:focus-visible { opacity: 1; }
.gallery__nav svg { width: 20px; height: 20px; }
.gallery__nav:hover { background: var(--ink); color: var(--bg); }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }

.gallery__thumbs {
  display: flex;
  gap: 9px;
  margin-top: 12px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.gallery__thumb {
  width: 76px; height: 76px;
  flex: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
  opacity: 0.6;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--accent); opacity: 1; }

.product__brand {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.product__brand:hover { color: var(--accent-deep); }

.product__title { font-size: clamp(26px, 4.2vw, 44px); line-height: 1.1; }

.product__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 18px;
  padding-block: 16px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.product__meta li { display: flex; flex-direction: column; gap: 2px; }
.product__meta span {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.product__meta strong { font-size: 13.5px; font-weight: 500; }
.product__meta a:hover { color: var(--accent); }

.product__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.product__price-note {
  flex-basis: 100%;
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.product__excerpt {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.product__cta {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-alt);
}
.product__wa { font-size: 13.5px; }
.product__cta-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); text-align: center; }
.product__cta-note a { color: var(--accent); text-decoration: underline; }
.product__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.product__cta-row .btn { flex: 1; min-width: 118px; }

.product__quick-specs { margin-top: 26px; }
.product__sub {
  margin-bottom: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.product__quick-specs dl { margin: 0; }
.product__quick-specs div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.product__quick-specs dt { color: var(--muted); }
.product__quick-specs dd { margin: 0; font-weight: 500; text-align: right; }

/* tabs ------------------------------------------------------------------- */
.product__tabs { margin-top: clamp(40px, 6vw, 72px); }
.tabs__bar {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.tabs__bar::-webkit-scrollbar { display: none; }
.tabs__btn {
  position: relative;
  padding: 14px 20px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--t) var(--ease);
}
.tabs__btn::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--t) var(--ease);
}
.tabs__btn:hover { color: var(--ink); }
.tabs__btn.is-active { color: var(--accent); }
.tabs__btn.is-active::after { transform: scaleX(1); }

.tabs__panel { display: none; padding-top: 28px; animation: fadeUp 0.4s var(--ease-out); }
.tabs__panel.is-active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.prose { max-width: 76ch; font-size: 15px; line-height: 1.8; color: var(--ink-soft); }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 0.6em; color: var(--ink); font-family: var(--font-display); }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose h4 { font-size: 17px; font-family: var(--font-sans); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.45em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--accent);
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
}
.prose img { border-radius: var(--r-md); margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 14px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface-2); font-weight: 600; }
.prose code {
  padding: 2px 6px;
  border-radius: var(--r);
  background: var(--surface-2);
  font-size: 0.9em;
}

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; max-width: 760px; }
.spec-table th,
.spec-table td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.spec-table th {
  width: 38%;
  background: var(--bg-alt);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.spec-table tr:hover th { color: var(--ink); }

.wa-preview {
  margin: 0 0 1.2em;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--wa);
  border-radius: var(--r-md);
  background: var(--surface-2);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--ink-soft);
  overflow-x: auto;
}

/* sticky enquiry bar ---------------------------------------------------- */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 85;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, 0.4);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease-out);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .sticky-bar { background: var(--bg); }
}
.sticky-bar.is-visible { transform: none; }
.sticky-bar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sticky-bar__name {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-bar__price { font-size: 12.5px; color: var(--accent); font-weight: 600; }
.sticky-bar__btn { flex: none; min-height: 42px; padding-inline: 20px; }

/* ------------------------------------------------------- 24. contact / about */
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.contact__panel {
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-alt);
}
.contact__title { font-family: var(--font-display); font-size: 27px; font-weight: 600; }
.contact__text { margin: 12px 0 22px; color: var(--ink-soft); }
.contact__note { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }

.contact__details li {
  display: flex;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact__details svg { width: 21px; height: 21px; color: var(--accent); flex: none; margin-top: 3px; }
.contact__details span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact__details p { margin: 3px 0 0; font-size: 14.5px; }
.contact__details a:hover { color: var(--accent); }

.contact__map {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  aspect-ratio: 16 / 9;
}
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }

.about__grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.about__aside {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-alt);
  align-self: start;
}
.about__aside-title { font-family: var(--font-display); font-size: 23px; font-weight: 600; margin-bottom: 8px; }
.about__aside p { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.about__aside .btn + .btn { margin-top: 9px; }

/* ----------------------------------------------------------- 25. empty state */
.empty-state {
  padding: clamp(40px, 7vw, 86px) 20px;
  text-align: center;
}
.empty-state svg { width: 46px; height: 46px; margin: 0 auto 18px; color: var(--muted-2); }
.empty-state h1 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 12px; }
.empty-state h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 600; margin-bottom: 10px; }
.empty-state p { max-width: 50ch; margin-inline: auto; color: var(--muted); }
.empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin-top: 26px;
}
.empty-state--inline {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: var(--bg-alt);
}
.error-code {
  font-size: clamp(74px, 14vw, 140px);
  line-height: 1;
  color: var(--accent);
  opacity: 0.22;
  margin-bottom: -10px;
}

/* ------------------------------------------------------- 26. floating button */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: var(--r-pill);
  background: var(--wa);
  color: #06281a;
  box-shadow: 0 14px 34px -12px rgba(37, 211, 102, 0.7);
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease),
    transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float__label {
  display: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wa-float:hover {
  background: var(--wa-deep);
  color: #fff;
  transform: translateY(-3px) scale(1.03);
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid var(--wa);
  animation: ripple 2.6s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* ----------------------------------------------------------- 27. breakpoints */
@media (min-width: 480px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wa-float__label { display: inline; }
  .wa-float { padding: 13px 20px 13px 16px; }
}

@media (min-width: 640px) {
  :root { --gutter: 22px; }
  .usp__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promo--half { grid-column: span 3; }
  .promo--third { grid-column: span 2; }
  .site-footer__bar-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .site-footer__cta-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 900px) {
  body { font-size: 15.5px; }
  .site-header__burger { display: none; }
  .site-header__grid { grid-template-columns: 240px 1fr auto; gap: 24px; }
  .search { display: flex; }
  .site-header__actions [data-search-open] { display: none; }
  .site-header__wa { display: inline-flex; }
  .mainnav { display: block; }
  .hero__nav { display: inline-flex; }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-grid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
  .product__top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .product__info { padding-top: 6px; }
  .about__grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 50px; }
  .toolbar__cols { display: flex; }

  /* Sidebar becomes a real column on desktop. */
  .arch { grid-template-columns: 268px minmax(0, 1fr); gap: 40px; align-items: start; }
  .arch__side {
    position: sticky;
    top: calc(var(--header-h) + 12px);
    left: auto;
    width: auto;
    height: auto;
    max-height: calc(100dvh - var(--header-h) - 30px);
    padding: 0 0 10px;
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    background: var(--surface);
    transform: none;
    overflow-y: auto;
  }
  .arch__side-head { display: none; }
  .toolbar__filters { display: none; }
  .filters { padding-inline: 18px; }
  .filters__group--links { padding-inline: 18px; }

  /* Gallery sticks while the long description scrolls. */
  .product__gallery { position: sticky; top: calc(var(--header-h) + 14px); }

  .sticky-bar { display: none; }
}

@media (min-width: 1200px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega { width: 820px; }
  .mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Grid density control from the archive toolbar. */
[data-grid].cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (min-width: 900px) {
  [data-grid].cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  [data-grid].cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

/* ------------------------------------------------------ 28. reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover,
  .card:hover,
  .cat-tile:hover,
  .brand-card:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .wa-float, .sticky-bar, .announce,
  .hero__nav, .hero__dots, .card__hover { display: none !important; }
  body { background: #fff; color: #000; }
}
