/* ==========================================================================
   «Пудра» — авторская кондитерская, Пермь
   Палитра: plum #9F5968, cream #FFF9F7, peach #FBEDE9, rose #D4919D
   ========================================================================== */

:root {
    --plum: #9F5968;
    --plum-dark: #6E3B47;
    --plum-deep: #3F2628;
    --plum-soft: #C98F9B;
    --cream: #FFF9F7;
    --cream-2: #F7ECEA;
    --peach: #FBEDE9;
    --peach-2: #F3DCD6;
    --rose: #D4919D;
    --rose-soft: #FFD9D8;
    --gold: #B98A5A;
    --ink: #3B2626;
    --muted: #6F5B5B;
    --line: rgba(159,89,104, .14);
    --white: #fff;
    --shadow-sm: 0 8px 24px rgba(110,59,71, .08);
    --shadow: 0 24px 70px rgba(110,59,71, .13);
    --radius: 24px;
    --radius-lg: 32px;
    --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
    --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --container: 1240px;
    --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--plum); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { display: block; }
.icon { width: 20px; height: 20px; flex: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 1000;
    background: var(--plum);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 8px;
}
.skip-link:focus { left: 12px; }

:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }

/* ---------- Typography ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--plum); font-weight: 600; }
h1 { font-size: clamp(42px, 5.4vw, 78px); line-height: 1.02; }
h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; }
h3 { font-size: 24px; line-height: 1.2; }
p { color: var(--muted); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--plum);
    margin-bottom: 16px;
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--plum);
    opacity: .5;
}
.eyebrow--light { color: var(--rose-soft); }
.eyebrow--light::before { background: var(--rose-soft); }

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1;
    white-space: nowrap;
    transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--plum); color: var(--white); box-shadow: 0 12px 30px rgba(159,89,104, .24); }
.btn--primary:hover { background: var(--plum-dark); color: var(--white); box-shadow: 0 16px 36px rgba(159,89,104, .3); }
.btn--ghost { border-color: var(--line); background: transparent; color: var(--plum); }
.btn--ghost:hover { background: var(--white); border-color: var(--plum); color: var(--plum); }
.btn--light { background: var(--cream); color: var(--plum); }
.btn--light:hover { background: var(--white); color: var(--plum-dark); }
.btn--wide { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--plum);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.link-arrow .icon { width: 17px; height: 17px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Topbar / header ---------- */
.topbar {
    background: var(--peach);
    color: var(--plum-dark);
    font-size: 14px;
    font-weight: 600;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 38px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__left a { white-space: nowrap; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { width: 15px; height: 15px; opacity: .8; }
.topbar a:hover { color: var(--plum); }
.topbar__phone { font-weight: 800; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255,249,247, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
body.menu-open .site-header { backdrop-filter: none; }
.site-header.is-scrolled {
    background: rgba(255,249,247, .98);
    border-bottom-color: var(--line);
    box-shadow: 0 12px 34px rgba(110,59,71, .07);
}
.header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { flex: none; }
.brand img { width: 94px; height: 94px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-right: auto; }
.main-nav__item { position: relative; }
.main-nav__item > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--plum-dark);
}
.main-nav__item > a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: var(--plum);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.main-nav__item:hover > a::after, .main-nav__item:focus-within > a::after { transform: scaleX(1); }
.chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: -18px;
    width: 270px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 10px; }
.dropdown a:hover { background: var(--cream-2); }
.dropdown span { display: block; font-size: 15px; font-weight: 700; color: var(--plum-dark); }
.dropdown small { display: block; font-size: 13px; color: var(--muted); }
.main-nav__mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: flex; flex-direction: column; line-height: 1.2; }
.header__phone span { font-size: 15px; font-weight: 800; color: var(--plum-dark); }
.header__phone small { font-size: 12px; color: var(--muted); }
.icon-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--plum);
}
.icon-btn:hover { border-color: var(--plum); }
.icon-btn .icon { width: 20px; height: 20px; }
.cart-count {
    position: absolute;
    top: -4px;
    right: -3px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--plum);
    color: var(--white);
    font-size: 11.5px;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.header__cta { min-height: 46px; padding: 0 22px; font-size: 13.5px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; padding: 0; position: relative; z-index: 100; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--plum-dark); transition: transform .25s ease, opacity .25s ease; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 4.5vw, 64px) 0 0; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero__blob--1 { width: 560px; height: 560px; top: -180px; right: -120px; background: radial-gradient(circle at 30% 30%, var(--rose-soft), transparent 68%); opacity: .8; }
.hero__blob--2 { width: 420px; height: 420px; bottom: 40px; left: -220px; background: radial-gradient(circle at 40% 40%, var(--peach), transparent 70%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: start; gap: clamp(28px, 5vw, 72px); min-width: 0; }
.hero__content { position: relative; z-index: 2; padding-top: clamp(4px, 1vw, 14px); padding-bottom: 24px; min-width: 0; }
.hero__content h1 { margin: 0 0 24px; color: var(--plum-deep); overflow-wrap: break-word; }
.hero__lead { max-width: 520px; font-size: clamp(15px, 1.35vw, 17.5px); line-height: 1.75; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__features { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; }
.hero__features li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--plum-dark); }
.hero__features .icon { width: 16px; height: 16px; color: var(--plum); }
.hero__locations { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; }
.hero__locations-label { font-size: 12px; font-weight: 700; color: var(--muted); }
.hero__locations a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); font-size: 12px; font-weight: 700; color: var(--plum-dark); transition: border-color .2s, background .2s; }
.hero__locations a:hover { border-color: var(--plum); background: var(--white); color: var(--plum); }
.hero__locations .icon { width: 14px; height: 14px; color: var(--plum); }
.hero__visual { position: relative; z-index: 1; min-width: 0; }
.hero__arch {
    position: relative;
    border-radius: 260px 260px 30px 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--peach);
    aspect-ratio: 4 / 5;
}
.hero__arch::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.55); border-radius: 250px 250px 22px 22px; pointer-events: none; }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    padding: 12px 16px;
    color: var(--plum-dark);
}
.hero__float--price { left: -26px; bottom: 78px; flex-direction: column; align-items: flex-start; gap: 0; }
.hero__float--price span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.hero__float--price strong { font-family: var(--serif); font-size: 26px; color: var(--plum); }
.hero__float--date { right: -16px; top: 96px; max-width: 170px; }
.hero__float--date .icon { width: 26px; height: 26px; color: var(--plum); }
.hero__float--date span { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.hero__stamp span { display: block; }
.hero__stamp {
    position: absolute;
    left: -24px;
    top: -10px;
    width: 108px;
    height: 108px;
    display: grid;
    place-items: center;
    padding: 18px;
    border-radius: 50%;
    background: var(--peach);
    color: var(--plum-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.5;
    transform: rotate(-12deg);
}
.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: clamp(30px, 4vw, 48px);
    padding: 22px clamp(20px, 2.5vw, 30px);
    background: var(--white);
    border: 1px solid rgba(159,89,104, .1);
    border-radius: var(--radius);
    box-shadow: 0 12px 34px rgba(110,59,71, .06);
}
.hero-stat { display: flex; flex-direction: column; gap: 3px; padding: 2px 0 2px clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.hero-stat:first-child { border-left: 0; padding-left: 0; }
.hero-stat strong { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 38px); line-height: 1; color: var(--plum); font-weight: 600; }
.hero-stat span { font-size: 14px; line-height: 1.4; color: var(--muted); }

/* ---------- Sections ---------- */
#why { background: var(--cream-2); }
#why .section-head > p { color: #5E4A4A; }
#why h2 em { white-space: nowrap; }
.section { padding: clamp(56px, 7.4vw, 104px) 0; }
.section--tight { padding-top: clamp(30px, 4vw, 56px); padding-bottom: clamp(30px, 4vw, 56px); }
.section--peach { background: var(--peach); }
.section--cream { background: var(--cream-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head > div { max-width: 640px; }
.section-head h2 { margin-bottom: 0; }
.section-head > p { max-width: 430px; font-size: 15px; line-height: 1.7; }
.section-head--row { align-items: center; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.cat-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--plum-dark);
    isolation: isolate;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.cat-card:hover img { transform: scale(1.055); }
.cat-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(59,38,38, 0) 22%, rgba(59,38,38, .58) 58%, rgba(59,38,38, .94) 100%); transition: opacity .3s ease; }
.cat-card:hover .cat-card__shade { opacity: .92; }
.cat-card__body { position: absolute; inset: auto 0 0 0; padding: 24px; color: var(--white); }
.cat-card__count { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(59,38,38,.62); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cat-card__body h3 { font-size: clamp(24px, 2vw, 30px); color: var(--white); margin-bottom: 6px; text-shadow: 0 2px 18px rgba(63,38,40, .35); }
.cat-card__body p { max-width: 380px; color: rgba(255,255,255,.94); font-size: 14px; line-height: 1.55; text-shadow: 0 1px 8px rgba(59,38,38,.45); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--white); text-shadow: 0 1px 8px rgba(59,38,38,.5); }
.cat-card__link .icon { width: 15px; height: 15px; transition: transform .2s ease; }
.cat-card:hover .cat-card__link .icon { transform: translateX(4px); }
.cat-card--large { grid-column: span 2; grid-row: span 2; }
.cat-card--large .cat-card__body { padding: 32px; }
.cat-card--large .cat-card__body h3 { font-size: clamp(32px, 3vw, 44px); }
.cat-card--standartcakes, .cat-card--kids, .cat-card--traifl { grid-column: span 2; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid--four { grid-template-columns: repeat(4, 1fr); }
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(159,89,104,.08);
    border-radius: 22px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.product-card__media { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; background: var(--cream-2); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card__media img { transform: scale(1.045); }
.product-card__badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: var(--plum); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 16px; }
.product-card__category { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--plum-soft); margin-bottom: 5px; }
.product-card h3 { font-size: 22px; line-height: 1.15; margin-bottom: 6px; }
.product-card h3 a:hover { color: var(--plum); }
.product-card__desc { font-size: 14px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 65px; }
.product-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.product-card__price { font-size: 14px; font-weight: 800; color: var(--plum-dark); }
.product-card__link { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cream-2); color: var(--plum); transition: background .2s ease, color .2s ease; }
.product-card__link .icon { width: 17px; height: 17px; }
.product-card:hover .product-card__link { background: var(--plum); color: var(--white); }

/* ---------- Split / steps ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.split--author .split__media > img { aspect-ratio: 16 / 10; }
.split__note { position: absolute; right: -18px; bottom: 24px; max-width: 220px; padding: 16px 18px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-sm); }
.split__note strong { display: block; font-family: var(--serif); font-size: 28px; color: var(--plum); line-height: 1; }
.split__note span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.split__content h2 { margin-bottom: 18px; }
.split__content > p { max-width: 500px; font-size: 15.5px; line-height: 1.75; }
.split__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.steps { display: grid; gap: 14px; margin: 28px 0 30px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li > span { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--plum); font-size: 11.5px; font-weight: 800; letter-spacing: .05em; }
.steps strong { display: block; font-size: 14px; color: var(--plum-dark); }
.steps p { font-size: 14px; line-height: 1.5; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 28px 24px; border: 1px solid rgba(159,89,104,.22); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 24px rgba(110,59,71,.05); }
.feature__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%; background: var(--peach); color: var(--plum); }
.feature__icon .icon { width: 22px; height: 22px; }
.feature h3 { font-size: 21px; margin-bottom: 8px; }
.feature p { font-size: 14px; line-height: 1.6; color: #5E4A4A; }

/* ---------- Kids banner ---------- */
.kids-banner { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 84px) 0; background: var(--plum-dark); color: var(--white); }
.kids-banner::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; right: -200px; top: -300px; background: radial-gradient(circle, rgba(212,145,157,.32), transparent 65%); }
.kids-banner::after { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; left: -220px; bottom: -260px; background: radial-gradient(circle, rgba(251,237,233,.16), transparent 68%); }
.kids-banner__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.kids-banner__content h2 { color: var(--white); margin-bottom: 16px; }
.kids-banner__content h2 em { color: var(--rose); }
.kids-banner__content p { max-width: 480px; color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.7; }
.kids-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.kids-banner__link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--white); }
.kids-banner__link .icon { width: 18px; height: 18px; }
.kids-banner__media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 30px 70px rgba(0,0,0,.28); }

.check-list { display: grid; gap: 10px; margin-top: 20px; }
.check-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--plum-dark); }
.check-list .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--plum); }

/* ---------- Info / reviews ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-grid--four { grid-template-columns: repeat(4, 1fr); }
.info-card { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.info-card__num { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; color: var(--plum); margin-bottom: 16px; }
.info-card h3 { font-size: 24px; margin-bottom: 8px; }
.info-card p { font-size: 14px; line-height: 1.65; }
.info-card .link-arrow { margin-top: 16px; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-grid--wide { grid-template-columns: repeat(2, 1fr); }
.review-card { display: flex; flex-direction: column; gap: 14px; padding: 30px 28px; background: var(--white); border-radius: var(--radius); border: 1px solid rgba(159,89,104,.08); }
.review-card__stars, .rating-summary__stars { display: flex; gap: 2px; color: var(--rose); font-size: 17px; }
.star { line-height: 1; }
.star--filled { color: #C77E8D; }
.review-card p { font-family: var(--serif); font-size: 20px; line-height: 1.45; color: var(--plum-dark); }
.review-card footer { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.review-card footer strong { color: var(--plum-dark); }
.review-card footer span { color: var(--muted); }

/* ---------- FAQ / accordion ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-intro h2 { margin-bottom: 14px; }
.faq-intro p { font-size: 14.5px; line-height: 1.7; margin-bottom: 20px; }
.accordion { border-top: 1px solid var(--line); }
.accordion--wide { max-width: 860px; margin: 0 auto; }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; padding: 22px 0; border: 0; background: transparent; text-align: left; font-size: 16px; font-weight: 700; color: var(--plum-dark); }
.accordion__icon { position: relative; flex: none; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 50%; }
.accordion__icon::before, .accordion__icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 9px; height: 1.5px; background: var(--plum); transform: translate(-50%, -50%); transition: transform .25s ease; }
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) rotate(0); }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__content { overflow: hidden; padding-right: 40px; }
.accordion__content > * { margin-bottom: 14px; }
.accordion__content p, .accordion__content li { font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.accordion__content ul { list-style: disc; padding-left: 20px; }
.accordion__item.is-open .accordion__content { padding-bottom: 20px; }

/* ---------- SEO / contact card ---------- */
.seo-contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.seo-text h2 { margin-bottom: 16px; }
.seo-text p { font-size: 14.5px; line-height: 1.75; margin-bottom: 14px; }
.seo-text a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.contact-card { padding: 34px 30px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.contact-card__label { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--plum); }
.contact-card h3 { font-size: 34px; color: var(--plum-dark); margin: 4px 0 10px; }
.contact-card__phone { display: block; font-size: 20px; font-weight: 800; color: var(--plum); margin-bottom: 14px; }
.contact-card p { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin-bottom: 7px; }
.contact-card p .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--plum); }
.contact-card .btn { margin-top: 18px; }
.contact-card__vk { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--plum); }
.contact-card__vk .icon { width: 17px; height: 17px; }

/* ---------- Leads / forms ---------- */
.lead-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 70px); padding: clamp(28px, 4vw, 52px); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid rgba(159,89,104,.07); }
.lead-card__text h2 { margin-bottom: 14px; }
.lead-card__text p { font-size: 14.5px; line-height: 1.7; }
.lead-card__text a { color: var(--plum); font-weight: 700; }
.lead-form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--plum-dark); }
.field input, .field textarea, .field select {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--cream);
    color: var(--ink);
    font-size: 15px;
    transition: border-color .2s ease, background .2s ease;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--plum); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: #B8A3A6; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--plum); flex: none; }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(40px, 6vw, 76px); padding: clamp(44px, 6vw, 72px) 0 26px; background: var(--plum-deep); color: rgba(255,255,255,.72); }
.footer__top { display: grid; grid-template-columns: 1.5fr .8fr .8fr .9fr 1.1fr; gap: 34px; }
.footer__logo { display: inline-grid; place-items: center; width: 118px; height: 118px; padding: 10px; margin-bottom: 18px; border-radius: 50%; background: var(--cream); }
.footer__logo img { width: 100%; height: 100%; object-fit: contain; }
.footer__brand p { max-width: 300px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.62); }
.footer__socials { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; }
.footer__socials a { display: inline-flex; align-items: center; gap: 7px; color: var(--white); }
.footer__socials .icon { width: 22px; height: 22px; }
.footer__social-text { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.footer__branch { margin-bottom: 14px; }
.footer__branch p { margin-bottom: 4px; }
.footer__branch strong { color: var(--white); font-weight: 700; }
.footer__branch > a { display: inline-block; margin-top: 3px; font-size: 14px; font-weight: 800; color: var(--white); }
.footer__col h3 { font-family: var(--sans); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-soft); margin-bottom: 14px; }
.footer__col a, .footer__col p { display: flex; align-items: flex-start; gap: 7px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.66); margin-bottom: 8px; }
.footer__col a:hover { color: var(--white); }
.footer__col .icon { width: 15px; height: 15px; margin-top: 3px; }
.footer__phone { font-size: 17px !important; font-weight: 800; color: var(--white) !important; }
.footer__map-link { color: var(--rose-soft) !important; font-weight: 700; }
.footer__map-link .icon { width: 14px !important; height: 14px !important; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; color: rgba(255,255,255,.66); }
.footer__bottom p { color: rgba(255,255,255,.66); }
.footer__bottom a { color: rgba(255,255,255,.82); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer__note { max-width: 520px; color: rgba(255,255,255,.72); }

/* ---------- Page hero / breadcrumbs ---------- */
.page-hero { padding: clamp(28px, 4vw, 54px) 0 clamp(20px, 3vw, 40px); }
.page-hero--category { background: linear-gradient(180deg, var(--peach) 0%, var(--cream) 100%); }
.page-hero--small { padding-bottom: 0; }
.page-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 24px; }
.page-hero__content { padding-top: clamp(4px, 1vw, 14px); }
.page-hero__content h1, .page-hero__simple h1 { margin-bottom: 18px; }
.page-hero__intro, .page-hero__lead { max-width: 660px; font-size: 15.5px; line-height: 1.75; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px 26px 26px; box-shadow: var(--shadow); }
.page-hero__media--map iframe { width: 100%; height: 430px; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.page-hero__simple { max-width: 820px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--plum); }
.breadcrumbs__sep { opacity: .45; }
.breadcrumbs [aria-current] { color: var(--plum-dark); font-weight: 600; }

/* ---------- Toolbar / gallery ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.toolbar__count { font-size: 13.5px; font-weight: 700; color: var(--plum-dark); }
.toolbar__sort { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.toolbar__sort a { color: var(--muted); }
.toolbar__sort a:hover, .toolbar__sort a.is-active { color: var(--plum); font-weight: 700; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid--masonry { grid-auto-rows: 210px; }
.gallery-grid--masonry .gallery-item:nth-child(4n+1) { grid-row: span 2; }
.gallery-grid--four { grid-template-columns: repeat(4, 1fr); }
.gallery-item { position: relative; overflow: hidden; border-radius: 18px; background: var(--cream-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item__button { display: block; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; }
.gallery-item__zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(63,38,40,.28); color: var(--white); opacity: 0; transition: opacity .25s ease; }
.gallery-item__zoom .icon { width: 28px; height: 28px; }
.gallery-item:hover .gallery-item__zoom { opacity: 1; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-bar__btn { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 13px; font-weight: 700; color: var(--muted); }
.filter-bar__btn:hover, .filter-bar__btn.is-active { background: var(--plum); border-color: var(--plum); color: var(--white); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 40px; background: rgba(63,38,40, .92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: 12px; object-fit: contain; }
.lightbox__close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: transparent; color: var(--white); }
.lightbox__caption { margin-top: 16px; color: rgba(255,255,255,.8); font-size: 14px; }

/* ---------- Page content / CTAs ---------- */
.prose { max-width: 880px; }
.prose--wide { max-width: 1000px; }
.prose h2 { font-size: clamp(28px, 2.6vw, 38px); margin: 34px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose p, .prose li { font-size: 15.5px; line-height: 1.8; color: var(--muted); margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 18px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--plum-dark); }
.prose > p:first-child { font-size: 16px; }
.page-image img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-lg); }
.page-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 32px 36px; background: var(--peach); border-radius: var(--radius); }
.page-cta h2 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 6px; }
.page-cta p { font-size: 14px; }
.page-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.empty-state { display: grid; justify-items: center; gap: 14px; max-width: 560px; margin: 0 auto; padding: 56px 28px; text-align: center; background: var(--white); border-radius: var(--radius-lg); border: 1px dashed var(--line); }
.empty-state__icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--peach); color: var(--plum); }
.empty-state__icon .icon { width: 30px; height: 30px; }
.empty-state h2 { font-size: 34px; }
.empty-state p { font-size: 14.5px; line-height: 1.7; }
.branch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.branch-card { position: relative; display: flex; flex-direction: column; padding: 30px; background: var(--white); border: 1px solid rgba(159,89,104,.12); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.branch-card__num { position: absolute; top: 22px; right: 24px; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--peach); }
.branch-card__label { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--plum); margin-bottom: 8px; }
.branch-card h3 { font-size: 30px; color: var(--plum-dark); margin-bottom: 14px; }
.branch-card h3 a:hover { color: var(--plum); }
.branch-card__details { display: grid; gap: 8px; margin-bottom: 16px; }
.branch-card__details p { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); }
.branch-card__details .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--plum); flex: none; }
.branch-card__details a { color: var(--plum-dark); font-weight: 700; }
.branch-card .check-list { margin-top: 0; margin-bottom: 20px; }
.branch-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: auto; }
.branch-card__vk { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--plum); }
.branch-card__vk .icon { width: 17px; height: 17px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-list { display: grid; gap: 12px; margin-top: 26px; }
.contact-list__item { display: flex; align-items: center; gap: 14px; }
.contact-list__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--plum); box-shadow: var(--shadow-sm); }
.contact-list__item small { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list__item strong { display: block; font-size: 15px; color: var(--plum-dark); }
.rating-summary { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.rating-summary > strong { font-family: var(--serif); font-size: 54px; line-height: 1; color: var(--plum); }
.rating-summary span { display: block; font-size: 13.5px; color: var(--muted); }
.review-form-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.review-form-intro h2 { margin-bottom: 12px; }
.review-form-intro p { font-size: 14.5px; line-height: 1.7; }
.review-form { display: grid; gap: 14px; padding: 30px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- Product page ---------- */
.product-page { padding: clamp(24px, 3vw, 40px) 0 0; }
.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 22px; }
.product-gallery__main { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--cream-2); }
.product-gallery__main img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.product-gallery__badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: var(--plum); color: var(--white); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-gallery__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; font-size: 12.5px; color: var(--muted); }
.product-gallery__meta span { display: inline-flex; align-items: center; gap: 6px; }
.product-gallery__meta .icon { width: 15px; height: 15px; color: var(--plum); }
.product-info { position: sticky; top: 110px; }
.product-info__category { display: inline-block; margin-bottom: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--plum); }
.product-info h1 { font-size: clamp(38px, 4.4vw, 62px); margin-bottom: 12px; }
.product-info__short { font-size: 15px; line-height: 1.7; }
.product-info__price { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-info__price strong { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--plum); }
.product-info__price span { font-size: 13.5px; color: var(--muted); }
.product-info__weight { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.product-info__weight .icon { width: 15px; height: 15px; color: var(--plum); }
.buy-form { margin-top: 20px; padding: 22px; background: var(--peach); border-radius: var(--radius); }
.buy-form__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); overflow: hidden; }
.qty__btn { display: grid; place-items: center; width: 40px; height: 44px; border: 0; background: transparent; color: var(--plum); }
.qty__btn:hover { background: var(--cream-2); }
.qty__btn .icon { width: 15px; height: 15px; }
.qty input { width: 54px; height: 44px; border: 0; text-align: center; font-size: 15px; font-weight: 700; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__unit { padding-right: 14px; font-size: 12.5px; color: var(--muted); }
.buy-form__total { text-align: right; }
.buy-form__total span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.buy-form__total strong { font-family: var(--serif); font-size: 28px; color: var(--plum-dark); }
.buy-form__note { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
.product-info__assurance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.product-info__assurance > div { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.product-info__assurance .icon { width: 18px; height: 18px; color: var(--plum); }
.product-info__assurance strong { display: block; font-size: 13px; color: var(--plum-dark); }
.accordion--product { margin-top: 20px; }

/* ---------- Cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.cart-table { border-top: 1px solid var(--line); }
.cart-row { display: grid; grid-template-columns: 108px 1fr 170px 110px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row__media img { width: 108px; height: 88px; object-fit: cover; border-radius: 12px; }
.cart-row__name { display: block; font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--plum-dark); line-height: 1.15; margin-bottom: 3px; }
.cart-row__price { display: block; font-size: 13px; color: var(--muted); }
.cart-row__remove { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; padding: 0; border: 0; background: transparent; font-size: 12px; color: var(--muted); }
.cart-row__remove:hover { color: #A33B4A; }
.cart-row__remove .icon { width: 13px; height: 13px; }
.qty--small .qty__btn { width: 32px; height: 38px; }
.qty--small input { width: 42px; height: 38px; font-size: 14px; }
.cart-row__unit { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); text-align: center; }
.cart-row__sum { text-align: right; font-size: 15px; color: var(--plum-dark); }
.cart-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; flex-wrap: wrap; }
.cart-summary { padding: 26px; background: var(--peach); border-radius: var(--radius); }
.cart-summary h2 { font-size: 30px; margin-bottom: 16px; }
.cart-summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 13.5px; color: var(--muted); }
.cart-summary__row strong { color: var(--plum-dark); }
.cart-summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(159,89,104,.18); }
.cart-summary__total span { font-size: 13.5px; color: var(--plum-dark); }
.cart-summary__total strong { font-family: var(--serif); font-size: 32px; color: var(--plum); }
.cart-summary__note { margin: 12px 0 16px; font-size: 12px; line-height: 1.55; color: var(--muted); }
.cart-summary__phone { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--plum); }
.checkout-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.checkout-form { display: grid; gap: 16px; }
.form-card { display: grid; gap: 14px; padding: 26px; background: var(--white); border-radius: var(--radius); border: 1px solid rgba(159,89,104,.08); }
.form-card h2 { font-size: 28px; margin-bottom: 4px; }
.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--cream); }
.radio:has(input:checked) { border-color: var(--plum); background: var(--peach); }
.radio input { margin-top: 3px; accent-color: var(--plum); }
.radio strong { display: block; font-size: 14px; color: var(--plum-dark); }
.radio small { display: block; font-size: 12px; color: var(--muted); }
.checkout-summary { position: sticky; top: 110px; padding: 26px; background: var(--peach); border-radius: var(--radius); }
.checkout-summary h2 { font-size: 28px; margin-bottom: 16px; }
.checkout-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(159,89,104,.12); }
.checkout-item img { width: 52px; height: 44px; object-fit: cover; border-radius: 8px; }
.checkout-item strong { display: block; font-size: 14px; color: var(--plum-dark); line-height: 1.3; }
.checkout-item span { display: block; font-size: 12.5px; color: var(--muted); }
.checkout-item b { font-size: 13.5px; color: var(--plum-dark); white-space: nowrap; }
.checkout-summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13.5px; color: var(--muted); }
.checkout-summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 14px; border-top: 1px solid rgba(159,89,104,.18); }
.checkout-summary__total strong { font-family: var(--serif); font-size: 30px; color: var(--plum); }
.checkout-summary__edit { display: inline-block; margin-top: 14px; font-size: 12.5px; color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Success / search / error ---------- */
.success-page { padding: clamp(48px, 7vw, 90px) 0; }
.success-card { max-width: 760px; margin: 0 auto; padding: clamp(30px, 5vw, 54px); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); text-align: center; }
.success-card__icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--peach); color: var(--plum); }
.success-card__icon .icon { width: 34px; height: 34px; }
.success-card h1 { font-size: clamp(36px, 4vw, 54px); margin-bottom: 14px; }
.success-card > p { font-size: 15px; line-height: 1.7; }
.success-card__details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 18px; text-align: left; }
.success-card__details > div { padding: 14px; background: var(--cream); border-radius: 12px; }
.success-card__details span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 4px; }
.success-card__details strong { font-size: 13.5px; color: var(--plum-dark); }
.success-card__items { text-align: left; border-top: 1px solid var(--line); }
.success-card__items > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.success-card__items span { color: var(--muted); }
.success-card__items strong { color: var(--plum-dark); }
.success-card__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.success-card__note { margin-top: 18px; font-size: 12px; color: var(--muted); }
.search-form { display: flex; align-items: center; gap: 10px; max-width: 720px; margin-top: 22px; padding: 8px 8px 8px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.search-form > .icon { width: 20px; height: 20px; color: var(--plum); }
.search-form input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font-size: 15px; }
.search-form input:focus { outline: none; }
.search-pages { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.search-pages h2 { font-size: 28px; margin-bottom: 12px; }
.search-pages a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--plum-dark); }
.error-page { padding: clamp(60px, 10vw, 130px) 0; }
.error-page__inner { max-width: 620px; margin: 0 auto; text-align: center; }
.error-page__code { display: block; font-family: var(--serif); font-size: clamp(100px, 18vw, 190px); line-height: .8; color: var(--peach-2); margin-bottom: 8px; }
.error-page h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 14px; }
.error-page p { font-size: 15px; line-height: 1.7; }
.error-page__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.standalone-error { min-height: 100vh; display: grid; place-items: center; background: var(--cream); padding: 24px; }
.standalone-error__card { max-width: 520px; padding: 44px; text-align: center; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.standalone-error__logo { width: 100px; height: 100px; margin: 0 auto 8px; object-fit: contain; }
.standalone-error__card h1 { font-size: 34px; margin-bottom: 10px; }
.standalone-error__card p { font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.standalone-error__phone { display: block; margin-top: 14px; font-weight: 700; color: var(--plum); }

/* ---------- Flashes ---------- */
.flash-stack { position: relative; z-index: 5; margin-top: 18px; display: grid; gap: 8px; }
.flash { display: flex; align-items: flex-start; gap: 10px; padding: 13px 18px; border-radius: 12px; font-size: 14px; background: var(--white); border: 1px solid var(--line); }
.flash .icon { width: 18px; height: 18px; margin-top: 1px; }
.flash--success { background: #F1F8F2; border-color: #CDE7D1; color: #2F6B3A; }
.flash--error { background: #FDF1F0; border-color: #F0D0CC; color: #8E3B35; }

/* ---------- Promo slider ---------- */
.promo-head__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.promo-nav__btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--plum); transition: background .2s, color .2s, border-color .2s; }
.promo-nav__btn:hover { background: var(--plum); border-color: var(--plum); color: var(--white); }
.promo-nav__btn .icon { width: 17px; height: 17px; }
.promo-nav__btn[data-promo-prev] .icon { transform: rotate(180deg); }
.promo-slider { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px; }
.promo-slider::-webkit-scrollbar { display: none; }
.promo-slider .promo-card { flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start; }
.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.promo-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid rgba(159,89,104,.12); border-radius: 20px; box-shadow: var(--shadow-sm); }
.promo-card__media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--cream-2); }
.promo-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.promo-card:hover .promo-card__media img { transform: scale(1.035); }
.promo-card__badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: var(--plum); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.promo-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 14px; }
.promo-card__price { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--plum); margin-bottom: 4px; }
.promo-card h3 { font-size: 21px; line-height: 1.15; margin-bottom: 6px; }
.promo-card h3 a:hover { color: var(--plum); }
.promo-card__body p { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin-bottom: 10px; }
.promo-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--plum-dark); }
.promo-card__link .icon { width: 15px; height: 15px; transition: transform .2s ease; }
.promo-card:hover .promo-card__link .icon { transform: translateX(4px); }

@media (max-width: 1000px) {
    .promo-slider .promo-card { flex-basis: calc((100% - 32px) / 3); }
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .promo-slider .promo-card { flex-basis: 78%; }
    .promo-nav__btn { display: none; }
}
@media (max-width: 460px) {
    .promo-grid { grid-template-columns: 1fr; }
}

/* ---------- Offers ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offer-card { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; border-radius: var(--radius); min-height: 300px; }
.offer-card h2 { font-size: 30px; line-height: 1.1; }
.offer-card p { font-size: 14px; line-height: 1.6; }
.offer-card .link-arrow { margin-top: auto; }
.offer-card__tag { display: inline-block; width: fit-content; padding: 5px 11px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.offer-card--plum { background: var(--plum-dark); color: var(--white); }
.offer-card--plum h2 { color: var(--white); }
.offer-card--plum p { color: rgba(255,255,255,.7); }
.offer-card--plum .offer-card__tag { background: rgba(255,255,255,.15); color: var(--white); }
.offer-card--plum .link-arrow { color: var(--rose-soft); }
.offer-card--rose { background: var(--rose-soft); }
.offer-card--rose p, .offer-card--cream p { color: var(--plum-dark); }
.offer-card--rose .link-arrow, .offer-card--cream .link-arrow { color: var(--plum-dark); }
.offer-card--rose .offer-card__tag { background: rgba(255,255,255,.6); color: var(--plum); }
.offer-card--cream { background: var(--peach); }
.offer-card--cream .offer-card__tag { background: rgba(255,255,255,.7); color: var(--plum); }


.vk-cta { position: relative; display: inline-flex; margin: 0; }
.vk-cta > summary { list-style: none; cursor: pointer; display: inline-flex; margin: 0; }
.vk-cta > summary::-webkit-details-marker { display: none; }
.vk-cta__menu { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; width: min(330px, 82vw); padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.vk-cta__menu a { display: flex; flex-direction: column; gap: 2px; padding: 11px 13px; border-radius: 11px; color: var(--ink); }
.vk-cta__menu a:hover { background: var(--cream-2); }
.vk-cta__menu strong { font-size: 13px; color: var(--plum-dark); }
.vk-cta__menu span { font-size: 11.5px; color: var(--muted); }



@media (min-width: 901px) {
    .page-hero__actions--kids { flex-wrap: nowrap; gap: 8px; }
    .page-hero__actions--kids .btn { padding-left: 18px; padding-right: 18px; }
}

/* ---------- Signature cake ---------- */
.signature { padding: clamp(42px, 6vw, 82px) 0; background: linear-gradient(135deg, var(--cream-2), var(--peach)); }
.signature__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.signature__media { position: relative; }
.signature__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.signature__weight { position: absolute; left: 18px; bottom: 18px; padding: 9px 15px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--plum-dark); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.signature__content h2 { margin-bottom: 16px; }
.signature__content h2 em { color: var(--plum); }
.signature__content > p { max-width: 560px; font-size: 15.5px; line-height: 1.7; }
.signature__list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; margin: 20px 0 24px; }
.signature__list li { display: flex; align-items: flex-start; gap: 7px; font-size: 13.5px; color: var(--plum-dark); }
.signature__list .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--plum); }
.signature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.signature__price { display: flex; flex-direction: column; gap: 1px; }
.signature__price strong { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--plum); }
.signature__price span { font-size: 11.5px; color: var(--muted); }
.signature__note { margin-top: 14px; font-size: 12.5px !important; color: var(--muted); }
@media (max-width: 900px) { .signature__grid { grid-template-columns: 1fr; } .signature__media { order: -1; } }
@media (max-width: 480px) { .signature__list { grid-template-columns: 1fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .main-nav { gap: 18px; }
    .header__phone { display: none; }
    .footer__top { grid-template-columns: 1.4fr .8fr .8fr 1fr; }
    .footer__contacts { grid-column: span 2; }
}

@media (max-width: 1060px) {
    .header__cta { display: none; }
    .main-nav { gap: 20px; }
}

@media (max-width: 1020px) {
    .hero__grid { grid-template-columns: 1fr .9fr; }
    .hero__float--price { left: -10px; }
    .hero__stamp { left: -6px; width: 92px; height: 92px; font-size: 9px; }
    .product-grid, .product-grid--four { grid-template-columns: repeat(3, 1fr); }
    .cat-grid { grid-auto-rows: 210px; }
    .feature-grid, .info-grid--four { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: 1.2fr 1fr 1fr; }
    .footer__contacts { grid-column: auto; }
    .footer__brand { grid-column: span 3; }
    .footer__logo { margin-bottom: 12px; }
}

@media (max-width: 900px) {
    :root { --header-h: 74px; }
    .topbar { display: none; }
    .brand img { width: 72px; height: 72px; }
    .burger { display: block; }
    .main-nav {
        position: fixed;
        inset: 0;
        z-index: 95;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 100px 28px 32px;
        background: var(--cream);
        overflow-y: auto;
        transform: none;
        transition: none;
        margin: 0;
    }
    .main-nav.is-open { display: flex; }
    .main-nav__item { border-bottom: 1px solid var(--line); }
    .main-nav__item > a { display: flex; justify-content: space-between; padding: 16px 0; font-size: 16px; }
    .main-nav__item > a::after { display: none; }
    .dropdown { position: static; width: auto; padding: 0 0 12px 12px; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; background: transparent; }
    .has-dropdown.is-expanded .dropdown { display: block; }
    .dropdown a { padding: 8px 0; }
    .dropdown a:hover { background: transparent; }
    .main-nav__mobile { display: grid; gap: 12px; margin-top: 24px; }
    .main-nav__mobile-phone { font-size: 18px; font-weight: 800; color: var(--plum); }
    .header__inner { gap: 12px; }
    .header__cta { display: none; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { max-width: 100%; margin: 0 auto; width: 100%; }
    .hero__float--price { left: 0; bottom: 20px; }
    .hero__float--date { right: 0; top: 40px; }
    .hero__stamp { left: 0; top: -10px; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 18px 20px; margin-top: 32px; padding: 20px; }
    .hero-stat { border-left: 0; padding-left: 0; }
    .hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-top: 1px solid var(--line); padding-top: 16px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; }
    .cat-card--large { grid-column: span 2; grid-row: span 1; }
    .cat-card--standartcakes, .cat-card--kids, .cat-card--traifl { grid-column: span 1; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
    .section-head--row { flex-direction: row; align-items: center; }
    .split, .seo-contact, .faq-wrap, .review-form-wrap { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
    .split__note { right: 12px; }
    .kids-banner__inner { grid-template-columns: 1fr; }
    .kids-banner__media { order: -1; }
    .lead-card { grid-template-columns: 1fr; }
    .product-layout, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .product-info, .checkout-summary { position: static; }
    .cart-summary { max-width: 480px; }
    .page-hero__grid { grid-template-columns: 1fr; }
    .page-hero__media { max-width: 520px; }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: span 2; }
    .footer__contacts { grid-column: span 2; }
    .gallery-grid, .gallery-grid--four { grid-template-columns: repeat(3, 1fr); }
    .review-grid, .review-grid--wide { grid-template-columns: 1fr 1fr; }
    .offer-grid { grid-template-columns: 1fr; }
    .page-cta { flex-direction: column; align-items: flex-start; }
    .toolbar { align-items: flex-start; }
}

@media (max-width: 700px) {
    .container { padding: 0 18px; }
    .hero { padding-top: 26px; }
    .hero__content h1 { font-size: clamp(38px, 11vw, 54px); }
    .hero__float--date { display: none; }
    .hero__stamp { width: 78px; height: 78px; font-size: 8px; padding: 12px; }
    .hero__stats { margin-top: 26px; padding: 18px; gap: 16px; }
    .hero-stat strong { font-size: 26px; }
    .hero-stat span { font-size: 14px; }
    .cat-grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
    .cat-card--large, .cat-card--standartcakes, .cat-card--kids, .cat-card--traifl { grid-column: span 1; grid-row: span 1; }
    .product-grid, .product-grid--four { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card__body { padding: 12px; }
    .product-card h3 { font-size: 18px; }
    .product-card__desc { display: none; }
    .product-card__price { font-size: 13px; }
    .product-card__link { width: 30px; height: 30px; }
    .feature-grid, .info-grid--four, .contact-cards { grid-template-columns: 1fr 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .review-grid, .review-grid--wide { grid-template-columns: 1fr; }
    .review-card p { font-size: 18px; }
    .footer__top { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer__brand { grid-column: span 2; }
    .footer__contacts { grid-column: span 2; }
    .footer__bottom { flex-direction: column; }
    .lead-card { padding: 22px; }
    .field-row { grid-template-columns: 1fr; }
    .radio-row { grid-template-columns: 1fr; }
    .cart-row { grid-template-columns: 80px 1fr; gap: 12px; padding: 14px 0; }
    .cart-row__media img { width: 80px; height: 72px; }
    .cart-row__qty { grid-column: 2; display: flex; align-items: center; gap: 10px; }
    .cart-row__sum { grid-column: 2; text-align: left; }
    .cart-row__remove { margin-top: 4px; }
    .gallery-grid, .gallery-grid--four { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid--masonry { grid-auto-rows: 160px; }
    .gallery-grid--masonry .gallery-item:nth-child(4n+1) { grid-row: span 1; }
    .page-cta { padding: 24px; }
    .page-hero__media img { border-radius: 180px 180px 22px 22px; }
    .success-card__details { grid-template-columns: 1fr; }
    .filter-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
    .filter-bar__btn { white-space: nowrap; }
    .offer-grid { grid-template-columns: 1fr; }
    .offer-card h2 { font-size: 26px; }
    .review-form { padding: 20px; }
    .search-form { flex-wrap: wrap; border-radius: 18px; padding: 12px; }
    .search-form input { flex-basis: 100%; padding-left: 4px; }
    .search-form .btn { width: 100%; }
    .product-info__assurance { grid-template-columns: 1fr; }
    .product-info__assurance > div { flex-direction: row; align-items: center; gap: 8px; }
}

@media (max-width: 420px) {
    .product-grid, .product-grid--four { grid-template-columns: 1fr; }
    .feature-grid, .info-grid--four, .contact-cards { grid-template-columns: 1fr; }
    .hero__actions .btn { width: 100%; }
    .hero__features { gap: 8px; }
    .hero__features li { font-size: 12.5px; }
}

@media (max-width: 760px) {
    .branch-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
