/* ==========================================================================
   SMEH.MD — design system
   Naming follows CSS-Modules convention (Block__element--modifier) so the
   markup can be moved into real *.module.css files without renaming anything.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700;800&family=Golos+Text:wght@400;500;600;700;800&display=swap');

:root {
  /* surface */
  --paper: #fbf5ea;
  --paper-2: #f4ebdc;
  --paper-3: #ece0cb;
  --card: #fffdf9;
  --ink: #191411;
  --ink-2: #4d443b;
  --ink-3: #857a6d;
  --line: #e3d6c1;
  --line-2: #d3c2a6;

  /* brand */
  --red: #e22c1c;
  --red-deep: #a8170c;
  --yellow: #f2be1a;
  --ink-band: #191411;

  /* category hues — same chroma/lightness, different hue */
  --c1: oklch(0.55 0.17 28);
  --c2: oklch(0.55 0.13 152);
  --c3: oklch(0.55 0.16 258);
  --c4: oklch(0.72 0.15 78);
  --c5: oklch(0.55 0.17 305);
  --c6: oklch(0.6 0.16 55);

  /* type */
  --display: 'Unbounded', 'Trebuchet MS', sans-serif;
  --text: 'Golos Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* geometry */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --wrap: 1280px;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --shadow-sm: 0 1px 0 rgba(25, 20, 17, .04);
  --shadow-md: 0 14px 34px -18px rgba(25, 20, 17, .35);
  --shadow-lg: 0 30px 70px -30px rgba(25, 20, 17, .45);

  /* density (tweakable) */
  --grid-min: 268px;
  --gap: 22px;
  --sec-y: 88px;
}

html[data-density="dense"] { --grid-min: 214px; --gap: 14px; --sec-y: 64px; }
html[data-density="airy"]  { --grid-min: 320px; --gap: 30px; --sec-y: 112px; }

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }
body { overflow-x: clip; }
body { overflow-x: clip; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; cursor: pointer; }

img { display: block; max-width: 100%; }

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

::selection { background: var(--yellow); color: var(--ink); }

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

/* ---------- primitives ---------- */

.App__shell { min-height: 100vh; display: flex; flex-direction: column; }

.Wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 28px;
}

.Section { padding-block: var(--sec-y); }

.Rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.Eyebrow {
  font-family: var(--text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.SectionHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.SectionHead__title { font-size: clamp(30px, 3.6vw, 52px); }

.SectionHead__lead {
  max-width: 44ch;
  color: var(--ink-2);
  font-size: 15.5px;
  padding-bottom: 6px;
}

/* ---------- buttons ---------- */

.Btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--text);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .22s var(--ease), background .22s var(--ease),
              color .22s var(--ease), border-color .22s var(--ease);
}

.Btn:hover { transform: translateY(-2px); }
.Btn:active { transform: translateY(0); }

.Btn--primary { --btn-bg: var(--red); --btn-fg: #fff; }
.Btn--red { --btn-bg: var(--red); --btn-fg: #fff; }
.Btn--ink { --btn-bg: var(--ink); --btn-fg: #fff; }
.Btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.Btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.Btn--sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.Btn--block { width: 100%; }
.Btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.IconBtn {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.IconBtn:hover { background: var(--paper-2); border-color: var(--line-2); transform: translateY(-1px); }

/* ---------- tags / chips ---------- */

.Chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: all .18s var(--ease);
}
.Chip:hover { border-color: var(--ink); color: var(--ink); }
.Chip--on { background: var(--ink); border-color: var(--ink); color: #fff; }
.Chip--on:hover { color: #fff; }
.Chip__count { font-size: 11.5px; color: currentColor; opacity: .55; }

.Sticker {
  display: inline-grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .02em;
  transform: rotate(-9deg);
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .45);
}

/* ==========================================================================
   Header
   ========================================================================== */

.Header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.Header--stuck { border-bottom-color: var(--line); }

.Topbar {
  background: var(--ink);
  color: #f6ecdb;
  font-size: 12.5px;
}
.Topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 34px;
}
.Topbar__note { opacity: .72; letter-spacing: .01em; }
.Topbar__links { display: flex; align-items: center; gap: 18px; }
.Topbar__link { opacity: .8; transition: opacity .18s; }
.Topbar__link:hover { opacity: 1; color: var(--yellow); }
.Topbar__sep { opacity: .35; }

.Lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(246, 236, 219, .28);
}
.Lang__btn {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 999px;
  opacity: .65;
  transition: all .18s var(--ease);
}
.Lang__btn:hover { opacity: 1; }
.Lang__btn--on { background: var(--yellow); color: var(--ink); opacity: 1; }

.Nav {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 78px;
}

.Nav__logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.Logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.Logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.06em;
  transform: rotate(-4deg);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.Logo:hover .Logo__mark { transform: rotate(4deg) scale(1.04); }
.Logo__word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.04em;
  line-height: 1;
}
.Logo__word span { color: var(--red); }
.Logo__sub {
  display: block;
  font-family: var(--text);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 3px;
}

.Nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.Nav__item { position: relative; }
.Nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .18s, background .18s var(--ease);
}
.Nav__link:hover { color: var(--ink); background: var(--paper-2); }
.Nav__link--on { color: var(--ink); background: var(--paper-2); font-weight: 600; }
.Nav__link--sale { color: var(--red); font-weight: 600; }

.Nav__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.SearchTrigger {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-3);
  font-size: 13.5px;
  min-width: 190px;
  transition: all .2s var(--ease);
}
.SearchTrigger:hover { border-color: var(--line-2); background: #fff; color: var(--ink-2); }

.CartBtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px 0 13px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s var(--ease);
}
.CartBtn:hover { background: var(--ink); color: #fff; }
.CartBtn__count {
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.CartBtn:hover .CartBtn__count { background: var(--yellow); color: var(--ink); }

.Burger { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */

.Hero {
  position: relative;
  padding-top: 44px;
  padding-bottom: 26px;
  overflow: hidden;
}

.Hero__grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 46px;
  align-items: center;
}

.Hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.Hero__dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--red);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--red) 18%, transparent);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in oklab, var(--red) 22%, transparent); }
  50% { box-shadow: 0 0 0 8px rgba(226, 44, 28, 0); }
}

.Hero__title {
  font-size: clamp(38px, 5.4vw, 78px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .96;
}
.Hero__title em {
  font-style: normal;
  color: var(--red);
  position: relative;
  white-space: nowrap;
}
.Hero__title u {
  text-decoration: none;
  background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%);
  padding-inline: 2px;
}

.Hero__lead {
  margin-top: 24px;
  max-width: 47ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}

.Hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.Hero__meta {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.Hero__metaItem strong {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.04em;
}
.Hero__metaItem span { font-size: 12.5px; color: var(--ink-3); }

.Hero__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.Hero__ring {
  position: absolute;
  inset: 6%;
  border-radius: 999px;
  background: var(--paper-2);
}
.Hero__ring::after {
  content: '';
  position: absolute;
  inset: 14%;
  border-radius: 999px;
  border: 1px dashed var(--line-2);
}

.Hero__card {
  position: absolute;
  width: 46%;
  aspect-ratio: 4 / 5;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 12px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.Hero__card img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  border-radius: var(--r-md);
  background: #fff;
}
.Hero__cardMeta {
  padding-top: 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.Hero__cardName {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.Hero__cardPrice {
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.Hero__card--a { transform: translate(-42%, -10%) rotate(-7deg); z-index: 3; }
.Hero__card--b { transform: translate(38%, 6%) rotate(6deg); z-index: 2; width: 42%; }
.Hero__card--c { transform: translate(-6%, 46%) rotate(-1.5deg); z-index: 1; width: 40%; }
.Hero__stage:hover .Hero__card--a { transform: translate(-46%, -14%) rotate(-9deg); }
.Hero__stage:hover .Hero__card--b { transform: translate(42%, 9%) rotate(8deg); }
.Hero__stage:hover .Hero__card--c { transform: translate(-4%, 49%) rotate(-1deg); }

.Hero__sticker { position: absolute; right: 2%; top: 4%; z-index: 4; }
.Hero__tag {
  position: absolute;
  left: 0;
  bottom: 8%;
  z-index: 4;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
}

/* ---------- marquee ---------- */

.Marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-block: 1px solid var(--ink);
}
.Marquee__track {
  display: flex;
  width: max-content;
  animation: slide 42s linear infinite;
}
.Marquee:hover .Marquee__track { animation-play-state: paused; }
.Marquee__group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 13px 17px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.Marquee__star { color: var(--yellow); font-size: 15px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ==========================================================================
   Category tiles
   ========================================================================== */

.Cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.CatTile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 246px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.CatTile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}
.CatTile__num {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.CatTile__swatch {
  width: 10px; height: 10px; border-radius: 3px; background: var(--accent, var(--red));
}
.CatTile__title {
  font-family: var(--display);
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.08;
  max-width: 11ch;
  margin-top: auto;
  padding-right: 34%;
}
.CatTile__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
}
.CatTile__arrow {
  width: 30px; height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent, var(--red));
  color: #fff;
  transform: translateX(-4px);
  transition: transform .3s var(--ease);
}
.CatTile:hover .CatTile__arrow { transform: translateX(2px); }
.CatTile__img {
  position: absolute;
  right: -14px;
  bottom: 52px;
  top: auto;
  width: 46%;
  max-height: 58%;
  aspect-ratio: 1;
  object-fit: contain;
  opacity: .95;
  transform: rotate(-6deg);
  transition: transform .45s var(--ease);
  filter: drop-shadow(0 16px 22px rgba(25, 20, 17, .12));
  pointer-events: none;
}
.CatTile:hover .CatTile__img { transform: rotate(0deg) scale(1.05); }
.CatTile__title { position: relative; z-index: 2; max-width: 11ch; padding-right: 32%; }
.CatTile__num { position: relative; z-index: 2; }

/* ==========================================================================
   Product cards
   ========================================================================== */

.Grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--grid-min), 1fr));
  gap: var(--gap);
}

.Card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}
.Card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }

.Card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
}
.Card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .45s var(--ease);
}
.Card:hover .Card__img { transform: scale(1.05); }

.Card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  z-index: 2;
}
.Card__badge--hot { background: var(--red); }
.Card__badge--new { background: var(--yellow); color: var(--ink); }

.Card__fav {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: all .22s var(--ease);
  z-index: 2;
}
.Card:hover .Card__fav { opacity: 1; transform: translateY(0); }
.Card__fav:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.Card__fav--on { opacity: 1; transform: none; background: var(--red); border-color: var(--red); color: #fff; }

.Card__body {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  border-top: 1px solid var(--line);
}
.Card__cat {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.Card__name {
  font-family: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.Card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}
.Card__price {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.03em;
  white-space: nowrap;
  min-width: 0;
}
.Card__price small {
  font-family: var(--text);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
  flex: 0 0 auto;
}

.Card__add {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  display: grid;
  place-items: center;
  transition: all .2s var(--ease);
  flex-shrink: 0;
}
.Card__add:hover { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(90deg); }
.Card__add--done { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- rail ---------- */

.Rail {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.Rail::-webkit-scrollbar { display: none; }
.Rail > * { flex: 0 0 clamp(230px, 27vw, 300px); scroll-snap-align: start; }

.RailHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

/* ==========================================================================
   Story / info bands
   ========================================================================== */

.Band {
  background: var(--ink);
  color: var(--paper);
}
.Band--paper { background: var(--paper-2); color: var(--ink); }

.Story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}
.Story__title { font-size: clamp(28px, 3.4vw, 46px); }
.Story__title span { color: var(--yellow); }
.Story__text { margin-top: 24px; font-size: 16.5px; line-height: 1.65; color: rgba(251, 245, 234, .74); max-width: 46ch; }
.Story__list { margin-top: 30px; display: grid; gap: 14px; }
.Story__item {
  display: flex;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(251, 245, 234, .16);
  font-size: 14.5px;
  color: rgba(251, 245, 234, .8);
}
.Story__item b { color: var(--paper); font-weight: 600; }
.Story__num {
  font-family: var(--display);
  font-size: 12px;
  color: var(--yellow);
  flex-shrink: 0;
  padding-top: 2px;
}
.Story__figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(251, 245, 234, .16);
  border: 1px solid rgba(251, 245, 234, .16);
  border-radius: var(--r-md);
  overflow: hidden;
}
.Story__fig {
  background: var(--ink);
  padding: 28px 24px;
}
.Story__fig strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1;
  color: var(--paper);
}
.Story__fig span {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: rgba(251, 245, 234, .6);
  line-height: 1.4;
}

/* ---------- info strip ---------- */

.Info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.Info__cell {
  background: var(--paper);
  padding: 34px 30px;
  display: flex;
  gap: 16px;
}
.Info__icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--red);
}
.Info__t { font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.Info__d { font-size: 13.5px; color: var(--ink-3); margin-top: 4px; line-height: 1.5; }

/* ==========================================================================
   Catalog page
   ========================================================================== */

.Crumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink-3);
  padding-block: 22px;
  flex-wrap: wrap;
}
.Crumbs a:hover { color: var(--ink); }
.Crumbs__sep { opacity: .5; }

.PageHead { padding-bottom: 26px; }
.PageHead__title {
  font-size: clamp(32px, 4.4vw, 60px);
  letter-spacing: -.045em;
}
.PageHead__lead { color: var(--ink-2); max-width: 60ch; margin-top: 14px; font-size: 16px; }

.Catalog {
  display: grid;
  grid-template-columns: 258px 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 90px;
}

.Filters {
  position: sticky;
  top: 132px;
  display: grid;
  gap: 26px;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
}
.Filters__group { border-top: 1px solid var(--line); padding-top: 16px; }
.Filters__group:first-child { border-top: 0; padding-top: 0; }
.Filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.Filters__list { display: grid; gap: 2px; }
.Filters__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  margin-inline: -10px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--ink-2);
  transition: all .16s var(--ease);
  cursor: pointer;
  text-align: left;
  border: 0;
  background: transparent;
  width: calc(100% + 20px);
}
.Filters__item:hover { background: var(--paper-2); color: var(--ink); }
.Filters__item--on { background: var(--ink); color: #fff; font-weight: 600; }
.Filters__item--on:hover { background: var(--ink); color: #fff; }
.Filters__item--sub { padding-left: 20px; font-size: 13px; }
.Filters__n { font-size: 11.5px; opacity: .55; font-variant-numeric: tabular-nums; }
.Filters__reset { font-size: 12px; color: var(--red); font-weight: 600; background: none; border: 0; padding: 0; }
.Filters__reset:hover { text-decoration: underline; }

.RangeVal { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); font-size: 15px; font-weight: 600; }
.RangeVal small { font-family: var(--text); font-size: 11px; color: var(--ink-3); font-weight: 500; }

.Range { width: 100%; accent-color: var(--red); margin-top: 12px; }

.Toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.Toolbar__count { font-size: 13.5px; color: var(--ink-3); }
.Toolbar__count b { color: var(--ink); font-weight: 600; }
.Toolbar__right { display: flex; align-items: center; gap: 10px; }

.Select {
  height: 38px;
  padding: 0 32px 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23191411' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  cursor: pointer;
}
.Select:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.ViewToggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; }
.ViewToggle__b {
  width: 32px; height: 32px;
  border: 0; background: transparent; border-radius: 999px;
  display: grid; place-items: center; color: var(--ink-3);
}
.ViewToggle__b--on { background: var(--ink); color: #fff; }

.Empty {
  padding: 70px 20px;
  text-align: center;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
}
.Empty__t { font-family: var(--display); font-size: 20px; font-weight: 600; }

.More { display: grid; place-items: center; margin-top: 40px; gap: 12px; }
.More__hint { font-size: 12.5px; color: var(--ink-3); }

/* ---------- mobile filter bar ---------- */
.FilterBar { display: none; }

/* ==========================================================================
   Product page
   ========================================================================== */

.Product {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 54px;
  padding-bottom: 70px;
  align-items: start;
}

.Gallery { position: sticky; top: 130px; }
.Gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  padding: 30px;
  overflow: hidden;
}
.Gallery__img { max-height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.Gallery__main:hover .Gallery__img { transform: scale(1.06); }
.Gallery__zoom {
  position: absolute;
  right: 14px; bottom: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.Gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.Gallery__thumb {
  width: 78px; height: 78px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  padding: 5px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.Gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.Gallery__thumb--on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.PD__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.PD__title {
  font-size: clamp(26px, 3vw, 42px);
  margin-top: 12px;
  letter-spacing: -.04em;
}
.PD__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
}
.PD__metaDot { width: 3px; height: 3px; border-radius: 999px; background: var(--line-2); }

.Rate { display: inline-flex; align-items: center; gap: 4px; color: var(--yellow); }
.Rate__n { color: var(--ink-2); font-size: 12.5px; font-weight: 600; margin-left: 3px; }

.PD__priceBox {
  margin-top: 26px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.PD__price {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
}
.PD__price small { font-family: var(--text); font-size: 14px; font-weight: 500; color: var(--ink-3); margin-left: 5px; }
.PD__minNote { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }

.Qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  height: 50px;
  overflow: hidden;
}
.Qty__b {
  width: 44px; height: 100%;
  border: 0; background: transparent;
  font-size: 18px;
  display: grid; place-items: center;
  transition: background .16s;
}
.Qty__b:hover { background: var(--paper-2); }
.Qty__v { min-width: 30px; text-align: center; font-weight: 700; font-size: 15px; }

.PD__buyRow { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.PD__buyRow .Btn { flex: 1; min-width: 170px; }

.PD__facts { margin-top: 26px; display: grid; gap: 0; }
.PD__fact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.PD__fact dt { color: var(--ink-3); }
.PD__fact dd { margin: 0; font-weight: 600; }

.PD__descTitle {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 40px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.PD__desc {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink-2);
  white-space: pre-line;
  max-width: 62ch;
}
.PD__descEmpty { margin-top: 18px; font-size: 14px; color: var(--ink-3); font-style: italic; }

.PD__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

/* ==========================================================================
   Cart
   ========================================================================== */

.Cart {
  display: grid;
  grid-template-columns: 1fr 392px;
  gap: 40px;
  align-items: start;
  padding-bottom: 90px;
}

.Line {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.Line__media {
  width: 96px; height: 96px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  padding: 7px;
}
.Line__media img { width: 100%; height: 100%; object-fit: contain; }
.Line__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.Line__meta { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.Line__ctrl { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.Line__qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 34px; }
.Line__qty button { width: 32px; height: 100%; border: 0; background: none; display: grid; place-items: center; }
.Line__qty button:hover { background: var(--paper-2); }
.Line__qty span { min-width: 26px; text-align: center; font-size: 13px; font-weight: 700; }
.Line__del { background: none; border: 0; font-size: 12.5px; color: var(--ink-3); }
.Line__del:hover { color: var(--red); text-decoration: underline; }
.Line__sum { font-family: var(--display); font-size: 16px; font-weight: 600; text-align: right; white-space: nowrap; }

.Summary {
  position: sticky;
  top: 132px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
}
.Summary__t { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.Summary__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-2);
}
.Summary__row b { color: var(--ink); }
.Summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.04em;
}
.Summary__total small { font-family: var(--text); font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.Summary__note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: color-mix(in oklab, var(--yellow) 26%, var(--paper));
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.Summary__note b { color: var(--ink); }
.Summary .Btn { margin-top: 16px; }

/* form */

.Field { display: grid; gap: 6px; margin-bottom: 14px; }
.Field__label { font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.Field__input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fff;
  font-family: var(--text);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
  width: 100%;
}
.Field__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--paper-3); }
textarea.Field__input { height: auto; min-height: 88px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.Field__err { font-size: 12px; color: var(--red); font-weight: 600; }
.Field__hint { font-size: 11.5px; color: var(--ink-3); }

.Notice {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.Notice--ok { background: color-mix(in oklab, var(--c2) 12%, var(--paper)); border-color: color-mix(in oklab, var(--c2) 30%, var(--line)); }

/* ==========================================================================
   Info pages
   ========================================================================== */

.Prose { max-width: 68ch; }
.Prose h2 { font-size: clamp(24px, 2.6vw, 34px); margin-top: 44px; margin-bottom: 14px; letter-spacing: -.035em; }
.Prose h2:first-child { margin-top: 0; }
.Prose p { font-size: 16.5px; line-height: 1.72; color: var(--ink-2); margin-bottom: 16px; }
.Prose strong { color: var(--ink); font-weight: 600; }
.Prose ul { display: grid; gap: 10px; margin: 18px 0; }
.Prose li { padding-left: 22px; position: relative; font-size: 16px; color: var(--ink-2); line-height: 1.6; }
.Prose li::before {
  content: '';
  position: absolute;
  left: 2px; top: 10px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--red);
}

.Contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.ContactCard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  display: grid;
  gap: 22px;
}
.ContactRow { display: flex; gap: 16px; align-items: flex-start; }
.ContactRow__ic {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--paper-2);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--red);
}
.ContactRow__k { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ContactRow__v { font-size: 17px; font-weight: 600; margin-top: 3px; letter-spacing: -.01em; }
.ContactRow__v a:hover { color: var(--red); }
.ContactRow__d { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

.Hours {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
}
.Hours__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 22px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.Hours__row:last-child { border-bottom: 0; }
.Hours__row b { font-weight: 600; }

.MapBox {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,.6) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,.6) 38px 39px),
    var(--paper-2);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.MapBox__pin {
  width: 20px; height: 20px;
  border-radius: 999px 999px 999px 2px;
  background: var(--red);
  transform: rotate(-45deg);
  box-shadow: 0 0 0 10px color-mix(in oklab, var(--red) 16%, transparent);
  animation: bob 3s var(--ease) infinite;
}
@keyframes bob { 0%,100% { transform: rotate(-45deg) translateY(0); } 50% { transform: rotate(-45deg) translateY(-6px); } }
.MapBox__label {
  position: absolute;
  bottom: 16px; left: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 9px 13px;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* price list */

.PriceTable { width: 100%; border-collapse: collapse; font-size: 14px; }
.PriceTable th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-2);
  position: sticky;
  top: 112px;
  background: var(--paper);
  z-index: 2;
}
.PriceTable td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.PriceTable tr:hover td { background: var(--paper-2); }
.PriceTable__price { text-align: right; font-family: var(--display); font-weight: 600; white-space: nowrap; letter-spacing: -.02em; }
.PriceTable__art { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.PriceTable__group td {
  background: var(--paper-2);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
  padding: 12px;
}

/* ==========================================================================
   Drawer / overlay / search
   ========================================================================== */

.Overlay {
  position: fixed;
  inset: 0;
  background: rgba(25, 20, 17, .42);
  backdrop-filter: blur(3px);
  z-index: 90;
  opacity: 0;
  animation: fadeIn .22s var(--ease) forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

.Drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(440px, 92vw);
  background: var(--paper);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  animation: slideIn .32s var(--ease) forwards;
  box-shadow: var(--shadow-lg);
}
@keyframes slideIn { to { transform: translateX(0); } }

.Drawer--left { right: auto; left: 0; transform: translateX(-100%); animation-name: slideInL; }
@keyframes slideInL { to { transform: translateX(0); } }

.Drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.Drawer__t { font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -.03em; }
.Drawer__body { flex: 1; overflow-y: auto; padding: 20px 22px; }
.Drawer__foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; background: var(--paper); }

.SearchModal {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--paper);
  z-index: 100;
  padding: 22px 0 26px;
  box-shadow: var(--shadow-lg);
  animation: dropIn .28s var(--ease);
}
@keyframes dropIn { from { transform: translateY(-14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.SearchModal__row { display: flex; align-items: center; gap: 14px; }
.SearchModal__input {
  flex: 1;
  height: 56px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: transparent;
  font-family: var(--display);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -.03em;
  padding: 0 4px;
}
.SearchModal__input:focus { outline: none; }
.SearchModal__input::placeholder { color: var(--line-2); }
.SearchModal__hint { font-size: 12px; color: var(--ink-3); margin-top: 14px; }
.SearchModal__res { margin-top: 20px; display: grid; gap: 4px; max-height: 52vh; overflow-y: auto; }
.SearchRes {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: 0;
  background: transparent;
  text-align: left;
  width: 100%;
}
.SearchRes:hover { background: var(--paper-2); }
.SearchRes img { width: 50px; height: 50px; object-fit: contain; background: #fff; border-radius: 6px; border: 1px solid var(--line); padding: 3px; }
.SearchRes__n { font-size: 14px; font-weight: 600; }
.SearchRes__c { font-size: 11.5px; color: var(--ink-3); }
.SearchRes__p { font-family: var(--display); font-size: 13.5px; font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */

.Footer { background: var(--ink); color: rgba(251, 245, 234, .72); margin-top: auto; }
.Footer__top { padding: 62px 0 44px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.Footer__brand .Logo__word { color: var(--paper); }
.Footer__brand .Logo__sub { color: rgba(251, 245, 234, .5); }
.Footer__about { margin-top: 18px; font-size: 13.5px; line-height: 1.65; max-width: 34ch; }
.Footer__h {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(251, 245, 234, .45);
  margin-bottom: 14px;
}
.Footer__links { display: grid; gap: 9px; font-size: 13.5px; }
.Footer__links a { transition: color .16s; }
.Footer__links a:hover { color: var(--yellow); }
.Footer__bottom {
  border-top: 1px solid rgba(251, 245, 234, .14);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  flex-wrap: wrap;
}
.Footer__social { display: flex; gap: 8px; }
.Footer__socialBtn {
  height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(251, 245, 234, .2);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(251, 245, 234, .82);
  transition: all .2s var(--ease);
}
.Footer__socialBtn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ==========================================================================
   Tweaks / misc
   ========================================================================== */

.Toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: toastIn .3s var(--ease);
}
@keyframes toastIn { from { transform: translate(-50%, 14px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.Toast__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--yellow); }

.Skeleton {
  background: linear-gradient(90deg, var(--paper-2) 25%, var(--paper-3) 37%, var(--paper-2) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.MobileNav { display: none; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
  .Nav__menu { display: none; }
  .Burger { display: inline-grid; }
  .Burger, .Nav__right > .IconBtn { width: 44px; height: 44px; min-width: 44px; }
  .SearchTrigger { min-width: 0; padding: 0 12px; }
  .SearchTrigger span { display: none; }
  .Hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .Hero__stage { max-width: 520px; margin-inline: auto; width: 100%; }
  .Cats { grid-template-columns: repeat(2, 1fr); }
  .Catalog { grid-template-columns: 220px 1fr; gap: 28px; }
  .Footer__top { grid-template-columns: 1fr 1fr; }
  .Story { grid-template-columns: 1fr; gap: 34px; }
  .Cart { grid-template-columns: 1fr; }
  .Summary { position: static; }
  .Product { grid-template-columns: 1fr; gap: 34px; }
  .Gallery { position: static; }
}

@media (max-width: 860px) {
  :root { --sec-y: 62px; }
  .Wrap { padding-inline: 20px; }
  .Nav { height: 66px; gap: 10px; }
  .CartBtn { padding: 0 12px 0 10px; height: 40px; }
  .IconBtn { width: 44px; height: 44px; }
  .Nav__right .CartBtn span.CartBtn__label { display: none; }
  .Catalog { grid-template-columns: 1fr; }
  .Filters { display: none; }
  .FilterBar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 14px;
    margin-bottom: 6px;
    scrollbar-width: none;
  }
  .FilterBar::-webkit-scrollbar { display: none; }
  .Info { grid-template-columns: 1fr; }
  .Contacts { grid-template-columns: 1fr; gap: 28px; }
  .SectionHead { flex-direction: column; align-items: flex-start; gap: 14px; }
  .Hero__meta { gap: 22px; }
  .Topbar__note { display: none; }
  .MobileNav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 70;
    background: color-mix(in oklab, var(--paper) 94%, transparent);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .MobileNav__b {
    display: grid;
    place-items: center;
    gap: 3px;
    min-height: 52px;
    padding: 6px 0 6px;
    border: 0;
    background: none;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--ink-3);
    position: relative;
  }
  .MobileNav__b--on { color: var(--red); }
  .MobileNav__badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 22px);
    min-width: 16px; height: 16px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    display: grid; place-items: center;
    padding: 0 4px;
  }
  .App__shell { padding-bottom: 62px; }
  .Footer__top { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
  .Cats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .CatTile {
    min-height: 0;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 96px;
    grid-template-rows: auto 1fr auto;
    column-gap: 8px;
  }
  .CatTile__num { grid-column: 1; grid-row: 1; }
  .CatTile__img {
    position: static;
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    max-height: 96px;
    align-self: center;
    justify-self: center;
    transform: rotate(-5deg);
  }
  .CatTile__title { font-size: 16px; max-width: 100%; padding-right: 0; margin-top: 10px; }
  .CatTile__foot { grid-column: 1 / -1; font-size: 11.5px; padding-top: 10px; margin-top: 10px; }
  .Hero__sticker { width: 74px; height: 74px; font-size: 9.5px; }
  .Hero__tag { display: none; }
  .Story__figures { grid-template-columns: 1fr 1fr; }
  .PriceTable th { position: static; }
  .PriceTable__art { display: none; }
  .PriceTable th.PriceTable__artHead { display: none; }
  .Line { grid-template-columns: 72px 1fr; }
  .Line__media { width: 72px; height: 72px; }
  .Line__sum { grid-column: 2; text-align: left; }
  .Toolbar { gap: 10px; }
  .Gallery__thumbs { overflow-x: auto; }
}

@media (max-width: 560px) {
  .Hero__title { font-size: clamp(33px, 10vw, 46px); }
  .Hero__lead { font-size: 15.5px; }
  .Hero__metaItem strong { font-size: 21px; }
  .Cats { grid-template-columns: 1fr; }
  .CatTile { min-height: 0; }
  .CatTile__title { max-width: 100%; font-size: 17px; }
  .Drawer { width: 100%; }
  .Btn { min-height: 48px; padding: 0 20px; }
  .SearchModal__input { font-size: 20px; }
  .Footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .Filters { max-height: none; }
  .Grid { grid-template-columns: 1fr 1fr; --grid-min: 0px; gap: 10px; }
  .Card__body { padding: 11px 11px 12px; gap: 6px; }
  .Card__name { font-size: 12.5px; min-height: 33px; }
  .Card__price { font-size: 14px; }
  .Card__add { width: 44px; height: 44px; }
  .Card__cat { display: none; }
  .Card__fav { opacity: 1; transform: none; width: 40px; height: 40px; }
  .Card__row { gap: 6px; }
  .Card__price { font-size: 13px; }
  .SectionHead__title { font-size: 26px; }
  .PD__price { font-size: 28px; }
  .Qty { height: 46px; }
}

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

@media print {
  .Header, .Footer, .MobileNav, .Filters, .Drawer, .Overlay { display: none !important; }
  body { background: #fff; }
}
