/* Shared storefront controls and surfaces. */
@media (min-width: 851px) {
    .global-store-nav, .np-header .store-mobile-search, .np-header .store-mobile-cart, .np-header .np-header__actions { display: none !important; }
}
.store-desktop-tools { display: flex; gap: 8px; }
.store-desktop-tools .np-customer-trigger { position: relative; width: 44px; padding: 0; }
.store-desktop-tools svg { width: 20px; height: 20px; }
.store-cart-count {
    position: absolute;
    inset-inline-end: -8px;
    inset-block-start: -8px;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    border-radius: 999px;
    background: #b4232d;
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #ffffff;
    pointer-events: none;
    z-index: 3;
}
.store-cart-count[hidden] { display: none; }
.global-store-nav__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: none;
}
.global-store-nav .store-cart-count {
    inset-block-start: -6px;
    inset-inline-end: -9px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 10px;
    background: #b4232d;
    box-shadow: 0 0 0 2px #ffffff;
}
.global-store-nav a[aria-current] { background: #f0f7fe; }
.global-store-nav a[aria-current]::after { height: 2px; width: 12px; }
.global-store-nav svg { stroke-width: 1.7; }
body.storefront-overlay-open [data-support-launcher],
body:has(#mobile-drawer[open]) [data-support-launcher] { visibility: hidden; }

.store-page-intro { margin-block-end: 16px; }
.store-page-intro h1 { margin: 0 0 3px; font-size: clamp(23px, calc(var(--storefront-unlocked-viewport, 100vw) * 0.03), 34px); font-weight: 700; line-height: 1.45; }
.store-page-intro p, .catalog-count { color: #475569; font-size: .9rem; font-weight: 500; }
.public-product-summary { color: #475569; font-weight: 500; }
.public-catalogue, .repair-entry { padding-block: clamp(18px, calc(var(--storefront-unlocked-viewport, 100vw) * 0.03), 38px); }
.catalog-quick-links {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-block: 2px 6px;
    margin-block-end: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.catalog-quick-links::-webkit-scrollbar { display: none; }
.catalog-quick-links a {
    display: inline-flex; align-items: center; min-block-size: 42px; padding-inline: 15px;
    border: 1px solid #dce7f0; border-radius: 999px; background: #fff; color: #2b4661;
    white-space: nowrap; font-size: .83rem; font-weight: 500;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.catalog-quick-links a:hover { background: #f3f8fd; border-color: #b7d3ec; color: #075da6; }
.catalog-quick-links a[aria-current] { background: #eaf4fd; border-color: #8cc0ec; color: #075da6; font-weight: 700; }
.catalog-search { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-block: 8px 16px; }
.catalog-search-field { flex: 1 0 220px; position: relative; min-inline-size: 0; }
.catalog-search-field .input {
    min-height: 44px; height: 44px; padding-inline: 14px 48px;
    border: 1px solid #d2e0ed; border-radius: 12px; background: #fff; font-size: .875rem;
}
.catalog-search-field .input:focus-visible { border-color: #075da6; outline: 2px solid rgb(7 93 166 / 18%); outline-offset: 0; }
.catalog-search-field button {
    position: absolute; inset-block: 0; inset-inline-end: 0; width: 44px; display: grid; place-items: center;
    color: #075da6; border-radius: 12px;
}
.catalog-toolbar { display: flex; align-items: stretch; gap: 8px; }
.catalog-toolbar select {
    display: inline-block; width: auto; min-width: 136px; min-height: 44px; height: 44px;
    padding-block: 0; padding-inline: 14px 36px; border: 1px solid #d2e0ed; border-radius: 12px;
    background-color: #fff; color: #163a61; font-size: .85rem; font-weight: 500; line-height: 42px; white-space: nowrap;
    appearance: none !important; -webkit-appearance: none !important; -moz-appearance: none !important; overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475e73' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: left 12px center; background-size: 16px 16px;
    cursor: pointer;
}
.catalog-toolbar select::picker-icon { display: none; }
.catalog-toolbar select:focus-visible { border-color: #075da6; outline: 2px solid rgb(7 93 166 / 18%); outline-offset: 0; }
.catalog-toolbar .btn {
    min-height: 44px; height: 44px; padding-inline: 14px;
    border: 1px solid #d2e0ed; border-radius: 12px; background: #fff; color: #163a61;
    font-size: .85rem; font-weight: 500;
}
.catalog-toolbar .btn:hover { background: #f2f7fc; border-color: #b5d1ea; color: #075da6; }
.catalog-filter-trigger { display: inline-flex; align-items: center; gap: 6px; }
.catalog-filter-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding-inline: 6px;
    border-radius: 999px; background: #075da6; color: #fff;
    font-size: 11.5px; font-weight: 700; line-height: 1;
}
.checkout-shipping-card[hidden] { display: none; }
body:has(.public-catalogue) :is(.store-mobile-search, .np-customer-header [data-storefront-open="search-dialog"]) { display: none; }
.rating-stars { display: inline-flex; gap: .4rem; color: #596678; }
.rating-stars > * { display: inline-grid; justify-items: center; font-size: 1.35rem; line-height: 1.25; }
.rating-stars small { font-size: .75rem; color: #475569; }
.rating-stars .is-filled, .rating-stars:has(input:checked) label:has(input:checked) { color: #a56500; }
.rating-stars:has(input:checked) label:has(~ label input:checked) { color: #a56500; }
.rating-stars:has(input:checked) label:has(input:checked) ~ label { color: #596678; }
.rating-stars label:focus-within { outline: 2px solid #075da6; }
.product-compare-link { display: inline-flex; align-items: center; gap: .35rem; }
.product-compare-link svg { width: 1rem; height: 1rem; }
.premium-storefront .purchase .stock { width: fit-content; }
.key-mobile h2, .key-card h2 { font-weight: 700; }
.catalog-toolbar svg, .catalog-search-field svg, .repair-entry svg:not(.repair-split-trust__hero-svg):not(.repair-handover-card__svg) { flex: none; width: 18px; height: 18px; }
.catalog-mobile-bar { display: grid; gap: 10px; margin-bottom: 14px; }
.catalog-count--mobile { margin: 0; }
.catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 22px; }
.catalog-sidebar { display: none; }
.catalog-sidebar__card {
    padding: 16px; border: 1px solid #dce7f0; border-radius: 16px; background: #fff;
    box-shadow: 0 2px 10px rgb(15 23 42 / 3%);
}
.catalog-sidebar__head {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid #eef3f8;
}
.catalog-sidebar__head h2 { margin: 0; font-size: 1rem; font-weight: 700; color: #122940; }
.catalog-sidebar__clear {
    font-size: 0.82rem; font-weight: 600; color: #075da6; text-decoration: none;
}
.catalog-sidebar__clear:hover { text-decoration: underline; }
.catalog-sidebar__form { display: grid; gap: 16px; }
.catalog-sidebar__section { display: grid; gap: 6px; }
.catalog-sidebar__label { font-size: 0.85rem; font-weight: 700; color: #163a61; }
.catalog-sidebar__search { position: relative; }
.catalog-sidebar__search .input {
    width: 100%; min-height: 42px; height: 42px; padding-inline: 12px 42px;
    border: 1px solid #d2e0ed; border-radius: 11px; background: #f8fbfe; font-size: 0.86rem;
}
.catalog-sidebar__search .input:focus-visible { background: #fff; border-color: #075da6; outline: 2px solid rgb(7 93 166 / 18%); }
.catalog-sidebar__search button {
    position: absolute; inset-block: 0; inset-inline-end: 0; width: 40px;
    display: grid; place-items: center; color: #075da6;
    background: transparent; border: 0; padding: 0; cursor: pointer;
}
.catalog-sidebar__search button svg { width: 18px; height: 18px; flex-shrink: 0; }
.catalog-category-list { display: grid; gap: 4px; }
.catalog-category-item {
    position: relative; display: flex; align-items: center; cursor: pointer; margin: 0;
}
.catalog-category-item input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.catalog-category-item span {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px; border-radius: 10px;
    font-size: 0.86rem; font-weight: 500; color: #334155;
    transition: background-color 140ms ease, color 140ms ease;
}
.catalog-category-item:hover span { background: #f4f8fc; color: #075da6; }
.catalog-category-item input:checked + span {
    background: #edf6ff; color: #075da6; font-weight: 700;
}
.catalog-category-item input:focus-visible + span { outline: 2px solid #098cf7; outline-offset: 1px; }

.catalog-sidebar__toggle-row {
    padding-top: 10px; border-top: 1px solid #eef3f8;
}
.catalog-toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    cursor: pointer; margin: 0; min-height: 40px;
}
.catalog-toggle__text { font-size: 0.86rem; font-weight: 600; color: #163a61; }
.catalog-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.catalog-toggle__track {
    position: relative; flex: none; width: 44px; height: 24px;
    border-radius: 999px; background: #cbd5e1;
    transition: background-color 180ms ease;
}
.catalog-toggle__track::after {
    content: ''; position: absolute; top: 3px; inset-inline-start: 3px;
    width: 18px; height: 18px; border-radius: 50%; background: #fff;
    box-shadow: 0 1px 3px rgb(15 23 42 / 25%);
    transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.catalog-toggle input:checked + .catalog-toggle__track { background: #098cf7; }
.catalog-toggle input:checked + .catalog-toggle__track::after { transform: translateX(-20px); }
.catalog-toggle input:focus-visible + .catalog-toggle__track { outline: 2px solid #075da6; outline-offset: 2px; }

.catalog-inline-sort { display: none; }
.catalog-inline-sort__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.catalog-inline-sort__label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.85rem; font-weight: 600; color: #475569; margin-inline-end: 4px;
}
.catalog-inline-sort__tab {
    display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px;
    border-radius: 999px; font-size: 0.85rem; font-weight: 500; color: #334155;
    text-decoration: none; transition: background-color 140ms ease, color 140ms ease;
}
.catalog-inline-sort__tab:hover { background: #f1f5f9; color: #075da6; }
.catalog-inline-sort__tab[aria-current="true"] {
    background: #edf6ff; color: #075da6; font-weight: 700;
}

@media (min-width: 1024px) {
    .catalog-mobile-bar { display: none; }
    .catalog-layout { grid-template-columns: 276px minmax(0, 1fr); gap: 22px; }
    .catalog-sidebar { display: block; position: sticky; top: 5.5rem; min-inline-size: 0; }
    .catalog-inline-sort {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        margin-bottom: 14px; padding: 10px 14px;
        background: #fff; border: 1px solid #dce7f0; border-radius: 14px;
    }
    .catalog-inline-sort .catalog-count { margin: 0; font-size: 0.85rem; }
    .public-catalogue .public-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 1023px) {
    .public-catalogue .public-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
.product-meta dd, .product-meta bdi, .facts dd, .facts bdi { overflow-wrap: anywhere; max-width: 100%; }
.catalog-filter-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-count { margin-block: 0 8px; }
.catalog-description { margin-block-start: 30px; padding-block-start: 16px; border-block-start: 1px solid #dce7f0; }
.catalog-description h2 { margin-block-end: 4px; font-weight: 700; }
.catalog-description p { color: #475e73; font-size: .88rem; }
.public-catalogue .public-product-card { height: 100%; border-radius: 12px; }
.public-catalogue .public-product-card__media { display: block; background: #fff; border-bottom: 1px solid #f1f5f9; padding: 0; }
.public-catalogue .public-product-card__media img { background: #fff; }
.public-catalogue .public-product-card > a { background: #fff; }
.public-catalogue .public-product-card__body { padding: clamp(9px, calc(var(--storefront-unlocked-viewport, 100vw) * 0.013999999999999999), 16px); gap: 8px; }
.public-catalogue .public-product-card h3 { font-size: clamp(.85rem, calc(var(--storefront-unlocked-viewport, 100vw) * 0.013999999999999999), 1rem); line-height: 1.65; }
.public-catalogue .public-product-card .badge { white-space: normal; }
.public-catalogue .public-product-card__body > div:last-child { flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.public-catalogue .public-product-card__body > div:last-child a { min-height: 44px; display: inline-flex; align-items: center; }

.search-quick-suggestions {
    display: grid; gap: 8px; margin-top: 2px;
}
.search-quick-suggestions__label {
    font-size: 0.84rem; color: #475569; font-weight: 500;
}
.search-quick-suggestions__chips {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.search-quick-chip {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 36px; padding: 5px 13px;
    border: 1px solid #d2e0ed; border-radius: 999px;
    background: #f5f9fd; color: #163a61;
    font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap;
    transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}
.search-quick-chip:hover {
    background: #e6f2ff; border-color: #93c5fd; color: #075da6;
}

.catalog-filter-fieldset {
    border: 0; margin: 0; padding: 0; display: grid; gap: 8px;
}
.catalog-filter-fieldset legend {
    padding: 0; margin: 0; font-weight: 700; font-size: 13.5px; color: #163a61;
}
.catalog-filter-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.catalog-filter-chip {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; margin: 0;
}
.catalog-filter-chip input {
    position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer;
}
.catalog-filter-chip span {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 40px; padding: 6px 14px;
    border: 1.5px solid #d2e0ed; border-radius: 999px;
    background: #fff; color: #2b4764;
    font-size: 13px; font-weight: 500; white-space: nowrap;
    transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}
.catalog-filter-chip input:checked + span {
    background: #edf6ff; border-color: #098cf7; color: #075da6; font-weight: 700;
}
.catalog-filter-chip input:focus-visible + span {
    outline: 2px solid #098cf7; outline-offset: 2px;
}

.catalog-sort-list {
    display: grid; gap: 8px; padding: 14px 16px 18px;
}
.catalog-sort-option {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 48px; padding: 10px 14px;
    border: 1.5px solid #dce7f0; border-radius: 12px;
    background: #fff; color: #163a61;
    font-size: 14px; font-weight: 500; text-decoration: none;
    transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}
.catalog-sort-option:hover {
    background: #f5faff; border-color: #93c5fd;
}
.catalog-sort-option[aria-current="true"] {
    background: #edf6ff; border-color: #098cf7; color: #075da6; font-weight: 700;
}
.catalog-sort-option__check {
    font-weight: 700; color: #098cf7;
}
/* Cleanly handled above by >= 1024px / < 1024px catalog rules */

body.public-site :is(.store-cart-drawer, .store-search-dialog, .store-filter-dialog, .store-account-dialog) {
    color: #122940; background: #fff; border: 1px solid #dce7f0; padding: 0;
    border-radius: 16px; box-shadow: 0 8px 36px rgb(18 41 64 / 16%);
}
body.public-site :is(.store-cart-drawer, .store-search-dialog, .store-filter-dialog, .store-account-dialog):not([open]) {
    display: none !important;
    pointer-events: none;
}
.store-sheet-dialog.is-closing {
    pointer-events: none;
}
body.public-site :is(.store-cart-drawer, .store-search-dialog, .store-filter-dialog, .store-account-dialog)::backdrop { background: rgb(15 30 46 / 46%); }
body.public-site :is(.store-cart-drawer, .store-search-dialog, .store-filter-dialog, .store-account-dialog) .overlay-heading {
    display: flex; align-items: center; justify-content: space-between; flex: none; gap: 12px;
    padding: 10px 16px; border-bottom: 1px solid #dce7f0; background: #fff;
}
body.public-site :is(.store-cart-drawer, .store-search-dialog, .store-filter-dialog, .store-account-dialog) .overlay-heading h2 { font-size: 1.13rem; font-weight: 700; margin: 0; }
body.public-site :is(.store-cart-drawer, .store-search-dialog, .store-filter-dialog, .store-account-dialog) .overlay-heading button {
    display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #dce7f0; border-radius: 10px;
    color: #163a61; background: #f4f8fc;
}
body.public-site :is(.store-cart-drawer, .store-search-dialog, .store-filter-dialog, .store-account-dialog) svg { width: 20px; height: 20px; flex: none; }
body.public-site .store-account-dialog {
    padding: 0 20px 18px; width: 350px; max-width: calc(100vw - 28px); border-radius: 20px;
    position: fixed; margin: 0; inset-block-start: 78px; inset-inline-end: 14px; inset-inline-start: auto;
    max-height: calc(var(--storefront-overlay-height, 100dvh) - 96px); overflow-y: auto; overscroll-behavior: contain;
}
body.public-site .store-account-dialog .overlay-heading { margin-inline: -20px; padding-inline: 20px; }
body.public-site .store-account-dialog .guest-identity { display: flex; gap: 12px; align-items: center; padding: 14px 0; }
body.public-site .store-account-dialog .guest-identity > span {
    display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
    background: #eaf4fd; color: #075da6;
}
body.public-site .store-account-dialog .guest-identity strong { display: block; font-size: 15px; color: #122940; }
body.public-site .store-account-dialog .guest-identity p { margin: 2px 0 0; font-size: 13px; color: #475e73; }
body.public-site .store-account-dialog [data-customer-guest] {
    display: flex; justify-content: center; align-items: center; width: 100%; min-height: 48px;
    background: #075da6; color: #fff; border-radius: 10px; gap: 10px; font-size: 15px; font-weight: 700;
}
body.public-site .store-account-dialog .np-customer-menu { width: 100%; }
body.public-site .store-account-dialog .is-panel-ready summary { display: none; }
body.public-site .store-account-dialog .np-customer-menu nav {
    position: static; width: 100%; box-shadow: none; border: 0; padding: 0; display: grid; gap: 6px;
}
body.public-site .store-account-dialog .np-customer-menu nav a,
body.public-site .store-account-dialog .np-customer-menu nav button {
    display: flex; align-items: center; min-height: 46px; padding: 10px 12px; border-radius: 10px;
    background: #f4f8fc; color: #163a61; font-size: 14px; font-weight: 500; width: 100%; text-align: start;
}
body.public-site .store-account-dialog .np-customer-menu nav a:hover,
body.public-site .store-account-dialog .np-customer-menu nav button:hover { background: #e8f3fd; color: #075da6; }
body.public-site .store-account-dialog .account-link {
    display: flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 10px; padding: 10px 12px;
    border: 1px solid #dce7f0; border-radius: 10px; background: #f8fbfe; color: #163a61; font-size: 14px; font-weight: 500;
}
body.public-site .store-account-dialog .account-link svg:first-child { color: #075da6; }
body.public-site .store-account-dialog .account-link svg:last-child { margin-inline-start: auto; width: 16px; height: 16px; color: #7a8b9c; }
body.public-site .store-account-dialog .account-link[hidden] { display: none; }
body.public-site .store-cart-drawer {
    inset: 0 auto 0 0; margin: 0; width: min(456px, 100%); max-width: none;
    max-height: none; height: var(--storefront-overlay-height, 100dvh);
    border-radius: 0 16px 16px 0; overflow: hidden; will-change: transform;
}
body.public-site .store-cart-drawer[open] {
    display: flex; flex-direction: column;
    animation: np-cart-in-left 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
body.public-site .store-cart-drawer[open].is-closing {
    animation: np-cart-out-left 180ms cubic-bezier(0.4, 0, 1, 1) forwards;
}
body.public-site .store-cart-drawer[open]::backdrop {
    animation: np-cart-backdrop-in 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
body.public-site .store-cart-drawer[open].is-closing::backdrop {
    animation: np-cart-backdrop-out 180ms ease-in forwards;
}
body.public-site .store-cart-drawer .live-cart { flex: 1; min-height: 0; padding: 10px 14px 14px; overflow-y: auto; overscroll-behavior: contain; }
body.public-site .store-cart-drawer .cart-sheet-content { padding: 0; background: transparent; border: 0; box-shadow: none; }
body.public-site .store-cart-drawer .cart-sheet-footer:not([hidden]) {
    display: block; flex: none; padding: 12px 16px max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid #dce7f0; background: #fff;
}
.store-cart-error { padding: 8px 16px; color: #972d21; background: #fff4f1; font-size: .84rem; }
.empty-cart-hint { margin: 4px 0 0; color: #475e73; font-size: .88rem; line-height: 1.7; text-align: center; }
[data-cart-view-link][hidden] { display: none; }
body :is(.store-search-dialog, .store-cart-drawer) .primary {
    display: inline-flex; min-height: 46px; justify-content: center; align-items: center; gap: 7px;
    padding: 8px 18px; border: 0; border-radius: 12px; background: #075da6; color: #fff; font-weight: 700;
    cursor: pointer; transition: background-color 140ms ease;
}
body :is(.store-search-dialog, .store-cart-drawer) .primary:hover { background: #0a4f89; color: #fff; }
body.public-site .store-search-dialog {
    width: min(480px, calc(100% - 28px));
    max-width: 480px;
    height: auto;
    min-height: 0;
    max-height: min(480px, 88dvh);
    margin: auto;
    padding: 0;
    border: 1px solid #dce7f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 40px rgb(18 41 64 / 20%);
    overflow: hidden;
}
body.public-site .store-search-dialog .overlay-heading {
    padding: 12px 16px;
    min-height: auto;
    border-bottom: 1px solid #e6eff7;
}
body.public-site .store-search-dialog .overlay-heading h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #122940;
}
body.public-site .store-search-dialog form[action] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}
body.public-site .store-search-dialog label {
    font-size: .84rem;
    font-weight: 500;
    color: #465e76;
}
body.public-site .store-search-dialog input {
    width: 100%;
    min-height: 46px;
    padding-inline: 14px;
    border: 1px solid #cddde9;
    border-radius: 12px;
    background: #f8fbfe;
    color: #122940;
    font-size: .92rem;
}
body.public-site .store-search-dialog .search-quick-suggestions {
    width: 100%;
}
body.public-site .store-search-dialog .store-search-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    min-width: 0;
    padding: 4px;
    border: 1px solid #cddde9;
    border-radius: 12px;
    background: #f8fbfe;
}
body.public-site .store-search-dialog .store-search-input-row input {
    min-width: 0;
    min-height: 44px;
    border: 0;
    background: transparent;
}
body.public-site .store-search-dialog .store-search-input-row button.primary {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
}
body.public-site .store-search-dialog button.primary {
    width: 100%;
}
body.public-site .store-search-dialog input::placeholder { color: #677d92; }
body.public-site .store-search-dialog input:focus-visible {
    background: #fff;
    border-color: #075da6;
    outline: 2px solid rgb(7 93 166 / 20%);
    outline-offset: 0;
}
@media (max-width: 700px) {
    body.public-site .store-search-dialog {
        position: fixed;
        inset: max(12px, env(safe-area-inset-top)) 12px auto;
        width: calc(100% - 24px);
        max-width: none;
        height: auto;
        max-height: calc(100dvh - 24px);
        margin: 0;
        padding: 0;
        border: 1px solid #dce7f0;
        border-radius: 18px;
        box-shadow: 0 14px 40px rgb(18 41 64 / 22%);
    }
    body.public-site .store-search-dialog form {
        grid-template-columns: minmax(0, 1fr);
    }
    body.public-site .store-search-dialog button.primary {
        width: 100%;
    }
}

/* Unified mobile drawer footer links across all templates (overrides .premium-storefront a { color: inherit }). */
body.public-site .np-mobile-drawer__account,
body.public-site .np-mobile-drawer__phones a {
    color: #075da6;
}
body.public-site .np-mobile-drawer__account:hover,
body.public-site .np-mobile-drawer__phones a:hover {
    color: #054a85;
}

/* Calmer brand-blue support chat launcher across desktop & compact 48x48 on mobile. */
body.public-site button[data-support-launcher] {
    --support-launcher-size: 56px;
    --support-icon-size: 26px;
    width: var(--support-launcher-size) !important;
    height: var(--support-launcher-size) !important;
    background: #075da6 !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgb(7 93 166 / 28%) !important;
}
body.public-site button[data-support-launcher] > svg {
    width: var(--support-icon-size) !important;
    height: var(--support-icon-size) !important;
}
body.public-site button[data-support-launcher]:hover {
    background: #0a4f89 !important;
    box-shadow: 0 8px 24px rgb(7 93 166 / 34%) !important;
}
body.public-site button[data-support-launcher]::before {
    border-color: #075da6 !important;
}
@media (max-width: 767px) {
    body.public-site button[data-support-launcher] {
        --support-launcher-size: 48px;
        --support-icon-size: 22px;
        left: max(14px, env(safe-area-inset-left, 0px)) !important;
        box-shadow: 0 4px 14px rgb(7 93 166 / 24%) !important;
    }
}
.store-filter-dialog [data-filter-slot] { overflow-y: auto; padding: 16px; overscroll-behavior: contain; }
.store-filter-dialog .catalog-filter-actions {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}
.store-filter-dialog .catalog-filter-actions .btn-primary,
.store-filter-dialog .catalog-filter-actions .btn-secondary {
    width: 100%;
    justify-content: center;
}
.sheet-drag-handle {
    display: flex; justify-content: center; padding: 8px 0 2px; flex: none;
}
.sheet-drag-handle span {
    width: 38px; height: 4px; border-radius: 999px; background: #cbd5e1;
}
.catalog-sheet-form {
    display: flex; flex-direction: column; min-height: 0; flex: 1; overflow: hidden;
}
.catalog-sheet-body {
    display: grid; gap: 16px; padding: 16px; overflow-y: auto; overscroll-behavior: contain;
}
.catalog-sheet-footer {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 10px;
    padding: 12px 16px max(14px, env(safe-area-inset-bottom));
    border-top: 1px solid #e2e8f0; background: #fff; flex: none;
}
.catalog-sheet-footer .btn {
    width: 100%; min-height: 46px; justify-content: center;
}
@media (max-width: 767px) {
    body.public-site dialog.store-sheet-dialog {
        will-change: transform;
    }
    body.public-site dialog.store-sheet-dialog[open] {
        animation: np-cart-in-bottom 240ms cubic-bezier(0.22, 1, 0.36, 1);
    }
    body.public-site dialog.store-sheet-dialog[open].is-closing {
        animation: np-cart-out-bottom 180ms cubic-bezier(0.4, 0, 1, 1) forwards;
    }
    body.public-site dialog.store-sheet-dialog[open]::backdrop {
        animation: np-cart-backdrop-in 220ms cubic-bezier(0.22, 1, 0.36, 1);
    }
    body.public-site dialog.store-sheet-dialog[open].is-closing::backdrop {
        animation: np-cart-backdrop-out 180ms ease-in forwards;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.public-site dialog.store-sheet-dialog[open],
    body.public-site dialog.store-sheet-dialog[open].is-closing,
    body.public-site dialog.store-sheet-dialog[open]::backdrop,
    body.public-site dialog.store-sheet-dialog[open].is-closing::backdrop {
        animation: none;
    }
}
@media (min-width: 768px) {
    .sheet-drag-handle { display: none; }
    body.public-site .store-filter-dialog {
        position: fixed;
        inset: 0;
        margin: auto;
        width: calc(100% - 2rem);
        max-width: 460px;
        height: fit-content;
        max-height: min(640px, 86dvh);
        border-radius: 18px;
        overflow: hidden;
    }
    body.public-site .store-filter-dialog[open] {
        display: flex;
        flex-direction: column;
    }
}

.repair-entry-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; gap: 16px; }
.repair-entry-layout.repair-entry-layout--single {
    display: block;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 780px;
    margin-inline: auto;
}
.repair-entry .public-panel { padding: 18px; }
.repair-entry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-block-start: 14px; }
.repair-entry-actions .np-button { min-height: 44px; }
.repair-guide-card { padding: 16px 18px; border: 1px solid #d6e6f5; border-radius: 14px; background: #f4f9fe; color: #1f3b58; }
.repair-guide-card__title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #075da6; }
.repair-guide-card__title h2 { margin: 0; font-size: .95rem; font-weight: 700; color: #122940; }
.repair-guide-card ul { margin: 0; padding-inline-start: 18px; display: grid; gap: 8px; list-style: disc; font-size: .85rem; line-height: 1.85; color: #36516d; }
.repair-track-page { padding-block: clamp(18px, 3vw, 34px); }
.repair-track-shell { max-width: 34rem; margin-inline: auto; }
.repair-track-shell .public-panel { padding: 20px; }
.repair-privacy-note {
    display: flex; align-items: center; gap: 7px; margin: 14px 0 0; padding-top: 12px;
    border-top: 1px solid #e6eff7; font-size: .84rem; font-weight: 500; line-height: 1.7; color: #475569;
}
.repair-privacy-note .np-icon { flex: none; width: 16px; height: 16px; color: #075da6; }

@media (max-width: 850px) {
    .np-header .store-desktop-tools { display: none; }
    .np-header .store-mobile-search {
        display: inline-flex; margin-inline-start: auto; flex: 0 0 44px;
        min-height: 44px; padding: 0; border: 1px solid #d1e5f7; border-radius: 10px; background: #fff;
    }
    .np-header .store-mobile-search svg { width: 20px; height: 20px; }
    body:not(.premium-storefront) .np-header .np-customer-header { margin-inline-start: 0; }
    .repair-entry-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .catalog-toolbar { flex: 1 0 auto; }
    .catalog-toolbar .btn { flex: 1; justify-content: center; }
    .public-catalogue .public-product-summary { display: none; }
    body.public-site .store-cart-drawer {
        position: fixed; inset: auto 0 var(--storefront-overlay-bottom, 0px); width: 100%; max-width: none;
        margin: 0; max-height: min(var(--storefront-overlay-height, 100dvh), 88dvh);
        border-radius: 16px 16px 0 0;
    }
    @media (max-width: 767px) {
        body.public-site .store-filter-dialog {
            position: fixed; inset: auto 0 var(--storefront-overlay-bottom, 0px); width: 100%; max-width: none;
            margin: 0; max-height: min(var(--storefront-overlay-height, 100dvh), 88dvh);
            border-radius: 16px 16px 0 0;
        }
        body .store-filter-dialog[open] { display: flex; flex-direction: column; padding-block-end: env(safe-area-inset-bottom); }
    }
    .homepage .np-hero__grid { padding-block: 10px 16px; gap: 6px; }
    .homepage .np-hero__copy { padding-block: 0; }
    .homepage .np-hero__description { margin-block: 4px 8px; }
    .homepage .np-hero__art { min-height: 0; max-width: clamp(220px, calc(var(--storefront-unlocked-viewport, 100vw) * .65), 260px); }
    .np-footer .np-footer__grid { gap: 12px; padding-block: 14px; }
    .np-footer .np-footer__brand { flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 10px; padding-block-end: 12px; }
    .np-footer .np-footer__bottom { padding-block: 10px; padding-inline: 64px; }
    body.public-site:has(.global-store-nav) .np-footer { padding-block-end: calc(68px + env(safe-area-inset-bottom, 0px)); }
}
.np-customer-header:has(.store-desktop-tools) { display: flex; align-items: center; gap: 8px; }
[data-customer-guest] > svg { flex: none; width: 18px; height: 18px; }

@media (max-width: 850px) {
    .np-header__inner:has(.store-mobile-search) [data-customer-guest] { position: relative; width: 44px; padding: 0; }
    .np-header__inner:has(.store-mobile-search) .np-customer-guest-label {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
    }
    .homepage .np-hero__grid { min-height: 0; }
    body.public-site .store-cart-drawer { padding-block-end: env(safe-area-inset-bottom); }
    body.public-site .store-account-dialog {
        inset: auto 0 var(--storefront-overlay-bottom, 0px); width: 100%; max-width: none;
        border-radius: 20px 20px 0 0; padding-bottom: max(18px, env(safe-area-inset-bottom));
    }
    body.premium-storefront main { padding-block-end: 72px; }
}


html.storefront-overlay-open { overscroll-behavior: none; }
.store-cart-status { flex: none; padding-inline: 14px; font-size: .83rem; line-height: 1.6; color: #465e76; }
.store-cart-status:not([hidden]) { min-block-size: 1.6em; margin-block: 0 3px; }
.store-cart-status:not([hidden]):empty { visibility: hidden; }
[data-live-cart][inert], [data-cart-summary][inert] { opacity: .72; }

.np-footer--compact .np-footer__transaction { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
@media (max-width: 359px) {
    .np-header .np-customer-menu > .np-customer-trigger { position: relative; inline-size: 44px; padding-inline: 0; }
    .np-header .np-customer-menu > .np-customer-trigger > svg[aria-hidden="true"] { display: none; }
    .np-header .np-customer-account-label {
        position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
    }
}

@media (max-width: 700px) {
    body:has(.global-store-nav) button[data-support-launcher] {
        will-change: transform;
    }
}

/* Commerce surfaces share action sizes. Grid tracks carry the layout, while controls size to content. */
.commerce-page { width: min(calc(100% - 32px), 1060px); margin-inline: auto; padding-block: clamp(20px, 4vw, 48px); }
.commerce-page .store-cart > h1 { margin-block-end: 18px; font-size: clamp(1.35rem, 2.25vw, 1.8rem); font-weight: 700; line-height: 1.45; }
.commerce-columns { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: 16px; }
.commerce-columns > * { min-inline-size: 0; }
.commerce-columns--single { max-inline-size: 42rem; }
@media (min-width: 851px) {
    .commerce-columns:not(.commerce-columns--single) { grid-template-columns: minmax(0,1fr) minmax(17rem,21rem); gap: 24px; }
}
.commerce-action {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    inline-size: fit-content; max-inline-size: 100%; min-block-size: 44px;
    padding: 7px 13px; border: 1px solid transparent; border-radius: 9px;
    font: inherit; font-size: .875rem; font-weight: 680; line-height: 1.45;
    text-align: center; white-space: normal; text-decoration: none; cursor: pointer;
}
.commerce-action:focus-visible, .commerce-stepper button:focus-visible, .commerce-sources summary:focus-visible,
.commerce-select select:focus-visible, .commerce-choice:has(input:focus-visible) { outline: 2px solid #075da6; outline-offset: 2px; }
.commerce-action--primary { background: #075da6; color: #fff; }
.commerce-action--primary:hover, .commerce-action--primary:active { background: #0a4f89; color: #fff; }
.commerce-action--compact { padding-inline: 8px; font-size: .8rem; }
.commerce-action--prominent { min-block-size: 46px; padding-inline: 16px; }
.commerce-action--secondary { border-color: #ceddeb; color: #174c80; background: #fff; }
.commerce-action--secondary:hover, .commerce-action--secondary:active { background: #edf5fc; border-color: #a9c8e2; }
.commerce-action--text { color: #075da6; padding-inline: 4px; }
.commerce-action--text:hover, .commerce-action--text:active { text-decoration: underline; }
.commerce-action--danger { color: #963932; border-color: #edd9d6; background: #fff; }
.commerce-action--danger:hover, .commerce-action--danger:active { background: #fff0ec; border-color: #d9b1a9; }
.commerce-action--icon { flex: 0 0 44px; min-inline-size: 44px; max-inline-size: 44px; padding: 0; }
.commerce-action--icon svg { inline-size: 17px; block-size: 17px; }
.commerce-action:disabled, .commerce-stepper button:disabled { color: #627184; background: #edf2f6; border-color: #dce5ed; cursor: default; }
.commerce-action[aria-disabled="true"] { cursor: progress; }
.commerce-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.commerce-actions:empty { display: none; }
.commerce-summary, .commerce-panel, .store-cart-item, .commerce-empty {
    border: 1px solid #dce7f0; border-radius: 14px; background: #fff;
}
.commerce-summary { display: grid; gap: 12px; padding: 16px; align-content: start; background: #f5f9fd; }
.commerce-summary h2, .commerce-panel legend { color: #122940; font-size: 1.025rem; font-weight: 780; }
.commerce-summary__amounts > div, .commerce-checkout-items li {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px;
}
.commerce-summary__amounts { border-block-start: 1px solid #dce7f0; padding-block-start: 10px; }
.commerce-summary__amounts dt { color: #364f68; font-size: .875rem; }
.commerce-summary__amounts dd { margin: 0; font-size: 1.08rem; font-weight: 700; }
.commerce-summary__note, .commerce-stock-note, .commerce-checkout-status { color: #465e76; font-size: .83rem; }
.commerce-money { display: inline-flex; flex-wrap: nowrap; align-items: baseline; gap: 3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.commerce-money bdi { font-weight: 700; color: #122940; }
.commerce-money small { color: #465e76; font-size: .74em; font-weight: 500; }
.commerce-notice { border: 1px solid #dce7f0; border-radius: 10px; padding: 9px 11px; background: #f3f7fc; color: #364f68; font-size: .83rem; overflow-wrap: anywhere; }
form.commerce-notice { display: grid; justify-items: start; gap: 7px; }
.commerce-cart-lines, .store-cart-items, .commerce-checkout-fields { display: grid; gap: 10px; }
.store-cart-item {
    --store-cart-thumbnail: 72px;
    display: grid; grid-template-columns: var(--store-cart-thumbnail) minmax(0,1fr); align-items: start;
    padding: 12px; gap: 10px 12px;
}
.store-cart-item.store-cart-unavailable { grid-template-columns: minmax(0,1fr); }
.store-cart-image {
    display: grid; place-items: center; inline-size: var(--store-cart-thumbnail); block-size: var(--store-cart-thumbnail);
    overflow: hidden; border: 1px solid #e0eaf3; border-radius: 10px; background: #fff;
}
.store-cart-image img { display: block; width: 100%; height: calc(var(--store-cart-thumbnail) - 2px); object-fit: contain; }
.commerce-cart-item__details { min-inline-size: 0; display: grid; justify-items: start; gap: 5px; color: #465e76; font-size: .84rem; }
.commerce-cart-item__details h2 { color: #122940; font-size: .96rem; font-weight: 760; line-height: 1.55; overflow-wrap: anywhere; }
.commerce-cart-item__details h2 a:hover { color: #075da6; text-decoration: underline; }
.commerce-stock-note--notice, .commerce-field-error { color: #982e25; }
.commerce-cart-item__total { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; justify-content: space-between;
    grid-column: 1 / -1; padding-block-start: 8px; border-block-start: 1px solid #edf2f8; color: #465e76; font-size: .825rem; }
.store-cart-commands { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-block-start: 4px; }
.commerce-stepper { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 4px; block-size: 42px; padding: 3px; border: 1.5px solid #cbd5e1; border-radius: 12px; background: #ffffff; box-shadow: 0 1px 2px rgb(15 23 42 / 5%); box-sizing: border-box; }
.commerce-stepper button { display: inline-flex; align-items: center; justify-content: center; inline-size: 34px; block-size: 34px; flex-shrink: 0; color: #075da6; background: #f8fafc; border-radius: 9px; cursor: pointer; line-height: 1; transition: background-color .15s ease, color .15s ease; }
.commerce-stepper button:hover:enabled, .commerce-stepper button:active:enabled { background: #e0f2fe; color: #0369a1; }
.commerce-stepper button svg { display: block; inline-size: 16px; block-size: 16px; }
.commerce-stepper__value { display: inline-flex; align-items: center; justify-content: center; min-inline-size: 32px; block-size: 34px; line-height: 1; text-align: center; color: #0f172a; font-weight: 700; font-variant-numeric: tabular-nums; }
.commerce-sources { max-inline-size: 100%; }
.commerce-sources summary { min-block-size: 44px; align-content: center; color: #174c80; cursor: pointer; text-underline-offset: 3px; }
.commerce-sources summary:hover { text-decoration: underline; }
.commerce-sources form { display: flex; flex-wrap: wrap; gap: 6px; padding-block-end: 5px; }
.commerce-empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 22px 12px; }
.commerce-empty .empty-cart-icon { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 10px; background: #edf5fc; color: #075da6; }
.commerce-empty .empty-cart-icon svg { width: 22px; height: 22px; }
.commerce-panel { display: grid; min-inline-size: 0; gap: 11px; padding: 13px 15px 15px; }
.commerce-panel legend { padding-inline: 6px; }
.commerce-choices { display: grid; gap: 8px; }
.commerce-choice {
    display: grid; grid-template-columns: 18px minmax(0,1fr) auto; align-items: center;
    gap: 4px 8px; min-block-size: 58px; padding: 8px 10px;
    background: #fff; border: 1px solid #ceddeb; border-radius: 9px; color: #122940; cursor: pointer;
}
.commerce-choice:hover:not(:has(input:disabled)) { background: #f3f8fc; }
.commerce-choice:has(input:checked) { background: #eaf4fc; border-color: #075da6; box-shadow: inset 0 0 0 1px #075da6; }
.commerce-choice:has(input:disabled) { background: #f5f7f9; border-color: #e1e8ef; cursor: default; }
.commerce-choice input { margin: 0; inline-size: 18px; block-size: 18px; accent-color: #075da6; }
.commerce-choice__title { font-size: .9rem; font-weight: 740; }
.commerce-choice__cost { color: #174c80; font-size: .755rem; padding: 2px 6px; border-radius: 5px; background: #edf4fa; }
.commerce-choice__note { grid-column: 2 / -1; color: #465e76; font-size: .79rem; line-height: 1.6; }
.commerce-address-field { display: grid; gap: 5px; max-inline-size: 31rem; min-inline-size: 0; }
.commerce-address-field label, .commerce-recipient { font-size: .875rem; color: #364f68; }
.commerce-recipient { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.commerce-recipient strong { color: #122940; font-weight: 730; }
.commerce-select { position: relative; min-inline-size: 0; }
.commerce-select select {
    display: block; inline-size: 100%; min-block-size: 44px; appearance: none; border: 1px solid #ceddeb;
    border-radius: 9px; background: #fff; color: #122940; padding: 6px 10px 6px 32px; padding-inline: 10px 32px;
    font-size: 1rem; text-overflow: ellipsis;
}
.commerce-select select[aria-invalid="true"] { border-color: #982e25; }
.commerce-select svg { position: absolute; inset-inline-end: 10px; inset-block-start: 50%; transform: translateY(-50%); width: 16px; height: 16px; pointer-events: none; }
.commerce-field-error, .commerce-checkout-items li { font-size: .84rem; }
.commerce-checkout-items { display: grid; gap: 6px; }
.commerce-checkout-items small { color: #465e76; font-size: .82em; white-space: nowrap; }
.commerce-drawer-link { display: none; }
.store-cart-drawer .commerce-drawer-link { display: inline-flex; }
.store-cart-drawer .commerce-columns { display: block; }
.store-cart-drawer .commerce-summary { padding: 0; border: 0; border-radius: 0; background: transparent; gap: 9px; text-align: start; }
.store-cart-drawer .commerce-summary > h2, .store-cart-drawer .commerce-summary__note { display: none; }
.store-cart-drawer .commerce-summary__amounts { padding: 0; border: 0; }
.store-cart-drawer .commerce-summary .commerce-actions { justify-content: flex-end; }
.store-cart-drawer .commerce-action--primary { color: #fff; }
.store-cart-drawer .commerce-action--danger { color: #963932; }
.store-cart-drawer .commerce-cart-fallback { justify-content: flex-end; }
.store-cart-drawer .cart-sheet-footer:has(.commerce-summary) .commerce-cart-fallback { display: none; }
.store-cart-drawer .store-cart-item { --store-cart-thumbnail: 60px; }
.store-cart-drawer .commerce-empty { border: 0; }
@media (min-width: 900px) {
    .commerce-page .store-cart-item { grid-template-columns: var(--store-cart-thumbnail) minmax(0,1fr) auto; }
    .commerce-page .store-cart-item.store-cart-unavailable { grid-template-columns: minmax(0,1fr); }
    .commerce-page .commerce-cart-item__total { grid-column: auto; border: 0; padding: 2px 0 0; display: grid; justify-items: end; }
}
button[data-loading="true"] {
    opacity: .82;
    cursor: progress !important;
}
.np-cart-toast {
    position: fixed;
    inset-block-end: 22px;
    inset-inline-start: 50%;
    transform: translateX(50%) translateY(12px);
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #0f274a;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgb(15 39 74 / 28%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}
.np-cart-toast.is-visible {
    opacity: 1;
    transform: translateX(50%) translateY(0);
}
@media (max-width: 850px) {
    body.public-site .store-cart-drawer { width: min(100%, 35rem); margin-inline: auto; height: auto; max-height: min(var(--storefront-overlay-height, 100dvh), 86dvh); }
    body.public-site .store-cart-drawer[open] { animation: np-cart-in-bottom 240ms cubic-bezier(0.22, 1, 0.36, 1); }
    body.public-site .store-cart-drawer[open].is-closing { animation: np-cart-out-bottom 180ms cubic-bezier(0.4, 0, 1, 1) forwards; }
    body.public-site .store-cart-drawer .live-cart { flex: 0 1 auto; }
    /* The inert summary still disables checkout. Fade the other contents without reducing CTA contrast. */
    .store-cart-drawer [data-cart-summary][inert]:has(.commerce-action--primary) { opacity: 1; }
    .store-cart-drawer [data-cart-summary][inert] .commerce-summary > :not(.commerce-actions),
    .store-cart-drawer [data-cart-summary][inert] .commerce-actions > :not(.commerce-action--primary) { opacity: .72; }
}
@media (max-width: 359px) {
    .store-cart-drawer .store-cart-item, .commerce-page .store-cart-item { --store-cart-thumbnail: 52px; gap: 8px; padding: 9px; }
    .commerce-choice { grid-template-columns: 18px minmax(0,1fr); }
    .commerce-choice__cost { grid-column: 2; justify-self: start; }
}
@media (max-width: 850px) and (max-height: 520px) {
    body.public-site .store-cart-drawer { max-height: min(var(--storefront-overlay-height, 100dvh), 96dvh); }
}
@media (forced-colors: active) {
    .commerce-choice:has(input:checked) { border-color: Highlight; outline: 1px solid Highlight; }
}

@media (min-width: 360px) and (max-width: 420px) {
    body:has(.commerce-page) .np-header .np-customer-menu > .np-customer-trigger { position: relative; inline-size: 44px; padding-inline: 0; }
    body:has(.commerce-page) .np-header .np-customer-menu > .np-customer-trigger > svg[aria-hidden="true"] { display: none; }
    body:has(.commerce-page) .np-header .np-customer-account-label {
        position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
    }
}

@keyframes np-cart-in-left { from { transform: translateX(-100%); opacity: .92; } to { transform: translateX(0); opacity: 1; } }
@keyframes np-cart-out-left { from { transform: translateX(0); opacity: 1; } to { transform: translateX(-100%); opacity: .92; } }
@keyframes np-cart-in-bottom { from { transform: translateY(100%); opacity: .92; } to { transform: translateY(0); opacity: 1; } }
@keyframes np-cart-out-bottom { from { transform: translateY(0); opacity: 1; } to { transform: translateY(100%); opacity: .92; } }
@keyframes np-cart-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes np-cart-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    body.public-site .store-cart-drawer[open],
    body.public-site .store-cart-drawer[open].is-closing,
    body.public-site .store-cart-drawer[open]::backdrop,
    body.public-site .store-cart-drawer[open].is-closing::backdrop { animation: none; }
}

/* Multi-Step Fintech Checkout & Active Zibal Gateway Selection */
.checkout-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    margin-block-end: 20px;
}
.checkout-header h1 { margin: 0; }
.checkout-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}
.checkout-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #dce7f2;
    background: #fff;
    color: #5b7288;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 120ms ease;
}
.checkout-step:hover {
    border-color: #93c5fd;
    background: #f8fbff;
}
.checkout-step:focus-visible {
    outline: 2px solid #098cf7;
    outline-offset: 2px;
}
.checkout-step__num {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #edf4fb;
    color: #36526d;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.checkout-step.is-active {
    border-color: #098cf7;
    background: #eff7ff;
    color: #075da6;
    font-weight: 700;
}
.checkout-step.is-active .checkout-step__num {
    background: #098cf7;
    color: #fff;
}
.checkout-step.is-done {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}
.checkout-step.is-done .checkout-step__num {
    background: #16a34a;
    color: #fff;
}
[data-checkout-stepper].is-stepped .checkout-step-panel:not(.is-active) {
    display: none;
}
.checkout-step-panel {
    display: grid;
    gap: 16px;
}
.checkout-step-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-block-start: 16px;
    padding-block-start: 14px;
    border-block-start: 1px solid #e7eff7;
}
.checkout-gateway-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    border: 1.5px solid #dce7f2;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}
.checkout-gateway-card:has(input:checked),
.checkout-gateway-card--zibal {
    border-color: #098cf7;
    background: linear-gradient(135deg, #f4f9ff 0%, #ffffff 100%);
    box-shadow: 0 0 0 3px rgb(9 140 247 / 12%);
}
.checkout-gateway-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.checkout-gateway-card__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.checkout-gateway-card__title-row strong {
    font-size: 0.96rem;
    font-weight: 700;
    color: #0f2942;
}
.checkout-gateway-card__logo {
    width: 35px;
    height: 42px;
    object-fit: contain;
    flex: none;
}
.checkout-gateway-card__body small {
    color: #536d88;
    font-size: 13px;
    line-height: 1.7;
}
.checkout-confirm-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8fbff;
    border: 1px solid #dce7f2;
}
.checkout-confirm-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.checkout-confirm-list dt { color: #536d88; font-size: 13px; }
.checkout-confirm-list dd { margin: 0; font-weight: 500; color: #122940; font-size: 14px; }
.checkout-confirm-total { color: #0674cf !important; font-weight: 700 !important; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
    .checkout-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .checkout-steps {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
        width: 100%;
    }
    .checkout-step {
        flex: 1 1 auto;
        justify-content: center;
        gap: 4px;
        padding: 5px 6px;
        font-size: 11px;
        white-space: nowrap;
        min-width: 0;
    }
    .checkout-step__num {
        width: 18px;
        height: 18px;
        font-size: 10.5px;
        flex: none;
    }
    .checkout-step-actions { flex-direction: column-reverse; align-items: stretch; }
    .checkout-step-actions .commerce-action { width: 100%; justify-content: center; }
}
@media (max-width: 400px) {
    .checkout-steps { gap: 3px; }
    .checkout-step { gap: 3px; padding: 4px 5px; font-size: 10.5px; }
    .checkout-step__num { width: 17px; height: 17px; font-size: 10px; }
}

/* 4-Step Checkout Form Fields, Red Inline Errors & Interactive Map */
.checkout-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-block-start: 10px;
}
.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.checkout-field--full { grid-column: 1 / -1; }
.checkout-field label {
    font-size: 13px;
    font-weight: 500;
    color: #213c57;
}
.checkout-input {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid #cbd9e8;
    border-radius: 10px;
    background: #fff;
    color: #122940;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.7;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.checkout-input:focus {
    outline: none;
    border-color: #098cf7;
    box-shadow: 0 0 0 3px rgb(9 140 247 / 14%);
}
.checkout-input.is-invalid {
    border-color: #dc2626 !important;
    background-color: #fffafb;
    box-shadow: 0 0 0 3px rgb(220 38 38 / 12%);
}
.checkout-field-error {
    margin: 0;
    color: #dc2626;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.6;
}
.checkout-mode-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0;
}
.checkout-mode-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #cbd9e8;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #213c57;
}
.checkout-mode-tab:has(input:checked) {
    border-color: #098cf7;
    background: #eff7ff;
    color: #075da6;
    font-weight: 500;
}
.checkout-shipping-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 15px;
    border: 1.5px solid #dce7f2;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease;
}
.checkout-shipping-card:has(input:checked) {
    border-color: #098cf7;
    background: #f5faff;
}
.checkout-shipping-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.checkout-shipping-card__body small {
    color: #536d88;
    font-size: 12.5px;
}
.checkout-map {
    margin-block: 10px 16px;
    border: 1px solid #dce7f2;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fbff;
}
.checkout-map__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid #e4eef7;
    font-size: 12.5px;
    color: #36526d;
}
.checkout-map__controls {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    flex: none;
}
.checkout-map__btn {
    min-width: 32px;
    min-height: 32px;
    padding: 4px 10px;
    border: 1px solid #cbd9e8;
    border-radius: 8px;
    background: #fff;
    color: #163a61;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}
.checkout-map__btn:hover { background: #eff7ff; border-color: #93c5fd; }
.checkout-map__viewport {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #e8f0f7;
    cursor: grab;
    user-select: none;
    touch-action: none;
}
.checkout-map__viewport:active { cursor: grabbing; }
.checkout-map__tiles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.checkout-map__tiles.leaflet-container {
    pointer-events: auto;
    z-index: 1;
}
.checkout-map__unavailable {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: #536d88;
}
.checkout-map__tiles:not(.leaflet-container) img {
    position: absolute;
    width: 256px;
    height: 256px;
    max-width: none;
    user-select: none;
    -webkit-user-drag: none;
}
.checkout-map__pin {
    position: absolute;
    z-index: 650;
    left: 50%;
    top: 50%;
    width: 26px;
    height: 26px;
    transform: translate(-50%, -100%);
    pointer-events: none;
    background: #098cf7;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 4px 12px rgb(15 23 42 / 30%);
    rotate: -45deg;
}
.checkout-map__pin[hidden] {
    display: none !important;
}
.checkout-map__leaflet-pin {
    background: transparent !important;
    border: 0 !important;
}
.checkout-map__pin-svg {
    display: block;
    width: 30px;
    height: 38px;
    filter: drop-shadow(0 5px 10px rgb(15 23 42 / 34%));
    cursor: grab;
}
.checkout-map__pin-svg:active {
    cursor: grabbing;
}
.checkout-map__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    border-top: 1px solid #e4eef7;
    font-size: 12px;
    color: #536d88;
    font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
    .checkout-form-grid { grid-template-columns: 1fr; }
}

.stock-availability-note {
    font-size: 12.5px;
    font-weight: 500;
    color: #0f5f3c;
    font-variant-numeric: tabular-nums;
}

.np-cart-flyer {
    position: fixed;
    z-index: 9999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #098cf7;
    box-shadow: 0 10px 24px rgb(9 140 247 / 32%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
    color: #075da6;
    font-weight: 700;
    font-size: 13px;
}
.np-cart-flyer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}
@keyframes np-cart-target-bounce {
    0%, 100% { transform: scale(1); }
    40% { transform: scale(1.22); }
    75% { transform: scale(0.94); }
}
[data-storefront-open="cart-dialog"].is-bouncing {
    animation: np-cart-target-bounce 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.np-cart-toast {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.np-cart-toast__action {
    border: 1px solid rgb(255 255 255 / 28%);
    background: rgb(255 255 255 / 14%);
    color: #fff;
    border-radius: 7px;
    padding: 3px 10px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 150ms ease;
}
.skip-link:not(:focus-visible) {
    position: fixed !important;
    top: -9999px !important;
    inset-inline-start: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.np-cart-toast__action:hover {
    background: rgb(255 255 255 / 24%);
}
