/* Pirkt24 public storefront styles. No admin rules are included. */
:root {
    color-scheme: light;
    --text: #172033;
    --muted: #6d7482;
    --line: #e7eaf0;
    --surface: #f6f7fb;
    --dark: #080d19;
    --accent: #d71962;
    --accent-hover: #b91352;
    --success: #1f8a5b;
}
* {
    box-sizing: border-box;
}
html {
    min-width: min(320px, 100%);
}
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input {
    font: inherit;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.site-header {
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.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;
}
.utility-links,
.utility-meta,
.language-switcher,
.main-header,
.header-actions {
    display: flex;
    align-items: center;
}
.utility-links,
.utility-meta {
    gap: 22px;
}
.language-switcher {
    gap: 4px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
}
.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: rgba(255, 255, 255, 0.12);
}
.phone {
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}
.main-header {
    gap: 16px;
    min-height: 86px;
    padding: 16px clamp(16px, 4vw, 32px);
}
.site-logo {
    flex: 0 0 auto;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0;
    color: var(--dark);
}
.site-logo span {
    color: var(--accent);
}
.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;
}
.catalog-button {
    padding: 0 18px;
}
.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);
}
.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 rgba(17, 24, 39, 0.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 (max-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: rgba(215, 25, 98, 0.3);
    background: #fff;
}
.search-form input {
    min-width: 0;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
}
.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;
}
.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;
}
.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;
}
.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;
}
.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;
}
.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;
}
.primary-link {
    width: max-content;
    padding: 0 20px;
}
.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: rgba(215, 25, 98, 0.35);
    box-shadow: 0 8px 24px rgba(19, 24, 35, 0.08);
}
.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 rgba(19, 24, 35, 0.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, rgba(215, 25, 98, 0.08), rgba(8, 13, 25, 0.04)),
        var(--surface);
}
.image-placeholder[hidden] {
    display: none;
}
.image-placeholder-mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(215, 25, 98, 0.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;
}
.quantity-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
}
.quantity-stepper {
    display: grid;
    grid-template-columns: 28px 1fr 28px;
    align-items: center;
    height: 40px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    text-align: center;
    font-weight: 800;
}
.quantity-stepper button {
    width: 28px;
    height: 40px;
    border: 0;
    color: #8d95a3;
    background: transparent;
    cursor: pointer;
}
.quantity-stepper button:hover {
    color: var(--accent);
}
.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;
}
.product-description {
    color: #303746;
    line-height: 1.65;
}
.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,
.secondary-button {
    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;
}
.secondary-button {
    cursor: pointer;
}
.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;
}
.checkout-panel textarea {
    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 rgba(155, 36, 63, 0.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;
    -moz-appearance: textfield;
}
.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-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 span {
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: #9aa2b0;
}
.checkout-step.is-active {
    color: var(--text);
}
.checkout-step.is-active span {
    border-color: var(--accent);
    color: #fff;
    background: var(--accent);
}
.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-item-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.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-actions {
    align-self: start;
    justify-self: 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;
}
.continue-shopping-link {
    justify-self: center;
    color: var(--accent);
    font-weight: 900;
}
.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 span {
    border-color: var(--accent);
    color: var(--accent);
    background: #fff4f8;
}
.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 {
    display: flex;
    align-items: center;
    gap: 12px;
}
.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-section-head h2 {
    margin: 0;
    font-size: 22px;
}
.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: rgba(215, 25, 98, 0.55);
    box-shadow: 0 8px 24px rgba(19, 24, 35, 0.06);
}
.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-filter-field {
    max-width: 260px;
}
.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-column a:hover,
.footer-column button:hover,
.footer-contact a:hover {
    color: #fff;
}
.footer-social-title {
    padding-top: 12px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aeb6c5;
    font-size: 13px;
}
@media (max-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. */
.utility-bar {
    min-height: 34px;
}
.main-header {
    min-height: 70px;
    padding-top: 9px;
    padding-bottom: 9px;
}
.site-logo {
    display: grid;
    gap: 2px;
    min-width: 92px;
    color: var(--p24-ink);
    text-align: center;
}
.site-logo small {
    color: #8b93a2;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.5px;
}
.catalog-button {
    min-height: 48px;
}
.search-form {
    height: 48px;
}
.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;
}
.search-form input {
    padding-left: 10px;
}
.search-form button {
    width: 38px;
    height: 38px;
}
.page-shell {
    padding-top: 16px;
}
.store-hero {
    position: relative;
    display: block;
    min-height: 438px;
    overflow: hidden;
    border: 0;
    background: #dceffc;
    box-shadow: none;
}
.store-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(0deg, rgba(6, 12, 24, 0.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 rgba(0, 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,
.home-category-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,
.home-category-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;
}
.home-category-group {
    overflow: hidden;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}
.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 rgba(215, 25, 98, 0.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);
}
.product-benefits a:last-child {
    border-right: 0;
}
.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-main .footer-logo,
.footer-column h2,
.footer-company strong {
    color: var(--p24-ink);
}
.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);
}
.footer-bottom {
    border-top: 1px solid var(--p24-line);
    color: #8b93a2;
}
@media (max-width: 980px) {
.store-benefits,
.home-category-grid,
.subcategory-list,
.product-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
.product-benefits a:nth-child(2) {
        border-right: 0;
    }
.product-benefits a:nth-child(-n + 2) {
        border-bottom: 1px solid var(--p24-line);
    }




}
@media (max-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;
    }
.product-benefits a,
.product-benefits a:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--p24-line);
    }
.product-benefits a:last-child {
        border-bottom: 0;
    }





}
@media (max-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;
    }
.quantity-row {
        grid-template-columns: 1fr;
    }
.product-buy-form,
.checkout-grid,
.cart-item {
        grid-template-columns: 1fr;
    }
.order-summary {
        position: static;
    }
.footer-bottom {
        flex-direction: column;
    }





}
@media (max-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 (max-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-actions {
        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. */
:root {
    --p24-ink: #111827;
    --p24-muted: #7a8291;
    --p24-soft: #f4f6fb;
    --p24-line: #e5e9f1;
    --p24-card: #ffffff;
    --p24-dark: #070b16;
    --p24-accent: #d71962;
    --p24-accent-hover: #bd1555;
    --p24-success: #178558;
    --p24-radius: 8px;
    --p24-page: min(1240px, calc(100% - 44px));
}
body {
    color: var(--p24-ink);
    background: var(--p24-soft);
}
.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 rgba(19, 27, 44, 0.05);
}
.utility-bar,
.main-header {
    width: 100%;
    padding-right: max(22px, calc((100% - 1240px) / 2));
    padding-left: max(22px, calc((100% - 1240px) / 2));
}
.utility-bar {
    min-height: 36px;
    color: #cfd5df;
    background: var(--p24-dark);
    font-size: 13px;
}
.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;
}
.language-switcher {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}
.language-switcher a {
    min-width: 32px;
    color: #cfd5df;
}
.language-switcher a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}
.main-header {
    gap: 18px;
    min-height: 82px;
    padding-top: 14px;
    padding-bottom: 14px;
    background: #fff;
}
.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 rgba(215, 25, 98, 0.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);
}
.catalog-icon {
    display: grid;
    grid-template-columns: repeat(2, 6px);
    grid-template-rows: repeat(2, 6px);
    gap: 3px;
}
.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;
}
.search-form {
    height: 54px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f1f4f9;
}
.search-form:focus-within {
    border-color: rgba(215, 25, 98, 0.34);
    background: #fff;
}
.search-form input {
    padding-left: 22px;
    color: var(--p24-ink);
    font-size: 15px;
}
.search-form button {
    position: relative;
    width: 44px;
    height: 44px;
    margin: 5px 6px 5px 0;
    background: var(--p24-accent);
}
.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 rgba(17, 24, 39, 0.06);
}
.header-actions button.header-action {
    padding: 0;
    font: inherit;
    cursor: pointer;
}
.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);
}
.cart-icon {
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 4px;
}
.header-actions .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    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 rgba(17, 24, 39, 0.04);
}
.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;
}
.store-hero {
    min-height: 270px;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 47%, rgba(244, 246, 251, 0.72) 100%),
        #fff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.04);
}
.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: rgba(215, 25, 98, 0.3);
    color: var(--p24-accent);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}
.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: rgba(215, 25, 98, 0.34);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
    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 rgba(17, 24, 39, 0.09);
}
.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;
}
.quantity-row {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 8px;
}
.quantity-stepper {
    min-height: 42px;
    border: 1px solid var(--p24-line);
    border-radius: 999px;
    background: #fff;
}
.quantity-stepper button {
    color: #4b5563;
}
.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, rgba(215, 25, 98, 0.07), rgba(17, 24, 39, 0.03)),
        #f6f8fc;
}
.image-placeholder-mark {
    border-color: rgba(215, 25, 98, 0.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 rgba(17, 24, 39, 0.04);
}
.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 rgba(17, 24, 39, 0.07);
}
.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;
}
.checkout-step span {
    background: #fff;
}
.checkout-step.is-active span,
.checkout-step.is-done span {
    background: var(--p24-accent);
}
.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;
}
.continue-shopping-link,
.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: rgba(215, 25, 98, 0.42);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(215, 25, 98, 0.08);
}
.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: rgba(215, 25, 98, 0.36);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}
.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 {
    align-self: start;
    justify-self: 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 rgba(215, 25, 98, 0.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-main,
.footer-bottom {
    width: var(--p24-page);
}
.footer-column a:hover,
.footer-column button:hover,
.footer-contact a:hover {
    color: #fff;
}
@media (max-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 (max-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;
    }
.quantity-row {
        grid-template-columns: 1fr;
    }
.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-actions {
        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 rgba(215, 25, 98, 0.2);
    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 rgba(17, 24, 39, 0.04);
}
.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-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 rgba(17, 24, 39, 0.06);
}
.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-view-toggle {
    display: flex;
    gap: 6px;
}
.catalog-view-toggle a {
    display: grid;
    grid-template-columns: repeat(2, 7px);
    grid-template-rows: repeat(2, 7px);
    gap: 3px;
    width: 38px;
    height: 38px;
    place-content: center;
    border: 1px solid var(--p24-line);
    border-radius: 50%;
    background: #fff;
}
.catalog-view-toggle a:last-child {
    grid-template-columns: 18px;
    grid-template-rows: repeat(3, 4px);
    gap: 4px;
}
.catalog-view-toggle a.is-active {
    border-color: rgba(215, 25, 98, 0.32);
    background: #fff2f7;
}
.catalog-view-toggle span {
    display: block;
    border-radius: 2px;
    background: var(--p24-accent);
}
.product-list.is-list-view {
    grid-template-columns: 1fr;
}
.product-list.is-list-view .product-card {
    grid-template-columns: 190px minmax(0, 1fr) 230px;
    grid-template-rows: auto;
    min-height: 230px;
}
.product-list.is-list-view .product-media,
.product-list.is-list-view .product-image {
    height: 204px;
}
.product-list.is-list-view .product-title {
    min-height: 0;
    font-size: 16px;
}
.product-list.is-list-view .product-purchase {
    align-content: end;
}
.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 rgba(17, 24, 39, 0.04);
}
.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 b {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding-right: 8px;
    background: var(--p24-soft);
    line-height: 1.2;
}
.checkout-step.is-active b {
    color: var(--p24-ink);
}
.checkout-step.is-done b {
    color: var(--p24-ink);
}
.checkout-step:not(:last-child)::after {
    top: 18px;
}
@media (max-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 (max-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;
    }
.catalog-sort select {
        width: 100%;
    }
.catalog-sort {
        align-items: stretch;
        flex-direction: column;
    }
.product-list.is-list-view {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
.product-list.is-list-view .product-card {
        grid-template-columns: none;
        grid-template-rows: 150px minmax(148px, 1fr) auto;
        min-height: 410px;
    }
.product-list.is-list-view .product-media,
.product-list.is-list-view .product-image {
        height: 150px;
    }
.static-page,
.message.content-section {
        padding: 22px;
    }
.static-page h1 {
        font-size: 27px;
    }
.checkout-step b {
        background: transparent;
    }




}
/* Final 4shop.lv parity layer. */
: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));
}
body * {
    letter-spacing: 0;
}
.site-header {
    position: static;
    border-bottom: 0;
    box-shadow: none;
}
.utility-bar,
.main-header {
    padding-right: max(16px, calc((100% - 1344px) / 2));
    padding-left: max(16px, calc((100% - 1344px) / 2));
}
.utility-bar {
    min-height: 34px;
    background: var(--p24-dark);
}
.main-header {
    min-height: 70px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.site-logo {
    position: relative;
    min-width: 102px;
    text-align: left;
}
.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;
}
.search-form {
    height: 48px;
    border: 0;
    background: #f0f2f7;
}
.search-form > .sr-only {
    position: absolute;
}
.search-form::before {
    display: none;
}
.search-form button {
    width: 40px;
    height: 40px;
    margin: 4px 5px 4px 0;
    background: var(--p24-accent);
}
.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;
}
.store-hero {
    position: relative;
    display: block;
    height: 438px;
    min-height: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #d4e8f8;
    box-shadow: none;
}
.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 rgba(10, 24, 43, 0.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:nth-child(1) {
    color: #fff;
    background: var(--p24-dark);
}
.store-benefit:nth-child(3) {
    background: #fde8ec;
}
.store-benefit:nth-child(4) {
    background: #e5f3e9;
}
.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: rgba(20, 25, 39, 0.64);
    font-size: 12px;
    line-height: 1.35;
}
.store-benefit:nth-child(1) small {
    color: rgba(255, 255, 255, 0.68);
}
.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;
}
.store-benefit:nth-child(1) .store-benefit-icon {
    color: #fff;
}
.home-categories {
    margin-top: 36px;
}
.home-categories .section-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    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-category-group {
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #fff;
}
.home-category-icon {
    width: 40px;
    height: 40px;
    border-radius: 7px;
    background: #fff0f4;
}
.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 (max-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 (max-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 */
.ui-icon {
    display: block;
    width: 24px;
    height: 24px;
    min-width: 0;
    min-height: 0;
    flex: 0 0 auto;
    overflow: visible;
    box-sizing: border-box;
}
.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,
.home-category-icon::before,
.checkout-option-icon::before {
    display: none;
    content: none;
}
svg.catalog-icon {
    display: block;
    width: 18px;
    height: 18px;
}
.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.home-category-icon {
    display: block;
    width: 40px;
    height: 40px;
    padding: 9px;
}
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. */
:root {
    color-scheme: light;
    --p24-red: #f20a17;
    --p24-red-dark: #c90011;
    --p24-burgundy: #720610;
    --p24-burgundy-deep: #3f050b;
    --p24-ink: #211719;
    --p24-muted: #75686a;
    --p24-cream: #fffaf7;
    --p24-blush: #f8e9e7;
    --p24-paper: #ffffff;
    --p24-media-surface: #fbfaf9;
    --p24-line: #eadcda;
    --p24-success: #16734a;
    --p24-warning: #9a5b00;
    --p24-shadow: 0 24px 60px rgba(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, rgba(242, 10, 23, .045), 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 rgba(242, 10, 23, .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: rect(0, 0, 0, 0) !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: rgba(255, 250, 247, .96);
    box-shadow: 0 1px 0 rgba(114, 6, 16, .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: rgba(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 .utility-links a:hover,
.storefront-body .utility-meta a:hover {
    color: #fff;
}

.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: rgba(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 {
    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 #c90a1b;
    border-radius: 999px;
    background: #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 .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 {
    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 rgba(255, 255, 255, .55);
}

.storefront-body .search-form:focus-within {
    border-color: var(--p24-red);
    box-shadow: 0 0 0 3px rgba(242, 10, 23, .09);
}

.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 .search-form button:hover {
    background: var(--p24-red);
}

.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: rgba(255, 255, 255, .985);
    box-shadow: 0 24px 60px rgba(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 .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:hover {
    border-color: var(--p24-red);
    color: var(--p24-red);
    transform: translateY(-1px);
}

.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: #fff;
    font-size: 10px;
    line-height: 1;
}

.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 rgba(70, 0, 10, .2);
}

.storefront-body .favorites-drawer::backdrop,
.storefront-body .product-lightbox::backdrop {
    background: rgba(31, 0, 5, .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 header div {
    display: grid;
    gap: 3px;
}

.storefront-body .favorites-drawer header span {
    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: #fff;
    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 rgba(255, 255, 255, .16);
    border-radius: 16px;
    background: var(--p24-burgundy-deep);
    color: #fff;
    box-shadow: 0 20px 54px rgba(65, 0, 10, .3);
    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 */
.storefront-body .page-shell {
    width: min(var(--p24-max), calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0 84px;
}

.storefront-body .section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--p24-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.storefront-body .catalog-page > .catalog-heading .section-label {
    color: var(--p24-red-dark);
}

.storefront-body .section-label::before {
    width: 32px;
    height: 4px;
    border-radius: 4px;
    background: currentColor;
    content: "";
}

.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 > 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);
}

.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;
}

.storefront-body .secondary-link {
    border: 1px solid var(--p24-line);
    border-radius: 999px;
    background: #fff;
    color: var(--p24-burgundy);
    font-weight: 800;
}

.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;
}

/* 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 rgba(63, 5, 11, .18);
    isolation: isolate;
}

.storefront-body .store-hero::before {
    position: absolute;
    z-index: -1;
    top: -90px;
    left: -80px;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    content: "";
}

.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: #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: rgba(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: rgba(255, 255, 255, .24);
    background: transparent;
    color: #fff;
}

.storefront-body .hero-actions .secondary-link:hover {
    border-color: #fff;
    background: #fff;
    color: var(--p24-burgundy);
}

.storefront-body .hero-proof {
    display: flex;
    gap: 34px;
    margin: 28px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(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: rgba(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::before {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(140deg, rgba(242, 10, 23, .05), rgba(114, 6, 16, .76));
    content: "";
    mix-blend-mode: multiply;
}

.storefront-body .hero-visual::after {
    position: absolute;
    z-index: 3;
    right: -80px;
    bottom: -180px;
    width: 430px;
    height: 430px;
    border: 72px solid rgba(255, 255, 255, .10);
    border-radius: 50%;
    content: "";
}

.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);
}

.storefront-body .hero-watermark {
    position: absolute;
    z-index: 4;
    top: 18px;
    right: 28px;
    color: rgba(255, 255, 255, .17);
    font-size: clamp(130px, 16vw, 230px);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
}

.storefront-body .hero-domain {
    position: absolute;
    z-index: 4;
    right: 34px;
    bottom: 28px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .2em;
}

.storefront-body .store-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 70px;
}

.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: rgba(255, 255, 255, .78);
}

.storefront-body .store-benefit:first-child {
    border-color: var(--p24-burgundy);
    background: var(--p24-burgundy);
    color: #fff;
}

.storefront-body .store-benefit:hover {
    border-color: rgba(242, 10, 23, .4);
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(82, 10, 19, .08);
}

.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:first-child .store-benefit-icon {
    background: rgba(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:first-child small {
    color: rgba(255, 255, 255, .58);
}

/* Categories */
.storefront-body .home-categories,
.storefront-body .home-products {
    margin-top: 0;
    margin-bottom: 76px;
}

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

.storefront-body .home-category-group {
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--p24-line);
    border-radius: var(--p24-radius);
    background: #fff;
}

.storefront-body .home-category-group:hover {
    border-color: rgba(242, 10, 23, .36);
    box-shadow: 0 20px 50px rgba(82, 10, 19, .08);
    transform: translateY(-3px);
}

.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;
}

.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 rgba(82, 10, 19, .06);
}

.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-chevron {
    display: inline-flex;
    color: var(--p24-muted);
}

.storefront-body .subcategory-chevron .ui-icon {
    width: 18px;
    height: 18px;
}

/* 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-card:hover {
    border-color: rgba(242, 10, 23, .34);
    box-shadow: 0 22px 50px rgba(82, 10, 19, .10);
    transform: translateY(-4px);
}

.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: rgba(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: #fff;
}

.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%, rgba(242, 10, 23, .04) 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: #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 .product-title:hover {
    color: var(--p24-red);
}

.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-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
}

.storefront-body .quantity-stepper,
.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-stepper button,
.storefront-body .quantity-control button {
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--p24-burgundy);
    cursor: pointer;
}

.storefront-body .quantity-stepper button:hover,
.storefront-body .quantity-control button:hover {
    background: var(--p24-blush);
    color: var(--p24-red);
}

.storefront-body .quantity-stepper span,
.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;
}

.storefront-body .product-card.is-out-of-stock .quantity-row {
    grid-template-columns: 1fr;
}

/* 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: #fff;
}

.storefront-body .brand-category-link.is-active small {
    color: rgba(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 {
    padding: 18px 20px;
    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 rgba(242, 10, 23, .07);
}

.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: rgba(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,
.storefront-body .catalog-view-toggle {
    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;
}

.storefront-body .catalog-view-toggle a {
    display: grid;
    grid-template-columns: repeat(2, 5px);
    gap: 3px;
    place-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--p24-line);
    border-radius: 50%;
    background: #fff;
}

.storefront-body .catalog-view-toggle a:last-child {
    grid-template-columns: 14px;
}

.storefront-body .catalog-view-toggle a span {
    width: 5px;
    height: 5px;
    border-radius: 1px;
    background: #9e9192;
}

.storefront-body .catalog-view-toggle a:last-child span {
    width: 14px;
    height: 2px;
}

.storefront-body .catalog-view-toggle a.is-active {
    border-color: var(--p24-red);
    background: var(--p24-red);
}

.storefront-body .catalog-view-toggle a.is-active span {
    background: #fff;
}

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

.storefront-body .product-list.is-list-view {
    grid-template-columns: 1fr;
}

.storefront-body .product-list.is-list-view .product-card {
    grid-template-columns: 230px minmax(0, 1fr) minmax(250px, .72fr);
    grid-template-rows: 1fr;
}

.storefront-body .product-list.is-list-view .product-media {
    border-right: 1px solid var(--p24-line);
    border-bottom: 0;
}

.storefront-body .product-list.is-list-view .product-image {
    height: 100%;
    min-height: 230px;
}

.storefront-body .product-list.is-list-view .product-info,
.storefront-body .product-list.is-list-view .product-purchase {
    align-self: center;
    padding: 24px;
}

.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 rgba(242, 10, 23, .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: rgba(62, 0, 8, .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: rgba(114, 6, 16, .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 rgba(63, 5, 11, .24);
    -webkit-user-select: none;
    user-select: none;
}

.storefront-body .product-lightbox::backdrop {
    background: rgba(63, 5, 11, .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: rgba(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%, rgba(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: rgba(255, 255, 255, .96);
    color: var(--p24-burgundy);
    box-shadow: 0 10px 30px rgba(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: rgba(242, 10, 23, .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: rgba(114, 6, 16, .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;
}

.storefront-body .product-discontinued-action span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.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 rgba(81, 32, 28, 0.08);
    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 rgba(81, 32, 28, 0.13);
    transform: translateY(-1px);
}

.storefront-body .product-discontinued-wishlist .wishlist-button:focus-visible {
    outline: 3px solid rgba(207, 0, 31, 0.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: #fff;
}

.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 {
    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;
    border: 0;
    background: transparent;
}

.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 rgba(91, 12, 25, .05);
    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 rgba(91, 12, 25, .09);
    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: rgba(201, 0, 17, .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;
    border: 1px solid rgba(114, 6, 16, .1);
    border-radius: 22px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 14px 38px rgba(82, 10, 19, .07);
}

.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: 850;
    line-height: 1.2;
}

.storefront-body .checkout-step::after {
    display: none !important;
    content: none;
}

.storefront-body .checkout-step > span {
    display: grid;
    place-items: center;
    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 rgba(82, 10, 19, .06);
}

.storefront-body .checkout-step b {
    position: static;
    z-index: auto;
    display: block;
    min-width: 0;
    min-height: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.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 > span {
    border-color: var(--p24-red);
    background: var(--p24-red);
    color: #fff;
}

.storefront-body .checkout-step.is-active > span {
    border-color: rgba(255, 255, 255, .72);
    background: #fff;
    color: var(--p24-burgundy-deep);
    box-shadow: 0 8px 20px rgba(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);
}

.storefront-body .cart-item-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 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: #fff;
}

.storefront-body .cart-item-price {
    display: grid;
    gap: 2px;
    min-width: 120px;
    justify-self: end;
    justify-items: end;
    align-self: start;
    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 .continue-shopping-link {
    display: block;
    margin-top: 14px;
    color: var(--p24-muted);
    font-size: 11px;
    font-weight: 750;
    text-align: center;
}

.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 rgba(242, 10, 23, .28);
    border-radius: var(--p24-radius-sm);
    background: #fff0f0;
    color: #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 rgba(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: #c40b18;
}

.storefront-body .field-hint {
    color: var(--p24-muted);
    font-size: 11px;
    font-weight: 600;
}

.storefront-body .field-error {
    color: #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: rgba(196, 11, 24, .55);
}

.storefront-body .checkout-agree.has-error {
    padding: 12px;
    border: 1px solid rgba(196, 11, 24, .4);
    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 rgba(242, 10, 23, .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 {
    align-self: start;
    justify-self: 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 .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(--p24-red);
}

.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 (max-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: #8a7d80;
    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: #8b7c7f;
    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(--p24-red);
    background: #fff1f3;
    font-size: 13px;
    font-weight: 800;
}

.storefront-body .legal-links a:hover {
    color: #fff;
    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: rgba(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 (max-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: rgba(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: rgba(255, 255, 255, .54);
    font-size: 13px;
}

.storefront-body .footer-company address,
.storefront-body .footer-contact {
    display: grid;
    gap: 4px;
    color: rgba(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 b {
    color: #fff;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.storefront-body .footer-contact {
    margin-top: 15px;
}

.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: rgba(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 rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .4);
    font-size: 11px;
}

@media (max-width: 1180px) {
    .storefront-body .main-header {
        grid-template-columns: 164px auto minmax(240px, 1fr) auto;
    }

    .storefront-body .site-logo {
        width: 174px;
    }

    .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));
    }

    .storefront-body .product-list.is-list-view {
        grid-template-columns: 1fr;
    }

    .storefront-body .store-hero {
        grid-template-columns: minmax(0, 1fr) minmax(330px, .78fr);
    }
}

@media (max-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;
    }

    .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;
    }

    .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-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: 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-list.is-list-view {
        grid-template-columns: 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 (max-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 .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-form {
        grid-column: 1 / -1;
        grid-row: 2;
        height: 48px;
    }

    .storefront-body .search-form button {
        width: 38px;
        height: 38px;
    }

    .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 .store-hero {
        height: auto;
        min-height: 0;
        border-radius: 22px;
    }

    .storefront-body .hero-copy {
        padding: 38px 26px 34px;
    }

    .storefront-body .hero-copy h1 {
        font-size: clamp(38px, 12vw, 58px);
    }

    .storefront-body .hero-intro {
        margin-top: 16px;
        font-size: 14px;
    }

    .storefront-body .hero-actions {
        margin-top: 22px;
    }

    .storefront-body .hero-actions a {
        flex: 1 1 auto;
    }

    .storefront-body .hero-proof {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .storefront-body .hero-proof div {
        display: block;
        min-width: 0;
    }

    .storefront-body .hero-proof dt {
        font-size: 18px;
    }

    .storefront-body .hero-proof dd {
        margin-top: 3px;
        text-align: left;
    }

    .storefront-body .hero-visual,
    .storefront-body .hero-image {
        min-height: 230px;
        max-height: 250px;
    }

    .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 .quantity-row {
        grid-template-columns: 1fr;
    }

    .storefront-body .quantity-stepper {
        display: none;
    }

    .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-list.is-list-view .product-card {
        grid-template-columns: 120px minmax(0, 1fr);
        grid-template-rows: auto auto;
    }

    .storefront-body .product-list.is-list-view .product-purchase {
        grid-column: 1 / -1;
    }

    .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: rgba(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 rgba(255, 255, 255, .16);
        border-radius: 18px;
        background: var(--p24-burgundy-deep);
        color: #fff;
        box-shadow: 0 18px 48px rgba(62, 0, 8, .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: rgba(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: #fff;
        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;
    }

    .storefront-body .checkout-step > span {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .storefront-body .checkout-step b {
        display: block;
        background: transparent;
        line-height: 1.15;
    }

    .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-actions {
        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-company {
        grid-column: 1 / -1;
    }

    .storefront-body .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (min-width: 421px) and (max-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 (max-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 .footer-company {
        grid-column: auto;
    }

    .storefront-body .catalog-toolbar-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .storefront-body .catalog-view-toggle {
        display: none;
    }

    .storefront-body .checkout-step {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 4px;
        min-height: 64px;
        text-align: center;
    }

    .storefront-body .checkout-step b {
        max-width: 100%;
        font-size: 11px;
        line-height: 1.2;
    }
}

/* Refined category discovery, catalog directory and footer */
.storefront-body :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(242, 10, 23, .28);
    outline-offset: 3px;
}

.storefront-body .utility-meta .phone {
    color: #fff;
    text-decoration: none;
}

.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 rgba(98, 8, 18, .08);
    border-radius: 32px;
    background:
        radial-gradient(circle at 92% 4%, rgba(242, 10, 23, .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 rgba(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 > div {
    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-intro p {
    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 rgba(83, 4, 14, .18);
    border-radius: 999px;
    background: rgba(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 .home-category-group,
.storefront-body .home-category-group:hover {
    min-width: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 22px;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.storefront-body .home-category-group.is-featured {
    grid-column: span 2;
}

.storefront-body .home-category-card {
    display: flex;
    flex-direction: column;
    min-height: 218px;
    height: 100%;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(83, 4, 14, .1);
    border-radius: 22px;
    background: rgba(255, 255, 255, .93);
    color: var(--p24-burgundy-deep);
    box-shadow: 0 18px 42px rgba(64, 8, 16, .06);
}

.storefront-body .home-category-group.is-featured .home-category-card {
    min-height: 292px;
    padding: 30px;
}

.storefront-body .home-category-group:nth-child(1) .home-category-card {
    border-color: transparent;
    background:
        radial-gradient(circle at 86% 16%, rgba(255, 255, 255, .12), transparent 25%),
        linear-gradient(135deg, #28070d 0%, #5b0712 100%);
    color: #fff;
}

.storefront-body .home-category-group:nth-child(2) .home-category-card {
    border-color: transparent;
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 255, 255, .18), transparent 27%),
        linear-gradient(135deg, #be0714 0%, #f20a17 100%);
    color: #fff;
}

.storefront-body .home-category-card:hover {
    border-color: rgba(242, 10, 23, .42);
    box-shadow: 0 26px 60px rgba(64, 8, 16, .14);
    transform: translateY(-5px);
}

.storefront-body .home-category-card-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.storefront-body .home-category-card .home-category-icon {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    padding: 15px;
    border: 1px solid rgba(242, 10, 23, .08);
    border-radius: 18px;
    background: var(--p24-blush);
    color: var(--p24-red);
    box-shadow: 0 10px 24px rgba(114, 6, 16, .08);
}

.storefront-body .home-category-count {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
    padding: 7px 9px;
    border: 1px solid rgba(83, 4, 14, .08);
    border-radius: 999px;
    background: rgba(83, 4, 14, .045);
    color: var(--p24-burgundy-deep);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.storefront-body .home-category-count strong {
    font-size: 13px;
    font-weight: 900;
}

.storefront-body .home-category-count small {
    color: #8e7d80;
    font-size: 9px;
    font-weight: 750;
}

.storefront-body .home-category-group.is-featured .home-category-icon {
    border-color: rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .13);
    color: #fff;
    box-shadow: none;
}

.storefront-body .home-category-group.is-featured .home-category-count {
    border-color: rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.storefront-body .home-category-group.is-featured .home-category-count small {
    color: rgba(255, 255, 255, .6);
}

.storefront-body .home-category-card:hover .home-category-icon {
    transform: translateY(-2px);
}

.storefront-body .home-category-copy {
    display: grid;
    min-width: 0;
}

.storefront-body .home-category-copy strong {
    max-width: 540px;
    font-size: clamp(19px, 2vw, 29px);
    line-height: 1.08;
}

.storefront-body .home-category-group.is-compact .home-category-copy strong {
    font-size: 18px;
    line-height: 1.2;
}

.storefront-body .home-category-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 22px;
}

.storefront-body .home-category-preview > span {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
}

.storefront-body .home-category-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--p24-red);
    font-size: 12px;
    font-weight: 900;
}

.storefront-body .home-category-cta-label {
    min-width: 0;
}

.storefront-body .home-category-cta-tail {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.storefront-body .home-category-group.is-compact .home-category-cta {
    gap: 8px;
}

.storefront-body .home-category-group.is-compact .home-category-cta-label {
    font-size: 11px;
    white-space: nowrap;
}

.storefront-body .home-category-group.is-compact .home-category-cta-tail {
    gap: 7px;
}

.storefront-body .home-category-group.is-compact .home-category-count {
    padding: 6px 8px;
}

.storefront-body .home-category-group.is-featured .home-category-cta {
    color: #fff;
}

.storefront-body .home-category-cta svg {
    width: 17px;
    height: 17px;
}

.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%, rgba(242, 10, 23, .34), transparent 28%),
        linear-gradient(135deg, #24070c 0%, #580a14 100%);
    color: #fff;
}

.storefront-body .catalog-directory-hero::after {
    position: absolute;
    right: -45px;
    bottom: -85px;
    width: 210px;
    height: 210px;
    border: 38px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    content: "";
}

.storefront-body .catalog-directory-hero > * {
    position: relative;
    z-index: 1;
}

.storefront-body .catalog-directory-hero .section-label {
    color: #ff9da4;
}

.storefront-body .catalog-directory-hero h1 {
    margin: 10px 0 10px;
    color: #fff;
    font-size: clamp(42px, 5vw, 72px);
    line-height: .95;
}

.storefront-body .catalog-directory-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(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 rgba(67, 13, 20, .05);
}

.storefront-body .catalog-directory-card:hover {
    border-color: rgba(242, 10, 23, .34);
    box-shadow: 0 22px 50px rgba(67, 13, 20, .1);
    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 rgba(242, 10, 23, .08);
    border-radius: 16px;
    background: var(--p24-blush);
    color: var(--p24-red);
    box-shadow: 0 9px 22px rgba(114, 6, 16, .07);
}

.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-title {
    display: grid;
    margin-bottom: 18px;
}

.storefront-body .catalog-directory-title strong {
    font-size: 20px;
    line-height: 1.14;
}

.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-bottom: 20px;
    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;
    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: 52px;
    overflow: hidden;
    color: rgba(255, 255, 255, .72);
    background:
        radial-gradient(circle at 8% 0, rgba(242, 10, 23, .16), transparent 28%),
        linear-gradient(180deg, #1c070c 0%, #100408 100%);
}

.storefront-body .site-footer::after {
    position: absolute;
    right: -160px;
    bottom: -210px;
    width: 520px;
    height: 520px;
    border: 90px solid rgba(242, 10, 23, .035);
    border-radius: 50%;
    content: "";
    pointer-events: 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: auto minmax(260px, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 95% 10%, rgba(242, 10, 23, .12), transparent 32%),
        #fff7f4;
    color: var(--p24-burgundy-deep);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.storefront-body .footer-support-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--p24-red);
    color: #fff;
    box-shadow: 0 12px 30px rgba(242, 10, 23, .22);
}

.storefront-body .footer-support-icon svg {
    width: 29px;
    height: 29px;
}

.storefront-body .footer-eyebrow {
    color: var(--p24-red);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.storefront-body .footer-support-copy h2 {
    margin: 5px 0 5px;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1;
}

.storefront-body .footer-support-copy p {
    max-width: 610px;
    margin: 0;
    color: #776568;
    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: 62px;
    padding: 11px 16px;
    border: 1px solid #dfcacc;
    border-radius: 16px;
    background: #fff;
    color: var(--p24-burgundy-deep);
}

.storefront-body .footer-support-action.is-primary {
    border-color: #c90a1b;
    background: #c90a1b;
    color: #fff;
}

.storefront-body .footer-support-action:hover {
    border-color: var(--p24-burgundy);
    box-shadow: 0 12px 24px rgba(65, 6, 14, .1);
    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: #6f5a5d;
    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: 1.4fr repeat(3, minmax(140px, .65fr));
    gap: clamp(34px, 5vw, 74px);
    padding: 58px 0 42px;
}

.storefront-body .footer-logo {
    width: 220px;
    margin-bottom: 20px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

.storefront-body .footer-logo img {
    filter: brightness(0) invert(1);
}

.storefront-body .footer-company p {
    max-width: 390px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.65;
}

.storefront-body .footer-company address,
.storefront-body .footer-contact {
    color: rgba(255, 255, 255, .68);
    line-height: 1.55;
}

.storefront-body .footer-column {
    gap: 11px;
}

.storefront-body .footer-column h2 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.storefront-body .footer-column a {
    color: rgba(255, 255, 255, .66);
    font-size: 12px;
}

.storefront-body .footer-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.storefront-body .footer-trust-row > span {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 20px 24px;
}

.storefront-body .footer-trust-row > span + span {
    border-left: 1px solid rgba(255, 255, 255, .1);
}

.storefront-body .footer-trust-row svg {
    flex: 0 0 auto;
    color: #ff4d58;
}

.storefront-body .footer-trust-row > span > span {
    display: grid;
    min-width: 0;
}

.storefront-body .footer-trust-row strong {
    color: #fff;
    font-size: 11px;
}

.storefront-body .footer-trust-row small {
    overflow: hidden;
    color: rgba(255, 255, 255, .5);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-body .footer-partners {
    display: grid;
    grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 72px);
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.storefront-body .footer-partner-group {
    display: grid;
    align-content: start;
    gap: 14px;
    min-width: 0;
}

.storefront-body .footer-partner-group h2 {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    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 rgba(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-partner-badge-salidzini {
    min-width: 210px;
    min-height: 80px;
}

.storefront-body .footer-comparison-badges .footer-partner-badge {
    width: 210px;
    min-width: 210px;
    height: 70px;
    min-height: 70px;
    padding: 0;
    aspect-ratio: 3 / 1;
}

.storefront-body .footer-comparison-badges .footer-partner-badge-salidzini {
    width: 212px;
    min-width: 212px;
    height: auto;
    min-height: 80px;
    padding: 10px;
    overflow: visible;
    aspect-ratio: auto;
}

.storefront-body .footer-partner-badge:hover,
.storefront-body .footer-makecommerce-badge:hover {
    border-color: rgba(255, 255, 255, .5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    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: 174px;
    min-height: 64px;
    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;
    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: 20px 0 28px;
    border-top: 0;
    flex-wrap: wrap;
}

.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 rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.storefront-body .pwa-install-button:hover {
    border-color: rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .12);
}

.storefront-body .pwa-install-button svg {
    width: 16px;
    height: 16px;
}

.storefront-body .pwa-splash {
    display: none;
}

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 rgba(165, 0, 18, .12);
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 24px 80px rgba(63, 18, 24, .14);
}

.storefront-body .pwa-splash-card img {
    border-radius: 18px;
}

.storefront-body .pwa-splash-card strong {
    color: #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 (max-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 (max-width: 900px) {
    .storefront-body .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .storefront-body .home-category-group.is-featured {
        grid-column: span 1;
    }

    .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 (max-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-intro p {
        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 .home-category-card,
    .storefront-body .home-category-group.is-featured .home-category-card {
        min-height: 210px;
        padding: 22px;
    }

    .storefront-body .home-category-group.is-compact .home-category-card {
        min-height: 172px;
    }

    .storefront-body .home-category-card-top {
        margin-bottom: 20px;
    }

    .storefront-body .home-category-card .home-category-icon {
        width: 54px;
        height: 54px;
        padding: 14px;
    }

    .storefront-body .home-category-preview {
        display: none;
    }

    .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-title {
        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-company {
        grid-column: 1 / -1;
    }

    .storefront-body .footer-trust-row {
        grid-template-columns: 1fr;
    }

    .storefront-body .footer-trust-row > span {
        padding: 17px 0;
    }

    .storefront-body .footer-trust-row > span + span {
        border-top: 1px solid rgba(255, 255, 255, .1);
        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-partner-badge-salidzini {
        flex-basis: 210px;
    }

    .storefront-body .footer-makecommerce-badge {
        flex: 1 1 174px;
    }
}

@media (max-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;
        transition-duration: .01ms !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 (max-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 (max-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 (max-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 (max-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 rgba(255, 255, 255, .15);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    color: rgba(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;
}

.storefront-body .catalog-directory-tools strong {
    color: var(--p24-burgundy-deep);
    font-size: 18px;
}

.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 rgba(67, 13, 20, .04);
}

.storefront-body .catalog-directory-search:focus-within {
    border-color: rgba(242, 10, 23, .5);
    box-shadow: 0 0 0 4px rgba(242, 10, 23, .1);
}

.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 rgba(114, 6, 16, .22);
    border-radius: 18px;
    color: var(--p24-muted);
    background: #fffaf9;
    text-align: center;
}

@media (max-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 (max-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;
    min-width: 0;
    text-align: center;
    white-space: normal;
}

.storefront-body .card-cart-button .button-content,
.storefront-body .buy-button .button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.storefront-body .product-sticky-buy button .button-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
}

.storefront-body .button-content .button-icon {
    flex: 0 0 auto;
}

.storefront-body .button-content .button-label {
    display: block;
    min-width: 0;
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-align: center;
}

.storefront-body .quantity-row > form {
    min-width: 0;
}

/* Keep long mobile facets usable while leaving their submit actions reachable. */
.storefront-body .catalog-brand-options {
    min-width: 0;
}

@media (max-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 (max-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 rgba(82, 10, 19, .035);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.storefront-body .product-card:hover,
.storefront-body .product-card:focus-within {
    border-color: rgba(200, 10, 27, .42);
    box-shadow: 0 18px 36px rgba(82, 10, 19, .09);
}

.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-image img {
    inset: 18px;
    width: calc(100% - 36px);
    height: calc(100% - 36px);
}

.storefront-body .product-info {
    gap: 9px;
    padding: 17px 20px 10px;
}

.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;
}

.storefront-body .product-card-meta .delivery-status {
    padding: 4px 0;
    font-size: 11px;
}

.storefront-body .product-card-actions {
    align-content: start;
}

.storefront-body .product-purchase {
    gap: 13px;
    padding: 12px 20px 20px;
}

.storefront-body .product-price {
    font-size: 25px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.025em;
    font-variant-numeric: tabular-nums;
}

.storefront-body .quantity-row {
    grid-template-columns: minmax(88px, .4fr) minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}

.storefront-body .quantity-stepper {
    grid-template-columns: 34px minmax(30px, 1fr) 34px;
    min-height: 46px;
    border-radius: 14px;
    background: #fffaf9;
}

.storefront-body .quantity-stepper button {
    font-size: 15px;
    font-weight: 800;
}

.storefront-body .quantity-stepper span {
    font-size: 14px;
}

.storefront-body .card-cart-button {
    min-height: 46px;
    padding-right: 15px;
    padding-left: 15px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 850;
}

.storefront-body .product-list.is-list-view .product-media {
    padding: 12px;
    border-right: 1px solid var(--p24-line);
    border-bottom: 0;
}

.storefront-body .product-list.is-list-view .product-image {
    height: 100%;
    min-height: 230px;
    aspect-ratio: auto;
}

.storefront-body .product-list.is-list-view .quantity-row {
    grid-template-columns: 1fr;
    gap: 8px;
}

@media (max-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 .quantity-row {
        grid-template-columns: 1fr;
    }

    .storefront-body .product-price {
        font-size: 23px;
    }

    .storefront-body .card-cart-button {
        min-height: 48px;
    }

    .storefront-body .product-list.is-list-view .product-media {
        padding: 10px;
    }
}

@media (max-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. */
.storefront-body .product-card {
    grid-template-rows: auto auto 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);
}

.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;
}

.storefront-body .card-cart-button {
    min-height: 46px;
}

/* List cards use the same tighter rhythm but retain their horizontal scan. */
.storefront-body .product-list.is-list-view .product-card {
    gap: 0;
    padding: 8px;
}

.storefront-body .product-list.is-list-view .product-media {
    padding: 8px;
}

.storefront-body .product-list.is-list-view .product-image {
    min-height: 196px;
}

.storefront-body .product-list.is-list-view .product-info,
.storefront-body .product-list.is-list-view .product-purchase {
    padding: 18px;
}

@media (max-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;
    }

    .storefront-body .product-list.is-list-view .product-card {
        grid-template-rows: 118px minmax(0, 1fr) auto;
        min-height: 0;
    }

    .storefront-body .product-list.is-list-view .product-media,
    .storefront-body .product-list.is-list-view .product-image {
        height: auto;
        min-height: 110px;
    }

    .storefront-body .product-list.is-list-view .product-info,
    .storefront-body .product-list.is-list-view .product-purchase {
        padding: 14px;
    }
}

@media (max-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: 6px;
}

.storefront-body .product-price-currency {
    color: var(--p24-muted);
    font-size: .56em;
    font-weight: 750;
    letter-spacing: .035em;
}

.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 (max-width: 940px) {
    .storefront-body .catalog-sidebar {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .storefront-body .catalog-sidebar-head {
        grid-column: auto;
    }
}

@media (max-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 (min-width: 641px) and (max-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 (min-width: 641px) and (max-width: 767px) {
    .storefront-body .catalog-brand-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-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 rgba(63, 5, 11, .06);
}

.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: 11px;
    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 {
    display: grid;
    gap: 2px;
}

.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;
}

.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 rgba(242, 10, 23, .16);
    outline-offset: 2px;
}

.storefront-body .catalog-filter-group small {
    color: #b09e9f;
    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 rgba(200, 10, 27, .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 (min-width: 641px) and (max-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;
}

.storefront-body .card-cart-button .button-content {
    width: auto;
    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;
    }

    .storefront-body .card-cart-button .button-content {
        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;
    }

    .storefront-body .card-cart-button .button-content {
        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 (max-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 rgba(83, 4, 14, .13);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 9px 26px rgba(45, 15, 19, .045);
    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: rgba(83, 4, 14, .24);
    box-shadow: 0 13px 30px rgba(45, 15, 19, .075);
    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-title {
    display: block;
    margin: 0;
    color: #171317;
    font-size: 17px;
    font-weight: 820;
    line-height: 1.28;
    text-decoration: none;
}

.storefront-body :is(.home-categories, .catalog-index-page) .catalog-directory-title strong {
    display: -webkit-box;
    overflow: hidden;
    -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: block;
    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;
}

.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: #f20a17;
    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-children span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.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 rgba(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 rgba(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/images/pirkt24-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/images/pirkt24-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/images/pirkt24-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/images/pirkt24-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 rgba(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 rgba(83, 4, 14, .1);
    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/images/pirkt24-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/images/pirkt24-category-cutouts-workshop.webp'); background-position: 0 0; }
.admin-category-art-preview [data-category-art="printing"] { background-image: url('/assets/images/pirkt24-category-cutouts-workshop.webp'); background-position: 50% 0; }
.admin-category-art-preview [data-category-art="kids"] { background-image: url('/assets/images/pirkt24-category-cutouts-workshop.webp'); background-position: 100% 0; }
.admin-category-art-preview [data-category-art="sports"] { background-image: url('/assets/images/pirkt24-category-cutouts-workshop.webp'); background-position: 0 100%; }
.admin-category-art-preview [data-category-art="pets"] { background-image: url('/assets/images/pirkt24-category-cutouts-workshop.webp'); background-position: 50% 100%; }
.admin-category-art-preview [data-category-art="auto"] { background-image: url('/assets/images/pirkt24-category-cutouts-workshop.webp'); background-position: 100% 100%; }
.admin-category-art-preview [data-category-art="computer-accessories"] { background-image: url('/assets/images/pirkt24-category-cutouts-electronics.webp'); background-position: 0 0; }
.admin-category-art-preview [data-category-art="clothing"] { background-image: url('/assets/images/pirkt24-category-cutouts-electronics.webp'); background-position: 50% 0; }
.admin-category-art-preview [data-category-art="cables"] { background-image: url('/assets/images/pirkt24-category-cutouts-electronics.webp'); background-position: 100% 0; }
.admin-category-art-preview [data-category-art="smart-home"] { background-image: url('/assets/images/pirkt24-category-cutouts-electronics.webp'); background-position: 0 100%; }
.admin-category-art-preview [data-category-art="networks"] { background-image: url('/assets/images/pirkt24-category-cutouts-electronics.webp'); background-position: 50% 100%; }
.admin-category-art-preview [data-category-art="furniture"] { background-image: url('/assets/images/pirkt24-category-cutouts-electronics.webp'); background-position: 100% 100%; }
.admin-category-art-preview [data-category-art="gifts"] { background-image: url('/assets/images/pirkt24-category-cutouts-lifestyle.webp'); background-position: 0 0; }
.admin-category-art-preview [data-category-art="construction"] { background-image: url('/assets/images/pirkt24-category-cutouts-lifestyle.webp'); background-position: 50% 0; }
.admin-category-art-preview [data-category-art="hobbies"] { background-image: url('/assets/images/pirkt24-category-cutouts-lifestyle.webp'); background-position: 100% 0; }

@media (max-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 (max-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-title { font-size: 16px; }
    .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: rgba(196, 11, 24, .38);
    box-shadow: 0 0 0 3px rgba(196, 11, 24, .05);
}
.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: rgba(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 rgba(25, 126, 79, .18);
    border-radius: 12px;
    background: rgba(25, 126, 79, .06);
}

.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: #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 rgba(242, 10, 23, .07);
}
.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 (max-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 (max-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 rgba(194, 12, 28, .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;
    justify-self: start;
    align-self: 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;
        align-self: center;
        justify-self: 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 rgba(194, 12, 28, .2);
    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;
}
.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;
}
.storefront-body .delivery-carrier-badge > .checkout-option-icon svg {
    width: 21px;
    height: 21px;
}
.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 (max-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 (max-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 (min-width: 941px) and (max-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-results .product-list.is-list-view {
        grid-template-columns: minmax(0, 1fr);
    }

    .storefront-body .catalog-toolbar {
        flex-wrap: wrap;
    }
}

@media (max-width: 1080px) {
    .storefront-body .catalog-sidebar .catalog-filter-toggle,
    .storefront-body .catalog-view-toggle a,
    .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 (max-width: 640px) {
    .storefront-body .catalog-results .product-title {
        -webkit-line-clamp: 3;
        min-height: 0;
    }
    .storefront-body .catalog-results .product-list.is-list-view {
        grid-template-columns: minmax(0, 1fr);
    }
    .storefront-body .catalog-results .product-list.is-list-view .product-card {
        grid-template-columns: clamp(98px, 28vw, 132px) minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 0 8px;
        min-height: 0;
        padding: 8px;
        align-items: start;
    }
    .storefront-body .catalog-results .product-list.is-list-view .product-media {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
        min-height: 0;
        height: auto;
        padding: 0;
        border: 0;
    }
    .storefront-body .catalog-results .product-list.is-list-view .product-image {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
    }
    .storefront-body .catalog-results .product-list.is-list-view .image-placeholder {
        min-height: 0;
        height: 100%;
        padding: 8px 2px;
    }
    .storefront-body .catalog-results .product-list.is-list-view .image-placeholder-mark {
        font-size: 19px;
    }
    .storefront-body .catalog-results .product-list.is-list-view .image-placeholder-text {
        font-size: 9px;
        text-align: center;
        overflow-wrap: anywhere;
    }
    .storefront-body .catalog-results .product-list.is-list-view .product-info {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        padding: 4px 4px 2px;
        gap: 6px;
    }
    .storefront-body .catalog-results .product-list.is-list-view .product-title {
        font-size: 13px;
        line-height: 1.35;
    }
    .storefront-body .catalog-results .product-list.is-list-view .product-purchase {
        grid-column: 2;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-width: 0;
        padding: 6px 4px 4px;
        gap: 8px;
        align-self: stretch;
    }
    .storefront-body .catalog-results .product-list.is-list-view .product-card-cart-form {
        flex: 0 1 auto;
        width: 100%;
        min-width: 0;
    }
    .storefront-body .catalog-results .product-list.is-list-view .product-price {
        flex: 0 1 auto;
        flex-wrap: wrap;
        max-width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
        white-space: normal;
    }
    .storefront-body .catalog-results .product-list.is-list-view .product-price-value {
        min-width: 0;
        overflow-wrap: anywhere;
    }
    .storefront-body .catalog-results .product-list.is-list-view .card-cart-button {
        width: 100%;
        min-height: 52px;
        height: auto;
        padding: 8px;
        font-size: 12px;
        white-space: normal;
    }
    .storefront-body .catalog-results .product-list.is-list-view .card-cart-button .button-label {
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .storefront-body .catalog-results .product-list.is-list-view .product-price {
        font-size: 20px;
    }
}

/* 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 (max-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: #a50012;
    font-size: 19px;
    line-height: 1;
}
.storefront-body .search-filter-chip:hover, .storefront-body .search-filter-chip:focus-visible {
    border-color: #a50012;
    background: #fff0ee;
}
.storefront-body .search-clear-filters {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 8px;
    color: #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-brand-search input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 8px 12px;
    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: 9px;
    max-height: 360px;
    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: #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 #a50012;
    border-radius: 9px;
    background: #a50012;
    color: #fff;
    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: #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: #a50012;
    font-weight: 800;
}
@media (max-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, comparison full width below. */
.storefront-body .product-purchase:has(> .rrp-comparison) {
    flex-wrap: wrap;
    row-gap: 6px;
}
.storefront-body .product-purchase > .rrp-comparison {
    order: 3;
    flex: 1 0 100%;
}
/* List view stacks the purchase column: comparison directly under the price. */
.storefront-body .product-list.is-list-view .product-purchase > .rrp-comparison {
    order: 0;
    flex: 0 0 auto;
}
.storefront-body .rrp-comparison-detail {
    margin-block: 5px 9px;
    font-size: 13px;
}
@media (max-width: 420px) {
    .storefront-body .rrp-comparison {
        font-size: 11px;
    }
    .storefront-body .rrp-comparison-detail {
        font-size: 12px;
    }
}
