/* ============ beautyfree ============ */
:root {
  /* Фирменные цвета Beauty Free: персик #fee9d8, золото #dcab73, графит #56625e */
  --bg: #ffffff;
  --tint: #fee9d8;
  --blush: #f6dcc2;
  --pink: #9a6b38;        /* акцент: кнопки, ссылки (тёмное золото, читается на светлом) */
  --pink-2: #dcab73;      /* фирменное золото — на тёмном фоне и декор */
  --pink-deep: #8a5f30;
  --ink: #2c3533;
  --ink-2: #56625e;
  --muted: #858c86;
  --line: rgba(44, 53, 51, .12);
  --display: "Cormorant Garamond", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 24px;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--pink); color: #fff; }
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
em, i.em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--pink); letter-spacing: 0; }

.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--pink-deep); margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.eyebrow--light { color: var(--pink-deep); }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; background: var(--tint); color: var(--ink); display: grid; place-items: center; transition: clip-path 1.1s var(--ease); clip-path: inset(0 0 0 0); }
.preloader.done { clip-path: inset(0 0 100% 0); }
.preloader__word { display: grid; justify-items: center; gap: 22px; font-family: var(--display); font-size: clamp(26px, 4.4vw, 46px); font-weight: 600; letter-spacing: .04em; color: var(--ink-2); animation: preIn 1s var(--ease) both; }
.preloader__mark { width: clamp(90px, 14vw, 150px); height: auto; }
.preloader__word i { font-family: var(--serif); font-weight: 500; color: var(--pink); letter-spacing: 0; }
.preloader__num { position: absolute; right: var(--gutter); bottom: 24px; font-family: var(--display); font-size: clamp(48px, 10vw, 140px); line-height: 1; color: rgba(44,53,51,.1); }
@keyframes preIn { from { opacity: 0; transform: translateY(30px) scale(.96); filter: blur(10px); } }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300; background: linear-gradient(90deg, var(--pink), #f0cfa3); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; width: 14px; height: 14px; border-radius: 50%; background: var(--pink); display: none; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), background .3s; mix-blend-mode: normal; }
.cursor span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.hover { width: 44px; height: 44px; background: rgba(220, 171, 115, .25); }
.cursor.label { width: 92px; height: 92px; background: var(--pink); }
.cursor.label span { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: grid; } }

/* ---------- Topbar / header ---------- */
.topbar { background: var(--pink); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; height: 34px; overflow: hidden; white-space: nowrap; display: flex; align-items: center; }
.topbar__track { display: inline-flex; gap: 26px; padding-left: 26px; animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

.header { position: sticky; top: 0; z-index: 200; color: var(--ink); transition: background .4s, color .4s, box-shadow .4s, transform .5s var(--ease); }
.header.light { color: var(--ink); background: rgba(255, 255, 255, .94); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 1px 0 var(--line); }
.header.dark-bg { background: rgba(44, 53, 51, .55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header.hide { transform: translateY(-100%); }
.header__inner { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: .03em; white-space: nowrap; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo i, .footer__word i, .hero__title i { font-family: var(--serif); font-weight: 500; color: var(--pink); letter-spacing: 0; }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); font-size: 14px; font-weight: 600; }
.nav a { position: relative; padding: 6px 0; opacity: .85; transition: opacity .3s; }
.nav a:hover { opacity: 1; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--pink); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; gap: 4px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; transition: background .3s; }
.icon-btn:hover { background: rgba(220, 171, 115, .15); }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn--cart { background: var(--pink); color: #fff; }
.icon-btn--cart:hover { background: var(--pink-deep); }
.badge { position: absolute; top: -2px; right: -2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease); border: 2px solid #fff; }
.badge.on { transform: scale(1); }
.badge.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger.open span:first-child { top: 21px; transform: rotate(45deg); }
.burger.open span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 190; background: var(--tint); color: var(--ink); padding: 130px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0% at 30px 90px); transition: clip-path .8s var(--ease); }
.mobile-menu.open { clip-path: circle(150% at 30px 90px); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a { font-family: var(--display); font-size: clamp(26px, 7vw, 44px); font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.mobile-menu__social { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 58px; padding: 0 32px; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .02em; overflow: hidden; isolation: isolate; transition: color .4s, transform .3s var(--ease); }
.btn span { position: relative; z-index: 1; }
.btn::before { content: ""; position: absolute; left: 50%; top: 100%; width: 140%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, 0); transition: transform .7s var(--ease); z-index: 0; }
.btn:hover::before { transform: translate(-50%, -60%); }
.btn--pink { background: var(--pink); color: #fff; box-shadow: 0 14px 40px -10px rgba(220, 171, 115, .7); }
.btn--pink::before { background: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::before { background: var(--pink); }
.btn--glass { background: rgba(255,255,255,.6); color: var(--ink); border: 1px solid rgba(44,53,51,.22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--glass::before { background: var(--ink); }
.btn--glass:hover { color: #fff; }
.btn--line { border: 1.5px solid var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: #fff; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; pointer-events: none; }
.round-btn { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--ink); font-size: 20px; transition: background .3s, color .3s; }
.round-btn:hover { background: var(--ink); color: #fff; }
.social-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 8px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: transform .3s var(--ease), box-shadow .3s; }
.social-btn:hover { transform: translateY(-3px); }
.social-btn i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-style: normal; }
.social-btn svg { width: 20px; height: 20px; fill: #fff; }
.social-btn--ig { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -12px rgba(0,0,0,.25); }
.social-btn--ig i { background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); }
.social-btn--tg { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -12px rgba(0,0,0,.25); }
.social-btn--tg i { background: #229ed9; }

/* ---------- Hero 3D ---------- */
.hero { position: relative; height: calc(100svh - 34px); min-height: 640px; margin-top: -74px; background: radial-gradient(120% 80% at 50% 30%, #ffffff 0%, #ffffff 45%, #fdf1e6 100%); color: var(--ink); overflow: hidden; touch-action: pan-y; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.hero__canvas:active { cursor: grabbing; }
.hero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 30% at 50% 45%, rgba(220, 171, 115, .3), transparent 70%), linear-gradient(180deg, transparent 58%, rgba(255, 255, 255, .95)); }
.hero__fallback { position: absolute; inset: 0; display: none; place-items: center; }
.hero__fallback.on { display: grid; }
.hero__fallback .fb { display: flex; gap: 14px; transform: perspective(900px) rotateX(10deg); }
.hero__fallback img { width: 160px; aspect-ratio: 3/4; object-fit: cover; border-radius: 18px; animation: fbFloat 6s ease-in-out infinite; }
.hero__fallback img:nth-child(2n) { animation-delay: -3s; }
@keyframes fbFloat { 50% { transform: translateY(-16px); } }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 110px; padding-bottom: 36px; pointer-events: none; }
.hero__content a, .hero__content button { pointer-events: auto; }
.hero__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.65); border: 1px solid var(--line); font-size: 13px; font-weight: 600; backdrop-filter: blur(10px); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .4; } }
.hero__hint { margin: 0; font-size: 13px; color: var(--ink-2); background: rgba(255,255,255,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 6px 14px; border-radius: 999px; }
.hero__title { margin: auto 0 22px; font-family: var(--display); font-weight: 600; font-size: clamp(64px, 15vw, 250px); line-height: .85; letter-spacing: -.01em; display: flex; flex-wrap: wrap; align-items: baseline; mix-blend-mode: normal; text-shadow: 0 6px 40px rgba(255, 255, 255, .95); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%) rotate(6deg); transition: transform 1.3s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
body.ready .hero__title .line > span { transform: none; }
.hero__title i { font-size: 1.12em; letter-spacing: -.01em; margin-left: .04em; }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.hero__lead { max-width: 440px; margin: 0; color: var(--ink-2); font-size: 16px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Marquee ---------- */
.marquee { background: var(--pink-2); color: var(--ink); padding: 22px 0; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: 36px; animation: marquee 28s linear infinite; font-family: var(--display); font-size: clamp(28px, 4vw, 54px); font-weight: 500; letter-spacing: -.01em; text-transform: lowercase; }
.marquee__track span:nth-child(4n+1) { -webkit-text-stroke: 1.2px var(--ink); color: transparent; }
.marquee__track i { color: #fff; font-style: normal; font-size: .6em; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--tint { background: #fbf6f1; }
.section--dark { background: var(--bg); color: var(--ink); }
.section__head { margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 26px; flex-wrap: wrap; }
.section__title { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(34px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.01em; }
.section__title em { font-size: 1.12em; }
.section__title--light { color: var(--ink); }
.reveal { opacity: 0; transform: translateY(50px) rotateX(-12deg); transform-origin: 50% 100%; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Tilt (3D) ---------- */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.45), transparent 50%); opacity: 0; transition: opacity .4s; z-index: 3; mix-blend-mode: soft-light; }
.tilt:hover .tilt-glare { opacity: 1; }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(240px, 320px); gap: 16px; perspective: 1400px; }
.cat { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; text-align: left; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; transition: transform .6s var(--ease), box-shadow .6s; }
.cat img { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); transform: translateZ(0); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(44,53,51,.75)); }
.cat:hover { box-shadow: 0 40px 80px -30px rgba(154, 107, 56, .5); }
.cat:hover img { transform: scale(1.08); }
.cat__name { font-family: var(--display); font-size: clamp(22px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.01em; line-height: 1.05; transform: translateZ(40px); }
.cat__meta { font-size: 13px; opacity: .8; margin-top: 6px; transform: translateZ(30px); }
.cat__go { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 18px; transform: rotate(-45deg) translateZ(50px); transition: transform .5s var(--ease), background .3s, color .3s; }
.cat:hover .cat__go { transform: rotate(0) translateZ(50px); background: var(--pink); color: #fff; }

/* ---------- Catalog ---------- */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field svg { position: absolute; left: 18px; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.7; }
.search-field input, .toolbar select { height: 52px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; padding: 0 22px; font-size: 14px; outline: none; transition: border-color .3s; }
.search-field input { padding-left: 46px; width: 260px; }
.search-field input:focus, .toolbar select:focus { border-color: var(--pink); }
.toolbar select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141014' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 18px center / 11px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.chip { height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; background: #fff; transition: all .35s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip sup { font-size: 10px; margin-left: 4px; opacity: .55; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 20px; perspective: 1600px; }
.card { position: relative; display: flex; flex-direction: column; animation: cardIn .8s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px) rotateX(-18deg); } }
.card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; cursor: pointer; background: var(--blush); box-shadow: 0 1px 0 rgba(0,0,0,.02); transition: box-shadow .5s; }
.card:hover .card__media { box-shadow: 0 34px 60px -28px rgba(154, 107, 56, .45); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s; transform: scale(1.06) translateZ(0); opacity: 0; }
.card__media img.loaded { opacity: 1; }
.card:hover .card__media img { transform: scale(1.12); }
.card__tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; transform: translateZ(30px); }
.tag { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: #fff; }
.tag--new { background: var(--ink); color: #fff; }
.tag--sale { background: var(--pink); color: #fff; }
.tag--out { background: #fff; color: var(--muted); }
.heart { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; z-index: 2; transition: transform .3s var(--ease); }
.heart:hover { transform: scale(1.12); }
.heart svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.7; transition: fill .3s, stroke .3s; }
.heart.on svg { fill: var(--pink); stroke: var(--pink); }
.card__quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; height: 50px; border-radius: 999px; background: rgba(44,53,51,.88); backdrop-filter: blur(8px); color: #fff; font-size: 13px; font-weight: 700; transform: translateY(calc(100% + 20px)); transition: transform .6s var(--ease), background .3s; }
.card__quick:hover { background: var(--pink); }
.card:hover .card__quick, .card:focus-within .card__quick { transform: none; }
.card__body { padding: 16px 4px 0; display: grid; gap: 4px; }
.card__cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.card__name { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; cursor: pointer; }
.card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.price { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.price s { font-family: var(--sans); color: var(--muted); font-weight: 500; font-size: 13px; margin-left: 6px; letter-spacing: 0; }
.stars { font-size: 12px; color: #ffb000; letter-spacing: 1px; white-space: nowrap; }
.stars span { color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.empty { text-align: center; font-family: var(--display); font-size: 22px; color: var(--muted); padding: 60px 0; }

/* ---------- Showcase (scroll 3D flip) ---------- */
.showcase { height: 260vh; background: radial-gradient(90% 60% at 70% 50%, #ffffff, #fdf3ea 75%); color: var(--ink); position: relative; }
.showcase__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.showcase__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.showcase__desc { color: var(--ink-2); max-width: 440px; margin: 24px 0; }
.showcase__price { font-family: var(--display); font-size: 40px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 28px; }
.showcase__price s { font-family: var(--sans); font-size: 18px; color: rgba(44,53,51,.45); font-weight: 500; margin-left: 10px; letter-spacing: 0; }
.showcase__stage { position: relative; perspective: 1400px; display: grid; place-items: center; height: min(70vh, 600px); }
.flip { position: relative; width: min(360px, 70vw); aspect-ratio: 3/4; transform-style: preserve-3d; will-change: transform; }
.flip__face { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 60px 100px -30px rgba(220, 171, 115, .45); }
.flip__face img { width: 100%; height: 100%; object-fit: cover; }
.flip__back { transform: rotateY(180deg); background: linear-gradient(160deg, #b8864e 0%, #8a5f30 45%, #3a4644 100%); padding: clamp(22px, 7%, 34px); gap: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.flip__back h4 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; font-family: var(--display); font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -.01em; margin: 0; line-height: 1.15; }
.flip__back ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: clamp(13px, 1.2vw, 15px); }
.flip__back li { display: flex; gap: 10px; }
.flip__back li::before { content: "✦"; }
.flip__back .big { font-family: var(--display); font-size: clamp(38px, 4.5vw, 60px); white-space: nowrap; color: #fee9d8; font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.showcase__ring { position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(220, 171, 115, .25); transform: rotateX(72deg); pointer-events: none; }
.showcase__ring--2 { width: 90%; border-color: rgba(44,53,51,.12); transform: rotateX(72deg) rotateY(10deg); }

/* ---------- Quiz ---------- */
.quiz { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.quiz__intro p:last-child { color: var(--ink-2); max-width: 420px; margin-top: 24px; }
.quiz__card { position: relative; background: #fff; border-radius: 32px; padding: clamp(26px, 4vw, 50px); min-height: 450px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(154, 107, 56, .35); }
.quiz__card::before { content: ""; position: absolute; width: 300px; height: 300px; right: -100px; top: -100px; border-radius: 50%; background: radial-gradient(circle, var(--blush), transparent 70%); }
.quiz__card > * { position: relative; }
.quiz__steps { display: flex; gap: 6px; margin-bottom: 28px; }
.quiz__steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--tint); transition: background .5s; }
.quiz__steps i.on { background: var(--pink); }
.quiz__q { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; margin: 0 0 24px; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz__opt { text-align: left; padding: 20px; border-radius: 18px; background: var(--bg); border: 1.5px solid transparent; transition: all .35s var(--ease); display: grid; gap: 4px; }
.quiz__opt b { font-weight: 700; }
.quiz__opt span { font-size: 13px; color: var(--muted); }
.quiz__opt:hover { border-color: var(--pink); transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(220, 171, 115, .6); }
.quiz__fade { animation: fadeUp .6s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
.quiz__result { display: grid; gap: 10px; margin: 6px 0 24px; }
.qr { display: flex; align-items: center; gap: 14px; background: var(--bg); padding: 10px 14px 10px 10px; border-radius: 18px; text-align: left; width: 100%; }
.qr img { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; flex: none; }
.qr__info { flex: 1; min-width: 0; }
.qr__info b { display: block; font-size: 15px; line-height: 1.25; }
.qr__info span { font-size: 13px; color: var(--muted); }
.qr > button { width: 40px; height: 40px; border-radius: 50%; background: var(--pink); color: #fff; font-size: 20px; flex: none; }
.link-btn { font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; perspective: 1200px; }
.why__item { position: relative; background: #fff; border-radius: var(--r); padding: 30px; min-height: 260px; display: flex; flex-direction: column; overflow: hidden; }
.why__ico { width: 56px; height: 56px; border-radius: 18px; background: var(--pink); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 700; margin-bottom: auto; transform: translateZ(50px); box-shadow: 0 14px 30px -10px rgba(220, 171, 115, .7); }
.why__item h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; font-size: 22px; margin: 30px 0 8px; transform: translateZ(30px); }
.why__item p { margin: 0; color: var(--ink-2); font-size: 15px; transform: translateZ(20px); }

/* ---------- Social move ---------- */
.social-move__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.social-move__lead { color: var(--ink-2); max-width: 520px; margin: 24px 0 30px; font-size: 17px; }
.social-move__links { display: flex; gap: 12px; flex-wrap: wrap; }
.phone { width: min(320px, 80vw); aspect-ratio: 9/18.5; margin: 0 auto; border-radius: 46px; background: var(--ink); padding: 12px; box-shadow: 0 60px 100px -40px rgba(154, 107, 56, .55), inset 0 0 0 2px #333; transform: perspective(1200px) rotateY(16deg) rotateX(6deg) rotateZ(-2deg); animation: phoneFloat 7s ease-in-out infinite; }
@keyframes phoneFloat { 50% { transform: perspective(1200px) rotateY(8deg) rotateX(2deg) rotateZ(-1deg) translateY(-14px); } }
.phone__screen { height: 100%; border-radius: 36px; background: linear-gradient(180deg, #fdeedf, #fff); padding: 54px 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; position: relative; }
.phone__screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 90px; height: 24px; border-radius: 20px; background: var(--ink); transform: translateX(-50%); }
.phone__bar { display: flex; justify-content: space-between; align-items: baseline; padding: 0 6px 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.phone__bar span { font-size: 11px; color: #3ddc84; font-weight: 700; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 13px; line-height: 1.4; }
.bubble--in { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.bubble--out { background: #efe5da; align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble--new { background: var(--pink); color: #fff; font-weight: 600; }

/* ---------- Reviews ---------- */
.slider-nav { display: flex; gap: 10px; }
.reviews { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px; scroll-padding: 0 var(--gutter); }
.reviews::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(400px, 84vw); scroll-snap-align: start; background: #fff; border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.55; flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.review footer b { display: block; }
.review footer span { font-size: 13px; color: var(--muted); }

/* ---------- Delivery ---------- */
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 70px; }
.city { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: border-color .4s, background .4s; }
.city:hover { border-color: var(--pink); background: rgba(220, 171, 115, .06); }
.city b { display: block; font-family: var(--display); font-weight: 500; font-size: 24px; letter-spacing: -.01em; }
.city span { display: block; color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.city em { display: block; font-size: 28px; margin-top: 18px; }
.faq { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-family: var(--display); font-weight: 400; font-size: clamp(17px, 1.8vw, 22px); letter-spacing: -.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; border: 1px solid rgba(44,53,51,.3); display: grid; place-items: center; font-size: 20px; transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--pink); border-color: var(--pink); color: #fff; }
.faq p { margin: 0 0 24px; color: var(--ink-2); max-width: 720px; }

/* ---------- Footer ---------- */
.footer { background: var(--tint); color: var(--ink); padding: clamp(60px, 8vw, 110px) 0 24px; overflow: hidden; }
.footer__cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding-bottom: 60px; border-bottom: 1px solid rgba(86, 98, 94, .25); }
.footer__cta h2 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.01em; }
.footer__cta h2 em { color: var(--pink); }
.footer__social { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 50px 0; }
.footer h4 { margin: 0 0 16px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--pink-deep); }
.footer__grid a, .footer__grid span { display: block; padding: 3px 0; font-size: 15px; opacity: .9; }
.footer__grid a:hover { opacity: 1; text-decoration: underline; }
.footer__word { display: flex; align-items: center; justify-content: center; gap: .25em; font-family: var(--display); font-weight: 500; font-size: clamp(26px, 8vw, 130px); line-height: 1; letter-spacing: .02em; text-align: center; white-space: nowrap; color: var(--ink-2); }
.footer__mark { width: 1.1em; height: auto; flex: none; }
.footer__word i { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 13px; opacity: .85; flex-wrap: wrap; }

/* ---------- Overlays ---------- */
.close-x { width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.close-x:hover { background: var(--tint); transform: rotate(90deg); }
.search-overlay { position: fixed; inset: 0; z-index: 400; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); padding-top: 14vh; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; overflow-y: auto; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay > .close-x { position: absolute; top: 20px; right: 20px; }
#bigSearch { width: 100%; border: 0; border-bottom: 2px solid var(--ink); background: none; font-family: var(--display); font-weight: 500; letter-spacing: -.01em; font-size: clamp(30px, 6vw, 80px); padding: 10px 0; outline: none; }
.search-results { margin-top: 26px; }
.sr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.sr-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.sr-chip { display: inline-flex; flex-direction: column; padding: 8px 14px; border-radius: 14px; background: var(--tint); font-weight: 700; font-size: 14px; line-height: 1.2; }
.sr-chip small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--pink-deep); font-weight: 800; }
.sr-chip:hover { background: var(--blush); }
.sr-all { margin-top: 18px; }
.search-hint { color: var(--muted); margin-top: 30px; }
.search-hint button { text-decoration: underline; text-underline-offset: 3px; margin: 0 6px; color: var(--ink); font-weight: 600; }

.scrim { position: fixed; inset: 0; z-index: 450; background: rgba(44,53,51,.5); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.scrim.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 460; width: min(460px, 100%); background: var(--bg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .7s var(--ease); }
.drawer.open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.01em; font-size: 24px; }
.drawer__ship { padding: 14px 24px; background: var(--tint); font-size: 13px; }
.drawer__ship p { margin: 0 0 8px; }
.ship__bar { height: 5px; border-radius: 5px; background: rgba(44,53,51,.08); overflow: hidden; }
.ship__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pink), #f0cfa3); transition: width .6s var(--ease); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.drawer__total b { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; font-size: 28px; }
.drawer__empty { text-align: center; padding: 60px 0; color: var(--muted); }
.drawer__empty p { font-family: var(--display); font-size: 22px; color: var(--ink); margin: 0 0 6px; letter-spacing: -.01em; }
.line-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-item img { width: 76px; height: 92px; border-radius: 14px; object-fit: cover; flex: none; }
.line-item__info { flex: 1; min-width: 0; }
.line-item__info b { display: block; font-size: 15px; line-height: 1.3; }
.line-item__info small { color: var(--muted); font-size: 12px; }
.qty { display: flex; width: max-content; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; margin-top: 8px; }
.qty button { width: 32px; height: 32px; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 700; }
.line-item__right { text-align: right; display: grid; gap: 8px; justify-items: end; }
.line-item__right b { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; font-size: 15px; white-space: nowrap; }
.line-item__right button { font-size: 12px; color: var(--muted); text-decoration: underline; }

.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; background: rgba(44,53,51,.55); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; perspective: 1400px; }
.modal.open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: min(1000px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: var(--bg); border-radius: 30px; transform: rotateX(14deg) translateY(40px) scale(.95); transition: transform .7s var(--ease); }
.modal.open .modal__box { transform: none; }
.modal__box--narrow { width: min(540px, 100%); padding: 36px; }
.modal__box > .close-x { position: absolute; top: 14px; right: 14px; z-index: 3; background: rgba(255,255,255,.9); }
.pm { display: grid; grid-template-columns: 1fr 1fr; }
.pm__media { position: relative; min-height: 480px; overflow: hidden; border-radius: 30px 0 0 30px; }
.pm__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pm__info { padding: clamp(26px, 4vw, 50px); display: flex; flex-direction: column; gap: 14px; }
.pm__info h3 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.01em; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; }
.pm__info p { margin: 0; color: var(--ink-2); }
.pm__price { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; font-size: 30px; }
.pm__price s { font-family: var(--sans); font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 8px; }
.pm__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.pm__list li { display: flex; gap: 10px; }
.pm__list li::before { content: "✦"; color: var(--pink); }
.pm__vol { display: flex; gap: 8px; flex-wrap: wrap; }
.pm__vol button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13px; font-weight: 600; }
.pm__vol button.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.pm__actions { display: flex; gap: 10px; margin-top: 6px; }
.pm__actions .btn { flex: 1; }
.pm__actions .heart { position: static; width: 58px; height: 58px; border: 1.5px solid var(--line); flex: none; }

.co h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 500; letter-spacing: -.01em; font-size: 30px; }
.co > p { color: var(--muted); margin: 0 0 22px; }
.co form { display: grid; gap: 12px; }
.co label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.co input, .co select, .co textarea { height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; padding: 0 16px; outline: none; font-size: 15px; font-weight: 500; }
.co textarea { height: 80px; padding: 12px 16px; resize: vertical; }
.co input:focus, .co select:focus, .co textarea:focus { border-color: var(--pink); }
.co .pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.co .pay label { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; font-weight: 600; cursor: pointer; }
.co .pay label:has(input:checked) { border-color: var(--pink); background: var(--tint); }
.co .pay input { height: auto; accent-color: var(--pink); }
.co__err { color: var(--pink-deep); font-size: 14px; font-weight: 600; margin: 0; }
.co__ok { text-align: center; padding: 10px 0; }
.co__ok .check { width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-size: 42px; animation: pop .7s var(--ease); box-shadow: 0 20px 40px -10px rgba(220, 171, 115, .7); }
.co__ok .footer__social { justify-content: center; margin-top: 18px; }
@keyframes pop { from { transform: scale(0) rotate(-90deg); } }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 600; transform: translate(-50%, calc(100% + 60px)); background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: transform .6s var(--ease); box-shadow: 0 20px 40px rgba(0,0,0,.25); white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .logo { justify-self: center; }
  .header__actions { justify-self: end; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .cities { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__hint { display: none; }
  .hero__bottom { flex-direction: column; align-items: stretch; }
  .cats { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .showcase { height: 220vh; }
  .showcase__grid { grid-template-columns: 1fr; gap: 10px; }
  .showcase__stage { height: 46vh; order: -1; }
  .flip { width: min(240px, 56vw); }
  .showcase__desc { margin: 12px 0; font-size: 14px; }
  .showcase__price { font-size: 30px; margin-bottom: 16px; }
  .quiz, .social-move__grid { grid-template-columns: 1fr; }
  .pm { grid-template-columns: 1fr; }
  .pm__media { min-height: 340px; border-radius: 30px 30px 0 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { min-height: 600px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; }
  .card__quick { height: 40px; font-size: 12px; left: 8px; right: 8px; bottom: 8px; transform: none; }
  .heart { width: 36px; height: 36px; }
  .card__name { font-size: 14px; }
  .price { font-size: 15px; }
  .stars span { display: none; }
  .toolbar, .search-field, .search-field input, .toolbar select { width: 100%; }
  .quiz__opts, .co .pay { grid-template-columns: 1fr; }
  .why, .cities { grid-template-columns: 1fr; }
  .why__item { min-height: 0; }
  .modal__box--narrow { padding: 28px 18px; }
  .icon-btn { width: 40px; height: 40px; }
  .header__inner { gap: 6px; grid-template-columns: auto 1fr auto; }
  /* уведомления сверху, чтобы не закрывать кнопку «Оформить заказ» */
  .toast { top: 12px; bottom: auto; transform: translate(-50%, calc(-100% - 40px)); }
  .toast.show { transform: translate(-50%, 0); }
  .header__actions { gap: 0; }
  .logo { font-size: 17px; letter-spacing: .02em; gap: 7px; min-width: 0; }
  .logo__mark { width: 30px; height: 30px; }
  .hide-sm { display: none; }
  .section__title { font-size: clamp(30px, 8.6vw, 44px); }
  .showcase__text .section__title { font-size: 26px; }
}
@media (max-width: 360px) {
  .logo span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Многостраничный сайт: меню разделов, каталог, товар, корзина, инфо
   ===================================================================== */

/* ---------- Меню «Женщинам / Мужчинам» ---------- */
.nav { align-items: center; }
.nav__item { position: relative; }
.nav__top { display: inline-flex; align-items: center; gap: 4px; }
.nav__top svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s; }
.nav__item:hover .nav__top svg, .nav__item:focus-within .nav__top svg { transform: rotate(180deg); }
.nav a.active { opacity: 1; }
.nav a.active::after { transform: scaleX(1); }
.mega { position: absolute; top: 100%; left: -24px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; z-index: 10; }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { width: 560px; background: #fff; color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 30px 70px -20px rgba(44, 53, 51, .25); border: 1px solid var(--line); }
.mega__title { margin: 0 0 12px 8px; font-family: var(--display); font-size: 24px; font-weight: 600; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav .mega__link { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 14px; opacity: 1; transition: background .2s; }
.nav .mega__link::after, .nav .mega__all::after { display: none; }
.nav .mega__link:hover { background: var(--tint); }
.mega__link i { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; color: var(--pink); }
.mega__link i svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mega__link b { display: block; font-size: 14px; }
.mega__link small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.nav .mega__all { display: block; margin: 12px 8px 0; font-size: 13px; font-weight: 700; color: var(--pink); opacity: 1; }

/* ---------- Мобильное меню с разделами ---------- */
.mobile-menu { padding-top: 110px; }
.mobile-menu__scroll { overflow-y: auto; flex: 1; min-height: 0; padding-bottom: 20px; }
.mm-group { border-bottom: 1px solid var(--line); }
.mm-group summary { list-style: none; cursor: pointer; font-family: var(--display); font-size: clamp(30px, 8vw, 44px); font-weight: 600; padding: 10px 0; display: flex; justify-content: space-between; align-items: center; }
.mm-group summary::-webkit-details-marker { display: none; }
.mm-group summary::after { content: "+"; font-family: var(--sans); font-size: 26px; font-weight: 400; color: var(--pink); transition: transform .3s; }
.mm-group[open] summary::after { transform: rotate(45deg); }
.mm-group__links { display: grid; gap: 2px; padding: 0 0 16px; }
.mm-group__links a { font-size: 17px; font-weight: 600; padding: 7px 0; color: var(--ink-2); }
.mm-links { display: grid; gap: 2px; padding-top: 16px; }
.mobile-menu .mm-links a { font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: 0; line-height: 1.4; padding: 8px 0; }
.mobile-menu__social { padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Общие элементы страниц ---------- */
.page { min-height: 60vh; }
.page-head { padding: clamp(36px, 6vw, 70px) 0 clamp(20px, 3vw, 34px); }
.page-head--slim { padding: 22px 0 10px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--ink-2); font-weight: 600; }
.crumbs a:hover { color: var(--pink); }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs span { color: var(--muted); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-title { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(38px, 6vw, 84px); line-height: 1; letter-spacing: -.01em; }
.page-title em { font-family: var(--serif); font-style: italic; color: var(--pink); }
.page-sub { margin: 14px 0 0; color: var(--ink-2); font-size: 17px; max-width: 60ch; }
.section--first { padding-top: clamp(30px, 5vw, 60px); }
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); }
.seg button { height: 42px; padding: 0 22px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); transition: background .3s, color .3s; }
.seg button:hover { color: var(--ink); }
.seg button.active { background: var(--ink); color: #fff; }
.seg--wide { margin-bottom: 26px; }
.soon { text-align: center; max-width: 560px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) 0; }
.soon h3 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 500; margin: 0 0 10px; line-height: 1.1; }
.soon p { color: var(--ink-2); margin: 0 0 24px; }
.soon__ico { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 26px; background: var(--tint); color: var(--pink); }
.soon__ico svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.soon__social { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn--line:hover { color: #fff; }

/* ---------- Карточка товара: ссылка внутри фото ---------- */
.card__link { position: absolute; inset: 0; display: block; }
.card__link img { width: 100%; height: 100%; object-fit: cover; }
a.card__name { display: block; }
a.card__name:hover { color: var(--pink); }
.card__quick:disabled { background: rgba(44, 53, 51, .55); cursor: default; }

/* ---------- Главная: Для неё / Для него ---------- */
.genders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gender { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 30px; overflow: hidden; background: var(--tint); min-height: 420px; transition: transform .5s var(--ease), box-shadow .5s; }
.gender--m { background: #eef0ec; }
.gender:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(154, 107, 56, .5); }
.gender__pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 14px 0; }
.gender__pics img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 18px; transition: transform .8s var(--ease); }
.gender:hover .gender__pics img:nth-child(1) { transform: translateY(-8px) rotate(-2deg); }
.gender:hover .gender__pics img:nth-child(3) { transform: translateY(-8px) rotate(2deg); }
.gender__text { padding: 22px 28px 28px; align-self: end; }
.gender__text .eyebrow { margin-bottom: 6px; }
.gender__text h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5vw, 64px); line-height: 1; }
.gender__text p:not(.eyebrow) { margin: 10px 0 16px; color: var(--ink-2); font-size: 15px; }
.gender__go { display: inline-flex; height: 46px; align-items: center; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.gender:hover .gender__go { background: var(--pink); }

/* ---------- Главная: плитки категорий ---------- */
.cats2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; perspective: 1400px; }
.cat2 { position: relative; aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; transform-style: preserve-3d; }
.cat2 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.cat2::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(44, 53, 51, .72)); }
.cat2:hover img { transform: scale(1.07); }
.cat2--soon { background: linear-gradient(150deg, #fff 0%, var(--blush) 100%); color: var(--ink); border: 1px solid var(--line); }
.cat2--soon::after { display: none; }
.cat2__ico { position: absolute; top: 22px; left: 22px; width: 64px; height: 64px; border-radius: 20px; background: #fff; display: grid; place-items: center; color: var(--pink); box-shadow: 0 10px 30px -14px rgba(154, 107, 56, .5); }
.cat2__ico svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cat2__name { font-family: var(--display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; line-height: 1.05; }
.cat2__meta { font-size: 13px; opacity: .85; margin-top: 4px; font-weight: 600; }
.cat2--soon .cat2__meta { color: var(--pink); opacity: 1; }
.cat2__go { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 18px; transition: transform .5s var(--ease), background .3s, color .3s; transform: rotate(-45deg); }
.cat2:hover .cat2__go { transform: none; background: var(--pink); color: #fff; }
.review__big { font-family: var(--display); font-size: 40px; letter-spacing: -.01em; flex: 0; }
.teaser { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; background: var(--tint); border-radius: 34px; padding: clamp(28px, 5vw, 60px); }
.teaser__lead { color: var(--ink-2); max-width: 60ch; margin: 16px 0 0; font-size: 17px; }

/* ---------- Каталог ---------- */
.catalog { padding-bottom: clamp(60px, 9vw, 120px); }
.catalog__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
.catalog__layout > * { min-width: 0; }
.catalog__side { position: sticky; top: 100px; }
.catalog__side-title { margin: 0 0 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--pink-deep); }
.catalog__cats { display: grid; gap: 4px; }
.cat-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 14px; text-align: left; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.cat-row:hover { background: #fff; color: var(--ink); }
.cat-row.active { background: var(--ink); color: #fff; }
.cat-row i { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; color: var(--pink); font-style: normal; font-size: 14px; }
.cat-row.active i { background: rgba(255, 255, 255, .14); color: var(--pink-2); }
.cat-row i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cat-row span { flex: 1; line-height: 1.25; }
.cat-row sup { font-size: 11px; opacity: .6; font-weight: 700; }
.catalog__main { min-width: 0; }
.catalog__main .chips { margin-bottom: 18px; }
.catalog__toolbar { margin-bottom: 14px; }
.catalog__toolbar .search-field { flex: 1; min-width: 200px; }
.catalog__toolbar .search-field input { width: 100%; }
.catalog__count { margin: 0 0 20px; font-size: 13px; color: var(--muted); font-weight: 600; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Страница товара ---------- */
.pp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 70px); padding: 10px 0 clamp(60px, 8vw, 110px); align-items: start; }
.pp__media { position: sticky; top: 100px; }
.pp__img { position: relative; aspect-ratio: 4/5; border-radius: 30px; overflow: hidden; background: var(--blush); }
.pp__img img { width: 100%; height: 100%; object-fit: cover; }
.pp__info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pp__brand { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--pink); }
.pp__name { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4vw, 54px); line-height: 1.05; overflow-wrap: anywhere; }
.pp__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pp__meta > span { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.pp__meta .stock--in { color: #2d7a4f; border-color: rgba(45, 122, 79, .3); background: #eef8f1; }
.pp__meta .stock--low { color: var(--pink-deep); border-color: rgba(154, 107, 56, .35); background: var(--tint); }
.pp__meta .stock--out { color: var(--muted); }
.pp__price { font-family: var(--display); font-weight: 600; font-size: 38px; line-height: 1; }
.pp__price s { font-family: var(--sans); font-size: 18px; color: var(--muted); font-weight: 500; margin-left: 10px; }
.pp__desc { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.pp__label { margin: 0 0 8px; font-size: 13px; font-weight: 700; }
.pp__buy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pp__buy .btn { flex: 1; min-width: 200px; }
.qty--big { margin: 0; height: 58px; }
.qty--big button { width: 46px; height: 54px; font-size: 20px; }
.qty--big span { min-width: 30px; font-size: 16px; }
.heart--big { position: static; width: 58px; height: 58px; border: 1.5px solid var(--line); flex: none; background: #fff; }
.pp__note { margin: 0; font-size: 14px; color: var(--ink-2); }
.pp__note a { color: var(--pink); font-weight: 700; text-decoration: underline; }
.pp__perks { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pp__faq summary { font-size: 18px; padding: 18px 50px 18px 0; }
.pp__faq p a { color: var(--pink); text-decoration: underline; }

/* ---------- Корзина и оформление ---------- */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(60px, 8vw, 110px); }
.checkout__items { min-width: 0; }
.checkout__ship { border-radius: 18px; margin-bottom: 8px; }
.checkout__items .line-item img { width: 92px; height: 112px; }
.checkout__items .link-btn { display: inline-block; margin-top: 20px; }
.checkout__form { position: sticky; top: 100px; background: #fff; border-radius: 26px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); }
.checkout__form > p b { color: var(--ink); }
.co__note { margin: 4px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.co__ok .check { width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-size: 40px; }

/* ---------- Инфо-страницы ---------- */
.why--3 { grid-template-columns: repeat(3, 1fr); }
.about__logo { background: var(--tint); border-radius: 34px; aspect-ratio: 1; display: grid; place-items: center; }
.about__logo img { width: 56%; }
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 8px; }
.contact span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--pink-deep); }
.contact b, .contact a { font-family: var(--display); font-size: 24px; font-weight: 600; }
.contact--wide { grid-column: 1 / -1; }
.footer__grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Адаптив для новых страниц ---------- */
@media (max-width: 1180px) {
  .catalog__layout { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .genders { grid-template-columns: 1fr; }
  .gender { min-height: 0; }
  .cats2 { grid-template-columns: 1fr 1fr; }
  .catalog__layout { grid-template-columns: minmax(0, 1fr); }
  .catalog__side { position: static; margin: 0 calc(var(--gutter) * -1); }
  .catalog__side-title { display: none; }
  .catalog__cats { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .catalog__cats::-webkit-scrollbar { display: none; }
  .cat-row { width: auto; flex: none; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14px; white-space: nowrap; }
  .cat-row.active { border-color: var(--ink); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .pp, .checkout, .two-col { grid-template-columns: 1fr; }
  .pp__media, .checkout__form { position: static; }
  .pp__img { max-width: 560px; }
  .why--3, .contacts { grid-template-columns: 1fr; }
  .about__logo { max-width: 360px; }
}
@media (max-width: 640px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; }
  .cats2 { grid-template-columns: 1fr; }
  .cat2 { aspect-ratio: 16/9; }
  .seg { display: flex; width: 100%; }
  .seg button { flex: 1; padding: 0 10px; }
  .section__head--row .seg { width: 100%; }
  .gender__pics { gap: 6px; padding: 10px 10px 0; }
  .gender__text { padding: 18px 20px 22px; }
  .footer__grid--4 { grid-template-columns: 1fr 1fr; }
  .pp__buy .btn { min-width: 0; flex-basis: 100%; order: 3; }
  .qty--big { flex: 1; justify-content: space-between; }
  .checkout__items .line-item img { width: 70px; height: 86px; }
  .crumbs span { max-width: 26ch; }
  .teaser .btn { width: 100%; }
}

/* ---------- «Хочу уход» ---------- */
.btn--care { background: #fff; color: var(--pink-deep); border: 1.5px solid rgba(154, 107, 56, .35); }
.btn--care::before { background: var(--pink); }
.btn--care:hover { color: #fff; }
.care-cta { margin-top: 26px; padding: 20px 22px; border-radius: 22px; background: var(--tint); display: grid; gap: 14px; justify-items: start; }
.care-cta p { margin: 0; color: var(--ink-2); font-size: 15px; }
.why__link { margin-top: auto; padding-top: 16px; align-self: flex-start; color: var(--pink); transform: translateZ(20px); }
.care .eyebrow { margin-bottom: 8px; }
.care__label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.co .pay--3 { grid-template-columns: repeat(3, 1fr); }
.co .pay--4 { grid-template-columns: repeat(4, 1fr); }
.co .pay--3 label, .co .pay--4 label { padding: 12px 10px; font-size: 13px; justify-content: center; gap: 6px; }
.care__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#careModal .modal__box { max-height: calc(100svh - 24px); }
@media (max-width: 640px) {
  .hero__cta .btn { flex: 1 1 calc(50% - 6px); padding: 0 16px; }
  .hero__cta .btn--care { flex: 1 1 100%; }
  .co .pay--4 { grid-template-columns: repeat(2, 1fr); }
  #careModal { padding: 10px; }
  #careModal .modal__box--narrow { padding: 26px 18px; }
}

/* ---------- Форма «Хочу уход»: шаги с плашками ---------- */
.care__step { border: 0; margin: 0; padding: 14px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); transition: border-color .3s, background .3s; }
.care__step legend { float: left; width: 100%; margin: 0 0 10px; padding: 0; font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.care__step legend + * { clear: both; }
.care__step legend b { width: 22px; height: 22px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-size: 12px; flex: none; }
.care__step legend small { font-weight: 600; color: var(--muted); font-size: 12px; }
.care__step--miss { border-color: #c0392b; background: #fff6f4; }
.care__step--miss legend { color: #a12a1d; }
.chip-opts { display: grid; gap: 6px; }
.chip-opts--2 { grid-template-columns: 1fr 1fr; }
.chip-opts--3 { grid-template-columns: repeat(3, 1fr); }
.chip-opts--4 { grid-template-columns: repeat(4, 1fr); }
.chip-opt { position: relative; display: block; cursor: pointer; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.co .chip-opt span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 8px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font-size: 13px; font-weight: 700; line-height: 1.2; transition: border-color .2s, background .2s, color .2s; }
.chip-opt:hover span { border-color: rgba(154, 107, 56, .45); }
.chip-opt input:checked + span { border-color: var(--pink); background: var(--tint); color: var(--pink-deep); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.care__contacts { display: grid; gap: 10px; margin-top: 12px; }
.co .care__contacts label { font-size: 13px; }
@media (max-width: 640px) {
  .chip-opts--3 { grid-template-columns: 1fr 1fr; }
  .care__step { padding: 12px; }
}

/* =====================================================================
   Главная: витрина (разделы, промо, ленты товаров, бренды)
   ===================================================================== */
.pills-bar { background: #fff; border-bottom: 1px solid var(--line); }
.pills { display: flex; gap: 8px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill-link { flex: none; height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.pill-link:hover { border-color: var(--ink); }
.pill-link--care { background: var(--tint); border-color: rgba(154, 107, 56, .35); color: var(--pink-deep); }
.pill-link--care:hover { background: var(--pink); border-color: var(--pink); color: #fff; }

.shelf { padding: clamp(28px, 4vw, 52px) 0; }
.shelf + .shelf { padding-top: 0; }
.shelf__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.shelf__title { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.05; }
.shelf__sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.shelf__nav { display: flex; align-items: center; gap: 8px; flex: none; }
.shelf__all { font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; margin-right: 6px; white-space: nowrap; }
.shelf__all:hover { color: var(--pink); }
.round-btn--sm { width: 44px; height: 44px; font-size: 16px; }

.promo-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.promo-rail::-webkit-scrollbar { display: none; }
.promo { scroll-snap-align: start; display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; min-height: 230px; border-radius: 24px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.promo:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(154, 107, 56, .55); }
.promo--peach { background: var(--tint); }
.promo--sage { background: #e9eee8; }
.promo--sand { background: #f3e6d4; }
.promo--rose { background: #f8e3df; }
.promo__text { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.promo__text b { font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.05; }
.promo__text span { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.promo__text em { margin-top: auto; font-style: normal; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--pink-deep); }
.promo__img { position: relative; }
.promo__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; min-width: 0; }
.rail .card__name { font-size: 15px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.brand { display: grid; gap: 2px; place-content: center; text-align: center; min-height: 92px; padding: 12px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); transition: border-color .2s, transform .3s var(--ease); }
.brand:hover { border-color: var(--pink); transform: translateY(-3px); }
.brand b { font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1.1; }
.brand span { font-size: 12px; color: var(--muted); font-weight: 600; }

@media (max-width: 1180px) {
  .promo-rail { grid-auto-columns: calc((100% - 16px) / 2); }
  .rail { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
  .brands { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .rail { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; }
}
@media (max-width: 640px) {
  .promo-rail { grid-auto-columns: 86%; gap: 12px; }
  .promo { min-height: 200px; }
  .promo__text b { font-size: 22px; }
  .rail { grid-auto-columns: 44%; gap: 12px; }
  .shelf__head { align-items: center; }
  .shelf__nav .round-btn { display: none; }
  .brands { grid-template-columns: repeat(2, 1fr); }
}

/* Товар без фото: логотип на персиковом фоне */
.card__media--noimg { background: var(--tint); }
.card__media--noimg img { object-fit: contain; padding: 22%; opacity: .9; }
