/* =========================================================================
   «Шеф Про» — professional kitchen equipment, B2B.

   Stainless steel: brushed light-grey plates, graphite panels, one fiery
   orange accent. Condensed capitals for headings and figures, a text face
   for reading, dense spec-sheet layout. Loaded after the parent's theme,
   blocks and chrome styles and after the modules' styles; it remaps the
   parent's tokens, then dresses the chrome, the shop and its own blocks.

   1. Fonts   2. Design settings   3. Tokens   4. Base   5. Header
   6. Footer   7. Shared blocks   8. Own blocks   9. Shop   10. Variants
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Fonts — Roboto Condensed and Oswald ship with the template (OFL,
   licences in assets/fonts); Onest, Inter and Manrope are the parent's.
   ------------------------------------------------------------------------- */
@font-face {
    font-family: 'Shefpro Condensed';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(../fonts/roboto-condensed-cyrillic-wght-normal.woff2) format('woff2-variations');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Shefpro Condensed';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(../fonts/roboto-condensed-latin-wght-normal.woff2) format('woff2-variations');
    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: 'Shefpro Oswald';
    font-style: normal;
    font-display: swap;
    font-weight: 200 700;
    src: url(../fonts/oswald-cyrillic-wght-normal.woff2) format('woff2-variations');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Shefpro Oswald';
    font-style: normal;
    font-display: swap;
    font-weight: 200 700;
    src: url(../fonts/oswald-latin-wght-normal.woff2) format('woff2-variations');
    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: 'Shefpro Onest';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(/themes/default/assets/fonts/onest-cyrillic-wght-normal.woff2) format('woff2-variations');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Shefpro Onest';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(/themes/default/assets/fonts/onest-latin-wght-normal.woff2) format('woff2-variations');
    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: 'Shefpro Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url(/themes/default/assets/fonts/manrope-cyrillic-wght-normal.woff2) format('woff2-variations');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Shefpro Manrope';
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url(/themes/default/assets/fonts/manrope-latin-wght-normal.woff2) format('woff2-variations');
    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: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(/themes/default/assets/fonts/inter-cyrillic-wght-normal.woff2) format('woff2-variations');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(/themes/default/assets/fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
    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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* -------------------------------------------------------------------------
   2. The owner's design settings (theme.json → design.controls). Core
   prints the chosen values as :root{--shefpro-…} after this file, so these
   are only the defaults; the tokens below derive from them.
   ------------------------------------------------------------------------- */
:root {
    --shefpro-accent: #e4531b;
    --shefpro-font-display: 'Shefpro Condensed', 'Arial Narrow', system-ui, sans-serif;
    --shefpro-font-text: 'Shefpro Onest', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --shefpro-font-figures: 'Shefpro Condensed', 'Arial Narrow', system-ui, sans-serif;
    --shefpro-radius: 2px;
}

/* -------------------------------------------------------------------------
   3. Tokens
   ------------------------------------------------------------------------- */
html.shefpro {
    /* steel — «brushed» by default; the tone variants are in section 10 */
    --sp-page: #eceef0;
    --sp-plate: #f7f8f9;
    --sp-sunk: #e2e5e8;
    --sp-line: #cfd4d9;
    --sp-line-2: #b3bac2;
    --sp-ink: #1c2025;
    --sp-ink-2: #4f5761;
    --sp-ink-3: #6e7680;
    --sp-graphite: #24282d;
    --sp-graphite-2: #2f343a;
    --sp-graphite-3: #3b4148;
    --sp-graphite-line: rgba(255, 255, 255, 0.12);
    --sp-steel-hi: #f4f5f6;
    --sp-steel-lo: #d3d7dc;
    --sp-fire: var(--shefpro-accent);
    --sp-fire-deep: color-mix(in srgb, var(--sp-fire) 82%, #000);
    --sp-fire-soft: color-mix(in srgb, var(--sp-fire) 12%, #fff);
    --sp-fire-text: color-mix(in srgb, var(--sp-fire) 78%, #000);
    --sp-ok: #1f7a45;
    --sp-r: var(--shefpro-radius);
    --sp-gap: 1rem;
    --sp-pad: clamp(1rem, 0.7rem + 1vw, 1.5rem);

    --sp-brushed:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 1px, rgba(0, 0, 0, 0.018) 1px 2px, transparent 2px 4px),
        linear-gradient(180deg, var(--sp-steel-hi) 0%, var(--sp-steel-lo) 100%);
    --sp-brushed-dark:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px),
        linear-gradient(180deg, var(--sp-graphite-2) 0%, var(--sp-graphite) 100%);

    /* the parent's tokens */
    --paper: var(--sp-page);
    --c-bg: var(--sp-page);
    --c-surface: #fff;
    --c-surface-sunk: var(--sp-sunk);
    --c-text: var(--sp-ink);
    --c-text-strong: #111418;
    --c-text-muted: var(--sp-ink-2);
    --c-text-faint: var(--sp-ink-3);
    --c-border: var(--sp-line);
    --c-border-strong: var(--sp-line-2);
    --c-accent: var(--sp-fire);
    --c-accent-hover: var(--sp-fire-deep);
    --c-accent-soft: var(--sp-fire-soft);
    --c-accent-contrast: #fff;
    --c-link: var(--sp-fire-text);
    --c-link-hover: var(--sp-fire-deep);
    --c-mark: var(--sp-fire);
    --c-mark-text: var(--sp-fire-text);
    --c-mark-soft: var(--sp-fire-soft);
    --c-slab: var(--sp-graphite);
    --c-slab-text: #eef0f2;
    --c-slab-muted: #a9b0b8;
    --c-success: var(--sp-ok);

    --font-ui: var(--shefpro-font-text);
    --font-display: var(--shefpro-font-display);
    --font-prose: var(--shefpro-font-text);
    --fw-heading: 700;
    --tr-tight: 0;
    --tr-snug: 0;

    --r-xs: calc(var(--sp-r) * 0.5);
    --r-sm: var(--sp-r);
    --r-md: calc(var(--sp-r) * 1.5);
    --r-lg: calc(var(--sp-r) * 2);
    --r-btn: var(--sp-r);
    --card-radius: var(--sp-r);
    --card-bg: #fff;
    --card-border: 1px solid var(--sp-line);
    --card-shadow: none;
    --shadow-lift: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 14px 30px -18px rgba(20, 24, 29, 0.45);

    --w-container: 76rem;
    --w-wide: 86rem;
    --sp-xs: 1.25rem;
    --sp-sm: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
    --sp-md: clamp(2.75rem, 2rem + 3vw, 4rem);
    --sp-lg: clamp(3.5rem, 2.5rem + 4.5vw, 5.5rem);
}

/* -------------------------------------------------------------------------
   4. Base
   ------------------------------------------------------------------------- */
html.shefpro body {
    background: var(--sp-page);
    color: var(--sp-ink);
    font-family: var(--shefpro-font-text);
    font-feature-settings: 'tnum' 0;
}

.sp-wrap {
    width: min(100% - 2 * var(--gutter), var(--w-wide));
    margin-inline: auto;
}

html.shefpro :is(h1, h2, h3, h4),
html.shefpro .cms-section__title {
    font-family: var(--shefpro-font-display);
    font-weight: 700;
    letter-spacing: 0.005em;
    line-height: 1.1;
    color: var(--c-text-strong);
}

html[data-shefpro-caps="on"] :is(.cms-section__title, .sp-hero__title, .shop-product__title, .entry-title, .page-title, .shop-category__title, .shop-head__title, h1) {
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

/* Section heads: a flame bar on the left, the title in condensed capitals,
   the subtitle muted beside it on wide screens. */
html.shefpro .cms-section__head--left {
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--sp-fire);
    margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem);
}
html.shefpro .cms-section__title {
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
}
html.shefpro .cms-section__subtitle {
    color: var(--sp-ink-2);
    max-width: 48rem;
    margin-top: 0.4rem;
}
html.shefpro .cms-tone-dark .cms-section__title { color: #fff; }
html.shefpro .cms-tone-dark .cms-section__subtitle { color: #b9c0c7; }
html.shefpro .cms-tone-dark {
    --section-bg: var(--sp-graphite);
    background: var(--sp-brushed-dark);
}

html.shefpro a { text-underline-offset: 0.18em; }
html.shefpro :focus-visible {
    outline: 2px solid var(--sp-fire);
    outline-offset: 2px;
}

/* Buttons: rectangular, condensed capitals. */
html.shefpro .cms-btn,
.sp-btn {
    font-family: var(--shefpro-font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--sp-r);
}
.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0.7rem 1.4rem;
    font-size: 0.98rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.sp-btn .cms-icon { width: 1.1em; height: 1.1em; }
.sp-btn--fire { background: var(--sp-fire); color: #fff; }
.sp-btn--fire:hover { background: var(--sp-fire-deep); color: #fff; }
.sp-btn--line { border-color: currentColor; color: var(--sp-ink); background: transparent; }
.sp-btn--line:hover { background: var(--sp-ink); color: #fff; border-color: var(--sp-ink); }
html.shefpro .cms-btn--primary { background: var(--sp-fire); border-color: var(--sp-fire); color: #fff; }
html.shefpro .cms-btn--primary:hover { background: var(--sp-fire-deep); border-color: var(--sp-fire-deep); }

.sp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.9rem;
    font-family: var(--shefpro-font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sp-fire-text);
}
.sp-eyebrow::before {
    content: '';
    width: 1.75rem;
    height: 3px;
    background: var(--sp-fire);
}

/* A brushed plate and its screw heads. */
.sp-steel {
    position: relative;
    background: var(--sp-brushed);
    border: 1px solid var(--sp-line-2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 -1px 0 rgba(0, 0, 0, 0.06) inset;
}
.sp-screw {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff 0 18%, #b5bcc4 45%, #7e868f 100%);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}
.sp-screw::after {
    content: '';
    position: absolute;
    inset: 4px 1px auto;
    height: 1px;
    background: rgba(0, 0, 0, 0.35);
    transform: rotate(-35deg);
}
.sp-screw--tl { top: 10px; left: 10px; }
.sp-screw--tr { top: 10px; right: 10px; }
.sp-screw--bl { bottom: 10px; left: 10px; }
.sp-screw--br { bottom: 10px; right: 10px; }

/* -------------------------------------------------------------------------
   5. Header
   ------------------------------------------------------------------------- */
.sp-hdr {
    position: relative;
    z-index: 40;
    background: var(--sp-page);
    border-bottom: 0;
    box-shadow: none;
}
html.shefpro .site-header--sticky.sp-hdr { position: sticky; top: 0; }

/* B2B line */
.sp-top {
    background: var(--sp-graphite);
    color: #c9cfd5;
    font-size: 0.8125rem;
}
.sp-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 2.25rem;
}
.sp-top__zone { display: flex; align-items: center; gap: 1.5rem; min-width: 0; }
.sp-top .hdr-text { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.sp-top .hdr-text .cms-icon { width: 15px; height: 15px; color: var(--sp-fire); }
.sp-top .hdr-links { display: flex; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.sp-top a { color: #e6e9ec; text-decoration: none; }
.sp-top a:hover { color: #fff; text-decoration: underline; }
.sp-top .hdr-phone { display: flex; align-items: baseline; gap: 0.5rem; }
.sp-top .hdr-phone__number {
    font-family: var(--shefpro-font-figures);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}
.sp-top .hdr-phone__caption { color: #9aa2ab; font-size: 0.75rem; }
.sp-top .hdr-phone__icon { display: none; }

/* command row */
.sp-main {
    background: var(--sp-brushed);
    border-bottom: 1px solid var(--sp-line-2);
}
.sp-main__inner {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 0.4rem + 1vw, 1.5rem);
    min-height: 4.5rem;
}
.sp-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sp-ink);
    text-decoration: none;
    flex: none;
}
.sp-logo__img { height: var(--logo-h, 40px); width: auto; }
.sp-logo__plate {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    color: #fff;
    background: var(--sp-fire);
    border-radius: var(--sp-r);
    box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.18) inset;
}
.sp-mark { width: 1.9rem; height: 1.9rem; }
.sp-logo__text { display: grid; line-height: 1; }
.sp-logo__name {
    font-family: var(--shefpro-font-display);
    font-size: 1.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.sp-logo__tagline {
    margin-top: 0.3rem;
    font-size: 0.72rem;
    color: var(--sp-ink-2);
    letter-spacing: 0.02em;
}

.sp-catbtn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.9rem;
    padding: 0 1.1rem;
    border: 0;
    border-radius: var(--sp-r);
    background: var(--sp-fire);
    color: #fff;
    font-family: var(--shefpro-font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 -3px 0 rgba(0, 0, 0, 0.16) inset;
}
.sp-catbtn:hover { background: var(--sp-fire-deep); }
.sp-catbtn__grid { display: grid; grid-template-columns: repeat(2, 6px); gap: 3px; }
.sp-catbtn__grid span { width: 6px; height: 6px; background: currentColor; }

.sp-main__center { flex: 1 1 auto; min-width: 0; }
.sp-main__center .hdr-el { width: 100%; }
.sp-main__right { display: flex; align-items: center; gap: 0.35rem; flex: none; }
.sp-main .hdr-actions:empty { display: none; }

/* the shop's search and icons on steel */
.sp-main :is(input[type="search"], .shop-search__input) {
    min-height: 2.9rem;
    border: 1px solid var(--sp-line-2);
    border-radius: var(--sp-r);
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) inset;
}
.sp-main :is(.hdr-icon-btn, .shop-hdr-btn, .shop-cart-btn) { color: var(--sp-ink); }

/* menu bar */
.sp-bar {
    background: #fff;
    border-bottom: 1px solid var(--sp-line);
}
.sp-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3rem;
}
.sp-bar__zone { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.sp-bar__zone--left { flex: 1 1 auto; }
.sp-bar .hdr-nav { width: 100%; }
.sp-bar .hdr-nav__list { gap: 0; }
.sp-bar .hdr-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 3rem;
    padding: 0 0.85rem;
    font-family: var(--shefpro-font-display);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sp-ink);
    border-radius: 0;
}
.sp-bar .hdr-nav__link .cms-icon { width: 17px; height: 17px; color: var(--sp-ink-3); }
.sp-bar .hdr-nav__link::after {
    content: '';
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0;
    height: 3px;
    background: var(--sp-fire);
    transform: scaleX(0);
    transition: transform var(--dur) var(--ease);
}
.sp-bar .hdr-nav__link:hover::after,
.sp-bar .hdr-nav__link.is-active::after { transform: scaleX(1); }
.sp-bar .hdr-nav__item--highlight .hdr-nav__link { color: var(--sp-fire-text); }
.sp-bar .hdr-nav__item--highlight .hdr-nav__link .cms-icon { color: var(--sp-fire); }
.sp-bar .hdr-sub {
    border-radius: 0 0 var(--sp-r) var(--sp-r);
    border: 1px solid var(--sp-line);
    border-top: 3px solid var(--sp-fire);
    box-shadow: var(--shadow-lift);
}
.sp-bar .hdr-button .cms-btn,
.sp-bar .cms-btn {
    min-height: 2.4rem;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

/* catalogue index */
.sp-index {
    inset: 0 0 auto;
    width: 100%;
    max-width: none;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: auto;
    border: 0;
    border-bottom: 4px solid var(--sp-fire);
    background: var(--sp-plate);
    color: var(--sp-ink);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.sp-index::backdrop { background: rgba(20, 24, 29, 0.55); }
.sp-index__inner { padding-block: 1.25rem 2rem; }
.sp-index__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.9rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--sp-line);
}
.sp-index__title {
    margin: 0;
    font-family: var(--shefpro-font-display);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}
.sp-index__close {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--sp-line-2);
    border-radius: var(--sp-r);
    background: #fff;
    cursor: pointer;
}
.sp-index__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 0 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sp-index__item { padding: 0.9rem 0; border-bottom: 1px dashed var(--sp-line-2); }
.sp-index__link {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    color: var(--sp-ink);
    text-decoration: none;
}
.sp-index__num {
    font-family: var(--shefpro-font-figures);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--sp-fire);
    line-height: 1;
}
.sp-index__label {
    flex: 1;
    font-family: var(--shefpro-font-display);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
}
.sp-index__link .cms-icon { width: 18px; height: 18px; color: var(--sp-ink-3); }
.sp-index__link:hover .sp-index__label { color: var(--sp-fire-text); }
.sp-index__sub {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
    margin: 0.5rem 0 0 2.6rem;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
}
.sp-index__sub a { color: var(--sp-ink-2); text-decoration: none; }
.sp-index__sub a:hover { color: var(--sp-fire-text); text-decoration: underline; }

.sp-burger { display: none; }
.sp-drawer .sp-logo__name { font-size: 1.25rem; }

@media (max-width: 600px) {
    .sp-main__right > .hdr-el:not(.hdr-el--mobile) { display: none; }
    .sp-main__inner { gap: 0.6rem; }
    .sp-zone__title { overflow-wrap: anywhere; hyphens: auto; }
}
@media (max-width: 1100px) {
    .sp-top__zone--left .hdr-text:nth-child(n + 3) { display: none; }
    .sp-logo__tagline { display: none; }
}
@media (max-width: 900px) {
    .sp-top { display: none; }
    .sp-bar { display: none; }
    .sp-burger { display: inline-grid; }
    .sp-catbtn__label { display: none; }
    .sp-catbtn { padding: 0 0.85rem; }
    .sp-main__inner { min-height: 3.75rem; flex-wrap: wrap; }
    .sp-logo__name { font-size: 1.3rem; }
    .sp-logo__plate { width: 2.4rem; height: 2.4rem; }
    .sp-main__center { order: 5; flex-basis: 100%; padding-bottom: 0.6rem; }
    .sp-main__center:empty { display: none; }
    .sp-main__right { margin-left: auto; }
}

/* -------------------------------------------------------------------------
   6. Footer
   ------------------------------------------------------------------------- */
.sp-ftr {
    margin-top: var(--sp-md);
    background: var(--sp-sunk);
    color: var(--sp-ink);
    border-top: 4px solid var(--sp-fire);
}
.sp-ftr__band { background: var(--sp-brushed-dark); color: #eef0f2; }
.sp-ftr__band-inner {
    display: grid;
    grid-template-columns: 1fr minmax(0, 28rem);
    gap: 2rem;
    align-items: center;
    padding-block: 2rem;
}
.sp-ftr__band-title { color: #fff; font-size: 1.6rem; text-transform: uppercase; margin: 0; }
.sp-ftr__band-lead { color: #b9c0c7; margin: 0.5rem 0 0; }

.sp-ftr__plate {
    position: relative;
    margin-block: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    background: var(--sp-brushed);
    border: 1px solid var(--sp-line-2);
    border-radius: var(--sp-r);
}
.sp-ftr__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(10rem, 1fr));
    gap: 2rem;
}
.sp-ftr__title {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0 0 0.9rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.sp-ftr__num {
    font-family: var(--shefpro-font-figures);
    font-size: 0.85rem;
    color: var(--sp-fire);
}
.sp-ftr__about { color: var(--sp-ink-2); font-size: 0.92rem; max-width: 26rem; margin: 1rem 0; }
.sp-logo--ftr .sp-logo__name { font-size: 1.4rem; }
.sp-ftr__menu { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; font-size: 0.92rem; }
.sp-ftr a { color: var(--sp-ink); text-decoration: none; }
.sp-ftr a:hover { color: var(--sp-fire-text); text-decoration: underline; }
.sp-ftr__menu a.is-hot { color: var(--sp-fire-text); font-weight: 600; }
.sp-ftr__contacts { font-style: normal; display: grid; gap: 0.5rem; font-size: 0.92rem; }
.sp-ftr__contacts p { margin: 0; }
.sp-ftr__phone a {
    font-family: var(--shefpro-font-figures);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.sp-ftr__phone span { display: block; font-size: 0.78rem; color: var(--sp-ink-3); }
.sp-ftr__line { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--sp-ink-2); }
.sp-ftr__line .cms-icon { width: 16px; height: 16px; flex: none; margin-top: 0.2rem; color: var(--sp-fire); }
.sp-ftr__pay { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.sp-ftr__pay-item {
    padding: 0.3rem 0.55rem;
    border: 1px solid var(--sp-line-2);
    border-radius: var(--sp-r);
    background: #fff;
    font-family: var(--shefpro-font-figures);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}
.sp-ftr__bottom { background: var(--sp-graphite); color: #aab1b9; font-size: 0.82rem; }
.sp-ftr__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
    padding-block: 1rem;
}
.sp-ftr__bottom a { color: #d9dde1; }
.sp-ftr__copy, .sp-ftr__company { margin: 0; }
.sp-ftr__links { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.sp-ftr .site-footer__slot:empty { display: none; }

@media (max-width: 900px) {
    .sp-ftr__grid { grid-template-columns: 1fr 1fr; }
    .sp-ftr__col--about { grid-column: 1 / -1; }
    .sp-ftr__band-inner { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .sp-ftr__grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   7. Shared blocks
   ------------------------------------------------------------------------- */
/* FAQ: steel rows with a flame plus. */
html.shefpro .cms-block--faq details,
html.shefpro .faq__item {
    border-radius: var(--sp-r);
}
html.shefpro .cms-block--faq summary {
    font-family: var(--shefpro-font-display);
    font-size: 1.1rem;
    font-weight: 700;
}

/* features / steps / stats as spec cells */
html.shefpro .cms-block--features .feature,
html.shefpro .cms-block--features [class*="feature-card"] {
    border-radius: var(--sp-r);
}
html.shefpro .cms-block--stats [class*="value"] {
    font-family: var(--shefpro-font-figures);
    font-weight: 800;
    color: var(--sp-fire-text);
}

/* -------------------------------------------------------------------------
   8. Own blocks
   ------------------------------------------------------------------------- */
/* --- hero --- */
.sp-hero { padding-top: clamp(0.75rem, 0.5rem + 1vw, 1.5rem); }
.sp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 0;
    min-height: clamp(26rem, 20rem + 18vw, 36rem);
    border-radius: var(--sp-r);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
}
.sp-hero__plate {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.75rem, 1rem + 3.5vw, 4rem);
    border: 0;
    border-right: 1px solid var(--sp-line-2);
}
.sp-hero__title {
    margin: 0;
    font-size: clamp(1.8rem, 1.1rem + 2.2vw, 2.9rem);
    line-height: 1.04;
    color: var(--sp-ink);
    max-width: 20ch;
    hyphens: auto;
}
.sp-hero__lead {
    margin: 1.1rem 0 0;
    max-width: 34rem;
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
    color: var(--sp-ink-2);
}
.sp-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.sp-hero__media {
    position: relative;
    min-height: 18rem;
    background: var(--sp-graphite);
}
.sp-hero__media picture { position: absolute; inset: 0; }
.sp-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sp-hero--nophoto .sp-hero__media { background: var(--sp-brushed-dark); }
.sp-spectag {
    position: absolute;
    right: clamp(0.75rem, 0.5rem + 1.5vw, 2rem);
    bottom: clamp(0.75rem, 0.5rem + 1.5vw, 2rem);
    width: min(19rem, calc(100% - 1.5rem));
    padding: 1rem 1.1rem 1.1rem;
    background: var(--sp-brushed);
    border: 1px solid var(--sp-line-2);
    border-top: 4px solid var(--sp-fire);
    border-radius: var(--sp-r);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
}
.sp-spectag__title {
    margin: 0 0 0.6rem;
    font-family: var(--shefpro-font-display);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
}
.sp-spectag__title a { color: var(--sp-ink); text-decoration: none; }
.sp-spectag__title a:hover { color: var(--sp-fire-text); }
.sp-spectag__list { margin: 0; display: grid; font-size: 0.85rem; }
.sp-spectag__row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.3rem 0;
    border-bottom: 1px dotted var(--sp-line-2);
}
.sp-spectag__row dt { color: var(--sp-ink-2); }
.sp-spectag__row dd { margin: 0; font-family: var(--shefpro-font-figures); font-weight: 700; text-align: right; }
.sp-spectag__price {
    margin: 0.7rem 0 0;
    font-family: var(--shefpro-font-figures);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--sp-fire-text);
}
.sp-hero__figures {
    display: grid;
    grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--sp-graphite);
    color: #fff;
    border-radius: 0 0 var(--sp-r) var(--sp-r);
}
.sp-hero__figures--4 { --n: 4; } .sp-hero__figures--1 { --n: 1; } .sp-hero__figures--2 { --n: 2; } .sp-hero__figures--3 { --n: 3; }
.sp-hero__figure {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 1rem clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
    border-left: 1px solid var(--sp-graphite-line);
}
.sp-hero__figure:first-child { border-left: 0; }
.sp-hero__num {
    font-family: var(--shefpro-font-figures);
    font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.4rem);
    font-weight: 800;
    color: var(--sp-fire);
    line-height: 1;
    white-space: nowrap;
}
.sp-hero__cap { font-size: 0.85rem; color: #c3c9cf; line-height: 1.25; }
.sp-hero:has(.sp-hero__figures) .sp-hero__grid { border-radius: var(--sp-r) var(--sp-r) 0 0; }

@media (max-width: 900px) {
    .sp-hero__grid { grid-template-columns: 1fr; }
    .sp-hero__plate { border-right: 0; border-bottom: 1px solid var(--sp-line-2); }
    .sp-hero__media { min-height: 20rem; }
    .sp-hero__figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sp-hero__figure:nth-child(3) { border-left: 0; }
    .sp-hero__figure:nth-child(n + 3) { border-top: 1px solid var(--sp-graphite-line); }
    .sp-hero__figure { flex-direction: column; gap: 0.25rem; }
}
@media (max-width: 520px) {
    .sp-spectag { position: relative; right: auto; bottom: auto; width: auto; margin: 12rem 0.75rem 0.75rem; }
    .sp-hero__media { min-height: 0; }
}

/* --- zones --- */
.sp-zones__list {
    display: grid;
    grid-template-columns: repeat(var(--sp-cols, 4), minmax(0, 1fr));
    gap: var(--sp-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}
.sp-zones--3 .sp-zones__list { --sp-cols: 3; }
.sp-zone {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-r);
    overflow: hidden;
    transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.sp-zone:hover { border-color: var(--sp-fire); }
.sp-zone__pic {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--sp-brushed);
    border-bottom: 3px solid var(--sp-graphite);
}
.sp-zone__pic :is(picture, img) { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.sp-zone__img { object-fit: cover; }
.sp-zone__num {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 0.35rem 0.7rem 0.2rem;
    background: var(--sp-graphite);
    color: var(--sp-fire);
    font-family: var(--shefpro-font-figures);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}
.sp-zone__body { flex: 1; padding: 1rem 1.1rem 1.2rem; }
.sp-zone__title { margin: 0; font-size: 1.3rem; text-transform: uppercase; }
.sp-zone__link { color: inherit; text-decoration: none; }
.sp-zone__link::after { content: ''; position: absolute; inset: 0; }
.sp-zone__text { margin: 0.45rem 0 0; color: var(--sp-ink-2); font-size: 0.92rem; }
.sp-zone__meta {
    margin: 0.75rem 0 0;
    padding-top: 0.6rem;
    border-top: 1px dashed var(--sp-line-2);
    font-size: 0.8rem;
    color: var(--sp-ink-3);
}
.sp-zone__go {
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    background: var(--sp-fire);
    color: #fff;
    border-radius: var(--sp-r);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.sp-zone:hover .sp-zone__go { opacity: 1; transform: none; }
@media (max-width: 1000px) { .sp-zones__list { --sp-cols: 2; } }
@media (max-width: 520px) {
    .sp-zones__list { --sp-cols: 1; }
    .sp-zone { flex-direction: row; }
    .sp-zone__pic { width: 38%; flex: none; aspect-ratio: auto; border-bottom: 0; border-right: 3px solid var(--sp-graphite); }
    .sp-zone__num { font-size: 1.3rem; }
    .sp-zone__body { padding: 0.8rem; }
    .sp-zone__title { font-size: 1.1rem; }
    .sp-zone__meta { display: none; }
}

/* --- business prices --- */
.sp-horeca {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 1rem + 3vw, 4rem);
    align-items: center;
}
.sp-horeca .sp-eyebrow { color: var(--sp-fire); }
.sp-horeca__text { color: #c9cfd5; max-width: 34rem; margin-bottom: 1.5rem; }
.sp-horeca__text p { margin: 0 0 0.75rem; }
.sp-levels { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sp-graphite-line); }
.sp-level {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.2rem 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--sp-graphite-line);
    color: #eef0f2;
}
.sp-level.is-hot {
    background: color-mix(in srgb, var(--sp-fire) 18%, transparent);
    border-left: 4px solid var(--sp-fire);
}
.sp-level__who {
    font-family: var(--shefpro-font-display);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
}
.sp-level__val {
    grid-row: span 2;
    align-self: center;
    font-family: var(--shefpro-font-figures);
    font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
    font-weight: 800;
    color: #fff;
    text-align: right;
}
.sp-level.is-hot .sp-level__val { color: var(--sp-fire); }
.sp-level__note { font-size: 0.85rem; color: #aab1b9; }
.sp-horeca__note { margin: 0.8rem 0 0; font-size: 0.82rem; color: #9aa2ab; }
@media (max-width: 900px) { .sp-horeca { grid-template-columns: 1fr; } }

/* --- kitchen project --- */
.sp-project {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    border-radius: var(--sp-r);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
}
.sp-project--noform { grid-template-columns: 1fr; }
.sp-project__plan {
    padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
    color: #dfe3e7;
    background:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 120px 120px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 120px 120px,
        var(--sp-graphite);
}
.sp-project__plan .sp-eyebrow { color: var(--sp-fire); }
.sp-project__text { margin: 0 0 1.5rem; max-width: 36rem; color: #c9cfd5; }
.sp-steps { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.sp-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    padding: 0.9rem 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
}
.sp-step__num {
    font-family: var(--shefpro-font-figures);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--sp-fire);
    line-height: 1;
}
.sp-step__title {
    margin: 0;
    font-family: var(--shefpro-font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}
.sp-step__text { margin: 0.25rem 0 0; font-size: 0.9rem; color: #aeb5bd; }
.sp-step__term {
    padding: 0.25rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--sp-r);
    font-family: var(--shefpro-font-figures);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    color: #fff;
}
.sp-project__form {
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    border: 0;
    border-left: 4px solid var(--sp-fire);
}
.sp-project__form-title {
    margin: 0 0 1rem;
    font-family: var(--shefpro-font-display);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}
.sp-project__note { margin: 0.9rem 0 0; font-size: 0.82rem; color: var(--sp-ink-2); }
.sp-project__form :is(input, select, textarea) { background: #fff; border-radius: var(--sp-r); }
@media (max-width: 900px) {
    .sp-project { grid-template-columns: 1fr; }
    .sp-project__form { border-left: 0; border-top: 4px solid var(--sp-fire); }
}
@media (max-width: 520px) {
    .sp-step { grid-template-columns: auto minmax(0, 1fr); }
    .sp-step__term { grid-column: 2; justify-self: start; }
}

/* --- service tickets --- */
.sp-tickets {
    display: grid;
    grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
    gap: var(--sp-gap);
}
.sp-tickets--1 { --n: 1; } .sp-tickets--2 { --n: 2; } .sp-tickets--3 { --n: 3; } .sp-tickets--4 { --n: 4; }
.sp-ticket {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.3rem 1.3rem 0;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-r);
}
.sp-ticket__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.sp-ticket__icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    background: var(--sp-brushed);
    border: 1px solid var(--sp-line-2);
    border-radius: var(--sp-r);
    color: var(--sp-fire);
}
.sp-ticket__icon .cms-icon { width: 1.5rem; height: 1.5rem; }
.sp-ticket__num {
    font-family: var(--shefpro-font-figures);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--sp-sunk);
    line-height: 0.9;
    -webkit-text-stroke: 1px var(--sp-line-2);
}
.sp-ticket__title { margin: 0; font-size: 1.3rem; text-transform: uppercase; }
.sp-ticket__text { flex: 1; margin: 0.5rem 0 1.2rem; color: var(--sp-ink-2); font-size: 0.93rem; }
.sp-ticket__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin: 0 -1.3rem;
    padding: 0.85rem 1.3rem;
    border-top: 2px dashed var(--sp-line-2);
    background: var(--sp-plate);
}
.sp-ticket__price {
    font-family: var(--shefpro-font-figures);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--sp-fire-text);
}
.sp-ticket__term {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--sp-ink-2);
}
.sp-ticket__term .cms-icon { width: 15px; height: 15px; }
.sp-ticket__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: auto;
    font-weight: 600;
    font-size: 0.9rem;
}
.sp-ticket__link .cms-icon { width: 15px; height: 15px; }
@media (max-width: 1000px) { .sp-tickets { --n: 2; } }
@media (max-width: 640px) { .sp-tickets { --n: 1; } }

/* --- clients --- */
.sp-clients__wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--sp-line-2);
    border-left: 1px solid var(--sp-line-2);
}
.sp-client {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.3rem 1.2rem;
    border-right: 1px solid var(--sp-line-2);
    border-bottom: 1px solid var(--sp-line-2);
    background: var(--sp-plate);
}
.sp-client__name {
    margin: 0;
    font-family: var(--shefpro-font-display);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--sp-ink);
    line-height: 1.05;
}
.sp-client__logo { max-height: 2.5rem; width: auto; }
.sp-client__kind { margin: 0; font-size: 0.82rem; color: var(--sp-ink-3); }
.sp-client__fig { margin: auto 0 0; padding-top: 0.8rem; display: flex; flex-direction: column; gap: 0.15rem; }
.sp-client__num {
    font-family: var(--shefpro-font-figures);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--sp-fire-text);
    white-space: nowrap;
}
.sp-client__cap { font-size: 0.82rem; color: var(--sp-ink-2); line-height: 1.2; }
.sp-clients__note { margin: 0.8rem 0 0; font-size: 0.82rem; color: var(--sp-ink-3); }

/* --- certificates --- */
.sp-certs__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: var(--sp-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}
.sp-cert {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1.2rem 1.2rem;
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-r);
    box-shadow: 4px 4px 0 var(--sp-sunk), 5px 5px 0 var(--sp-line);
}
.sp-cert::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2.2rem;
    height: 2.2rem;
    background: linear-gradient(225deg, var(--sp-fire) 0 50%, transparent 50%);
}
.sp-cert__kind {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sp-fire-text);
}
.sp-cert__title { margin: 0 0 1rem; font-size: 1.15rem; line-height: 1.2; text-transform: none; }
.sp-cert__link { color: var(--sp-ink); text-decoration: none; }
.sp-cert__link::after { content: ''; position: absolute; inset: 0; }
.sp-cert__link:hover { color: var(--sp-fire-text); }
.sp-cert__meta { margin: auto 0 0; display: grid; gap: 0.3rem; font-size: 0.8rem; }
.sp-cert__meta div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.5rem; border-top: 1px dotted var(--sp-line-2); padding-top: 0.3rem; }
.sp-cert__meta dt { color: var(--sp-ink-3); }
.sp-cert__meta dd { margin: 0; font-family: var(--shefpro-font-figures); font-weight: 600; overflow-wrap: anywhere; }
.sp-cert__open { position: absolute; right: 0.8rem; bottom: 0.8rem; color: var(--sp-ink-3); }
.sp-certs__note { margin: 1rem 0 0; font-size: 0.82rem; color: var(--sp-ink-3); }

/* -------------------------------------------------------------------------
   9. Shop
   ------------------------------------------------------------------------- */
/* prices and figures */
html.shefpro :is(.shop-price__value, .shop-price__now, .shop-table__price, .shop-price__old, .shop-cart__total, .shop-product__price) {
    font-family: var(--shefpro-font-figures);
    letter-spacing: 0.01em;
}
html.shefpro .shop-price__value { font-weight: 800; }
html.shefpro .shop-price__off {
    background: var(--sp-fire);
    color: #fff;
    border-radius: var(--sp-r);
    font-family: var(--shefpro-font-figures);
}

/* the business group's price under the retail one */
.sp-gp {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    line-height: 1.2;
}
.sp-gp__label { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--sp-ink-2); }
.sp-gp__label .cms-icon { width: 14px; height: 14px; color: var(--sp-fire); }
.sp-gp__value { font-family: var(--shefpro-font-figures); font-weight: 800; font-size: 1rem; color: var(--sp-ink); }
.sp-gp__off {
    padding: 0.05rem 0.35rem;
    border: 1px solid var(--sp-fire);
    border-radius: var(--sp-r);
    color: var(--sp-fire-text);
    font-family: var(--shefpro-font-figures);
    font-weight: 700;
    font-size: 0.75rem;
}
.sp-gp--xs { font-size: 0.72rem; }
.sp-gp--xs .sp-gp__value { font-size: 0.9rem; }
.sp-gp--lg {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem 1rem;
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    border: 1px solid var(--sp-line-2);
    border-left: 4px solid var(--sp-fire);
    border-radius: var(--sp-r);
    background: var(--sp-brushed);
    font-size: 0.9rem;
}
.sp-gp--lg .sp-gp__label { grid-column: 1 / -1; font-family: var(--shefpro-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--sp-ink); }
.sp-gp--lg .sp-gp__value { font-size: 1.6rem; }
.sp-gp--lg .sp-gp__off { justify-self: start; align-self: center; font-size: 0.9rem; }
.sp-gp--lg .sp-gp__join { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 600; }
.sp-gp--lg .sp-gp__join .cms-icon { width: 15px; height: 15px; }

/* cards: an equipment nameplate */
html.shefpro .shop-card {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-r);
    box-shadow: none;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
html.shefpro .shop-card:hover { border-color: var(--sp-line-2); box-shadow: var(--shadow-lift); }
html.shefpro .shop-card__media {
    background: linear-gradient(180deg, #f7f8f9, #e8ebee);
    border-bottom: 1px solid var(--sp-line);
    border-radius: var(--sp-r) var(--sp-r) 0 0;
}
html.shefpro .shop-card__img { mix-blend-mode: multiply; }
html.shefpro .shop-card__brand {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sp-fire-text);
}
html.shefpro .shop-card__title { font-family: var(--shefpro-font-text); font-size: 0.98rem; font-weight: 600; line-height: 1.3; text-transform: none; }
html.shefpro .shop-card__link { color: var(--sp-ink); }
html.shefpro .shop-card__sku { font-family: var(--shefpro-font-figures); font-size: 0.78rem; color: var(--sp-ink-3); }
html.shefpro .shop-card__specs {
    display: grid;
    gap: 0;
    margin: 0.6rem 0;
    border-top: 1px solid var(--sp-line);
    font-size: 0.8rem;
}
html.shefpro .shop-card__spec {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.3rem 0;
    border-bottom: 1px dotted var(--sp-line-2);
}
html.shefpro .shop-card__spec dt { color: var(--sp-ink-3); }
html.shefpro .shop-card__spec dd { margin: 0; font-family: var(--shefpro-font-figures); font-weight: 700; text-align: right; }
html.shefpro .shop-card__foot { border-top: 0; }
html.shefpro .shop-card .cms-btn { font-size: 0.82rem; }
html.shefpro .shop-sticker { border-radius: var(--sp-r); font-family: var(--shefpro-font-display); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
html.shefpro .shop-sticker--hit { background: var(--sp-fire); color: #fff; }
html.shefpro .shop-sticker--new { background: var(--sp-graphite); color: #fff; }

/* the table view: a spec sheet */
html.shefpro .shop-table {
    background: #fff;
    border: 1px solid var(--sp-line-2);
    border-radius: var(--sp-r);
    font-size: 0.88rem;
}
html.shefpro .shop-table thead th {
    background: var(--sp-graphite);
    color: #e6e9ec;
    font-family: var(--shefpro-font-display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 0;
}
html.shefpro .shop-table__row:nth-child(even) { background: var(--sp-plate); }
html.shefpro .shop-table__row:hover { background: var(--sp-fire-soft); }
html.shefpro .shop-table__spec { font-family: var(--shefpro-font-figures); font-weight: 600; }
html.shefpro .shop-table__link { color: var(--sp-ink); font-weight: 600; }
html.shefpro .shop-table__sku { font-family: var(--shefpro-font-figures); color: var(--sp-ink-3); }

/* listing chrome */
html.shefpro :is(.shop-toolbar, .shop-listing__bar) { border-radius: var(--sp-r); }
html.shefpro :is(.shop-view__btn, .shop-view button, .shop-sort select) { border-radius: var(--sp-r); }
html.shefpro .shop-filter { border-radius: var(--sp-r); }
html.shefpro :is(.shop-filter__title, .shop-facet__title, .shop-facet summary) {
    font-family: var(--shefpro-font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
html.shefpro :is(.shop-cats__item, .shop-subcats a, .shop-category-tile) { border-radius: var(--sp-r); }

/* product page */
html.shefpro .shop-product__title { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.6rem); line-height: 1.05; }
html.shefpro .shop-keyspecs {
    background: var(--sp-plate);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-r);
    padding: 1rem 1.1rem;
}
html.shefpro .shop-keyspecs__title { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
html.shefpro .shop-keyspecs__row dd,
html.shefpro .shop-specs dd { font-family: var(--shefpro-font-figures); font-weight: 600; }
html.shefpro .shop-pros__item .cms-icon { color: var(--sp-fire); }
html.shefpro .shop-buybox { border-radius: var(--sp-r); }

/* -------------------------------------------------------------------------
   10. Variants (design settings)
   ------------------------------------------------------------------------- */
html[data-shefpro-steel="cool"] {
    --sp-page: #e8edf1;
    --sp-plate: #f5f8fa;
    --sp-sunk: #dde4ea;
    --sp-line: #c9d3db;
    --sp-line-2: #aab7c2;
    --sp-graphite: #1d2630;
    --sp-graphite-2: #28323d;
    --sp-graphite-3: #36414d;
    --sp-steel-hi: #f3f6f8;
    --sp-steel-lo: #cdd6de;
}
html[data-shefpro-steel="warm"] {
    --sp-page: #eeece9;
    --sp-plate: #f8f7f5;
    --sp-sunk: #e4e0db;
    --sp-line: #d4cec6;
    --sp-line-2: #b8b0a6;
    --sp-graphite: #2a2622;
    --sp-graphite-2: #35302b;
    --sp-graphite-3: #433d37;
    --sp-steel-hi: #f5f3f0;
    --sp-steel-lo: #d8d2ca;
}

html[data-shefpro-header="dark"] .sp-main { background: var(--sp-brushed-dark); border-bottom-color: #000; }
html[data-shefpro-header="dark"] .sp-logo { color: #fff; }
html[data-shefpro-header="dark"] .sp-logo__tagline { color: #a9b0b8; }
html[data-shefpro-header="dark"] .sp-main :is(.hdr-icon-btn, .shop-hdr-btn, .shop-cart-btn, .hdr-el) { color: #eef0f2; }
html[data-shefpro-header="dark"] .sp-bar { background: var(--sp-graphite-2); border-bottom-color: #000; }
html[data-shefpro-header="dark"] .sp-bar .hdr-nav__link { color: #eef0f2; }
html[data-shefpro-header="white"] .sp-main { background: #fff; }
html[data-shefpro-header="white"] .sp-bar { background: var(--sp-plate); }

html[data-shefpro-topbar="off"] .sp-top { display: none; }

html[data-shefpro-cards="clean"] .shop-card { border-color: transparent; background: transparent; }
html[data-shefpro-cards="clean"] .shop-card:hover { background: #fff; }
html[data-shefpro-cards="clean"] .shop-card__media { border-radius: var(--sp-r); border-bottom: 0; }
html[data-shefpro-cards="clean"] .shop-card__specs { display: none; }
html[data-shefpro-cards="clean"] .sp-zone { border-color: transparent; }

html[data-shefpro-density="airy"] {
    --sp-gap: 1.5rem;
    --sp-sm: clamp(2.25rem, 1.6rem + 2.5vw, 3.25rem);
    --sp-md: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
}
html[data-shefpro-density="airy"] :is(.sp-zone__body, .sp-client, .sp-cert) { padding: 1.5rem; }
html[data-shefpro-density="airy"] .shop-table { font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
    .sp-zone, .sp-zone__go, .sp-bar .hdr-nav__link::after, .sp-btn, html.shefpro .shop-card { transition: none; }
}
