/* ---- Design tokens ---- */
        :root {
            --sf-navy: #0F2140;
            --sf-blue: #386DB4;
            --sf-lime: #86E026;
            --sf-lime-hover: #9EFF4D;
            --sf-very-light-blue: #EFF4FB;
            --sf-body-text: #4A5568;
            --sf-border: #E2E8F0;
            --sf-font-heading: 'Exo 2', sans-serif;
            --sf-font-body: 'Montserrat', sans-serif;
        }

        /* ---- Product Grid ---- */
        .sf-product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 32px;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* ---- Product Card (Dark Theme — default) ---- */
        .sf-grid--dark .sf-product-card {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .sf-grid--dark .sf-product-card:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.15);
            transform: translateY(-4px);
        }

        .sf-grid--dark .sf-product-card__title {
            font-family: var(--sf-font-heading);
            font-size: 18px;
            font-weight: 600;
            margin: 0 0 8px 0;
            color: #fff;
        }

        .sf-grid--dark .sf-product-card__desc {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.6);
            margin: 0 0 20px 0;
            flex-grow: 1;
            line-height: 1.6;
        }

        .sf-grid--dark .sf-product-card__price {
            font-size: 18px;
            font-weight: 700;
            color: #fff;
        }

        /* ---- Product Card (Light Theme) ---- */
        .sf-grid--light .sf-product-card {
            background: #fff;
            border: 1px solid var(--sf-border);
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .sf-grid--light .sf-product-card:hover {
            border-color: var(--sf-blue);
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(56, 109, 180, 0.1);
        }

        .sf-grid--light .sf-product-card__title {
            font-family: var(--sf-font-heading);
            font-size: 18px;
            font-weight: 600;
            margin: 0 0 8px 0;
            color: var(--sf-navy);
        }

        .sf-grid--light .sf-product-card__desc {
            font-size: 14px;
            color: var(--sf-body-text);
            margin: 0 0 20px 0;
            flex-grow: 1;
            line-height: 1.6;
        }

        .sf-grid--light .sf-product-card__price {
            font-size: 18px;
            font-weight: 700;
            color: var(--sf-navy);
        }

        /* ---- Shared Card Styles ---- */
        .sf-product-card__image {
            position: relative;
            width: 100%;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.03);
        }

        .sf-product-card__image img {
            width: 100%;
            height: 220px;
            object-fit: contain;
            display: block;
            padding: 16px;
        }

        .sf-product-card__badge {
            position: absolute;
            top: 12px;
            right: 12px;
            padding: 5px 10px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 1px;
            border-radius: 4px;
        }

        .sf-product-card__badge--sold-out {
            background: rgba(255, 255, 255, 0.15);
            color: rgba(255, 255, 255, 0.7);
        }

        .sf-product-card__info {
            padding: 24px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .sf-product-card__footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            padding-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            margin-top: auto;
        }

        .sf-grid--light .sf-product-card__footer {
            border-top-color: var(--sf-border);
        }

        /* ---- Buttons ---- */
        /* v3.4.7: buttons are Montserrat. The design system reserves Exo 2 for
           H1/H2 headings; every button rendered by the THEME already uses
           Montserrat, so this rule was the one place on the site that drifted. */
        .sf-btn {
            font-family: var(--sf-font-body);
            font-size: 14px;
            font-weight: 600;
            padding: 10px 20px;
            border-radius: 6px;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            white-space: nowrap;
        }

        .sf-btn--add {
            background: var(--sf-lime);
            color: var(--sf-navy);
        }

        .sf-btn--add:hover {
            background: var(--sf-lime-hover);
            transform: translateY(-2px);
        }

        .sf-btn--lg {
            padding: 14px 32px;
            font-size: 16px;
            width: 100%;
            text-align: center;
        }

        .sf-btn--disabled {
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.4);
            cursor: not-allowed;
        }

        .sf-grid--light .sf-btn--disabled {
            background: #f0f0f0;
            color: #999;
        }

        /* ---- Modal ---- */
        .sf-modal {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 100000;
            align-items: center;
            justify-content: center;
        }

        .sf-modal[aria-hidden="false"] {
            display: flex;
        }

        .sf-modal__backdrop {
            position: absolute;
            inset: 0;
            background: rgba(15, 33, 64, 0.85);
            backdrop-filter: blur(4px);
        }

        .sf-modal__content {
            position: relative;
            background: #fff;
            border-radius: 16px;
            max-width: 900px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
            animation: sfModalIn 0.25s ease;
        }

        @keyframes sfModalIn {
            from { opacity: 0; transform: translateY(20px) scale(0.97); }
            to   { opacity: 1; transform: translateY(0) scale(1); }
        }

        .sf-modal__close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 40px;
            height: 40px;
            border: none;
            background: var(--sf-very-light-blue);
            border-radius: 50%;
            font-size: 22px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--sf-navy);
            z-index: 2;
            transition: background 0.2s;
        }

        .sf-modal__close:hover {
            background: var(--sf-border);
        }

        .sf-modal__body {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
        }

        .sf-modal__gallery {
            padding: 32px;
            background: var(--sf-very-light-blue);
            border-radius: 16px 0 0 16px;
        }

        .sf-modal__main-img {
            width: 100%;
            height: 320px;
            object-fit: contain;
            border-radius: 8px;
            margin-bottom: 16px;
        }

        .sf-modal__thumbs {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .sf-modal__thumbs img {
            width: 60px;
            height: 60px;
            object-fit: contain;
            border-radius: 6px;
            border: 2px solid transparent;
            cursor: pointer;
            background: #fff;
            padding: 4px;
            transition: border-color 0.2s;
        }

        .sf-modal__thumbs img:hover,
        .sf-modal__thumbs img.active {
            border-color: var(--sf-blue);
        }

        .sf-modal__details {
            padding: 40px 32px;
            display: flex;
            flex-direction: column;
        }

        .sf-modal__title {
            font-family: var(--sf-font-heading);
            font-size: 28px;
            font-weight: 700;
            color: var(--sf-navy);
            margin: 0 0 12px 0;
            line-height: 1.3;
        }

        .sf-modal__price {
            font-family: var(--sf-font-heading);
            font-size: 24px;
            font-weight: 700;
            color: var(--sf-blue);
            margin: 0 0 24px 0;
        }

        .sf-modal__options {
            margin-bottom: 24px;
        }

        .sf-modal__option-group {
            margin-bottom: 16px;
        }

        .sf-modal__option-label {
            font-family: var(--sf-font-heading);
            font-size: 13px;
            font-weight: 600;
            color: var(--sf-navy);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
            display: block;
        }

        .sf-modal__option-values {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .sf-modal__option-btn {
            padding: 8px 16px;
            border: 2px solid var(--sf-border);
            border-radius: 6px;
            background: #fff;
            font-family: var(--sf-font-body);
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s;
            color: var(--sf-navy);
        }

        .sf-modal__option-btn:hover {
            border-color: var(--sf-blue);
        }

        .sf-modal__option-btn.active {
            border-color: var(--sf-blue);
            background: var(--sf-blue);
            color: #fff;
        }

        .sf-modal__desc-wrap {
            margin: 0 0 32px 0;
            flex-grow: 1;
        }

        .sf-modal__excerpt {
            font-size: 15px;
            line-height: 1.8;
            color: var(--sf-body-text);
            margin: 0;
        }

        .sf-modal__full-desc {
            font-size: 14px;
            line-height: 1.8;
            color: var(--sf-body-text);
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid var(--sf-border);
        }

        .sf-modal__full-desc p {
            margin: 0 0 12px 0;
        }

        .sf-modal__full-desc ol,
        .sf-modal__full-desc ul {
            margin: 0 0 12px 0;
            padding-left: 20px;
        }

        .sf-modal__full-desc li {
            margin-bottom: 6px;
        }

        .sf-modal__readmore {
            background: none;
            border: none;
            color: var(--sf-blue);
            font-family: var(--sf-font-body);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            padding: 8px 0 0 0;
            transition: color 0.2s;
        }

        .sf-modal__readmore:hover {
            color: var(--sf-navy);
        }

        .sf-modal__actions {
            margin-top: auto;
        }

        /* ---- Cart Notification Toast ---- */
        .sf-toast {
            position: fixed;
            top: 24px;
            right: 24px;
            background: var(--sf-navy);
            color: #fff;
            padding: 16px 24px;
            border-radius: 12px;
            font-family: var(--sf-font-body);
            font-size: 14px;
            z-index: 100001;
            box-shadow: 0 8px 24px rgba(15, 33, 64, 0.3);
            display: flex;
            align-items: center;
            gap: 12px;
            transform: translateX(120%);
            transition: transform 0.3s ease;
        }

        .sf-toast.visible {
            transform: translateX(0);
        }

        .sf-toast__icon {
            width: 24px;
            height: 24px;
            background: var(--sf-lime);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .sf-toast__icon svg {
            width: 14px;
            height: 14px;
            stroke: var(--sf-navy);
            stroke-width: 3;
            fill: none;
        }

        .sf-toast__action {
            font-family: var(--sf-font-body); /* v3.4.7: was falling back to Arial */
            background: var(--sf-lime);
            color: var(--sf-navy);
            padding: 6px 14px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            font-size: 13px;
            cursor: pointer;
            border: none;
            white-space: nowrap;
        }

        /* ---- Responsive ---- */
        @media (max-width: 768px) {
            .sf-product-grid {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
                gap: 20px;
            }

            .sf-modal__body {
                grid-template-columns: 1fr;
            }

            .sf-modal__gallery {
                border-radius: 16px 16px 0 0;
                padding: 24px;
            }

            .sf-modal__main-img {
                height: 240px;
            }

            .sf-modal__details {
                padding: 24px;
            }

            .sf-modal__title {
                font-size: 22px;
            }

            .sf-modal__price {
                font-size: 20px;
            }
        }

        @media (max-width: 480px) {
            .sf-product-grid {
                grid-template-columns: 1fr;
            }

            .sf-product-card__image img {
                height: 180px;
            }
        }

/* ══════════════ v3 additions — skeletons, live-price, strict-failure states ══════════════ */

.sf-skeleton { pointer-events: none; }
.sf-skeleton__box,
.sf-skeleton__line {
    background: linear-gradient(90deg, rgba(148,163,184,0.15) 25%, rgba(148,163,184,0.28) 50%, rgba(148,163,184,0.15) 75%);
    background-size: 200% 100%;
    animation: sf-shimmer 1.4s ease-in-out infinite;
    border-radius: 8px;
}
.sf-skeleton__box { width: 100%; height: 180px; }
.sf-skeleton__line { height: 14px; margin: 10px 0; }
.sf-skeleton__line--title { height: 20px; width: 70%; }
.sf-skeleton__line--short { width: 40%; }
@keyframes sf-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
    .sf-skeleton__box, .sf-skeleton__line { animation: none; }
}

/* Strict failure / empty: grid collapses quietly, no broken cards */
.sf-grid--error, .sf-grid--empty { min-height: 0; }

/* Live-price buy component */
.sf-live-price { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.sf-live-price__amount {
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--st-dark-text, #0f2140);
    min-height: 1.2em;
}
.sf-live-price__amount:empty { display: none; }
.sf-live-price__note { font-size: 0.85rem; color: #64748b; }
.sf-live-price__note:empty { display: none; }
.sf-live-price__select {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    max-width: 100%;
}
.sf-live-price [data-sf-buy][disabled] { opacity: 0.5; cursor: not-allowed; }

/* Hydrated price elements (mega menu, finder) */
.sf-price--unavailable { display: none !important; }

/* ══════════════ NFU reference dialog (ECM-2643, v3.0.7) ══════════════ */
#sf-ref-modal { position: fixed; inset: 0; z-index: 100000; display: none; }
#sf-ref-modal.is-open { display: block; }
.sf-ref-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 33, 64, 0.6); }
.sf-ref-modal__box {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: #fff; border-radius: 14px; padding: 28px; width: min(92vw, 420px);
    box-shadow: 0 20px 50px rgba(15, 33, 64, 0.35);
}
.sf-ref-modal__box h3 {
    font-family: 'Exo 2', 'Montserrat', sans-serif; font-weight: 800;
    font-size: 1.15rem; color: #0F2140; margin: 0 0 6px; text-transform: uppercase;
}
.sf-ref-modal__note { margin: 0 0 14px; font-size: 0.85rem; color: #4b5563; }
.sf-ref-modal__input {
    width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 8px;
    font-size: 1rem; font-family: 'Montserrat', sans-serif; box-sizing: border-box;
}
.sf-ref-modal__input:focus { outline: 2px solid #386DB4; border-color: #386DB4; }
.sf-ref-modal__error { margin: 8px 0 0; font-size: 0.8rem; color: #dc2626; font-weight: 700; }
.sf-ref-modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.sf-ref-modal__cancel { background: #EFF4FB; color: #0F2140; }

/* ══════════════ Cart drawer (v3.1.0) ══════════════ */
.sf-cart-drawer { position: fixed; inset: 0; z-index: 99999; pointer-events: none; }
.sf-cart-drawer__backdrop {
    position: absolute; inset: 0; background: rgba(15, 33, 64, 0.55);
    opacity: 0; transition: opacity 0.25s ease;
}
.sf-cart-drawer__panel {
    position: absolute; top: 0; right: 0; height: 100%; width: min(92vw, 420px);
    background: #fff; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform 0.28s ease;
    box-shadow: -12px 0 40px rgba(15, 33, 64, 0.25);
}
.sf-cart-drawer[aria-hidden="false"] { pointer-events: auto; }
.sf-cart-drawer[aria-hidden="false"] .sf-cart-drawer__backdrop { opacity: 1; }
.sf-cart-drawer[aria-hidden="false"] .sf-cart-drawer__panel { transform: translateX(0); }

.sf-cart-drawer__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px; border-bottom: 1px solid #e5e9f0;
}
.sf-cart-drawer__head h2 {
    font-family: 'Exo 2', 'Montserrat', sans-serif; font-weight: 800;
    font-size: 1.15rem; text-transform: uppercase; color: #0F2140; margin: 0;
}
.sf-cart-drawer__close {
    font-family: var(--sf-font-body); /* v3.4.7: was falling back to Arial */
    background: none; border: none; font-size: 1.6rem; line-height: 1;
    color: #0F2140; cursor: pointer; padding: 4px 8px;
}
.sf-cart-drawer__lines { flex: 1; overflow-y: auto; padding: 8px 22px; }
.sf-cart-drawer__empty { text-align: center; padding: 48px 0; color: #4b5563; }
.sf-cart-drawer__empty .sf-btn { margin-top: 12px; display: inline-block; text-decoration: none; }

.sf-cart-line {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px 0; border-bottom: 1px solid #eef1f6;
}
.sf-cart-line.is-busy { opacity: 0.5; pointer-events: none; }
.sf-cart-line__img { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: #F8FAFC; flex-shrink: 0; }
.sf-cart-line__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-cart-line__info { flex: 1; min-width: 0; }
.sf-cart-line__title { display: block; font-weight: 700; font-size: 0.88rem; color: #0F2140; }
.sf-cart-line__variant { display: block; font-size: 0.78rem; color: #6b7280; margin-top: 2px; }
.sf-cart-line__attr {
    display: inline-block; font-size: 0.72rem; color: #386DB4; background: #EFF4FB;
    border-radius: 6px; padding: 2px 8px; margin-top: 6px;
}
.sf-cart-line__controls { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.sf-cart-line__qty { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #cbd5e1; border-radius: 8px; padding: 2px 8px; }
.sf-cart-line__qty span { min-width: 18px; text-align: center; font-weight: 700; font-size: 0.85rem; color: #0F2140; }
.sf-cart-line__qty-btn {
    background: none; border: none; cursor: pointer; font-size: 1rem;
    color: #386DB4; padding: 4px 6px; line-height: 1;
}
.sf-cart-line__qty-btn[disabled] { color: #cbd5e1; cursor: not-allowed; }
.sf-cart-line__remove {
    background: none; border: none; cursor: pointer; font-size: 0.78rem;
    color: #6b7280; text-decoration: underline; padding: 0;
}
.sf-cart-line__remove:hover { color: #dc2626; }
.sf-cart-line__price { font-weight: 800; font-size: 0.9rem; color: #0F2140; white-space: nowrap; }

.sf-cart-drawer__foot { border-top: 1px solid #e5e9f0; padding: 18px 22px; }
.sf-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.95rem; color: #0F2140; }
.sf-cart-drawer__subtotal strong { font-family: 'Exo 2', 'Montserrat', sans-serif; font-weight: 800; font-size: 1.1rem; }
.sf-cart-drawer__note { margin: 6px 0 14px; font-size: 0.78rem; color: #6b7280; }
#sf-cart-checkout { width: 100%; }
#sf-cart-checkout[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ══════════════ Savings display (v3.1.1) — compare-at RRP + save tag ══════════════ */
.sf-price-was { color: #9aa4b2; font-weight: 400; font-size: 0.82em; margin-right: 2px; }
.sf-save-tag {
    display: inline-block; font-size: 0.68em; font-weight: 800; letter-spacing: 0.04em;
    padding: 3px 8px; border-radius: 6px; vertical-align: middle;
    background: rgba(116, 196, 31, 0.14); color: #74C41F; /* deep lime on light */
}
.sf-grid--dark .sf-save-tag { background: rgba(134, 224, 38, 0.16); color: #86E026; } /* lime on dark */
.sf-grid--dark .sf-price-was { color: rgba(255, 255, 255, 0.45); }

/* ══════════════ Bundled subscription UX (ECM-2670, v3.2.0) ══════════════
   Dormant until ECM-2671 arms sub mode (paired product + no sub variants). */

/* Product page (live-price component): monitoring-subscription dropdown */
.sf-sub-select { margin-top: 10px; }
.sf-sub-select__label {
    display: block;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 6px;
}
.sf-live-price__select--sub { display: block; width: 100%; }

/* Quick-view modal: combined-total breakdown line */
.sf-modal__price-note {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 2px;
}
.sf-modal__option-group--sub select { width: 100%; }

/* Cart drawer: nested subscription row under its hardware line */
.sf-cart-line__sub {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 10px;
    border-left: 3px solid #86E026;
    background: #F6FBEF;
    border-radius: 0 8px 8px 0;
}
.sf-cart-line__sub-label {
    flex-basis: 100%;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #4d7c0f;
}
.sf-cart-line__sub-select {
    flex: 1;
    min-width: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    padding: 6px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #0F2140;
}
.sf-cart-line__sub-select[disabled] { color: #64748b; }
.sf-cart-line__sub-price { font-weight: 800; font-size: 0.8rem; color: #0F2140; white-space: nowrap; }
.sf-cart-line__sub-add {
    background: #86E026;
    color: #0F2140;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
}
.sf-cart-line__sub-add:hover { background: #74C41F; }
.sf-cart-line__sub--upsell { border-left-color: #cbd5e1; background: #F8FAFC; }
.sf-cart-line__sub--upsell .sf-cart-line__sub-label { color: #386DB4; }

/* ══════════ v3.4.0 — vehicle details in the cart drawer ══════════ */
.sf-cart-vehicle {
    margin: 0 0 12px 0;
    padding: 12px;
    background: #F8FAFC;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.sf-cart-vehicle__label {
    margin: 0 0 8px 0;
    font-size: 13px;
    font-weight: 700;
    color: #0F2140;
}
.sf-cart-vehicle__label span { font-weight: 400; color: #64748b; }
.sf-cart-vehicle__input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 8px 0;
    padding: 9px 10px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
}
.sf-cart-vehicle__input:last-of-type { margin-bottom: 0; }
.sf-cart-vehicle__input:focus { outline: 2px solid #386DB4; outline-offset: 0; border-color: #386DB4; }
.sf-cart-vehicle__input--reg { text-transform: uppercase; }
.sf-cart-vehicle--invalid .sf-cart-vehicle__input:placeholder-shown { border-color: #dc2626; }
.sf-cart-vehicle__error {
    margin: 8px 0 0 0;
    font-size: 13px;
    color: #dc2626;
}

/* ══════════════════════════════════════════════════════════════════
   Sticky mobile buy bar (v3.4.6)
   ------------------------------------------------------------------
   The product page's Add to Cart sits ~1,000px down — far below the fold
   on a phone. This keeps the buy action reachable at all times.

   Mobile only: on desktop the button is already visible in the hero, so
   the bar would just be clutter.
   ══════════════════════════════════════════════════════════════════ */

.sf-sticky-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900; /* under the modal/cart drawer, above page content */
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); /* iPhone home bar */
    background: var(--sf-navy, #0F2140);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -6px 24px rgba(15, 33, 64, 0.28);
}

/* The element is toggled with the hidden attribute, which display:flex would
   otherwise beat. */
.sf-sticky-buy[hidden] {
    display: none;
}

.sf-sticky-buy__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* lets the title actually truncate instead of pushing the button off */
    flex: 1 1 auto;
}

.sf-sticky-buy__title {
    font-family: var(--sf-font-body, 'Montserrat', sans-serif);
    font-size: 12px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sf-sticky-buy__price {
    font-family: var(--sf-font-heading, 'Exo 2', sans-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.sf-sticky-buy__price:empty {
    display: none;
}

/* 48px min-height deliberately: the in-page Add to Cart renders at 29px, which
   fails every touch-target guideline. The sticky one is the primary buy action
   on mobile, so it gets a proper target. */
.sf-sticky-buy__btn {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 12px 22px;
    font-family: var(--sf-font-body, 'Montserrat', sans-serif);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--sf-navy, #0F2140);
    background: var(--sf-lime, #86E026);
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sf-sticky-buy__btn:hover:not(:disabled),
.sf-sticky-buy__btn:focus-visible {
    background: var(--sf-lime-hover, #9EFF4D);
}

.sf-sticky-buy__btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Stop the bar covering the last of the page content while it's up. */
body.sf-has-sticky-buy {
    padding-bottom: 78px;
}

@media (min-width: 769px) {
    .sf-sticky-buy {
        display: none !important;
    }
    body.sf-has-sticky-buy {
        padding-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sf-sticky-buy__btn {
        transition: none;
    }
}

/* v3.7.0: the card title is a real link when a product page exists.
   It inherits the card's own styling rather than browser link defaults,
   so nothing changes visually; the gain is a crawlable, middle-clickable
   URL instead of a JavaScript-only modal. */
.sf-product-card__link {
    color: inherit;
    text-decoration: none;
}
.sf-product-card__link:hover,
.sf-product-card__link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.sf-product-card[data-page-url] { cursor: pointer; }
