/* =========================================================================
   «Лавка» — quick grocery delivery, on top of NewCMS Default.

   ART DIRECTION
   A fresh big-city delivery app, not a farm stall. The page is plain white;
   products stand on light "shelves" (#f3f5f3 — a design select turns them
   mint or sand) with big photos and nothing else around them. One vivid
   green (#12a150) is the brand: the cart, «В корзину», active chips, the
   cover tile and the club card — used deep (mixed with a little black)
   wherever white text sits on it, so the text stays readable. One juicy
   tomato (#ff4a2b) marks money you save: sale prices, «−%» stickers, the
   deal of the day and the promo coupon. A small sunflower yellow appears
   only as a promo tile.

   Shapes are soft and app-like: 22px cards (editable), pill buttons and
   chips, round icon buttons, a bento first screen, story circles, a sticky
   cart bar at the bottom of a phone screen. No rims, no textures, no
   hand-drawn anything — flat colour, generous white, tight bold type.

   Type: Geologica, dense and geometric, bold and tight for headlines and
   prices; Onest for everything else. The design settings swap in
   Unbounded or Manrope for headlines and Geologica or Inter for text.

   Motion only on intent: a card lifts, the cart pill bumps, a story ring
   spins once on hover. All of it stops under prefers-reduced-motion.

   Loaded after the parent's theme.css / blocks.css / chrome.css and the
   modules' styles, so these rules re-dress rather than rebuild.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Fonts — Geologica ships with the theme (OFL, fonts/geologica-LICENSE),
   the others come from the parent theme.
   ------------------------------------------------------------------------- */
@font-face {
    font-family: 'Lavka Geologica';
    src: url('/themes/lavka/assets/fonts/geologica-cyrillic-wght-normal.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Lavka Geologica';
    src: url('/themes/lavka/assets/fonts/geologica-latin-wght-normal.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lavka Onest';
    src: url('/themes/default/assets/fonts/onest-cyrillic-wght-normal.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Lavka Onest';
    src: url('/themes/default/assets/fonts/onest-latin-wght-normal.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lavka Unbounded';
    src: url('/themes/default/assets/fonts/unbounded-cyrillic-wght-normal.woff2') format('woff2');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Lavka Unbounded';
    src: url('/themes/default/assets/fonts/unbounded-latin-wght-normal.woff2') format('woff2');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lavka Manrope';
    src: url('/themes/default/assets/fonts/manrope-cyrillic-wght-normal.woff2') format('woff2');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Lavka Manrope';
    src: url('/themes/default/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lavka Inter';
    src: url('/themes/default/assets/fonts/inter-cyrillic-wght-normal.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Lavka Inter';
    src: url('/themes/default/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The owner's design settings (theme.json → design.controls). Core prints
   the chosen values as :root{--lavka-…} after this file. */
:root {
    --lavka-accent: #12a150;
    --lavka-hot: #ff4a2b;
    --lavka-font-display: 'Lavka Geologica', 'Lavka Onest', system-ui, sans-serif;
    --lavka-font-text: 'Lavka Onest', 'Segoe UI', system-ui, sans-serif;
    --lavka-radius: 22px;
}

/* -------------------------------------------------------------------------
   2. Tokens — `html:root` so they win over a design layer; always light.
   ------------------------------------------------------------------------- */
html:root {
    --lv-page: #ffffff;
    --lv-shelf: #f3f5f3;
    --lv-shelf-2: #e8ece8;
    --lv-line: #e4e8e4;
    --lv-line-strong: #cfd6cf;
    --lv-ink: #111a14;
    --lv-text: #1e2922;
    --lv-muted: #58645c;
    --lv-faint: #8a958d;
    --lv-accent: var(--lavka-accent);
    --lv-deep: color-mix(in srgb, var(--lavka-accent) 80%, #000);
    --lv-deeper: color-mix(in srgb, var(--lavka-accent) 62%, #000);
    --lv-accent-soft: color-mix(in srgb, var(--lavka-accent) 12%, #fff);
    --lv-accent-mid: color-mix(in srgb, var(--lavka-accent) 26%, #fff);
    --lv-hot: var(--lavka-hot);
    --lv-hot-deep: color-mix(in srgb, var(--lavka-hot) 86%, #000);
    --lv-hot-ink: color-mix(in srgb, var(--lavka-hot) 78%, #000);
    --lv-hot-soft: color-mix(in srgb, var(--lavka-hot) 11%, #fff);
    --lv-sun: #ffd43b;
    --lv-sun-soft: #fff4c7;
    --lv-r: var(--lavka-radius);
    --lv-r-lg: calc(var(--lavka-radius) * 1.45);
    --lv-r-sm: calc(var(--lavka-radius) * 0.6);
    --lv-float: 0 1px 2px rgb(17 26 20 / 0.05), 0 18px 40px -24px rgb(17 26 20 / 0.28);
    --lv-display: var(--lavka-font-display);
    --lv-font: var(--lavka-font-text);
    --lv-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

    --c-bg: var(--lv-page);
    --c-surface: var(--lv-page);
    --c-surface-sunk: var(--lv-shelf);
    --c-text: var(--lv-text);
    --c-text-strong: var(--lv-ink);
    --c-text-muted: var(--lv-muted);
    --c-text-faint: var(--lv-faint);
    --c-border: var(--lv-line);
    --c-border-strong: var(--lv-line-strong);
    --c-accent: var(--lv-deep);
    --c-accent-hover: var(--lv-deeper);
    --c-accent-soft: var(--lv-accent-soft);
    --c-accent-contrast: #ffffff;
    --c-link: var(--lv-deep);
    --c-link-hover: var(--lv-deeper);
    --c-mark: var(--lv-accent);
    --c-mark-text: var(--lv-deeper);
    --c-mark-soft: var(--lv-accent-soft);
    --c-slab: var(--lv-ink);
    --c-slab-text: #ffffff;
    --c-slab-muted: #b7c2ba;
    --c-danger: #c8321a;
    --c-success: var(--lv-deep);

    --font-display: var(--lv-display);
    --font-ui: var(--lv-font);
    --font-prose: var(--lv-font);

    --fw-heading: 800;
    --tr-tight: -0.035em;
    --tr-snug: -0.02em;
    --lh-prose: 1.6;

    --r-xs: min(var(--lavka-radius), 8px);
    --r-sm: min(var(--lavka-radius), 12px);
    --r-md: var(--lv-r-sm);
    --r-lg: var(--lv-r);
    --r-btn: 999px;
    --r-pill: 999px;
    --card-radius: var(--lv-r);
    --card-bg: var(--lv-page);
    --card-border: 0;
    --card-shadow: none;
    --shadow-sm: none;
    --shadow-md: var(--lv-float);
    --shadow-lg: var(--lv-float);
    --shadow-lift: var(--lv-float);

    --w-container: 74rem;
    --w-wide: 86rem;
    --w-prose: 40rem;
    --gutter: clamp(1rem, 3vw, 2.25rem);

    --sp-xs: 1.25rem;
    --sp-sm: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
    --sp-md: clamp(2.5rem, 2rem + 2.6vw, 4.25rem);
    --sp-lg: clamp(3.5rem, 2.8rem + 3.8vw, 6rem);
    --sp-xl: clamp(5rem, 3.8rem + 5.5vw, 8.5rem);

    --dur: 170ms;
    --ease: cubic-bezier(0.25, 0.7, 0.3, 1);

    --shop-star: #f5a70a;
    --shop-sticker-discount-bg: var(--lv-hot-deep);
    --shop-sticker-discount-fg: #ffffff;
    --shop-sticker-sale-bg: var(--lv-hot-deep);
    --shop-sticker-sale-fg: #ffffff;
    --shop-sticker-hit-bg: var(--lv-ink);
    --shop-sticker-hit-fg: #ffffff;
    --shop-sticker-new-bg: var(--lv-sun);
    --shop-sticker-new-fg: var(--lv-ink);
    --shop-sticker-few-bg: var(--lv-hot-soft);
    --shop-sticker-few-fg: var(--lv-hot-ink);

    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    html:root {
        --c-bg: var(--lv-page);
        --c-surface: var(--lv-page);
        --c-surface-sunk: var(--lv-shelf);
        --c-text: var(--lv-text);
        --c-text-strong: var(--lv-ink);
        --c-text-muted: var(--lv-muted);
        --c-text-faint: var(--lv-faint);
        --c-border: var(--lv-line);
        --c-border-strong: var(--lv-line-strong);
        --c-accent: var(--lv-deep);
        --c-accent-soft: var(--lv-accent-soft);
        --c-accent-contrast: #ffffff;
        --c-link: var(--lv-deep);
        --c-link-hover: var(--lv-deeper);
        --c-mark: var(--lv-accent);
        --c-mark-text: var(--lv-deeper);
        --c-danger: #c8321a;
        --c-success: var(--lv-deep);
    }
}

/* Shelf tones («Тон полок») */
html[data-lavka-palette="mint"]:root {
    --lv-shelf: #edf6f0;
    --lv-shelf-2: #deede3;
    --lv-line: #dde9e1;
    --lv-line-strong: #c3d6c9;
}
html[data-lavka-palette="sand"]:root {
    --lv-shelf: #f6f3ec;
    --lv-shelf-2: #ece6d9;
    --lv-line: #ebe5d8;
    --lv-line-strong: #d7cebd;
}

/* -------------------------------------------------------------------------
   3. Base
   ------------------------------------------------------------------------- */
body.lv-body {
    background: var(--lv-page);
    color: var(--c-text);
    font-family: var(--lv-font);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.cms-section__title {
    font-family: var(--lv-display);
    font-weight: var(--fw-heading);
    letter-spacing: var(--tr-tight);
    color: var(--c-text-strong);
    text-wrap: balance;
}

::selection { background: var(--lv-accent-mid); color: var(--lv-ink); }

:focus-visible {
    outline: 3px solid var(--lv-accent);
    outline-offset: 3px;
}

.cms-btn {
    border-radius: 999px;
    min-height: 50px;
    padding: 0.8rem 1.55rem;
    border: 0;
    box-shadow: none;
    font-family: var(--lv-font);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.005em;
    transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.cms-btn:hover { transform: translateY(-1px); }
.cms-btn:active { transform: scale(0.97); }
.cms-btn--primary { background-color: var(--lv-deep); color: #fff; }
.cms-btn--primary:hover { background-color: var(--lv-deeper); color: #fff; }
.cms-btn--ghost { background: var(--lv-shelf); color: var(--lv-ink); box-shadow: none; }
.cms-btn--ghost:hover { background: var(--lv-shelf-2); color: var(--lv-ink); }
.cms-tone-dark .cms-btn--primary,
.cms-on-dark .cms-btn--primary { background: #fff; color: var(--lv-ink); }
.cms-tone-dark .cms-btn--ghost,
.cms-on-dark .cms-btn--ghost { background: rgb(255 255 255 / 0.14); color: #fff; }
.lv-btn--white.cms-btn { background: #fff; color: var(--lv-ink); }
.lv-btn--white.cms-btn:hover { background: var(--lv-sun-soft); color: var(--lv-ink); }
.lv-btn--glass.cms-btn { background: rgb(255 255 255 / 0.16); color: #fff; }
.lv-btn--glass.cms-btn:hover { background: rgb(255 255 255 / 0.26); color: #fff; }

.lv-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--lv-deep);
    font-weight: 700;
    text-decoration: none;
}
.lv-link::after { content: '→'; transition: transform var(--dur) var(--ease); }
.lv-link:hover { color: var(--lv-deeper); }
.lv-link:hover::after { transform: translateX(3px); }

/* Section heads: left, bold, tight — like a screen title in an app. */
.cms-section__head { margin-bottom: clamp(1.1rem, 0.8rem + 1.2vw, 1.9rem); }
.cms-section__title { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.4rem); line-height: 1.08; }
.cms-section__subtitle { color: var(--c-text-muted); font-size: var(--t-md); max-width: 46rem; }
.cms-section__head--left .cms-section__subtitle { margin-inline: 0; }

.cms-w-wide > .cms-section__inner { max-width: var(--w-wide); }

/* Soft and dark sections are inset rounded panels, not full bleeds. */
.cms-section.cms-tone-soft,
.cms-section.cms-tone-dark,
.cms-section.cms-tone-accent,
.cms-section.cms-tone-primary {
    width: calc(100% - 2 * var(--gutter));
    max-width: calc(var(--w-wide) + 4rem);
    margin-inline: auto;
    border-radius: var(--lv-r-lg);
}
.cms-section.cms-tone-soft { background: var(--lv-shelf); }
.cms-section.cms-tone-dark { background: var(--lv-ink); }
.cms-section.cms-tone-soft + .cms-section.cms-tone-soft { margin-top: var(--s-4); }

.visually-hidden-radio,
.lv-zones__radio,
.lv-slots__radio {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

/* -------------------------------------------------------------------------
   4. Header
   ------------------------------------------------------------------------- */
.lv-hdr.site-header {
    border-bottom: 1px solid var(--lv-line);
    background: var(--lv-page);
}
.lv-hdr.site-header--sticky.is-scrolled { box-shadow: 0 10px 30px -22px rgb(17 26 20 / 0.45); }

/* Announcement line */
.lv-announce.hdr-row--top {
    border-bottom: 0;
    background: var(--lv-shelf);
    color: var(--lv-muted);
    font-size: 0.8125rem;
    font-weight: 500;
}
.lv-announce .hdr-row__inner { min-height: 2.25rem; gap: 0.3rem 1.5rem; }
.lv-announce .hdr-zone { gap: 0.3rem 1.5rem; }
.lv-announce .cms-icon { color: var(--lv-deep); width: 1rem; height: 1rem; }
.lv-announce a { color: var(--lv-text); font-weight: 600; }
.lv-announce a:hover { color: var(--lv-deep); }
.lv-announce .hdr-phone__number { font-weight: 700; color: var(--lv-ink); }
.lv-announce .hdr-phone__caption { display: none; }
.lv-announce .hdr-links { gap: 1.1rem; }
html[data-lavka-announce="off"] .lv-announce { display: none; }
.lv-announce .hdr-nav__link { min-height: 0; padding: 0.3rem 0.7rem; font-size: 0.8125rem; font-weight: 600; }
.lv-announce .hdr-nav__item--highlight .hdr-nav__link { color: var(--lv-hot-ink); }

/* The app bar */
.lv-bar .lv-bar__inner {
    max-width: var(--w-wide);
    min-height: 4.6rem;
    gap: 0.6rem 1rem;
}
.lv-bar .hdr-zone--center { flex: 1 1 auto; justify-content: stretch; }
.lv-bar .hdr-zone--center .hdr-el--module { flex: 1 1 auto; }
.lv-bar .shop-hsearch-wrap { flex: 1 1 auto; width: 100%; }
.lv-bar .shop-hsearch { width: 100%; max-width: 40rem; }
.lv-hdr .shop-hsearch .shop-hsearch__input {
    height: 48px;
    padding-left: 1.25rem;
    border: 2px solid transparent;
    border-radius: 999px;
    background: var(--lv-shelf);
    font-size: 0.975rem;
    font-weight: 500;
}
.lv-hdr .shop-hsearch .shop-hsearch__input:hover { border-color: var(--lv-line-strong); }
.lv-hdr .shop-hsearch .shop-hsearch__input:focus { border-color: var(--lv-accent); background: #fff; box-shadow: 0 0 0 4px var(--lv-accent-soft); }
.lv-hdr .shop-hsearch__go { border-radius: 999px; background: var(--lv-deep); color: #fff; width: 40px; }
.lv-hdr .shop-hsearch__go:hover { background: var(--lv-deeper); color: #fff; }

.lv-logo { gap: 0.55rem; color: var(--lv-ink); }
.lv-logo__badge {
    --lv-badge: var(--lv-deep);
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--lv-deep);
    color: #fff;
    transition: transform 300ms var(--lv-spring);
}
.lv-logo:hover .lv-logo__badge { transform: rotate(-8deg) scale(1.05); }
.lv-logo__mark { width: 26px; height: 26px; }
.lv-hdr .hdr-logo__name,
.lv-drawer .hdr-logo__name,
.lv-ftr .hdr-logo__name {
    font-family: var(--lv-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--lv-ink);
}

/* «Доставим к 19:00» */
.lv-eta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.3rem 0.95rem 0.3rem 0.35rem;
    border-radius: 999px;
    background: var(--lv-shelf);
    color: var(--lv-ink);
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
}
.lv-eta__bolt {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--lv-sun);
    color: var(--lv-ink);
}
.lv-eta__bolt .cms-icon { width: 16px; height: 16px; }
.lv-eta--header { margin-left: 0.4rem; }
.lv-eta--drawer { margin: 0 1.25rem 0.5rem; }
@media (max-width: 74.99rem) {
    .lv-eta--header { display: none; }
}

/* The city of the «Города» module */
.lv-hdr .geo-city {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
    padding: 0.3rem 0.9rem 0.3rem 0.65rem;
    border: 0;
    border-radius: 999px;
    background: var(--lv-accent-soft);
    color: var(--lv-ink);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
.lv-hdr .geo-city:hover { background: var(--lv-accent-mid); }
.lv-hdr .geo-city .cms-icon { color: var(--lv-deep); width: 18px; height: 18px; }
.lv-hdr .geo-city__label { color: var(--lv-muted); font-weight: 500; }
.lv-hdr .geo-city__name { font-weight: 800; }
@media (max-width: 89.99rem) {
    .lv-hdr .geo-city__label { display: none; }
}

.lv-hdr .shop-hlink,
.lv-hdr .hdr-icon-btn,
.lv-burger.hdr-burger {
    width: 46px;
    height: 46px;
    min-height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--lv-shelf);
    color: var(--lv-ink);
}
.lv-hdr .shop-hlink:hover,
.lv-hdr .hdr-icon-btn:hover,
.lv-burger.hdr-burger:hover { background: var(--lv-shelf-2); color: var(--lv-ink); }
.lv-hdr .shop-minicart {
    width: auto;
    min-height: 48px;
    height: 48px;
    padding: 0 1.2rem 0 1rem;
    gap: 0.5rem;
    border: 0;
    border-radius: 999px;
    background: var(--lv-deep);
    color: #fff;
    font-weight: 700;
    box-shadow: none;
}
.lv-hdr .shop-minicart:hover { background: var(--lv-deeper); color: #fff; }
.lv-hdr .shop-minicart__count,
.lv-hdr .shop-hlink__count { background: var(--lv-hot-deep); color: #fff; font-weight: 800; }

.lv-hdr .hdr-nav__link {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--lv-ink);
}
.lv-hdr .hdr-nav__link:hover { background: var(--lv-shelf); color: var(--lv-ink); }
.lv-hdr .hdr-nav__link.is-active,
.lv-hdr .hdr-nav__link[aria-current] { background: var(--lv-accent-soft); color: var(--lv-deeper); }
.lv-hdr .hdr-sub { border: 1px solid var(--lv-line); border-radius: var(--lv-r); box-shadow: var(--lv-float); padding: 0.5rem; }
.lv-hdr .hdr-sub__link { border-radius: 999px; padding: 0.5rem 0.85rem; }
.lv-hdr .hdr-sub__link:hover { background: var(--lv-shelf); }

/* Header variants */
html[data-lavka-header="accent"] .lv-bar.hdr-row--main { background: var(--lv-deep); }
html[data-lavka-header="ink"] .lv-bar.hdr-row--main { background: var(--lv-ink); }
html[data-lavka-header="accent"] .lv-bar :is(.hdr-logo__name, .hdr-nav__link, .hdr-phone__number),
html[data-lavka-header="ink"] .lv-bar :is(.hdr-logo__name, .hdr-nav__link, .hdr-phone__number) { color: #fff; }
html[data-lavka-header="accent"] .lv-bar .lv-logo__badge,
html[data-lavka-header="ink"] .lv-bar .lv-logo__badge { --lv-badge: #fff; background: #fff; color: var(--lv-deep); }
html[data-lavka-header="accent"] .lv-bar :is(.shop-hlink, .hdr-icon-btn, .lv-burger.hdr-burger, .lv-eta, .geo-city),
html[data-lavka-header="ink"] .lv-bar :is(.shop-hlink, .hdr-icon-btn, .lv-burger.hdr-burger, .lv-eta, .geo-city) { background: rgb(255 255 255 / 0.14); color: #fff; }
html[data-lavka-header="accent"] .lv-bar .geo-city :is(.cms-icon, .geo-city__label),
html[data-lavka-header="ink"] .lv-bar .geo-city :is(.cms-icon, .geo-city__label) { color: rgb(255 255 255 / 0.8); }
html[data-lavka-header="accent"] .lv-bar .shop-hsearch .shop-hsearch__input,
html[data-lavka-header="ink"] .lv-bar .shop-hsearch .shop-hsearch__input { background: #fff; }
html[data-lavka-header="accent"] .lv-bar .shop-minicart { background: #fff; color: var(--lv-deeper); }
html[data-lavka-header="ink"] .lv-bar .shop-minicart { background: var(--lv-accent); color: var(--lv-ink); }

/* Category chips */
.lv-chips.hdr-row--bottom { border-top: 0; background: var(--lv-page); }
.lv-chips .lv-chips__inner { max-width: var(--w-wide); min-height: 3.4rem; padding-block: 0 0.7rem; }
.lv-chips .hdr-zone { min-width: 0; flex: 1 1 auto; }
.lv-chips__nav { min-width: 0; width: 100%; }
.lv-chips__list {
    display: flex;
    gap: 0.45rem;
    margin: 0;
    padding: 0.1rem 0.1rem 0.25rem;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}
.lv-chips__list::-webkit-scrollbar { display: none; }
.lv-chips__list { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent); }
.lv-chips__list > li { flex: none; scroll-snap-align: start; }
.lv-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.35rem 1rem 0.35rem 0.4rem;
    border-radius: 999px;
    background: var(--lv-shelf);
    color: var(--lv-ink);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lv-chip:not(:has(.lv-chip__icon)) { padding-left: 1rem; }
.lv-chip__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    color: var(--lv-deep);
}
.lv-chip__icon .cms-icon { width: 17px; height: 17px; }
.lv-chip:hover { background: var(--lv-shelf-2); color: var(--lv-ink); }
.lv-chip.is-active,
.lv-chip[aria-current] { background: var(--lv-deep); color: #fff; }
.lv-chip--hot { background: var(--lv-hot-soft); color: var(--lv-hot-ink); }
.lv-chip--hot .lv-chip__icon { background: var(--lv-hot-deep); color: #fff; }
.lv-chip--hot:hover { background: color-mix(in srgb, var(--lavka-hot) 20%, #fff); color: var(--lv-hot-ink); }

@media (max-width: 59.99rem) {
    .lv-bar .lv-bar__inner { min-height: 3.8rem; }
    .lv-hdr .hdr-logo__name { font-size: 1.3rem; }
    .lv-logo__badge { width: 38px; height: 38px; border-radius: 12px; }
    .lv-logo__mark { width: 22px; height: 22px; }
    .lv-hdr .shop-minicart { height: 44px; min-height: 44px; padding: 0 0.9rem; }
    .lv-hdr .shop-minicart__label { display: none; }
    .lv-hdr .geo-city { min-height: 40px; padding: 0.25rem 0.7rem 0.25rem 0.5rem; font-size: 0.8125rem; max-width: 11rem; overflow: hidden; }
    .lv-hdr .geo-city__name { overflow: hidden; text-overflow: ellipsis; }
    /* The chips stay on a phone: one sideways-scrolling line under the bar. */
    .lv-chips.hdr-row--bottom { display: block; }
    .lv-chips .lv-chips__inner { min-height: 0; padding: 0 0 0.6rem; }
    .lv-chips .hdr-zone:not(:has(.lv-chips__nav)) { display: none; }
    .lv-chip { min-height: 38px; font-size: 0.8125rem; padding-right: 0.85rem; }
    .lv-chip__icon { width: 28px; height: 28px; }
}

.lv-drawer { background: var(--lv-page); }
.lv-drawer .hdr-drawer__head { background: var(--lv-page); }

/* -------------------------------------------------------------------------
   5. Footer
   ------------------------------------------------------------------------- */
.lv-ftr.site-footer {
    margin-top: var(--sp-sm);
    padding: 0 var(--gutter) var(--gutter);
    border-top: 0;
    background: transparent;
}
.lv-ftr__slab {
    max-width: calc(var(--w-wide) + 4rem);
    margin-inline: auto;
    padding: clamp(1.75rem, 1.2rem + 2.5vw, 3.25rem);
    border-radius: var(--lv-r-lg);
    background: var(--lv-shelf);
    color: var(--lv-text);
}
.lv-ftr__slab.cms-tone-dark { background: var(--lv-ink); color: #dfe6e1; }
.lv-ftr__slab--accent { background: var(--lv-deep); color: #eaf6ee; }
.lv-ftr__slab:is(.cms-tone-dark, .lv-ftr__slab--accent) :is(.lv-ftr__title, .hdr-logo__name, .lv-ftr__phone a) { color: #fff; }
.lv-ftr__slab:is(.cms-tone-dark, .lv-ftr__slab--accent) a { color: inherit; }
.lv-ftr__slab:is(.cms-tone-dark, .lv-ftr__slab--accent) .lv-logo__badge { --lv-badge: var(--lv-deep); background: #fff; color: var(--lv-deep); }

.lv-ftr__band {
    display: grid;
    gap: 1rem 2rem;
    align-items: center;
    margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    padding: clamp(1.25rem, 1rem + 1.4vw, 2rem);
    border-radius: var(--lv-r);
    background: var(--lv-page);
}
@media (min-width: 52rem) { .lv-ftr__band { grid-template-columns: 1fr 1.1fr; } }
.lv-ftr__band-title { margin: 0 0 0.3rem; font-size: 1.4rem; }
.lv-ftr__band-lead { margin: 0; color: var(--lv-muted); }

.lv-ftr__grid {
    display: grid;
    gap: 2rem 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
@media (min-width: 64rem) {
    .lv-ftr__grid { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
    .lv-ftr__col--about { grid-column: span 2; }
}
.lv-ftr__brand { margin-bottom: 0.9rem; }
.lv-ftr__title {
    margin: 0 0 0.85rem;
    font-family: var(--lv-font);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lv-muted);
}
.lv-ftr__about { margin: 0 0 1rem; max-width: 26rem; color: inherit; line-height: 1.55; }
.lv-ftr__menu { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.lv-ftr__menu a { color: inherit; font-weight: 500; text-decoration: none; }
.lv-ftr__menu a:hover { color: var(--lv-deep); }
.lv-ftr__menu a.is-hot { color: var(--lv-hot-ink); font-weight: 700; }
.lv-ftr__contacts { display: grid; gap: 0.55rem; font-style: normal; }
.lv-ftr__contacts p { margin: 0; }
.lv-ftr__phone a { font-family: var(--lv-display); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; color: var(--lv-ink); text-decoration: none; }
.lv-ftr__phone span { display: block; font-size: 0.8125rem; color: var(--lv-muted); }
.lv-ftr__line { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.925rem; }
.lv-ftr__line .cms-icon { flex: none; width: 18px; height: 18px; margin-top: 0.15rem; color: var(--lv-deep); }
.lv-ftr__line a { color: inherit; }
.lv-ftr__socials { margin-top: 0.5rem; }
.lv-ftr__socials .site-socials__link { background: var(--lv-page); border-radius: 50%; color: var(--lv-ink); }
.lv-ftr__pay { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.lv-ftr__pay-item { padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--lv-page); font-size: 0.8125rem; font-weight: 600; }
.lv-ftr__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.5rem;
    margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    padding-top: 1.25rem;
    border-top: 1px solid var(--lv-line-strong);
    font-size: 0.8125rem;
    color: var(--lv-muted);
}
.lv-ftr__slab:is(.cms-tone-dark, .lv-ftr__slab--accent) .lv-ftr__bottom { border-color: rgb(255 255 255 / 0.18); color: rgb(255 255 255 / 0.7); }
.lv-ftr__copy { margin: 0; }
.lv-ftr__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin: 0; padding: 0; list-style: none; }
.lv-ftr__links a { color: inherit; }
.lv-ftr__company { margin: 0; flex-basis: 100%; }

/* -------------------------------------------------------------------------
   6. Sticky cart bar (phones)
   ------------------------------------------------------------------------- */
.lv-cartbar { display: none; }
@media (max-width: 59.99rem) {
    html[data-lavka-cartbar="on"] .lv-cartbar {
        position: fixed;
        inset: auto 0 0;
        z-index: 60;
        display: flex;
        gap: 0.5rem;
        padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
        background: rgb(255 255 255 / 0.94);
        backdrop-filter: blur(12px);
        box-shadow: 0 -10px 30px -20px rgb(17 26 20 / 0.5);
    }
    html[data-lavka-cartbar="on"] body.lv-body { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
    html[data-lavka-cartbar="on"] .cookie-banner { bottom: calc(4.8rem + env(safe-area-inset-bottom)); }
    /* The shop's own bottom bars sit above the cart bar, never under it. */
    html[data-lavka-cartbar="on"] .shop-stickybar { bottom: calc(4.3rem + env(safe-area-inset-bottom)); }
    html[data-lavka-cartbar="on"] .shop-toast { bottom: calc(5.2rem + env(safe-area-inset-bottom)); }
}
.lv-cartbar__menu {
    display: grid;
    place-items: center;
    gap: 0.1rem;
    flex: none;
    width: 62px;
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    background: var(--lv-shelf);
    color: var(--lv-ink);
    font: inherit;
    font-size: 0.6875rem;
    font-weight: 700;
    cursor: pointer;
}
.lv-cartbar__menu .cms-icon { width: 20px; height: 20px; }
.lv-cartbar__cart {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 54px;
    padding: 0.4rem 0.75rem 0.4rem 0.5rem;
    border-radius: 18px;
    background: var(--lv-deep);
    color: #fff;
    text-decoration: none;
}
.lv-cartbar__cart:hover { color: #fff; background: var(--lv-deeper); }
.lv-cartbar__icon {
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgb(255 255 255 / 0.16);
}
.lv-cartbar__icon .cms-icon { width: 20px; height: 20px; }
.lv-cartbar__count {
    position: absolute;
    top: -5px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--lv-hot-deep);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
}
.lv-cartbar__text { display: grid; min-width: 0; line-height: 1.2; }
.lv-cartbar__text strong { font-size: 0.975rem; }
.lv-cartbar__eta { font-size: 0.75rem; opacity: 0.85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-cartbar__go { margin-left: auto; display: grid; place-items: center; }
.lv-cartbar__go .cms-icon { width: 20px; height: 20px; }

/* -------------------------------------------------------------------------
   7. Grocery delivery cover (lavka_hero)
   ------------------------------------------------------------------------- */
.lv-hero {
    display: grid;
    gap: clamp(0.75rem, 0.5rem + 0.8vw, 1.1rem);
}
@media (min-width: 64rem) {
    .lv-hero { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); }
    .lv-hero--solo { grid-template-columns: 1fr; }
}
.lv-hero__main {
    position: relative;
    display: grid;
    gap: 1.5rem;
    overflow: hidden;
    padding: clamp(1.5rem, 1rem + 2.6vw, 3.25rem);
    border-radius: var(--lv-r-lg);
    background: var(--lv-deep);
    color: #fff;
    isolation: isolate;
}
.lv-hero__main::before {
    content: '';
    position: absolute;
    z-index: -1;
    right: -12%;
    bottom: -35%;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--lv-accent);
    opacity: 0.55;
}
@media (min-width: 48rem) {
    .lv-hero__main { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
    .lv-hero--nophoto .lv-hero__main { grid-template-columns: 1fr; }
}
.lv-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; min-width: 0; }
.lv-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0.35rem 0.85rem 0.35rem 0.55rem;
    border-radius: 999px;
    background: #fff;
    color: var(--lv-ink);
    font-size: 0.8125rem;
    font-weight: 700;
}
.lv-hero__eyebrow .cms-icon { width: 16px; height: 16px; color: var(--lv-hot-deep); }
.lv-hero__title {
    margin: 0;
    color: #fff;
    font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4.1rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}
.lv-hero__lead { margin: 0; max-width: 34rem; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); line-height: 1.5; color: #f1faf4; }
.lv-eta--hero { background: #fff; min-height: 44px; font-size: 0.95rem; }
.lv-hero__search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 32rem;
    min-height: 56px;
    padding: 0.3rem 0.3rem 0.3rem 3rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 12px 30px -18px rgb(0 0 0 / 0.5);
}
.lv-hero__search-icon { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--lv-muted); display: grid; }
.lv-hero__search-icon .cms-icon { width: 20px; height: 20px; }
.lv-hero__search .lv-hero__search-input {
    flex: 1 1 auto;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    appearance: none;
    min-width: 0;
    height: 48px;
    border: 0;
    background: transparent;
    color: var(--lv-ink);
    font: inherit;
    font-size: 1rem;
    outline: none;
}
.lv-hero__search-input::placeholder { color: var(--lv-faint); }
.lv-hero__search:focus-within { box-shadow: 0 0 0 4px var(--lv-sun), 0 12px 30px -18px rgb(0 0 0 / 0.5); }
.lv-hero__search-btn {
    flex: none;
    min-height: 48px;
    padding: 0 1.3rem;
    border: 0;
    border-radius: 999px;
    background: var(--lv-hot-deep);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.lv-hero__search-btn:hover { background: var(--lv-hot-ink); }
.lv-hero__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; }
.lv-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.25rem 0 0;
    padding: 0;
    list-style: none;
}
.lv-hero__facts li {
    display: grid;
    padding: 0.55rem 0.95rem;
    border-radius: 16px;
    background: rgb(255 255 255 / 0.12);
    line-height: 1.15;
}
.lv-hero__facts strong { font-family: var(--lv-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; }
.lv-hero__facts span { font-size: 0.75rem; color: #dcefe2; }
.lv-hero__pic {
    position: relative;
    margin: 0;
    align-self: stretch;
    min-height: 16rem;
    border-radius: var(--lv-r);
    background: #fff;
    overflow: hidden;
}
.lv-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lv-hero__sticker {
    position: absolute;
    right: 0.9rem;
    top: 0.9rem;
    display: grid;
    place-items: center;
    align-content: center;
    width: 6.4rem;
    height: 6.4rem;
    border-radius: 50%;
    background: var(--lv-hot-deep);
    color: #fff;
    text-align: center;
    transform: rotate(10deg);
    box-shadow: 0 12px 24px -12px rgb(0 0 0 / 0.5);
}
.lv-hero__sticker strong { font-family: var(--lv-display); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.lv-hero__sticker small { font-size: 0.6875rem; font-weight: 600; line-height: 1.15; padding: 0.15rem 0.5rem 0; }

.lv-hero__promos {
    display: grid;
    gap: clamp(0.75rem, 0.5rem + 0.8vw, 1.1rem);
    margin: 0;
    padding: 0;
    list-style: none;
}
.lv-promo {
    --tone-bg: var(--lv-shelf);
    --tone-fg: var(--lv-ink);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    min-height: 11rem;
    overflow: hidden;
    padding: 1.25rem 1.25rem 1.1rem;
    border-radius: var(--lv-r-lg);
    background: var(--tone-bg);
    color: var(--tone-fg);
    transition: transform var(--dur) var(--ease);
}
.lv-promo:hover { transform: translateY(-3px); }
.lv-promo--hot { --tone-bg: var(--lv-hot-deep); --tone-fg: #fff; }
.lv-promo--sun { --tone-bg: var(--lv-sun); --tone-fg: var(--lv-ink); }
.lv-promo--ink { --tone-bg: var(--lv-ink); --tone-fg: #fff; }
.lv-promo__badge {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #fff;
    color: var(--lv-ink);
    font-size: 0.75rem;
    font-weight: 800;
}
.lv-promo--pic .lv-promo__title,
.lv-promo--pic .lv-promo__text { max-width: 60%; }
.lv-promo__title { position: relative; z-index: 1; margin: 0.25rem 0 0; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem); line-height: 1.05; color: inherit; }
.lv-promo__link { color: inherit; text-decoration: none; }
.lv-promo__link::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.lv-promo__text { position: relative; z-index: 1; margin: 0; font-size: 0.875rem; opacity: 0.9; }
.lv-promo__pic {
    position: absolute;
    right: -1.25rem;
    bottom: -1.25rem;
    width: 52%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background: rgb(255 255 255 / 0.4);
}
.lv-promo__img { width: 100%; height: 100%; object-fit: cover; }
.lv-promo__go {
    position: absolute;
    left: 1.25rem;
    bottom: 1.1rem;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: var(--lv-ink);
}
.lv-promo__go .cms-icon { width: 18px; height: 18px; }
.lv-promo:has(.lv-promo__go) { padding-bottom: 4rem; }

@media (max-width: 63.99rem) {
    .lv-hero__promos {
        grid-auto-flow: column;
        grid-auto-columns: minmax(15rem, 1fr);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: 0.2rem;
    }
    .lv-hero__promos::-webkit-scrollbar { display: none; }
    .lv-promo { scroll-snap-align: start; }
}
@media (max-width: 47.99rem) {
    .lv-hero__pic { min-height: 13rem; order: -1; }
    .lv-hero__main::before { width: 110%; bottom: -20%; }
    .lv-hero__sticker { width: 5.2rem; height: 5.2rem; }
    .lv-hero__sticker strong { font-size: 1.05rem; }
    .lv-hero__search-btn { padding: 0 1rem; }
}

/* -------------------------------------------------------------------------
   8. Story circles (lavka_stories)
   ------------------------------------------------------------------------- */
.lv-stories__list {
    display: flex;
    gap: clamp(0.75rem, 0.4rem + 1.4vw, 1.6rem);
    margin: 0;
    padding: 0.25rem 0.1rem 0.4rem;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}
.lv-stories__list::-webkit-scrollbar { display: none; }
@media (min-width: 64rem) { .lv-stories__list { justify-content: space-between; } }
.lv-story { flex: none; }
.lv-story__link {
    display: grid;
    justify-items: center;
    gap: 0.5rem;
    width: clamp(5.4rem, 4.6rem + 3vw, 7.6rem);
    color: var(--lv-ink);
    text-decoration: none;
}
.lv-story__ring {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    padding: 3px;
    border-radius: 50%;
    background: var(--lv-line-strong);
}
.lv-story.is-fresh .lv-story__ring { background: conic-gradient(from 200deg, var(--lv-accent), var(--lv-sun), var(--lv-hot), var(--lv-accent)); }
.lv-story__pic {
    display: block;
    width: 100%;
    height: 100%;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--lv-shelf);
    overflow: hidden;
}
.lv-story__img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
a.lv-story__link:hover .lv-story__img { transform: scale(1.08); }
.lv-story__label { font-size: 0.8125rem; font-weight: 600; line-height: 1.2; text-align: center; }

/* -------------------------------------------------------------------------
   9. Deal of the day (lavka_deal)
   ------------------------------------------------------------------------- */
.lv-deal {
    display: grid;
    gap: clamp(1rem, 0.6rem + 1.6vw, 2.25rem);
    padding: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
    border-radius: var(--lv-r-lg);
    background: var(--lv-hot-soft);
}
@media (min-width: 52rem) { .lv-deal { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; } }
.lv-deal--empty { grid-template-columns: 1fr; padding: clamp(1.25rem, 1rem + 1.4vw, 2rem); }
.lv-deal__media {
    position: relative;
    aspect-ratio: 1 / 0.85;
    border-radius: var(--lv-r);
    background: #fff;
    overflow: hidden;
}
.lv-deal__img { width: 100%; height: 100%; object-fit: cover; }
.lv-deal__ph { display: grid; place-items: center; height: 100%; color: var(--lv-faint); }
.lv-deal__ph .cms-icon { width: 3rem; height: 3rem; }
.lv-deal__off {
    position: absolute;
    left: 1rem;
    top: 1rem;
    display: grid;
    place-items: center;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    background: var(--lv-hot-deep);
    color: #fff;
    font-family: var(--lv-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    transform: rotate(-10deg);
}
.lv-deal__body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; padding: clamp(0.25rem, 0.1rem + 1vw, 1.25rem); }
.lv-deal__top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.lv-deal__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0.35rem 0.85rem 0.35rem 0.6rem;
    border-radius: 999px;
    background: var(--lv-hot-deep);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 800;
}
.lv-deal__badge .cms-icon { width: 16px; height: 16px; }
.lv-deal__timer { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 0.8125rem; font-weight: 600; color: var(--lv-hot-ink); }
.lv-deal__clock {
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    background: var(--lv-ink);
    color: #fff;
    font-family: var(--lv-display);
    font-size: 0.95rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}
.lv-deal__title { margin: 0; font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.4rem); line-height: 1.05; }
.lv-deal__title a { color: inherit; text-decoration: none; }
.lv-deal__title a:hover { color: var(--lv-deep); }
.lv-deal__text { margin: 0; max-width: 34rem; color: var(--lv-muted); }
.lv-deal__buy { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; width: 100%; }
.lv-deal .shop-price--lg .shop-price__value,
.lv-deal .shop-price--lg .shop-price__now { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); color: var(--lv-hot-ink); }
.lv-deal__form { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.lv-deal__pick { margin: 0; padding: 0; border: 0; }
.lv-deal__pick .shop-pick__legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lv-deal__btn.cms-btn { min-height: 52px; gap: 0.5rem; padding-inline: 1.5rem; }
.lv-deal__btn .cms-icon { width: 20px; height: 20px; }
.lv-deal__points { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.25rem 0 0; padding: 0; list-style: none; }
.lv-deal__points li { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem; border-radius: 999px; background: #fff; font-size: 0.8125rem; font-weight: 600; }
.lv-deal__points .cms-icon { width: 16px; height: 16px; color: var(--lv-deep); }
.lv-deal__more { margin: 0; }
.lv-deal__note { margin: 0; font-size: 0.75rem; color: var(--lv-muted); }

/* -------------------------------------------------------------------------
   10. Delivery zones (lavka_zones)
   ------------------------------------------------------------------------- */
.lv-zones { display: grid; gap: clamp(1rem, 0.7rem + 1.2vw, 1.75rem); }
@media (min-width: 64rem) {
    .lv-zones { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); align-items: start; }
    .lv-zones--full { grid-template-columns: 1fr; }
}
.lv-zones__main { min-width: 0; }
.lv-zones__switch { position: relative; }
.lv-zones__tabs,
.lv-slots__tabs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.lv-zones__tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.4rem 1.1rem 0.4rem 0.85rem;
    border-radius: 999px;
    background: var(--lv-shelf);
    color: var(--lv-ink);
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lv-zones__tab .cms-icon { width: 17px; height: 17px; color: var(--lv-deep); }
.lv-zones__tab:hover { background: var(--lv-shelf-2); }
.lv-zones__panel,
.lv-slots__panel { display: none; }
.lv-zones__radio:nth-of-type(1):checked ~ .lv-zones__panels > .lv-zones__panel:nth-child(1),
.lv-zones__radio:nth-of-type(2):checked ~ .lv-zones__panels > .lv-zones__panel:nth-child(2),
.lv-zones__radio:nth-of-type(3):checked ~ .lv-zones__panels > .lv-zones__panel:nth-child(3),
.lv-zones__radio:nth-of-type(4):checked ~ .lv-zones__panels > .lv-zones__panel:nth-child(4),
.lv-zones__radio:nth-of-type(5):checked ~ .lv-zones__panels > .lv-zones__panel:nth-child(5),
.lv-zones__radio:nth-of-type(6):checked ~ .lv-zones__panels > .lv-zones__panel:nth-child(6) { display: block; }
.lv-zones__radio:nth-of-type(1):checked ~ .lv-zones__tabs > .lv-zones__tab:nth-child(1),
.lv-zones__radio:nth-of-type(2):checked ~ .lv-zones__tabs > .lv-zones__tab:nth-child(2),
.lv-zones__radio:nth-of-type(3):checked ~ .lv-zones__tabs > .lv-zones__tab:nth-child(3),
.lv-zones__radio:nth-of-type(4):checked ~ .lv-zones__tabs > .lv-zones__tab:nth-child(4),
.lv-zones__radio:nth-of-type(5):checked ~ .lv-zones__tabs > .lv-zones__tab:nth-child(5),
.lv-zones__radio:nth-of-type(6):checked ~ .lv-zones__tabs > .lv-zones__tab:nth-child(6) { background: var(--lv-ink); color: #fff; }
.lv-zones__radio:nth-of-type(1):checked ~ .lv-zones__tabs > .lv-zones__tab:nth-child(1) .cms-icon,
.lv-zones__radio:nth-of-type(2):checked ~ .lv-zones__tabs > .lv-zones__tab:nth-child(2) .cms-icon,
.lv-zones__radio:nth-of-type(3):checked ~ .lv-zones__tabs > .lv-zones__tab:nth-child(3) .cms-icon,
.lv-zones__radio:nth-of-type(4):checked ~ .lv-zones__tabs > .lv-zones__tab:nth-child(4) .cms-icon,
.lv-zones__radio:nth-of-type(5):checked ~ .lv-zones__tabs > .lv-zones__tab:nth-child(5) .cms-icon,
.lv-zones__radio:nth-of-type(6):checked ~ .lv-zones__tabs > .lv-zones__tab:nth-child(6) .cms-icon { color: var(--lv-accent); }
.lv-zones__radio:nth-of-type(1):focus-visible ~ .lv-zones__tabs > .lv-zones__tab:nth-child(1),
.lv-zones__radio:nth-of-type(2):focus-visible ~ .lv-zones__tabs > .lv-zones__tab:nth-child(2),
.lv-zones__radio:nth-of-type(3):focus-visible ~ .lv-zones__tabs > .lv-zones__tab:nth-child(3),
.lv-zones__radio:nth-of-type(4):focus-visible ~ .lv-zones__tabs > .lv-zones__tab:nth-child(4),
.lv-zones__radio:nth-of-type(5):focus-visible ~ .lv-zones__tabs > .lv-zones__tab:nth-child(5),
.lv-zones__radio:nth-of-type(6):focus-visible ~ .lv-zones__tabs > .lv-zones__tab:nth-child(6) { outline: 3px solid var(--lv-accent); outline-offset: 3px; }

.lv-zones__table { width: 100%; border-collapse: separate; border-spacing: 0 0.4rem; font-size: 0.95rem; }
.lv-zones__table thead th {
    padding: 0 1rem 0.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
    color: var(--lv-muted);
}
.lv-zones__row > * { padding: 0.95rem 1rem; background: var(--lv-shelf); text-align: left; vertical-align: middle; }
.lv-zones__row > :first-child { border-radius: var(--lv-r-sm) 0 0 var(--lv-r-sm); }
.lv-zones__row > :last-child { border-radius: 0 var(--lv-r-sm) var(--lv-r-sm) 0; }
.lv-zones__district { font-weight: 700; color: var(--lv-ink); }
.lv-zones__row strong { font-family: var(--lv-display); font-weight: 800; letter-spacing: -0.02em; }
.lv-zones__free { color: var(--lv-deep); font-weight: 700; }
.lv-zones__row.is-fast > * { background: var(--lv-accent-soft); }
.lv-zones__flash {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 0.45rem;
    border-radius: 50%;
    background: var(--lv-sun);
    color: var(--lv-ink);
    vertical-align: -6px;
}
.lv-zones__flash .cms-icon { width: 14px; height: 14px; }
.lv-zones__note { margin: 0.75rem 0 0; font-size: 0.8125rem; color: var(--lv-muted); }

.lv-zones__side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: clamp(1.25rem, 1rem + 1vw, 1.9rem);
    border-radius: var(--lv-r-lg);
    background: var(--lv-ink);
    color: #dfe6e1;
}
.lv-zones__side-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--lv-sun);
    color: var(--lv-ink);
}
.lv-zones__side-icon .cms-icon { width: 26px; height: 26px; }
.lv-zones__side-title { margin: 0; font-size: 1.5rem; line-height: 1.1; color: #fff; }
.lv-zones__side-text { margin: 0; line-height: 1.55; }
.lv-zones__side-action { margin: 0.25rem 0 0; }
.lv-zones__side .cms-btn--primary { background: var(--lv-accent); color: var(--lv-ink); }
.lv-zones__side .cms-btn--primary:hover { background: #fff; color: var(--lv-ink); }

@media (max-width: 47.99rem) {
    .lv-zones__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .lv-zones__table,
    .lv-zones__table tbody { display: block; }
    .lv-zones__row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.35rem 1rem;
        margin-bottom: 0.5rem;
        padding: 0.9rem 1rem;
        border-radius: var(--lv-r-sm);
        background: var(--lv-shelf);
    }
    .lv-zones__row.is-fast { background: var(--lv-accent-soft); }
    .lv-zones__row > * { padding: 0; background: none !important; border-radius: 0 !important; }
    .lv-zones__district { grid-column: 1 / -1; font-size: 1.05rem; }
    .lv-zones__row td { display: grid; font-size: 0.875rem; }
    .lv-zones__row td::before { content: attr(data-label); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--lv-muted); }
}

/* -------------------------------------------------------------------------
   11. Delivery slots (lavka_slots)
   ------------------------------------------------------------------------- */
.lv-slots__tab {
    display: grid;
    min-width: 7.5rem;
    min-height: 56px;
    padding: 0.5rem 1.1rem;
    border-radius: 18px;
    background: var(--lv-shelf);
    color: var(--lv-ink);
    line-height: 1.2;
    cursor: pointer;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lv-slots__tab strong { font-size: 1rem; }
.lv-slots__tab small { font-size: 0.75rem; color: var(--lv-muted); }
.lv-slots__tab:hover { background: var(--lv-shelf-2); }
.lv-slots__radio:nth-of-type(1):checked ~ .lv-slots__panels > .lv-slots__panel:nth-child(1),
.lv-slots__radio:nth-of-type(2):checked ~ .lv-slots__panels > .lv-slots__panel:nth-child(2),
.lv-slots__radio:nth-of-type(3):checked ~ .lv-slots__panels > .lv-slots__panel:nth-child(3),
.lv-slots__radio:nth-of-type(4):checked ~ .lv-slots__panels > .lv-slots__panel:nth-child(4),
.lv-slots__radio:nth-of-type(5):checked ~ .lv-slots__panels > .lv-slots__panel:nth-child(5),
.lv-slots__radio:nth-of-type(6):checked ~ .lv-slots__panels > .lv-slots__panel:nth-child(6),
.lv-slots__radio:nth-of-type(7):checked ~ .lv-slots__panels > .lv-slots__panel:nth-child(7) { display: block; }
.lv-slots__radio:nth-of-type(1):checked ~ .lv-slots__tabs > .lv-slots__tab:nth-child(1),
.lv-slots__radio:nth-of-type(2):checked ~ .lv-slots__tabs > .lv-slots__tab:nth-child(2),
.lv-slots__radio:nth-of-type(3):checked ~ .lv-slots__tabs > .lv-slots__tab:nth-child(3),
.lv-slots__radio:nth-of-type(4):checked ~ .lv-slots__tabs > .lv-slots__tab:nth-child(4),
.lv-slots__radio:nth-of-type(5):checked ~ .lv-slots__tabs > .lv-slots__tab:nth-child(5),
.lv-slots__radio:nth-of-type(6):checked ~ .lv-slots__tabs > .lv-slots__tab:nth-child(6),
.lv-slots__radio:nth-of-type(7):checked ~ .lv-slots__tabs > .lv-slots__tab:nth-child(7) { background: var(--lv-deep); color: #fff; }
.lv-slots__radio:checked ~ .lv-slots__tabs > .lv-slots__tab small { color: inherit; }
.lv-slots__radio:nth-of-type(1):checked ~ .lv-slots__tabs > .lv-slots__tab:nth-child(1) small,
.lv-slots__radio:nth-of-type(2):checked ~ .lv-slots__tabs > .lv-slots__tab:nth-child(2) small,
.lv-slots__radio:nth-of-type(3):checked ~ .lv-slots__tabs > .lv-slots__tab:nth-child(3) small,
.lv-slots__radio:nth-of-type(4):checked ~ .lv-slots__tabs > .lv-slots__tab:nth-child(4) small,
.lv-slots__radio:nth-of-type(5):checked ~ .lv-slots__tabs > .lv-slots__tab:nth-child(5) small,
.lv-slots__radio:nth-of-type(6):checked ~ .lv-slots__tabs > .lv-slots__tab:nth-child(6) small,
.lv-slots__radio:nth-of-type(7):checked ~ .lv-slots__tabs > .lv-slots__tab:nth-child(7) small { color: #dff3e6; }
.lv-slots__tabs > .lv-slots__tab small { color: var(--lv-muted); }
.lv-slots__radio:nth-of-type(1):focus-visible ~ .lv-slots__tabs > .lv-slots__tab:nth-child(1),
.lv-slots__radio:nth-of-type(2):focus-visible ~ .lv-slots__tabs > .lv-slots__tab:nth-child(2),
.lv-slots__radio:nth-of-type(3):focus-visible ~ .lv-slots__tabs > .lv-slots__tab:nth-child(3),
.lv-slots__radio:nth-of-type(4):focus-visible ~ .lv-slots__tabs > .lv-slots__tab:nth-child(4),
.lv-slots__radio:nth-of-type(5):focus-visible ~ .lv-slots__tabs > .lv-slots__tab:nth-child(5),
.lv-slots__radio:nth-of-type(6):focus-visible ~ .lv-slots__tabs > .lv-slots__tab:nth-child(6),
.lv-slots__radio:nth-of-type(7):focus-visible ~ .lv-slots__tabs > .lv-slots__tab:nth-child(7) { outline: 3px solid var(--lv-accent); outline-offset: 3px; }

.lv-slots__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr));
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.lv-slot {
    position: relative;
    display: grid;
    gap: 0.15rem;
    align-content: start;
    min-height: 76px;
    padding: 0.8rem 1rem;
    border: 2px solid var(--lv-line);
    border-radius: var(--lv-r-sm);
    background: #fff;
}
.lv-slot__time { display: inline-flex; align-items: center; gap: 0.3rem; font-family: var(--lv-display); font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; color: var(--lv-ink); }
.lv-slot__time .cms-icon { width: 17px; height: 17px; color: var(--lv-deep); }
.lv-slot__price { font-size: 0.875rem; font-weight: 600; color: var(--lv-muted); }
.lv-slot__state {
    justify-self: start;
    margin-top: 0.2rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
}
.lv-slot--few { border-color: color-mix(in srgb, var(--lavka-hot) 35%, #fff); }
.lv-slot--few .lv-slot__state { background: var(--lv-hot-soft); color: var(--lv-hot-ink); }
.lv-slot--express { border-color: var(--lv-accent); background: var(--lv-accent-soft); }
.lv-slot--express .lv-slot__state { background: var(--lv-deep); color: #fff; }
.lv-slot--full { background: var(--lv-shelf); border-color: transparent; }
.lv-slot--full .lv-slot__time,
.lv-slot--full .lv-slot__price { color: var(--lv-faint); text-decoration: line-through; }
.lv-slot--full .lv-slot__state { background: var(--lv-line); color: var(--lv-muted); }
.lv-slots__legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 1rem 0 0; padding: 0; list-style: none; font-size: 0.8125rem; color: var(--lv-muted); }
.lv-slots__key { display: inline-flex; align-items: center; gap: 0.4rem; }
.lv-slots__key::before { content: ''; width: 12px; height: 12px; border-radius: 4px; border: 2px solid var(--lv-line); background: #fff; }
.lv-slots__key--few::before { border-color: color-mix(in srgb, var(--lavka-hot) 35%, #fff); background: var(--lv-hot-soft); }
.lv-slots__key--express::before { border-color: var(--lv-accent); background: var(--lv-accent-soft); }
.lv-slots__key--full::before { border-color: transparent; background: var(--lv-line); }
.lv-slots__note { margin: 0.5rem 0 0; font-size: 0.8125rem; color: var(--lv-muted); }
@media (max-width: 47.99rem) {
    .lv-slots__tabs,
    .lv-zones__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.2rem; }
    .lv-slots__tabs::-webkit-scrollbar,
    .lv-zones__tabs::-webkit-scrollbar { display: none; }
    .lv-slots__tab,
    .lv-zones__tab { flex: none; }
    .lv-slots__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* -------------------------------------------------------------------------
   12. Membership club (lavka_loyalty)
   ------------------------------------------------------------------------- */
.lv-club { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
@media (min-width: 56rem) { .lv-club { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); } }
.lv-club__card-wrap { display: grid; place-items: center; padding: clamp(0.5rem, 0.2rem + 1.5vw, 2rem); }
.lv-club__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: min(100%, 25rem);
    aspect-ratio: 1.58;
    padding: clamp(1.1rem, 0.8rem + 1vw, 1.6rem);
    overflow: hidden;
    border-radius: calc(var(--lv-r) * 1.1);
    background: linear-gradient(135deg, var(--lv-accent) 0%, var(--lv-deeper) 100%);
    color: #fff;
    box-shadow: 0 30px 50px -30px color-mix(in srgb, var(--lavka-accent) 70%, #000);
    transform: rotate(-4deg);
    transition: transform 400ms var(--lv-spring);
}
.lv-club__card:hover { transform: rotate(-1deg) translateY(-4px); }
.lv-club__plus {
    position: absolute;
    right: -1.5rem;
    top: -1.5rem;
    width: 9rem;
    height: 9rem;
    opacity: 0.18;
    background:
        linear-gradient(#fff, #fff) center / 100% 30% no-repeat,
        linear-gradient(#fff, #fff) center / 30% 100% no-repeat;
    border-radius: 12px;
}
.lv-club__name { margin: 0; font-family: var(--lv-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em; }
.lv-club__value { display: flex; align-items: baseline; gap: 0.6rem; margin: auto 0 0; }
.lv-club__value strong { font-family: var(--lv-display); font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; }
.lv-club__value span { max-width: 9rem; font-size: 0.8125rem; line-height: 1.25; opacity: 0.9; }
.lv-club__price { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; margin: 0; }
.lv-club__price strong { font-size: 0.95rem; }
.lv-club__price span { padding: 0.2rem 0.65rem; border-radius: 999px; background: #fff; color: var(--lv-ink); font-size: 0.75rem; font-weight: 700; }
.lv-club__body { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.lv-club__text { margin: 0; color: var(--lv-muted); max-width: 38rem; }
.lv-club__perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 0.6rem; width: 100%; margin: 0; padding: 0; list-style: none; }
.lv-club__perk { display: grid; grid-template-columns: auto 1fr; gap: 0.1rem 0.8rem; padding: 1rem; border-radius: var(--lv-r-sm); background: var(--lv-shelf); }
.lv-club__perk-icon { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--lv-deep); }
.lv-club__perk-icon .cms-icon { width: 22px; height: 22px; }
.lv-club__perk-title { margin: 0; font-family: var(--lv-font); font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; align-self: end; }
.lv-club__perk-text { margin: 0; font-size: 0.8125rem; color: var(--lv-muted); }
.lv-club__action { margin: 0.25rem 0 0; }
.lv-club__note { margin: 0; font-size: 0.75rem; color: var(--lv-muted); }
.cms-tone-soft .lv-club__perk { background: #fff; }

/* -------------------------------------------------------------------------
   13. Promo code coupon (lavka_promo)
   ------------------------------------------------------------------------- */
.lv-coupon {
    --tone-bg: var(--lv-hot-deep);
    --tone-fg: #fff;
    --notch: 22px;
    position: relative;
    display: grid;
    overflow: hidden;
    border-radius: var(--lv-r-lg);
    background: var(--tone-bg);
    color: var(--tone-fg);
}
.lv-coupon--accent { --tone-bg: var(--lv-deep); }
.lv-coupon--sun { --tone-bg: var(--lv-sun); --tone-fg: var(--lv-ink); }
@media (min-width: 52rem) {
    .lv-coupon { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
    .lv-coupon__stub { border-left: 2px dashed rgb(255 255 255 / 0.5); }
    .lv-coupon--sun .lv-coupon__stub { border-left-color: rgb(17 26 20 / 0.3); }
    .lv-coupon::before,
    .lv-coupon::after {
        content: '';
        position: absolute;
        left: calc(61.5% - var(--notch) / 2);
        width: var(--notch);
        height: var(--notch);
        border-radius: 50%;
        background: var(--lv-page);
    }
    .lv-coupon::before { top: calc(var(--notch) / -2); }
    .lv-coupon::after { bottom: calc(var(--notch) / -2); }
}
.lv-coupon__offer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: clamp(1.4rem, 1rem + 2vw, 2.75rem);
    min-height: 14rem;
}
.lv-coupon--pic .lv-coupon__offer { padding-right: clamp(8rem, 5rem + 12vw, 16rem); }
.lv-coupon__badge { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; padding: 0.3rem 0.8rem 0.3rem 0.55rem; border-radius: 999px; background: rgb(255 255 255 / 0.18); font-size: 0.8125rem; font-weight: 700; }
.lv-coupon--sun .lv-coupon__badge { background: #fff; }
.lv-coupon__badge .cms-icon { width: 16px; height: 16px; }
.lv-coupon__title { margin: 0; color: inherit; font-size: clamp(1.8rem, 1.3rem + 2.2vw, 3.2rem); line-height: 1; letter-spacing: -0.045em; }
.lv-coupon__text { margin: 0; max-width: 32rem; opacity: 0.92; }
.lv-coupon__action { margin: 0.25rem 0 0; }
.lv-coupon--sun .lv-btn--white.cms-btn { background: var(--lv-ink); color: #fff; }
.lv-coupon__pic {
    position: absolute;
    right: -2rem;
    bottom: -2.5rem;
    width: clamp(9rem, 6rem + 12vw, 17rem);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background: rgb(255 255 255 / 0.25);
    border: 6px solid rgb(255 255 255 / 0.25);
}
.lv-coupon__img { width: 100%; height: 100%; object-fit: cover; }
.lv-coupon__stub {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
    padding: clamp(1.25rem, 1rem + 1.4vw, 2.25rem);
    border-top: 2px dashed rgb(255 255 255 / 0.5);
}
@media (min-width: 52rem) { .lv-coupon__stub { border-top: 0; } }
.lv-coupon__code-label { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.lv-coupon__code {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0;
    padding: 0.6rem 0.6rem 0.6rem 1.1rem;
    border-radius: var(--lv-r-sm);
    background: #fff;
    color: var(--lv-ink);
}
.lv-coupon__value { font-family: var(--lv-display); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); font-weight: 800; letter-spacing: 0.02em; user-select: all; }
.lv-coupon__copy {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
    padding: 0 1rem;
    border: 0;
    border-radius: 999px;
    background: var(--lv-shelf);
    color: var(--lv-ink);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
}
.lv-coupon__copy:hover { background: var(--lv-shelf-2); }
.lv-coupon__copy.is-done { background: var(--lv-deep); color: #fff; }
.lv-coupon__copy .cms-icon { width: 16px; height: 16px; }
.lv-coupon__note { margin: 0; font-size: 0.8125rem; opacity: 0.9; }
@media (max-width: 47.99rem) {
    .lv-coupon--pic .lv-coupon__offer { padding-right: clamp(1.4rem, 1rem + 2vw, 2.75rem); padding-bottom: 8rem; }
    .lv-coupon__pic { width: 9rem; right: -1rem; bottom: -1.5rem; }
}

/* -------------------------------------------------------------------------
   14. Shared blocks, re-dressed
   ------------------------------------------------------------------------- */
/* Features: shelf tiles with a white round icon */
.cms-feature--card {
    border: 0;
    border-radius: var(--lv-r);
    background: var(--lv-shelf);
    padding: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
}
.cms-tone-soft .cms-feature--card { background: #fff; }
.cms-badge-icon { border-radius: 16px; background: #fff; color: var(--lv-deep); }
.cms-tone-soft .cms-badge-icon { background: var(--lv-accent-soft); }
.cms-feature:nth-child(4n + 2) .cms-badge-icon { color: var(--lv-hot-deep); }
.cms-feature .cms-card__title,
.cms-feature__title { font-size: 1.1rem; letter-spacing: -0.025em; }

/* Steps: cards with a green number */
.cms-steps--cards .cms-step {
    border: 0;
    border-radius: var(--lv-r);
    background: var(--lv-shelf);
    padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}
.cms-step__marker { background: var(--lv-deep); color: #fff; border: 0; border-radius: 14px; font-family: var(--lv-display); font-weight: 800; }
.cms-step__title { font-size: 1.15rem; letter-spacing: -0.025em; }
.cms-step__duration {
    display: inline-flex;
    width: fit-content;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #fff;
    color: var(--lv-deep);
    font-size: 0.75rem;
    font-weight: 700;
}

/* Lead forms */
.cms-leadform__box,
.cms-block--form .cms-leadform__box {
    border: 0;
    border-radius: var(--lv-r-lg);
    background: #fff;
    box-shadow: var(--lv-float);
}
.cms-leadform__media,
.cms-leadform__media img { border-radius: var(--lv-r-lg); }
.cms-form__input,
.cms-form select,
.cms-form textarea {
    border: 2px solid transparent;
    border-radius: var(--lv-r-sm);
    background: var(--lv-shelf);
    min-height: 52px;
}
.cms-form__input:focus,
.cms-form select:focus,
.cms-form textarea:focus { border-color: var(--lv-accent); background: #fff; box-shadow: 0 0 0 4px var(--lv-accent-soft); outline: 0; }

/* FAQ: shelf rows */
.cms-block--faq details {
    border: 0;
    border-radius: var(--lv-r-sm);
    background: var(--lv-shelf);
    margin-bottom: 0.45rem;
    padding-inline: 1.15rem;
}
.cms-tone-soft .cms-block--faq details { background: #fff; }
.cms-block--faq summary { font-weight: 700; color: var(--lv-ink); }

/* Contacts */
.cms-contact--card,
.cms-block--contacts .cms-card { border: 0; border-radius: var(--lv-r); background: var(--lv-shelf); }

/* Stats */
.cms-stat__value,
.cms-stats__value { font-family: var(--lv-display); color: var(--lv-ink); letter-spacing: -0.045em; }

/* Category tiles (shop_categories): square shelf tiles, the photo sits in the
   lower right corner like a product on a shelf; the tones take turns. */
.shop-categories-block .shop-tiles { gap: clamp(0.5rem, 0.35rem + 0.6vw, 0.9rem); }
.shop-tile.shop-tile--tile {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    aspect-ratio: 1 / 0.92;
    overflow: hidden;
    border: 0;
    border-radius: var(--lv-r);
    background: var(--lv-shelf);
    box-shadow: none;
    transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.cms-items__item:nth-child(5n + 2) .shop-tile.shop-tile--tile { background: var(--lv-accent-soft); }
.cms-items__item:nth-child(5n + 3) .shop-tile.shop-tile--tile { background: var(--lv-sun-soft); }
.cms-items__item:nth-child(5n + 4) .shop-tile.shop-tile--tile { background: var(--lv-hot-soft); }
.shop-tile.shop-tile--tile:hover { transform: translateY(-3px); }
.shop-tile--tile .shop-tile__body { order: -1; position: relative; z-index: 1; padding: 1rem 1rem 0; }
.shop-tile--tile .shop-tile__title { margin: 0; font-family: var(--lv-font); font-size: clamp(0.95rem, 0.85rem + 0.35vw, 1.1rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.shop-tile--tile .shop-tile__link { color: var(--lv-ink); text-decoration: none; }
.shop-tile--tile .shop-tile__link::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.shop-tile--tile .shop-tile__count { margin: 0.2rem 0 0; font-size: 0.75rem; color: var(--lv-muted); }
.shop-tile--tile .shop-tile__media.cms-ratio {
    position: absolute;
    right: -8%;
    bottom: -8%;
    width: 68%;
    aspect-ratio: 1;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
}
.shop-tile--tile .shop-tile__media.cms-ratio::before { display: none; }
.shop-tile--tile .shop-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.shop-tile--tile:hover .shop-tile__img { transform: scale(1.06); }
.shop-tile--tile .shop-tile__icon { display: grid; place-items: center; width: 100%; height: 100%; color: var(--lv-deep); }
.shop-tile--tile .shop-tile__arrow { display: none; }
@media (max-width: 35.99rem) {
    .shop-categories-block .shop-tiles.cms-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-tile.shop-tile--tile { aspect-ratio: 1 / 0.8; }
    .shop-tile--tile .shop-tile__body { padding: 0.8rem 0.85rem 0; }
    .shop-tile--tile .shop-tile__title { font-size: 0.9rem; }
    .shop-tile--tile .shop-tile__media.cms-ratio { width: 58%; }
}

.shop-products-block__more .cms-btn--ghost { background: var(--lv-shelf); }

/* -------------------------------------------------------------------------
   15. Shop: product card — a big photo on a shelf, the name, the weight
   chips, the price and a round green «+» that turns into «В корзину».
   ------------------------------------------------------------------------- */
.shop-card {
    border: 0;
    border-radius: var(--lv-r);
    background: transparent;
    box-shadow: none;
    overflow: visible;
}
.shop-card:hover { box-shadow: none; transform: none; }
.shop-card .shop-card__media {
    border-radius: var(--lv-r);
    background: var(--lv-shelf);
}
.shop-card__img { transition: transform 500ms var(--ease); }
.shop-card:hover .shop-card__img { transform: scale(1.05); }
.shop-card__body { gap: 0.35rem; padding: 0.75rem 0.15rem 0.25rem; }
@media (min-width: 40rem) { .shop-card__body { padding: 0.85rem 0.2rem 0.25rem; } }
.shop-card__title { font-family: var(--lv-font); font-size: 0.95rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; color: var(--lv-ink); }
.shop-card:hover .shop-card__title { color: var(--lv-deep); }
.shop-card__brand { color: var(--lv-faint); font-weight: 600; }
.shop-card .shop-stock { font-size: 0.75rem; }
.shop-card__foot { gap: 0.55rem; padding-top: 0.15rem; }
.shop-card .shop-price { gap: 0.05rem 0.45rem; }
.shop-card .shop-price__now,
.shop-card .shop-price__value { font-family: var(--lv-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.035em; color: var(--lv-ink); }
.shop-card .shop-price:has(.shop-price__old) .shop-price__value { color: var(--lv-hot-ink); }
.shop-price__old { color: var(--lv-faint); }
.shop-price__off { background: var(--lv-hot-soft); color: var(--lv-hot-ink); border-radius: 999px; font-weight: 700; }

.shop-card .shop-stickers { left: 0.6rem; top: 0.6rem; }
.shop-sticker { border-radius: 999px; font-weight: 800; letter-spacing: 0.01em; }
.shop-card .shop-toggles { right: 0.6rem; top: 0.6rem; }
.shop-card .shop-toggle { border: 0; border-radius: 50%; background: #fff; color: var(--lv-ink); box-shadow: 0 4px 12px -8px rgb(17 26 20 / 0.5); }
.shop-card .shop-toggle--compare { display: none; }
.shop-card .shop-toggle[aria-pressed="true"] { background: var(--lv-hot-deep); color: #fff; }
.shop-card__quick { border-radius: 999px; background: #fff; color: var(--lv-ink); font-weight: 700; }

.shop-card__btn.cms-btn {
    min-height: 44px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
}
.shop-card__btn.cms-btn--primary { background: var(--lv-deep); color: #fff; }
.shop-card__btn.cms-btn--primary:hover { background: var(--lv-deeper); }
.shop-card__btn.cms-btn--ghost { background: var(--lv-shelf); color: var(--lv-ink); }
.shop-pick__chip .shop-pick__label,
.shop-pick .shop-pick__label {
    border: 0;
    border-radius: 999px;
    background: var(--lv-shelf);
    color: var(--lv-ink);
    font-weight: 700;
}
.shop-pick__input:checked + .shop-pick__label { background: var(--lv-ink); color: #fff; box-shadow: none; }
.shop-pick__input:focus-visible + .shop-pick__label { outline: 3px solid var(--lv-accent); outline-offset: 2px; }
.shop-pick__legend { color: var(--lv-muted); }
.shop-card .shop-pick__legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Card styles */
html[data-lavka-cards="outline"] .shop-card { border: 1px solid var(--lv-line); background: #fff; padding: 0.5rem 0.5rem 0.75rem; }
html[data-lavka-cards="outline"] .shop-card .shop-card__media { border-radius: calc(var(--lv-r) - 0.4rem); }
html[data-lavka-cards="outline"] .shop-card:hover { border-color: var(--lv-line-strong); }
html[data-lavka-cards="float"] .shop-card { background: #fff; padding: 0.5rem 0.5rem 0.75rem; box-shadow: var(--lv-float); }
html[data-lavka-cards="float"] .shop-card .shop-card__media { border-radius: calc(var(--lv-r) - 0.4rem); background: #fff; }
html[data-lavka-cards="float"] .shop-card:hover { transform: translateY(-3px); }

/* Grids and sliders of cards */
.shop-grid,
.shop-items { gap: clamp(0.75rem, 0.45rem + 1.1vw, 1.5rem) clamp(0.6rem, 0.4rem + 0.8vw, 1.25rem); }
.cms-slider__btn { border: 0; border-radius: 50%; background: var(--lv-shelf); color: var(--lv-ink); }
.cms-slider__btn:hover { background: var(--lv-shelf-2); }

@media (max-width: 35.99rem) {
    .shop-card__title { font-size: 0.875rem; }
    .shop-card .shop-price__now,
    .shop-card .shop-price__value { font-size: 1.05rem; }
    .shop-card .shop-pick__chip:nth-child(n + 3) { display: none; }
}

/* -------------------------------------------------------------------------
   16. Shop: catalogue, product, cart
   ------------------------------------------------------------------------- */
.shop-head--image { border-radius: var(--lv-r-lg); overflow: hidden; background: var(--lv-shelf); }
.shop-head__title { font-family: var(--lv-display); letter-spacing: -0.045em; }
.shop-head__lead { color: var(--c-text-muted); }
.shop-head__image,
.shop-head__img { border-radius: var(--lv-r-lg); }
.shop-subcats a,
.shop-subcat { border-radius: 999px; }
.shop-facet { border-color: var(--lv-line); }
.shop-facet__head { font-weight: 700; color: var(--lv-ink); }
.shop-facet--buttons .shop-fv,
.shop-fchips a,
.shop-fchips button { border-radius: 999px; }
.shop-range__fill,
.shop-range__thumb { background: var(--lv-deep); }
.shop-tree__link.is-active,
.shop-tree__link[aria-current] { color: var(--lv-deep); font-weight: 700; }
.shop-sort__select,
.shop-views__btn { border-radius: 999px; }

.shop-gallery__main,
.shop-gallery__stage,
.shop-gallery__slide,
.shop-gallery img { border-radius: var(--lv-r); }
.shop-gallery__main,
.shop-gallery__stage,
.shop-gallery__slide { background: var(--lv-shelf); }
.shop-gallery__thumb { border-radius: var(--lv-r-sm); overflow: hidden; background: var(--lv-shelf); }
.shop-buy,
.shop-buybox { border-radius: var(--lv-r); }
.shop-opt__value,
.shop-option__value,
.shop-buy .shop-pick__chip { border-radius: 999px; }
.shop-price--lg .shop-price__value { font-family: var(--lv-display); letter-spacing: -0.045em; color: var(--lv-ink); }
.shop-price--lg:has(.shop-price__old) .shop-price__value { color: var(--lv-hot-ink); }
.shop-qty { border-radius: 999px; background: var(--lv-shelf); border-color: transparent; }
.shop-cart__item,
.shop-cart__summary,
.shop-checkout__box { border-radius: var(--lv-r); }
.shop-freebar__track,
.shop-free__track { border-radius: 999px; background: var(--lv-shelf-2); }
.shop-freebar__fill,
.shop-free__fill { border-radius: 999px; background: var(--lv-accent); }

.cms-crumbs { font-size: var(--t-xs); color: var(--c-text-muted); }

/* -------------------------------------------------------------------------
   17. Motion preferences
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .cms-btn,
    .lv-chip,
    .lv-promo,
    .lv-story__img,
    .lv-club__card,
    .lv-logo__badge,
    .shop-card__img,
    .shop-tile,
    .shop-tile__img { transition: none; animation: none; }
    .cms-btn:hover,
    .cms-btn:active,
    .lv-promo:hover,
    a.lv-story__link:hover .lv-story__img,
    .lv-club__card:hover,
    .lv-logo:hover .lv-logo__badge,
    .shop-card:hover .shop-card__img,
    .shop-tile.shop-tile--tile:hover,
    .shop-tile--tile:hover .shop-tile__img,
    html[data-lavka-cards="float"] .shop-card:hover { transform: none; }
    .lv-club__card { transform: rotate(-4deg); }
}
