/**
 * BD Shoppers storefront polish: brand, mobile UX, Core Web Vitals helpers.
 */
/* content-visibility on catalog cards made Cursor/Firefox paint a white gap
   under the header and felt like a hang on heavy BDShoppers homes. Disabled. */
.sf-catalog-below-fold {
    content-visibility: visible;
}

/* Do not apply content-visibility to .sf-defer-section: wrapping many home
   blocks made Firefox skip paint (white gap + dead UI on BDShoppers/Furnitex). */

/* GPU-friendly CSS marquees (no requestAnimationFrame / window drag listeners). */
@keyframes sf-marquee-scroll-right {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}
@keyframes sf-marquee-scroll-left {
    from { transform: translate3d(-50%, 0, 0); }
    to { transform: translate3d(0, 0, 0); }
}
.sf-css-marquee-track {
    animation: sf-marquee-scroll-right var(--sf-marquee-duration, 40s) linear infinite;
    will-change: transform;
}
.sf-css-marquee-track[data-dir="left"] {
    animation-name: sf-marquee-scroll-left;
}
.sf-css-marquee:hover .sf-css-marquee-track,
.sf-css-marquee:focus-within .sf-css-marquee-track {
    animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
    .sf-css-marquee-track {
        animation: none !important;
        transform: none !important;
    }
}

/* Equal-height product cards — all theme skins / column counts */
.sf-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 1rem;
    background-color: #fff;
}

.grid > .sf-product-card,
.grid > .sf-brand-card {
    height: 100%;
    align-self: stretch;
}

.grid:has(> .sf-product-card),
.grid:has(> * > .sf-product-card) {
    align-items: stretch;
}

.grid > *:has(> .sf-product-card),
.grid > *:has(> .sf-brand-card) {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

.sf-product-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex: 0 0 auto;
    width: 100%;
    background: #fafafa;
}

.sf-product-card-media > a {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
}

.sf-product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.sf-product-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    padding: 0.75rem;
}

@media (min-width: 640px) {
    .sf-product-card-body {
        padding: 1rem;
    }
}

.sf-product-card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.35;
    color: #18181b;
    min-height: calc(1.35em * 2);
}

.sf-product-card-rating {
    position: relative;
    z-index: 1;
    min-height: 1.125rem;
    margin-bottom: 0.375rem;
}

.sf-product-card-price {
    min-height: 2.75rem;
}

.sf-preorder-notice--card {
    min-height: 0;
    font-size: 0.625rem;
    line-height: 1.25;
    color: #92400e;
}

.sf-preorder-notice--card-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
}

.sf-preorder-notice--pdp {
    max-width: 100%;
}

.sf-preorder-note-html p,
.sf-preorder-note-html ul,
.sf-preorder-note-html ol {
    margin: 0.35em 0;
}

.sf-preorder-note-html p:first-child,
.sf-preorder-note-html ul:first-child,
.sf-preorder-note-html ol:first-child {
    margin-top: 0;
}

.sf-preorder-note-html a {
    text-decoration: underline;
    font-weight: 600;
}

.sf-product-card-actions {
    margin-top: auto;
    flex: 0 0 auto;
    padding: 0.75rem;
    border-top: 1px solid #f4f4f5;
}

.sf-card-btn-row {
    display: flex;
    flex-flow: row nowrap;
    gap: 0.375rem;
}

.sf-card-btn {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 2.5rem;
    flex: 1 1 0%;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0.5rem 0.25rem;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease;
}

.sf-card-btn:disabled {
    opacity: 0.5;
}

@media (min-width: 640px) {
    .sf-card-btn {
        font-size: 0.75rem;
    }
}

.sf-card-btn-secondary {
    border-radius: 0.5rem;
    border: 1px solid #e4e4e7;
    background: #fff;
    color: #27272a;
}

.sf-card-btn-secondary:hover {
    background: #fafafa;
}

.sf-card-btn-primary {
    border-radius: 0.5rem;
}

.group\/card {
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.group\/card:hover {
    transform: translateY(-1px);
}

.group\/card h3,
.group\/card .font-semibold {
    letter-spacing: -0.01em;
}

.sf-trust-pill {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sf-trust-pill:hover {
    border-color: #d4d4d8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sf-compare-table table th,
.sf-compare-table table td {
    vertical-align: middle;
}

.sf-pdp-mobile-bar button,
.sf-pdp-mobile-bar a {
    min-height: 44px;
}

@media (max-width: 639px) {
    .sf-pdp-mobile-bar ~ * {
        scroll-margin-bottom: 5.5rem;
    }

    body:has(.sf-pdp-mobile-bar) {
        padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    }

    .group\/card .min-h-\[2\.25rem\] {
        min-height: 44px;
    }
}

/* Reduce layout shift on hero */
[data-hero-carousel] img {
    background-color: #f4f4f5;
}

/* LCP-friendly product gallery */
.sf-product-gallery-main img {
    background-color: #f4f4f5;
}

/* ── Customer reviews section ── */
.sf-reviews-section {
    padding: 1.25rem 0 0.75rem;
    background: #f9fafb;
}
@media (min-width: 640px) {
    .sf-reviews-section {
        padding: 2rem 0 1.25rem;
    }
}

/* Match trust_badges / product_grid: Tailwind max-w-6xl = 72rem */
.sf-reviews-section-inner {
    width: 100%;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .sf-reviews-section-inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .sf-reviews-section-inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.sf-reviews-header {
    text-align: center;
    margin-bottom: 1rem;
}
@media (min-width: 640px) {
    .sf-reviews-header {
        margin-bottom: 1.5rem;
    }
}

.sf-reviews-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.sf-reviews-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 9999px;
    background: rgb(var(--sf-primary-rgb, 220 38 38) / 0.08);
    color: var(--sf-primary-text, #b91c1c);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
}

.sf-reviews-header .sf-reviews-count-pill {
    margin: 0 auto 0.65rem;
}

.sf-reviews-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.sf-verified-buyer {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 9999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
}

/* Equal-height review cards */
.sf-reviews-section .cr-track {
    align-items: stretch;
}

.sf-reviews-section .cr-item {
    display: flex;
}

.sf-reviews-section .cr-card {
    width: 100%;
}

.sf-reviews-view-all {
    text-align: center;
    margin-top: 0.75rem;
}

/* Live order social-proof toast (fixed bottom-left; must not sit in document flow / footer) */
.sf-live-order-toast {
    pointer-events: none;
    position: fixed;
    z-index: 70;
    left: 1rem;
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    gap: 0.7rem;
    max-width: min(22rem, calc(100vw - 2rem));
    padding: 0.65rem 0.85rem 0.65rem 0.65rem;
    border-radius: 0.9rem;
    border: 1px solid rgb(167 243 208);
    background: rgb(236 253 245 / 0.97);
    color: rgb(6 78 59);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    box-shadow: 0 12px 32px rgb(16 185 129 / 0.22), 0 2px 8px rgb(0 0 0 / 0.08);
    opacity: 0;
    transform: translateY(1rem) scale(0.98);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.2s ease;
}

@media (min-width: 640px) {
    .sf-live-order-toast {
        left: 1.5rem;
        bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    }
}

.sf-live-order-toast--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.sf-live-order-toast--clickable {
    pointer-events: auto;
    cursor: pointer;
}

.sf-live-order-toast--clickable:hover {
    box-shadow: 0 14px 36px rgb(16 185 129 / 0.28), 0 2px 10px rgb(0 0 0 / 0.1);
}

.sf-live-order-toast__img {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.55rem;
    object-fit: cover;
    background: #ecfdf5;
    border: 1px solid rgb(167 243 208 / 0.8);
}

.sf-live-order-toast__img[hidden] {
    display: none !important;
}

.sf-live-order-toast__dot {
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #10b981;
    box-shadow: 0 0 0 0 rgb(16 185 129 / 0.55);
    animation: sf-live-order-pulse 1.6s ease-out infinite;
}

.sf-live-order-toast__dot[hidden] {
    display: none !important;
}

.sf-live-order-toast__body {
    min-width: 0;
    flex: 1;
}

.sf-live-order-toast__text {
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes sf-live-order-pulse {
    0% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0.55); }
    70% { box-shadow: 0 0 0 0.55rem rgb(16 185 129 / 0); }
    100% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0); }
}

body.sf-popup-open .sf-live-order-toast,
body.sf-modal-open .sf-live-order-toast {
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

[x-cloak] {
    display: none !important;
}

/* All products collection chips: one swipe row on phones, a short wrap on desktop. */
.sf-catalog-chips {
    display: flex;
    gap: 0.4rem;
    margin-right: -1rem;
    margin-left: -1rem;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sf-catalog-chips::-webkit-scrollbar {
    display: none;
}

.sf-catalog-chip {
    flex: 0 0 auto;
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid #e4e4e7;
    border-radius: 999px;
    background: #fff;
    padding: 0.32rem 0.7rem;
    font-size: 0.75rem;
    line-height: 1.25;
    color: #3f3f46;
}

.sf-catalog-chip.is-active {
    border-color: var(--sf-primary, #18181b);
    background: var(--sf-primary, #18181b);
    color: #fff;
    font-weight: 600;
}

@media (min-width: 640px) {
    .sf-catalog-chips {
        margin-right: 0;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
    }
}

@media (min-width: 1024px) {
    .sf-catalog-chips {
        flex-wrap: wrap;
        overflow: visible;
    }
}

/* Mega menu: compact tile grid, opened under the trigger (Vite rebuild not required). */
.sf-mega-panel {
    width: max-content;
    max-width: min(52rem, calc(100vw - 2rem));
}

.sf-mega-grid {
    display: grid;
    gap: 0.65rem 0.75rem;
    max-width: min(52rem, calc(100vw - 2rem));
    max-height: min(22rem, calc(100vh - 8rem));
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.85rem;
}

.sf-search-suggest {
    position: absolute;
    top: calc(100% + 0.35rem);
    z-index: 120;
    min-width: 100%;
    max-height: min(24rem, 70vh);
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 18px 40px rgb(24 24 27 / 0.16), 0 0 0 1px rgb(24 24 27 / 0.08);
}

.sf-search-suggest__status {
    padding: 0.85rem 1rem;
    font-size: 0.8125rem;
    color: #71717a;
}

.sf-search-suggest__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    text-decoration: none;
    color: inherit;
}

.sf-search-suggest__item.is-active,
.sf-search-suggest__item:hover {
    background: rgb(var(--sf-primary-rgb, 24 24 27) / 0.08);
}

.sf-search-suggest__thumb {
    position: relative;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    overflow: hidden;
    border-radius: 0.55rem;
    border: 1px solid #e4e4e7;
    background: #f4f4f5;
}

.sf-search-suggest__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sf-search-suggest__placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #a1a1aa;
}

.sf-search-suggest__placeholder svg {
    width: 1.25rem;
    height: 1.25rem;
}

.sf-search-suggest__meta {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.sf-search-suggest__name {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: #18181b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sf-search-suggest__price {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sf-primary, #18181b);
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.sf-search-suggest__compare {
    font-weight: 500;
    color: #a1a1aa;
    text-decoration: line-through;
}

.sf-search-suggest__all {
    display: block;
    border-top: 1px solid #f4f4f5;
    padding: 0.7rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sf-primary, #18181b);
    text-decoration: none;
}

.sf-search-suggest__all.is-active,
.sf-search-suggest__all:hover {
    background: rgb(var(--sf-primary-rgb, 24 24 27) / 0.08);
}

/* Shop By Brands — do not rely on Tailwind max-h-* (often missing from compiled CSS) */
.sf-brand-showcase .sf-brand-tile,
.sf-brands-page .sf-brand-tile {
    overflow: hidden;
    background: #fff;
    min-width: 0;
}

@media (max-width: 639px) {
    .sf-brand-showcase-grid {
        grid-template-columns: repeat(var(--sf-brand-mobile-cols, 3), minmax(0, 1fr));
    }
}

.sf-brand-showcase-grid > .sf-brand-hidden,
.sf-brand-showcase-grid > .sf-brand-desktop-only {
    display: none;
}

@media (min-width: 640px) {
    .sf-brand-showcase-grid > .sf-brand-desktop-only {
        display: block;
    }

    .sf-brand-showcase-grid > .sf-brand-mobile-only {
        display: none;
    }
}

.sf-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 3.5rem;
    overflow: hidden;
    background: #fff;
}

.sf-brand-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 92%;
    max-height: 3.25rem;
    object-fit: contain;
    object-position: center;
}

@media (min-width: 640px) {
    .sf-brand-logo {
        height: 4rem;
    }

    .sf-brand-logo img {
        max-height: 3.75rem;
    }
}

/* Full-width logo strip: one row, N logos at a time, larger marks */
.sf-brand-showcase--strip {
    width: 100%;
    max-width: none;
    background: #fff;
    padding: 2.75rem 0 3rem;
    box-sizing: border-box;
}

.sf-brand-strip-head {
    width: min(72rem, calc(100% - 2rem));
    margin: 0 auto 1.75rem;
    text-align: center;
}

.sf-brand-strip-head h2,
.sf-brand-strip-head p {
    text-align: center;
}

.sf-brand-strip-frame {
    position: relative;
    width: 100%;
    padding: 0 3.75rem;
    box-sizing: border-box;
}

.sf-brand-strip-window {
    --sf-brand-per: var(--sf-brand-per-desktop, 6);
    overflow: hidden;
    width: 100%;
}

.sf-brand-strip-track {
    display: flex;
    align-items: center;
    transition: transform 0.45s cubic-bezier(.25, .46, .45, .94);
    will-change: transform;
}

.sf-brand-strip-item {
    flex: 0 0 calc(100% / var(--sf-brand-per, 6));
    width: calc(100% / var(--sf-brand-per, 6));
    max-width: calc(100% / var(--sf-brand-per, 6));
    min-width: 0;
    box-sizing: border-box;
    padding: 0 0.85rem;
}

body .sf-brand-showcase--strip .sf-brand-tile {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0.25rem 0.15rem;
    overflow: visible;
}

body .sf-brand-showcase--strip .sf-brand-logo {
    height: 8.75rem;
    background: transparent;
}

body .sf-brand-showcase--strip .sf-brand-logo img {
    max-width: 100%;
    max-height: 8.25rem;
    width: auto;
    height: auto;
}

.sf-brand-strip-nav {
    position: absolute;
    top: 46%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: -1.25rem;
    border: 1px solid #e4e4e7;
    border-radius: 999px;
    background: #fff;
    color: #18181b;
    cursor: pointer;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
}

.sf-brand-strip-nav--prev { left: 0.85rem; }
.sf-brand-strip-nav--next { right: 0.85rem; }

.sf-brand-strip-nav svg {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
}

.sf-brand-strip-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.35rem;
}

.sf-brand-strip-dots button {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d4d4d8;
    cursor: pointer;
}

.sf-brand-strip-dots button.is-active {
    width: 1.2rem;
    background: #18181b;
}

@media (max-width: 1023px) {
    .sf-brand-strip-window { --sf-brand-per: 3; }
    body .sf-brand-showcase--strip .sf-brand-logo { height: 6.5rem; }
    body .sf-brand-showcase--strip .sf-brand-logo img { max-height: 6rem; }
}

@media (max-width: 639px) {
    .sf-brand-strip-frame { padding: 0 2.75rem; }
    .sf-brand-strip-window { --sf-brand-per: 2; }
    .sf-brand-strip-item { padding: 0 0.35rem; }
    body .sf-brand-showcase--strip .sf-brand-logo { height: 7.25rem; }
    body .sf-brand-showcase--strip .sf-brand-logo img { max-height: 6.75rem; }
}

/* Collection pages/cards with no featured image — not a grey empty photo */
.sf-cat-noimg {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(120% 80% at 12% 8%, rgb(var(--sf-primary-rgb, 24 24 27) / 0.16) 0, transparent 52%),
        radial-gradient(90% 70% at 92% 96%, rgb(var(--sf-primary-rgb, 24 24 27) / 0.10) 0, transparent 48%),
        linear-gradient(165deg, var(--sf-primary-soft, #f4f4f5) 0%, #ffffff 46%, var(--sf-primary-soft, #f4f4f5) 100%);
}

.sf-cat-noimg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
    background-image:
        linear-gradient(90deg, rgb(24 24 27 / 0.05) 1px, transparent 1px),
        linear-gradient(rgb(24 24 27 / 0.05) 1px, transparent 1px);
    background-size: 1.5rem 1.5rem;
}

.sf-cat-noimg > * {
    position: relative;
    z-index: 1;
}

.sf-cat-noimg-locker {
    background:
        radial-gradient(120% 80% at 10% 0%, rgb(251 191 36 / 0.18) 0, transparent 50%),
        linear-gradient(165deg, #18181b 0%, #27272a 55%, #1c1917 100%);
    color: #fff;
}

.sf-cat-noimg-locker::before {
    opacity: 0.22;
    background-image:
        linear-gradient(90deg, rgb(255 255 255 / 0.08) 1px, transparent 1px),
        linear-gradient(rgb(255 255 255 / 0.08) 1px, transparent 1px);
}

.sf-cat-noimg-hero-mobile {
    border: 1px solid rgb(24 24 27 / 0.06);
    box-shadow: 0 10px 30px -18px rgb(24 24 27 / 0.35);
}

.sf-cat-noimg-hero-desktop {
    min-height: 22rem;
}

@media (min-width: 1024px) {
    .sf-cat-noimg-card .sf-cat-noimg-letter {
        box-shadow: 0 8px 20px -12px rgb(24 24 27 / 0.45);
    }
}

/* Product/checkout fill the same canvas as Home (boxed 1200px or full-width). */
.sf-pdp-page {
    width: 100%;
    background-color: #f4f4f5;
}
.sf-pdp-shell {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}
@media (min-width: 640px) {
    .sf-pdp-shell {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (min-width: 1024px) {
    .sf-pdp-shell {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
.sf-pdp-shell--standard,
.sf-pdp-shell--wide,
#storefront-app .sf-pdp-shell--standard,
#storefront-app .sf-pdp-shell--wide,
#storefront-app .sf-checkout-shell {
    max-width: 100% !important;
}

.sf-pdp-buy-layout {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.sf-pdp-media,
.sf-pdp-info {
    min-width: 0;
}
@media (min-width: 1024px) {
    .sf-pdp-buy-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2.5rem;
        align-items: start;
    }
    .sf-pdp-buy-layout--image-right .sf-pdp-media {
        order: 2;
    }
    .sf-pdp-buy-layout--image-right .sf-pdp-info {
        order: 1;
    }
}

.sf-showcase-card {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 32px -18px rgb(15 23 42 / 0.28);
    padding: 1.25rem;
}
@media (min-width: 640px) {
    .sf-showcase-card {
        padding: 1.5rem;
    }
}
.sf-showcase-layout {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    align-items: stretch;
}
@media (min-width: 1024px) {
    .sf-showcase-layout:not(.sf-showcase-layout--stacked) {
        display: grid;
        grid-template-columns: minmax(0, 32rem) minmax(0, 1fr);
        gap: 2rem;
        align-items: start;
    }
    .sf-showcase-layout--image-right:not(.sf-showcase-layout--stacked) .sf-showcase-media {
        order: 2;
    }
    .sf-showcase-layout--image-right:not(.sf-showcase-layout--stacked) .sf-showcase-info {
        order: 1;
    }
}
.sf-showcase-preview-thumbs {
    display: none;
    width: 6.5rem;
    flex-shrink: 0;
    flex-direction: column;
    gap: 0.5rem;
}
@media (min-width: 1024px) {
    .sf-showcase-preview-thumbs {
        display: flex;
    }
}
.sf-showcase-media {
    min-width: 0;
    max-width: 32rem;
}
.sf-showcase-info {
    min-width: 0;
}
.sf-product-gallery.sf-showcase-thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.sf-gallery-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
    width: 100%;
}
.sf-thumb-nav {
    display: none;
}
@media (min-width: 1024px) {
    .sf-product-gallery.sf-showcase-thumbs {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        gap: 0.75rem;
    }
    .sf-product-gallery.sf-showcase-thumbs .sf-gallery-row {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        gap: 0.85rem;
    }
    .sf-showcase-thumb-strip {
        position: relative;
        order: -1;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        flex: 0 0 6.5rem;
        width: 6.5rem;
        height: 22.5rem;
        max-height: 22.5rem;
        overflow: hidden;
    }
    .sf-showcase-thumb-track {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap !important;
        gap: 0.55rem;
        justify-content: flex-start;
        overflow-x: hidden;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .sf-showcase-thumb-track::-webkit-scrollbar {
        display: none;
    }
    .sf-showcase-thumb-track .sf-gallery-thumb,
    .sf-showcase-thumb-track .sf-gallery-thumb img {
        flex: 0 0 6.5rem;
        flex-shrink: 0;
        width: 6.5rem !important;
        height: 6.5rem !important;
        min-width: 6.5rem;
        min-height: 6.5rem;
        max-width: none;
    }
    .sf-thumb-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 0;
        right: 0;
        z-index: 6;
        height: 1.85rem;
        border: 0;
        padding: 0;
        cursor: pointer;
        color: #18181b;
    }
    .sf-thumb-nav svg {
        width: 1.35rem;
        height: 1.35rem;
        padding: 0.12rem;
        border-radius: 9999px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
    }
    .sf-thumb-nav--up {
        top: 0;
        background: linear-gradient(to bottom, #fff 42%, rgba(255, 255, 255, 0.82) 72%, transparent);
    }
    .sf-thumb-nav--down {
        bottom: 0;
        background: linear-gradient(to top, #fff 42%, rgba(255, 255, 255, 0.82) 72%, transparent);
    }
    .sf-thumb-nav:hover {
        color: var(--sf-primary, #18181b);
    }
    .sf-product-gallery.sf-showcase-thumbs .sf-showcase-main {
        flex: 0 0 22.5rem;
        width: 22.5rem;
        max-width: 22.5rem;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .sf-product-gallery.sf-showcase-thumbs--right .sf-showcase-thumb-strip {
        order: 1;
    }
    .sf-showcase-preview-thumbs {
        width: 6.5rem;
    }
}
/* Keep 3D/video swaps from pulling the page down via scroll anchoring. */
.sf-product-gallery,
.sf-model-viewer {
    overflow-anchor: none;
}
.sf-product-gallery .sf-gallery-thumb.is-loading-3d::after {
    content: '';
    position: absolute;
    inset: 6px;
    z-index: 20;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    pointer-events: none;
    animation: sf-gallery-3d-spin 0.75s linear infinite;
}
@keyframes sf-gallery-3d-spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .sf-product-gallery .sf-gallery-thumb.is-loading-3d::after {
        animation: none;
        border-top-color: rgba(255, 255, 255, 0.7);
    }
}
.sf-3d-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0;
    padding: 0.5rem 0.7rem;
    border-radius: 0.65rem;
    border: 1px solid #fcd34d;
    background: #fffbeb;
    color: #78350f;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    flex: 0 0 auto;
}
.sf-3d-disclaimer-icon {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.1rem;
    color: #d97706;
}
.sf-3d-ai-tag {
    position: absolute;
    left: 0.85rem;
    top: 0.85rem;
    z-index: 21;
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.55rem;
    border-radius: 9999px;
    background: #18181b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

/* Gallery thumbs: full rounded frame — not an offset ring (that looked like a black bar). */
.sf-product-gallery .sf-gallery-thumb {
    position: relative;
    border: 2px solid rgb(226 226 230);
    box-shadow: none;
    outline: none;
}
.sf-product-gallery .sf-gallery-thumb:hover:not(.is-active) {
    border-color: rgb(161 161 170);
}
.sf-product-gallery .sf-gallery-thumb.is-active {
    border-color: var(--sf-primary, #18181b);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--sf-primary, #18181b) 22%, transparent);
}
.sf-product-gallery .sf-gallery-thumb:focus-visible {
    outline: 2px solid var(--sf-primary, #18181b);
    outline-offset: 2px;
}

.sf-showcase-summary ul {
    margin: 0;
    padding-left: 1.15rem;
    list-style: disc;
}
.sf-showcase-summary ol {
    margin: 0;
    padding-left: 1.15rem;
    list-style: decimal;
}
.sf-showcase-summary li {
    margin: 0.15rem 0;
    line-height: 1.55;
}
.sf-showcase-summary p {
    margin: 0.2rem 0;
}
.sf-showcase-atc {
    background: #2f2f2f;
}
.sf-showcase-atc:hover {
    background: #1f1f1f;
}
.sf-showcase-buynow {
    background: var(--sf-primary, #18181b);
}
.sf-showcase-buynow:hover {
    filter: brightness(1.06);
}

/* PDP actions: qty stays left; enabled buttons fill a wrapping 2-col group (1/2/3/4). */
.sf-pdp-cta {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    width: 100%;
}
.sf-pdp-cta-qty {
    flex: 0 0 auto;
}
.sf-pdp-cta-actions {
    --sf-pdp-cta-gap: 0.625rem;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: stretch;
    gap: var(--sf-pdp-cta-gap);
    min-width: 0;
}
.sf-pdp-cta-actions > .sf-pdp-cta-cell {
    flex: 1 1 calc(50% - (var(--sf-pdp-cta-gap) / 2));
    box-sizing: border-box;
    margin: 0;
    min-width: 0;
}
.sf-pdp-cta-actions > .sf-pdp-cta-cell > button {
    width: 100%;
}

/* Keep collection cards a consistent 5-across size. Growing leftover last-row
   cards fills empty space when 2–4 remain, but a single leftover (e.g. 11th
   of 11) becomes a full-width tile. */
@media (min-width: 1024px) {
    #storefront-app .sf-collections-tiles {
        display: flex;
        flex-wrap: wrap;
        gap: 0.875rem;
        grid-template-columns: none;
    }
    #storefront-app .sf-collections-tiles > .sf-collections-card {
        flex: 0 0 calc((100% - 3.5rem) / 5);
        width: calc((100% - 3.5rem) / 5);
        max-width: calc((100% - 3.5rem) / 5);
        min-width: calc((100% - 3.5rem) / 5);
        box-sizing: border-box;
    }
}

/* Compact product marquee (collections-sized tiles, auto-scroll, no scrollbar). */
[data-product-slider] {
    --sf-ps-mobile: 8.75rem;
    --sf-ps-desktop: 10rem;
}
[data-product-slider] [data-product-slider-card] {
    width: var(--sf-ps-mobile);
    min-width: 0;
    box-sizing: border-box;
}
@media (min-width: 640px) {
    [data-product-slider] [data-product-slider-card] {
        width: var(--sf-ps-desktop);
    }
}
[data-product-slider] .sf-product-marquee-media {
    aspect-ratio: 1 / 1;
    width: 100%;
}

/* Product-grid sliders use the same card width as that section's grid columns. */
[data-product-grid-slider] {
    container-type: inline-size;
    --sf-grid-gap: 1.5rem;
    --sf-slider-cols: var(--sf-m, 2);
}
@media (min-width: 640px) {
    [data-product-grid-slider] {
        --sf-slider-cols: var(--sf-sm, var(--sf-m, 2));
    }
}
@media (min-width: 768px) {
    [data-product-grid-slider] {
        --sf-slider-cols: var(--sf-md, var(--sf-sm, var(--sf-m, 2)));
    }
}
@media (min-width: 1024px) {
    [data-product-grid-slider] {
        --sf-slider-cols: var(--sf-lg, var(--sf-md, var(--sf-sm, var(--sf-m, 2))));
    }
}
[data-product-slider][data-product-grid-slider] [data-product-slider-card] {
    flex: 0 0 auto;
    width: calc((100cqi - (var(--sf-grid-gap) * (var(--sf-slider-cols) - 1))) / var(--sf-slider-cols));
    min-width: calc((100cqi - (var(--sf-grid-gap) * (var(--sf-slider-cols) - 1))) / var(--sf-slider-cols));
    max-width: none;
}

/* Storewide announcement / top bar (theme header settings). */
/* min-width:0 + max-width:100% — #storefront-app is flex-col; without this the
   marquee track (width:max-content) forces the whole page wider than the viewport. */
.sf-announce {
    --sf-announce-duration: 18s;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}
.sf-announce__viewport {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.sf-announce__track {
    display: flex;
    width: max-content;
    max-width: none;
    align-items: center;
    will-change: transform;
}
.sf-announce__item {
    flex: 0 0 auto;
    padding: 0 2.5rem;
    white-space: nowrap;
}
/* Keep custom header builder + tools inside the phone viewport. */
#storefront-app > header,
#storefront-app .sf-header-chrome,
#storefront-app .sf-header-row {
    max-width: 100%;
    min-width: 0;
}
@media (max-width: 767px) {
    body.sf-skin-gadgets #storefront-app > header,
    #storefront-app > header {
        overflow-x: clip;
    }
    #storefront-app .sf-header-row {
        gap: 0.5rem;
    }
    #storefront-app .sf-header-col {
        min-width: 0;
    }
}
.sf-announce--marquee .sf-announce__track {
    animation: sf-announce-marquee var(--sf-announce-duration) linear infinite;
}
.sf-announce--marquee_right .sf-announce__track {
    animation: sf-announce-marquee var(--sf-announce-duration) linear infinite reverse;
}
.sf-announce--marquee:hover .sf-announce__track,
.sf-announce--marquee_right:hover .sf-announce__track {
    animation-play-state: paused;
}
.sf-announce--pulse,
.sf-announce__copy.sf-announce--pulse {
    animation: sf-announce-pulse var(--sf-announce-duration) ease-in-out infinite;
}
.sf-announce--fade,
.sf-announce__copy.sf-announce--fade {
    animation: sf-announce-fade var(--sf-announce-duration) ease-in-out infinite;
}
@keyframes sf-announce-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-33.333%); }
}
@keyframes sf-announce-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}
@keyframes sf-announce-fade {
    0%, 100% { opacity: 1; }
    45%, 55% { opacity: 0.12; }
}
@media (prefers-reduced-motion: reduce) {
    .sf-announce--marquee .sf-announce__track,
    .sf-announce--marquee_right .sf-announce__track,
    .sf-announce--pulse,
    .sf-announce__copy.sf-announce--pulse,
    .sf-announce--fade,
    .sf-announce__copy.sf-announce--fade {
        animation: none !important;
    }
    .sf-announce__item {
        white-space: normal;
    }
}

/* Homepage scrolling text section (theme editor → Scrolling text). */
.sf-scroll-text {
    display: block;
    overflow: hidden;
    border-radius: 999px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
    text-decoration: none;
}
.sf-scroll-text__viewport {
    overflow: hidden;
    width: 100%;
}
.sf-scroll-text__track {
    display: flex;
    width: max-content;
    animation: sf-scroll-text var(--sf-scroll-duration, 22s) linear infinite;
}
.sf-scroll-text--right .sf-scroll-text__track {
    animation-direction: reverse;
}
.sf-scroll-text--pause:hover .sf-scroll-text__track {
    animation-play-state: paused;
}
.sf-scroll-text__group {
    display: flex;
    align-items: center;
    gap: 2.75rem;
    padding: 0.55rem 0 0.55rem 2.75rem;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.4;
}
@keyframes sf-scroll-text {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.sf-tool-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.sf-tool-icon svg,
.sf-tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (min-width: 768px) {
    .sf-header-offers-link.hidden {
        display: inline-flex;
    }
}
.sf-store-visit {
    padding: 10px 16px 6px;
}
@media (min-width: 1024px) {
    .sf-store-visit {
        padding-left: 0;
        padding-right: 0;
    }
}
.sf-store-visit__band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-sizing: border-box;
    min-height: 135px;
    padding: 30px;
    border-radius: 5px;
    color: #fff;
}
.sf-store-visit__info {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.sf-store-visit__pin {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 52px;
    color: #fff;
}
.sf-store-visit__pin svg {
    width: 42px;
    height: 42px;
}
.sf-store-visit__title {
    margin: 0;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
}
.sf-store-visit__address {
    margin: 4px 0 0;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}
.sf-store-visit__btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 58px;
    padding: 17px 50px;
    border-radius: 50px;
    color: #081621;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
}
.sf-store-visit__btn svg {
    width: 22px;
    height: 22px;
}
@media (max-width: 767px) {
    .sf-store-visit__band {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
        padding: 20px;
    }
    .sf-store-visit__title {
        font-size: 22px;
        line-height: 28px;
    }
    .sf-store-visit__address {
        font-size: 15px;
        line-height: 22px;
    }
    .sf-store-visit__btn {
        min-height: 48px;
        padding: 12px 28px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .sf-scroll-text__track {
        animation: none;
    }
    .sf-scroll-text__group + .sf-scroll-text__group {
        display: none;
    }
    .sf-scroll-text__group {
        white-space: normal;
        padding-right: 1rem;
    }
}

/* Soft color + shadow cards — no hard box borders */
body #storefront-app .sf-product-card,
body #storefront-app .sf-category-grid-card,
body #storefront-app .sf-trust-row-item,
body #storefront-app .sf-trust-pill,
body #storefront-app .sf-collections-card {
    border: 0 !important;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08) !important;
    background-color: #fff;
}
body #storefront-app .sf-product-card:hover,
body #storefront-app .sf-category-grid-card:hover,
body #storefront-app .sf-collections-card:hover {
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.12) !important;
}
body #storefront-app .sf-preorder-grid-band {
    border: 0 !important;
    box-shadow: 0 16px 48px rgba(245, 158, 11, 0.12) !important;
}
body #storefront-app .sf-preorder-highlight {
    backdrop-filter: blur(8px);
}
body #storefront-app .sf-preorder-icon svg {
    display: block;
}
body.sf-skin-minimal #storefront-app .sf-product-card,
body.sf-skin-minimal #storefront-app .sf-category-grid-card {
    box-shadow: none !important;
}
/* Gadget Monkey only. The shared gadgets skin keeps the card shadow. */
body.sf-look-gadget-monkey #storefront-app .sf-category-grid-card,
body.sf-look-gadget-monkey #storefront-app .sf-category-grid-card:hover,
body.sf-look-gadget-monkey #storefront-app .sf-collections-card,
body.sf-look-gadget-monkey #storefront-app .sf-collections-card:hover {
    border: 0 !important;
    box-shadow: none !important;
    transform: none;
}

/* Thin catalogs: pack leftover cards in the center instead of empty columns. */
#storefront-app .sf-sparse-pack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
#storefront-app .sf-sparse-pack > * {
    width: min(100%, 17.5rem);
}
#storefront-app .sf-category-grid[data-card-style="icon"] .sf-sparse-pack > *,
#storefront-app .sf-sparse-pack--categories > * {
    width: 8.75rem;
}
#storefront-app .sf-flash-sale .sf-sparse-pack > * {
    width: min(100%, 17.5rem);
}

.sf-owner-setup-bar {
    border-bottom: 1px solid rgb(191 219 254);
    background: #eff6ff;
}
.sf-owner-setup-bar a {
    text-decoration: none;
}
/* Tailwind may omit sky-700 on the storefront bundle; text-white then sits on the pale bar. */
.sf-owner-setup-bar__copy {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #0c4a6e;
}
#storefront-app .sf-owner-setup-bar .sf-owner-setup-bar__btn,
.sf-owner-setup-bar .sf-owner-setup-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
}
#storefront-app .sf-owner-setup-bar .sf-owner-setup-bar__btn--primary,
.sf-owner-setup-bar .sf-owner-setup-bar__btn--primary {
    background: #0369a1;
    color: #fff;
}
#storefront-app .sf-owner-setup-bar .sf-owner-setup-bar__btn--primary:hover,
.sf-owner-setup-bar .sf-owner-setup-bar__btn--primary:hover {
    background: #075985;
    color: #fff;
}
#storefront-app .sf-owner-setup-bar .sf-owner-setup-bar__btn--secondary,
.sf-owner-setup-bar .sf-owner-setup-bar__btn--secondary {
    background: #fff;
    border-color: #7dd3fc;
    color: #0c4a6e;
}
#storefront-app .sf-owner-setup-bar .sf-owner-setup-bar__btn--secondary:hover,
.sf-owner-setup-bar .sf-owner-setup-bar__btn--secondary:hover {
    background: #f0f9ff;
    color: #0c4a6e;
}
#storefront-app .sf-owner-setup-bar .sf-owner-setup-bar__btn--ghost,
.sf-owner-setup-bar .sf-owner-setup-bar__btn--ghost {
    background: transparent;
    color: #075985;
}
#storefront-app .sf-owner-setup-bar .sf-owner-setup-bar__btn--ghost:hover,
.sf-owner-setup-bar .sf-owner-setup-bar__btn--ghost:hover {
    background: #e0f2fe;
    color: #075985;
}

/* Offer card "View Details" — the Tailwind arbitrary background is not in the built CSS, so the label stayed white on a white card. */
a.sf-offer-card__button {
    background-color: var(--sf-primary, #18181b);
    color: #fff;
    text-decoration: none;
}
a.sf-offer-card__button:hover {
    color: #fff;
    opacity: 0.92;
}

/* Storefront loaders. One job each: page change, empty media, button action, search / load-more. */
[x-persist="sf-nav-progress"] {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    overflow: visible;
    z-index: 100000;
}
.sf-nav-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    width: 100%;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left center;
    background: var(--sf-primary, #18181b);
    pointer-events: none;
    opacity: 0;
}
.sf-nav-progress.is-on {
    opacity: 1;
    transition: transform 0.2s linear;
}
.sf-nav-progress.is-done {
    opacity: 0;
    transition: transform 0.15s linear, opacity 0.2s linear 0.15s;
}

.sf-btn-busy::before {
    content: "";
    display: inline-block;
    width: 0.85em;
    height: 0.85em;
    margin-right: 0.4em;
    vertical-align: -0.12em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    animation: sf-spin 0.6s linear infinite;
}

.sf-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    min-height: 1em;
    color: currentColor;
}
.sf-dots i {
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 999px;
    background: currentColor;
    animation: sf-dot 1s infinite ease-in-out;
}
.sf-dots i:nth-child(2) { animation-delay: 0.15s; }
.sf-dots i:nth-child(3) { animation-delay: 0.3s; }

.sf-product-card-media.sf-shimmer-frame,
.sf-shimmer-frame {
    /* Static placeholder — animated shimmer made grids feel stuck loading. */
    background-color: #f4f4f5;
    background-image: none;
    animation: none;
}
.sf-product-card-media.sf-shimmer-frame.is-ready,
.sf-shimmer-frame.is-ready {
    animation: none;
    background-image: none;
    background-color: #fafafa;
}
.sf-product-card-media img.sf-product-card-img {
    /* Avoid a blank media box while the decode finishes. */
    background-color: #fff;
}

.sf-grid-busy {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.15s linear;
}

.sf-skeleton-block,
.sf-skeleton-line {
    display: block;
    overflow: hidden;
    background-color: #ececee;
    background-image: linear-gradient(90deg, #ececee 0%, #f8f8f9 40%, #e4e4e7 50%, #f8f8f9 60%, #ececee 100%);
    background-size: 220% 100%;
    animation: sf-shimmer 1.15s ease-in-out infinite;
}
.sf-product-card-media.sf-skeleton-block {
    background-color: #ececee;
}
.sf-skeleton-line {
    height: 0.72rem;
    width: 86%;
    border-radius: 999px;
}
.sf-skeleton-line + .sf-skeleton-line {
    margin-top: 0.5rem;
}
.sf-skeleton-line--short {
    width: 42%;
}
.sf-search-suggest__thumb.sf-skeleton-block {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    border-radius: 0.5rem;
}
.sf-search-suggest__item:has(.sf-skeleton-block) {
    pointer-events: none;
}
/* Skeletons stay off — product grids keep layout with .sf-grid-busy opacity instead of display:none
   (hiding the grid made columns look squeezed to the left on the next paint). */
.sf-skeleton-grid {
    display: none !important;
    margin-top: 1.5rem;
}

@keyframes sf-spin {
    to { transform: rotate(360deg); }
}
@keyframes sf-dot {
    0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
}
@keyframes sf-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .sf-nav-progress,
    .sf-btn-busy::before,
    .sf-dots i,
    .sf-shimmer-frame,
    .sf-product-card-media.sf-shimmer-frame,
    .sf-skeleton-block,
    .sf-skeleton-line {
        animation: none !important;
        transition: none !important;
    }
}


