/* Кукла·Лутка — витрина. Фарфор, чернила, кобальт клейма, румянец ценника. */
/* ——— Шрифты: свои файлы, без Google Fonts (быстрее и без передачи IP посетителей Google) ———
   «KL Display» — составной: буквы из Prata (кириллица, латиница), цифры и č ć š ž đ — из Bodoni Moda
   (у Prata единица похожа на «l», а сербской расширенной латиницы нет вовсе). */
@font-face { font-family: "KL Display"; font-weight: 400; font-display: swap;
  src: url("fonts/prata-latin-400-normal.362177e0cdab.woff2") format("woff2");
  unicode-range: U+0000-002F, U+003A-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "KL Display"; font-weight: 400; font-display: swap;
  src: url("fonts/prata-cyrillic-400-normal.f7630c81807d.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "KL Display"; font-weight: 400; font-display: swap;
  src: url("fonts/bodoni-moda-latin-400-normal.6693a7a70a63.woff2") format("woff2");
  unicode-range: U+0030-0039; }
@font-face { font-family: "KL Display"; font-weight: 400; font-display: swap;
  src: url("fonts/bodoni-moda-latin-ext-400-normal.f1d34ec3a63a.woff2") format("woff2");
  unicode-range: U+0100-024F; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap;
  src: url("fonts/golos-text-cyrillic-400-normal.a82793f97f91.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap;
  src: url("fonts/golos-text-latin-400-normal.4b88b42724af.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap;
  src: url("fonts/golos-text-latin-ext-400-normal.38f4f407f988.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Golos Text"; font-weight: 500; font-display: swap;
  src: url("fonts/golos-text-cyrillic-500-normal.97abfef86e34.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 500; font-display: swap;
  src: url("fonts/golos-text-latin-500-normal.b0c19f244d45.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-weight: 500; font-display: swap;
  src: url("fonts/golos-text-latin-ext-500-normal.6589ecef5b22.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap;
  src: url("fonts/golos-text-cyrillic-600-normal.894768c4c711.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap;
  src: url("fonts/golos-text-latin-600-normal.2938437410d6.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap;
  src: url("fonts/golos-text-latin-ext-600-normal.a4d80354de74.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --porcelain: #ECEEEB;
  --paper: #FAFAF7;
  --ink: #22252B;
  --ink-soft: #5A5F67;
  --cobalt: #2446A6;
  --cobalt-ink: #FFFFFF;
  --blush: #E9B3AC;
  --blush-ink: #4A1F1B;
  --heart: #C2554B;
  --line: #CBD0CC;
  --focus: #2446A6;
  --display: "KL Display", "Georgia", serif;
  --text: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-tile: 3px;
  --r-ctl: 999px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --porcelain: #17191D;
    --paper: #212429;
    --ink: #E9E7E2;
    --ink-soft: #A3A7AE;
    --cobalt: #93ACF2;
    --cobalt-ink: #10172E;
    --blush: #D99C95;
    --blush-ink: #2B0F0C;
    --heart: #E58A80;
    --line: #353940;
    --focus: #93ACF2;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--porcelain); color: var(--ink); font: 400 1rem/1.55 var(--text); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink-soft); }
.h2 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; margin: 0 0 .5rem; }

/* ——— Шапка ——— */
.site-head { border-bottom: 1px solid var(--line); background: var(--porcelain); }
.site-head__row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .6rem 1rem; padding-block: .9rem .7rem;
  grid-template-areas: "brand fav" "nav nav" "switches switches";
}
@media (min-width: 980px) {
  .site-head__row { grid-template-columns: auto 1fr auto auto; grid-template-areas: "brand nav fav switches"; padding-block: 1.2rem; gap: 1.5rem; }
}
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: .45rem; text-decoration: none;
  font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1; letter-spacing: .01em; }
.brand__dot { width: .32em; height: .32em; border-radius: 50%; background: var(--blush); }
.brand__rs { color: var(--cobalt); }
.nav { grid-area: nav; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.nav a { text-decoration: none; color: var(--ink-soft); padding-block: .2rem; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.nav a:hover { color: var(--ink); }
.fav-link { grid-area: fav; display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; color: var(--ink-soft); white-space: nowrap; }
.fav-link[aria-current="page"], .fav-link:hover { color: var(--ink); }
.fav-link > span:first-child { font-size: 1.25rem; line-height: 1; color: var(--heart); }
.fav-link__n { background: var(--heart); color: #fff; border-radius: 999px; font-size: .75rem; min-width: 1.35rem; text-align: center; padding: .05rem .4rem; font-weight: 600; }
@media (max-width: 420px) { .fav-link__label { display: none; } }
.switches { grid-area: switches; display: flex; gap: .5rem; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 2px; background: var(--paper); }
.seg__opt { min-width: 2.3rem; text-align: center; padding: .28rem .5rem; border-radius: var(--r-ctl);
  text-decoration: none; font-size: .86rem; color: var(--ink-soft); }
.seg__opt[aria-current="true"] { background: var(--ink); color: var(--paper); }

/* ——— Вступление ——— */
.intro { padding-block: 2rem 1.25rem; max-width: 48rem; margin-left: max(16px, (100% - 1240px) / 2); }
.intro__title { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5.2vw, 3.2rem); line-height: 1.08; margin: 0 0 .9rem; }
.intro__lead { margin: 0 0 .6rem; color: var(--ink-soft); font-size: 1.05rem; max-width: 40rem; }

/* ——— Фильтры ——— */
.filters { border-block: 1px solid var(--line); margin-bottom: 1.25rem; }
.filters > summary { cursor: pointer; padding: .8rem 0; list-style: none; font-weight: 500; display: flex; align-items: center; gap: .5rem; }
.filters > summary::-webkit-details-marker { display: none; }
.filters > summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; line-height: 1; color: var(--ink-soft); }
.filters[open] > summary::after { content: "–"; }
.filters__count { background: var(--cobalt); color: var(--cobalt-ink); border-radius: 999px; font-size: .75rem; padding: 0 .45rem; }
.filters__form { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .9rem 1rem; padding-bottom: 1.1rem; }
.f { display: flex; flex-direction: column; gap: .3rem; font-size: .88rem; color: var(--ink-soft); border: 0; padding: 0; margin: 0; min-width: 0; }
.f--wide { grid-column: 1 / -1; }
.f legend { padding: 0; margin-bottom: .3rem; }
.f--price { flex-direction: row; flex-wrap: wrap; gap: .5rem; }
.f--price legend { width: 100%; }
.f--price input { flex: 1 1 0; min-width: 0; }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 6px; padding: .55rem .7rem; width: 100%;
}
textarea { resize: vertical; }
.check { display: flex; align-items: center; gap: .5rem; font-size: .92rem; align-self: end; padding-bottom: .55rem; }
.check input { width: auto; accent-color: var(--cobalt); }
.filters__actions { display: flex; align-items: center; gap: 1rem; align-self: end; }

.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: .5rem; cursor: pointer;
  font: 500 1rem/1 var(--text); padding: .85rem 1.4rem; border-radius: var(--r-ctl);
  background: var(--cobalt); color: var(--cobalt-ink); border: 1px solid var(--cobalt); text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--wide { width: 100%; }
.link { color: var(--cobalt); text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }

/* ——— Сетка плиток ——— */
.found { color: var(--ink-soft); font-size: .9rem; margin: 0 0 .75rem; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .9rem; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 1.25rem; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.tile { position: relative; display: flex; flex-direction: column; min-width: 0; }
.tile__link { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
.tile__img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); border-radius: var(--r-tile); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover .tile__img img { transform: scale(1.025); }
.tile__noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-soft); font-size: .85rem; }

/* Бирка: как картонный ярлык на нитке с инвентарным номером */
.tag { position: relative; display: flex; flex-direction: column; gap: .1rem; padding: .7rem .2rem 0 1.25rem; }
.tag::before { content: ""; position: absolute; left: .2rem; top: 1.05rem; width: .5rem; height: .5rem; border-radius: 50%;
  border: 1.5px solid var(--ink-soft); opacity: .55; }
.tag__no { font-family: var(--display); font-size: .82rem; color: var(--cobalt); letter-spacing: .02em; }
.tag__title { font-family: var(--display); font-size: 1.06rem; line-height: 1.25; overflow-wrap: anywhere; }
.tag__meta { font-size: .82rem; color: var(--ink-soft); line-height: 1.35; }
.tag__price { align-self: flex-start; margin-top: .35rem; background: var(--blush); color: var(--blush-ink);
  font-size: .85rem; font-weight: 600; padding: .12rem .5rem; border-radius: 2px; font-variant-numeric: tabular-nums; }

.tile--fresh { grid-column: span 2; grid-row: span 2; }
.tile--fresh .tile__img { aspect-ratio: auto; flex: 1; min-height: 320px; }
.tile--fresh .tag__title { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.tile--fresh .tag__no { font-size: .95rem; }
.tile__flag { position: absolute; left: .75rem; top: .75rem; background: var(--paper); color: var(--ink); font-size: .8rem; padding: .25rem .6rem; border-radius: 2px; }

/* ——— Сердечко ——— */
.fav { margin: 0; }
.fav__btn { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; background: transparent;
  border: 1px solid var(--line); border-radius: var(--r-ctl); padding: .7rem 1.1rem; color: var(--ink); }
.fav__icon::before { content: "♡"; font-size: 1.2rem; line-height: 1; color: var(--heart); }
.fav__btn[aria-pressed="true"] .fav__icon::before { content: "♥"; }
.fav__btn[aria-pressed="true"] { border-color: var(--heart); }
.fav--compact { position: absolute; top: .5rem; right: .5rem; }
.fav--compact .fav__btn { width: 2.4rem; height: 2.4rem; padding: 0; justify-content: center; background: var(--paper); border-color: transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.fav--compact .fav__icon::before { font-size: 1.25rem; }
.fav__btn:active .fav__icon { transform: scale(1.2); }

.more { display: flex; justify-content: center; padding: 2.5rem 0 1rem; }
.empty { text-align: center; padding: 4rem 1rem; color: var(--ink-soft); }
.empty p { margin: 0 0 1rem; font-size: 1.1rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.chip { text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-ctl); padding: .35rem .8rem; font-size: .9rem; background: var(--paper); }
.chip span { color: var(--ink-soft); }
.chip[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-current="page"] span { color: inherit; opacity: .7; }

/* ——— Полоса «Продайте нам куклу» ——— */
.sellband { margin-top: 3.5rem; background: var(--paper); border-block: 1px solid var(--line); padding-block: 2.5rem; }
.sellband__row { display: grid; gap: 2rem; }
@media (min-width: 860px) { .sellband__row { grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; } }
.sellband__title { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.12; margin: 0 0 .8rem; }
.sellband__lead { color: var(--ink-soft); margin: 0 0 1.25rem; max-width: 34rem; }
.sellband__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 0; }

/* Список нужных снимков: маленькие рамки-кадры */
.shots__title { font-weight: 600; margin: 0 0 .75rem; }
.shots__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.shots__list li { display: flex; align-items: center; gap: .85rem; }
.shots__frame { position: relative; flex: 0 0 auto; width: 30px; height: 38px; border: 1.5px solid var(--ink-soft); border-radius: 2px; background: var(--porcelain); }
.shots__frame::before, .shots__frame::after { content: ""; position: absolute; }
.shots__frame--dressed::before, .shots__frame--body::before { left: 50%; top: 5px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--ink-soft); }
.shots__frame--dressed::after { left: 50%; bottom: 4px; margin-left: -7px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 17px solid var(--cobalt); }
.shots__frame--body::after { left: 50%; bottom: 4px; width: 8px; height: 17px; margin-left: -4px; border: 1.5px solid var(--ink-soft); border-radius: 3px; }
.shots__frame--face::before { inset: 6px 4px; border-radius: 50%; background: var(--blush); }
.shots__frame--back::before { inset: 7px 5px 9px; border-radius: 50% 50% 45% 45%; background: var(--ink-soft); }
.shots__frame--mark::before { left: 6px; right: 6px; top: 13px; height: 10px; border: 1.5px solid var(--cobalt); border-radius: 2px; }

/* ——— Страница «Продайте нам» ——— */
.sell { display: grid; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 900px) { .sell { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 3.5rem; align-items: start; } }
.sell__side { display: grid; gap: 1.5rem; }
.sell__hint { margin: 0; font-size: .92rem; }
.drop { position: relative; display: grid; gap: .3rem; place-items: center; text-align: center; padding: 1.4rem 1rem;
  border: 1.5px dashed var(--line); border-radius: 8px; background: var(--porcelain); color: var(--ink-soft); }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop.is-over { border-color: var(--cobalt); }
.drop__files { font-size: .85rem; color: var(--ink); }

/* ——— Формы ——— */
.formcard { display: grid; gap: .85rem; padding: 1.1rem; margin-top: .75rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.formcard .f { color: var(--ink); font-size: .92rem; }
.formcard__note { margin: 0; font-size: .82rem; color: var(--ink-soft); }
.offer { display: grid; grid-template-columns: 1fr 7.5rem; gap: .5rem; }
.f--offer label { font-size: .92rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.errorlist { list-style: none; margin: 0; padding: 0; color: #B3261E; font-size: .85rem; }
.interest__done { margin: .75rem 0 0; padding: 1rem; background: var(--paper); border-left: 3px solid var(--cobalt); }

/* ——— Страница предмета ——— */
.item { display: grid; gap: 1.5rem; padding-block: 1.5rem 3rem; }
@media (min-width: 900px) { .item { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3rem; padding-top: 2.25rem; } }
.item__media { min-width: 0; }
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-tile); background: var(--paper); }
.gallery::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; aspect-ratio: 4 / 5; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: contain; }
.slide a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.slide--empty { color: var(--ink-soft); }
.thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: .6rem 0; }
.thumb { position: relative; flex: 0 0 64px; height: 80px; border-radius: 2px; overflow: hidden; opacity: .6; background: var(--paper); border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { opacity: 1; outline: 2px solid var(--ink); outline-offset: 1px; }
.thumb__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.before { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .75rem; }
.before summary { cursor: pointer; color: var(--ink-soft); }
.before__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: .5rem; margin-top: .75rem; }
.before__grid img { aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; filter: saturate(.85); }

.item__no { font-family: var(--display); color: var(--cobalt); margin: 0; font-size: 1.05rem; }
.item__title { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.1; margin: .2rem 0 1.25rem; overflow-wrap: anywhere; }
.pricebox { margin-bottom: 1.25rem; }
.pricebox__main { margin: 0; font-size: 1.9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pricebox__main--ask { font-family: var(--display); font-weight: 400; font-size: 1.6rem; }
.pricebox__alt { margin: .2rem 0 0; color: var(--ink-soft); font-size: .92rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.item__actions { display: grid; gap: .75rem; margin-bottom: 1.75rem; }
.item__actions .fav__btn { width: 100%; justify-content: center; }
.interest > summary { list-style: none; }
.interest > summary::-webkit-details-marker { display: none; }
.interest[open] > summary { background: transparent; color: var(--ink); border-color: var(--line); }

.specs { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.25rem; margin: 0 0 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.specs dt { color: var(--ink-soft); font-size: .92rem; }
.specs dd { margin: 0; }
.item__desc { font-size: 1.02rem; max-width: 38rem; }
.item__desc p { margin: 0 0 .9rem; }
.back { margin-top: 2rem; }

/* ——— Избранное ——— */
.favs { padding-bottom: 2rem; max-width: 52rem; margin-left: max(16px, (100% - 1240px) / 2); }
.favs__list { list-style: none; margin: 0 0 1rem; padding: 0; border-top: 1px solid var(--line); }
.favrow { display: grid; grid-template-columns: 64px 1fr auto; grid-template-areas: "img info price" "img rm rm"; gap: .2rem 1rem; align-items: center;
  padding: .75rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .favrow { grid-template-columns: 72px 1fr auto auto; grid-template-areas: "img info price rm"; } }
.favrow__img { grid-area: img; display: block; aspect-ratio: 4/5; background: var(--paper); border-radius: 2px; overflow: hidden; }
.favrow__img img { width: 100%; height: 100%; object-fit: cover; }
.favrow__info { grid-area: info; display: flex; flex-direction: column; min-width: 0; }
.favrow__title { font-family: var(--display); font-size: 1.1rem; text-decoration: none; overflow-wrap: anywhere; }
.favrow__price { grid-area: price; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.favrow__rm { grid-area: rm; margin: 0; font-size: .9rem; }
.favs__total { margin: 0 0 2rem; }
.favs__send { max-width: 34rem; }

.flash { padding: .75rem 1rem; background: var(--paper); border-left: 3px solid var(--blush); margin: 1rem 0; }

/* ——— Контакты ——— */
.contacts__title { font-weight: 600; margin: 0 0 .5rem; color: var(--ink); }
.contacts__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .5rem; }
.contacts__list a { display: inline-block; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-ctl); padding: .3rem .8rem; font-size: .9rem; background: var(--paper); color: var(--ink); }
.contacts__list a:hover { border-color: var(--ink); }

/* ——— Подвал ——— */
.site-foot { border-top: 1px solid var(--line); margin-top: 3rem; padding-block: 2rem 2.5rem; color: var(--ink-soft); }
.sellband + .site-foot, main:has(> .sellband:last-child) + .site-foot { margin-top: 0; border-top: 0; }
.site-foot__row { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .site-foot__row { grid-template-columns: 1.4fr 1fr; gap: 4rem; } }
.site-foot p { margin: 0 0 .5rem; max-width: 42rem; }
.site-foot__small { font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
