:root {
  --bg: #f5efe4;
  --ink: #151515;
  --muted: #6d675e;
  --line: #d9d0c1;
  --card: #fbf8f2;
  --accent: #f7d3d3;      /* меняется из JS под расцветку в hero */
  --radius: 22px;
  --font: "Onest", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a, button, summary, label { touch-action: manipulation; }

/* фокус с клавиатуры — заметное кольцо (ui-ux-pro-max: focus-states) */
:where(a, button, input, summary, [tabindex]):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
:where(.delivery, .footer) :focus-visible { outline-color: var(--bg); }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.04em; }
h2 { font-size: clamp(40px, 7vw, 96px); line-height: .95; text-transform: lowercase; }
h2 span, .logo span { color: var(--muted); font-weight: 300; }
h2.keep-case { text-transform: none; }
section[id]:not(.hero) { scroll-margin-top: 40px; }
.eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.logo { font-size: 22px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: currentColor; transition: right .3s; }
.nav a:hover::after { right: 0; }
.header__right { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: var(--bg); transition: transform .35s, top .35s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
body.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }
.mmenu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 90px 20px 32px;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.mmenu > a { font-size: clamp(40px, 12vw, 64px); font-weight: 500; letter-spacing: -0.05em; line-height: 1.1; transform: translateY(20px); opacity: 0; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s; }
.mmenu > a small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); vertical-align: middle; }
.mmenu__foot { margin-top: auto; display: flex; gap: 24px; color: var(--muted); }
body.menu-open { overflow: hidden; }
body.menu-open .mmenu { opacity: 1; pointer-events: auto; }
body.menu-open .mmenu > a { transform: none; opacity: 1; }
body.menu-open .mmenu > a:nth-child(2) { transition-delay: .05s; }
body.menu-open .mmenu > a:nth-child(3) { transition-delay: .1s; }
body.menu-open .mmenu > a:nth-child(4) { transition-delay: .15s; }
body.menu-open .mmenu > a:nth-child(5) { transition-delay: .2s; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px;
}
.cart-count {
  display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 600;
  transition: transform .3s cubic-bezier(.3,1.6,.5,1), background .8s;
}
.cart-count.bump { transform: scale(1.35); }

/* ---------- hero ---------- */
.hero { height: 260vh; position: relative; }
.hero__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 60%, var(--accent), transparent 62%), var(--bg);
  transition: background .8s;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* кольцо из текста: большой круг на весь блок, медленно вращается */
.hero__ring {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  pointer-events: none;   /* кольцо лежит поверх 3D-бутылки — клики должны проходить к ней */
  width: min(92vw, 88svh); aspect-ratio: 1;
  translate: -50% -50%;
  will-change: transform, opacity;
}
.hero__ring-in { width: 100%; height: 100%; opacity: 0; animation: ring-in 1.4s .2s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes ring-in { from { opacity: 0; transform: scale(.85) rotate(-40deg); } to { opacity: 1; transform: none; } }
.hero__ring svg { width: 100%; height: 100%; overflow: visible; animation: ring-spin 40s linear infinite; }
@keyframes ring-spin { to { transform: rotate(360deg); } }
.hero__ring text { font-family: var(--font); font-size: 74px; font-weight: 500; letter-spacing: -0.02em; fill: var(--ink); }

.hero__side { position: absolute; top: 50%; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; opacity: 0; animation: fade .8s 1s forwards; }
.hero__side--l { left: clamp(16px, 4vw, 40px); }
.hero__side--r { right: clamp(16px, 4vw, 40px); }
@keyframes fade { to { opacity: 1; } }

/* 3D-бутылка на весь блок; сама рисует фон-градиент, кольцо текста и искры — поверх */
.hero__3d { position: absolute; inset: 0; z-index: 0; }
.hero__3d canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: pointer; }
body.has-3d .bottle-stage { display: none; }

.bottle-stage {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  width: clamp(205px, 25.9vw, 367px);
  translate: -50% -46%;
  opacity: 0; animation: drop 1.3s .55s cubic-bezier(.2,.9,.25,1.15) forwards;
  will-change: transform;
}
@keyframes drop {
  from { opacity: 0; translate: -50% -140%; rotate: -25deg; }
  to   { opacity: 1; translate: -50% -46%; rotate: 0deg; }
}
.bottle-float { position: relative; aspect-ratio: 3/4.4; animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(2deg); } }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 40px 40px rgba(0,0,0,.18));
  opacity: 0; transform: scale(.9) rotate(-6deg);
  transition: opacity .5s, transform .7s cubic-bezier(.2,.9,.25,1.2);
}
.hero-img.is-on { opacity: 1; transform: none; }

.hero__bottom {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 4;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 clamp(16px, 4vw, 40px);
}
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--bg);
  background: linear-gradient(135deg, var(--c1) 50%, var(--c2) 50%);
  box-shadow: 0 0 0 1px var(--line); transition: transform .25s, box-shadow .25s;
}
.swatch:hover { transform: scale(1.12); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--ink); }
.scroll-hint { font-size: 13px; color: var(--muted); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

.sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.sparkle { position: absolute; width: 14px; height: 14px; opacity: .8; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(.4) rotate(45deg); opacity: .2; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; background: var(--card); position: relative; z-index: 5; }
.marquee__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee span { font-size: clamp(18px, 2.4vw, 28px); white-space: pre; letter-spacing: -0.02em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- sections ---------- */
section:not(.hero) { padding: clamp(64px, 10vw, 140px) clamp(16px, 4vw, 40px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head p { max-width: 360px; color: var(--muted); line-height: 1.5; }

/* ---------- shop ---------- */
.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.tab { padding: 9px 16px; border-radius: 999px; font-size: 14px; transition: background .25s, color .25s; }
.tab.is-active { background: var(--ink); color: var(--bg); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }

.card {
  background: var(--card); border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s;
}
.card.in { opacity: 1; transform: none; }
.card[hidden] { display: none; }
.card__media {
  aspect-ratio: 4/5; border-radius: 16px; display: grid; place-items: center; overflow: hidden; position: relative;
  background: var(--tint); cursor: pointer;
}
.card__media .cut { width: 62%; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s; filter: drop-shadow(0 24px 22px rgba(0,0,0,.15)); }
.card__media .life { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.card:hover .card__media .cut { transform: rotate(-8deg) translateY(-10px) scale(1.04); }
@media (hover: hover) { .card:hover .card__media .life { opacity: 1; } }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--bg); }
.card__info { display: flex; flex-direction: column; gap: 8px; }   /* название, цвет, под ними цена — с зачёркнутой ценой в строку не помещается */
.card__info h3 { font-size: 20px; }
.card__info small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; letter-spacing: 0; white-space: nowrap; }
.card > .btn { margin-top: auto; }
.price { font-size: 18px; font-weight: 500; white-space: nowrap; }
.old-price { margin-left: 6px; font-size: .78em; font-weight: 400; color: var(--muted); text-decoration-thickness: 1px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 22px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-weight: 500; transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--full { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- model sections ---------- */
.model { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; border-top: 1px solid var(--line); }
.model--rev .model__visual { order: 2; }
.model__visual {
  position: relative; aspect-ratio: 1; border-radius: 32px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 55%, var(--tint), transparent 70%);
}
.model__visual img { width: 52%; height: auto; filter: drop-shadow(0 40px 36px rgba(0,0,0,.16)); animation: float 4.86s ease-in-out infinite; } /* было 6s, дважды ускорено на 10% */
.dim { position: absolute; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.dim--w { top: 8%; left: 50%; translate: -50% 0; }
.dim--h { right: 6%; top: 50%; }
.dim--v { left: 6%; bottom: 14%; }
.model__text h2 { margin: 10px 0 20px; }
.lead { font-size: 18px; line-height: 1.5; color: var(--muted); max-width: 480px; }
.features { list-style: none; margin: 28px 0 32px; }
.features li { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.features b { font-weight: 400; color: var(--muted); font-size: 13px; padding-top: 3px; }
/* маркер пункта — мини-звёздочка с четырьмя лучами, как искры вокруг бутылки на главной */
.features .star {
  flex: none; width: 13px; height: 13px; margin-top: 5px; padding: 0; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0C11 8 12 9 20 10C12 11 11 12 10 20C9 12 8 11 0 10C8 9 9 8 10 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0C11 8 12 9 20 10C12 11 11 12 10 20C9 12 8 11 0 10C8 9 9 8 10 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.features strong { font-weight: 500; }

/* ---------- seasons ---------- */
.seasons { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.season { border-radius: 32px; padding: clamp(28px, 4vw, 48px); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; }
.season h3 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1; }
.season--summer { background: #ffd8b8; }
.season--winter { background: #cfe2f8; }
.season__temp { display: grid; place-items: center; text-align: center; font-size: 14px; color: var(--muted); padding: 0 8px; }
.season__temp b { display: block; font-size: clamp(40px, 5vw, 72px); font-weight: 500; color: var(--ink); letter-spacing: -0.05em; }

/* ---------- look ---------- */
.look { padding-inline: 0 !important; }
.look .section-head { padding-inline: clamp(16px, 4vw, 40px); }
.look__strip { overflow: hidden; }
.look__track { display: flex; width: max-content; animation: film 45s linear infinite; }
.look .section-head { align-items: center; }
@keyframes film { to { transform: translateX(-50%); } }
.look__track img, .look__track video { flex: 0 0 auto; width: clamp(260px, 30vw, 420px); height: auto; aspect-ratio: 26/25; object-fit: cover; border-radius: var(--radius); margin-right: 16px; }

/* ---------- about ---------- */
.about { border-top: 1px solid var(--line); }
.about__text { max-width: 760px; }
.about h2 { margin-bottom: 28px; }
.about .lead + .lead { margin-top: 16px; }
.about__facts { list-style: none; }
.about__facts li { display: flex; align-items: baseline; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.about__facts b { font-size: clamp(36px, 4vw, 56px); font-weight: 500; letter-spacing: -0.05em; min-width: 3.2ch; }
.about__facts span { color: var(--muted); }

/* ---------- delivery ---------- */
.delivery { background: var(--ink); color: var(--bg); border-radius: 32px 32px 0 0; }
.delivery h2 { margin-bottom: 40px; }
.delivery__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.dcard { border: 1px solid #3a3a3a; border-radius: var(--radius); padding: 28px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
.dcard h3 { font-size: 26px; }
.dcard p { color: #b3ab9f; line-height: 1.5; }
.faq { margin-top: 64px; max-width: 820px; }
.faq details { border-top: 1px solid #333; padding: 20px 0; }
.faq summary { font-size: 20px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: #b3ab9f; line-height: 1.55; margin-top: 12px; max-width: 640px; }

.footer {
  background: var(--ink); color: var(--bg);
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center;
  padding: 32px clamp(16px, 4vw, 40px) 40px; border-top: 1px solid #333;
}
.footer__links { display: flex; gap: 24px; }
.footer small { color: #8b8478; width: 100%; }
.footer small a { text-decoration: underline; }

/* ---------- product modal ---------- */
.pmodal {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 24px;
  background: rgba(20,20,20,.4); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.pmodal.open { opacity: 1; pointer-events: auto; }
.pmodal__box {
  position: relative; width: min(1040px, 100%); max-height: calc(100svh - 48px); overflow-y: auto;
  background: var(--bg); border-radius: 28px; padding: 24px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px;
  transform: translateY(24px) scale(.98); transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.pmodal.open .pmodal__box { transform: none; }
.pmodal__close { position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--bg); }
.pm-main { position: relative; aspect-ratio: 3/4; border-radius: 18px; overflow: hidden; background: color-mix(in srgb, var(--tint, var(--card)) 45%, var(--card)); transition: background .4s; }
.pm-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pm-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.pm-thumbs[hidden] { display: none; }
.pm-thumbs button { flex: 0 0 62px; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; opacity: .55; transition: opacity .2s; box-shadow: inset 0 0 0 2px transparent; }
.pm-thumbs button.is-active { opacity: 1; outline: 2px solid var(--ink); outline-offset: -2px; }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm-info { display: flex; flex-direction: column; gap: 16px; padding-top: 12px; }
.pm-info h3 { font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.pm-price { font-size: 24px; font-weight: 500; }
.pm-lead { color: var(--muted); line-height: 1.5; }
.pm-colors { display: grid; gap: 10px; font-size: 15px; }
.specs { display: grid; grid-template-columns: auto 1fr; margin-top: 8px; font-size: 14px; }
.specs dt, .specs dd { padding: 10px 0; border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); padding-right: 20px; }

/* ---------- drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(20,20,20,.35); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 90; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(460px, 100%); background: var(--bg);
  transform: translateX(100%); transition: transform .5s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
}
body.cart-open .overlay { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; }
body.cart-open, body.modal-open { overflow: hidden; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 28px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
.step { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.step[hidden], .field[hidden], .btn[hidden] { display: none; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.empty .btn { margin-top: 20px; }
.ci { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci__img { height: 88px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); }
.ci__img img { height: 76%; filter: drop-shadow(0 6px 6px rgba(0,0,0,.12)); }
.ci__img--photo { overflow: hidden; background: var(--card); height: auto; aspect-ratio: 3 / 4; }   /* как у фото — бутылка целиком, без обрезки */
.ci__img--photo img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.ci h4 { font-weight: 500; }
.ci small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.qty button { width: 26px; height: 26px; border-radius: 50%; }
.qty button:hover { background: var(--card); }
.ci__right { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: end; }
.ci__right button { font-size: 12px; color: var(--muted); text-decoration: underline; text-decoration-skip-ink: none; text-underline-offset: 3px; }   /* сплошная линия под «у» и «д» */
.drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--bg); }
.row { display: flex; justify-content: space-between; font-size: 15px; }
.row--total { font-size: 20px; padding-top: 4px; }
.link-btn { font-size: 14px; color: var(--muted); padding: 4px; }

.checkout { overflow-y: auto; }
.checkout fieldset { border: 0; padding: 18px 24px 4px; display: grid; gap: 10px; }
.checkout legend { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 500; }
.field i { font-style: normal; color: var(--muted); }
.field__err { display: none; color: #b42318; font-size: 13px; }
.checkout input:not([type=radio]), .checkout select {
  width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card);
  font: inherit; font-size: 16px; transition: border-color .2s; color: var(--ink);
}
.checkout select { appearance: none; padding-right: 40px; text-overflow: ellipsis;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23777' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.checkout select:disabled { color: var(--muted); }
.checkout input:focus, .checkout select:focus { border-color: var(--ink); }
.checkout input::placeholder { color: #9a9387; }
.field:has(input:user-invalid) input { border-color: #b42318; }
.field:has(input:user-invalid) .field__err { display: block; }
.options { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: border-color .2s; }
.opt:has(input:checked) { border-color: var(--ink); }
.opt input { accent-color: var(--ink); width: 18px; height: 18px; }
.opt span { flex: 1; display: grid; }
.opt small { color: var(--muted); font-size: 13px; }
.opt em { font-style: normal; font-weight: 500; white-space: nowrap; }

.done { align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 32px; }
.done__img { width: 110px; filter: drop-shadow(0 16px 16px rgba(0,0,0,.15)); animation: float 4s ease-in-out infinite; }
.done h3 { font-size: 30px; }
.done p { color: var(--muted); line-height: 1.5; max-width: 320px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% calc(100% + 40px); z-index: 200;
  background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-size: 14px;
  transition: translate .4s cubic-bezier(.2,.9,.3,1.2);
}
.toast.show { translate: -50% 0; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: block; }
  .about { grid-template-columns: 1fr; }
  .model { grid-template-columns: 1fr; }
  .pmodal__box { grid-template-columns: minmax(0, 1fr); }
  .model--rev .model__visual { order: 0; }
  .seasons { grid-template-columns: 1fr; }
  .season { min-height: 200px; }
  .pmodal { padding: 0; align-items: end; }
  .pmodal__box { border-radius: 24px 24px 0 0; max-height: 92svh; padding: 16px; gap: 16px; }
  .pm-gallery { width: min(100%, 420px); margin: 0 auto; }
}
@media (max-width: 760px) {
  .hero__side { display: none; }
  .bottle-stage { width: 49.5vw; }
}
/* сенсорные экраны: зоны нажатия не меньше 44px (ui-ux-pro-max: touch-target-size) */
@media (pointer: coarse) {
  .cart-btn { min-height: 44px; }
  .swatches { gap: 14px; }
  .swatch { position: relative; }
  .swatch::after { content: ""; position: absolute; inset: -10px; }
  .tab { padding: 13px 18px; }
  .icon-btn { width: 44px; height: 44px; }
  .qty button { width: 36px; height: 36px; }
  .ci__right button, .link-btn { padding: 12px 4px; }
  .footer__links a, .mmenu__foot a { padding: 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .look__strip { overflow-x: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}

/* телефон: карточки крупнее — почти без зазоров между ними и с тонкой рамкой вокруг фото */
@media (max-width: 520px) {
  .shop { padding-inline: 8px !important; }
  .shop .section-head { padding-inline: 8px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .card { padding: 5px 5px 8px; gap: 10px; border-radius: 18px; }
  .card__media { border-radius: 14px; }
  .card__media .cut { width: 70%; }
  .card__info { flex-direction: column; gap: 4px; padding-inline: 6px; }
  .card__info h3 { font-size: 16px; }
  .card > .btn { padding: 12px 10px; margin-inline: 3px; width: auto; }
}
/* подписи модели и цвета по бокам hero наезжают на кольцо текста на средних экранах */
@media (max-width: 1100px) { .hero__side { display: none; } }

/* фото-обложка в карточке каталога (у расцветок, для которых уже есть съёмка) */
.card__media .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.card:hover .card__media .photo { transform: scale(1.04); }

/* Лонг высокий: плашка ширины над трубочкой, а не на ней */
#tall .dim--w { top: 0; }
