/* Caviar Jewellery — демо витрины. Токены из дизайн-системы. */
:root {
  --paper: #F5F4F0; --card: #ECEBE6; --photo: #E4E2DC; --ink: #111111; --muted: #6B6A66;
  --line: #D9D7D1; --disabled: #B5B3AD; --on-ink: #F5F4F0; --sale: #A52A1C;
  --swatch-silver: #C2C4C6; --swatch-gold: #C9A85C; --swatch-black: #1C1C1C;
  --font-display: "Inter Tight", Inter, "Helvetica Neue", Arial, sans-serif;
  --font-sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --page-x: 32px; --gutter: 16px; --section: 120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
img { max-width: 100%; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.wrap { max-width: 1440px; margin: 0 auto; padding-left: max(var(--page-x), env(safe-area-inset-left, 0px)); padding-right: max(var(--page-x), env(safe-area-inset-right, 0px)); }
.label { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ink { color: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Акция и шапка */
.promo { display: block; background: var(--ink); color: var(--on-ink); text-align: center; padding: 10px 16px; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.promo:hover { color: var(--on-ink); }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--ink); }
.header__in { min-height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px 24px; }
.logo { justify-self: start; display: block; padding: 5px 0; }
.nav { display: flex; gap: 4px 24px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a, .tools a, .tools button { text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.tools { justify-self: end; display: flex; align-items: center; gap: 24px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.tools button { border: 0; padding: 0; background: transparent; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink); cursor: pointer; min-height: 44px; }
.menu-btn { display: none !important; width: 44px; height: 44px; align-items: center; justify-content: center; }

/* Логотип: статичен, анимация раз в 12 с и по наведению (движение исходного GIF) */
.cjm { display: block; overflow: visible; }
.cjm-line { opacity: 0; }
.cjm-a { stroke-dasharray: 272 272; stroke-dashoffset: 272; }
.cjm-b { stroke-dasharray: 191 191; stroke-dashoffset: 191; }
.cjm-c { stroke-dasharray: 132 132; stroke-dashoffset: -132; }
.cjm-play .cjm-text { animation: cjmText 4s cubic-bezier(.65,0,.35,1) both; }
.cjm-play .cjm-line { animation: cjmLine 4s cubic-bezier(.65,0,.35,1) both; }
.cjm-play .cjm-a { animation: cjmA 4s cubic-bezier(.65,0,.35,1) both; }
.cjm-play .cjm-b { animation: cjmB 4s cubic-bezier(.65,0,.35,1) both; }
.cjm-play .cjm-c { animation: cjmC 4s cubic-bezier(.65,0,.35,1) both; }
@keyframes cjmText { 0% { transform: translateY(0); } 18%, 82% { transform: translateY(66px); } 100% { transform: translateY(0); } }
@keyframes cjmLine { 0%, 18% { opacity: 1; stroke-width: 8px; stroke-dasharray: 640px 1000px; transform: translate(0, 0); } 29% { opacity: 1; stroke-width: 13px; stroke-dasharray: 250px 1000px; transform: translate(93px, 64.5px); } 43%, 59% { opacity: 1; stroke-width: 13px; stroke-dasharray: 0px 1000px; transform: translate(93px, 64.5px); } 73% { opacity: 1; stroke-width: 13px; stroke-dasharray: 250px 1000px; transform: translate(93px, 64.5px); } 84%, 99% { opacity: 1; stroke-width: 8px; stroke-dasharray: 640px 1000px; transform: translate(0, 0); } 100% { opacity: 0; stroke-width: 8px; stroke-dasharray: 640px 1000px; } }
@keyframes cjmA { 0%, 29% { stroke-dashoffset: 272; } 43%, 59% { stroke-dashoffset: 0; } 73%, 100% { stroke-dashoffset: 272; } }
@keyframes cjmB { 0%, 31% { stroke-dashoffset: 191; } 45%, 57% { stroke-dashoffset: 0; } 71%, 100% { stroke-dashoffset: 191; } }
@keyframes cjmC { 0%, 33% { stroke-dashoffset: -132; } 47%, 55% { stroke-dashoffset: 0; } 69%, 100% { stroke-dashoffset: -132; } }
@media (prefers-reduced-motion: reduce) { .cjm-play .cjm-text, .cjm-play .cjm-line, .cjm-play .cjm-a, .cjm-play .cjm-b, .cjm-play .cjm-c { animation: none; } }

/* Типографика */
.display { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(56px, 9.3vw, 136px); line-height: 0.86; letter-spacing: -0.05em; text-transform: uppercase; text-wrap: balance; }
.h-xl { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 5vw, 72px); line-height: 0.88; letter-spacing: -0.045em; text-transform: uppercase; }
.h-l { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 4.2vw, 60px); line-height: 0.9; letter-spacing: -0.045em; text-transform: uppercase; }
.h-s { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 0.9; letter-spacing: -0.04em; text-transform: uppercase; }
.lead { margin: 0; font-size: 15px; line-height: 23px; max-width: 340px; }
.link { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }

/* Сетка и разделы */
.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px 16px; padding: 12px 0; }
.meta > :last-child { text-align: right; }
.section { padding-top: var(--section); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; border-top: 1px solid var(--ink); padding-top: 12px; margin-bottom: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs span:last-child { color: var(--ink); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border: 0; background: var(--ink); color: var(--on-ink); font: 600 12px/1 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--on-ink); background: #2A2A2A; }
.btn--lg { height: 56px; padding: 0 32px; }
.btn--block { width: 100%; }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--on-ink); }
.textbtn { border: 0; padding: 0; background: transparent; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Вкладки, фильтры */
.tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.tab { height: 44px; padding: 0; border: 0; background: transparent; font: 500 12px var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; text-underline-offset: 6px; }
.tab[aria-pressed="true"], .tab[aria-current="true"] { color: var(--ink); text-decoration: underline; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.filters .types { display: flex; flex-wrap: wrap; gap: 0 20px; margin-right: auto; }
.filters .tab { height: 48px; }
.cdot { width: 36px; height: 48px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
.cdot[aria-pressed="true"] .dot { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }
.count-sup { font-size: max(12px, 0.14em); letter-spacing: 0; vertical-align: top; margin-left: 0.15em; font-weight: 500; }
.colorchip { height: 44px; padding: 0 8px; border: 0; background: transparent; display: inline-flex; align-items: center; gap: 8px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--muted); cursor: pointer; }
.colorchip[aria-pressed="true"] { color: var(--ink); }
.colorchip[aria-pressed="true"] .dot { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.select { height: 44px; border: 0; background: transparent; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink); cursor: pointer; padding: 0 4px; }

/* Свотчи */
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.15); flex: none; }
.dot--s { background: linear-gradient(135deg, #E9EAEA, #A9ACAE); }
.dot--g { background: linear-gradient(135deg, #EBD9A0, #B8913E); }
.dot--b { background: var(--swatch-black); }
.swatch { width: 40px; height: 44px; padding: 0; border: 0; background: transparent; display: inline-grid; place-items: center; cursor: pointer; }
.swatch[aria-pressed="true"] .dot { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }

.price { display: inline-flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.price__now--sale { color: var(--sale); }
.price__old { font-size: 12px; font-weight: 400; color: var(--muted); }

/* Карточка товара в сетке: без подложки, фото на фоне страницы */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 72px 32px; }
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card__fig { position: relative; }
.card__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; transition: transform .5s ease; }
.card__media img.is-photo { object-fit: cover; mix-blend-mode: normal; }
.card:hover .card__media img { transform: scale(1.04); }
.card.is-out .card__media img { opacity: 0.45; }
.card__add { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); padding: 10px 16px; border: 0; background: var(--ink); color: var(--on-ink); font: 600 11px/1 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; cursor: pointer; opacity: 0; transition: opacity .2s ease; }
.card:hover .card__add, .card__add:focus-visible { opacity: 1; }
.card__body { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; line-height: 19px; font-weight: 500; }
.card__name { margin: 0; font: inherit; }
.card__name a { text-decoration: none; }
.card__price { margin: 0; display: flex; gap: 8px; align-items: baseline; white-space: nowrap; }
.card__price s { font-size: 12px; font-weight: 400; color: var(--muted); }
.card__price .is-sale { color: var(--sale); }
.card__meta { display: flex; align-items: center; gap: 12px; min-height: 22px; font-size: 12px; color: var(--muted); }
.card__sw { display: flex; gap: 6px; }
.card__sw .swatch { width: 22px; height: 22px; }
.card__sw .dot { width: 10px; height: 10px; }
@media (hover: none) {
  .card__add { opacity: 1; left: auto; right: 6px; bottom: 6px; transform: none; width: 36px; height: 36px; padding: 0; font-size: 0; display: grid; place-items: center; }
  .card__add::before { content: "+"; font-size: 18px; font-weight: 400; }
}

/* Главная */
.hero { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__photo { flex: 7 1 560px; margin: 0; position: relative; height: 760px; background: var(--photo); overflow: hidden; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__product { flex: 5 1 400px; height: 760px; display: flex; flex-direction: column; }
.hero__product .media { flex: 1; min-height: 0; display: block; }
.hero__product .media img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.table { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); font-size: 14px; line-height: 20px; border-top: 1px solid var(--ink); }
.table dt, .table dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.table dt { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.table--end dt:nth-last-child(2), .table--end dd:last-child { border-bottom-color: var(--ink); }
.hero__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); margin-top: 16px; }
.hero__actions a { display: flex; align-items: center; }
.index a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.index a:hover .index__t { transform: translateX(8px); }
.index__n { font-size: 12px; font-weight: 500; color: var(--muted); }
.index__t { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.035em; text-transform: uppercase; transition: transform .25s ease; }
.pair { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.pair a { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.pair__img { display: block; background: var(--photo); overflow: hidden; }
.pair__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pair__cap { display: grid; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ink); font-size: 14px; line-height: 19px; font-weight: 500; }
.showroom { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; border-top: 1px solid var(--ink); }
.showroom > div { padding: 12px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 21px; }

/* Карточка товара */
.pdp { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-start; padding-top: 20px; }
.gallery { flex: 7 1 560px; min-width: 0; display: flex; gap: 16px; }
.thumbs { display: flex; flex-direction: column; gap: 8px; flex: none; width: 88px; }
.thumb { width: 88px; height: 110px; padding: 0; border: 0; background: transparent; overflow: hidden; cursor: pointer; }
.thumb[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--ink); }
.thumb img, .stage img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.stage { flex: 1; min-width: 0; aspect-ratio: 4 / 5; max-height: 860px; overflow: hidden; position: relative; }
.stage img { transition: transform .4s ease; }
.thumb img.is-photo, .stage img.is-photo { object-fit: cover; mix-blend-mode: normal; }
.stage .label { position: absolute; left: 16px; bottom: 14px; }
.info { flex: 5 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.info__top { display: flex; justify-content: space-between; gap: 16px; }
.info__price { margin: 0; font-size: 24px; line-height: 30px; font-weight: 500; display: flex; align-items: baseline; gap: 12px; }
.info__price s { font-size: 16px; font-weight: 400; color: var(--muted); }
.info__price .sale { color: var(--sale); }
.colors { display: flex; flex-wrap: wrap; gap: 8px; }
.colorbtn { height: 48px; padding: 0 18px 0 14px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; gap: 10px; font: 500 13px var(--font-sans); color: var(--ink); cursor: pointer; }
.colorbtn[aria-checked="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.colorbtn .note { color: var(--muted); }
.note-line { margin: 0; font-size: 13px; line-height: 18px; color: var(--muted); }
.added { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 13px; }
.notify { display: flex; gap: 8px; }
.notify input { flex: 1; min-width: 0; height: 48px; padding: 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font: 400 15px var(--font-sans); color: var(--ink); }
.dl-rows .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 18px; }
.dl-rows .row span:first-child { font-weight: 500; }
.dl-rows .row span:nth-child(2) { color: var(--muted); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; height: 52px; display: flex; align-items: center; justify-content: space-between; font: 500 12px var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 18px; font-weight: 400; }
.acc details[open] summary::after { content: "−"; }
.acc p { margin: 0 0 16px; font-size: 14px; line-height: 21px; max-width: 520px; }

/* Корзина */
.cart { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: flex-start; }
.cart__main { flex: 7 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.cart__aside { flex: 4 1 340px; min-width: 0; position: sticky; top: 88px; border-top: 1px solid var(--ink); padding: 10px 0 0; display: flex; flex-direction: column; gap: 16px; }
.lines-head, .line { display: grid; grid-template-columns: 120px minmax(0, 1fr) 132px 120px; gap: 16px; }
.lines-head { padding: 10px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.lines-head span:last-child { text-align: right; }
.line { padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__img { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.line__img img.is-photo { object-fit: cover; mix-blend-mode: normal; }
.line__info { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 19px; }
.line__info a { font-weight: 500; text-decoration: none; }
.line__sum { text-align: right; font-size: 15px; font-weight: 500; }
.qty { display: inline-flex; align-items: center; width: 132px; box-shadow: inset 0 0 0 1px var(--ink); }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; font: 400 18px var(--font-sans); color: var(--ink); cursor: pointer; }
.qty button:disabled { color: var(--disabled); cursor: default; }
.qty span { flex: 1; text-align: center; font-size: 14px; font-weight: 500; }
.free { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; font-size: 13px; }
.free__bar { height: 2px; background: var(--line); }
.free__bar i { display: block; height: 2px; background: var(--ink); }
.options { border-top: 1px solid var(--ink); }
.option { width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.radio { width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; box-shadow: inset 0 0 0 1px #8A8984; }
.option[aria-checked="true"] .radio, .radio.is-on { box-shadow: inset 0 0 0 5px var(--ink); }
.option__t { display: block; font-size: 15px; font-weight: 500; }
.option__n { display: block; margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--muted); }
.option__p { font-size: 14px; font-weight: 500; white-space: nowrap; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field input { height: 44px; padding: 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font: 400 15px var(--font-sans); color: var(--ink); outline-offset: 4px; }
.field input::placeholder { color: #8A8984; }
.field input[aria-invalid="true"] { border-bottom-color: var(--sale); }
.field .err { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--sale); min-height: 16px; }
.sum { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-size: 14px; line-height: 20px; }
.sum dd { margin: 0; text-align: right; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; border-top: 1px solid var(--ink); }
.total b { font-family: var(--font-display); font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.small { margin: 0; font-size: 11px; line-height: 16px; color: var(--muted); }

/* Тост, поиск, меню */
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; align-items: center; gap: 24px; padding: 16px 20px; background: var(--ink); color: var(--on-ink); font-size: 14px; transform: translateY(140%); transition: transform .3s ease; max-width: calc(100vw - 32px); }
.toast.is-on { transform: none; }
.toast a { color: var(--on-ink); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.overlay { position: fixed; inset: 0; z-index: 50; background: var(--paper); display: none; overflow-y: auto; }
.overlay.is-on { display: block; }
.overlay__top { display: flex; align-items: center; gap: 16px; min-height: 64px; border-bottom: 1px solid var(--ink); }
.overlay__top input { flex: 1; min-width: 0; height: 64px; border: 0; background: transparent; font: 600 clamp(24px, 3vw, 40px) var(--font-display); letter-spacing: -0.03em; color: var(--ink); text-transform: uppercase; }
.overlay__top input:focus-visible { outline: none; }
.overlay__close { width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.results { padding: 8px 0 64px; }
.results a { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.results img { width: 72px; height: 90px; object-fit: contain; mix-blend-mode: multiply; display: block; }
.results img.is-photo { object-fit: cover; mix-blend-mode: normal; }
.results .r-name { font-size: 15px; font-weight: 500; }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 36px; letter-spacing: -0.04em; text-transform: uppercase; text-decoration: none; }

/* Подвал */
.footer { margin-top: 140px; border-top: 1px solid var(--ink); }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 16px; padding-top: 12px; }
.footer__cols nav, .footer__cols div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 18px; }
.footer__cols h2 { margin: 0 0 8px; }
.footer__cols a { text-decoration: none; }
.footer__mark { margin: 0; padding-top: 96px; font-weight: 500; font-size: clamp(36px, 10.2vw, 148px); line-height: 0.8; letter-spacing: -0.035em; white-space: nowrap; overflow: hidden; }
.footer__legal { margin-top: 20px; padding: 12px 0 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 16px; font-size: 11px; line-height: 16px; color: var(--muted); }
.footer__legal a { color: var(--muted); }
.demo-note { background: var(--card); color: var(--muted); font-size: 11px; line-height: 16px; text-align: center; padding: 8px 16px; }

/* Телефон */
@media (max-width: 900px) {
  :root { --page-x: 16px; --section: 64px; }
  .header__in { grid-template-columns: 1fr auto; min-height: 56px; }
  .header .nav, .tools .t-desk { display: none; }
  .menu-btn { display: inline-flex !important; }
  .logo svg { width: 152px; height: 44px; }
  .hero__photo { height: 480px; flex-basis: 100%; }
  .hero__product { height: auto; flex-basis: 100%; }
  .hero__product .media { height: 320px; flex: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 12px; }
  .card__body { flex-direction: column; gap: 2px; font-size: 13px; line-height: 17px; }
  .filters { gap: 0 16px; }
  .gallery { flex-direction: column-reverse; flex-basis: 100%; }
  .thumbs { flex-direction: row; width: auto; }
  .thumb { width: 72px; height: 90px; }
  .lines-head { display: none; }
  .line { grid-template-columns: 88px minmax(0, 1fr); }
  .line .qty-cell, .line__sum { grid-column: 2; text-align: left; }
  .cart__aside { position: static; }
  .pair a { margin-top: 0 !important; }
  .toast { left: 16px; right: 16px; bottom: 16px; justify-content: space-between; }
}
