:root {

  --paper: #f4f3ef;
  --ink: #0a0a0a;
  --line: rgba(10, 10, 10, .12);
  --line-strong: rgba(10, 10, 10, .26);


  --o-primary: .80;
  --o-second: .56;
  --o-caption: .38;
  --o-mute: .22;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);

  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-accent: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;


  --display: clamp(2.2rem, min(9vw, 10vh), 6.5rem);
  --display-sm: clamp(1.7rem, min(5.4vw, 6vh), 3.1rem);
  --display-xs: clamp(1.35rem, min(3.6vw, 4.2vh), 2.1rem);


  --section-y: clamp(4rem, 9vw, 9rem);
  --cell-p: clamp(1.4rem, 2.5vw, 2.4rem);
  --gutter: clamp(1rem, 3vw, 2.6rem);

  --header-h: 68px;
  --tap: 44px;
}


.dark {
  --paper: #f4f3ef;
  --ink: #060606;
  --line: rgba(244, 243, 239, .11);
  --line-strong: rgba(244, 243, 239, .24);
  background: var(--ink);
  color: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;

  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -.005em;
  overflow-x: clip;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4, p, figure, ul, ol, dl { margin: 0; }

h1, h2, h3, h4 { font-weight: 400; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--ink); color: var(--paper); }
.dark ::selection { background: var(--paper); color: var(--ink); }

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}


.display, h1.display, h2.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--display);
  line-height: 1.02;
  letter-spacing: -.01em;

  text-transform: none;
}
.display--sm { font-size: var(--display-sm); line-height: 1.06; }
.display--xs { font-size: var(--display-xs); line-height: 1.08; }


.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.14em;
  letter-spacing: -.015em;
}

.mono {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.4;
}
.mono--tight { letter-spacing: .12em; }

.lead { font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.6; opacity: var(--o-primary); }
.text { opacity: var(--o-primary); }
.second { opacity: var(--o-second); }
.caption { opacity: var(--o-caption); }
.mute { opacity: var(--o-mute); }
.strike { text-decoration: line-through; opacity: var(--o-caption); }
.nowrap { white-space: nowrap; }

.num {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .22em;
  opacity: var(--o-caption);
}


.wrap {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 1100px; }
.wrap--text { max-width: 760px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.4rem, 5vw, 5rem); }
.section--flush { padding-block: 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.6rem, 3.5vw, 3.2rem);
}
.section-head__num { flex: 0 0 auto; }

.section-head > h2 { margin-right: auto; }


.grid {
  display: grid;
  gap: 1px;
  --hair: var(--line);
  background: var(--paper);
  border-block: 1px solid var(--line);

  overflow-x: clip;
  overflow-y: visible;
}
.grid > * {
  background: var(--paper);
  box-shadow: 1px 0 0 var(--hair), 0 1px 0 var(--hair);
}
.dark .grid { background: var(--ink); }
.dark .grid > * { background: var(--ink); }


.grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.cell { padding: var(--cell-p); min-width: 0; }
.cell--pad-lg { padding: clamp(2rem, 4vw, 4rem); }

.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.gap-xs { gap: .5rem; }
.gap-sm { gap: .75rem; }
.gap-md { gap: 1.25rem; }
.gap-lg { gap: 2rem; }
.push { margin-left: auto; }


.invert {
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out);
  will-change: background-color;
}
@media (hover: hover) {
  .invert:hover,
  .invert:focus-within {
    background: var(--ink);
    color: var(--paper);
    --line: rgba(244, 243, 239, .14);
    --line-strong: rgba(244, 243, 239, .3);
  }
  .dark .invert:hover,
  .dark .invert:focus-within {
    background: var(--paper);
    color: var(--ink);
    --line: rgba(10, 10, 10, .14);
  }
}


.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: var(--tap);
  padding: .85rem 1.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .45s var(--ease-io);
  z-index: -1;
}
.btn:hover::before,
.btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--paper); border-color: var(--ink); }

.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid::before { background: var(--paper); }
.btn--solid:hover, .btn--solid:focus-visible { color: var(--ink); }

.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 38px; padding: .55rem 1.1rem; }
.btn--lg { padding: 1.15rem 2.4rem; }

.dark .btn { color: var(--paper); }
.dark .btn::before { background: var(--paper); }
.dark .btn:hover, .dark .btn:focus-visible { color: var(--ink); border-color: var(--paper); }

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: var(--o-mute);
  pointer-events: none;
}


.link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.link:hover::after { transform: scaleX(0); transform-origin: left; }

.link--rev::after { transform: scaleX(0); transform-origin: left; }
.link--rev:hover::after { transform: scaleX(1); transform-origin: right; }


.i {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.i--sm { width: 14px; height: 14px; }
.i--lg { width: 24px; height: 24px; }
.i--fill { fill: currentColor; stroke: none; }


.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field__label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: var(--o-caption);
}
.input, .select, .textarea {
  width: 100%;
  min-height: var(--tap);
  padding: .7rem .9rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 15px;
  transition: border-color .3s var(--ease-out);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); }
.dark .input:focus { border-color: var(--paper); }
.textarea { min-height: 96px; resize: vertical; }
.select {
  appearance: none;
  padding-right: 2.2rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.input::placeholder, .textarea::placeholder { color: currentColor; opacity: var(--o-mute); }

.check {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  min-height: var(--tap);
  padding: .5rem 0;
  cursor: pointer;
  line-height: 1.4;
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  display: grid;
  place-items: center;
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out);
}
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.dark .check input:checked + .check__box { background: var(--paper); border-color: var(--paper); }
.check__box svg { width: 10px; height: 10px; opacity: 0; stroke: var(--paper); stroke-width: 2; }
.dark .check__box svg { stroke: var(--ink); }
.check input:checked + .check__box svg { opacity: 1; }
.check input:focus-visible + .check__box { outline: 1px solid currentColor; outline-offset: 2px; }

.form-error {
  border: 1px solid var(--line-strong);
  padding: .8rem 1rem;
  font-size: 13px;
}
.hint { font-size: 13px; opacity: var(--o-second); }


.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: clamp(.8rem, 1.8vw, 2rem); justify-content: center; }
.nav__link {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .5rem 0;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); transform-origin: right; }

.tools { display: flex; align-items: center; gap: 8px; }
.tool {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  border-radius: 999px;
  transition: background .35s var(--ease-out), color .35s var(--ease-out);
}
.tool:hover { background: var(--ink); color: var(--paper); }

.tool__count:empty { display: none; }
.tool__count {
  position: absolute;
  top: 4px; right: 3px;
  min-width: 15px; height: 15px;
  padding: 0 3px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0;
}
.tool:hover .tool__count { background: var(--paper); color: var(--ink); }
.tool--burger { display: none; }

.lang {
  display: flex;
  gap: .35rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-inline: .5rem;
}
.lang a { opacity: var(--o-mute); padding: .3rem; }
.lang a[aria-current] { opacity: 1; }


.strip {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  min-height: 40px;
  padding-block: .5rem;
  text-align: center;
}


.mega {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: none;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mega[data-open="1"] { display: block; }
.mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.mega__col { background: var(--paper); padding: clamp(1.2rem, 2vw, 2rem); }
.mega__title { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: .8rem; }
.mega__list li { padding: .18rem 0; }
.mega__list a { font-size: 14px; opacity: var(--o-second); transition: opacity .3s var(--ease-out); }
.mega__list a:hover { opacity: 1; }


.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  display: none;
  flex-direction: column;
  overscroll-behavior: contain;
}
.search-overlay[data-open="1"] { display: flex; }
.search-overlay__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--line);
}
.search-overlay__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  padding: .3rem 0;
}
.search-overlay__input:focus { outline: none; }
.search-overlay__body { flex: 1; overflow-y: auto; padding: 1rem var(--gutter) 4rem; }
.suggest__group + .suggest__group { margin-top: 1.6rem; }
.suggest__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .6rem 0;
  min-height: var(--tap);
  border-bottom: 1px solid var(--line);
}
.suggest__row img { width: 48px; height: 48px; object-fit: contain; }


.hero { border-bottom: 1px solid var(--line); }
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.hero__text {
  grid-column: span 7;
  background: var(--paper);
  padding: clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
  min-height: min(72vh, 620px);
}
.hero__media {
  grid-column: span 5;
  background: var(--paper);
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 4rem);
}
.hero__media img { width: 100%; max-width: 460px; object-fit: contain; }
.hero__facts { display: flex; gap: clamp(1rem, 3vw, 3rem); flex-wrap: wrap; }


.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  --hair: var(--line);
  background: var(--paper);
  border-block: 1px solid var(--line);
  overflow-x: clip;
  overflow-y: visible;
}
.products > * { box-shadow: 1px 0 0 var(--hair), 0 1px 0 var(--hair); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: var(--cell-p);
  min-width: 0;
}
.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card--out .card__img { filter: grayscale(1); opacity: .5; }
.card__stamp {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line-strong);
  padding: .35rem .7rem;
  background: var(--paper);
}
.card__badge {
  position: absolute;
  left: 0; top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: .3rem .55rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .16em;
  z-index: 2;
}
.card:hover .card__badge { background: var(--paper); color: var(--ink); }
.card__fav {
  position: absolute;
  right: -.2rem; top: -.2rem;
  width: var(--tap); height: var(--tap);
  display: grid;
  place-items: center;
  z-index: 3;
}
.card__fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.card__fav[aria-pressed="true"] svg { fill: currentColor; }
.card__name { font-size: 14px; line-height: 1.4; margin-bottom: .5rem; }
.card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__price { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; margin-bottom: .5rem; }
.card__price b { font-weight: 400; font-size: 15px; }
.card__meta { margin-top: auto; padding-top: .7rem; display: flex; flex-direction: column; gap: .3rem; }


.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  --hair: var(--line);
  background: var(--paper);
  overflow-x: clip;
  overflow-y: visible;
}
.tiles > * { box-shadow: 1px 0 0 var(--hair), 0 1px 0 var(--hair); }
.tile {
  background: var(--paper);
  padding: clamp(1.4rem, 3vw, 2.6rem);
  min-height: clamp(180px, 22vw, 280px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
}
.tile__title { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.05; }


.catalog { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 1px; background: var(--line); }
.catalog__aside { background: var(--paper); padding: var(--cell-p); }
.catalog__main { background: var(--paper); min-width: 0; }

.catalog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: var(--header-h);
  background: var(--paper);
  z-index: 30;
}

.facet { border-top: 1px solid var(--line); padding: 1rem 0; }
.facet:first-child { border-top: 0; }
.facet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--tap);
  text-align: left;
}
.facet__body { padding-top: .5rem; display: none; }
.facet[data-open="1"] .facet__body { display: block; }
.facet__toggle { transition: transform .45s var(--ease-io); }
.facet[data-open="1"] .facet__toggle { transform: rotate(45deg); }
.facet__count { font-family: var(--font-mono); font-size: .62rem; opacity: var(--o-caption); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 38px;
  padding: .4rem .8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .35s var(--ease-out), color .35s var(--ease-out);
}
.chip:hover { background: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip--sq { border-radius: 2px; min-width: 46px; justify-content: center; }
.chip--off { opacity: var(--o-mute); pointer-events: none; text-decoration: line-through; }

.chip--strike { text-decoration: line-through; opacity: .45; }
.chip--strike:hover { opacity: 1; }

.range { display: flex; align-items: center; gap: .5rem; }
.range .input { padding: .5rem .6rem; text-align: center; }

.applied { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--gutter) 1rem; }


.sheet {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
}
.sheet[data-open="1"] { display: block; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(10, 10, 10, .4); }
.sheet__panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-height: 88vh;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform .45s var(--ease-io);
  border-top: 1px solid var(--line);
}
.sheet[data-open="1"] .sheet__panel { transform: translateY(0); }
.sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  border-bottom: 1px solid var(--line);
}
.sheet__body { flex: 1; overflow-y: auto; padding: 0 var(--gutter) 1rem; overscroll-behavior: contain; }
.sheet__foot {
  padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
}


.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1px; background: var(--line); }
.product__gallery { background: var(--paper); padding: var(--cell-p); }
.product__buy { background: var(--paper); padding: clamp(1.4rem, 3vw, 3rem); }

.gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: pan-y;
  cursor: zoom-in;
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease-out); }
.gallery__main.is-zoom { cursor: zoom-out; }
.gallery__main.is-zoom img { transform: scale(2.4); }
.gallery__track { display: flex; width: 100%; height: 100%; transition: transform .5s var(--ease-io); }
.gallery__slide { flex: 0 0 100%; display: grid; place-items: center; }
.gallery__dots { display: flex; justify-content: center; gap: 8px; padding-top: 1rem; }
.gallery__dot { width: var(--tap); height: 20px; display: grid; place-items: center; }
.gallery__dot i { display: block; width: 5px; height: 5px; border-radius: 999px; background: currentColor; opacity: var(--o-mute); transition: opacity .3s; }
.gallery__dot[aria-current="true"] i { opacity: 1; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 1rem; }
.gallery__thumb { aspect-ratio: 1/1; border: 1px solid transparent; display: grid; place-items: center; padding: 6px; }
.gallery__thumb[aria-current="true"] { border-color: var(--line-strong); }
.gallery__tools { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 1rem; }

.spin { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; cursor: ew-resize; touch-action: pan-y; }
.spin img { width: 100%; height: 100%; object-fit: contain; }

.price-row { display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1; }


.product__buy h1.display { font-size: clamp(1.5rem, min(3.2vw, 4vh), 2.35rem); }
.product__buy .price { font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.badge-dark {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: .28rem .6rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .16em;
}
.dark .badge-dark { background: var(--paper); color: var(--ink); }

.opt { display: flex; flex-direction: column; gap: .6rem; }
.opt__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.spec-table th, .spec-table td { text-align: left; padding: .7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.spec-table th { width: 45%; opacity: var(--o-second); font-size: 13px; }
.spec-table td { font-size: 14px; }


.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.scroll-x table { min-width: 560px; }
.scroll-x--wide table { min-width: 760px; }

.data-table th, .data-table td { padding: .7rem .9rem; border: 1px solid var(--line); text-align: left; font-weight: 400; font-size: 13px; }
.data-table th { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; opacity: var(--o-second); }


.data-table tr.is-diff td { background: rgba(10, 10, 10, .05); }
.data-table tr.is-diff th { font-weight: 500; opacity: 1; }
.dark .data-table tr.is-diff td { background: rgba(244, 243, 239, .07); }

.acc { border-top: 1px solid var(--line); }
.acc__head { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: .9rem 0; text-align: left; gap: 1rem; }
.acc__body { display: none; padding-bottom: 1.2rem; }
.acc[data-open="1"] .acc__body { display: block; }
.acc__sign { transition: transform .45s var(--ease-io); }
.acc[data-open="1"] .acc__sign { transform: rotate(45deg); }


.sticky-buy {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  display: none;
  align-items: center;
  gap: 1rem;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
  translate: 0 100%;
  transition: translate .45s var(--ease-io);
}
.sticky-buy[data-show="1"] { translate: 0 0; }


.panel { position: fixed; inset: 0; z-index: 92; display: none; }
.panel[data-open="1"] { display: block; }
.panel__scrim { position: absolute; inset: 0; background: rgba(10, 10, 10, .4); }
.panel__body {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(460px, 100%);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .45s var(--ease-io);
  border-left: 1px solid var(--line);
}
.panel[data-open="1"] .panel__body { transform: translateX(0); }
.panel__body--left {
  left: 0; right: auto;
  border-left: 0;
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
}
.panel[data-open="1"] .panel__body--left { transform: translateX(0); }
.panel__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem var(--gutter); border-bottom: 1px solid var(--line); }
.panel__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter); }
.panel__foot { border-top: 1px solid var(--line); padding: 1.1rem var(--gutter) calc(1.1rem + env(safe-area-inset-bottom)); }

.cart-item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.cart-item__img { width: 76px; height: 76px; object-fit: contain; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; }
.qty button { width: 36px; height: 36px; display: grid; place-items: center; }
.qty span { min-width: 28px; text-align: center; font-family: var(--font-mono); font-size: .7rem; }

.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: 14px; }
.sum-row--total { font-size: 17px; padding-top: .8rem; margin-top: .4rem; border-top: 1px solid var(--line); }


.steps { display: flex; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.step { flex: 1; background: var(--paper); padding: 1rem var(--cell-p); display: flex; gap: .7rem; align-items: baseline; min-width: 0; }
.step[aria-current="step"] { background: var(--ink); color: var(--paper); }
.step__name { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pay-option, .ship-option {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .35s var(--ease-out), background .35s var(--ease-out);
  min-height: var(--tap);
}
.pay-option:hover, .ship-option:hover { border-color: var(--line-strong); }
.pay-option input, .ship-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pay-option:has(input:checked), .ship-option:has(input:checked) { border-color: var(--ink); }
.radio-dot { width: 16px; height: 16px; margin-top: 3px; border: 1px solid var(--line-strong); border-radius: 999px; display: grid; place-items: center; flex: 0 0 auto; }
.radio-dot::after { content: ''; width: 8px; height: 8px; border-radius: 999px; background: currentColor; transform: scale(0); transition: transform .3s var(--ease-out); }
input:checked + .radio-dot::after { transform: scale(1); }


.footer { border-top: 1px solid rgba(244, 243, 239, .11); }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: rgba(244, 243, 239, .11); }
.footer__col { background: var(--ink); padding: clamp(1.6rem, 3vw, 3rem); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.2rem var(--gutter); border-top: 1px solid rgba(244, 243, 239, .11); }
.footer a { opacity: var(--o-second); transition: opacity .3s var(--ease-out); }
.footer a:hover { opacity: 1; }


.longread p { margin-bottom: 1.1rem; }
.longread h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.08;
  margin: 2.2rem 0 .9rem;
}
.longread h3 { font-size: 1.05rem; font-weight: 500; margin: 1.6rem 0 .6rem; }
.longread ul { margin: 0 0 1.2rem; padding-left: 1.1rem; list-style: none; }
.longread li { position: relative; padding-left: .9rem; margin-bottom: .45rem; }
.longread li::before {
  content: '';
  position: absolute;
  left: 0; top: .7em;
  width: 5px; height: 1px;
  background: currentColor;
  opacity: var(--o-caption);
}
.longread b, .longread strong { font-weight: 500; }
.longread a { text-decoration: underline; text-underline-offset: 3px; }

.note { border: 1px solid var(--line-strong); padding: 1rem 1.1rem; font-size: 14px; }
.note--strong { border-width: 1px; background: var(--ink); color: var(--paper); }

.rating { display: inline-flex; gap: 2px; }
.rating svg { width: 12px; height: 12px; fill: currentColor; opacity: var(--o-mute); }
.rating svg[data-on="1"] { opacity: 1; }


.crumbs {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.crumbs::-webkit-scrollbar { display: none; }
.crumbs > * { flex: 0 0 auto; }

.pagination { display: flex; justify-content: center; gap: 8px; padding: 2.5rem var(--gutter); flex-wrap: wrap; }

.empty { padding: clamp(3rem, 8vw, 7rem) var(--gutter); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }

.toast-host { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 8px; pointer-events: none; width: min(420px, calc(100vw - 2rem)); }
.toast { background: var(--ink); color: var(--paper); padding: .8rem 1.1rem; font-size: 13px; opacity: 0; translate: 0 12px; transition: opacity .35s var(--ease-out), translate .35s var(--ease-out); }
.toast[data-show="1"] { opacity: 1; translate: 0 0; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 200; background: var(--ink); color: var(--paper); padding: .7rem 1rem; }


.reveal { opacity: 0; translate: 0 18px; transition: opacity .8s var(--ease-out), translate .8s var(--ease-out); }
.reveal.is-in { opacity: 1; translate: 0 0; }
.reveal[data-i="1"] { transition-delay: .08s; }
.reveal[data-i="2"] { transition-delay: .16s; }
.reveal[data-i="3"] { transition-delay: .24s; }
.reveal[data-i="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; translate: none; }
}


@media (max-width: 1440px) {
  :root { --gutter: clamp(1rem, 2.6vw, 2rem); }
}

@media (max-width: 1200px) {
  .catalog { grid-template-columns: 240px minmax(0, 1fr); }
  .mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__col { padding: 1.5rem; }
}

@media (max-width: 1024px) {
  :root { --header-h: 60px; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
  .tool--burger { display: grid; }
  .header__bar { grid-template-columns: auto 1fr auto; }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .catalog__aside { display: none; }
  .product { grid-template-columns: minmax(0, 1fr); }
  .hero__text { grid-column: span 12; min-height: 0; padding-block: clamp(2rem, 6vw, 3.5rem); }
  .hero__media { grid-column: span 12; }
  .sticky-buy { display: flex; }
  .lang { display: none; }
  .lang--mobile { display: flex; }
}

@media (max-width: 768px) {

  .grid-12, .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-12 { grid-column: span 2; }
  .steps { flex-direction: row; }
  .step { padding: .8rem 1rem; }
  .step__name { display: none; }
  .step[aria-current="step"] .step__name { display: block; }
  .panel__body { width: 100%; border-left: 0; }
  .mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-bar { top: var(--header-h); }
}

@media (max-width: 640px) {

  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }


  .tool--hide-sm { display: none; }


  .chip { min-height: var(--tap); }
  .btn--sm { min-height: var(--tap); }
  .gallery__dot { height: var(--tap); }
  .footer__col a,
  .link { display: inline-flex; align-items: center; min-height: var(--tap); }

  .longread .link, p .link, .lead .link, .hint .link { display: inline; min-height: 0; }
  .footer__col .stack { gap: 0; }
  .grid-12, .grid-4, .grid-3, .grid-2, .footer__grid, .tiles { grid-template-columns: minmax(0, 1fr); }
  .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-12 { grid-column: span 1; }
  :root { --cell-p: 1.15rem; }
  .card { padding: 1rem .9rem 1.3rem; }
  .gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  :root { --gutter: .85rem; --cell-p: .95rem; }
  body { font-size: 14px; }
  .logo { font-size: 1.25rem; }
  .btn { padding: .8rem 1.2rem; font-size: .62rem; letter-spacing: .18em; }
  .card__name { font-size: 13px; }
  .tool { width: 42px; }
}


@media (max-height: 700px) and (min-width: 1025px) {
  .hero__text { min-height: 0; padding-block: clamp(1.5rem, 4vh, 3rem); }
  :root { --section-y: clamp(3rem, 6vw, 5rem); }
}

@media print {
  .header, .footer, .sticky-buy, .panel, .sheet, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
