/* ARTEX — редакционная beauty-витрина: кремовый фон, румяный акцент, ягодный контраст */
:root {
  --bg: #fbf6f2;
  --surface: #ffffff;
  --cream: #f6eee8;
  --blush: #f7dfe3;
  --blush-2: #f2ccd4;
  --lilac: #ebe3f6;
  --peach: #fbe3d3;
  --sage: #e3ecdf;
  --line: #eadcd8;
  --text: #241519;
  --muted: #7d6a6f;
  --accent: #c23e68;
  --accent-strong: #9e2a51;
  --accent-soft: #fbe2ea;
  --ink: #2a1520;
  --ink-2: #3b1d2c;
  --ok: #2f7d57;
  --warn: #9a6200;
  --err: #b3261e;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(60, 20, 30, .05), 0 14px 40px -12px rgba(120, 40, 70, .22);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Cormorant", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; }
h1 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -.015em; }
h1 em, .display em, .hero__title em { font-style: italic; color: var(--accent); }
.h3, h3 { font-size: 18px; font-weight: 600; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: 18px; color: #4d3a40; max-width: 58ch; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 900px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 780px; }
.main { min-height: 60vh; padding-bottom: 64px; }
.section { margin: 72px 0; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section__head .display { margin: 0; }
.section__title, .display { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.01em; line-height: 1.05; }
.arrow-link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.arrow-link::after { content: " →"; transition: margin .2s; }
.arrow-link:hover::after { margin-left: 4px; }

.demo-bar { background: var(--ink); color: #f5d9e2; text-align: center; font-size: 12px; letter-spacing: .02em; padding: 6px 16px; }

/* header */
.header { background: rgba(251, 246, 242, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header__top { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 10px; }
.header__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; line-height: 1; transition: color .2s; }
.logo:hover { color: var(--accent-strong); }
.logo-svg { display: block; height: 1em; width: auto; }
.logo .logo-svg { height: 22px; }
.search { flex: 1; display: flex; max-width: 580px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.search input { flex: 1; border: 0 !important; background: transparent; padding: 11px 18px; font: inherit; min-width: 0; box-shadow: none !important; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search button { border: 0; background: var(--accent); color: #fff; margin: 4px; width: 38px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.header__actions { display: flex; gap: 4px; margin-left: auto; }
.icon-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; position: relative; font-size: 14px; font-weight: 500; }
.icon-link:hover { background: var(--blush); color: var(--text); }
.badge { background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 6px; }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; padding: 6px 14px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { background: var(--blush); }
.locale { display: flex; gap: 8px; flex-shrink: 0; }
.locale select, select, input, textarea { font: inherit; color: inherit; }
.locale select { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 13px; width: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 999px; padding: 11px 22px; font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(158, 42, 81, .6); }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--sm { padding: 6px 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--text); border-color: #dcc7c6; }
.btn--ghost:hover { background: var(--surface); color: var(--accent-strong); border-color: var(--accent); box-shadow: none; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--blush); color: var(--ink); border-color: var(--blush); }
.btn--icon { width: 42px; height: 42px; padding: 0; flex-shrink: 0; }
.link { background: none; border: 0; padding: 0; color: var(--accent-strong); text-decoration: underline; cursor: pointer; font: inherit; }

/* swatches */
.dot { display: inline-block; vertical-align: middle; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.7), rgba(255,255,255,0) 40%), var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); flex-shrink: 0; }
.dot--sm { width: 12px; height: 12px; }
.dot--md { width: 18px; height: 18px; }
.nailwrap { display: inline-block; line-height: 0; }
.nail { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 10px 14px rgba(70, 20, 40, .18)); }
.nailwrap--lg { width: 34%; max-width: 92px; }
.nailwrap--xl { width: 100%; }
.nailwrap--xxl { width: 34%; max-width: 200px; }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--cream), var(--bg)); }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; pointer-events: none; }
.hero__blob--a { width: 520px; height: 520px; background: var(--blush-2); right: -120px; top: -160px; }
.hero__blob--b { width: 380px; height: 380px; background: var(--lilac); right: 26%; bottom: -200px; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--accent-strong); background: rgba(255,255,255,.7); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; margin: 0 0 22px; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
h1.eyebrow { font-family: var(--font); font-size: 13px; line-height: 1.4; letter-spacing: .04em; font-weight: 600; }
.hero__title { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 5.6vw, 78px); line-height: .98; letter-spacing: -.025em; margin-bottom: 22px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__facts { display: flex; gap: 36px; flex-wrap: wrap; margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__facts div { display: flex; flex-direction: column-reverse; }
.hero__facts dt { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--ink); }
.hero__facts dt small { font-size: 18px; margin-left: 2px; }
.hero__facts dd { margin: 0 0 6px; font-size: 13px; color: var(--muted); max-width: 16ch; }
.fan { position: relative; height: 520px; }
.fan::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 420px; height: 420px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.9), rgba(255,255,255,0) 70%); }
.fan__nail { position: absolute; left: calc(50% - 64px); bottom: 150px; width: 128px; transform-origin: 50% 200%; transform: rotate(calc((var(--i) - 2) * 17deg)); animation: sway 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.2s); }
.fan__nail .nailwrap { display: block; }
.fan__label { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; background: rgba(255,255,255,.85); padding: 3px 9px; border-radius: 999px; color: var(--ink); opacity: 0; transition: opacity .3s; }
.fan:hover .fan__label { opacity: 1; }
@keyframes sway { 50% { translate: 0 -10px; } }

/* marquee of shades */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 8px; padding: 14px 4px; }
.marquee__item { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.marquee__item:hover { background: var(--blush); color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* bento categories */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.bento__tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 22px; border-radius: var(--radius); text-decoration: none; color: var(--text); background: var(--peach); transition: transform .25s, box-shadow .25s; }
.bento__tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.bento__tile--1 { grid-column: span 2; grid-row: span 2; background: var(--blush); }
.bento__tile--2 { grid-column: span 2; background: var(--lilac); }
.bento__tile--3 { background: var(--sage); }
.bento__tile--4 { background: var(--peach); }
.bento__tile--5 { background: var(--sage); }
.bento__tile--6 { background: var(--blush); }
.bento__tile--7 { background: var(--lilac); }
.bento__tile--8 { background: var(--cream); }
.bento__tile--9 { grid-column: span 2; background: var(--peach); }
.bento__tile--10 { grid-column: span 2; background: var(--ink); color: #fff; }
.bento__tile--10:hover { color: #fff; }
.bento__tile--10 .bento__desc { color: #d9c2ca; }
.bento__tile--10 .bento__num { color: #f4a3bd; }
.bento__num { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--accent-strong); }
.bento__name { font-family: var(--display); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; font-weight: 500; padding-right: 64px; hyphens: auto; overflow-wrap: break-word; }
.bento__count { padding-top: 10px; }
.bento__icon { position: absolute; top: 20px; right: 20px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%;
  color: var(--accent-strong); background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); transition: transform .35s cubic-bezier(.2,.8,.2,1), background .25s; }
.cat-icon { width: 34px; height: 34px; }
.bento__tile:hover .bento__icon { transform: rotate(-8deg) scale(1.08); background: rgba(255, 255, 255, .85); }
.bento__tile--9 .bento__icon, .bento__tile--2 .bento__icon { width: 84px; height: 84px; }
.bento__tile--9 .cat-icon, .bento__tile--2 .cat-icon { width: 44px; height: 44px; }
.bento__tile--10 .bento__icon { color: #f4a3bd; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.bento__tile--10:hover .bento__icon { background: rgba(255, 255, 255, .14); }
.bento__tile--1 .bento__name { font-size: clamp(38px, 4.4vw, 60px); padding-right: 0; }
.bento__desc { color: #5b474d; font-size: 14px; max-width: 32ch; }
.bento__count { margin-top: auto; font-size: 13px; font-weight: 600; }
.bento__nails { position: absolute; right: -10px; bottom: -36px; display: flex; gap: 6px; width: 70%; justify-content: flex-end; transform: rotate(-8deg); pointer-events: none; }
.bento__nails .nailwrap--lg { width: 18%; max-width: 86px; }
.bento__nails .nailwrap:nth-child(odd) { margin-bottom: 26px; }

/* palette */
.palette { background: var(--surface); border-block: 1px solid var(--line); padding: 64px 0; }
.palette__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; }
.palette__item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 14px; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); font-size: 14px; font-weight: 500; transition: background .2s; }
.palette__item:hover { background: var(--cream); color: var(--text); }
.palette__chip { width: 40px; transition: transform .25s; }
.palette__item:hover .palette__chip { transform: rotate(-10deg) translateY(-4px); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 24px; }
.chip { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; }
.chip--lg { padding: 12px 22px; font-size: 16px; }
.chip:hover, .chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* how it works */
.howto { background: radial-gradient(800px 300px at 90% 0%, rgba(194, 62, 104, .35), transparent 70%), var(--ink); color: #f6e7ec; padding: 80px 0; margin-top: 72px; }
.display--light { color: #fff; }
.display--light em { color: #f4a3bd; }
.howto__steps { list-style: none; padding: 0; margin: 40px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.howto__steps li { border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; }
.howto__steps h3 { color: #fff; font-size: 20px; }
.howto__steps p { color: #d9c2ca; margin: 0; }
.howto__n { display: block; font-family: var(--display); font-style: italic; font-size: 64px; line-height: 1; color: #f4a3bd; margin-bottom: 14px; }
.howto__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: #d9c2ca; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; box-shadow: 0 0 0 1px var(--line); }
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.card__media { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--sw) 28%, #fff) 0, color-mix(in srgb, var(--sw) 10%, #fff) 60%, #fff 100%); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media .nailwrap { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card__media .nailwrap { transform: rotate(-9deg) scale(1.06); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__meta { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.card__title { font-size: 15px; font-weight: 600; margin: 0; line-height: 1.35; }
.card__title a { color: var(--text); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card__foot form, .card__media .tag { position: relative; z-index: 1; }
.card__title a:hover { color: var(--accent-strong); }
.card__shade { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.card__foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); }
.tag--demo { background: var(--ink); color: #f8d6e1; }
.card__media .tag { position: absolute; top: 12px; left: 12px; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.price__value { font-family: var(--display); font-size: 24px; font-weight: 600; line-height: 1; }
.price__na { font-size: 14px; color: var(--muted); }
.stock { font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock--in { color: var(--ok); }
.stock--out { color: var(--warn); }

/* listing */
.crumbs { font-size: 13px; color: var(--muted); margin: 24px 0 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-strong); }
.landing { padding: 8px 0 8px; }
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; margin-top: 8px; }
.listing__filters summary { display: none; }
.filters { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 140px; background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: 0 0 0 1px var(--line); }
.filters__group { border: 0; padding: 0; margin: 0; }
.filters__group legend { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; padding: 3px 0; cursor: pointer; }
.check input { accent-color: var(--accent); width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.range { display: flex; gap: 8px; }
.range input { width: 100%; min-width: 0; }
.filters__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sort { display: flex; gap: 4px; flex-wrap: wrap; }
.sort a { font-size: 14px; padding: 6px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 500; }
.sort a.is-active { background: var(--ink); color: #fff; }
.sort a:not(.is-active):hover { background: var(--blush); color: var(--text); }
.pager { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 32px; }
.empty { text-align: center; padding: 56px 16px; background: var(--cream); border-radius: var(--radius); }

input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], input[type=password], input:not([type]), select, textarea {
  border: 1px solid #e2cfcf; border-radius: var(--radius-sm); padding: 11px 14px; background: var(--surface); width: 100%; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px var(--accent-soft); }

/* product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.pdp__gallery { position: sticky; top: 120px; }
.gallery { display: grid; gap: 12px; }
.gallery__item { margin: 0; background: var(--cream); border-radius: var(--radius); overflow: hidden; }
.gallery--empty { border-radius: var(--radius); aspect-ratio: 1; place-items: center; align-content: center; text-align: center; padding: 24px;
  background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--sw) 32%, #fff), color-mix(in srgb, var(--sw) 8%, #fff) 70%); }
.gallery--empty .nailwrap { margin: 0 auto 18px; transform: rotate(-8deg); }
.pdp__title { font-size: clamp(32px, 4vw, 48px); margin-top: 10px; }
.pdp__shade { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.buybox { background: var(--surface); border-radius: var(--radius); padding: 24px; margin: 24px 0; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.buybox .price__value { font-size: 40px; }
.buybox__form { display: flex; gap: 10px; }
.buybox__form .btn { flex: 1; }
.qty { width: 84px !important; text-align: center; }
.buybox__secondary { display: flex; gap: 8px; flex-wrap: wrap; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.specs dt { color: var(--muted); font-size: 14px; }
.specs dd { margin: 0; font-weight: 500; }
.pdp__details { max-width: 820px; }
.prose { max-width: 70ch; }
.prose p { margin: 0 0 1em; }
.prose h2 { font-family: var(--display); font-weight: 500; font-size: 30px; }
.compat { padding-left: 18px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }

/* tables */
.table-scroll { overflow-x: auto; }
.compare, .table { border-collapse: collapse; width: 100%; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; }
.compare th, .compare td, .table th, .table td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.compare thead th { min-width: 180px; }
.compare tr.differs td { background: var(--accent-soft); }

/* cart & checkout */
.cart, .checkout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart__lines { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.line { display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 16px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 12px 16px 12px 12px; box-shadow: 0 0 0 1px var(--line); }
.line__media { width: 84px; height: 84px; background: var(--cream); border-radius: var(--radius-sm); display: grid; place-items: center; overflow: hidden; }
.line__media .dot--md { width: 34px; height: 34px; }
.line__qty { display: flex; gap: 6px; align-items: center; }
.line__total { font-family: var(--display); font-size: 22px; font-weight: 600; min-width: 100px; text-align: right; }
.summary { background: var(--surface); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 140px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.summary__row { display: flex; justify-content: space-between; gap: 12px; }
.summary__lines { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.summary__lines li { display: flex; justify-content: space-between; gap: 12px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form--narrow { max-width: 520px; }
.form fieldset { border: 0; border-radius: var(--radius); padding: 22px; margin: 0; display: flex; flex-direction: column; gap: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.form legend { font-family: var(--display); font-size: 24px; font-weight: 500; padding: 0; float: left; width: 100%; margin-bottom: 4px; }
.form legend + * { clear: both; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .helptext { font-size: 13px; color: var(--muted); }
.req { color: var(--accent); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--err); }
.error { color: var(--err); margin: 0; }
.warn { color: var(--warn); }
.consent { background: var(--surface); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 8px; }
.consent.has-error { box-shadow: 0 0 0 1px var(--err); }
.flash { padding: 12px 18px; border-radius: var(--radius-sm); margin: 16px 0; background: #e8f4ec; color: #1f5a3c; font-weight: 500; }
.flash--error { background: #fdecea; color: #7a1c16; }
.flash--warning { background: #fff4d6; color: #5c4400; }
.success { padding: 40px 0; }
.invite { background: var(--blush); border-radius: var(--radius); padding: 20px 22px; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* auth & account */
.auth { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 360px); gap: 32px; justify-content: center; align-items: start; padding-top: 40px; }
.auth__card { background: var(--surface); border-radius: var(--radius); padding: 32px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.auth__card:only-child { grid-column: 1 / -1; max-width: 520px; width: 100%; justify-self: center; }
.auth__alt { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.auth__aside { background: var(--blush); border-radius: var(--radius); padding: 28px; }
.auth__aside h2 { font-family: var(--display); font-weight: 500; font-size: 30px; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.ticks li::before { content: "✦"; color: var(--accent); margin-right: 10px; }
.acc { display: grid; grid-template-columns: 230px 1fr; gap: 36px; align-items: start; padding-top: 32px; }
.acc-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 140px; background: var(--surface); border-radius: var(--radius); padding: 12px; box-shadow: 0 0 0 1px var(--line); }
.acc-nav a, .acc-nav .link { padding: 10px 14px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 500; text-align: left; }
.acc-nav a:hover { background: var(--cream); }
.acc-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.acc-nav .link { color: var(--muted); width: 100%; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.tile { background: var(--surface); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); box-shadow: 0 0 0 1px var(--line); }
a.tile:hover { box-shadow: 0 0 0 1px var(--line), var(--shadow); color: var(--text); }
.tile__n { font-family: var(--display); font-size: 44px; line-height: 1; }
.tile--accent { background: var(--ink); color: #fff; }
.status { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--cream); white-space: nowrap; }
.status--awaiting_manager, .status--awaiting_terms, .status--awaiting_payment { background: #fff1d1; color: #6b4b00; }
.status--paid, .status--packing, .status--shipped, .status--delivered { background: #e3f3e9; color: #1f5a3c; }
.status--cancelled, .status--reserve_expired, .status--returned { background: #f1eaea; color: var(--muted); }
.timeline { list-style: none; padding: 0 0 0 18px; border-left: 2px solid var(--line); margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }

/* footer */
.footer { background: var(--ink); color: #e9d3db; padding: 56px 0 24px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer__mark { color: #fff; margin-bottom: 16px; }
.footer__mark .logo-svg { height: 40px; }
.footer__title { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #b993a2; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #f4a3bd; }
.footer .muted { color: #b993a2; }
.footer__bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }

/* responsive */
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(190px, auto); }
  .bento__tile--1 { grid-column: span 2; }
  .bento__tile--2 { grid-column: span 2; }
}
@media (max-width: 900px) {
  .hero__inner, .pdp, .cart, .checkout, .auth, .acc { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 40px; padding-bottom: 32px; }
  .fan { height: 300px; max-width: 360px; margin: 0 auto; }
  .fan::before { width: 280px; height: 280px; }
  .fan__nail { width: 78px; left: calc(50% - 39px); bottom: 90px; }
  .pdp__gallery, .acc-nav { position: static; }
  .acc-nav { flex-direction: row; overflow-x: auto; }
  .acc-nav a, .acc-nav .link { white-space: nowrap; }
  .listing { grid-template-columns: 1fr; }
  .listing__filters { background: var(--surface); border-radius: var(--radius); padding: 14px 18px; box-shadow: 0 0 0 1px var(--line); }
  .listing__filters summary { display: block; cursor: pointer; font-weight: 700; }
  .listing__filters:not([open]) .filters { display: none; }
  .filters { position: static; margin-top: 12px; padding: 0; box-shadow: none; }
  .summary { position: static; }
  .howto__steps, .footer__grid, .tiles { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header { position: static; }
  .header__top { flex-wrap: wrap; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .icon-link__label { display: none; }
  .header__bottom { flex-direction: column; align-items: stretch; gap: 8px; }
  .locale select { flex: 1; width: 100%; }
  .hero__facts { gap: 20px; }
  .hero__facts dt { font-size: 32px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__tile, .bento__tile--1, .bento__tile--2, .bento__tile--9, .bento__tile--10 { grid-column: auto; grid-row: auto; min-height: 150px; }
  .bento__tile--1 { min-height: 260px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card__body { padding: 12px; }
  .price__value { font-size: 20px; }
  .line { grid-template-columns: 64px 1fr; }
  .line__media { width: 64px; height: 64px; }
  .line__qty, .line__total { grid-column: 2; text-align: left; }
  .auth__card { padding: 22px; }
  .footer__mark .logo-svg { height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.main > .howto:last-child { margin-bottom: -64px; }

/* ---------- слайдер фото товара ---------- */
.slider { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; }
.slider:not(:has(.slider__thumbs)) { grid-template-columns: 1fr; }
.slider__thumbs { display: flex; flex-direction: column; gap: 10px; max-height: var(--slide-h); overflow-y: auto; scrollbar-width: none; padding: 2px; }
.slider__thumbs::-webkit-scrollbar { display: none; }
.slider__thumb { flex-shrink: 0; width: 72px; aspect-ratio: 7 / 9; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--cream); opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s, outline-color .2s, transform .2s; }
.slider__thumb img { width: 100%; height: 100%; object-fit: cover; }
.slider__thumb:hover { opacity: .9; transform: translateY(-1px); }
.slider__thumb.is-active { opacity: 1; outline-color: var(--accent); }
.slider__stage { position: relative; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 80% at 50% 100%, var(--blush) 0, var(--cream) 55%, #fff 100%); box-shadow: 0 0 0 1px var(--line); }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
/* фото всегда целиком в экране: высота от окна минус шапка */
.slider { --slide-h: clamp(320px, calc(100vh - 240px), 760px); --slide-h: clamp(320px, calc(100svh - 240px), 760px); }
.slider__slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; margin: 0; position: relative; height: var(--slide-h); display: grid; grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); padding: 20px 20px 56px; }
.slider__zoom { all: unset; display: block; width: 100%; height: 100%; min-height: 0; cursor: zoom-in; }
.slider__zoom img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.slider__zoom:hover img { transform: scale(1.04); }
.slider__zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: -6px; border-radius: 24px; }
.slider__note { position: absolute; left: 16px; bottom: 56px; font-size: 12px; background: rgba(255,255,255,.85); padding: 3px 10px; border-radius: 999px; }
.slider__arrow { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; cursor: pointer; color: var(--ink);
  background: rgba(255,255,255,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 24px -10px rgba(60,20,40,.35); opacity: 0; transition: opacity .25s, transform .25s, background .2s; z-index: 2; }
.slider__arrow--prev { left: 16px; transform: translateX(-6px); }
.slider__arrow--next { right: 16px; transform: translateX(6px); }
.slider__stage:hover .slider__arrow, .slider__arrow:focus-visible { opacity: 1; transform: none; }
.slider__arrow:hover { background: #fff; }
.slider__hud { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 14px; pointer-events: none; z-index: 2; }
.slider__count { font-family: var(--display); font-size: 18px; color: var(--ink); background: rgba(255,255,255,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; }
.slider__count b { font-weight: 600; color: var(--accent); }
.slider__bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(42, 21, 32, .12); overflow: hidden; }
.slider__bar span { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width .4s cubic-bezier(.2, .8, .2, 1); }
.pdp__gallery .gallery--empty { aspect-ratio: auto; height: clamp(320px, calc(100svh - 240px), 760px); }

.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: transparent; }
.lightbox::backdrop { background: rgba(30, 12, 22, .88); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__img { max-width: min(92vw, 900px); max-height: 90vh; object-fit: contain; border-radius: 18px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.lightbox__close, .lightbox__nav { position: fixed; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.12); border-radius: 50%; width: 52px; height: 52px; font-size: 30px; line-height: 1; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; translate: 0 -50%; font-size: 40px; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

@media (max-width: 900px) {
  .slider { grid-template-columns: 1fr; --slide-h: clamp(280px, 56svh, 520px); }
  .slider__slide { padding: 12px 12px 52px; }
  .slider__thumbs { order: 2; flex-direction: row; max-height: none; overflow-x: auto; }
  .slider__thumb { width: 56px; }
  .slider__arrow { display: none; }
  .slider__stage { border-radius: 22px; }
}
