/* =========================================================================
   «Ассорти» — one universal shop for any assortment, on top of NewCMS Default.

   ART DIRECTION
   A box of chocolates set by a Swiss grid. The home page is a bento: every
   cell is a category with its own photo cropped to the cell, a mono counter
   «01/07» in a corner, the title low on a dark plate. The product sells,
   the grid keeps order, and ONE accent (a deep petrol by default, a design
   setting) adapts the shop to the brand — clothes, electronics, home,
   cosmetics, pets.

   Palette: warm paper page (#f6f5f1), a darker paper under photos and in
   cells (#ebe9e3), ink (#161616) for text, prices and the dark cells, one
   accent for «+», active filters and links, and a yellow used ONLY for the
   discount sticker. No shadows: depth is a change of paper. No gradients.

   Type: Onest — everything, 800 for headlines and prices; JetBrains Mono —
   only cell numbers, SKUs and counters, small and uppercase.

   Motion: the photos in cells "assemble" (CSS scroll-driven: scale 1.08 → 1
   and a 6% inset → 0) as a box enters the screen; nothing covers content.
   A ticker line slides slowly. All of it stops under prefers-reduced-motion
   and where animation-timeline is unsupported.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Fonts — JetBrains Mono ships with the theme (OFL), Onest and Manrope
   come from the parent theme.
   ------------------------------------------------------------------------- */
@font-face {
    font-family: 'Assorti Mono';
    src: url('/themes/assorti/assets/fonts/jetbrains-mono-cyrillic-wght-normal.woff2') format('woff2');
    font-weight: 100 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: 'Assorti Mono';
    src: url('/themes/assorti/assets/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
    font-weight: 100 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: 'Assorti 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: 'Assorti 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: 'Assorti 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: 'Assorti 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: 'Assorti 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: 'Assorti 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;
}

/* -------------------------------------------------------------------------
   2. Tokens — `html:root` so they win over a design layer; always light.
   The design settings (theme.json) set --as-accent, --as-ink, --as-sale,
   --as-font, --as-mono, --as-radius and the data-as-* switches.
   ------------------------------------------------------------------------- */
html:root {
    --as-accent: #0a7c66;
    --as-ink: #161616;
    --as-sale: #f2c94c;
    --as-font: 'Assorti Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --as-mono: 'Assorti Mono', ui-monospace, Consolas, monospace;
    --as-radius: 8px;

    --as-bg: #f6f5f1;
    --as-cell: #ebe9e3;
    --as-cell-2: #dfdcd4;
    --as-muted: #6e6c66;
    --as-line: color-mix(in srgb, var(--as-ink) 12%, transparent);
    --as-deep: color-mix(in srgb, var(--as-accent) 86%, #000);
    --as-gap: 10px;
    --as-ratio: 4 / 5;
    --as-r: var(--as-radius);
    --as-r-sm: calc(var(--as-radius) * 0.6);
    --as-r-lg: calc(var(--as-radius) * 1.5);

    --c-bg: var(--as-bg);
    --c-surface: var(--as-bg);
    --c-surface-sunk: var(--as-cell);
    --c-text: var(--as-ink);
    --c-text-strong: var(--as-ink);
    --c-text-muted: var(--as-muted);
    --c-text-faint: color-mix(in srgb, var(--as-muted) 80%, var(--as-bg));
    --c-border: var(--as-line);
    --c-border-strong: color-mix(in srgb, var(--as-ink) 24%, transparent);
    --c-accent: var(--as-accent);
    --c-accent-hover: var(--as-deep);
    --c-accent-soft: color-mix(in srgb, var(--as-accent) 12%, var(--as-bg));
    --c-accent-contrast: #ffffff;
    --c-link: var(--as-accent);
    --c-link-hover: var(--as-deep);
    --c-mark: var(--as-accent);
    --c-mark-text: var(--as-deep);
    --c-mark-soft: color-mix(in srgb, var(--as-accent) 12%, var(--as-bg));
    --c-slab: var(--as-ink);
    --c-slab-text: #ffffff;
    --c-slab-muted: #b9b7b0;
    --c-danger: #b3321c;
    --c-success: var(--as-accent);

    --font-display: var(--as-font);
    --font-ui: var(--as-font);
    --font-prose: var(--as-font);
    --fw-heading: 800;
    --tr-tight: -0.03em;
    --tr-snug: -0.02em;
    --lh-prose: 1.6;

    --r-xs: min(var(--as-radius), 4px);
    --r-sm: min(var(--as-radius), 8px);
    --r-md: var(--as-r);
    --r-lg: var(--as-r);
    --r-btn: var(--as-r);
    --r-pill: var(--as-r);
    --card-radius: var(--as-r);
    --card-bg: transparent;
    --card-border: 0;
    --card-shadow: none;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-lift: none;

    --w-container: 76rem;
    --w-wide: 88rem;
    --w-prose: 40rem;
    --gutter: clamp(0.875rem, 2.4vw, 2rem);

    --sp-xs: 1.1rem;
    --sp-sm: clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem);
    --sp-md: clamp(2.25rem, 1.8rem + 2.4vw, 3.75rem);
    --sp-lg: clamp(3rem, 2.4rem + 3.4vw, 5.25rem);
    --sp-xl: clamp(4.5rem, 3.4rem + 5vw, 7.5rem);

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

    --shop-star: #e0a100;
    --shop-sticker-discount-bg: var(--as-sale);
    --shop-sticker-discount-fg: var(--as-ink);
    --shop-sticker-sale-bg: var(--as-sale);
    --shop-sticker-sale-fg: var(--as-ink);
    --shop-sticker-hit-bg: var(--as-ink);
    --shop-sticker-hit-fg: #ffffff;
    --shop-sticker-new-bg: #ffffff;
    --shop-sticker-new-fg: var(--as-ink);
    --shop-sticker-few-bg: var(--as-cell);
    --shop-sticker-few-fg: var(--as-ink);

    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    html:root {
        --c-bg: var(--as-bg);
        --c-surface: var(--as-bg);
        --c-surface-sunk: var(--as-cell);
        --c-text: var(--as-ink);
        --c-text-strong: var(--as-ink);
        --c-text-muted: var(--as-muted);
        --c-border: var(--as-line);
        --c-accent: var(--as-accent);
        --c-accent-contrast: #ffffff;
        --c-link: var(--as-accent);
    }
}

/* Paper tones («Тон бумаги») */
html[data-as-ground="cool"]:root { --as-bg: #f3f5f7; --as-cell: #e6eaee; --as-cell-2: #d8dee4; --as-muted: #646b73; }
html[data-as-ground="white"]:root { --as-bg: #ffffff; --as-cell: #f0efec; --as-cell-2: #e4e2dd; }

/* Grid density («Плотность сетки») and photo ratio («Пропорции») */
html[data-as-gap="tight"]:root { --as-gap: 6px; }
html[data-as-gap="airy"]:root { --as-gap: 18px; }
html[data-as-ratio="square"]:root { --as-ratio: 1 / 1; }
html[data-as-ratio="tall"]:root { --as-ratio: 3 / 4; }

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

h1, h2, h3, h4,
.cms-section__title {
    font-family: var(--as-font);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--as-ink);
    text-wrap: balance;
}

::selection { background: color-mix(in srgb, var(--as-accent) 28%, var(--as-bg)); color: var(--as-ink); }

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

.as-mono {
    font-family: var(--as-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}

.cms-btn {
    border-radius: var(--as-r);
    min-height: 48px;
    padding: 0.75rem 1.4rem;
    border: 0;
    box-shadow: none;
    font-family: var(--as-font);
    font-weight: 700;
    font-size: 0.975rem;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cms-btn:active { transform: scale(0.98); }
.cms-btn--primary { background-color: var(--as-accent); color: #fff; }
.cms-btn--primary:hover { background-color: var(--as-deep); color: #fff; }
.cms-btn--ghost { background: var(--as-cell); color: var(--as-ink); box-shadow: none; }
.cms-btn--ghost:hover { background: var(--as-cell-2); color: var(--as-ink); }
.cms-tone-dark .cms-btn--primary,
.cms-on-dark .cms-btn--primary { background: #fff; color: var(--as-ink); }

/* Section heads: left, huge, no ornaments. */
.cms-section__head { margin-bottom: clamp(1rem, 0.7rem + 1.2vw, 1.75rem); }
.cms-section__title { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); line-height: 1.04; }
.cms-section__subtitle { color: var(--as-muted); max-width: 44rem; }
.cms-section__head--left .cms-section__subtitle { margin-inline: 0; }
.cms-w-wide > .cms-section__inner { max-width: var(--w-wide); }

.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(--as-r-lg);
}
.cms-section.cms-tone-soft { background: var(--as-cell); }
.cms-section.cms-tone-dark { background: var(--as-ink); }

/* -------------------------------------------------------------------------
   4. Header — ink strip, paper bar, numbered tabs.
   ------------------------------------------------------------------------- */
.as-hdr.site-header { background: var(--as-bg); border-bottom: 1px solid var(--as-line); }
.as-hdr.site-header--sticky.is-scrolled { border-bottom-color: var(--as-line); box-shadow: none; }

.as-announce.hdr-row--top {
    background: var(--as-ink);
    color: #fff;
    border-bottom: 0;
    font-family: var(--as-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.as-announce .hdr-row__inner { min-height: 2rem; gap: 0.25rem 1.5rem; max-width: var(--w-wide); }
.as-announce .hdr-zone { gap: 0.25rem 1.5rem; }
.as-announce a, .as-announce .hdr-phone__number { color: #fff; font-weight: 500; }
.as-announce .hdr-phone__caption { display: none; }
.as-announce .cms-icon { width: 0.9rem; height: 0.9rem; color: #fff; }

.as-bar .as-bar__inner { max-width: var(--w-wide); min-height: 4.25rem; gap: 0.5rem 1.25rem; }
.as-bar .hdr-zone--left { gap: 0.5rem 1.75rem; flex: 0 1 auto; }
.as-bar .hdr-zone--center { flex: 1 1 auto; justify-content: stretch; }
.as-bar .hdr-zone--center .hdr-el--module { flex: 1 1 auto; }
.as-bar .shop-hsearch-wrap { flex: 1 1 auto; width: 100%; }
.as-bar .shop-hsearch { width: 100%; max-width: 34rem; }
.as-hdr .shop-hsearch .shop-hsearch__input {
    height: 44px;
    padding-left: 1rem;
    border: 1px solid transparent;
    border-radius: var(--as-r);
    background: var(--as-cell);
    font-size: 0.95rem;
}
.as-hdr .shop-hsearch .shop-hsearch__input:hover { border-color: var(--as-line); }
.as-hdr .shop-hsearch .shop-hsearch__input:focus { border-color: var(--as-ink); background: #fff; box-shadow: none; }
.as-hdr .shop-hsearch__go { border-radius: var(--as-r-sm); background: var(--as-ink); color: #fff; }

.as-logo { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--as-ink); }
.as-logo__mark { width: 1.6rem; height: 1.6rem; flex: none; color: var(--as-ink); }
.as-logo__acc { fill: var(--as-accent); }
.as-hdr .hdr-logo__name,
.as-drawer .hdr-logo__name,
.as-ftr .hdr-logo__name {
    font-family: var(--as-font);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--as-ink);
    text-transform: none;
}
.as-hdr .hdr-logo__tagline { font-family: var(--as-mono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--as-muted); }

.as-hdr .hdr-icon-btn,
.as-burger.hdr-burger,
.as-hdr .shop-hlink {
    border-radius: var(--as-r);
    background: transparent;
    color: var(--as-ink);
}
.as-hdr .hdr-icon-btn:hover,
.as-burger.hdr-burger:hover,
.as-hdr .shop-hlink:hover { background: var(--as-cell); color: var(--as-ink); }
.as-hdr .shop-minicart {
    border-radius: var(--as-r);
    background: var(--as-ink);
    color: #fff;
}
.as-hdr .shop-minicart:hover { background: var(--as-accent); color: #fff; }

.as-hdr .hdr-nav__link {
    padding: 0.35rem 0;
    min-height: 0;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--as-ink);
    background: none;
    background-image: linear-gradient(var(--as-accent), var(--as-accent));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    transition: background-size var(--dur) var(--ease);
}
.as-hdr .hdr-nav__link:hover { background-color: transparent; background-size: 100% 2px; color: var(--as-ink); }
.as-hdr .hdr-nav__link.is-active,
.as-hdr .hdr-nav__link[aria-current] { background-size: 100% 2px; background-color: transparent; color: var(--as-ink); }
.as-hdr .hdr-nav__list { gap: 0.2rem 1.6rem; }
.as-hdr .hdr-nav__item--highlight > .hdr-nav__link { color: var(--as-accent); background-color: transparent; padding: 0.35rem 0; font-weight: 700; }
.as-hdr .hdr-sub { border: 1px solid var(--as-line); border-radius: var(--as-r); box-shadow: none; background: var(--as-bg); padding: 0.4rem; }
.as-hdr .hdr-sub__link { border-radius: var(--as-r-sm); }
.as-hdr .hdr-sub__link:hover { background: var(--as-cell); }

/* Numbered tabs */
.as-chips.hdr-row--bottom { background: var(--as-bg); border-top: 1px solid var(--as-line); }
.as-chips .as-chips__inner { max-width: var(--w-wide); min-height: 0; }
.as-chips .hdr-zone { min-width: 0; flex: 1 1 auto; }
.as-chips__list { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.as-chips__list::-webkit-scrollbar { display: none; }
.as-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.7rem 1.1rem 0.65rem 0;
    margin-right: 0.5rem;
    border-bottom: 2px solid transparent;
    color: var(--as-ink);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color var(--dur) var(--ease);
}
.as-chip__n { font-family: var(--as-mono); font-size: 0.6875rem; font-weight: 500; color: var(--as-muted); letter-spacing: 0.04em; }
html[data-as-numbers="off"] .as-chip__n { display: none; }
.as-chip:hover { border-bottom-color: var(--as-ink); color: var(--as-ink); }
.as-chip.is-active, .as-chip[aria-current] { border-bottom-color: var(--as-accent); }
.as-chip--hot { color: var(--as-accent); }
.as-chip__icon { display: none; }

.as-drawer .hdr-drawer__head { background: var(--as-bg); }

@media (max-width: 62rem) {
    .as-bar .hdr-zone--left .hdr-el--menu { display: none; }
    .as-bar .as-bar__inner { min-height: 3.5rem; }
    .as-announce .hdr-zone--right { display: none; }
}

/* -------------------------------------------------------------------------
   5. Bento — the home page box of cells
   ------------------------------------------------------------------------- */
.as-bento__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: clamp(9.5rem, 17vw, 15.5rem);
    grid-auto-flow: dense;
    gap: var(--as-gap);
}
.as-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--as-r);
    background: var(--as-cell);
    color: var(--as-ink);
    isolation: isolate;
}
.as-cell--l { grid-column: span 6; grid-row: span 2; }
.as-cell--w { grid-column: span 6; grid-row: span 1; }
.as-cell--t { grid-column: span 3; grid-row: span 2; }
.as-cell--m { grid-column: span 3; grid-row: span 1; }

.as-cell--ink { background: var(--as-ink); color: #fff; }
.as-cell--accent { background: var(--as-accent); color: #fff; }

.as-cell__pic { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.as-cell__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
html:not([data-as-zoom="off"]) .as-cell:hover .as-cell__img { transform: scale(1.03); }

.as-cell__n {
    position: absolute;
    top: 0.85rem;
    left: 0.95rem;
    z-index: 1;
    padding: 0.2rem 0.45rem;
    border-radius: var(--as-r-sm);
    background: var(--as-bg);
    color: var(--as-ink);
    font-size: 0.6875rem;
}
.as-cell--ink .as-cell__n, .as-cell--accent .as-cell__n { background: rgb(255 255 255 / 0.14); color: #fff; }
html[data-as-numbers="off"] .as-cell__n { display: none; }

.as-cell__body { position: relative; padding: 0 0.9rem 0.9rem; z-index: 1; min-width: 0; }
.as-cell--pic .as-cell__body {
    margin: 0 0.6rem 0.6rem;
    padding: 0.75rem 3rem 0.8rem 0.9rem;
    border-radius: var(--as-r-sm);
    background: rgb(22 22 22 / 0.82);
    color: #fff;
}
.as-cell--pic .as-cell__meta { color: #d7d5ce; }
.as-cell__meta { margin: 0 0 0.3rem; color: var(--as-muted); }
.as-cell--ink .as-cell__meta, .as-cell--accent .as-cell__meta { color: rgb(255 255 255 / 0.72); }
.as-cell__title {
    margin: 0;
    font-size: clamp(1.15rem, 0.9rem + 1vw, 1.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: inherit;
}
.as-cell--l .as-cell__title { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.25rem); }
.as-cell--l.as-cell--pic .as-cell__body { max-width: min(36rem, 100% - 1.2rem); }
.as-cell--ink .as-cell__title, .as-cell--accent .as-cell__title { color: #fff; }
.as-cell--w:not(.as-cell--pic) .as-cell__title { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.3rem); }
.as-cell__text { margin: 0.4rem 0 0; font-size: 0.9rem; line-height: 1.4; color: inherit; opacity: 0.85; max-width: 30rem; }
.as-cell:not(.as-cell--l):not(.as-cell--w):not(.as-cell--ink):not(.as-cell--accent) .as-cell__text { display: none; }
.as-cell__link { color: inherit; text-decoration: none; }
.as-cell__link::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.as-cell__arrow {
    position: absolute;
    right: 0.85rem;
    bottom: 0.95rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--as-r-sm);
    background: var(--as-bg);
    color: var(--as-ink);
    transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.as-cell__arrow .cms-icon { width: 1.1rem; height: 1.1rem; }
.as-cell--pic .as-cell__arrow { right: 1.3rem; bottom: 1.2rem; background: #fff; }
.as-cell:hover .as-cell__arrow { transform: translateX(3px); background: #fff; }
.as-cell:focus-within { outline: 3px solid var(--as-accent); outline-offset: 2px; }
.as-cell__link:focus-visible { outline: none; }

/* Cells assemble as the box scrolls into view. */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        html:not([data-as-assemble="off"]) .as-cell__img,
        html:not([data-as-assemble="off"]) .as-offer__img {
            animation: as-assemble linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 85%;
        }
    }
}
@keyframes as-assemble {
    from { scale: 1.08; clip-path: inset(6%); }
    to { scale: 1; clip-path: inset(0); }
}

/* Tablet: 6 columns; phone: 2 columns */
@media (max-width: 62rem) {
    .as-bento__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 24vw, 13rem); }
    .as-cell--l { grid-column: span 6; grid-row: span 2; }
    .as-cell--w { grid-column: span 6; }
    .as-cell--m, .as-cell--t { grid-column: span 3; }
}
@media (max-width: 40rem) {
    .as-bento__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 9.25rem; }
    .as-cell--l { grid-column: span 2; grid-row: span 2; }
    .as-cell--w { grid-column: span 2; }
    .as-cell--m { grid-column: span 1; }
    .as-cell--t { grid-column: span 1; grid-row: span 2; }
    .as-cell__body { padding: 0 0.7rem 0.7rem; }
    .as-cell--pic .as-cell__body { margin: 0 0.4rem 0.4rem; padding: 0.55rem 2.3rem 0.6rem 0.65rem; }
    .as-cell__title { font-size: 1.05rem; }
    .as-cell--l .as-cell__title { font-size: 1.75rem; }
    .as-cell--w:not(.as-cell--pic) .as-cell__title { font-size: 1.3rem; }
    .as-cell__arrow { right: 0.55rem; bottom: 0.6rem; width: 1.7rem; height: 1.7rem; }
    .as-cell--pic .as-cell__arrow { right: 0.85rem; bottom: 0.8rem; }
    .as-cell__text { font-size: 0.8125rem; }
    .as-cell:not(.as-cell--l) .as-cell__text { display: none; }
    .as-cell__n { top: 0.55rem; left: 0.6rem; }
}

/* -------------------------------------------------------------------------
   6. Ticker
   ------------------------------------------------------------------------- */
.as-ticker { overflow: hidden; margin: var(--sp-xs) 0; border-block: 1px solid var(--as-line); background: transparent; color: var(--as-ink); }
.as-ticker--ink { background: var(--as-ink); color: #fff; border-color: var(--as-ink); }
.as-ticker--accent { background: var(--as-accent); color: #fff; border-color: var(--as-accent); }
.as-ticker__track { display: flex; width: max-content; }
.as-ticker__list { display: flex; flex: none; gap: 2.5rem; margin: 0; padding: 0.8rem 1.25rem; list-style: none; animation: as-run 38s linear infinite; }
.as-ticker__item { display: inline-flex; align-items: center; gap: 2.5rem; white-space: nowrap; font-size: 0.75rem; }
.as-ticker__item::after { content: ''; width: 0.4rem; height: 0.4rem; background: var(--as-accent); flex: none; }
.as-ticker--accent .as-ticker__item::after { background: #fff; }
.as-ticker--ink .as-ticker__item::after { background: var(--as-sale); }
@keyframes as-run { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
    .as-ticker__list { animation: none; }
    .as-ticker__track { width: auto; flex-wrap: wrap; }
    .as-ticker__list[aria-hidden="true"] { display: none; }
}
.as-ticker__track:hover .as-ticker__list { animation-play-state: paused; }

/* -------------------------------------------------------------------------
   7. Terms in ink cells
   ------------------------------------------------------------------------- */
.as-perks__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--as-gap); margin: 0; padding: 0; list-style: none; }
.as-term {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 15rem;
    padding: 1rem 1.1rem 1.15rem;
    border-radius: var(--as-r);
    background: var(--as-ink);
    color: #fff;
}
.as-term--accent { background: var(--as-accent); }
.as-term--plain { background: var(--as-cell); color: var(--as-ink); }
.as-term__n { margin: 0; color: rgb(255 255 255 / 0.55); }
.as-term--plain .as-term__n { color: var(--as-muted); }
html[data-as-numbers="off"] .as-term__n { display: none; }
.as-term__figure {
    margin: auto 0 0.5rem;
    font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.045em;
    font-variant-numeric: tabular-nums;
}
.as-term__title { margin: 0 0 0.35rem; color: rgb(255 255 255 / 0.72); }
.as-term--plain .as-term__title { color: var(--as-muted); }
.as-term__title a { color: inherit; text-decoration: none; }
.as-term__title a::after { content: ''; position: absolute; inset: 0; }
.as-term__text { margin: 0; font-size: 0.9rem; line-height: 1.4; color: rgb(255 255 255 / 0.88); }
.as-term--plain .as-term__text { color: var(--as-ink); }
@media (max-width: 62rem) { .as-perks__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .as-term { min-height: 12rem; } }
@media (max-width: 30rem) { .as-term { min-height: 11rem; padding: 0.8rem 0.85rem 0.9rem; } .as-term__text { font-size: 0.8125rem; } }

/* -------------------------------------------------------------------------
   8. Reviews — horizontal plates
   ------------------------------------------------------------------------- */
.as-reviews__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--as-gap); margin: 0; padding: 0; list-style: none; }
.as-review { display: grid; grid-template-columns: 6.25rem minmax(0, 1fr); gap: 1rem; padding: 0.75rem; border-radius: var(--as-r); background: var(--as-cell); }
.as-review__thumb { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--as-r-sm); background: var(--as-bg); }
.as-review__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.as-review__main { display: flex; flex-direction: column; min-width: 0; padding: 0.15rem 0.25rem 0.15rem 0; }
.as-review__top { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; margin: 0 0 0.4rem; color: var(--as-muted); }
.as-review__score { color: var(--as-ink); }
.as-review__product { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.as-review__text { margin: 0 0 0.6rem; font-size: 0.975rem; line-height: 1.45; }
.as-review__who { margin: auto 0 0; font-size: 0.85rem; color: var(--as-muted); }
.as-review__who b { color: var(--as-ink); font-weight: 700; }
@media (max-width: 62rem) { .as-reviews__list { grid-template-columns: 1fr; } }
@media (max-width: 30rem) { .as-review { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.75rem; padding: 0.6rem; } }

/* -------------------------------------------------------------------------
   9. Offer cell
   ------------------------------------------------------------------------- */
.as-offer { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: clamp(18rem, 28vw, 25rem); overflow: hidden; border-radius: var(--as-r); background: var(--as-ink); color: #fff; }
.as-offer--accent { background: var(--as-accent); }
.as-offer--plain { background: var(--as-cell); color: var(--as-ink); }
.as-offer:not(.as-offer--pic) { grid-template-columns: 1fr; }
.as-offer__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0.5rem; padding: clamp(1.1rem, 0.8rem + 1.6vw, 2.25rem); }
.as-offer__badge { margin: 0; color: rgb(255 255 255 / 0.7); }
.as-offer--plain .as-offer__badge { color: var(--as-muted); }
.as-offer__figure { margin: 0; font-size: clamp(4rem, 2.4rem + 7vw, 9rem); font-weight: 800; line-height: 0.88; letter-spacing: -0.06em; color: var(--as-sale); font-variant-numeric: tabular-nums; }
.as-offer--accent .as-offer__figure { color: #fff; }
.as-offer--plain .as-offer__figure { color: var(--as-ink); }
.as-offer__title { margin: 0; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.3rem); line-height: 1.08; color: inherit; }
.as-offer__text { margin: 0; max-width: 32rem; opacity: 0.88; }
.as-offer__action { margin: 0.5rem 0 0; }
.as-offer .as-btn.cms-btn--primary { background: #fff; color: var(--as-ink); }
.as-offer .as-btn.cms-btn--primary:hover { background: var(--as-sale); color: var(--as-ink); }
.as-offer--plain .as-btn.cms-btn--primary { background: var(--as-accent); color: #fff; }
.as-offer__pic { position: relative; display: block; overflow: hidden; min-height: 14rem; }
.as-offer__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 48rem) {
    .as-offer.as-offer--pic { grid-template-columns: 1fr; }
    .as-offer__pic { order: -1; min-height: 12rem; }
}

/* -------------------------------------------------------------------------
   10. Products
   ------------------------------------------------------------------------- */
.shop-grid, .shop-grid--c3, .shop-grid--c4, .shop-grid--c5 { gap: var(--as-gap) calc(var(--as-gap) * 1.2); }

.shop-card--grid, .shop-card { background: transparent; border: 0; box-shadow: none; border-radius: var(--as-r); }
.shop-card:hover { box-shadow: none; transform: none; }
.shop-card--grid .shop-card__media {
    aspect-ratio: var(--as-ratio);
    border-radius: var(--as-r);
    background: var(--as-cell);
    overflow: hidden;
}
.shop-card--grid .shop-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
html:not([data-as-zoom="off"]) .shop-card:hover .shop-card__img { transform: scale(1.03); }
.shop-card__placeholder { background: var(--as-cell); color: var(--as-muted); }
.shop-card--grid .shop-card__body { gap: 0.2rem; padding: 0.65rem 0.1rem 0.2rem; }

.shop-card__sku {
    order: -1;
    margin: 0;
    font-family: var(--as-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--as-muted);
}
.shop-card__sku span { color: inherit; }
html[data-as-numbers="off"] .shop-card__sku { display: none; }
.shop-card__brand { color: var(--as-muted); font-size: 0.75rem; }
.shop-card__title {
    font-family: var(--as-font);
    font-size: 0.975rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--as-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}
.shop-card:hover .shop-card__title { color: var(--as-accent); }
.shop-card .shop-stock { font-size: 0.75rem; }

.shop-card__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.4rem 0.5rem; padding-top: 0.25rem; margin-top: auto; }
.shop-card .shop-price { flex: 1 1 auto; gap: 0 0.5rem; }
.shop-card .shop-price__now,
.shop-card .shop-price__value { font-family: var(--as-font); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.04em; color: var(--as-ink); font-variant-numeric: tabular-nums; }
.shop-price__old, .shop-price__was s { color: var(--as-muted); font-weight: 500; }
.shop-price__off { background: var(--as-sale); color: var(--as-ink); border-radius: var(--as-r-sm); font-family: var(--as-mono); font-size: 0.6875rem; font-weight: 500; padding: 0.1rem 0.35rem; }
.shop-price__from { font-size: 0.75rem; font-weight: 600; color: var(--as-muted); }

/* The «+» button: a square in the accent, whatever the label says. */
.shop-card__actions { display: block; flex: none; }
.shop-card__actions:has(.shop-card__form--pick) { display: contents; }
.shop-card__form { display: contents; }
.shop-card__btn.cms-btn {
    position: relative;
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    border-radius: var(--as-r);
    font-size: 0;
    line-height: 0;
    order: 2;
    flex: 0 0 2.75rem;
    background: var(--as-accent);
    color: #fff;
    overflow: hidden;
}
.shop-card__btn.cms-btn:hover { background: var(--as-ink); color: #fff; }
.shop-card__btn.cms-btn > * { font-size: 0; }
.shop-card__btn.cms-btn .cms-icon { display: none; }
.shop-card__btn.cms-btn::after {
    content: '+';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--as-font);
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1;
    color: #fff;
}
.shop-card__btn.cms-btn--ghost { background: var(--as-ink); }
.shop-card__actions--request .shop-card__btn.cms-btn,
.shop-card__actions--lead .shop-card__btn.cms-btn { width: auto; height: auto; padding: 0.5rem 0.9rem; font-size: 0.85rem; line-height: 1.2; }
.shop-card__actions--request .shop-card__btn.cms-btn::after { content: none; }
.shop-card .shop-pick { order: -1; flex: 1 0 100%; margin: 0 0 0.15rem; padding: 0; border: 0; }
.shop-card .shop-pick__legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.shop-card .shop-pick__options { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.shop-pick__chip { border-radius: var(--as-r-sm); }
.shop-card .shop-pick__label { font-family: var(--as-mono); font-size: 0.6875rem; letter-spacing: 0.04em; padding: 0.25rem 0.5rem; border-radius: var(--as-r-sm); border: 1px solid var(--as-line); background: transparent; }
.shop-card .shop-pick__input:checked + .shop-pick__label { background: var(--as-ink); color: #fff; border-color: var(--as-ink); }

.shop-card .shop-stickers { left: 0.55rem; top: 0.55rem; gap: 0.25rem; }
.shop-sticker .cms-icon { display: none; }
.shop-stickers:has(.shop-sticker--sale, .shop-sticker--discount) .shop-sticker--new { display: none; }
.shop-sticker--new { background: #fff !important; color: var(--as-ink) !important; }
.shop-sticker--sale, .shop-sticker--discount { background: var(--as-sale) !important; color: var(--as-ink) !important; }
.shop-sticker--hit { background: var(--as-ink) !important; color: #fff !important; }
.shop-sticker { border-radius: var(--as-r-sm); font-family: var(--as-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: none; }
.shop-card .shop-toggles { right: 0.5rem; top: 0.5rem; }
.shop-card .shop-toggle { border: 0; border-radius: var(--as-r-sm); background: var(--as-bg); color: var(--as-ink); box-shadow: none; }
.shop-card .shop-toggle--compare { display: none; }
.shop-card .shop-toggle[aria-pressed="true"] { background: var(--as-ink); color: #fff; }
.shop-card__quick { border-radius: var(--as-r-sm); background: var(--as-bg); color: var(--as-ink); font-weight: 700; }

/* List view keeps the shop's own layout, in our colours. */
.shop-card--row { background: var(--as-cell); border-radius: var(--as-r); }
.shop-card--row .shop-card__media { border-radius: var(--as-r) 0 0 var(--as-r); background: var(--as-cell-2); }
.shop-card--row .shop-card__btn.cms-btn { width: auto; min-width: 0; height: auto; min-height: 44px; padding: 0.6rem 1.2rem; font-size: 0.95rem; line-height: 1.2; }
.shop-card--row .shop-card__btn.cms-btn::after { content: none; }
.shop-card--row .shop-card__btn.cms-btn > * { font-size: inherit; }
.shop-card--row .shop-card__btn.cms-btn .cms-icon { display: inline-block; }

@media (max-width: 40rem) {
    .shop-card__title { font-size: 0.875rem; }
    .shop-card .shop-price__now, .shop-card .shop-price__value { font-size: 1.15rem; }
    .shop-card__btn.cms-btn { width: 2.5rem; min-width: 2.5rem; height: 2.5rem; min-height: 2.5rem; flex-basis: 2.5rem; }
}

/* Slider views of product blocks */
.cms-block--shop_products .cms-slider__btn { border-radius: var(--as-r-sm); background: var(--as-bg); }

/* -------------------------------------------------------------------------
   11. Catalogue pages — a strip of filters above the grid, no sidebar
   ------------------------------------------------------------------------- */
.shop-page--category .shop-layout,
.shop-page--brand .shop-layout { display: block; }
.shop-page--category .shop-side,
.shop-page--brand .shop-side { display: none; }
.shop-head__title { font-size: clamp(2.25rem, 1.5rem + 3.6vw, 5rem); line-height: 0.98; letter-spacing: -0.045em; }
.shop-head__lead { color: var(--as-muted); max-width: 42rem; }
.shop-crumbs, .shop-crumbs a { font-family: var(--as-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; }
.shop-catimg__img, .shop-banner__img, .shop-head__img { border-radius: var(--as-r); }

.shop-filter--bar { border-radius: var(--as-r); background: var(--as-cell); padding: 0.5rem; border: 0; }
.shop-filter--bar .shop-facet__head { border-radius: var(--as-r-sm); border: 1px solid transparent; background: var(--as-bg); font-weight: 600; }
.shop-filter--bar .shop-facet__head:hover, .shop-filter--bar .shop-facet[open] > .shop-facet__head { border-color: var(--as-ink); }
.shop-filter--bar .shop-facet.is-active > .shop-facet__head { background: var(--as-ink); color: #fff; }
.shop-filter--bar .shop-facet__body { border-radius: var(--as-r); border: 1px solid var(--as-line); box-shadow: none; background: var(--as-bg); }
.shop-filter__badge { background: var(--as-accent); color: #fff; border-radius: var(--as-r-sm); font-family: var(--as-mono); }
.shop-filter__reset { color: var(--as-accent); font-weight: 700; }

.shop-toolbar { border-radius: var(--as-r); }
.shop-toolbar__count { font-family: var(--as-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--as-muted); }
.shop-toolbar select, .shop-toolbar .shop-select { border-radius: var(--as-r-sm); }
.shop-view__btn, .shop-views a, .shop-views button { border-radius: var(--as-r-sm); }
.shop-view__btn[aria-pressed="true"], .shop-views [aria-current], .shop-views .is-active { background: var(--as-ink); color: #fff; }

.shop-subcats a, .shop-subcat { border-radius: var(--as-r); background: var(--as-cell); }

/* -------------------------------------------------------------------------
   12. Product page, cart, forms, details
   ------------------------------------------------------------------------- */
.shop-gallery__main, .shop-gallery__thumb, .shop-gallery img { border-radius: var(--as-r); }
.shop-gallery__main { background: var(--as-cell); }
.shop-buybox, .shop-buy { border-radius: var(--as-r); }
.shop-price--lg .shop-price__value, .shop-price--lg .shop-price__now { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; letter-spacing: -0.05em; color: var(--as-ink); }
.shop-page--product h1, .shop-product__title { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); line-height: 1.04; }
.shop-specs, .shop-specs__row { border-color: var(--as-line); }
.shop-tabs__tab[aria-selected="true"], .shop-tabs [aria-selected="true"] { border-color: var(--as-accent); color: var(--as-ink); }
.shop-qty { border-radius: var(--as-r); }
.shop-minicart__count { background: var(--as-accent); color: #fff; }

.cms-block--faq details { border: 0; border-radius: var(--as-r); background: var(--as-cell); margin-bottom: var(--as-gap); }
.cms-block--faq details { padding-inline: 1.1rem; }
.cms-block--faq summary { font-weight: 700; color: var(--as-ink); }
.cms-block--form .cms-leadform__box { border-radius: var(--as-r); background: var(--as-cell); }
.cms-form input, .cms-form textarea, .cms-form select,
.shop-form input, .shop-form textarea, .shop-form select { border-radius: var(--as-r-sm); }

/* -------------------------------------------------------------------------
   13. Footer — the same bento, on an ink slab
   ------------------------------------------------------------------------- */
.as-ftr { margin-top: var(--sp-lg); padding: 0 var(--gutter) var(--gutter); background: transparent; border: 0; }
.as-ftr__slab {
    max-width: calc(var(--w-wide) + 4rem);
    margin-inline: auto;
    padding: var(--as-gap);
    border-radius: var(--as-r-lg);
    background: var(--as-ink);
    color: #fff;
}
.as-ftr__band,
.as-ftr__col { border-radius: var(--as-r); background: rgb(255 255 255 / 0.07); padding: 1.1rem 1.2rem 1.25rem; }
.as-ftr__band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: var(--as-gap); background: var(--as-accent); }
.as-ftr__band-title { margin: 0; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); color: #fff; }
.as-ftr__band-lead { margin: 0.3rem 0 0; opacity: 0.85; }
.as-ftr__band-form { flex: 1 1 22rem; max-width: 32rem; }
.as-ftr__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--as-gap); }
.as-ftr__col { grid-column: span 4; min-width: 0; }
.as-ftr__col--about { grid-column: span 6; display: flex; flex-direction: column; gap: 0.9rem; }
.as-ftr__col--menu { grid-column: span 3; }
.as-ftr__col--contacts { grid-column: span 7; }
.as-ftr__col--payments { grid-column: span 5; }
.as-ftr__title {
    margin: 0 0 0.9rem;
    font-family: var(--as-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(255 255 255 / 0.6);
}
.as-ftr__about { margin: 0; font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.35rem); line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; max-width: 34rem; }
.as-ftr .hdr-logo__name { color: #fff; }
.as-ftr .as-logo, .as-ftr .as-logo__mark { color: #fff; }
.as-ftr__menu, .as-ftr__pay { margin: 0; padding: 0; list-style: none; }
.as-ftr__menu li + li { margin-top: 0.45rem; }
.as-ftr a { color: #fff; text-decoration: none; }
.as-ftr__menu a, .as-ftr__links a { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px; transition: background-size var(--dur) var(--ease); }
.as-ftr__menu a:hover, .as-ftr__links a:hover { background-size: 100% 1px; }
.as-ftr__menu .is-hot { color: var(--as-sale); }
.as-ftr__contacts { font-style: normal; display: grid; gap: 0.5rem; }
.as-ftr__contacts p { margin: 0; }
.as-ftr__phone a { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); font-weight: 800; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.as-ftr__phone span { display: block; margin-top: 0.15rem; font-size: 0.8125rem; color: rgb(255 255 255 / 0.65); }
.as-ftr__line { display: flex; gap: 0.5rem; align-items: baseline; color: rgb(255 255 255 / 0.88); }
.as-ftr__line .cms-icon { flex: none; width: 1rem; height: 1rem; align-self: center; opacity: 0.7; }
.as-ftr__pay { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.as-ftr__pay-item { padding: 0.4rem 0.7rem; border-radius: var(--as-r-sm); border: 1px solid rgb(255 255 255 / 0.22); font-family: var(--as-mono); font-size: 0.6875rem; letter-spacing: 0.05em; text-transform: uppercase; }
.as-ftr__text { margin: 0; color: rgb(255 255 255 / 0.85); }
.as-ftr__socials { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.as-ftr__socials a { display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.5rem; padding: 0 0.6rem; border-radius: var(--as-r-sm); background: rgb(255 255 255 / 0.1); }
.as-ftr__socials a:hover { background: #fff; color: var(--as-ink); }
.as-ftr__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; padding: 1.1rem 0.4rem 0.4rem; font-size: 0.8125rem; color: rgb(255 255 255 / 0.65); }
.as-ftr__bottom p { margin: 0; }
.as-ftr__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.as-ftr__links a { color: rgb(255 255 255 / 0.8); }
@media (max-width: 62rem) {
    .as-ftr__col--about { grid-column: span 12; }
    .as-ftr__col--menu { grid-column: span 6; }
    .as-ftr__col--contacts, .as-ftr__col--payments { grid-column: span 12; }
}
@media (max-width: 30rem) {
    .as-ftr { padding-inline: 0.5rem; }
    .as-ftr__col { padding: 0.9rem; }
    .as-ftr__col--menu { grid-column: span 12; }
}

/* -------------------------------------------------------------------------
   14. Page-level safety
   ------------------------------------------------------------------------- */
html, body { max-width: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
    .as-cell__img, .shop-card__img, .as-cell__arrow { transition: none; }
}
