/* Consolidated from brand-directory.css; keep public first-party styles in main.css. */

/* Public brand directory. Scoped so catalog, checkout and admin styles stay isolated. */
.storefront-body .brand-directory-page [hidden] {
    display: none !important;
}

.storefront-body .brand-directory-page {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    max-width: 1360px;
    margin-inline: auto;
}

.storefront-body .brand-directory-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    margin-bottom: 16px;
    padding: clamp(18px, 2.6vw, 28px);
    border: 1px solid var(--p24-line, #e9dce0);
    border-radius: 16px;
    background: linear-gradient(115deg, #fff 55%, #fff4f0);
}

.storefront-body .brand-directory-hero .section-label {
    margin-bottom: 8px;
}

.storefront-body .brand-directory-hero h1 {
    margin: 0 0 5px;
    color: var(--p24-ink, #211719);
    font-size: clamp(27px, 3.4vw, 38px);
    line-height: 1.15;
}

.storefront-body .brand-directory-hero p {
    max-width: 670px;
    margin: 0;
    color: var(--p24-muted, #64606c);
    font-size: 14px;
}

.storefront-body .brand-directory-total {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    min-height: 75px;
    padding: 10px 16px;
    border: 1px solid #f0ddda;
    border-radius: 13px;
    background: #fff;
    text-align: center;
}

.storefront-body .brand-directory-total strong {
    color: var(--sp-d, #760a17);
    font-size: 27px;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.storefront-body .brand-directory-total span {
    color: var(--p24-muted, #64606c);
    font-size: 12px;
}

.storefront-body .brand-directory-tools {
    display: grid;
    gap: 12px;
    min-width: 0;
    margin-bottom: 22px;
    padding: 14px;
    border: 1px solid var(--p24-line, #e9dce0);
    border-radius: 14px;
    background: #fff;
}

.storefront-body .brand-directory-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 520px);
    min-height: 46px;
    padding: 0 4px 0 14px;
    border: 1px solid #e0d6d5;
    border-radius: 10px;
    background: #fffdfc;
    color: #7b6f73;
}

.storefront-body .brand-directory-search:focus-within {
    border-color: var(--sp-d, #9c192b);
    outline: 2px solid var(--sp-d, #9c192b);
    outline-offset: 1px;
}

.storefront-body .brand-directory-search > svg {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
}

.storefront-body .brand-directory-search input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--p24-ink, #211719);
    font-size: 14px;
}

.storefront-body .brand-directory-search input::placeholder {
    color: #777078;
    opacity: 1;
}

/* The localized clear button below replaces the browser-specific cancel icon. */
.storefront-body .brand-directory-search input::-webkit-search-cancel-button {
    display: none;
}

.storefront-body .brand-directory-clear {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #f7edeb;
    color: var(--sp-d, #760a17);
    cursor: pointer;
}

.storefront-body .brand-directory-clear:hover,
.storefront-body .brand-directory-clear:focus-visible {
    outline: 2px solid var(--sp-d, #9c192b);
    outline-offset: 1px;
    background: #f1dedd;
}

.storefront-body .brand-directory-clear svg {
    width: 17px;
    height: 17px;
}

.storefront-body .brand-directory-alphabet {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding: 1px 1px 7px;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.storefront-body .brand-directory-alphabet a {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #e8dddd;
    border-radius: 9px;
    background: #fff;
    color: #493a40;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.storefront-body .brand-directory-results-count {
    margin: 0;
    color: #675760;
    font-size: 13px;
    font-weight: 650;
}

.storefront-body .brand-directory-results-count:empty {
    display: none;
}

.storefront-body .brand-directory-featured {
    min-width: 0;
    margin-bottom: 24px;
}

.storefront-body .brand-directory-featured h2 {
    margin: 0 0 12px;
    color: var(--p24-ink, #211719);
    font-size: 18px;
    line-height: 1.3;
}

.storefront-body .brand-directory-grid {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 156px), 1fr));
    gap: 9px;
    min-width: 0;
    max-width: 100%;
}

.storefront-body .brand-directory-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 82px;
    padding: 12px 14px;
    border: 1px solid #eadddc;
    border-radius: 12px;
    background: #fff;
    color: var(--p24-ink, #211719);
}

.storefront-body .brand-directory-card-name {
    min-width: 0;
    color: inherit;
    font-size: 15px;
    font-weight: 760;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.storefront-body .brand-directory-card small {
    color: var(--p24-muted, #64606c);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.storefront-body .brand-directory-groups {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-width: 0;
}

.storefront-body .brand-directory-group {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    min-width: 0;
    padding: 18px 0;
    border-top: 1px solid #eadfdd;
    scroll-margin-top: 155px;
}

.storefront-body .brand-directory-group:first-child {
    padding-top: 0;
    border-top: 0;
}

.storefront-body .brand-directory-group h2 {
    display: grid;
    place-items: center;
    width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 3px;
    border: 1px solid #ecd8d4;
    border-radius: 11px;
    background: #fff0ed;
    color: var(--sp-d, #760a17);
    font-size: 19px;
    font-weight: 850;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.storefront-body .brand-directory-group:target h2 {
    border-color: var(--sp-d, #760a17);
    background: var(--sp-d, #760a17);
    color: #fff;
}

.storefront-body .brand-directory-group ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 195px), 1fr));
    gap: 3px 12px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.storefront-body .brand-directory-group li {
    min-width: 0;
}

.storefront-body .brand-directory-group li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    min-width: 0;
    min-height: 42px;
    padding: 7px 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #2d252a;
    font-size: 14px;
    line-height: 1.3;
}

.storefront-body .brand-directory-group li a span {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.storefront-body .brand-directory-group li a small {
    flex: 0 0 auto;
    padding: 2px 6px;
    border-radius: 6px;
    background: #f6f1ef;
    color: #675d62;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
    white-space: nowrap;
}

.storefront-body .brand-directory-alphabet a:hover,
.storefront-body .brand-directory-alphabet a:focus-visible {
    border-color: var(--sp-d, #9c192b);
    outline: 2px solid var(--sp-d, #9c192b);
    outline-offset: 1px;
    background: #fff5f2;
    color: var(--sp-d, #760a17);
}

.storefront-body .brand-directory-card:hover,
.storefront-body .brand-directory-card:focus-visible,
.storefront-body .brand-directory-group li a:hover,
.storefront-body .brand-directory-group li a:focus-visible {
    border-color: #dfaaa9;
    outline: 2px solid transparent;
    background: #fff5f2;
    color: var(--sp-d, #760a17);
}

.storefront-body .brand-directory-card:focus-visible,
.storefront-body .brand-directory-group li a:focus-visible {
    outline-color: var(--sp-d, #9c192b);
    outline-offset: 1px;
}

@media (width <= 720px) {
    .storefront-body .brand-directory-grid {
        grid-auto-columns: minmax(165px, 58%);
        grid-auto-flow: column;
        grid-template-columns: none;
        gap: 9px;
        overflow-x: auto;
        padding: 2px 1px 10px;
        scroll-padding-inline: 1px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    .storefront-body .brand-directory-card {
        scroll-snap-align: start;
    }
}

@media (width <= 620px) {
    .storefront-body .brand-directory-hero {
        align-items: flex-start;
        gap: 12px;
        padding: 17px;
    }

    .storefront-body .brand-directory-hero .section-label {
        margin-bottom: 6px;
    }

    .storefront-body .brand-directory-hero h1 {
        font-size: 28px;
    }

    .storefront-body .brand-directory-total {
        flex-direction: row;
        gap: 8px;
        min-width: 0;
        min-height: 42px;
        padding: 7px 12px;
        text-align: left;
    }

    .storefront-body .brand-directory-total strong {
        font-size: 21px;
    }

    .storefront-body .brand-directory-tools {
        gap: 10px;
        margin-bottom: 20px;
        padding: 11px;
    }

    .storefront-body .brand-directory-search {
        width: 100%;
    }

    .storefront-body .brand-directory-alphabet a {
        flex-basis: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .storefront-body .brand-directory-group {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 16px 0;
        scroll-margin-top: 115px;
    }

    .storefront-body .brand-directory-group ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px 7px;
    }

    .storefront-body .brand-directory-group li a {
        min-height: 46px;
        padding: 7px;
        font-size: 13px;
    }
}

@media (width <= 360px) {
    .storefront-body .brand-directory-group ul {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .storefront-body .brand-directory-card,
    .storefront-body .brand-directory-alphabet a,
    .storefront-body .brand-directory-group li a {
        transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }
}

/* Consolidated from product-variant-group.css; keep public first-party styles in main.css. */

/* Approved product SKU variants: progressive enhancement, no client-side identity mutation. */
.storefront-body .product-variant-group {
    display: grid;
    gap: 0.65rem;
    min-width: 0;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid var(--p24-line, #eadcda);
}

.storefront-body .product-variant-group-title {
    margin: 0;
    color: var(--p24-ink, #211719);
    font-size: 0.95rem;
    font-weight: 700;
}

.storefront-body .product-variant-group-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-width: 0;
}

.storefront-body .product-variant-group-chip {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 48px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--p24-line, #eadcda);
    border-radius: var(--p24-radius-sm, 10px);
    background: var(--p24-paper, #fff);
    color: var(--p24-ink, #211719);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.storefront-body a.product-variant-group-chip:hover,
.storefront-body a.product-variant-group-chip:focus-visible {
    border-color: var(--p24-red-dark, #c90011);
    color: var(--p24-red-dark, #c90011);
}

.storefront-body .product-variant-group-chip.is-current {
    border: 2px solid var(--p24-red-dark, #c90011);
    color: var(--p24-red-dark, #c90011);
    background: var(--p24-blush, #f8e9e7);
}

.storefront-body a.product-variant-group-chip:focus-visible {
    outline: 2px solid var(--p24-red-dark, #c90011);
    outline-offset: 3px;
}

/* Unavailable variants stay navigable for SEO, comparison and restock checks. */
.storefront-body .product-variant-group-chip.is-unavailable {
    border-style: dashed;
    color: var(--p24-muted, #746d6d);
}

/* #482: one compact row per option. Stock is a small filled dot (green in
   stock, red out of stock) PLUS the dashed/muted chip and a localised
   sr-only/title text, so status never relies on colour alone and is not
   confused with the SKU's own colour label. */
.storefront-body .product-variant-group-label {
    min-width: 0;
}

.storefront-body .product-variant-stock-dot,
.storefront-body .card-variant-stock-dot {
    position: absolute;
    z-index: 1;
    top: -4px;
    right: -4px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--p24-paper, #fff);
    box-sizing: content-box;
    border-radius: 50%;
    background: #14845a;
    box-shadow: 0 0 0 1px rgb(23 41 60 / 12%);
    pointer-events: none;
}

.storefront-body .product-variant-group-chip.is-unavailable .product-variant-stock-dot {
    background: #bb4747;
}

@media (forced-colors: active) {
    .storefront-body .product-variant-stock-dot,
    .storefront-body .card-variant-stock-dot {
        border-color: CanvasText;
    }
}

/* Consolidated from order.css; keep public first-party styles in main.css. */
.customer-order-page {
    display: grid;
    gap: 22px;
}

.order-action-card,
.customer-order-panel,
.customer-order-summary {
    border: 1px solid var(--p24-line, #e5e9f1);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgb(26 19 20 / 6%);
}

.order-action-card {
    position: relative;
    display: grid;
    gap: 24px;
    padding: clamp(22px, 4vw, 38px);
    overflow: hidden;
}

.order-action-card::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    background: var(--p24-red, #f20a17);
    content: "";
}

.order-action-card.is-success::before {
    background: #178558;
}

.order-action-card.is-review::before {
    background: #b27b00;
}

.order-action-card.is-warning::before {
    background: #b15f00;
}

.order-action-card.is-cancelled::before {
    background: #8a3240;
}

.order-action-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
    align-items: start;
    gap: 28px;
}

.order-kicker,
.order-section-heading span,
.order-document-links > span:first-child {
    display: block;
    color: var(--p24-muted, #7a8291);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.order-action-heading h1 {
    max-width: 720px;
    margin: 7px 0 10px;
    color: var(--p24-burgundy-deep, #4b0810);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
}

.order-action-heading p {
    max-width: 720px;
    margin: 0;
    color: var(--p24-muted, #7a8291);
    font-size: 15px;
    line-height: 1.65;
}

.order-payment-amounts {
    display: grid;
    min-width: 230px;
    gap: 10px;
    padding: 18px 20px;
    border: 1px solid var(--p24-line, #e5e9f1);
    border-radius: 18px;
    background: #fafbfc;
}

.order-payment-amounts > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    color: var(--p24-muted, #7a8291);
    font-size: 12px;
}

.order-payment-amounts strong {
    color: var(--p24-ink, #111827);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.order-payment-amount-primary {
    align-items: flex-end !important;
    flex-direction: column;
    gap: 3px !important;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--p24-line, #e5e9f1);
}

.order-payment-amount-primary strong {
    color: var(--p24-burgundy-deep, #4b0810);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1;
}

.order-payment-choice {
    display: grid;
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid var(--p24-line, #e5e9f1);
}

.order-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.order-section-heading h2 {
    margin: 4px 0 0;
    color: var(--p24-burgundy-deep, #4b0810);
    font-size: clamp(20px, 2vw, 26px);
}

.order-section-heading > strong {
    color: var(--p24-burgundy-deep, #4b0810);
    font-size: 19px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.order-online-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.order-payment-method-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--p24-line, #e5e9f1);
    border-radius: 18px;
    background: #fff;
}

.order-payment-method-card strong {
    display: block;
    color: var(--p24-ink, #111827);
    font-size: 15px;
}

.order-payment-method-card p {
    margin: 5px 0 0;
    color: var(--p24-muted, #7a8291);
    font-size: 12px;
    line-height: 1.45;
}

.order-pay-button {
    min-height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    color: var(--p24-on-red);
    background: var(--p24-red, #f20a17);
    box-shadow: 0 10px 24px rgb(from var(--p24-red) r g b/17%);
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    white-space: nowrap;
}

.order-pay-button:hover {
    filter: brightness(.94);
}

.order-pay-button:disabled {
    cursor: wait;
    opacity: .68;
    filter: none;
}

.order-pay-button:focus-visible,
.order-copy-button:focus-visible,
.order-bank-transfer summary:focus-visible {
    outline: 3px solid rgb(from var(--p24-red) r g b/24%);
    outline-offset: 3px;
}

.order-bank-transfer {
    border: 1px solid var(--p24-line, #e5e9f1);
    border-radius: 18px;
    background: #fff;
}

.order-bank-transfer summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 72px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
}

.order-bank-transfer summary::-webkit-details-marker {
    display: none;
}

.order-bank-transfer summary strong,
.order-bank-transfer summary small {
    display: block;
}

.order-bank-transfer summary strong {
    color: var(--p24-ink, #111827);
    font-size: 15px;
}

.order-bank-transfer summary small {
    margin-top: 4px;
    color: var(--p24-muted, #7a8291);
    line-height: 1.4;
}

.order-bank-transfer[open] summary > span:last-child {
    transform: rotate(45deg);
}

.order-bank-transfer-body {
    display: grid;
    gap: 16px;
    padding: 0 18px 18px;
    border-top: 1px solid var(--p24-line, #e5e9f1);
}

.order-bank-transfer-body > p {
    margin: 16px 0 0;
    color: var(--p24-muted, #7a8291);
    line-height: 1.55;
}

.order-bank-details {
    display: grid;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--p24-line, #e5e9f1);
    border-radius: 14px;
}

.order-bank-details > div {
    display: grid;
    grid-template-columns: minmax(120px, .36fr) minmax(0, 1fr);
    gap: 14px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--p24-line, #e5e9f1);
}

.order-bank-details > div:last-child {
    border-bottom: 0;
}

.order-bank-details dt,
.order-bank-details dd {
    margin: 0;
}

.order-bank-details dt {
    color: var(--p24-muted, #7a8291);
    font-size: 12px;
    font-weight: 750;
}

.order-bank-details dd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    gap: 12px;
    color: var(--p24-ink, #111827);
}

.order-bank-details code {
    min-width: 0;
    overflow-wrap: anywhere;
    color: inherit;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.order-copy-button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid var(--p24-line, #e5e9f1);
    border-radius: 999px;
    color: var(--p24-burgundy, #720610);
    background: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
}

.order-payment-feedback {
    padding: 12px 14px;
    border: 1px solid #dfe3eb;
    border-radius: 14px;
    color: #465064;
    background: #f7f8fb;
    font-weight: 700;
}

.order-payment-feedback.is-error {
    border-color: rgb(155 36 63 / 22%);
    color: #9b243f;
    background: #fff4f8;
}

.order-document-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--p24-line, #e5e9f1);
}

.order-document-links > span:first-child {
    margin-right: auto;
}

/* The translated title is distinct from the immutable document number. */
.order-document-links .order-document-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: min(100%, 215px);
    min-height: 66px;
    padding-block: 10px;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
}

.order-document-item .order-document-title {
    font-weight: 750;
}

.order-document-item .order-document-meta,
.order-document-item .order-document-availability {
    color: var(--p24-muted, #7a8291);
    font-size: 12px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.customer-order-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
    gap: 22px;
}

.customer-order-details {
    display: grid;
    min-width: 0;
    gap: 14px;
}

.customer-order-panel,
.customer-order-summary {
    min-width: 0;
    padding: 20px;
}

.customer-order-panel {
    display: grid;
    gap: 16px;
}

.customer-order-panel .order-details {
    display: grid;
    gap: 0;
    margin: 0;
}

.customer-order-panel .order-details > div {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid var(--p24-line, #e5e9f1);
}

.customer-order-panel .order-details > div:last-child {
    border-bottom: 0;
}

.customer-order-panel dt,
.customer-order-panel dd {
    min-width: 0;
    margin: 0;
}

.customer-order-panel dt {
    color: var(--p24-muted, #7a8291);
    font-size: 12px;
    font-weight: 750;
}

.customer-order-panel dd {
    color: var(--p24-ink, #111827);
    overflow-wrap: anywhere;
}

.customer-order-panel dd a {
    color: var(--p24-burgundy, #720610);
}

/* Shared carrier art on the customer order and shipment details: compact,
   legible in light/dark themes and never cropped by checkout tile padding. */
.customer-order-panel .order-carrier-ident {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    min-width: 0;
    vertical-align: middle;
}

.customer-order-panel .order-carrier-ident > .checkout-option-icon {
    display: inline-flex;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    padding: 3px;
    border: 1px solid var(--p24-line, #e5e9f1);
    border-radius: 8px;
    background: #fff;
}

.customer-order-panel .order-carrier-ident > .checkout-option-icon > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.customer-order-panel .order-carrier-ident > .checkout-option-icon > svg {
    width: 20px;
    height: 20px;
}

.customer-order-panel .order-carrier-ident > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.order-shipment-pending {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #f1c27d;
    border-left: 3px solid #b54708;
    border-radius: 7px;
    color: #7a2e0e;
    background: #fffaeb;
    font-size: 13px;
    line-height: 1.5;
}

.order-shipment + .order-shipment {
    margin-top: 14px;
    border-top: 1px solid var(--p24-line, #e5e9f1);
}

.customer-order-summary {
    position: sticky;
    top: 92px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.customer-order-summary h2 {
    margin: 0;
    color: var(--p24-burgundy-deep, #4b0810);
    font-size: 22px;
}

.customer-order-summary .summary-items {
    display: grid;
    gap: 4px;
}

.customer-order-totals {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 0;
}

.customer-order-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
    border-bottom: 1px solid var(--p24-line, #e5e9f1);
}

.customer-order-totals dt,
.customer-order-totals dd {
    margin: 0;
}

/* Long values ("0.00 EUR + price on request") wrap instead of widening the
   summary past a 375px screen (theme-matrix horizontal scroll). */
.customer-order-totals dd {
    min-width: 0;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.customer-order-totals .is-discount {
    color: #178558;
}

.customer-order-totals .summary-total {
    padding-top: 14px;
    border-bottom: 0;
    color: var(--p24-burgundy-deep, #4b0810);
    font-size: 20px;
    font-weight: 900;
}

@media (width <= 920px) {
    .order-action-heading {
        grid-template-columns: 1fr;
    }

    .order-payment-amounts {
        min-width: 0;
    }

    .order-payment-amount-primary {
        align-items: flex-start !important;
    }

    .customer-order-grid {
        grid-template-columns: 1fr;
    }

    .customer-order-summary {
        position: static;
        grid-row: 1;
    }
}

@media (width <= 640px) {
    .customer-order-page {
        gap: 14px;
    }

    .order-action-card {
        gap: 18px;
        padding: 20px 16px 18px;
        border-radius: 18px;
    }

    .order-action-heading {
        gap: 18px;
    }

    .order-action-heading h1 {
        font-size: 29px;
    }

    .order-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .order-online-methods {
        grid-template-columns: 1fr;
    }

    .order-payment-method-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
    }

    .order-pay-button {
        width: 100%;
        white-space: normal;
    }

    .order-bank-transfer summary {
        min-height: 64px;
        padding: 13px 14px;
    }

    .order-bank-transfer-body {
        padding: 0 14px 14px;
    }

    .order-bank-details > div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .order-bank-details dd {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-copy-button {
        min-height: 40px;
    }

    .order-document-links {
        align-items: stretch;
        flex-direction: column;
    }

    .order-document-links > span:first-child {
        margin-right: 0;
    }

    .order-document-links .secondary-link {
        width: 100%;
    }

    .customer-order-panel,
    .customer-order-summary {
        padding: 17px 15px;
        border-radius: 18px;
    }

    .customer-order-panel .order-details > div {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 10px 0;
    }

    .customer-order-summary .secondary-link {
        width: 100%;
    }
}

/* P0: real fulfillment progress, explicit next step, separate payment summary. */
.order-placed-at {
    display: block;
    margin-top: 7px;
    color: var(--p24-muted, #7a8291);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.order-stage-title.is-success { color: #166646; }
.order-stage-title.is-failed { color: #922b3c; }

.order-next-step {
    display: grid;
    gap: 5px;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f7f8fa;
}

.order-next-step strong {
    color: var(--p24-ink, #111827);
    font-size: 13px;
}

.order-action-heading .order-next-step p {
    color: var(--p24-ink, #111827);
    line-height: 1.5;
}

.order-action-heading .order-payment-context {
    margin-top: 12px;
    color: #7a2e0e;
    line-height: 1.5;
}

.order-support-link {
    display: inline-flex;
    margin-top: 14px;
    min-height: 44px;
    align-items: center;
    width: fit-content;
}

.order-support-link:focus-visible {
    outline: 3px solid rgb(from var(--p24-red) r g b/24%);
    outline-offset: 3px;
}

.order-payment-state {
    align-items: flex-start !important;
    gap: 8px;
}

.order-payment-state strong {
    text-align: right;
    white-space: normal;
}

@media (width <= 640px) {
    .order-support-link {
        width: 100%;
        justify-content: center;
    }
    .order-next-step { padding: 12px; }
}

.order-action-card.is-failed::before { background: #922b3c; }
.order-action-card.is-processing::before { background: #b27b00; }

.order-push-panel {
    display: grid;
    gap: 12px;
}

.order-push-copy {
    margin: 0;
}

.order-push-panel [data-customer-push-toggle] {
    justify-self: start;
}

/* Pirkt24 public storefront styles. No admin rules are included. */

/* @critical:start */
:root {
    color-scheme: light;

    --text: #172033;
    --muted: #6d7482;
    --line: #e7eaf0;
    --surface: #f6f7fb;
    --dark: #080d19;
    --accent: #d71962;
    --accent-hover: #b91352;
    --success: #1f8a5b;
}

/* @critical:end */

/* @critical:start */
* {
    box-sizing: border-box;
}

/* @critical:end */

/* @critical:start */
html {
    min-width: min(320px, 100%);
}

/* @critical:end */

/* @critical:start */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
}

/* @critical:end */

/* @critical:start */
a {
    color: inherit;
    text-decoration: none;
}

/* @critical:end */

/* @critical:start */
button,
input {
    font: inherit;
}

/* @critical:end */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

/* @critical:start */
.utility-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 34px;
    padding: 0 clamp(16px, 4vw, 32px);
    color: #c4c9d4;
    background: var(--dark);
    font-size: 13px;
}

/* @critical:end */

/* @critical:start */
.utility-links,
.utility-meta,
.language-switcher,
.main-header,
.header-actions {
    display: flex;
    align-items: center;
}

/* @critical:end */
.utility-links,
.utility-meta {
    gap: 22px;
}

/* @critical:start */
.language-switcher {
    gap: 4px;
    padding: 3px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 18px;
}

/* @critical:end */
.language-switcher a {
    min-width: 30px;
    padding: 4px 7px;
    border-radius: 14px;
    text-align: center;
    color: #c4c9d4;
}

.language-switcher a.is-active {
    color: #fff;
    background: rgb(255 255 255 / 12%);
}

/* @critical:start */
.phone {
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

/* @critical:end */

/* @critical:start */
.main-header {
    gap: 16px;
    min-height: 86px;
    padding: 16px clamp(16px, 4vw, 32px);
}

/* @critical:end */

/* @critical:start */
.site-logo {
    flex: 0 0 auto;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0;
    color: var(--dark);
}

/* @critical:end */
.site-logo span {
    color: var(--accent);
}

/* @critical:start */
.catalog-button,
.buy-button,
.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

/* @critical:end */
.catalog-button {
    padding: 0 18px;
}

/* @critical:start */
.search-form {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    flex: 1 1 auto;
    min-width: 220px;
    height: 52px;
    overflow: visible;
    border: 1px solid transparent;
    border-radius: 26px;
    background: var(--surface);
}

/* @critical:end */
.search-suggestions {
    position: absolute;
    z-index: 100;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    max-height: min(420px, 70vh);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgb(17 24 39 / 16%);
}

.search-suggestion {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-width: 0;
    min-height: 72px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
}

.search-suggestion-group {
    padding: 8px 12px 5px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.search-category-media {
    color: var(--accent);
    background: var(--surface);
    font-size: 24px;
    font-weight: 700;
}

.search-suggestion:last-child {
    border-bottom: 0;
}

.search-suggestion:hover,
.search-suggestion.is-active {
    background: #f6f7fb;
}

.search-suggestion-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.search-suggestion-media {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.search-suggestion-media img {
    width: 100%;
    height: 100%;
    padding: 4px;
    object-fit: contain;
}

.search-suggestion-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--accent);
    background: var(--surface);
    font-size: 11px;
    font-weight: 900;
}

.search-suggestion-fallback[hidden] {
    display: none;
}

.search-suggestion-price {
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.search-suggestion strong,
.search-suggestion small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggestion strong {
    color: var(--text);
    font-size: 14px;
}

.search-suggestion small {
    color: var(--muted);
    font-size: 12px;
}

@media (width <= 620px) {
.search-suggestion {
        grid-template-columns: 48px minmax(0, 1fr);
    }

.search-suggestion-media {
        width: 48px;
        height: 48px;
    }

.search-suggestion-price {
        grid-column: 2;
        justify-self: start;
        font-size: 13px;
    }




}

.search-form:focus-within {
    border-color: rgb(215 25 98 / 30%);
    background: #fff;
}

/* @critical:start */
.search-form input {
    min-width: 0;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
}

/* @critical:end */

/* @critical:start */
.search-form button {
    width: 42px;
    height: 42px;
    margin: 5px 6px 5px 0;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

/* @critical:end */
.catalog-button:hover,
.search-form button:hover,
.buy-button:hover,
.primary-link:hover {
    background: var(--accent-hover);
}

.header-actions {
    flex: 0 0 auto;
    gap: 10px;
}

/* @critical:start */
.header-actions span,
.cart-action {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff4f8;
    color: var(--dark);
    font-size: 22px;
}

/* @critical:end */
.cart-action {
    position: relative;
}

.cart-action strong {
    position: absolute;
    top: -4px;
    right: -4px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

.page-shell {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 64px;
}

/* @critical-home:start */
.store-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    align-items: center;
    min-height: 360px;
    overflow: hidden;
    border-radius: 8px;
    background: #dce8f2;
}

/* @critical-home:end */
.hero-copy {
    position: relative;
    z-index: 1;
    padding: clamp(26px, 5vw, 52px);
}

.section-label {
    display: inline-block;
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.store-hero h1,
.content-section h1 {
    margin: 0;
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.05;
}

.store-hero h1 {
    max-width: 520px;
    margin-bottom: 24px;
}

/* @critical:start */
.primary-link {
    width: max-content;
    padding: 0 20px;
}

/* @critical:end */
.hero-image {
    width: 100%;
    max-height: 330px;
    object-fit: contain;
    padding: 30px;
}

.breadcrumbs {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    color: #a6adba;
}

.breadcrumbs a {
    color: #4b5565;
}

.breadcrumbs span {
    color: var(--text);
    font-weight: 700;
}

.content-section {
    margin-top: 34px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 0;
    font-size: 28px;
}

.section-heading a,
.section-heading span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.category-tree a:hover,
.subcategory-item:hover,
.product-card:hover {
    border-color: rgb(215 25 98 / 35%);
    box-shadow: 0 8px 24px rgb(19 24 35 / 8%);
}

.category-tree {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.category-tree .category-tree {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 8px;
    padding-left: 14px;
}

.category-tree-item {
    min-width: 0;
}

.category-tree a,
.subcategory-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: #252d3d;
    font-weight: 800;
}

.category-tree .category-tree a {
    min-height: 36px;
    padding: 8px 10px;
    border-color: transparent;
    background: var(--surface);
    color: #4b5565;
    font-size: 14px;
    font-weight: 700;
}

.category-tree .category-tree .category-tree a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.subcategory-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.product-card {
    display: grid;
    grid-template-rows: 210px minmax(122px, 1fr) auto;
    gap: 12px;
    min-height: 438px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.product-media {
    position: relative;
    min-width: 0;
}

.product-image {
    display: grid;
    place-items: center;
    width: 100%;
    height: 210px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.favorite-button {
    position: absolute;
    top: 4px;
    right: 4px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    color: #3a4150;
    background: #fff;
    box-shadow: 0 6px 18px rgb(19 24 35 / 12%);
    font-size: 20px;
    cursor: pointer;
}

.product-info {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
}

.image-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 16px;
    color: #7b8494;
    text-align: center;
    background:
        linear-gradient(135deg, rgb(215 25 98 / 8%), rgb(8 13 25 / 4%)),
        var(--surface);
}

.image-placeholder[hidden] {
    display: none;
}

.image-placeholder-mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid rgb(215 25 98 / 22%);
    border-radius: 50%;
    color: var(--accent);
    background: #fff;
    font-weight: 900;
}

.image-placeholder-text {
    font-size: 13px;
    font-weight: 700;
}

.product-title {
    color: #252d3d;
    font-size: 14px;
    line-height: 1.35;
}

.product-brand {
    min-height: 17px;
    color: #7b8494;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.stock-status,
.delivery-status {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.25;
}

.stock-status.is-available {
    color: var(--success);
    font-weight: 800;
}

.stock-status.is-empty {
    color: #9b243f;
    font-weight: 800;
}

.product-purchase {
    display: grid;
    gap: 10px;
}

.product-purchase form,
.product-buy-form {
    margin: 0;
}

.product-price {
    color: var(--dark);
    font-size: 21px;
    line-height: 1;
}

.card-cart-button {
    min-width: 0;
    min-height: 40px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--accent);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.card-cart-button:hover {
    background: var(--accent-hover);
}

.card-cart-button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.product-page {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}

.muted,
.empty-state {
    color: var(--muted);
}

.product-detail-price {
    margin: 0;
    color: var(--dark);
    font-size: 34px;
    font-weight: 900;
}

.buy-button {
    width: 100%;
}

.product-buy-form {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
}

.message {
    max-width: 560px;
    padding: 48px 0;
}

.static-page {
    max-width: 840px;
}

.static-page h1 {
    margin: 0 0 18px;
}

.static-copy {
    color: #303746;
    font-size: 16px;
    line-height: 1.7;
}

.checkout-page {
    display: grid;
    gap: 22px;
}

.checkout-heading h1,
.order-success h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
}

.cart-items,
.checkout-form-stack {
    display: grid;
    gap: 12px;
}

.cart-item,
.checkout-panel,
.order-summary,
.empty-cart,
.order-success {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.cart-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 220px;
    gap: 16px;
    padding: 14px;
}

.cart-item-image {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-main,
.checkout-panel,
.order-summary,
.empty-cart,
.order-success {
    display: grid;
    gap: 10px;
}

.cart-item-title {
    font-weight: 800;
}

.link-button {
    border: 0;
    background: transparent;
    color: var(--accent);
    font-weight: 800;
    cursor: pointer;
}

.cart-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
}

.secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font-weight: 800;
}

.checkout-panel,
.order-summary,
.empty-cart,
.order-success {
    padding: 18px;
}

.checkout-panel h2,
.order-summary h2,
.empty-cart h2 {
    margin: 0;
}

.checkout-panel > label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.checkout-panel textarea {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding-top: 10px;
    resize: vertical;
}

.summary-items span {
    color: var(--muted);
}

.order-summary {
    position: sticky;
    top: 16px;
}

.order-summary dl,
.order-details {
    display: grid;
    gap: 10px;
    margin: 0;
}

.order-summary dl div,
.order-details div,
.summary-items div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.order-details div {
    justify-content: flex-start;
}

.order-details dt {
    width: 170px;
    color: var(--muted);
}

.order-summary dd,
.order-summary dt,
.order-details dd,
.order-details dt {
    margin: 0;
}

.summary-total {
    font-size: 20px;
    font-weight: 900;
}

.summary-items {
    display: grid;
    gap: 4px;
}

.checkout-errors {
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgb(155 36 63 / 22%);
    border-radius: 8px;
    color: #9b243f;
    background: #fff4f8;
    font-weight: 700;
}

.checkout-errors p {
    margin: 0;
}

.product-page {
    display: grid;
    grid-template-columns: minmax(0, 590px) minmax(360px, 1fr);
    gap: 46px;
    align-items: start;
}

.product-gallery-panel {
    display: grid;
    gap: 14px;
}

.product-gallery-main {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: contain;
    padding: clamp(20px, 4vw, 54px);
}

.gallery-zoom,
.gallery-nav,
.wishlist-button,
.cart-remove-button {
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: #3b4352;
    cursor: pointer;
}

.gallery-zoom {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    font-size: 24px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 28px;
}

.gallery-nav-prev {
    left: 16px;
}

.gallery-nav-next {
    right: 16px;
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.gallery-thumb {
    display: grid;
    place-items: center;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.gallery-thumb.is-active {
    border-color: var(--accent);
    box-shadow: inset 0 0 0 1px var(--accent);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-buy-box {
    display: grid;
    gap: 20px;
    padding-top: 4px;
}

.product-buy-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #9aa2b0;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.product-buy-meta span:last-child {
    margin-left: auto;
    text-transform: none;
    font-weight: 600;
}

.product-buy-box h1 {
    margin: 0;
    color: #151d2c;
    font-size: clamp(27px, 3.6vw, 34px);
    line-height: 1.18;
}

.product-offer {
    display: grid;
    gap: 10px;
}

.product-detail-price {
    margin: 0;
    color: var(--dark);
    font-size: clamp(34px, 5vw, 44px);
    font-weight: 900;
    letter-spacing: 0;
}

.price-note {
    color: #9aa2b0;
    font-size: 13px;
}

.product-stock,
.cart-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 800;
}

.product-stock::before,
.cart-stock::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentcolor;
}

.product-stock.is-available,
.cart-stock.is-available {
    color: var(--success);
}

.product-stock.is-empty,
.cart-stock.is-empty {
    color: #9b243f;
}

.product-stock.is-discontinued {
    color: #6f6570;
}

.product-buy-form {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr) 54px;
    gap: 10px;
    align-items: center;
    margin-top: 2px;
}

.quantity-control {
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    align-items: center;
    min-height: 54px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 27px;
    background: #fff;
}

.quantity-control button {
    width: 38px;
    height: 54px;
    border: 0;
    color: #303746;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}

.quantity-control button:hover {
    color: var(--accent);
}

.quantity-control input {
    width: 100%;
    min-width: 0;
    height: 54px;
    border: 0;
    outline: 0;
    text-align: center;
    font-weight: 800;
    appearance: textfield;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.product-buy-form .buy-button {
    min-height: 54px;
    border-radius: 8px;
    font-size: 16px;
}

.wishlist-button {
    width: 54px;
    height: 54px;
    color: #5c6472;
    font-size: 22px;
}

.delivery-block {
    display: grid;
    border-top: 1px solid var(--line);
}

.delivery-block-head,
.delivery-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.delivery-block-head {
    padding: 18px 0 6px;
}

.delivery-block-head h2 {
    margin: 0;
    font-size: 21px;
}

.delivery-block-head span {
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
}

.delivery-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    min-height: 70px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.delivery-row span:nth-child(2) {
    display: grid;
    gap: 3px;
}

.delivery-row strong {
    font-size: 15px;
}

.delivery-row small {
    color: #9aa2b0;
}

.delivery-row b {
    color: var(--success);
    white-space: nowrap;
}

.product-description {
    padding: 20px;
    color: #303746;
    line-height: 1.65;
}

.cart-page {
    display: grid;
    gap: 24px;
    max-width: 890px;
    margin: 0 auto;
}

.checkout-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 12px;
    margin: 0 0 8px;
}

.checkout-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #9aa2b0;
    font-weight: 900;
}

.checkout-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 46px;
    right: -8px;
    top: 50%;
    height: 2px;
    background: var(--line);
    transform: translateY(-50%);
    z-index: 0;
}

.checkout-step.is-active {
    color: var(--text);
}

.cart-heading {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.cart-heading h1 {
    margin: 0;
    font-size: 30px;
}

.cart-heading span {
    color: var(--muted);
    font-weight: 800;
}

.cart-layout {
    display: grid;
    gap: 22px;
}

.cart-list-card {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.cart-list-card .cart-item {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 160px 42px;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
}

.cart-list-card .cart-item:last-child {
    border-bottom: 0;
}

.cart-item-image {
    width: 90px;
    height: 90px;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    background: #fff;
}

.cart-item-image img {
    padding: 7px;
}

.cart-item-main {
    display: grid;
    gap: 9px;
}

.cart-item-title {
    color: #151d2c;
    font-weight: 900;
    line-height: 1.35;
}

.cart-quantity {
    width: 100px;
    min-height: 42px;
    grid-template-columns: 30px 1fr 30px;
}

.cart-quantity button,
.cart-quantity input {
    height: 42px;
}

.cart-update-button {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.cart-item-price {
    display: grid;
    gap: 4px;
    justify-items: start;
}

.cart-item-price strong {
    color: var(--dark);
    font-size: 19px;
}

.cart-item-price span {
    color: #9aa2b0;
    font-size: 12px;
}

.cart-item-remove {
    place-self: start end;
}

.cart-remove-button {
    width: 38px;
    height: 38px;
    color: #9aa2b0;
    background: var(--surface);
    font-weight: 900;
}

.cart-summary-card {
    display: grid;
    gap: 18px;
    width: min(490px, 100%);
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.cart-summary-card dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.cart-summary-card dl div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
}

.cart-summary-card dt,
.cart-summary-card dd {
    margin: 0;
}

.cart-summary-card dt {
    color: var(--muted);
}

.cart-summary-card .summary-total {
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 20px;
}

.cart-summary-card .summary-total dt {
    color: var(--text);
    font-weight: 900;
}

.cart-summary-card .summary-total dd {
    font-size: 28px;
    font-weight: 900;
}

.cart-summary-card .buy-button {
    min-height: 54px;
    border-radius: 27px;
}

.checkout-flow {
    max-width: 890px;
    margin: 0 auto;
}

.checkout-back-link {
    width: max-content;
    color: var(--accent);
    font-weight: 900;
}

.checkout-step.is-done {
    color: var(--text);
}

.checkout-step.is-done::after {
    background: var(--accent);
}

.checkout-form {
    display: grid;
    gap: 18px;
}

.checkout-section {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.checkout-section-head > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    background: var(--accent);
    font-weight: 900;
}

.checkout-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.field {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    background: #fff;
    font: inherit;
    font-weight: 600;
    text-transform: none;
}

.field textarea {
    padding-top: 11px;
    resize: vertical;
}

.checkout-option-list {
    display: grid;
    gap: 10px;
}

.checkout-option {
    display: grid;
    grid-template-columns: 24px 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 68px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.checkout-option.is-active,
.checkout-option:focus-within,
.checkout-option:hover {
    border-color: rgb(215 25 98 / 55%);
    box-shadow: 0 8px 24px rgb(19 24 35 / 6%);
}

.checkout-option input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.checkout-option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #c9ced8;
    border-radius: 50%;
}

.checkout-option.is-active .checkout-option-radio {
    border: 6px solid var(--accent);
}

.checkout-option-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--accent);
    background: #fff4f8;
    font-weight: 900;
}

.checkout-option-body {
    display: grid;
    gap: 4px;
}

.checkout-option-body strong {
    color: var(--text);
}

.checkout-option-body small {
    color: var(--muted);
    line-height: 1.35;
}

.checkout-option b {
    white-space: nowrap;
    color: var(--success);
}

.delivery-extra {
    display: none;
    gap: 12px;
    margin-top: 4px;
}

.delivery-extra.is-visible {
    display: grid;
}

.parcel-locker-list {
    display: grid;
    gap: 8px;
}

.parcel-locker-option {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: start;
    min-height: 68px;
}

.parcel-locker-option .checkout-option-radio {
    margin-top: 2px;
}

.parcel-locker-option .checkout-option-body {
    grid-column: auto;
    min-width: 0;
}

.checkout-order-items {
    padding-bottom: 4px;
}

.checkout-total-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.checkout-total-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.checkout-total-list dt,
.checkout-total-list dd {
    margin: 0;
}

.checkout-total-list dt {
    color: var(--muted);
}

.checkout-total-list .summary-total {
    border-bottom: 0;
    font-size: 22px;
    font-weight: 900;
}

.checkout-total-list .summary-total dt {
    color: var(--text);
}

.checkout-agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.checkout-agree input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.checkout-place-button {
    min-height: 54px;
    border-radius: 27px;
}

.checkout-comment-field {
    margin-top: 2px;
}

.site-footer {
    color: #d8dde7;
    background: var(--dark);
}

.footer-main,
.footer-bottom {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(150px, 1fr));
    gap: 34px;
    padding: 34px 0;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 14px;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}

.footer-logo span {
    color: var(--accent);
}

.footer-company p,
.footer-company address {
    max-width: 360px;
    margin: 0 0 16px;
    color: #aeb6c5;
    font-style: normal;
    line-height: 1.55;
}

.footer-company address,
.footer-contact,
.footer-column {
    display: grid;
    gap: 9px;
}

.footer-company strong {
    color: #fff;
}

.footer-contact a {
    width: max-content;
    color: #fff;
    font-weight: 800;
}

.footer-column h2 {
    margin: 4px 0 8px;
    color: #fff;
    font-size: 16px;
}

.footer-column a,
.footer-column button {
    width: max-content;
    max-width: 100%;
    padding: 0;
    border: 0;
    color: #aeb6c5;
    background: transparent;
    text-align: left;
    line-height: 1.4;
}

.footer-social-title {
    padding-top: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 24px;
    border-top: 1px solid rgb(255 255 255 / 10%);
    color: #aeb6c5;
    font-size: 13px;
}

@media (width <= 860px) {
.utility-bar,
.main-header,
.store-hero,
.product-page {
        grid-template-columns: 1fr;
    }

.utility-bar,
.main-header {
        align-items: stretch;
        flex-direction: column;
    }

.utility-meta,
.utility-links {
        justify-content: space-between;
    }

.site-logo {
        font-size: 28px;
    }

.catalog-button {
        width: 100%;
    }

.header-actions {
        justify-content: space-between;
    }

.store-hero {
        min-height: 0;
    }

.hero-image {
        max-height: 240px;
        padding-top: 0;
    }

.footer-main {
        grid-template-columns: 1fr;
    }




}

/* Storefront visual parity refinement. */

/* @critical:start */
.utility-bar {
    min-height: 34px;
}

/* @critical:end */

/* @critical:start */
.main-header {
    min-height: 70px;
    padding-top: 9px;
    padding-bottom: 9px;
}

/* @critical:end */

/* @critical:start */
.site-logo {
    display: grid;
    gap: 2px;
    min-width: 92px;
    color: var(--p24-ink);
    text-align: center;
}

/* @critical:end */
.site-logo small {
    color: #8b93a2;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.catalog-button {
    min-height: 48px;
}

/* @critical:start */
.search-form {
    height: 48px;
}

/* @critical:end */
.search-form::before {
    content: "";
    width: 14px;
    height: 14px;
    margin-left: 19px;
    border: 2px solid #8b93a2;
    border-radius: 50%;
    box-shadow: 7px 8px 0 -6px #8b93a2;
}

/* @critical:start */
.search-form input {
    padding-left: 10px;
}

/* @critical:end */

/* @critical:start */
.search-form button {
    width: 38px;
    height: 38px;
}

/* @critical:end */
.page-shell {
    padding-top: 16px;
}

/* @critical-home:start */
.store-hero {
    position: relative;
    display: block;
    min-height: 438px;
    overflow: hidden;
    border: 0;
    background: #dceffc;
    box-shadow: none;
}

/* @critical-home:end */
.store-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(0deg, rgb(6 12 24 / 46%), transparent);
    pointer-events: none;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    padding: 0;
    object-fit: cover;
}

.hero-copy {
    position: absolute;
    z-index: 1;
    bottom: 34px;
    left: 38px;
    max-width: 460px;
    padding: 0;
}

.hero-copy .section-label {
    color: #fff;
}

.hero-copy h1 {
    margin: 7px 0 20px;
    color: #fff;
    font-size: 36px;
    text-shadow: 0 2px 14px rgb(0 0 0 / 24%);
}

.hero-copy .primary-link {
    min-height: 46px;
    padding: 0 24px;
    color: #fff;
}

.store-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: var(--p24-line);
}

.store-benefit {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    min-height: 104px;
    padding: 18px;
    color: var(--p24-ink);
    background: #fff;
}

.store-benefit:hover strong {
    color: var(--p24-accent);
}

.store-benefit > span:last-child,
.product-benefits a > span:last-child {
    display: grid;
    gap: 4px;
}

.store-benefit strong,
.product-benefits strong {
    font-size: 14px;
    line-height: 1.25;
}

.store-benefit small,
.product-benefits small {
    color: var(--p24-muted);
    font-size: 12px;
    line-height: 1.35;
}

.store-benefit-icon,
.product-benefit-icon,
.subcategory-icon {
    position: relative;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    color: var(--p24-accent);
    background: #fff0f6;
}

.store-benefit-icon::before,
.product-benefit-icon::before,
.subcategory-icon::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid currentcolor;
    border-radius: 4px;
}

.is-delivery::before,
.is-courier::before {
    width: 21px;
    height: 13px;
    border-radius: 2px;
    box-shadow: 7px 5px 0 -5px currentcolor;
}

.is-payment::before,
.is-warranty::before {
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px #fff0f6;
    background: currentcolor;
}

.is-support::before,
.is-return::before {
    border-radius: 50% 50% 4px 4px;
}

.home-categories,
.home-products {
    margin-top: 34px;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.subcategory-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.subcategory-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 88px;
}

.subcategory-item > span:nth-child(2) {
    display: grid;
    gap: 4px;
}

.subcategory-item strong {
    color: var(--p24-ink);
    font-size: 14px;
}

.subcategory-item small {
    color: var(--p24-muted);
    font-size: 12px;
}

.product-media,
.product-image {
    background: #f5f6f8;
}

.product-card {
    grid-template-rows: 224px minmax(140px, 1fr) auto;
    min-height: 486px;
}

.product-image {
    height: 224px;
}

.product-title {
    font-size: 14px;
}

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

.product-page {
    grid-template-columns: minmax(0, 600px) minmax(360px, 1fr);
    gap: 38px;
}

.product-buy-box h1 {
    font-size: 27px;
}

.product-detail-price {
    font-size: 38px;
}

.checkout-option-icon::before {
    content: "";
    width: 17px;
    height: 15px;
    border: 2px solid currentcolor;
    border-radius: 3px;
}

.checkout-option-icon.is-courier::before {
    width: 20px;
    height: 12px;
    box-shadow: 7px 5px 0 -5px currentcolor;
}

.checkout-option-icon.is-parcel::before {
    border-radius: 50% 50% 3px 3px;
}

.checkout-option-icon.is-bank::before,
.checkout-option-icon.is-montonio::before {
    width: 19px;
    height: 13px;
    border-radius: 2px;
    box-shadow: inset 0 -4px 0 rgb(215 25 98 / 16%);
}

.product-benefits {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.product-benefits a {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    min-height: 98px;
    padding: 16px 18px;
    border-right: 1px solid var(--p24-line);
    color: var(--p24-ink);
}

.cart-page,
.checkout-flow,
.checkout-page {
    max-width: 890px;
}

.cart-heading h1,
.checkout-heading h1 {
    font-size: 27px;
}

.cart-list-card .cart-item {
    grid-template-columns: 96px minmax(0, 1fr) auto 34px;
    padding: 13px 0;
}

.cart-item-image {
    width: 96px;
    height: 96px;
}

.cart-summary-card {
    max-width: 496px;
}

.checkout-section {
    padding: 22px 24px;
}

.checkout-section-head h2 {
    font-size: 20px;
}

.field input,
.field select,
.field textarea {
    border-color: transparent;
    background: #f2f4f7;
}

.field input,
.field select {
    min-height: 48px;
}

.checkout-option {
    min-height: 76px;
    background: #f8f9fb;
}

.site-footer {
    color: #4b5563;
    background: #fff;
}

.footer-main {
    padding-top: 44px;
    padding-bottom: 36px;
}

.footer-company p,
.footer-company address,
.footer-contact,
.footer-column {
    color: #6b7280;
}

.footer-column a:hover,
.footer-column button:hover,
.footer-contact a:hover {
    color: var(--p24-accent);
}

@media (width <= 980px) {
.store-benefits,
.home-category-grid,
.subcategory-list,
.product-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }




}

@media (width <= 620px) {
.store-hero {
        min-height: 360px;
    }

.hero-image {
        object-position: 58% center;
    }

.hero-copy {
        right: 20px;
        bottom: 24px;
        left: 20px;
    }

.hero-copy h1 {
        max-width: 320px;
        font-size: 27px;
    }

.store-benefits,
.home-category-grid,
.subcategory-list {
        grid-template-columns: 1fr;
    }

.store-benefit {
        min-height: 88px;
    }

.home-categories,
.home-products {
        margin-top: 26px;
    }

.product-benefits {
        grid-template-columns: 1fr;
    }





}

@media (width <= 560px) {
.utility-links {
        display: none;
    }

.main-header {
        gap: 12px;
    }

.section-heading {
        align-items: start;
        flex-direction: column;
    }

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

.product-card {
        grid-template-rows: 150px minmax(120px, 1fr) auto;
        min-height: 392px;
        padding: 10px;
    }

.product-image {
        height: 150px;
    }

.product-buy-form,
.checkout-grid,
.cart-item {
        grid-template-columns: 1fr;
    }

.order-summary {
        position: static;
    }

.footer-bottom {
        flex-direction: column;
    }





}

@media (width <= 860px) {
.product-page {
        grid-template-columns: 1fr;
        gap: 24px;
    }

.product-gallery-main {
        min-height: 360px;
    }

.cart-page {
        max-width: none;
    }

.checkout-steps {
        gap: 8px;
    }

.checkout-step {
        font-size: 13px;
    }




}

@media (width <= 560px) {
.product-buy-form {
        grid-template-columns: 1fr 54px;
    }

.product-buy-form .quantity-control,
.product-buy-form .buy-button {
        grid-column: 1 / -1;
    }

.delivery-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

.delivery-row b {
        grid-column: 2;
    }

.checkout-steps {
        grid-template-columns: 1fr;
    }

.checkout-step:not(:last-child)::after {
        display: none;
    }

.cart-list-card .cart-item {
        grid-template-columns: 78px minmax(0, 1fr) 32px;
        gap: 12px;
        padding: 14px;
    }

.cart-item-image {
        width: 78px;
        height: 78px;
    }

.cart-item-price {
        grid-column: 2 / 3;
    }

.cart-item-remove {
        grid-column: 3;
        grid-row: 1;
    }

.cart-summary-card .summary-total dd {
        font-size: 24px;
    }

.checkout-fields {
        grid-template-columns: 1fr;
    }

.checkout-section {
        padding: 16px;
    }

.checkout-option {
        grid-template-columns: 22px 38px minmax(0, 1fr);
    }

.checkout-option b {
        grid-column: 3;
    }

.parcel-locker-option {
        grid-template-columns: 22px minmax(0, 1fr);
    }

.parcel-locker-option b {
        grid-column: 2;
    }

.parcel-locker-list {
        max-height: none;
        overflow: visible;
    }




}

/* 4shop-inspired storefront polish. Keep this layer last so legacy rules stay harmless. */

/* @critical:start */
:root {
    --p24-ink: #111827;
    --p24-muted: #7a8291;
    --p24-soft: #f4f6fb;
    --p24-line: #e5e9f1;
    --p24-card: #fff;
    --p24-dark: #070b16;
    --p24-accent: #d71962;
    --p24-accent-hover: #bd1555;
    --p24-success: #178558;
    --p24-radius: 8px;
    --p24-page: min(1240px, calc(100% - 44px));
}

/* @critical:end */

/* @critical:start */
body {
    color: var(--p24-ink);
    background: var(--p24-soft);
}

/* @critical:end */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--p24-line);
    background: var(--p24-card);
    box-shadow: 0 6px 22px rgb(19 27 44 / 5%);
}

/* @critical:start */
.utility-bar,
.main-header {
    width: 100%;
    padding-right: max(22px, calc((100% - 1240px) / 2));
    padding-left: max(22px, calc((100% - 1240px) / 2));
}

/* @critical:end */

/* @critical:start */
.utility-bar {
    min-height: 36px;
    color: #cfd5df;
    background: var(--p24-dark);
    font-size: 13px;
}

/* @critical:end */
.utility-links a,
.utility-meta a {
    transition: color 0.16s ease, background 0.16s ease;
}

.utility-links a:hover,
.utility-meta a:hover {
    color: #fff;
}

/* @critical:start */
.language-switcher {
    border-color: rgb(255 255 255 / 12%);
    background: rgb(255 255 255 / 4%);
}

/* @critical:end */
.language-switcher a {
    min-width: 32px;
    color: #cfd5df;
}

.language-switcher a.is-active {
    color: #fff;
    background: rgb(255 255 255 / 14%);
}

/* @critical:start */
.main-header {
    gap: 18px;
    min-height: 82px;
    padding-top: 14px;
    padding-bottom: 14px;
    background: #fff;
}

/* @critical:end */
.site-logo,
.footer-logo {
    font-size: 31px;
    line-height: 1;
    letter-spacing: 0;
}

.site-logo span,
.footer-logo span {
    color: var(--p24-accent);
}

.catalog-button {
    min-width: 128px;
    min-height: 52px;
    padding: 0 20px;
    border-radius: var(--p24-radius);
    background: var(--p24-accent);
    box-shadow: 0 8px 16px rgb(215 25 98 / 22%);
}

.catalog-button:hover,
.search-form button:hover,
.buy-button:hover,
.primary-link:hover,
.card-cart-button:hover,
.checkout-place-button:hover {
    background: var(--p24-accent-hover);
}

/* @critical:start */
.catalog-icon {
    display: grid;
    grid-template-columns: repeat(2, 6px);
    grid-template-rows: repeat(2, 6px);
    gap: 3px;
}

/* @critical:end */
.catalog-icon::before,
.catalog-icon::after {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background:
        linear-gradient(#fff 0 0) 0 0 / 6px 6px no-repeat,
        linear-gradient(#fff 0 0) 9px 0 / 6px 6px no-repeat,
        linear-gradient(#fff 0 0) 0 9px / 6px 6px no-repeat,
        linear-gradient(#fff 0 0) 9px 9px / 6px 6px no-repeat;
}

.catalog-icon::after {
    display: none;
}

/* @critical:start */
.search-form {
    height: 54px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f1f4f9;
}

/* @critical:end */
.search-form:focus-within {
    border-color: rgb(215 25 98 / 34%);
    background: #fff;
}

/* @critical:start */
.search-form input {
    padding-left: 22px;
    color: var(--p24-ink);
    font-size: 15px;
}

/* @critical:end */

/* @critical:start */
.search-form button {
    position: relative;
    width: 44px;
    height: 44px;
    margin: 5px 6px 5px 0;
    background: var(--p24-accent);
}

/* @critical:end */
.search-form button span {
    position: absolute;
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateX(-2px) rotate(45deg);
}

.search-form button span::before {
    content: "";
    position: absolute;
    top: 5px;
    right: -2px;
    width: 15px;
    height: 2px;
    background: #fff;
    transform: rotate(-45deg);
    transform-origin: right center;
}

.header-actions {
    gap: 9px;
}

.header-action,
.header-actions > span.header-action,
.cart-action {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #eef1f6;
    border-radius: 50%;
    color: var(--p24-ink);
    background: #fff;
    box-shadow: 0 6px 18px rgb(17 24 39 / 6%);
}

/* @critical:start */
.header-actions button.header-action {
    padding: 0;
    font: inherit;
    cursor: pointer;
}

/* @critical:end */
.header-action-theme::before {
    content: "";
    width: 17px;
    height: 17px;
    border-radius: 50%;
    box-shadow: inset -6px 0 0 var(--p24-ink);
}

.header-action-favorite::before,
.favorite-button::before,
.wishlist-button::before {
    content: "";
    width: 18px;
    height: 16px;
    background:
        radial-gradient(circle at 30% 30%, currentcolor 0 6px, transparent 6px),
        radial-gradient(circle at 70% 30%, currentcolor 0 6px, transparent 6px),
        linear-gradient(45deg, transparent 0 31%, currentcolor 31% 69%, transparent 69%);
    transform: rotate(0deg);
}

.header-action-favorite.is-active,
.favorite-button.is-active,
.wishlist-button.is-active {
    color: var(--accent);
}

.header-action-profile::before {
    content: "";
    width: 20px;
    height: 20px;
    background:
        radial-gradient(circle at 50% 30%, currentcolor 0 5px, transparent 5.5px),
        radial-gradient(ellipse at 50% 92%, currentcolor 0 9px, transparent 9.5px);
}

/* @critical:start */
.cart-icon {
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid currentcolor;
    border-radius: 4px;
}

/* @critical:end */
.header-actions .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    background: transparent;
}

.header-actions .cart-icon {
    width: 18px;
    height: 18px;
    border: 2px solid currentcolor;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
}

.cart-icon::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 3px;
    width: 8px;
    height: 8px;
    border: 2px solid currentcolor;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.cart-action strong {
    top: -3px;
    right: -3px;
    background: var(--p24-accent);
}

.page-shell {
    width: var(--p24-page);
    padding: 22px 0 72px;
}

.breadcrumbs {
    margin: 0 0 18px;
    color: var(--p24-muted);
    font-size: 13px;
}

.content-section,
.cart-list-card,
.cart-summary-card,
.checkout-section,
.checkout-panel,
.order-summary,
.empty-cart {
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: var(--p24-card);
    box-shadow: 0 10px 28px rgb(17 24 39 / 4%);
}

.content-section {
    padding: 22px;
}

.content-section + .content-section {
    margin-top: 18px;
}

.section-heading {
    min-height: 34px;
    margin-bottom: 18px;
}

.section-heading h1,
.section-heading h2 {
    margin: 0;
    color: var(--p24-ink);
    font-size: 26px;
    line-height: 1.2;
}

.section-heading a,
.section-heading span {
    color: var(--p24-muted);
    font-size: 14px;
    font-weight: 800;
}

/* @critical-home:start */
.store-hero {
    min-height: 270px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background:
        linear-gradient(90deg, rgb(255 255 255 / 98%) 0%, rgb(255 255 255 / 88%) 47%, rgb(244 246 251 / 72%) 100%),
        #fff;
    box-shadow: 0 10px 28px rgb(17 24 39 / 4%);
}

/* @critical-home:end */
.hero-copy {
    padding: 38px;
}

.section-label {
    color: var(--p24-accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 520px;
    color: var(--p24-ink);
    font-size: 34px;
    line-height: 1.15;
}

.hero-image {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    padding: 22px;
}

.primary-link,
.buy-button,
.card-cart-button,
.checkout-place-button {
    border-radius: var(--p24-radius);
    background: var(--p24-accent);
}

.subcategory-item,
.category-tree a {
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
    transition: border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.subcategory-item:hover,
.category-tree a:hover {
    border-color: rgb(215 25 98 / 30%);
    color: var(--p24-accent);
    box-shadow: 0 8px 20px rgb(17 24 39 / 6%);
}

.subcategory-item {
    min-height: 58px;
    padding: 14px 16px;
}

.subcategory-list {
    gap: 12px;
    margin-bottom: 22px;
}

.category-tree {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
}

.category-tree .category-tree {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 7px;
    padding-left: 10px;
    border-left: 2px solid #f0f2f6;
}

.category-tree-item {
    list-style: none;
}

.category-tree a {
    min-height: 46px;
    padding: 11px 12px;
}

.category-tree .category-tree a {
    min-height: 38px;
    padding: 8px 10px;
    color: #4d5666;
    font-size: 13px;
    background: #fafbfe;
}

.product-list {
    grid-template-columns: repeat(auto-fill, minmax(246px, 1fr));
    gap: 14px;
}

.product-card {
    grid-template-rows: 235px minmax(142px, 1fr) auto;
    min-height: 505px;
    padding: 12px;
    border-color: var(--p24-line);
    border-radius: var(--p24-radius);
    box-shadow: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.product-card:hover {
    border-color: rgb(215 25 98 / 34%);
    box-shadow: 0 12px 28px rgb(17 24 39 / 8%);
    transform: translateY(-1px);
}

.product-image {
    height: 235px;
    border-radius: var(--p24-radius);
    background: #fff;
}

.product-image img {
    padding: 14px;
}

.favorite-button {
    top: 9px;
    right: 9px;
    width: 38px;
    height: 38px;
    color: #333b4c;
    font-size: 0;
    box-shadow: 0 7px 18px rgb(17 24 39 / 9%);
}

.product-info {
    gap: 8px;
}

.product-brand {
    color: #939baa;
    font-size: 12px;
    letter-spacing: 0;
}

.product-title {
    min-height: 58px;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.32;
}

.stock-status,
.delivery-status {
    color: var(--p24-muted);
    font-size: 13px;
}

.stock-status::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentcolor;
}

.stock-status.is-available {
    color: var(--p24-success);
}

.stock-status.is-empty {
    color: #9b243f;
}

.product-purchase {
    gap: 10px;
}

.product-price {
    color: var(--p24-ink);
    font-size: 23px;
    font-weight: 900;
}

.card-cart-button {
    min-height: 42px;
    padding: 0 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.card-cart-button:disabled,
.buy-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.image-placeholder {
    color: #7b8494;
    background:
        linear-gradient(135deg, rgb(215 25 98 / 7%), rgb(17 24 39 / 3%)),
        #f6f8fc;
}

.image-placeholder-mark {
    border-color: rgb(215 25 98 / 24%);
    color: var(--p24-accent);
}

.product-page {
    grid-template-columns: minmax(0, 590px) minmax(360px, 1fr);
    gap: 46px;
}

.product-gallery-main {
    min-height: 540px;
    border-color: var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
    box-shadow: 0 10px 28px rgb(17 24 39 / 4%);
}

.product-gallery-main img {
    max-height: 540px;
    padding: 42px;
}

.gallery-zoom,
.gallery-nav,
.wishlist-button,
.cart-remove-button {
    border-color: var(--p24-line);
    box-shadow: 0 8px 18px rgb(17 24 39 / 7%);
}

.gallery-thumb {
    border-color: var(--p24-line);
    border-radius: var(--p24-radius);
}

.gallery-thumb.is-active {
    border-color: var(--p24-accent);
    box-shadow: inset 0 0 0 1px var(--p24-accent);
}

.product-buy-box {
    gap: 18px;
}

.product-buy-box h1 {
    font-size: 32px;
    line-height: 1.2;
}

.product-detail-price {
    color: var(--p24-ink);
    font-size: 43px;
}

.price-note {
    color: var(--p24-muted);
}

.product-stock.is-available,
.cart-stock.is-available {
    color: var(--p24-success);
}

.product-buy-form {
    grid-template-columns: 126px minmax(0, 1fr) 54px;
}

.quantity-control {
    min-height: 54px;
    border-color: var(--p24-line);
    border-radius: 999px;
}

.product-buy-form .buy-button {
    min-height: 54px;
    font-size: 16px;
    font-weight: 900;
}

.wishlist-button {
    color: #333b4c;
    font-size: 0;
}

.delivery-block {
    border-top-color: var(--p24-line);
}

.delivery-block-head span {
    color: var(--p24-accent);
}

.delivery-row {
    border-top-color: var(--p24-line);
}

.checkout-option-icon {
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--p24-accent);
    background: #fff2f7;
    font-weight: 900;
}

.cart-page,
.checkout-flow,
.checkout-page {
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
}

.checkout-steps {
    margin-bottom: 24px;
}

.checkout-step {
    color: var(--p24-muted);
    font-weight: 900;
}

.cart-heading,
.checkout-heading {
    margin-bottom: 18px;
}

.cart-heading h1,
.checkout-heading h1 {
    font-size: 30px;
}

.cart-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.cart-list-card,
.cart-summary-card,
.checkout-section,
.checkout-panel,
.order-summary,
.empty-cart {
    padding: 18px;
}

.cart-list-card .cart-item {
    grid-template-columns: 102px minmax(0, 1fr) auto 36px;
    gap: 16px;
    padding: 16px 0;
    border-bottom-color: var(--p24-line);
}

.cart-list-card .cart-item:first-child {
    padding-top: 0;
}

.cart-list-card .cart-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.cart-item-image {
    width: 102px;
    height: 102px;
    border-color: var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.cart-item-title {
    color: var(--p24-ink);
    font-size: 15px;
    font-weight: 800;
}

.cart-item-price strong {
    font-size: 20px;
}

.cart-summary-card {
    max-width: 420px;
}

.cart-summary-card dl,
.checkout-total-list,
.order-summary dl {
    display: grid;
    gap: 10px;
}

.cart-summary-card dl div,
.checkout-total-list div,
.order-summary dl div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.summary-total {
    padding-top: 12px;
    border-top: 1px solid var(--p24-line);
}

.summary-total dd,
.summary-total b {
    color: var(--p24-ink);
    font-size: 24px;
    font-weight: 900;
}

.secondary-link,
.checkout-back-link {
    color: var(--p24-muted);
    font-weight: 800;
}

.checkout-form {
    display: grid;
    gap: 16px;
}

.checkout-section {
    display: grid;
    gap: 16px;
}

.checkout-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-section-head span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: var(--p24-accent);
    font-weight: 900;
}

.checkout-section-head h2 {
    margin: 0;
    font-size: 22px;
}

.checkout-fields {
    gap: 12px;
}

.field span {
    color: #4b5563;
    font-size: 13px;
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgb(215 25 98 / 42%);
    outline: 0;
    box-shadow: 0 0 0 3px rgb(215 25 98 / 8%);
}

.checkout-option-list {
    gap: 10px;
}

.checkout-option {
    border-color: var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.checkout-option:hover,
.checkout-option.is-active {
    border-color: rgb(215 25 98 / 36%);
    box-shadow: 0 8px 20px rgb(17 24 39 / 6%);
}

.checkout-option-radio {
    border-color: #c7ceda;
}

.checkout-option.is-active .checkout-option-radio {
    border-color: var(--p24-accent);
    box-shadow: inset 0 0 0 5px #fff;
    background: var(--p24-accent);
}

.delivery-extra {
    border-color: var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fafbfe;
}

.delivery-country-field {
    max-width: 360px;
}

.courier-address-fields {
    align-items: end;
}

.courier-street-field {
    grid-column: 1 / -1;
}

.courier-location-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.courier-location-row .parcel-location-status {
    margin: 0;
}

.address-attribution {
    color: var(--p24-muted);
    font-size: 12px;
}

.address-attribution a {
    color: inherit;
    text-decoration: underline;
}

.parcel-locker-list {
    gap: 8px;
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.parcel-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 10px;
}

.parcel-search-field {
    margin: 0;
}

.parcel-nearest-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    color: var(--p24-dark);
    background: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.parcel-nearest-button:hover {
    border-color: var(--p24-accent);
    color: var(--p24-accent);
}

.parcel-nearest-button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.parcel-nearest-button .ui-icon {
    width: 18px;
    height: 18px;
}

.parcel-location-status {
    margin: 0 0 10px;
    color: var(--p24-muted);
    font-size: 0.86rem;
    line-height: 1.4;
}

.parcel-location-status:empty {
    display: none;
}

.parcel-locker-option {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: start;
}

.parcel-locker-option .checkout-option-body {
    min-width: 0;
}

.parcel-locker-option .checkout-option-body strong {
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.parcel-locker-option .checkout-option-body small {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.parcel-distance {
    place-self: start end;
    padding: 2px 7px;
    border-radius: 999px;
    color: var(--p24-success, #178558);
    background: #eef9f4;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.4;
    white-space: nowrap;
}

.parcel-more-button {
    width: 100%;
    min-height: 44px;
    margin-top: 2px;
    padding: 0 16px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    color: var(--p24-dark);
    background: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.parcel-more-button:hover,
.parcel-more-button:focus-visible {
    border-color: var(--p24-accent);
    color: var(--p24-accent);
}

.parcel-more-button:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgb(215 25 98 / 10%);
}

.parcel-more-button[hidden] {
    display: none;
}

.checkout-place-button {
    width: 100%;
    min-height: 54px;
    font-weight: 900;
}

.recaptcha-v3-status {
    margin: 8px 0 0;
    color: var(--p24-danger, #a50012);
    font-size: 13px;
    line-height: 1.45;
}

.site-footer {
    color: #d6dce7;
    background: var(--p24-dark);
}

.footer-column h2,
.footer-company strong {
    color: #fff;
}

.footer-company p,
.footer-company address,
.footer-contact,
.footer-column {
    color: #aeb7c6;
}

.footer-column a:hover,
.footer-column button:hover,
.footer-contact a:hover {
    color: #fff;
}

@media (width <= 980px) {
:root {
        --p24-page: min(100% - 28px, 1240px);
    }

.site-header {
        position: static;
    }

.main-header {
        display: grid;
        grid-template-columns: 1fr auto;
    }

.catalog-button,
.search-form,
.header-actions {
        grid-column: 1 / -1;
    }

.product-page {
        grid-template-columns: 1fr;
        gap: 22px;
    }

.product-gallery-main {
        min-height: 420px;
    }

.cart-summary-card {
        max-width: none;
    }




}

@media (width <= 620px) {
:root {
        --p24-page: min(100% - 20px, 1240px);
    }

.utility-bar {
        min-height: 42px;
    }

.utility-links {
        display: none;
    }

.utility-meta {
        width: 100%;
        justify-content: space-between;
    }

.main-header {
        padding-top: 12px;
        padding-bottom: 12px;
    }

.site-logo {
        font-size: 28px;
    }

.header-actions {
        justify-content: space-between;
    }

.store-hero {
        grid-template-columns: 1fr;
    }

.hero-copy {
        padding: 24px;
    }

.hero-copy h1 {
        font-size: 27px;
    }

.hero-image {
        max-height: 190px;
        padding-top: 0;
    }

.content-section {
        padding: 16px;
    }

.section-heading {
        align-items: flex-start;
    }

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

.product-card {
        grid-template-rows: 150px minmax(148px, 1fr) auto;
        min-height: 410px;
        padding: 9px;
    }

.product-image {
        height: 150px;
    }

.product-title {
        min-height: 72px;
        font-size: 13px;
    }

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

.product-buy-box h1 {
        font-size: 25px;
    }

.product-detail-price {
        font-size: 34px;
    }

.product-buy-form {
        grid-template-columns: 1fr 54px;
    }

.product-buy-form .quantity-control,
.product-buy-form .buy-button {
        grid-column: 1 / -1;
    }

.cart-list-card .cart-item {
        grid-template-columns: 82px minmax(0, 1fr) 34px;
        gap: 12px;
    }

.cart-item-image {
        width: 82px;
        height: 82px;
    }

.cart-item-price {
        grid-column: 2 / 3;
    }

.cart-item-remove {
        grid-column: 3;
        grid-row: 1;
    }

.checkout-fields,
.checkout-option {
        grid-template-columns: 1fr;
    }

.checkout-option {
        padding: 14px;
    }

.checkout-option b {
        grid-column: auto;
        justify-self: start;
    }

.parcel-search-row {
        grid-template-columns: 1fr;
    }

.parcel-nearest-button {
        width: 100%;
    }

.courier-street-field {
        grid-column: auto;
    }

.courier-location-row {
        display: grid;
        gap: 8px;
    }

.parcel-locker-option {
        grid-template-columns: 22px minmax(0, 1fr) auto;
        align-items: start;
        gap: 10px;
    }

.parcel-locker-option .checkout-option-body {
        grid-column: auto;
    }

.parcel-distance {
        grid-column: auto;
        justify-self: end;
    }

.footer-main,
.footer-bottom {
        width: var(--p24-page);
    }




}

/* Public page completeness pass. */
.catalog-page {
    display: grid;
    gap: 18px;
}

.catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    min-height: 64px;
}

.catalog-heading h1 {
    margin: 4px 0 0;
    color: var(--p24-ink);
    font-size: 31px;
    line-height: 1.16;
}

.catalog-query-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgb(215 25 98 / 20%);
    border-radius: 999px;
    color: var(--p24-accent);
    background: #fff2f7;
    font-weight: 900;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.catalog-sidebar,
.catalog-results,
.static-page,
.static-nav,
.message.content-section {
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
    box-shadow: 0 10px 28px rgb(17 24 39 / 4%);
}

.catalog-sidebar {
    position: sticky;
    top: 190px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    max-height: calc(100vh - 210px);
    gap: 0;
    overflow: hidden;
}

.catalog-sidebar h2 {
    margin: 0;
    padding: 18px 18px 14px;
    color: var(--p24-ink);
    font-size: 20px;
}

.catalog-filter-group {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border-top: 1px solid var(--p24-line);
}

.catalog-filter-form {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.catalog-filter-group:nth-of-type(3) {
    min-height: 0;
    overflow-y: auto;
}

.catalog-filter-group h3 {
    margin: 0;
    color: var(--p24-ink);
    font-size: 14px;
}

.catalog-facet-search-row > label {
    flex: 1;
    min-width: 0;
}

.catalog-filter-group label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 700;
}

.catalog-filter-group input {
    width: 17px;
    height: 17px;
    accent-color: var(--p24-accent);
}

.catalog-filter-group small {
    color: var(--p24-muted);
    font-size: 12px;
}

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

.catalog-price-inputs label {
    display: grid;
    gap: 5px;
}

.catalog-price-inputs label span {
    color: var(--p24-muted);
    font-size: 12px;
}

.catalog-price-inputs input {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.catalog-filter-empty {
    margin: 0;
    color: var(--p24-muted);
    font-size: 13px;
}

.catalog-filter-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 16px 18px;
    border-top: 1px solid var(--p24-line);
    background: #fff;
    box-shadow: 0 -8px 18px rgb(17 24 39 / 6%);
}

.catalog-filter-actions button,
.catalog-sort button {
    min-height: 38px;
    border: 0;
    border-radius: var(--p24-radius);
    color: #fff;
    background: var(--p24-accent);
    font-weight: 900;
    cursor: pointer;
}

.catalog-filter-actions a {
    display: inline-flex;
    align-items: center;
    color: var(--p24-muted);
    font-size: 13px;
    font-weight: 900;
}

.catalog-price-range {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--p24-muted);
    font-size: 13px;
    font-weight: 800;
}

.catalog-results {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 14px;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 48px;
    padding: 0 2px 12px;
    border-bottom: 1px solid var(--p24-line);
}

.catalog-count {
    color: var(--p24-muted);
    font-size: 14px;
    font-weight: 900;
}

.catalog-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-sort select {
    min-height: 38px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--p24-line);
    border-radius: 999px;
    color: #4b5563;
    background: #fff;
    font-weight: 800;
}

.catalog-sort button {
    padding: 0 14px;
}

.catalog-index-page .category-tree {
    padding: 16px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
    box-shadow: 0 10px 28px rgb(17 24 39 / 4%);
}

.static-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 780px);
    gap: 18px;
    align-items: start;
}

.static-nav {
    display: grid;
    overflow: hidden;
}

.static-nav a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--p24-line);
    color: #374151;
    font-weight: 900;
}

.static-nav a:hover {
    color: var(--p24-accent);
    background: #fff8fb;
}

.static-nav a:last-child {
    border-bottom: 0;
}

.static-page {
    max-width: none;
    padding: 28px;
}

.static-page h1 {
    margin: 6px 0 18px;
    font-size: 32px;
}

.static-copy {
    max-width: 680px;
    color: #303746;
    font-size: 16px;
    line-height: 1.72;
}

.static-copy p {
    margin: 0 0 14px;
}

.message.content-section {
    display: grid;
    gap: 14px;
    max-width: 620px;
    margin: 34px auto 0;
    padding: 42px;
    text-align: center;
}

.message.content-section h1 {
    margin: 0;
    color: var(--p24-ink);
    font-size: 56px;
}

.message.content-section p {
    margin: 0;
    color: var(--p24-muted);
    font-size: 17px;
}

.message.content-section .primary-link {
    justify-self: center;
    min-width: 160px;
    margin-top: 8px;
}

.checkout-step:not(:last-child)::after {
    top: 18px;
}

@media (width <= 980px) {
.catalog-layout,
.static-layout {
        grid-template-columns: 1fr;
    }

.catalog-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        max-height: none;
        overflow: visible;
    }

.catalog-filter-form {
        display: contents;
        grid-template-rows: none;
        overflow: visible;
    }

.catalog-filter-group:nth-of-type(3) {
        overflow: visible;
    }

.catalog-filter-actions {
        position: static;
        box-shadow: none;
    }

.catalog-sidebar h2 {
        grid-column: 1 / -1;
    }

.catalog-filter-group:nth-of-type(odd) {
        border-right: 1px solid var(--p24-line);
    }




}

@media (width <= 620px) {
.catalog-heading {
        align-items: start;
        flex-direction: column;
        min-height: 0;
    }

.catalog-heading h1 {
        font-size: 26px;
    }

.catalog-sidebar {
        grid-template-columns: 1fr;
    }

.catalog-filter-form {
        display: grid;
        grid-template-rows: none;
    }

.catalog-filter-group:nth-of-type(odd) {
        border-right: 0;
    }

.catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

.catalog-toolbar-actions {
        justify-content: space-between;
    }

.catalog-sort {
        min-width: 0;
        flex: 1 1 auto;
        align-items: stretch;
        flex-direction: column;
    }

.catalog-sort select {
        width: 100%;
    }

.static-page,
.message.content-section {
        padding: 22px;
    }

.static-page h1 {
        font-size: 27px;
    }



}

/* Final 4shop.lv parity layer. */

/* @critical:start */
:root {
    --p24-ink: #141927;
    --p24-muted: #778091;
    --p24-soft: #f4f6fa;
    --p24-line: #e8ebf1;
    --p24-dark: #091120;
    --p24-accent: #f21f55;
    --p24-accent-hover: #d91849;
    --p24-page: min(1344px, calc(100% - 32px));
}

/* @critical:end */

/* @critical:start */
body * {
    letter-spacing: 0;
}

/* @critical:end */
.site-header {
    position: static;
    border-bottom: 0;
    box-shadow: none;
}

/* @critical:start */
.utility-bar,
.main-header {
    padding-right: max(16px, calc((100% - 1344px) / 2));
    padding-left: max(16px, calc((100% - 1344px) / 2));
}

/* @critical:end */

/* @critical:start */
.utility-bar {
    min-height: 34px;
    background: var(--p24-dark);
}

/* @critical:end */

/* @critical:start */
.main-header {
    min-height: 70px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* @critical:end */

/* @critical:start */
.site-logo {
    position: relative;
    min-width: 102px;
    text-align: left;
}

/* @critical:end */
.site-logo small {
    padding-left: 3px;
    color: #7f8795;
    font-size: 8px;
}

.catalog-button {
    min-width: 132px;
    min-height: 48px;
    border-radius: 8px;
    background: var(--p24-accent);
    box-shadow: none;
}

/* @critical:start */
.search-form {
    height: 48px;
    border: 0;
    background: #f0f2f7;
}

/* @critical:end */
.search-form > .sr-only {
    position: absolute;
}

.search-form::before {
    display: none;
}

/* @critical:start */
.search-form button {
    width: 40px;
    height: 40px;
    margin: 4px 5px 4px 0;
    background: var(--p24-accent);
}

/* @critical:end */
.search-form button span {
    width: 13px;
    height: 13px;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-1px, -1px);
}

.search-form button span::before {
    top: 9px;
    right: -5px;
    width: 7px;
    height: 2px;
    background: #fff;
    transform: rotate(45deg);
    transform-origin: center;
}

.header-action,
.header-actions > span.header-action,
.cart-action {
    border: 0;
    box-shadow: none;
}

.cart-action {
    color: var(--p24-accent);
    background: #fff0f4;
}

.page-shell {
    width: var(--p24-page);
    padding-top: 18px;
}

/* @critical-home:start */
.store-hero {
    position: relative;
    display: block;
    height: 438px;
    min-height: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #d4e8f8;
    box-shadow: none;
}

/* @critical-home:end */
.store-hero::after {
    display: none;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

.hero-copy {
    position: absolute;
    z-index: 1;
    right: auto;
    bottom: 38px;
    left: 40px;
    max-width: 430px;
    padding: 0;
}

.hero-copy .section-label {
    display: none;
}

.hero-copy h1 {
    max-width: 430px;
    margin: 0 0 18px;
    color: #fff;
    font-size: 34px;
    line-height: 1.12;
    text-shadow: 0 2px 14px rgb(10 24 43 / 34%);
}

.hero-copy .primary-link {
    min-height: 44px;
    padding: 0 21px;
    border-radius: 999px;
    color: #fff;
    background: var(--p24-accent);
}

.store-benefits {
    display: grid;
    grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
    overflow: visible;
    border: 0;
    background: transparent;
}

.store-benefit {
    position: relative;
    display: block;
    min-height: 126px;
    overflow: hidden;
    padding: 24px 74px 22px 20px;
    border-radius: 8px;
    color: var(--p24-ink);
    background: #dfebfa;
}

.store-benefit > span:last-child {
    display: grid;
    gap: 7px;
}

.store-benefit strong {
    color: inherit;
    font-size: 16px;
    line-height: 1.25;
}

.store-benefit small {
    color: rgb(20 25 39 / 64%);
    font-size: 12px;
    line-height: 1.35;
}

.store-benefit:hover strong {
    color: inherit;
}

.store-benefit-icon {
    position: absolute;
    right: 16px;
    bottom: 15px;
    width: 48px;
    height: 48px;
    color: var(--p24-accent);
    background: transparent;
    opacity: 0.28;
}

.home-categories {
    margin-top: 36px;
}

.home-categories .section-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: 8px;
    background: var(--p24-line);
}

.home-products {
    margin-top: 44px;
}

.site-footer {
    color: #697181;
    background: #fff;
}

.footer-main,
.footer-bottom {
    width: var(--p24-page);
}

.footer-main .footer-logo,
.footer-column h2,
.footer-company strong {
    color: var(--p24-ink);
}

.footer-company p,
.footer-company address,
.footer-contact,
.footer-column {
    color: #737b8a;
}

.footer-column a:hover,
.footer-contact a:hover {
    color: var(--p24-accent);
}

.footer-bottom {
    border-top: 1px solid var(--p24-line);
    color: #8b93a2;
}

@media (width <= 980px) {
:root {
        --p24-page: min(100% - 28px, 1344px);
    }

.store-hero {
        height: 380px;
    }

.store-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }




}

@media (width <= 620px) {
:root {
        --p24-page: min(100% - 20px, 1344px);
    }

.site-logo {
        min-width: 96px;
    }

.store-hero {
        height: 330px;
    }

.hero-image {
        object-position: 61% center;
    }

.hero-copy {
        right: 22px;
        bottom: 24px;
        left: 22px;
    }

.hero-copy h1 {
        max-width: 290px;
        font-size: 27px;
    }

.store-benefits,
.home-category-grid {
        grid-template-columns: 1fr;
    }

.store-benefit {
        min-height: 104px;
    }





}

/* Crisp storefront icon system */

/* @critical:start */
.ui-icon {
    display: block;
    width: 24px;
    height: 24px;
    min-width: 0;
    min-height: 0;
    flex: 0 0 auto;
    overflow: visible;
    box-sizing: border-box;
}

/* @critical:end */
.ui-icon::before,
.ui-icon::after,
.catalog-icon::before,
.catalog-icon::after,
.cart-icon::before,
.header-action-favorite::before,
.favorite-button::before,
.wishlist-button::before,
.store-benefit-icon::before,
.product-benefit-icon::before,
.subcategory-icon::before,
.checkout-option-icon::before {
    display: none;
    content: none;
}

/* @critical:start */
svg.catalog-icon {
    display: block;
    width: 18px;
    height: 18px;
}

/* @critical:end */
.search-form button .search-icon {
    position: static;
    width: 19px;
    height: 19px;
    border: 0;
    border-radius: 0;
    transform: none;
}

.header-action > .ui-icon {
    width: 21px;
    height: 21px;
}

svg.cart-icon,
.header-actions svg.cart-icon {
    width: 21px;
    height: 21px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

svg.store-benefit-icon {
    display: block;
    width: 48px;
    height: 48px;
    padding: 7px;
}

svg.subcategory-icon {
    display: block;
    width: 46px;
    height: 46px;
    padding: 11px;
}

svg.product-benefit-icon {
    display: block;
    width: 46px;
    height: 46px;
    padding: 10px;
}

svg.checkout-option-icon {
    display: block;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
}

.favorite-button > .ui-icon,
.wishlist-button > .ui-icon {
    width: 20px;
    height: 20px;
}

.favorite-button.is-active > .ui-icon,
.wishlist-button.is-active > .ui-icon,
.header-action-favorite.is-active > .ui-icon {
    fill: currentcolor;
}

.button-icon {
    width: 18px;
    height: 18px;
}

.card-cart-button,
.buy-button,
.checkout-back-link {
    gap: 8px;
}

.checkout-back-link {
    display: inline-flex;
    align-items: center;
}

.checkout-back-link > .ui-icon {
    width: 18px;
    height: 18px;
}

.gallery-nav > .ui-icon,
.gallery-zoom > .ui-icon {
    width: 19px;
    height: 19px;
}




/* Pirkt24 storefront — Baltic redline commerce. Loaded after the legacy/admin layer. */

/* @critical:start */

:root {
    color-scheme: light;

    --sp-d: color-mix(in srgb, var(--shop-primary) 80%, #000);
    --sp-m: color-mix(in srgb, var(--shop-primary) 72%, #000);
    --sp-i: color-mix(in srgb, var(--shop-primary) 40%, #000);
    --p24-red: var(--shop-primary, #f20a17);
    --p24-red-dark: var(--sp-d, #c90011);
    --sp-l: color-mix(in srgb, var(--shop-primary) 55%, #fff);
    --p24-on-red: var(--shop-on-primary, #fff);
    --p24-burgundy: var(--sp-m, #720610);
    --p24-burgundy-deep: var(--sp-i, #3f050b);
    --p24-ink: #211719;
    --p24-muted: #75686a;
    --p24-cream: #fffaf7;
    --p24-blush: #f8e9e7;
    --p24-paper: #fff;
    --p24-media-surface: #fbfaf9;
    --p24-line: #eadcda;
    --p24-success: #16734a;
    --p24-warning: #9a5b00;
    --p24-shadow: 0 24px 60px rgb(82 10 19 / 10%);
    --p24-radius-sm: 10px;
    --p24-radius: 18px;
    --p24-radius-lg: 28px;
    --p24-max: 1360px;
    --accent: var(--p24-red);
    --accent-hover: var(--p24-red-dark);
    --text: var(--p24-ink);
    --muted: var(--p24-muted);
    --line: var(--p24-line);
    --surface: var(--p24-cream);
    --dark: var(--p24-burgundy-deep);
    --success: var(--p24-success);
}

.storefront-body,
.storefront-body button,
.storefront-body input,
.storefront-body select,
.storefront-body textarea {
    font-family: "Pirkt24 Inter", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.storefront-body {
    margin: 0;
    overflow-x: hidden;
    color: var(--p24-ink);
    background:
        radial-gradient(circle at 10% 0, rgb(from var(--p24-red) r g b/4.5%), transparent 24rem),
        var(--p24-cream);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.storefront-body img {
    max-width: 100%;
}

.storefront-body [hidden] {
    display: none !important;
}

.storefront-body a,
.storefront-body button,
.storefront-body input,
.storefront-body select,
.storefront-body textarea {
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease, opacity .2s ease;
}

.storefront-body a:focus-visible,
.storefront-body button:focus-visible,
.storefront-body input:focus-visible,
.storefront-body select:focus-visible,
.storefront-body textarea:focus-visible {
    outline: 3px solid rgb(from var(--p24-red) r g b/28%);
    outline-offset: 3px;
}

.storefront-body h1,
.storefront-body h2,
.storefront-body h3,
.storefront-body p {
    margin-top: 0;
}

.storefront-body h1,
.storefront-body h2,
.storefront-body h3 {
    color: var(--p24-burgundy-deep);
    font-weight: 760;
    letter-spacing: 0;
    line-height: 1.12;
}

.storefront-body .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.storefront-body .ui-icon {
    width: 1.25em;
    height: 1.25em;
    stroke-width: 1.8;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    transform: translateY(-160%);
    border-radius: 8px;
    background: #fff;
    color: var(--p24-burgundy);
    box-shadow: var(--p24-shadow);
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

/* Header */
.storefront-body .site-header {
    position: sticky;
    z-index: 120;
    top: 0;
    border: 0;
    background: rgb(255 250 247 / 96%);
    box-shadow: 0 1px 0 rgb(from var(--p24-burgundy) r g b/10%);
    backdrop-filter: blur(16px);
}

.storefront-body .utility-bar,
.storefront-body .main-header {
    padding-right: max(24px, calc((100vw - var(--p24-max)) / 2));
    padding-left: max(24px, calc((100vw - var(--p24-max)) / 2));
}

.storefront-body .utility-bar {
    min-height: 34px;
    gap: 20px;
    color: rgb(255 255 255 / 72%);
    background: var(--p24-burgundy-deep);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .02em;
}

.storefront-body .utility-links,
.storefront-body .utility-meta {
    gap: 22px;
}

.storefront-body .language-switcher {
    gap: 2px;
    padding: 0;
    border: 0;
}

.storefront-body .language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    padding: 0 5px;
    border-radius: 6px;
    color: rgb(255 255 255 / 62%);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.storefront-body .language-switcher a.is-active {
    color: var(--p24-burgundy-deep);
    background: #fff;
}

.storefront-body .phone {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    color: #fff;
    font-size: 13px;
    letter-spacing: .01em;
}

.storefront-body .main-header {
    display: grid;
    grid-template-columns: 190px auto minmax(280px, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-height: 94px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.storefront-body .site-logo {
    display: block;
    width: 188px;
    min-width: 0;
    font-size: 0;
}

.storefront-body .site-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.storefront-body .catalog-button,
.storefront-body .buy-button,
.storefront-body .primary-link,
.storefront-body .card-cart-button,
.storefront-body .catalog-filter-actions button,
.storefront-body .catalog-sort button {
    border: 1px solid var(--shop-primary, #c90a1b);
    border-radius: 999px;
    background: var(--shop-primary, #c90a1b);
    color: #fff;
    box-shadow: none;
    font-weight: 700;
    letter-spacing: 0;
}

.storefront-body .catalog-button {
    min-height: 48px;
    padding: 0 20px;
    white-space: nowrap;
}

.storefront-body .search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    width: 100%;
    min-width: 0;
    height: 52px;
    border: 1px solid var(--p24-line);
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 55%);
}

.storefront-body .search-form:focus-within {
    border-color: var(--p24-red);
    box-shadow: 0 0 0 3px rgb(from var(--p24-red) r g b/9%);
}

.storefront-body .search-form input {
    padding: 0 18px 0 22px;
    color: var(--p24-ink);
    font-size: 15px;
}

.storefront-body .search-form input::placeholder {
    color: #9e9192;
}

.storefront-body .search-form input:focus,
.storefront-body .search-form input:focus-visible {
    outline: 0;
}

.storefront-body .search-form button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 4px 5px 4px 0;
    border: 0;
    border-radius: 50%;
    background: var(--p24-burgundy);
    color: #fff;
}

.storefront-body .header-actions {
    gap: 8px;
}

.storefront-body .header-action {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--p24-line);
    border-radius: 50%;
    background: #fff;
    color: var(--p24-burgundy);
    cursor: pointer;
}

.storefront-body .header-action strong {
    position: absolute;
    top: -5px;
    right: -4px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border: 2px solid var(--p24-cream);
    border-radius: 999px;
    background: var(--p24-red);
    color: var(--p24-on-red);
    font-size: 10px;
    line-height: 1;
}

@font-face {
    font-family: "Pirkt24 Inter";
    src: url("/assets/fonts/InterLatin.woff2?v=7e673292f47f") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: optional;
    unicode-range: U+0000-024F, U+2000-206F, U+20AC, U+20B0, U+2113, U+2122, U+2190-21FF, U+FEFF;
}

@font-face {
    font-family: "Pirkt24 Inter";
    src: url("/assets/fonts/InterCyrillic.woff2?v=6b1e1fce0f2b") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: optional;
    unicode-range: U+0400-052F;
}

@media (width <= 1180px) {
    .storefront-body .main-header {
        grid-template-columns: 164px auto minmax(240px, 1fr) auto;
    }

    .storefront-body .site-logo {
        width: 174px;
    }
}

@media (width <= 940px) {
    .storefront-body .site-header {
        position: relative;
    }

    .storefront-body .utility-links {
        display: none;
    }

    .storefront-body .utility-bar {
        flex-direction: row;
        align-items: center;
        min-height: 34px;
    }

    .storefront-body .utility-meta {
        width: 100%;
        justify-content: space-between;
    }

    .storefront-body .main-header {
        grid-template-columns: minmax(140px, auto) auto 1fr;
        min-height: 0;
    }

    .storefront-body .site-logo {
        grid-column: 1;
        grid-row: 1;
        width: 164px;
    }

    .storefront-body .main-header .catalog-button {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
        width: auto;
    }

    .storefront-body .main-header .header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .storefront-body .search-form {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (width <= 640px) {
    .storefront-body .utility-bar,
    .storefront-body .main-header {
        padding-right: 16px;
        padding-left: 16px;
    }

    .storefront-body .utility-links {
        display: none;
    }

    .storefront-body .utility-bar {
        justify-content: flex-end;
    }

    .storefront-body .utility-meta {
        width: 100%;
        justify-content: space-between;
    }

    .storefront-body .main-header {
        grid-template-columns: minmax(120px, 1fr) auto auto;
        grid-template-rows: auto auto;
        gap: 10px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .storefront-body .site-logo {
        grid-column: 1;
        grid-row: 1;
        width: 150px;
    }

    .storefront-body .main-header .catalog-button {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        width: 44px !important;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        font-size: 0;
    }

    .storefront-body .catalog-button .ui-icon {
        width: 19px;
        height: 19px;
    }

    .storefront-body .header-action {
        width: 42px;
        height: 42px;
    }

    .storefront-body .header-action-favorite {
        display: grid;
    }

    .storefront-body .main-header .header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        width: auto;
    }

    .storefront-body .search-form {
        grid-column: 1 / -1;
        grid-row: 2;
        height: 48px;
    }

    .storefront-body .search-form button {
        width: 38px;
        height: 38px;
    }
}

@media (width <= 640px) {
    .storefront-body .main-header .catalog-button {
        flex-direction: column;
        gap: 2px;
        width: 64px !important;
        min-width: 64px;
        height: 56px;
        min-height: 56px;
        padding: 4px;
        border-radius: 16px;
        font-size: 11px;
        line-height: 1.05;
    }
}

/* @critical:end */

.storefront-body .utility-links a:hover,
.storefront-body .utility-meta a:hover {
    color: #fff;
}

.storefront-body .catalog-button:hover,
.storefront-body .buy-button:hover,
.storefront-body .primary-link:hover,
.storefront-body .card-cart-button:hover:not(:disabled),
.storefront-body .catalog-filter-actions button:hover,
.storefront-body .catalog-sort button:hover {
    border-color: var(--p24-burgundy);
    background: var(--p24-burgundy);
    transform: translateY(-1px);
}

.storefront-body .search-form button:hover {
    background: var(--p24-red);
}

.storefront-body .header-action:hover {
    border-color: var(--p24-red);
    color: var(--p24-red);
    transform: translateY(-1px);
}

.storefront-body .search-suggestions {
    top: calc(100% + 8px);
    max-height: min(376px, calc(100vh - 150px));
    padding: 6px;
    overflow: hidden auto;
    border: 1px solid var(--p24-line);
    border-radius: 16px;
    background: rgb(255 255 255 / 98.5%);
    box-shadow: 0 24px 60px rgb(63 5 11 / 16%);
}

.storefront-body .search-suggestion {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    min-height: 60px;
    padding: 6px 8px;
    border: 0;
    border-radius: 11px;
}

.storefront-body .search-suggestion + .search-suggestion {
    margin-top: 2px;
}

.storefront-body .search-suggestion-media {
    position: relative;
    width: 48px;
    height: 48px;
    border: 1px solid var(--p24-line);
    border-radius: 9px;
    background: linear-gradient(145deg, #fff 0%, var(--p24-media-surface) 100%);
}

.storefront-body .search-suggestion-media img {
    position: absolute;
    inset: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    padding: 0;
    object-fit: contain;
}

.storefront-body .search-suggestion:hover,
.storefront-body .search-suggestion.is-active {
    background: var(--p24-cream);
}

.storefront-body .favorites-drawer {
    width: min(460px, 100%);
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0 0 0 auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #fff;
    color: var(--p24-ink);
    box-shadow: -24px 0 70px rgb(70 0 10 / 20%);
}

.storefront-body .favorites-drawer::backdrop,
.storefront-body .product-lightbox::backdrop {
    background: rgb(from var(--sp-i, rgb(31 0 5)) r g b/72%);
    backdrop-filter: blur(4px);
}

.storefront-body .favorites-drawer-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    height: 100%;
}

.storefront-body .favorites-drawer header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid var(--p24-line);
    background: var(--p24-cream);
}

.storefront-body .favorites-drawer hgroup {
    display: grid;
    gap: 3px;
}

.storefront-body .favorites-drawer-eyebrow {
    margin: 0;
    color: var(--p24-red);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.storefront-body .favorites-drawer h2 {
    margin: 0;
    font-size: 26px;
}

.storefront-body .favorites-drawer header button,
.storefront-body .favorite-drawer-item > button {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--p24-line);
    border-radius: 50%;
    background: #fff;
    color: var(--p24-burgundy);
}

.storefront-body .favorites-drawer-list {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 24px;
}

.storefront-body .favorite-drawer-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 34px;
    gap: 13px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--p24-line);
}

.storefront-body .favorite-drawer-media {
    position: relative;
    width: 76px;
    height: 76px;
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: 13px;
    background: var(--p24-media-surface);
}

.storefront-body .favorite-drawer-media img {
    position: absolute;
    inset: 9px;
    width: calc(100% - 18px);
    height: calc(100% - 18px);
    object-fit: contain;
}

.storefront-body .favorite-drawer-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--p24-burgundy);
    font-size: 13px;
    font-weight: 950;
}

.storefront-body .favorite-drawer-fallback[hidden] {
    display: none;
}

.storefront-body .favorite-drawer-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.storefront-body .favorite-drawer-copy a {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.storefront-body .favorite-drawer-copy small {
    overflow: hidden;
    color: var(--p24-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-body .favorite-drawer-copy strong {
    color: var(--p24-red);
    font-size: 13px;
}

.storefront-body .favorite-drawer-item > button {
    width: 34px;
    height: 34px;
    font-size: 22px;
}

.storefront-body .favorites-drawer-state {
    align-self: center;
    margin: 0;
    padding: 28px;
    color: var(--p24-muted);
    text-align: center;
}

.storefront-body .favorites-drawer-state[hidden] {
    display: none;
}

.storefront-body .favorites-drawer footer {
    padding: 18px 24px;
    border-top: 1px solid var(--p24-line);
}

.storefront-body .favorites-drawer footer a {
    display: grid;
    place-items: center;
    min-height: 48px;
    border-radius: 999px;
    background: var(--p24-red);
    color: var(--p24-on-red);
    font-weight: 850;
}

.storefront-body .storefront-toast {
    position: fixed;
    z-index: 260;
    right: 24px;
    bottom: 24px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto 34px;
    gap: 12px;
    align-items: center;
    width: min(520px, calc(100% - 32px));
    padding: 14px;
    transform: translateY(16px);
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 16px;
    background: var(--p24-burgundy-deep);
    color: #fff;
    box-shadow: 0 20px 54px rgb(from var(--sp-i, rgb(65 0 10)) r g b/30%);
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease;
}

.storefront-body .storefront-toast[hidden] {
    display: none;
}

.storefront-body .storefront-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.storefront-body .storefront-toast-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--p24-red);
}

.storefront-body .storefront-toast a {
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.storefront-body .storefront-toast button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
}

/* Shared page structure */

/* @critical:start */
.storefront-body .page-shell {
    width: min(var(--p24-max), calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0 84px;
}

/* @critical:end */

/* @critical:start */
.storefront-body .section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--shop-primary, #c90a1b);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

/* @critical:end */

.storefront-body .catalog-page > .catalog-heading .section-label {
    color: var(--p24-red-dark);
}

/* @critical:start */
.storefront-body .section-label::before {
    width: 32px;
    height: 4px;
    border-radius: 4px;
    background: currentcolor;
    content: "";
}

/* @critical:end */

.storefront-body .section-heading {
    align-items: end;
    margin-bottom: 24px;
}

.storefront-body .section-heading h2,
.storefront-body .catalog-heading h1,
.storefront-body .cart-heading h1,
.storefront-body .checkout-heading h1 {
    margin: 0;
    font-size: clamp(30px, 3.2vw, 48px);
}

.storefront-body .section-heading-eyebrow {
    margin: 0;
    color: var(--p24-muted);
    font-size: 14px;
    font-weight: 800;
}

.storefront-body .section-heading > a {
    padding-bottom: 4px;
    border-bottom: 2px solid var(--p24-red);
    color: var(--p24-burgundy);
    font-weight: 800;
}

.storefront-body .breadcrumbs {
    margin: 0 0 22px;
    color: var(--p24-muted);
    font-size: 12px;
}

.storefront-body .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.storefront-body .breadcrumbs li:not(:last-child)::after {
    margin-left: 7px;
    color: #c4b5b5;
    content: "/";
}

.storefront-body .breadcrumbs a:hover {
    color: var(--p24-red);
}

/* @critical:start */
.storefront-body .primary-link,
.storefront-body .secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    cursor: pointer;
}

/* @critical:end */

/* @critical:start */
.storefront-body .secondary-link {
    border: 1px solid var(--p24-line);
    border-radius: 999px;
    background: #fff;
    color: var(--p24-burgundy);
    font-weight: 800;
}

/* @critical:end */

.storefront-body .secondary-link:hover {
    border-color: var(--p24-red);
    color: var(--p24-red);
}

.storefront-body .empty-state,
.storefront-body .empty-cart,
.storefront-body .order-success {
    padding: clamp(32px, 6vw, 72px);
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius-lg);
    background: #fff;
    box-shadow: var(--p24-shadow);
    text-align: center;
}

/* @critical-home:start */

/* Home hero */
.storefront-body .store-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    min-height: 610px;
    height: auto;
    overflow: hidden;
    border: 0;
    border-radius: var(--p24-radius-lg);
    background: var(--p24-burgundy-deep);
    box-shadow: 0 30px 80px rgb(63 5 11 / 18%);
    isolation: isolate;
}

.storefront-body .hero-copy {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: clamp(40px, 4vw, 52px);
    inset: auto;
}

.storefront-body .hero-copy .section-label {
    color: var(--sp-l, #ff6870);
}

.storefront-body .hero-copy h1 {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 4.7vw, 66px);
    letter-spacing: 0;
}

.storefront-body .hero-intro {
    max-width: 620px;
    margin: 16px 0 0;
    color: rgb(255 255 255 / 68%);
    font-size: clamp(15px, 1.4vw, 18px);
}

.storefront-body .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.storefront-body .hero-actions .secondary-link {
    border-color: rgb(255 255 255 / 24%);
    background: transparent;
    color: #fff;
}

.storefront-body .hero-actions .primary-link::after {
    content: "\2192";
}

.storefront-body .hero-proof {
    display: flex;
    gap: 34px;
    margin: 28px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid rgb(255 255 255 / 14%);
}

.storefront-body .hero-proof div {
    display: grid;
    gap: 2px;
}

.storefront-body .hero-proof dt {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0;
}

.storefront-body .hero-proof dd {
    margin: 0;
    color: rgb(255 255 255 / 55%);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.storefront-body .hero-visual {
    position: relative;
    min-width: 0;
    min-height: 610px;
    overflow: hidden;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
    background: var(--p24-red);
}

.storefront-body .hero-visual picture {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100%;
}

.storefront-body .hero-image {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 610px;
    object-fit: cover;
    object-position: 58% center;
    filter: saturate(.52) contrast(1.04);
}

@media (width <= 1180px) {
    .storefront-body .store-hero {
        grid-template-columns: minmax(0, 1fr) minmax(330px, .78fr);
    }
}

@media (width <= 940px) {
    .storefront-body .store-hero {
        grid-template-columns: 1fr;
    }

    .storefront-body .hero-visual {
        min-height: 300px;
        clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
    }

    .storefront-body .hero-image {
        min-height: 300px;
        max-height: 380px;
    }
}

@media (width <= 640px) {
    .storefront-body .store-hero {
        height: auto;
        min-height: 0;
        border-radius: 22px;
    }

    .storefront-body .hero-copy {
        padding: 28px 22px 26px;
    }

    .storefront-body .hero-copy h1 {
        font-size: clamp(32px, 9.6vw, 46px);
    }

    .storefront-body .hero-intro {
        margin-top: 16px;
        font-size: 14px;
    }

    .storefront-body .hero-actions {
        margin-top: 20px;
    }

    .storefront-body .hero-actions a {
        flex: 1 1 0;
        min-width: max-content;
        padding-inline: 16px;
    }

    /* The proof numbers repeat in the benefits strip right below the hero. */
    .storefront-body .hero-proof {
        display: none;
    }

    .storefront-body .hero-visual,
    .storefront-body .hero-image {
        min-height: 230px;
        max-height: 250px;
    }
}

/* @critical-home:end */

/* @critical-home:start */
.storefront-body .store-hero::before {
    position: absolute;
    z-index: -1;
    top: -90px;
    left: -80px;
    width: 460px;
    height: 460px;
    border: 1px solid rgb(255 255 255 / 8%);
    border-radius: 50%;
    content: "";
}

/* @critical-home:end */

.storefront-body .hero-actions .secondary-link:hover {
    border-color: #fff;
    background: #fff;
    color: var(--p24-burgundy);
}

/* @critical-home:start */
.storefront-body .hero-visual::before {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(140deg, rgb(from var(--p24-red) r g b/5%), rgb(from var(--p24-burgundy) r g b/76%));
    content: "";
    mix-blend-mode: multiply;
}

/* @critical-home:end */

/* @critical-home:start */
.storefront-body .hero-visual::after {
    position: absolute;
    z-index: 3;
    right: -80px;
    bottom: -180px;
    width: 430px;
    height: 430px;
    border: 72px solid rgb(255 255 255 / 10%);
    border-radius: 50%;
    content: "";
}

/* @critical-home:end */

/* @critical-home:start */
.storefront-body .hero-watermark {
    position: absolute;
    z-index: 4;
    top: 18px;
    right: 28px;
    color: rgb(255 255 255 / 17%);
    font-size: clamp(130px, 16vw, 230px);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
}

/* @critical-home:end */

/* @critical-home:start */
.storefront-body .hero-domain {
    position: absolute;
    z-index: 4;
    right: 34px;
    bottom: 28px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .2em;
}

/* @critical-home:end */

.storefront-body .store-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 70px;
    padding: 0;
    list-style: none;
}

.storefront-body .store-benefits > li {
    display: grid;
}

.storefront-body .store-benefit {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 106px;
    padding: 20px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: rgb(255 255 255 / 78%);
}

.storefront-body .store-benefit.is-featured {
    border-color: var(--p24-burgundy);
    background: var(--p24-burgundy);
    color: #fff;
}

.storefront-body .store-benefit:hover {
    border-color: rgb(from var(--p24-red) r g b/40%);
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgb(82 10 19 / 8%);
}

.storefront-body .store-benefit-icon {
    position: static;
    width: 46px;
    height: 46px;
    padding: 11px;
    border-radius: 14px;
    background: var(--p24-blush);
    color: var(--p24-red);
}

.storefront-body .store-benefit.is-featured .store-benefit-icon {
    background: rgb(255 255 255 / 12%);
    color: #fff;
}

.storefront-body .store-benefit span {
    display: grid;
    gap: 2px;
}

.storefront-body .store-benefit > span {
    width: auto;
    height: auto;
    max-width: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.storefront-body .store-benefit strong {
    font-size: 14px;
    letter-spacing: 0;
}

.storefront-body .store-benefit small {
    color: var(--p24-muted);
    font-size: 12px;
}

.storefront-body .store-benefit.is-featured small {
    color: rgb(255 255 255 / 58%);
}

/* Categories */
.storefront-body .home-categories,
.storefront-body .home-products {
    margin-top: 0;
    margin-bottom: 76px;
}

.storefront-body .catalog-category-page { gap: 0; }

.storefront-body .catalog-category-page .catalog-heading {
    min-height: 0;
    margin-bottom: 0;
}

.storefront-body .catalog-category-page .catalog-heading h1 {
    max-width: 24ch;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.storefront-body .catalog-category-page .catalog-layout { margin-top: 16px; }

.storefront-body .subcategory-icon {
    width: 42px;
    height: 42px;
    padding: 10px;
    border-radius: 12px;
    background: var(--p24-blush);
    color: var(--p24-red);
}

.storefront-body .subcategory-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0 8px;
    padding: 0;
    list-style: none;
}

.storefront-body .subcategory-list > li {
    display: grid;
    min-width: 0;
}

.storefront-body .subcategory-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    gap: 10px;
    align-items: center;
    min-width: 0;
    min-height: 72px;
    padding: 12px;
    border: 1px solid var(--p24-line);
    border-radius: 16px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.storefront-body .subcategory-item:hover {
    border-color: var(--p24-red);
    box-shadow: 0 5px 15px rgb(82 10 19 / 6%);
}

.storefront-body .subcategory-item:focus-visible {
    outline: 2px solid var(--p24-red);
    outline-offset: 3px;
}

.storefront-body .subcategory-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.storefront-body .subcategory-item strong {
    font-size: 14px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.storefront-body .subcategory-item small {
    color: var(--p24-muted);
    font-size: 12px;
}

.storefront-body .subcategory-item::after {
    width: 18px;
    height: 18px;
    background: var(--p24-muted);
    content: "";
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Product cards */
.storefront-body .product-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.storefront-body .product-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.storefront-body .product-media {
    position: relative;
    min-width: 0;
    border: 0;
    border-bottom: 1px solid var(--p24-line);
    background: #fff;
}

.storefront-body .product-image {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1.18 / 1;
    overflow: hidden;
    background: #fff;
}

.storefront-body .product-image img {
    position: absolute;
    inset: 20px;
    display: block;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    padding: 0;
    object-fit: contain;
    object-position: center;
    transition: transform .3s ease;
}

.storefront-body .product-card:hover .product-image img {
    transform: scale(1.025);
}

.storefront-body .favorite-button,
.storefront-body .wishlist-button,
.storefront-body .gallery-zoom,
.storefront-body .gallery-nav {
    display: grid;
    place-items: center;
    border: 1px solid var(--p24-line);
    border-radius: 50%;
    background: rgb(255 255 255 / 94%);
    color: var(--p24-burgundy);
    cursor: pointer;
}

.storefront-body .favorite-button .ui-icon,
.storefront-body .wishlist-button .ui-icon,
.storefront-body .gallery-zoom .ui-icon,
.storefront-body .gallery-nav .ui-icon {
    width: 18px;
    height: 18px;
}

.storefront-body .favorite-button {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
}

.storefront-body .favorite-button:focus-visible {
    outline: 3px solid var(--p24-red);
    outline-offset: 3px;
}

.storefront-body .favorite-button:hover,
.storefront-body .favorite-button.is-active,
.storefront-body .wishlist-button:hover,
.storefront-body .wishlist-button.is-active {
    border-color: var(--p24-red);
    background: var(--p24-red);
    color: var(--p24-on-red);
}

.storefront-body .image-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    width: 100%;
    height: 100%;
    min-height: 190px;
    gap: 6px;
    color: var(--p24-burgundy);
    background:
        linear-gradient(135deg, transparent 0 47%, rgb(from var(--p24-red) r g b/4%) 47% 53%, transparent 53%),
        var(--p24-cream);
}

.storefront-body .image-placeholder-mark {
    font-size: 24px;
    font-weight: 950;
    letter-spacing: 0;
}

.storefront-body .image-placeholder-text {
    color: var(--p24-muted);
    font-size: 11px;
}

.storefront-body .product-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    padding: 17px 18px 10px;
}

.storefront-body .product-brand {
    overflow: hidden;
    color: var(--sp-d, #b8091a);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.storefront-body .product-title {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    color: var(--p24-ink);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.storefront-body .stock-status,
.storefront-body .delivery-status,
.storefront-body .cart-stock {
    font-size: 11px;
    line-height: 1.4;
}

.storefront-body .cart-stock small {
    display: block;
    margin-top: 2px;
    margin-left: 13px;
    font-size: 11px;
    line-height: 1.35;
}

.storefront-body .stock-status::before,
.storefront-body .cart-stock::before,
.storefront-body .product-stock::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentcolor;
    content: "";
}

.storefront-body .is-available {
    color: var(--p24-success);
}

.storefront-body .is-empty {
    color: var(--p24-red);
}

.storefront-body .delivery-status {
    color: var(--p24-muted);
}

.storefront-body .product-purchase {
    display: grid;
    gap: 14px;
    padding: 10px 18px 18px;
}

.storefront-body .product-price {
    color: var(--p24-burgundy-deep);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
}

.storefront-body .quantity-control {
    display: grid;
    grid-template-columns: 34px minmax(32px, auto) 34px;
    align-items: center;
    min-height: 42px;
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: 999px;
    background: #fff;
}

.storefront-body .quantity-control button {
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--p24-burgundy);
    cursor: pointer;
}

.storefront-body .quantity-control button:hover {
    background: var(--p24-blush);
    color: var(--p24-red);
}

.storefront-body .quantity-control input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    text-align: center;
    font-weight: 800;
}

.storefront-body .card-cart-button {
    width: 100%;
    min-height: 42px;
    padding: 0 13px;
    font-size: 12px;
}

.storefront-body .card-cart-button:disabled,
.storefront-body .buy-button:disabled {
    border-color: #d8cdcb;
    background: #d8cdcb;
    color: #817475;
    cursor: not-allowed;
    opacity: .75;
}

/* Catalog and search */
.storefront-body .catalog-heading,
.storefront-body .cart-heading,
.storefront-body .checkout-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.storefront-body .catalog-query-chip {
    max-width: 50%;
    overflow: hidden;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--p24-blush);
    color: var(--p24-burgundy);
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Public brand pages reuse the catalog controls but get a stronger identity
   block, category shortcuts and a clear route into the product list. */
.storefront-body .brand-hero {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
    padding: 26px 30px;
    border: 1px solid var(--p24-line);
    border-left: 5px solid var(--p24-red);
    border-radius: var(--p24-radius);
    background: #fff;
}

.storefront-body .brand-hero-mark {
    display: grid;
    place-items: center;
    width: 92px;
    aspect-ratio: 1;
    border-radius: 22px;
    background: var(--p24-burgundy);
    color: #fff;
    font-size: 42px;
    font-weight: 950;
    line-height: 1;
}

.storefront-body .brand-page .brand-hero-logo {
    padding: 8px;
    overflow: hidden;
    background: #fff;
}

.storefront-body .brand-page .brand-hero-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.storefront-body .brand-page .brand-description {
    max-width: 980px;
    margin: 20px auto 28px;
    color: var(--p24-muted);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.storefront-body .brand-page .brand-hero-body .section-label,
.storefront-body .brand-page .brand-category-heading .section-label,
.storefront-body .brand-page .brand-hero-link {
    color: var(--p24-red-dark);
}

.storefront-body .brand-hero-body h1 {
    margin: 0;
    color: var(--p24-ink);
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.02;
    overflow-wrap: anywhere;
}

.storefront-body .brand-hero-body p {
    margin: 10px 0 0;
    color: var(--p24-muted);
    font-size: 13px;
    font-weight: 750;
}

.storefront-body .brand-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--p24-red);
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.storefront-body .brand-hero-link svg {
    width: 16px;
    height: 16px;
}

.storefront-body .brand-category-panel {
    margin-bottom: 28px;
    padding: 22px 24px 24px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.storefront-body .brand-category-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 17px;
}

.storefront-body .brand-category-heading .section-label {
    margin-bottom: 9px;
}

.storefront-body .brand-category-heading h2 {
    margin: 0;
    font-size: 22px;
}

.storefront-body .brand-category-count {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--p24-blush);
    color: var(--p24-red);
    font-size: 12px;
    font-weight: 900;
}

.storefront-body .brand-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.storefront-body .brand-category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid var(--p24-line);
    border-radius: 999px;
    background: #fff;
    color: var(--p24-burgundy);
    font-size: 11px;
    font-weight: 750;
}

.storefront-body .brand-category-link:hover {
    border-color: var(--p24-red);
    background: var(--p24-blush);
    color: var(--p24-red);
}

.storefront-body .brand-category-link.is-active {
    border-color: var(--p24-red);
    background: var(--p24-red);
    color: var(--p24-on-red);
}

.storefront-body .brand-category-link.is-active small {
    color: rgb(255 255 255 / 82%);
}

.storefront-body .brand-category-link small {
    color: var(--p24-muted);
    font-size: 10px;
    font-weight: 800;
}

.storefront-body .catalog-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.storefront-body .catalog-sidebar {
    position: sticky;
    top: 184px;
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.storefront-body .catalog-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid var(--p24-line);
}

.storefront-body .catalog-sidebar-head h2 {
    margin: 0;
    font-size: 20px;
}

.storefront-body .catalog-filter-toggle {
    display: none;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid var(--p24-line);
    border-radius: 999px;
    background: #fff;
    color: var(--p24-burgundy);
    font-size: 11px;
    font-weight: 800;
}

.storefront-body .catalog-filter-form {
    display: grid;
}

.storefront-body .catalog-filter-group {
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--p24-line);
}

.storefront-body .catalog-filter-group h3 {
    margin: 0 0 13px;
    font-size: 13px;
    letter-spacing: 0;
}

.storefront-body .catalog-filter-group > label {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 9px 0;
    color: #625658;
    font-size: 12px;
    cursor: pointer;
}

.storefront-body .catalog-filter-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    accent-color: var(--p24-red);
}

.storefront-body .catalog-filter-group small {
    color: #a29596;
}

.storefront-body .catalog-price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.storefront-body .catalog-price-inputs label {
    display: grid;
    gap: 5px;
    color: var(--p24-muted);
    font-size: 10px;
}

.storefront-body .catalog-price-inputs input,
.storefront-body .catalog-sort select,
.storefront-body .field input,
.storefront-body .field select,
.storefront-body .field textarea {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius-sm);
    outline: 0;
    background: #fff;
    color: var(--p24-ink);
}

.storefront-body .catalog-price-inputs input:focus,
.storefront-body .catalog-sort select:focus,
.storefront-body .field input:focus,
.storefront-body .field select:focus,
.storefront-body .field textarea:focus {
    border-color: var(--p24-red);
    box-shadow: 0 0 0 4px rgb(from var(--p24-red) r g b/7%);
}

.storefront-body .catalog-filter-actions {
    display: grid;
    gap: 8px;
    padding: 18px 20px 20px;
}

.storefront-body .catalog-filter-actions button {
    min-height: 42px;
}

.storefront-body .catalog-filter-actions a {
    color: var(--p24-muted);
    font-size: 11px;
    font-weight: 750;
    text-align: center;
}

.storefront-body .catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 66px;
    margin-bottom: 16px;
    padding: 10px 12px 10px 18px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: rgb(255 255 255 / 82%);
}

.storefront-body .catalog-count {
    color: var(--p24-burgundy);
    font-size: 12px;
    font-weight: 850;
}

.storefront-body .catalog-toolbar-actions,
.storefront-body .catalog-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.storefront-body .catalog-sort select {
    min-height: 42px;
    font-size: 12px;
}

.storefront-body .catalog-sort button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 11px;
}

/* View icons are drawn by CSS: four squares for the grid, three bars for the list. */

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

@media (width >= 1200px) {
    .storefront-body .catalog-results .product-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.storefront-body .category-tree {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.storefront-body .category-tree-item {
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.storefront-body .category-tree-item:hover {
    border-color: var(--p24-red);
}

/* Product detail */
.storefront-body .product-page {
    display: grid;
    grid-template-columns: minmax(0, .98fr) minmax(410px, 1.02fr);
    gap: 24px;
}

.storefront-body .product-gallery-panel,
.storefront-body .product-buy-box,
.storefront-body .product-detail-content {
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius-lg);
    background: #fff;
}

.storefront-body .product-gallery-panel {
    padding: 18px;
}

.storefront-body .product-gallery-main {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 460px;
    overflow: hidden;
    border-radius: calc(var(--p24-radius-lg) - 9px);
    background:
        radial-gradient(circle at 50% 38%, #fff 0%, transparent 62%),
        var(--p24-media-surface);
}

.storefront-body .product-gallery-trigger {
    display: grid;
    place-items: center;
    width: 100%;
    height: 460px;
    padding: 0;
    border: 0;
    border-radius: inherit;
    background: transparent;
    cursor: zoom-in;
}

.storefront-body .product-gallery-trigger:focus-visible {
    outline: 3px solid rgb(from var(--p24-red) r g b/35%);
    outline-offset: -4px;
}

.storefront-body .product-gallery-trigger > img {
    width: 100%;
    height: 460px;
    padding: 34px;
    object-fit: contain;
    transition: transform .24s ease;
}

.storefront-body .product-gallery-trigger:hover > img {
    transform: scale(1.015);
}

.storefront-body .product-gallery-main.has-image-error .gallery-zoom,
.storefront-body .product-gallery-main.has-image-error .gallery-nav,
.storefront-body .product-gallery-main.has-image-error .gallery-counter {
    display: none;
}

.storefront-body .gallery-zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
}

.storefront-body .gallery-nav {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
}

.storefront-body .gallery-nav-prev {
    left: 14px;
}

.storefront-body .gallery-nav-next {
    right: 14px;
}

.storefront-body .gallery-counter {
    position: absolute;
    right: 16px;
    bottom: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgb(from var(--sp-i, rgb(62 0 8)) r g b/78%);
    color: #fff;
    font-size: 11px;
    font-weight: 750;
    backdrop-filter: blur(8px);
}

.storefront-body .product-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}

.storefront-body .gallery-thumb {
    position: relative;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: 12px;
    background: linear-gradient(145deg, #fff 0%, var(--p24-media-surface) 100%);
    scroll-snap-align: start;
}

.storefront-body .gallery-thumb::before {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgb(from var(--p24-burgundy) r g b/28%);
    background: linear-gradient(145deg, #fff 0%, var(--p24-media-surface) 100%);
    content: "P24";
    font-size: 10px;
    font-weight: 900;
}

.storefront-body .gallery-thumb.is-active {
    border-color: var(--p24-red);
    box-shadow: inset 0 0 0 1px var(--p24-red);
}

/* Keyboard focus must stay visible on image controls and directory links. */
.storefront-body .gallery-thumb:focus-visible,
.storefront-body .product-lightbox-thumb:focus-visible,
.storefront-body .catalog-directory-card a:focus-visible {
    outline: 3px solid var(--p24-red);
    outline-offset: 2px;
}

.storefront-body .product-lightbox {
    width: min(1560px, calc(100vw - 32px));
    max-width: none;
    height: min(980px, calc(100dvh - 32px));
    max-height: none;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: 20px;
    background: #fff;
    color: var(--p24-ink);
    box-shadow: 0 28px 90px rgb(63 5 11 / 24%);
    user-select: none;
}

.storefront-body .product-lightbox::backdrop {
    background: rgb(from var(--sp-i, rgb(63 5 11)) r g b/42%);
    backdrop-filter: blur(7px);
}

.storefront-body .product-lightbox-frame {
    position: relative;
    display: grid;
    grid-template-rows: 64px minmax(0, 1fr) auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: var(--p24-media-surface);
}

.storefront-body .product-lightbox-header {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    padding: 0 16px 0 24px;
    border-bottom: 1px solid var(--p24-line);
    background: rgb(255 255 255 / 96%);
}

.storefront-body .product-lightbox-title {
    overflow: hidden;
    min-width: 0;
    color: var(--p24-ink);
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-body .product-lightbox-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, #fff 0%, rgb(255 255 255 / 88%) 35%, transparent 68%),
        #f3efed;
}

.storefront-body .product-lightbox-stage > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 14px 88px;
    box-sizing: border-box;
    object-fit: contain;
    -webkit-user-drag: none;
}

.storefront-body .product-lightbox-close,
.storefront-body .product-lightbox-nav {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--p24-line);
    border-radius: 50%;
    background: rgb(255 255 255 / 96%);
    color: var(--p24-burgundy);
    box-shadow: 0 10px 30px rgb(63 5 11 / 12%);
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.storefront-body .product-lightbox-close:hover,
.storefront-body .product-lightbox-nav:hover {
    border-color: rgb(from var(--p24-red) r g b/28%);
    background: #fff;
    color: var(--p24-red);
}

.storefront-body .product-lightbox-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.storefront-body .product-lightbox-nav:hover {
    transform: translateY(-50%) scale(1.04);
}

.storefront-body .product-lightbox-nav.is-previous {
    left: 24px;
}

.storefront-body .product-lightbox-nav.is-next {
    right: 24px;
}

.storefront-body .product-lightbox-counter {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--p24-blush);
    color: var(--p24-burgundy);
    font-size: 12px;
    font-weight: 800;
}

.storefront-body .product-lightbox-thumbs {
    display: flex;
    gap: 8px;
    min-width: 0;
    padding: 12px 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-color: rgb(from var(--p24-burgundy) r g b/25%) transparent;
    scrollbar-width: thin;
    border-top: 1px solid var(--p24-line);
    background: #fff;
}

.storefront-body .product-lightbox-thumb {
    position: relative;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    padding: 3px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 10px;
    background: var(--p24-media-surface);
    opacity: .72;
    transition: border-color .18s ease, opacity .18s ease, transform .18s ease;
}

.storefront-body .product-lightbox-thumb:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.storefront-body .product-lightbox-thumb.is-active {
    border-color: var(--p24-red);
    opacity: 1;
}

.storefront-body .product-lightbox-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: #fff;
    object-fit: contain;
    -webkit-user-drag: none;
}

.storefront-body .gallery-thumb img {
    position: absolute;
    z-index: 1;
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    object-fit: contain;
}

.storefront-body .gallery-thumb-fallback {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--p24-burgundy);
    background: var(--p24-media-surface);
    font-size: 11px;
    font-weight: 900;
}

.storefront-body .gallery-thumb-fallback[hidden] {
    display: none;
}

.storefront-body .product-buy-box {
    align-self: start;
    padding: clamp(26px, 3.5vw, 46px);
}

.storefront-body .product-buy-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    color: var(--p24-red-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.storefront-body .product-buy-box h1 {
    margin: 14px 0 22px;
    font-size: clamp(26px, 2.15vw, 36px);
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.storefront-body .product-short-description {
    margin: -0.35rem 0 1.15rem;
    max-width: 62ch;
    color: var(--p24-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.storefront-body .product-offer {
    display: grid;
    gap: 10px;
    padding: 24px;
    border-radius: var(--p24-radius);
    background: var(--p24-cream);
}

.storefront-body .product-offer.is-discontinued-offer {
    position: relative;
}

.storefront-body .product-offer.is-discontinued-offer .product-detail-price {
    padding-right: 56px;
}

.storefront-body .product-detail-price {
    color: var(--p24-burgundy-deep);
    font-size: 18px;
    font-weight: 800;
}

.storefront-body .product-detail-price span {
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 800;
    letter-spacing: 0;
}

.storefront-body .price-note {
    color: var(--p24-muted);
    font-size: 11px;
}

.storefront-body .product-stock {
    font-size: 12px;
    font-weight: 750;
}

.storefront-body .product-stock-notice {
    max-width: 520px;
    margin: 0;
    color: var(--p24-muted);
    font-size: 13px;
    line-height: 1.55;
}

.storefront-body .product-discontinued-actions {
    display: grid;
    gap: 12px;
    margin-top: 4px;
    padding: 0;
}

.storefront-body .product-discontinued-actions h2 {
    margin: 0;
    color: var(--p24-burgundy-deep);
    font-size: 14px;
    line-height: 1.25;
}

.storefront-body .product-discontinued-actions-list {
    display: grid;
    gap: 8px;
}

.storefront-body .product-discontinued-action {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    font-size: 13px;
    text-align: center;
    overflow-wrap: anywhere;
}

.storefront-body .product-discontinued-action::after {
    content: "\2192";
}

.storefront-body .product-buy-form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 48px;
    gap: 9px;
    margin-top: 12px;
}

.storefront-body .product-buy-form.is-unavailable {
    grid-template-columns: minmax(0, 1fr) 48px;
}

.storefront-body .product-discontinued-wishlist {
    position: absolute;
    top: 18px;
    right: 18px;
    display: block;
    margin: 0;
}

.storefront-body .product-discontinued-wishlist .wishlist-button {
    width: 44px;
    height: 44px;
    border-color: #ead8d5;
    color: var(--p24-burgundy-deep);
    background: #fff;
    box-shadow: 0 7px 18px rgb(81 32 28 / 8%);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.storefront-body .product-discontinued-wishlist .wishlist-button:hover {
    border-color: var(--p24-red);
    box-shadow: 0 9px 20px rgb(81 32 28 / 13%);
    transform: translateY(-1px);
}

.storefront-body .product-discontinued-wishlist .wishlist-button:focus-visible {
    outline: 3px solid rgb(from var(--shop-primary, rgb(207 0 31)) r g b/24%);
    outline-offset: 3px;
}

.storefront-body .product-buy-form .quantity-control {
    min-width: 116px;
}

.storefront-body .catalog-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
}

.storefront-body .catalog-pagination a {
    display: inline-grid;
    place-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
    color: var(--p24-ink);
    font-size: 13px;
    font-weight: 800;
}

.storefront-body .catalog-pagination a:hover,
.storefront-body .catalog-pagination a.is-current {
    border-color: var(--p24-red);
    background: var(--p24-red);
    color: var(--p24-on-red);
}

.storefront-body .catalog-pagination .pagination-direction {
    padding: 0;
}

.storefront-body .catalog-pagination .pagination-direction svg {
    width: 17px;
    height: 17px;
}

.storefront-body .pagination-ellipsis {
    min-width: 24px;
    color: var(--p24-muted);
    text-align: center;
}

.storefront-body .buy-button {
    min-height: 50px;
    padding: 0 22px;
}

.storefront-body .wishlist-button {
    width: 48px;
    height: 48px;
}

.storefront-body .delivery-block {
    container-type: inline-size;
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
}

.storefront-body .delivery-block-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--p24-line);
}

.storefront-body .delivery-block-head h2 {
    margin: 0;
    font-size: 17px;
}

.storefront-body .delivery-block-head span {
    color: var(--p24-muted);
    font-size: 11px;
}

.storefront-body .delivery-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--p24-line);
}

.storefront-body .delivery-row:last-child {
    border-bottom: 0;
}

.storefront-body .delivery-row > .checkout-option-icon {
    width: 38px;
    height: 38px;
    padding: 6px;
}

.storefront-body .delivery-row > .checkout-option-icon > img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.storefront-body .delivery-row span {
    display: grid;
}

.storefront-body .delivery-row strong,
.storefront-body .delivery-row b {
    font-size: 12px;
}

.storefront-body .delivery-row small {
    color: var(--p24-muted);
    font-size: 11px;
}

.storefront-body .delivery-block > .muted {
    margin: 0;
    padding: 10px 18px;
    background: var(--p24-cream);
    color: var(--p24-muted);
    font-size: 10px;
}

.storefront-body .product-benefits {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    list-style: none;
}

.storefront-body .product-benefits > li {
    display: grid;
}

.storefront-body .product-benefits a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 76px;
    padding: 14px 16px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
    box-shadow: 0 8px 22px rgb(91 12 25 / 5%);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.storefront-body .product-benefits a:hover {
    border-color: var(--p24-red);
    box-shadow: 0 12px 26px rgb(91 12 25 / 9%);
    transform: translateY(-1px);
}

.storefront-body .product-benefit-icon {
    width: 42px;
    height: 42px;
    padding: 10px;
    border-radius: 13px;
    background: var(--p24-blush);
    color: var(--p24-red);
}

.storefront-body .product-benefits span {
    display: grid;
}

.storefront-body .product-benefits strong {
    font-size: 12px;
}

.storefront-body .product-benefits small {
    color: var(--p24-muted);
    font-size: 10px;
}

.storefront-body .product-detail-content {
    grid-column: 1 / -1;
    overflow: hidden;
}

.storefront-body .product-section-title {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 18px 24px;
    border-bottom: 1px solid var(--p24-line);
    color: var(--p24-burgundy);
    font-size: 17px;
    font-weight: 850;
}

.storefront-body .product-description + .product-section-title {
    border-top: 1px solid var(--p24-line);
}

.storefront-body .related-products {
    grid-column: 1 / -1;
    margin-top: 12px;
}

.storefront-body .related-products .product-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.storefront-body .product-sticky-buy {
    display: none;
}

.storefront-body .product-description {
    max-width: 900px;
    padding: clamp(24px, 4vw, 48px);
    color: #55494b;
    overflow-wrap: anywhere;
}

.storefront-body .product-description h2,
.storefront-body .product-description h3,
.storefront-body .product-description h4 {
    margin: 1.5em 0 0.65em;
    color: var(--p24-ink);
    line-height: 1.25;
}

.storefront-body .product-description p {
    margin: 0 0 1em;
}

.storefront-body .product-description p:last-child {
    margin-bottom: 0;
}

.storefront-body .product-description ul,
.storefront-body .product-description ol {
    display: grid;
    gap: 8px;
    margin: 1em 0 1.25em;
    padding: 0;
}

.storefront-body .product-description ul {
    list-style: none;
}

.storefront-body .product-description ol {
    padding-left: 0;
    counter-reset: product-description-item;
    list-style: none;
}

.storefront-body .product-description li {
    position: relative;
    min-width: 0;
    overflow-wrap: anywhere;
}

.storefront-body .product-description ul > li,
.storefront-body .product-description ol > li {
    padding-left: 30px;
}

.storefront-body .product-description ul > li::before,
.storefront-body .product-description ol > li::before {
    position: absolute;
    top: .68em;
    left: 5px;
    display: grid;
    place-items: center;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--p24-red);
    content: '';
}

.storefront-body .product-description ol > li {
    counter-increment: product-description-item;
}

.storefront-body .product-description ol > li::before {
    top: .08em;
    left: 0;
    width: 22px;
    height: 22px;
    background: var(--p24-blush);
    color: var(--p24-red-dark);
    content: counter(product-description-item);
    font-size: 11px;
    font-weight: 850;
}

.storefront-body .product-description li > ul,
.storefront-body .product-description li > ol {
    margin: 8px 0 0;
}

.storefront-body .product-description li > p {
    margin: 0;
}

.storefront-body .product-description li > p + p {
    margin-top: 8px;
}

.storefront-body .product-description strong {
    color: var(--p24-ink);
    font-weight: 750;
}

.storefront-body .product-description a {
    color: var(--p24-red-dark);
    text-decoration: underline;
    text-decoration-color: rgb(from var(--p24-red-dark) r g b/35%);
    text-underline-offset: 3px;
}

.storefront-body .product-description a:hover {
    color: var(--p24-burgundy);
    text-decoration-color: currentcolor;
}

.storefront-body .product-description table {
    width: 100%;
    margin: 1.25em 0;
    border-collapse: collapse;
}

.storefront-body .product-description th,
.storefront-body .product-description td {
    padding: 10px 12px;
    border: 1px solid var(--p24-line);
    text-align: left;
    vertical-align: top;
}

.storefront-body .product-specifications {
    padding: clamp(18px, 3vw, 34px) clamp(20px, 4vw, 48px);
}

.storefront-body .product-specifications-scroll {
    max-width: 900px;
    overflow-x: auto;
    border: 1px solid var(--p24-line);
    border-radius: 14px;
}

.storefront-body .product-specifications table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.storefront-body .product-specifications th,
.storefront-body .product-specifications td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--p24-line);
    overflow-wrap: anywhere;
    text-align: left;
    vertical-align: top;
}

.storefront-body .product-specifications tr:last-child th,
.storefront-body .product-specifications tr:last-child td {
    border-bottom: 0;
}

.storefront-body .product-specifications th {
    width: min(38%, 320px);
    background: #fbf8f8;
    color: var(--p24-burgundy);
    font-size: 13px;
    font-weight: 800;
}

.storefront-body .product-specifications .product-specifications-group th {
    width: auto;
    padding-block: 10px;
    background: #f1e9ea;
    color: #4a2028;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.storefront-body .product-specifications td {
    color: #55494b;
}

/* Cart, checkout, order */
.storefront-body .cart-page,
.storefront-body .checkout-page {
    width: 100%;
    max-width: none;
}

.storefront-body .checkout-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: min(100%, 820px);
    max-width: 820px;
    margin: 0 auto 32px;
    padding: 8px;
    list-style: none;
    counter-reset: checkout-step;
    border: 1px solid rgb(from var(--p24-burgundy) r g b/10%);
    border-radius: 22px;
    background: rgb(255 255 255 / 82%);
    box-shadow: 0 14px 38px rgb(82 10 19 / 7%);
}

.storefront-body .checkout-step {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    min-height: 58px;
    padding: 8px 13px 8px 10px;
    border-radius: 15px;
    background: transparent;
    color: #8d7f81;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
    counter-increment: checkout-step;
}

.storefront-body .checkout-step::after {
    display: none !important;
    content: none;
}

.storefront-body .checkout-step::before {
    display: grid;
    place-items: center;
    content: counter(checkout-step);
    width: 38px;
    height: 38px;
    border: 1px solid var(--p24-line);
    border-radius: 50%;
    background: #fff;
    color: #8d7f81;
    font-weight: 850;
    box-shadow: 0 5px 14px rgb(82 10 19 / 6%);
}

.storefront-body .checkout-step.is-done {
    color: var(--p24-burgundy);
    background: #fff0f1;
}

.storefront-body .checkout-step.is-active {
    background: var(--p24-burgundy-deep);
    color: #fff;
}

.storefront-body .checkout-step.is-done::before {
    border-color: var(--p24-red);
    background: var(--p24-red);
    color: var(--p24-on-red);
}

.storefront-body .checkout-step.is-active::before {
    border-color: rgb(255 255 255 / 72%);
    background: #fff;
    color: var(--p24-burgundy-deep);
    box-shadow: 0 8px 20px rgb(0 0 0 / 16%);
}

.storefront-body .cart-heading > span {
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--p24-blush);
    color: var(--p24-burgundy);
    font-size: 11px;
    font-weight: 800;
}

.storefront-body .cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
    width: 100%;
    max-width: none;
}

.storefront-body .cart-layout > form[id^="remove-"] {
    display: none;
}

.storefront-body .cart-list-card,
.storefront-body .cart-summary-card,
.storefront-body .checkout-section,
.storefront-body .checkout-panel,
.storefront-body .order-summary {
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.storefront-body .cart-item {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr) auto 44px;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--p24-line);
}

.storefront-body .cart-item:last-child {
    border-bottom: 0;
}

.storefront-body .cart-item-image {
    position: relative;
    display: grid;
    place-items: center;
    width: 126px;
    height: 108px;
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: 14px;
    background: linear-gradient(145deg, #fff 0%, var(--p24-media-surface) 100%);
}

.storefront-body .cart-item-image img {
    position: absolute;
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    padding: 0;
    object-fit: contain;
    transition: transform .2s ease;
}

.storefront-body .cart-item:hover .cart-item-image img {
    transform: scale(1.025);
}

.storefront-body .cart-item-image .image-placeholder,
.storefront-body .summary-item-media .image-placeholder {
    min-height: 0;
}

.storefront-body .cart-item-main {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.storefront-body .cart-item-title {
    color: var(--p24-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.storefront-body .cart-item-title:hover {
    color: var(--p24-red);
}

/* The legacy .cart-quantity width (100px) was smaller than its three grid tracks.
   Give the stepper an actual width and keep all three controls inside its border. */
.storefront-body .cart-quantity {
    width: 132px;
    max-width: 100%;
    min-height: 44px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
}

.storefront-body .cart-quantity button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    line-height: 1;
}

.storefront-body .cart-quantity input {
    min-width: 0;
    height: 44px;
    padding: 0;
}

.storefront-body .cart-quantity button:focus-visible,
.storefront-body .cart-quantity input:focus-visible {
    outline: 2px solid var(--p24-red);
    outline-offset: -3px;
}

.storefront-body .cart-update-button,
.storefront-body .cart-remove-button {
    border: 1px solid var(--p24-line);
    border-radius: 999px;
    background: #fff;
    color: var(--p24-burgundy);
    cursor: pointer;
}

.storefront-body .cart-update-button {
    min-height: 42px;
    padding: 0 18px;
    border-color: var(--p24-burgundy);
    background: var(--p24-burgundy);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.storefront-body .cart-update-button:hover {
    border-color: var(--p24-red);
    background: var(--p24-red);
}

.storefront-body .cart-list-actions {
    display: flex;
    justify-content: flex-end;
    padding: 14px 18px;
    border-top: 1px solid var(--p24-line);
    background: #fffaf9;
}

.storefront-body .cart-remove-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
}

.storefront-body .cart-remove-button .ui-icon {
    width: 15px;
    height: 15px;
}

.storefront-body .cart-remove-button:hover {
    border-color: var(--p24-red);
    background: var(--p24-red);
    color: var(--p24-on-red);
}

.storefront-body .cart-item-price {
    display: grid;
    gap: 2px;
    min-width: 120px;
    place-self: start end;
    justify-items: end;
    padding-top: 3px;
    text-align: right;
}

.storefront-body .cart-item-price strong {
    color: var(--p24-burgundy-deep);
    font-size: 18px;
}

.storefront-body .cart-item-price span {
    color: var(--p24-muted);
    font-size: 11px;
    line-height: 1.35;
}

.storefront-body .cart-feedback {
    display: grid;
    gap: 4px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #ead39f;
    border-radius: 12px;
    background: #fff9e9;
    color: #6b5315;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.storefront-body .cart-feedback[hidden] {
    display: none;
}

.storefront-body .cart-feedback p {
    margin: 0;
}

.storefront-body .cart-list-card.is-updating {
    opacity: .72;
}

.storefront-body .cart-country-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: end;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--p24-line);
}

.storefront-body .cart-country-form .field {
    gap: 6px;
}

.storefront-body .cart-country-form select {
    min-height: 44px;
    border-radius: 12px;
}

.storefront-body .cart-country-apply {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--p24-line);
    border-radius: 12px;
    background: #fff;
    color: var(--p24-burgundy);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.storefront-body .cart-country-apply:hover {
    border-color: var(--p24-red);
    color: var(--p24-red);
}

.storefront-body .cart-summary-card,
.storefront-body .order-summary {
    position: sticky;
    top: 184px;
    padding: 24px;
}

.storefront-body .cart-summary-card dl,
.storefront-body .checkout-total-list,
.storefront-body .order-summary dl,
.storefront-body .order-details {
    margin: 0;
}

.storefront-body .cart-summary-card dl > div,
.storefront-body .checkout-total-list > div,
.storefront-body .order-summary dl > div,
.storefront-body .order-details > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid var(--p24-line);
}

.storefront-body dt {
    color: var(--p24-muted);
}

.storefront-body dd {
    margin: 0;
    font-weight: 750;
    text-align: right;
}

.storefront-body .summary-total {
    margin-top: 6px;
    border-bottom: 0 !important;
    color: var(--p24-burgundy-deep);
    font-size: 19px;
    font-weight: 900;
}

.storefront-body .cart-delivery-estimate {
    display: grid;
    justify-items: end;
    gap: 3px;
}

.storefront-body .cart-delivery-estimate small,
.storefront-body .cart-delivery-note {
    color: var(--p24-muted);
    font-size: 11px;
    font-weight: 600;
}

.storefront-body .cart-delivery-note {
    margin: 10px 0 0;
    line-height: 1.45;
}

.storefront-body .cart-summary-card .buy-button {
    width: 100%;
    margin-top: 18px;
}

.storefront-body .checkout-back-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
    color: var(--p24-burgundy);
    font-size: 12px;
    font-weight: 800;
}

.storefront-body .checkout-errors {
    margin-bottom: 18px;
    padding: 15px 18px;
    border: 1px solid rgb(from var(--p24-red) r g b/28%);
    border-radius: var(--p24-radius-sm);
    background: #fff0f0;
    color: var(--sp-d, #9f0712);
}

.storefront-body .checkout-errors p:last-child {
    margin-bottom: 0;
}

.storefront-body .checkout-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .65fr);
    gap: 18px;
    align-items: start;
}

.storefront-body .checkout-section {
    padding: 24px;
}

.storefront-body .checkout-order-section {
    grid-column: 2;
    grid-row: 1 / span 3;
    position: sticky;
    top: 184px;
}

.storefront-body .checkout-section-head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 22px;
}

.storefront-body .checkout-section-head > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--p24-burgundy);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.storefront-body .checkout-section-head h2 {
    margin: 0;
    font-size: 21px;
}

.storefront-body .checkout-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: start;
}

.storefront-body .customer-type-selector {
    margin: 18px 0 0;
    padding: 0;
    min-width: 0;
    border: 0;
}

.storefront-body .customer-type-selector legend {
    margin-bottom: 10px;
    font-weight: 800;
}

.storefront-body .customer-type-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.storefront-body .customer-type-option {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 50px;
    padding: 10px 14px;
    border: 1.5px solid var(--p24-line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.storefront-body .customer-type-option:hover {
    border-color: var(--p24-burgundy);
}

.storefront-body .customer-type-option:focus-within {
    outline: 2px solid var(--p24-burgundy);
    outline-offset: 2px;
}

.storefront-body .customer-type-option.is-active {
    border-color: var(--p24-burgundy);
    background: #fff7f5;
    box-shadow: inset 0 0 0 1px var(--p24-burgundy);
}

.storefront-body .customer-type-option input {
    flex: 0 0 auto;
    accent-color: var(--p24-burgundy);
}

.storefront-body .company-details,
.storefront-body .billing-details {
    display: none;
    margin-top: 14px;
    padding: 18px;
    border: 1px solid var(--p24-line);
    border-radius: 14px;
    background: var(--p24-cream);
    container-type: inline-size;
}

.storefront-body .company-details.is-visible,
.storefront-body .billing-details.is-visible {
    display: block;
}

.storefront-body .company-details h3,
.storefront-body .billing-details h3 {
    margin: 0 0 16px;
    font-size: 16px;
}

.storefront-body .billing-details .field-hint {
    margin: -6px 0 14px;
}

.storefront-body .billing-copy-delivery {
    margin: 0 0 14px;
    padding: 9px 12px;
    border: 1px solid var(--p24-line);
    border-radius: 999px;
    background: #fff;
    color: var(--p24-ink);
    font: inherit;
    cursor: pointer;
}

.storefront-body .billing-copy-delivery:focus-visible {
    outline: 3px solid var(--p24-burgundy);
    outline-offset: 2px;
}

.storefront-body .billing-copy-delivery[hidden] {
    display: none;
}

.storefront-body .company-address-field,
.storefront-body .company-name-field,
.storefront-body .company-vat-field {
    grid-column: 1 / -1;
}

.storefront-body .company-registry-row {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 12px 14px;
    align-items: start;
}

.storefront-body .company-registration-field,
.storefront-body .company-registry-row > .field {
    min-width: 0;
}

.storefront-body .company-registration-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.storefront-body .company-registration-input-row input {
    width: 100%;
    min-width: 0;
}

.storefront-body .checkout-company-lookup-button {
    min-height: 45px;
    padding: 8px 12px;
    border: 1px solid var(--p24-burgundy);
    border-radius: 10px;
    color: var(--p24-burgundy);
    background: #fff;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    white-space: nowrap;
}

.storefront-body .checkout-company-lookup-button:hover {
    background: #ffefed;
}

.storefront-body .checkout-company-lookup-button:focus-visible {
    outline: 3px solid var(--p24-red);
    outline-offset: 2px;
}

.storefront-body .checkout-company-lookup-button:disabled {
    opacity: .65;
    cursor: wait;
}

.storefront-body .company-lookup-feedback {
    grid-column: 1 / -1;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--p24-line);
    border-radius: 10px;
    background: #fff;
    color: #635759;
    font-size: 12px;
    line-height: 1.5;
}

.storefront-body .company-lookup-feedback:empty {
    display: none;
}

.storefront-body .company-lookup-feedback[data-state="success"] {
    border-color: #b4d6bb;
    background: #f1fbf3;
    color: #23633a;
}

.storefront-body .company-lookup-feedback[data-state="warning"] {
    border-color: #ead0a7;
    background: #fffbf2;
    color: #825515;
}

.storefront-body .company-lookup-feedback[data-state="loading"] {
    border-color: #cad9e8;
    background: #f3f8fd;
    color: #325d80;
}

@container (max-width: 610px) {
    .storefront-body .company-registry-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

@container (max-width: 380px) {
    .storefront-body .company-registration-input-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .storefront-body .checkout-company-lookup-button {
        width: 100%;
    }
}

.storefront-body .field {
    display: grid;
    gap: 7px;
    color: #635759;
    font-size: 12px;
    font-weight: 750;
}

.storefront-body .phone-field .iti {
    width: 100%;

    --iti-border-color: var(--p24-line);
    --iti-country-selector-bg: #fff;
    --iti-hover-color: #f4f1f1;
    --iti-icon-color: #695e60;
}

.storefront-body .phone-field .iti__selected-country {
    color: #5f5557;
    font-size: 13px;
    font-weight: 700;
}

.storefront-body .iti__country-selector {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgb(50 35 38 / 18%);
}

.storefront-body .pirkt24-phone-search {
    min-height: 42px;
    padding-right: 36px;
    padding-left: 38px;
    border: 0;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    box-shadow: none;
}

.storefront-body .iti__country-list {
    color: #5f5557;
    font-size: 13px;
    font-weight: 500;
}

.storefront-body .iti__country {
    min-height: 38px;
}

.storefront-body .phone-field .iti:focus-within .iti__tel-input {
    border-color: var(--p24-red);
}

.storefront-body .field.has-error input,
.storefront-body .field.has-error select,
.storefront-body .field.has-error textarea,
.storefront-body .field input[aria-invalid="true"],
.storefront-body .field select[aria-invalid="true"],
.storefront-body .field textarea[aria-invalid="true"] {
    border-color: var(--shop-primary, #c40b18);
}

.storefront-body .field-hint {
    color: var(--p24-muted);
    font-size: 11px;
    font-weight: 600;
}

.storefront-body .field-error {
    color: var(--sp-d, #a30712);
    font-size: 11px;
    font-weight: 750;
}

.storefront-body .field-error:empty {
    display: none;
}

.storefront-body .checkout-group-error {
    margin: 9px 0 0;
}

.storefront-body .delivery-method-list.has-error .checkout-option,
.storefront-body .delivery-extra.has-error {
    border-color: rgb(from var(--shop-primary, rgb(196 11 24)) r g b/55%);
}

.storefront-body .checkout-agree.has-error {
    padding: 12px;
    border: 1px solid rgb(from var(--shop-primary, rgb(196 11 24)) r g b/40%);
    border-radius: 12px;
    background: #fff6f6;
}

.storefront-body .field textarea {
    resize: vertical;
}

.storefront-body .checkout-option-list {
    display: grid;
    gap: 10px;
}

.storefront-body .checkout-option {
    position: relative;
    display: grid;
    grid-template-columns: 22px 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 76px;
    padding: 14px 16px;
    border: 1px solid var(--p24-line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}

.storefront-body .checkout-option:hover,
.storefront-body .checkout-option.is-active {
    border-color: var(--p24-red);
    background: #fffafa;
}

.storefront-body .checkout-option:focus-within {
    border-color: var(--p24-red);
    box-shadow: 0 0 0 4px rgb(from var(--p24-red) r g b/12%);
    outline: 0;
}

.storefront-body .checkout-option > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.storefront-body .checkout-option-radio {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 1px solid #cdbfc0;
    border-radius: 50%;
}

.storefront-body .checkout-option.is-active .checkout-option-radio,
.storefront-body .checkout-option:has(input:checked) .checkout-option-radio {
    border: 6px solid var(--p24-red);
}

.storefront-body .checkout-option-icon {
    width: 40px;
    height: 40px;
    padding: 6px;
    border-radius: 12px;
    background: var(--p24-blush);
    color: var(--p24-red);
}

.storefront-body .checkout-option-icon > img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.storefront-body .checkout-option-icon > svg {
    display: block;
    width: 22px;
    height: 22px;
}

.storefront-body .checkout-option-body {
    display: grid;
}

.storefront-body .checkout-option-body strong,
.storefront-body .checkout-option > b {
    font-size: 12px;
}

.storefront-body .checkout-option-body small {
    color: var(--p24-muted);
    font-size: 11px;
    line-height: 1.4;
}

.storefront-body .delivery-extra {
    display: none;
    margin-top: 12px;
    padding: 16px;
    border-radius: 14px;
    background: var(--p24-cream);
}

.storefront-body .delivery-extra.is-visible {
    display: block;
}

.storefront-body .parcel-locker-list {
    display: grid;
    gap: 8px;
    max-height: none;
    margin-top: 12px;
    overflow: visible;
}

.storefront-body .parcel-locker-option {
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: start;
    min-height: 72px;
    padding: 14px;
}

.storefront-body .parcel-locker-option .checkout-option-radio {
    margin-top: 2px;
}

.storefront-body .parcel-locker-option .checkout-option-body {
    min-width: 0;
    gap: 4px;
}

.storefront-body .parcel-locker-option .checkout-option-body strong {
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.storefront-body .parcel-locker-option .checkout-option-body small {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.storefront-body .parcel-distance {
    place-self: start end;
    margin-top: 0;
    color: var(--p24-success, #178558);
}

.storefront-body .parcel-more-button {
    min-height: 46px;
    margin-top: 10px;
    border-radius: 12px;
}

.storefront-body .muted {
    color: var(--p24-muted);
    font-size: 11px;
}

.storefront-body .summary-items {
    display: grid;
    gap: 0;
}

.storefront-body .summary-items > .summary-item {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--p24-line);
    font-size: 11px;
}

.storefront-body .summary-item-media {
    position: relative;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: 12px;
    background: linear-gradient(145deg, #fff 0%, var(--p24-media-surface) 100%);
}

.storefront-body .summary-item-media img {
    position: absolute;
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    object-fit: contain;
    transition: transform .2s ease;
}

.storefront-body .summary-item:hover .summary-item-media img {
    transform: scale(1.025);
}

.storefront-body .summary-item-media .image-placeholder-mark {
    font-size: 14px;
}

.storefront-body .summary-item-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.storefront-body .summary-item-title {
    overflow: hidden;
    color: #625658;
    font-weight: 750;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.storefront-body a.summary-item-title:hover {
    color: var(--p24-red);
}

.storefront-body .summary-item-copy small {
    color: var(--p24-muted);
    font-size: 11px;
    line-height: 1.4;
}

.storefront-body .summary-item > b {
    color: var(--p24-burgundy-deep);
    font-size: 12px;
    white-space: nowrap;
}

.storefront-body .summary-items span {
    color: #625658;
}

.storefront-body .checkout-agree {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 16px 0;
    color: var(--p24-muted);
    font-size: 12px;
    line-height: 1.45;
}

.storefront-body .checkout-agree input {
    accent-color: var(--p24-red);
}

.storefront-body .checkout-place-button {
    width: 100%;
}

.storefront-body .button-icon {
    flex: 0 0 auto;
}

.storefront-body .checkout-place-button[aria-busy="true"] {
    cursor: wait;
}

.storefront-body .checkout-place-button[aria-busy="true"] .button-icon {
    display: none;
}

.storefront-body .checkout-place-button[aria-busy="true"]::before {
    width: 16px;
    height: 16px;
    border: 2px solid currentcolor;
    border-right-color: transparent;
    border-radius: 50%;
    content: "";
    animation: p24-checkout-spin .7s linear infinite;
}

@keyframes p24-checkout-spin {
    to {
        transform: rotate(360deg);
    }
}

.storefront-body .checkout-comment-field {
    margin-top: 16px;
    margin-bottom: 16px;
}

.storefront-body .checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    margin-top: 24px;
    align-items: start;
}

.storefront-body .order-detail-stack {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.storefront-body .checkout-panel,
.storefront-body .order-summary {
    padding: 24px;
}

.storefront-body .checkout-panel h2,
.storefront-body .order-summary h2 {
    margin-bottom: 18px;
}

/* Static and error pages */
.storefront-body .static-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.storefront-body .static-nav {
    position: sticky;
    top: 184px;
    display: grid;
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.storefront-body .static-nav a {
    padding: 14px 18px;
    border-bottom: 1px solid var(--p24-line);
    color: #65595b;
    font-size: 12px;
    font-weight: 700;
}

.storefront-body .static-nav a:last-child {
    border-bottom: 0;
}

.storefront-body .static-nav a:hover {
    padding-left: 22px;
    color: var(--p24-red);
    background: var(--p24-cream);
}

.storefront-body .static-nav a.is-active {
    padding-left: 22px;
    color: #fff;
    background: var(--shop-primary, #c90a1b);
}

.storefront-body .static-page,
.storefront-body .content-section {
    padding: clamp(30px, 5vw, 64px);
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius-lg);
    background: #fff;
}

.storefront-body .static-page h1,
.storefront-body .content-section h1 {
    margin-bottom: 28px;
    font-size: clamp(34px, 4vw, 58px);
}

@media (width <= 420px) {
    .storefront-body .static-page .legal-hero h1 {
        font-size: clamp(26px, 8vw, 34px);
    }
}

.storefront-body .static-copy {
    max-width: 820px;
    color: #5c5052;
    font-size: 16px;
    line-height: 1.8;
}

.storefront-body .legal-page {
    padding: clamp(28px, 4vw, 54px);
}

.storefront-body .legal-hero {
    max-width: 850px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--p24-line);
}

.storefront-body .legal-hero h1 {
    max-width: 800px;
    margin: 8px 0 16px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
}

.storefront-body .legal-hero p {
    max-width: 780px;
    margin: 0;
    color: #5c5052;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65;
}

.storefront-body .legal-hero small {
    display: block;
    margin-top: 16px;
    color: #6f6265;
    font-size: 12px;
    font-weight: 700;
}

.storefront-body .legal-notice {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 12px;
    margin: 24px 0;
    padding: 18px 20px;
    border: 1px solid #f1c8cd;
    border-radius: 16px;
    color: #5d1b24;
    background: #fff7f8;
}

.storefront-body .legal-notice svg {
    color: var(--p24-red);
}

.storefront-body .legal-notice p {
    margin: 0;
    line-height: 1.6;
}

.storefront-body .legal-sections {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.storefront-body .legal-section {
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid var(--p24-line);
    border-radius: 20px;
    background: #fffdfb;
}

.storefront-body .legal-section h2 {
    margin: 0 0 16px;
    color: var(--p24-ink);
    font-size: clamp(20px, 2.3vw, 27px);
    line-height: 1.25;
}

.storefront-body .legal-section p {
    margin: 0 0 12px;
    color: #514649;
    font-size: 15px;
    line-height: 1.75;
}

.storefront-body .legal-section p:last-child {
    margin-bottom: 0;
}

.storefront-body .legal-section ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.storefront-body .legal-section li {
    position: relative;
    padding-left: 24px;
    color: #514649;
    line-height: 1.65;
}

.storefront-body .legal-section li::before {
    position: absolute;
    top: .65em;
    left: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--p24-red);
    content: '';
}

.storefront-body .legal-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 4px 0 14px;
}

.storefront-body .legal-facts div {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #eadfe0;
    border-radius: 14px;
    background: #fff;
}

.storefront-body .legal-facts dt {
    margin-bottom: 4px;
    color: #6f6265;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.storefront-body .legal-facts dt.legal-fact-identifier {
    letter-spacing: 0;
    text-transform: none;
}

.storefront-body .legal-facts dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--p24-ink);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
}

.storefront-body .legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.storefront-body .legal-links a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 13px;
    border-radius: 10px;
    color: var(--shop-primary, #c90a1b);
    background: #fff1f3;
    font-size: 13px;
    font-weight: 800;
}

.storefront-body .legal-links a:hover {
    color: var(--p24-on-red);
    background: var(--p24-red);
}

.storefront-body .legal-links svg {
    width: 16px;
    height: 16px;
}

.storefront-body .withdrawal-form {
    margin-top: 24px;
    padding: clamp(22px, 4vw, 36px);
    border: 2px solid var(--p24-ink);
    border-radius: 22px;
    background: #fff;
}

.storefront-body .withdrawal-form-head {
    display: flex;
    gap: 24px;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 18px;
}

.storefront-body .withdrawal-form-head span {
    color: var(--p24-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.storefront-body .withdrawal-form-head h2 {
    margin: 5px 0 0;
    font-size: clamp(24px, 3vw, 34px);
}

.storefront-body .withdrawal-form-head button {
    flex: 0 0 auto;
    cursor: pointer;
}

.storefront-body .withdrawal-form > p {
    color: #514649;
    line-height: 1.7;
}

.storefront-body .withdrawal-form-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
    margin: 24px 0;
}

.storefront-body .withdrawal-form-fields div {
    display: grid;
    gap: 12px;
}

.storefront-body .withdrawal-form-fields span {
    color: #5c5052;
    font-size: 12px;
    font-weight: 800;
}

.storefront-body .withdrawal-form-fields b {
    display: block;
    height: 1px;
    background: #9a8f91;
}

.storefront-body .withdrawal-form-note {
    margin-bottom: 0;
    padding-top: 16px;
    border-top: 1px solid var(--p24-line);
    font-size: 13px;
}

.storefront-body .legal-help {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding: 22px 24px;
    border-radius: 18px;
    color: #fff;
    background: var(--p24-burgundy-deep);
}

.storefront-body .legal-help div {
    display: grid;
    gap: 4px;
}

.storefront-body .legal-help span {
    color: rgb(255 255 255 / 72%);
    font-size: 13px;
}

.storefront-body .legal-help a {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 8px;
    align-items: center;
    padding: 11px 15px;
    border-radius: 10px;
    color: var(--p24-burgundy-deep);
    background: #fff;
    font-size: 13px;
    font-weight: 850;
}

.storefront-body .checkout-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
    font-size: 12px;
}

.storefront-body .checkout-legal-links a {
    color: var(--p24-red);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (width <= 680px) {
    .storefront-body .legal-facts,
    .storefront-body .withdrawal-form-fields {
        grid-template-columns: 1fr;
    }

    .storefront-body .withdrawal-form-head,
    .storefront-body .legal-help {
        align-items: stretch;
        flex-direction: column;
    }

    .storefront-body .withdrawal-form-head button,
    .storefront-body .legal-help a {
        justify-content: center;
    }
}

@media print {
    .storefront-body .site-header,
    .storefront-body .breadcrumbs,
    .storefront-body .static-nav,
    .storefront-body .legal-hero,
    .storefront-body .legal-notice,
    .storefront-body .legal-sections,
    .storefront-body .legal-help,
    .storefront-body .site-footer,
    .storefront-body .withdrawal-form-head button {
        display: none !important;
    }

    .storefront-body .page-shell,
    .storefront-body .static-layout,
    .storefront-body .static-page {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .storefront-body .withdrawal-form {
        margin: 0;
        border: 1px solid #000;
        break-inside: avoid;
    }
}

/* Footer */
.storefront-body .site-footer {
    margin-top: 0;
    color: rgb(255 255 255 / 72%);
    background: var(--p24-burgundy-deep);
}

.storefront-body .footer-main,
.storefront-body .footer-bottom {
    width: min(var(--p24-max), calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.storefront-body .footer-main {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(150px, .7fr));
    gap: clamp(30px, 5vw, 70px);
    padding: 58px 0 48px;
}

.storefront-body .footer-logo {
    display: block;
    width: 245px;
    max-width: 100%;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.storefront-body .footer-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.storefront-body .footer-company p {
    max-width: 430px;
    color: rgb(255 255 255 / 54%);
    font-size: 13px;
}

.storefront-body .footer-company address,
.storefront-body .footer-contact {
    gap: 4px;
    color: rgb(255 255 255 / 64%);
    font-size: 12px;
    font-style: normal;
}

.storefront-body .footer-hours {
    display: grid;
    gap: 1px;
    margin-top: 7px;
}

.storefront-body .footer-hours-title {
    color: #3f4753;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.storefront-body .footer-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 14px;
    margin-top: 8px;
}

.storefront-body nav.footer-contact {
    gap: 0 16px;
    margin-top: 4px;
    padding-top: 5px;
    border-top: 1px solid rgb(255 255 255 / 10%);
}

.storefront-body .footer-contact a {
    color: #fff;
    font-weight: 800;
}

.storefront-body .footer-column {
    display: grid;
    align-content: start;
    gap: 10px;
}

.storefront-body .footer-column h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 13px;
    letter-spacing: .03em;
}

.storefront-body .footer-column a {
    color: rgb(255 255 255 / 58%);
    font-size: 12px;
}

.storefront-body .footer-column a:hover {
    color: #fff;
    transform: translateX(3px);
}

.storefront-body .footer-social-title {
    margin-top: 18px !important;
}

.storefront-body .footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0 28px;
    border-top: 1px solid rgb(255 255 255 / 10%);
    color: rgb(255 255 255 / 40%);
    font-size: 11px;
}

@media (width <= 1180px) {
    .storefront-body .home-category-grid,
    .storefront-body .subcategory-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

@media (width <= 940px) {
    .storefront-body .store-benefits {
        grid-template-columns: 1fr 1fr;
    }

    .storefront-body .home-category-grid,
    .storefront-body .subcategory-list {
        grid-template-columns: 1fr 1fr;
    }

    .storefront-body .product-list {
        grid-template-columns: 1fr 1fr;
    }

    .storefront-body .catalog-layout,
    .storefront-body .static-layout,
    .storefront-body .product-page,
    .storefront-body .cart-layout,
    .storefront-body .checkout-grid {
        grid-template-columns: 1fr;
    }

    .storefront-body .catalog-sidebar,
    .storefront-body .static-nav,
    .storefront-body .cart-summary-card,
    .storefront-body .order-summary {
        position: static;
    }

    .storefront-body .catalog-sidebar {
        top: auto;
    }

    .storefront-body .catalog-filter-toggle {
        display: inline-flex;
    }

    .storefront-body .catalog-filter-form {
        grid-template-columns: repeat(3, 1fr);
    }

    .storefront-body .catalog-filter-actions {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

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

    .storefront-body .product-benefits {
        grid-template-columns: 1fr 1fr;
    }

    .storefront-body .related-products .product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .storefront-body .checkout-form {
        grid-template-columns: 1fr;
    }

    .storefront-body .checkout-order-section {
        grid-column: auto;
        grid-row: auto;
        position: static;
    }

    .storefront-body .footer-main {
        grid-template-columns: 1.25fr 1fr 1fr;
    }

    .storefront-body .footer-company {
        grid-column: 1 / -1;
    }
}

@media (width <= 640px) {
    .storefront-body .breadcrumbs.is-compact-mobile ol {
        min-height: 44px;
    }

    .storefront-body .breadcrumbs.is-compact-mobile li {
        display: none;
    }

    .storefront-body .breadcrumbs.is-compact-mobile li:nth-last-child(2) {
        display: flex;
        min-width: 0;
    }

    .storefront-body .breadcrumbs.is-compact-mobile li:nth-last-child(2)::after {
        display: none;
    }

    .storefront-body .breadcrumbs.is-compact-mobile li:nth-last-child(2) a {
        display: flex;
        align-items: center;
        min-width: 0;
        min-height: 44px;
        overflow: hidden;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront-body .breadcrumbs.is-compact-mobile li:nth-last-child(2) a::before {
        margin-right: 8px;
        content: "←";
    }

    .storefront-body .search-suggestions {
        max-height: min(324px, calc(100vh - 190px));
    }

    .storefront-body .search-suggestion {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .storefront-body .search-suggestion-media {
        width: 42px;
        height: 42px;
    }

    .storefront-body .search-suggestion-price {
        grid-column: 2;
        justify-self: start;
    }

    .storefront-body .page-shell {
        width: min(100% - 28px, var(--p24-max));
        padding-top: 18px;
        padding-bottom: 54px;
    }

    .storefront-body .hero-watermark {
        font-size: 120px;
    }

    .storefront-body .store-benefits {
        gap: 9px;
        margin-bottom: 52px;
    }

    .storefront-body .store-benefit {
        grid-template-columns: 38px minmax(0, 1fr);
        min-height: 92px;
        padding: 14px;
    }

    .storefront-body .store-benefit-icon {
        width: 36px;
        height: 36px;
        padding: 8px;
    }

    .storefront-body .store-benefit strong {
        font-size: 12px;
    }

    .storefront-body .store-benefit small {
        font-size: 10px;
    }

    .storefront-body .section-heading {
        align-items: start;
    }

    .storefront-body .section-heading h2,
    .storefront-body .catalog-heading h1,
    .storefront-body .cart-heading h1,
    .storefront-body .checkout-heading h1 {
        font-size: 32px;
    }

    .storefront-body .home-category-grid,
    .storefront-body .subcategory-list,
    .storefront-body .catalog-results .product-list,
    .storefront-body .category-tree {
        grid-template-columns: 1fr;
    }

    .storefront-body .subcategory-list {
        gap: 8px;
        margin-top: 14px;
    }

    .storefront-body .subcategory-item {
        min-height: 64px;
        padding: 10px 12px;
    }

    .storefront-body .product-list {
        gap: 10px;
    }

    .storefront-body .home-products .product-list {
        grid-template-columns: 1fr;
    }

    .storefront-body .product-image {
        aspect-ratio: 1 / 1;
    }

    .storefront-body .product-image img {
        inset: 14px;
        width: calc(100% - 28px);
        height: calc(100% - 28px);
    }

    .storefront-body .product-info {
        padding: 13px 13px 8px;
    }

    .storefront-body .product-purchase {
        padding: 8px 13px 14px;
    }

    .storefront-body .product-title {
        font-size: 12px;
        min-height: calc(2 * 1.42em);
    }

    .storefront-body .product-price {
        font-size: 18px;
    }

    .storefront-body .catalog-filter-form {
        grid-template-columns: 1fr;
    }

    .storefront-body .catalog-filter-actions {
        grid-column: auto;
    }

    .storefront-body .catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .storefront-body .catalog-toolbar-actions {
        justify-content: space-between;
    }

    .storefront-body .catalog-sort {
        flex: 1;
    }

    .storefront-body .catalog-sort label,
    .storefront-body .catalog-sort select {
        width: 100%;
    }

    .storefront-body .product-gallery-main,
    .storefront-body .product-gallery-trigger,
    .storefront-body .product-gallery-trigger > img {
        min-height: 290px;
        height: 290px;
    }

    .storefront-body .product-gallery-trigger > img {
        padding: 20px;
    }

    .storefront-body .product-buy-box {
        padding: 24px 18px;
    }

    .storefront-body .product-buy-box h1 {
        margin-bottom: 18px;
        font-size: clamp(24px, 7vw, 30px);
    }

    .storefront-body .product-offer {
        padding: 18px;
    }

    .storefront-body .product-discontinued-actions-list {
        display: grid;
    }

    .storefront-body .product-discontinued-action {
        width: 100%;
    }

    .storefront-body .product-buy-form {
        grid-template-columns: 1fr 48px;
    }

    .storefront-body .product-buy-form .quantity-control {
        grid-column: 1 / -1;
    }

    .storefront-body .product-benefits {
        grid-template-columns: 1fr;
    }

    .storefront-body .product-lightbox {
        width: 100%;
        height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .storefront-body .product-lightbox-frame {
        grid-template-rows: 56px minmax(0, 1fr) auto;
    }

    .storefront-body .product-lightbox-header {
        gap: 10px;
        padding: 0 10px 0 16px;
    }

    .storefront-body .product-lightbox-title {
        font-size: 12px;
    }

    .storefront-body .product-lightbox-stage > img {
        padding: 12px;
    }

    .storefront-body .product-lightbox-nav {
        top: 50%;
        width: 42px;
        height: 42px;
        transform: translateY(-50%);
        background: rgb(255 255 255 / 92%);
    }

    .storefront-body .product-lightbox-nav.is-previous {
        left: 8px;
    }

    .storefront-body .product-lightbox-nav.is-next {
        right: 8px;
    }

    .storefront-body .product-lightbox-nav:hover {
        transform: translateY(-50%);
    }

    .storefront-body .product-lightbox-counter {
        padding: 6px 9px;
    }

    .storefront-body .product-lightbox-close {
        width: 42px;
        height: 42px;
    }

    .storefront-body .product-lightbox-thumbs {
        gap: 7px;
        padding: 9px 10px max(9px, env(safe-area-inset-bottom));
    }

    .storefront-body .product-lightbox-thumb {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        border-radius: 9px;
    }

    .storefront-body .favorites-drawer {
        width: 100%;
    }

    .storefront-body .favorites-drawer header,
    .storefront-body .favorites-drawer-list,
    .storefront-body .favorites-drawer footer {
        padding-right: 16px;
        padding-left: 16px;
    }

    .storefront-body .storefront-toast {
        right: 16px;
        bottom: 88px;
        grid-template-columns: 34px minmax(0, 1fr) 32px;
    }

    .storefront-body .storefront-toast a {
        grid-column: 2;
    }

    .storefront-body .storefront-toast button {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .storefront-body .product-sticky-buy {
        position: fixed;
        z-index: 180;
        right: 10px;
        bottom: 10px;
        left: 10px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        align-items: center;
        padding: 10px 10px 10px 16px;
        transform: translateY(calc(100% + 24px));
        border: 1px solid rgb(255 255 255 / 16%);
        border-radius: 18px;
        background: var(--p24-burgundy-deep);
        color: #fff;
        box-shadow: 0 18px 48px rgb(from var(--sp-i, rgb(62 0 8)) r g b/32%);
        opacity: 0;
        pointer-events: none;
        transition: transform .2s ease, opacity .2s ease;
    }

    .storefront-body .product-sticky-buy.is-visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .storefront-body .product-sticky-buy span {
        display: grid;
        min-width: 0;
    }

    .storefront-body .product-sticky-buy small {
        color: rgb(255 255 255 / 62%);
        font-size: 9px;
    }

    .storefront-body .product-sticky-buy strong {
        overflow: hidden;
        font-size: 17px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront-body .product-sticky-buy button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 48px;
        padding: 0 18px;
        border: 0;
        border-radius: 13px;
        background: var(--p24-red);
        color: var(--p24-on-red);
        font-size: 12px;
        font-weight: 900;
    }

    .storefront-body .checkout-steps {
        grid-template-columns: 1fr 1.2fr 1fr;
        gap: 5px;
        margin-bottom: 28px;
        padding: 5px;
        border-radius: 18px;
    }

    .storefront-body .checkout-step {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 6px;
        min-height: 56px;
        padding: 6px;
        border-radius: 13px;
        font-size: 11px;
        line-height: 1.15;
    }

    .storefront-body .checkout-step::before {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .storefront-body .cart-item {
        grid-template-columns: 88px minmax(0, 1fr) 44px;
        gap: 12px;
        padding: 15px;
    }

    .storefront-body .cart-item-image {
        width: 88px;
        height: 88px;
    }

    .storefront-body .cart-item-image img {
        inset: 11px;
        width: calc(100% - 22px);
        height: calc(100% - 22px);
    }

    .storefront-body .cart-item-price {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        justify-items: start;
        padding-top: 0;
        text-align: left;
    }

    .storefront-body .cart-item-remove {
        grid-column: 3;
        grid-row: 1;
    }

    .storefront-body .cart-list-actions {
        padding: 12px 15px;
    }

    .storefront-body .cart-list-actions .cart-update-button {
        width: 100%;
    }

    .storefront-body .checkout-section,
    .storefront-body .checkout-panel,
    .storefront-body .order-summary {
        padding: 18px;
    }

    .storefront-body .checkout-fields {
        grid-template-columns: 1fr;
    }

    .storefront-body .customer-type-options {
        grid-template-columns: 1fr;
    }

    .storefront-body .company-address-field,
    .storefront-body .company-name-field,
    .storefront-body .company-vat-field {
        grid-column: auto;
    }

    .storefront-body .checkout-option {
        grid-template-columns: 22px 36px minmax(0, 1fr);
    }

    .storefront-body .checkout-option-icon {
        display: grid;
        width: 36px;
        height: 36px;
        padding: 5px;
    }

    .storefront-body .checkout-option > b {
        grid-column: 3;
    }

    .storefront-body .parcel-locker-option {
        grid-template-columns: 22px minmax(0, 1fr) auto;
        gap: 10px;
        align-items: start;
        min-height: 72px;
        padding: 13px 14px;
    }

    .storefront-body .parcel-locker-option .checkout-option-body {
        grid-column: auto;
    }

    .storefront-body .parcel-locker-option > b,
    .storefront-body .parcel-distance {
        grid-column: auto;
        justify-self: end;
    }

    .storefront-body .summary-items > .summary-item {
        grid-template-columns: 54px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .storefront-body .summary-item-media {
        width: 54px;
        height: 54px;
        border-radius: 10px;
    }

    .storefront-body .summary-item-media img {
        inset: 7px;
        width: calc(100% - 14px);
        height: calc(100% - 14px);
    }

    .storefront-body .static-page,
    .storefront-body .content-section {
        padding: 28px 20px;
    }

    .storefront-body .footer-main,
    .storefront-body .footer-bottom {
        width: calc(100% - 32px);
    }

    .storefront-body .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 34px 24px;
    }

    .storefront-body .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (width >= 421px) and (width <= 640px) {
    .storefront-body .product-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .storefront-body .product-benefits a {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 10px;
        min-height: 88px;
        padding: 14px;
    }

    .storefront-body .product-benefit-icon {
        width: 36px;
        height: 36px;
        padding: 8px;
        border-radius: 11px;
    }
}

@media (width <= 420px) {
    /* Keep a full 132px quantity control even on a 320px viewport. */
    .storefront-body .cart-item {
        grid-template-columns: 72px minmax(0, 1fr) 44px;
        gap: 10px;
        padding: 12px;
    }

    .storefront-body .cart-item-image {
        width: 72px;
        height: 72px;
    }

    .storefront-body .cart-item-image img {
        inset: 8px;
        width: calc(100% - 16px);
        height: calc(100% - 16px);
    }

    .storefront-body .cart-country-form {
        grid-template-columns: 1fr;
    }

    .storefront-body .cart-country-apply {
        width: 100%;
    }

    .storefront-body .store-benefits,
    .storefront-body .product-list,
    .storefront-body .footer-main {
        grid-template-columns: 1fr;
    }

    .storefront-body .catalog-toolbar-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .storefront-body .checkout-step {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 4px;
        min-height: 64px;
        line-height: 1.2;
        text-align: center;
    }

}

/* Refined category discovery, catalog directory and footer */
.storefront-body :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgb(from var(--p24-red) r g b/28%);
    outline-offset: 3px;
}

/* @critical:start */
.storefront-body .utility-meta .phone {
    color: #fff;
    text-decoration: none;
}

/* @critical:end */

.storefront-body .utility-meta .phone:hover {
    color: #ffd7da;
}

.storefront-body .home-categories {
    position: relative;
    margin: 0 0 80px;
    padding: clamp(28px, 4vw, 52px);
    overflow: hidden;
    border: 1px solid rgb(98 8 18 / 8%);
    border-radius: 32px;
    background:
        radial-gradient(circle at 92% 4%, rgb(from var(--p24-red) r g b/12%), transparent 25%),
        linear-gradient(145deg, #f7eeee 0%, #f1e5e5 100%);
}

.storefront-body .home-categories::after {
    position: absolute;
    right: -74px;
    bottom: -116px;
    width: 260px;
    height: 260px;
    border: 54px solid rgb(255 255 255 / 42%);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.storefront-body .home-category-intro {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 30px;
}

.storefront-body .home-category-intro > hgroup {
    max-width: 690px;
}

.storefront-body .home-category-intro h2 {
    margin: 9px 0 8px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: .98;
}

.storefront-body .home-category-lead {
    max-width: 640px;
    margin: 0;
    color: #6b5b5e;
    line-height: 1.65;
}

.storefront-body .home-category-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid rgb(83 4 14 / 18%);
    border-radius: 999px;
    background: rgb(255 255 255 / 72%);
    color: var(--p24-burgundy);
    font-weight: 850;
    white-space: nowrap;
}

.storefront-body .home-category-all:hover {
    border-color: var(--p24-burgundy);
    background: #fff;
    transform: translateY(-2px);
}

.storefront-body .home-category-all svg {
    width: 18px;
    height: 18px;
}

.storefront-body .home-category-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.storefront-body .catalog-index-page {
    padding-bottom: 84px;
}

.storefront-body .catalog-directory-hero {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
    padding: clamp(28px, 4vw, 52px);
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 86% 10%, rgb(from var(--p24-red) r g b/34%), transparent 28%),
        linear-gradient(135deg, #24070c 0%, var(--sp-m, #580a14) 100%);
    color: var(--p24-on-red);
}

.storefront-body .catalog-directory-hero::after {
    position: absolute;
    right: -45px;
    bottom: -85px;
    width: 210px;
    height: 210px;
    border: 38px solid rgb(255 255 255 / 6%);
    border-radius: 50%;
    content: "";
}

.storefront-body .catalog-directory-hero > * {
    position: relative;
    z-index: 1;
}

.storefront-body .catalog-directory-hero .section-label {
    color: var(--sp-l, #ff9da4);
}

.storefront-body .catalog-directory-hero h1 {
    margin: 10px 0;
    color: #fff;
    font-size: clamp(42px, 5vw, 72px);
    line-height: .95;
}

.storefront-body .catalog-directory-lead {
    max-width: 720px;
    margin: 0;
    color: rgb(255 255 255 / 68%);
    font-size: 15px;
    line-height: 1.65;
}

.storefront-body .catalog-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.storefront-body .catalog-directory-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--p24-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 36px rgb(67 13 20 / 5%);
}

.storefront-body .catalog-directory-card:hover {
    border-color: rgb(from var(--p24-red) r g b/34%);
    box-shadow: 0 22px 50px rgb(67 13 20 / 10%);
    transform: translateY(-3px);
}

.storefront-body .catalog-directory-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.storefront-body .catalog-directory-icon {
    width: 52px;
    height: 52px;
    padding: 13px;
    border: 1px solid rgb(from var(--p24-red) r g b/8%);
    border-radius: 16px;
    background: var(--p24-blush);
    color: var(--p24-red);
    box-shadow: 0 9px 22px rgb(from var(--p24-burgundy) r g b/7%);
}

.storefront-body .catalog-directory-card-count {
    display: grid;
    justify-items: end;
    gap: 4px;
    min-width: 88px;
    color: var(--p24-burgundy-deep);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.storefront-body .catalog-directory-card-count strong {
    font-size: 18px;
    font-weight: 900;
}

.storefront-body .catalog-directory-card-count small {
    color: #8e7d80;
    font-size: 10px;
    font-weight: 750;
}

.storefront-body .catalog-directory-heading {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.14;
}

.storefront-body .catalog-directory-title {
    display: grid;
}

.storefront-body .catalog-directory-title:hover {
    color: var(--p24-red);
}

.storefront-body .catalog-directory-card:hover .catalog-directory-icon {
    transform: translateY(-2px);
}

.storefront-body .catalog-directory-children {
    display: grid;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--p24-line);
}

.storefront-body .catalog-directory-children a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 42px;
    padding: 8px 0;
    border-bottom: 1px solid var(--p24-line);
    color: #64575a;
    font-size: 12px;
}

.storefront-body .catalog-directory-children a:hover {
    color: var(--p24-red);
    padding-left: 5px;
}

.storefront-body .catalog-directory-children small {
    color: #aa9d9f;
    font-size: 10px;
}

.storefront-body .catalog-directory-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 24px;
    margin-top: auto;
    color: var(--p24-burgundy);
    font-size: 12px;
    font-weight: 900;
}

.storefront-body .catalog-directory-cta:hover {
    color: var(--p24-red);
}

.storefront-body .catalog-directory-cta svg {
    width: 17px;
    height: 17px;
}

.storefront-body .static-contact-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0 20px;
}

.storefront-body .static-contact-actions a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 14px 18px;
    border: 1px solid var(--p24-line);
    border-radius: 16px;
    background: #fff;
}

.storefront-body .static-contact-actions a:hover {
    border-color: var(--p24-red);
    transform: translateY(-2px);
}

.storefront-body .static-contact-actions svg {
    color: var(--p24-red);
}

.storefront-body .static-contact-actions span {
    display: grid;
}

.storefront-body .static-contact-actions small {
    color: var(--p24-muted);
    font-size: 10px;
}

.storefront-body .static-contact-actions strong {
    font-size: 14px;
}

.storefront-body .static-contact-hours {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    margin: 0 0 24px;
    padding: 20px;
    border: 1px solid #eadfe0;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
}

.storefront-body .static-contact-hours-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--p24-blush);
    color: var(--p24-burgundy);
}

.storefront-body .static-contact-hours-icon svg {
    width: 23px;
    height: 23px;
}

.storefront-body .static-contact-hours h2 {
    margin: 1px 0 8px;
    color: var(--p24-burgundy-deep);
    font-size: 18px;
}

.storefront-body .static-contact-hours p {
    margin: 2px 0 0;
    color: #66575a;
    font-size: 13px;
    line-height: 1.5;
}

.storefront-body .site-footer {
    position: relative;
    padding-top: 14px;
    overflow: hidden;
    border-top: 1px solid #f0e3e0;
    color: #5f5052;
    background: #fffaf7;
}

.storefront-body .site-footer::after {
    display: none;
}

.storefront-body .footer-frame {
    position: relative;
    z-index: 1;
    width: min(var(--p24-max), calc(100% - 48px));
    margin: 0 auto;
}

.storefront-body .footer-support-card {
    display: grid;
    grid-template-columns: 48px minmax(260px, 1fr) auto;
    gap: 14px 16px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid #f0dfdc;
    border-radius: 16px;
    background: #fff;
    color: var(--p24-burgundy-deep);
    box-shadow: 0 8px 24px rgb(63 18 24 / 6%);
}

.storefront-body .footer-support-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--p24-burgundy-deep);
    color: #fff;
}

.storefront-body .footer-support-icon svg {
    width: 29px;
    height: 29px;
}

.storefront-body .footer-eyebrow {
    color: var(--shop-primary, #c90a1b);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.storefront-body .footer-support-copy h2 {
    margin: 4px 0;
    color: var(--p24-burgundy-deep);
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.15;
}

.storefront-body .footer-support-copy p {
    max-width: 610px;
    margin: 0;
    color: #75686a;
    font-size: 13px;
}

.storefront-body .footer-support-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(190px, 1fr));
    gap: 9px;
}

.storefront-body .footer-support-action {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid #f0e1de;
    border-radius: 11px;
    background: #fff;
    color: var(--p24-burgundy-deep);
}

.storefront-body .footer-support-action.is-primary {
    border-color: var(--shop-primary, #c90a1b);
    background: var(--shop-primary, #c90a1b);
    color: #fff;
}

.storefront-body .footer-support-action:hover {
    border-color: var(--p24-red);
    box-shadow: none;
    transform: translateY(-2px);
}

.storefront-body .footer-support-action svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
}

.storefront-body .footer-support-action span {
    display: grid;
}

.storefront-body .footer-support-action small {
    color: #75686a;
    font-size: 9px;
    font-weight: 750;
}

.storefront-body .footer-support-action.is-primary small {
    color: #fff;
}

.storefront-body .footer-support-action strong {
    font-size: 12px;
    white-space: nowrap;
}

.storefront-body .footer-main {
    width: 100%;
    grid-template-columns: minmax(230px, 1.35fr) repeat(3, minmax(140px, 1fr));
    gap: clamp(20px, 2.5vw, 32px);
    padding: 22px 0 18px;
}

.storefront-body .footer-logo {
    width: 172px;
    margin-bottom: 8px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

.storefront-body .footer-logo img {
    filter: none;
}

.storefront-body .footer-company p {
    max-width: 390px;
    margin-bottom: 8px;
    color: #62585a;
    line-height: 1.5;
}

.storefront-body .footer-company address,
.storefront-body .footer-contact {
    margin-bottom: 8px;
    color: #75686a;
    line-height: 1.45;
}

.storefront-body .footer-company > .footer-contact {
    margin-top: 4px;
}

.storefront-body .footer-column {
    gap: 0;
}

.storefront-body .footer-column h2 {
    margin-bottom: 6px;
    color: var(--p24-burgundy-deep);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.storefront-body .footer-column a {
    color: #62585a;
    font-size: 12px;
}

.storefront-body .footer-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0 0 14px;
    border: 0;
    list-style: none;
}

.storefront-body .footer-trust-item {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    min-height: 76px;
    padding: 12px 14px;
    border: 1px solid #f0e3e0;
    border-radius: 14px;
    background: #fff;
}

.storefront-body .footer-trust-row svg {
    flex: 0 0 auto;
    box-sizing: content-box;
    width: 20px;
    height: 20px;
    padding: 9px;
    border-radius: 11px;
    background: #fff1f0;
    color: var(--p24-red-dark);
}

.storefront-body .footer-trust-text {
    display: grid;
    min-width: 0;
}

.storefront-body .footer-trust-row strong {
    color: var(--p24-burgundy-deep);
    font-size: 11px;
}

.storefront-body .footer-trust-row small {
    color: #75686a;
    font-size: 11px;
    line-height: 1.4;
}

.storefront-body .footer-partners {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 32px);
    padding: 16px 0;
    border-bottom: 1px solid #e3e6eb;
}

.storefront-body .footer-partner-group {
    display: grid;
    align-content: start;
    gap: 10px;
    min-width: 0;
}

.storefront-body .footer-partner-group h2 {
    margin: 0;
    color: #555e6c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.storefront-body .footer-comparison-badges,
.storefront-body .footer-payment-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.storefront-body .footer-partner-badge,
.storefront-body .footer-makecommerce-badge,
.storefront-body .footer-bank-badge {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 9px;
    background: #fff;
}

.storefront-body .footer-partner-badge {
    min-width: 140px;
    min-height: 60px;
    padding: 10px;
}

.storefront-body .footer-comparison-badges .footer-partner-badge {
    width: 160px;
    min-width: 150px;
    height: 56px;
    min-height: 56px;
    padding: 0;
    aspect-ratio: 3 / 1;
}

.storefront-body .footer-partner-logo {
    display: block;
    margin: 0 auto 3px;
}

.storefront-body .footer-partner-badge:hover,
.storefront-body .footer-makecommerce-badge:hover {
    border-color: var(--shop-primary, #c90a1b);
    box-shadow: 0 3px 10px rgb(25 32 44 / 8%);
    transform: translateY(-2px);
}

.storefront-body .footer-partner-badge img,
.storefront-body .footer-makecommerce-badge img,
.storefront-body .footer-bank-badge img {
    display: block;
    max-width: 100%;
    object-fit: contain;
}

.storefront-body .footer-comparison-badges .footer-partner-badge img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.storefront-body .footer-makecommerce-badge {
    min-width: 154px;
    min-height: 56px;
    padding: 7px 10px;
}

.storefront-body .footer-bank-badge {
    width: 100px;
    height: 44px;
    padding: 6px;
}

/* Provider availability is supplied by /admin/payments; only its visual treatment lives here. */
.storefront-body .footer-online-payment-badge {
    gap: 9px;
    width: auto;
    min-width: 0;
    color: #1e293b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.storefront-body .footer-online-payment-badge > .checkout-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 44px;
}

.storefront-body .footer-online-payment-badge .checkout-option-icon img {
    width: 42px;
    height: 40px;
    object-fit: contain;
}

.storefront-body .footer-online-payment-badge .checkout-option-icon svg {
    width: 28px;
    height: 28px;
}

.storefront-body .footer-online-payment-name {
    overflow-wrap: anywhere;
}

.storefront-body .footer-bottom {
    width: 100%;
    padding: 10px 0 14px;
    border-top: 1px solid #f0e3e0;
    flex-wrap: wrap;
    color: #75686a;
}

.storefront-body .footer-copyright {
    min-width: 0;
    overflow-wrap: anywhere;
}

.storefront-body .pwa-install-button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 10px;
    background: rgb(255 255 255 / 7%);
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.storefront-body .pwa-install-button:hover {
    border-color: rgb(255 255 255 / 34%);
    background: rgb(255 255 255 / 12%);
}

.storefront-body .pwa-install-button svg {
    width: 16px;
    height: 16px;
}

/* @critical:start */
.storefront-body .pwa-splash {
    display: none;
}

/* @critical:end */

html.pwa-launching .pwa-splash {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    place-items: center;
    background: #fffaf7;
    color: #3f1218;
    pointer-events: none;
}

.storefront-body .pwa-splash-card {
    display: grid;
    justify-items: center;
    gap: 10px;
    min-width: 220px;
    padding: 32px 40px;
    border: 1px solid rgb(from var(--shop-primary, #a50012) r g b/12%);
    border-radius: 24px;
    background: rgb(255 255 255 / 92%);
    box-shadow: 0 24px 80px rgb(63 18 24 / 14%);
}

.storefront-body .pwa-splash-card img {
    border-radius: 18px;
}

.storefront-body .pwa-splash-card strong {
    color: var(--shop-primary, #a50012);
    font-size: 24px;
    letter-spacing: 0;
}

.storefront-body .pwa-splash-card span {
    color: #70565b;
    font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
    html.pwa-launching .pwa-splash {
        animation: none;
    }
}

@media (width <= 1120px) {
    .storefront-body .footer-support-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .storefront-body .footer-support-actions {
        grid-column: 1 / -1;
    }

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

@media (width <= 900px) {
    .storefront-body .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .storefront-body .footer-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .storefront-body .footer-company {
        grid-column: 1 / -1;
    }

    .storefront-body .footer-partners {
        grid-template-columns: 1fr;
    }
}

@media (width <= 640px) {
    .storefront-body .brand-hero {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 15px;
        padding: 20px 18px;
    }

    .storefront-body .brand-hero-mark {
        width: 58px;
        border-radius: 16px;
        font-size: 27px;
    }

    .storefront-body .brand-hero-body h1 {
        font-size: 32px;
    }

    .storefront-body .brand-hero-link {
        grid-column: 1 / -1;
        justify-self: start;
        padding-top: 5px;
    }

    .storefront-body .brand-category-panel {
        padding: 18px 16px;
    }

    .storefront-body .brand-category-heading h2 {
        font-size: 19px;
    }

    .storefront-body .home-categories {
        margin-bottom: 54px;
        padding: 24px 16px 16px;
        border-radius: 24px;
    }

    .storefront-body .home-category-intro {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 22px;
    }

    .storefront-body .home-category-intro h2 {
        font-size: 38px;
    }

    .storefront-body .home-category-lead {
        font-size: 13px;
    }

    .storefront-body .home-category-all {
        align-self: flex-start;
        min-height: 46px;
    }

    .storefront-body .home-category-grid,
    .storefront-body .catalog-directory-grid {
        grid-template-columns: 1fr;
    }

    .storefront-body .catalog-directory-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 22px;
        border-radius: 24px;
    }

    .storefront-body .catalog-directory-hero h1 {
        font-size: 48px;
    }

    .storefront-body .catalog-directory-card {
        min-height: 188px;
        padding: 22px;
    }

    .storefront-body .catalog-directory-heading {
        margin-bottom: 22px;
    }

    .storefront-body .catalog-directory-children {
        display: none;
    }

    .storefront-body .static-contact-actions {
        grid-template-columns: 1fr;
    }

    .storefront-body .site-footer {
        padding-top: 32px;
    }

    .storefront-body .footer-frame {
        width: calc(100% - 32px);
    }

    .storefront-body .footer-support-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 20px;
    }

    .storefront-body .footer-support-icon {
        width: 56px;
        height: 56px;
    }

    .storefront-body .footer-support-actions {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .storefront-body .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 34px 22px;
        padding: 44px 0 34px;
    }

    .storefront-body .footer-trust-row {
        grid-template-columns: 1fr;
    }

    .storefront-body .footer-trust-item {
        padding: 17px 0;
    }

    .storefront-body .footer-trust-item + .footer-trust-item {
        border-top: 1px solid rgb(255 255 255 / 10%);
        border-left: 0;
    }

    .storefront-body .footer-partners {
        gap: 26px;
        padding: 26px 0;
    }

    .storefront-body .footer-comparison-badges,
    .storefront-body .footer-payment-badges {
        align-items: stretch;
    }

    .storefront-body .footer-partner-badge {
        flex: 1 1 140px;
    }

    .storefront-body .footer-makecommerce-badge {
        flex: 1 1 174px;
    }
}

@media (width <= 420px) {
    .storefront-body .footer-main {
        grid-template-columns: 1fr;
    }

    .storefront-body .footer-company {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .storefront-body *,
    .storefront-body *::before,
    .storefront-body *::after {
        scroll-behavior: auto !important;

        /* Avoid starting layout transitions on elements whose property defaults to all. */
        transition-duration: 0s !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.storefront-read-only-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 9px 20px;
    color: #5d1b24;
    background: #fff1f2;
    border-bottom: 1px solid #efc8cc;
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
}

/* Responsive guardrails: keep every public template usable before and after JS. */
.storefront-body .catalog-layout,
.storefront-body .catalog-sidebar,
.storefront-body .catalog-results,
.storefront-body .product-list,
.storefront-body .product-card,
.storefront-body .product-page,
.storefront-body .product-buy-box,
.storefront-body .product-detail-content {
    min-width: 0;
}

.storefront-body .catalog-sidebar.is-collapsible .catalog-filter-toggle {
    touch-action: manipulation;
}

@media (width <= 940px) {
    .storefront-body .catalog-sidebar.is-collapsible .catalog-filter-form {
        display: none;
    }

    .storefront-body .catalog-sidebar.is-collapsible.is-open .catalog-filter-form {
        display: grid;
    }

    .storefront-body .catalog-sidebar,
    .storefront-body .catalog-results {
        width: 100%;
    }
}

@media (width <= 640px) {
    .storefront-body .catalog-heading,
    .storefront-body .cart-heading,
    .storefront-body .checkout-heading {
        align-items: flex-start;
    }

    .storefront-body .catalog-query-chip {
        max-width: 100%;
    }

    .storefront-body .catalog-layout {
        gap: 12px;
    }

    .storefront-body .catalog-sidebar-head {
        padding: 16px;
    }

    .storefront-body .catalog-sidebar-head h2 {
        font-size: 18px;
    }

    .storefront-body .catalog-filter-group {
        padding: 16px;
    }

    .storefront-body .catalog-filter-actions {
        padding: 16px;
    }

    .storefront-body .catalog-toolbar,
    .storefront-body .catalog-sort,
    .storefront-body .catalog-sort label {
        min-width: 0;
    }

    .storefront-body .catalog-sort select {
        min-width: 0;
        text-overflow: ellipsis;
    }

    .storefront-body .product-list,
    .storefront-body .catalog-results .product-list,
    .storefront-body .related-products .product-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .storefront-body .product-card {
        border-radius: 16px;
    }

    .storefront-body .product-title,
    .storefront-body .product-brand,
    .storefront-body .stock-status,
    .storefront-body .delivery-status {
        overflow-wrap: anywhere;
    }

    .storefront-body .card-cart-button {
        min-height: 48px;
        font-size: 13px;
    }

    .storefront-body .product-sticky-buy {
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        left: 10px;
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }

    .storefront-body .product-sticky-buy button {
        min-width: 0;
        padding-right: 14px;
        padding-left: 14px;
    }

    .storefront-body .storefront-toast {
        bottom: max(88px, calc(env(safe-area-inset-bottom) + 76px));
    }
}

@media (width <= 360px) {
    .storefront-body .utility-bar,
    .storefront-body .main-header {
        padding-right: 12px;
        padding-left: 12px;
    }

    .storefront-body .utility-meta {
        gap: 6px;
    }

    .storefront-body .language-switcher {
        gap: 0;
    }

    .storefront-body .language-switcher a {
        min-width: 28px;
        padding-right: 2px;
        padding-left: 2px;
        font-size: 10px;
    }

    .storefront-body .phone {
        font-size: 11px;
        white-space: nowrap;
    }

    .storefront-body .main-header {
        grid-template-columns: minmax(0, 1fr) 40px auto;
        gap: 6px;
    }

    .storefront-body .site-logo {
        width: min(132px, 100%);
    }

    .storefront-body .main-header .catalog-button {
        width: 40px !important;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .storefront-body .header-action {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .storefront-body .main-header .header-actions {
        gap: 6px;
    }

    .storefront-body .search-form {
        height: 46px;
        grid-template-columns: minmax(0, 1fr) 42px;
    }

    .storefront-body .search-form input {
        padding-right: 12px;
        padding-left: 15px;
        font-size: 14px;
    }

    .storefront-body .search-form button {
        width: 36px;
        height: 36px;
        margin-right: 4px;
    }

    .storefront-body .page-shell {
        width: calc(100% - 24px);
        padding-top: 14px;
    }

    .storefront-body .hero-copy {
        padding: 32px 22px 28px;
    }

    .storefront-body .hero-copy h1 {
        font-size: clamp(34px, 12vw, 48px);
    }

    .storefront-body .hero-actions a {
        width: 100%;
    }

    .storefront-body .catalog-toolbar {
        padding: 9px;
    }

    .storefront-body .catalog-sort button {
        min-width: 74px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .storefront-body .product-info {
        padding-right: 12px;
        padding-left: 12px;
    }

    .storefront-body .product-purchase {
        padding-right: 12px;
        padding-left: 12px;
    }

    .storefront-body .product-gallery-panel {
        padding: 12px;
    }

    .storefront-body .product-gallery-main,
    .storefront-body .product-gallery-trigger,
    .storefront-body .product-gallery-trigger > img {
        min-height: 250px;
        height: 250px;
    }

    .storefront-body .product-gallery-trigger > img {
        padding: 18px;
    }

    .storefront-body .product-buy-box {
        padding: 20px 14px;
    }

    .storefront-body .product-offer {
        padding: 16px;
    }

    .storefront-body .product-buy-form {
        grid-template-columns: minmax(0, 1fr) 44px;
    }

    .storefront-body .buy-button {
        min-height: 48px;
        padding-right: 12px;
        padding-left: 12px;
        font-size: 13px;
    }

    .storefront-body .wishlist-button {
        width: 44px;
        height: 44px;
    }

    .storefront-body .delivery-row {
        grid-template-columns: 34px minmax(0, 1fr) auto;
        gap: 9px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .storefront-body .product-benefits a {
        padding: 14px;
    }
}

@media (width <= 480px) {
    .storefront-body .checkout-grid,
    .storefront-body .checkout-page,
    .storefront-body .checkout-panel,
    .storefront-body .order-details,
    .storefront-body .order-details > div {
        min-width: 0;
    }

    .storefront-body .order-success {
        min-width: 0;
    }

    .storefront-body .order-success h1,
    .storefront-body .order-success p {
        overflow-wrap: anywhere;
    }

    .storefront-body .order-details > div {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .storefront-body .order-details dt {
        width: auto;
    }

    .storefront-body .order-details dd {
        min-width: 0;
        text-align: left;
        overflow-wrap: anywhere;
    }

    .storefront-body .footer-column a,
    .storefront-body .footer-column button,
    .storefront-body .footer-contact a {
        min-height: 28px;
    }
}

.storefront-body .checkout-form.is-read-only {
    pointer-events: none;
    opacity: .68;
}

.storefront-read-only-banner strong {
    font-weight: 750;
}

/* Catalog directory controls. Keep the index useful when the category tree grows. */
.storefront-body .catalog-directory-stats {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.storefront-body .catalog-directory-stat {
    display: grid;
    min-width: 132px;
    gap: 5px;
    padding: 16px 18px;
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: 18px;
    background: rgb(255 255 255 / 8%);
    color: rgb(255 255 255 / 62%);
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.storefront-body .catalog-directory-stat strong {
    color: #fff;
    font-size: 25px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.storefront-body .catalog-directory-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 0 0 18px;
}

.storefront-body .catalog-directory-tools > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

/* h2 between the page h1 and the h3 category cards (Nu: no skipped level). */
.storefront-body .catalog-directory-tools-title {
    margin: 0;
    color: var(--p24-burgundy-deep);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.storefront-body .catalog-directory-tools > div > span {
    max-width: 640px;
    overflow: hidden;
    color: var(--p24-muted);
    font-size: 12px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-body .catalog-directory-search {
    display: flex;
    flex: 0 1 360px;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--p24-line);
    border-radius: 999px;
    background: #fff;
    color: var(--p24-red);
    box-shadow: 0 10px 24px rgb(67 13 20 / 4%);
}

.storefront-body .catalog-directory-search:focus-within {
    border-color: rgb(from var(--p24-red) r g b/50%);
    box-shadow: 0 0 0 4px rgb(from var(--p24-red) r g b/10%);
}

.storefront-body .catalog-directory-search svg {
    width: 18px;
    height: 18px;
}

.storefront-body .catalog-directory-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--p24-ink);
    background: transparent;
    font: inherit;
    font-size: 13px;
}

.storefront-body .catalog-directory-empty {
    margin: 18px 0 0;
    padding: 26px;
    border: 1px dashed rgb(from var(--p24-burgundy) r g b/22%);
    border-radius: 18px;
    color: var(--p24-muted);
    background: #fffaf9;
    text-align: center;
}

@media (width <= 640px) {
    .storefront-body .catalog-directory-stats {
        width: 100%;
    }

    .storefront-body .catalog-directory-stat {
        flex: 1 1 0;
        min-width: 0;
        padding: 14px 10px;
    }

    .storefront-body .catalog-directory-stat strong {
        font-size: 22px;
    }

    .storefront-body .catalog-directory-tools {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .storefront-body .catalog-directory-tools > div > span {
        white-space: normal;
    }

    .storefront-body .catalog-directory-search {
        flex-basis: auto;
        width: 100%;
    }
}

@media (width <= 640px) {
    .storefront-read-only-banner {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
        padding: 9px 16px;
        text-align: left;
    }
}

/* Keep the cart icon and translated label as one responsive control. */
.storefront-body .card-cart-button,
.storefront-body .buy-button,
.storefront-body .product-sticky-buy button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    text-align: center;
    white-space: normal;
}

.storefront-body .button-label {
    display: block;
    min-width: 0;
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-align: center;
}

/* Keep long mobile facets usable while leaving their submit actions reachable. */
.storefront-body .catalog-brand-options {
    min-width: 0;
}

@media (width <= 640px) {
    .storefront-body .catalog-brand-options {
        max-height: min(52vh, 360px);
        padding: 1px 6px 2px 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }
}

.storefront-body .message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

@media (width <= 480px) {
    .storefront-body .message-actions > a {
        flex: 1 1 100%;
    }
}

/* Product card redesign: give the shared commerce unit a calmer stage,
   tighter scan order and a clearer purchase finish at every breakpoint. */
.storefront-body .product-card {
    grid-template-rows: auto minmax(138px, 1fr) auto;
    border-color: #eadfdd;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(82 10 19 / 3.5%);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.storefront-body .product-media {
    padding: 12px 12px 0;
    border-bottom-color: var(--p24-line);
    background: #fff;
}

.storefront-body .product-image {
    height: auto;
    aspect-ratio: 1.28 / 1;
    border: 1px solid #f0e6e3;
    border-radius: 18px;
    background: #fffaf9;
}

.storefront-body .product-brand {
    color: var(--p24-red-dark);
    font-size: 10px;
    letter-spacing: .16em;
}

.storefront-body .product-title {
    min-height: 42px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.36;
}

.storefront-body .product-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    min-height: 30px;
}

.storefront-body .product-card-meta .stock-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f0faf4;
    font-size: 11px;
    font-weight: 800;
}

.storefront-body .product-card-meta .stock-status::before {
    margin-right: 6px;
}

.storefront-body .product-card-meta .stock-status.is-empty {
    background: #fff0f1;
    color: var(--shop-primary, #c90a1b);
}

.storefront-body .product-card-meta .delivery-status {
    padding: 4px 0;
    font-size: 11px;
}

.storefront-body .product-card-actions {
    align-content: start;
}

.storefront-body .product-price {
    font-size: 25px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.025em;
    font-variant-numeric: tabular-nums;
}

.storefront-body .card-cart-button {
    min-height: 46px;
    padding-right: 15px;
    padding-left: 15px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 850;
}

@media (width <= 640px) {
    .storefront-body .product-card {
        grid-template-rows: auto minmax(124px, 1fr) auto;
        border-radius: 18px;
    }

    .storefront-body .product-media {
        padding: 10px 10px 0;
    }

    .storefront-body .product-image {
        aspect-ratio: 1.34 / 1;
        border-radius: 16px;
    }

    .storefront-body .product-image img {
        inset: 16px;
        width: calc(100% - 32px);
        height: calc(100% - 32px);
    }

    .storefront-body .product-info {
        gap: 8px;
        padding: 15px 16px 9px;
    }

    .storefront-body .product-title {
        min-height: calc(2 * 1.36em);
        font-size: 13.5px;
    }

    .storefront-body .product-purchase {
        gap: 12px;
        padding: 10px 16px 16px;
    }

    .storefront-body .product-price {
        font-size: 23px;
    }
}

@media (width <= 420px) {
    .storefront-body .product-card {
        border-radius: 16px;
    }

    .storefront-body .product-media {
        padding: 8px 8px 0;
    }

    .storefront-body .product-image {
        aspect-ratio: 1.45 / 1;
        border-radius: 14px;
    }

    .storefront-body .product-image img {
        inset: 14px;
        width: calc(100% - 28px);
        height: calc(100% - 28px);
    }

    .storefront-body .product-info {
        padding-right: 14px;
        padding-left: 14px;
    }

    .storefront-body .product-purchase {
        padding-right: 14px;
        padding-left: 14px;
    }

    .storefront-body .product-price {
        font-size: 21px;
    }
}

/* Compact density pass: keep the card rhythm tight without sacrificing
   readable titles, touch targets, or the list-view layout.
   Spare row height goes to the info row only, so image, title and cart
   button line up across a grid row even when one card is taller (RRP). */
.storefront-body .product-card {
    grid-template-rows: auto 1fr auto;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
}

.storefront-body .product-media {
    padding: 8px 8px 0;
}

.storefront-body .product-image {
    aspect-ratio: 1.48 / 1;
    border-radius: 16px;
}

.storefront-body .product-image img {
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
}

/* Desktop grid cards: the brand badge (top-left) covered the photo. A taller
   box with room under the badge gives a larger photo that nothing covers.
   Phones keep the square box: there a top inset would shrink the photo. */
@media (width > 640px) {
    .storefront-body .product-card .product-image {
        aspect-ratio: 1.2 / 1;
    }

    .storefront-body .product-media:has(> .product-brand-badge) .product-image img {
        inset: 34px 14px 10px;
        width: calc(100% - 28px);
        height: calc(100% - 44px);
    }
}

.storefront-body .product-info {
    gap: 7px;
    padding: 13px 16px 7px;
}

.storefront-body .product-title {
    min-height: calc(2 * 1.32em);
    line-height: 1.32;
}

.storefront-body .product-card-meta {
    gap: 4px 10px;
    min-height: 26px;
}

.storefront-body .product-purchase {
    gap: 9px;
    padding: 9px 16px 14px;
}

.storefront-body .product-price {
    font-size: 23px;
}

/* List cards use the same tighter rhythm but retain their horizontal scan. */

@media (width <= 640px) {
    .storefront-body .product-card {
        gap: 7px;
        padding: 7px;
        border-radius: 16px;
    }

    .storefront-body .product-media {
        padding: 7px 7px 0;
    }

    .storefront-body .product-image {
        aspect-ratio: 1.62 / 1;
        border-radius: 14px;
    }

    .storefront-body .product-image img {
        inset: 12px;
        width: calc(100% - 24px);
        height: calc(100% - 24px);
    }

    .storefront-body .product-info {
        gap: 6px;
        padding: 12px 14px 6px;
    }

    .storefront-body .product-title {
        min-height: calc(2 * 1.3em);
        line-height: 1.3;
    }

    .storefront-body .product-card-meta {
        gap: 4px 9px;
        min-height: 26px;
    }

    .storefront-body .product-purchase {
        gap: 8px;
        padding: 8px 14px 12px;
    }

    .storefront-body .product-price {
        font-size: 22px;
    }
}

@media (width <= 420px) {
    .storefront-body .product-card {
        gap: 6px;
        padding: 6px;
    }

    .storefront-body .product-media {
        padding: 6px 6px 0;
    }

    .storefront-body .product-image {
        aspect-ratio: 1.7 / 1;
    }

    .storefront-body .product-image img {
        inset: 10px;
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }

    .storefront-body .product-info {
        gap: 5px;
        padding: 11px 13px 5px;
    }

    .storefront-body .product-purchase {
        gap: 7px;
        padding: 7px 13px 10px;
    }
}

/* Catalog filter card pass: remove legacy heading padding and keep the
   mobile panel as one coherent column with an intentional action row. */
.storefront-body .catalog-sidebar-head h2 {
    padding: 0;
    line-height: 1.15;
}

.storefront-body .catalog-filter-actions {
    grid-template-columns: minmax(118px, auto) minmax(0, 1fr);
}

.storefront-body .catalog-filter-actions button {
    min-width: 0;
    white-space: nowrap;
}

/* Product-card finish: let white-background photography blend into the
   image stage, then use small accents to guide the eye from brand to price. */
.storefront-body .product-media {
    border-bottom: 0;
}

.storefront-body .product-image {
    background: #fff;
    border-color: #f1e9e7;
}

.storefront-body .product-brand {
    display: inline-flex;
    align-self: flex-start;
    max-width: 100%;
    padding: 4px 7px;
    border-radius: 6px;
    background: #fff1f2;
    font-size: 9px;
    line-height: 1;
    letter-spacing: .11em;
}

.storefront-body .product-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

/* "€" (#1741), not the old small "EUR" label: near the amount's size. */
.storefront-body .product-price-currency {
    color: var(--p24-muted);
    font-size: .78em;
    font-weight: 750;
    letter-spacing: 0;
}

.storefront-body .catalog-filter-actions a {
    min-width: 0;
    justify-content: flex-start;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (width <= 940px) {
    .storefront-body .catalog-sidebar {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .storefront-body .catalog-sidebar-head {
        grid-column: auto;
    }
}

@media (width <= 640px) {
    .storefront-body .catalog-sidebar-head {
        min-height: 56px;
        padding: 14px 16px;
    }

    .storefront-body .catalog-filter-group {
        padding: 14px 16px;
    }

    .storefront-body .catalog-filter-group h3 {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .storefront-body .catalog-filter-group > label {
        gap: 8px;
        margin: 7px 0;
        line-height: 1.3;
    }

    .storefront-body .catalog-price-inputs {
        gap: 7px;
    }

    .storefront-body .catalog-price-inputs input {
        min-height: 42px;
        padding: 8px 10px;
    }

    .storefront-body .catalog-filter-actions {
        grid-template-columns: minmax(128px, auto) minmax(0, 1fr);
        gap: 10px;
        padding: 12px 16px 14px;
    }

    .storefront-body .catalog-filter-actions button {
        min-width: 0;
        min-height: 40px;
        padding: 0 12px;
        font-size: 11px;
        white-space: nowrap;
    }

    .storefront-body .catalog-filter-actions a {
        min-width: 0;
        justify-content: flex-start;
        overflow: hidden;
        text-align: left;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront-body .catalog-brand-options {
        max-height: min(44vh, 300px);
        padding-right: 6px;
    }
}

@media (width >= 641px) and (width <= 940px) {
    .storefront-body .catalog-filter-form {
        grid-template-columns: 1fr;
    }

    .storefront-body .catalog-filter-actions {
        grid-column: auto;
    }

    .storefront-body .catalog-brand-options {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0 24px;
        max-height: none;
        overflow: visible;
    }

    .storefront-body .catalog-brand-options label {
        gap: 8px;
        min-width: 0;
        line-height: 1.3;
    }
}

@media (width >= 641px) and (width <= 767px) {
    .storefront-body .catalog-brand-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (width <= 360px) {
    .storefront-body .catalog-filter-actions {
        grid-template-columns: minmax(120px, auto) minmax(0, 1fr);
        gap: 8px;
    }

    .storefront-body .catalog-filter-actions button {
        padding-right: 10px;
        padding-left: 10px;
    }
}

/* Catalog filter visual polish: make the filter read as a calm, grouped
   control instead of a stack of raw browser fields. */
.storefront-body .catalog-sidebar {
    border-radius: 22px;
    box-shadow: 0 14px 30px rgb(63 5 11 / 6%);
}

.storefront-body .catalog-sidebar-head {
    background: linear-gradient(180deg, #fffafa 0%, #fff 100%);
}

.storefront-body .catalog-filter-toggle {
    border-color: #f0d5d2;
    background: #fffafa;
}

.storefront-body .catalog-filter-group {
    border-bottom-color: #f0e2df;
}

.storefront-body .catalog-filter-group h3 {
    margin-bottom: 0;
    color: var(--p24-burgundy);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.storefront-body .catalog-price-inputs label {
    gap: 7px;
    color: #8b7778;
    font-size: 11px;
    font-weight: 800;
}

.storefront-body .catalog-price-inputs input {
    min-height: 42px;
    border-color: #eadcda;
    border-radius: 12px;
    background: #fffafa;
    font-size: 12px;
}

.storefront-body .catalog-brand-options label {
    min-width: 0;
    margin: 0;
    padding: 5px 7px;
    border-radius: 9px;
    align-items: center;
    gap: 9px;
    line-height: 1.25;
    color: #4d3d3e;
    transition: background .15s ease;
}

.storefront-body .catalog-brand-options label:hover,
.storefront-body .catalog-brand-options label:has(input:checked) {
    background: #fff3f1;
}

.storefront-body .catalog-brand-options label > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Filters P3: characteristic values beyond the admin limit. */
.storefront-body .catalog-attribute-more > summary {
    display: inline-flex;
    min-height: 24px;
    margin-top: 6px;
    align-items: center;
    color: var(--p24-burgundy);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.storefront-body .catalog-attribute-more > .catalog-attribute-options {
    margin-top: 6px;
}

/* No inner scroll box: values beyond the admin limit are already folded into
   "Show more", and a scroll box may shrink to zero height in the sidebar. */
.storefront-body .catalog-attribute-filter .catalog-attribute-options {
    flex-shrink: 0;
    max-height: none;
    overflow: visible;
}

/* Long phone models ("Samsung Galaxy S25 Ultra") wrap instead of an ellipsis. */
.storefront-body .catalog-attribute-filter .catalog-attribute-options label > span {
    white-space: normal;
    overflow-wrap: anywhere;
}

.storefront-body .catalog-filter-group input[type="checkbox"] {
    appearance: none;
    display: grid;
    place-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1px solid #ddc9c6;
    border-radius: 6px;
    background: #fff;
}

.storefront-body .catalog-filter-group input[type="checkbox"]:checked {
    border-color: var(--p24-red);
    background: var(--p24-red);
}

.storefront-body .catalog-filter-group input[type="checkbox"]:checked::after {
    width: 8px;
    height: 4px;
    border: 2px solid #fff;
    border-top: 0;
    border-right: 0;
    content: "";
    transform: rotate(-45deg) translate(1px, -1px);
}

.storefront-body .catalog-filter-group input[type="checkbox"]:focus-visible {
    outline: 3px solid rgb(from var(--p24-red) r g b/16%);
    outline-offset: 2px;
}

.storefront-body .catalog-filter-group small {
    /* WCAG AA 4.5:1 for the 10px filter counts (was #b09e9f, 2.5:1). */
    color: #75686a;
    font-size: 10px;
}

.storefront-body .catalog-filter-actions {
    background: #fffafa;
    box-shadow: none;
}

.storefront-body .catalog-filter-actions button {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    box-shadow: 0 5px 12px rgb(from var(--shop-primary, rgb(200 10 27)) r g b/16%);
    font-size: 12px;
}

.storefront-body .catalog-filter-actions a {
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid #eadcda;
    border-radius: 999px;
    background: #fff;
    color: var(--p24-burgundy);
    font-size: 11px;
    font-weight: 800;
}

@media (width >= 641px) and (width <= 940px) {
    .storefront-body .catalog-filter-actions {
        grid-template-columns: minmax(118px, auto) auto;
        justify-content: start;
    }
}

/* Keep price and cart action on one compact line; quantity can be changed in the cart. */
.storefront-body .product-card {
    container-type: inline-size;
}

.storefront-body .product-purchase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.storefront-body .product-price {
    flex: 0 0 auto;
    white-space: nowrap;
}

.storefront-body .product-card-cart-form {
    flex: 0 0 auto;
    min-width: 0;
}

.storefront-body .card-cart-button {
    width: auto;
    min-height: 46px;
    padding-right: 12px;
    padding-left: 12px;
    gap: 7px;
}

.storefront-body .card-cart-button .button-label {
    white-space: nowrap;
    overflow-wrap: normal;
}

@container (max-width: 303px) {
    .storefront-body .product-purchase {
        gap: 8px;
    }

    .storefront-body .product-price {
        font-size: 21px;
    }

    .storefront-body .card-cart-button {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 12px;
        gap: 6px;
    }

    .storefront-body .card-cart-button .button-icon {
        width: 16px;
        height: 16px;
    }
}

@container (max-width: 260px) {
    .storefront-body .product-purchase {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .storefront-body .product-price {
        flex: 0 1 auto;
        max-width: 100%;
        min-width: 0;
        font-size: 20px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .storefront-body .product-card-cart-form {
        flex: 0 1 auto;
        min-width: 0;
        width: 100%;
    }

    .storefront-body .card-cart-button {
        width: 100%;
        min-height: 46px;
        padding: 8px 7px;
        font-size: 11px;
        gap: 5px;
    }

    .storefront-body .card-cart-button .button-icon {
        width: 15px;
        height: 15px;
    }

    .storefront-body .card-cart-button .button-label {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (width <= 640px) {
    .storefront-body .card-cart-button {
        min-height: 48px;
    }
}

/* Compact category directory cards with admin-managed transparent artwork */
.storefront-body :is(.home-categories, .catalog-index-page) :is(.home-category-grid, .catalog-directory-grid) {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card {
    display: flex;
    min-width: 0;
    min-height: 214px;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px 12px;
    overflow: hidden;
    border: 1px solid rgb(83 4 14 / 13%);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 9px 26px rgb(45 15 19 / 4.5%);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card:hover {
    border-color: rgb(83 4 14 / 24%);
    box-shadow: 0 13px 30px rgb(45 15 19 / 7.5%);
    transform: translateY(-2px);
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card-main {
    display: grid;
    min-height: 0;
    flex: 1 1 auto;
    grid-template-columns: minmax(0, 1fr) 126px;
    align-items: start;
    gap: 8px;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card-copy {
    min-width: 0;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-heading {
    margin: 0;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-title {
    display: -webkit-box;
    overflow: hidden;
    color: #171317;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-title:hover {
    color: var(--p24-burgundy);
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-children {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    border: 0;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-children a {
    position: relative;
    display: -webkit-box;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
    padding: 0 0 0 13px;
    border: 0;
    color: #62575a;
    font-size: 12px;
    line-height: 1.35;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-children a::before {
    position: absolute;
    top: .48em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--p24-red);
    content: "";
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-children a:hover {
    color: var(--p24-burgundy);
    padding-left: 13px;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card-art-link {
    display: flex;
    width: 126px;
    height: 130px;
    align-items: center;
    justify-content: center;
    justify-self: end;
    overflow: visible;
    color: var(--p24-burgundy);
    text-decoration: none;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card-art-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 12px rgb(48 20 23 / 16%));
    transition: transform .2s ease;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card-art-link:focus-visible {
    outline: 2px solid var(--p24-burgundy);
    outline-offset: 2px;
    border-radius: 12px;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card-art-link:hover img,
.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card-art-link:hover .category-product-art {
    transform: scale(1.045);
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-icon {
    width: 52px;
    height: 52px;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card-footer {
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgb(83 4 14 / 14%);
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card-count {
    display: inline-flex;
    min-width: 0;
    align-items: baseline;
    gap: 6px;
    margin: 0;
    color: var(--p24-burgundy);
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card-count strong {
    font-size: 14px;
    font-weight: 850;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card-count small {
    color: #70676a;
    font-size: 10px;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-cta {
    display: inline-flex;
    align-items: center;
    justify-content: end;
    gap: 5px;
    margin: 0;
    color: var(--p24-burgundy);
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-cta svg {
    width: 14px;
    height: 14px;
}

.storefront-body :is(.home-categories, .catalog-index-page) .category-product-art {
    display: block;
    width: 100%;
    height: 100%;
    flex: 0 0 auto;
    background-image: url('/assets/themes/pirkt24/img/category-cutouts.webp');
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 300% 200%;
    pointer-events: none;
    transition: transform .2s ease;
}

.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="beauty"] .category-product-art { background-position: 0 0; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="mobile"] .category-product-art { background-position: 50% 0; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="office"] .category-product-art { background-position: 100% 0; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="home"] .category-product-art { background-position: 0 100%; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="computers"] .category-product-art { background-position: 50% 100%; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="media"] .category-product-art { background-position: 100% 100%; }

.storefront-body :is(.home-categories, .catalog-index-page) :is(
    [data-category-art="tools"],
    [data-category-art="printing"],
    [data-category-art="kids"],
    [data-category-art="sports"],
    [data-category-art="pets"],
    [data-category-art="auto"]
) .category-product-art {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-workshop.webp');
}
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="tools"] .category-product-art { background-position: 0 0; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="printing"] .category-product-art { background-position: 50% 0; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="kids"] .category-product-art { background-position: 100% 0; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="sports"] .category-product-art { background-position: 0 100%; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="pets"] .category-product-art { background-position: 50% 100%; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="auto"] .category-product-art { background-position: 100% 100%; }

.storefront-body :is(.home-categories, .catalog-index-page) :is(
    [data-category-art="computer-accessories"],
    [data-category-art="clothing"],
    [data-category-art="cables"],
    [data-category-art="smart-home"],
    [data-category-art="networks"],
    [data-category-art="furniture"]
) .category-product-art {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-electronics.webp');
}
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="computer-accessories"] .category-product-art { background-position: 0 0; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="clothing"] .category-product-art { background-position: 50% 0; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="cables"] .category-product-art { background-position: 100% 0; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="smart-home"] .category-product-art { background-position: 0 100%; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="networks"] .category-product-art { background-position: 50% 100%; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="furniture"] .category-product-art { background-position: 100% 100%; }

.storefront-body :is(.home-categories, .catalog-index-page) :is(
    [data-category-art="gifts"],
    [data-category-art="construction"],
    [data-category-art="hobbies"]
) .category-product-art {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-lifestyle.webp');
}
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="gifts"] .category-product-art { background-position: 0 0; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="construction"] .category-product-art { background-position: 50% 0; }
.storefront-body :is(.home-categories, .catalog-index-page) [data-category-art="hobbies"] .category-product-art { background-position: 100% 0; }

.admin-category-artwork {
    margin: 24px 0;
    padding: 18px;
    border: 1px solid rgb(83 4 14 / 13%);
    border-radius: 16px;
    background: #fff;
}

.admin-category-artwork h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.admin-category-art-preview {
    display: flex;
    width: 190px;
    height: 150px;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
    overflow: hidden;
    border: 1px solid rgb(83 4 14 / 10%);
    border-radius: 12px;
    background: #fff;
    color: var(--p24-burgundy);
}

.admin-category-art-preview img,
.admin-category-art-preview .category-art-sample {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.admin-category-art-preview .category-art-sample {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts.webp');
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 300% 200%;
}
.admin-category-art-preview [data-category-art="beauty"] { background-position: 0 0; }
.admin-category-art-preview [data-category-art="mobile"] { background-position: 50% 0; }
.admin-category-art-preview [data-category-art="office"] { background-position: 100% 0; }
.admin-category-art-preview [data-category-art="home"] { background-position: 0 100%; }
.admin-category-art-preview [data-category-art="computers"] { background-position: 50% 100%; }
.admin-category-art-preview [data-category-art="media"] { background-position: 100% 100%; }

.admin-category-art-preview [data-category-art="tools"] {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-workshop.webp');
    background-position: 0 0;
}

.admin-category-art-preview [data-category-art="printing"] {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-workshop.webp');
    background-position: 50% 0;
}

.admin-category-art-preview [data-category-art="kids"] {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-workshop.webp');
    background-position: 100% 0;
}

.admin-category-art-preview [data-category-art="sports"] {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-workshop.webp');
    background-position: 0 100%;
}

.admin-category-art-preview [data-category-art="pets"] {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-workshop.webp');
    background-position: 50% 100%;
}

.admin-category-art-preview [data-category-art="auto"] {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-workshop.webp');
    background-position: 100% 100%;
}

.admin-category-art-preview [data-category-art="computer-accessories"] {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-electronics.webp');
    background-position: 0 0;
}

.admin-category-art-preview [data-category-art="clothing"] {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-electronics.webp');
    background-position: 50% 0;
}

.admin-category-art-preview [data-category-art="cables"] {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-electronics.webp');
    background-position: 100% 0;
}

.admin-category-art-preview [data-category-art="smart-home"] {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-electronics.webp');
    background-position: 0 100%;
}

.admin-category-art-preview [data-category-art="networks"] {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-electronics.webp');
    background-position: 50% 100%;
}

.admin-category-art-preview [data-category-art="furniture"] {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-electronics.webp');
    background-position: 100% 100%;
}

.admin-category-art-preview [data-category-art="gifts"] {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-lifestyle.webp');
    background-position: 0 0;
}

.admin-category-art-preview [data-category-art="construction"] {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-lifestyle.webp');
    background-position: 50% 0;
}

.admin-category-art-preview [data-category-art="hobbies"] {
    background-image: url('/assets/themes/pirkt24/img/category-cutouts-lifestyle.webp');
    background-position: 100% 0;
}

@media (width <= 960px) {
    .storefront-body :is(.home-categories, .catalog-index-page) :is(.home-category-grid, .catalog-directory-grid) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (width <= 640px) {
    .storefront-body .home-categories {
        padding: 22px 16px;
        border-radius: 22px;
    }

    .storefront-body .home-category-intro {
        align-items: start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 20px;
    }

    .storefront-body :is(.home-categories, .catalog-index-page) :is(.home-category-grid, .catalog-directory-grid) {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card {
        min-height: 194px;
        padding: 14px 15px 11px;
    }

    .storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card-main {
        grid-template-columns: minmax(0, 1fr) 100px;
    }

    .storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-card-art-link {
        width: 100px;
        height: 112px;
    }

    .storefront-body :is(.home-categories, .catalog-index-page) .category-product-art {
        width: 100%;
        height: 100%;
    }

    .storefront-body .home-category-all {
        min-height: 42px;
        padding: 0 15px;
    }
}


.storefront-body .checkout-coupon-panel {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(240px, 1fr);
    gap: 16px;
    align-items: end;
    margin: 18px 0;
    padding: 16px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius-sm);
    background: #fbfafb;
}

.storefront-body .checkout-coupon-panel.has-error {
    border-color: rgb(from var(--shop-primary, rgb(196 11 24)) r g b/38%);
    box-shadow: 0 0 0 3px rgb(from var(--shop-primary, rgb(196 11 24)) r g b/5%);
}

.storefront-body .checkout-coupon-panel-head {
    display: grid;
    gap: 4px;
    align-self: center;
}

.storefront-body .checkout-coupon-panel-head strong {
    color: var(--p24-ink);
    font-size: 14px;
}

.storefront-body .checkout-coupon-panel-head small {
    color: var(--p24-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

.storefront-body .checkout-coupon-field {
    min-width: 0;
}

.storefront-body .checkout-coupon-control {
    display: grid;
    min-width: 0;
    gap: 8px;
}

.storefront-body .checkout-coupon-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.storefront-body .checkout-coupon-input-wrap input {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 44px;
}

.storefront-body .coupon-apply-button,
.storefront-body .checkout-coupon-applied > button {
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid var(--p24-burgundy);
    border-radius: 12px;
    background: #fff;
    color: var(--p24-burgundy);
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
    cursor: pointer;
}

.storefront-body .coupon-apply-button:hover,
.storefront-body .checkout-coupon-applied > button:hover {
    border-color: var(--p24-red);
    color: var(--p24-red);
}

.storefront-body .coupon-apply-button:disabled,
.storefront-body .checkout-coupon-applied > button:disabled {
    cursor: wait;
    opacity: .6;
}

.storefront-body .checkout-coupon-panel.is-applied {
    border-color: rgb(25 126 79 / 32%);
    background: #f8fffb;
}

.storefront-body .checkout-coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgb(25 126 79 / 18%);
    border-radius: 12px;
    background: rgb(25 126 79 / 6%);
}

.storefront-body .checkout-coupon-applied[hidden] {
    display: none;
}

.storefront-body .checkout-coupon-applied > span {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.storefront-body .checkout-coupon-applied strong {
    color: var(--p24-success);
    font-size: 12px;
}

.storefront-body .checkout-coupon-applied small {
    overflow: hidden;
    color: var(--p24-muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-body .checkout-coupon-feedback {
    min-height: 16px;
    margin: 0;
    color: var(--p24-success);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.storefront-body .checkout-coupon-feedback:empty {
    min-height: 0;
}

.storefront-body .checkout-coupon-feedback.field-error {
    color: var(--sp-d, #a30712);
}

.storefront-body [data-coupon-discount-row] dd {
    color: var(--p24-success);
}

.storefront-body .checkout-coupon-input-wrap input:focus {
    border-color: var(--p24-red);
    box-shadow: 0 0 0 4px rgb(from var(--p24-red) r g b/7%);
}

.storefront-body .checkout-coupon-icon {
    position: absolute;
    left: 12px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    color: var(--p24-burgundy);
    background: #fff1f3;
    font-size: 14px;
    font-weight: 900;
    pointer-events: none;
}

@media (width <= 640px) {
    .storefront-body .checkout-coupon-panel {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 14px 0;
        padding: 14px;
    }

    .storefront-body .checkout-coupon-input-wrap {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (width <= 420px) {
    .storefront-body .checkout-coupon-input-wrap {
        grid-template-columns: 1fr;
    }

    .storefront-body .coupon-apply-button {
        width: 100%;
    }

    .storefront-body .checkout-coupon-applied {
        align-items: stretch;
        flex-direction: column;
    }

    .storefront-body .checkout-coupon-applied > button {
        width: 100%;
    }
}

/* Delivery selection: one consistent component across cart, checkout and product. */
.storefront-body .checkout-delivery-groups[hidden],
.storefront-body .checkout-delivery-group[hidden],
.storefront-body .checkout-delivery-carriers[hidden],
.storefront-body .delivery-method-list.is-grouped .checkout-option[hidden] {
    display: none !important;
}

/* Cart only previews the cheapest shipping amount; the actual method is
   selected once, on checkout. Keep the hint visually consistent with PIRKT24. */
.storefront-body .cart-delivery-checkout-hint {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--p24-blush);
    color: var(--p24-burgundy);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.storefront-body .cart-delivery-checkout-hint svg {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

/* Checkout: the first step is exactly three receipt categories.
   A chosen parcel locker reveals the real carrier selection below it. */
.storefront-body .checkout-delivery-groups {
    display: grid;
    gap: 9px;
    min-width: 0;
    container-type: inline-size;
}

.storefront-body .checkout-delivery-group {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 20px 40px minmax(0, 1fr);
    gap: 4px 12px;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 84px;
    padding: 13px 14px;
    border: 1px solid var(--p24-line);
    border-radius: 13px;
    background: #fff;
    cursor: pointer;
}

.storefront-body .checkout-delivery-group.is-active,
.storefront-body .checkout-delivery-group:has(input:checked),
.storefront-body .checkout-delivery-group:hover {
    border-color: var(--p24-red);
    background: #fffafa;
}

.storefront-body .checkout-delivery-group:focus-within {
    outline: 3px solid rgb(from var(--shop-primary, rgb(194 12 28)) r g b/18%);
    outline-offset: 2px;
}

.storefront-body .checkout-delivery-group > .checkout-option-radio {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.storefront-body .checkout-delivery-group > .checkout-delivery-group__icon {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--p24-blush);
    color: var(--p24-red);
}

.storefront-body .checkout-delivery-group > .checkout-delivery-group__icon svg {
    width: 23px;
    height: 23px;
}

.storefront-body .checkout-delivery-group .checkout-option-icon::before,
.storefront-body .delivery-group-row .checkout-option-icon::before {
    content: none;
}

.storefront-body .checkout-delivery-group > .checkout-option-body {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    display: grid;
    min-width: 0;
    gap: 3px;
    overflow-wrap: anywhere;
}

.storefront-body .checkout-delivery-group > .checkout-option-body strong {
    color: var(--p24-ink);
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
}

.storefront-body .checkout-delivery-group > .checkout-option-body small {
    color: var(--p24-muted);
    font-size: 11px;
    line-height: 1.45;
    white-space: normal;
}

.storefront-body .checkout-delivery-group > b {
    grid-column: 3;
    grid-row: 2;
    place-self: start start;
    color: var(--p24-success);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    white-space: normal;
    font-variant-numeric: tabular-nums;
}

@container (min-width: 580px) {
    .storefront-body .checkout-delivery-group {
        grid-template-columns: 20px 40px minmax(0, 1fr) auto;
        gap: 12px;
    }

    .storefront-body .checkout-delivery-group > b {
        grid-column: 4;
        grid-row: 1 / span 2;
        place-self: center end;
        white-space: nowrap;
    }
}

.storefront-body .checkout-delivery-carriers {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    margin-top: 10px;
    padding: 13px;
    border: 1px solid var(--p24-line);
    border-radius: 13px;
    background: var(--p24-cream);
}

.storefront-body .checkout-delivery-carriers-title {
    margin: 0 0 10px;
    color: var(--p24-ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.storefront-body .checkout-nojs-refresh {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--p24-burgundy);
    border-radius: 10px;
    background: var(--p24-burgundy);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.storefront-body .checkout-nojs-refresh:focus-visible,
.storefront-body .parcel-nojs-pagination button:focus-visible {
    outline: 3px solid rgb(from var(--shop-primary, rgb(194 12 28)) r g b/20%);
    outline-offset: 2px;
}

.storefront-body .parcel-nojs-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.storefront-body .parcel-nojs-pagination button {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--p24-line);
    border-radius: 9px;
    background: #fff;
    color: var(--p24-ink);
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.storefront-body .parcel-nojs-pagination button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.storefront-body .parcel-nojs-pagination span {
    color: var(--p24-muted);
    font-size: 13px;
    font-weight: 700;
}

.storefront-body .checkout-delivery-carriers .checkout-option {
    min-width: 0;
    background: #fff;
}

/* Product preview: one parcel locker category and logos for available carriers. */
.storefront-body .delivery-group-row > .checkout-option-icon--parcel_locker {
    display: grid;
    place-items: center;
    background: var(--p24-blush);
    color: var(--p24-red);
}

.storefront-body .delivery-group-row > .checkout-option-icon--parcel_locker svg {
    display: block;
    width: 24px;
    height: 24px;
}

.storefront-body .delivery-group-row > span:nth-child(2) {
    min-width: 0;
    gap: 5px;
}

.storefront-body .delivery-group-row > b {
    color: var(--p24-success);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Product delivery rows: on a wide block the price and the date stand in a
   right column next to the title and the details, so the block has no empty
   right half; a narrow block (phone) puts the date back under the title. */
.storefront-body .delivery-block .delivery-line {
    grid-template-areas:
        "icon title price"
        "icon meta date";
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 0 12px;
    align-items: start;
}

.storefront-body .delivery-block .delivery-line > :first-child {
    grid-area: icon;
}

.storefront-body .delivery-block .delivery-line-title {
    grid-area: title;
    min-width: 0;
    line-height: 1.35;
}

.storefront-body .delivery-block .delivery-line-price {
    grid-area: price;
    justify-self: end;
    line-height: 1.35;
}

.storefront-body .delivery-block .delivery-line-date {
    grid-area: date;
    justify-self: end;
    padding-top: 3px;
    white-space: nowrap;
}

.storefront-body .delivery-block .delivery-line-meta {
    grid-area: meta;
    gap: 3px;
    min-width: 0;
    padding-top: 3px;
}

.storefront-body .delivery-block .delivery-line-meta:not(:has(*)) {
    display: none;
}

@container (width < 23rem) {
    .storefront-body .delivery-block .delivery-block-head {
        flex-direction: column;
        gap: 3px;
        align-items: flex-start;
        text-align: start;
    }

    .storefront-body .delivery-block .delivery-line {
        grid-template-areas:
            "icon title price"
            "icon date date"
            "icon meta meta";
        grid-template-columns: 34px minmax(0, 1fr) auto;
        column-gap: 9px;
    }

    .storefront-body .delivery-block .delivery-line-date {
        justify-self: start;
    }
}

.storefront-body .delivery-row .delivery-carrier-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    min-width: 0;
    margin-top: 4px;
}

.storefront-body .delivery-row .delivery-carrier-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding: 3px 7px 3px 4px;
    border: 1px solid var(--p24-line);
    border-radius: 7px;
    background: #fff;
    color: var(--p24-ink);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
}

.storefront-body .delivery-row .delivery-carrier-badge > img {
    display: block;
    width: 21px;
    height: 21px;
    object-fit: contain;
    flex: 0 0 auto;
}

.storefront-body .delivery-carrier-badge > span,
.storefront-body .checkout-carrier-preview__badge > span {
    display: inline !important;
    min-width: 0;
}

.storefront-body .delivery-carrier-badge > .checkout-option-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 21px;
    width: 21px;
    height: 21px;

    /* Compact carrier badges must not inherit the padded 40px checkout tile. */
    padding: 0;
    border-radius: 5px;
    background: #fff;
}

.storefront-body .delivery-carrier-badge > .checkout-option-icon svg {
    width: 21px;
    height: 21px;
}

.storefront-body .delivery-carrier-badge > .checkout-option-icon > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.storefront-body .checkout-carrier-preview__badge {
    font-size: 10px;
}

/* More specific than the inline-flex !important badge rule: a carrier that is
   unavailable in the selected country must actually disappear. */
.storefront-body .checkout-carrier-preview__badge[hidden] {
    display: none !important;
}

.storefront-body .delivery-carrier-logo-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 3px;
    min-width: 0;
}

.storefront-body .delivery-carrier-logo-strip img {
    display: block;
    width: 28px;
    height: 27px;
    padding: 2px;
    border: 1px solid var(--p24-line);
    border-radius: 7px;
    background: #fff;
    object-fit: contain;
}

.storefront-body .delivery-group-row > b {
    align-self: center;
}

@media (width <= 540px) {
    .storefront-body .delivery-group-row {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 6px 11px;
    }

    .storefront-body .delivery-group-row > b {
        grid-column: 2;
        justify-self: start;
        white-space: normal;
    }
}

@media (width <= 380px) {
    .storefront-body .checkout-delivery-group {
        grid-template-columns: 19px 36px minmax(0, 1fr);
        gap: 5px 9px;
        padding: 11px;
    }

    .storefront-body .checkout-delivery-group > .checkout-delivery-group__icon {
        width: 36px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .storefront-body .checkout-delivery-group {
        transition: none;
    }
}

/* Catalog responsive safety net: 941–1080px can otherwise leave a sidebar
   beside two unusably narrow cards, including in desktop-mode mobile browsers. */
.storefront-body .catalog-filter-toggle[hidden] {
    display: none !important;
}

@media (width >= 941px) and (width <= 1080px) {
    .storefront-body .catalog-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .storefront-body .catalog-sidebar {
        position: static;
        top: auto;
        max-height: none;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        overflow: visible;
    }

    .storefront-body .catalog-sidebar .catalog-filter-toggle {
        display: inline-flex;
        min-height: 44px;
    }

    .storefront-body .catalog-sidebar.is-collapsible .catalog-filter-form {
        display: none;
    }

    .storefront-body .catalog-sidebar.is-collapsible.is-open .catalog-filter-form {
        display: grid;
    }

    .storefront-body .catalog-filter-form {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .storefront-body .catalog-toolbar {
        flex-wrap: wrap;
    }
}

@media (width <= 1080px) {
    .storefront-body .catalog-sidebar .catalog-filter-toggle,
    .storefront-body .catalog-pagination a {
        min-width: 44px;
        min-height: 44px;
    }

    .storefront-body .catalog-price-inputs label,
    .storefront-body .catalog-price-inputs input,
    .storefront-body .catalog-sort,
    .storefront-body .catalog-sort label {
        min-width: 0;
    }
}

/* Shared product-card action states; no duplicated card markup. */
.storefront-body .product-card .card-cart-button.is-loading {
    cursor: progress;
    opacity: .88;
}

.storefront-body .product-card .card-cart-button.is-added {
    border-color: var(--p24-success);
    background: var(--p24-success);
    color: #fff;
}

.storefront-body .product-card .card-cart-button.is-error {
    border-color: var(--p24-red-dark);
    background: #fff1f2;
    color: var(--p24-red-dark);
}

.storefront-body .product-card .card-cart-button:focus-visible {
    outline: 3px solid var(--p24-red);
    outline-offset: 2px;
}

/* Mobile catalog list: picture on the left and a compact buying decision
   on the right. Grid mode and recommendation cards remain unchanged. */
@media (width <= 640px) {
    .storefront-body .catalog-results .product-title {
        -webkit-line-clamp: 3;
        min-height: 0;
    }
}

/* A failed or ambiguous add must never look like a green success toast. */
.storefront-body .storefront-toast [data-toast-action][hidden] {
    display: none;
}

.storefront-body .storefront-toast.is-error .storefront-toast-icon {
    background: #fff;
    color: var(--p24-red-dark);
}

.storefront-body .storefront-toast.is-error .storefront-toast-icon .ui-icon {
    display: none;
}

.storefront-body .storefront-toast.is-error .storefront-toast-icon::before {
    content: "!";
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
}

/* Product detail: the same purchase-state language as catalog cards, with
   quantity/stock information that stays readable in the narrow buy column. */
.storefront-body .product-stock-detail {
    display: block;
    min-width: 0;
    color: var(--p24-muted);
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.storefront-body .product-buy-box .product-detail-price {
    min-width: 0;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

.storefront-body .product-buy-form .buy-button.is-loading,
.storefront-body .product-sticky-buy button.is-loading {
    cursor: progress;
    opacity: .9;
}

.storefront-body .product-buy-form .buy-button.is-added,
.storefront-body .product-sticky-buy button.is-added {
    border-color: var(--p24-success);
    background: var(--p24-success);
    color: #fff;
}

.storefront-body .product-buy-form .buy-button.is-error,
.storefront-body .product-sticky-buy button.is-error {
    border-color: var(--p24-red-dark);
    background: #fff1f2;
    color: var(--p24-red-dark);
}

.storefront-body .product-buy-form .buy-button:focus-visible,
.storefront-body .product-sticky-buy button:focus-visible,
.storefront-body .wishlist-button:focus-visible {
    outline: 3px solid var(--p24-red);
    outline-offset: 3px;
}

.storefront-body .product-sticky-buy button:disabled {
    cursor: progress;
}

@media (width <= 420px) {
    .storefront-body .product-buy-form,
    .storefront-body .product-buy-form.is-unavailable {
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 9px;
        min-width: 0;
    }

    .storefront-body .product-buy-form .quantity-control {
        grid-column: 1 / -1;
        width: 100%;
    }

    .storefront-body .product-buy-form .buy-button {
        min-width: 0;
        min-height: 48px;
        padding: 10px 8px;
    }

    .storefront-body .product-buy-form .buy-button .button-label,
    .storefront-body .product-sticky-buy button .button-label {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .storefront-body .product-sticky-buy {
        grid-template-columns: minmax(0, 1fr) minmax(122px, auto);
        gap: 8px;
    }

    .storefront-body .product-sticky-buy button {
        min-width: 0;
        max-width: min(52vw, 240px);
        min-height: 48px;
        padding: 8px 10px;
    }
}

/* Search discovery UX 2026 */

/* scoped changes with no layout shift before JS. */
.storefront-body .search-page .catalog-layout.search-layout-empty {
    grid-template-columns: minmax(0, 1fr);
}

.storefront-body .search-page .search-query-summary {
    margin: 10px 0 0;
    color: var(--p24-muted);
    font-size: 15px;
}

.storefront-body .search-page .search-query-summary strong {
    color: var(--p24-ink);
    overflow-wrap: anywhere;
}

.storefront-body .search-page .search-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 2px 2px 8px;
}

.storefront-body .search-active-filters-caption {
    margin-right: 4px;
    color: var(--p24-muted);
    font-size: 12px;
    font-weight: 750;
}

.storefront-body .search-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-height: 36px;
    padding: 6px 11px;
    border: 1px solid #ead3d4;
    border-radius: 999px;
    background: #fff7f6;
    color: var(--p24-ink);
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.storefront-body .search-filter-chip span {
    color: var(--shop-primary, #a50012);
    font-size: 19px;
    line-height: 1;
}

.storefront-body .search-filter-chip:hover, .storefront-body .search-filter-chip:focus-visible {
    border-color: var(--shop-primary, #a50012);
    background: #fff0ee;
}

.storefront-body .search-clear-filters {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 8px;
    color: var(--shop-primary, #a50012);
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.storefront-body .catalog-brand-filter {
    min-width: 0;
}

.storefront-body .catalog-facet-search-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.storefront-body .catalog-brand-search input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid var(--p24-line);
    border-radius: 9px;
    background: #fff;
    font-size: 14px;
}

.storefront-body .catalog-brand-lookup {
    justify-self: start;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--p24-line);
    border-radius: 999px;
    background: #fff;
    color: var(--p24-ink);
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.storefront-body .catalog-brand-lookup:focus-visible {
    outline: 3px solid var(--p24-accent);
    outline-offset: 2px;
}

.storefront-body .catalog-filter-hint {
    margin: 0;
    color: var(--p24-muted);
    font-size: 12px;
    line-height: 1.45;
}

.storefront-body .catalog-brand-options {
    display: grid;
    gap: 2px;
    max-height: 224px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.storefront-body .catalog-brand-options label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 30px;
    cursor: pointer;
}

.storefront-body .catalog-brand-options label[hidden] {
    display: none;
}

.storefront-body .catalog-brand-more {
    justify-self: start;
    min-height: 40px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: var(--shop-primary, #a50012);
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.storefront-body .catalog-sort.is-enhanced > button {
    display: none;
}

.storefront-body .search-typo-notice {
    margin: 0;
    padding: 12px 16px;
    border: 1px solid #f0ded0;
    border-radius: 10px;
    background: #fff9f2;
    color: #705439;
    font-size: 13px;
}

.storefront-body .search-page .search-empty-panel {
    display: grid;
    justify-items: center;
    gap: 13px;
    padding: clamp(24px, 5vw, 50px);
    box-shadow: none;
}

.storefront-body .search-page .search-empty-panel h2 {
    margin: 0;
    color: var(--p24-ink);
    font-size: clamp(19px, 2.2vw, 26px);
}

.storefront-body .search-page .search-empty-panel p {
    max-width: 46ch;
    margin: 0;
    color: var(--p24-muted);
    font-size: 14px;
}

.storefront-body .search-empty-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.storefront-body .search-empty-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border: 1px solid var(--shop-primary, #a50012);
    border-radius: 9px;
    background: var(--shop-primary, #a50012);
    color: var(--p24-on-red);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.storefront-body .search-empty-action.is-secondary {
    border-color: var(--p24-line);
    background: #fff;
    color: var(--p24-ink);
}

.storefront-body .search-empty-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 10px;
    color: var(--shop-primary, #a50012);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.storefront-body .search-suggestion.search-all-results {
    display: flex;
    justify-content: center;
    min-height: 44px;
    margin-top: 5px;
    border-top: 1px solid var(--p24-line);
    color: var(--shop-primary, #a50012);
    font-weight: 800;
}

@media (width <= 640px) {
    .storefront-body .search-page .search-query-summary {
        font-size: 13px;
    }

    .storefront-body .search-page .search-active-filters {
        gap: 6px;
    }

    .storefront-body .catalog-brand-options {
        max-height: 300px;
    }

    .storefront-body .search-empty-actions {
        flex-direction: column;
        width: 100%;
    }

    .storefront-body .search-empty-actions > * {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .storefront-body .search-filter-chip, .storefront-body .search-empty-action {
        transition: none;
    }
}

/* RRP is an external recommended reference, never a crossed-out shop price. */
.storefront-body .rrp-comparison {
    display: grid;
    gap: 3px;
    min-width: 0;
    max-width: 100%;
    font-size: 12px;
    line-height: 1.4;
}

.storefront-body .rrp-reference {
    color: var(--p24-muted, #667085);
    overflow-wrap: break-word;
}

.storefront-body .rrp-relative {
    color: #176445;
    font-weight: 700;
    overflow-wrap: break-word;
}

/* Card price row: keep price + cart button together. The short comparison
   line ("Ieteicamā cena 149.10 EUR −6%") sits ABOVE the price, so prices and
   buttons stay on one line across a grid row whether a card has RRP or not. */
.storefront-body .product-purchase:has(> .rrp-comparison) {
    flex-wrap: wrap;
    row-gap: 6px;
}

.storefront-body .product-purchase > .rrp-comparison {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 6px;
    order: -1;
    flex: 1 0 100%;
}

/* Narrow cards stack the purchase block as a column (@container ≤260px above):
   wrapping there pushed the comparison into a second column outside the card,
   so keep one column with the comparison on top. */
@container (max-width: 260px) {
    .storefront-body .product-purchase:has(> .rrp-comparison) {
        flex-wrap: nowrap;
        row-gap: 8px;
    }

    .storefront-body .product-purchase > .rrp-comparison {
        flex: 0 0 auto;
    }

    /* Narrow desktop cards: three title lines, like phones, so model names
       ("… Online Product Key") are not cut after two. */
    .storefront-body .product-title {
        min-height: calc(3 * 1.32em);
        -webkit-line-clamp: 3;
    }
}

/* List view stacks the purchase column: comparison directly under the price. */

.storefront-body .rrp-comparison-detail {
    margin-block: 5px 9px;
    font-size: 13px;
}

@media (width <= 420px) {
    .storefront-body .rrp-comparison {
        font-size: 11px;
    }

    .storefront-body .rrp-comparison-detail {
        font-size: 12px;
    }
}

/* #1059: 410 Gone page for a removed product. */
.message.content-section.product-gone h1 {
    font-size: clamp(26px, 6vw, 36px);
    line-height: 1.2;
}

.message.content-section.product-gone .primary-link {
    margin-top: 0;
}

.product-gone-search {
    display: flex;
    gap: 8px;
    width: 100%;
}

.product-gone-search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--p24-line, #d7dce3);
    border-radius: 10px;
    font: inherit;
}

.message.content-section.product-gone .product-gone-search .primary-link {
    flex: 0 0 auto;
    min-width: 0;
    margin-top: 0;
}

.product-gone-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

@media (width <= 480px) {
    .message.content-section.product-gone {
        margin-top: 16px;
        padding: 24px 16px;
    }

    .product-gone-search {
        flex-direction: column;
    }
}

/* Brand identity is a top-left overlay, opposite the favorite button.
   Same managed logo as the existing brand admin profile; if unavailable,
   the card shows a readable brand-name pill with no extra content row. */
.storefront-body .product-media > .product-brand-badge {
    position: absolute;
    z-index: 3;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: min(52%, 148px);
    min-height: 24px;
    padding: 5px 8px;
    overflow: hidden;
    border: 1px solid rgb(109 39 55 / 8%);
    border-radius: 9px;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 3px 10px rgb(30 20 30 / 6%);
    color: var(--sp-d, #ac1530);
    font-size: 10px;
    font-weight: 850;
    line-height: 1.1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.storefront-body .product-media > .product-brand-badge.has-logo {
    max-width: min(52%, 148px);
    padding: 4px 7px;
}

.storefront-body .product-brand-badge .product-brand-logo {
    display: block;
    width: auto;
    max-width: 112px;
    max-height: 28px;
    object-fit: contain;
}

.storefront-body .product-brand-logo[hidden],
.storefront-body .product-brand-badge-label[hidden] {
    display: none;
}

.storefront-body .product-brand-badge-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-body .product-brand-badge:hover {
    border-color: var(--p24-red, #d40b27);
    color: var(--p24-red, #d40b27);
    background: #fff;
}

.storefront-body .product-brand-badge:focus-visible {
    outline: 3px solid var(--p24-red, #d40b27);
    outline-offset: 2px;
}

@media (width <= 420px) {
    .storefront-body .product-media > .product-brand-badge {
        max-width: min(54%, 120px);
        top: 9px;
        left: 9px;
        font-size: 9px;
    }

    .storefront-body .product-brand-badge .product-brand-logo {
        max-width: 96px;
        max-height: 24px;
    }
}

/* Inline, accessible SKU choices on catalog cards (#482).
   Data is provided by one batched query per page, never by a JS fetch/card.
   These are real SKU detail links; the card's displayed price still belongs
   to its existing leader SKU, not to every sibling. Stock = small dot plus
   dashed/muted chip plus localised sr-only/title text (not colour alone). */
.storefront-body .card-variant-picker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 8px;
    min-width: 0;
    margin: 2px 0 1px;
}

.storefront-body .card-variant-caption {
    flex: 0 0 auto;
    color: var(--p24-muted, #667085);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.3;
}

.storefront-body .card-variant-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.storefront-body .card-variant-option,
.storefront-body .card-variant-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 30px;
    max-width: 100%;
    min-height: 28px;
    padding: 4px 8px;
    border: 1px solid #dfe4eb;
    border-radius: 8px;
    background: #fafbfc;
    color: var(--p24-ink, #263042);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.storefront-body .card-variant-option.is-out-of-stock {
    border-style: dashed;
    color: #5f6b7d;
    background: #f8f9fa;
}

/* The stock dot sits ON the top-right corner of its option pill. It does not
   consume horizontal label width, unlike a preceding inline icon. */
.storefront-body .card-variant-options > .card-variant-option {
    position: relative;
    isolation: isolate;
    margin-top: 3px;
}

.storefront-body .card-variant-option.is-out-of-stock .card-variant-stock-dot {
    background: #bb4747;
}

.storefront-body .card-variant-more {
    background: #f3f5f8;
    color: #596579;
}

.storefront-body a.card-variant-option:hover,
.storefront-body a.card-variant-more:hover {
    border-color: var(--p24-red, #d40b27);
    color: var(--p24-burgundy-deep, #541822);
    background: #fff4f5;
}

.storefront-body a.card-variant-option:focus-visible,
.storefront-body a.card-variant-more:focus-visible {
    outline: 3px solid var(--p24-red, #d40b27);
    outline-offset: 2px;
}

@media (width <= 640px) {
    .storefront-body .card-variant-option,
    .storefront-body .card-variant-more {
        min-height: 36px;
        padding: 6px 9px;
    }
}

/* Mobile header: the catalog button keeps a visible, translated label (#1090). */

@media (width <= 360px) {
    .storefront-body .main-header {
        grid-template-columns: minmax(0, 1fr) 58px auto;
    }

    .storefront-body .main-header .catalog-button {
        width: 58px !important;
        min-width: 58px;
        height: 54px;
        min-height: 54px;
        font-size: 10px;
    }
}

/* Consolidated from read-only.css; keep its former post-main cascade position. */

/* Lightweight, branded 503 when storefront remains online in read-only mode. */
.read-only-page {
    width: min(100%, 580px);
    margin: clamp(28px, 8vh, 88px) auto;
    padding: clamp(24px, 6vw, 52px);
    border: 1px solid #efdcde;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgb(82 10 19 / 8%);
    text-align: center;
}

.read-only-page__symbol {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 18px;
    background: #fff0f2;
    color: var(--sp-d, #ad1325);
    font-size: 36px;
}

.read-only-page .message-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

@media (width <= 520px) {
    .read-only-page { border-radius: 18px; }
    .read-only-page .message-actions a { width: 100%; }
}

/* Consolidated from storefront-navigation.css; keep public first-party styles in main.css. */

/* Shared storefront brand and footer navigation. */
.storefront-body .brand-directory-return { margin: 0 0 16px; }

.storefront-body .brand-directory-return a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--p24-muted, #676272);
    font-weight: 700;
}

.storefront-body .catalog-brand-entry { margin: 0 0 20px; }

.storefront-body .catalog-brand-entry a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 66px;
    padding: 12px 18px;
    border: 1px solid var(--p24-line, #e9dfe1);
    border-radius: 12px;
    background: #fff;
}

.storefront-body .footer-support-action span { min-width: 0; }

.storefront-body .footer-trust-row small {
    overflow: visible;
    color: #75686a;
    font-size: 11px;
    line-height: 1.4;
    text-overflow: clip;
    white-space: normal;
}

.storefront-body .footer-back-to-top::before {
    content: "\2191";
    font-size: 19px;
    line-height: 1;
}

.storefront-body .catalog-brand-entry a span {
    display: grid;
    flex: 1;
    line-height: 1.35;
}

.storefront-body .catalog-brand-entry a small {
    color: var(--p24-muted, #64606c);
    font-weight: 400;
}

.storefront-body .footer-main { align-items: start; }

.storefront-body .footer-column a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    color: #62585a;
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    text-underline-offset: 3px;
}

.storefront-body .footer-column h2 {
    font-size: 13px;
    letter-spacing: 0.045em;
}

.storefront-body .footer-column .footer-brands-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--shop-primary, #b51227);
    font-weight: 750;
}

.storefront-body .footer-column .footer-brands-link svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
}

.storefront-body .footer-column .footer-brands-link:hover,
.storefront-body .footer-column .footer-brands-link:focus-visible,
.storefront-body .footer-column .footer-brands-link[aria-current="page"] {
    background: transparent;
    color: var(--sp-d, #8e1020);
}

.storefront-body .footer-contact a {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: 100%;
    min-height: 30px;
    padding: 3px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #3f4753;
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
    line-height: 1.35;
    text-decoration: none;
}

.storefront-body .catalog-brand-entry a:hover,
.storefront-body .catalog-brand-entry a:focus-visible {
    border-color: var(--p24-accent, #b51227);
}

.storefront-body .footer-support-action { min-width: 0; }

.storefront-body .footer-support-action strong {
    overflow-wrap: anywhere;
    line-height: 1.35;
    white-space: normal;
}

.storefront-body .footer-trust-row strong {
    color: var(--p24-burgundy-deep);
    font-size: 12px;
    line-height: 1.4;
}

.storefront-body .site-footer a:focus-visible,
.storefront-body .site-footer button:focus-visible {
    outline: 2px solid var(--shop-primary, #b51227);
    outline-offset: 3px;
}

.storefront-body .footer-bottom { color: #656d79; }

.storefront-body .footer-back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 7px 12px;
    border: 1px solid #dfe3e8;
    border-radius: 9px;
    background: #fff;
    color: #3f4753;
    font-size: 12px;
    font-weight: 750;
}

.storefront-body .footer-back-to-top:hover { background: #f0f2f5; }

.storefront-body .brand-directory-return a:hover,
.storefront-body .brand-directory-return a:focus-visible {
    color: var(--p24-accent, #ad172b);
}

.storefront-body .footer-navigation {
    display: grid;
    gap: 4px;
}

.storefront-body .footer-navigation > summary {
    display: none;
    align-items: center;
    min-height: 30px;
    margin: 0 0 5px;
    cursor: pointer;
    list-style: none;
}

.storefront-body .footer-navigation-title {
    color: #252b36;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.storefront-body .footer-column-links {
    display: grid !important;
    gap: 2px;
}

@media (width <= 640px) {
    .storefront-body .footer-main { gap: 18px 22px; }

    .storefront-body .footer-column .footer-brands-link { margin-left: 0; }

    .storefront-body .footer-trust-item { align-items: flex-start; }

    .storefront-body .footer-bottom { gap: 12px; }
}

/* Keep the mobile footer useful without making every link a full-width row. */
@media (width <= 640px) {
    .storefront-body .site-footer { padding-top: 4px; }

    .storefront-body .footer-support-card {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 2px 8px;
        padding: 4px 8px;
    }

    .storefront-body .footer-support-icon {
        grid-column: 1;
        grid-row: 1;
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    .storefront-body .footer-support-icon svg {
        width: 19px;
        height: 19px;
    }

    .storefront-body .footer-support-copy { grid-column: 2; }

    .storefront-body .footer-eyebrow {
        font-size: 8px;
        letter-spacing: .1em;
    }

    .storefront-body .footer-support-copy h2 {
        margin: 1px 0 0;
        font-size: clamp(17px, 4.5vw, 20px);
        line-height: 1.1;
    }

    .storefront-body .footer-support-copy p { display: none; }

    .storefront-body .footer-support-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .storefront-body .footer-support-action {
        min-height: 44px;
        gap: 6px;
        padding: 5px 7px;
        border-radius: 9px;
    }

    .storefront-body .footer-support-action svg {
        width: 17px;
        height: 17px;
    }

    .storefront-body .footer-support-action small { font-size: 9px; }

    .storefront-body .footer-support-action strong {
        font-size: 11px;
        overflow-wrap: anywhere;
    }

    .storefront-body .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 12px;
        padding: 0;
    }

    .storefront-body .footer-column a {
        display: flex;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 44px;
        white-space: normal;
    }

    .storefront-body .footer-logo {
        width: 124px;
        margin-bottom: 3px;
    }

    .storefront-body .footer-company p {
        margin-bottom: 3px;
        font-size: 12px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .storefront-body .footer-company address {
        gap: 2px;
        margin-bottom: 4px;
        font-size: 11.5px;
        line-height: 1.3;
    }

    .storefront-body .footer-hours {
        gap: 2px;
        margin-top: 3px;
    }

    .storefront-body .footer-column { gap: 0; }

    .storefront-body .footer-navigation > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        min-height: 44px;
        margin-bottom: 0;
        padding: 0 9px;
        cursor: pointer;
        list-style: none;
    }

    .storefront-body .footer-navigation > summary::-webkit-details-marker { display: none; }

    .storefront-body .footer-navigation-title { font-size: 12px; }

    .storefront-body .footer-navigation-toggle::before {
        color: var(--sp-l, #ff6974);
        content: "+";
        font-size: 18px;
        line-height: 1;
    }

    .storefront-body .footer-navigation[open] .footer-navigation-toggle::before { content: "−"; }

    .storefront-body .footer-column-links { gap: 4px; }

    .storefront-body .footer-column-links a {
        min-height: 44px;
        font-size: 13px;
    }

    .storefront-body .site-footer .footer-navigation .footer-brands-link {
        min-height: 44px;
    }

    .storefront-body .footer-company > .footer-contact:not(nav) {
        display: block;
        width: fit-content;
        max-width: 100%;
        margin-top: 3px;
    }

    .storefront-body .footer-company > .footer-contact:not(nav) a {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        width: fit-content;
        max-width: 100%;
        overflow-wrap: anywhere;
        min-height: 44px;
        padding: 5px 11px;
        border: 1px solid #f0d5d3;
        border-radius: 999px;
        background: #fff;
        color: var(--p24-red-dark);
        font-size: 12px;
        font-weight: 750;
        line-height: 1.35;
    }

    .storefront-body nav.footer-contact {
        gap: 0 14px;
        padding-top: 0;
    }

    .storefront-body .footer-navigation:not([open]) > .footer-column-links { display: none !important; }

    .storefront-body .footer-navigation[open] > .footer-column-links { display: grid !important; }

    .storefront-body .footer-main > .footer-column:last-child { grid-column: 1 / -1; }

    .storefront-body .footer-main > .footer-column:last-child > .footer-navigation[open] > .footer-column-links {
        display: flex !important;
        flex-wrap: wrap;
        gap: 0 12px;
    }

    .storefront-body .footer-main > .footer-column:last-child a {
        width: max-content;
        min-height: 44px;
        font-size: 12px;
        white-space: nowrap;
    }

    .storefront-body .footer-trust-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        padding: 0;
    }

    .storefront-body .footer-trust-item {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr);
        place-items: center stretch;
        gap: 0 6px;
        min-width: 0;
        min-height: 62px;
        padding: 4px 6px;
        border: 1px solid #f0e3e0;
        border-radius: 12px;
        background: #fff;
        text-align: left;
    }

    .storefront-body .footer-trust-text {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        gap: 2px;
    }

    .storefront-body .footer-trust-row svg {
        grid-column: 1;
        grid-row: 1;
        width: 18px;
        height: 18px;
        padding: 7px;
        border-radius: 9px;
    }

    .storefront-body .footer-trust-row strong {
        font-size: 11px;
        line-height: 1.35;
    }

    .storefront-body .footer-trust-row small {
        font-size: 10px;
        line-height: 1.4;
        overflow-wrap: normal;
    }

    .storefront-body .footer-bottom {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 2px 8px;
        padding: 4px 0 6px;
    }

    .storefront-body .footer-copyright { grid-column: 1 / -1; }

    .storefront-body .footer-partners {
        gap: 7px;
        padding: 8px 0;
    }

    .storefront-body .footer-partner-group { gap: 4px; }

    .storefront-body .footer-partner-group h2 { font-size: 9px; }

    .storefront-body .footer-comparison-badges { gap: 6px; }

    .storefront-body .footer-comparison-badges .footer-partner-badge {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        min-height: 44px;
        height: 44px;
        padding: 4px;
    }

    .storefront-body .footer-comparison-badges .footer-partner-badge img {
        max-height: 34px;
    }

    .storefront-body .footer-payment-badges { gap: 6px; }

    .storefront-body .footer-makecommerce-badge {
        min-width: 0;
        min-height: 42px;
        padding: 4px 7px;
    }

    .storefront-body .footer-online-payment-badge {
        flex: 1 1 135px;
        gap: 5px;
        font-size: 10px;
    }

    .storefront-body .footer-online-payment-badge > .checkout-option-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }

    .storefront-body .footer-online-payment-badge .checkout-option-icon img {
        width: 28px;
        height: 28px;
    }

    .storefront-body .footer-online-payment-name { line-height: 1.2; }

    .storefront-body .footer-back-to-top {
        min-height: 40px;
        padding: 5px 10px;
    }
}

@media (width <= 360px) {
    .storefront-body .footer-support-card {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 6px 8px;
        padding: 8px 0 12px;
    }

    .storefront-body .footer-support-icon {
        width: 32px;
        height: 32px;
    }

    .storefront-body .footer-support-icon svg {
        width: 18px;
        height: 18px;
    }

    .storefront-body .footer-support-action {
        gap: 6px;
        padding-inline: 7px;
    }

    .storefront-body .footer-support-action svg {
        width: 15px;
        height: 15px;
    }

    .storefront-body .footer-support-action strong { font-size: 10px; }

    .storefront-body .footer-trust-item { padding-inline: 7px; }
}

/* Bundled from intl-tel-input 29.1.2 (MIT; Copyright (c) 2014-2016 Jack O'Connor). Source: ../vendor/intl-tel-input/29.1.2/css/intlTelInput.min.css; license: ../vendor/intl-tel-input/29.1.2/LICENSE. Vendor token defaults are merged into the shared :root block above. */

/* stylelint-disable */
.iti__ac{--iti-flag-offset: 0}.iti__ad{--iti-flag-offset: -1}.iti__ae{--iti-flag-offset: -2}.iti__af{--iti-flag-offset: -3}.iti__ag{--iti-flag-offset: -4}.iti__ai{--iti-flag-offset: -5}.iti__al{--iti-flag-offset: -6}.iti__am{--iti-flag-offset: -7}.iti__ao{--iti-flag-offset: -8}.iti__ar{--iti-flag-offset: -9}.iti__as{--iti-flag-offset: -10}.iti__at{--iti-flag-offset: -11}.iti__au{--iti-flag-offset: -12}.iti__aw{--iti-flag-offset: -13}.iti__ax{--iti-flag-offset: -14}.iti__az{--iti-flag-offset: -15}.iti__ba{--iti-flag-offset: -16}.iti__bb{--iti-flag-offset: -17}.iti__bd{--iti-flag-offset: -18}.iti__be{--iti-flag-offset: -19}.iti__bf{--iti-flag-offset: -20}.iti__bg{--iti-flag-offset: -21}.iti__bh{--iti-flag-offset: -22}.iti__bi{--iti-flag-offset: -23}.iti__bj{--iti-flag-offset: -24}.iti__bl{--iti-flag-offset: -25}.iti__bm{--iti-flag-offset: -26}.iti__bn{--iti-flag-offset: -27}.iti__bo{--iti-flag-offset: -28}.iti__bq{--iti-flag-offset: -29}.iti__br{--iti-flag-offset: -30}.iti__bs{--iti-flag-offset: -31}.iti__bt{--iti-flag-offset: -32}.iti__bw{--iti-flag-offset: -33}.iti__by{--iti-flag-offset: -34}.iti__bz{--iti-flag-offset: -35}.iti__ca{--iti-flag-offset: -36}.iti__cc{--iti-flag-offset: -37}.iti__cd{--iti-flag-offset: -38}.iti__cf{--iti-flag-offset: -39}.iti__cg{--iti-flag-offset: -40}.iti__ch{--iti-flag-offset: -41}.iti__ci{--iti-flag-offset: -42}.iti__ck{--iti-flag-offset: -43}.iti__cl{--iti-flag-offset: -44}.iti__cm{--iti-flag-offset: -45}.iti__cn{--iti-flag-offset: -46}.iti__co{--iti-flag-offset: -47}.iti__cr{--iti-flag-offset: -48}.iti__cu{--iti-flag-offset: -49}.iti__cv{--iti-flag-offset: -50}.iti__cw{--iti-flag-offset: -51}.iti__cx{--iti-flag-offset: -52}.iti__cy{--iti-flag-offset: -53}.iti__cz{--iti-flag-offset: -54}.iti__de{--iti-flag-offset: -55}.iti__dj{--iti-flag-offset: -56}.iti__dk{--iti-flag-offset: -57}.iti__dm{--iti-flag-offset: -58}.iti__do{--iti-flag-offset: -59}.iti__dz{--iti-flag-offset: -60}.iti__ec{--iti-flag-offset: -61}.iti__ee{--iti-flag-offset: -62}.iti__eg{--iti-flag-offset: -63}.iti__eh{--iti-flag-offset: -64}.iti__er{--iti-flag-offset: -65}.iti__es{--iti-flag-offset: -66}.iti__et{--iti-flag-offset: -67}.iti__fi{--iti-flag-offset: -68}.iti__fj{--iti-flag-offset: -69}.iti__fk{--iti-flag-offset: -70}.iti__fm{--iti-flag-offset: -71}.iti__fo{--iti-flag-offset: -72}.iti__fr{--iti-flag-offset: -73}.iti__ga{--iti-flag-offset: -74}.iti__gb{--iti-flag-offset: -75}.iti__gd{--iti-flag-offset: -76}.iti__ge{--iti-flag-offset: -77}.iti__gf{--iti-flag-offset: -78}.iti__gg{--iti-flag-offset: -79}.iti__gh{--iti-flag-offset: -80}.iti__gi{--iti-flag-offset: -81}.iti__gl{--iti-flag-offset: -82}.iti__gm{--iti-flag-offset: -83}.iti__gn{--iti-flag-offset: -84}.iti__gp{--iti-flag-offset: -85}.iti__gq{--iti-flag-offset: -86}.iti__gr{--iti-flag-offset: -87}.iti__gt{--iti-flag-offset: -88}.iti__gu{--iti-flag-offset: -89}.iti__gw{--iti-flag-offset: -90}.iti__gy{--iti-flag-offset: -91}.iti__hk{--iti-flag-offset: -92}.iti__hn{--iti-flag-offset: -93}.iti__hr{--iti-flag-offset: -94}.iti__ht{--iti-flag-offset: -95}.iti__hu{--iti-flag-offset: -96}.iti__id{--iti-flag-offset: -97}.iti__ie{--iti-flag-offset: -98}.iti__il{--iti-flag-offset: -99}.iti__im{--iti-flag-offset: -100}.iti__in{--iti-flag-offset: -101}.iti__io{--iti-flag-offset: -102}.iti__iq{--iti-flag-offset: -103}.iti__ir{--iti-flag-offset: -104}.iti__is{--iti-flag-offset: -105}.iti__it{--iti-flag-offset: -106}.iti__je{--iti-flag-offset: -107}.iti__jm{--iti-flag-offset: -108}.iti__jo{--iti-flag-offset: -109}.iti__jp{--iti-flag-offset: -110}.iti__ke{--iti-flag-offset: -111}.iti__kg{--iti-flag-offset: -112}.iti__kh{--iti-flag-offset: -113}.iti__ki{--iti-flag-offset: -114}.iti__km{--iti-flag-offset: -115}.iti__kn{--iti-flag-offset: -116}.iti__kp{--iti-flag-offset: -117}.iti__kr{--iti-flag-offset: -118}.iti__kw{--iti-flag-offset: -119}.iti__ky{--iti-flag-offset: -120}.iti__kz{--iti-flag-offset: -121}.iti__la{--iti-flag-offset: -122}.iti__lb{--iti-flag-offset: -123}.iti__lc{--iti-flag-offset: -124}.iti__li{--iti-flag-offset: -125}.iti__lk{--iti-flag-offset: -126}.iti__lr{--iti-flag-offset: -127}.iti__ls{--iti-flag-offset: -128}.iti__lt{--iti-flag-offset: -129}.iti__lu{--iti-flag-offset: -130}.iti__lv{--iti-flag-offset: -131}.iti__ly{--iti-flag-offset: -132}.iti__ma{--iti-flag-offset: -133}.iti__mc{--iti-flag-offset: -134}.iti__md{--iti-flag-offset: -135}.iti__me{--iti-flag-offset: -136}.iti__mf{--iti-flag-offset: -137}.iti__mg{--iti-flag-offset: -138}.iti__mh{--iti-flag-offset: -139}.iti__mk{--iti-flag-offset: -140}.iti__ml{--iti-flag-offset: -141}.iti__mm{--iti-flag-offset: -142}.iti__mn{--iti-flag-offset: -143}.iti__mo{--iti-flag-offset: -144}.iti__mp{--iti-flag-offset: -145}.iti__mq{--iti-flag-offset: -146}.iti__mr{--iti-flag-offset: -147}.iti__ms{--iti-flag-offset: -148}.iti__mt{--iti-flag-offset: -149}.iti__mu{--iti-flag-offset: -150}.iti__mv{--iti-flag-offset: -151}.iti__mw{--iti-flag-offset: -152}.iti__mx{--iti-flag-offset: -153}.iti__my{--iti-flag-offset: -154}.iti__mz{--iti-flag-offset: -155}.iti__na{--iti-flag-offset: -156}.iti__nc{--iti-flag-offset: -157}.iti__ne{--iti-flag-offset: -158}.iti__nf{--iti-flag-offset: -159}.iti__ng{--iti-flag-offset: -160}.iti__ni{--iti-flag-offset: -161}.iti__nl{--iti-flag-offset: -162}.iti__no{--iti-flag-offset: -163}.iti__np{--iti-flag-offset: -164}.iti__nr{--iti-flag-offset: -165}.iti__nu{--iti-flag-offset: -166}.iti__nz{--iti-flag-offset: -167}.iti__om{--iti-flag-offset: -168}.iti__pa{--iti-flag-offset: -169}.iti__pe{--iti-flag-offset: -170}.iti__pf{--iti-flag-offset: -171}.iti__pg{--iti-flag-offset: -172}.iti__ph{--iti-flag-offset: -173}.iti__pk{--iti-flag-offset: -174}.iti__pl{--iti-flag-offset: -175}.iti__pm{--iti-flag-offset: -176}.iti__pr{--iti-flag-offset: -177}.iti__ps{--iti-flag-offset: -178}.iti__pt{--iti-flag-offset: -179}.iti__pw{--iti-flag-offset: -180}.iti__py{--iti-flag-offset: -181}.iti__qa{--iti-flag-offset: -182}.iti__re{--iti-flag-offset: -183}.iti__ro{--iti-flag-offset: -184}.iti__rs{--iti-flag-offset: -185}.iti__ru{--iti-flag-offset: -186}.iti__rw{--iti-flag-offset: -187}.iti__sa{--iti-flag-offset: -188}.iti__sb{--iti-flag-offset: -189}.iti__sc{--iti-flag-offset: -190}.iti__sd{--iti-flag-offset: -191}.iti__se{--iti-flag-offset: -192}.iti__sg{--iti-flag-offset: -193}.iti__sh{--iti-flag-offset: -194}.iti__si{--iti-flag-offset: -195}.iti__sj{--iti-flag-offset: -196}.iti__sk{--iti-flag-offset: -197}.iti__sl{--iti-flag-offset: -198}.iti__sm{--iti-flag-offset: -199}.iti__sn{--iti-flag-offset: -200}.iti__so{--iti-flag-offset: -201}.iti__sr{--iti-flag-offset: -202}.iti__ss{--iti-flag-offset: -203}.iti__st{--iti-flag-offset: -204}.iti__sv{--iti-flag-offset: -205}.iti__sx{--iti-flag-offset: -206}.iti__sy{--iti-flag-offset: -207}.iti__sz{--iti-flag-offset: -208}.iti__tc{--iti-flag-offset: -209}.iti__td{--iti-flag-offset: -210}.iti__tg{--iti-flag-offset: -211}.iti__th{--iti-flag-offset: -212}.iti__tj{--iti-flag-offset: -213}.iti__tk{--iti-flag-offset: -214}.iti__tl{--iti-flag-offset: -215}.iti__tm{--iti-flag-offset: -216}.iti__tn{--iti-flag-offset: -217}.iti__to{--iti-flag-offset: -218}.iti__tr{--iti-flag-offset: -219}.iti__tt{--iti-flag-offset: -220}.iti__tv{--iti-flag-offset: -221}.iti__tw{--iti-flag-offset: -222}.iti__tz{--iti-flag-offset: -223}.iti__ua{--iti-flag-offset: -224}.iti__ug{--iti-flag-offset: -225}.iti__us{--iti-flag-offset: -226}.iti__uy{--iti-flag-offset: -227}.iti__uz{--iti-flag-offset: -228}.iti__va{--iti-flag-offset: -229}.iti__vc{--iti-flag-offset: -230}.iti__ve{--iti-flag-offset: -231}.iti__vg{--iti-flag-offset: -232}.iti__vi{--iti-flag-offset: -233}.iti__vn{--iti-flag-offset: -234}.iti__vu{--iti-flag-offset: -235}.iti__wf{--iti-flag-offset: -236}.iti__ws{--iti-flag-offset: -237}.iti__xk{--iti-flag-offset: -238}.iti__ye{--iti-flag-offset: -239}.iti__yt{--iti-flag-offset: -240}.iti__za{--iti-flag-offset: -241}.iti__zm{--iti-flag-offset: -242}.iti__zw{--iti-flag-offset: -243}.iti{position:relative;display:inline-block;*{box-sizing:border-box}input.iti__tel-input,input.iti__tel-input[type=text],input.iti__tel-input[type=tel]{position:relative;z-index:0;display:block;min-width:100%;margin:0!important}}.iti__a11y-text{width:1px;height:1px;clip:rect(1px,1px,1px,1px);overflow:hidden;position:absolute}.iti__country-container{position:absolute;top:0;bottom:0;left:0;padding:var(--iti-border-width)}.iti__selected-country{z-index:1;position:relative;display:flex;align-items:center;height:100%;background:none;border:0;margin:0;padding:0;font-family:inherit;font-size:inherit;color:inherit;border-radius:0;font-weight:inherit;line-height:inherit;text-decoration:none}.iti__selected-country-primary{display:flex;align-items:center;height:100%;padding:0 var(--iti-arrow-padding) 0 var(--iti-spacer-horizontal)}.iti__selected-dial-code{margin-left:4px}.iti__arrow{margin-left:var(--iti-arrow-padding);margin-top:-2px;width:var(--iti-arrow-size);height:var(--iti-arrow-size);box-sizing:border-box;border-right:var(--iti-arrow-width) solid var(--iti-icon-color);border-bottom:var(--iti-arrow-width) solid var(--iti-icon-color);transform:rotate(45deg)}.iti__arrow--up{margin-top:4px;transform:rotate(-135deg)}.iti__country-selector{border-radius:3px;background-color:var(--iti-country-selector-bg);.iti--inline-country-selector &{border:var(--iti-border-width) solid var(--iti-border-color);box-shadow:1px 1px 4px #0003}.iti--inline-country-selector:not(.iti--detached-country-selector) &{position:absolute;z-index:2;left:0}}.iti__search-input{width:100%;border-width:0;border-radius:3px;padding-left:calc(var(--iti-spacer-horizontal) + var(--iti-globe-icon-size) + var(--iti-spacer-horizontal));padding-right:calc(var(--iti-spacer-horizontal) + var(--iti-clear-icon-size) + var(--iti-spacer-horizontal));[dir=rtl] &{padding-left:inherit;padding-right:30px;background-position:right 8px center}&::-webkit-search-cancel-button{appearance:none}}.iti__search-input,.iti__country{padding-top:8px;padding-bottom:8px}.iti__search-input-wrapper{position:relative;display:flex;align-items:center;border-bottom:1px solid var(--iti-border-color)}.iti__search-icon{position:absolute;left:var(--iti-spacer-horizontal);display:flex;pointer-events:none;[dir=rtl] &{left:auto;right:var(--iti-spacer-horizontal)}}.iti__search-icon-svg{width:var(--iti-globe-icon-size);height:var(--iti-globe-icon-size);display:block;stroke:var(--iti-icon-color);fill:none;stroke-width:3}.iti__search-clear{position:absolute;right:calc(var(--iti-spacer-horizontal) / 2);background:transparent;border:0;border-radius:3px;cursor:pointer;padding:calc(var(--iti-spacer-horizontal) / 2);display:flex;align-items:center;justify-content:center;transition:background-color .15s ease;.iti__search-clear-x{stroke-width:2}.iti__search-clear-bg{fill:var(--iti-icon-color)}[dir=rtl] &{right:auto;left:var(--iti-spacer-horizontal)}&:hover,&:focus-visible{background:var(--iti-hover-color);outline:none}}.iti__search-clear-svg{width:var(--iti-clear-icon-size);height:var(--iti-clear-icon-size);display:block}.iti__no-results{text-align:center;padding:30px 0}.iti__country-list{list-style:none;padding:0;margin:0;cursor:pointer;overflow-y:scroll;-webkit-overflow-scrolling:touch;.iti--inline-country-selector &{max-height:185px}}.iti--flexible-dropdown-width .iti__country-list{white-space:nowrap;@media(width <= 500px){white-space:normal}}.iti__country{display:flex;align-items:center;padding-left:var(--iti-spacer-horizontal);padding-right:var(--iti-spacer-horizontal);outline:none;&.iti__highlight{background-color:var(--iti-hover-color)}}.iti__country-name{flex-grow:1}.iti__country-check{margin-left:var(--iti-spacer-horizontal);display:flex;align-items:center;color:var(--iti-icon-color)}.iti__country-check-svg{width:var(--iti-clear-icon-size);height:var(--iti-clear-icon-size);display:block}.iti__country-list .iti__flag{margin-right:var(--iti-spacer-horizontal);flex-shrink:0;[dir=rtl] &{margin-right:0;margin-left:var(--iti-spacer-horizontal)}}.iti--has-country-selector{.iti__country-container:has(+input[disabled]),.iti__country-container:has(+input[readonly]){button.iti__selected-country{cursor:not-allowed;.iti__arrow{visibility:hidden}}}.iti__country-container:not(:has(+input[disabled])):not(:has(+input[readonly])){.iti__selected-country-primary:hover,.iti__selected-country:has(+.iti__country-selector:hover) .iti__selected-country-primary{background-color:var(--iti-hover-color)}}}.iti--detached-country-selector{position:fixed;top:-1000px;left:-1000px;z-index:1060;&:hover{cursor:pointer}}.iti--detached-country-selector{top:calc(anchor(bottom) + 3px);left:anchor(left);position-try-fallbacks:--iti-flip-above}@position-try --iti-flip-above{top:auto;bottom:calc(anchor(top) + 3px)}.iti__hide{display:none}.iti__v-hide{visibility:hidden}.iti--fullscreen-popup{&.iti--detached-country-selector{background-color:#00000080;inset:0;position:fixed;padding:var(--iti-mobile-popup-margin);display:flex;flex-direction:column;justify-content:flex-start}.iti__country-selector{display:flex;flex-direction:column;max-height:100%;position:relative}.iti__country,.iti__search-input{padding-top:10px;padding-bottom:10px}.iti__country{padding-left:10px;padding-right:10px;line-height:1.5em}}.iti__flag{height:var(--iti-flag-height);width:var(--iti-flag-width);border-radius:1px;box-shadow:0 0 1px #888;background-image:image-set(var(--iti-path-flags-1x) 1x,var(--iti-path-flags-2x) 2x);background-repeat:no-repeat;background-position:calc(var(--iti-flag-offset, 100) * var(--iti-flag-width)) 0;background-size:calc(var(--iti-flag-count) * var(--iti-flag-width)) var(--iti-flag-height)}.iti__loading{position:relative;background:none;box-shadow:none;&:after{content:"";position:absolute;inset:0;margin:auto;width:var(--iti-flag-height);height:var(--iti-flag-height);box-sizing:border-box;border:2px solid var(--iti-icon-color);border-right-color:transparent;border-radius:50%;animation:iti-spinner 1s linear infinite}}@keyframes iti-spinner{to{transform:rotate(360deg)}}.iti__strict-reject-animation{.iti__tel-input,.iti__selected-country{animation:iti-strict-reject-shake .3s cubic-bezier(.36,.07,.19,.97)}@media(prefers-reduced-motion:reduce){.iti__tel-input{animation:iti-strict-reject-flash .3s ease-out both}.iti__selected-country{animation:none}}}@keyframes iti-strict-reject-shake{10%,90%{transform:translate(-1px)}20%,80%{transform:translate(2px)}30%,50%,70%{transform:translate(-3px)}40%,60%{transform:translate(3px)}}@keyframes iti-strict-reject-flash{40%{background-color:var(--iti-strict-reject-flash-color)}}.iti__globe{background:none;box-shadow:none;height:var(--iti-globe-icon-size);display:flex;align-items:center;justify-content:center;padding:0;.iti__globe-svg{width:100%;height:100%;fill:var(--iti-icon-color)}}@supports (-webkit-appearance: none) and (not (background: -webkit-canvas(foo))){.iti__tel-input:focus{outline-offset:1px}}
/* stylelint-enable */


/* #958: price on request (no amount yet, never 0 EUR). */
.storefront-body .product-price.is-price-on-request {
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: normal;
}

.storefront-body .product-card-actions:has(.product-price.is-price-on-request) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.storefront-body .product-card-actions:has(.product-price.is-price-on-request) .card-cart-button {
    width: 100%;
}

.storefront-body .product-detail-price.is-price-on-request,
.storefront-body .product-detail-price .product-price-on-request-label {
    font-size: clamp(24px, 6vw, 30px);
    line-height: 1.15;
}

.storefront-body .cart-item-price.is-price-on-request [data-cart-line-total],
.storefront-body .summary-item .is-price-on-request {
    font-size: 14px;
    white-space: normal;
}

.storefront-body .cart-price-on-request-notice,
.storefront-body .checkout-confirmation-explanation {
    margin: 12px 0;
    padding: 10px 12px;
    border: 1px solid #f0d9a8;
    border-radius: 10px;
    background: #fff8e8;
    color: #4d3500;
    font-size: 14px;
    line-height: 1.45;
}

body.storefront-body:where(.is-homepage) .home-categories,
body.storefront-body:where(.is-homepage) .home-products,
body.storefront-body:where(.is-homepage) .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
}

@media (641px <= width <= 940px) {
    body.storefront-body:where(.is-homepage) .site-footer {
        contain-intrinsic-size: auto 1320px;
    }
}

@media (width <= 640px) {
    body.storefront-body:where(.is-homepage) .site-footer {
        contain-intrinsic-size: auto 784px;
    }
}

.no-js .storefront-body [data-checkout-delivery-groups],
.no-js .storefront-body .delivery-method-list [data-delivery-option][hidden],
.no-js .storefront-body [data-parcel-nearest],
.no-js .storefront-body [data-parcel-more] {
    display: none !important;
}

.no-js .storefront-body .delivery-extra.is-visible {
    display: block !important;
}

/* Public static fallbacks share the same stylesheet as the live storefront. */
body#offline-page.offline-page,
body#maintenance-page.maintenance-page {
    display: grid;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    place-items: center;
    font-family: "Pirkt24 Inter", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body#maintenance-page.maintenance-page {
    padding: clamp(16px, 4vw, 36px);
    color: #321b20;
    background: radial-gradient(circle at 15% 0%, #ffe6e8, transparent 35rem), #fffaf9;
}

#maintenance-page.maintenance-page main {
    width: min(100%, 580px);
    padding: clamp(28px, 6vw, 56px);
    border: 1px solid #f1d8db;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 55px #580c1712;
    text-align: center;
}

#maintenance-page.maintenance-page .brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--sp-d, #930b1a);
    font-size: 20px;
    font-weight: 850;
    letter-spacing: -.04em;
}

#maintenance-page.maintenance-page .brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: var(--sp-d, #b30c22);
    color: #fff;
    font-size: 20px;
}

#maintenance-page.maintenance-page .symbol {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 30px auto 24px;
    place-items: center;
    border-radius: 22px;
    background: #fff0f1;
    color: var(--sp-d, #a50c1e);
}

#maintenance-page.maintenance-page .symbol svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentcolor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#maintenance-page.maintenance-page main h1 {
    margin: 0;
    font-size: clamp(28px, 5vw, 40px);
    letter-spacing: -.045em;
    line-height: 1.14;
}

#maintenance-page.maintenance-page main p {
    max-width: 410px;
    margin: 18px auto 0;
    color: #736369;
    font-size: 16px;
    line-height: 1.6;
}

#maintenance-page.maintenance-page main a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 10px 24px;
    border-radius: 12px;
    background: var(--sp-d, #b30c22);
    color: #fff;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
}

#maintenance-page.maintenance-page footer {
    margin-top: 30px;
    color: #84767b;
    font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
    #maintenance-page.maintenance-page *,
    #maintenance-page.maintenance-page *::before,
    #maintenance-page.maintenance-page *::after {
        animation: none !important;
        transition: none !important;
    }
}

body#offline-page.offline-page {
    padding: 24px;
    color: #211719;
    color-scheme: light;
    background:
        radial-gradient(circle at 10% 0, rgb(from var(--p24-red) r g b/9%), transparent 28rem),
        #fffaf7;
}

#offline-page.offline-page main {
    position: relative;
    width: min(100%, 560px);
    padding: clamp(32px, 7vw, 64px);
    overflow: hidden;
    border: 1px solid #eadcda;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 60px rgb(82 10 19 / 10%);
}

#offline-page.offline-page main::after {
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 240px;
    height: 240px;
    border: 42px solid rgb(from var(--p24-red) r g b/5.5%);
    border-radius: 50%;
    content: "";
}

#offline-page.offline-page main img,
#offline-page.offline-page main span,
#offline-page.offline-page main h1,
#offline-page.offline-page main p,
#offline-page.offline-page main a {
    position: relative;
    z-index: 1;
}

#offline-page.offline-page main img {
    width: 76px;
    height: 76px;
}

#offline-page.offline-page main span {
    display: block;
    margin: 24px 0 10px;
    color: var(--p24-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

#offline-page.offline-page main h1 {
    margin: 0 0 16px;
    color: var(--sp-i, #3f050b);
    font-size: clamp(36px, 8vw, 58px);
    letter-spacing: -.05em;
    line-height: .98;
}

#offline-page.offline-page main p {
    max-width: 420px;
    margin: 0 0 28px;
    color: #75686a;
    line-height: 1.65;
}

#offline-page.offline-page main a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 12px;
    background: var(--p24-red);
    color: var(--p24-on-red);
    font-weight: 850;
    text-decoration: none;
}

#offline-page.offline-page main a:focus-visible {
    outline: 3px solid rgb(from var(--p24-red) r g b/28%);
    outline-offset: 4px;
}

#maintenance-page.maintenance-page main a:hover {
    background: var(--sp-d, #8b0b1b);
}

#maintenance-page.maintenance-page main a:focus-visible {
    outline: 3px solid #d35763;
    outline-offset: 4px;
}

/* Product page: variants that look different are chosen by picture. Equal
   tiles: centred thumbnail, centred label, and the stock dot ON the top-right
   corner like the catalog card chips, so it never takes label width. */
.storefront-body .product-variant-group-chip.has-image {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    width: 92px;
    padding: 8px 6px 7px;
    background: var(--p24-paper, #fff);
    font-size: 0.8rem;
    line-height: 1.2;
    text-align: center;
}

.storefront-body .product-variant-group-chip.has-image.is-current {
    background: var(--p24-paper, #fff);
}

.storefront-body .product-variant-group-chip.has-image .product-variant-group-image {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.storefront-body .product-variant-group-chip.has-image.is-unavailable .product-variant-group-image {
    opacity: 0.55;
}

.storefront-body .product-variant-group-chip.has-image .product-variant-group-label {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (width <= 640px) {
    .storefront-body .product-variant-group-chip.has-image {
        width: 80px;
    }

    .storefront-body .product-variant-group-chip.has-image .product-variant-group-image {
        width: 60px;
        height: 60px;
    }
}

/* Storefront footer: keep contact and link groups aligned with the site cards. */
.storefront-body .footer-company address { color: #62585a; }

.storefront-body .site-footer .footer-seller-name {
    color: var(--p24-burgundy-deep);
}

.storefront-body .footer-column-heading {
    display: none;
    margin: 0 0 8px;
    color: var(--p24-burgundy-deep);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.storefront-body .footer-navigation-toggle {
    display: grid;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    place-items: center;
    color: var(--shop-primary, #b51227);
}

.storefront-body .footer-navigation-toggle::before {
    content: "+";
    font-size: 15px;
    line-height: 1;
}

.storefront-body .footer-navigation[open] .footer-navigation-toggle::before {
    content: "−";
}

.storefront-body .footer-navigation > .footer-column-links {
    gap: 4px;
}

@media (width >= 641px) {
    .storefront-body .footer-column-heading {
        display: block;
    }
}

@media (width >= 901px) {
    .storefront-body .footer-partners {
        grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
        gap: 24px;
        padding: 12px 0;
    }

    .storefront-body .footer-comparison-badges {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .storefront-body .footer-comparison-badges .footer-partner-badge {
        width: 100%;
        min-width: 0;
        height: 64px;
        min-height: 64px;
        padding: 6px;
        overflow: hidden;
    }

}

@media (width <= 640px) {
    .storefront-body .footer-main {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
        gap: 5px 9px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .storefront-body .footer-company { grid-column: 1 / -1; }

    .storefront-body .footer-column > .footer-navigation {
        overflow: hidden;
        border: 1px solid #f0e3e0;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 3px 10px rgb(63 18 24 / 4%);
    }

    .storefront-body .footer-navigation > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        min-height: 44px;
        margin-bottom: 0;
        padding: 0 10px;
        pointer-events: auto;
        cursor: pointer;
        list-style: none;
    }

    .storefront-body .footer-navigation-title {
        color: var(--p24-burgundy-deep);
        font-size: 12px;
        letter-spacing: 0;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .storefront-body .footer-navigation-toggle {
        display: grid;
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
        place-items: center;
        border: 0;
        border-radius: 0;
        color: var(--p24-red-dark);
    }

    .storefront-body .footer-navigation-toggle::before {
        font-size: 15px;
    }

    .storefront-body .footer-navigation[open] > .footer-column-links {
        padding: 0 10px 8px;
    }

    .storefront-body .footer-partners {
        padding: 4px 0;
    }

    .storefront-body .footer-bottom {
        gap: 2px 8px;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .storefront-body .footer-payment-badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .storefront-body .footer-payment-badges .footer-online-payment-badge {
        width: 100%;
        min-height: 44px;
        justify-content: center;
        padding: 5px;
        border-radius: 8px;
    }

    .storefront-body .footer-payment-badges .footer-online-payment-badge .checkout-option-icon {
        width: 20px;
        height: 20px;
    }

    .storefront-body .footer-payment-badges .footer-online-payment-name {
        font-size: 9px;
        overflow-wrap: anywhere;
    }
}

/* WCAG 2.2 target size (2.5.8): utility and breadcrumb links are at least 24px tall.
   The #page-top body id keeps this after every page-specific link rule. */
#page-top.storefront-body .utility-links a:any-link,
#page-top.storefront-body .page-shell .breadcrumbs a:any-link {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
}

/* WCAG 2.2 target size (2.5.8) on the category directory (home, catalog index):
   the search field, card titles and subcategory links are at least 24px tall.
   Subcategory links trade the 8px gap (and 4px of the list margin) for 4px
   block padding, so text positions, rhythm and the dot stay where they were. */
#page-top.storefront-body .catalog-directory-search input {
    min-height: 44px;
}

#page-top.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-title {
    min-height: 24px;
}

#page-top.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-children {
    gap: 0;
    margin-top: 12px;
}

#page-top.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-children a:any-link {
    min-height: 24px;
    padding-block: 4px;
}

#page-top.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-children a:any-link::before {
    top: calc(.48em + 4px);
}

/* The Salidzini partner logo is an official fixed-size footer asset. Keep its
   dimensions outside critical CSS so the 24 KiB inline budget stays intact. */
#page-top.storefront-body .footer-partners .footer-comparison-badges .footer-partner-badge-salidzini {
    flex: 0 0 190px;
    width: 190px;
    min-width: 190px;
    height: 60px;
    min-height: 60px;
    overflow: visible;
    aspect-ratio: auto;
}

#page-top.storefront-body .footer-partners .footer-comparison-badges .footer-partner-badge-salidzini img {
    display: block;
    width: 190px;
    min-width: 190px;
    height: 60px;
    min-height: 60px;
    max-width: none;
    border: 0;
}

@media (width <= 640px) {
    #page-top.storefront-body .footer-partners .footer-comparison-badges .footer-partner-badge-salidzini {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* CMS-E (#485): a shop without an uploaded logo shows its name. The logo
   links zero their font-size for the image layout, so the wordmark sets its
   own type explicitly. */
.site-logo .site-logo-wordmark,
.footer-logo .site-logo-wordmark {
    display: inline-block;
    max-width: 100%;
    color: var(--p24-ink, #111827);
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.footer-logo .site-logo-wordmark {
    color: inherit;
    font-size: 24px;
}

/* Phones: two product cards per row in every product-card grid (home, catalog,
   category, brand, search, related). Cards are ~150-200px wide here, so the
   card content is compacted; list view stays one column. Image `sizes` is
   48vw below 640px (product-card partial/component). */
@media (width <= 640px) {
    #page-top.storefront-body .product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    #page-top.storefront-body .product-list .product-card {
        gap: 6px;
        padding: 6px;
        border-radius: 12px;
    }

    #page-top.storefront-body .product-list .product-title {
        min-height: calc(3 * 1.35em);
        font-size: 13px;
        line-height: 1.35;
        -webkit-line-clamp: 3;
    }

    #page-top.storefront-body .product-list .product-brand-badge {
        max-width: calc(100% - 52px);
    }

    #page-top.storefront-body .product-list .product-card-meta {
        gap: 4px;
    }

    #page-top.storefront-body .product-list .product-card-meta .stock-status {
        min-height: 24px;
        padding: 3px 7px;
        font-size: 10px;
    }

    #page-top.storefront-body .product-list .product-price {
        font-size: 16px;
    }

    #page-top.storefront-body .product-list .rrp-comparison {
        font-size: 11px;
    }

    #page-top.storefront-body .product-list .card-cart-button {
        min-height: 44px;
        padding-right: 8px;
        padding-left: 8px;
        font-size: 12px;
    }

    #page-top.storefront-body .product-list .card-variant-option {
        min-width: 0;
        max-width: 100%;
    }
}

/* Two-column phone cards (above): give the card content the full card width,
   a lighter results panel with compact purchase actions on phones. */
@media (width <= 640px) {
    #page-top.storefront-body .catalog-results {
        padding: 8px;
    }

    #page-top.storefront-body .product-list .product-info,
    #page-top.storefront-body .product-list .product-purchase {
        padding-right: 2px;
        padding-left: 2px;
    }

    #page-top.storefront-body .product-list .product-image {
        aspect-ratio: 1 / 1;
    }

    #page-top.storefront-body .product-list .favorite-button {
        top: 6px;
        right: 6px;
        width: 36px;
        height: 36px;
    }
}

@media (width <= 400px) {
    #page-top.storefront-body .product-list .card-cart-button .button-label {
        font-size: 13px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }
}

/* Product without a photo in a shop without a trade name: generic icon instead of initials. */
.storefront-body .image-placeholder-mark .image-placeholder-icon {
    width: 1.4em;
    height: 1.4em;
}

/* /returns withdrawal form eyebrow: 11px text needs the contrast red (WCAG AA 4.5:1 on white), as the other small red labels. */
#page-top.storefront-body .withdrawal-form-head > div > span {
    color: var(--shop-primary, #c90a1b);
}

/* With characteristic filters the whole form scrolls inside the sticky
   sidebar instead of squeezing one group to zero height. */
.storefront-body .catalog-filter-form:has(.catalog-attribute-filter) {
    grid-template-rows: none;
    overflow-y: auto;
}

.storefront-body .catalog-filter-form:has(.catalog-attribute-filter) > .catalog-filter-group {
    min-height: auto;
    overflow: visible;
}

.storefront-body .catalog-filter-form:has(.catalog-attribute-filter) > .catalog-filter-actions {
    position: sticky;
    bottom: 0;
    z-index: 1;
    background: #fff;
}

/* ------------------------------------------------------------------
   Design pass 2026-11-08 (impeccable audit/polish + Vercel web
   interface guidelines). Refinement only: the PIRKT24 look stays.
   ------------------------------------------------------------------ */

/* Catalog on phones: one quiet toolbar instead of three nested cards.
   The collapsed filter panel loses its card chrome and duplicate
   "Filters" heading (the button already says it); the results card and
   the toolbar card inside it flatten into the page. The open filter
   panel keeps its card. */
@media (width <= 640px) {
    #page-top.storefront-body .catalog-sidebar.is-collapsible:not(:has([data-catalog-filter-toggle][aria-expanded="true"])) {
        border-color: transparent;
        background: transparent;
        box-shadow: none;
    }

    #page-top.storefront-body .catalog-sidebar.is-collapsible:not(:has([data-catalog-filter-toggle][aria-expanded="true"])) .catalog-sidebar-head {
        padding: 0;
        border-bottom: 0;
    }

    #page-top.storefront-body .catalog-sidebar.is-collapsible .catalog-sidebar-head h2 {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    #page-top.storefront-body .catalog-results {
        padding: 0;
        border-color: transparent;
        background: transparent;
        box-shadow: none;
    }

    #page-top.storefront-body .catalog-results > .catalog-toolbar {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0 0 12px;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        text-align: start;
    }

    #page-top.storefront-body .catalog-results > .catalog-toolbar .catalog-count {
        flex: 1 1 auto;
        min-width: 0;
    }

    #page-top.storefront-body .catalog-results > .catalog-toolbar .catalog-toolbar-actions {
        flex: 0 1 auto;
        min-width: 0;
    }

    #page-top.storefront-body .catalog-results > .catalog-toolbar:has(.catalog-sort:not(.is-enhanced)) {
        flex-wrap: wrap;
    }

    #page-top.storefront-body .catalog-results > .catalog-toolbar .catalog-toolbar-actions:has(.catalog-sort:not(.is-enhanced)) {
        flex: 1 1 100%;
    }

    #page-top.storefront-body .catalog-results .catalog-sort:not(.is-enhanced) label {
        flex: 1 1 0;
    }
}

/* Filter option counts: readable size, AA contrast, aligned digits. */
#page-top.storefront-body .catalog-filter-group label small {
    color: #75686a;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

/* Product page on phones: name and price reach the first screen.
   Tighter gallery frame and thumbnails (arrows and the 1/N counter
   stay), a calmer title size and no stacked top margins. */
@media (width <= 640px) {
    #page-top.storefront-body .breadcrumbs.is-compact-mobile:has(+ .product-page) {
        margin-bottom: 10px;
    }

    #page-top.storefront-body .product-page {
        gap: 12px;
    }

    #page-top.storefront-body .product-gallery-panel {
        gap: 10px;
        padding: 10px;
    }

    #page-top.storefront-body .product-gallery-main,
    #page-top.storefront-body .product-gallery-trigger,
    #page-top.storefront-body .product-gallery-trigger img {
        height: 260px;
    }

    #page-top.storefront-body .product-gallery-trigger img {
        padding: 12px;
    }

    #page-top.storefront-body .product-gallery-thumbs {
        gap: 8px;
        margin-top: 0;
    }

    #page-top.storefront-body .product-gallery-thumbs .gallery-thumb {
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
    }

    #page-top.storefront-body .product-buy-box {
        gap: 12px;
        padding-top: 16px;
    }

    #page-top.storefront-body .product-buy-box h1 {
        margin-top: 0;
        margin-bottom: 4px;
        font-size: 22px;
        line-height: 1.2;
        text-wrap: balance;
    }
}

/* ------------------------------------------------------------------
   Footer restore 2026-11-08 (owner): the dark red PIRKT24 footer as it
   was on 07.11 01:07 (4cfa0948), before the light restyle #1181 and its
   follow-ups, plus a tidy partner strip (equal 60px plates, official
   190x60 Salidzini badge). Rules taken from that main.css with duplicates
   merged; every selector carries body#page-top#page-top so the block wins over the
   later light-footer rules while keeping its own cascade.
   ------------------------------------------------------------------ */

body#page-top#page-top .footer-company p,
body#page-top#page-top .footer-company address {
    max-width: 360px;
    margin: 0 0 16px;
    color: #aeb6c5;
    font-style: normal;
    line-height: 1.55;
}

body#page-top#page-top .footer-company address,
body#page-top#page-top .footer-contact,
body#page-top#page-top .footer-column {
    display: grid;
    gap: 9px;
}

body#page-top#page-top .footer-company strong {
    color: #fff;
}

body#page-top#page-top .footer-contact a {
    width: max-content;
    color: #fff;
    font-weight: 800;
}

body#page-top#page-top .footer-column h2 {
    margin: 4px 0 8px;
    color: #fff;
    font-size: 16px;
}

body#page-top#page-top .footer-column a,
body#page-top#page-top .footer-column button {
    width: max-content;
    max-width: 100%;
    padding: 0;
    border: 0;
    color: #aeb6c5;
    background: transparent;
    text-align: left;
    line-height: 1.4;
}

body#page-top#page-top .footer-social-title {
    padding-top: 12px;
}

@media (width <= 860px) {
body#page-top#page-top .footer-main {
        grid-template-columns: 1fr;
    }




}

body#page-top#page-top .footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(150px, 1fr));
    gap: 34px;
    padding: 34px 0;
    padding-top: 44px;
    padding-bottom: 36px;
}

@media (width <= 560px) {
body#page-top#page-top .footer-bottom {
        flex-direction: column;
    }





}

body#page-top#page-top .footer-logo {
    display: inline-block;
    margin-bottom: 14px;
    color: #fff;
    font-weight: 900;
    font-size: 31px;
    line-height: 1;
    letter-spacing: 0;
}

body#page-top#page-top .footer-logo span {
    color: var(--p24-accent);
}

body#page-top#page-top .footer-column h2,
body#page-top#page-top .footer-company strong {
    color: #fff;
}

body#page-top#page-top .footer-column a:hover,
body#page-top#page-top .footer-column button:hover,
body#page-top#page-top .footer-contact a:hover {
    color: #fff;
}

@media (width <= 620px) {
body#page-top#page-top .footer-main,
body#page-top#page-top .footer-bottom {
        width: var(--p24-page);
    }




}

body#page-top#page-top .site-footer {
    color: #697181;
    background: #fff;
}

body#page-top#page-top .footer-main,
body#page-top#page-top .footer-bottom {
    margin: 0 auto;
    width: var(--p24-page);
}

body#page-top#page-top .footer-main .footer-logo,
body#page-top#page-top .footer-column h2,
body#page-top#page-top .footer-company strong {
    color: var(--p24-ink);
}

body#page-top#page-top .footer-company p,
body#page-top#page-top .footer-company address,
body#page-top#page-top .footer-contact,
body#page-top#page-top .footer-column {
    color: #737b8a;
}

body#page-top#page-top .footer-column a:hover,
body#page-top#page-top .footer-contact a:hover {
    color: var(--p24-accent);
}

body#page-top#page-top .footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 24px;
    font-size: 13px;
    border-top: 1px solid var(--p24-line);
    color: #8b93a2;
}

@media print {
    body#page-top#page-top.storefront-body .site-footer {
        display: none !important;
    }
}

body#page-top#page-top.storefront-body .footer-main,
body#page-top#page-top.storefront-body .footer-bottom {
    width: min(var(--p24-max), calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

body#page-top#page-top.storefront-body .footer-hours {
    display: grid;
    gap: 1px;
    margin-top: 7px;
}

body#page-top#page-top.storefront-body .footer-hours-title {
    color: #fff;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body#page-top#page-top.storefront-body .footer-contact {
    margin-top: 15px;
}

body#page-top#page-top.storefront-body .footer-column a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: rgb(255 255 255 / 83%);
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    text-underline-offset: 3px;
}

body#page-top#page-top.storefront-body .footer-contact a {
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 13px;
    overflow-wrap: anywhere;
}

body#page-top#page-top.storefront-body .footer-column a:hover {
    color: #fff;
    transform: translateX(3px);
}

body#page-top#page-top.storefront-body .footer-social-title {
    margin-top: 18px !important;
}

@media (width <= 940px) {
    body#page-top#page-top.storefront-body .footer-main {
        grid-template-columns: 1.25fr 1fr 1fr;
    }

    body#page-top#page-top.storefront-body .footer-company {
        grid-column: 1 / -1;
    }
}

body#page-top#page-top.storefront-body .site-footer {
    margin-top: 0;
    position: relative;
    padding-top: 34px;
    overflow: hidden;
    color: rgb(255 255 255 / 72%);
    background:
        radial-gradient(circle at 8% 0, rgb(from var(--p24-red) r g b/16%), transparent 28%),
        linear-gradient(180deg, #1c070c 0%, #100408 100%);
    border-top: 0;
}

body#page-top#page-top.storefront-body .site-footer::after {
    position: absolute;
    right: -160px;
    bottom: -210px;
    width: 520px;
    height: 520px;
    border: 90px solid rgb(from var(--p24-red) r g b/3.5%);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

body#page-top#page-top.storefront-body .footer-frame {
    position: relative;
    z-index: 1;
    width: min(var(--p24-max), calc(100% - 48px));
    margin: 0 auto;
}

body#page-top#page-top.storefront-body .footer-support-card {
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 20px;
    background:
        radial-gradient(circle at 95% 10%, rgb(from var(--p24-red) r g b/12%), transparent 32%),
        #fff7f4;
    color: var(--p24-burgundy-deep);
    box-shadow: 0 24px 70px rgb(0 0 0 / 22%);
    border: 0;
}

body#page-top#page-top.storefront-body .footer-support-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--p24-red);
    color: var(--p24-on-red);
    box-shadow: 0 12px 30px rgb(from var(--p24-red) r g b/22%);
}

body#page-top#page-top.storefront-body .footer-support-icon svg {
    width: 29px;
    height: 29px;
}

body#page-top#page-top.storefront-body .footer-eyebrow {
    color: var(--p24-red);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

body#page-top#page-top.storefront-body .footer-support-copy h2 {
    margin: 5px 0;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1;
}

body#page-top#page-top.storefront-body .footer-support-copy p {
    max-width: 610px;
    margin: 0;
    color: #776568;
    font-size: 13px;
}

body#page-top#page-top.storefront-body .footer-support-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(190px, 1fr));
    gap: 9px;
}

body#page-top#page-top.storefront-body .footer-support-action.is-primary {
    border-color: var(--shop-primary, #c90a1b);
    background: var(--shop-primary, #c90a1b);
    color: #fff;
}

body#page-top#page-top.storefront-body .footer-support-action {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 62px;
    padding: 11px 16px;
    border: 1px solid #dfcacc;
    border-radius: 16px;
    background: #fff;
    color: var(--p24-burgundy-deep); min-width: 0; }

body#page-top#page-top.storefront-body .footer-support-action:hover {
    border-color: var(--p24-burgundy);
    box-shadow: 0 12px 24px rgb(65 6 14 / 10%);
    transform: translateY(-2px);
}

body#page-top#page-top.storefront-body .footer-support-action svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
}

body#page-top#page-top.storefront-body .footer-support-action small {
    color: #6f5a5d;
    font-size: 9px;
    font-weight: 750;
}

body#page-top#page-top.storefront-body .footer-trust-row small {
    color: rgb(255 255 255 / 50%);
    overflow: visible;
    font-size: 12px;
    line-height: 1.4;
    text-overflow: clip;
    white-space: normal;
}

body#page-top#page-top.storefront-body .footer-support-action.is-primary small {
    color: #fff;
}

body#page-top#page-top.storefront-body .footer-logo {
    display: block;
    max-width: 100%;
    width: 220px;
    margin-bottom: 12px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

body#page-top#page-top.storefront-body .footer-logo img {
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

body#page-top#page-top.storefront-body .footer-company p {
    font-size: 13px;
    max-width: 390px;
    color: rgb(255 255 255 / 60%);
    line-height: 1.5;
}

body#page-top#page-top.storefront-body .footer-company address,
body#page-top#page-top.storefront-body .footer-contact {
    display: grid;
    gap: 4px;
    font-size: 12px;
    font-style: normal;
    color: rgb(255 255 255 / 68%);
    line-height: 1.45;
}

body#page-top#page-top.storefront-body .footer-column {
    display: grid;
    align-content: start;
    gap: 7px;
}

body#page-top#page-top.storefront-body .footer-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgb(255 255 255 / 10%);
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    gap: normal;
    padding: 0;
}

body#page-top#page-top.storefront-body .footer-trust-item {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 14px 18px;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
    background: transparent;
}

body#page-top#page-top.storefront-body .footer-support-action span {
    display: grid; min-width: 0; }

body#page-top#page-top.storefront-body .footer-back-to-top::before {
    font-size: 19px;
    line-height: 1;
}

body#page-top#page-top.storefront-body .footer-trust-item + .footer-trust-item {
    border-left: 1px solid rgb(255 255 255 / 10%);
}

body#page-top#page-top.storefront-body .footer-trust-row svg {
    flex: 0 0 auto;
    color: var(--sp-l, #ff4d58);
}

body#page-top#page-top.storefront-body .footer-trust-text {
    display: grid;
    min-width: 0;
}

body#page-top#page-top.storefront-body .footer-partners {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 18px 40px;
    padding: 22px 0;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
}

body#page-top#page-top.storefront-body .footer-partner-group {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 12px;
}

body#page-top#page-top.storefront-body .footer-partner-group h2 {
    font-weight: 800;
    margin: 0;
    color: rgb(255 255 255 / 72%);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body#page-top#page-top.storefront-body .footer-comparison-badges,
body#page-top#page-top.storefront-body .footer-payment-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

body#page-top#page-top.storefront-body .footer-partner-badge,
body#page-top#page-top.storefront-body .footer-makecommerce-badge,
body#page-top#page-top.storefront-body .footer-bank-badge {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 9px;
    background: #fff;
}

body#page-top#page-top.storefront-body .footer-partner-badge {
    min-width: 140px;
    min-height: 60px;
    padding: 10px;
}

body#page-top#page-top.storefront-body .footer-partner-badge-salidzini {
    min-width: 210px;
    min-height: 80px;
}

body#page-top#page-top.storefront-body .footer-comparison-badges .footer-partner-badge {
    width: 210px;
    min-width: 210px;
    height: 70px;
    min-height: 70px;
    padding: 0;
    aspect-ratio: 3 / 1;
}

body#page-top#page-top.storefront-body .footer-comparison-badges .footer-partner-badge-salidzini {
    display: grid;
    align-content: center;
    width: 212px;
    min-width: 212px;
    height: auto;
    min-height: 80px;
    padding: 10px;
    overflow: visible;
    aspect-ratio: auto;
    text-align: center;
}

body#page-top#page-top.storefront-body .footer-partner-salidzini-link {
    display: block;
    text-decoration: none;
}

body#page-top#page-top.storefront-body .footer-partner-logo {
    display: block;
    margin: 0 auto 3px;
}

body#page-top#page-top.storefront-body .footer-partner-description {
    margin: 0;
    color: #595959;
    font-family: sans-serif;
    font-size: 11px;
}

body#page-top#page-top.storefront-body .footer-makecommerce-badge {
    min-width: 174px;
    min-height: 64px;
    padding: 7px 10px;
}

body#page-top#page-top.storefront-body .footer-partner-badge:hover,
body#page-top#page-top.storefront-body .footer-makecommerce-badge:hover {
    border-color: rgb(255 255 255 / 50%);
    box-shadow: 0 8px 20px rgb(0 0 0 / 18%);
    transform: translateY(-2px);
}

body#page-top#page-top.storefront-body .footer-partner-badge img,
body#page-top#page-top.storefront-body .footer-makecommerce-badge img,
body#page-top#page-top.storefront-body .footer-bank-badge img {
    display: block;
    max-width: 100%;
    object-fit: contain;
}

body#page-top#page-top.storefront-body .footer-comparison-badges .footer-partner-badge img {
    max-height: 100%;
    width: auto;
    max-width: 150px;
    height: 40px;
    object-fit: contain;
}

body#page-top#page-top.storefront-body .footer-bank-badge {
    width: 100px;
    height: 44px;
    padding: 6px;
}

body#page-top#page-top.storefront-body .footer-online-payment-badge {
    gap: 9px;
    color: #1e293b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

body#page-top#page-top.storefront-body .footer-online-payment-badge > .checkout-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 44px;
}

body#page-top#page-top.storefront-body .footer-online-payment-badge .checkout-option-icon img {
    width: 42px;
    height: 40px;
    object-fit: contain;
}

body#page-top#page-top.storefront-body .footer-trust-item > svg {
    padding: 0;
    border-radius: 0;
    background: transparent;
}

body#page-top#page-top.storefront-body .footer-online-payment-badge .checkout-option-icon svg {
    width: 28px;
    height: 28px;
}

body#page-top#page-top.storefront-body .footer-online-payment-name {
    overflow-wrap: anywhere;
}

body#page-top#page-top.storefront-body .footer-copyright {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (width <= 1120px) {
    body#page-top#page-top.storefront-body .footer-support-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    body#page-top#page-top.storefront-body .footer-support-actions {
        grid-column: 1 / -1;
    }
}

@media (width <= 900px) {
    body#page-top#page-top.storefront-body .footer-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body#page-top#page-top.storefront-body .footer-company {
        grid-column: 1 / -1;
    }

    body#page-top#page-top.storefront-body .footer-partners {
        grid-template-columns: 1fr;
    }
}

@media (width <= 640px) {
    body#page-top#page-top.storefront-body .footer-main,
    body#page-top#page-top.storefront-body .footer-bottom {
        width: calc(100% - 32px);
    }

    body#page-top#page-top.storefront-body .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    body#page-top#page-top.storefront-body .site-footer {
        padding-top: 32px;
    }

    body#page-top#page-top.storefront-body .footer-frame {
        width: calc(100% - 32px);
    }

    body#page-top#page-top.storefront-body .footer-support-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 20px;
    }

    body#page-top#page-top.storefront-body .footer-support-icon {
        width: 56px;
        height: 56px;
    }

    body#page-top#page-top.storefront-body .footer-support-actions {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    body#page-top#page-top.storefront-body .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 34px 22px;
        padding: 44px 0 34px;
    }

    body#page-top#page-top.storefront-body .footer-trust-row {
        grid-template-columns: 1fr;
    }

    body#page-top#page-top.storefront-body .footer-trust-item {
        padding: 17px 0;
    }

    body#page-top#page-top.storefront-body .footer-trust-item + .footer-trust-item {
        border-top: 1px solid rgb(255 255 255 / 10%);
        border-left: 0;
    }

    body#page-top#page-top.storefront-body .footer-partners {
        gap: 26px;
        padding: 26px 0;
    }

    body#page-top#page-top.storefront-body .footer-comparison-badges,
    body#page-top#page-top.storefront-body .footer-payment-badges {
        align-items: stretch;
    }

    body#page-top#page-top.storefront-body .footer-partner-badge {
        flex: 1 1 140px;
    }

    body#page-top#page-top.storefront-body .footer-partner-badge-salidzini {
        flex-basis: 210px;
    }

    body#page-top#page-top.storefront-body .footer-makecommerce-badge {
        flex: 1 1 174px;
    }
}

@media (width <= 420px) {
    body#page-top#page-top.storefront-body .footer-main {
        grid-template-columns: 1fr;
    }

    body#page-top#page-top.storefront-body .footer-company {
        grid-column: auto;
    }
}

@media (width <= 480px) {
    body#page-top#page-top.storefront-body .footer-column a,
    body#page-top#page-top.storefront-body .footer-column button,
    body#page-top#page-top.storefront-body .footer-contact a {
        min-height: 28px;
    }
}

body#page-top#page-top.storefront-body .footer-main {
    display: grid;
    width: 100%;
    grid-template-columns: 1.4fr repeat(3, minmax(140px, .65fr));
    gap: clamp(24px, 3vw, 40px);
    padding: 36px 0 24px; align-items: start; }

body#page-top#page-top.storefront-body .footer-column h2 {
    margin: 0 0 10px;
    margin-bottom: 6px;
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.045em;
}

body#page-top#page-top.storefront-body .footer-column .footer-brands-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 48px;
    margin: 0 0 2px -12px;
    padding: 8px 11px;
    border: 1px solid rgb(255 255 255 / 23%);
    border-left: 3px solid var(--sp-l, #ff8793);
    border-radius: 9px;
    background: rgb(255 255 255 / 9%);
    color: #fff;
    font-weight: 850;
}

body#page-top#page-top.storefront-body .footer-column .footer-brands-link svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
}

body#page-top#page-top.storefront-body .footer-column .footer-brands-link:hover,
body#page-top#page-top.storefront-body .footer-column .footer-brands-link:focus-visible,
body#page-top#page-top.storefront-body .footer-column .footer-brands-link[aria-current="page"] {
    background: rgb(255 255 255 / 17%);
    color: #fff;
}

body#page-top#page-top.storefront-body .footer-support-action strong {
    font-size: 12px;
    overflow-wrap: anywhere;
    line-height: 1.35;
    white-space: normal;
}

body#page-top#page-top.storefront-body .footer-trust-row strong {
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
}

body#page-top#page-top.storefront-body .site-footer a:focus-visible,
body#page-top#page-top.storefront-body .site-footer button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

body#page-top#page-top.storefront-body .footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 11px;
    width: 100%;
    padding: 14px 0 20px;
    border-top: 0;
    flex-wrap: wrap; color: rgb(255 255 255 / 58%); }

body#page-top#page-top.storefront-body .footer-back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 7px 12px;
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 9px;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
}

body#page-top#page-top.storefront-body .footer-back-to-top:hover { background: rgb(255 255 255 / 12%); }

body#page-top#page-top.storefront-body .footer-navigation {
    display: grid;
    gap: 4px;
}

body#page-top#page-top.storefront-body .footer-navigation > summary {
    display: none;
}

body#page-top#page-top.storefront-body .footer-navigation-title {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

body#page-top#page-top.storefront-body .footer-column-links {
    display: grid !important;
    gap: 7px;
}

@media (width <= 640px) {

    body#page-top#page-top.storefront-body .footer-column .footer-brands-link { margin-left: 0; }
    body#page-top#page-top.storefront-body .site-footer { padding-top: 8px; }

    body#page-top#page-top.storefront-body .footer-support-card {
        grid-template-columns: 36px minmax(0, 1fr);
        border-radius: 12px;
        box-shadow: 0 6px 18px rgb(0 0 0 / 12%);
        gap: 10px 12px;
        padding: 14px;
    }

    body#page-top#page-top.storefront-body .footer-support-icon {
        grid-column: 1;
        grid-row: 1;
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    body#page-top#page-top.storefront-body .footer-support-icon svg {
        width: 19px;
        height: 19px;
    }

    body#page-top#page-top.storefront-body .footer-support-copy { grid-column: 2; }

    body#page-top#page-top.storefront-body .footer-eyebrow {
        font-size: 8px;
        letter-spacing: .1em;
    }

    body#page-top#page-top.storefront-body .footer-support-copy h2 {
        margin: 1px 0 0;
        font-size: clamp(17px, 4.5vw, 20px);
        line-height: 1.1;
    }

    body#page-top#page-top.storefront-body .footer-support-copy p { display: none; }

    body#page-top#page-top.storefront-body .footer-support-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    body#page-top#page-top.storefront-body .footer-support-action {
        min-height: 44px;
        gap: 6px;
        padding: 5px 7px;
        border-radius: 9px;
    }

    body#page-top#page-top.storefront-body .footer-support-action svg {
        width: 17px;
        height: 17px;
    }

    body#page-top#page-top.storefront-body .footer-support-action small { font-size: 8px; }

    body#page-top#page-top.storefront-body .footer-support-action strong {
        font-size: 10px;
        overflow-wrap: anywhere;
    }

    body#page-top#page-top.storefront-body .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2px 12px;
        row-gap: 20px;
        padding: 24px 0 18px;
    }

    body#page-top#page-top.storefront-body .footer-company { grid-column: 1 / -1; }

    body#page-top#page-top.storefront-body .footer-column a {
        display: flex;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 44px;
        white-space: normal;
    }

    body#page-top#page-top.storefront-body .footer-logo {
        width: 124px;
        margin-bottom: 12px;
    }

    body#page-top#page-top.storefront-body .footer-company p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        margin: 0 0 12px;
        font-size: 13px;
        line-height: 1.55;
    }

    body#page-top#page-top.storefront-body .footer-company address {
        gap: 4px;
        margin-bottom: 0;
        font-size: 13px;
        line-height: 1.5;
    }

    body#page-top#page-top.storefront-body .footer-hours {
        gap: 2px 12px;
        margin-top: 10px;
    }

    body#page-top#page-top.storefront-body .footer-column { gap: 0; }

    body#page-top#page-top.storefront-body .footer-navigation > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        list-style: none;
        gap: normal;
        padding: 0;
        min-height: 52px;
    }

    body#page-top#page-top.storefront-body .footer-navigation > summary::-webkit-details-marker { display: none; }

    body#page-top#page-top.storefront-body .footer-navigation-title { font-size: 12px;
        line-height: 1.55; }

    body#page-top#page-top.storefront-body .footer-navigation-toggle::before {
        color: #fff;
        content: "+";
        font-size: 18px;
        line-height: 1;
    }

    body#page-top#page-top.storefront-body .footer-navigation[open] .footer-navigation-toggle::before { content: "−"; }

    body#page-top#page-top.storefront-body .footer-column-links { gap: 4px; }

    body#page-top#page-top.storefront-body .footer-column-links a {
        font-size: 13px;
    }

    body#page-top#page-top.storefront-body .footer-company > .footer-contact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 8px;
        display: block;
        margin-top: 16px;
    }

    body#page-top#page-top.storefront-body .footer-company > .footer-contact a {
        display: flex;
        width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
        line-height: 1.35;
    }

    body#page-top#page-top.storefront-body .footer-navigation > .footer-column-links {
        padding: 0;
    }

    body#page-top#page-top.storefront-body .footer-navigation:not([open]) > .footer-column-links { display: none !important; }

    body#page-top#page-top.storefront-body .footer-navigation[open] > .footer-column-links { display: grid !important; }

    body#page-top#page-top.storefront-body .footer-main > .footer-column {
        border-top: 1px solid rgb(255 255 255 / 12%);
    }

    body#page-top#page-top.storefront-body .footer-main > .footer-column:last-child { grid-column: 1 / -1; }

    body#page-top#page-top.storefront-body .footer-main > .footer-column:last-child > .footer-navigation[open] > .footer-column-links {
        display: flex !important;
        flex-wrap: wrap;
        gap: 0 12px;
    }

    body#page-top#page-top.storefront-body .footer-company .footer-contact a {
        display: inline-flex;
        align-items: center;
        justify-self: start;
        min-height: 44px;
        padding: 0 14px;
        border: 1px solid rgb(255 255 255 / 22%);
        border-radius: 999px;
        background: rgb(255 255 255 / 6%);
        color: #fff;
    }

    body#page-top#page-top.storefront-body .footer-main > .footer-column:last-child a {
        width: max-content;
        min-height: 44px;
        font-size: 12px;
        white-space: nowrap;
    }

    body#page-top#page-top.storefront-body .footer-trust-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        margin-top: 4px;
        border-top: 1px solid rgb(255 255 255 / 12%);
        border-bottom: 1px solid rgb(255 255 255 / 12%);
    }

    body#page-top#page-top.storefront-body .footer-trust-item {
        min-height: 44px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        border-left: 1px solid rgb(255 255 255 / 10%);
        text-align: center;
        padding: 16px 6px;
    }

    body#page-top#page-top.storefront-body .footer-trust-item + .footer-trust-item { border-left: 0; }

    body#page-top#page-top.storefront-body .footer-trust-text {
        gap: normal;
        justify-items: center;
        text-align: center;
    }

    body#page-top#page-top.storefront-body .footer-company address > span,
    body#page-top#page-top.storefront-body .footer-company .footer-seller-name,
    body#page-top#page-top.storefront-body .footer-company .footer-hours > span,
    body#page-top#page-top.storefront-body .footer-company .footer-hours-title {
        font-size: 13px;
        line-height: 1.5;
    }

    body#page-top#page-top.storefront-body .footer-trust-item:nth-child(even) {
        border-left: 1px solid rgb(255 255 255 / 10%);
    }

    body#page-top#page-top.storefront-body .footer-trust-item:nth-child(n + 3) {
        border-top: 1px solid rgb(255 255 255 / 10%);
    }

    body#page-top#page-top.storefront-body .footer-trust-row svg {
        width: 18px;
        height: 18px;
    }

    body#page-top#page-top.storefront-body .footer-trust-row strong {
        font-size: 11px;
        line-height: 1.25; }

    body#page-top#page-top.storefront-body .footer-trust-row small {
        font-size: 10px;
        line-height: 1.3;
    }

    body#page-top#page-top.storefront-body .footer-bottom {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
        padding: 16px 0 20px;
        font-size: 12px;
    }

    body#page-top#page-top.storefront-body .footer-copyright { grid-column: 1 / -1; }

    body#page-top#page-top.storefront-body .footer-partners {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 22px 0;
    }

    body#page-top#page-top.storefront-body .footer-partner-group { gap: 4px; }

    body#page-top#page-top.storefront-body .footer-partner-group h2 { font-size: 9px; }

    body#page-top#page-top.storefront-body .footer-comparison-badges { gap: 6px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)); }

    body#page-top#page-top.storefront-body .footer-comparison-badges .footer-partner-badge {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        min-height: 44px;
        height: 44px;
        padding: 4px;
    }

    body#page-top#page-top.storefront-body .footer-partners .footer-comparison-badges .footer-partner-badge-salidzini {
        flex-basis: 0;
        min-height: 44px;
        height: 44px;
        padding: 4px;
        grid-column: 1 / -1;
    }

    body#page-top#page-top.storefront-body .footer-comparison-badges .footer-partner-badge img {
        max-height: 34px;
        max-width: 100%;
        height: 36px;
    }

    body#page-top#page-top.storefront-body .footer-partner-salidzini-link {
        display: grid;
        justify-items: center;
        gap: 1px;
        text-decoration: none;
    }

    body#page-top#page-top.storefront-body .footer-partner-badge-salidzini .footer-partner-logo {
        width: min(100%, 140px);
        height: auto;
        max-height: 32px;
        margin: 0 auto;
    }

    body#page-top#page-top.storefront-body .footer-partner-description {
        display: none;
    }

    body#page-top#page-top.storefront-body .footer-payment-badges { gap: 6px; }

    body#page-top#page-top.storefront-body .footer-makecommerce-badge {
        min-width: 0;
        min-height: 42px;
        padding: 4px 7px;
    }

    body#page-top#page-top.storefront-body .footer-online-payment-badge {
        flex: 1 1 135px;
        gap: 5px;
        font-size: 10px;
    }

    body#page-top#page-top.storefront-body .footer-online-payment-badge > .checkout-option-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }

    body#page-top#page-top.storefront-body .footer-online-payment-badge .checkout-option-icon img {
        width: 28px;
        height: 28px;
    }

    body#page-top#page-top.storefront-body .footer-online-payment-name { line-height: 1.2; }

    body#page-top#page-top.storefront-body .footer-back-to-top {
        min-height: 40px;
        padding: 5px 10px;
    }

    body#page-top#page-top.storefront-body .footer-navigation {
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    body#page-top#page-top.storefront-body .footer-comparison-badges .footer-partner-badge:not(.footer-partner-badge-salidzini) {
        width: 100%;
        padding: 0 10px;
    }

    body#page-top#page-top.storefront-body .footer-trust-item:first-child {
        border-left: 0;
    }
}

@media (width <= 360px) {
    body#page-top#page-top.storefront-body .footer-support-card {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 6px 8px;
        padding: 8px;
    }

    body#page-top#page-top.storefront-body .footer-support-icon {
        width: 32px;
        height: 32px;
    }

    body#page-top#page-top.storefront-body .footer-support-icon svg {
        width: 18px;
        height: 18px;
    }

    body#page-top#page-top.storefront-body .footer-support-action {
        gap: 6px;
        padding-inline: 7px;
    }

    body#page-top#page-top.storefront-body .footer-support-action svg {
        width: 15px;
        height: 15px;
    }

    body#page-top#page-top.storefront-body .footer-support-action strong { font-size: 10px; }

    body#page-top#page-top.storefront-body .footer-trust-item { padding-inline: 7px; }
}

body#page-top#page-top.storefront-body .footer-company .footer-contact {
    margin-bottom: 0;
}

body#page-top#page-top.storefront-body .footer-company .footer-seller-name,
body#page-top#page-top.storefront-body .footer-logo .site-logo-wordmark {
    color: #fff;
}

body#page-top#page-top.storefront-body .footer-navigation-toggle {
    display: inline;
    color: #737b8a;
}

body#page-top#page-top.storefront-body .footer-trust-item:first-child {
    border-left: 0;
}

body#page-top#page-top.storefront-body .footer-bottom .footer-back-to-top {
    background: transparent;
}

@media (width >= 641px) {
    body#page-top#page-top.storefront-body .footer-trust-item {
        min-height: auto;
    }

    body#page-top#page-top.storefront-body .footer-support-card {
        border-radius: 18px;
    }
}

body#page-top#page-top.storefront-body .footer-company .footer-contact a {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body#page-top#page-top.storefront-body .footer-comparison-badges .footer-partner-badge,
body#page-top#page-top.storefront-body .footer-payment-badges .footer-online-payment-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-width: 0;
    height: 60px;
    min-height: 60px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    aspect-ratio: auto;
    background: #fff;
    box-shadow: none;
    transition: transform .16s ease, box-shadow .16s ease;
}

body#page-top#page-top.storefront-body .footer-comparison-badges .footer-partner-badge:hover,
body#page-top#page-top.storefront-body .footer-comparison-badges .footer-partner-badge:focus-visible {
    box-shadow: 0 8px 20px rgb(0 0 0 / 28%);
    transform: translateY(-1px);
}

body#page-top#page-top.storefront-body .footer-partners .footer-comparison-badges .footer-partner-badge-salidzini {
    display: inline-flex;
    width: 190px;
    min-width: 190px;
    height: 60px;
    min-height: 60px;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

body#page-top#page-top.storefront-body .footer-partners .footer-comparison-badges .footer-partner-badge-salidzini img {
    width: 190px;
    max-width: none;
    height: 60px;
}

body#page-top#page-top.storefront-body .footer-payment-badges .footer-online-payment-badge {
    color: #211719;
    font-size: 13px;
    font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
    body#page-top#page-top.storefront-body .footer-comparison-badges .footer-partner-badge {
        transition: none;
    }

    body#page-top#page-top.storefront-body .footer-comparison-badges .footer-partner-badge:hover,
    body#page-top#page-top.storefront-body .footer-comparison-badges .footer-partner-badge:focus-visible {
        transform: none;
    }
}

body#page-top#page-top.storefront-body main > .home-products:last-child {
    margin-bottom: 0;
}

/* Mobile consistency 2026-11-09 (owner: "one style for the whole site").
   Info pages: the eight-link page menu becomes wrapping brand pills instead
   of a full-screen list, so the page text starts on the first screen.
   Catalog index: the hero follows the compact home hero on phones. */
@media (width <= 640px) {
    body#page-top.storefront-body .static-layout > .static-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    body#page-top.storefront-body .static-layout > .static-nav a {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        min-height: 40px;
        padding: 0 14px;
        border: 1px solid #ead8d6;
        border-radius: 999px;
        background: #fff;
        box-shadow: none;
        color: var(--sp-i, #3f050b);
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
    }

    body#page-top.storefront-body .static-layout > .static-nav a.is-active {
        border-color: var(--shop-primary, #a50012);
        background: var(--shop-primary, #a50012);
        color: var(--p24-on-red);
    }

    body#page-top.storefront-body .catalog-directory-hero {
        gap: 16px;
        padding: 22px 20px;
    }

    body#page-top.storefront-body .catalog-directory-hero .section-label {
        margin-bottom: 10px;
    }

    body#page-top.storefront-body .catalog-directory-hero h1 {
        margin: 6px 0 8px;
        font-size: clamp(32px, 9.6vw, 46px);
        line-height: 1;
    }

    body#page-top.storefront-body .catalog-directory-hero p {
        font-size: 14px;
        line-height: 1.55;
    }

    body#page-top.storefront-body .catalog-directory-stat {
        gap: 3px;
        padding: 10px;
    }

    body#page-top.storefront-body .catalog-directory-stat strong {
        font-size: 19px;
        line-height: 1;
    }
}

/* Checkout on phones: the steps, back link, title and form sat ~130px apart,
   so the first field started below the fold. Same rhythm as the cart now;
   behaviour and markup untouched. */
@media (width <= 640px) {
    body#page-top.storefront-body .checkout-page {
        row-gap: 10px;
    }

    body#page-top.storefront-body .checkout-page > .checkout-steps {
        margin-bottom: 14px;
    }

    body#page-top.storefront-body .checkout-page > .checkout-back-link {
        margin-top: 0;
        margin-bottom: 10px;
    }

    body#page-top.storefront-body .checkout-page > .checkout-heading {
        margin-bottom: 16px;
    }

    body#page-top.storefront-body .checkout-page > .checkout-heading h1 {
        font-size: 26px;
        line-height: 1.15;
    }
}

/* Cart summary is product-only; delivery is selected in checkout. */
.storefront-body .cart-auto-update-ready .cart-list-actions {
    display: none;
}

.storefront-body .cart-continue-link {
    margin-left: auto;
    color: var(--p24-burgundy);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.storefront-body .cart-continue-link:hover,
.storefront-body .cart-continue-link:focus-visible {
    color: var(--p24-red);
    text-decoration: underline;
}

.storefront-body .cart-summary-card .summary-total {
    margin-top: 0;
    padding-top: 0;
}

@media (width <= 640px) {
    .storefront-body .cart-heading {
        flex-wrap: wrap;
    }

    .storefront-body .cart-continue-link {
        width: 100%;
        margin-left: 0;
    }
}

/* #958 standalone RFQ (pirkt24 theme + PHP views; bootstrap-base uses BS6 classes).
   Scoped with #page-top like the other late blocks so no earlier, more specific
   input/label/heading rule wins over the form. */
#page-top.storefront-body .rfq-panel {
    margin: 20px 0 28px;
    border: 2px solid var(--accent, #c90a1b);
    border-radius: 14px;
    background: #fff;
    color: #19283b;
    overflow: clip;
    scroll-margin-top: 104px;
}

#page-top.storefront-body .rfq-trigger {
    display: block;
    padding: 15px 18px;
    border-radius: 12px;
    color: var(--accent-hover, #c90011);
    background: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    list-style: none;
}

#page-top.storefront-body .rfq-trigger::-webkit-details-marker {
    display: none;
}

#page-top.storefront-body .rfq-trigger::after {
    content: ' +';
}

#page-top.storefront-body .rfq-trigger:hover {
    filter: brightness(.94);
}

#page-top.storefront-body .rfq-trigger:focus-visible {
    outline: 3px solid #f4a12c;
    outline-offset: 3px;
}

#page-top.storefront-body .rfq-panel[open] .rfq-trigger {
    border-bottom: 1px solid #ecd9dc;
    border-radius: 12px 12px 0 0;
}

#page-top.storefront-body .rfq-panel[open] .rfq-trigger::after {
    content: ' −';
}

#page-top.storefront-body .rfq-panel-content {
    padding: clamp(16px, 4vw, 24px);
}

#page-top.storefront-body .rfq-intro {
    margin: 0 0 18px;
    line-height: 1.55;
}

#page-top.storefront-body .rfq-form {
    display: grid;
    gap: 16px;
}

#page-top.storefront-body .rfq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

#page-top.storefront-body .rfq-grid label,
#page-top.storefront-body .rfq-comment {
    display: grid;
    gap: 6px;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
}

#page-top.storefront-body .rfq-grid input,
#page-top.storefront-body .rfq-comment textarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #a7b4c7;
    border-radius: 9px;
    background: #fff;
    color: #16263a;
    font: inherit;
}

#page-top.storefront-body .rfq-grid input:focus-visible,
#page-top.storefront-body .rfq-comment textarea:focus-visible {
    outline: 3px solid #f4a12c;
    outline-offset: 3px;
}

#page-top.storefront-body .rfq-privacy {
    margin: 0;
    color: #44556b;
    font-size: 13px;
    line-height: 1.5;
}

#page-top.storefront-body .rfq-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--accent-hover, #c90011);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

#page-top.storefront-body .rfq-submit:hover {
    filter: brightness(.94);
}

#page-top.storefront-body .rfq-submit:focus-visible {
    outline: 3px solid #f4a12c;
    outline-offset: 3px;
}

#page-top.storefront-body .rfq-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--accent, #c90a1b);
    border-radius: 9px;
    color: var(--accent-hover, #c90011);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

#page-top.storefront-body .rfq-card-link:hover {
    filter: brightness(.94);
}

#page-top.storefront-body .rfq-card-link:focus-visible {
    outline: 3px solid #f4a12c;
    outline-offset: 3px;
}

#page-top.storefront-body .rfq-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

#page-top.storefront-body .rfq-message-page {
    padding: clamp(26px, 6vw, 64px) 16px;
}

#page-top.storefront-body .rfq-result {
    width: min(100%, 620px);
    margin-inline: auto;
    padding: clamp(24px, 6vw, 42px);
    border: 1px solid #d6dde5;
    border-radius: 18px;
    background: #fff;
    color: #19283b;
    text-align: center;
}

#page-top.storefront-body .rfq-result h1 {
    margin: 8px 0 12px;
}

#page-top.storefront-body .rfq-result-text {
    margin: 0 0 22px;
    line-height: 1.55;
}

#page-top.storefront-body .rfq-result-mark {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    background: var(--accent-hover, #c90011);
    font-size: 28px;
    font-weight: 700;
}

@media (width <= 560px) {
    #page-top.storefront-body .rfq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #page-top.storefront-body .rfq-submit {
        width: 100%;
    }
}

.storefront-body .catalog-sidebar:has(> .catalog-filter-drawer[open]:not(:modal)) {
    display: block;
    max-height: none;
}

.storefront-body .catalog-filter-drawer[open]:not(:modal) {
    position: static;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 8rem);
    margin: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
}

.storefront-body .catalog-sidebar.has-filter-drawer {
    position: static;
    max-height: none;
    overflow: visible;
}

.storefront-body .catalog-filter-drawer:modal {
    position: fixed;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    width: 88vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 1rem;
    color: inherit;
    background: var(--catalog-filter-surface, #fff);
    border: 0;
    border-radius: 0 1rem 1rem 0;
    overflow: hidden;
}

html:has(.catalog-filter-drawer:modal) { overflow: hidden; }
.catalog-filter-drawer::backdrop { background: rgb(0 0 0 / 50%); }

.storefront-body .catalog-filter-drawer[open] .catalog-filter-form {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.storefront-body .catalog-filter-drawer[open] .catalog-filter-scroll {
    flex: 1;
    overflow: auto;
    overscroll-behavior: contain;
}

.storefront-body .catalog-filter-drawer[open] .catalog-filter-actions {
    position: static;
    flex: none;
    padding-block: .75rem max(.75rem, env(safe-area-inset-bottom));
    background: var(--catalog-filter-surface, #fff);
}

.storefront-body .catalog-filter-close:not([hidden]) {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid currentcolor;
    border-radius: .5rem;
    color: inherit;
    background: transparent;
    font-size: 1.5rem;
}

.storefront-body .catalog-facet-options {
    max-height: 14rem;
    overflow: auto;
    overflow-wrap: anywhere;
}

.storefront-body .catalog-category-facet {
    min-width: 0;
    margin-inline: 0;
    border: 0;
}

.storefront-body .catalog-category-facet legend {
    padding: 0;
    font-weight: 750;
    color: var(--p24-burgundy);
}

.storefront-body .catalog-sidebar .catalog-price-range:not([hidden]) {
    position: relative;
    min-height: 2.75rem;
    isolation: isolate;

    &::before {
        content: "";
        position: absolute;
        inset: calc(50% - 2px) .75rem auto;
        height: 4px;
        border-radius: 999px;
        background: linear-gradient(to right, var(--p24-line) var(--range-low), var(--shop-primary, var(--p24-red)) var(--range-low) var(--range-high), var(--p24-line) var(--range-high));
    }

    & .catalog-price-handle {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        appearance: none;
        background: transparent;
        pointer-events: none;
    }

    & .catalog-price-handle:focus-visible { z-index: 1; }

    & .catalog-price-handle::-webkit-slider-thumb {
        appearance: none;
        width: 1.5rem;
        height: 1.5rem;
        border: 2px solid var(--shop-primary, var(--p24-red));
        border-radius: 50%;
        background: #fff;
        cursor: grab;
        pointer-events: auto;
    }

    & .catalog-price-handle::-moz-range-thumb {
        width: 1.25rem;
        height: 1.25rem;
        border: 2px solid var(--shop-primary, var(--p24-red));
        border-radius: 50%;
        background: #fff;
        cursor: grab;
        pointer-events: auto;
    }
}

.storefront-body .catalog-sidebar.has-filter-drawer .catalog-filter-toggle:not([hidden]) {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    min-height: 44px;
}

.storefront-body .catalog-sidebar.has-filter-drawer:not(:has(:modal)) {
    padding: 0;
    border: 0;
    background: transparent;
}

.storefront-body .catalog-facet-search {
    width: 100%;
    min-height: 36px;
    padding: .625rem;
    border: 1px solid var(--p24-line);
    border-radius: .5rem;
    background: #fff;
    color: inherit;
}

.storefront-body .catalog-category-facet .catalog-category-option:not([hidden]) {
    display: flex;
    gap: .5rem;
    align-items: center;
    min-height: 32px;
}

/* A saved shop palette applies to the controls while the theme keeps its layout. */
html:has(link[data-filter-palette]) .storefront-body .catalog-filter-drawer .catalog-filter-actions [type="submit"] {
    border-color: var(--shop-primary);
    background: var(--shop-primary);
    color: var(--shop-on-primary);
}

html:has(link[data-filter-palette]) .storefront-body .catalog-filter-drawer .catalog-filter-actions [type="submit"]:hover {
    box-shadow: 0 5px 12px rgb(from var(--shop-primary) r g b/24%);
}

html:has(link[data-filter-palette]) .storefront-body .catalog-filter-drawer .catalog-filter-group input[type="checkbox"]:checked {
    border-color: var(--shop-primary);
    background: var(--shop-primary);
}

html:has(link[data-filter-palette]) .storefront-body .catalog-filter-drawer .catalog-filter-group input[type="checkbox"]:checked::after {
    border-color: var(--shop-on-primary);
}

html:has(link[data-filter-palette]) .storefront-body .catalog-filter-drawer .catalog-category-option [type="radio"] {
    accent-color: var(--shop-primary);
}

html:has(link[data-filter-palette]) .storefront-body :is(.catalog-filter-toggle, .catalog-filter-close, .catalog-brand-lookup, .catalog-filter-actions :any-link) {
    color: var(--shop-primary);
}

html:has(link[data-filter-palette]) .storefront-body .catalog-filter-drawer :is(input, button, a):focus-visible {
    outline: 2px solid var(--shop-primary);
    outline-offset: 2px;
}

.storefront-body .search-category-scopes {
    margin-block-end: 1rem;
    padding: 1rem;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: var(--p24-paper);
}

.search-category-heading {
    margin: 0 0 .5rem;
    font-size: 1rem;
}

.search-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.storefront-body .search-category-grid .brand-category-link {
    justify-content: space-between;
    min-height: 44px;
    overflow-wrap: anywhere;
}

.search-category-more { margin-top: .5rem; }

@media (width >= 992px) {
    .search-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

html:has(link[data-filter-palette]) .search-category-scopes :is(.brand-category-link, .search-edit-query) {
    color: var(--shop-primary);
}

/* intl-tel-input (checkout phone field) tokens; kept out of the critical :root. */
body#page-top {
    --iti-flag-width: 20px;
    --iti-flag-count: 244;
    --iti-hover-color: rgb(0 0 0 / 5%);
    --iti-border-color: #ccc;
    --iti-country-selector-bg: white;
    --iti-icon-color: #555;
    --iti-spacer-horizontal: 10px;
    --iti-flag-height: calc(var(--iti-flag-width) * 3 / 4);
    --iti-globe-icon-size: 17px;
    --iti-clear-icon-size: 15px;
    --iti-border-width: 1px;
    --iti-arrow-size: 5px;
    --iti-arrow-width: 1.5px;
    --iti-arrow-padding: 7px;
    --iti-mobile-popup-margin: 30px;
    --iti-strict-reject-flash-color: rgb(255 0 0 / 12%);
    --iti-path-flags-1x: url("../vendor/intl-tel-input/29.1.2/img/flags.webp");
    --iti-path-flags-2x: url("../vendor/intl-tel-input/29.1.2/img/flags@2x.webp");
}

/* Confirmed final own-stock units: deliberately below the title, never on top
   of brand marks or favourite controls. Same semantic badge in all themes. */
.storefront-body .product-clearance-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: max-content;
    max-width: 100%;
    padding: .32em .65em;
    border-radius: 5px;
    background-color: #8c2334;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .01em;
    text-decoration: none;
}

/* Search suggestions, compact two-column panel (#1516). Rendered by
 * storefront.js for every theme; Bootstrap Base / Moto-D style it in the
 * theme SCSS. Desktop: categories and brands on the left, products on the
 * right; up to 760px one column. */
.storefront-body .search-suggestions-compact {
    max-height: min(72dvh, 640px);
    padding: 0;
    background: #fff;
    overscroll-behavior: contain;
}

.search-suggestions-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr);
}

.search-suggestions-layout.is-products-only,
.search-suggestions-layout.is-scopes-only {
    grid-template-columns: minmax(0, 1fr);
}

.search-suggestions-rail,
.search-suggestions-products {
    min-width: 0;
    padding: 8px;
}

.search-suggestions-rail {
    border-right: 1px solid var(--p24-line);
}

.search-suggestions-compact .search-suggestion-group {
    padding: 6px 8px 4px;
    border: 0;
    font-size: 11px;
    letter-spacing: .04em;
}

.storefront-body .search-suggestions-compact .search-suggestion {
    margin: 0;
}

.storefront-body .search-suggestion-scope {
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 38px;
    padding: 5px 8px;
}

.search-suggestion-scope-icon {
    flex: 0 0 22px;
    color: var(--p24-red);
    text-align: center;
}

.storefront-body .search-suggestion-product {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 9px;
    min-height: 52px;
    padding: 5px 8px;
}

.storefront-body .search-suggestion-product .search-suggestion-media {
    width: 40px;
    height: 40px;
    border-radius: 7px;
}

.storefront-body .search-suggestions-compact .search-suggestion-image {
    inset: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
}

.search-suggestions-compact .search-suggestion-copy {
    gap: 2px;
}

.storefront-body .search-suggestions-compact .search-suggestion-name {
    font-size: 13px;
    line-height: 1.25;
}

.storefront-body .search-suggestions-compact .search-suggestion-meta {
    font-size: 11px;
    line-height: 1.15;
}

.search-suggestion-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-end;
    max-width: 150px;
}

.search-suggestions-compact .search-suggestion-price {
    font-size: 13px;
    line-height: 1.2;
}

.search-suggestion-stock {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
}

.search-suggestion-stock-dot {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentcolor;
}

.search-suggestion-highlight {
    padding: 0;
    color: var(--p24-red);
    background: transparent;
    font-weight: 800;
}

.search-suggestions-empty {
    padding: 18px 12px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.storefront-body .search-suggestions-compact .search-suggestion.search-all-results {
    margin-top: 0;
    border-radius: 0;
    font-size: 13px;
}

@media (width >= 900px) {
    .storefront-body .search-suggestions-compact {
        left: auto;
        width: min(860px, calc(100vw - 32px));
    }
}

@media (width <= 760px) {
    .search-suggestions-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .search-suggestions-rail {
        border-right: 0;
        border-bottom: 1px solid var(--p24-line);
    }

    .storefront-body .search-suggestions-compact {
        max-height: min(65dvh, 590px);
    }

    .storefront-body .search-suggestion-scope {
        min-height: 42px;
    }

    .storefront-body .search-suggestion-product {
        grid-template-columns: 36px minmax(0, 1fr) auto;
        gap: 7px;
        min-height: 49px;
        padding: 4px 6px;
    }

    .storefront-body .search-suggestion-product .search-suggestion-media {
        width: 36px;
        height: 36px;
    }

    .storefront-body .search-suggestion-product .search-suggestion-price {
        font-size: 12px;
    }

    .search-suggestion-details {
        max-width: 105px;
    }

    /* Narrow rows: two lines of the product name instead of one cut line. */
    .storefront-body .search-suggestions-compact .search-suggestion-product .search-suggestion-name {
        max-height: 2.5em;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

.storefront-body .product-card:hover {
    border-color: rgb(242 10 23 / 34%);
    box-shadow: 0 22px 50px rgb(82 10 19 / 10%);
    transform: translateY(-4px);
}

.storefront-body .product-title:hover {
    color: var(--p24-red);
}

.storefront-body .product-card:hover,
.storefront-body .product-card:focus-within {
    border-color: rgb(200 10 27 / 42%);
    box-shadow: 0 18px 36px rgb(82 10 19 / 9%);
}

/* Compact purchase captions retain the full accessible product action. */
.storefront-body [data-card-compact] [data-cart-label-short] {
    display: none;
}

@media (width <= 640px) {
    .storefront-body .product-card [data-card-compact] {
        min-height: 44px;
    }

    .storefront-body [data-card-compact] [data-cart-label-full] {
        display: none;
    }

    .storefront-body [data-card-compact] [data-cart-label-short] {
        display: inline;
    }

    .storefront-body [data-card-compact]:not(.is-error) .button-label {
        white-space: nowrap;
        overflow-wrap: normal;
    }

    .storefront-body [data-card-compact] .button-icon {
        display: block;
        flex-shrink: 0;
    }

    .storefront-body [data-card-compact][data-stock-state="unavailable"] .button-icon {
        display: none;
    }
}

@media (width <= 360px) {
    .storefront-body [data-card-compact]:not([data-stock-state="unavailable"], .is-loading, .is-added, .is-error) .button-label {
        display: none;
    }
}

.storefront-body .catalog-facet-feedback {
    margin: 0;
    font-size: .8125rem;
    line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
    .storefront-body .product-card:hover,
    .storefront-body .product-card:hover .product-image img {
        transform: none;
        transition: none;
    }
}

/* #1676 PR5: «fits my device / vehicle» selector above a category or search listing. */
.storefront-body .catalog-compat {
    margin-bottom: 16px;
    padding: 14px 18px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: rgb(255 255 255 / 82%);
}

.storefront-body .catalog-compat-title {
    margin: 0 0 10px;
    font-size: 15px;
}

.storefront-body .catalog-compat-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.storefront-body .catalog-compat-field {
    display: grid;
    flex: 1 1 180px;
    gap: 4px;
    color: var(--p24-muted);
    font-size: 12px;
    font-weight: 750;
}

.storefront-body .catalog-compat-select {
    min-height: 38px;
    padding: 6px 10px;
    border: 1px solid var(--p24-line);
    border-radius: 9px;
    background: #fff;
    color: var(--p24-ink);
    font-size: 14px;
}

.storefront-body .catalog-compat-chosen {
    margin: 10px 0 0;
    font-size: 13px;
}
