/* =========================================================================
   «Полка» — theme.css

   ART DIRECTION
   A glossy magazine about things worth buying. The site is an issue: the
   front page is a COVER (a huge masthead, a collage of tilted still lifes,
   the table of contents), every section is a PAGE printed on coloured
   paper — ochre, olive, powder — with a running head «стр. 12 · Подборки»
   and a huge italic page number standing in the margin. Products are
   pictures with captions: a bare photo, an italic line, the price set in
   the display serif, «В корзину» as an underlined word with an arrow.

   Type: Cormorant Garamond (bold for the masthead and prices, italic for
   headings and captions) with IBM Plex Sans for text and interface.
   Settings swap in Lora and Inter / Onest.

   Shapes: rectangles with a 2px corner, 2px ink rules, round seals for
   numbers and stickers. No shadows, no pills, no gradients.
   Motion: the page number drifts 40px sideways as its page scrolls past
   (CSS scroll-driven animation, off for reduced motion); links get an
   arrow that steps right.

   Loaded after the parent's theme.css / blocks.css / chrome.css and the
   modules' styles: it re-dresses all of them.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Fonts
   ------------------------------------------------------------------------- */
@font-face {
    font-family: 'Polka Cormorant';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-wght.woff2') format('woff2');
}
@font-face {
    font-family: 'Polka Cormorant';
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-cyrillic-wght-italic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Polka Cormorant';
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-latin-wght-italic.woff2') format('woff2');
    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: 'Polka Plex';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/ibm-plex-sans-cyrillic-400-normal.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Polka Plex';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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: 'Polka Plex';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('../fonts/ibm-plex-sans-cyrillic-500-normal.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Polka Plex';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('../fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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: 'Polka Plex';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/ibm-plex-sans-cyrillic-400-italic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Polka Plex';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/ibm-plex-sans-latin-400-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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: 'Polka Lora';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/themes/default/assets/fonts/lora-cyrillic-wght-normal.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Polka Lora';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/themes/default/assets/fonts/lora-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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: 'Polka Lora';
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url('/themes/default/assets/fonts/lora-cyrillic-wght-italic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Polka Lora';
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url('/themes/default/assets/fonts/lora-latin-wght-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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: 'Polka Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/themes/default/assets/fonts/inter-cyrillic-wght-normal.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Polka Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/themes/default/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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: 'Polka Onest';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/themes/default/assets/fonts/onest-cyrillic-wght-normal.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Polka Onest';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/themes/default/assets/fonts/onest-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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{--polka-…} after this file. */
:root {
    --polka-ochre: #E3A72F;
    --polka-olive: #4E5B2A;
    --polka-powder: #E9C4B8;
    --polka-ink: #1A1714;
    --polka-font-display: 'Polka Cormorant', 'Times New Roman', Georgia, serif;
    --polka-font-text: 'Polka Plex', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --polka-radius: 2px;
}

/* -------------------------------------------------------------------------
   2. Tokens — `html:root` so they win over a design layer; always light
   (paper is paper in both colour schemes).
   ------------------------------------------------------------------------- */
html:root {
    --pk-paper: #f3eee4;
    --pk-paper-deep: #e9e2d3;
    --pk-white: #fbf8f2;
    --pk-ink: var(--polka-ink);
    --pk-text: color-mix(in srgb, var(--polka-ink) 90%, #4a4036);
    --pk-muted: color-mix(in srgb, var(--polka-ink) 68%, var(--pk-paper));
    --pk-faint: color-mix(in srgb, var(--polka-ink) 45%, var(--pk-paper));
    --pk-line: color-mix(in srgb, var(--polka-ink) 18%, var(--pk-paper));
    --pk-ochre: var(--polka-ochre);
    --pk-olive: var(--polka-olive);
    --pk-powder: var(--polka-powder);
    --pk-r: var(--polka-radius);
    --pk-display: var(--polka-font-display);
    --pk-font: var(--polka-font-text);
    --pk-rule: 2px solid var(--pk-ink);

    --c-bg: var(--pk-paper);
    --c-surface: var(--pk-white);
    --c-surface-sunk: var(--pk-paper-deep);
    --c-text: var(--pk-text);
    --c-text-strong: var(--pk-ink);
    --c-text-muted: var(--pk-muted);
    --c-text-faint: var(--pk-faint);
    --c-border: var(--pk-line);
    --c-border-strong: color-mix(in srgb, var(--polka-ink) 40%, var(--pk-paper));
    --c-accent: var(--pk-ink);
    --c-accent-hover: color-mix(in srgb, var(--polka-ink) 78%, var(--pk-olive));
    --c-accent-soft: var(--pk-paper-deep);
    --c-accent-contrast: var(--pk-paper);
    --c-link: var(--pk-ink);
    --c-link-hover: var(--pk-olive);
    --c-mark: var(--pk-ochre);
    --c-mark-text: var(--pk-ink);
    --c-mark-soft: color-mix(in srgb, var(--pk-ochre) 22%, var(--pk-paper));
    --c-slab: var(--pk-ink);
    --c-slab-text: var(--pk-paper);
    --c-slab-muted: color-mix(in srgb, var(--pk-paper) 72%, var(--pk-ink));
    --c-danger: #a63a26;
    --c-success: #4a6a2c;

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

    --fw-heading: 600;
    --tr-tight: -0.02em;
    --tr-snug: -0.01em;
    --lh-prose: 1.65;

    --r-xs: var(--pk-r);
    --r-sm: var(--pk-r);
    --r-md: var(--pk-r);
    --r-lg: var(--pk-r);
    --r-btn: var(--pk-r);
    --r-pill: 999px;
    --card-radius: var(--pk-r);
    --card-bg: transparent;
    --card-border: 0;
    --card-shadow: none;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-lift: none;

    --w-container: 72rem;
    --w-wide: 84rem;
    --w-prose: 40rem;
    --gutter: clamp(1rem, 3.2vw, 2.75rem);

    --sp-xs: 1.5rem;
    --sp-sm: clamp(2rem, 1.6rem + 2vw, 3.25rem);
    --sp-md: clamp(3.25rem, 2.4rem + 3.6vw, 5.75rem);
    --sp-lg: clamp(4.5rem, 3.3rem + 5vw, 8rem);
    --sp-xl: clamp(6rem, 4.2rem + 7vw, 10rem);

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

    --shop-star: var(--pk-ochre);
    --shop-sticker-discount-bg: var(--pk-ochre);
    --shop-sticker-discount-fg: var(--pk-ink);
    --shop-sticker-hit-bg: var(--pk-ink);
    --shop-sticker-hit-fg: var(--pk-paper);
    --shop-sticker-new-bg: var(--pk-olive);
    --shop-sticker-new-fg: var(--pk-paper);
    --shop-sticker-few-bg: var(--pk-powder);
    --shop-sticker-few-fg: var(--pk-ink);

    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    html:root {
        --c-bg: var(--pk-paper);
        --c-surface: var(--pk-white);
        --c-surface-sunk: var(--pk-paper-deep);
        --c-text: var(--pk-text);
        --c-text-strong: var(--pk-ink);
        --c-text-muted: var(--pk-muted);
        --c-text-faint: var(--pk-faint);
        --c-border: var(--pk-line);
        --c-border-strong: color-mix(in srgb, var(--polka-ink) 40%, var(--pk-paper));
        --c-accent: var(--pk-ink);
        --c-accent-soft: var(--pk-paper-deep);
        --c-accent-contrast: var(--pk-paper);
        --c-link: var(--pk-ink);
        --c-link-hover: var(--pk-olive);
        --c-danger: #a63a26;
        --c-success: #4a6a2c;
    }
}

/* Paper tones («Тон бумаги») */
html[data-polka-paper="cream"]:root {
    --pk-paper: #f7f0dd;
    --pk-paper-deep: #eee4c9;
    --pk-white: #fcf8ec;
}
html[data-polka-paper="stone"]:root {
    --pk-paper: #eceeea;
    --pk-paper-deep: #dfe2db;
    --pk-white: #f6f7f4;
}

/* Bands: the tone classes the engine prints become coloured paper. */
.cms-tone-soft,
.cms-tone-accent,
.cms-tone-dark,
.cms-on-dark,
.cms-tone-primary {
    --c-border: color-mix(in srgb, currentColor 30%, transparent);
}
.cms-tone-soft {
    --section-bg: var(--pk-powder);
    --c-bg: var(--pk-powder);
    --c-surface: color-mix(in srgb, var(--pk-powder) 55%, #fff);
    --c-surface-sunk: color-mix(in srgb, var(--pk-powder) 80%, var(--pk-ink));
    --c-text: var(--pk-ink);
    --c-text-strong: var(--pk-ink);
    --c-text-muted: color-mix(in srgb, var(--pk-ink) 82%, var(--pk-powder));
    --c-text-faint: color-mix(in srgb, var(--pk-ink) 70%, var(--pk-powder));
    --c-link: var(--pk-ink);
    --c-link-hover: var(--pk-ink);
}
.cms-tone-accent {
    --section-bg: var(--pk-ochre);
    --c-bg: var(--pk-ochre);
    --c-surface: color-mix(in srgb, var(--pk-ochre) 55%, #fff);
    --c-surface-sunk: color-mix(in srgb, var(--pk-ochre) 80%, var(--pk-ink));
    --c-text: var(--pk-ink);
    --c-text-strong: var(--pk-ink);
    --c-text-muted: color-mix(in srgb, var(--pk-ink) 84%, var(--pk-ochre));
    --c-text-faint: color-mix(in srgb, var(--pk-ink) 72%, var(--pk-ochre));
    --c-accent: var(--pk-ink);
    --c-accent-contrast: var(--pk-ochre);
    --c-link: var(--pk-ink);
    --c-link-hover: var(--pk-ink);
}
.cms-tone-dark,
.cms-on-dark {
    --section-bg: var(--pk-olive);
    --c-bg: var(--pk-olive);
    --c-surface: color-mix(in srgb, var(--pk-olive) 88%, #fff);
    --c-surface-sunk: color-mix(in srgb, var(--pk-olive) 86%, #000);
    --c-text: var(--pk-paper);
    --c-text-strong: var(--pk-paper);
    --c-text-muted: color-mix(in srgb, var(--pk-paper) 86%, var(--pk-olive));
    --c-text-faint: color-mix(in srgb, var(--pk-paper) 70%, var(--pk-olive));
    --c-accent: var(--pk-paper);
    --c-accent-hover: var(--pk-white);
    --c-accent-contrast: var(--pk-olive);
    --c-link: var(--pk-paper);
    --c-link-hover: var(--pk-ochre);
    --c-mark: var(--pk-ochre);
    color-scheme: dark;
}
.cms-tone-primary {
    --section-bg: var(--pk-ink);
    --c-bg: var(--pk-ink);
    --c-surface: color-mix(in srgb, var(--pk-ink) 88%, #fff);
    --c-surface-sunk: color-mix(in srgb, var(--pk-ink) 92%, #000);
    --c-text: var(--pk-paper);
    --c-text-strong: var(--pk-paper);
    --c-text-muted: color-mix(in srgb, var(--pk-paper) 82%, var(--pk-ink));
    --c-text-faint: color-mix(in srgb, var(--pk-paper) 66%, var(--pk-ink));
    --c-accent: var(--pk-ochre);
    --c-accent-contrast: var(--pk-ink);
    --c-link: var(--pk-paper);
    --c-link-hover: var(--pk-ochre);
    color-scheme: dark;
}

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

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

::selection { background: var(--pk-ochre); color: var(--pk-ink); }

:focus-visible {
    outline: 2px solid var(--pk-ink);
    outline-offset: 3px;
}
.cms-tone-dark :focus-visible,
.cms-on-dark :focus-visible,
.cms-tone-primary :focus-visible { outline-color: var(--pk-ochre); }

/* Buttons: a 2px rectangle with an arrow, never a pill. */
.cms-btn {
    border-radius: var(--pk-r);
    min-height: 52px;
    padding: 0.8rem 1.6rem;
    border: 2px solid var(--pk-ink);
    box-shadow: none;
    font-family: var(--pk-font);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cms-btn--primary { background-color: var(--pk-ink); color: var(--pk-paper); }
.cms-btn--primary:hover { background-color: var(--pk-olive); border-color: var(--pk-olive); color: var(--pk-paper); }
.cms-btn--ghost { background: transparent; color: var(--pk-ink); }
.cms-btn--ghost:hover { background: var(--pk-ink); color: var(--pk-paper); }
.cms-tone-dark .cms-btn--primary,
.cms-on-dark .cms-btn--primary { background: var(--pk-paper); border-color: var(--pk-paper); color: var(--pk-olive); }
.cms-tone-dark .cms-btn--primary:hover,
.cms-on-dark .cms-btn--primary:hover { background: var(--pk-ochre); border-color: var(--pk-ochre); color: var(--pk-ink); }
.cms-tone-dark .cms-btn--ghost,
.cms-on-dark .cms-btn--ghost { color: var(--pk-paper); border-color: var(--pk-paper); }
.cms-tone-dark .cms-btn--ghost:hover { background: var(--pk-paper); color: var(--pk-olive); }
.cms-tone-accent .cms-btn--primary:hover,
.cms-tone-soft .cms-btn--primary:hover { background: var(--pk-paper); border-color: var(--pk-ink); color: var(--pk-ink); }

/* The underlined word with an arrow used by every "more" link. */
.pk-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--c-text-strong);
    font-family: var(--pk-display);
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.3em;
}
.pk-link:hover { color: var(--c-text-strong); text-decoration-color: var(--pk-ochre); }
.pk-link::after { content: '→'; display: inline-block; font-style: normal; text-decoration: none; transition: transform var(--dur) var(--ease); }
.pk-link:hover::after { transform: translateX(5px); }

/* Section heads: a 2px rule, then a big italic headline. */

.cms-section__head {
    max-width: none;
    margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 3.25rem);
    padding-top: 0.9rem;
    border-top: var(--pk-rule);
    border-top-color: currentColor;
}
.cms-section__head--center { text-align: left; }
.cms-section__title {
    font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem);
    font-style: italic;
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.025em;
}
.cms-section__subtitle {
    max-width: 38rem;
    margin-top: 1rem;
    color: var(--c-text-muted);
    font-size: 1.25rem;
    line-height: 1.5;
}
.cms-section__head--center .cms-section__subtitle { margin-inline: 0; }
.cms-w-wide > .cms-section__inner { max-width: var(--w-wide); }

/* Coloured bands run edge to edge, like a printed page. */
.cms-section.cms-tone-soft,
.cms-section.cms-tone-accent,
.cms-section.cms-tone-dark,
.cms-section.cms-tone-primary { color: var(--c-text); }

/* -------------------------------------------------------------------------
   4. Header
   ------------------------------------------------------------------------- */
.pk-hdr.site-header {
    border-bottom: 0;
    background: var(--pk-paper);
    backdrop-filter: none;
}
.pk-hdr.site-header--sticky.is-scrolled { box-shadow: 0 2px 0 var(--pk-ink); }

/* Announcement strip */
.pk-announce.hdr-row--top {
    border-bottom: 0;
    background: var(--pk-ink);
    color: var(--pk-paper);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.pk-announce .hdr-row__inner { min-height: 2.25rem; justify-content: center; }
.pk-announce .hdr-zone--left,
.pk-announce .hdr-zone--right { flex: 0 0 auto; }
.pk-announce a { color: var(--pk-paper); }
.pk-announce a:hover { color: var(--pk-ochre); }
.pk-announce .hdr-phone,
.pk-announce .hdr-phone__number { font-weight: 500; color: var(--pk-paper); }
.pk-announce .hdr-phone__caption { display: none; }
.pk-announce .hdr-zone--center { flex: 1 1 auto; justify-content: center; gap: 0.4rem 2.6rem; }
.pk-announce .hdr-zone--center .hdr-el + .hdr-el { position: relative; }
.pk-announce .hdr-zone--center .hdr-el + .hdr-el::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pk-ochre);
    transform: translateY(-50%);
}
.pk-announce .cms-icon { display: none; }
.pk-announce .hdr-el--text { font-family: var(--pk-font); font-size: 0.75rem; font-style: normal; font-weight: 500; }
html[data-polka-announce="off"] .pk-announce { display: none; }

/* The masthead row */
.pk-bar.hdr-row--main { border-bottom: var(--pk-rule); background: var(--pk-paper); }
.pk-bar .pk-bar__inner { min-height: 5.25rem; gap: 0.5rem 1.25rem; }

@media (min-width: 60rem) {
    .pk-bar .pk-bar__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
    }
    .pk-bar__zone { min-width: 0; }
    .pk-bar__zone--center { justify-content: center; }
    .pk-bar__zone--right { justify-content: flex-end; margin-inline-start: 0; }
    .pk-bar__zone:empty { display: block; }
    .pk-bar__zone--right .shop-hsearch { width: clamp(9rem, 12vw, 13rem); }

    html[data-polka-header="left"] .pk-bar .pk-bar__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
    html[data-polka-header="left"] .pk-bar__zone--center { order: -1; justify-content: flex-start; }
    html[data-polka-header="left"] .pk-bar__zone--left { padding-left: 1rem; }
}

.pk-logo { gap: 0.6rem; color: var(--pk-ink); }
.pk-hdr .hdr-logo__name,
.pk-ftr .hdr-logo__name {
    font-family: var(--pk-display);
    font-size: clamp(2rem, 1.5rem + 1.4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--pk-ink);
}
a.hdr-logo:hover .hdr-logo__name { color: var(--pk-olive); }

.pk-hdr .hdr-nav__list { gap: 0.15rem; }
.pk-hdr .hdr-nav__link {
    position: relative;
    padding: 0.55rem 0.8rem;
    border-radius: var(--pk-r);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pk-ink);
}
.pk-hdr .hdr-nav__link:hover { background: transparent; color: var(--pk-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.pk-hdr .hdr-nav__link.is-active,
.pk-hdr .hdr-nav__link[aria-current] { background: var(--pk-ochre); color: var(--pk-ink); }
.pk-hdr .hdr-sub {
    border: var(--pk-rule);
    border-radius: var(--pk-r);
    background: var(--pk-paper);
    box-shadow: none;
    padding: 0.4rem;
}
.pk-hdr .hdr-sub__link { border-radius: var(--pk-r); padding: 0.55rem 0.9rem; font-weight: 500; }
.pk-hdr .hdr-sub__link:hover { background: var(--pk-ochre); }

.pk-hdr .hdr-phone,
.pk-hdr .hdr-phone__number { font-weight: 500; color: var(--pk-ink); white-space: nowrap; }
.pk-hdr .hdr-el--text { font-family: var(--pk-display); font-style: italic; font-weight: 600; font-size: 1.15rem; white-space: nowrap; }

.pk-hdr .shop-hlink,
.pk-hdr .hdr-icon-btn,
.pk-hdr .shop-minicart,
.pk-burger.hdr-burger {
    width: 44px;
    height: 44px;
    min-height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--pk-ink);
}
.pk-hdr .shop-hlink:hover,
.pk-hdr .hdr-icon-btn:hover { background: var(--pk-ochre); }
.pk-hdr .shop-minicart {
    width: auto;
    padding: 0 1.05rem 0 0.9rem;
    border-radius: var(--pk-r);
    background: var(--pk-ink);
    color: var(--pk-paper);
    font-weight: 500;
}
.pk-hdr .shop-minicart:hover { background: var(--pk-olive); color: var(--pk-paper); }
.pk-hdr .shop-minicart__count,
.pk-hdr .shop-hlink__count { background: var(--pk-ochre); color: var(--pk-ink); }
.pk-hdr .shop-hsearch .shop-hsearch__input {
    border: 0;
    border-bottom: var(--pk-rule);
    border-radius: 0;
    background: transparent;
    min-height: 44px;
}
.pk-hdr .shop-hsearch .shop-hsearch__input:focus { outline: 0; background: var(--pk-white); box-shadow: none; }

@media (max-width: 59.99rem) {
    .pk-bar .pk-bar__inner { min-height: 3.9rem; }
    .pk-hdr .hdr-logo__name { font-size: 1.7rem; }
}

/* The contents line: the bottom row's menu as a list of sections. */
.pk-toc-row.hdr-row--bottom { border-top: 0; border-bottom: 1px solid var(--pk-line); background: var(--pk-paper); }
.pk-toc-row .hdr-row__inner { min-height: 0; padding-block: 0.55rem; }
.pk-toc-row .hdr-zone { flex: 1 1 auto; min-width: 0; }
.pk-toc-row .hdr-zone:has(> .pk-toc) { flex: 1 1 100%; }
.pk-toc { flex: 1 1 auto; min-width: 0; }
.pk-toc__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.1rem 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pk-toc__item + .pk-toc__item::before { content: '·'; padding-inline: 0.55rem; color: var(--pk-faint); }
.pk-toc__item { display: flex; align-items: center; }
.pk-toc__link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: var(--pk-ink);
    font-family: var(--pk-display);
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.pk-toc__link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.pk-toc__link.is-active,
.pk-toc__link[aria-current] { text-decoration: underline; text-decoration-color: var(--pk-ochre); text-decoration-thickness: 3px; text-underline-offset: 0.25em; }
.pk-toc__link .cms-icon { width: 15px; height: 15px; margin-right: 0.3rem; }

@media (max-width: 59.99rem) {
    .pk-toc-row.hdr-row--bottom { display: block; }
    .pk-toc-row .hdr-zone:not(:has(.pk-toc)) { display: none; }
    .pk-toc {
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        padding-inline: var(--gutter);
    }
    .pk-toc::-webkit-scrollbar { display: none; }
    .pk-toc__list { flex-wrap: nowrap; justify-content: flex-start; }
}

.pk-drawer { background: var(--pk-paper); }
.pk-drawer .hdr-drawer__head { background: var(--pk-paper); }

/* -------------------------------------------------------------------------
   5. Footer
   ------------------------------------------------------------------------- */
.pk-ftr.site-footer {
    --pk-ftr-bg: var(--pk-paper);
    margin-top: var(--sp-xs);
    background: transparent;
    border-top: 0;
    padding: 0;
}
.pk-ftr.pk-ftr--dark { --pk-ftr-bg: var(--pk-olive); }
.pk-ftr.pk-ftr--muted { --pk-ftr-bg: var(--pk-powder); }
.pk-ftr__slab {
    position: relative;
    padding: clamp(2.5rem, 1.8rem + 3vw, 4.5rem) max(var(--gutter), (100% - var(--w-wide)) / 2 + var(--gutter)) 1.5rem;
    border-top: 6px double var(--pk-ink);
    background: var(--pk-ftr-bg);
    color: var(--c-text);
}
.pk-ftr--dark .pk-ftr__slab { border-top-color: var(--pk-ochre); color: var(--pk-paper); --c-text: var(--pk-paper); --c-text-strong: var(--pk-paper); --c-text-muted: color-mix(in srgb, var(--pk-paper) 84%, var(--pk-olive)); --c-text-faint: color-mix(in srgb, var(--pk-paper) 68%, var(--pk-olive)); --c-border: color-mix(in srgb, var(--pk-paper) 30%, var(--pk-olive)); }
.pk-ftr--muted .pk-ftr__slab { --c-text: var(--pk-ink); --c-text-muted: color-mix(in srgb, var(--pk-ink) 84%, var(--pk-powder)); --c-text-faint: color-mix(in srgb, var(--pk-ink) 72%, var(--pk-powder)); }
.pk-ftr__band {
    display: grid;
    gap: 1rem 2.5rem;
    align-items: center;
    margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
    padding: clamp(1.4rem, 1rem + 1.6vw, 2.25rem);
    border-radius: var(--pk-r);
    background: var(--pk-ochre);
    color: var(--pk-ink);
    --c-text: var(--pk-ink);
    --c-text-strong: var(--pk-ink);
    --c-text-muted: color-mix(in srgb, var(--pk-ink) 84%, var(--pk-ochre));
}
@media (min-width: 52rem) { .pk-ftr__band { grid-template-columns: 1fr 1.1fr; } }
.pk-ftr__band-title { margin: 0 0 0.4rem; font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); font-style: italic; color: var(--pk-ink); }
.pk-ftr__band-lead { margin: 0; color: var(--c-text-muted); }
.pk-ftr__grid {
    display: grid;
    gap: 2rem 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}
@media (min-width: 64rem) {
    .pk-ftr__grid { grid-template-columns: 1.6fr repeat(auto-fit, minmax(10rem, 1fr)); }
}
.pk-ftr__brand { margin-bottom: 1rem; }
.pk-ftr--dark .hdr-logo__name { color: var(--pk-paper); }
.pk-ftr__title {
    margin: 0 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--c-border);
    font-family: var(--pk-font);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-text-strong);
}
.pk-ftr__about { max-width: 26rem; margin: 0 0 1.25rem; color: var(--c-text-muted); font-family: var(--pk-display); font-size: 1.3rem; font-style: italic; line-height: 1.4; }
.pk-ftr__menu { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.pk-ftr__menu a { color: var(--c-text); text-decoration: none; }
.pk-ftr__menu a:hover { color: var(--c-text-strong); text-decoration: underline; text-decoration-color: var(--pk-ochre); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.pk-ftr__contacts { font-style: normal; display: grid; gap: 0.6rem; }
.pk-ftr__contacts p { margin: 0; }
.pk-ftr__phone a { font-family: var(--pk-display); font-size: 1.6rem; font-weight: 700; color: var(--c-text-strong); text-decoration: none; }
.pk-ftr__phone span { display: block; font-size: var(--t-xs); color: var(--c-text-muted); }
.pk-ftr__line { display: flex; gap: 0.55rem; align-items: flex-start; color: var(--c-text-muted); }
.pk-ftr__line .cms-icon { flex: none; width: 17px; height: 17px; margin-top: 0.2rem; color: var(--c-text-strong); }
.pk-ftr__line a { color: inherit; }
.pk-ftr__text { margin: 0; color: var(--c-text-muted); }
.pk-ftr__pay { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.pk-ftr__pay-item { padding: 0.25rem 0.7rem; border: 1px solid var(--c-border); border-radius: var(--pk-r); font-size: var(--t-xs); }
.pk-ftr__socials .site-socials__link { border-radius: 50%; }
.pk-ftr__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    align-items: center;
    margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
    padding-top: 1.25rem;
    border-top: 1px solid var(--c-border);
    font-size: var(--t-xs);
    color: var(--c-text-faint);
}
.pk-ftr__copy,
.pk-ftr__company { margin: 0; }
.pk-ftr__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.pk-ftr__links a { color: var(--c-text-muted); }
.pk-ftr .site-footer__slot:empty { display: none; }

/* -------------------------------------------------------------------------
   6. Issue cover (polka_cover)
   ------------------------------------------------------------------------- */
.pk-cover { display: block; }
.pk-cover__mast {
    display: flex;
    justify-content: space-between;
    margin: 0;
    font-family: var(--pk-display);
    font-size: clamp(64px, min(16vw, calc(125vw / var(--n, 5))), 260px);
    font-weight: 700;
    font-style: normal;
    line-height: 0.82;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--pk-ink);
}
.pk-cover__mast span[aria-hidden] { display: block; }
.pk-cover__issue {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1.5rem;
    margin: clamp(0.9rem, 0.6rem + 1vw, 1.6rem) 0 0;
    padding: 0.55rem 0;
    border-top: var(--pk-rule);
    border-bottom: 1px solid var(--pk-ink);
    color: var(--pk-ink);
    font-size: clamp(0.6875rem, 0.6rem + 0.3vw, 0.8125rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.pk-cover__body {
    display: grid;
    gap: clamp(2rem, 1.5rem + 2.5vw, 4rem);
    margin-top: clamp(1.75rem, 1.2rem + 2vw, 3.25rem);
}
@media (min-width: 64rem) {
    .pk-cover__body { grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); align-items: start; }
}

/* The collage: three bare photos of different sizes, tilted. */
.pk-cover__collage {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    padding-bottom: 1rem;
}
.pk-shot { margin: 0; }
.pk-shot__pic { display: block; overflow: hidden; border-radius: var(--pk-r); background: var(--pk-powder); }
.pk-shot__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pk-cover__collage { column-gap: clamp(0.5rem, 1.4vw, 1.5rem); }
.pk-shot--1 { grid-column: 1 / 6; grid-row: 1; transform: rotate(-2deg); }
.pk-shot--1 .pk-shot__pic { aspect-ratio: 3 / 4; }
.pk-shot--2 { grid-column: 6 / 10; grid-row: 1; margin-top: clamp(3rem, 9vw, 8rem); transform: rotate(2deg); }
.pk-shot--2 .pk-shot__pic { aspect-ratio: 4 / 5; }
.pk-shot--3 { grid-column: 10 / 13; grid-row: 1; margin-top: clamp(1rem, 4vw, 4rem); transform: rotate(-1.5deg); }
.pk-shot--3 .pk-shot__pic { aspect-ratio: 1; }
.pk-shot__cap {
    margin: 0.75rem 0 0;
    color: var(--pk-ink);
    font-family: var(--pk-display);
    font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.25;
}
.pk-shot__cap a { color: inherit; text-decoration: none; }
.pk-shot__cap a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.pk-shot__dot { padding-inline: 0.35em; }
.pk-shot__price { white-space: nowrap; }
.pk-shot__price .shop-price { display: inline-flex; font-style: normal; }
.pk-shot__price .shop-price__value,
.pk-shot__price .shop-price__now { font-family: var(--pk-display); font-weight: 700; color: var(--pk-ink); }
.pk-shot__price .shop-price__old,
.pk-shot__price .shop-price__was,
.pk-shot__price .shop-price__off { display: none; }

@media (max-width: 47.99rem) {
    .pk-cover__collage { padding-bottom: 0; }
    .pk-shot--1 { grid-column: 1 / 8; }
    .pk-shot--2 { grid-column: 8 / 13; margin-top: 3rem; }
    .pk-shot--3 { display: none; }
}

/* The table of contents */
.pk-cover__toc { min-width: 0; }
.pk-cover__toc-title {
    margin: 0 0 0.25rem;
    padding: 0.55rem 0;
    border-top: var(--pk-rule);
    border-bottom: 1px solid var(--pk-ink);
    font-family: var(--pk-font);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.pk-toc-list { margin: 0; padding: 0; list-style: none; }
.pk-toc-list__item + .pk-toc-list__item { border-top: 1px solid var(--pk-line); }
.pk-toc-list__row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.7rem 0;
    color: var(--pk-ink);
    text-decoration: none;
}
.pk-toc-list__name {
    font-family: var(--pk-display);
    font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.85rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.1;
}
.pk-toc-list__dots { flex: 1 1 auto; min-width: 1rem; border-bottom: 2px dotted var(--pk-faint); transform: translateY(-0.25em); }
.pk-toc-list__num { font-variant-numeric: tabular-nums; font-size: 0.9375rem; font-weight: 500; }
a.pk-toc-list__row:hover .pk-toc-list__name { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--pk-ochre); text-underline-offset: 0.2em; }
a.pk-toc-list__row:hover .pk-toc-list__num { background: var(--pk-ochre); }
.pk-cover__more { margin: 1.25rem 0 0; }

/* -------------------------------------------------------------------------
   7. Magazine spread (polka_spread)
   ------------------------------------------------------------------------- */
.pk-spread {
    --pk-fs: clamp(5rem, 11vw, 10.5rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
}
@media (min-width: 64rem) {
    .pk-spread {
        grid-template-columns: calc(var(--pk-fs) * 1.08 + 40px) minmax(0, 1fr);
        gap: clamp(1rem, 2.4vw, 3rem);
    }
    .pk-spread--flip { grid-template-columns: minmax(0, 1fr) calc(var(--pk-fs) * 1.08 + 40px); }
    .pk-spread--flip .pk-spread__folio { order: 2; text-align: right; }
    .pk-spread--nofolio { grid-template-columns: minmax(0, 1fr); }
}
.pk-spread__folio { position: relative; min-width: 0; }
.pk-spread__num {
    position: sticky;
    top: 7rem;
    display: block;
    font-family: var(--pk-display);
    font-size: 4.5rem;
    font-style: italic;
    font-weight: 600;
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: var(--c-text-strong);
}
@media (min-width: 64rem) {
    .pk-spread__num { font-size: var(--pk-fs); }
}
@supports (animation-timeline: view()) {
    @media (min-width: 64rem) and (prefers-reduced-motion: no-preference) {
        .pk-spread__folio {
            animation: pk-folio linear both;
            animation-timeline: view();
            animation-range: entry 0% exit 100%;
        }
        .pk-spread--flip .pk-spread__folio { animation-name: pk-folio-flip; }
    }
}
@keyframes pk-folio { from { translate: 0 0; } to { translate: 40px 0; } }
@keyframes pk-folio-flip { from { translate: 0 0; } to { translate: -40px 0; } }
html[data-polka-folio="off"] .pk-spread__folio,
html[data-polka-folio="off"] .pk-spread__running { display: none; }
html[data-polka-folio="off"] .pk-spread { grid-template-columns: minmax(0, 1fr); }

.pk-spread__page { min-width: 0; }
.pk-spread__running {
    margin: 0 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid currentColor;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-text-strong);
}
.pk-spread__text {
    display: grid;
    gap: 1.5rem clamp(1.5rem, 3vw, 3.5rem);
    margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
@media (min-width: 48rem) {
    .pk-spread__text { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
    .pk-spread__lead { grid-column: 1; grid-row: 1 / span 3; }
    .pk-spread__quote,
    .pk-spread__figure { grid-column: 2; }
}
.pk-spread__lead {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--c-text);
    max-width: 38rem;
}
.pk-spread__lead::first-letter {
    float: left;
    margin: 0.06em 0.1em 0 0;
    font-family: var(--pk-display);
    font-size: 4.6em;
    font-style: italic;
    font-weight: 700;
    line-height: 0.78;
    color: var(--c-text-strong);
}
.pk-spread__quote {
    margin: 0;
    padding: 1.1rem 0 1.2rem;
    border-block: var(--pk-rule);
    border-color: currentColor;
}
.pk-spread__quote p {
    margin: 0;
    font-family: var(--pk-display);
    font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.12;
    color: var(--c-text-strong);
}
.pk-spread__quote p::before { content: '«'; }
.pk-spread__quote p::after { content: '»'; }
.pk-spread__quote footer { margin-top: 0.8rem; font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--c-text-muted); }
.pk-spread__quote footer::before { content: '— '; }
.pk-spread__figure { margin: 0; }
.pk-spread__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--pk-r); }
.pk-spread__figure figcaption { margin-top: 0.6rem; font-family: var(--pk-display); font-size: 1.1rem; font-style: italic; font-weight: 600; color: var(--c-text-muted); }

/* Products: three columns of different heights, like a collage page. */
.pk-spread__items {
    column-count: 3;
    column-gap: clamp(1rem, 2.4vw, 2.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}
.pk-pick { break-inside: avoid; margin: 0 0 clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.pk-pick__fig { margin: 0; }
.pk-pick__pic { display: block; overflow: hidden; border-radius: var(--pk-r); background: color-mix(in srgb, currentColor 12%, transparent); }
.pk-pick--1 .pk-pick__pic { aspect-ratio: 3 / 4; }
.pk-pick--2 .pk-pick__pic { aspect-ratio: 1; }
.pk-pick--3 .pk-pick__pic { aspect-ratio: 4 / 5; }
.pk-pick__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.pk-pick__pic:hover .pk-pick__img { transform: scale(1.03); }
.pk-pick__cap {
    margin: 0.7rem 0 0;
    font-family: var(--pk-display);
    font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.25;
    color: var(--c-text-strong);
}
.pk-pick__link { color: inherit; text-decoration: none; }
.pk-pick__link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.pk-pick__dot { padding-inline: 0.35em; }
.pk-pick__price { white-space: nowrap; }
.pk-pick__price .shop-price { display: inline-flex; font-style: normal; }
.pk-pick__price .shop-price__value,
.pk-pick__price .shop-price__now { font-family: var(--pk-display); font-weight: 700; color: var(--c-text-strong); }
.pk-pick__price .shop-price__old,
.pk-pick__price .shop-price__was,
.pk-pick__price .shop-price__off { display: none; }
@media (max-width: 47.99rem) {
    .pk-spread__items { column-count: 2; column-gap: 0.85rem; }
    .pk-spread__lead { font-size: 1.125rem; }
}
.pk-spread__more { margin: 0.5rem 0 0; }

/* -------------------------------------------------------------------------
   8. Services sidebar (polka_howto)
   ------------------------------------------------------------------------- */
.pk-howto { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (min-width: 64rem) {
    .pk-howto--photo { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
}
.pk-howto__list { margin: 0; padding: 0; list-style: none; }
.pk-how {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.35rem 1.25rem;
    align-items: start;
    padding: clamp(1.2rem, 1rem + 0.8vw, 1.75rem) 0;
    border-top: 1px solid currentColor;
}
.pk-how:last-child { border-bottom: 1px solid currentColor; }
.pk-how__seal {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    border: 2px solid var(--c-text-strong);
    border-radius: 50%;
    font-family: var(--pk-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--c-text-strong);
}
.pk-how__title {
    margin: 0;
    font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.1;
}
.pk-how__title a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.pk-how__text { margin: 0; color: var(--c-text); line-height: 1.6; }
@media (min-width: 48rem) {
    .pk-how { grid-template-columns: auto minmax(0, 0.8fr) minmax(0, 1.7fr); align-items: start; }
    .pk-how__seal { grid-row: auto; }
    .pk-how__text { column-count: 2; column-gap: 2rem; font-size: 0.9375rem; }
}
.pk-howto__figure { margin: 0; }
.pk-howto__img { display: block; width: 100%; height: auto; max-height: 38rem; object-fit: cover; border-radius: var(--pk-r); transform: rotate(1.5deg); }

/* -------------------------------------------------------------------------
   9. Reader interviews (polka_voices)
   ------------------------------------------------------------------------- */
.pk-voices__list {
    display: grid;
    gap: clamp(2rem, 1.5rem + 2vw, 3.5rem) clamp(2rem, 4vw, 4.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 48rem) {
    .pk-voices__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pk-voice--lead { grid-column: 1 / -1; }
}
.pk-voice { padding-top: 1rem; border-top: 1px solid currentColor; }
.pk-voice--lead { border-top-width: 2px; }
.pk-voice__quote { margin: 0; }
.pk-voice__quote p {
    margin: 0;
    font-family: var(--pk-display);
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--c-text-strong);
    text-wrap: pretty;
}
.pk-voice--lead .pk-voice__quote p { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 60rem; }
.pk-voice__quote p::before { content: '«'; }
.pk-voice__quote p::after { content: '»'; }
.pk-voice__by { margin: 1rem 0 0; font-size: 0.875rem; letter-spacing: 0.04em; color: var(--c-text-muted); }
.pk-voice__by a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }

/* -------------------------------------------------------------------------
   10. Shared blocks, re-dressed
   ------------------------------------------------------------------------- */
/* Features: ruled columns with a round seal instead of an icon card. */
.cms-feature--card {
    border: 0;
    border-top: var(--pk-rule);
    border-radius: 0;
    background: transparent;
    padding: 1.1rem 0 0;
}
.cms-badge-icon {
    border-radius: 50%;
    background: var(--pk-ochre);
    color: var(--pk-ink);
}
.cms-feature .cms-card__title,
.cms-feature__title { font-family: var(--pk-display); font-size: 1.5rem; font-style: italic; font-weight: 600; letter-spacing: -0.01em; }
.cms-feature .cms-card__text { color: var(--c-text-muted); }

/* Reviews of the shared block, if a page uses them */
.cms-review--card {
    border: 0;
    border-top: var(--pk-rule);
    border-radius: 0;
    background: transparent;
    padding: 1.1rem 0 0;
}
.cms-review__mark { color: var(--pk-ochre); }
.cms-review__initial { background: var(--pk-powder); color: var(--pk-ink); border-radius: 50%; font-weight: 500; }
.cms-review__text { font-family: var(--pk-display); font-size: 1.4rem; font-style: italic; line-height: 1.3; }
.cms-stars__star { color: var(--pk-ochre); }
.shop-stars__fill { background: var(--pk-ochre); }

/* Forms and newsletter */
.cms-leadform__box,
.cms-block--form .cms-leadform__box {
    border: var(--pk-rule);
    border-radius: var(--pk-r);
    background: var(--pk-white);
    box-shadow: none;
}
.cms-form__input,
.cms-form select,
.cms-form textarea {
    border: 0;
    border-bottom: 2px solid var(--pk-ink);
    border-radius: 0;
    background: transparent;
    min-height: 50px;
}
.cms-form__input:focus,
.cms-form select:focus,
.cms-form textarea:focus { background: var(--pk-white); box-shadow: none; outline: 0; }

.cms-block--newsletter .cms-news__box {
    padding: clamp(1.5rem, 1rem + 2.6vw, 3.25rem);
    border: var(--pk-rule);
    border-radius: var(--pk-r);
    background: var(--pk-ochre);
    color: var(--pk-ink);
    box-shadow: none;
    --c-text: var(--pk-ink);
    --c-text-strong: var(--pk-ink);
    --c-text-muted: color-mix(in srgb, var(--pk-ink) 86%, var(--pk-ochre));
}
.cms-block--newsletter .cms-news__icon { background: var(--pk-paper); color: var(--pk-ink); border-radius: 50%; }
.cms-block--newsletter .cms-news__title { color: var(--pk-ink); font-style: italic; }
.cms-block--newsletter .cms-news__input { border: 2px solid var(--pk-ink); border-radius: var(--pk-r); min-height: 52px; background: var(--pk-paper); }
.cms-block--newsletter .cms-news__note { color: color-mix(in srgb, var(--pk-ink) 84%, var(--pk-ochre)); }

/* FAQ: ruled rows */
.cms-block--faq .cms-faq__item { border-color: var(--pk-ink); }
.cms-faq__question { font-family: var(--pk-display); font-size: 1.35rem; font-style: italic; font-weight: 600; color: var(--pk-ink); }
.cms-faq__toggle { border-radius: 50%; background: transparent; border: 2px solid var(--pk-ink); }
.cms-faq__title { font-family: var(--pk-display); }

.cms-stat__value,
.cms-stats__value { font-family: var(--pk-display); font-weight: 700; color: var(--c-text-strong); }

/* Category tiles (shop_categories): bare photos with an italic title. */
.pk-body :is(.shop-tile--tile, .shop-tile--compact) {
    border: 0;
    background: transparent;
    box-shadow: none;
}
.pk-body :is(.shop-tile--tile, .shop-tile--compact) .shop-tile__media { border-radius: var(--pk-r); background: var(--pk-powder); overflow: hidden; }
.pk-body :is(.shop-tile--tile, .shop-tile--compact) .shop-tile__img { transition: transform 600ms var(--ease); }
.pk-body :is(.shop-tile--tile, .shop-tile--compact):hover .shop-tile__img { transform: scale(1.04); }
.pk-body :is(.shop-tile--tile, .shop-tile--compact) .shop-tile__body { padding: 0.8rem 0 0; }
.pk-body :is(.shop-tile--tile, .shop-tile--compact) .shop-tile__title { font-family: var(--pk-display); font-size: 1.5rem; font-style: italic; font-weight: 600; }
.pk-body :is(.shop-tile--tile, .shop-tile--compact) .shop-tile__link { color: var(--pk-ink); text-decoration: none; }
.pk-body :is(.shop-tile--tile, .shop-tile--compact) .shop-tile__count { color: var(--c-text-muted); font-size: var(--t-xs); }
.pk-body :is(.shop-tile--tile, .shop-tile--compact):hover { box-shadow: none; }
.pk-body :is(.shop-tile--tile, .shop-tile--compact) .shop-tile__arrow { display: none; }
@media (max-width: 47.99rem) {
    .shop-categories-block .cms-items--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-categories-block .cms-items__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.shop-products-block__more { margin-top: 2rem; }

/* -------------------------------------------------------------------------
   11. Shop: product card
   ------------------------------------------------------------------------- */
.pk-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}
.pk-card .pk-card__media {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--pk-r);
    background: var(--pk-powder);
    overflow: hidden;
}
html[data-polka-cards="tall"] .pk-card .pk-card__media { aspect-ratio: 4 / 5; }
html[data-polka-cards="square"] .pk-card .pk-card__media { aspect-ratio: 1; }
.pk-card__photo { display: block; width: 100%; height: 100%; }
.pk-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--ease), opacity 300ms var(--ease);
}
.pk-card:hover .pk-card__img { transform: scale(1.03); }
.pk-card--flip .pk-card__img--alt { position: absolute; inset: 0; opacity: 0; }
.pk-card--flip:hover .pk-card__img--alt { opacity: 1; }
.pk-card__placeholder { display: block; height: 100%; background: repeating-linear-gradient(135deg, var(--pk-powder) 0 14px, color-mix(in srgb, var(--pk-powder) 80%, #fff) 14px 28px); }
.pk-card--out .pk-card__img { opacity: 0.5; }

/* Stickers: round seals, like a price-star on a cover. */
.pk-card .shop-stickers { left: 0.7rem; right: auto; top: 0.7rem; bottom: auto; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.pk-card .shop-sticker {
    display: grid;
    place-items: center;
    min-width: 3.1rem;
    height: 3.1rem;
    padding: 0 0.35rem;
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
    white-space: normal;
}
.pk-body .shop-sticker .cms-icon { display: none; }
.pk-body .shop-sticker--hit { background: var(--pk-ink); color: var(--pk-paper); }
.pk-body .shop-sticker--new { background: var(--pk-olive); color: var(--pk-paper); }
.pk-body .shop-sticker--sale,
.pk-body .shop-sticker--discount { background: var(--pk-ochre); color: var(--pk-ink); }
.pk-body .shop-sticker--few { background: var(--pk-powder); color: var(--pk-ink); }
.pk-card .shop-toggles { right: 0.6rem; top: 0.6rem; bottom: auto; }
.pk-card .shop-toggle {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--pk-paper);
    color: var(--pk-ink);
}
.pk-card .shop-toggle--compare { display: none; }
.pk-card .shop-toggle[aria-pressed="true"] { color: var(--pk-ink); background: var(--pk-ochre); }
.pk-card__quick.shop-card__quick {
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    transform: none;
    border: 0;
    border-radius: 0;
    background: var(--pk-paper);
    color: var(--pk-ink);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: none;
}

.pk-card__body { display: flex; flex-direction: column; flex: 1; gap: 0.25rem; padding: 0.85rem 0 0; }
.pk-card__brand { margin: 0; font-size: 0.6875rem; color: var(--pk-muted); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.pk-card__title { margin: 0; font-family: var(--pk-display); font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); font-style: italic; font-weight: 600; line-height: 1.2; letter-spacing: -0.005em; }
.pk-card__link { color: var(--pk-ink); text-decoration: none; }
.pk-card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.pk-card .shop-card__media > :is(.shop-stickers, .shop-toggles, .shop-card__quick),
.pk-card__form,
.pk-card__foot,
.pk-opt { position: relative; z-index: 2; }
.pk-card .shop-card__media > .shop-stickers { position: absolute; }
.pk-card .shop-card__media > .shop-toggles { position: absolute; }
.pk-card__form { display: flex; flex-direction: column; gap: 0.5rem; margin-top: auto; }
.pk-card__form .pk-card__foot { margin-top: 0; }
.pk-card__lead { margin: 0; font-size: var(--t-sm); color: var(--c-text-muted); }
.pk-card__specs { font-size: var(--t-xs); }
.pk-card__stock { margin: 0; font-size: var(--t-xs); }

.pk-opt { margin: 0.15rem 0 0; padding: 0; border: 0; min-width: 0; }
.pk-opt__legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pk-opt__options { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.pk-opt .shop-pick__label {
    min-height: 30px;
    padding: 0.2rem 0.65rem;
    border: 1px solid var(--pk-ink);
    border-radius: var(--pk-r);
    background: transparent;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--pk-ink);
}
.pk-opt .shop-pick__chip:hover .shop-pick__label { background: var(--pk-powder); }
.pk-opt .shop-pick__input:checked + .shop-pick__label { background: var(--pk-ink); border-color: var(--pk-ink); color: var(--pk-paper); box-shadow: none; }
.pk-opt .shop-pick__more { font-size: 0.75rem; font-weight: 500; align-self: center; color: var(--c-text-muted); }

.pk-card__foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    margin-top: auto;
    padding-top: 0.35rem;
}
.pk-card__price .shop-price { gap: 0.1rem 0.5rem; }
.pk-card__price .shop-price__now,
.pk-card__price .shop-price__value { font-family: var(--pk-display); font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 700; color: var(--pk-ink); letter-spacing: -0.01em; }
.pk-card__price .shop-price__old,
.pk-card__price .shop-price__was { color: var(--c-text-faint); font-size: 0.875rem; }
.pk-card__price .shop-price__off { background: var(--pk-ochre); color: var(--pk-ink); border-radius: var(--pk-r); }

.pk-card__add,
.pk-card .shop-request__btn {
    flex: none;
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--pk-ink);
    font-family: var(--pk-font);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.3em;
    cursor: pointer;
    align-self: center;
}
.pk-card__arrow { display: inline-block; text-decoration: none; transition: transform var(--dur) var(--ease); }
.pk-card__add:hover { color: var(--pk-olive); }
.pk-card__add:hover .pk-card__arrow { transform: translateX(4px); }
.pk-card .shop-request__btn:hover { color: var(--pk-olive); }
.pk-card__more { font-weight: 500; font-size: var(--t-sm); color: var(--pk-ink); text-decoration: underline; text-underline-offset: 0.3em; }

/* The "ruled" card variant: a line under every card. */
html[data-polka-cards="tall"] .pk-card { padding-bottom: 0.85rem; border-bottom: 1px solid var(--pk-ink); }

/* List view (layout = row) */
.pk-card--row { flex-direction: row; gap: 1.25rem; }
.pk-card--row .pk-card__media { flex: 0 0 min(13rem, 36%); }
.pk-card--row .pk-card__body { padding-top: 0.25rem; }

/* Grids of cards */
.shop-grid,
.shop-items { gap: clamp(1.5rem, 1rem + 1.6vw, 2.5rem) clamp(0.75rem, 0.5rem + 1vw, 1.5rem); }

@media (max-width: 35.99rem) {
    .pk-card__title { font-size: 1.05rem; }
    .pk-card__price .shop-price__value,
    .pk-card__price .shop-price__now { font-size: 1.25rem; }
    .pk-card .shop-sticker { min-width: 2.5rem; height: 2.5rem; font-size: 0.5625rem; }
    .pk-card .shop-toggle { width: 36px; height: 36px; }
    .pk-card .shop-toggles { right: 0.4rem; top: 0.4rem; }
    .pk-card .shop-stickers { left: 0.4rem; top: 0.4rem; }
    .pk-opt .shop-pick__chip:nth-child(n + 3) { display: none; }
    .pk-card__foot { flex-wrap: wrap; }
    .pk-card__add { font-size: 0.8125rem; }
}

@media (prefers-reduced-motion: no-preference) {
    .pk-card.is-added .pk-card__add { animation: pk-nudge 520ms var(--ease); }
}
@keyframes pk-nudge {
    0%, 100% { transform: translateX(0); }
    40% { transform: translateX(8px); }
}

/* -------------------------------------------------------------------------
   12. Shop: catalogue, product, cart
   ------------------------------------------------------------------------- */
.shop-head--image {
    border-radius: var(--pk-r);
    overflow: hidden;
    background: var(--pk-ochre);
    border: var(--pk-rule);
}
.shop-head__title { font-family: var(--pk-display); font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); font-style: italic; font-weight: 600; line-height: 0.98; letter-spacing: -0.025em; }
.shop-head__lead { color: var(--c-text-muted); font-size: 1.15rem; }
.shop-head--image { padding: clamp(1.1rem, 0.8rem + 1.5vw, 2rem); }
.shop-head--image .shop-head__image { width: clamp(4.5rem, 3rem + 4vw, 7rem); aspect-ratio: 3 / 4; border-radius: var(--pk-r); background: var(--pk-white); }
.shop-head--image,
.shop-head--image .shop-head__title,
.shop-head--image .shop-head__lead { color: var(--pk-ink); }
@media (max-width: 39.99rem) {
    .shop-head--image { grid-template-columns: minmax(0, 1fr); }
}

.shop-facet { border-color: var(--pk-line); }
.shop-facet__head { font-weight: 500; color: var(--pk-ink); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8125rem; }
.shop-fv__swatch { border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.15); }
.shop-fv__box { border-radius: var(--pk-r); }
.shop-facet--buttons .shop-fv,
.shop-fchips a,
.shop-fchips button { border-radius: var(--pk-r); }
.shop-range__fill,
.shop-range__thumb { background: var(--pk-ink); }
.shop-tree__link.is-active,
.shop-tree__link[aria-current] { color: var(--pk-ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--pk-ochre); text-decoration-thickness: 3px; }
.shop-toolbar { border-color: var(--pk-ink); }
.shop-sort__select,
.shop-views__btn { border-radius: var(--pk-r); }

.shop-gallery__main,
.shop-gallery__stage,
.shop-gallery__slide,
.shop-gallery img { border-radius: var(--pk-r); }
.shop-gallery__main,
.shop-gallery__stage,
.shop-gallery__slide { background: var(--pk-powder); }
.shop-gallery__thumb { border-radius: var(--pk-r); overflow: hidden; background: var(--pk-powder); }
.shop-buy,
.shop-buybox { border-radius: var(--pk-r); }
.shop-opt__value,
.shop-option__value,
.shop-buy .shop-pick__chip { border-radius: var(--pk-r); }
.shop-price--lg .shop-price__value { font-family: var(--pk-display); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.01em; color: var(--pk-ink); }
.shop-qty { border-radius: var(--pk-r); }
.shop-cart__item,
.shop-cart__summary,
.shop-checkout__box { border-radius: var(--pk-r); }

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

/* -------------------------------------------------------------------------
   13. Motion preferences
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .cms-btn,
    .pk-link::after,
    .pk-card__img,
    .pk-card__arrow,
    .pk-pick__img,
    .pk-body :is(.shop-tile--tile, .shop-tile--compact) .shop-tile__img { transition: none; animation: none; }
    .pk-card:hover .pk-card__img,
    .pk-pick__pic:hover .pk-pick__img,
    .shop-categories-block .shop-tile:hover .shop-tile__img { transform: none; }
    .pk-spread__folio { animation: none; translate: none; }
}
