body {
    background: #ffffff;
    color: #1f1f39;
}

.sf-header-shell {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.94);
}

.sf-nav-mega {
    top: 72px;
}

.sf-hidden {
    display: none !important;
}

.sf-inline-button {
    width: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.sf-banner-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x proximity;
}

.sf-banner-track::-webkit-scrollbar {
    height: 8px;
}

.sf-banner-track::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(160, 163, 189, 0.45);
}

.sf-banner-slide {
    min-width: min(100%, 100%);
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.sf-banner-slide img {
    aspect-ratio: 2.82 / 1;
    object-fit: cover;
}

.sf-banner-panel {
    display: grid;
    gap: 2rem;
    overflow: hidden;
    border-radius: 1rem;
    padding: 1.75rem;
    background:
        radial-gradient(circle at top left, rgba(253, 139, 14, 0.12), transparent 36%),
        linear-gradient(135deg, #fff4f1 0%, #fff9f4 52%, #ffffff 100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.04);
}

.sf-banner-copy h1 {
    max-width: 14ch;
    margin: 0 0 1rem;
    font-size: 2rem;
    line-height: 1.05;
    font-weight: 800;
}

.sf-banner-copy p {
    max-width: 58ch;
    margin: 0 0 1.5rem;
    color: #6e7191;
    font-weight: 500;
}

.sf-banner-kicker {
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(253, 139, 14, 0.12);
    color: rgb(var(--primary));
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sf-secondary-pill {
    min-height: 3rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(253, 139, 14, 0.16);
    border-radius: 999px;
    background: #ffffff;
    color: #1f1f39;
    font-weight: 700;
    transition: all 0.3s ease;
}

.sf-secondary-pill:hover {
    border-color: rgb(var(--primary));
    color: rgb(var(--primary));
}

.sf-stat-chip {
    padding: 1rem;
    border: 1px solid rgba(217, 219, 233, 0.7);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
}

.sf-stat-chip strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 800;
}

.sf-stat-chip span {
    color: #6e7191;
    font-size: 0.85rem;
    font-weight: 600;
}

.sf-banner-media {
    position: relative;
    min-height: 280px;
    border-radius: 1rem;
    overflow: hidden;
    background: #ffffff;
}

.sf-banner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-banner-floating {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    padding: 1rem 1.125rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(23, 31, 70, 0.12);
}

.sf-banner-floating-label {
    margin-bottom: 0.5rem;
    color: rgb(var(--primary));
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sf-banner-floating strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
    line-height: 1.2;
}

.sf-banner-floating p,
.sf-banner-floating small {
    color: #6e7191;
    font-weight: 500;
}

.sf-scroll-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x proximity;
}

.sf-scroll-row::-webkit-scrollbar {
    height: 8px;
}

.sf-scroll-row::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(160, 163, 189, 0.45);
}

.sf-scroll-card {
    min-width: 96px;
    flex: 0 0 96px;
    scroll-snap-align: start;
}

.sf-scroll-card.is-active,
.sf-scroll-card:hover,
.sf-brand-scroll-card:hover {
    box-shadow: 0 8px 40px rgba(23, 31, 70, 0.08);
}

.sf-brand-scroll-card {
    min-width: 120px;
    flex: 0 0 120px;
    scroll-snap-align: start;
}

.sf-promo-panel {
    display: block;
    overflow: hidden;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sf-promo-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(23, 31, 70, 0.08);
}

.sf-promo-image {
    width: 100%;
    aspect-ratio: 1.61 / 1;
    object-fit: cover;
}

.sf-promo-copy {
    display: block;
    padding: 1rem 1rem 1.15rem;
}

.sf-promo-copy strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 700;
}

.sf-promo-copy small {
    color: #6e7191;
    font-size: 0.9rem;
    font-weight: 500;
}

.sf-product-cover {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f8fafc;
}

.sf-product-summary-copy {
    min-height: 3rem;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sf-benefit-icon {
    width: 1.75rem;
    height: 1.75rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgb(var(--primary));
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.75rem;
    text-align: center;
}

.sf-inline-feedback {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.sf-inline-feedback[data-tone="error"] {
    background: #fef2f2;
    color: #b91c1c;
}

.sf-inline-feedback[data-tone="success"] {
    background: #f0fdf4;
    color: #15803d;
}

.sf-inline-feedback[data-tone="info"],
#storefront-loading {
    background: #eff6ff;
    color: #1d4ed8;
}

.sf-empty-state {
    padding: 1rem 1.1rem;
    border: 1px dashed #d9dbe9;
    border-radius: 1rem;
    background: #fafafa;
    color: #6e7191;
    font-size: 0.95rem;
    font-weight: 500;
}

.sf-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sf-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.sf-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: min(460px, 100%);
    height: 100dvh;
    padding: 1.25rem;
    background: #ffffff;
    box-shadow: -24px 0 48px rgba(15, 23, 42, 0.16);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
}

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

.sf-sheet-head,
.sf-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sf-sheet-close {
    min-width: 4.5rem;
    padding: 0.7rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
}

.sf-sheet-close:hover {
    border-color: rgb(var(--primary));
    color: rgb(var(--primary));
}

.sf-sheet-outlet {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgb(var(--primary-slate));
}

.sf-sheet-outlet strong {
    display: block;
    margin-bottom: 0.35rem;
}

.sf-sheet-outlet span {
    color: #6e7191;
    font-size: 0.9rem;
}

.sf-cart-items {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.sf-cart-item {
    display: flex;
    gap: 0.9rem;
    padding: 0.9rem;
    border: 1px solid #eff0f6;
    border-radius: 1rem;
}

.sf-cart-thumb {
    width: 72px;
    min-width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 0.9rem;
    background: #f8fafc;
}

.sf-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-cart-copy {
    flex: 1;
}

.sf-cart-copy strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.sf-cart-copy > span {
    color: #6e7191;
    font-size: 0.85rem;
    font-weight: 500;
}

.sf-cart-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.75rem;
}

.sf-remove-link {
    color: rgb(var(--primary));
    font-size: 0.9rem;
    font-weight: 700;
}

.sf-sheet-section {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px solid #eff0f6;
    border-radius: 1rem;
}

.sf-sheet-section h3 {
    margin-bottom: 0.9rem;
    font-size: 1rem;
    font-weight: 700;
}

.sf-toggle-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.sf-toggle-pill {
    padding: 0.85rem 1rem;
    border: 1px solid #d9dbe9;
    border-radius: 999px;
    background: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.sf-toggle-pill.is-active {
    border-color: rgb(var(--primary));
    background: rgb(var(--primary));
    color: #ffffff;
}

.sf-textarea {
    min-height: 6.5rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    resize: vertical;
}

.sf-sheet-footer {
    margin-top: auto;
    padding: 1rem;
    border-radius: 1rem;
    background: #fafafa;
}

.sf-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.sf-modal.is-open {
    display: flex;
}

.sf-modal-panel {
    width: min(920px, 100%);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
}

.sf-modal-grid {
    display: grid;
    gap: 1.5rem;
}

.sf-modal-media {
    overflow: hidden;
    border-radius: 1rem;
    background: #f8fafc;
}

.sf-modal-media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.sf-modal-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.sf-qty {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem;
    border: 1px solid #d9dbe9;
    border-radius: 999px;
}

.sf-qty button {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: rgb(var(--primary-slate));
    color: rgb(var(--primary));
    font-size: 1rem;
    font-weight: 700;
}

.sf-qty span {
    min-width: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.sf-variant-groups {
    display: grid;
    gap: 1rem;
}

.sf-variant-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.sf-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.sf-chip {
    padding: 0.7rem 1rem;
    border: 1px solid #d9dbe9;
    border-radius: 999px;
    background: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sf-chip.is-selected {
    border-color: rgb(var(--primary));
    background: rgb(var(--primary));
    color: #ffffff;
}

.sf-chip.is-disabled,
.sf-chip:disabled {
    opacity: 0.55;
}

.sf-track-result {
    margin-top: 1.25rem;
}

.sf-track-summary {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgb(var(--primary-slate));
}

.sf-track-summary strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.sf-track-summary p {
    color: #6e7191;
    font-size: 0.9rem;
    font-weight: 500;
}

.sf-track-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.9rem;
}

.sf-status-pill {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.sf-status-pill--success {
    background: #dcfce7;
    color: #15803d;
}

.sf-status-pill--warning {
    background: #fef3c7;
    color: #b45309;
}

.sf-status-pill--danger {
    background: #fee2e2;
    color: #b91c1c;
}

.sf-status-pill--accent {
    background: #dbeafe;
    color: #1d4ed8;
}

.sf-status-pill--neutral {
    background: #f1f5f9;
    color: #475569;
}

.sf-timeline {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.sf-track-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid #eff0f6;
    border-radius: 1rem;
}

.sf-track-step.is-active {
    border-color: rgba(253, 139, 14, 0.22);
    background: rgba(253, 139, 14, 0.04);
}

.sf-track-step.is-current {
    box-shadow: 0 0 0 2px rgba(253, 139, 14, 0.12) inset;
}

.sf-track-step-marker {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgb(var(--primary));
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 2rem;
    text-align: center;
}

.sf-track-step p,
.sf-track-item p,
.sf-track-row span {
    color: #6e7191;
    font-size: 0.9rem;
}

.sf-track-item,
.sf-track-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #eff0f6;
}

.sf-track-item:last-child,
.sf-track-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sf-track-item strong,
.sf-track-row strong {
    display: block;
}

.sf-fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 55;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    background: rgb(var(--primary));
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(253, 139, 14, 0.28);
    font-size: 0.95rem;
    font-weight: 700;
}

.sf-fab span:last-child {
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    line-height: 1.5rem;
    text-align: center;
}

.sf-toast {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 80;
    min-width: min(420px, calc(100% - 2rem));
    max-width: calc(100% - 2rem);
    padding: 0.9rem 1rem;
    border-radius: 999px;
    transform: translateX(-50%);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.16);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.sf-toast[data-tone="success"] {
    background: #16a34a;
    color: #ffffff;
}

.sf-toast[data-tone="error"] {
    background: #dc2626;
    color: #ffffff;
}

.sf-toast[data-tone="info"] {
    background: #0f172a;
    color: #ffffff;
}

.sf-skeleton-card {
    padding: 0.9rem;
    border: 1px solid #eff0f6;
    border-radius: 1rem;
    background: #ffffff;
}

.sf-skeleton-media,
.sf-skeleton-line {
    background: linear-gradient(90deg, #eef2f7 25%, #f7f8fb 37%, #eef2f7 63%);
    background-size: 400% 100%;
    animation: sf-shimmer 1.4s ease infinite;
}

.sf-skeleton-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 0.9rem;
    border-radius: 1rem;
}

.sf-skeleton-line {
    height: 0.9rem;
    margin-bottom: 0.65rem;
    border-radius: 999px;
}

.sf-skeleton-line--short {
    width: 55%;
}

@keyframes sf-shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}

@media (min-width: 640px) {
    .sf-banner-panel {
        padding: 2rem;
    }

    .sf-banner-copy h1 {
        font-size: 2.85rem;
    }

    .sf-scroll-card {
        min-width: 0;
        flex: 1 1 0;
    }

    .sf-brand-scroll-card {
        min-width: 160px;
        flex: 0 0 160px;
    }

    .sf-modal-panel {
        padding: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .sf-banner-panel {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        align-items: center;
        padding: 2.5rem;
    }

    .sf-modal-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
    }
}

@media (max-width: 639px) {
    .sf-drawer,
    .sf-modal-panel {
        padding: 1rem;
    }

    .sf-sheet-footer {
        margin-bottom: 0.5rem;
    }
}
