/* =========================================================
   Сладкое сердце · v4 — по дизайн-макету
   пудровый крем · шоколадный текст · розовое дерево
   ========================================================= */
:root {
  --bg: #F6EEE9;
  --bg-2: #F1E5DE;
  --card: #FDF9F6;
  --white: #FFFFFF;
  --ink: #3A221C;
  --ink-2: #5A3E36;
  --muted: #8A7169;
  --rose: #A2645A;
  --rose-2: #8D4F46;
  --rose-soft: #E9CFC7;
  --line: #E8D8D0;
  --gold: #C9A05B;
  --shadow: 0 24px 60px -30px rgba(90, 50, 40, .35);
  --shadow-sm: 0 10px 30px -18px rgba(90, 50, 40, .35);

  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .9, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--rose-soft); }

.wrap { width: min(1140px, 100% - 48px); margin-inline: auto; }
.sec { padding: clamp(80px, 9vw, 120px) 0; }
.sec-sm { padding: clamp(60px, 7vw, 90px) 0 clamp(70px, 8vw, 100px); }
.center { text-align: center; }
.muted { color: var(--muted); }

.eyebrow { font-size: 11.5px; font-weight: 500; letter-spacing: .5em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.h2--md { font-size: clamp(32px, 3.4vw, 42px); line-height: 1.1; }
.hand { font-family: var(--script); color: var(--rose); font-size: 26px; line-height: 1.05; margin: 0; }
.hand span { font-family: var(--sans); font-size: .8em; }
.hand--tilt { transform: rotate(-8deg); }
.hand--light { color: var(--rose-soft); font-size: 24px; }
.link { color: var(--rose); font-weight: 600; border-bottom: 1px solid var(--rose-soft); transition: border-color .3s; }
.link:hover { border-color: var(--rose); }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.sec-head--center .hand { margin-top: 6px; font-size: 30px; }

/* ---------- Buttons ---------- */
.btn-main {
  display: inline-flex; align-items: center; gap: 22px; padding: 8px 8px 8px 38px; border-radius: 999px;
  background: linear-gradient(180deg, #AB6D62, var(--rose-2)); color: #FFF6F2; font-size: 14.5px; font-weight: 500;
  box-shadow: 0 14px 30px -14px rgba(141, 79, 70, .8), inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.btn-main i { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,246,242,.55); display: grid; place-items: center; transition: transform .5s var(--spring), background .3s; }
.btn-main i svg { width: 16px; height: 16px; }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(141, 79, 70, .9); }
.btn-main:hover i { transform: translateX(4px); background: rgba(255,255,255,.15); }
.btn-main--sm { padding: 6px 6px 6px 28px; font-size: 14px; gap: 18px; }
.btn-main--sm i { width: 32px; height: 32px; }
.btn-main--wide { width: 100%; justify-content: space-between; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 30px; border-radius: 999px; border: 1px solid var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .3s, color .3s; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: border-color .3s, background .3s; }
.btn-ghost:hover { border-color: var(--rose); }
.btn-ghost:disabled { opacity: .35; pointer-events: none; }
.btn-ghost--wide { width: 100%; margin-top: 10px; }
.btn-wa { display: inline-flex; align-items: center; padding: 14px 26px; border-radius: 999px; background: #2F9E5B; color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: 0 14px 30px -14px rgba(47,158,91,.8); transition: transform .3s var(--ease); }
.btn-wa:hover { transform: translateY(-2px); }

/* ---------- Header ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .4s, box-shadow .4s, padding .4s; padding: 14px 0; }
.hdr.is-scrolled { background: rgba(246, 238, 233, .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 10px 30px -24px rgba(58,34,28,.5); padding: 6px 0; }
.hdr__row { display: flex; align-items: center; gap: 30px; height: 64px; }
.logo { display: grid; justify-items: center; line-height: 1; flex-shrink: 0; position: relative; }
.logo__script { font-family: var(--script); font-size: 34px; color: var(--ink); line-height: .95; }
.logo__script::before { content: "♥"; position: absolute; left: -8px; top: -4px; font-family: var(--sans); font-size: 10px; color: var(--rose); transform: rotate(-20deg); }
.logo__caps { font-size: 8.5px; letter-spacing: .5em; text-transform: uppercase; color: var(--rose); margin-top: 3px; padding-left: .5em; }
.logo--light .logo__script { color: #FBEFE9; }
.logo--light .logo__caps { color: var(--rose-soft); }
.nav { display: flex; gap: 38px; margin: 0 auto; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav a { position: relative; padding: 6px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--rose); transition: left .4s var(--ease), right .4s var(--ease); }
.nav a:hover { color: var(--rose); }
.nav a:hover::after { left: 0; right: 0; }
.hdr__icons { display: flex; align-items: center; gap: 12px; }
.ico { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid transparent; color: var(--ink); transition: border-color .3s, background .3s, transform .3s var(--spring); }
.ico:first-child { border-color: var(--line); }
.ico svg { width: 19px; height: 19px; }
.ico:hover { border-color: var(--rose-soft); background: rgba(255,255,255,.5); }
.ico--dark { background: var(--ink-2); color: #FFF2EC; }
.ico--dark:hover { background: var(--ink); }
.ico.bump { animation: bump .6s var(--spring); }
@keyframes bump { 30% { transform: scale(1.25); } }
.badge[hidden] { display: none; }
.badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #E39A8C; color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.hdr__icons .btn-outline { margin-left: 18px; height: 50px; padding: 0 32px; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: .4s var(--ease); }
.burger span:nth-child(1) { top: 13px } .burger span:nth-child(2) { top: 19px } .burger span:nth-child(3) { top: 25px }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; rotate: 45deg }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0 }
.burger[aria-expanded="true"] span:nth-child(3) { top: 19px; rotate: -45deg }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100vh, 800px); padding: 130px 0 170px; overflow: hidden; isolation: isolate; background: linear-gradient(100deg, #F7EFEA 0%, #F3E6DF 45%, #E9D6CD 100%); }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%), linear-gradient(180deg, transparent 0%, #000 24%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 26%), linear-gradient(180deg, transparent 0%, #000 24%); mask-composite: intersect; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(1.15); opacity: 0; transition: transform 2.4s var(--ease), opacity 1.6s; filter: sepia(.18) saturate(.95) brightness(1.1) contrast(.96); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(246,238,233,0) 60%, rgba(246,238,233,.5) 100%), radial-gradient(60% 60% at 70% 30%, rgba(255,232,224,.18), transparent 70%); }
body.ready .hero__media img { opacity: 1; transform: scale(1.04); }
.petals { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; min-height: 460px; }
.hero__copy { max-width: 520px; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 8.6vw, 118px); line-height: .86; letter-spacing: -.02em; margin: 14px 0 0; color: var(--ink); position: relative; }
.hero__line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__line > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.hero__line--indent { padding-left: .38em; }
.hero__line--indent > span { transition-delay: .12s; }
body.ready .hero__line > span { transform: none; }
.hero__script {
  display: block; font-family: var(--script); font-weight: 400; font-size: .5em; letter-spacing: 0; color: var(--rose);
  margin: -.38em 0 0 .9em; transform: rotate(-4deg); white-space: nowrap;
  clip-path: inset(0 100% 0 0); transition: clip-path 1.8s cubic-bezier(.6,.1,.3,1) .55s;
}
body.ready .hero__script { clip-path: inset(-20% -5% -20% 0); }
.hero__lead { margin: 30px 0 34px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.hero__actions { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; }
.anim { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease) var(--d), transform 1s var(--ease) var(--d); }
body.ready .anim { opacity: 1; transform: none; }
.play { display: flex; align-items: center; gap: 16px; text-align: left; }
.play__btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; transition: background .3s, color .3s; }
.play__btn::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--rose); animation: ripple 2.4s infinite; }
@keyframes ripple { from { transform: scale(1); opacity: .7 } to { transform: scale(1.7); opacity: 0 } }
.play__btn svg { width: 16px; height: 16px; margin-left: 2px; stroke: none; }
.play:hover .play__btn { background: var(--ink); color: #fff; }
.play__txt { font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }

.hero__note { position: absolute; right: 0; top: 70px; font-family: var(--script); font-size: 42px; line-height: .95; color: var(--rose-2); text-shadow: 0 0 18px rgba(255,255,255,.95), 0 0 6px rgba(255,255,255,.9); transform: rotate(-12deg); margin: 0; opacity: 0; transition: opacity 1.4s 1.4s; }
.hero__note span { font-family: var(--sans); font-size: 26px; }
body.ready .hero__note { opacity: .95; }
.mini-card {
  position: absolute; right: 0; bottom: 6px; display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px;
  background: rgba(255, 251, 248, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 16px;
  box-shadow: var(--shadow-sm); min-width: 240px;
  transform: translateX(40px); opacity: 0; transition: transform 1.2s var(--ease) 1.3s, opacity 1s 1.3s, box-shadow .3s;
}
body.ready .mini-card { transform: none; opacity: 1; animation: bob 5s ease-in-out 2.6s infinite; }
@keyframes bob { 50% { translate: 0 -6px; } }
.mini-card img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.mini-card b { display: block; font-size: 13px; font-weight: 600; }
.mini-card small { font-size: 11.5px; color: var(--muted); }
.mini-card svg { width: 16px; height: 16px; margin-left: auto; transition: transform .3s; }
.mini-card:hover svg { transform: translateX(3px); }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; z-index: 1; }
.hero__wave path { fill: var(--bg); stroke: none; }

/* ---------- Features ---------- */
.features { position: relative; z-index: 5; margin-top: -150px; }
.features__card { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(253, 249, 246, .92); backdrop-filter: blur(10px); border-radius: 28px; padding: 34px 26px; box-shadow: 0 30px 70px -40px rgba(90,50,40,.4); }
.feat { display: flex; gap: 18px; align-items: flex-start; padding: 0 20px; position: relative; }
.feat + .feat::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 6px; width: 1px; background: var(--line); }
.feat__ico { width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--rose); display: grid; place-items: center; color: var(--rose); transition: background .4s, color .4s, transform .5s var(--spring); }
.feat__ico svg { width: 30px; height: 30px; stroke-width: 1.4; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 2s var(--ease) .2s; }
.in .feat__ico svg, .feat.in .feat__ico svg { stroke-dashoffset: 0; }
.feat:hover .feat__ico { background: var(--rose); color: #fff; transform: rotate(-8deg) scale(1.06); }
.feat b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; margin: 2px 0 8px; }
.feat small { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ---------- Stories ---------- */
.stories__head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 30px; margin-bottom: 34px; }
.stories__head .hand { justify-self: center; font-size: 24px; margin-bottom: 4px; }
.arrows { display: flex; gap: 12px; }
.arrow { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s, transform .3s var(--spring); }
.arrow svg { width: 18px; height: 18px; }
.arrow--fill { border-color: var(--ink); }
.arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.06); }
.arrow:disabled { opacity: .35; pointer-events: none; }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px max(24px, calc((100vw - 1140px) / 2)) 30px; cursor: grab; scroll-padding-inline: max(24px, calc((100vw - 1140px) / 2)); }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.rail.drag .story { pointer-events: none; }
.story {
  position: relative; flex: 0 0 calc((min(1140px, 100vw - 48px) - 56px) / 5); aspect-ratio: 1.1; border-radius: 18px; overflow: hidden;
  scroll-snap-align: start; background: var(--card); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s; opacity: 0; transform: translateY(30px);
}
.rail.in .story { opacity: 1; transform: none; transition: transform .9s var(--ease) calc(var(--i) * 90ms), opacity .9s calc(var(--i) * 90ms), box-shadow .5s; }
.rail.in .story:hover { transform: translateY(-8px); box-shadow: var(--shadow); transition-delay: 0s; }
.story img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story:hover img { transform: scale(1.08); }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(253, 249, 246, .78) 70%, rgba(253, 249, 246, .97) 92%); }
.story__txt { position: absolute; left: 18px; bottom: 16px; right: 56px; z-index: 1; line-height: 1.2; }
.story__txt b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.story__txt small { font-size: 11.5px; color: var(--muted); }
.story i { position: absolute; right: 14px; bottom: 16px; z-index: 1; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--spring); }
.story i svg { width: 13px; height: 13px; }
.story:hover i { background: var(--ink); color: #fff; transform: rotate(-45deg); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); position: relative; overflow: hidden; }
.about__media { position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); }
.about__media img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.35) saturate(1.15) brightness(.88); transform: scale(1.2); transition: transform 2s var(--ease); }
.about__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(90,52,38,.15), rgba(90,52,38,.35)), radial-gradient(50% 50% at 70% 30%, rgba(255,200,140,.25), transparent 70%); }
.about__script { position: absolute; right: 16%; top: 16%; z-index: 1; margin: 0; font-family: var(--script); font-size: 38px; line-height: .95; color: #fff; transform: rotate(-12deg); text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.about__script span { font-family: var(--sans); font-size: 24px; }
.reveal-clip { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); transition: clip-path 1.6s var(--ease); }
.reveal-clip.in { clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); }
.reveal-clip.in img { transform: scale(1.03); }
.about__text { position: relative; padding: clamp(50px, 6vw, 80px) clamp(24px, 5vw, 70px); display: flex; align-items: center; }
.about__text > .reveal { max-width: 440px; position: relative; z-index: 1; }
.about__text .h2 { margin-bottom: 20px; }
.about__text .muted { font-size: 14.5px; line-height: 1.75; margin: 0 0 28px; }
.about__stats { display: flex; gap: 30px; margin-bottom: 32px; }
.about__stats b { display: block; font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1; color: var(--rose); }
.about__stats small { font-size: 11.5px; color: var(--muted); line-height: 1.3; display: block; margin-top: 4px; }
.peony { position: absolute; right: -40px; bottom: -30px; width: 260px; height: 300px; pointer-events: none; transform-origin: 80% 100%; animation: sway 7s ease-in-out infinite; }
.peony svg { width: 100%; height: 100%; overflow: visible; stroke: none; }
@keyframes sway { 50% { rotate: -4deg; } }

/* ---------- Catalog ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; background: transparent; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--rose); }
.chip.is-on { background: var(--ink-2); color: #FFF4EF; border-color: var(--ink-2); }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod { background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s, opacity .4s; }
.prod:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prod.hide { display: none; }
.prod.flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 20% { box-shadow: 0 0 0 4px var(--rose-soft), var(--shadow); } }
.prod__img { position: relative; aspect-ratio: 1.15; overflow: hidden; }
.prod__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.prod:hover .prod__img img { transform: scale(1.06); }
.prod__tag--off { color: #A6463A !important; }
.prod--off .prod__img img { filter: grayscale(.7) opacity(.75); }
.add--off { background: var(--line); color: var(--muted); cursor: default; }
.add--off:hover { background: var(--line); transform: none; }
.ftr__staff { font-size: 12px; color: rgba(233,215,207,.45); border-bottom: 1px dashed rgba(233,215,207,.3); }
.ftr__staff:hover { color: #fff; }
.prod__tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,251,248,.9); font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--rose); }
.fav { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,251,248,.9); display: grid; place-items: center; color: var(--ink-2); transition: transform .4s var(--spring), color .3s; }
.fav svg { width: 18px; height: 18px; transition: fill .3s; }
.fav:hover { transform: scale(1.1); }
.fav.on { color: #D9675A; }
.fav.on svg { fill: currentColor; animation: heart .5s var(--spring); }
@keyframes heart { 40% { transform: scale(1.4); } }
.prod__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.prod__body h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.1; }
.prod__body p { margin: 6px 0 16px; color: var(--muted); font-size: 13px; }
.prod__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prod__price b { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.prod__price small { color: var(--muted); font-size: 12px; margin-left: 4px; }
.add { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ink-2); color: #FFF4EF; font-size: 13px; font-weight: 600; transition: background .3s, transform .3s var(--spring); }
.add svg { width: 16px; height: 16px; }
.add:hover { background: var(--rose); transform: scale(1.04); }
.add.added { background: #4E8B6A; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 34px; height: 34px; font-size: 18px; color: var(--ink-2); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: 14px; }
.catalog__note { text-align: center; color: var(--muted); font-size: 13px; margin: 30px 0 0; }
.fly { position: fixed; z-index: 120; width: 70px; height: 70px; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: var(--shadow); }

/* ---------- Custom cake studio ---------- */
.custom { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.studio { display: grid; grid-template-columns: 1fr 1.05fr; gap: 26px; align-items: start; }
.studio__stage { position: sticky; top: 100px; border-radius: 28px; overflow: hidden; aspect-ratio: 1 / 1.02; background: radial-gradient(70% 60% at 50% 35%, #FFFFFF, #F4E6DF 70%, #EBD7CE); box-shadow: var(--shadow-sm); display: grid; place-items: center; padding-bottom: 50px; }
.studio__glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; top: 10%; background: var(--glow, #F6D5CF); filter: blur(60px); opacity: .7; transition: background .6s; }
#cake { position: relative; width: 86%; overflow: visible; stroke: none; }
#cake .tier { transform-box: fill-box; transform-origin: 50% 100%; animation: tierIn .9s var(--ease) both; }
@keyframes tierIn { from { opacity: 0; transform: translateY(22px) scaleY(.85); } }
#cake .pop { transform-box: fill-box; transform-origin: center; animation: popIn .7s var(--spring) both; }
@keyframes popIn { from { opacity: 0; transform: scale(.2); } }
#cake .flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flame .6s ease-in-out infinite alternate; }
@keyframes flame { to { transform: scaleY(1.2) skewX(5deg); } }
.studio__tags { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; justify-content: space-between; gap: 10px; }
.studio__tags span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }

.wizard { background: var(--card); border-radius: 28px; padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-sm); }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 30px; }
.steps button { text-align: left; font-size: 11px; font-weight: 600; color: var(--muted); padding-top: 12px; position: relative; letter-spacing: .02em; }
.steps button::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: var(--line); }
.steps button::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; border-radius: 3px; background: var(--rose); transition: width .6s var(--ease); }
.steps button.done::after, .steps button.cur::after { width: 100%; }
.steps button.cur { color: var(--rose); }
.steps button.done { color: var(--ink-2); }
.steps button:disabled { cursor: default; }
.step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.step.is-on { display: block; animation: stepIn .6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.step legend { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05; margin-bottom: 22px; padding: 0; }
.lbl { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin: 24px 0 10px; font-weight: 600; }
.lbl small { letter-spacing: 0; text-transform: none; font-weight: 500; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); display: grid; gap: 2px; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.opt:hover { transform: translateY(-2px); border-color: var(--rose-soft); }
.opt.is-on { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(162,100,90,.12); }
.opt b { font-size: 15px; font-weight: 600; }
.opt small { color: var(--muted); font-size: 12.5px; }
.opt--sm { padding: 12px 16px; text-align: center; }
.sw { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; background: var(--white); transition: border-color .3s, box-shadow .3s; }
.sw i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 55%, var(--b) 55%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.sw.is-on { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(162,100,90,.12); }
.size { display: flex; align-items: baseline; justify-content: center; gap: 12px; padding-top: 8px; }
.size output { font-family: var(--serif); font-weight: 500; font-size: clamp(96px, 10vw, 140px); line-height: .9; color: var(--rose); }
.size span { font-family: var(--script); font-size: 34px; color: var(--ink-2); }
.size__hint { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); margin: 16px 0 0; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; margin-top: 24px; background: linear-gradient(90deg, var(--rose) var(--p, 15%), var(--line) var(--p, 15%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--rose); box-shadow: 0 4px 14px rgba(141,79,70,.4); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--rose); }
.fld[hidden] { display: none; }
.fld { display: grid; gap: 6px; margin-top: 18px; font-size: 12px; font-weight: 600; color: var(--muted); }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; outline: none; transition: border-color .3s, box-shadow .3s; width: 100%; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(162,100,90,.12); }
.fld input::placeholder, .fld textarea::placeholder { color: #BCA9A2; }
.fld.err input { border-color: #C9473A; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px) } 75% { transform: translateX(5px) } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.warn { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #F8E3DF; color: #A6463A; font-size: 13px; font-weight: 500; }
.toggle { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 14px; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; }
.toggle__ui { width: 44px; height: 24px; border-radius: 24px; background: var(--line); position: relative; flex-shrink: 0; transition: background .3s; }
.toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .4s var(--spring); box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.toggle input:checked + .toggle__ui { background: var(--rose); }
.toggle input:checked + .toggle__ui::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle__ui { outline: 2px solid var(--rose); outline-offset: 2px; }
.summary { margin-top: 24px; padding: 22px; border-radius: 18px; background: var(--bg); border: 1px dashed var(--rose-soft); }
.summary h4 { margin: 0 0 12px; font-family: var(--script); font-weight: 400; font-size: 32px; color: var(--rose); line-height: 1; }
.summary dl { margin: 0; display: grid; gap: 5px; font-size: 13.5px; }
.summary dl div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }
.wizard__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; }
.send { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; animation: stepIn .6s var(--ease); }
.send[hidden] { display: none; }

/* ---------- Delivery ---------- */
.how { display: grid; grid-template-columns: 1fr 80px 1fr 80px 1fr; align-items: start; }
.how__step { display: grid; justify-items: center; text-align: center; gap: 10px; position: relative; }
.how__n { font-family: var(--serif); font-size: 15px; color: var(--rose); font-weight: 600; letter-spacing: .1em; }
.how__step .feat__ico { width: 76px; height: 76px; background: var(--card); box-shadow: var(--shadow-sm); }
.how__step .feat__ico svg { width: 38px; height: 38px; }
.how__step b { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.how__step small { color: var(--muted); font-size: 13.5px; max-width: 250px; }
.how__line { height: 1px; margin-top: 66px; background: repeating-linear-gradient(90deg, var(--rose-soft) 0 6px, transparent 6px 12px); }

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-2); }
.rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rating > b { font-family: var(--serif); font-size: 56px; font-weight: 500; line-height: 1; color: var(--rose); }
.rating small { display: block; font-size: 12px; color: var(--muted); }
.stars { color: #D9A441; letter-spacing: 2px; font-size: 15px; }
.award { padding: 9px 16px; border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-sm); }
.rv-grid { display: grid; grid-template-columns: 1fr .8fr 1fr 1fr; gap: 20px; align-items: stretch; margin-bottom: 40px; }
.rv { background: var(--card); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease); }
.rv:hover { transform: translateY(-6px) rotate(-.5deg); }
.rv p { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.45; font-weight: 500; color: var(--ink-2); }
.rv footer { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.rv footer small { margin-left: auto; color: var(--muted); font-size: 12px; }
.av { width: 38px; height: 38px; border-radius: 50%; background: var(--rose-soft); color: var(--rose-2); display: grid; place-items: center; font-weight: 700; }
.rv--photo { padding: 0; overflow: hidden; position: relative; min-height: 340px; }
.rv--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(58,34,28,.6)); }
.rv--photo .hand { position: absolute; left: 22px; bottom: 20px; z-index: 1; color: #fff; font-size: 30px; transform: rotate(-6deg); }

/* ---------- Contacts ---------- */
.contacts__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; }
.contacts__card { background: var(--card); border-radius: 28px; padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow-sm); }
.contacts__card .h2 { margin-bottom: 20px; }
.cinfo { list-style: none; margin: 0 0 26px; padding: 0; }
.cinfo li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.cinfo small { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cinfo b { font-size: 16px; font-weight: 600; }
.cinfo span { font-size: 13px; color: var(--muted); }
.cphone { font-family: var(--serif); font-size: 32px; font-weight: 600; transition: color .3s; }
.cphone:hover { color: var(--rose); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #E3F1E8; color: #3F7D5A; font-style: normal; font-size: 11px; letter-spacing: 0; text-transform: none; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
.status.closed { background: #F8E3DF; color: #A6463A; }
.status.closed i { animation: none; }
@keyframes blink { 50% { opacity: .3 } }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 8px; }
.week span { text-align: center; padding: 9px 2px; border-radius: 12px; background: var(--bg); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.week b { display: block; font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.week span.today { background: var(--rose); color: #fff; }
.week span.today b { color: #F8E3DF; }
.row-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.map { border-radius: 28px; overflow: hidden; min-height: 500px; position: relative; box-shadow: var(--shadow-sm); background: var(--bg-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.15) saturate(.9); }

/* ---------- Footer ---------- */
.ftr { background: #3A221C; color: #E9D7CF; padding: 56px 0 30px; }
.ftr__row { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(233,215,207,.15); }
.ftr__nav { display: flex; gap: 30px; flex-wrap: wrap; font-size: 14px; }
.ftr__nav a:hover { color: #fff; }
.ftr__phone { font-family: var(--serif); font-size: 26px; font-weight: 600; color: #fff; }
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: rgba(233,215,207,.6); }

/* ---------- Overlays ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(58, 34, 28, .35); backdrop-filter: blur(3px); animation: fade .4s; }
@keyframes fade { from { opacity: 0 } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(440px, 100%); background: var(--card); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .6s var(--ease); box-shadow: -30px 0 60px -30px rgba(58,34,28,.4); }
.drawer.open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 30px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 10px 26px 30px; }
.x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); font-size: 24px; line-height: 1; transition: background .3s, transform .4s var(--spring); }
.x:hover { background: var(--bg); transform: rotate(90deg); }
.x--light { position: absolute; top: 20px; right: 20px; color: #fff; border-color: rgba(255,255,255,.4); }
.citem { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); animation: stepIn .5s var(--ease); }
.citem img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.citem b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.citem small { color: var(--muted); font-size: 12.5px; }
.citem .rm { display: block; font-size: 12px; color: var(--rose); margin-top: 4px; }
.empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.empty .hand { font-size: 34px; margin-bottom: 10px; }
.cart-form { padding-top: 10px; }
.cart-form[hidden] { display: none; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; }
.cart-total b { font-family: var(--serif); font-size: 32px; font-weight: 600; }
.cart-form .btn-main { margin-top: 22px; }

.search { position: fixed; inset: 0; z-index: 95; background: rgba(246,238,233,.96); backdrop-filter: blur(10px); padding: 120px 24px 40px; animation: fade .4s; }
.search[hidden] { display: none; }
.search__box { width: min(720px, 100%); margin: 0 auto; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ink-2); padding-bottom: 14px; }
.search__box > svg { width: 28px; height: 28px; color: var(--rose); }
.search__box input { flex: 1; border: 0; background: none; font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); color: var(--ink); outline: none; min-width: 0; }
.search__res { width: min(720px, 100%); margin: 26px auto 0; display: grid; gap: 8px; }
.sres { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 10px; border-radius: 16px; text-align: left; transition: background .3s; animation: stepIn .4s var(--ease); }
.sres:hover { background: var(--card); }
.sres img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.sres b { font-weight: 600; }
.sres span { font-family: var(--serif); font-size: 22px; font-weight: 600; }

.video { position: fixed; inset: 0; z-index: 110; background: rgba(30,16,12,.9); display: grid; place-items: center; padding: 70px 20px 30px; animation: fade .4s; }
.video[hidden] { display: none; }
.video__frame { width: min(420px, 100%); aspect-ratio: 9 / 16; max-height: 82vh; border-radius: 22px; overflow: hidden; background: #000; animation: popIn .6s var(--spring); }
.video__frame iframe { width: 100%; height: 100%; border: 0; }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 130; translate: -50% 30px; opacity: 0; padding: 14px 24px; border-radius: 999px; background: var(--ink); color: #FFF2EC; font-size: 14px; font-weight: 500; transition: .5s var(--ease); pointer-events: none; box-shadow: var(--shadow); }
.toast.on { translate: -50% 0; opacity: 1; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .hdr__icons .btn-outline { display: none; }
  .story { flex-basis: calc((100vw - 48px - 42px) / 3.6); }
  .rv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; top: 76px; left: 12px; right: 12px; flex-direction: column; gap: 0; padding: 12px; background: var(--card); border-radius: 22px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .4s var(--ease); }
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { padding: 14px 16px; font-family: var(--serif); font-size: 22px; font-weight: 600; }
  .nav a::after { display: none; }
  .hdr__icons { margin-left: auto; }
  .hero { padding: 110px 0 190px; min-height: 0; }
  .hero__media { width: 100%; opacity: .9; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%); mask-image: linear-gradient(180deg, transparent 0%, #000 55%); top: 30%; }
  .hero__inner { min-height: 640px; }
  .hero__note { top: auto; bottom: 120px; right: 10px; font-size: 32px; }
  .mini-card { left: auto; right: 0; bottom: 20px; }
  .features { margin-top: -130px; }
  .features__card { grid-template-columns: 1fr 1fr; gap: 26px 0; padding: 26px 10px; }
  .feat:nth-child(3)::before { display: none; }
  .stories__head { grid-template-columns: 1fr auto; }
  .stories__head .hand { display: none; }
  .about { grid-template-columns: 1fr; }
  .about__media { min-height: 360px; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
  .reveal-clip.in { clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
  .products { grid-template-columns: 1fr 1fr; }
  .studio { grid-template-columns: 1fr; }
  .studio__stage { position: relative; top: 0; aspect-ratio: auto; padding: 30px 0 80px; }
  #cake { width: min(400px, 82%); }
  .how { grid-template-columns: 1fr; gap: 30px; }
  .how__line { display: none; }
  .contacts__grid { grid-template-columns: 1fr; }
  .map { min-height: 380px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .hdr__row { height: 56px; gap: 10px; }
  .logo__script { font-size: 28px; }
  .ico { width: 36px; height: 36px; }
  .ico:first-child { display: none; }
  .hero__title { font-size: 19vw; }
  .hero__lead br { display: none; }
  .hero__actions { gap: 22px; }
  .hero__inner { min-height: 600px; }
  .mini-card { min-width: 0; right: 0; left: 0; }
  .hero__note { bottom: 110px; }
  .features__card { grid-template-columns: 1fr; padding: 22px 6px; gap: 22px; }
  .feat::before { display: none; }
  .story { flex-basis: 66vw; }
  .rail { padding-inline: 16px; scroll-padding-inline: 16px; }
  .arrows { display: none; }
  .about__stats { gap: 18px; }
  .peony { width: 170px; height: 200px; right: -30px; opacity: .8; }
  .products { grid-template-columns: 1fr; }
  .steps button { font-size: 0; }
  .opts--2, .two { grid-template-columns: 1fr; }
  .summary dl div { grid-template-columns: 1fr; gap: 0; }
  .rv-grid { grid-template-columns: 1fr; }
  .week { grid-template-columns: repeat(4, 1fr); }
  .ftr__row, .ftr__bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__line > span, .anim, .reveal, .story, .mini-card { opacity: 1 !important; transform: none !important; }
  .hero__script, .reveal-clip { clip-path: none !important; }
  .hero__media img { opacity: 1; }
}
