/*
    Generated storefront bundle.
    Source order is public/css/marketplace.css.
    Do not edit this file manually; run work/build_marketplace_css.cjs.
*/

/* === public/css/marketplace/00-tokens.css === */
/*
    Design tokens and historical variable aliases.
    Source module for public/css/marketplace-bundle.css.
*/

@font-face {
    font-display: swap;
    font-family: "Inter Variable";
    font-style: normal;
    font-weight: 100 900;
    src: url("../fonts/filament/filament/inter/inter-cyrillic-wght-normal-JEOLYBOO.woff2") format("woff2-variations");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-display: swap;
    font-family: "Inter Variable";
    font-style: normal;
    font-weight: 100 900;
    src: url("../fonts/filament/filament/inter/inter-latin-wght-normal-NRMW37G5.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;
}

:root {
    /*
        East Fork-inspired storefront type roles.
        Galano Classic and Toma are named first for parity when licensed fonts
        are present; the following system faces are stable Cyrillic fallbacks.
    */
    --font-body: "Galano Classic", "Avenir Next", "Inter Variable", "Helvetica Neue", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: var(--font-body);
    --font-accent: Toma, "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;
    --font-sans: var(--font-body);
    --font-serif: var(--font-heading);
    --font-display: var(--font-heading);

    --text-body: 16px;
    --line-body: 24px;
    --text-heading-1: 48px;
    --line-heading-1: 48px;
    --text-heading-2: 36px;
    --line-heading-2: 40px;
    --text-heading-3: 24px;
    --line-heading-3: 30px;
    --text-accent: 14px;
    --line-accent: 20px;

    --color-navy: #0d1b2a;
    --color-navy-soft: #13263a;
    --color-red: #e63946;
    --color-red-dark: #c92835;
    --color-red-soft: #ef5660;
    --color-paper: #ffffff;
    --color-cream: #fffaf1;
    --color-clay-light: #f2efea;
    --color-surface: #ffffff;
    --color-ink: #211b15;
    --color-ink-strong: #0f1111;
    --color-muted: rgba(33, 27, 21, 0.68);
    --color-line: rgba(33, 27, 21, 0.12);
    --color-link: #007185;
    --color-success: #007600;

    --font-weight-regular: 400;
    --font-weight-text: 400;
    --font-weight-label: 600;
    --font-weight-heading: 700;
    --font-weight-strong: 600;

    --line-tight: 1;
    --line-heading: 1;
    --line-subheading: 1.12;
    --line-control: 1.25;
    --line-copy: 1.5;
    --line-relaxed: 1.625;
    --tracking-heading: 0;
    --tracking-control: 0;
    --tracking-accent: 0.08em;
    --text-control: 0.875rem;

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-pill: 999px;

    --site-page-bg: #ffffff;
    --storefront-button-bg: #d4494c;
    --storefront-button-bg-hover: #bd3f43;
    --storefront-button-text: #ffffff;
    --storefront-button-radius: 4px;
    --storefront-button-min-height: 52px;
    --storefront-button-padding-x: 28px;
    --storefront-button-padding-y: 14px;
    --storefront-button-font-size: 15px;
    --storefront-button-font-weight: 600;
    --storefront-button-shadow: 0 4px 10px rgba(13, 27, 42, 0.14);
    --storefront-button-shadow-hover: 0 8px 18px rgba(13, 27, 42, 0.22);
    --storefront-button-hover-transform: translateY(-2px);
    --storefront-button-transition-duration: 160ms;
    --storefront-media-transition-duration: 180ms;
    --storefront-sticky-header-offset: 126px;
    --storefront-icon-button-size: 44px;
    --storefront-icon-button-radius: var(--storefront-button-radius);
    --storefront-icon-arrow-size: 17px;
    --storefront-icon-arrow-stroke: 5px;
    --storefront-icon-arrow-optical-offset: 4px;
    --storefront-carousel-arrow-hover-opacity: 0.72;
    --storefront-icon-plus-long: 24px;
    --storefront-icon-plus-thick: 5px;
    --storefront-line-strong: #000000;
    --navy: var(--color-navy);
    --navy-2: var(--color-navy-soft);
    --red: var(--storefront-button-bg);
    --red-dark: #bf3237;
    --paper: #ffffff;
    --cream: #ffffff;
    --wood: #b87948;
    --wood-dark: #6f4327;
    --ink: #102032;
    --muted: #657181;
    --line: var(--storefront-line-strong);
    --surface: #ffffff;
    --surface-warm: #ffffff;
    --camel: #c8b18c;
    --shadow: 0 22px 44px rgba(13, 27, 42, 0.16);
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --storefront-button-hover-transform: none;
        --storefront-button-transition-duration: 0ms;
        --storefront-media-transition-duration: 0ms;
    }
}

@media (max-width: 767px) {
    :root {
        --text-heading-1: 30px;
        --line-heading-1: 36px;
        --text-heading-2: 28px;
        --line-heading-2: 34px;
        --text-heading-3: 22px;
        --line-heading-3: 28px;
    }
}

/* === public/css/marketplace/01-base.css === */
/*
    Base canvas and element defaults.
    Source module for public/css/marketplace-bundle.css.
*/

* {
    box-sizing: border-box;
}

html {
    background: var(--site-page-bg);
    scroll-behavior: smooth;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: var(--font-weight-text);
    line-height: var(--line-body);
}

body.site-page-designed {
    --paper: #ffffff !important;
    --site-page-bg: #ffffff !important;
    --ink: var(--site-page-text, #102032);
    --red: var(--site-page-accent, #e63946);
    font-family: var(--font-body);
}

html,
body,
main {
    background: var(--paper);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

input[type="radio"] {
    accent-color: var(--red);
}

/* === public/css/marketplace/02-typography.css === */
/*
    Shared typography contracts.
    Source module for public/css/marketplace-bundle.css.
*/

/*
    Storefront typography roles measured from the East Fork reference:
    1. Body: geometric sans, 16/24, weight 400.
    2. Headings: the same family, compact line-height, weight 700.
    3. Accent: handwritten face, 14/20, uppercase.
    Controls keep the heading family; prices never switch to a separate serif.
*/
:where(main, footer) {
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: var(--font-weight-text);
    line-height: var(--line-body);
}

:where(main, footer) :where(h1, h2, h3, h4, h5, h6),
.type-heading {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-heading);
    letter-spacing: var(--tracking-heading);
}

:where(main, footer) h1,
.type-heading-1 {
    font-size: var(--text-heading-1);
    line-height: var(--line-heading-1);
}

:where(main, footer) h2,
.type-heading-2 {
    font-size: var(--text-heading-2);
    line-height: var(--line-heading-2);
}

:where(main, footer) :where(h3, h4, h5, h6),
.type-heading-3 {
    font-size: var(--text-heading-3);
    line-height: var(--line-heading-3);
}

.type-body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: var(--font-weight-text);
    line-height: var(--line-body);
}

.type-accent,
.eyebrow,
.product-kicker,
.nike-product-kicker,
.ef-palette-note {
    font-family: var(--font-accent);
    font-size: var(--text-accent);
    font-weight: var(--font-weight-label);
    letter-spacing: var(--tracking-accent);
    line-height: var(--line-accent);
    text-transform: uppercase;
}

.ef-hero, .ef-shelf,
.ef-feature, .ef-palette,
.product-page, .cart-page,
.checkout-page, .legal-page,
.contact-page, .business-hero,
.business-content {
    font-family: var(--font-body);
    font-weight: var(--font-weight-regular);
}

.ef-hero p,
.ef-shelf p,
.ef-feature p,
.ef-palette p,
.product-page p,
.product-page li,
.product-page dd,
.cart-page p,
.cart-page li,
.checkout-page p,
.checkout-page li,
.checkout-page dd,
.legal-page p,
.legal-page li,
.legal-page dd,
.contact-page p,
.contact-page li,
.contact-page dd,
.business-hero p,
.business-content p,
.business-content li {
    font-weight: var(--font-weight-text);
    line-height: var(--line-copy);
}

.ef-hero strong, .ef-shelf strong,
.ef-feature strong, .ef-palette strong,
.product-page strong, .cart-page strong,
.checkout-page strong, .legal-page strong,
.contact-page strong, .business-hero strong,
.business-content strong {
    font-weight: var(--font-weight-strong);
}

.ef-hero-copy h1,
.ef-section-head h2,
.ef-feature-copy h2,
.product-card .product-title,
.product-page .amazon-additional-details h2,
.product-page .product-story h2,
.product-page .related h2,
.product-page .product-reviews h2,
.cart-page h1,
.cart-page h2,
.checkout-page h1,
.checkout-page h2,
.legal-page h1,
.legal-page h2,
.contact-page h1,
.contact-page h2,
.business-hero h1,
.business-content h2 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-heading);
    letter-spacing: var(--tracking-heading);
    line-height: var(--line-heading);
}

.ef-link,
.product-page .amazon-store-link,
.product-page .amazon-offer-link,
.product-page .amazon-more-link,
.product-page .amazon-location,
.cart-page .breadcrumbs,
.checkout-page .checkout-back-link,
.legal-page .breadcrumbs,
.business-form label {
    font-weight: var(--font-weight-label);
    letter-spacing: var(--tracking-control);
}

.ef-link,
.product-card-cart-button,
.amazon-add-cart-button,
.amazon-buy-now-button,
.review-write-button,
.cart-checkout-button,
.cart-primary-link,
.cart-remove-button,
.cart-clear-button,
.checkout-form button,
.business-cta,
.business-form button {
    font-family: var(--font-display);
    font-size: var(--text-control);
    font-weight: var(--font-weight-label);
    letter-spacing: var(--tracking-accent);
    line-height: var(--line-control);
    text-transform: uppercase;
}

.product-card .price,
.cart-page .cart-summary-price,
.cart-page .cart-item-price,
.checkout-page .checkout-price,
.product-page .amazon-price,
.product-page .buy-box-inner .price.big {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-label);
    letter-spacing: 0;
}

/* === public/css/marketplace/03-builder.css === */
/*
    Page builder blocks.
    Source module for public/css/marketplace-bundle.css.
*/

.site-builder {
    background: var(--builder-bg);
    color: var(--builder-text);
    font-family: var(--builder-font), Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.builder-block {
    background: var(--block-bg);
    color: var(--block-text);
}

.builder-pad-small {
    padding-block: clamp(32px, 5vw, 58px);
}

.builder-pad-medium {
    padding-block: clamp(54px, 7vw, 92px);
}

.builder-pad-large {
    padding-block: clamp(78px, 10vw, 136px);
}

.builder-shell {
    margin-inline: auto;
    max-width: 1280px;
    padding-inline: clamp(22px, 4vw, 64px);
    width: 100%;
}

.builder-narrow {
    max-width: 860px;
}

.builder-eyebrow {
    color: var(--block-accent);
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.2;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.builder-block h1,
.builder-block h2,
.builder-block h3 {
    color: inherit;
    letter-spacing: 0;
    margin: 0;
}

.builder-block h1 {
    font-size: var(--text-heading-1);
    font-weight: 900;
    line-height: var(--line-heading-1);
}

.builder-block h2 {
    font-size: clamp(30px, 4vw, 58px);
    font-weight: 900;
    line-height: 1;
}

.builder-block h3 {
    font-size: clamp(21px, 2vw, 28px);
    font-weight: 900;
    line-height: 1.08;
}

.builder-rich,
.builder-block p {
    color: color-mix(in srgb, var(--block-text) 72%, transparent);
    font-size: clamp(17px, 1.35vw, 21px);
    font-weight: 500;
    line-height: 1.5;
}

.builder-rich > *:first-child {
    margin-top: 0;
}

.builder-rich > *:last-child {
    margin-bottom: 0;
}

.builder-text-columns {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.builder-button {
    align-items: center;
    background: var(--block-accent);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 15px;
    font-weight: 900;
    justify-content: center;
    line-height: 1;
    min-height: 52px;
    padding: 0 28px;
    text-transform: uppercase;
}

.builder-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.builder-button--ghost {
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--block-text) 34%, transparent);
    color: var(--block-text);
}

.builder-hero__inner,
.builder-split {
    align-items: center;
    display: grid;
    gap: clamp(28px, 5vw, 74px);
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
}

.builder-hero--text_right .builder-copy,
.builder-image-text--image_right .builder-media {
    order: 2;
}

.builder-hero--center .builder-hero__inner {
    display: block;
    text-align: center;
}

.builder-copy {
    display: grid;
    gap: 22px;
}

.builder-media {
    border-radius: 8px;
    overflow: hidden;
}

.builder-media img {
    aspect-ratio: 4 / 3;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.builder-hero-variant--minimal,
.builder-hero-variant--headline,
.builder-hero-variant--catalog,
.builder-hero-variant--series {
    min-height: auto;
}

.builder-hero-variant--bg_center,
.builder-hero-variant--bg_left,
.builder-hero-variant--bg_right,
.builder-hero-variant--bg_dark,
.builder-hero-variant--bg_light,
.builder-hero-variant--fullscreen,
.builder-hero-variant--video {
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    min-height: clamp(620px, 86vh, 940px);
    overflow: hidden;
    position: relative;
}

.builder-hero-variant--bg_left {
    background-position: left center;
}

.builder-hero-variant--bg_right {
    background-position: right center;
}

.builder-hero-variant--bg_center::before,
.builder-hero-variant--bg_left::before,
.builder-hero-variant--bg_right::before,
.builder-hero-variant--bg_dark::before,
.builder-hero-variant--bg_light::before,
.builder-hero-variant--fullscreen::before,
.builder-hero-variant--video::before {
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--block-bg) 92%, transparent), color-mix(in srgb, var(--block-bg) 34%, transparent) 55%, transparent),
        linear-gradient(0deg, rgba(16, 32, 50, 0.1), rgba(16, 32, 50, 0.1));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.builder-hero-variant--bg_dark::before,
.builder-hero-variant--fullscreen::before,
.builder-hero-variant--video::before {
    background:
        linear-gradient(90deg, rgba(10, 18, 28, 0.78), rgba(10, 18, 28, 0.38) 56%, rgba(10, 18, 28, 0.14)),
        linear-gradient(0deg, rgba(10, 18, 28, 0.18), rgba(10, 18, 28, 0.18));
}

.builder-hero-variant--bg_light::before {
    background:
        linear-gradient(90deg, rgba(242, 239, 234, 0.96), rgba(242, 239, 234, 0.68) 58%, rgba(242, 239, 234, 0.12)),
        linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
}

.builder-hero-variant--bg_center .builder-hero__inner,
.builder-hero-variant--bg_left .builder-hero__inner,
.builder-hero-variant--bg_right .builder-hero__inner,
.builder-hero-variant--bg_dark .builder-hero__inner,
.builder-hero-variant--bg_light .builder-hero__inner,
.builder-hero-variant--fullscreen .builder-hero__inner,
.builder-hero-variant--video .builder-hero__inner {
    align-items: center;
    display: flex;
    min-height: clamp(500px, 72vh, 760px);
    position: relative;
    z-index: 1;
}

.builder-hero-variant--bg_center .builder-media,
.builder-hero-variant--bg_left .builder-media,
.builder-hero-variant--bg_right .builder-media,
.builder-hero-variant--bg_dark .builder-media,
.builder-hero-variant--bg_light .builder-media,
.builder-hero-variant--fullscreen .builder-media,
.builder-hero-variant--video .builder-media {
    border-radius: 0;
    inset: 0;
    opacity: 0;
    position: absolute;
    z-index: 0;
}

.builder-hero-variant--bg_center .builder-media img,
.builder-hero-variant--bg_left .builder-media img,
.builder-hero-variant--bg_right .builder-media img,
.builder-hero-variant--bg_dark .builder-media img,
.builder-hero-variant--bg_light .builder-media img,
.builder-hero-variant--fullscreen .builder-media img,
.builder-hero-variant--video .builder-media img {
    aspect-ratio: auto;
    height: 100%;
}

.builder-hero-variant--bg_dark,
.builder-hero-variant--fullscreen,
.builder-hero-variant--video {
    --block-text: #fff !important;
}

.builder-hero-variant--bg_center .builder-copy,
.builder-hero-variant--bg_left .builder-copy,
.builder-hero-variant--bg_right .builder-copy,
.builder-hero-variant--bg_dark .builder-copy,
.builder-hero-variant--bg_light .builder-copy,
.builder-hero-variant--fullscreen .builder-copy,
.builder-hero-variant--video .builder-copy {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.builder-hero-variant--bg_center .builder-copy,
.builder-hero-variant--fullscreen .builder-copy,
.builder-hero-variant--video .builder-copy {
    margin-inline: auto;
    text-align: center;
}

.builder-hero-variant--bg_center .builder-hero__inner,
.builder-hero-variant--fullscreen .builder-hero__inner,
.builder-hero-variant--video .builder-hero__inner {
    justify-content: center;
}

.builder-hero-variant--bg_left .builder-hero__inner,
.builder-hero-variant--bg_dark .builder-hero__inner,
.builder-hero-variant--bg_light .builder-hero__inner {
    justify-content: flex-start;
}

.builder-hero-variant--bg_right .builder-hero__inner {
    justify-content: flex-end;
}

.builder-hero-variant--bg_right .builder-copy {
    margin-left: auto;
}

.builder-hero-variant--poster .builder-hero__inner {
    align-items: stretch;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
}

.builder-hero-variant--poster .builder-copy {
    align-content: center;
    background: var(--block-text);
    color: var(--block-bg);
    margin-block: clamp(20px, 4vw, 58px);
    padding: clamp(28px, 5vw, 74px);
}

.builder-hero-variant--poster .builder-rich,
.builder-hero-variant--poster p {
    color: color-mix(in srgb, var(--block-bg) 78%, transparent);
}

.builder-hero-variant--poster .builder-media,
.builder-hero-variant--frame .builder-media,
.builder-hero-variant--product .builder-media {
    box-shadow: 0 28px 60px rgba(16, 32, 50, 0.18);
}

.builder-hero-variant--frame .builder-media {
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--block-text) 16%, transparent);
    padding: clamp(10px, 1.4vw, 18px);
}

.builder-hero-variant--frame .builder-media img {
    border-radius: 5px;
}

.builder-hero-variant--side_panel .builder-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr);
}

.builder-hero-variant--side_panel .builder-copy {
    background: color-mix(in srgb, var(--block-text) 94%, transparent);
    color: var(--block-bg);
    margin-left: clamp(-80px, -5vw, -24px);
    padding: clamp(28px, 5vw, 70px);
    position: relative;
    z-index: 2;
}

.builder-hero-variant--side_panel .builder-media {
    order: -1;
}

.builder-hero-variant--side_panel .builder-rich,
.builder-hero-variant--side_panel p {
    color: color-mix(in srgb, var(--block-bg) 78%, transparent);
}

.builder-hero-variant--image_bottom .builder-hero__inner {
    display: grid;
    gap: clamp(28px, 5vw, 70px);
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
}

.builder-hero-variant--image_bottom .builder-copy {
    margin-inline: auto;
    max-width: 860px;
}

.builder-hero-variant--image_bottom .builder-media {
    margin-inline: auto;
    max-width: 980px;
    width: 100%;
}

.builder-hero-variant--headline .builder-hero__inner {
    display: block;
}

.builder-hero-variant--headline .builder-copy {
    max-width: 1120px;
}

.builder-hero-variant--headline h1 {
    font-size: var(--text-heading-1);
    letter-spacing: -0.01em;
}

.builder-hero-variant--minimal .builder-hero__inner,
.builder-hero-variant--catalog .builder-hero__inner,
.builder-hero-variant--series .builder-hero__inner {
    display: block;
}

.builder-hero-variant--minimal .builder-copy,
.builder-hero-variant--catalog .builder-copy,
.builder-hero-variant--series .builder-copy {
    max-width: 820px;
}

.builder-hero-variant--product .builder-media {
    background: color-mix(in srgb, var(--block-accent) 7%, #fff);
    padding: clamp(12px, 2vw, 26px);
}

.builder-hero-variant--quote .builder-hero__inner {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
}

.builder-hero-variant--quote .builder-copy {
    border-left: 6px solid var(--block-accent);
    padding-left: clamp(22px, 3vw, 42px);
}

.builder-section-head {
    display: grid;
    gap: 10px;
    margin-bottom: clamp(26px, 4vw, 52px);
    max-width: 820px;
}

.builder-card-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.builder-card {
    border: 1px solid color-mix(in srgb, var(--block-text) 18%, transparent);
    border-radius: 8px;
    display: grid;
    gap: 14px;
    padding: 22px;
}

.builder-card img {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    object-fit: cover;
    width: 100%;
}

.builder-card p {
    font-size: 16px;
    margin: 0;
}

.builder-card a {
    color: var(--block-accent);
    font-weight: 900;
}

.builder-feature-grid,
.builder-stat-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.builder-feature {
    border-top: 1px solid color-mix(in srgb, var(--block-text) 18%, transparent);
    display: grid;
    gap: 12px;
    padding-top: 20px;
}

.builder-feature__icon {
    align-items: center;
    background: color-mix(in srgb, var(--block-accent) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--block-accent) 34%, transparent);
    border-radius: 8px;
    color: var(--block-accent);
    display: inline-flex;
    font-size: 20px;
    font-weight: 950;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.builder-feature p {
    font-size: 16px;
    margin: 0;
}

.builder-gallery-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.builder-gallery-item {
    margin: 0;
}

.builder-gallery-item img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    width: 100%;
}

.builder-gallery-item figcaption {
    color: color-mix(in srgb, var(--block-text) 62%, transparent);
    font-size: 14px;
    font-weight: 800;
    margin-top: 10px;
}

.builder-block--quote blockquote {
    border-left: 5px solid var(--block-accent);
    margin: 0;
    padding-left: clamp(22px, 4vw, 38px);
}

.builder-block--quote blockquote p {
    color: var(--block-text);
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.05;
    margin: 0;
}

.builder-block--quote cite {
    color: color-mix(in srgb, var(--block-text) 62%, transparent);
    display: block;
    font-size: 16px;
    font-style: normal;
    font-weight: 900;
    margin-top: 22px;
}

.builder-stat {
    border: 1px solid color-mix(in srgb, var(--block-text) 18%, transparent);
    border-radius: 8px;
    padding: clamp(22px, 3vw, 34px);
}

.builder-stat strong {
    color: var(--block-accent);
    display: block;
    font-size: clamp(36px, 4vw, 64px);
    font-weight: 950;
    line-height: 0.95;
}

.builder-stat span {
    color: color-mix(in srgb, var(--block-text) 70%, transparent);
    display: block;
    font-size: 16px;
    font-weight: 900;
    margin-top: 12px;
}

.builder-faq {
    border-top: 1px solid color-mix(in srgb, var(--block-text) 18%, transparent);
    display: grid;
    margin-top: 28px;
}

.builder-faq details {
    border-bottom: 1px solid color-mix(in srgb, var(--block-text) 18%, transparent);
    padding: 20px 0;
}

.builder-faq summary {
    cursor: pointer;
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 900;
}

.builder-faq .builder-rich {
    margin-top: 14px;
}

.builder-block--cta .builder-narrow {
    border: 1px solid color-mix(in srgb, var(--block-text) 18%, transparent);
    border-radius: 8px;
    display: grid;
    gap: 18px;
    padding: clamp(28px, 5vw, 54px);
    text-align: center;
}

.builder-form-head {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.builder-form-head p {
    margin: 0;
}

.builder-form-success,
.builder-form-error {
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 18px;
    padding: 14px 16px;
}

.builder-form-success {
    background: color-mix(in srgb, #0f8b3d 12%, #fff);
    color: #0f6f31;
}

.builder-form-error {
    background: color-mix(in srgb, var(--block-accent) 12%, #fff);
    color: var(--block-accent);
    grid-column: 1 / -1;
}

.builder-lead-form {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.builder-lead-form label {
    color: color-mix(in srgb, var(--block-text) 70%, transparent);
    display: grid;
    font-size: 15px;
    font-weight: 900;
    gap: 8px;
}

.builder-lead-form .is-wide {
    grid-column: 1 / -1;
}

.builder-lead-form input,
.builder-lead-form textarea {
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--block-text) 16%, transparent);
    border-radius: 8px;
    color: var(--block-text);
    font: inherit;
    min-height: 52px;
    outline: none;
    padding: 14px 16px;
}

.builder-lead-form textarea {
    min-height: 138px;
    resize: vertical;
}

.builder-lead-form input:focus,
.builder-lead-form textarea:focus {
    border-color: var(--block-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--block-accent) 18%, transparent);
}

.builder-lead-form button {
    background: var(--block-accent);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    grid-column: 1 / -1;
    min-height: 54px;
    padding: 0 28px;
    text-transform: uppercase;
}

.builder-block--video .builder-narrow {
    display: grid;
    gap: 18px;
}

.builder-video-frame,
.builder-video-placeholder {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

.builder-video-frame iframe,
.builder-map iframe {
    border: 0;
    height: 100%;
    width: 100%;
}

.builder-video-placeholder {
    align-items: center;
    background: color-mix(in srgb, var(--block-text) 8%, transparent);
    border: 1px dashed color-mix(in srgb, var(--block-text) 24%, transparent);
    color: color-mix(in srgb, var(--block-text) 62%, transparent);
    display: flex;
    font-size: 16px;
    font-weight: 900;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.builder-logo-grid,
.builder-review-grid,
.builder-pricing-grid,
.builder-team-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.builder-logo-item {
    align-items: center;
    border: 1px solid color-mix(in srgb, var(--block-text) 16%, transparent);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    justify-items: center;
    margin: 0;
    min-height: 150px;
    padding: 20px;
    text-align: center;
}

.builder-logo-item img {
    border-radius: 6px;
    max-height: 70px;
    object-fit: contain;
}

.builder-logo-item figcaption {
    color: color-mix(in srgb, var(--block-text) 64%, transparent);
    font-size: 14px;
    font-weight: 900;
}

.builder-review,
.builder-price-card,
.builder-team-card {
    border: 1px solid color-mix(in srgb, var(--block-text) 16%, transparent);
    border-radius: 8px;
    display: grid;
    gap: 14px;
    padding: clamp(20px, 3vw, 30px);
}

.builder-review span {
    color: #ff9a00;
    font-size: 16px;
    letter-spacing: 0;
}

.builder-review p {
    color: var(--block-text);
    font-size: clamp(18px, 1.4vw, 22px);
    font-weight: 850;
    line-height: 1.36;
    margin: 0;
}

.builder-review strong,
.builder-price-card strong {
    color: color-mix(in srgb, var(--block-text) 68%, transparent);
    font-size: 15px;
    font-weight: 950;
}

.builder-price-card strong {
    color: var(--block-accent);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1;
}

.builder-price-card p {
    font-size: 16px;
    margin: 0;
}

.builder-price-card .builder-button {
    justify-self: start;
    min-height: 46px;
}

.builder-team-card img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
}

.builder-team-card p {
    font-size: 16px;
    margin: 0;
}

.builder-contact-grid {
    align-items: start;
    display: grid;
    gap: clamp(24px, 5vw, 72px);
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
}

.builder-contact-list {
    border: 1px solid color-mix(in srgb, var(--block-text) 16%, transparent);
    border-radius: 8px;
    display: grid;
    gap: 16px;
    padding: clamp(22px, 3vw, 34px);
}

.builder-contact-list a,
.builder-contact-list p {
    color: var(--block-text);
    font-size: clamp(18px, 1.5vw, 24px);
    font-weight: 900;
    line-height: 1.25;
    margin: 0;
}

.builder-map {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    grid-column: 1 / -1;
    overflow: hidden;
}

.builder-block--divider hr {
    border: 0;
    border-top: 1px solid color-mix(in srgb, var(--block-text) 18%, transparent);
    margin: 0;
}

.builder-block--spacer {
    min-height: clamp(34px, 6vw, 80px);
}

.builder-spacer--small {
    min-height: clamp(22px, 4vw, 46px);
}

.builder-spacer--large {
    min-height: clamp(72px, 10vw, 140px);
}

@media (max-width: 860px) {
    .builder-hero__inner,
    .builder-split,
    .builder-card-grid,
    .builder-feature-grid,
    .builder-gallery-grid,
    .builder-stat-grid,
    .builder-lead-form,
    .builder-logo-grid,
    .builder-review-grid,
    .builder-pricing-grid,
    .builder-team-grid,
    .builder-contact-grid {
        grid-template-columns: 1fr;
    }

    .builder-text-columns {
        grid-template-columns: 1fr;
    }

    .builder-hero--text_right .builder-copy,
    .builder-image-text--image_right .builder-media {
        order: initial;
    }

    .builder-hero-variant--bg_center,
    .builder-hero-variant--bg_left,
    .builder-hero-variant--bg_right,
    .builder-hero-variant--bg_dark,
    .builder-hero-variant--bg_light,
    .builder-hero-variant--fullscreen,
    .builder-hero-variant--video {
        min-height: auto;
    }

    .builder-hero-variant--bg_center .builder-hero__inner,
    .builder-hero-variant--bg_left .builder-hero__inner,
    .builder-hero-variant--bg_right .builder-hero__inner,
    .builder-hero-variant--bg_dark .builder-hero__inner,
    .builder-hero-variant--bg_light .builder-hero__inner,
    .builder-hero-variant--fullscreen .builder-hero__inner,
    .builder-hero-variant--video .builder-hero__inner {
        min-height: 520px;
    }

    .builder-hero-variant--poster .builder-copy,
    .builder-hero-variant--side_panel .builder-copy {
        margin: 0;
    }
}

/* === public/css/marketplace/10-header.css === */
/*
    Site header, search, region trigger, region panel, and cart indicator.
    Source module for public/css/marketplace-bundle.css.
*/

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
}

.topbar {
    align-items: center;
    background: var(--navy);
    border: 0;
    color: var(--paper);
    display: flex;
    gap: 16px;
    padding: 18px 28px 14px;
}

.brand {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
    min-width: 0;
}

.brand-logo-mark {
    display: block;
    height: 52px;
    object-fit: contain;
    width: 52px;
}

.top-search {
    display: grid;
    flex: 1 1 1120px;
    grid-template-columns: 180px minmax(0, 1fr) 108px;
    max-width: 1120px;
    min-width: 0;
    width: min(1120px, 60vw);
}

.top-search select,
.top-search input,
.top-search button {
    border: 0;
    min-height: 44px;
    min-width: 0;
}

.top-search select {
    background: rgba(245, 245, 245, 0.92);
    border-radius: 8px 0 0 8px;
    color: var(--ink);
    display: block;
    font-size: 14px;
    padding: 0 12px;
}

.top-search input {
    background: rgba(245, 245, 245, 0.92);
    border-left: 1px solid var(--line);
    color: var(--ink);
    font-size: 14px;
    padding: 0 15px;
}

.top-search button {
    background: var(--storefront-button-bg);
    border-color: var(--storefront-button-bg);
    border-radius: 0 var(--storefront-button-radius) var(--storefront-button-radius) 0;
    box-shadow: none;
    color: var(--storefront-button-text);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: var(--text-control);
    font-weight: 800;
    letter-spacing: var(--tracking-accent);
    line-height: var(--line-control);
    text-transform: uppercase;
    transform: none;
    transition: none;
}

.top-search button:hover,
.top-search button:focus-visible {
    background: var(--storefront-button-bg-hover);
    border-color: var(--storefront-button-bg-hover);
    box-shadow: none;
    color: var(--storefront-button-text);
    transform: none;
}

.top-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 18px;
    justify-content: flex-end;
    margin-left: auto;
    min-width: 0;
    padding-left: 28px;
    white-space: nowrap;
}

.top-actions a {
    color: var(--paper);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.region-trigger {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--paper);
    cursor: pointer;
    display: inline-flex;
    gap: 7px;
    margin-right: auto;
    max-width: min(34vw, 360px);
    min-height: 34px;
    min-width: 0;
    padding: 0;
}

.region-trigger:hover,
.region-trigger:focus-visible {
    background: transparent;
    box-shadow: none;
    color: #ffffff;
}

.region-trigger span {
    border-bottom: 1px dotted rgba(245, 245, 245, 0.72);
    display: inline;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    overflow: hidden;
    padding-bottom: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.region-trigger-icon {
    fill: none;
    height: 17px;
    stroke: currentColor;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 17px;
}

.region-trigger-caret {
    fill: none;
    height: 8px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    width: 12px;
}

.cart-link {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    padding: 0;
    position: relative;
    width: 46px;
}

.cart-count {
    align-items: center;
    color: var(--paper);
    display: inline-flex;
    font-size: 15px;
    font-weight: 900;
    justify-content: center;
    left: 50%;
    line-height: 1;
    position: absolute;
    text-shadow: 0 1px 2px rgba(13, 27, 42, 0.4);
    top: 54%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.cart-icon,
.region-trigger svg {
    color: currentColor;
}

.cart-icon {
    fill: none;
    height: 36px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
    width: 36px;
}

.cart-icon path,
.region-trigger svg path {
    stroke: currentColor;
}

.subnav {
    align-items: center;
    background: var(--navy);
    border: 0;
    color: var(--paper);
    display: flex;
    flex-wrap: nowrap;
    gap: 22px;
    justify-content: flex-start;
    min-height: 42px;
    overflow-x: auto;
    padding: 0 28px;
    scrollbar-width: none;
    white-space: nowrap;
}

.subnav::-webkit-scrollbar {
    display: none;
}

.subnav a {
    color: var(--paper);
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

.region-panel-open {
    overflow: hidden;
}

.region-backdrop {
    background: rgba(13, 27, 42, 0.62);
    inset: 0;
    position: fixed;
    z-index: 80;
}

.region-panel {
    background: #fffdf8;
    bottom: 0;
    box-shadow: -18px 0 44px rgba(13, 27, 42, 0.2);
    color: #211b15;
    max-width: min(100vw, 482px);
    overflow-y: auto;
    padding: 54px 36px 44px;
    position: fixed;
    right: 0;
    top: 0;
    width: 482px;
    z-index: 90;
}

.region-panel h2 {
    font-size: 30px;
    line-height: 1.1;
    margin: 0 0 24px;
}

.region-close {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 22px;
    top: 22px;
    width: 38px;
}

.region-close:hover,
.region-close:focus-visible {
    background: transparent;
    box-shadow: none;
}

.region-close span,
.region-close span::after {
    background: #394150;
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    transform: rotate(45deg);
    width: 24px;
}

.region-close span::after {
    transform: rotate(90deg);
}

.region-search {
    background: #ffffff;
    border: 1px solid rgba(16, 32, 50, 0.2);
    border-radius: 8px;
    color: #102032;
    display: block;
    font-size: 16px;
    min-height: 46px;
    padding: 0 14px;
    width: 100%;
}

.region-search:focus {
    border-color: rgba(230, 57, 70, 0.62);
    outline: 2px solid rgba(230, 57, 70, 0.12);
}

.region-search-results,
.region-city-grid {
    display: grid;
    gap: 14px 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.region-search-results {
    border-bottom: 1px solid var(--storefront-line-strong);
    margin: 18px 0 20px;
    padding-bottom: 18px;
}

.region-city-grid {
    margin-top: 26px;
}

.region-city-grid button,
.region-search-results button {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #30343b;
    cursor: pointer;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.25;
    min-height: 0;
    padding: 0;
    text-align: left;
}

.region-city-grid button:hover,
.region-city-grid button:focus-visible,
.region-search-results button:hover,
.region-search-results button:focus-visible {
    background: transparent;
    box-shadow: none;
    color: var(--red);
}

.region-status {
    color: rgba(33, 27, 21, 0.64);
    font-size: 14px;
    line-height: 1.4;
    margin-top: 12px;
}

@media (max-width: 1180px) {
    .topbar {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .brand {
        order: 1;
    }

    .top-search {
        flex-basis: 100%;
        max-width: none;
        order: 2;
        width: 100%;
    }

    .top-actions {
        margin-left: 0;
        order: 3;
    }
}

@media (max-width: 860px) {
    .topbar {
        min-width: 0;
        padding: 16px 18px;
    }

    .top-search {
        grid-template-columns: minmax(0, 1fr);
        min-width: 0;
        width: 100%;
    }

    .top-search select,
    .top-search input,
    .top-search button {
        width: 100%;
    }

    .top-actions {
        justify-content: space-between;
        padding-left: 0;
        width: 100%;
    }

    .region-trigger {
        min-width: 0;
    }

    .region-trigger span {
        max-width: 58vw;
    }

    .subnav {
        gap: 22px;
        overflow-x: auto;
        padding-bottom: 12px;
        white-space: nowrap;
    }
}

@media (max-width: 560px) {
    .top-actions {
        flex: 1 1 100%;
        flex-wrap: wrap;
        gap: 12px 16px;
        justify-content: space-between;
        max-width: 100%;
        white-space: normal;
    }

    .top-actions a:not(.cart-link) {
        display: none;
    }

    .region-trigger {
        flex: 0 1 calc(100% - 56px);
        margin-right: 0;
        max-width: calc(100% - 56px);
    }

    .region-panel {
        padding: 50px 22px 34px;
        width: 100vw;
    }

    .region-panel h2 {
        font-size: 27px;
    }

    .region-search-results,
    .region-city-grid {
        gap: 13px 18px;
    }
}

/* === public/css/marketplace/11-footer.css === */
/*
    Footer.
    Source module for public/css/marketplace-bundle.css.
*/

/* Footer refresh: editorial split layout with Lunariska navigation. */
.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.site-footer.lunariska-footer {
    align-items: stretch;
    background: #f0e2d9;
    border-top: 1px solid var(--storefront-line-strong);
    color: #221d19;
    display: block;
    gap: 0;
    justify-content: initial;
    padding: 0;
}

.home-eastfork-page .site-footer.lunariska-footer {
    border-top-color: var(--ef-grid-line);
}

.lunariska-footer .footer-main {
    display: grid;
    grid-template-columns: minmax(0, 2.08fr) minmax(380px, 0.92fr);
    min-height: 420px;
}

.lunariska-footer .footer-left {
    border-right: 1px solid var(--storefront-line-strong);
    display: block;
    padding: clamp(34px, 4vw, 58px) clamp(28px, 5vw, 78px) clamp(32px, 4vw, 52px);
}

.home-eastfork-page .lunariska-footer .footer-left {
    border-right-color: var(--ef-grid-line);
}

.lunariska-footer .footer-topline {
    align-items: center;
    display: grid;
    gap: clamp(24px, 3vw, 48px);
    grid-template-columns: auto 1fr;
    margin-bottom: clamp(48px, 5vw, 78px);
}

.lunariska-footer .footer-mark {
    align-items: center;
    display: inline-flex;
    height: 86px;
    justify-content: center;
    text-decoration: none;
    width: 84px;
}

.lunariska-footer .footer-mark img {
    display: block;
    height: 86px;
    object-fit: contain;
    width: 84px;
}

.lunariska-footer .footer-primary {
    display: grid;
    gap: 20px clamp(20px, 3vw, 46px);
    grid-template-columns: repeat(5, max-content);
    justify-content: space-between;
}

.site-footer.lunariska-footer .footer-primary a {
    color: #221d19;
    font-size: clamp(18px, 1.25vw, 20px);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.12;
    text-decoration: none;
}

.lunariska-footer .footer-link-grid {
    display: grid;
    gap: 34px clamp(22px, 4.2vw, 72px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lunariska-footer .footer-link-column {
    min-width: 0;
}

.lunariska-footer .footer-link-column h2 {
    color: #221d19;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 14px;
}

.site-footer.lunariska-footer .footer-link-column a {
    color: #221d19;
    display: block;
    font-size: 17px;
    line-height: 1.35;
    margin-top: 9px;
    text-decoration: none;
}

.site-footer.lunariska-footer a:hover {
    color: var(--red);
}

.lunariska-footer .footer-right {
    align-content: start;
    display: grid;
    justify-items: center;
    padding: clamp(34px, 4vw, 52px) clamp(26px, 4vw, 58px);
    text-align: center;
}

.lunariska-footer .footer-newsletter {
    max-width: 590px;
}

.lunariska-footer .footer-newsletter p {
    color: #221d19;
    font-size: 17px;
    line-height: 1.35;
    margin: 0;
}

.lunariska-footer .footer-newsletter p + p {
    margin-top: 18px;
}

.site-footer.lunariska-footer .footer-newsletter a {
    color: #221d19;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lunariska-footer .footer-subscribe {
    background: #fffdf8;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 6px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    margin-top: 26px;
    max-width: 610px;
    min-height: 58px;
    overflow: hidden;
    width: 100%;
}

.lunariska-footer .footer-subscribe input {
    background: transparent;
    border: 0;
    color: #221d19;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
    min-width: 0;
    outline: none;
    padding: 0 22px;
    text-transform: none;
}

.lunariska-footer .footer-subscribe input::placeholder {
    color: rgba(34, 29, 25, 0.55);
}

.lunariska-footer .footer-subscribe button {
    align-items: center;
    background: transparent;
    border: 0;
    color: #221d19;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    padding: 0;
}

.lunariska-footer .footer-subscribe svg {
    display: block;
    height: 24px;
    width: 42px;
}

.lunariska-footer .footer-subscribe path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.lunariska-footer .footer-socials {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-top: 24px;
}

.lunariska-footer .footer-socials span {
    align-items: center;
    border: 2px solid #221d19;
    border-radius: 50%;
    color: #221d19;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    letter-spacing: 0;
    width: 42px;
}

.lunariska-footer .footer-trust {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 32px;
    max-width: 430px;
    width: 100%;
}

.lunariska-footer .footer-trust span {
    align-content: center;
    border: 2px solid #221d19;
    border-radius: 50%;
    color: #221d19;
    display: grid;
    font-size: 10px;
    font-weight: 900;
    height: 86px;
    justify-items: center;
    letter-spacing: 0.01em;
    line-height: 1.05;
    margin: 0 auto;
    text-transform: uppercase;
    width: 86px;
}

.lunariska-footer .footer-trust strong {
    color: #221d19;
    display: block;
    font-size: 20px;
    line-height: 1;
    text-transform: uppercase;
}

.lunariska-footer .footer-legal {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-top: 34px;
    width: 100%;
}

.lunariska-footer .footer-legal span,
.site-footer.lunariska-footer .footer-legal a {
    color: #221d19;
    font-size: 16px;
    line-height: 1.3;
}

.site-footer.lunariska-footer .footer-legal a {
    text-decoration: none;
}

@media (max-width: 1180px) {
    .lunariska-footer .footer-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .lunariska-footer .footer-left {
        border-bottom: 1px solid var(--storefront-line-strong);
        border-right: 0;
    }

    .home-eastfork-page .lunariska-footer .footer-left {
        border-bottom-color: var(--ef-grid-line);
    }

    .lunariska-footer .footer-primary,
    .lunariska-footer .footer-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: initial;
    }
}

@media (max-width: 640px) {
    .lunariska-footer .footer-left,
    .lunariska-footer .footer-right {
        padding-left: 20px;
        padding-right: 20px;
    }

    .lunariska-footer .footer-topline {
        align-items: start;
        grid-template-columns: minmax(0, 1fr);
        margin-bottom: 34px;
    }

    .lunariska-footer .footer-mark {
        height: 70px;
        width: 68px;
    }

    .lunariska-footer .footer-mark img {
        height: 70px;
        width: 68px;
    }

    .lunariska-footer .footer-primary {
        gap: 16px 22px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer.lunariska-footer .footer-primary a {
        font-size: 18px;
    }

    .lunariska-footer .footer-link-grid {
        gap: 26px 20px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer.lunariska-footer .footer-link-column a {
        font-size: 15px;
    }

    .lunariska-footer .footer-newsletter p {
        font-size: 15px;
    }

    .lunariska-footer .footer-subscribe {
        grid-template-columns: minmax(0, 1fr) 54px;
    }

    .lunariska-footer .footer-trust {
        gap: 10px;
    }

    .lunariska-footer .footer-trust span {
        height: 72px;
        width: 72px;
    }

    .lunariska-footer .footer-legal {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .lunariska-footer .footer-primary,
    .lunariska-footer .footer-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* === public/css/marketplace/12-cart-drawer.css === */
/*
    Global East Fork-inspired cart drawer.
    Source module for public/css/marketplace-bundle.css.
*/

body.cart-drawer-open {
    overflow: hidden;
}

.cart-drawer-backdrop {
    background: rgba(15, 17, 17, 0.04);
    inset: 0;
    opacity: 0;
    position: fixed;
    transition: opacity 220ms ease;
    z-index: 1500;
}

.cart-drawer-backdrop.is-open {
    opacity: 1;
}

.cart-drawer {
    background: var(--color-paper);
    border-left: 1px solid var(--storefront-line-strong);
    border-radius: 14px 0 0 14px;
    bottom: 0;
    color: var(--color-ink-strong);
    font-family: var(--font-body);
    max-width: 100vw;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 220ms ease;
    width: 560px;
    z-index: 1501;
}

.cart-drawer.is-open {
    transform: translateX(0);
}

.cart-drawer__content {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100%;
}

.cart-drawer__top {
    align-items: center;
    border-bottom: 1px solid var(--storefront-line-strong);
    display: flex;
    flex: 0 0 auto;
    justify-content: space-between;
    min-height: 74px;
    padding: 0 32px;
}

.cart-drawer__count {
    font-size: 15px;
    line-height: 22px;
}

.cart-drawer__close {
    background: transparent;
    border: 0;
    color: var(--color-ink-strong);
    cursor: pointer;
    height: 44px;
    padding: 0;
    position: relative;
    width: 44px;
}

.cart-drawer__close::before,
.cart-drawer__close::after,
.cart-drawer__close span::before,
.cart-drawer__close span::after {
    background: currentcolor;
    content: "";
    height: 1px;
    left: 8px;
    position: absolute;
    top: 21px;
    width: 28px;
}

.cart-drawer__close::before {
    transform: rotate(45deg);
}

.cart-drawer__close::after {
    transform: rotate(-45deg);
}

.cart-drawer__close span::before,
.cart-drawer__close span::after {
    display: none;
}

.cart-drawer__close:hover,
.cart-drawer__close:focus-visible {
    color: var(--color-ink-strong);
    outline: none;
    opacity: 0.68;
}

.cart-drawer__empty {
    align-content: start;
    display: grid;
    justify-items: center;
    overflow-y: auto;
    padding: 34px 32px 48px;
    text-align: center;
}

.cart-drawer__empty h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: var(--font-weight-heading);
    justify-self: start;
    line-height: 36px;
    margin: 0;
}

.cart-drawer__heading-line {
    background: var(--storefront-line-strong);
    height: 1px;
    margin: 24px 0 34px;
    width: 100%;
}

.cart-drawer__empty p {
    font-size: 17px;
    line-height: 24px;
    margin: 0 0 34px;
}

.cart-drawer__back-button {
    align-items: center;
    background: var(--storefront-button-bg);
    border-radius: var(--storefront-button-radius);
    box-shadow: var(--storefront-button-shadow);
    color: var(--storefront-button-text);
    display: inline-flex;
    font-size: var(--storefront-button-font-size);
    font-weight: var(--storefront-button-font-weight);
    justify-content: center;
    min-height: 48px;
    padding: 12px 32px;
    text-transform: uppercase;
}

.cart-drawer__back-button:hover,
.cart-drawer__back-button:focus-visible {
    background: var(--storefront-button-bg-hover);
    box-shadow: var(--storefront-button-shadow-hover);
    outline: none;
}

.cart-drawer__body {
    min-height: 0;
    overflow-y: auto;
    padding: 0 32px 28px;
}

.cart-drawer__items {
    display: grid;
}

.cart-drawer-item {
    border-bottom: 1px solid var(--storefront-line-strong);
    display: grid;
    gap: 8px 18px;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    padding: 28px 0;
}

.cart-drawer-item__image {
    align-self: start;
    display: block;
    grid-row: 1 / span 2;
    height: 92px;
    overflow: hidden;
    width: 104px;
}

.cart-drawer-item__image picture,
.cart-drawer-item__image img {
    display: block;
    height: 100%;
    width: 100%;
}

.cart-drawer-item__image img {
    object-fit: contain;
}

.cart-drawer-item__copy {
    min-width: 0;
}

.cart-drawer-item__copy h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: var(--font-weight-heading);
    line-height: 24px;
    margin: 0;
}

.cart-drawer-item__copy h3 a {
    color: inherit;
}

.cart-drawer-item__copy p {
    color: var(--color-muted);
    font-size: 14px;
    line-height: 20px;
    margin: 2px 0 14px;
}

.cart-drawer-item__price {
    font-size: 15px;
    font-weight: var(--font-weight-label);
    line-height: 22px;
    white-space: nowrap;
}

.cart-drawer-quantity {
    align-items: center;
    display: flex;
    gap: 8px;
    margin: 0;
}

.cart-drawer-quantity button {
    align-items: center;
    background: var(--color-clay-light);
    border: 0;
    color: var(--color-ink-strong);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-body);
    font-size: 20px;
    height: 32px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 32px;
}

.cart-drawer-quantity button:hover,
.cart-drawer-quantity button:focus-visible {
    background: #e7e2da;
    outline: none;
}

.cart-drawer-quantity button:disabled {
    cursor: wait;
    opacity: 0.55;
}

.cart-drawer-quantity span {
    font-size: 13px;
    font-weight: var(--font-weight-label);
    letter-spacing: 0.06em;
    margin-left: 4px;
    white-space: nowrap;
}

.cart-drawer-item__remove {
    align-self: end;
    grid-column: 3;
    margin: 0;
}

.cart-drawer-item__remove button {
    background: transparent;
    border: 0;
    border-bottom: 1px solid currentcolor;
    color: var(--color-ink-strong);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: var(--font-weight-label);
    letter-spacing: 0.06em;
    line-height: 18px;
    padding: 0;
    text-transform: uppercase;
}

.cart-drawer-item__remove button:hover,
.cart-drawer-item__remove button:focus-visible {
    color: var(--storefront-button-bg);
    outline: none;
}

.cart-drawer-gift {
    align-items: start;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 10px;
    cursor: pointer;
    display: grid;
    gap: 14px;
    grid-template-columns: 22px minmax(0, 1fr);
    margin-top: 28px;
    padding: 16px;
}

.cart-drawer-gift input {
    accent-color: var(--storefront-button-bg);
    height: 20px;
    margin: 2px 0 0;
    width: 20px;
}

.cart-drawer-gift span {
    display: grid;
    gap: 2px;
}

.cart-drawer-gift strong {
    font-size: 15px;
    line-height: 22px;
}

.cart-drawer-gift small {
    color: var(--color-muted);
    font-size: 12px;
    line-height: 17px;
}

.cart-drawer__footer {
    background: var(--color-paper);
    border-top: 1px solid var(--storefront-line-strong);
    padding: 24px 32px 20px;
}

.cart-drawer__subtotal {
    align-items: center;
    display: flex;
    font-size: 16px;
    justify-content: space-between;
    line-height: 24px;
    margin-bottom: 20px;
}

.cart-drawer__subtotal strong {
    font-weight: var(--font-weight-label);
}

.cart-drawer__actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

.cart-drawer__actions a {
    align-items: center;
    border-radius: var(--storefront-button-radius);
    display: inline-flex;
    font-size: 13px;
    font-weight: var(--font-weight-label);
    justify-content: center;
    min-height: 48px;
    padding: 10px 14px;
    text-align: center;
    text-transform: uppercase;
}

.cart-drawer__actions a:first-child {
    background: var(--color-clay-light);
    color: var(--color-ink-strong);
}

.cart-drawer__actions a:last-child {
    background: var(--storefront-button-bg);
    box-shadow: var(--storefront-button-shadow);
    color: var(--storefront-button-text);
}

.cart-drawer__actions a:first-child:hover,
.cart-drawer__actions a:first-child:focus-visible {
    background: #e7e2da;
    outline: none;
}

.cart-drawer__actions a:last-child:hover,
.cart-drawer__actions a:last-child:focus-visible {
    background: var(--storefront-button-bg-hover);
    box-shadow: var(--storefront-button-shadow-hover);
    outline: none;
}

.cart-drawer__footer p {
    color: var(--color-muted);
    font-size: 12px;
    line-height: 18px;
    margin: 14px 0 0;
    text-align: center;
}

@media (max-width: 600px) {
    .cart-drawer {
        border-left: 0;
        border-radius: 0;
        width: 100vw;
    }

    .cart-drawer__top {
        min-height: 64px;
        padding: 0 20px;
    }

    .cart-drawer__empty,
    .cart-drawer__body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cart-drawer__footer {
        padding: 20px;
    }

    .cart-drawer-item {
        gap: 8px 12px;
        grid-template-columns: 82px minmax(0, 1fr) auto;
    }

    .cart-drawer-item__image {
        height: 76px;
        width: 82px;
    }

    .cart-drawer__actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cart-drawer,
    .cart-drawer-backdrop {
        transition-duration: 0ms;
    }
}

/* === public/css/marketplace/30-product-card.css === */
/*
    Product cards and product media presentation.
    Source module for public/css/marketplace-bundle.css.
*/

/* Product card purchase action: one large brand-colored button under price. */
.product-card {
    container-type: inline-size;
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
}

.product-card .product-media.puzzle-product-media {
    aspect-ratio: 1.31 / 1;
}

.product-card .product-body {
    align-content: start;
    display: grid;
    grid-template-rows: minmax(42px, auto) minmax(24px, auto) minmax(32px, auto) 1fr auto;
    height: 100%;
    justify-items: center;
    padding-top: 6px;
}

.product-card .product-title {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 42px;
}

.product-card .product-mood {
    min-height: 24px;
}

.product-card .product-meta-line {
    min-height: 32px;
}

.product-card .product-mood--empty,
.product-card .product-meta-line--empty {
    visibility: hidden;
}

.product-card .card-row {
    align-self: end;
    display: grid;
    gap: 12px;
    justify-items: center;
    margin-top: 10px;
    width: 100%;
}

.product-card-cart-form {
    margin: 0;
    width: min(100%, 292px);
}

.product-card-cart-button {
    align-items: center;
    background: var(--red);
    border: 1px solid var(--red);
    border-radius: 999px;
    color: var(--paper);
    display: inline-flex;
    font-size: 16px;
    font-weight: 900;
    justify-content: center;
    line-height: 1;
    min-height: 48px;
    padding: 0 24px;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    width: 100%;
}

.product-card-cart-button:hover,
.product-card-cart-button:focus-visible {
    background: var(--red-dark);
    border-color: var(--red-dark);
    box-shadow: 0 14px 28px rgba(217, 59, 70, 0.28);
    color: var(--paper);
    outline: none;
    transform: translateY(-1px);
}

.product-card-cart-button:disabled {
    cursor: wait;
    opacity: 0.78;
    transform: none;
}

/* Baked product boxes: the image itself is now the package front. */
.product-card .product-media.puzzle-product-media.product-box-media {
    align-items: center;
    background: transparent;
    border: 0;
    display: flex;
    justify-content: center;
    margin-inline: auto;
    overflow: visible;
    padding: 0;
    width: 100%;
}

.product-card .product-media.puzzle-product-media.product-box-media--landscape {
    aspect-ratio: 2740 / 2079;
    max-width: 100%;
}

.product-card .product-media.puzzle-product-media.product-box-media--portrait {
    aspect-ratio: auto;
    height: calc(100cqw * 2079 / 2740);
    max-width: none;
    width: calc(100cqw * 2079 / 2740 * 2079 / 2772);
}

.product-card .product-media.puzzle-product-media.product-box-media::before {
    display: none;
}

.product-box-picture {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.product-card .product-box-image {
    border-radius: clamp(12px, 3.4vw, 24px);
    box-shadow: 0 24px 46px rgba(13, 27, 42, 0.2);
    display: block;
    height: 100%;
    object-fit: cover;
    transform: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
    width: 100%;
}

.product-card .product-media.puzzle-product-media.product-box-media--portrait .product-box-image {
    aspect-ratio: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

.product-card:hover .product-media.puzzle-product-media.product-box-media img.product-box-image {
    box-shadow: 0 28px 52px rgba(13, 27, 42, 0.24);
    transform: translateY(-3px);
}

/* Mobile product card internals. Page grids live in their page modules. */
@media (max-width: 860px) {
    .product-card .product-body {
        gap: 7px;
        grid-template-rows: minmax(36px, auto) minmax(22px, auto) minmax(44px, auto) 1fr auto;
        padding: 6px 0 0;
    }

    .product-card .product-kicker {
        font-size: 10px;
    }

    .product-card .product-title {
        font-size: 18px;
        line-height: 1.12;
        min-height: 40px;
    }

    .product-card .product-mood,
    .product-card .product-meta-line {
        font-size: 13px;
        line-height: 1.25;
    }

    .product-card .product-meta-line {
        min-height: 48px;
    }

    .product-card .card-row {
        gap: 9px;
        margin-top: 6px;
    }

    .product-card .price {
        font-size: 19px;
    }

    .product-card-cart-form {
        width: 100%;
    }

    .product-card-cart-button {
        font-size: 14px;
        line-height: 1.05;
        min-height: 44px;
        padding: 0 10px;
        text-align: center;
        white-space: normal;
    }

}

@media (max-width: 390px) {
    .product-card .product-title {
        font-size: 17px;
    }

    .product-card .product-mood,
    .product-card .product-meta-line {
        font-size: 12px;
    }

    .product-card-cart-button {
        font-size: 13px;
    }
}

/* === public/css/marketplace/40-catalog-base.css === */
/*
    Catalog, filters, results grid, SEO copy, and collection carousel.
    Source module for public/css/marketplace-bundle.css.
*/

/* Catalog filter page. */
.catalog-breadcrumbs {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    margin: 18px 0 0;
    max-width: none;
    padding: 0 28px;
}

.catalog-breadcrumbs a {
    color: var(--muted);
}

.catalog-breadcrumbs a:hover,
.catalog-breadcrumbs a:focus-visible {
    color: var(--red);
}

.catalog-page-intro {
    padding: 0 28px;
    margin: 18px 0 22px;
    max-width: none;
    padding-left: 28px;
    padding-right: 28px;
}

.catalog-page-intro h1 {
    color: var(--ink);
    margin: 0 0 16px;
    font-size: var(--text-heading-1);
    line-height: var(--line-heading-1);
    margin-bottom: 0;
}

.catalog-page-intro p:not(.eyebrow) {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.45;
    margin: 0;
    max-width: 760px;
}

.market-shell {
    align-items: start;
    gap: 40px;
    grid-template-columns: 300px minmax(0, 1fr);
    background: var(--paper);
    color: var(--ink);
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    padding-left: 28px;
    padding-right: 28px;
    padding-top: 22px;
}

.filters {
    top: 126px;
    max-height: none;
    overflow: visible;
    position: static;
}

.filters form {
    background: transparent;
    border: 0;
    border-radius: 0;
    max-height: none;
    overflow: visible;
    padding: 0;
    scrollbar-width: none;
}

.filters form::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
}

.filter-block {
    border-bottom: 1px solid var(--line);
    padding: 0 0 24px;
    padding-bottom: 18px;
}

.filter-block + .filter-block {
    border-top: 0;
    padding-top: 0;
    margin-top: 18px;
}

.filter-block h2 {
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 12px;
    text-transform: none;
}

.filter-check-list {
    display: grid;
    gap: 6px;
}

.filter-check,
.radio-row {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-size: 15px;
    gap: 10px;
    margin: 0;
    line-height: 1.12;
    min-height: 24px;
}

.filter-check input,
.radio-row input {
    accent-color: var(--red);
    flex: 0 0 auto;
}

.price-range {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-range label,
.sort-form label {
    color: var(--muted);
    display: grid;
    font-size: 13px;
    font-weight: 700;
    gap: 6px;
}

.price-range input,
.sort-form select {
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    min-height: 42px;
    padding: 0 12px;
    width: 100%;
}

.price-slider {
    margin-top: 24px;
}

.price-slider-track {
    --price-slider-pad: 24px;
    --price-slider-pad-double: 48px;
    --price-slider-thumb-size: 30px;
    --price-min-thumb-left: var(--price-slider-pad);
    --price-max-thumb-left: calc(100% - var(--price-slider-pad));
    box-sizing: border-box;
    height: 56px;
    margin: 0;
    overflow: visible;
    padding: 0;
    position: relative;
    touch-action: none;
}

.price-slider-track::before,
.price-slider-track::after {
    background: var(--red);
    border: 7px solid var(--paper);
    border-radius: 999px;
    box-sizing: border-box;
    content: "";
    height: var(--price-slider-thumb-size);
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: var(--price-slider-thumb-size);
    z-index: 3;
}

.price-slider-track::before {
    left: var(--price-min-thumb-left);
    box-shadow: 0 10px 22px rgba(13, 27, 42, 0.14);
}

.price-slider-track::after {
    left: var(--price-max-thumb-left);
    box-shadow:
        0 0 0 6px rgba(225, 54, 69, 0.28),
        0 10px 22px rgba(13, 27, 42, 0.14);
}

.price-slider-rail,
.price-slider-fill {
    border-radius: 999px;
    height: 5px;
    left: var(--price-slider-pad);
    position: absolute;
    right: var(--price-slider-pad);
    top: 50%;
    transform: translateY(-50%);
}

.price-slider-rail {
    background: rgba(13, 27, 42, 0.2);
    z-index: 1;
}

.price-slider-fill {
    background: var(--red);
    left: var(--price-fill-left, var(--price-slider-pad));
    right: var(--price-fill-right, var(--price-slider-pad));
    z-index: 2;
}

.price-slider input[type="range"] {
    appearance: none;
    background: transparent;
    height: 56px;
    left: var(--price-slider-pad);
    margin: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: calc(100% - var(--price-slider-pad-double));
    z-index: 4;
}

.price-slider input[type="range"]::-webkit-slider-runnable-track {
    background: transparent;
    border: 0;
    height: 5px;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: var(--price-slider-thumb-size);
    margin-top: -14px;
    pointer-events: auto;
    width: var(--price-slider-thumb-size);
}

.price-slider input[data-price-max-range]::-webkit-slider-thumb {
    box-shadow: none;
}

.price-slider input[type="range"]::-moz-range-track {
    background: transparent;
    border: 0;
    height: 5px;
}

.price-slider input[type="range"]::-moz-range-thumb {
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: var(--price-slider-thumb-size);
    pointer-events: auto;
    width: var(--price-slider-thumb-size);
}

.price-slider input[data-price-max-range]::-moz-range-thumb {
    box-shadow: none;
}

.filter-submit {
    background: var(--red);
    border: 0;
    border-radius: 999px;
    color: #fff;
    margin-top: 24px;
    min-height: 48px;
    width: 100%;
    display: none;
}

.filter-submit:hover {
    background: var(--red-dark);
    border-color: transparent;
    color: #fff;
}

.catalog-clear {
    color: var(--teal);
    display: inline-flex;
    font-size: 15px;
    font-weight: 800;
    margin-top: 14px;
}

.active-filters {
    color: var(--muted);
    max-width: 860px;
}

.results-head {
    align-items: end;
}

@media (max-width: 960px) {
    .market-shell {
        gap: 32px;
        grid-template-columns: minmax(0, 1fr);
    }

    .filters {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .filters form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .filter-block + .filter-block {
        margin-top: 0;
    }

    .filter-submit,
    .catalog-clear {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .catalog-page-intro,
    .market-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .filters form,
    .price-range {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Catalog SEO page final polish. */
.catalog-breadcrumbs,
.catalog-page-intro,
.market-shell {
    background: var(--paper);
}

.catalog-page-intro__text {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.42;
    margin: 16px 0 0;
    max-width: 900px;
}

.series-page main {
    background: var(--paper);
}

.series-hero {
    background: var(--paper);
    border-bottom: 1px solid var(--storefront-line-strong);
    color: var(--ink);
    margin: 0;
    padding: 48px clamp(24px, 4vw, 72px) 40px;
}

.series-hero h1 {
    font-size: var(--text-heading-1);
    letter-spacing: 0;
    line-height: var(--line-heading-1);
    margin: 10px 0 0;
    max-width: 980px;
}

.series-hero p:not(.eyebrow) {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.42;
    margin: 18px 0 0;
    max-width: 760px;
}

.series-overview {
    background: var(--paper);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1360px;
    padding: 0;
    width: 100%;
}

.series-overview-card {
    background: var(--paper);
    border: 0;
    border-left: 1px solid var(--storefront-line-strong);
    border-radius: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
}

.series-overview-card:last-child {
    border-right: 1px solid var(--storefront-line-strong);
}

.series-overview-card__media {
    background: var(--paper);
    border-bottom: 1px solid var(--storefront-line-strong);
    display: block;
}

.series-overview-card__picture {
    display: block;
}

.series-overview-card__image {
    aspect-ratio: 1 / 1;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.series-overview-card__placeholder {
    align-items: center;
    aspect-ratio: 16 / 10;
    background: var(--ink);
    color: #fff;
    display: flex;
    font-size: 52px;
    font-weight: 800;
    justify-content: center;
}

.series-overview-card__copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 330px;
    padding: clamp(24px, 2.4vw, 38px);
}

.series-overview-card__count {
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.series-overview-card h2 {
    color: var(--ink);
    font-size: clamp(26px, 2.2vw, 38px);
    line-height: 1.08;
    margin: 0;
}

.series-overview-card p {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.42;
    margin: 0;
}

.series-overview-card .ef-link {
    align-self: flex-start;
    margin-top: auto;
    width: auto;
}

.series-empty {
    border: 1px solid var(--line);
    border-radius: 8px;
    grid-column: 1 / -1;
    padding: 28px;
}

@media (max-width: 1100px) {
    .series-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .series-overview-card:nth-child(2n) {
        border-right: 1px solid var(--storefront-line-strong);
    }

    .series-overview-card:nth-child(n + 3) {
        border-top: 1px solid var(--storefront-line-strong);
    }
}

@media (max-width: 700px) {
    .series-hero {
        padding-left: 18px;
        padding-right: 18px;
    }

    .series-overview {
        grid-template-columns: minmax(0, 1fr);
        padding-left: 18px;
        padding-right: 18px;
    }

    .series-overview-card,
    .series-overview-card:nth-child(2n) {
        border-right: 1px solid var(--storefront-line-strong);
    }

    .series-overview-card + .series-overview-card {
        border-top: 1px solid var(--storefront-line-strong);
    }

    .series-overview-card__copy {
        min-height: 260px;
    }
}

.market-shell .small-muted,
.market-shell .sort-form label,
.market-shell .filter-block h2,
.market-shell .filter-check,
.market-shell .radio-row {
    color: var(--ink);
}

.market-shell .results-head h2,
.market-shell .product-title,
.market-shell .price {
    color: var(--ink);
    line-height: 1.05;
}

.market-shell .results-head h2 {
    color: var(--red);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
}

.market-shell .active-filters,
.market-shell .product-kicker,
.market-shell .product-mood,
.market-shell .product-meta-line {
    color: var(--muted);
}

.catalog-seo-copy {
    border-top: 1px solid var(--storefront-line-strong);
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.85fr);
    margin-top: 64px;
    padding-top: 42px;
}

.catalog-seo-copy h2 {
    color: var(--ink);
    font-size: clamp(28px, 2.6vw, 44px);
    line-height: 1;
    margin: 0 0 18px;
}

.catalog-faq h2 {
    color: var(--ink);
    font-size: 30px;
    font-weight: var(--font-weight-heading);
    line-height: 36px;
    margin: 0;
}

.catalog-seo-copy h3 {
    color: var(--ink);
    font-size: 20px;
    line-height: 1.1;
    margin: 0 0 18px;
}

.catalog-seo-copy p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.45;
    margin: 0;
    max-width: 820px;
}

.catalog-seo-copy p + p {
    margin-top: 14px;
}

.catalog-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-seo-links a {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.1;
    padding: 10px 14px;
}

.catalog-seo-links a:hover,
.catalog-seo-links a:focus-visible {
    border-color: var(--red);
    color: var(--red);
}

.catalog-faq {
    border-top: 0;
    margin-top: 52px;
    padding-top: 42px;
}

.catalog-faq__head {
    margin-bottom: 20px;
}

.catalog-faq__list {
    border-bottom: 1px solid var(--storefront-line-strong);
}

.catalog-faq__item {
    border-top: 1px solid var(--storefront-line-strong);
    color: var(--ink);
}

.catalog-faq__item summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: 18px;
    font-weight: var(--font-weight-regular);
    gap: 36px;
    justify-content: space-between;
    line-height: 28px;
    list-style: none;
    min-height: 60px;
    padding: 16px 0;
    position: relative;
}

.catalog-faq__item summary::-webkit-details-marker {
    display: none;
}

.catalog-faq__item summary:focus {
    outline: none;
}

.catalog-faq__item summary:focus-visible {
    outline: none;
}

.catalog-faq__item summary::after {
    background-color: var(--color-clay-light);
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 2.5 4 5.5 7 2.5' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    content: "";
    flex: 0 0 24px;
    height: 24px;
    transition: transform 180ms ease;
    width: 24px;
}

.catalog-faq__item[open] summary::after {
    transform: rotate(180deg);
}

.catalog-faq__item summary:focus-visible::after {
    box-shadow: 0 0 0 2px var(--storefront-line-strong);
}

.catalog-faq__item p {
    color: var(--ink);
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    max-width: none;
    padding: 8px 60px 16px 0;
}

@media (max-width: 960px) {
    .catalog-seo-copy {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 620px) {
    .catalog-breadcrumbs,
    .catalog-page-intro,
    .market-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .catalog-seo-copy,
    .catalog-faq {
        margin-top: 42px;
        padding-top: 30px;
    }

    .catalog-seo-copy p,
    .catalog-faq__item p {
        font-size: 16px;
    }

    .catalog-faq__item summary {
        font-size: 16px;
        line-height: 24px;
        min-height: 56px;
    }

    .catalog-faq h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .catalog-faq__item p {
        padding-right: 40px;
    }
}

/* === public/css/marketplace/41-catalog-eastfork.css === */
/*
    East Fork catalog composition and responsive contracts.
    Source module for public/css/marketplace-bundle.css.
*/

/* East Fork inspired catalog page. Scoped to the catalog route only. */
body.catalog-eastfork-page,
body.catalog-eastfork-page main,
body.catalog-eastfork-page .catalog-breadcrumbs,
body.catalog-eastfork-page .catalog-page-intro,
body.catalog-eastfork-page .catalog-eastfork-shell,
body.catalog-eastfork-page .results,
body.catalog-eastfork-page .product-grid,
body.catalog-eastfork-page .catalog-seo-copy,
body.catalog-eastfork-page .catalog-faq {
    background: #ffffff;
}

body.catalog-eastfork-page {
    color: #17120d;
}

body.catalog-eastfork-page .catalog-breadcrumbs {
    color: rgba(23, 18, 13, 0.68);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    max-width: none;
    padding: 18px clamp(20px, 2.5vw, 44px) 0;
}

body.catalog-eastfork-page .catalog-breadcrumbs a {
    color: inherit;
}

body.catalog-eastfork-page .catalog-page-intro {
    align-items: stretch;
    border-bottom: 1px solid var(--storefront-line-strong);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 326px;
    margin: 0;
    max-width: none;
    min-height: 0;
    overflow: hidden;
    padding: 0;
}

body.catalog-eastfork-page .catalog-page-intro__copy {
    border-right: 1px solid var(--storefront-line-strong);
    display: flex;
    flex-direction: column;
    padding: 28px clamp(20px, 3.125vw, 40px);
    position: relative;
}

body.catalog-eastfork-page .catalog-page-intro h1 {
    color: #17120d;
    font-family: var(--font-heading);
    font-size: var(--text-heading-1);
    font-weight: 700;
    letter-spacing: 0;
    line-height: var(--line-heading-1);
    margin: 0;
    max-width: 680px;
}

body.catalog-eastfork-page .catalog-page-intro__text {
    color: #17120d;
    font-size: clamp(17px, 1.35vw, 22px);
    font-weight: 400;
    line-height: 1.35;
    margin: 22px 0 0;
    max-width: 760px;
}

body.catalog-eastfork-page .catalog-featured-collections {
    align-self: stretch;
    background: #ffffff;
    height: auto;
    min-width: 0;
    min-height: 0;
    overflow: visible;
    padding: 28px 0;
    position: relative;
    border-left: 0;
    border-right: 0;
}

body.catalog-eastfork-page .catalog-featured-collections__rail {
    align-items: start;
    display: grid;
    gap: 20px;
    grid-auto-columns: 368px;
    grid-auto-flow: column;
    grid-template-columns: none;
    height: auto;
    left: 20px;
    min-height: 0;
    overflow-x: auto;
    position: relative;
    scroll-behavior: smooth;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

body.catalog-eastfork-page .catalog-featured-collections__rail::-webkit-scrollbar {
    display: none;
}

body.catalog-eastfork-page .catalog-featured-collections a,
body.catalog-eastfork-page .catalog-featured-collections__card {
    background: #ffffff;
    border: 0;
    color: #17120d;
    display: grid;
    gap: 20px;
    grid-template-rows: auto auto;
    height: auto;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

body.catalog-eastfork-page .catalog-featured-collections a:last-child,
body.catalog-eastfork-page .catalog-featured-collections__card:last-child {
    border-right: 0;
}

body.catalog-eastfork-page .catalog-featured-collections__media {
    align-items: center;
    aspect-ratio: auto;
    display: flex;
    height: 208px;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
}

body.catalog-eastfork-page .catalog-featured-collections img {
    border-radius: 18px;
    display: block;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

body.catalog-eastfork-page .catalog-featured-collections strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    overflow-wrap: normal;
    word-break: normal;
    margin: 0;
    max-width: 100%;
}

body.catalog-eastfork-page .catalog-featured-collections__arrow {
    cursor: pointer;
    position: absolute;
    top: calc(50% - (var(--storefront-icon-button-size) / 2));
    transform: none;
    z-index: 8;
}

body.catalog-eastfork-page .catalog-featured-collections__arrow:hover,
body.catalog-eastfork-page .catalog-featured-collections__arrow:focus-visible,
body.catalog-eastfork-page .catalog-featured-collections__arrow:active {
    transform: none;
}

body.catalog-eastfork-page .catalog-featured-collections__arrow--prev {
    left: 10px;
}

body.catalog-eastfork-page .catalog-featured-collections__arrow--next {
    right: 10px;
}

body.catalog-eastfork-page .catalog-eastfork-shell {
    display: block;
    margin: 0;
    max-width: none;
    padding: 0;
}

body.catalog-eastfork-page .catalog-eastfork-panels {
    background: #ffffff;
}

body.catalog-eastfork-page .catalog-eastfork-toolbar {
    background: transparent;
    border-bottom: 0;
    display: block;
    margin-top: clamp(24px, 2.4vw, 34px);
    min-height: 0;
    position: relative;
    z-index: 5;
}

body.catalog-eastfork-page .catalog-eastfork-toolbar__button-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body.catalog-eastfork-page .catalog-control-trigger {
    align-items: center;
    border: 0;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    font-weight: 800;
    gap: 10px;
    height: 43px;
    justify-content: center;
    line-height: 1;
    list-style: none;
    min-width: 164px;
    padding: 0 18px;
    transform: none;
    transition: none;
    user-select: none;
}

body.catalog-eastfork-page .catalog-control-trigger--sort {
    min-width: 184px;
}

body.catalog-eastfork-page .catalog-control-trigger:hover,
body.catalog-eastfork-page .catalog-control-trigger:focus-visible,
body.catalog-eastfork-page .catalog-control-trigger[aria-expanded="true"] {
    transform: none;
}

body.catalog-eastfork-page .catalog-control-trigger:active {
    transform: none;
}

body.catalog-eastfork-page .catalog-control__mark {
    display: inline-block;
    flex: 0 0 14px;
    font-size: 0;
    height: 14px;
    line-height: 0;
    position: relative;
    width: 14px;
}

body.catalog-eastfork-page .catalog-control__mark::before,
body.catalog-eastfork-page .catalog-control__mark::after {
    background: currentcolor;
    content: "";
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

body.catalog-eastfork-page .catalog-control__mark::before {
    height: 3px;
    width: 14px;
}

body.catalog-eastfork-page .catalog-control__mark::after {
    height: 14px;
    width: 3px;
}

body.catalog-eastfork-page .catalog-control-trigger[aria-expanded="true"] .catalog-control__mark::after {
    display: none;
}

body.catalog-eastfork-page .catalog-control__panel {
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid var(--storefront-line-strong);
    box-shadow: none;
    display: block;
    left: auto;
    margin-top: 0;
    min-width: 0;
    padding: 18px clamp(18px, 2.4vw, 40px);
    position: static;
    right: auto;
    top: auto;
    width: 100%;
    z-index: auto;
}

body.catalog-eastfork-page .filters {
    max-height: none;
    overflow: visible;
    position: static;
    top: auto;
}

body.catalog-eastfork-page .filters form {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: grid;
    gap: 14px clamp(18px, 2vw, 30px);
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    max-height: none;
    overflow: visible;
    padding: 0;
}

body.catalog-eastfork-page .filter-block,
body.catalog-eastfork-page .filter-block + .filter-block {
    border: 0;
    margin: 0;
    padding: 0;
}

body.catalog-eastfork-page .filter-block h2,
body.catalog-eastfork-page .sort-form__label {
    color: #17120d;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    margin: 0 0 8px;
    text-transform: uppercase;
}

body.catalog-eastfork-page .filter-check-list {
    display: grid;
    gap: 5px;
}

body.catalog-eastfork-page .filter-check,
body.catalog-eastfork-page .radio-row {
    color: #17120d;
    font-size: 15px;
    font-weight: 500;
    gap: 7px;
    line-height: 1.12;
    min-height: 19px;
}

body.catalog-eastfork-page .filter-check input,
body.catalog-eastfork-page .radio-row input {
    accent-color: var(--storefront-button-bg);
}

body.catalog-eastfork-page .price-range {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.catalog-eastfork-page .price-range label,
body.catalog-eastfork-page .sort-form label {
    color: #17120d;
    display: grid;
    font-size: 13px;
    font-weight: 700;
    gap: 5px;
}

body.catalog-eastfork-page .price-range input,
body.catalog-eastfork-page .sort-form select {
    background: #ffffff;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 0;
    color: #17120d;
    min-height: 34px;
    padding: 0 12px;
    width: 100%;
}

body.catalog-eastfork-page .price-slider {
    margin-top: 10px;
}

body.catalog-eastfork-page .filter-block:has(input[name="gift_for[]"]),
body.catalog-eastfork-page .filter-block:has(input[name="theme[]"]) {
    grid-column: span 2;
}

body.catalog-eastfork-page .filter-block:has(input[name="gift_for[]"]) .filter-check-list,
body.catalog-eastfork-page .filter-block:has(input[name="theme[]"]) .filter-check-list {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
}

body.catalog-eastfork-page .price-slider-track::before,
body.catalog-eastfork-page .price-slider-track::after {
    border-color: #ffffff;
}

body.catalog-eastfork-page .catalog-clear,
body.catalog-eastfork-page .reset-filters {
    color: #17120d;
    font-size: 14px;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.catalog-eastfork-page .catalog-control__panel--sort {
    max-width: none;
    min-width: 0;
    right: auto;
}

body.catalog-eastfork-page .sort-form {
    margin: 0;
    max-width: 420px;
}

body.catalog-eastfork-page .sort-form label {
    min-width: 260px;
}

body.catalog-eastfork-page .active-filters {
    color: rgba(23, 18, 13, 0.68);
    font-size: 15px;
    margin: 8px 0 0;
}

body.catalog-eastfork-page .product-grid {
    border-bottom: 1px solid var(--storefront-line-strong);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    border-left: 0;
    border-right: 0;
}

body.catalog-eastfork-page .product-card {
    background: #ffffff;
    border: 0;
    border-radius: 0;
    border-right: 1px solid var(--storefront-line-strong);
    box-shadow: none;
    aspect-ratio: 4 / 5;
    display: block;
    min-height: 0;
    overflow: hidden;
    position: relative;
    text-align: left;
    border-left: 0;
}

body.catalog-eastfork-page .product-card:nth-child(4n + 5) {
    overflow: visible;
}

body.catalog-eastfork-page .product-card:nth-child(4n + 5)::before {
    border-top: 1px solid var(--storefront-line-strong);
    content: "";
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 400%;
    z-index: 3;
}

body.catalog-eastfork-page .product-card:nth-child(4n) {
    border-right: 0;
}

body.catalog-eastfork-page .product-card .product-media.puzzle-product-media,
body.catalog-eastfork-page .product-card .product-media.puzzle-product-media.product-box-media,
body.catalog-eastfork-page .product-card .product-media.puzzle-product-media.product-box-media--landscape,
body.catalog-eastfork-page .product-card .product-media.puzzle-product-media.product-box-media--portrait {
    align-items: center;
    aspect-ratio: auto;
    background: #ffffff;
    border: 0;
    display: flex;
    height: 100%;
    inset: 0;
    justify-content: center;
    max-height: none;
    min-height: 0;
    overflow: hidden;
    position: absolute;
    width: 100%;
    padding: clamp(26px, 3vw, 52px) clamp(18px, 2.7vw, 44px) 128px;
}

body.catalog-eastfork-page .product-card .product-media.puzzle-product-media::before,
body.catalog-eastfork-page .product-card .product-media.puzzle-product-media.product-box-media::before {
    display: none;
}

body.catalog-eastfork-page .product-card .product-box-picture {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    height: clamp(190px, 18vw, 280px);
    max-height: calc(100% - 112px);
}

body.catalog-eastfork-page .product-card .product-media.puzzle-product-media.product-box-media--portrait .product-box-picture {
    height: min(clamp(280px, 22vw, 380px), calc(125cqw - clamp(26px, 3vw, 52px) - 128px));
    max-height: none;
}

body.catalog-eastfork-page .product-card .product-box-image {
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: 0 12px 24px rgba(23, 18, 13, 0.14);
    display: block;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center center;
    transform: scale(1);
    transition:
        box-shadow var(--storefront-media-transition-duration) ease,
        transform var(--storefront-media-transition-duration) ease;
    will-change: transform;
    width: auto;
}

body.catalog-eastfork-page .catalog-product-image-stack,
body.catalog-eastfork-page .catalog-product-image-layer {
    align-items: center;
    display: grid;
    height: 100%;
    justify-items: center;
    min-height: 0;
    width: 100%;
}

body.catalog-eastfork-page .catalog-product-image-layer {
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

body.catalog-eastfork-page .catalog-product-image-layer.is-active {
    opacity: 1;
    pointer-events: auto;
}

body.catalog-eastfork-page .product-card .product-media.puzzle-product-media.product-box-media--landscape .product-box-image,
body.catalog-eastfork-page .product-card .product-media.puzzle-product-media.product-box-media--portrait .product-box-image {
    height: auto;
    max-height: 100%;
    max-width: 100%;
    width: auto;
}

body.catalog-eastfork-page .product-card:hover .product-media.puzzle-product-media.product-box-media img.product-box-image,
body.catalog-eastfork-page .product-card:focus-within .product-media.puzzle-product-media.product-box-media img.product-box-image {
    box-shadow: 0 16px 28px rgba(23, 18, 13, 0.18);
    transform: scale(1.035);
}

body.catalog-eastfork-page .product-card .product-body {
    background: transparent;
    bottom: 0;
    display: block;
    height: auto;
    left: 0;
    min-height: 84px;
    padding: 16px 72px 16px 16px;
    position: absolute;
    right: 0;
    top: auto;
    transform: none;
    z-index: 3;
}

body.catalog-eastfork-page .product-card .product-title-line {
    align-items: baseline;
    color: #17120d;
    display: block;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.12;
    margin-inline: 0;
    min-width: 0;
    text-align: left;
    width: 100%;
}

body.catalog-eastfork-page .product-card .product-title {
    color: #17120d;
    display: inline;
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    line-height: inherit;
    min-height: 0;
    text-align: left;
}

body.catalog-eastfork-page .product-card .product-price-inline {
    color: #17120d;
    display: inline;
    font-family: inherit;
    font-size: inherit;
    font-weight: 800;
    line-height: inherit;
    margin-left: 6px;
    white-space: nowrap;
}

body.catalog-eastfork-page .product-card .product-mood,
body.catalog-eastfork-page .product-card .product-meta-line {
    color: #17120d;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    margin: 0;
    margin-inline: 0;
    min-height: 0;
    text-align: left;
    width: 100%;
}

body.catalog-eastfork-page .product-card .product-meta-line [data-ef-product-pieces] {
    display: block;
    font-weight: 700;
}

body.catalog-eastfork-page .product-card .product-meta-line [data-ef-product-size] {
    display: block;
}

body.catalog-eastfork-page .product-card .product-mood {
    display: none;
}

body.catalog-eastfork-page .product-card .card-row {
    align-items: center;
    border: 0;
    bottom: 16px;
    display: flex;
    gap: 0;
    height: 44px;
    justify-content: flex-end;
    margin: 0;
    opacity: 0;
    padding: 0;
    pointer-events: none;
    position: absolute;
    right: 16px;
    transition: opacity 0.16s ease;
    width: auto;
    z-index: 4;
}

body.catalog-eastfork-page .product-card:hover .card-row,
body.catalog-eastfork-page .product-card:focus-within .card-row {
    opacity: 1;
    pointer-events: auto;
}

body.catalog-eastfork-page .catalog-quickshop-card.is-quickshop-open .product-body {
    background: #ffffff;
    border-top: 1px solid var(--storefront-line-strong);
    min-height: 0;
    padding: 16px;
}

body.catalog-eastfork-page .catalog-quickshop-card.is-quickshop-open .card-row {
    bottom: auto;
    opacity: 1;
    pointer-events: auto;
    top: 16px;
}

@media (hover: none) {
    body.catalog-eastfork-page .product-card .card-row {
        opacity: 1;
        pointer-events: auto;
    }
}

body.catalog-eastfork-page .product-card .product-card-cart-form {
    margin: 0;
    width: auto;
}

body.catalog-eastfork-page .product-card .product-card-cart-button:not(.ef-product-tile__quick-submit),
body.catalog-eastfork-page .product-card .product-card-cart-button:not(.ef-product-tile__quick-submit):hover,
body.catalog-eastfork-page .product-card .product-card-cart-button:not(.ef-product-tile__quick-submit):focus-visible {
    align-items: center;
    box-shadow: none;
    display: inline-flex;
    font-family: var(--font-sans);
    font-size: 0;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    line-height: 0;
    min-height: 44px;
    overflow: hidden;
    padding: 0;
    text-transform: none;
    transform: none;
    width: 44px;
}

body.catalog-eastfork-page .empty-state {
    border: 0;
    border-bottom: 1px solid var(--storefront-line-strong);
    border-radius: 0;
    box-shadow: none;
    grid-column: 1 / -1;
    padding: 44px clamp(20px, 3vw, 52px);
}

body.catalog-eastfork-page .pagination-wrap {
    background: #ffffff;
    border-bottom: 1px solid var(--storefront-line-strong);
    padding: 26px clamp(20px, 3vw, 52px);
}

body.catalog-eastfork-page .catalog-seo-copy,
body.catalog-eastfork-page .catalog-faq {
    margin: 0;
    padding: clamp(34px, 4vw, 62px) clamp(20px, 3vw, 52px);
}

body.catalog-eastfork-page .catalog-seo-copy {
    border-top: 0;
    border-bottom: 1px solid var(--storefront-line-strong);
}

body.catalog-eastfork-page .catalog-faq {
    border-top: 0;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 960px;
    width: 100%;
}

@media (max-width: 1240px) {
    body.catalog-eastfork-page .filters form {
        grid-template-columns: repeat(4, minmax(140px, 1fr));
    }

    body.catalog-eastfork-page .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.catalog-eastfork-page .product-card:nth-child(4n) {
        border-right: 1px solid var(--storefront-line-strong);
    }

    body.catalog-eastfork-page .product-card:nth-child(3n) {
        border-right: 0;
    }

    body.catalog-eastfork-page .product-card:nth-child(4n + 5) {
        overflow: hidden;
    }

    body.catalog-eastfork-page .product-card:nth-child(4n + 5)::before {
        content: none;
    }

    body.catalog-eastfork-page .product-card:nth-child(3n + 4) {
        overflow: visible;
    }

    body.catalog-eastfork-page .product-card:nth-child(3n + 4)::before {
        border-top: 1px solid var(--storefront-line-strong);
        content: "";
        left: 0;
        pointer-events: none;
        position: absolute;
        top: 0;
        width: 300%;
        z-index: 3;
    }
}

@media (max-width: 1040px) {
    body.catalog-eastfork-page .filters form {
        grid-template-columns: repeat(3, minmax(140px, 1fr));
    }
}

@media (max-width: 900px) {
    body.catalog-eastfork-page .catalog-page-intro {
        grid-template-columns: minmax(0, 1fr);
        height: auto;
        min-height: 0;
    }

    body.catalog-eastfork-page .catalog-page-intro__copy {
        border-right: 0;
        border-bottom: 1px solid var(--storefront-line-strong);
    }

    body.catalog-eastfork-page .catalog-eastfork-toolbar {
        gap: 10px;
        min-height: 0;
    }

    body.catalog-eastfork-page .catalog-control-trigger {
        height: 43px;
        padding: 0 18px;
    }

    body.catalog-eastfork-page .filters form {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    body.catalog-eastfork-page .filter-block:has(input[name="gift_for[]"]) .filter-check-list,
    body.catalog-eastfork-page .filter-block:has(input[name="theme[]"]) .filter-check-list {
        grid-template-columns: minmax(0, 1fr);
    }

    body.catalog-eastfork-page .filter-block:has(input[name="gift_for[]"]),
    body.catalog-eastfork-page .filter-block:has(input[name="theme[]"]) {
        grid-column: auto;
    }

    body.catalog-eastfork-page .catalog-featured-collections__rail {
        gap: clamp(14px, 1.55vw, 20px);
        grid-auto-columns: 58.25%;
        left: clamp(14px, 1.55vw, 20px);
    }

    body.catalog-eastfork-page .catalog-featured-collections a,
    body.catalog-eastfork-page .catalog-featured-collections__card {
        gap: clamp(14px, 1.55vw, 20px);
    }

    body.catalog-eastfork-page .catalog-featured-collections__media {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    body.catalog-eastfork-page .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.catalog-eastfork-page .product-card:nth-child(3n),
    body.catalog-eastfork-page .product-card:nth-child(4n) {
        border-right: 1px solid var(--storefront-line-strong);
    }

    body.catalog-eastfork-page .product-card:nth-child(2n) {
        border-right: 0;
    }

    body.catalog-eastfork-page .product-card:nth-child(3n + 4) {
        overflow: hidden;
    }

    body.catalog-eastfork-page .product-card:nth-child(3n + 4)::before {
        content: none;
    }

    body.catalog-eastfork-page .product-card:nth-child(2n + 3) {
        overflow: visible;
    }

    body.catalog-eastfork-page .product-card:nth-child(2n + 3)::before {
        border-top: 1px solid var(--storefront-line-strong);
        content: "";
        left: 0;
        pointer-events: none;
        position: absolute;
        top: 0;
        width: 200%;
        z-index: 3;
    }

    body.catalog-eastfork-page .product-card {
        min-height: 0;
    }

}

@media (max-width: 560px) {
    body.catalog-eastfork-page .catalog-featured-collections {
        min-height: 0;
        padding: 20px 0;
    }

    body.catalog-eastfork-page .catalog-featured-collections__rail {
        grid-auto-columns: minmax(270px, 86vw);
    }

    body.catalog-eastfork-page .catalog-featured-collections a,
    body.catalog-eastfork-page .catalog-featured-collections__card {
        border-bottom: 0;
        border-right: 1px solid var(--storefront-line-strong);
    }

    body.catalog-eastfork-page .catalog-featured-collections__arrow {
        height: 38px;
        width: 38px;
    }

    body.catalog-eastfork-page .catalog-featured-collections__arrow--prev {
        left: 12px;
    }

    body.catalog-eastfork-page .catalog-featured-collections__arrow--next {
        right: 12px;
    }

    body.catalog-eastfork-page .catalog-page-intro h1 {
        font-size: var(--text-heading-1);
    }

    body.catalog-eastfork-page .catalog-control__panel {
        padding: 18px;
    }

    body.catalog-eastfork-page .catalog-control__panel--sort {
        max-width: none;
        right: 0;
    }

    body.catalog-eastfork-page .filters form,
    body.catalog-eastfork-page .price-range {
        grid-template-columns: minmax(0, 1fr);
    }

    body.catalog-eastfork-page .product-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.catalog-eastfork-page .product-card,
    body.catalog-eastfork-page .product-card:nth-child(2n),
    body.catalog-eastfork-page .product-card:nth-child(3n),
    body.catalog-eastfork-page .product-card:nth-child(4n) {
        border-right: 0;
    }

    body.catalog-eastfork-page .product-card {
        min-height: 0;
        overflow: hidden;
    }

    body.catalog-eastfork-page .product-card:nth-child(2n + 3)::before {
        content: none;
    }

    body.catalog-eastfork-page .product-card + .product-card {
        border-top: 1px solid var(--storefront-line-strong);
    }
}

/* Catalog structural contract: lines belong to the rail, not viewport edges. */

body.catalog-eastfork-page .catalog-featured-collections::before,
body.catalog-eastfork-page .catalog-featured-collections::after {
    background: var(--paper);
    bottom: 0;
    content: "";
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 1px;
    z-index: 7;
}

body.catalog-eastfork-page .catalog-featured-collections::before {
    left: 0;
}

body.catalog-eastfork-page .catalog-featured-collections::after {
    right: 0;
}

body.catalog-eastfork-page .catalog-featured-collections .catalog-featured-collections__card {
    border: 0;
    height: auto;
    min-height: 0;
    padding: 0;
}

body.catalog-eastfork-page .catalog-featured-collections .catalog-featured-collections__card[aria-hidden="true"] {
    pointer-events: auto;
}

@media (max-width: 860px) {
    .market-shell .product-grid,
    .market-shell .product-grid.compact {
        gap: 34px 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 34px;
    }

    .market-shell .product-card {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .market-shell .product-grid,
    .market-shell .product-grid.compact {
        column-gap: 10px;
    }
}

/* === public/css/marketplace/42-series-landing.css === */
/*
    Shared landing pages for the three Lunariska series.
    Source module for public/css/marketplace-bundle.css.
*/

body.series-landing-page main {
    background: #ffffff;
    color: #17120d;
}

.series-landing-breadcrumbs {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid var(--storefront-line-strong);
    display: flex;
    font-size: 15px;
    gap: 10px;
    min-height: 52px;
    padding: 12px clamp(20px, 3vw, 52px);
}

.series-landing-breadcrumbs a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.series-landing-hero {
    background: #ffffff;
    border-bottom: 1px solid var(--storefront-line-strong);
    display: grid;
    grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
    min-height: min(720px, calc(100vh - 180px));
}

.series-landing-hero__copy {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 6vw, 92px) clamp(28px, 4.5vw, 76px);
}

.series-landing-page .eyebrow {
    color: var(--red);
    font-family: var(--font-accent);
    font-size: var(--text-accent);
    font-weight: 700;
    letter-spacing: var(--tracking-accent);
    line-height: var(--line-accent);
    margin: 0;
    text-transform: uppercase;
}

.series-landing-hero h1 {
    color: #17120d;
    font-size: var(--text-heading-1);
    line-height: var(--line-heading-1);
    margin: 16px 0 0;
    max-width: 680px;
}

.series-landing-hero__lead {
    color: #17120d;
    font-size: clamp(21px, 2vw, 30px);
    line-height: 1.24;
    margin: 26px 0 0;
    max-width: 650px;
}

.series-landing-hero__intro {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
    margin: 20px 0 0;
    max-width: 650px;
}

.series-landing-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 34px;
}

.series-landing-text-link {
    border-bottom: 1px solid #17120d;
    font-size: 15px;
    font-weight: 700;
    padding-bottom: 2px;
}

.series-landing-hero__visual {
    align-items: center;
    background: #ffffff;
    border-left: 1px solid var(--storefront-line-strong);
    display: flex;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    padding: clamp(28px, 4vw, 66px);
}

.series-landing-hero__picture {
    display: block;
    width: 100%;
}

.series-landing-hero__image {
    aspect-ratio: 16 / 11;
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(23, 18, 13, 0.12);
    height: auto;
    object-fit: cover;
    transition:
        box-shadow var(--storefront-media-transition-duration) ease,
        transform var(--storefront-media-transition-duration) ease;
    width: 100%;
}

.series-landing-hero__visual:hover .series-landing-hero__image,
.series-landing-hero__visual:focus-visible .series-landing-hero__image {
    box-shadow: 0 18px 36px rgba(23, 18, 13, 0.16);
    transform: scale(1.018);
}

.series-landing-facts {
    background: #ffffff;
    border-bottom: 1px solid var(--storefront-line-strong);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.series-landing-facts > div {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    min-height: 132px;
    padding: 30px clamp(22px, 3vw, 52px);
}

.series-landing-facts > div + div {
    border-left: 1px solid var(--storefront-line-strong);
}

.series-landing-facts strong {
    color: #17120d;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.15;
}

.series-landing-facts span {
    color: var(--muted);
    font-size: 15px;
    margin-top: 8px;
}

.series-landing-models {
    background: #ffffff;
    border-bottom: 1px solid var(--storefront-line-strong);
}

.series-landing-section-heading {
    padding: clamp(38px, 5vw, 72px) clamp(22px, 4vw, 68px);
}

.series-landing-section-heading h2,
.series-landing-story h2,
.series-landing-faq h2 {
    color: #17120d;
    font-size: var(--text-heading-2);
    line-height: var(--line-heading-2);
    margin: 12px 0 0;
}

.series-landing-section-heading > p:last-child {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.5;
    margin: 16px 0 0;
    max-width: 720px;
}

body.catalog-eastfork-page.series-landing-page .series-landing-products {
    border-top: 1px solid var(--storefront-line-strong);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

body.catalog-eastfork-page.series-landing-page .series-landing-products .product-card {
    border-right: 1px solid var(--storefront-line-strong);
    overflow: hidden;
}

body.catalog-eastfork-page.series-landing-page .series-landing-products .product-card:nth-child(2n) {
    border-right: 0;
}

body.catalog-eastfork-page.series-landing-page .series-landing-products .product-card::before {
    content: none;
}

.series-landing-story {
    background: #ffffff;
    border-bottom: 1px solid var(--storefront-line-strong);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.series-landing-story__visual {
    align-items: center;
    border-right: 1px solid var(--storefront-line-strong);
    display: flex;
    justify-content: center;
    min-height: 620px;
    overflow: hidden;
    padding: clamp(28px, 4.5vw, 72px);
}

.series-landing-story__picture {
    display: flex;
    justify-content: center;
    width: 100%;
}

.series-landing-story__image {
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(23, 18, 13, 0.12);
    max-height: 570px;
    object-fit: contain;
    transition:
        box-shadow var(--storefront-media-transition-duration) ease,
        transform var(--storefront-media-transition-duration) ease;
    width: auto;
}

.series-landing-story__visual:hover .series-landing-story__image,
.series-landing-story__visual:focus-visible .series-landing-story__image {
    box-shadow: 0 18px 36px rgba(23, 18, 13, 0.16);
    transform: scale(1.018);
}

.series-landing-story__copy {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(44px, 6vw, 94px);
}

.series-landing-story__copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.58;
    margin: 22px 0 30px;
    max-width: 620px;
}

.series-landing-features {
    background: #ffffff;
    border-bottom: 1px solid var(--storefront-line-strong);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.series-landing-features article {
    min-height: 250px;
    padding: clamp(30px, 4vw, 62px);
}

.series-landing-features article + article {
    border-left: 1px solid var(--storefront-line-strong);
}

.series-landing-features article > span {
    color: var(--red);
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
}

.series-landing-features h3 {
    color: #17120d;
    font-size: var(--text-heading-3);
    line-height: var(--line-heading-3);
    margin: 24px 0 0;
}

.series-landing-features p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.5;
    margin: 14px 0 0;
    max-width: 420px;
}

.series-landing-faq {
    background: #ffffff;
    border-bottom: 1px solid var(--storefront-line-strong);
    margin: 0 auto;
    max-width: 1040px;
    padding: clamp(48px, 6vw, 88px) clamp(20px, 3vw, 42px);
}

.series-landing-faq h2 {
    margin: 0 0 28px;
}

.series-landing-faq__items {
    border-top: 1px solid var(--storefront-line-strong);
}

.series-landing-faq details {
    border-bottom: 1px solid var(--storefront-line-strong);
}

.series-landing-faq summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: 19px;
    justify-content: space-between;
    line-height: 1.35;
    list-style: none;
    min-height: 76px;
    padding: 18px 0;
}

.series-landing-faq summary::-webkit-details-marker {
    display: none;
}

.series-landing-faq__icon {
    align-items: center;
    background: var(--color-clay-light);
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 36px;
    font-size: 20px;
    height: 36px;
    justify-content: center;
    margin-left: 20px;
    transition: transform 160ms ease;
}

.series-landing-faq details[open] .series-landing-faq__icon {
    transform: rotate(180deg);
}

.series-landing-faq details p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
    margin: 0;
    max-width: 760px;
    padding: 0 56px 24px 0;
}

.series-landing-related {
    background: #ffffff;
}

.series-landing-related__grid {
    border-top: 1px solid var(--storefront-line-strong);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.series-landing-related__card {
    display: grid;
    grid-template-columns: minmax(180px, .82fr) minmax(0, 1.18fr);
    min-height: 360px;
}

.series-landing-related__card + .series-landing-related__card {
    border-left: 1px solid var(--storefront-line-strong);
}

.series-landing-related__picture {
    border-right: 1px solid var(--storefront-line-strong);
    display: block;
    min-height: 100%;
    overflow: hidden;
}

.series-landing-related__image {
    height: 100%;
    object-fit: cover;
    transition: transform var(--storefront-media-transition-duration) ease;
    width: 100%;
}

.series-landing-related__card:hover .series-landing-related__image,
.series-landing-related__card:focus-visible .series-landing-related__image {
    transform: scale(1.025);
}

.series-landing-related__copy {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(26px, 3vw, 48px);
}

.series-landing-related__copy small {
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.series-landing-related__copy strong {
    color: #17120d;
    font-size: clamp(24px, 2.3vw, 36px);
    line-height: 1.12;
    margin-top: 12px;
}

.series-landing-related__copy > span:not(.series-landing-related__cta) {
    color: var(--muted);
    line-height: 1.45;
    margin-top: 16px;
}

.series-landing-related__cta {
    border-bottom: 1px solid #17120d;
    font-size: 14px;
    font-weight: 800;
    margin-top: 24px;
    padding-bottom: 2px;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .series-landing-hero {
        grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
        min-height: 600px;
    }

    .series-landing-related__card {
        grid-template-columns: minmax(150px, .72fr) minmax(0, 1.28fr);
    }
}

@media (max-width: 820px) {
    .series-landing-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .series-landing-hero__visual {
        border-left: 0;
        border-top: 1px solid var(--storefront-line-strong);
    }

    .series-landing-facts,
    .series-landing-features {
        grid-template-columns: minmax(0, 1fr);
    }

    .series-landing-facts > div,
    .series-landing-features article {
        min-height: 0;
    }

    .series-landing-facts > div + div,
    .series-landing-features article + article {
        border-left: 0;
        border-top: 1px solid var(--storefront-line-strong);
    }

    body.catalog-eastfork-page.series-landing-page .series-landing-products {
        grid-template-columns: minmax(0, 1fr);
    }

    body.catalog-eastfork-page.series-landing-page .series-landing-products .product-card {
        border-right: 0;
    }

    body.catalog-eastfork-page.series-landing-page .series-landing-products .product-card + .product-card {
        border-top: 1px solid var(--storefront-line-strong);
    }

    .series-landing-story {
        grid-template-columns: minmax(0, 1fr);
    }

    .series-landing-story__visual {
        border-bottom: 1px solid var(--storefront-line-strong);
        border-right: 0;
        min-height: 0;
    }

    .series-landing-related__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .series-landing-related__card + .series-landing-related__card {
        border-left: 0;
        border-top: 1px solid var(--storefront-line-strong);
    }
}

@media (max-width: 560px) {
    .series-landing-breadcrumbs {
        padding-left: 16px;
        padding-right: 16px;
    }

    .series-landing-hero__copy {
        padding: 38px 18px 42px;
    }

    .series-landing-hero__visual {
        padding: 18px;
    }

    .series-landing-hero__lead {
        font-size: 20px;
    }

    .series-landing-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .series-landing-actions .ef-button {
        width: 100%;
    }

    .series-landing-text-link {
        align-self: flex-start;
    }

    .series-landing-section-heading,
    .series-landing-story__copy {
        padding: 38px 18px;
    }

    .series-landing-story__visual {
        min-height: 0;
        padding: 20px 18px;
    }

    .series-landing-features article {
        padding: 34px 18px;
    }

    .series-landing-faq {
        padding-left: 18px;
        padding-right: 18px;
    }

    .series-landing-faq summary {
        font-size: 17px;
    }

    .series-landing-related__card {
        grid-template-columns: minmax(0, 1fr);
    }

    .series-landing-related__picture {
        aspect-ratio: 16 / 10;
        border-bottom: 1px solid var(--storefront-line-strong);
        border-right: 0;
        min-height: 0;
    }

    .series-landing-related__copy {
        padding: 28px 18px 34px;
    }
}

/* === public/css/marketplace/50-pdp-foundation.css === */
/*
    Product detail foundation and legacy-compatible defaults.
    Source module for public/css/marketplace-bundle.css.
*/

/* Amazon-style PDP: gallery rail, detail column, and separate purchase card. */

.product-page .breadcrumbs {
    gap: 6px;
    font-size: 14px;
    margin-bottom: 18px;
}

.product-page .breadcrumbs a {
    font-weight: 700;
}

.product-page .main-image {
    align-items: center;
    display: flex;
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
    min-height: 0;
    width: 100%;
    aspect-ratio: var(--gallery-image-ratio, 4 / 3);
}

.product-page .main-image img,
.product-page .main-image.main-image--landscape img {
    height: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: inherit;
    width: 100%;
}

.product-page .main-image.main-image--portrait img {
    height: 100%;
    width: auto;
}

.product-description-panel {
    border: 0;
    grid-row: 2;
    margin: 0;
    text-align: center;
}

.product-full-view-hint {
    appearance: none;
    background: transparent;
    border: 0;
    color: #007185;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    padding: 0;
}

.product-full-view-hint:hover,
.product-full-view-hint:focus-visible {
    color: #c7511f;
    outline: none;
    text-decoration: underline;
}

.product-page .product-info {
    background: transparent;
    border: 0;
    color: #0f1111;
    grid-column: 2;
    grid-row: 1;
    padding: 0;
}

.amazon-store-link,
.amazon-offer-link,
.amazon-more-link,
.amazon-rating-row a,
.amazon-prime-card a,
.amazon-buy-meta dd {
    color: #007185;
}

.amazon-store-link {
    font-size: 15px;
    margin: 0 0 4px;
}

.amazon-rating-row {
    align-items: center;
    border-bottom: 1px solid var(--storefront-line-strong);
    display: flex;
    gap: 5px;
    min-height: 34px;
    padding: 4px 0 9px;
}

.amazon-stars {
    color: #ff9900;
    font-size: 16px;
    letter-spacing: -1px;
}

.amazon-rating-caret {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #565959;
    height: 0;
    width: 0;
}

.amazon-rating-row a,
.amazon-more-link {
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.amazon-discount {
    color: #cc0c39;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
}

.amazon-price {
    color: #0f1111;
    font-size: 36px;
    font-weight: 500;
    line-height: 0.95;
}

.amazon-price sup {
    font-size: 18px;
    line-height: 1;
    margin-left: 1px;
    top: -0.6em;
}

.amazon-offer-link {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 18px 0;
}

.amazon-style-list {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
}

.product-series-picker__head h2 {
    color: #0f1111;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0;
}

.product-series-picker__head span {
    line-height: 1.2;
}

.product-series-picker__grid {
    justify-content: start;
    grid-template-columns: repeat(auto-fill, 70px);
}

.product-series-option {
    color: #0f1111;
    text-decoration: none;
    border-color: color-mix(in srgb, var(--ink) 12%, transparent);
}

.product-series-option__picture {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-series-option__image {
    aspect-ratio: 1 / 1;
    border-radius: 4px;
}

.amazon-style-list div {
    display: flex;
    gap: 5px;
}

.amazon-style-list dt,
.amazon-style-list dd {
    color: #0f1111;
    font-size: 16px;
    margin: 0;
}

.amazon-style-list dt {
    font-weight: 700;
}

.amazon-bullets {
    border-bottom: 1px solid var(--storefront-line-strong);
    margin: 0;
    padding: 0 0 18px 20px;
}

.amazon-bullets li {
    color: #0f1111;
    font-size: 16px;
    font-weight: 500;
}

.amazon-more-link {
    display: inline-flex;
    margin: 12px 0 22px;
}

.amazon-additional-details {
    border-top: 1px solid var(--storefront-line-strong);
    padding-top: 18px;
}

.amazon-additional-details h2 {
    color: #0f1111;
    font-size: 26px;
    line-height: 1.1;
    margin: 0 0 12px;
}

.amazon-additional-details dl {
    display: grid;
    gap: 8px;
    margin: 0 0 12px;
}

.amazon-additional-details div {
    display: grid;
    gap: 10px;
    grid-template-columns: 110px minmax(0, 1fr);
}

.amazon-additional-details dt,
.amazon-additional-details dd {
    color: #0f1111;
    font-size: 15px;
    margin: 0;
}

.amazon-additional-details dt {
    color: #565959;
    font-weight: 700;
}

.amazon-additional-details p {
    color: #565959;
    font-size: 15px;
    line-height: 1.45;
    margin: 0;
}

.product-page .buy-box {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #0f1111;
    display: grid;
    gap: 16px;
    grid-column: 3;
    grid-row: 1;
    padding: 0;
    position: relative;
    top: auto;
}

.amazon-prime-card,
.buy-box-inner {
    background: #ffffff;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 8px;
    color: #0f1111;
    padding: 18px;
}

.amazon-prime-card strong {
    color: #146eb4;
    display: block;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 12px;
}

.amazon-prime-card p {
    color: #0f1111;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
}

.amazon-prime-card a {
    font-size: 15px;
    font-weight: 700;
}

.buy-box-inner .price.big {
    color: #0f1111;
    font-size: 34px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 18px;
}

.buy-box-inner .delivery {
    color: #0f1111;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 16px;
}

.amazon-location {
    color: #007185;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 18px;
}

.amazon-stock {
    color: #007600;
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 14px;
}

.product-buy-cart-form {
    display: grid;
    gap: 12px;
}

.amazon-quantity-label {
    align-items: center;
    background: #f0f2f2;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 8px;
    display: flex;
    gap: 8px;
    min-height: 40px;
    padding: 0 12px;
}

.amazon-quantity-label span {
    color: #0f1111;
    font-size: 15px;
    font-weight: 700;
}

.amazon-quantity-label select {
    background: transparent;
    border: 0;
    color: #0f1111;
    flex: 1;
    min-height: 38px;
    outline: none;
}

.amazon-add-cart-button,
.amazon-buy-now-button {
    align-items: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    justify-content: center;
    min-height: 42px;
    text-decoration: none;
    width: 100%;
    color: #ffffff;
}

.amazon-add-cart-button:hover,
.amazon-add-cart-button:focus-visible {
    box-shadow: none;
    transform: none;
    background: var(--red-dark);
    color: #ffffff;
}

.amazon-buy-now-button {
    margin-top: 10px;
    background: var(--navy);
}

.amazon-buy-meta {
    border-bottom: 1px solid var(--storefront-line-strong);
    display: grid;
    gap: 10px;
    margin: 18px 0 14px;
    padding-bottom: 18px;
}

.amazon-buy-meta div {
    display: grid;
    gap: 8px;
    grid-template-columns: 78px minmax(0, 1fr);
}

.amazon-buy-meta dt,
.amazon-buy-meta dd {
    font-size: 14px;
    line-height: 1.25;
    margin: 0;
}

.amazon-buy-meta dt {
    color: #565959;
}

.amazon-buy-meta dd {
    font-weight: 700;
}

.amazon-list-button {
    background: #ffffff;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 8px;
    color: #0f1111;
    cursor: pointer;
    font-size: 16px;
    min-height: 38px;
    padding: 0 14px;
    text-align: left;
    width: 100%;
}

@media (max-width: 1280px) {
    .product-page .product-detail {
        grid-template-columns: minmax(460px, 1fr) minmax(330px, 0.82fr) 286px;
        gap: 22px;
    }

    .product-page .gallery {
        grid-template-columns: 52px minmax(0, 1fr);
    }
}

@media (max-width: 1080px) {
    .product-page .product-detail {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .product-page .product-info {
        grid-column: 1;
        order: initial;
    }

    .product-page .buy-box {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 860px) {
    .product-surface-page .product-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .product-page .product-detail {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-page .gallery,
    .product-page .buy-box {
        position: static;
    }

    .product-page .buy-box,
    .product-page .product-info {
        grid-column: 1;
    }

    .product-page .gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-page .main-image,
    .product-description-panel {
        grid-column: 1;
    }

    .product-page .thumb-list {
        display: flex;
        grid-column: 1;
        grid-row: 3;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .product-series-picker__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .product-series-picker__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-series-picker__head {
        align-items: start;
        flex-direction: column;
    }
}

/* PDP cleanup and reviews. */
body.product-zoom-open .product-page .gallery {
    z-index: 2147482000;
}

body.product-zoom-open .product-zoom-modal {
    z-index: 2147483000;
}

body.product-zoom-open .product-page .product-info,
body.product-zoom-open .product-page .buy-box {
    z-index: 0;
}

.amazon-add-cart-button {
    background: var(--red);
}

.amazon-buy-now-button:hover,
.amazon-buy-now-button:focus-visible {
    background: #16283a;
    color: #ffffff;
}

/* === public/css/marketplace/51-pdp-purchase.css === */
/*
    Product purchase panel, options, delivery, and purchase responsiveness.
    Source module for public/css/marketplace-bundle.css.
*/

/* Nike-inspired PDP structure on Lunariska colors. */
body.product-surface-page main {
    background: var(--paper);
}

.product-surface-page .product-page {
    --pdp-gap: clamp(20px, 2vw, 32px);
    --pdp-page-pad: clamp(12px, 1.4vw, 24px);
    --pdp-rail-width: clamp(360px, 38vw, 620px);
    background: var(--paper);
    overflow: visible;
}

.product-page .breadcrumbs a,
.product-page .breadcrumbs span:last-child {
    color: var(--muted);
}

.product-page .product-detail {
    justify-content: stretch;
}

.product-page .gallery {
    grid-row: 1;
    top: auto;
}

.product-page .thumb-list button {
    border-color: color-mix(in srgb, var(--ink) 28%, transparent);
}

.product-page .main-image.main-image--landscape {
    aspect-ratio: var(--gallery-image-ratio, 4 / 3);
}

.product-page .main-image.main-image--portrait {
    aspect-ratio: var(--gallery-image-ratio, 4 / 5);
}

.product-page .product-info.nike-product-panel {
    border: 0;
    top: auto;
}

@media (min-width: 981px) {

    .product-page .product-info.nike-product-panel {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

.nike-product-head {
    display: grid;
    gap: 14px;
}

.nike-product-kicker {
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 4px;
}

.nike-rating-row {
    border-bottom: 0;
    min-height: auto;
    padding: 0;
}

.nike-rating-row a,
.amazon-more-link {
    color: #0b7c8d;
}

.product-series-picker {
    border-bottom: 0;
    padding-bottom: 0;
}

.product-series-picker__head span,
.nike-section-row span,
.nike-size-status {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.nike-size-guide,
.nike-inline-link {
    color: #0b7c8d;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.nike-size-guide:hover,
.nike-size-guide:focus-visible,
.nike-inline-link:hover,
.nike-inline-link:focus-visible {
    color: var(--red);
    outline: none;
    text-decoration: underline;
}

.nike-size-picker,
.nike-product-meta {
    border-top: 0;
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.nike-section-row {
    gap: 14px;
}

.nike-size-option {
    appearance: none;
    gap: 3px;
}

.nike-size-option strong,
.nike-size-option span {
    display: block;
}

.nike-size-option strong {
    font-size: 16px;
    font-weight: 900;
}

.nike-size-option span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.nike-size-option.is-active {
    border-color: var(--ink);
}

.nike-size-option:disabled,
.nike-size-option[aria-disabled="true"] {
    color: color-mix(in srgb, var(--ink) 42%, transparent);
    cursor: not-allowed;
    opacity: 0.54;
}

.nike-product-meta {
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
}

.nike-product-meta div,
.nike-detail-body dl div {
    display: grid;
    gap: 10px;
    grid-template-columns: 112px minmax(0, 1fr);
}

.nike-product-meta dt,
.nike-product-meta dd,
.nike-detail-body dt,
.nike-detail-body dd {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.35;
    margin: 0;
}

.nike-product-meta dt,
.nike-detail-body dt {
    color: var(--muted);
    font-weight: 800;
}

.nike-product-meta dd,
.nike-detail-body dd {
    font-weight: 800;
}

.nike-buy-form {
    display: grid;
    gap: 12px;
}

.nike-quantity-label {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    gap: 12px;
    min-height: 46px;
    padding: 0 14px;
}

.nike-quantity-label span {
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
}

.nike-quantity-label select {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--ink);
    flex: 1;
    font: inherit;
    font-weight: 800;
    min-height: 44px;
    outline: none;
    text-align: right;
}

.nike-add-cart-button,
.nike-buy-now-button {
    border-radius: 999px;
    font-size: 17px;
    min-height: 60px;
}

.nike-add-cart-button.is-submitting {
    cursor: wait;
}

.nike-favorite-button {
    align-items: center;
    appearance: none;
    background: var(--surface);
    border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    font-size: 17px;
    font-weight: 900;
    gap: 10px;
    justify-content: center;
    min-height: 60px;
    padding: 0 22px;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
    width: 100%;
}

.nike-favorite-button svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 22px;
}

.nike-favorite-button:hover,
.nike-favorite-button:focus-visible {
    border-color: var(--ink);
    box-shadow: 0 10px 24px rgba(16, 32, 50, 0.12);
    outline: none;
}

.nike-favorite-button.is-active,
.nike-favorite-button[aria-pressed="true"] {
    border-color: var(--red);
    color: var(--red);
}

.nike-favorite-button.is-active svg,
.nike-favorite-button[aria-pressed="true"] svg {
    fill: currentColor;
}

.nike-shipping-card h2 {
    color: var(--ink);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.15;
    margin: 0;
}

.nike-shipping-card p {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.45;
}

.nike-shipping-card div {
    display: grid;
    gap: 3px;
}

.nike-shipping-card strong,
.nike-shipping-card span,
.nike-shipping-card a {
    font-size: 15px;
    line-height: 1.35;
}

.nike-shipping-card strong {
    color: var(--ink);
}

.nike-shipping-card span {
    color: var(--muted);
    font-weight: 700;
}

.nike-shipping-card a {
    color: #0b7c8d;
}

.nike-shipping-card a:hover,
.nike-shipping-card a:focus-visible {
    color: var(--red);
    outline: none;
    text-decoration: underline;
}

.nike-product-copy {
    display: grid;
    gap: 14px;
}

.nike-product-copy p {
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.nike-product-copy ul {
    color: var(--ink);
    display: grid;
    font-size: 15px;
    font-weight: 800;
    gap: 6px;
    line-height: 1.4;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nike-product-facts span {
    font-weight: 900;
}

.nike-product-details-trigger {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: 16px;
    font-weight: 900;
    justify-self: start;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nike-product-details-trigger:hover,
.nike-product-details-trigger:focus-visible {
    color: var(--red);
    outline: none;
}

.nike-product-accordions summary > span:first-child {
    min-width: 0;
}

.nike-accordion-rating {
    align-items: center;
    display: inline-flex;
    white-space: nowrap;
}

.nike-accordion-stars {
    line-height: 1;
}

.nike-product-accordions summary::after {
    border-width: 0 2px 2px 0;
    transition: transform 160ms ease;
}

.nike-detail-body p,
.nike-detail-body dl {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.nike-detail-body .nike-inline-link {
    display: inline-flex;
    margin-top: 12px;
}

.nike-mobile-sticky-buy {
    display: none;
}

body.nike-details-modal-open {
    overflow: hidden;
}

.nike-details-modal[hidden] {
    display: none;
}

.nike-details-modal {
    align-items: center;
    display: grid;
    inset: 0;
    justify-items: center;
    padding: 28px;
    position: fixed;
    z-index: 2147482500;
}

.nike-details-modal__backdrop {
    background: rgba(13, 27, 42, 0.36);
    inset: 0;
    position: absolute;
}

.nike-details-modal__panel {
    background: var(--surface);
    border-radius: 8px;
    box-shadow: 0 28px 90px rgba(13, 27, 42, 0.24);
    color: var(--ink);
    display: grid;
    gap: 28px;
    max-height: min(720px, calc(100vh - 56px));
    max-width: 760px;
    overflow: auto;
    padding: 48px;
    position: relative;
    width: min(100%, 760px);
}

.nike-details-modal__close {
    align-items: center;
    appearance: none;
    background: var(--surface);
    border: 2px solid var(--red);
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    height: 46px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 28px;
    top: 28px;
    width: 46px;
}

.nike-details-modal__close span,
.nike-details-modal__close span::after {
    background: currentColor;
    border-radius: 999px;
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    width: 20px;
}

.nike-details-modal__close span {
    transform: rotate(45deg);
}

.nike-details-modal__close span::after {
    transform: rotate(90deg);
}

.nike-details-modal__close:hover,
.nike-details-modal__close:focus-visible {
    background: var(--paper);
    outline: none;
}

.nike-details-modal__head {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: 60px minmax(0, 1fr);
    padding-right: 72px;
}

.nike-details-modal__head img {
    aspect-ratio: 1;
    background: var(--paper);
    border-radius: 4px;
    object-fit: cover;
    width: 60px;
}

.nike-details-modal__head h2,
.nike-details-modal__head p,
.nike-details-modal__body p,
.nike-details-modal__body h3,
.nike-details-modal__body ul {
    margin: 0;
}

.nike-details-modal__head h2 {
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.nike-details-modal__head p {
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.nike-details-modal__body {
    display: grid;
    gap: 16px;
}

.nike-details-modal__body p,
.nike-details-modal__body li {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5;
}

.nike-details-modal__body h3 {
    color: var(--ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
}

.nike-details-modal__body ul {
    display: grid;
    gap: 8px;
    padding-left: 20px;
}

@media (max-width: 1180px) and (min-width: 981px) {
    .product-surface-page .product-page {
        --pdp-gap: clamp(18px, 2vw, 28px);
        --pdp-rail-width: clamp(340px, 38vw, 450px);
    }

    .product-page .product-detail {
        grid-template-columns:
            minmax(0, calc(100vw - (2 * var(--pdp-page-pad)) - var(--pdp-gap) - var(--pdp-rail-width)))
            minmax(280px, var(--pdp-rail-width));
        gap: var(--pdp-gap);
    }

    .product-page .product-info.nike-product-panel {
        top: 78px;
    }
}

@media (max-width: 980px) {

    .product-surface-page .product-page {
        padding-bottom: 116px;
    }

    .nike-mobile-sticky-buy {
        align-items: center;
        background: var(--paper);
        border-top: 1px solid var(--line);
        bottom: 0;
        box-shadow: 0 -18px 34px rgba(13, 27, 42, 0.14);
        display: grid;
        gap: 12px;
        grid-template-columns: minmax(0, 1fr) auto;
        left: 0;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
        position: fixed;
        right: 0;
        z-index: 1200;
    }

    .nike-mobile-sticky-buy div {
        display: grid;
        gap: 3px;
        min-width: 0;
    }

    .nike-mobile-sticky-buy strong,
    .nike-mobile-sticky-buy span {
        color: var(--ink);
        line-height: 1.15;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nike-mobile-sticky-buy strong {
        font-size: 14px;
        font-weight: 900;
    }

    .nike-mobile-sticky-buy span {
        font-size: 13px;
        font-weight: 800;
    }

    .nike-mobile-add-button {
        align-items: center;
        background: var(--red);
        border: 0;
        border-radius: 999px;
        color: #ffffff;
        cursor: pointer;
        display: inline-flex;
        font-size: 14px;
        font-weight: 900;
        justify-content: center;
        min-height: 46px;
        padding: 0 22px;
    }

    .nike-mobile-add-button.is-submitting,
    .nike-mobile-add-button:disabled {
        cursor: wait;
        opacity: 0.76;
    }
}

@media (max-width: 620px) {
    .product-surface-page .product-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .product-page .gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-page .thumb-list {
        display: flex;
        grid-column: 1;
        grid-row: 2;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .product-page .product-info h1 {
        font-size: var(--text-heading-1);
    }

    .nike-size-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nike-section-row,
    .product-series-picker__head {
        align-items: start;
        flex-direction: column;
        gap: 6px;
    }

    .nike-details-modal {
        align-items: end;
        padding: 0;
    }

    .nike-details-modal__panel {
        border-radius: 8px 8px 0 0;
        max-height: calc(100vh - 42px);
        padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
        width: 100%;
    }

    .nike-details-modal__close {
        right: 18px;
        top: 18px;
    }

    .nike-details-modal__head {
        padding-right: 58px;
    }
}

/* === public/css/marketplace/52-pdp-reviews.css === */
/*
    Product review summary, forms, media, and review-list layout.
    Source module for public/css/marketplace-bundle.css.
*/

.product-reviews {
    border-top: 1px solid var(--storefront-line-strong);
    display: grid;
    gap: 54px;
    grid-template-columns: 360px minmax(0, 1fr);
    margin-top: 56px;
    padding-top: 36px;
}

.reviews-summary h2,
.reviews-content h2,
.review-form-card h3 {
    color: #0f1111;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.15;
    margin: 0;
}

.reviews-summary h2,
.reviews-content h2 {
    font-size: 28px;
}

.reviews-summary {
    color: #565959;
}

.reviews-score-line {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.reviews-score-line strong {
    color: #0f1111;
    font-size: 18px;
}

.reviews-summary > p {
    font-size: 15px;
    margin: 10px 0 18px;
}

.reviews-bars {
    border-bottom: 1px solid var(--storefront-line-strong);
    display: grid;
    gap: 10px;
    padding-bottom: 26px;
}

.reviews-bars div {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 64px minmax(0, 1fr) 42px;
}

.reviews-bars span,
.reviews-bars strong {
    color: #2a6f80;
    font-size: 14px;
    font-weight: 700;
}

.reviews-bars meter {
    appearance: none;
    background: #ffffff;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 4px;
    height: 24px;
    overflow: hidden;
    width: 100%;
}

.reviews-bars meter::-webkit-meter-bar {
    background: #ffffff;
    border: 0;
}

.reviews-bars meter::-webkit-meter-optimum-value {
    background: var(--red);
}

.reviews-bars meter::-moz-meter-bar {
    background: var(--red);
}

.review-form-card {
    border-bottom: 1px solid var(--storefront-line-strong);
    padding: 28px 0;
}

.review-form-card h3 {
    font-size: 24px;
}

.review-form-card p,
.review-gate-note {
    color: #0f1111;
    font-size: 15px;
    line-height: 1.45;
    margin: 10px 0 18px;
}

.review-form-card form {
    display: grid;
    gap: 12px;
}

.review-form-card label {
    color: #0f1111;
    display: grid;
    font-size: 14px;
    font-weight: 700;
    gap: 6px;
}

.review-form-card input,
.review-form-card select,
.review-form-card textarea {
    background: #ffffff;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 6px;
    color: #0f1111;
    font: inherit;
    padding: 10px 12px;
    width: 100%;
}

.review-submit-button,
.review-login-button {
    align-items: center;
    background: var(--red);
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-size: 15px;
    font-weight: 800;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    text-decoration: none;
}

.review-submit-button:hover,
.review-submit-button:focus-visible,
.review-login-button:hover,
.review-login-button:focus-visible {
    background: var(--red-dark);
    color: #ffffff;
    outline: none;
}

.reviews-content {
    min-width: 0;
}

.reviews-say {
    max-width: 840px;
}

.reviews-say p {
    color: #0f1111;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    margin: 12px 0 14px;
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.review-tags span {
    color: #2a6f80;
    font-size: 15px;
    font-weight: 800;
}

.review-tags span::before {
    color: #008575;
    content: "↗";
    margin-right: 6px;
}

.reviews-with-images,
.top-reviews {
    border-top: 1px solid var(--storefront-line-strong);
    margin-top: 28px;
    padding-top: 28px;
}

.reviews-section-head {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.reviews-section-head a {
    color: #2a6f80;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.review-photo-strip {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 18px;
}

.review-photo-strip img {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.top-reviews {
    display: grid;
    gap: 28px;
}

.review-item {
    display: grid;
    gap: 14px;
    grid-template-columns: 42px minmax(0, 1fr);
    max-width: 840px;
}

.review-author-avatar {
    align-items: center;
    background: #d5d9d9;
    border-radius: 999px;
    color: #565959;
    display: flex;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    margin-top: 2px;
    width: 34px;
}

.review-author,
.review-title,
.review-meta,
.review-style,
.review-body {
    margin: 0;
}

.review-author {
    color: #0f1111;
    font-size: 15px;
    margin-bottom: 8px;
}

.review-title {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.review-title strong {
    color: #0f1111;
    font-size: 16px;
}

.review-meta,
.review-style {
    color: #565959;
    font-size: 14px;
    font-weight: 700;
    margin-top: 4px;
}

.review-style span {
    color: #c45500;
    margin-left: 8px;
}

.review-body {
    color: #0f1111;
    font-size: 16px;
    line-height: 1.45;
    margin-top: 10px;
}

.review-empty-note {
    color: #565959;
    font-size: 16px;
    line-height: 1.45;
    margin: 0;
    max-width: 620px;
}

.review-inline-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.review-inline-photos img {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    height: 108px;
    object-fit: cover;
    width: 108px;
}

@media (max-width: 980px) {
    .product-reviews {
        grid-template-columns: minmax(0, 1fr);
    }

    .review-photo-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .review-photo-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .review-item {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* === public/css/marketplace/53-pdp-gallery-state.css === */
/*
    Product gallery interaction states and pointer-specific behavior.
    Source module for public/css/marketplace-bundle.css.
*/

/* Stabilize gallery switching after the page has been scrolled. */
.product-page .product-detail,
.product-page .gallery,
.product-page .main-image,
.product-page .thumb-list {
    overflow-anchor: none;
}

.product-page .main-image .gallery-arrow,
.product-page .main-image:focus-within .gallery-arrow,
.product-page .main-image .gallery-arrow:focus-visible {
    opacity: 0;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .product-page .main-image:hover .gallery-arrow {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(-50%);
    }
}

@media (hover: none), (pointer: coarse) {
    .product-page .main-image .gallery-arrow {
        display: none;
    }
}

@media (min-width: 981px) {
    .product-page .main-image .gallery-arrow {
        display: inline-flex;
        opacity: 0;
        pointer-events: none;
    }

    .product-page .main-image:hover .gallery-arrow,
    .product-page .main-image:focus-within .gallery-arrow,
    .product-page .main-image .gallery-arrow:hover,
    .product-page .main-image .gallery-arrow:focus-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(-50%);
    }
}

/* === public/css/marketplace/54-pdp-composition.css === */
/*
    East Fork product hero, gallery, purchase panel, and primary responsiveness.
    Source module for public/css/marketplace-bundle.css.
*/

/* East Fork-style PDP override. Keeps Lunariska header and existing gallery/zoom JS. */

.product-surface-page .product-page {
    max-width: none;
    padding: 0;
}

.product-surface-page .success-banner {
    margin: 18px auto;
    max-width: 1280px;
}

.product-page .product-detail {
    border-bottom: 1px solid var(--storefront-line-strong);
    border-top: 1px solid var(--storefront-line-strong);
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr) minmax(460px, 460px);
    margin: 0 auto;
    max-width: 1616px;
    width: 100%;
}

.product-page .gallery {
    display: grid;
    gap: 16px 12px;
    grid-column: 1;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
}

.product-page .gallery .breadcrumbs {
    align-items: center;
    color: #111111;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 9px;
    grid-column: 1 / -1;
    line-height: 1.25;
    margin: 22px 0 2px;
}

.product-page .gallery .breadcrumbs a,
.product-page .gallery .breadcrumbs span {
    color: #111111;
    font-weight: 500;
    text-decoration: none;
}

.product-page .gallery .breadcrumbs a:hover,
.product-page .gallery .breadcrumbs a:focus-visible {
    outline: none;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-page .gallery .breadcrumbs span:last-child {
    font-weight: 800;
}

.product-page .thumb-list {
    align-content: start;
    display: grid;
    gap: 16px;
    grid-column: 1;
    grid-row: 2;
}

.product-page .thumb-list button:hover,
.product-page .thumb-list button:focus-visible {
    box-shadow: none;
}

.product-page .thumb-list img {
    object-fit: cover;
}

.product-page .main-image,
.product-page .main-image.main-image--landscape,
.product-page .main-image.main-image--portrait {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    grid-column: 2;
    grid-row: 2;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.product-page .gallery-media-frame {
    align-items: center;
    aspect-ratio: var(--gallery-image-ratio, 4 / 3);
    display: flex;
    justify-content: center;
    max-height: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.product-page .main-image--portrait .gallery-media-frame {
    height: 100%;
    width: auto;
}

.product-page .gallery-media-frame > [data-gallery-main] {
    object-fit: cover;
}

.product-page .main-image img,
.product-page .main-image.main-image--landscape img,
.product-page .main-image.main-image--portrait img {
    border-radius: 0;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

body.product-surface-page .product-page .main-image .gallery-arrow {
    align-items: center;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 0;
    bottom: 24px;
    box-shadow: none;
    color: #111111;
    height: 42px;
    justify-content: center;
    top: auto;
    transform: none;
    width: 42px;
}

body.product-surface-page .product-page .main-image .gallery-arrow-prev {
    left: auto;
    right: 72px;
}

body.product-surface-page .product-page .main-image .gallery-arrow-next {
    left: auto;
    right: 24px;
}

.gallery-arrow span {
    font-size: 30px;
    line-height: 1;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
    border-color: var(--storefront-line-strong);
}

.product-page .product-info.nike-product-panel {
    align-self: stretch;
    background: #ffffff;
    border-left: 1px solid var(--storefront-line-strong);
    color: #111111;
    grid-column: 2;
    grid-row: 1;
    padding: 48px 32px;
    position: relative;
}

.nike-product-panel__inner {
    display: grid;
    gap: 24px;
}

.nike-product-kicker {
    display: none;
}

.product-page .product-info h1 {
    color: #111111;
    font-family: var(--font-heading);
    font-size: var(--text-heading-1);
    font-weight: var(--font-weight-heading);
    letter-spacing: 0;
    line-height: var(--line-heading-1);
    margin: 0;
    text-wrap: balance;
}

.eastfork-title-variant {
    color: #111111;
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 500;
    line-height: 1.08;
    margin: 8px 0 0;
}

.nike-product-price {
    color: #111111;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.product-series-picker {
    border: 0;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.product-series-picker__head {
    align-items: baseline;
    display: flex;
    gap: 10px;
    justify-content: start;
}

.product-series-picker__head h2,
.nike-section-row h2 {
    color: #111111;
    font-family: var(--font-accent);
    font-size: var(--text-accent);
    font-style: normal;
    font-weight: var(--font-weight-label);
    letter-spacing: var(--tracking-accent);
    line-height: var(--line-accent);
    margin: 0;
    text-transform: uppercase;
}

.product-series-picker__head span {
    color: #111111;
    font-size: 15px;
    font-weight: 500;
}

.product-series-picker__grid {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-series-option {
    align-items: center;
    aspect-ratio: 1;
    background: #ffffff;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 999px;
    box-shadow: none;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    min-width: 42px;
    overflow: hidden;
    padding: 2px;
    width: 42px;
}

.product-series-option.is-active {
    background: #ffffff;
    border-color: var(--storefront-line-strong);
    box-shadow: 0 0 0 2px #111111;
}

.product-series-option:hover,
.product-series-option:focus-visible {
    border-color: var(--storefront-line-strong);
    box-shadow: 0 0 0 2px #111111;
    outline: none;
}

.product-series-option__picture,
.product-series-option__image {
    border-radius: 999px;
    display: block;
    height: 100%;
    width: 100%;
}

.product-series-option__image {
    object-fit: cover;
}

.eastfork-variant-note {
    color: #111111;
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
}

.eastfork-variant-note strong {
    font-weight: 900;
}

.nike-size-picker {
    display: grid;
    gap: 10px;
    padding: 0;
}

.nike-section-row {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
}

.nike-size-guide {
    color: #111111;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nike-size-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr);
}

.nike-size-option {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 0;
    color: #111111;
    display: flex;
    justify-content: space-between;
    min-height: 44px;
    padding: 10px 12px;
    text-align: left;
}

.nike-size-option.is-active {
    box-shadow: inset 0 0 0 1px #111111;
}

.nike-size-option strong,
.nike-size-option span {
    color: #111111;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.nike-size-status {
    color: #111111;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.nike-buy-form {
    width: 100%;
}

.eastfork-buy-row {
    display: grid;
    gap: 0;
    grid-template-columns: 42px 48px 42px minmax(0, 1fr);
    width: 100%;
}

.eastfork-quantity-button,
.eastfork-quantity-input,
.nike-add-cart-button {
    border-radius: 0;
    min-height: 54px;
}

.eastfork-quantity-button {
    align-items: center;
    appearance: none;
    background: #f6f2eb;
    border: 0;
    color: #111111;
    cursor: pointer;
    display: inline-flex;
    font-size: 22px;
    justify-content: center;
}

.eastfork-quantity-button:hover,
.eastfork-quantity-button:focus-visible {
    background: #ece5da;
    outline: none;
}

.eastfork-quantity-input {
    appearance: textfield;
    background: #ffffff;
    border: 0;
    color: #111111;
    font: inherit;
    font-size: 16px;
    font-style: normal;
    font-weight: var(--font-weight-label);
    min-width: 0;
    text-align: center;
}

.eastfork-quantity-input::-webkit-outer-spin-button,
.eastfork-quantity-input::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

.nike-add-cart-button {
    background: var(--storefront-button-bg);
    border: 0;
    color: var(--storefront-button-text);
    font-size: 14px;
    font-family: var(--font-display);
    font-style: normal;
    font-weight: var(--font-weight-label);
    letter-spacing: var(--tracking-accent);
    text-transform: uppercase;
}

.nike-add-cart-button:hover,
.nike-add-cart-button:focus-visible {
    background: var(--storefront-button-bg-hover);
    box-shadow: none;
    outline: none;
    transform: none;
}

.nike-add-cart-button.is-submitting {
    opacity: 0.7;
}

.nike-favorite-button,
.nike-product-copy,
.nike-details-modal,
.nike-mobile-sticky-buy {
    display: none;
}

.nike-shipping-card {
    border-bottom: 1px solid var(--storefront-line-strong);
    display: grid;
    gap: 12px;
    padding-bottom: 24px;
}

.nike-shipping-card h2 {
    display: none;
}

.nike-shipping-card p,
.nike-shipping-card strong,
.nike-shipping-card span,
.nike-shipping-card a {
    color: #111111;
    font-size: 15px;
    line-height: 1.4;
}

.nike-shipping-card p {
    margin: 0;
}

.nike-shipping-card strong {
    font-weight: 900;
}

.nike-shipping-card a {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nike-product-accordions {
    border-top: 0;
}

.nike-product-accordions details {
    border-bottom: 1px solid var(--storefront-line-strong);
}

.nike-product-accordions summary {
    align-items: center;
    color: #111111;
    cursor: pointer;
    display: flex;
    font-family: var(--font-accent);
    font-size: var(--text-accent);
    font-style: normal;
    font-weight: var(--font-weight-label);
    justify-content: space-between;
    letter-spacing: var(--tracking-accent);
    list-style: none;
    line-height: var(--line-accent);
    min-height: 58px;
    text-transform: uppercase;
}

.nike-product-accordions summary::-webkit-details-marker {
    display: none;
}

.nike-product-accordions summary::after {
    border: 0;
    content: "+";
    font-size: 20px;
    height: auto;
    line-height: 1;
    margin-left: 16px;
    transform: none;
    width: auto;
}

.nike-product-accordions details[open] summary::after {
    content: "−";
    transform: none;
}

.nike-accordion-rating {
    letter-spacing: 0;
    margin-left: auto;
    padding-left: 12px;
}

.nike-accordion-stars {
    color: #111111;
    font-size: 14px;
    letter-spacing: 1px;
}

.nike-detail-body {
    color: #111111;
    display: grid;
    gap: 16px;
    padding: 0 0 28px;
}

.nike-detail-body p,
.nike-detail-body li,
.nike-detail-body dt,
.nike-detail-body dd {
    color: #111111;
    font-size: 17px;
    line-height: 1.55;
}

.nike-detail-body p {
    margin: 0;
}

.nike-detail-body ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
}

.nike-detail-body li {
    align-items: start;
    gap: 10px;
}

.eastfork-bullet-thumb {
    aspect-ratio: 1;
    border: 1px solid var(--storefront-line-strong);
    display: inline-block;
    height: 34px;
    margin: 0 8px 2px 0;
    object-fit: cover;
    vertical-align: middle;
    width: 34px;
}

.nike-detail-body dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.nike-detail-body dl div {
    display: grid;
    gap: 12px;
    grid-template-columns: 112px minmax(0, 1fr);
}

.nike-detail-body dt {
    font-weight: 900;
}

.nike-detail-body dd {
    font-weight: 500;
    margin: 0;
}

.nike-inline-link {
    color: #111111;
    font-size: 15px;
    font-weight: 700;
    justify-self: start;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nike-inline-link:hover,
.nike-inline-link:focus-visible {
    color: #7b4a35;
    outline: none;
}

.product-page .related,
.product-page .product-reviews {
    border-bottom: 1px solid var(--storefront-line-strong);
    margin: 0 auto;
    max-width: 1280px;
    padding: 56px 40px;
}

@media (max-width: 980px) {
    .product-page .product-detail {
        border-top: 1px solid var(--storefront-line-strong);
        grid-template-columns: minmax(0, 1fr);
    }

    .product-page .gallery,
    .product-page .product-info.nike-product-panel {
        grid-column: 1;
        position: static;
    }

    .product-page .product-info.nike-product-panel {
        border-left: 0;
        border-top: 1px solid var(--storefront-line-strong);
        grid-row: 2;
        padding: 32px 22px 40px;
    }

    .product-page .gallery {
        grid-template-columns: minmax(0, 1fr);
        padding: 14px 14px 28px;
    }

    .product-page .gallery .breadcrumbs {
        grid-column: 1;
    }

    .product-page .main-image,
    .product-page .main-image.main-image--landscape,
    .product-page .main-image.main-image--portrait {
        grid-column: 1;
        grid-row: 2;
    }

    .product-page .thumb-list {
        display: flex;
        grid-column: 1;
        grid-row: 3;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .product-page .thumb-list button {
        flex: 0 0 82px;
        height: 82px;
        width: 82px;
    }

    .eastfork-buy-row {
        grid-template-columns: 42px 48px 42px minmax(150px, 1fr);
    }

    .product-page .related,
    .product-page .product-reviews {
        padding: 40px 18px;
    }
}

@media (max-width: 560px) {
    .product-page .product-info h1 {
        font-size: var(--text-heading-1);
    }

    .eastfork-title-variant {
        font-size: 24px;
    }

    .eastfork-buy-row {
        grid-template-columns: 44px minmax(44px, 1fr) 44px;
    }

    .nike-add-cart-button {
        grid-column: 1 / -1;
        margin-top: 8px;
    }

    .nike-detail-body dl div {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* === public/css/marketplace/55-pdp-support.css === */
/*
    East Fork collection, pairing, and product-story sections.
    Source module for public/css/marketplace-bundle.css.
*/

.eastfork-collection-section,
.eastfork-pair-section,
.eastfork-story-section,
.eastfork-review-widget {
    background: #ffffff;
    border-bottom: 1px solid var(--storefront-line-strong);
    color: #111111;
    margin: 0 auto;
    max-width: 1440px;
    width: 100%;
}

.eastfork-collection-section {
    border-top: 1px solid var(--storefront-line-strong);
}

.eastfork-collection-inner {
    margin: 0 auto;
    max-width: 1440px;
    padding: 56px 40px;
}

.eastfork-collection-inner h2,
.eastfork-pair-hero h2,
.eastfork-story-copy h2,
.eastfork-review-widget h2 {
    color: #111111;
    font-family: var(--font-heading);
    font-size: clamp(34px, 3vw, 50px);
    font-weight: var(--font-weight-heading);
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
}

.eastfork-collection-inner h2,
.eastfork-review-widget h2 {
    text-align: center;
}

.eastfork-collection-grid {
    align-items: flex-start;
    display: flex;
    gap: 40px;
    justify-content: center;
    margin: 32px auto 0;
}

.eastfork-collection-card {
    align-items: center;
    color: #111111;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 14px;
    max-width: 288px;
    min-width: 0;
    text-align: center;
    text-decoration: none;
}

.eastfork-collection-card:hover,
.eastfork-collection-card:focus-visible {
    outline: none;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.eastfork-collection-card__picture,
.eastfork-collection-card__image {
    display: block;
    width: 100%;
}

.eastfork-collection-card__picture {
    overflow: hidden;
}

.eastfork-collection-card__image {
    height: auto;
    object-fit: contain;
}

.eastfork-collection-card span {
    color: #111111;
    font-family: var(--font-heading);
    font-size: clamp(22px, 1.8vw, 28px);
    font-weight: 700;
    line-height: 1.08;
}

.eastfork-pair-section {
    padding: 0 40px;
}

.eastfork-pair-grid {
    background: #111111;
    border-left: 1px solid var(--storefront-line-strong);
    border-right: 1px solid var(--storefront-line-strong);
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1360px;
}

.eastfork-pair-section--compact .eastfork-pair-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
}

.eastfork-pair-hero,
.eastfork-pair-card {
    background: #ffffff;
}

.eastfork-pair-hero {
    display: flex;
    flex-direction: column;
    grid-column: span 2;
    grid-row: span 2;
    min-height: 720px;
}

.eastfork-pair-section--compact .eastfork-pair-hero {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
}

.eastfork-pair-hero > div {
    padding: 28px 32px;
}

.eastfork-pair-hero h2 {
    font-size: clamp(30px, 2.5vw, 44px);
}

.eastfork-pair-hero img {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    width: 100%;
}

.eastfork-pair-section--compact .eastfork-pair-hero img {
    aspect-ratio: 4 / 3;
    flex: none;
    height: auto;
}

.eastfork-pair-card {
    aspect-ratio: 4 / 5;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    padding: 16px;
    position: relative;
}

.eastfork-pair-section--compact .eastfork-pair-card {
    aspect-ratio: auto;
    min-height: 360px;
}

.eastfork-pair-card__media,
.eastfork-pair-card__picture,
.eastfork-pair-card__image {
    display: block;
    width: 100%;
}

.eastfork-pair-card__media {
    color: inherit;
    display: contents;
    text-decoration: none;
}

.eastfork-pair-card__picture {
    aspect-ratio: 1;
    overflow: hidden;
}

.eastfork-pair-card__image {
    border-radius: 16px;
    height: 100%;
    object-fit: cover;
}

.eastfork-pair-card__body {
    align-items: flex-end;
    background: #ffffff;
    border-top: 1px solid transparent;
    bottom: 1px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    left: 1px;
    min-height: 84px;
    padding: 12px 14px;
    position: absolute;
    right: 1px;
    z-index: 2;
}

.eastfork-pair-card__body > div {
    min-width: 0;
}

.eastfork-pair-card:has(.eastfork-pair-card__body button:focus-visible) .eastfork-pair-card__body,
.eastfork-pair-card:hover .eastfork-pair-card__body {
    border-top-color: var(--storefront-line-strong);
}

.eastfork-pair-card__body h3 {
    color: #111111;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0;
}

.eastfork-pair-card__body h3 a,
.eastfork-pair-card__body h3 span {
    color: #111111;
    text-decoration: none;
}

.eastfork-pair-card__body h3 a:hover,
.eastfork-pair-card__body h3 a:focus-visible {
    outline: none;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.eastfork-pair-card__body p {
    color: #111111;
    font-size: 14px;
    line-height: 1.25;
    margin: 5px 0 0;
}

.eastfork-pair-card__body form {
    flex: 0 0 var(--storefront-icon-button-size);
    margin: 0;
    max-width: var(--storefront-icon-button-size);
    min-width: var(--storefront-icon-button-size);
    width: var(--storefront-icon-button-size);
}

.eastfork-pair-card__body button {
    align-items: center;
    appearance: none;
    background: var(--storefront-button-bg);
    border: 0;
    border-radius: var(--storefront-button-radius);
    color: var(--storefront-button-text);
    cursor: pointer;
    display: inline-flex;
    font-size: 22px;
    font-weight: 500;
    height: 36px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 36px;
}

.eastfork-pair-card__body button:hover,
.eastfork-pair-card__body button:focus-visible {
    background: var(--storefront-button-bg-hover);
    outline: none;
}

.eastfork-story-section {
    align-items: center;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    width: 100%;
}

.eastfork-story-copy {
    display: grid;
    justify-items: center;
    padding: 64px 48px;
    text-align: center;
}

.eastfork-story-copy p {
    color: #111111;
    font-size: 17px;
    line-height: 1.55;
    margin: 18px 0 0;
    max-width: 560px;
}

.eastfork-story-copy a {
    background: var(--storefront-button-bg);
    border: 1px solid var(--storefront-button-bg);
    border-radius: var(--storefront-button-radius);
    color: #ffffff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    justify-content: center;
    letter-spacing: 0.02em;
    margin-top: 24px;
    min-height: 44px;
    padding: 13px 24px;
    text-decoration: none;
}

.eastfork-story-copy a:hover,
.eastfork-story-copy a:focus-visible {
    background: var(--storefront-button-bg);
    border-color: var(--storefront-button-bg);
    outline: none;
}

.eastfork-story-media {
    align-self: stretch;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.eastfork-story-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* === public/css/marketplace/56-pdp-review-widget.css === */
/*
    East Fork review widget and supporting-section responsive rules.
    Source module for public/css/marketplace-bundle.css.
*/

.eastfork-review-widget {
    padding: 40px 20px 80px;
    scroll-margin-top: 112px;
}

.ef-okendo-widget {
    color: #111111;
    margin: 0 auto;
    max-width: 1160px;
    width: 100%;
}

.ef-okendo-header {
    align-items: center;
    display: grid;
    gap: 4px;
    justify-items: center;
    padding: 0 0 28px;
    text-align: center;
}

.ef-okendo-rating {
    align-items: center;
    display: flex;
    font-size: 18px;
    font-weight: 800;
    gap: 8px;
    line-height: 1;
}

.ef-okendo-rating strong,
.ef-okendo-header p {
    color: #111111;
}

.ef-okendo-header p {
    font-size: 15px;
    margin: 0;
}

.ef-okendo-stars,
.ef-okendo-review-stars {
    color: #ac624b;
    letter-spacing: 1px;
}

.ef-okendo-nav-row {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-top: 12px;
}

.ef-okendo-tabs {
    display: flex;
    gap: 28px;
}

.ef-okendo-tab {
    appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    color: #111111;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
    padding: 0 0 10px;
}

.ef-okendo-tab.is-active {
    border-bottom-color: var(--storefront-line-strong);
}

.ef-okendo-tab:disabled {
    cursor: default;
    opacity: 1;
}

.ef-okendo-write-wrap {
    display: flex;
    justify-content: flex-end;
    min-width: 220px;
    position: relative;
}

.ef-okendo-write {
    position: relative;
}

.ef-okendo-write > summary,
.ef-okendo-write-link,
.ef-okendo-write-disabled,
.ef-okendo-form button {
    align-items: center;
    appearance: none;
    background: var(--storefront-button-bg);
    border: 1px solid var(--storefront-button-bg);
    border-radius: var(--storefront-button-radius);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    line-height: 1;
    min-height: 42px;
    padding: 0 22px;
    text-decoration: none;
}

.ef-okendo-write-disabled {
    cursor: default;
    opacity: 0.45;
}

.ef-okendo-write > summary {
    list-style: none;
}

.ef-okendo-write > summary::-webkit-details-marker {
    display: none;
}

.ef-okendo-write[open] > summary,
.ef-okendo-write > summary:hover,
.ef-okendo-write-link:hover,
.ef-okendo-write-link:focus-visible {
    background: var(--storefront-button-bg);
    border-color: var(--storefront-button-bg);
    outline: none;
}

.ef-okendo-form {
    background: #ffffff;
    border: 1px solid var(--storefront-line-strong);
    box-shadow: 0 18px 38px rgba(17, 17, 17, 0.18);
    color: #111111;
    display: grid;
    gap: 14px;
    padding: 16px;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(360px, calc(100vw - 40px));
    z-index: 10;
}

.ef-okendo-form label {
    color: #111111;
    display: grid;
    font-size: 13px;
    font-weight: 800;
    gap: 6px;
}

.ef-okendo-form input,
.ef-okendo-form select,
.ef-okendo-form textarea {
    background: #ffffff;
    border: 1px solid var(--storefront-line-strong);
    color: #111111;
    font: inherit;
    font-size: 15px;
    min-height: 40px;
    padding: 9px 10px;
}

.ef-okendo-form textarea {
    min-height: 112px;
    resize: vertical;
}

.ef-okendo-form button {
    justify-self: start;
}

.ef-okendo-controls {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-top: 38px;
}

.ef-okendo-controls p {
    color: #111111;
    font-size: 15px;
    font-weight: 800;
    margin: 0;
}

.ef-okendo-controls label {
    align-items: center;
    color: #111111;
    display: flex;
    font-size: 15px;
    font-weight: 800;
    gap: 24px;
}

.ef-okendo-controls select {
    appearance: none;
    background: transparent;
    border: 0;
    color: #111111;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    padding: 0 18px 0 0;
}

.ef-okendo-review-list {
    display: grid;
    gap: 48px;
    list-style: none;
    margin: 34px 0 0;
    padding: 0;
}

.ef-okendo-review-list > li {
    margin: 0;
}

.ef-okendo-review {
    display: grid;
    gap: 24px;
    grid-template-columns: 300px minmax(0, 1fr);
}

.ef-okendo-review-side {
    background: #f4f3ee;
    border-radius: 26px;
    color: #111111;
    min-height: 194px;
    padding: 24px 36px;
}

.ef-okendo-review-side > strong {
    color: #111111;
    display: block;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 18px;
}

.ef-okendo-recommend {
    align-items: center;
    color: #111111;
    display: flex;
    font-size: 15px;
    gap: 6px;
    line-height: 1.4;
    margin: 0 0 18px;
}

.ef-okendo-recommend span {
    color: #ac624b;
    font-size: 16px;
    line-height: 1;
}

.ef-okendo-attrs {
    display: grid;
    gap: 5px;
}

.ef-okendo-attrs strong,
.ef-okendo-attrs p {
    color: #111111;
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.ef-okendo-attrs strong {
    font-weight: 800;
    margin-top: 6px;
}

.ef-okendo-review-main {
    align-content: start;
    color: #111111;
    display: grid;
}

.ef-okendo-review-top {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.ef-okendo-review-top time {
    color: #111111;
    font-size: 14px;
    white-space: nowrap;
}

.ef-okendo-review-main h3 {
    color: #111111;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    margin: 16px 0 0;
}

.ef-okendo-review-main > p {
    color: #111111;
    font-size: 16px;
    line-height: 1.6;
    margin: 12px 0 0;
    max-width: 620px;
}

.ef-okendo-helpful {
    align-items: center;
    color: #111111;
    display: flex;
    font-size: 14px;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 34px;
}

.ef-okendo-helpful button {
    appearance: none;
    background: transparent;
    border: 0;
    color: #111111;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.ef-okendo-empty {
    align-content: center;
    color: #111111;
    display: grid;
    justify-items: center;
    margin-top: 36px;
    min-height: 160px;
    text-align: center;
}

.ef-okendo-empty h3,
.ef-okendo-empty p {
    color: #111111;
    margin: 0;
}

.ef-okendo-empty h3 {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
}

.ef-okendo-empty p {
    font-size: 15px;
    line-height: 1.5;
}

@media (min-width: 1280px) {
    .eastfork-pair-card__body button {
        opacity: 0;
        pointer-events: none;
        transform: translateY(3px);
        transition: opacity 0.16s ease, transform 0.16s ease;
        visibility: hidden;
    }

    .eastfork-pair-card:hover .eastfork-pair-card__body button,
    .eastfork-pair-card__body button:focus-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }
}

@media (max-width: 980px) {
    .eastfork-collection-inner,
    .eastfork-review-widget {
        padding: 40px 18px 64px;
    }

    .eastfork-collection-grid {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        margin-top: 28px;
    }

    .eastfork-collection-card {
        align-items: center;
        flex-direction: row;
        gap: 14px;
        max-width: none;
        text-align: left;
    }

    .eastfork-collection-card__picture {
        flex: 0 0 44%;
        max-width: 240px;
    }

    .eastfork-collection-card span {
        font-size: clamp(18px, 5vw, 24px);
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .eastfork-pair-section {
        padding: 0;
    }

    .eastfork-pair-grid {
        border-left: 0;
        border-right: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }

    .eastfork-pair-section--compact .eastfork-pair-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .eastfork-pair-hero {
        grid-column: 1 / -1;
        min-height: 0;
    }

    .eastfork-pair-hero > div {
        padding: 22px 18px;
    }

    .eastfork-pair-hero img {
        aspect-ratio: 4 / 3;
        flex: none;
        height: auto;
    }

    .eastfork-pair-card {
        aspect-ratio: 4 / 5;
        padding: 10px;
    }

    .eastfork-pair-section--compact .eastfork-pair-card {
        min-height: 320px;
    }

    .eastfork-pair-card__image {
        border-radius: 12px;
    }

    .eastfork-pair-card__body {
        min-height: 76px;
        padding: 10px;
    }

    .eastfork-pair-card__body h3 {
        font-size: 16px;
    }

    .eastfork-pair-card__body p {
        font-size: 12px;
    }

    .eastfork-pair-card__body button {
        height: 32px;
        width: 32px;
    }

    .eastfork-story-section {
        grid-template-columns: minmax(0, 1fr);
    }

    .eastfork-story-copy {
        padding: 40px 18px;
    }

    .eastfork-story-media {
        display: none;
    }

    .ef-okendo-nav-row {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
    }

    .ef-okendo-write-wrap {
        justify-content: flex-start;
        min-width: 0;
    }

    .ef-okendo-controls {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .ef-okendo-controls label {
        justify-content: space-between;
        width: 100%;
    }

    .ef-okendo-review {
        grid-template-columns: minmax(0, 1fr);
    }

    .ef-okendo-review-side {
        border-radius: 22px;
        min-height: 0;
        padding: 22px;
    }

    .ef-okendo-review-main > p {
        max-width: none;
    }

    .ef-okendo-helpful {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

}

@media (max-width: 560px) {
    .eastfork-pair-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .eastfork-pair-hero {
        grid-column: 1;
    }

    .eastfork-pair-card {
        aspect-ratio: 3 / 4;
    }

    .ef-okendo-header {
        padding-bottom: 24px;
    }

    .ef-okendo-tabs {
        gap: 20px;
        overflow-x: auto;
        width: 100%;
    }

    .ef-okendo-tab {
        font-size: 14px;
        white-space: nowrap;
    }

    .ef-okendo-write,
    .ef-okendo-write > summary,
    .ef-okendo-write-link,
    .ef-okendo-write-disabled {
        width: 100%;
    }

    .ef-okendo-form {
        margin-top: 10px;
        position: static;
        width: 100%;
    }

    .ef-okendo-review-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

}

/* === public/css/marketplace/57-pdp-content.css === */
/*
    Product content surface, gallery presentation, and content typography.
    Source module for public/css/marketplace-bundle.css.
*/

/* Match East Fork's full-width horizontal section dividers. */

body.product-surface-page .product-page .product-detail {
    border-top: 0;
    border-bottom: 0;
    position: relative;
}

body.product-surface-page .eastfork-collection-section,
body.product-surface-page .eastfork-pair-section,
body.product-surface-page .eastfork-story-section,
body.product-surface-page .eastfork-review-widget {
    border-top: 0;
    border-bottom: 0;
    position: relative;
}

body.product-surface-page .product-page .product-detail::after,
body.product-surface-page .eastfork-collection-section::after,
body.product-surface-page .eastfork-pair-section::after,
body.product-surface-page .eastfork-story-section::after,
body.product-surface-page .eastfork-review-widget::after {
    content: "";
    left: 50%;
    pointer-events: none;
    position: absolute;
    transform: translateX(-50%);
    width: 100vw;
    border-bottom: 1px solid var(--storefront-line-strong);
    bottom: 0;
}

body.product-surface-page .product-page .product-detail::before {
    content: none;
}

body.product-surface-page .product-page .product-detail::after {
    z-index: 2;
}

/* Light product page card. */

body.product-surface-page,
body.product-surface-page main {
    background: var(--paper);
}

.product-page {
    background: var(--paper);
    color: #211b15;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    overflow-x: hidden;
    padding-left: max(28px, calc((100vw - 1920px) / 2 + 32px));
    padding-right: max(28px, calc((100vw - 1920px) / 2 + 32px));
}

.product-page .breadcrumbs {
    color: rgba(33, 27, 21, 0.62);
}

.product-page .breadcrumbs a {
    color: #211b15;
}

.product-page .breadcrumbs span:last-child {
    color: #211b15;
}

.product-page .product-detail {
    align-items: start;
    background: transparent;
    border: 0;
    color: #211b15;
    padding: 0;
}

.product-page .gallery,
.product-page .product-info,
.product-page .buy-box {
    min-width: 0;
}

.product-page .gallery {
    align-content: start;
    align-self: start;
    background: transparent;
    border: 0;
    box-shadow: none;
    column-gap: 18px;
    padding: 0;
    row-gap: 20px;
}

.product-page .main-image {
    background: #ffffff;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 8px;
    box-shadow: none;
    overflow: hidden;
    order: 1;
    padding: 0;
    position: relative;
}

.product-page .thumb-list {
    align-items: start;
    align-self: start;
    order: 2;
}

.product-page .thumb-list button {
    aspect-ratio: 1;
    background: #ffffff;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 8px;
    box-shadow: none;
    flex: 0 0 74px;
    height: 74px;
    opacity: 1;
    overflow: hidden;
    padding: 3px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
    width: 74px;
}

.product-page .thumb-list button:hover,
.product-page .thumb-list button:focus-visible {
    border-color: #007185;
    outline: none;
}

.product-page .thumb-list button.is-active {
    border-color: var(--red);
    box-shadow: 0 0 0 2px var(--red);
}

.product-page .thumb-list img {
    border-radius: 4px;
    height: 100%;
    width: 100%;
}

.gallery-arrow {
    align-items: center;
    background: rgba(255, 250, 241, 0.92);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(33, 27, 21, 0.18);
    color: #0d1b2a;
    cursor: pointer;
    display: inline-flex;
    font-size: 36px;
    font-weight: 500;
    height: 46px;
    justify-content: center;
    line-height: 1;
    opacity: 0;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.96);
    transition: background 160ms ease, box-shadow 160ms ease, opacity 160ms ease, transform 160ms ease;
    width: 46px;
    z-index: 2;
}

.product-page .main-image > img:hover ~ .gallery-arrow,
.product-page .main-image:focus-within .gallery-arrow,
.product-page .main-image .gallery-arrow:hover,
.product-page .main-image .gallery-arrow:focus-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%);
}

.gallery-arrow span {
    display: block;
    transform: translateY(-2px);
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(33, 27, 21, 0.2);
    outline: none;
    transform: translateY(-50%) scale(1.04);
}

.gallery-arrow-prev {
    left: 22px;
}

.gallery-arrow-next {
    right: 22px;
}

.product-page .product-info,
.product-page .buy-box {
    align-self: start;
    background: #fffaf1;
    border: 1px solid var(--storefront-line-strong);
    color: #211b15;
    padding: 28px;
}

.product-page .product-info {
    align-self: start;
}

.product-description-panel {
    background: transparent;
    border-bottom: 1px solid var(--storefront-line-strong);
    border-top: 1px solid var(--storefront-line-strong);
    color: #211b15;
    display: grid;
    gap: 18px;
    grid-column: 1 / -1;
    grid-template-columns: minmax(112px, 0.16fr) minmax(0, 0.84fr);
    margin-top: 0;
    order: 3;
    padding: 18px 0;
}

.product-description-panel .eyebrow {
    font-size: 13px;
    margin: 0;
}

.product-description-panel p:last-child {
    color: rgba(33, 27, 21, 0.68);
    font-size: 17px;
    line-height: 1.55;
    margin: 0;
    max-width: 820px;
}

.product-page .product-info h1,
.product-page .description h2 {
    color: #211b15;
}

.product-page .product-subtitle,
.product-page .description p,
.product-page .delivery,
.product-page .product-note {
    color: rgba(33, 27, 21, 0.68);
}

.product-page .product-note a,
.product-page .product-note span {
    color: var(--red);
}

.product-page .spec-list {
    border-top: 1px solid var(--storefront-line-strong);
}

.product-page .spec-list div {
    border-bottom: 1px solid var(--storefront-line-strong);
    color: #211b15;
}

.product-page .spec-list dt,
.product-page .product-options span {
    color: rgba(33, 27, 21, 0.54);
}

.product-page .seller-box {
    background: #f4ecdf;
    border: 1px solid var(--storefront-line-strong);
    color: #211b15;
}

.product-page .seller-box span {
    color: rgba(33, 27, 21, 0.65);
}

.product-page .seller-box .trust {
    color: var(--red-dark);
}

.product-page .payment-methods label {
    background: #f4ecdf;
    border-color: var(--storefront-line-strong);
}

.product-page .quote-form input,
.product-page .quote-form textarea {
    background: #fffdf8;
    border-color: var(--storefront-line-strong);
}

.product-page .product-story article {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #211b15;
    min-width: 0;
    padding: 22px 0;
}

.product-page .product-story {
    border-bottom: 1px solid var(--storefront-line-strong);
    border-top: 1px solid var(--storefront-line-strong);
    gap: 18px;
    margin-top: 18px;
    overflow: hidden;
    width: 100%;
}

.product-page .product-story article + article {
    border-left: 1px solid var(--storefront-line-strong);
    padding-left: 28px;
}

.product-page .product-story h2 {
    color: #211b15;
    font-size: clamp(24px, 2vw, 30px);
    line-height: 1.12;
    margin: 0 0 8px;
}

.product-page .product-story p {
    color: rgba(33, 27, 21, 0.68);
    font-size: 17px;
    line-height: 1.55;
}

.product-page .related h2 {
    color: #211b15;
}

.product-checkout-button {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 850;
    justify-content: center;
    min-height: 48px;
    padding: 13px 16px;
    background: var(--red);
    color: var(--paper);
    width: 100%;
}

.product-checkout-button:hover {
    background: var(--red-dark);
}

@media (max-width: 720px) {
    .gallery-arrow {
        font-size: 34px;
        height: 42px;
        width: 42px;
    }

    .gallery-arrow-prev {
        left: 10px;
    }

    .gallery-arrow-next {
        right: 10px;
    }

    .product-description-panel {
        gap: 8px;
        grid-template-columns: minmax(0, 1fr);
        margin-top: 0;
        padding: 18px 0;
    }

    .product-description-panel p:last-child {
        font-size: 16px;
    }

    .product-page .product-story {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-page .product-story article + article {
        border-left: 0;
        border-top: 1px solid var(--storefront-line-strong);
        padding-left: 0;
    }
}

@media (max-width: 1180px) {
    .product-page .gallery {
        grid-row: auto;
    }
}

body.product-surface-page,
body.product-surface-page main,
.product-surface-page .product-page {
    background: var(--color-paper);
}

.product-surface-page .product-page {
    --pdp-page-gutter: clamp(18px, 2vw, 32px);
    color: var(--color-ink-strong);
    overflow-x: clip;
}

.amazon-store-link,
.amazon-offer-link,
.amazon-prime-card,
.amazon-buy-meta,
.amazon-list-button {
    display: none;
}

.product-surface-page .product-page .product-info h1 {
    color: var(--color-ink-strong);
    font-family: var(--font-heading);
    font-weight: var(--font-weight-heading);
    letter-spacing: var(--tracking-heading);
    line-height: var(--line-heading);
}

.product-surface-page .amazon-additional-details h2,
.product-surface-page .product-story h2,
.product-surface-page .related h2,
.product-surface-page .product-reviews h2,
.product-surface-page .reviews-main h3,
.product-surface-page .reviews-summary h3 {
    color: var(--color-ink);
    font-family: var(--font-heading);
    font-weight: var(--font-weight-label);
    letter-spacing: var(--tracking-heading);
    line-height: var(--line-subheading);
}

.product-surface-page .amazon-price,
.product-surface-page .buy-box-inner .price.big {
    color: var(--color-ink-strong);
    font-family: var(--font-heading);
    font-weight: var(--font-weight-strong);
    letter-spacing: 0;
    line-height: var(--line-tight);
}

.product-surface-page .amazon-discount,
.product-surface-page .amazon-stock {
    font-weight: var(--font-weight-label);
    line-height: var(--line-heading);
}

.product-surface-page .amazon-stock {
    color: var(--color-success);
}

.product-surface-page .amazon-store-link,
.product-surface-page .amazon-offer-link,
.product-surface-page .amazon-more-link,
.product-surface-page .amazon-rating-row a,
.product-surface-page .amazon-location,
.product-surface-page .product-full-view-hint,
.product-surface-page .amazon-add-cart-button,
.product-surface-page .amazon-buy-now-button,
.product-surface-page .amazon-list-button,
.product-surface-page .review-write-button {
    font-weight: var(--font-weight-label);
}

.product-surface-page .amazon-more-link,
.product-surface-page .amazon-rating-row a,
.product-surface-page .amazon-location {
    color: var(--color-link);
}

.product-surface-page .amazon-style-list dt,
.product-surface-page .amazon-additional-details dt,
.product-surface-page .amazon-buy-meta dt,
.product-surface-page .amazon-quantity-label span,
.product-surface-page .review-author,
.product-surface-page .review-title,
.product-surface-page .review-style span,
.product-surface-page .reviews-breakdown span {
    font-weight: var(--font-weight-label);
}

.product-surface-page .amazon-style-list dd,
.product-surface-page .amazon-bullets li,
.product-surface-page .amazon-additional-details dd,
.product-surface-page .amazon-buy-meta dd,
.product-surface-page .buy-box-inner .delivery,
.product-surface-page .amazon-prime-card p,
.product-surface-page .product-story p,
.product-surface-page .review-body,
.product-surface-page .review-style,
.product-surface-page .reviews-insight p,
.product-surface-page .reviews-summary p {
    font-weight: var(--font-weight-text);
    line-height: var(--line-copy);
}

.product-surface-page .amazon-style-list dt,
.product-surface-page .amazon-style-list dd,
.product-surface-page .amazon-additional-details dt,
.product-surface-page .amazon-additional-details dd,
.product-surface-page .amazon-buy-meta dt,
.product-surface-page .amazon-buy-meta dd {
    line-height: 1.35;
}

.product-surface-page .buy-box-inner {
    background: var(--color-paper);
}

.product-surface-page .product-page .main-image {
    align-items: flex-start;
}

.product-surface-page .product-page .main-image img,
.product-surface-page .product-page .main-image.main-image--landscape img {
    object-position: top center;
}

.product-surface-page .product-page .product-story,
.product-surface-page .product-page .related,
.product-surface-page .product-page .product-reviews {
    box-sizing: border-box;
    margin-left: calc(var(--pdp-page-gutter) * -1);
    margin-right: calc(var(--pdp-page-gutter) * -1);
    padding-left: var(--pdp-page-gutter);
    padding-right: var(--pdp-page-gutter);
    width: calc(100% + (var(--pdp-page-gutter) * 2));
}

@media (max-width: 860px) {
    .product-surface-page .product-page {
        --pdp-page-gutter: 14px;
    }

    .product-surface-page .product-page .product-story,
    .product-surface-page .product-page .related,
    .product-surface-page .product-page .product-reviews {
        margin-left: calc(var(--pdp-page-gutter) * -1);
        margin-right: calc(var(--pdp-page-gutter) * -1);
        padding-left: var(--pdp-page-gutter);
        padding-right: var(--pdp-page-gutter);
        width: calc(100% + (var(--pdp-page-gutter) * 2));
    }
}

.product-surface-page .buy-box .amazon-additional-details {
    background: var(--color-paper);
    border: 1px solid var(--storefront-line-strong);
    border-radius: var(--radius-md);
    margin-top: 0;
    padding: 18px;
}

.product-surface-page .buy-box .amazon-additional-details h2 {
    font-size: 22px;
}

.product-surface-page .buy-box .amazon-additional-details div {
    grid-template-columns: 82px minmax(0, 1fr);
}

.product-surface-page .amazon-add-cart-button,
.product-surface-page .amazon-buy-now-button {
    border-radius: var(--radius-pill);
    color: #ffffff;
}

.product-surface-page .amazon-add-cart-button {
    background: var(--color-red);
}

.product-surface-page .amazon-add-cart-button:hover,
.product-surface-page .amazon-add-cart-button:focus-visible {
    background: var(--color-red-dark);
}

.product-surface-page .amazon-buy-now-button {
    background: var(--color-red-soft);
}

.product-surface-page .amazon-buy-now-button:hover,
.product-surface-page .amazon-buy-now-button:focus-visible {
    background: #e84752;
    color: #ffffff;
}

/* === public/css/marketplace/57-pdp-zoom.css === */
/*
    Product hover zoom and full-screen zoom presentation.
    Source module for public/css/marketplace-bundle.css.
*/

.gallery-zoom-trigger {
    align-items: center;
    background: rgba(255, 250, 241, 0.94);
    border: 0;
    border-radius: 999px;
    bottom: 22px;
    box-shadow: 0 14px 32px rgba(33, 27, 21, 0.18);
    color: #0d1b2a;
    cursor: pointer;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 22px;
    transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    width: 48px;
    z-index: 3;
}

.gallery-zoom-trigger svg {
    fill: none;
    height: 24px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.1;
    width: 24px;
}

.gallery-zoom-trigger:hover,
.gallery-zoom-trigger:focus-visible {
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(33, 27, 21, 0.2);
    outline: none;
    transform: scale(1.04);
}

.product-page .gallery-media-frame,
.product-page .gallery-media-frame > img {
    cursor: zoom-in;
}

.gallery-hover-lens {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(15, 17, 17, 0.32);
    box-shadow: none;
    cursor: crosshair;
    pointer-events: none;
    position: absolute;
    z-index: 8;
}

.gallery-hover-zoom {
    background: #ffffff;
    border: 0;
    box-shadow: none;
    height: min(68vh, 720px);
    left: calc(100% + 22px);
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: min(720px, 48vw);
    z-index: 199;
}

.gallery-hover-zoom img {
    display: block;
    height: auto;
    max-width: none;
    object-fit: cover;
    position: absolute;
    inset: 0 auto auto 0;
    transform-origin: 0 0;
    user-select: none;
    width: auto;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
    .gallery-zoom-trigger {
        display: none;
    }

    .product-page .product-detail.is-hover-zooming .gallery {
        z-index: 220;
    }

    .product-page .product-detail.is-hover-zooming .product-info,
    .product-page .product-detail.is-hover-zooming .buy-box {
        visibility: visible;
    }
}

@media (hover: none), (pointer: coarse), (max-width: 1023px) {
    .gallery-hover-lens,
    .gallery-hover-zoom {
        display: none;
    }
}

.product-zoom-open {
    overflow: hidden;
}

.product-zoom-open .cookie-notice {
    display: none;
}

.product-zoom-modal {
    align-items: center;
    background: rgba(0, 0, 0, 0.42);
    box-sizing: border-box;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: clamp(36px, 5vh, 72px) clamp(42px, 5vw, 96px);
    position: fixed;
    z-index: 120;
}

.product-zoom-shell {
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(15, 17, 17, 0.18), 0 8px 26px rgba(15, 17, 17, 0.18);
    color: #111111;
    display: grid;
    gap: 0 42px;
    grid-template-columns: minmax(0, 1fr) 330px;
    grid-template-rows: 70px minmax(0, 1fr);
    height: min(820px, calc(100vh - 120px));
    margin: auto;
    overflow: hidden;
    padding: 0 84px 30px 48px;
    position: relative;
    width: min(1540px, calc(100vw - 160px));
}

.product-zoom-close {
    appearance: none;
    background: transparent;
    border: 0;
    color: #111111;
    cursor: pointer;
    align-items: center;
    border-radius: 0;
    box-shadow: none;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 12px;
    top: 10px;
    width: 40px;
    z-index: 2;
}

.product-zoom-close span,
.product-zoom-close span::after {
    background: currentColor;
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    transform: rotate(45deg);
    width: 24px;
}

.product-zoom-close span::after {
    transform: rotate(90deg);
}

.product-zoom-tabs {
    align-items: center;
    border-bottom: 1px solid var(--storefront-line-strong);
    display: flex;
    gap: 36px;
    grid-column: 1 / -1;
    grid-row: 1;
    height: 70px;
    min-width: 0;
    padding-left: 34px;
}

.product-zoom-close:hover,
.product-zoom-close:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: -6px;
}

.product-zoom-tab {
    align-items: center;
    align-self: stretch;
    color: #565959;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    padding-top: 3px;
    position: relative;
}

.product-zoom-tab.is-active {
    color: var(--red);
}

.product-zoom-tab.is-active::after {
    background: var(--red);
    bottom: -1px;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
}

.product-zoom-rail {
    align-self: start;
    grid-column: 2;
    grid-row: 2;
    min-height: 0;
    min-width: 0;
    padding-top: 36px;
}

.product-zoom-rail h2 {
    color: #111111;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.12;
    margin: 0;
    min-width: 0;
    max-width: 300px;
}

.product-zoom-count {
    display: none;
}

.product-zoom-thumbs {
    align-content: start;
    display: grid;
    gap: 18px 16px;
    grid-template-columns: repeat(4, 58px);
    margin-top: 18px;
    max-height: min(520px, calc(100vh - 300px));
    min-height: 0;
    overflow: auto;
    padding: 0 4px 4px 0;
}

.product-zoom-thumbs button {
    background: #ffffff;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 8px;
    cursor: pointer;
    height: 58px;
    overflow: hidden;
    padding: 3px;
    width: 58px;
}

.product-zoom-thumbs button:hover,
.product-zoom-thumbs button:focus-visible {
    border-color: #007185;
    outline: none;
}

.product-zoom-thumbs button.is-active {
    border-color: var(--red);
    box-shadow: 0 0 0 2px var(--red);
}

.product-zoom-thumbs img {
    background: #ffffff;
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.product-zoom-canvas {
    display: grid;
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
    min-width: 0;
}

.product-zoom-frame {
    display: grid;
    min-height: 0;
    min-width: 0;
    position: relative;
}

.product-zoom-stage {
    align-items: center;
    background: #ffffff;
    cursor: zoom-in;
    display: flex;
    height: 100%;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    position: relative;
    touch-action: none;
    width: 100%;
}

.product-zoom-stage.is-zoomed {
    cursor: zoom-out;
}

.product-zoom-stage img {
    border-radius: 0;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transform-origin: 0 0;
    transition: transform 120ms ease;
    user-select: none;
    will-change: transform;
}

.product-zoom-nav {
    display: none;
}

@media (max-width: 1100px) {
    .product-zoom-modal {
        padding: 28px;
    }

    .product-zoom-shell {
        gap: 0 24px;
        grid-template-columns: minmax(0, 1fr) 280px;
        height: calc(100vh - 56px);
        padding: 0 52px 24px 32px;
        width: calc(100vw - 56px);
    }

    .product-zoom-rail h2 {
        font-size: 19px;
    }

    .product-zoom-thumbs {
        gap: 14px;
        grid-template-columns: repeat(4, 52px);
    }

    .product-zoom-thumbs button {
        height: 52px;
        width: 52px;
    }
}

@media (max-width: 760px) {
    .product-zoom-modal {
        padding: 4px;
    }

    .product-zoom-shell {
        gap: 14px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 54px minmax(0, 1fr) auto;
        height: calc(100vh - 8px);
        padding: 0 14px 14px;
        width: calc(100vw - 8px);
    }

    .product-zoom-close {
        height: 36px;
        right: 8px;
        top: 8px;
        width: 36px;
    }

    .product-zoom-tabs {
        gap: 26px;
        height: 54px;
        padding-left: 4px;
    }

    .product-zoom-rail {
        grid-column: 1;
        grid-row: 3;
        padding-top: 0;
    }

    .product-zoom-rail h2 {
        font-size: 16px;
        max-width: none;
    }

    .product-zoom-thumbs {
        display: flex;
        gap: 10px;
        margin-top: 12px;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 2px;
        padding-right: 0;
    }

    .product-zoom-thumbs button {
        flex: 0 0 66px;
        height: 66px;
        width: 66px;
    }

    .product-zoom-canvas {
        grid-column: 1;
        grid-row: 2;
    }
}

@media (max-width: 720px) {

    .gallery-zoom-trigger {
        bottom: 14px;
        height: 44px;
        right: 14px;
        width: 44px;
    }
}

/* === public/css/marketplace/58-pdp-interactions.css === */
/*
    Product interaction controls and behavior-specific presentation.
    Source module for public/css/marketplace-bundle.css.
*/

/* PDP themed bullet icons. */
.amazon-bullets {
    list-style: none;
    padding-left: 0;
}

.amazon-bullets li {
    align-items: start;
    display: grid;
    gap: 12px;
    grid-template-columns: 36px minmax(0, 1fr);
    line-height: 1.5;
    list-style: none;
    margin-top: 12px;
    padding-left: 0;
}

.amazon-bullets li::marker {
    content: "";
}

.amazon-bullet-icon {
    align-items: center;
    background: var(--color-cream);
    border: 1px solid rgba(217, 59, 70, 0.16);
    border-radius: var(--radius-md);
    color: var(--color-red);
    display: inline-flex;
    height: 32px;
    justify-content: center;
    margin-top: -2px;
    width: 32px;
}

.amazon-bullet-icon svg {
    display: block;
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 20px;
}

.amazon-bullet-icon img {
    display: block;
    height: 22px;
    object-fit: contain;
    width: 22px;
}

.amazon-bullet-icon-box {
    color: #8e613f;
}

.amazon-bullet-icon-ruler {
    color: #2a6f80;
}

.amazon-bullet-icon-palette {
    color: var(--color-red-dark);
}

.amazon-bullet-icon-moon {
    color: var(--color-navy);
}

/* PDP gallery cursor zones. */
.product-page .main-image .gallery-arrow {
    display: none;
}

.product-surface-page .product-zoom-thumbs {
    gap: 10px;
    grid-template-columns: repeat(4, 50px);
}

.product-surface-page .product-zoom-thumbs button {
    aspect-ratio: 1;
    background: #ffffff;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 8px;
    box-shadow: none;
    box-sizing: border-box;
    flex: 0 0 50px;
    height: 50px;
    padding: 2px;
    width: 50px;
}

.product-surface-page .product-zoom-thumbs button:hover,
.product-surface-page .product-zoom-thumbs button:focus-visible {
    border-color: #007185;
    box-shadow: 0 0 0 2px rgba(0, 113, 133, 0.3);
    outline: none;
}

.product-surface-page .product-zoom-thumbs button.is-active {
    border-color: var(--red);
    box-shadow: 0 0 0 2px var(--red);
}

.product-surface-page .product-zoom-thumbs img {
    background: #ffffff;
    border-radius: 5px;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.gallery-cursor-zones,
.product-zoom-cursor-zones {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    inset: 0;
    position: absolute;
    z-index: 6;
}

.product-zoom-cursor-zones {
    z-index: 5;
}

.gallery-cursor-zone {
    appearance: none;
    background: transparent;
    border: 0;
    display: block;
    min-height: 0;
    min-width: 0;
    padding: 0;
}

.gallery-cursor-zone-prev {
    cursor: url("data:image/svg+xml,%3Csvg width='19' height='34' viewBox='0 0 19 34' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.6833 31.85L1.51668 16.6833L16.6833 1.51667' stroke='%23ffffff' stroke-width='3.03333' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 2 17, w-resize;
}

.gallery-cursor-zone-next {
    cursor: url("data:image/svg+xml,%3Csvg width='32' height='34' viewBox='-6 0 32 34' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5166 1.51666L16.6833 16.6833L1.5166 31.85' stroke='%23ffffff' stroke-width='3.03333' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 23 17, e-resize;
}

.gallery-cursor-zone-zoom {
    cursor: url("data:image/svg+xml,%3Csvg width='43' height='43' viewBox='0 0 43 43' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.1833 16.6833H23.1833M16.6833 10.1833V23.1833M27.5166 27.5167L40.5166 40.5167M31.8499 16.6833C31.8499 25.0599 25.0599 31.85 16.6833 31.85C8.30655 31.85 1.5166 25.0599 1.5166 16.6833C1.5166 8.30662 8.30655 1.51666 16.6833 1.51666C25.0599 1.51666 31.8499 8.30662 31.8499 16.6833Z' stroke='%23ffffff' stroke-width='3.03333' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 21 21, zoom-in;
}

.gallery-cursor-zone:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: -6px;
}

@media (hover: none), (pointer: coarse) {
    .gallery-cursor-zones,
    .product-zoom-cursor-zones {
        display: none;
    }
}

/* Final East Fork PDP corrections. marketplace-system.css loads after marketplace.css. */
body.product-surface-page,
body.product-surface-page main,
.product-surface-page .product-page,
.product-surface-page .product-page .gallery,
.product-surface-page .product-page .main-image,
.product-surface-page .product-page .product-info.nike-product-panel {
    background: #ffffff;
}

.product-surface-page .eastfork-buy-row .nike-add-cart-button,
.product-surface-page .eastfork-buy-row .amazon-add-cart-button,
.product-surface-page .eastfork-buy-row .product-card-cart-button {
    background: var(--storefront-button-bg);
    border-color: var(--storefront-button-bg);
    border-radius: 0 var(--storefront-button-radius) var(--storefront-button-radius) 0;
    color: var(--storefront-button-text);
}

.product-surface-page .eastfork-buy-row .nike-add-cart-button:hover,
.product-surface-page .eastfork-buy-row .nike-add-cart-button:focus-visible,
.product-surface-page .eastfork-buy-row .amazon-add-cart-button:hover,
.product-surface-page .eastfork-buy-row .amazon-add-cart-button:focus-visible,
.product-surface-page .eastfork-buy-row .product-card-cart-button:hover,
.product-surface-page .eastfork-buy-row .product-card-cart-button:focus-visible {
    background: var(--storefront-button-bg-hover);
    box-shadow: none;
    transform: none;
}

body.product-surface-page .product-page .main-image.is-gallery-hovering .gallery-arrow {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
}

body.product-surface-page .product-page .main-image .gallery-arrow {
    cursor: pointer;
    display: inline-flex;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    z-index: 7;
}

body.product-surface-page .product-page .gallery-media-frame:hover .gallery-arrow,
body.product-surface-page .product-page .gallery-media-frame:focus-within .gallery-arrow,
body.product-surface-page .product-page .main-image .gallery-arrow:hover,
body.product-surface-page .product-page .main-image .gallery-arrow:focus-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
}

body.product-surface-page .gallery-hover-lens,
body.product-surface-page .gallery-hover-zoom {
    display: none;
}

body.product-surface-page .product-page .product-story,
body.product-surface-page .product-page .related,
body.product-surface-page .product-page .product-reviews {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
    width: 100%;
}

@media (max-width: 980px) {
    body.product-surface-page .product-page .product-story,
    body.product-surface-page .product-page .related,
    body.product-surface-page .product-page .product-reviews {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* === public/css/marketplace/59-pdp-pairing.css === */
/*
    Product pairing portrait-hero layout.
    Source module for public/css/marketplace-bundle.css.
*/

/* Pair block contract: portrait hero height is owned by the product page. */
@media (min-width: 981px) {
    body.product-surface-page .eastfork-pair-section:not(.eastfork-pair-section--compact) .eastfork-pair-grid {
        --pair-grid-width: min(1360px, calc(100vw - 80px));
        --pair-column-width: calc((var(--pair-grid-width) - 3px) / 4);
        --pair-card-height: calc(var(--pair-column-width) * 1.25);
        --pair-hero-height: calc((var(--pair-card-height) * 2) + 1px);
        --pair-hero-title-height: 100px;
        --pair-hero-image-height: calc(var(--pair-hero-height) - var(--pair-hero-title-height));
        --pair-image-height: calc(var(--pair-column-width) - 32px);
    }

    body.product-surface-page .eastfork-pair-section--portrait-hero:not(.eastfork-pair-section--compact) .eastfork-pair-hero--portrait {
        align-items: stretch;
        grid-column: span 2;
        grid-row: span 2;
        height: var(--pair-hero-height);
        justify-content: flex-start;
        max-height: var(--pair-hero-height);
        min-height: var(--pair-hero-height);
        overflow: hidden;
    }

    body.product-surface-page .eastfork-pair-section--portrait-hero:not(.eastfork-pair-section--compact) .eastfork-pair-hero--portrait > div {
        padding: 28px 32px;
    }

    body.product-surface-page .eastfork-pair-section--portrait-hero:not(.eastfork-pair-section--compact) .eastfork-pair-hero--portrait h2 {
        font-size: clamp(30px, 2.5vw, 44px);
        line-height: 1;
    }

    body.product-surface-page .eastfork-pair-section--portrait-hero:not(.eastfork-pair-section--compact) .eastfork-pair-hero--portrait img {
        align-self: stretch;
        flex: 0 0 var(--pair-hero-image-height);
        height: var(--pair-hero-image-height);
        margin: 0;
        max-height: var(--pair-hero-image-height);
        max-width: none;
        min-height: 0;
        object-fit: contain;
        object-position: left center;
        width: 100%;
    }
}

/* === public/css/marketplace/60-home.css === */
/*
    Homepage editorial and carousel sections.
    Source module for public/css/marketplace-bundle.css.
*/

/* East Fork-style homepage adaptation for Lunariska. */
html:has(> body.home-eastfork-page) {
    background: #ffffff;
    scrollbar-color: rgba(23, 18, 13, 0.28) #ffffff;
}

html:has(> body.home-eastfork-page)::-webkit-scrollbar-corner,
html:has(> body.home-eastfork-page)::-webkit-scrollbar-track {
    background: #ffffff;
}

body.home-eastfork-page {
    --eastfork-bg: #ffffff;
    --eastfork-ink: #17120d;
    --eastfork-line: var(--storefront-line-strong);
    background: var(--eastfork-bg);
    color: var(--eastfork-ink);
    overflow-x: hidden;
}

.home-eastfork-page main {
    background: var(--eastfork-bg);
    min-width: 100%;
    overflow: hidden;
}

.home-eastfork-page .announcement {
    background: var(--navy);
    border-bottom: 0;
    color: rgba(245, 245, 245, 0.6);
    font-size: 14px;
    font-weight: 400;
    gap: 14px;
    letter-spacing: 0;
    min-height: 30px;
    padding: 6px 32px;
}

.home-eastfork-page .announcement a {
    border-bottom: 1px solid rgba(245, 245, 245, 0.65);
    color: var(--paper);
    font-weight: 900;
}

.home-eastfork-page {
    --ef-grid-line: var(--storefront-line-strong);
}

.home-eastfork-page .home-shop-nav {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid var(--ef-grid-line);
    color: var(--ef-grid-line);
    display: flex;
    gap: 36px;
    justify-content: center;
    min-height: 42px;
    overflow-x: auto;
    padding: 0 24px;
    scrollbar-width: none;
    white-space: nowrap;
}

.home-eastfork-page .home-shop-nav::-webkit-scrollbar {
    display: none;
}

.home-eastfork-page .home-shop-nav a {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
}

.home-eastfork-page .ef-hero,
.home-eastfork-page .ef-shelf,
.home-eastfork-page .ef-feature,
.home-eastfork-page .ef-palette,
.home-eastfork-page .ef-journal,
.home-eastfork-page .ef-values {
    color: #17120d;
    margin: 0;
    max-width: none;
}

.home-eastfork-page .ef-hero {
    background: var(--eastfork-bg);
    border-bottom: 1px solid var(--ef-grid-line);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: clamp(560px, 50vw, 720px);
    min-height: 0;
    overflow: hidden;
}

.home-eastfork-page .ef-hero-media,
.home-eastfork-page .ef-hero-picture {
    display: block;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    width: 100%;
}

.home-eastfork-page .ef-hero-media {
    background: var(--eastfork-bg);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: 0;
}

.home-eastfork-page .ef-hero-image {
    border-radius: 0;
    box-shadow: none;
    display: block;
    height: 100%;
    margin: 0;
    max-height: none;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: none;
    width: 100%;
}

.home-eastfork-page .ef-hero-copy {
    align-items: center;
    background: var(--eastfork-bg);
    border-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 64px 56px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.home-eastfork-page .ef-hero-copy::before {
    background: var(--eastfork-bg);
    bottom: 0;
    content: "";
    left: -6px;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 6px;
    z-index: 0;
}

.home-eastfork-page .eyebrow {
    color: #17120d;
    font-size: var(--text-accent);
    font-weight: var(--font-weight-label);
    letter-spacing: var(--tracking-accent);
    line-height: var(--line-accent);
    margin: 0 0 16px;
    text-transform: uppercase;
}

.home-eastfork-page .ef-hero-copy h1 {
    color: #17120d;
    font-family: var(--font-heading);
    font-size: var(--text-heading-1);
    font-weight: 700;
    letter-spacing: 0;
    line-height: var(--line-heading-1);
    margin: 0;
    max-width: 640px;
}

.home-eastfork-page .ef-hero-copy p:not(.eyebrow) {
    color: #352a20;
    font-size: 18px;
    line-height: 1.45;
    margin: 24px 0 0;
    max-width: 520px;
}

.home-eastfork-page .ef-button {
    margin-top: 28px;
}

.home-eastfork-page .ef-link {
    margin-top: 20px;
}

.home-eastfork-page .ef-shelf {
    background: var(--eastfork-bg);
    border-bottom: 1px solid var(--ef-grid-line);
    padding: 0;
    position: relative;
}

.home-eastfork-page .ef-section-head {
    align-items: center;
    border-bottom: 0;
    display: flex;
    justify-content: space-between;
    left: 20px;
    margin: 0;
    max-width: none;
    padding: 0;
    pointer-events: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.home-eastfork-page .ef-shelf .ef-section-head > div:first-child {
    display: none;
}

.home-eastfork-page .ef-section-head h2 {
    color: #17120d;
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
}

.home-eastfork-page .ef-carousel-controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    pointer-events: none;
}

.home-eastfork-page .ef-carousel-control {
    align-items: center;
    background: #17120d;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 0;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-heading);
    font-size: 31px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    pointer-events: auto;
    width: 36px;
}

.home-eastfork-page .ef-carousel-control:hover,
.home-eastfork-page .ef-carousel-control:focus-visible {
    background: #743322;
    border-color: #743322;
    outline: none;
}

.home-eastfork-page .ef-product-rail {
    display: grid;
    grid-auto-columns: 22.222222%;
    grid-auto-flow: column;
    grid-template-columns: none;
    max-width: 100%;
    min-width: 0;
    overflow-anchor: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.home-eastfork-page .ef-product-rail::-webkit-scrollbar {
    display: none;
}

.home-eastfork-page .ef-product-tile {
    --ef-product-body-height: 116px;
    --storefront-icon-plus-long: 21px;
    --storefront-icon-plus-thick: 4px;
    aspect-ratio: 4 / 5;
    background: var(--eastfork-bg);
    border-right: 1px solid var(--ef-grid-line);
    container-type: inline-size;
    display: block;
    height: auto;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    scroll-snap-align: start;
}

.home-eastfork-page .ef-product-tile:first-child {
    border-left: 1px solid var(--ef-grid-line);
}

.home-eastfork-page .ef-product-tile__media {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    min-height: 0;
    overflow: visible;
    padding: clamp(26px, 3vw, 52px) clamp(18px, 2.7vw, 44px) 128px;
    position: relative;
    width: 100%;
}

.home-eastfork-page .ef-product-tile__image-stack {
    display: grid;
    height: 100%;
    place-items: center;
    width: 100%;
}

.home-eastfork-page .ef-product-tile__image-layer,
.home-eastfork-page .ef-product-tile__picture {
    align-items: center;
    display: flex;
    grid-area: 1 / 1;
    height: 100%;
    justify-content: center;
    max-height: none;
    min-height: 0;
    overflow: visible;
    transition: opacity 180ms ease;
    width: 100%;
}

.home-eastfork-page .ef-product-tile__picture {
    height: clamp(190px, 18vw, 280px);
    max-height: calc(100% - 112px);
}

.home-eastfork-page .ef-product-tile__image-layer--hover {
    opacity: 0;
    pointer-events: none;
}

.home-eastfork-page .ef-product-tile__image-layer {
    opacity: 0;
    pointer-events: none;
}

.home-eastfork-page .ef-product-tile__image-layer.is-active {
    opacity: 1;
    pointer-events: auto;
}

.home-eastfork-page .ef-product-tile__image {
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: 0 12px 24px rgba(23, 18, 13, 0.14);
    height: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(1);
    transform-origin: center;
    transition:
        box-shadow 180ms ease,
        transform 180ms ease;
    will-change: transform;
    width: auto;
}

.home-eastfork-page .ef-product-tile:is(:hover, :focus-within) .ef-product-tile__image {
    box-shadow: 0 16px 28px rgba(23, 18, 13, 0.18);
    transform: scale(1.035);
}

.home-eastfork-page .ef-product-tile__image-layer--portrait .ef-product-tile__picture {
    height: min(clamp(280px, 22vw, 380px), calc(125cqw - clamp(26px, 3vw, 52px) - 128px));
    max-height: none;
}

.home-eastfork-page .ef-product-tile:is(:hover, :focus-within) .ef-product-tile__image-layer--portrait .ef-product-tile__image {
    transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
    .home-eastfork-page .ef-product-tile__image {
        transition: none;
    }
}

.home-eastfork-page .ef-product-tile__body {
    background: var(--eastfork-bg);
    border-top: 1px solid transparent;
    bottom: 0;
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    left: 0;
    min-height: var(--ef-product-body-height);
    padding: 0 16px 20px;
    position: absolute;
    right: 0;
    z-index: 4;
}

.home-eastfork-page .ef-product-tile.is-quickshop-open .ef-product-tile__body {
    background: var(--eastfork-bg);
    border-top-color: var(--storefront-line-strong);
    padding-bottom: 16px;
    padding-top: 16px;
}

.home-eastfork-page .ef-product-tile.is-quickshop-open .ef-product-tile__summary {
    align-items: start;
    min-height: 0;
}

.home-eastfork-page .ef-product-tile__summary {
    align-items: end;
    column-gap: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: calc(var(--ef-product-body-height) - 20px);
}

.home-eastfork-page .ef-product-tile__copy {
    min-width: 0;
}

.home-eastfork-page .ef-product-tile__title {
    color: #17120d;
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(16px, 0.88vw, 18px);
    font-weight: 800;
    line-height: 1.12;
}

.home-eastfork-page .ef-product-tile__price {
    display: inline;
    margin-left: 5px;
    white-space: nowrap;
}

.home-eastfork-page .ef-product-tile__variant {
    color: #17120d;
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(16px, 0.88vw, 18px);
    font-style: normal;
    font-weight: 700;
    line-height: 1.12;
    margin-top: 2px;
}

.home-eastfork-page .ef-product-tile__tone {
    color: #17120d;
    display: block;
    font-size: clamp(16px, 0.88vw, 18px);
    line-height: 1.05;
    margin-top: 2px;
}

.home-eastfork-page .ef-product-tile__cart {
    align-self: end;
    justify-self: end;
    margin: 0;
    opacity: 0;
    transition: opacity 160ms ease, visibility 160ms ease;
    visibility: hidden;
    width: auto;
}

.home-eastfork-page .ef-product-tile:hover .ef-product-tile__cart,
.home-eastfork-page .ef-product-tile:focus-within .ef-product-tile__cart,
.home-eastfork-page .ef-product-tile.is-quickshop-open .ef-product-tile__cart {
    opacity: 1;
    visibility: visible;
}

.home-eastfork-page .ef-product-tile.is-quickshop-open .ef-product-tile__cart {
    align-self: start;
    padding-top: 4px;
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quickshop[hidden] {
    display: none;
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quickshop {
    display: block;
    margin-top: 12px;
    padding: 0;
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quick-form {
    display: grid;
    gap: 14px;
    margin: 0;
    width: 100%;
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__swatches {
    align-items: center;
    display: flex;
    gap: 10px;
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__swatch {
    appearance: none;
    background: #f5f1e9;
    border: 2px solid rgba(23, 18, 13, 0.45);
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    height: 40px;
    overflow: hidden;
    padding: 0;
    width: 40px;
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__swatch.is-active,
:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__swatch:hover,
:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__swatch:focus-visible {
    border-color: var(--storefront-line-strong);
    outline: none;
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__swatch-picture,
:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__swatch-image {
    height: 100%;
    width: 100%;
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__swatch-image {
    object-fit: cover;
}

.home-eastfork-page .ef-product-tile__quick-fieldset {
    border: 0;
    display: grid;
    gap: 8px;
    margin: 0;
    min-inline-size: 0;
    padding: 0;
}

.home-eastfork-page .ef-product-tile__quick-fieldset legend {
    color: #17120d;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    margin: 0 0 8px;
    padding: 0;
    text-transform: uppercase;
}

.home-eastfork-page .ef-product-tile__quick-option {
    align-items: center;
    border: 1px solid var(--storefront-line-strong);
    color: #17120d;
    cursor: pointer;
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 48px;
    padding: 8px 10px;
}

.home-eastfork-page .ef-product-tile__quick-option input {
    accent-color: #17120d;
    margin: 0;
}

.home-eastfork-page .ef-product-tile__quick-option strong,
.home-eastfork-page .ef-product-tile__quick-option small {
    display: block;
    line-height: 1.1;
}

.home-eastfork-page .ef-product-tile__quick-option strong {
    font-family: var(--font-heading);
    font-size: 16px;
}

.home-eastfork-page .ef-product-tile__quick-option small {
    font-size: 13px;
    margin-top: 2px;
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quick-row {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: auto minmax(0, 1fr);
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quantity {
    align-items: center;
    border: 0;
    column-gap: 10px;
    display: grid;
    grid-template-columns: 40px 40px auto;
    height: auto;
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quantity button {
    align-items: center;
    background: #f5f1e9;
    border: 0;
    color: #17120d;
    cursor: pointer;
    display: inline-flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 29px;
    font-weight: 400;
    height: 40px;
    justify-content: center;
    line-height: 1;
    min-width: 0;
    padding: 0;
    text-align: center;
    width: 40px;
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quantity button:hover,
:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quantity button:focus-visible {
    background: #ece5da;
    outline: none;
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quantity-label {
    color: #17120d;
    font-family: var(--font-heading);
    font-size: clamp(14px, 0.82vw, 16px);
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quantity input[type="hidden"] {
    display: none;
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quick-submit {
    background: #17120d;
    border: 0;
    border-radius: 4px;
    box-shadow: none;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: clamp(13px, 0.78vw, 15px);
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.04em;
    min-height: 48px;
    padding: 0 14px;
    text-transform: none;
    transform: none;
    white-space: nowrap;
    width: 100%;
}

:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quick-submit:hover,
:is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quick-submit:focus-visible {
    background: #743322;
    border-color: #743322;
    box-shadow: none;
    color: #ffffff;
    transform: none;
}

body.home-eastfork-page .ef-product-tile__swatches {
    gap: 9px;
}

body.home-eastfork-page .ef-product-tile__swatch {
    height: 36px;
    width: 36px;
}

body.home-eastfork-page .ef-product-tile__quick-row {
    gap: 12px;
}

body.home-eastfork-page .ef-product-tile__quantity {
    column-gap: 9px;
    grid-template-columns: 36px 36px auto;
}

body.home-eastfork-page .ef-product-tile__quantity button {
    font-size: 26px;
    height: 36px;
    width: 36px;
}

body.home-eastfork-page .ef-product-tile__quantity-label {
    font-size: clamp(12px, 0.72vw, 14px);
}

.home-eastfork-page .ef-feature {
    background: var(--eastfork-bg);
    border-bottom: 1px solid var(--ef-grid-line);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: clamp(560px, 50vw, 720px);
    overflow: hidden;
}

.home-eastfork-page .ef-feature > * + * {
    border-left: 0;
}

.home-eastfork-page .ef-feature-copy {
    align-items: center;
    background: var(--eastfork-bg);
    color: #17120d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 76px 80px;
    text-align: center;
}

.home-eastfork-page .ef-feature-copy::before {
    content: none;
    display: none;
}

.home-eastfork-page .ef-feature-copy .eyebrow {
    color: #17120d;
}

.home-eastfork-page .ef-feature-copy h2 {
    color: #17120d;
    font-family: var(--font-heading);
    font-size: 58px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0;
    max-width: 620px;
}

.home-eastfork-page .ef-feature-copy p:not(.eyebrow) {
    color: #17120d;
    font-size: 18px;
    line-height: 1.46;
    margin: 24px 0 0;
    max-width: 560px;
}

.home-eastfork-page .ef-feature-media,
.home-eastfork-page .ef-feature-picture {
    display: block;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    width: 100%;
}

.home-eastfork-page .ef-feature-media {
    background: var(--eastfork-bg);
    border-left: 0;
    border-right: 0;
}

.home-eastfork-page .ef-feature-image {
    border-radius: 0;
    box-shadow: none;
    display: block;
    height: 100%;
    margin: 0;
    max-height: none;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: none;
    width: 100%;
}

.home-eastfork-page .ef-palette {
    background: var(--eastfork-bg);
    border-bottom: 1px solid var(--ef-grid-line);
    border-top: 0;
    display: grid;
    grid-template-columns: clamp(360px, 18.7vw, 382px) minmax(0, 1fr);
    min-height: clamp(600px, 33vw, 676px);
    overflow: hidden;
    padding: 0;
}

.home-eastfork-page .ef-palette-copy {
    align-items: flex-start;
    border-right: 1px solid var(--ef-grid-line);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: clamp(600px, 33vw, 676px);
    padding: clamp(64px, 4.2vw, 86px) 40px 44px;
}

.home-eastfork-page .ef-palette-copy h2 {
    color: #17120d;
    font-family: var(--font-heading);
    font-size: clamp(34px, 2.35vw, 48px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 0.95;
    margin: 0;
    max-width: 300px;
}

.home-eastfork-page .ef-palette-copy p {
    color: #4f4338;
    font-size: 17px;
    line-height: 1.45;
    margin: 22px 0 0;
}

.home-eastfork-page .ef-palette-stage {
    min-height: clamp(600px, 33vw, 676px);
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.home-eastfork-page .ef-palette-grid {
    align-items: stretch;
    display: grid;
    gap: 0;
    grid-auto-columns: clamp(330px, 20vw, 410px);
    grid-auto-flow: column;
    grid-template-columns: none;
    height: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding: clamp(52px, 3.3vw, 68px) 0 clamp(76px, 4.3vw, 88px);
    scroll-snap-type: none;
    scrollbar-width: none;
}

.home-eastfork-page .ef-palette-grid::-webkit-scrollbar {
    display: none;
}

.home-eastfork-page .ef-palette-card {
    align-content: start;
    background: var(--eastfork-bg);
    border-right: 0;
    color: #17120d;
    display: grid;
    grid-template-rows: 58px auto auto;
    justify-items: center;
    min-height: 0;
    padding: 0 clamp(10px, 0.8vw, 16px);
    scroll-snap-align: none;
    text-align: center;
}

.home-eastfork-page .ef-palette-note {
    align-self: start;
    color: #17120d;
    display: block;
    font-family: var(--font-accent);
    font-size: var(--text-accent);
    font-weight: var(--font-weight-label);
    letter-spacing: var(--tracking-accent);
    line-height: var(--line-accent);
    max-width: 150px;
    text-transform: uppercase;
    transform: rotate(-7deg);
}

.home-eastfork-page .ef-palette-swatch {
    appearance: none;
    background: var(--swatch);
    border: 2px solid rgba(23, 18, 13, 0.58);
    border-radius: 999px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.34);
    display: block;
    cursor: pointer;
    height: 34px;
    outline: 2px solid transparent;
    outline-offset: 2px;
    padding: 0;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        outline-color 160ms ease,
        transform 160ms ease;
    width: 34px;
}

.home-eastfork-page .ef-palette-swatch:focus-visible {
    border-color: #65635d;
    outline-color: #65635d;
}

.home-eastfork-page .ef-palette-swatch:hover {
    border-color: var(--storefront-line-strong);
    transform: translateY(-1px);
}

.home-eastfork-page .ef-palette-media,
.home-eastfork-page .ef-palette-picture,
.home-eastfork-page .ef-palette-card--landscape .ef-palette-media,
.home-eastfork-page .ef-palette-card--landscape .ef-palette-picture,
.home-eastfork-page .ef-palette-card--portrait .ef-palette-media,
.home-eastfork-page .ef-palette-card--portrait .ef-palette-picture {
    align-self: center;
    aspect-ratio: 1 / 1;
    border: 0;
    border-radius: 999px;
    display: block;
    filter: drop-shadow(0 20px 16px rgba(23, 18, 13, 0.16));
    max-height: none;
    max-width: none;
    overflow: hidden;
    width: min(100%, clamp(260px, 15vw, 310px));
}

.home-eastfork-page .ef-palette-card img.ef-palette-image {
    border-radius: 999px;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    width: 100%;
}

.home-eastfork-page .ef-palette-media {
    transform: scale(1);
    transform-origin: center;
    transition: transform 180ms ease;
    will-change: transform;
}

.home-eastfork-page .ef-palette-card:is(:hover, :focus-visible) .ef-palette-media {
    transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
    .home-eastfork-page .ef-palette-media {
        transition: none;
    }
}

.home-eastfork-page .ef-palette-card strong {
    color: #17120d;
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(24px, 1.55vw, 32px);
    font-weight: 500;
    line-height: 1.05;
    margin-top: clamp(40px, 2.7vw, 54px);
}

.home-eastfork-page .ef-palette-arrow {
    align-items: center;
    background: #050505;
    border: 1px solid #050505;
    border-radius: 3px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: var(--font-heading);
    font-size: 28px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    z-index: 3;
}

.home-eastfork-page .ef-palette-arrow--prev {
    left: 20px;
}

.home-eastfork-page .ef-palette-arrow--next {
    right: 20px;
}

.home-eastfork-page .ef-palette-arrow:hover,
.home-eastfork-page .ef-palette-arrow:focus-visible {
    background: #743322;
    border-color: #743322;
    outline: none;
}

.home-eastfork-page .ef-palette-swatches {
    align-items: center;
    bottom: 28px;
    display: flex;
    gap: 8px;
    justify-content: center;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 2;
}

.home-eastfork-page .ef-journal {
    background: var(--eastfork-bg);
    border-top: 0;
    padding: 34px 16px 154px;
}

.home-eastfork-page .ef-journal h2 {
    color: #17120d;
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0 24px 102px;
}

.home-eastfork-page .ef-journal-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-eastfork-page .ef-journal-card {
    color: #17120d;
    display: grid;
    gap: 22px;
    min-width: 0;
}

.home-eastfork-page .ef-journal-media,
.home-eastfork-page .ef-journal-picture {
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    display: block;
    overflow: hidden;
    width: 100%;
}

.home-eastfork-page .ef-journal-image {
    border-radius: inherit;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-eastfork-page .ef-journal-card strong {
    color: #17120d;
    display: inline-flex;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.15;
    padding-left: 20px;
    text-transform: uppercase;
}

.home-eastfork-page .ef-values {
    background: #17120d;
    color: #fffaf1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
}

.home-eastfork-page .ef-values div {
    border-right: 1px solid rgba(255, 250, 241, 0.3);
    min-height: 250px;
    padding: 34px 30px;
}

.home-eastfork-page .ef-values div:last-child {
    border-right: 0;
}

.home-eastfork-page .ef-values span {
    color: #d5a451;
    display: block;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 22px;
}

.home-eastfork-page .ef-values strong {
    color: #fffaf1;
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
}

.home-eastfork-page .ef-values p {
    color: #e8ddcc;
    font-size: 16px;
    line-height: 1.45;
    margin: 18px 0 0;
    max-width: 430px;
}

.home-eastfork-page .cookie-notice {
    align-items: stretch;
    background: #050505;
    border: 0;
    border-radius: 0;
    bottom: 28px;
    box-shadow: none;
    color: #ffffff;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr);
    left: auto;
    max-width: 300px;
    padding: 22px 22px 20px;
    right: 16px;
    transform: none;
    width: calc(100vw - 32px);
}

.home-eastfork-page .cookie-notice div {
    gap: 8px;
}

.home-eastfork-page .cookie-notice strong {
    color: #ffffff;
    font-size: 14px;
}

.home-eastfork-page .cookie-notice span {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.22;
}

.home-eastfork-page .cookie-notice button {
    background: #050505;
    border: 1px solid #ffffff;
    border-radius: 3px;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 0;
    min-height: 44px;
    text-transform: uppercase;
    width: 100%;
}

.home-eastfork-page .cookie-notice button:hover,
.home-eastfork-page .cookie-notice button:focus-visible {
    background: #ffffff;
    color: #050505;
    transform: none;
}

@media (max-width: 1100px) {
    .home-eastfork-page .ef-hero-copy h1 {
        font-size: var(--text-heading-1);
    }

    .home-eastfork-page .ef-feature-copy h2 {
        font-size: 40px;
    }
}

@media (max-width: 900px) {
    .home-eastfork-page .home-shop-nav {
        justify-content: flex-start;
    }

    .home-eastfork-page .ef-hero,
    .home-eastfork-page .ef-feature,
    .home-eastfork-page .ef-palette {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-eastfork-page .ef-hero,
    .home-eastfork-page .ef-feature {
        height: auto;
    }

    .home-eastfork-page .ef-hero-copy,
    .home-eastfork-page .ef-feature > * + * {
        border-left: 0;
        border-top: 0;
    }

    .home-eastfork-page .ef-hero-media,
    .home-eastfork-page .ef-hero-picture,
    .home-eastfork-page .ef-hero-copy,
    .home-eastfork-page .ef-feature-media,
    .home-eastfork-page .ef-feature-picture,
    .home-eastfork-page .ef-feature-copy {
        min-height: 0;
    }

    .home-eastfork-page .ef-hero-media,
    .home-eastfork-page .ef-hero-picture {
        aspect-ratio: 4 / 3;
    }

    .home-eastfork-page .ef-hero-copy {
        padding: 48px 22px 56px;
    }

    .home-eastfork-page .ef-product-rail {
        grid-auto-columns: minmax(230px, 74%);
        grid-auto-flow: column;
        grid-template-columns: none;
        scroll-snap-type: x mandatory;
    }

    .home-eastfork-page .ef-product-tile {
        scroll-snap-align: start;
    }

    .home-eastfork-page .ef-feature-copy {
        padding: 50px 24px;
    }

    .home-eastfork-page .ef-feature-media,
    .home-eastfork-page .ef-feature-picture {
        aspect-ratio: 4 / 3;
    }

    .home-eastfork-page .ef-palette-copy {
        border-bottom: 0;
        border-right: 0;
        min-height: 0;
        padding: 44px 24px;
    }

    .home-eastfork-page .ef-palette-stage {
        min-height: 520px;
    }

    .home-eastfork-page .ef-palette-grid {
        grid-auto-columns: minmax(310px, 72%);
        padding: 36px 0 88px;
    }

    .home-eastfork-page .ef-palette-card {
        grid-template-rows: 44px auto auto;
        padding: 0 18px;
    }

    .home-eastfork-page .ef-palette-media,
    .home-eastfork-page .ef-palette-picture,
    .home-eastfork-page .ef-palette-card--landscape .ef-palette-media,
    .home-eastfork-page .ef-palette-card--landscape .ef-palette-picture,
    .home-eastfork-page .ef-palette-card--portrait .ef-palette-media,
    .home-eastfork-page .ef-palette-card--portrait .ef-palette-picture {
        width: min(76vw, 330px);
    }

    .home-eastfork-page .ef-palette-card strong {
        margin-top: 34px;
    }

    .home-eastfork-page .ef-palette-arrow--prev {
        left: 12px;
    }

    .home-eastfork-page .ef-palette-arrow--next {
        right: 12px;
    }

    .home-eastfork-page .ef-journal {
        padding: 30px 16px 34px;
    }

    .home-eastfork-page .ef-journal h2 {
        margin: 0 8px 28px;
    }

    .home-eastfork-page .ef-journal-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-eastfork-page .ef-values {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-eastfork-page .ef-values div {
        border-bottom: 1px solid rgba(255, 250, 241, 0.3);
        border-right: 0;
        min-height: 0;
    }

    .home-eastfork-page .ef-values div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 860px) {
    .home-eastfork-page .ef-shelf-grid {
        gap: 34px 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 34px;
    }

    .home-eastfork-page .ef-shelf-grid .product-card {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .home-eastfork-page .ef-shelf-grid {
        column-gap: 10px;
    }
}

@media (max-width: 560px) {
    .home-eastfork-page .announcement {
        align-items: center;
        flex-direction: column;
        gap: 2px;
        padding: 9px 14px;
    }

    .home-eastfork-page .home-shop-nav {
        gap: 22px;
        min-height: 40px;
    }

    .home-eastfork-page .ef-hero-copy h1 {
        font-size: var(--text-heading-1);
    }

    .home-eastfork-page .ef-hero-copy p:not(.eyebrow) {
        font-size: 16px;
    }

    .home-eastfork-page .ef-section-head {
        align-items: flex-start;
        gap: 16px;
        padding: 20px 18px;
    }

    .home-eastfork-page .ef-shelf .ef-section-head {
        align-items: center;
        padding: 0;
    }

    .home-eastfork-page .ef-section-head h2,
    .home-eastfork-page .ef-palette-copy h2 {
        font-size: 30px;
    }

    .home-eastfork-page .ef-carousel-control {
        height: 36px;
        width: 36px;
    }

    .home-eastfork-page .ef-product-rail {
        grid-auto-columns: minmax(min(100%, 320px), 100%);
    }

    .home-eastfork-page .ef-product-tile__cart {
        opacity: 1;
        visibility: visible;
    }

    :is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quick-form {
        gap: 12px;
    }

    :is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quick-row {
        gap: 8px;
    }

    :is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__swatch {
        height: 34px;
        width: 34px;
    }

    :is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quantity {
        column-gap: 8px;
        grid-template-columns: 34px 34px auto;
    }

    :is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quantity button {
        height: 34px;
        width: 34px;
    }

    :is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quantity-label {
        font-size: 13px;
        letter-spacing: 0.02em;
    }

    :is(.home-eastfork-page, body.catalog-eastfork-page) .ef-product-tile__quick-submit {
        font-size: 10px;
        letter-spacing: 0;
        min-height: 44px;
        padding: 0 8px;
    }

    .home-eastfork-page .ef-feature-copy h2 {
        font-size: 32px;
    }

    .home-eastfork-page .ef-feature-copy p:not(.eyebrow),
    .home-eastfork-page .ef-palette-copy p {
        font-size: 16px;
    }

    .home-eastfork-page .ef-palette-grid {
        grid-auto-columns: minmax(260px, 82%);
        padding: 30px 0 80px;
    }

    .home-eastfork-page .ef-palette-stage {
        min-height: 430px;
    }

    .home-eastfork-page .ef-palette-note {
        font-size: 12px;
    }

    .home-eastfork-page .ef-palette-media,
    .home-eastfork-page .ef-palette-picture,
    .home-eastfork-page .ef-palette-card--landscape .ef-palette-media,
    .home-eastfork-page .ef-palette-card--landscape .ef-palette-picture,
    .home-eastfork-page .ef-palette-card--portrait .ef-palette-media,
    .home-eastfork-page .ef-palette-card--portrait .ef-palette-picture {
        width: min(72vw, 270px);
    }

    .home-eastfork-page .ef-palette-card strong {
        font-size: 24px;
        margin-top: 24px;
    }

    .home-eastfork-page .ef-palette-swatch {
        height: 26px;
        width: 26px;
    }

    .home-eastfork-page .ef-journal h2 {
        font-size: 30px;
    }

    .home-eastfork-page .ef-journal-card strong {
        padding-left: 0;
    }
}

/* === public/css/marketplace/70-cart-checkout.css === */
/*
    Cart and checkout.
    Source module for public/css/marketplace-bundle.css.
*/

.cart-page {
    background: #ffffff;
    border-bottom: 1px solid var(--storefront-line-strong);
    color: #17120d;
    min-height: 72vh;
    padding: 64px 32px 96px;
}

.cart-shell {
    margin: 0 auto;
    max-width: 1280px;
}

.cart-page .success-banner {
    margin-bottom: 24px;
}

.cart-head {
    align-items: end;
    border-bottom: 1px solid var(--storefront-line-strong);
    display: flex;
    justify-content: space-between;
    padding-bottom: 24px;
}

.cart-head h1 {
    font-size: var(--text-heading-1);
    line-height: var(--line-heading-1);
    margin: 0;
}

.cart-clear-form,
.cart-remove-form {
    margin: 0;
}

.cart-clear-button,
.cart-remove-button {
    background: transparent;
    border: 0;
    border-bottom: 1px solid currentcolor;
    border-radius: 0;
    color: #17120d;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: var(--font-weight-label);
    line-height: 20px;
    min-height: 0;
    padding: 0;
}

.cart-clear-button:hover,
.cart-clear-button:focus-visible,
.cart-remove-button:hover,
.cart-remove-button:focus-visible {
    color: var(--red);
    outline: none;
}

.cart-layout {
    align-items: start;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
}

.cart-items {
    border-right: 1px solid var(--storefront-line-strong);
}

.cart-item {
    align-items: center;
    border-bottom: 1px solid var(--storefront-line-strong);
    display: grid;
    gap: 32px;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    padding: 32px 40px 32px 0;
}

.cart-item-image {
    align-items: center;
    aspect-ratio: 1;
    background: #ffffff;
    display: block;
    justify-content: center;
    overflow: visible;
    width: 180px;
}

.cart-item-image picture {
    display: block;
    height: 100%;
    width: 100%;
}

.cart-item-image img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.cart-item-copy {
    display: grid;
    gap: 8px;
}

.cart-item-copy p {
    color: rgba(23, 18, 13, 0.68);
    font-size: 14px;
    line-height: 20px;
    margin: 0;
}

.cart-item-copy h2 {
    font-size: var(--text-heading-3);
    line-height: var(--line-heading-3);
    margin: 0;
}

.cart-item-copy span,
.cart-empty p {
    color: rgba(23, 18, 13, 0.68);
    font-size: 14px;
    line-height: 20px;
}

.cart-item-controls {
    align-items: center;
    display: flex;
    gap: 18px;
    margin-top: 12px;
}

.cart-quantity-form {
    align-items: center;
    display: grid;
    grid-template-columns: 40px 42px 40px;
}

.cart-quantity-form button,
.cart-quantity-form output {
    align-items: center;
    background: var(--color-clay-light);
    border: 0;
    color: #17120d;
    display: inline-flex;
    font-family: var(--font-body);
    font-size: 22px;
    height: 40px;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.cart-quantity-form button {
    cursor: pointer;
}

.cart-quantity-form button:hover,
.cart-quantity-form button:focus-visible {
    background: #e7e2da;
    outline: none;
}

.cart-quantity-form output {
    background: #ffffff;
    font-size: 15px;
    font-weight: var(--font-weight-label);
}

.cart-item-action {
    align-self: start;
    padding-top: 4px;
}

.cart-item-action strong {
    font-size: 20px;
    line-height: 28px;
    white-space: nowrap;
}

.cart-primary-link,
.cart-checkout-button {
    align-items: center;
    background: var(--storefront-button-bg);
    border-radius: var(--storefront-button-radius);
    box-shadow: var(--storefront-button-shadow);
    color: var(--storefront-button-text);
    display: inline-flex;
    font-family: var(--font-body);
    font-size: var(--storefront-button-font-size);
    font-weight: var(--storefront-button-font-weight);
    justify-content: center;
    min-height: var(--storefront-button-min-height);
    padding: var(--storefront-button-padding-y) var(--storefront-button-padding-x);
    transition:
        background var(--storefront-button-transition-duration) ease,
        box-shadow var(--storefront-button-transition-duration) ease,
        transform var(--storefront-button-transition-duration) ease;
}

.cart-primary-link:hover,
.cart-primary-link:focus-visible,
.cart-checkout-button:hover,
.cart-checkout-button:focus-visible {
    background: var(--storefront-button-bg-hover);
    box-shadow: var(--storefront-button-shadow-hover);
    outline: none;
    transform: var(--storefront-button-hover-transform);
}

.cart-checkout-button {
    margin-top: 24px;
    width: 100%;
}

.cart-summary-card {
    display: grid;
    padding: 32px 0 32px 40px;
    position: sticky;
    top: calc(var(--storefront-sticky-header-offset) + 24px);
}

.cart-summary-card h2 {
    font-size: 28px;
    line-height: 34px;
    margin: 0 0 24px;
}

.cart-summary-row {
    align-items: center;
    border-top: 1px solid var(--storefront-line-strong);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 16px 0;
}

.cart-summary-row:nth-of-type(2) {
    border-bottom: 1px solid var(--storefront-line-strong);
}

.cart-summary-row span,
.cart-summary-row strong {
    font-size: 15px;
    line-height: 22px;
}

.cart-summary-row span:last-child {
    text-align: right;
}

.cart-summary-note {
    color: rgba(23, 18, 13, 0.68);
    font-size: 13px;
    line-height: 20px;
    margin: 16px 0 0;
}

.cart-empty {
    align-items: center;
    border-bottom: 1px solid var(--storefront-line-strong);
    display: flex;
    flex-direction: column;
    min-height: 440px;
    padding: 72px 24px;
    text-align: center;
}

.cart-empty__logo {
    display: block;
    height: 88px;
    margin-bottom: 32px;
    object-fit: contain;
    width: 88px;
}

.cart-empty h2 {
    font-size: var(--text-heading-2);
    line-height: var(--line-heading-2);
    margin: 0;
}

.cart-empty p {
    margin: 12px 0 28px;
}

/* Checkout flow and CDEK pickup selector. */
.checkout-page {
    background: var(--paper);
    color: #211b15;
    padding: 46px max(24px, calc((100vw - 1360px) / 2 + 32px)) 64px;
}

.checkout-shell {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(340px, 0.78fr) minmax(420px, 0.92fr);
    margin: 0 auto;
    max-width: 1180px;
}

.checkout-summary,
.checkout-form {
    background: #fffaf1;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 8px;
    color: #211b15;
}

.checkout-summary {
    display: grid;
    gap: 18px;
    padding: 24px;
}

.checkout-summary .breadcrumbs {
    color: rgba(33, 27, 21, 0.56);
    margin-bottom: 0;
}

.checkout-summary .breadcrumbs a,
.checkout-summary .breadcrumbs span:last-child {
    color: #211b15;
}

.checkout-summary img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.checkout-product-media {
    align-items: center;
    display: flex;
    justify-content: center;
    overflow: visible;
    width: 100%;
}

.checkout-product-media--landscape {
    aspect-ratio: 2740 / 2079;
    max-height: 430px;
}

.checkout-product-media--portrait {
    aspect-ratio: 2079 / 2772;
    justify-self: center;
    max-height: 560px;
    max-width: min(76%, 360px);
}

.checkout-product-picture {
    display: block;
    height: 100%;
    width: 100%;
}

.checkout-summary .checkout-product-image {
    aspect-ratio: auto;
    border-radius: clamp(14px, 2.5vw, 28px);
    box-shadow: 0 22px 42px rgba(13, 27, 42, 0.18);
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.checkout-summary h1,
.checkout-form h1 {
    color: #211b15;
    font-size: var(--text-heading-1);
    line-height: var(--line-heading-1);
    margin: 0;
}

.checkout-summary h1 {
    font-size: var(--text-heading-1);
}

.checkout-summary p,
.checkout-form p {
    color: rgba(33, 27, 21, 0.68);
    line-height: 1.5;
    margin: 0;
}

.checkout-cart-items {
    display: grid;
    gap: 12px;
}

.checkout-cart-item {
    align-items: start;
    border-bottom: 1px solid var(--storefront-line-strong);
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(128px, 160px) minmax(0, 1fr);
    padding-bottom: 16px;
}

.checkout-cart-item-image {
    aspect-ratio: 30 / 21;
    display: block;
    overflow: hidden;
    width: 100%;
}

.checkout-cart-item-image picture {
    display: block;
    height: 100%;
    width: 100%;
}

.checkout-cart-item-image img {
    aspect-ratio: auto;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.checkout-cart-item div {
    display: grid;
    gap: 5px;
}

.checkout-cart-item p {
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-cart-item h2 {
    color: #211b15;
    font-size: 20px;
    line-height: 1.05;
    margin: 0;
}

.checkout-cart-item span {
    color: rgba(33, 27, 21, 0.62);
    font-size: 14px;
    font-weight: 750;
}

.checkout-price {
    border-bottom: 1px solid var(--storefront-line-strong);
    border-top: 1px solid var(--storefront-line-strong);
    font-size: 34px;
    font-weight: 900;
    padding: 16px 0;
}

.checkout-total-breakdown {
    border-bottom: 1px solid var(--storefront-line-strong);
    display: grid;
    gap: 8px;
    padding: 10px 0 14px;
}

.checkout-total-breakdown[hidden] {
    display: none;
}

.checkout-total-breakdown div {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.checkout-total-breakdown span {
    color: rgba(33, 27, 21, 0.54);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.checkout-total-breakdown strong {
    color: #211b15;
    font-size: 15px;
    font-weight: 900;
}

.checkout-specs {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.checkout-specs div {
    border-bottom: 1px solid var(--storefront-line-strong);
    padding: 12px 0;
}

.checkout-specs dt {
    color: rgba(33, 27, 21, 0.54);
    font-size: 11px;
    font-weight: 850;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.checkout-specs dd {
    margin: 0;
}

.checkout-back-link {
    align-items: center;
    background: #f4ecdf;
    border-radius: 8px;
    color: #211b15;
    display: inline-flex;
    font-weight: 850;
    justify-content: center;
    justify-self: start;
    min-height: 48px;
    padding: 13px 16px;
}

.checkout-form {
    display: grid;
    gap: 13px;
    padding: 30px;
}

.checkout-form h1 {
    font-size: var(--text-heading-1);
}

.checkout-form input,
.checkout-form textarea {
    background: #fffdf8;
    border-color: var(--storefront-line-strong);
    font-size: 16px;
    min-height: 56px;
}

.checkout-form textarea {
    min-height: 128px;
    padding: 14px 16px;
}

.checkout-form .payment-methods,
.checkout-form .delivery-methods {
    gap: 12px;
}

.checkout-form .payment-methods label,
.checkout-form .delivery-methods label {
    background: #f4ecdf;
    border-color: var(--storefront-line-strong);
    padding: 16px;
}

.checkout-form .payment-methods strong,
.checkout-form .delivery-methods strong {
    font-size: 18px;
}

.checkout-form .payment-methods small,
.checkout-form .delivery-methods small {
    font-size: 14px;
}

.checkout-form button {
    background: var(--red);
    color: var(--paper);
    min-height: 54px;
}

.checkout-form button:hover {
    background: var(--red-dark);
    box-shadow: none;
}

.checkout-section {
    border: 1px solid var(--storefront-line-strong);
    display: grid;
    gap: 12px;
    padding: 18px;
}

.checkout-section-head {
    align-items: center;
    display: flex;
    gap: 12px;
}

.checkout-section-head span {
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.checkout-section-head h2 {
    color: #211b15;
    font-size: 20px;
    line-height: 1.15;
    margin: 0;
}

.checkout-field-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-city-field,
.cdek-address-field {
    position: relative;
}

.cdek-city-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding-top: 9px;
}

.checkout-form .cdek-city-shortcuts button {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: rgba(33, 27, 21, 0.68);
    cursor: pointer;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.25;
    min-height: 0;
    padding: 0;
    text-decoration-color: rgba(223, 57, 70, 0.72);
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    width: auto;
}

.checkout-form .cdek-city-shortcuts button:hover {
    background: transparent;
    box-shadow: none;
    color: var(--red);
}

.city-suggestions {
    background: #fffdf8;
    border: 1px solid var(--storefront-line-strong);
    box-shadow: 0 18px 34px rgba(33, 27, 21, 0.12);
    left: 0;
    max-height: 260px;
    overflow: auto;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 30;
}

.address-suggestions {
    z-index: 45;
}

.checkout-form .city-suggestions button {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--storefront-line-strong);
    color: #211b15;
    cursor: pointer;
    display: block;
    font-size: 15px;
    font-weight: 700;
    min-height: 0;
    padding: 12px 14px;
    text-align: left;
    width: 100%;
}

.checkout-form .city-suggestions button:hover {
    background: #f4ecdf;
    box-shadow: none;
}

.checkout-option-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-form .payment-methods.checkout-option-grid,
.checkout-form .delivery-methods.checkout-option-grid {
    gap: 10px;
}

.checkout-form .payment-methods label.checkout-option,
.checkout-form .delivery-methods label.checkout-option,
.checkout-form .checkout-option {
    background: #f4ecdf;
    border: 1px solid var(--storefront-line-strong);
    cursor: pointer;
    display: block;
    grid-template-columns: minmax(0, 1fr);
    padding: 15px;
    position: relative;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.checkout-form .payment-methods label.checkout-option.is-selected,
.checkout-form .delivery-methods label.checkout-option.is-selected,
.checkout-form .checkout-option.is-selected {
    background: #f4ecdf;
    border-color: var(--navy);
    box-shadow:
        inset 0 0 0 2px var(--navy),
        0 0 0 4px rgba(13, 27, 42, 0.12),
        0 10px 22px rgba(13, 27, 42, 0.1);
}

.checkout-form .checkout-option input {
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    width: 1px;
}

.checkout-form .checkout-option span {
    display: grid;
    gap: 4px;
}

.checkout-form .checkout-option strong {
    color: #211b15;
    font-size: 18px;
    line-height: 1.15;
}

.checkout-form .checkout-option.is-selected strong {
    color: #211b15;
}

.checkout-form .checkout-option small {
    color: rgba(33, 27, 21, 0.58);
    font-size: 13px;
    line-height: 1.35;
}

.cdek-estimate {
    background: #f4ecdf;
    border: 1px solid var(--storefront-line-strong);
    color: #211b15;
    font-size: 15px;
    font-weight: 750;
    padding: 13px 14px;
}

.cdek-estimate[data-state="success"] {
    background: #eaf6ec;
    border-color: rgba(55, 143, 78, 0.3);
    color: #174a27;
}

.cdek-estimate[data-state="error"] {
    background: rgba(223, 57, 70, 0.08);
    border-color: rgba(223, 57, 70, 0.2);
    color: #211b15;
}

.cdek-pickup-panel {
    display: grid;
    gap: 12px;
}

.cdek-map-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.cdek-map-head strong {
    color: #211b15;
}

.cdek-map-head span {
    color: rgba(33, 27, 21, 0.58);
    font-size: 13px;
    font-weight: 800;
}

.cdek-map {
    background: #f4ecdf;
    border: 1px solid var(--storefront-line-strong);
    height: 380px;
    overflow: hidden;
}

.cdek-point-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 320px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 6px;
}

.checkout-form .cdek-point-card {
    appearance: none;
    background: #fffdf8;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 8px;
    color: #211b15;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
    height: auto;
    line-height: 1.25;
    min-height: 74px;
    overflow: visible;
    padding: 10px 12px;
    text-align: left;
    text-transform: none;
    width: 100%;
}

.checkout-form .cdek-point-card:hover,
.checkout-form .cdek-point-card.is-selected {
    background: #f3f7fb;
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(13, 27, 42, 0.1);
}

.checkout-form .cdek-point-card.is-selected {
    box-shadow:
        inset 4px 0 0 var(--navy),
        0 0 0 4px rgba(13, 27, 42, 0.12),
        0 12px 22px rgba(33, 27, 21, 0.08);
}

.checkout-form .cdek-point-card strong {
    color: #211b15;
    display: block;
    font-size: 15px;
    font-weight: 850;
    height: auto;
    line-height: 1.18;
    min-height: 1.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-form .cdek-point-card span,
.checkout-form .cdek-point-card small,
.cdek-point-list p {
    color: rgba(33, 27, 21, 0.62);
    display: block;
    font-size: 13px;
    height: auto;
    line-height: 1.35;
    margin: 0;
    min-height: 1.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cdek-points-attribution {
    color: rgba(33, 27, 21, 0.54);
    font-size: 11px;
    line-height: 1.3;
}

.cdek-map-balloon {
    background: #fff;
    color: #211b15;
    display: grid;
    gap: 8px;
    max-width: 300px;
    padding: 4px 0;
}

.cdek-map-balloon strong {
    color: #211b15;
    display: block;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.2;
}

.cdek-map-balloon p {
    color: rgba(33, 27, 21, 0.64);
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
}

.cdek-map-balloon button {
    background: var(--red);
    border: 0;
    border-radius: 8px;
    box-shadow: var(--storefront-button-shadow);
    color: #fffaf1;
    cursor: pointer;
    font-size: 14px;
    font-weight: 850;
    min-height: 40px;
    padding: 8px 14px;
    width: auto;
}

.cdek-map-balloon button:hover {
    background: #c72f3d;
    box-shadow: var(--storefront-button-shadow-hover);
}

.checkout-reference-page .cdek-map .ymaps-2-1-79-balloon,
.checkout-reference-page .cdek-map .ymaps-2-1-79-balloon__layout,
.checkout-reference-page .cdek-map .ymaps-2-1-79-balloon__content {
    border-radius: 12px;
}

.checkout-reference-page .cdek-map .ymaps-2-1-79-balloon {
    border: 1px solid rgba(13, 27, 42, 0.12);
    box-shadow: none;
    filter: none;
    padding: 0;
}

.checkout-reference-page .cdek-map .ymaps-2-1-79-balloon__tail {
    box-shadow: none;
    filter: none;
}

.checkout-reference-page .cdek-map .ymaps-2-1-79-balloon__layout,
.checkout-reference-page .cdek-map .ymaps-2-1-79-balloon__content {
    overflow: visible;
}

@media (max-width: 1180px) {
    .checkout-shell {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .checkout-page {
        padding-left: 18px;
        padding-right: 18px;
    }

    .checkout-summary,
    .checkout-form {
        padding: 22px;
    }

    .checkout-form h1 {
        font-size: var(--text-heading-1);
    }

    .checkout-summary h1 {
        font-size: var(--text-heading-1);
    }

    .checkout-field-grid,
    .checkout-option-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .checkout-cart-item {
        grid-template-columns: minmax(0, 1fr);
    }

    .checkout-cart-item-image {
        max-width: 260px;
    }

    .cdek-map {
        height: 280px;
    }
}

/*
    East Fork-inspired checkout composition.
    The storefront checkout intentionally uses a quiet, self-contained shell:
    form on the left, sticky order summary on the right, no catalogue chrome.
*/
body.checkout-reference-page {
    background: #ffffff;
}

body.checkout-reference-page > .site-header,
body.checkout-reference-page > .site-footer {
    display: none;
}

.checkout-reference-page > main {
    min-height: 100vh;
}

.checkout-reference-page .checkout-page {
    background: #ffffff;
    color: #111111;
    min-height: 100vh;
    padding: 0;
}

.checkout-reference-header {
    align-items: center;
    border-bottom: 1px solid #dedede;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    margin: 0 auto;
    max-width: 1440px;
    min-height: 86px;
    padding: 16px clamp(24px, 4.5vw, 72px);
}

.checkout-reference-header a {
    color: #171717;
    font-size: 14px;
    text-decoration: none;
}

.checkout-reference-back {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    justify-self: start;
}

.checkout-reference-back span {
    font-size: 28px;
    line-height: 0.8;
}

.checkout-reference-brand {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    justify-self: center;
}

.checkout-reference-brand img {
    display: block;
    height: 54px;
    object-fit: contain;
    width: 54px;
}

.checkout-reference-cart {
    justify-self: end;
}

.checkout-reference-page .checkout-shell {
    align-items: stretch;
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 57%) minmax(380px, 43%);
    margin: 0 auto;
    max-width: 1440px;
}

.checkout-reference-page .checkout-form,
.checkout-reference-page .checkout-summary {
    border: 0;
    border-radius: 0;
}

.checkout-reference-page .checkout-form--reference {
    background: #ffffff;
    display: grid;
    gap: 0;
    padding: 54px clamp(36px, 7vw, 112px) 80px;
}

.checkout-reference-intro {
    border-bottom: 1px solid #dedede;
    display: grid;
    gap: 8px;
    margin-bottom: 34px;
    padding-bottom: 28px;
}

.checkout-reference-page .checkout-reference-intro h1 {
    color: #111111;
    font-size: 34px;
    line-height: 1.08;
}

.checkout-reference-page .checkout-reference-intro p,
.checkout-reference-page .checkout-section-note,
.checkout-reference-page .checkout-legal,
.checkout-reference-page .checkout-summary-note {
    color: #676767;
    font-size: 14px;
    line-height: 1.5;
}

.checkout-reference-page .checkout-section--reference {
    border: 0;
    border-bottom: 1px solid #dedede;
    display: grid;
    gap: 16px;
    padding: 0 0 34px;
}

.checkout-reference-page .checkout-section--reference + .checkout-section--reference {
    padding-top: 34px;
}

.checkout-reference-page .checkout-section-head {
    display: block;
}
.checkout-reference-page .checkout-section-head h2 {
    color: #111111;
    font-size: 24px;
    line-height: 1.12;
}

.checkout-field-stack {
    display: grid;
    gap: 12px;
}

.checkout-courier-address-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.checkout-courier-address-grid .checkout-field { flex: 1 1 110px; }
.checkout-courier-address-grid .checkout-field--street { flex-basis: 270px; }
.checkout-reference-page .checkout-field {
    background: #ffffff;
    border: 1px solid #cfcfcf;
    border-radius: 12px;
    display: grid;
    gap: 2px;
    min-height: 58px;
    padding: 8px 14px 7px;
}

.checkout-reference-page .checkout-field:focus-within {
    border-color: var(--navy);
    box-shadow: 0 0 0 2px rgba(13, 27, 42, 0.14);
}

.checkout-reference-page .checkout-field > span {
    color: #686868;
    font-size: 12px;
    line-height: 1.2;
}

.checkout-reference-page .checkout-field input,
.checkout-reference-page .checkout-field textarea {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #111111;
    font-size: 16px;
    line-height: 1.35;
    min-height: 24px;
    outline: 0;
    padding: 0;
    width: 100%;
}

.checkout-reference-page .checkout-field input::placeholder,
.checkout-reference-page .checkout-field textarea::placeholder {
    color: transparent;
}

.checkout-reference-page .checkout-field--textarea {
    min-height: 120px;
}

.checkout-reference-page .checkout-field textarea {
    min-height: 82px;
    resize: vertical;
}

.checkout-reference-page .checkout-city-field,
.checkout-reference-page .cdek-address-field {
    position: relative;
}

.checkout-reference-page .cdek-city-shortcuts {
    gap: 7px 13px;
    padding: 10px 2px 0;
}

.checkout-reference-page .checkout-form .cdek-city-shortcuts button {
    color: #5c5c5c;
    font-size: 13px;
    font-weight: 500;
    text-decoration-color: #a7a7a7;
}

.checkout-reference-page .checkout-form .cdek-city-shortcuts button:hover {
    color: var(--navy);
}

.checkout-reference-page .city-suggestions {
    background: #ffffff;
    border-color: #bfbfbf;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden auto;
}

.checkout-reference-page .checkout-city-field > .city-suggestions {
    margin-top: 0;
    position: absolute;
    top: 64px;
    z-index: 50;
}

.checkout-reference-page .checkout-option-grid {
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
}

.checkout-reference-page .checkout-form .payment-methods.checkout-option-grid,
.checkout-reference-page .checkout-form .delivery-methods.checkout-option-grid {
    border-radius: 12px;
    gap: 0;
    overflow: hidden;
}

.checkout-reference-page .checkout-form .payment-methods label.checkout-option,
.checkout-reference-page .checkout-form .delivery-methods label.checkout-option,
.checkout-reference-page .checkout-form .checkout-option {
    align-items: center;
    background: #ffffff;
    border: 1px solid #cfcfcf;
    border-radius: 0;
    display: grid;
    gap: 13px;
    grid-template-columns: 18px minmax(0, 1fr);
    padding: 16px;
}

.checkout-reference-page .checkout-form .checkout-option-grid > .checkout-option:first-child {
    border-radius: 12px 12px 0 0;
}

.checkout-reference-page .checkout-form .checkout-option-grid > .checkout-option:last-child {
    border-radius: 0 0 12px 12px;
}

.checkout-reference-page .checkout-option + .checkout-option {
    margin-top: -1px;
}

.checkout-reference-page .checkout-form .payment-methods label.checkout-option.is-selected,
.checkout-reference-page .checkout-form .delivery-methods label.checkout-option.is-selected,
.checkout-reference-page .checkout-form .checkout-option.is-selected {
    background: #f3f7fb;
    border-color: var(--navy);
    box-shadow: inset 0 0 0 1px var(--navy);
    z-index: 1;
}

.checkout-reference-page .checkout-form .checkout-option input {
    clip: rect(0 0 0 0);
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.checkout-reference-page .checkout-option > i {
    border: 1px solid #ababab;
    border-radius: 50%;
    display: block;
    height: 18px;
    position: relative;
    width: 18px;
}

.checkout-reference-page .checkout-option.is-selected > i {
    border-color: var(--navy);
}

.checkout-reference-page .checkout-option.is-selected > i::after {
    background: var(--navy);
    border-radius: 50%;
    content: "";
    inset: 4px;
    position: absolute;
}

.checkout-reference-page .checkout-form .checkout-option span {
    gap: 3px;
}

.checkout-reference-page .checkout-form .checkout-option strong {
    color: #111111;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.25;
}

.checkout-reference-page .checkout-form .checkout-option small {
    color: #666666;
    font-size: 13px;
}

.checkout-reference-page .cdek-estimate {
    background: #f6f6f4;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    color: #4f4f4f;
    font-size: 14px;
    font-weight: 500;
    padding: 13px 14px;
}

.checkout-reference-page .cdek-map {
    background: #f3f3f0;
    border-color: #cfcfcf;
    border-radius: 12px;
    height: 340px;
}

.checkout-reference-page .cdek-map-head strong {
    color: #111111;
    font-size: 15px;
}

.checkout-reference-page .checkout-form [data-cdek-point-search-input] {
    background: #ffffff;
    border: 1px solid #cfcfcf;
    border-radius: 12px;
    font-size: 15px;
    min-height: 50px;
    padding: 12px 14px;
}

.checkout-reference-page .checkout-form [data-cdek-point-search-input]:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 2px rgba(13, 27, 42, 0.14);
    outline: 0;
}

.checkout-reference-page .checkout-form .cdek-point-card {
    border-radius: 12px;
}

.checkout-reference-page .cdek-point-list {
    max-height: 560px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 6px;
}

.checkout-reference-page .checkout-legal {
    margin: 26px 0 16px;
}

.checkout-reference-page .checkout-legal a {
    color: #111111;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.checkout-reference-page .checkout-form .checkout-submit {
    background: var(--red);
    border: 0;
    border-radius: var(--storefront-button-radius);
    color: #ffffff;
    font-size: 16px;
    font-weight: 650;
    min-height: 58px;
    width: 100%;
}

.checkout-reference-page .checkout-summary--reference {
    align-content: start;
    background: #f5f5f3;
    border-left: 1px solid #dedede;
    min-height: calc(100vh - 86px);
    padding: 54px clamp(32px, 4.5vw, 72px);
}

.checkout-summary-inner {
    align-content: start;
    display: grid;
    gap: 26px;
    grid-auto-rows: max-content;
    position: sticky;
    top: 36px;
}

.checkout-reference-page .checkout-cart-items {
    display: grid;
    gap: 18px;
}

.checkout-reference-page .checkout-cart-item {
    align-items: center;
    border: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    padding: 0;
}

.checkout-reference-page .checkout-cart-item-image {
    aspect-ratio: 1;
    border: 1px solid #d7d7d7;
    border-radius: 12px;
    display: block;
    overflow: visible;
    position: relative;
}

.checkout-reference-page .checkout-cart-item-image picture {
    border-radius: inherit;
    overflow: hidden;
}

.checkout-reference-page .checkout-cart-item-image img {
    aspect-ratio: 1;
    border-radius: inherit;
    height: 100%;
    object-fit: cover;
}

.checkout-cart-item .checkout-cart-item-quantity {
    align-items: center;
    background: var(--red);
    border-radius: 999px;
    color: #ffffff;
    display: flex;
    font-size: 12px;
    font-weight: 800;
    height: 22px;
    justify-content: center;
    position: absolute;
    right: -9px;
    top: -9px;
    width: 22px;
}

.checkout-reference-page .checkout-cart-item-copy {
    display: grid;
    gap: 2px;
}

.checkout-reference-page .checkout-cart-item-copy h3 {
    color: #111111;
    font-size: 15px;
    line-height: 1.25;
    margin: 0;
}

.checkout-reference-page .checkout-cart-item-copy p {
    color: #6b6b6b;
    font-size: 13px;
    line-height: 1.35;
    text-transform: none;
}

.checkout-cart-item-price {
    color: #111111;
    font-size: 14px;
    white-space: nowrap;
}

.checkout-reference-page .checkout-total-breakdown {
    border-bottom: 1px solid #d7d7d7;
    border-top: 1px solid #d7d7d7;
    display: grid;
    gap: 12px;
    padding: 22px 0;
}

.checkout-reference-page .checkout-total-breakdown[hidden] {
    display: grid;
}

.checkout-reference-page .checkout-total-breakdown span,
.checkout-reference-page .checkout-total-breakdown strong {
    color: #222222;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
}

.checkout-reference-page .checkout-total-breakdown div:last-child strong {
    color: #666666;
    font-size: 12px;
    max-width: 220px;
    text-align: right;
}

.checkout-summary-total {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.checkout-summary-total > span {
    color: #111111;
    font-size: 18px;
    font-weight: 650;
}

.checkout-summary-total > div {
    align-items: baseline;
    display: flex;
    gap: 9px;
}

.checkout-summary-total small {
    color: #6a6a6a;
    font-size: 12px;
}

.checkout-reference-page .checkout-price {
    border: 0;
    color: #111111;
    font-size: 24px;
    font-weight: 650;
    padding: 0;
}

.checkout-reference-page .checkout-summary-note {
    margin: -10px 0 0;
}

@media (max-width: 980px) {
    .checkout-reference-page .checkout-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .checkout-reference-page .checkout-summary--reference {
        border-bottom: 1px solid #dedede;
        border-left: 0;
        min-height: 0;
        order: -1;
        padding-bottom: 34px;
        padding-top: 34px;
    }

    .checkout-summary-inner {
        position: static;
    }

    .checkout-reference-page .checkout-form--reference {
        padding-top: 38px;
    }
}

@media (max-width: 640px) {
    .checkout-reference-header {
        gap: 12px;
        min-height: 70px;
        padding: 12px 18px;
    }

    .checkout-reference-brand {
        gap: 7px;
    }

    .checkout-reference-brand img {
        height: 38px;
        width: 38px;
    }

    .checkout-reference-brand strong {
        font-size: 20px;
    }

    .checkout-reference-back {
        font-size: 0;
    }

    .checkout-reference-back span {
        font-size: 30px;
    }

    .checkout-reference-cart {
        font-size: 12px;
    }

    .checkout-reference-page .checkout-form--reference,
    .checkout-reference-page .checkout-summary--reference {
        padding-left: 20px;
        padding-right: 20px;
    }

    .checkout-reference-page .checkout-form--reference {
        padding-bottom: 48px;
    }

    .checkout-reference-page .checkout-reference-intro h1 {
        font-size: 30px;
    }

    .checkout-reference-page .checkout-cart-item {
        grid-template-columns: 66px minmax(0, 1fr) auto;
    }
    .checkout-reference-page .cdek-map {
        height: 280px;
    }
}

.cookie-notice {
    align-items: center;
    background: var(--navy);
    border: 1px solid rgba(245, 245, 245, 0.14);
    border-radius: 8px;
    bottom: 22px;
    box-shadow: 0 18px 42px rgba(13, 27, 42, 0.24);
    color: var(--paper);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    left: 50%;
    max-width: 760px;
    padding: 16px 18px;
    position: fixed;
    transform: translateX(-50%);
    width: min(calc(100vw - 32px), 760px);
    z-index: 1300;
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice div {
    display: grid;
    gap: 4px;
}

.cookie-notice strong {
    color: var(--paper);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.cookie-notice span {
    color: rgba(245, 245, 245, 0.76);
    font-size: 14px;
    line-height: 1.45;
}

.cookie-notice button {
    background: var(--red);
    border: 0;
    border-radius: 999px;
    color: var(--paper);
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    min-height: 42px;
    padding: 0 22px;
    transition: background 160ms ease, transform 160ms ease;
}

.cookie-notice button:hover,
.cookie-notice button:focus-visible {
    background: var(--red-dark);
    outline: none;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .cart-page {
        padding: 48px 24px 72px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-items {
        border-right: 0;
    }

    .cart-item {
        grid-template-columns: 150px minmax(0, 1fr) auto;
        padding-right: 0;
    }

    .cart-item-image {
        width: 150px;
    }

    .cart-summary-card {
        border-top: 1px solid var(--storefront-line-strong);
        padding: 32px 0;
        position: static;
    }

    .cookie-notice {
        grid-template-columns: minmax(0, 1fr);
    }

    .cookie-notice button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .cart-page {
        padding: 40px 20px 64px;
    }

    .cart-head {
        align-items: flex-start;
        gap: 16px;
    }

    .cart-item {
        gap: 18px;
        grid-template-columns: 112px minmax(0, 1fr);
        padding: 24px 0;
    }

    .cart-item-image {
        width: 112px;
    }

    .cart-item-action {
        grid-column: 2;
    }
}

/* === public/css/marketplace/71-static-pages.css === */
/*
    Legal, account, wholesale, and corporate pages.
    Source module for public/css/marketplace-bundle.css.
*/

.payment-methods,
.delivery-methods {
    display: grid;
    gap: 8px;
}

.payment-methods label,
.delivery-methods label {
    align-items: flex-start;
    background: var(--surface-warm);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 10px;
}

.payment-methods span,
.delivery-methods span {
    display: grid;
    gap: 2px;
}

.payment-methods small,
.delivery-methods small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

/* Legal and delivery pages. */
.legal-page {
    background: var(--paper);
    color: #211b15;
    min-height: 72vh;
    padding: 46px max(24px, calc((100vw - 1360px) / 2 + 32px)) 72px;
}

.legal-shell {
    margin: 0 auto;
    max-width: 1120px;
}

.legal-page .breadcrumbs {
    color: rgba(33, 27, 21, 0.56);
    margin-bottom: 28px;
}

.legal-page .breadcrumbs a,
.legal-page .breadcrumbs span:last-child {
    color: #211b15;
}

.legal-hero {
    display: grid;
    gap: 16px;
    margin-bottom: 26px;
    max-width: 820px;
}

.legal-hero-compact {
    max-width: 760px;
}

.legal-hero h1 {
    color: #211b15;
    font-size: var(--text-heading-1);
    letter-spacing: 0;
    line-height: var(--line-heading-1);
    margin: 0;
}

.legal-hero p {
    color: rgba(33, 27, 21, 0.7);
    font-size: 20px;
    line-height: 1.45;
    margin: 0;
}

.legal-card {
    background: #fffaf1;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 8px;
    display: grid;
    gap: 18px;
    padding: clamp(24px, 4vw, 52px);
}

.legal-card h2 {
    color: #211b15;
    font-size: 26px;
    line-height: 1.15;
    margin: 18px 0 0;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p {
    color: rgba(33, 27, 21, 0.72);
    font-size: 17px;
    line-height: 1.62;
    margin: 0;
}

.legal-requisites {
    border-top: 1px solid var(--storefront-line-strong);
    display: grid;
    margin: 10px 0 0;
}

.legal-requisites div {
    border-bottom: 1px solid var(--storefront-line-strong);
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
    padding: 14px 0;
}

.legal-requisites dt {
    color: rgba(33, 27, 21, 0.55);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-requisites dd {
    color: #211b15;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.4;
    margin: 0;
}

.legal-requisites-large dd {
    font-size: 20px;
}

.legal-note {
    background: #f4ecdf;
    border: 1px solid var(--storefront-line-strong);
    border-radius: 8px;
    display: grid;
    gap: 8px;
    margin-top: 8px;
    padding: 20px;
}

.legal-note strong {
    color: #211b15;
    font-size: 18px;
}

.legal-note p {
    font-size: 16px;
}

.delivery-return-page {
    background: #ffffff;
    border-bottom: 1px solid var(--storefront-line-strong);
    color: #17120d;
    min-height: 72vh;
    padding: 0 24px;
}

.delivery-return-shell {
    box-sizing: border-box;
    margin: 40px auto;
    max-width: 800px;
    padding: 64px 40px 96px;
}
.delivery-return-hero h1 {
    color: #17120d;
    font-family: var(--font-heading);
    font-size: var(--text-heading-1);
    font-weight: var(--font-weight-heading);
    line-height: var(--line-heading-1);
    margin: 0 0 32px;
}
.delivery-return-hero p,
.delivery-return-section p,
.delivery-return-list {
    color: #17120d;
    font-size: var(--text-body);
    line-height: var(--line-body);
}

.delivery-return-hero p {
    margin: 0;
}

.delivery-return-hero p + p,
.delivery-return-section p + p {
    margin-top: 20px;
}
.delivery-return-content {
    margin-top: 56px;
}
.delivery-return-section + .delivery-return-section {
    margin-top: 48px;
}
.delivery-return-section h2 {
    color: #17120d;
    font-family: var(--font-heading);
    font-size: var(--text-heading-2);
    font-weight: var(--font-weight-heading);
    line-height: var(--line-heading-2);
    margin: 0 0 20px;
}
.delivery-return-section h3 {
    color: #17120d;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: var(--font-weight-heading);
    line-height: 28px;
    margin: 28px 0 8px;
}

.delivery-return-section p {
    margin-bottom: 0;
}

.delivery-return-list {
    margin: 20px 0 0;
    padding-left: 24px;
}

.delivery-return-list li {
    padding-left: 4px;
}

.delivery-return-list li + li {
    margin-top: 12px;
}

.delivery-return-list strong {
    font-weight: var(--font-weight-strong);
}

.delivery-return-section--note {
    border-top: 1px solid var(--storefront-line-strong);
    padding-top: 40px;
}

.delivery-return-page a {
    color: currentcolor;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.delivery-return-page a:hover,
.delivery-return-page a:focus-visible {
    color: var(--red);
    outline: none;
}

@media (max-width: 900px) {
    .legal-page {
        padding: 32px 18px 54px;
    }

    .legal-requisites div {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .delivery-return-page {
        padding: 0 20px;
    }

    .delivery-return-shell {
        margin: 0 auto;
        padding: 48px 0 72px;
    }

    .delivery-return-hero h1 {
        margin-bottom: 24px;
    }

    .delivery-return-content {
        margin-top: 48px;
    }

    .delivery-return-section + .delivery-return-section {
        margin-top: 40px;
    }

    .delivery-return-section--note {
        padding-top: 32px;
    }
}

/* Contact page: narrow editorial column inspired by the East Fork contact layout. */
.contact-page {
    background: #ffffff;
    border-bottom: 1px solid var(--storefront-line-strong);
    color: #17120d;
    min-height: 72vh;
    padding: 0 24px;
}

.contact-shell {
    box-sizing: border-box;
    margin: 40px auto;
    max-width: 697.6px;
    padding: 64px 40px;
}

.contact-hero {
    display: grid;
    gap: 32px;
}

.contact-hero h1 {
    color: #17120d;
    font-family: var(--font-heading);
    font-size: var(--text-heading-1);
    font-weight: 700;
    letter-spacing: normal;
    line-height: var(--line-heading-1);
    margin: 0;
}

.contact-hero p,
.contact-copy p {
    color: #17120d;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.contact-copy {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.contact-copy strong {
    font-weight: 600;
}

.contact-page a {
    color: currentcolor;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.contact-page a:hover,
.contact-page a:focus-visible {
    color: var(--red);
    outline: none;
}

.contact-requisites {
    border-bottom: 1px solid var(--storefront-line-strong);
    border-top: 1px solid var(--storefront-line-strong);
    margin-top: 64px;
}

.contact-requisites summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    font-weight: 600;
    justify-content: space-between;
    list-style: none;
    min-height: 64px;
}

.contact-requisites summary::-webkit-details-marker {
    display: none;
}

.contact-requisites summary::after {
    content: "+";
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
}

.contact-requisites[open] summary::after {
    content: "−";
}

.contact-requisites__content {
    padding: 0 0 34px;
}

.contact-requisites .legal-requisites {
    margin-top: 0;
}

.contact-requisites .legal-requisites div {
    gap: 10px;
    grid-template-columns: minmax(140px, 0.34fr) minmax(0, 1fr);
}

.contact-requisites .legal-requisites dd {
    font-size: 15px;
    font-weight: 700;
}

.contact-requisites__note {
    color: rgba(23, 18, 13, 0.74);
    font-size: 15px;
    line-height: 1.5;
    margin: 26px 0 0;
}

@media (max-width: 1023px) {
    .contact-shell {
        padding: 0 20px;
    }
}

@media (max-width: 767px) {
    .contact-hero h1 {
        font-size: var(--text-heading-1);
        line-height: var(--line-heading-1);
    }

    .contact-requisites {
        margin-top: 48px;
    }

    .contact-requisites .legal-requisites div {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Account, payment, wholesale, and corporate pages. */
.account-shell,
.account-dashboard,
.payment-page,
.business-content {
    padding: 64px max(24px, calc((100vw - 1360px) / 2 + 32px));
}

.account-shell {
    align-items: stretch;
    background: var(--paper);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(320px, 0.86fr) minmax(360px, 0.74fr);
}

.account-panel,
.account-form,
.orders-panel,
.payment-card,
.business-form,
.business-cards article {
    border-radius: 8px;
}

.account-panel {
    align-content: center;
    display: grid;
    gap: 22px;
    min-height: 520px;
    padding: 48px;
}

.account-panel-dark {
    background: var(--navy);
    color: var(--paper);
}

.account-panel h1,
.business-hero h1,
.payment-card h1,
.account-head h1 {
    font-size: var(--text-heading-1);
    line-height: var(--line-heading-1);
    margin: 0;
}

.account-panel p,
.business-hero p,
.account-head p {
    color: rgba(245, 245, 245, 0.72);
    font-size: 18px;
    line-height: 1.55;
    margin: 0;
    max-width: 680px;
}

.light-link,
.secondary-button,
.payment-button,
.business-cta {
    align-items: center;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    font-weight: 850;
    justify-content: center;
    min-height: 44px;
    padding: 12px 16px;
}

.light-link {
    background: var(--paper);
    color: var(--ink);
    justify-self: start;
}

.light-link.dark {
    background: var(--navy);
    color: var(--paper);
    margin-top: 18px;
}

.account-form {
    align-content: start;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(13, 27, 42, 0.08);
    display: grid;
    gap: 14px;
    padding: 32px;
}

.account-form.compact {
    box-shadow: none;
}

.account-form h2,
.orders-panel h2,
.business-form h2 {
    font-size: 28px;
    line-height: 1.08;
    margin: 0 0 6px;
}

.account-form label,
.business-form label {
    color: var(--muted);
    display: grid;
    font-size: 13px;
    font-weight: 800;
    gap: 7px;
}

.account-form input,
.account-form textarea,
.business-form input,
.business-form textarea {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    min-height: 44px;
    padding: 0 12px;
    width: 100%;
}

.account-form textarea,
.business-form textarea {
    min-height: 96px;
    padding: 12px;
    resize: vertical;
}

.account-form button,
.business-form button,
.payment-button,
.business-cta {
    background: var(--red);
    color: var(--paper);
}

.account-form button {
    align-items: center;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 28px rgba(217, 59, 70, 0.2);
    cursor: pointer;
    display: inline-flex;
    font-size: 17px;
    font-weight: 900;
    justify-content: center;
    min-height: 54px;
    padding: 0 26px;
    transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    width: 100%;
}

.account-form button:hover,
.account-form button:focus-visible {
    background: var(--red-dark);
    box-shadow: 0 18px 34px rgba(217, 59, 70, 0.28);
    outline: none;
    transform: translateY(-1px);
}

.account-form .check-row {
    align-items: center;
    display: flex;
    gap: 8px;
}

.check-row input {
    min-height: auto;
    width: auto;
}

.account-dashboard {
    background: var(--paper);
}

.account-head {
    align-items: end;
    background: var(--navy);
    border-radius: 8px;
    color: var(--paper);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 22px;
    padding: 34px;
}

.secondary-button {
    background: rgba(245, 245, 245, 0.12);
    border: 1px solid rgba(245, 245, 245, 0.28);
    color: var(--paper);
}

.account-grid {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
}

.orders-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    display: grid;
    gap: 14px;
    padding: 24px;
}

.order-card {
    background: var(--surface-warm);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    padding: 16px;
}

.order-card > div,
.order-card-footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.order-card span,
.order-card p,
.payment-note,
.pending-payment p {
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

.payment-page {
    background: var(--paper);
}

.payment-card {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(13, 27, 42, 0.08);
    margin: 0 auto;
    max-width: 760px;
    padding: 36px;
}

.payment-card p {
    line-height: 1.55;
}

.payment-summary {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 22px 0;
}

.payment-summary div,
.pending-payment {
    background: var(--surface-warm);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
}

.payment-summary span {
    color: var(--muted);
    display: block;
    font-size: 12px;
    font-weight: 850;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.payment-qr {
    align-items: center;
    background: var(--surface-warm);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 18px;
    grid-template-columns: 180px minmax(0, 1fr);
    margin: 24px 0 18px;
    padding: 18px;
}

.payment-qr img {
    background: #fff;
    display: block;
    height: 180px;
    object-fit: contain;
    padding: 10px;
    width: 180px;
}

.payment-qr strong {
    color: var(--ink);
    display: block;
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 8px;
}

.business-hero {
    background: var(--navy);
    color: var(--paper);
    min-height: 560px;
    padding: 96px max(24px, calc((100vw - 1360px) / 2 + 32px));
}

.business-hero.is-corporate {
    background:
        linear-gradient(90deg, rgba(13, 27, 42, 0.9), rgba(13, 27, 42, 0.72)),
        url("/images/lunariska/brand-scene.jpg") center / cover;
}

.business-hero > div {
    display: grid;
    gap: 24px;
    max-width: 840px;
}

.business-content {
    background: var(--paper);
    display: grid;
    gap: 24px;
}

.business-cards {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.business-cards article {
    background: var(--surface);
    border: 1px solid var(--line);
    display: grid;
    gap: 12px;
    padding: 24px;
}

.business-cards span {
    color: var(--red);
    font-weight: 950;
}

.business-cards h2 {
    font-size: 24px;
    margin: 0;
}

.business-cards p {
    color: var(--muted);
    line-height: 1.58;
    margin: 0;
}

.business-form {
    background: var(--surface);
    border: 1px solid var(--line);
    display: grid;
    gap: 20px;
    padding: 28px;
}

.business-form-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.business-form-grid .wide {
    grid-column: 1 / -1;
}

.business-type {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.business-type label {
    align-items: center;
    background: var(--surface-warm);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    display: flex;
    flex-direction: row;
    padding: 10px 12px;
}

@media (max-width: 1180px) {
    .account-shell,
    .account-grid,
    .business-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .account-panel {
        min-height: 420px;
    }

    .business-form-grid,
    .payment-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .account-shell,
    .account-dashboard,
    .payment-page,
    .business-content,
    .business-hero {
        padding-left: 18px;
        padding-right: 18px;
    }

    .account-panel,
    .account-form,
    .payment-card,
    .business-form {
        padding: 22px;
    }

    .account-panel h1,
    .business-hero h1,
    .payment-card h1,
    .account-head h1 {
        font-size: var(--text-heading-1);
    }
    .account-head,
    .order-card > div,
    .order-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }
    .business-form-grid,
    .payment-summary {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* === public/css/marketplace/72-offer.css === */
/*
    Public offer page.
    Source module for public/css/marketplace-bundle.css.
*/

.offer-page {
    background: #ffffff;
    border-bottom: 1px solid var(--storefront-line-strong);
    color: #17120d;
    min-height: 72vh;
    padding: 0 24px;
}

.offer-shell {
    box-sizing: border-box;
    margin: 40px auto;
    max-width: 760px;
    padding: 64px 40px 112px;
}

.offer-hero h1 {
    color: #17120d;
    font-family: var(--font-heading);
    font-size: var(--text-heading-1);
    font-weight: var(--font-weight-heading);
    letter-spacing: 0;
    line-height: var(--line-heading-1);
    margin: 0 0 64px;
}

.offer-hero p,
.offer-section p,
.offer-requisites dd {
    color: #17120d;
    font-size: var(--text-body);
    line-height: var(--line-body);
}

.offer-hero p {
    margin: 0;
}

.offer-content {
    margin-top: 64px;
}

.offer-section + .offer-section {
    margin-top: 48px;
}

.offer-section h2 {
    color: #17120d;
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: var(--font-weight-strong);
    line-height: var(--line-body);
    margin: 0 0 16px;
}

.offer-section p {
    margin: 0;
}

.offer-section p + p {
    margin-top: 20px;
}

.offer-requisites {
    border-top: 1px solid var(--storefront-line-strong);
    display: grid;
    margin: 24px 0 0;
}

.offer-requisites div {
    border-bottom: 1px solid var(--storefront-line-strong);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(140px, 0.32fr) minmax(0, 1fr);
    padding: 16px 0;
}

.offer-requisites dt {
    color: #17120d;
    font-size: 12px;
    font-weight: var(--font-weight-strong);
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
}

.offer-requisites dd {
    margin: 0;
}

@media (max-width: 767px) {
    .offer-page {
        padding: 0 20px;
    }

    .offer-shell {
        margin: 0 auto;
        padding: 48px 0 72px;
    }

    .offer-hero h1 {
        margin-bottom: 40px;
    }

    .offer-content {
        margin-top: 48px;
    }

    .offer-section + .offer-section {
        margin-top: 40px;
    }

    .offer-requisites div {
        gap: 6px;
        grid-template-columns: minmax(0, 1fr);
    }
}

/* === public/css/marketplace/75-controls.css === */
/*
    Buttons, icon buttons, arrows, stars, swatches, and counters.
    Source module for public/css/marketplace-bundle.css.
*/

body.site-page-designed :is(
    .builder-button,
    .primary-action,
    .catalog-control-trigger,
    .filter-submit,
    .quote-button,
    .reset-filters,
    .secondary-button,
    .payment-button,
    .product-card-cart-button,
    .product-checkout-button,
    .cart-checkout-button,
    .cart-primary-link,
    .cart-remove-button,
    .cart-clear-button,
    .amazon-add-cart-button,
    .amazon-buy-now-button,
    .amazon-list-button,
    .eastfork-pair-card__cart-button,
    .nike-add-cart-button,
    .nike-buy-now-button,
    .review-write-button,
    .checkout-form button,
    .account-form button,
    .business-form button,
    .quote-form button,
    .builder-lead-form button,
    .eastfork-story-copy a,
    .business-cta,
    .cart-item-action,
    .ef-link,
    .ef-okendo-write > summary,
    .ef-okendo-write-link,
    .ef-okendo-form button,
    .cookie-notice button,
    .cdek-map-balloon button,
    .ef-button,
    .ef-product-tile__cart-button,
    .ef-product-tile__quick-submit
) {
    align-items: center;
    background: var(--storefront-button-bg);
    border-color: var(--storefront-button-bg);
    border-radius: var(--storefront-button-radius);
    box-shadow: var(--storefront-button-shadow);
    color: var(--storefront-button-text);
    display: inline-flex;
    font-family: var(--font-display);
    font-size: var(--storefront-button-font-size);
    font-weight: var(--storefront-button-font-weight);
    justify-content: center;
    line-height: var(--line-accent);
    letter-spacing: var(--tracking-accent);
    min-height: var(--storefront-button-min-height);
    padding: var(--storefront-button-padding-y) var(--storefront-button-padding-x);
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transform: none;
    transition:
        background-color var(--storefront-button-transition-duration) ease,
        border-color var(--storefront-button-transition-duration) ease,
        box-shadow var(--storefront-button-transition-duration) ease,
        transform var(--storefront-button-transition-duration) ease;
}

body.site-page-designed :is(
    .builder-button,
    .primary-action,
    .catalog-control-trigger,
    .filter-submit,
    .quote-button,
    .reset-filters,
    .secondary-button,
    .payment-button,
    .product-card-cart-button,
    .product-checkout-button,
    .cart-checkout-button,
    .cart-primary-link,
    .cart-remove-button,
    .cart-clear-button,
    .amazon-add-cart-button,
    .amazon-buy-now-button,
    .amazon-list-button,
    .eastfork-pair-card__cart-button,
    .nike-add-cart-button,
    .nike-buy-now-button,
    .review-write-button,
    .checkout-form button,
    .account-form button,
    .business-form button,
    .quote-form button,
    .builder-lead-form button,
    .eastfork-story-copy a,
    .business-cta,
    .cart-item-action,
    .ef-link,
    .ef-okendo-write > summary,
    .ef-okendo-write-link,
    .ef-okendo-form button,
    .cookie-notice button,
    .cdek-map-balloon button,
    .ef-button,
    .ef-product-tile__cart-button,
    .ef-product-tile__quick-submit
):is(:hover, :focus-visible, :active) {
    background: var(--storefront-button-bg-hover);
    border-color: var(--storefront-button-bg-hover);
    box-shadow: var(--storefront-button-shadow-hover);
    color: var(--storefront-button-text);
    transform: var(--storefront-button-hover-transform);
}

body.site-page-designed .ef-product-tile .ef-product-tile__quick-submit {
    --storefront-icon-plus-display: none;
    font-size: 13px;
    justify-self: end;
    margin-left: 16px;
    min-height: 46px;
    padding: 0 16px;
    width: auto;
}

body.home-eastfork-page .ef-product-tile .ef-product-tile__quick-submit {
    font-size: 12px;
    margin-left: 14px;
    min-height: 41px;
    padding: 0 14px;
}

body.product-surface-page .eastfork-buy-row .nike-add-cart-button,
body.product-surface-page .eastfork-buy-row .amazon-add-cart-button,
body.product-surface-page .eastfork-buy-row .product-card-cart-button {
    border-radius: 0 var(--storefront-button-radius) var(--storefront-button-radius) 0;
    justify-content: center;
    line-height: var(--line-accent);
    padding-left: 18px;
    padding-right: 18px;
    text-align: center;
    white-space: nowrap;
}

body :is(.ef-okendo-stars, .ef-okendo-review-stars, .nike-accordion-stars),
body :is(.ef-okendo-recommend span) {
    color: var(--storefront-button-bg);
}

.home-eastfork-page .ef-palette-swatch.is-active,
.home-eastfork-page .ef-palette-swatch:hover,
.home-eastfork-page .ef-palette-swatch:focus-visible,
.home-eastfork-page .ef-product-tile__swatch.is-active,
.home-eastfork-page .ef-product-tile__swatch:hover,
.home-eastfork-page .ef-product-tile__swatch:focus-visible {
    border-color: var(--storefront-button-bg);
    outline-color: var(--storefront-button-bg);
}

.home-eastfork-page .ef-palette-swatch.is-active {
    border-color: rgba(23, 18, 13, 0.58);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
    outline-color: #65635d;
}

body.catalog-eastfork-page .price-slider-track::before,
body.catalog-eastfork-page .price-slider-track::after,
body.catalog-eastfork-page .price-slider-fill {
    background: var(--storefront-button-bg);
}

.home-eastfork-page .ef-carousel-control,
.home-eastfork-page .ef-palette-arrow,
body.catalog-eastfork-page .catalog-featured-collections > .catalog-featured-collections__arrow {
    opacity: 1;
}

.home-eastfork-page .ef-carousel-control,
.home-eastfork-page .ef-palette-arrow,
body.product-surface-page .product-page .main-image .gallery-arrow,
body.catalog-eastfork-page .product-card .product-card-cart-button:not(.ef-product-tile__quick-submit),
body.home-eastfork-page .ef-product-tile .ef-product-tile__cart-button,
body.product-surface-page .eastfork-pair-card__cart-button,
body.product-surface-page .eastfork-pair-card:hover .eastfork-pair-card__cart-button,
body.product-surface-page .eastfork-pair-card__cart-button:is(:hover, :focus-visible, :active) {
    align-items: center;
    background: var(--storefront-button-bg);
    border: 1px solid var(--storefront-button-bg);
    border-radius: var(--storefront-icon-button-radius);
    box-shadow: var(--storefront-button-shadow);
    color: var(--storefront-button-text);
    display: inline-flex;
    font-size: 0;
    height: var(--storefront-icon-button-size);
    justify-content: center;
    line-height: 0;
    min-height: var(--storefront-icon-button-size);
    min-width: var(--storefront-icon-button-size);
    padding: 0;
    transform: none;
    transition:
        background-color var(--storefront-button-transition-duration) ease,
        border-color var(--storefront-button-transition-duration) ease,
        box-shadow var(--storefront-button-transition-duration) ease,
        transform var(--storefront-button-transition-duration) ease;
    width: var(--storefront-icon-button-size);
}

body.site-page-designed :is(
    .ef-carousel-control,
    .ef-palette-arrow,
    .product-card-cart-button,
    .ef-product-tile__cart-button,
    .eastfork-pair-card__cart-button
) {
    position: relative;
}

body.home-eastfork-page .ef-palette-arrow,
body.home-eastfork-page .ef-palette-arrow:is(:hover, :focus-visible, :active) {
    position: absolute;
    top: calc(50% - (var(--storefront-icon-button-size) / 2));
    transform: none;
}

.home-eastfork-page .ef-carousel-control:is(:hover, :focus-visible, :active),
.home-eastfork-page .ef-palette-arrow:is(:hover, :focus-visible, :active),
body.catalog-eastfork-page .catalog-featured-collections > .catalog-featured-collections__arrow:is(:hover, :focus-visible, :active) {
    opacity: var(--storefront-carousel-arrow-hover-opacity);
}

.home-eastfork-page .ef-carousel-control:is(:hover, :focus-visible, :active),
.home-eastfork-page .ef-palette-arrow:is(:hover, :focus-visible, :active),
body.product-surface-page .product-page .main-image .gallery-arrow:is(:hover, :focus-visible, :active),
body.catalog-eastfork-page .product-card .product-card-cart-button:not(.ef-product-tile__quick-submit):is(:hover, :focus-visible, :active),
body.home-eastfork-page .ef-product-tile .ef-product-tile__cart-button:is(:hover, :focus-visible, :active),
body.product-surface-page .eastfork-pair-card__cart-button:is(:hover, :focus-visible, :active) {
    background: var(--storefront-button-bg-hover);
    border-color: var(--storefront-button-bg-hover);
    box-shadow: var(--storefront-button-shadow-hover);
    color: var(--storefront-button-text);
    transform: var(--storefront-button-hover-transform);
}

body.catalog-eastfork-page .catalog-featured-collections > .catalog-featured-collections__arrow {
    align-items: center;
    background: var(--storefront-button-bg);
    border: 1px solid var(--storefront-button-bg);
    border-radius: var(--storefront-button-radius);
    box-shadow: var(--storefront-button-shadow);
    color: var(--storefront-button-text);
    display: inline-flex;
    font-size: 0;
    height: var(--storefront-icon-button-size);
    justify-content: center;
    line-height: 0;
    min-height: var(--storefront-icon-button-size);
    min-width: var(--storefront-icon-button-size);
    padding: 0;
    position: absolute;
    transition:
        background-color var(--storefront-button-transition-duration) ease,
        border-color var(--storefront-button-transition-duration) ease,
        box-shadow var(--storefront-button-transition-duration) ease,
        transform var(--storefront-button-transition-duration) ease;
    width: var(--storefront-icon-button-size);
}

body.catalog-eastfork-page .catalog-featured-collections > .catalog-featured-collections__arrow:is(:hover, :focus-visible, :active) {
    background: var(--storefront-button-bg-hover);
    border-color: var(--storefront-button-bg-hover);
    box-shadow: var(--storefront-button-shadow-hover);
    color: var(--storefront-button-text);
    transform: none;
}

.home-eastfork-page .ef-carousel-control::before,
.home-eastfork-page .ef-palette-arrow::before,
body.catalog-eastfork-page .catalog-featured-collections__arrow::before,
body.product-surface-page .product-page .main-image .gallery-arrow::before {
    background: transparent;
    border-color: currentColor;
    border-radius: 0;
    border-style: solid;
    border-width: 0 var(--storefront-icon-arrow-stroke) var(--storefront-icon-arrow-stroke) 0;
    box-sizing: border-box;
    content: "";
    display: block;
    height: var(--storefront-icon-arrow-size);
    left: 50%;
    position: absolute;
    top: 50%;
    width: var(--storefront-icon-arrow-size);
}

.home-eastfork-page [data-ef-carousel-prev]::before,
.home-eastfork-page .ef-palette-arrow--prev::before,
body.catalog-eastfork-page .catalog-featured-collections__arrow--prev::before,
body.product-surface-page .product-page .main-image .gallery-arrow-prev::before {
    left: calc(50% + var(--storefront-icon-arrow-optical-offset));
    transform: translate(-50%, -50%) rotate(135deg);
}

.home-eastfork-page [data-ef-carousel-next]::before,
.home-eastfork-page .ef-palette-arrow--next::before,
body.catalog-eastfork-page .catalog-featured-collections__arrow--next::before,
body.product-surface-page .product-page .main-image .gallery-arrow-next::before {
    left: calc(50% - var(--storefront-icon-arrow-optical-offset));
    transform: translate(-50%, -50%) rotate(-45deg);
}

body.product-surface-page .product-page .main-image .gallery-arrow span {
    display: none;
}

body.catalog-eastfork-page .product-card .product-card-cart-button::before,
body.catalog-eastfork-page .product-card .product-card-cart-button::after,
body.home-eastfork-page .ef-product-tile .ef-product-tile__cart-button::before,
body.home-eastfork-page .ef-product-tile .ef-product-tile__cart-button::after,
body .eastfork-pair-card__cart-button::before,
body .eastfork-pair-card__cart-button::after {
    background: currentColor;
    border: 0;
    border-radius: 0;
    content: "";
    display: var(--storefront-icon-plus-display, block);
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

body.catalog-eastfork-page .product-card .product-card-cart-button::before,
body.home-eastfork-page .ef-product-tile .ef-product-tile__cart-button::before,
body .eastfork-pair-card__cart-button::before {
    height: var(--storefront-icon-plus-thick);
    width: var(--storefront-icon-plus-long);
}

body.catalog-eastfork-page .product-card .product-card-cart-button::after,
body.home-eastfork-page .ef-product-tile .ef-product-tile__cart-button::after,
body .eastfork-pair-card__cart-button::after {
    height: var(--storefront-icon-plus-long);
    width: var(--storefront-icon-plus-thick);
}

.home-eastfork-page .ef-product-tile.is-quickshop-open .ef-product-tile__cart-button::before,
.home-eastfork-page .ef-product-tile.is-quickshop-open .ef-product-tile__cart-button::after,
body.catalog-eastfork-page .catalog-quickshop-card.is-quickshop-open .ef-product-tile__cart-button::before,
body.catalog-eastfork-page .catalog-quickshop-card.is-quickshop-open .ef-product-tile__cart-button::after {
    height: var(--storefront-icon-plus-thick);
    width: var(--storefront-icon-plus-long);
}

.home-eastfork-page .ef-product-tile.is-quickshop-open .ef-product-tile__cart-button::before,
body.catalog-eastfork-page .catalog-quickshop-card.is-quickshop-open .ef-product-tile__cart-button::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.home-eastfork-page .ef-product-tile.is-quickshop-open .ef-product-tile__cart-button::after,
body.catalog-eastfork-page .catalog-quickshop-card.is-quickshop-open .ef-product-tile__cart-button::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

body.catalog-eastfork-page .product-card .product-card-cart-button:not(.ef-product-tile__quick-submit)[data-cart-visual-state]::before,
body .eastfork-pair-card__cart-button[data-cart-visual-state]::before {
    background: transparent;
    border: 0;
    font-family: Arial, Helvetica, sans-serif;
    height: auto;
    width: auto;
}

body.catalog-eastfork-page .product-card .product-card-cart-button:not(.ef-product-tile__quick-submit)[data-cart-visual-state]::after,
body .eastfork-pair-card__cart-button[data-cart-visual-state]::after {
    display: none;
}

body.catalog-eastfork-page .product-card .product-card-cart-button:not(.ef-product-tile__quick-submit)[data-cart-visual-state="loading"]::before,
body .eastfork-pair-card__cart-button[data-cart-visual-state="loading"]::before {
    color: var(--storefront-button-text);
    content: "...";
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transform: translate(-50%, -60%);
}

body.catalog-eastfork-page .product-card .product-card-cart-button:not(.ef-product-tile__quick-submit)[data-cart-visual-state="success"]::before,
body .eastfork-pair-card__cart-button[data-cart-visual-state="success"]::before {
    color: var(--storefront-button-text);
    content: "✓";
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    transform: translate(-50%, -54%);
}

/*
    Checkout utility controls are buttons semantically, but not primary CTAs.
    Keep their compact geometry after the global storefront button contract.
*/
body.checkout-reference-page .checkout-form button[data-cdek-quick-city] {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #5c5c5c;
    display: inline;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    min-height: 0;
    padding: 0;
    text-decoration: underline dotted #a7a7a7;
    text-transform: none;
    transform: none;
    width: auto;
}

body.checkout-reference-page .checkout-form button[data-cdek-quick-city]:is(:hover, :focus-visible, :active) {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--red);
    transform: none;
}

body.checkout-reference-page .checkout-form .city-suggestions button {
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid #dedede;
    border-radius: 0;
    box-shadow: none;
    color: #111111;
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    justify-content: flex-start;
    letter-spacing: 0;
    min-height: 0;
    padding: 12px 14px;
    text-align: left;
    text-transform: none;
    transform: none;
    width: 100%;
}

body.checkout-reference-page .checkout-form .city-suggestions button:is(:hover, :focus-visible, :active) {
    background: #f5f5f3;
    border-color: #dedede;
    box-shadow: none;
    color: #111111;
    transform: none;
}

body.checkout-reference-page .checkout-form .cdek-point-card {
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    box-shadow: none;
    color: #111111;
    display: flex;
    font-family: var(--font-body);
    font-size: 14px;
    justify-content: flex-start;
    letter-spacing: 0;
    min-height: 74px;
    padding: 10px 12px;
    text-align: left;
    text-transform: none;
    transform: none;
    width: 100%;
}

body.checkout-reference-page .checkout-form .cdek-point-card:is(:hover, :focus-visible, :active, .is-selected) {
    background: #f3f7fb;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(13, 27, 42, 0.1);
    color: #111111;
    transform: none;
}

@media (max-width: 980px) {
    body.product-surface-page .product-page .main-image .gallery-arrow {
        display: none;
    }
}

/* === public/css/marketplace/80-editor-base.css === */
/*
    Classic page editor shell and editable-page states.
    Source module for public/css/marketplace-bundle.css.
*/

.site-editor-entry {
    background: var(--red);
    border-radius: 999px;
    box-shadow: 0 16px 36px rgba(16, 32, 50, 0.22);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    padding: 12px 18px;
    position: fixed;
    right: 22px;
    text-decoration: none;
    text-transform: uppercase;
    top: 92px;
    z-index: 1200;
}

.site-editor-active {
    padding-top: 58px;
}

.site-editor-active .site-editor-toolbar {
    align-items: center;
    background: #0f1d2c;
    box-shadow: 0 6px 24px rgba(16, 32, 50, 0.18);
    color: #fff;
    display: flex;
    gap: 18px;
    height: 58px;
    justify-content: space-between;
    left: 0;
    padding: 0 20px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 2000;
}

.site-editor-toolbar strong,
.site-editor-toolbar span {
    display: block;
}

.site-editor-toolbar strong {
    font-size: 14px;
    font-weight: 950;
}

.site-editor-toolbar span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    font-weight: 800;
}

.site-editor-toolbar nav {
    align-items: center;
    display: flex;
    gap: 10px;
}

.site-editor-toolbar a,
.site-editor-toolbar button {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    padding: 10px 15px;
    text-decoration: none;
    text-transform: uppercase;
}

.site-editor-toolbar a {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.site-editor-toolbar button {
    background: var(--red);
    color: #fff;
}

.site-editor-panel {
    background: #fbf8f2;
    border: 1px solid #ded3c3;
    border-radius: 10px;
    box-shadow: 0 22px 60px rgba(16, 32, 50, 0.18);
    color: var(--ink);
    display: grid;
    gap: 14px;
    max-height: calc(100vh - 92px);
    overflow: auto;
    padding: 14px;
    position: fixed;
    right: 18px;
    top: 76px;
    width: min(360px, calc(100vw - 36px));
    z-index: 1900;
}

.site-editor-tabs {
    background: #eee7de;
    border-radius: 999px;
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 4px;
}

.site-editor-tabs button {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #6f7883;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    padding: 9px 8px;
}

.site-editor-tabs button.is-active {
    background: #fff;
    box-shadow: 0 1px 8px rgba(16, 32, 50, 0.08);
    color: var(--ink);
}

.site-editor-panel section {
    display: grid;
    gap: 11px;
}

.site-editor-panel h2,
.site-editor-panel p {
    margin: 0;
}

.site-editor-panel h2 {
    font-size: 20px;
    font-weight: 950;
    line-height: 1.05;
}

.site-editor-panel p {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.site-editor-panel label {
    color: #66717d;
    display: grid;
    font-size: 12px;
    font-weight: 900;
    gap: 6px;
}

.site-editor-panel input,
.site-editor-panel select,
.site-editor-panel textarea {
    background: #fff;
    border: 1px solid #d9cab7;
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    min-height: 40px;
    padding: 8px 10px;
}

.site-editor-panel textarea {
    min-height: 96px;
    resize: vertical;
}

.site-editor-check {
    align-items: center;
    display: flex;
    flex-direction: row;
}

.site-editor-check input {
    min-height: auto;
    width: auto;
}

.site-editor-layer-list {
    display: grid;
    gap: 8px;
}

.site-editor-layer-list button {
    background: #fff;
    border: 1px solid #ded3c3;
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
    font-size: 13px;
    font-weight: 850;
    padding: 10px 12px;
    text-align: left;
}

.site-editor-layer-list button.is-active {
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.14);
}

.site-editor-page {
    min-height: 40vh;
}

.site-builder--editor [data-editor-block] {
    cursor: pointer;
    position: relative;
}

.site-builder--editor [data-editor-block]::after {
    border: 2px solid transparent;
    border-radius: 8px;
    content: "";
    inset: 8px;
    pointer-events: none;
    position: absolute;
    z-index: 20;
}

.site-builder--editor [data-editor-block]:hover::after {
    border-color: rgba(230, 57, 70, 0.38);
}

.site-builder--editor [data-editor-block].is-editor-selected::after {
    border-color: var(--red);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.site-builder--editor [contenteditable="true"] {
    border-radius: 5px;
    outline: none;
    position: relative;
    z-index: 22;
}

.site-builder--editor [contenteditable="true"]:focus {
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 0 2px var(--red);
}

.site-editor-toast,
.site-editor-start-banner {
    background: #fff7df;
    border: 1px solid #e2cf9f;
    border-radius: 9px;
    box-shadow: 0 12px 30px rgba(16, 32, 50, 0.12);
    color: #5f4611;
    font-size: 13px;
    font-weight: 850;
    left: 20px;
    max-width: min(520px, calc(100vw - 40px));
    padding: 12px 14px;
    position: fixed;
    top: 76px;
    z-index: 1900;
}

.site-editor-toast.is-error {
    background: #fff0f1;
    border-color: #f2b3bc;
    color: #8e1d2b;
}

.site-editor-start-banner {
    top: 130px;
}

@media (max-width: 760px) {
    .site-editor-active {
        padding-top: 112px;
    }

    .site-editor-active .site-editor-toolbar {
        align-items: stretch;
        flex-direction: column;
        height: auto;
        padding: 10px 12px;
    }

    .site-editor-toolbar nav {
        overflow-x: auto;
    }

    .site-editor-panel {
        bottom: 12px;
        max-height: 52vh;
        top: auto;
    }
}

/* === public/css/marketplace/80-editor-live.css === */
/*
    Live editor toolbar, status, block panel, and library drawer.
    Source module for public/css/marketplace-bundle.css.
*/

.site-live-editor-toolbar {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
}

.site-live-editor-toolbar strong,
.site-live-editor-toolbar span {
    display: block;
}

.site-live-editor-toolbar nav {
    align-items: center;
    display: flex;
}

.site-live-editor-toolbar a,
.site-live-editor-toolbar button {
    align-items: center;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.site-live-editor-toolbar .site-live-editor-discard {
    background: #fff;
    color: #111;
}

.site-live-editor-status {
    background: #fff;
    border: 1px solid #ded3c3;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(16, 32, 50, 0.16);
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    left: 22px;
    padding: 12px 14px;
    position: fixed;
    top: 78px;
    z-index: 2200;
}

.site-live-editor-status.is-error {
    border-color: #f2b3bc;
    color: #8e1d2b;
}

.site-live-block-panel {
    bottom: 0;
    color: var(--ink);
    gap: 16px;
    position: fixed;
    right: 0;
}

.site-live-block-panel h2 {
    line-height: 1.1;
    margin: 0;
}

.site-live-block-panel p {
    margin: 0;
}

.site-live-library-open-card {
    align-items: start;
    display: grid;
    gap: 5px;
    width: 100%;
}

.site-live-library-open-card span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    line-height: 1.25;
}

.site-live-library-backdrop {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
}

.site-live-library-drawer {
    bottom: 0;
    color: var(--ink);
    display: grid;
    left: 0;
    position: fixed;
}

.site-live-library-side {
    border-right: 1px solid var(--line);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    min-width: 0;
}

.site-live-library-head {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.site-live-library-head h2 {
    line-height: 1.05;
    margin: 0;
}

.site-live-library-head button {
    align-items: center;
    background: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 24px;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
}

.site-live-library-search {
    border-bottom: 1px solid var(--line);
    gap: 6px;
}

.site-live-library-search span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-live-library-search input {
    background: #fff;
    color: var(--ink);
    font: inherit;
    outline: none;
}

.site-live-library-search input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.14);
}

.site-live-library-categories {
    overflow-y: auto;
}

.site-live-library-categories button {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    font: inherit;
    justify-content: space-between;
    line-height: 1.15;
    text-align: left;
    width: 100%;
}

.site-live-library-shortcuts {
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
    gap: 7px;
    padding: 12px 18px 16px;
}

.site-live-library-shortcuts button {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 950;
    padding: 8px 10px;
}

.site-live-library-shortcuts button:hover {
    border-color: var(--red);
    color: var(--red);
}

.site-live-library-main {
    background-size: 32px 32px;
    overflow-y: auto;
}

.site-live-library-section {
    display: none;
    gap: 14px;
}

.site-live-library-section.is-active {
    display: grid;
}

.site-live-library-section header {
    align-items: end;
    display: flex;
    justify-content: space-between;
}

.site-live-library-section header span {
    color: var(--red);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-live-library-section header strong {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.site-live-library-templates {
    display: grid;
    gap: 16px;
}

.site-live-library-template {
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    font: inherit;
    gap: 12px;
    padding: 12px;
    text-align: left;
}

.site-live-library-template-preview {
    display: block;
}

.site-live-library-template-caption {
    display: grid;
    gap: 5px;
}

.site-live-library-template-caption small {
    font-style: normal;
    letter-spacing: 0.08em;
    line-height: 1;
}

.site-live-library-template-caption strong {
    color: var(--ink);
    line-height: 1.15;
}

.site-live-library-template-caption em {
    font-style: normal;
    line-height: 1.35;
}

.site-live-block-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-live-block-library {
    display: grid;
    gap: 14px;
}

.site-live-block-category {
    display: grid;
    gap: 8px;
}

.site-live-block-category h3 {
    color: var(--red);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
    line-height: 1;
    margin: 4px 0 0;
    text-transform: uppercase;
}

.site-live-block-panel button,
.site-live-block-panel input,
.site-live-block-panel select,
.site-live-block-panel textarea {
    font: inherit;
}

.site-live-block-panel button {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    min-height: 38px;
    padding: 9px 10px;
    text-align: left;
}

.site-live-block-panel .site-live-block-card {
    align-content: start;
    display: grid;
    gap: 8px;
    min-height: 156px;
    padding: 9px;
}

/* === public/css/marketplace/80-editor-previews.css === */
/*
    Live editor block-library thumbnail previews.
    Source module for public/css/marketplace-bundle.css.
*/

.site-live-block-thumb {
    background:
        linear-gradient(135deg, rgba(16, 32, 50, 0.04), rgba(230, 57, 70, 0.05)),
        #f8f5f0;
    border: 1px solid rgba(16, 32, 50, 0.1);
    border-radius: 6px;
    display: grid;
    gap: 5px;
    height: 76px;
    overflow: hidden;
    padding: 10px;
    position: relative;
}

.site-live-block-thumb i {
    background: rgba(16, 32, 50, 0.82);
    border-radius: 999px;
    display: block;
    height: 5px;
}

.site-live-block-thumb i:nth-child(1) {
    background: var(--red);
    height: 4px;
    width: 32%;
}

.site-live-block-thumb i:nth-child(2) {
    height: 11px;
    width: 64%;
}

.site-live-block-thumb i:nth-child(3),
.site-live-block-thumb i:nth-child(4) {
    background: rgba(107, 119, 133, 0.62);
    width: 76%;
}

.site-live-block-thumb i:nth-child(5),
.site-live-block-thumb i:nth-child(6) {
    display: none;
}

.site-live-block-thumb--cover-split-left,
.site-live-block-thumb--cover-split-right,
.site-live-block-thumb--cover-split-wide,
.site-live-block-thumb--cover-product,
.site-live-block-thumb--cover-poster,
.site-live-block-thumb--cover-editorial,
.site-live-block-thumb--cover-frame,
.site-live-block-thumb--cover-gallery,
.site-live-block-thumb--cover-side-panel,
.site-live-block-thumb--cover-quote {
    grid-template-columns: 1fr 1fr;
}

.site-live-block-thumb--cover-split-left::after,
.site-live-block-thumb--cover-split-right::after,
.site-live-block-thumb--cover-split-wide::after,
.site-live-block-thumb--cover-product::after,
.site-live-block-thumb--cover-poster::after,
.site-live-block-thumb--cover-editorial::after,
.site-live-block-thumb--cover-frame::after,
.site-live-block-thumb--cover-gallery::after,
.site-live-block-thumb--cover-side-panel::after,
.site-live-block-thumb--cover-image-bottom::after,
.site-live-block-thumb--cover-strip::after,
.site-live-block-thumb--cover-bg-center::after,
.site-live-block-thumb--cover-bg-left::after,
.site-live-block-thumb--cover-bg-right::after,
.site-live-block-thumb--cover-dark::after,
.site-live-block-thumb--cover-bg-dark-center::after,
.site-live-block-thumb--cover-light::after,
.site-live-block-thumb--cover-gradient::after,
.site-live-block-thumb--cover-fullscreen::after,
.site-live-block-thumb--cover-video::after {
    background:
        linear-gradient(135deg, rgba(230, 57, 70, 0.15), rgba(16, 32, 50, 0.12)),
        url("/images/lunariska/flowering.jpg") center / cover;
    border-radius: 5px;
    content: "";
}

.site-live-block-thumb--cover-split-left i,
.site-live-block-thumb--cover-split-wide i,
.site-live-block-thumb--cover-product i,
.site-live-block-thumb--cover-poster i,
.site-live-block-thumb--cover-editorial i,
.site-live-block-thumb--cover-frame i,
.site-live-block-thumb--cover-side-panel i,
.site-live-block-thumb--cover-quote i {
    grid-column: 1;
}

.site-live-block-thumb--cover-split-left::after,
.site-live-block-thumb--cover-split-wide::after,
.site-live-block-thumb--cover-product::after,
.site-live-block-thumb--cover-poster::after,
.site-live-block-thumb--cover-editorial::after,
.site-live-block-thumb--cover-frame::after,
.site-live-block-thumb--cover-side-panel::after,
.site-live-block-thumb--cover-quote::after {
    grid-column: 2;
    grid-row: 1 / span 4;
}

.site-live-block-thumb--cover-split-right i {
    grid-column: 2;
}

.site-live-block-thumb--cover-split-right::after {
    grid-column: 1;
    grid-row: 1 / span 4;
}

.site-live-block-thumb--cover-split-wide {
    grid-template-columns: 0.72fr 1.28fr;
}

.site-live-block-thumb--cover-bg-center,
.site-live-block-thumb--cover-bg-left,
.site-live-block-thumb--cover-bg-right,
.site-live-block-thumb--cover-dark,
.site-live-block-thumb--cover-bg-dark-center,
.site-live-block-thumb--cover-light,
.site-live-block-thumb--cover-gradient,
.site-live-block-thumb--cover-fullscreen,
.site-live-block-thumb--cover-video {
    background:
        linear-gradient(90deg, rgba(242, 239, 234, 0.82), rgba(242, 239, 234, 0.25)),
        url("/images/lunariska/flowering.jpg") center / cover;
    align-content: center;
    overflow: hidden;
    z-index: 0;
}

.site-live-block-thumb--cover-bg-center::after,
.site-live-block-thumb--cover-bg-left::after,
.site-live-block-thumb--cover-bg-right::after,
.site-live-block-thumb--cover-dark::after,
.site-live-block-thumb--cover-bg-dark-center::after,
.site-live-block-thumb--cover-light::after,
.site-live-block-thumb--cover-gradient::after,
.site-live-block-thumb--cover-fullscreen::after,
.site-live-block-thumb--cover-video::after {
    display: none;
}

.site-live-block-thumb--cover-dark,
.site-live-block-thumb--cover-bg-dark-center {
    background:
        linear-gradient(90deg, rgba(10, 18, 28, 0.86), rgba(10, 18, 28, 0.28)),
        url("/images/lunariska/cozy.jpg") center / cover;
}

.site-live-block-thumb--cover-bg-dark-center {
    justify-items: center;
    text-align: center;
}

.site-live-block-thumb--cover-light,
.site-live-block-thumb--cover-gradient {
    background:
        linear-gradient(90deg, rgba(248, 245, 240, 0.96), rgba(248, 245, 240, 0.28)),
        url("/images/lunariska/flowering.jpg") center / cover;
}

.site-live-block-thumb--cover-fullscreen,
.site-live-block-thumb--cover-video,
.site-live-block-thumb--cover-center {
    justify-items: center;
    text-align: center;
}

.site-live-block-thumb--cover-bg-center i,
.site-live-block-thumb--cover-bg-dark-center i,
.site-live-block-thumb--cover-fullscreen i,
.site-live-block-thumb--cover-video i,
.site-live-block-thumb--cover-center i {
    margin-inline: auto;
}

.site-live-block-thumb--cover-bg-right i {
    margin-left: auto;
}

.site-live-block-thumb--cover-dark i:nth-child(n),
.site-live-block-thumb--cover-bg-dark-center i:nth-child(n),
.site-live-block-thumb--cover-fullscreen i:nth-child(n),
.site-live-block-thumb--cover-video i:nth-child(n) {
    background: rgba(255, 255, 255, 0.9);
}

.site-live-block-thumb--cover-dark i:nth-child(1),
.site-live-block-thumb--cover-bg-dark-center i:nth-child(1),
.site-live-block-thumb--cover-fullscreen i:nth-child(1),
.site-live-block-thumb--cover-video i:nth-child(1) {
    background: var(--red);
}

.site-live-block-thumb--cover-minimal,
.site-live-block-thumb--cover-center,
.site-live-block-thumb--cover-catalog,
.site-live-block-thumb--cover-series,
.site-live-block-thumb--cover-series-cards,
.site-live-block-thumb--cover-compact,
.site-live-block-thumb--cover-menu,
.site-live-block-thumb--cover-headline {
    align-content: center;
    background: #f8f5f0;
}

.site-live-block-thumb--cover-series-cards,
.site-live-block-thumb--cover-menu {
    grid-template-columns: repeat(3, 1fr);
}

.site-live-block-thumb--cover-series-cards i,
.site-live-block-thumb--cover-menu i {
    border: 1px solid rgba(16, 32, 50, 0.14);
    height: 38px;
    width: 100%;
}

.site-live-block-thumb--cover-series-cards i:nth-child(n + 4),
.site-live-block-thumb--cover-menu i:nth-child(n + 4) {
    display: none;
}

.site-live-block-thumb--cover-compact {
    min-height: 74px;
}

.site-live-block-thumb--cover-headline i:nth-child(2) {
    height: 20px;
    width: 94%;
}

.site-live-block-thumb--cover-poster i,
.site-live-block-thumb--cover-editorial i {
    background: #fff;
    position: relative;
    z-index: 1;
}

.site-live-block-thumb--cover-poster::before,
.site-live-block-thumb--cover-editorial::before {
    background: #102032;
    border-radius: 5px;
    content: "";
    grid-column: 1;
    grid-row: 1 / span 5;
}

.site-live-block-thumb--cover-frame::after {
    border: 8px solid #fff;
    box-shadow: 0 10px 18px rgba(16, 32, 50, 0.14);
}

.site-live-block-thumb--cover-side-panel {
    grid-template-columns: 1.2fr 0.85fr;
}

.site-live-block-thumb--cover-side-panel::before {
    background: #102032;
    border-radius: 5px;
    content: "";
    grid-column: 2;
    grid-row: 1 / span 5;
}

.site-live-block-thumb--cover-side-panel::after {
    grid-column: 1;
    grid-row: 1 / span 5;
}

.site-live-block-thumb--cover-side-panel i {
    grid-column: 2;
    position: relative;
    z-index: 1;
}

.site-live-block-thumb--cover-side-panel i:nth-child(n) {
    background: rgba(255, 255, 255, 0.86);
}

.site-live-block-thumb--cover-image-bottom,
.site-live-block-thumb--cover-strip {
    align-content: start;
    justify-items: center;
}

.site-live-block-thumb--cover-image-bottom::after,
.site-live-block-thumb--cover-strip::after {
    bottom: 10px;
    height: 44%;
    left: 10px;
    position: absolute;
    right: 10px;
}

.site-live-block-thumb--cover-strip::after {
    height: 30%;
}

.site-live-block-thumb--cover-two-buttons i:nth-child(5),
.site-live-block-thumb--cover-two-buttons i:nth-child(6),
.site-live-block-thumb--cover-offer i:nth-child(5),
.site-live-block-thumb--cover-offer i:nth-child(6) {
    display: block;
    height: 13px;
    width: 32%;
}

.site-live-block-thumb--cover-two-buttons i:nth-child(5),
.site-live-block-thumb--cover-offer i:nth-child(5) {
    background: var(--red);
}

.site-live-block-thumb--cover-two-buttons i:nth-child(6),
.site-live-block-thumb--cover-offer i:nth-child(6) {
    background: transparent;
    border: 1px solid rgba(16, 32, 50, 0.32);
}

.site-live-block-thumb--cover-offer i:nth-child(2) {
    height: 18px;
    width: 54%;
}

.site-live-block-thumb--cover-gallery {
    grid-template-columns: repeat(3, 1fr);
}

.site-live-block-thumb--cover-gallery i {
    display: none;
}

.site-live-block-thumb--cover-gallery::before,
.site-live-block-thumb--cover-gallery::after,
.site-live-block-thumb--cover-gallery i:first-child {
    background:
        linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(16, 32, 50, 0.1)),
        url("/images/lunariska/flowering.jpg") center / cover;
    border-radius: 5px;
    content: "";
    display: block;
    grid-row: 1 / span 5;
}

.site-live-block-thumb--cover-gallery::before {
    grid-column: 1;
}

.site-live-block-thumb--cover-gallery i:first-child {
    grid-column: 2;
    height: auto;
    width: 100%;
}

.site-live-block-thumb--cover-gallery::after {
    grid-column: 3;
}

.site-live-block-thumb--cover-video::before {
    border-bottom: 13px solid transparent;
    border-left: 19px solid var(--red);
    border-top: 13px solid transparent;
    content: "";
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-35%, -50%);
    z-index: 2;
}

.site-live-block-thumb--hero-split,
.site-live-block-thumb--hero-product,
.site-live-block-thumb--image-left,
.site-live-block-thumb--image-right {
    grid-template-columns: 1fr 0.9fr;
}

.site-live-block-thumb--hero-split i,
.site-live-block-thumb--hero-product i,
.site-live-block-thumb--image-left i,
.site-live-block-thumb--image-right i {
    grid-column: 1;
}

.site-live-block-thumb--hero-split::after,
.site-live-block-thumb--hero-product::after,
.site-live-block-thumb--image-left::after,
.site-live-block-thumb--image-right::after {
    background:
        linear-gradient(135deg, rgba(230, 57, 70, 0.2), rgba(16, 32, 50, 0.15)),
        url("/images/lunariska/flowering.jpg") center / cover;
    border-radius: 5px;
    content: "";
    grid-column: 2;
    grid-row: 1 / span 4;
}

.site-live-block-thumb--image-left::after {
    grid-column: 1;
}

.site-live-block-thumb--image-left i {
    grid-column: 2;
}

.site-live-block-thumb--image-full::after {
    background:
        linear-gradient(135deg, rgba(230, 57, 70, 0.14), rgba(16, 32, 50, 0.12)),
        url("/images/lunariska/flowering.jpg") center / cover;
    border-radius: 6px;
    content: "";
    inset: 10px;
    position: absolute;
}

.site-live-block-thumb--image-full i {
    display: none;
}

.site-live-block-thumb--hero-center {
    align-content: center;
    justify-items: center;
}

.site-live-block-thumb--hero-center i {
    width: 70%;
}

.site-live-block-thumb--hero-center i:nth-child(1) {
    width: 22%;
}

.site-live-block-thumb--hero-text i:nth-child(2),
.site-live-block-thumb--heading i:nth-child(2) {
    height: 14px;
    width: 86%;
}

.site-live-block-thumb--text-center {
    align-content: center;
    justify-items: center;
}

.site-live-block-thumb--text-center i {
    width: 68%;
}

.site-live-block-thumb--text-small i:nth-child(2) {
    height: 7px;
    width: 48%;
}

.site-live-block-thumb--two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-live-block-thumb--two-columns i {
    background: rgba(107, 119, 133, 0.58);
    height: 5px;
    width: 100%;
}

.site-live-block-thumb--two-columns i:nth-child(1),
.site-live-block-thumb--two-columns i:nth-child(4) {
    background: rgba(16, 32, 50, 0.82);
    height: 9px;
}

.site-live-block-thumb--gallery,
.site-live-block-thumb--mosaic,
.site-live-block-thumb--cards,
.site-live-block-thumb--cards-image,
.site-live-block-thumb--cards-flat,
.site-live-block-thumb--reviews,
.site-live-block-thumb--team,
.site-live-block-thumb--pricing,
.site-live-block-thumb--logos,
.site-live-block-thumb--stats,
.site-live-block-thumb--store {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-live-block-thumb--gallery i,
.site-live-block-thumb--mosaic i,
.site-live-block-thumb--cards i,
.site-live-block-thumb--cards-image i,
.site-live-block-thumb--cards-flat i,
.site-live-block-thumb--reviews i,
.site-live-block-thumb--team i,
.site-live-block-thumb--pricing i,
.site-live-block-thumb--logos i,
.site-live-block-thumb--stats i,
.site-live-block-thumb--store i {
    border-radius: 5px;
    display: block;
    height: 100%;
    min-height: 38px;
    width: 100%;
}

.site-live-block-thumb--gallery i,
.site-live-block-thumb--mosaic i,
.site-live-block-thumb--cards-image i,
.site-live-block-thumb--team i,
.site-live-block-thumb--store i {
    background:
        linear-gradient(135deg, rgba(16, 32, 50, 0.18), rgba(230, 57, 70, 0.1)),
        url("/images/lunariska/cozy.jpg") center / cover;
}

.site-live-block-thumb--mosaic i:nth-child(1) {
    grid-column: span 2;
}

.site-live-block-thumb--cards i,
.site-live-block-thumb--cards-flat i,
.site-live-block-thumb--reviews i,
.site-live-block-thumb--pricing i {
    background: #fff;
    border: 1px solid rgba(16, 32, 50, 0.12);
}

.site-live-block-thumb--features,
.site-live-block-thumb--steps,
.site-live-block-thumb--faq,
.site-live-block-thumb--form,
.site-live-block-thumb--form-small,
.site-live-block-thumb--contacts,
.site-live-block-thumb--map,
.site-live-block-thumb--html,
.site-live-block-thumb--menu,
.site-live-block-thumb--button,
.site-live-block-thumb--social,
.site-live-block-thumb--footer,
.site-live-block-thumb--popup,
.site-live-block-thumb--free {
    grid-template-columns: 1fr;
}

.site-live-block-thumb--features i,
.site-live-block-thumb--steps i,
.site-live-block-thumb--faq i,
.site-live-block-thumb--form i,
.site-live-block-thumb--form-small i,
.site-live-block-thumb--contacts i,
.site-live-block-thumb--map i,
.site-live-block-thumb--html i,
.site-live-block-thumb--menu i,
.site-live-block-thumb--button i,
.site-live-block-thumb--social i,
.site-live-block-thumb--footer i,
.site-live-block-thumb--popup i,
.site-live-block-thumb--free i {
    background: rgba(107, 119, 133, 0.58);
    width: 100%;
}

.site-live-block-thumb--features i:nth-child(1),
.site-live-block-thumb--steps i:nth-child(1),
.site-live-block-thumb--faq i:nth-child(1),
.site-live-block-thumb--form i:nth-child(1),
.site-live-block-thumb--contacts i:nth-child(1) {
    background: rgba(16, 32, 50, 0.82);
    width: 58%;
}

.site-live-block-thumb--menu i {
    height: 8px;
}

.site-live-block-thumb--menu i:nth-child(n + 4) {
    display: none;
}

.site-live-block-thumb--button {
    align-content: center;
}

.site-live-block-thumb--button i {
    background: var(--red);
    height: 14px;
    width: 42%;
}

.site-live-block-thumb--button i:nth-child(2) {
    background: transparent;
    border: 1px solid rgba(16, 32, 50, 0.34);
}

.site-live-block-thumb--social {
    align-content: center;
    grid-template-columns: repeat(4, 24px);
    justify-content: center;
}

.site-live-block-thumb--social i {
    border-radius: 50%;
    height: 24px;
}

.site-live-block-thumb--footer {
    align-content: end;
}

.site-live-block-thumb--footer::before {
    background: #0f1d2c;
    border-radius: 0 0 6px 6px;
    bottom: 0;
    content: "";
    height: 42%;
    left: 0;
    position: absolute;
    right: 0;
}

.site-live-block-thumb--footer i {
    position: relative;
    z-index: 1;
}

.site-live-block-thumb--popup {
    place-items: center;
}

.site-live-block-thumb--popup::before {
    background: #fff;
    border: 1px solid rgba(16, 32, 50, 0.14);
    border-radius: 8px;
    box-shadow: 0 14px 28px rgba(16, 32, 50, 0.12);
    content: "";
    height: 62%;
    width: 72%;
}

.site-live-block-thumb--popup i {
    display: none;
}

.site-live-block-thumb--free {
    background:
        linear-gradient(rgba(230, 57, 70, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230, 57, 70, 0.08) 1px, transparent 1px),
        #f8f5f0;
    background-size: 18px 18px;
}

.site-live-block-thumb--quote {
    align-content: center;
}

.site-live-block-thumb--quote i:nth-child(1) {
    height: 18px;
    width: 18px;
}

.site-live-block-thumb--quote i:nth-child(2) {
    height: 9px;
    width: 88%;
}

.site-live-block-thumb--video {
    place-items: center;
}

.site-live-block-thumb--video::before {
    border-bottom: 12px solid transparent;
    border-left: 18px solid var(--red);
    border-top: 12px solid transparent;
    content: "";
}

.site-live-block-thumb--video i {
    display: none;
}

.site-live-block-thumb--cta {
    align-content: center;
}

.site-live-block-thumb--cta i:nth-child(2) {
    height: 13px;
    width: 82%;
}

.site-live-block-thumb--cta i:nth-child(4) {
    background: var(--red);
    height: 12px;
    width: 42%;
}

.site-live-block-thumb--divider,
.site-live-block-thumb--spacer,
.site-live-block-thumb--spacer-large {
    align-content: center;
}

.site-live-block-thumb--divider i,
.site-live-block-thumb--spacer i,
.site-live-block-thumb--spacer-large i {
    display: none;
}

.site-live-block-thumb--divider::before,
.site-live-block-thumb--spacer::before,
.site-live-block-thumb--spacer-large::before {
    background: rgba(16, 32, 50, 0.18);
    content: "";
    display: block;
    height: 1px;
    width: 100%;
}

.site-live-block-thumb--spacer::before {
    background: rgba(230, 57, 70, 0.18);
    height: 24px;
}

.site-live-block-thumb--spacer-large::before {
    background: rgba(230, 57, 70, 0.18);
    height: 42px;
}

.site-live-block-thumb--map::after {
    background: rgba(230, 57, 70, 0.18);
    border-radius: 50%;
    content: "";
    height: 18px;
    position: absolute;
    right: 22px;
    top: 28px;
    width: 18px;
}

/* === public/css/marketplace/80-editor-controls.css === */
/*
    Live editor field controls, block stage, and block toolbar.
    Source module for public/css/marketplace-bundle.css.
*/

.site-live-block-panel button strong,
.site-live-block-panel button span {
    display: block;
}

.site-live-block-panel button strong {
    color: var(--ink);
    font-size: 12px;
    font-weight: 950;
    line-height: 1.15;
}

.site-live-block-panel button span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    line-height: 1.25;
    margin-top: 4px;
}

.site-live-block-panel .site-live-block-thumb {
    display: grid;
    margin-top: 0;
}

.site-live-block-panel button:hover {
    border-color: var(--red);
}

.site-live-block-panel label {
    display: grid;
}

.site-live-block-panel input,
.site-live-block-panel select,
.site-live-block-panel textarea {
    outline: none;
    width: 100%;
}

.site-live-block-panel input[type="color"] {
    cursor: pointer;
}

.site-live-block-panel textarea {
    line-height: 1.35;
    min-height: 96px;
    resize: vertical;
}

.site-live-block-panel input[readonly] {
    background: color-mix(in srgb, var(--paper) 78%, #fff);
    color: var(--muted);
}

.site-live-control-swatches {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-live-control-row {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-live-control-row button:last-child {
    color: var(--red);
}

.site-live-block-stage {
    background: var(--paper);
    position: relative;
}

.site-live-editor-active .site-builder--editor [data-editor-block] {
    position: relative;
}

.site-live-editor-active .site-builder--editor [data-editor-block]:hover,
.site-live-editor-active .site-builder--editor [data-editor-block].is-editor-selected {
    outline-color: color-mix(in srgb, var(--red) 58%, transparent);
}

.site-live-block-toolbar {
    align-items: center;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 0.16s ease, transform 0.16s ease;
    z-index: 35;
}

.site-live-editor-active .site-builder--editor [data-editor-block]:hover > .site-live-block-toolbar,
.site-live-editor-active .site-builder--editor [data-editor-block].is-editor-selected > .site-live-block-toolbar,
.site-live-block-toolbar:focus-within {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-live-block-toolbar button {
    align-items: center;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    justify-content: center;
    line-height: 1;
}

.site-live-block-toolbar span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    padding: 0 7px;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-live-block-toolbar button:disabled {
    cursor: not-allowed;
}

.site-live-block-toolbar button.is-danger {
    background: var(--red);
}

.site-live-block-toolbar button.is-danger:hover {
    background: var(--red-dark);
}

/* === public/css/marketplace/81-editor-theme.css === */
/*
    Live page editor theme and final interaction contracts.
    Source module for public/css/marketplace-bundle.css.
*/

/* Live editor: Tilda-like page overlay */
.site-live-editor-active {
    padding-top: 58px;
}

.site-live-editor-active main {
    padding-right: 0;
}

.site-live-editor-toolbar {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: none;
    color: #111;
    height: 58px;
    padding: 0 18px;
    z-index: 2600;
}

.site-live-editor-brand {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.site-live-editor-logo {
    align-items: center;
    background: var(--red);
    border-radius: 7px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 950;
    height: 34px;
    justify-content: center;
    line-height: 1;
    width: 34px;
}

.site-live-editor-toolbar strong {
    color: #111;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
}

.site-live-editor-toolbar span {
    color: #8f8f8f;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
}

.site-live-editor-toolbar nav {
    gap: 0;
}

.site-live-editor-toolbar a,
.site-live-editor-toolbar button {
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    min-height: 42px;
    padding: 0 18px;
    text-transform: none;
}

.site-live-editor-toolbar a {
    background: #fff;
    border: 1px solid #dedede;
    color: #111;
    margin-left: 8px;
}

.site-live-editor-toolbar button {
    background: #fff;
    border: 1px solid #dedede;
    color: #111;
}

.site-live-editor-toolbar button[data-live-editor-save] {
    background: #000;
    border-color: #000;
    color: #fff;
}

.site-live-editor-toolbar button[data-live-library-open] {
    background: #ff8068;
    border-color: #ff8068;
    color: #111;
}

.site-live-block-panel {
    background: #fff;
    border-left: 1px solid #e5e5e5;
    box-shadow: -18px 0 38px rgba(0, 0, 0, 0.16);
    display: block;
    overflow-y: auto;
    padding: 0 28px 36px;
    top: 58px;
    transform: translateX(calc(100% + 24px));
    transition: transform 0.22s ease;
    width: min(440px, 92vw);
    z-index: 2550;
}

.site-live-block-panel.is-open {
    transform: translateX(0);
}

.site-live-panel-savebar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 52px;
    margin: 0 -28px 30px;
    position: sticky;
    top: 0;
    z-index: 2;
}

.site-live-panel-savebar button,
.site-live-panel-savebar a {
    align-items: center;
    border: 0;
    border-radius: 0;
    display: inline-flex;
    font-size: 16px;
    font-weight: 400;
    justify-content: center;
    min-height: 72px;
    padding: 0 16px;
    text-align: center;
    text-decoration: none;
}

.site-live-panel-savebar button:first-child {
    background: #000;
    color: #fff;
}

.site-live-panel-savebar button:nth-child(2) {
    background: #ff8068;
    color: #fff;
}

.site-live-panel-savebar button:nth-child(3) {
    background: #fff;
    border-left: 1px solid #e5e5e5;
    color: #111;
}

.site-live-panel-savebar button:last-child {
    background: #fff;
    border-left: 1px solid #e5e5e5;
    color: #777;
    font-size: 34px;
    font-weight: 200;
}

.site-live-block-panel section {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e8e8e8;
    border-radius: 0;
    display: grid;
    gap: 18px;
    padding: 0 0 26px;
}

.site-live-block-panel section + section {
    margin-top: 26px;
}

.site-live-block-panel > section:first-of-type {
    display: none;
}

.site-live-block-panel h2 {
    color: #333;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0;
}

.site-live-block-panel p {
    color: #888;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
}

.site-live-block-panel label {
    color: #707070;
    font-size: 13px;
    font-weight: 400;
    gap: 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.site-live-block-panel input,
.site-live-block-panel select,
.site-live-block-panel textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #cfcfcf;
    border-radius: 0;
    color: #333;
    font-size: 18px;
    font-weight: 300;
    min-height: 44px;
    padding: 8px 0;
}

.site-live-block-panel input:focus,
.site-live-block-panel select:focus,
.site-live-block-panel textarea:focus {
    border-color: #ff8068;
    box-shadow: none;
}

.site-live-block-panel input[type="color"] {
    background: transparent;
    border: 0;
    border-radius: 50%;
    height: 52px;
    padding: 0;
    width: 52px;
}

.site-live-control-row {
    display: none;
}

.site-live-library-backdrop {
    background: rgba(0, 0, 0, 0.28);
    top: 58px;
    z-index: 2700;
}

.site-live-library-drawer {
    background: #fff;
    box-shadow: 16px 0 36px rgba(0, 0, 0, 0.22);
    grid-template-columns: 360px minmax(420px, 560px);
    max-width: min(920px, calc(100vw - 64px));
    top: 58px;
    z-index: 2710;
}

.site-live-library-side {
    background: #fff;
}

.site-live-library-head {
    min-height: 88px;
    padding: 0 0 0 30px;
}

.site-live-library-head h2 {
    color: #333;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0;
}

.site-live-library-head button {
    border: 0;
    border-left: 1px solid #e8e8e8;
    border-radius: 0;
    color: #777;
    height: 88px;
    width: 88px;
}

.site-live-library-search {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
}

.site-live-library-search span {
    display: none;
}

.site-live-library-search input {
    border: 0;
    border-bottom: 1px solid #e8e8e8;
    border-radius: 0;
    font-size: 18px;
    font-weight: 300;
    min-height: 70px;
    padding: 0 30px;
}

.site-live-library-categories {
    padding: 0;
}

.site-live-library-categories button {
    border-bottom: 1px solid #e8e8e8;
    border-radius: 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
    min-height: 74px;
    padding: 18px 30px;
}

.site-live-library-categories button:hover,
.site-live-library-categories button.is-active {
    background: #f7f7f7;
    box-shadow: none;
}

.site-live-library-categories button span {
    color: #aaa;
    font-size: 14px;
    font-weight: 300;
}

.site-live-library-shortcuts {
    display: none;
}

.site-live-library-main {
    background: #f7f7f7;
    padding: 28px;
}

.site-live-library-template {
    border: 1px solid #e5e5e5;
    border-radius: 0;
    box-shadow: none;
    grid-template-columns: 190px 1fr;
    min-height: 148px;
}

.site-live-library-template:hover {
    border-color: #ff8068;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.site-live-library-template-preview .site-live-block-thumb {
    border-radius: 0;
    height: 122px;
}

.site-live-library-template-caption small {
    color: #999;
    font-size: 12px;
    font-weight: 400;
}

.site-live-library-template-caption strong {
    font-size: 20px;
    font-weight: 600;
}

.site-live-library-template-caption em {
    color: #777;
    font-size: 14px;
    font-weight: 300;
}

.site-live-editor-active .site-builder--editor [data-editor-block] {
    outline: 1px dashed #cfcfcf;
    outline-offset: -1px;
}

.site-live-editor-active .site-builder--editor [data-editor-block]:hover,
.site-live-editor-active .site-builder--editor [data-editor-block].is-editor-selected {
    outline: 2px solid #ff8068;
}

.site-builder--editor [data-editor-block]::after,
.site-builder--editor [data-editor-block]:hover::after,
.site-builder--editor [data-editor-block].is-editor-selected::after {
    border: 0;
    box-shadow: none;
}

.site-live-boundary-add {
    align-items: center;
    background: #000;
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 36px;
    font-weight: 200;
    height: 54px;
    justify-content: center;
    left: 50%;
    line-height: 1;
    opacity: 1;
    padding: 0 0 5px;
    pointer-events: auto;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: opacity 0.16s ease;
    width: 54px;
    z-index: 70;
}

.site-live-boundary-add--top {
    top: 0;
}

.site-live-boundary-add--bottom {
    bottom: 0;
    transform: translate(-50%, 50%);
}

.site-live-boundary-add--stage-top {
    top: 0;
}

.site-live-boundary-add--stage-system,
.site-live-boundary-add--stage-empty {
    left: auto;
    margin: -27px auto;
    position: relative;
    transform: none;
}

.site-live-editor-active .site-builder--editor [data-editor-block]:hover > .site-live-boundary-add,
.site-live-editor-active .site-builder--editor [data-editor-block].is-editor-selected > .site-live-boundary-add {
    opacity: 1;
    pointer-events: auto;
}

.site-live-block-toolbar {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    left: clamp(18px, 3vw, 56px);
    padding: 0;
    right: clamp(18px, 3vw, 56px);
    top: 28px;
    transform: none;
}

.site-live-block-toolbar-left,
.site-live-block-toolbar-right {
    align-items: center;
    display: flex;
}

.site-live-block-toolbar-left small {
    color: #777;
    display: block;
    font-size: 14px;
    font-weight: 300;
    margin-left: 12px;
}

.site-live-block-toolbar button {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    color: #111;
    font-size: 20px;
    font-weight: 400;
    height: 52px;
    min-height: 52px;
    min-width: 52px;
    padding: 0 18px;
    text-transform: none;
}

.site-live-block-toolbar button span {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1;
    padding: 0;
    text-transform: none;
}

.site-live-block-toolbar button[data-live-block-action="settings"],
.site-live-block-toolbar button[data-live-block-action="edit"] {
    gap: 10px;
    min-width: 182px;
}

.site-live-block-toolbar button[data-live-block-action="edit"] {
    background: #ff8068;
    border-color: #ff8068;
}

.site-live-block-toolbar button:hover {
    background: #f7f7f7;
}

.site-live-block-toolbar button[data-live-block-action="edit"]:hover {
    background: #ff7257;
}

.site-live-block-toolbar button:disabled {
    background: #f2f2f2;
    opacity: 0.42;
}

.site-live-block-empty {
    border: 2px dashed color-mix(in srgb, var(--red) 42%, transparent);
    border-radius: 10px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 900;
    margin: 28px auto;
    max-width: 1180px;
    padding: 34px;
    text-align: center;
}

.site-live-editor-active .is-live-editable {
    border-radius: 5px;
    cursor: text;
    outline: 1px dashed rgba(230, 57, 70, 0.34);
    outline-offset: 3px;
}

.site-live-editor-active .is-live-editable:hover {
    outline-color: rgba(230, 57, 70, 0.72);
}

.site-live-editor-active .is-live-editable:focus {
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.22);
    outline: 2px solid var(--red);
}

.site-live-editor-active .is-live-image-editable {
    cursor: pointer;
    outline: 2px dashed transparent;
    outline-offset: 4px;
}

.site-live-editor-active .is-live-image-editable:hover {
    outline-color: rgba(230, 57, 70, 0.55);
}

.site-live-editor-active .is-live-image-selected {
    outline: 3px solid var(--red);
    outline-offset: 5px;
}

.site-builder + .market-shell {
    border-top: 0;
    margin: 0;
    max-width: none;
    padding: 76px max(24px, calc((100vw - 1360px) / 2 + 32px)) 96px;
}

@media (max-width: 760px) {
    .site-live-editor-active {
        padding-top: 104px;
    }

    .site-live-editor-active main {
        padding-right: 0;
    }

    .site-live-editor-toolbar {
        align-items: stretch;
        flex-direction: column;
        height: auto;
        padding: 10px 12px;
    }

    .site-live-editor-toolbar nav {
        overflow-x: auto;
    }

    .site-live-block-panel {
        border-left: 0;
        border-top: 1px solid var(--line);
        bottom: 0;
        left: 0;
        max-height: 48vh;
        right: 0;
        top: auto;
        transform: translateY(calc(100% + 24px));
        width: 100%;
    }

    .site-live-block-panel.is-open {
        transform: translateY(0);
    }

    .site-live-library-backdrop {
        top: 104px;
    }

    .site-live-library-drawer {
        grid-template-columns: 1fr;
        max-width: 100vw;
        top: 104px;
        width: 100vw;
    }

    .site-live-library-side {
        max-height: 42vh;
    }

    .site-live-library-main {
        min-height: 45vh;
    }

    .site-live-library-template-preview .site-live-block-thumb {
        height: 132px;
    }

    .site-builder + .market-shell {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* === public/css/marketplace/90-overrides.css === */
/*
    Emergency override layer.
    Keep this file empty by default. Permanent storefront rules belong in the
    relevant module above; work/qa_lunariska_css_architecture.cjs enforces that.
*/

