/* Media55 — trgovina z delovnimi zaščitnimi oblačili */

:root {
  /* palette — graphite ink, cool workwear ground, hi-vis yellow, reflective silver */
  --ink: #17191c;
  --ink-2: #2a2e33;
  --ink-soft: #4a5058;
  --muted: #5d636b;
  --ground: #f2f3f1;
  --paper: #ffffff;
  --plate: #e7e9e6;
  --line: #d6d9d5;
  --line-strong: #b9bdb8;
  --hivis: #e4f222;
  --hivis-deep: #cfdc12;
  --hivis-ink: #1b1d0a;
  --silver-1: #c9cdd1;
  --silver-2: #eef0f2;
  --danger: #b3261e;
  --ok: #2f6b2a;
  --sale: #b3261e;

  --font: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --wide: 112;      /* display width axis */

  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1360px;

  --shadow-1: 0 1px 2px rgb(23 25 28 / .06), 0 2px 6px rgb(23 25 28 / .05);
  --shadow-2: 0 4px 10px rgb(23 25 28 / .08), 0 18px 40px rgb(23 25 28 / .12);

  /* motion tokens (transitions.dev scale) */
  --duration-micro: 80ms;
  --duration-quick: 150ms;
  --duration-fast: 250ms;
  --duration-medium: 350ms;
  --duration-slow: 400ms;
  --duration-very-slow: 500ms;
  --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.36, 0.64, 1);
  --ease-close: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--ink);
  accent-color: var(--ink);
  overflow-x: hidden;
}
::selection { background: var(--hivis); color: var(--hivis-ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-stretch: 112%; font-variation-settings: "wdth" var(--wide); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
.num, .price, .tabular { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--hivis); border-radius: var(--r-xs); }
html { scrollbar-color: var(--line-strong) var(--ground); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 10px; border: 3px solid var(--ground); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--hivis); color: var(--hivis-ink); padding: 10px 14px; z-index: 100; font-weight: 700; border-radius: var(--r-sm); }
.skip:focus { top: 8px; }

/* reflective tape — the signature divider: two silver bands */
.tape { position: relative; height: 18px; background:
  linear-gradient(var(--silver-1), var(--silver-1)) 0 0 / 100% 6px no-repeat,
  linear-gradient(var(--silver-1), var(--silver-1)) 0 100% / 100% 6px no-repeat;
  overflow: hidden; }
.tape--dark { background:
  linear-gradient(#5a6068, #5a6068) 0 0 / 100% 6px no-repeat,
  linear-gradient(#5a6068, #5a6068) 0 100% / 100% 6px no-repeat; }
.tape__glint { position: absolute; inset: 0; width: 22%; left: -25%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .95) 50%, transparent);
  mask: linear-gradient(#000, #000) 0 0 / 100% 6px no-repeat, linear-gradient(#000, #000) 0 100% / 100% 6px no-repeat;
  -webkit-mask: linear-gradient(#000, #000) 0 0 / 100% 6px no-repeat, linear-gradient(#000, #000) 0 100% / 100% 6px no-repeat;
  pointer-events: none; }

/* ---------- icons ---------- */
.ico { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 18px; height: 18px; }

/* ---------- buttons ---------- */
.btn { --bh: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--bh); padding: 0 22px;
  border: 0; border-radius: var(--r-sm); font-weight: 700; font-size: 15px; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: background-color var(--duration-quick) ease-out, color var(--duration-quick) ease-out, box-shadow var(--duration-quick) ease-out, transform var(--duration-quick) var(--ease-smooth-out); }
.btn:active { transform: scale(.96); }
.btn--primary { background: var(--hivis); color: var(--hivis-ink); box-shadow: inset 0 -2px 0 rgb(0 0 0 / .12); }
.btn--primary:hover { background: var(--hivis-deep); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { --bh: 56px; font-size: 16px; padding: 0 28px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.is-loading { color: transparent !important; position: relative; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--hivis-ink); border-right-color: transparent; animation: spin .7s linear infinite; }
.btn--dark.is-loading::after { border-color: #fff; border-right-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow .ico { transition: transform var(--duration-fast) var(--ease-smooth-out); }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- header ---------- */
.topbar { background: var(--ink); color: #dfe2e5; font-size: 13px; }
.topbar .container { display: flex; gap: 28px; align-items: center; justify-content: space-between; min-height: 36px; }
.topbar ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar li .ico { width: 16px; height: 16px; color: var(--hivis); }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }

.header { position: sticky; top: 0; z-index: 40; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.header__main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 3vw, 40px); min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 0; text-decoration: none; font-weight: 850; font-size: 25px; letter-spacing: -.01em; font-stretch: 125%; font-variation-settings: "wdth" 125; line-height: 1; }
.logo__mark { display: inline-grid; place-items: center; background: var(--hivis); color: var(--hivis-ink); padding: 5px 7px 4px; margin-left: 3px; border-radius: var(--r-xs); }
.search { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--ground); padding: 0 48px 0 20px; font-size: 15px; transition: border-color var(--duration-quick) ease-out, background-color var(--duration-quick) ease-out; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--ink); background: #fff; }
.search button { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; }
.search__results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 8px; z-index: 50; display: none; max-height: 70vh; overflow: auto; }
.search__results.is-open { display: block; animation: dd-in var(--duration-fast) var(--ease-smooth-out); }
.search__item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 6px; border-radius: var(--r-sm); text-decoration: none; }
.search__item:hover, .search__item.is-active { background: var(--ground); }
.search__item img { width: 52px; height: 52px; object-fit: contain; background: var(--plate); border-radius: var(--r-xs); mix-blend-mode: multiply; }
.search__item span { font-size: 14px; line-height: 1.3; }
.search__item b { font-size: 14px; font-variant-numeric: tabular-nums; }
.search__all { display: block; padding: 10px; text-align: center; font-weight: 700; font-size: 14px; }
.search__empty { padding: 16px; color: var(--muted); font-size: 14px; }

.header__actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); text-decoration: none; transition: background-color var(--duration-quick) ease-out, transform var(--duration-quick) var(--ease-smooth-out); }
.icon-btn:hover { background: var(--ground); }
.icon-btn:active { transform: scale(.96); }
.icon-btn--label { width: auto; border-radius: 999px; padding: 0 14px 0 10px; display: inline-flex; gap: 8px; font-weight: 600; font-size: 14px; }
.menu-toggle { display: none; }

/* cart badge — transitions.dev notification badge */
.t-badge { position: absolute; top: 2px; right: 0; pointer-events: none; will-change: transform; }
.t-badge[data-open="true"] { animation: t-badge-slide-in 260ms var(--ease-smooth-out); }
.t-badge-dot { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--hivis); color: var(--hivis-ink); font-size: 11.5px; font-weight: 800; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px #fff;
  transform: scale(1); opacity: 1; filter: blur(0);
  transition: transform 500ms var(--ease-bounce), opacity 400ms var(--ease-bounce), filter 500ms var(--ease-bounce); }
.t-badge[data-open="false"] .t-badge-dot { transform: scale(0); opacity: 0; filter: blur(2px); transition: transform 180ms var(--ease-close), opacity 180ms var(--ease-close), filter 180ms var(--ease-close); }
.t-badge.is-bump .t-badge-dot { animation: bump 420ms var(--ease-bounce); }
@keyframes t-badge-slide-in { from { transform: translate(-8.2px, 12.4px); } to { transform: translate(0, 0); } }
@keyframes bump { 40% { transform: scale(1.25); } }

/* nav */
.nav { border-top: 1px solid var(--line); }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; font-weight: 650; font-size: 14.5px; text-decoration: none; border: 0; background: none; border-radius: var(--r-sm); }
.nav__link .ico { width: 16px; height: 16px; transition: transform var(--duration-fast) var(--ease-smooth-out); }
.nav__item:hover .nav__link .ico, .nav__item:focus-within .nav__link .ico { transform: scaleY(-1); }
.nav__link:hover { background: var(--ground); }
.nav__link--sale { color: var(--sale); }
.nav__item--push { margin-left: auto; }
.dropdown { position: absolute; top: calc(100% - 4px); left: 0; min-width: 260px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 10px; z-index: 60;
  transform-origin: top left; opacity: 0; transform: scale(.97); visibility: hidden; pointer-events: none;
  transition: opacity 150ms var(--ease-smooth-out), transform 150ms var(--ease-smooth-out), visibility 0s linear 150ms; }
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown { opacity: 1; transform: scale(1); visibility: visible; pointer-events: auto; transition: opacity 250ms var(--ease-smooth-out), transform 250ms var(--ease-smooth-out), visibility 0s; }
.dropdown a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; font-size: 14.5px; }
.dropdown a:hover { background: var(--ground); }
.dropdown a small { color: var(--muted); font-variant-numeric: tabular-nums; }
.dropdown a.dropdown__all { font-weight: 700; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); margin-top: 4px; }
.dropdown--brands { display: grid; grid-template-columns: 1fr 1fr; min-width: 380px; }
@keyframes dd-in { from { opacity: 0; transform: scale(.97) translateY(-4px); } }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__scrim { position: absolute; inset: 0; background: rgb(23 25 28 / .45); opacity: 0; transition: opacity var(--duration-medium) var(--ease-smooth-out); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; bottom: 0; right: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--duration-medium) var(--ease-smooth-out); box-shadow: var(--shadow-2); }
.drawer--left .drawer__panel { right: auto; left: 0; transform: translateX(-100%); }
.drawer.is-open .drawer__panel { transform: none; transition-duration: var(--duration-slow); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.2rem; margin: 0; }
.drawer__body { flex: 1; overflow: auto; padding: 18px 22px; overscroll-behavior: contain; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 22px; display: grid; gap: 10px; background: var(--paper); }
.mnav a, .mnav summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; text-decoration: none; font-weight: 650; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details a { padding-left: 14px; font-weight: 500; }
.mnav details[open] summary .ico { transform: scaleY(-1); }

/* ---------- free-shipping meter ---------- */
.ship-meter { font-size: 14px; }
.ship-meter__bar { height: 8px; border-radius: 99px; background: var(--plate); overflow: hidden; margin-top: 8px; }
.ship-meter__fill { height: 100%; background: var(--ink); border-radius: 99px; transition: width var(--duration-slow) var(--ease-smooth-out); }
.ship-meter.is-free .ship-meter__fill { background: var(--ok); }

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 22px 0 18px; font-size: 13.5px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- hero ---------- */
.hero { background: var(--hivis); color: var(--hivis-ink); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(620px, calc(100svh - 170px)); padding-block: clamp(36px, 6vw, 72px); }
.hero h1 { font-size: clamp(2.4rem, 1.2rem + 4.4vw, 5.2rem); font-weight: 850; letter-spacing: -0.03em; line-height: .98; font-stretch: 118%; font-variation-settings: "wdth" 118; margin-bottom: .35em; max-width: 12ch; }
.hero__lead { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); max-width: 46ch; color: #3a3d18; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn--primary { background: var(--ink); color: #fff; box-shadow: none; }
.hero__actions .btn--primary:hover { background: var(--ink-2); }
.hero__actions .btn--ghost { box-shadow: inset 0 0 0 1.5px var(--hivis-ink); color: var(--hivis-ink); }
.hero__actions .btn--ghost:hover { background: var(--hivis-ink); color: var(--hivis); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 34px 0 0; padding: 0; list-style: none; font-weight: 650; font-size: 14.5px; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .ico { width: 18px; height: 18px; }
.hero__stage { position: relative; aspect-ratio: 1 / 1; max-height: 560px; justify-self: stretch; }
.hero__garment { position: absolute; background: #fff; border-radius: var(--r-lg); box-shadow: 0 10px 30px rgb(27 29 10 / .18); overflow: hidden; text-decoration: none; }
.hero__garment img { width: 100%; height: 100%; object-fit: contain; }
.hero__garment--a { left: 0; top: 4%; width: 58%; height: 78%; }
.hero__garment--b { right: 0; top: 0; width: 38%; height: 46%; }
.hero__garment--c { right: 4%; bottom: 2%; width: 44%; height: 44%; }
.hero__tag { position: absolute; left: 12px; bottom: 12px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: var(--r-xs); font-variant-numeric: tabular-nums; }
.hero__band { position: absolute; left: 0; right: 0; bottom: 0; }

/* ---------- sections ---------- */
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }
.section--paper { background: var(--paper); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section__head h2 { margin: 0; }
.section__head p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }

/* category index — a size-chart-like ruled list rather than tiles */
.cat-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.cat-row { position: relative; display: grid; grid-template-columns: 1fr 96px; gap: 16px; align-items: center; padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; min-height: 132px; transition: background-color var(--duration-quick) ease-out; }
.cat-row:nth-child(3n+2), .cat-row:nth-child(3n+3) { padding-left: 22px; border-left: 1px solid var(--line-strong); }
.cat-row:hover { background: var(--paper); }
.cat-row h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); margin: 0 0 4px; }
.cat-row span { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.cat-row img { width: 96px; height: 96px; object-fit: contain; mix-blend-mode: multiply; transition: transform var(--duration-slow) var(--ease-smooth-out); }
.cat-row:hover img { transform: scale(1.06) rotate(-2deg); }
.cat-row .ico { position: absolute; right: 0; top: 18px; width: 18px; height: 18px; opacity: 0; transform: translate(-4px, 4px); transition: opacity var(--duration-fast) var(--ease-smooth-out), transform var(--duration-fast) var(--ease-smooth-out); }
.cat-row:hover .ico { opacity: 1; transform: none; }

/* ---------- product grid & tile ---------- */
.grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px) clamp(12px, 1.6vw, 22px); }
.grid--shop { --cols: 3; }
.tile { position: relative; display: flex; flex-direction: column; text-decoration: none; }
.tile__media { position: relative; aspect-ratio: 4 / 5; background: var(--plate); border-radius: var(--r-md); overflow: hidden; outline: 1px solid rgb(0 0 0 / .06); outline-offset: -1px; }
.tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; transition: opacity var(--duration-slow) var(--ease-smooth-out), transform var(--duration-very-slow) var(--ease-smooth-out); }
.tile__media img + img { opacity: 0; }
@media (hover: hover) {
  .tile:hover .tile__media img:first-child:not(:only-child) { opacity: 0; }
  .tile:hover .tile__media img + img { opacity: 1; }
  .tile:hover .tile__media img:only-child { transform: scale(1.04); }
}
.tile__badges { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 1; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: var(--r-xs); font-size: 12px; font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; background: var(--ink); color: #fff; }
.badge--sale { background: var(--hivis); color: var(--hivis-ink); }
.badge--line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.tile__body { padding: 12px 2px 0; display: grid; gap: 4px; }
.tile__title { font-size: 15px; font-weight: 600; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty; }
.tile:hover .tile__title { text-decoration: underline; text-decoration-thickness: 1px; }
.tile__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; }
.tile__price { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.price { font-weight: 800; font-size: 17px; }
.price--sale { color: var(--sale); }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 14px; font-variant-numeric: tabular-nums; }
.dots { display: inline-flex; gap: 4px; }
.dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); }

/* ---------- brand strip ---------- */
.brands { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 800; font-stretch: 118%; font-variation-settings: "wdth" 118; letter-spacing: .02em; text-transform: uppercase; font-size: 15px; transition: box-shadow var(--duration-quick) ease-out, background-color var(--duration-quick) ease-out; }
.brand-chip small { font-weight: 600; color: var(--muted); font-stretch: 100%; font-variation-settings: "wdth" 100; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.brand-chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- story / b2b ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split__media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--plate); aspect-ratio: 5 / 4; }
.split__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.checks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.checks .ico { width: 22px; height: 22px; padding: 3px; background: var(--hivis); border-radius: 50%; color: var(--hivis-ink); stroke-width: 2.4; }
.b2b { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.b2b h2 { color: #fff; max-width: 18ch; }
.b2b p { color: #c8ccd1; max-width: 52ch; margin: 0; }
.b2b__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.b2b .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.b2b .btn--ghost:hover { background: #fff; color: var(--ink); }

/* ---------- service strip ---------- */
.service { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.service > div { padding: 22px 22px 22px 0; display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.service > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.service b { display: block; font-size: 15px; }
.service span { color: var(--muted); font-size: 14px; }

/* ---------- shop layout ---------- */
.shop-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.shop-head h1 { margin: 0; }
.shop-head p { margin: 8px 0 0; color: var(--muted); max-width: 70ch; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.subcats a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; font-size: 14px; }
.subcats a small { color: var(--muted); font-variant-numeric: tabular-nums; }
.subcats a:hover, .subcats a[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.shop { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; padding-bottom: 80px; }
.filters { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow: auto; padding-right: 6px; }
.filters__head, .filters__foot { display: none; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 52px; background: none; border: 0; padding: 0; font-weight: 750; font-size: 15px; text-align: left; }
.fgroup__btn .ico { width: 18px; height: 18px; transition: transform var(--duration-fast) var(--ease-smooth-out); vector-effect: non-scaling-stroke; }
.fgroup[data-open="true"] .fgroup__btn .ico { transform: scaleY(-1); }
/* transitions.dev accordion — grid 0fr → 1fr */
.t-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 250ms var(--ease-smooth-out); }
[data-open="true"] > .t-acc-panel { grid-template-rows: 1fr; }
.t-acc-panel > .t-acc-panel-inner { overflow: hidden; min-height: 0; }
.fgroup .t-acc-panel-inner > div { padding-bottom: 16px; }
.fcheck { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14.5px; cursor: pointer; }
.fcheck input { width: 18px; height: 18px; margin: 0; }
.fcheck small { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.fcheck.is-empty { opacity: .45; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 6px; }
.chip { position: relative; display: inline-grid; place-items: center; min-height: 40px; padding: 0 8px; border-radius: var(--r-xs); background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 13.5px; font-weight: 650; font-variant-numeric: tabular-nums; border: 0; cursor: pointer; transition: box-shadow var(--duration-quick) ease-out, background-color var(--duration-quick) ease-out, color var(--duration-quick) ease-out; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 6px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; }
.swatch i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .18); }
.swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-range label { font-size: 12.5px; color: var(--muted); display: grid; gap: 4px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.switch { appearance: none; width: 40px; height: 24px; border-radius: 99px; background: var(--line-strong); position: relative; cursor: pointer; margin: 0; transition: background-color 250ms var(--ease-smooth-out); flex: none; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform 350ms cubic-bezier(0.34, 1.35, 0.64, 1); }
.switch:checked { background: var(--ink); }
.switch:checked::after { transform: translateX(16px); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; min-height: 44px; }
.toolbar__count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.toolbar__right { display: flex; gap: 10px; align-items: center; }
.filters-open { display: none; }
.select { height: 44px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2317191c' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center; padding: 0 38px 0 14px; appearance: none; font-size: 14.5px; font-weight: 600; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 18px; }
.active-filters:empty { display: none; }
.afilter { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; border-radius: 999px; background: var(--ink); color: #fff; border: 0; font-size: 13px; font-weight: 600; }
.afilter .ico { width: 14px; height: 14px; }
.afilter--clear { background: transparent; color: var(--ink); text-decoration: underline; }
.empty { text-align: center; padding: 60px 20px; background: var(--paper); border-radius: var(--r-lg); }
.empty p { color: var(--muted); }
.grid.is-updating .tile { animation: tile-in var(--duration-slow) var(--ease-smooth-out) both; }
@keyframes tile-in { from { opacity: 0; transform: translateY(6px); filter: blur(2px); } }
.load-more { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: 40px; }
.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; position: sticky; top: 140px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 8px; max-height: 640px; overflow: auto; scrollbar-width: none; }
.gallery__thumb { width: 76px; height: 92px; flex: none; padding: 4px; border: 0; border-radius: var(--r-sm); background: var(--plate); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow var(--duration-quick) ease-out; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__thumb[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.gallery__main { position: relative; aspect-ratio: 4 / 5; background: var(--plate); border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; outline: 1px solid rgb(0 0 0 / .06); outline-offset: -1px; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 5%; mix-blend-mode: multiply; transition: transform var(--duration-fast) var(--ease-smooth-out), opacity var(--duration-fast) ease-out; }
.gallery__main.is-zoom img { transform: scale(2.1); transition: transform 0s; }
.gallery__hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; background: rgb(255 255 255 / .85); padding: 6px 10px; border-radius: 99px; pointer-events: none; }
.gallery__nav { display: none; }
.pinfo h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.35rem); margin-bottom: 10px; }
.pinfo__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.pinfo__brand a { font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; font-stretch: 118%; font-variation-settings: "wdth" 118; }
.pinfo__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 18px 0 4px; }
.pinfo__price .price { font-size: 2rem; font-weight: 850; letter-spacing: -.01em; }
.pinfo__price .save { background: var(--hivis); color: var(--hivis-ink); font-weight: 800; font-size: 13px; padding: 4px 8px; border-radius: var(--r-xs); font-variant-numeric: tabular-nums; }
.pinfo__net { color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; margin-bottom: 22px; }
.opt { margin-bottom: 22px; }
.opt__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 14.5px; }
.opt__label b { font-weight: 750; }
.opt__label a { font-size: 13.5px; }
.colorway { display: flex; flex-wrap: wrap; gap: 8px; }
.colorway a { width: 64px; height: 76px; border-radius: var(--r-sm); background: var(--plate); padding: 4px; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow var(--duration-quick) ease-out; }
.colorway a img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.colorway a:hover { box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.colorway a[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
/* sizes as woven labels */
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.size { position: relative; min-height: 50px; border: 0; border-radius: var(--r-xs); background: #fff; font-weight: 750; font-size: 15px; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow var(--duration-quick) ease-out, background-color var(--duration-quick) ease-out, color var(--duration-quick) ease-out, transform var(--duration-quick) var(--ease-smooth-out); }
.size::before { content: ""; position: absolute; inset: 4px; border: 1px dashed transparent; border-radius: 2px; pointer-events: none; transition: border-color var(--duration-quick) ease-out; }
.size:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.size:active { transform: scale(.96); }
.size[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.size[aria-checked="true"]::before { border-color: rgb(255 255 255 / .45); }
.size[data-available="false"] { color: var(--muted); background: repeating-linear-gradient(135deg, #fff 0 6px, var(--ground) 6px 7px); text-decoration: line-through; cursor: not-allowed; }
.stock { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin: 12px 0 0; min-height: 22px; }
.stock i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgb(47 107 42 / .18); }
.stock.is-out i { background: var(--danger); box-shadow: 0 0 0 3px rgb(179 38 30 / .16); }
.stock.is-pick i { background: var(--line-strong); box-shadow: none; }
.buy { display: grid; grid-template-columns: 128px 1fr; gap: 10px; margin: 22px 0 10px; }
.qty { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; height: 56px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1.5px var(--line-strong); background: #fff; }
.qty button { height: 100%; border: 0; background: none; display: grid; place-items: center; border-radius: var(--r-sm); }
.qty button:hover { background: var(--ground); }
.qty input { width: 100%; border: 0; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm { height: 40px; grid-template-columns: 32px 34px 32px; width: max-content; }
.buy__error { color: var(--danger); font-size: 14px; font-weight: 600; min-height: 20px; }
.perks { list-style: none; padding: 18px 0 0; margin: 18px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--line); font-size: 14.5px; }
.perks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; }
.perks b { font-weight: 700; }
.ptabs { margin-top: 28px; border-top: 2px solid var(--ink); }
.ptab { border-bottom: 1px solid var(--line); }
.ptab > button { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 58px; background: none; border: 0; padding: 0; font-weight: 750; font-size: 16px; text-align: left; }
.ptab > button .ico { width: 18px; height: 18px; transition: transform var(--duration-fast) var(--ease-smooth-out); }
.ptab[data-open="true"] > button .ico { transform: scaleY(-1); }
.ptab .t-acc-panel-inner > div { padding-bottom: 22px; }
.prose { font-size: 15.5px; max-width: 72ch; }
.prose h2 { font-size: 1.3rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.05rem; margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--r-md); margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 1em 0; font-variant-numeric: tabular-nums; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--ground); }
.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; font-weight: 600; color: var(--muted); padding-right: 16px; }
.specs td { font-variant-numeric: tabular-nums; }
.sticky-buy { display: none; }

/* lightbox (modal per transitions.dev) */
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgb(242 243 241 / .97); display: grid; grid-template-rows: auto 1fr auto; visibility: hidden; opacity: 0; transition: opacity 150ms var(--ease-smooth-out), visibility 0s linear 150ms; }
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity 250ms var(--ease-smooth-out), visibility 0s; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-variant-numeric: tabular-nums; font-weight: 600; }
.lightbox__img { display: grid; place-items: center; overflow: hidden; padding: 0 64px; transform: scale(.96); transition: transform 150ms var(--ease-smooth-out); }
.lightbox.is-open .lightbox__img { transform: none; transition-duration: 250ms; }
.lightbox__img img { max-height: calc(100vh - 140px); width: auto; mix-blend-mode: multiply; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; box-shadow: var(--shadow-1); }
.lightbox__prev { left: 14px; } .lightbox__next { right: 14px; }
.lightbox__prev:hover, .lightbox__next:hover { background: #fff; }

/* ---------- toast (transitions.dev) ---------- */
.toasts { position: fixed; z-index: 99; right: 20px; bottom: 20px; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.t-toast { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; background: var(--ink); color: #fff; padding: 10px 10px 10px 10px; border-radius: var(--r-lg); box-shadow: var(--shadow-2);
  opacity: 0; transform: translateY(16px) scale(.97); filter: blur(2px);
  transition: opacity 250ms var(--ease-smooth-out), transform 250ms var(--ease-smooth-out), filter 250ms var(--ease-smooth-out); }
.t-toast.is-open { opacity: 1; transform: none; filter: blur(0); transition-duration: 350ms; }
.t-toast img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: var(--r-sm); }
.t-toast b { display: block; font-size: 14px; }
.t-toast span { font-size: 13px; color: #c8ccd1; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.t-toast a { color: var(--hivis); font-weight: 700; font-size: 13.5px; padding: 8px; text-decoration: none; white-space: nowrap; }
.t-toast--plain { grid-template-columns: 1fr auto; padding: 14px 16px; }

/* ---------- cart ---------- */
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__img { width: 84px; height: 100px; border-radius: var(--r-sm); background: var(--plate); padding: 4px; }
.line__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line__title { font-weight: 650; font-size: 14.5px; line-height: 1.35; text-decoration: none; display: block; margin-bottom: 4px; }
.line__meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.line__price { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line__price small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.line__remove { border: 0; background: none; font-size: 13px; color: var(--muted); text-decoration: underline; padding: 6px 0; margin-left: 12px; min-height: 32px; }
.line__remove:hover { color: var(--danger); }
.line__actions { display: flex; align-items: center; }
.line.is-leaving { animation: line-out var(--duration-medium) var(--ease-smooth-out) forwards; }
@keyframes line-out { to { opacity: 0; transform: translateY(-8px); filter: blur(2px); } }
.totals { display: grid; gap: 8px; font-size: 15px; font-variant-numeric: tabular-nums; }
.totals > div { display: flex; justify-content: space-between; gap: 16px; }
.totals .muted { color: var(--muted); font-size: 13.5px; }
.totals .grand { font-size: 1.25rem; font-weight: 850; padding-top: 12px; margin-top: 4px; border-top: 2px solid var(--ink); }
.cart-page { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 80px; }
.panel { background: var(--paper); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 28px); box-shadow: var(--shadow-1); }
.panel + .panel { margin-top: 16px; }
.summary { position: sticky; top: 140px; }
.summary h2 { font-size: 1.25rem; }
.coupon { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 16px 0; }
.empty-cart { text-align: center; padding: 48px 12px; }
.empty-cart .ico { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--muted); stroke-width: 1.25; }
.pay-marks { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-mark { height: 30px; min-width: 48px; padding: 0 8px; display: inline-grid; place-items: center; border-radius: var(--r-xs); background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 11px; font-weight: 800; letter-spacing: .02em; color: var(--ink); }
.pay-mark svg { height: 16px; width: auto; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: 13.5px; font-weight: 650; }
.field .opt-label { color: var(--muted); font-weight: 500; }
.input, .textarea { width: 100%; min-height: 48px; border-radius: var(--r-sm); border: 1.5px solid var(--line-strong); background: #fff; padding: 0 14px; font-size: 15px; transition: border-color var(--duration-quick) ease-out, box-shadow var(--duration-quick) ease-out; }
.textarea { padding: 12px 14px; min-height: 140px; resize: vertical; }
.input:hover, .textarea:hover { border-color: var(--ink-soft); }
.input:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgb(228 242 34 / .9); }
.input::placeholder, .textarea::placeholder { color: #80868e; }
.field.is-error .input, .field.is-error .textarea { border-color: var(--danger); }
.field__err { font-size: 13px; color: var(--danger); font-weight: 600; display: none; }
.field.is-error .field__err { display: block; }
/* transitions.dev error shake */
.is-shaking { animation: shake 300ms var(--ease-smooth-out); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.form-section { padding-top: 26px; margin-top: 26px; border-top: 1px solid var(--line); }
.form-section:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.form-section h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; font-stretch: 100%; }
.choice { display: grid; gap: 10px; }
.choice__opt { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer; transition: box-shadow var(--duration-quick) ease-out; }
.choice__opt:hover { box-shadow: inset 0 0 0 1.5px var(--ink-soft); }
.choice__opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); background: #fdfdf7; }
.choice__opt > input { width: 18px; height: 18px; margin: 0; }
.choice__opt b { display: block; font-size: 15px; }
.choice__opt span { font-size: 13.5px; color: var(--muted); }
.choice__opt em { font-style: normal; font-weight: 750; font-variant-numeric: tabular-nums; }
.choice__more { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 250ms var(--ease-smooth-out); }
.choice__opt:has(input:checked) .choice__more { grid-template-rows: 1fr; }
.choice__more > div { overflow: hidden; min-height: 0; }
.choice__more .form-grid { padding-top: 14px; }
.notice { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 14px 16px; border-radius: var(--r-md); background: #fbfde3; box-shadow: inset 0 0 0 1px #e0e8a0; font-size: 14px; }
.notice--info { background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 80px; }
.mini-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; font-size: 14px; }
.mini-line__img { position: relative; width: 56px; height: 64px; background: var(--plate); border-radius: var(--r-sm); padding: 3px; }
.mini-line__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mini-line__img b { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 11px; font-variant-numeric: tabular-nums; }
.mini-line span { line-height: 1.3; }
.mini-line small { display: block; color: var(--muted); font-size: 12.5px; }
.mini-line em { font-style: normal; font-weight: 750; font-variant-numeric: tabular-nums; }

/* confirmation — transitions.dev success check */
.confirm { max-width: 760px; margin: 0 auto; padding: 48px 0 96px; }
.t-check { width: 84px; height: 84px; border-radius: 50%; background: var(--hivis); display: grid; place-items: center; margin-bottom: 22px;
  animation: check-in 500ms var(--ease-smooth-out) both, check-bob 500ms cubic-bezier(0.34, 1.35, 0.64, 1) both; }
.t-check svg { width: 42px; height: 42px; stroke: var(--hivis-ink); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.t-check path { stroke-dasharray: 32; stroke-dashoffset: 32; animation: check-draw 500ms var(--ease-smooth-out) 80ms forwards; }
@keyframes check-in { from { opacity: 0; filter: blur(10px); transform: rotate(80deg); } }
@keyframes check-bob { from { translate: 0 40px; } }
@keyframes check-draw { to { stroke-dashoffset: 0; } }
.order-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 26px 0; border-top: 2px solid var(--ink); }
.order-meta > div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.order-meta > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.order-meta small { display: block; color: var(--muted); font-size: 13px; }
.order-meta b { font-variant-numeric: tabular-nums; }
.bank { font-variant-numeric: tabular-nums; }
.bank dt { color: var(--muted); font-size: 13px; }
.bank dd { margin: 0 0 10px; font-weight: 700; }

/* ---------- account ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 80px; }
.account { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); padding-bottom: 80px; align-items: start; }
.acc-nav { display: grid; gap: 2px; position: sticky; top: 140px; }
.acc-nav button { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border: 0; background: none; border-radius: var(--r-sm); font-weight: 650; text-align: left; }
.acc-nav button:hover { background: var(--paper); }
.acc-nav button[aria-current="true"] { background: var(--ink); color: #fff; }
.orders { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.orders th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 0 12px 10px 0; border-bottom: 2px solid var(--ink); }
.orders td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #c99a06; }
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.addr { padding: 18px; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; line-height: 1.5; }
.addr__actions { display: flex; gap: 14px; margin-top: 12px; }
.addr__actions button { border: 0; background: none; padding: 4px 0; text-decoration: underline; font-size: 13.5px; }
.addr--new { display: grid; place-items: center; text-align: center; box-shadow: inset 0 0 0 1.5px var(--line-strong); border: 0; background: transparent; min-height: 150px; font-weight: 700; border-style: dashed; }
.addr--new { outline: 1.5px dashed var(--line-strong); outline-offset: -1.5px; box-shadow: none; }

/* ---------- legal / content pages ---------- */
.doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding-bottom: 96px; align-items: start; }
.doc__nav { position: sticky; top: 140px; display: grid; gap: 2px; font-size: 14.5px; }
.doc__nav b { font-size: 13px; color: var(--muted); font-weight: 600; margin: 0 0 8px 12px; }
.doc__nav a { padding: 9px 12px; border-radius: var(--r-sm); text-decoration: none; }
.doc__nav a:hover { background: var(--paper); }
.doc__nav a[aria-current="page"] { background: var(--ink); color: #fff; font-weight: 650; }
.doc__body { background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 56px); box-shadow: var(--shadow-1); }
.doc__body .prose { max-width: 72ch; }
.doc__body .prose h1 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.doc__body .prose h2 { margin-top: 1.8em; }
.doc__updated { color: var(--muted); font-size: 13.5px; margin-bottom: 26px; }
.doc-files { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 22px 0; }
.doc-file { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); background: var(--ground); text-decoration: none; transition: background-color var(--duration-quick) ease-out; }
.doc-file:hover { background: var(--plate); }
.doc-file b { display: block; font-size: 14.5px; }
.doc-file span { font-size: 13px; color: var(--muted); }
.doc-file .ico { width: 32px; height: 32px; stroke-width: 1.5; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 60px; font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform var(--duration-fast) var(--ease-smooth-out); }
.faq details[open] summary .ico { transform: scaleY(-1); }
.faq details > div { padding-bottom: 18px; }
.size-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; margin: 12px 0 28px; }
.size-table th, .size-table td { padding: 9px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.size-table thead th { background: var(--ink); color: #fff; font-weight: 700; }
.size-table tbody th { text-align: left; font-weight: 700; background: var(--ground); }
.table-wrap { overflow-x: auto; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-bottom: 96px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.contact-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list b, .contact-list a { font-weight: 700; font-variant-numeric: tabular-nums; }
.form-done { display: none; text-align: center; padding: 40px 10px; }
.form-done .t-check { margin-inline: auto; }
form.is-sent .form-body { display: none; }
form.is-sent .form-done { display: block; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #c8ccd1; margin-top: 0; font-size: 14.5px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 40px; }
.footer h3 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer address { font-style: normal; line-height: 1.7; }
.footer address b { color: #fff; }
.footer__company { font-variant-numeric: tabular-nums; }
.footer__marks { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 22px; border-top: 1px solid #33383e; }
.footer__marks > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; }
.footer .pay-mark { background: #23272b; box-shadow: inset 0 0 0 1px #3a4047; color: #e6e8ea; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 18px 28px; font-size: 13px; color: #9aa0a7; border-top: 1px solid #33383e; }
.footer__bottom button { background: none; border: 0; color: inherit; text-decoration: underline; padding: 0; font-size: 13px; }

/* ---------- cookie banner ---------- */
.cookie { position: fixed; z-index: 97; left: 20px; bottom: 20px; width: min(460px, calc(100vw - 32px)); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 22px;
  opacity: 0; transform: translateY(16px) scale(.97); filter: blur(2px); visibility: hidden;
  transition: opacity 250ms var(--ease-smooth-out), transform 250ms var(--ease-smooth-out), filter 250ms var(--ease-smooth-out), visibility 0s linear 250ms; }
.cookie.is-open { opacity: 1; transform: none; filter: none; visibility: visible; transition: opacity 350ms var(--ease-smooth-out), transform 350ms var(--ease-smooth-out), filter 350ms var(--ease-smooth-out), visibility 0s; }
.cookie h2 { font-size: 1.1rem; margin-bottom: 8px; }
.cookie p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.cookie__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie__btns .btn { --bh: 44px; padding: 0 12px; font-size: 14px; }
.cookie__settings-btn { grid-column: 1 / -1; background: none; border: 0; text-decoration: underline; font-size: 13.5px; padding: 8px; font-weight: 600; }
.cookie__prefs { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 250ms var(--ease-smooth-out); }
.cookie[data-prefs="true"] .cookie__prefs { grid-template-rows: 1fr; }
.cookie__prefs > div { overflow: hidden; min-height: 0; }
.cookie__pref { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.cookie__pref small { grid-column: 1; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.cookie__pref .switch { grid-row: 1 / span 2; grid-column: 2; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 96px 0; }
.notfound h1 { font-size: clamp(3rem, 2rem + 6vw, 7rem); margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .grid { --cols: 3; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cart-page, .checkout { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 980px) {
  .topbar ul li:nth-child(n+3) { display: none; }
  .header__main { grid-template-columns: auto 1fr auto; min-height: 64px; }
  .menu-toggle { display: inline-grid; }
  .nav { display: none; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; margin-bottom: 12px; }
  .icon-btn--label span { display: none; }
  .icon-btn--label { width: 44px; padding: 0; justify-content: center; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__stage { max-height: 380px; width: 100%; }
  .cat-index { grid-template-columns: 1fr 1fr; }
  .cat-row:nth-child(3n+2), .cat-row:nth-child(3n+3) { padding-left: 0; border-left: 0; }
  .cat-row:nth-child(2n) { padding-left: 18px; border-left: 1px solid var(--line-strong); }
  .service { grid-template-columns: 1fr 1fr; }
  .service > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .split, .b2b { grid-template-columns: 1fr; }
  .b2b__actions { justify-content: flex-start; }
  .shop { grid-template-columns: 1fr; }
  .filters-open { display: inline-flex; }
  .filters { position: fixed; inset: 0; z-index: 92; max-height: none; background: #fff; padding: 0; transform: translateX(-100%); visibility: hidden; transition: transform var(--duration-medium) var(--ease-smooth-out), visibility 0s linear var(--duration-medium); display: flex; flex-direction: column; }
  .filters.is-open { transform: none; visibility: visible; transition: transform var(--duration-slow) var(--ease-smooth-out), visibility 0s; }
  .filters__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--line); }
  .filters__head h2 { margin: 0; font-size: 1.15rem; }
  .filters__scroll { flex: 1; overflow: auto; padding: 0 20px; }
  .filters__foot { padding: 14px 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: relative; top: 0; grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; order: 2; max-height: none; overflow-x: auto; }
  .gallery__thumb { width: 64px; height: 76px; }
  .cart-page, .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .doc, .account { grid-template-columns: 1fr; }
  .doc__nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
  .doc__nav b { display: none; }
  .doc__nav a { white-space: nowrap; background: var(--paper); }
  .acc-nav { position: static; display: flex; overflow-x: auto; }
  .acc-nav button { white-space: nowrap; }
  .contact, .auth { grid-template-columns: 1fr; }
  .sticky-buy { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 var(--line), 0 -8px 24px rgb(23 25 28 / .08); transform: translateY(110%); transition: transform var(--duration-medium) var(--ease-smooth-out); }
  .sticky-buy.is-visible { transform: none; }
  .sticky-buy b { display: block; font-variant-numeric: tabular-nums; }
  .sticky-buy span { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .topbar .container { justify-content: center; }
  .topbar ul { gap: 16px; }
  .topbar ul li:nth-child(n+2) { display: none; }
  .topbar__right { display: none; }
  .logo { font-size: 21px; }
  .grid, .grid--shop { --cols: 2; }
  .tile__title { font-size: 14px; }
  .tile__price { flex-wrap: wrap; gap: 0 8px; }
  .price { font-size: 15.5px; }
  .hero h1 { font-size: clamp(2.3rem, 1.4rem + 5vw, 3rem); }
  .hero__stage { aspect-ratio: 4 / 3; }
  .hero__facts { gap: 8px 18px; font-size: 13.5px; }
  .cat-index { grid-template-columns: 1fr; }
  .cat-row, .cat-row:nth-child(2n) { padding-left: 0; border-left: 0; min-height: 104px; grid-template-columns: 1fr 76px; }
  .cat-row img { width: 76px; height: 76px; }
  .service { grid-template-columns: 1fr; }
  .service > div, .service > div + div { padding: 14px 0; border-left: 0; border-top: 1px solid var(--line); }
  .section__head { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .buy { grid-template-columns: 112px 1fr; }
  .order-meta { grid-template-columns: 1fr; }
  .order-meta > div + div { padding-left: 0; border-left: 0; }
  .orders thead { display: none; }
  .orders tr { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .orders td { border: 0; padding: 2px 0; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .toasts { right: 16px; bottom: 16px; }
  .cookie { left: 16px; bottom: 16px; padding: 18px; }
  .lightbox__img { padding: 0 8px; }
  .dropdown--brands { min-width: 0; }
}

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