
/* =========================================================
   STOREXY CATEGORY CAROUSEL
========================================================= */

.sf-category-carousel-section {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.sf-category-carousel-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.sf-category-carousel-heading .sf-section-head {
    margin-bottom: 0;
}

.sf-category-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 11px 16px;
    border: 1px solid var(--sf-primary, #ec1976);
    border-radius: 999px;
    color: var(--sf-primary, #ec1976);
    background: var(--store-surface, #fff);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.sf-category-view-all svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.sf-category-view-all:hover {
    color: #fff;
    background: var(--sf-primary, #ec1976);
    transform: translateY(-2px);
}

.sf-category-carousel-shell {
    position: relative;
}

.sf-category-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding: 8px 2px 18px;
}

.sf-category-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.sf-category-carousel-viewport:focus-visible {
    outline: 2px solid var(--sf-primary, #ec1976);
    outline-offset: 4px;
    border-radius: 12px;
}

.sf-category-carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(118px, 15%, 175px);
    gap: clamp(14px, 2vw, 28px);
    width: max-content;
    min-width: 100%;
}

.sf-category-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 8px 8px 15px;
    color: var(--store-heading, #202020);
    text-align: center;
    text-decoration: none;
    scroll-snap-align: start;
    border-radius: 18px;
    transition:
        transform .28s ease,
        background .28s ease;
}

.sf-category-tile:hover {
    transform: translateY(-4px);
    background: var(--store-surface, #fff);
}

.sf-category-icon-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(78px, 8vw, 108px);
    aspect-ratio: 1;
    border-radius: 50%;
    isolation: isolate;
    background:
        linear-gradient(
            145deg,
            color-mix(in srgb, var(--sf-primary, #ec1976) 13%, white),
            color-mix(in srgb, var(--sf-secondary, #7445d8) 14%, white)
        );
    border: 1px solid
        color-mix(in srgb, var(--sf-primary, #ec1976) 18%, transparent);
    box-shadow:
        0 8px 24px
        color-mix(in srgb, var(--sf-primary, #ec1976) 9%, transparent),
        inset 0 1px 0 rgba(255,255,255,.8);
    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        box-shadow .35s ease,
        border-color .35s ease;
}

.sf-category-icon {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 72%;
    aspect-ratio: 1;
    color: var(--sf-primary, #ec1976);
}

.sf-category-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.sf-category-icon-glow {
    position: absolute;
    z-index: -1;
    inset: 12%;
    border-radius: 50%;
    background: var(--sf-secondary, #7445d8);
    opacity: .12;
    filter: blur(15px);
    transition:
        opacity .35s ease,
        transform .35s ease;
}

.sf-category-tile:hover .sf-category-icon-wrap {
    transform: translateY(-3px) scale(1.045);
    border-color: var(--sf-primary, #ec1976);
    box-shadow:
        0 14px 32px
        color-mix(in srgb, var(--sf-primary, #ec1976) 18%, transparent),
        inset 0 1px 0 rgba(255,255,255,.9);
}

.sf-category-tile:hover .sf-category-icon-glow {
    opacity: .3;
    transform: scale(1.2);
}

.sf-category-tile-name {
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    color: var(--store-heading, #202020);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sf-category-tile-arrow {
    position: absolute;
    right: 3px;
    top: 3px;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    color: var(--sf-primary, #ec1976);
    background: var(--store-surface, #fff);
    opacity: 0;
    transform: translate(-3px, 3px);
    transition:
        opacity .25s ease,
        transform .25s ease;
}

.sf-category-tile-arrow svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.sf-category-tile:hover .sf-category-tile-arrow,
.sf-category-tile:focus-visible .sf-category-tile-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

.sf-category-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 12px;
}

.sf-category-carousel-arrow {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    padding: 0;
    border: 1px solid
        color-mix(in srgb, var(--sf-primary, #ec1976) 20%, transparent);
    border-radius: 50%;
    color: var(--sf-primary, #ec1976);
    background: var(--store-surface, #fff);
    cursor: pointer;
    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease,
        opacity .25s ease;
}

.sf-category-carousel-arrow svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.sf-category-carousel-arrow[data-category-prev] svg {
    transform: rotate(180deg);
}

.sf-category-carousel-arrow:hover:not(:disabled) {
    color: #fff;
    background: var(--sf-primary, #ec1976);
    border-color: var(--sf-primary, #ec1976);
    transform: translateY(-2px);
}

.sf-category-carousel-arrow:disabled {
    opacity: .3;
    cursor: default;
}

.sf-category-carousel-progress {
    position: relative;
    overflow: hidden;
    width: min(180px, 28vw);
    height: 4px;
    border-radius: 999px;
    background: color-mix(
        in srgb,
        var(--sf-primary, #ec1976) 12%,
        transparent
    );
}

.sf-category-carousel-progress span {
    display: block;
    width: var(--sf-category-progress, 0%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        var(--sf-primary, #ec1976),
        var(--sf-secondary, #7445d8)
    );
    transition: width .18s ease;
}

@media (min-width: 1200px) {
    .sf-category-carousel-track {
        grid-auto-columns: clamp(135px, 13%, 175px);
    }
}

@media (max-width: 820px) {
    .sf-category-carousel-heading {
        align-items: center;
        gap: 12px;
        margin-bottom: 22px;
    }

    .sf-category-carousel-track {
        grid-auto-columns: 125px;
        gap: 14px;
    }

    .sf-category-icon-wrap {
        width: 82px;
    }
    .sf-category-icon {
    width: 72%;
    }

    .sf-category-tile-name {
        font-size: 13px;
    }

    .sf-category-carousel-controls {
        margin-top: 6px;
    }
}

@media (max-width: 480px) {
    .sf-category-carousel-heading {
        align-items: flex-start;
    }

    .sf-category-carousel-heading .sf-section-head h2 {
        font-size: clamp(21px, 6vw, 28px);
    }

    .sf-category-view-all {
        gap: 4px;
        padding: 9px 10px;
        font-size: 11px;
        white-space: nowrap;
    }

    .sf-category-view-all svg {
        width: 13px;
        height: 13px;
    }

    .sf-category-carousel-track {
        grid-auto-columns: 108px;
        gap: 10px;
    }

    .sf-category-tile {
        gap: 10px;
        padding-inline: 4px;
    }

    .sf-category-icon-wrap {
        width: 72px;
    }
    .sf-category-icon {
    width: 72%;
    }

    .sf-category-tile-name {
        font-size: 12px;
    }

    .sf-category-carousel-arrow {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sf-category-carousel-viewport {
        scroll-behavior: auto;
    }

    .sf-category-tile,
    .sf-category-icon-wrap,
    .sf-category-icon-glow,
    .sf-category-carousel-arrow,
    .sf-category-view-all {
        transition: none !important;
    }
}


/* Storexy storefront category carousel icons */
.sf-category-icon i.fa-solid,
.sf-category-icon i.fa-regular,
.sf-category-icon i.fa-brands {
    font-size: 30px;
    line-height: 1;
}

.sf-products.sf-top-picks-grid {
    row-gap: 48px;
}





/*/==========================
/* =========================================================
   STOREXY — DARK THEME: PROMOTIONAL BANNER
   ========================================================= */

.sf-theme-dark .sf-banner-premium {
    --sf-banner-background: #211c25;
    --sf-banner-text: #f5f1f7;

    background: var(--sf-banner-background);
    color: var(--sf-banner-text);

    border-color: color-mix(
        in srgb,
        var(--sf-primary) 30%,
        #211c25
    );
}

/* Banner overlay */
.sf-theme-dark .sf-banner-premium .sf-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;

    background: #211c25;
    pointer-events: none;
}

/* Banner title and description */
.sf-theme-dark .sf-banner-premium .sf-banner-title,
.sf-theme-dark .sf-banner-premium .sf-banner-description,
.sf-theme-dark .sf-banner-premium .sf-banner-eyebrow {
    color: #f5f1f7;
}

/* Dark-theme image frame */
.sf-theme-dark .sf-banner-premium .sf-banner-image-frame {
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--sf-primary) 30%, #211c25),
        color-mix(in srgb, var(--sf-secondary) 30%, #211c25)
    );

    border-color: color-mix(
        in srgb,
        var(--sf-primary) 35%,
        #211c25
    );
}

/* Artwork placeholder */
.sf-theme-dark .sf-banner-premium .sf-banner-artwork-placeholder {
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--sf-primary) 28%, #211c25),
        color-mix(in srgb, var(--sf-secondary) 28%, #211c25)
    );

    color: #f5f1f7;
}

/* =========================================================
   STOREXY — DARK THEME: CATEGORY CAROUSEL
   ========================================================= */

.sf-theme-dark .sf-category-icon-wrap {
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--sf-primary) 24%, #211c25),
        color-mix(in srgb, var(--sf-secondary) 24%, #211c25)
    );

    border-color: color-mix(
        in srgb,
        var(--sf-primary) 35%,
        #211c25
    );

    box-shadow:
        0 8px 24px color-mix(
            in srgb,
            var(--sf-primary) 12%,
            transparent
        ),
        inset 0 1px 0 rgba(255,255,255,.06);
}

.sf-theme-dark .sf-category-icon {
    color: var(--sf-primary);
}

.sf-theme-dark .sf-category-icon-glow {
    opacity: .22;
}

.sf-theme-dark .sf-category-tile-name {
    color: var(--store-heading, #f5f1f7);
}

.sf-theme-dark .sf-category-tile:hover {
    background: var(--store-surface, #29232e);
}

.sf-theme-dark .sf-category-tile-arrow {
    background: var(--store-surface, #29232e);
    color: var(--sf-primary);
}

/* =========================================================
   STOREXY — DARK THEME: PROMOTIONAL BANNER
   ========================================================= */

.sf-store.sf-theme-dark .sf-banner-premium {
    background-color: #211c25;
    color: #f5f1f7;
}

.sf-store.sf-theme-dark .sf-banner-premium .sf-banner-title {
    color: #f5f1f7;
}

.sf-store.sf-theme-dark .sf-banner-premium .sf-banner-description {
    color: #c0b8c7;
}

.sf-store.sf-theme-dark .sf-banner-premium .sf-banner-eyebrow {
    color: var(--sf-secondary);
}

.sf-store.sf-theme-dark .sf-banner-premium .sf-banner-cta {
    background-color: var(--sf-primary);
    color: #ffffff;
}


/* =========================================================
   STOREXY — MOSAIC HEIGHT SETTINGS
   Respects the existing admin-selected hero height:
   Compact, Standard and Tall.
   ========================================================= */

/* ---------------------------------------------------------
   DESKTOP: ABOVE 1050px
   --------------------------------------------------------- */

@media (min-width: 1051px) {

    .sf-store .sf-mosaic-grid {
        grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
        align-items: stretch;
        gap: 10px;
    }

    .sf-store .sf-mosaic-grid .sf-mosaic-main {
        min-width: 0;
        min-height: 0;
        height: auto;
    }

    .sf-store .sf-mosaic-grid .sf-mosaic-side {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap: 10px;
        min-width: 0;
        min-height: 0;
    }

    .sf-store .sf-mosaic-grid .sf-mosaic-small {
        min-width: 0;
        min-height: 0;
        height: auto;
    }

    /* Desktop height presets */
    .sf-store .sf-mosaic-grid .sf-hero-desktop-compact {
        min-height: 230px;
    }

    .sf-store .sf-mosaic-grid .sf-hero-desktop-standard {
        min-height: 300px;
    }

    .sf-store .sf-mosaic-grid .sf-hero-desktop-tall {
        min-height: 400px;
    }

    /* Supporting panels share the main panel's total height. */
    .sf-store .sf-mosaic-grid .sf-mosaic-side
    .sf-hero-desktop-compact,
    .sf-store .sf-mosaic-grid .sf-mosaic-side
    .sf-hero-desktop-standard,
    .sf-store .sf-mosaic-grid .sf-mosaic-side
    .sf-hero-desktop-tall {
        height: auto;
    }
}


/* ---------------------------------------------------------
   TABLET: 621px–1050px
   --------------------------------------------------------- */

@media (min-width: 621px) and (max-width: 1050px) {

    .sf-store .sf-mosaic-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .sf-store .sf-mosaic-grid .sf-mosaic-main {
        min-width: 0;
        min-height: 0;
        height: auto;
    }

    .sf-store .sf-mosaic-grid .sf-mosaic-side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 8px;
        min-height: 0;
    }

    .sf-store .sf-mosaic-grid .sf-mosaic-small {
        min-width: 0;
        min-height: 0;
        height: auto;
    }

    /* Tablet height presets: shorter than desktop */
    .sf-store .sf-mosaic-grid .sf-hero-tablet-compact {
        min-height: 350px;
    }

    .sf-store .sf-mosaic-grid .sf-hero-tablet-standard {
        min-height: 480px;
    }

    .sf-store .sf-mosaic-grid .sf-hero-tablet-tall {
        min-height: 600px;
    }

    .sf-store .sf-mosaic-grid .sf-mosaic-side
    .sf-hero-tablet-compact,
    .sf-store .sf-mosaic-grid .sf-mosaic-side
    .sf-hero-tablet-standard,
    .sf-store .sf-mosaic-grid .sf-mosaic-side
    .sf-hero-tablet-tall {
        min-height: 320px;
    }
}


/* ---------------------------------------------------------
   MOBILE: 620px AND BELOW
   --------------------------------------------------------- */

@media (max-width: 620px) {

    .sf-store .sf-mosaic-grid {
        width: calc(100% - 20px);
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding: 0;
    }

    /* Keep all panels in a single column on mobile. */
    .sf-store .sf-mosaic-grid .sf-mosaic-main {
        width: 100%;
        min-width: 0;
        min-height: 0;
        height: auto;
    }

    .sf-store .sf-mosaic-grid .sf-mosaic-side {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        gap: 8px;
        min-width: 0;
        min-height: 0;
    }

    .sf-store .sf-mosaic-grid .sf-mosaic-small {
        width: 100%;
        min-width: 0;
        min-height: 0;
        height: auto;
    }

    /* Mobile height presets */
    .sf-store .sf-mosaic-grid .sf-mobile-hero-compact {
        min-height: 300px;
    }

    .sf-store .sf-mosaic-grid .sf-mobile-hero-standard {
        min-height: 380px;
    }

    .sf-store .sf-mosaic-grid .sf-mobile-hero-tall {
        min-height: 500px;
    }

    /* Smaller supporting panels */
    .sf-store .sf-mosaic-grid .sf-mosaic-side
    .sf-mobile-hero-compact {
        min-height: 260px;
    }

    .sf-store .sf-mosaic-grid .sf-mosaic-side
    .sf-mobile-hero-standard {
        min-height: 300px;
    }

    .sf-store .sf-mosaic-grid .sf-mosaic-side
    .sf-mobile-hero-tall {
        min-height: 400px;
    }

    /* Keep headings readable on narrow supporting panels. */
    .sf-store .sf-mosaic-grid .sf-mosaic-small .sf-hero-copy h1 {
        font-size: clamp(22px, 6vw, 28px);
        line-height: 1.1;
    }

    .sf-store .sf-mosaic-grid .sf-mosaic-small .sf-hero-copy p {
        font-size: 12px;
        line-height: 1.5;
    }
}


/* ---------------------------------------------------------
   NARROW MOBILE
   --------------------------------------------------------- */

@media (max-width: 380px) {

    .sf-store .sf-mosaic-grid .sf-mobile-hero-compact {
        min-height: 280px;
    }

    .sf-store .sf-mosaic-grid .sf-mobile-hero-standard {
        min-height: 330px;
    }

    .sf-store .sf-mosaic-grid .sf-mobile-hero-tall {
        min-height: 390px;
    }

    .sf-store .sf-mosaic-grid .sf-mosaic-small .sf-hero-copy h1 {
        font-size: 21px;
    }
}


/* =========================================================
   STOREXY — FIX MOBILE NAVIGATION CATEGORY WRAPPING
   ========================================================= */

@media (max-width: 820px) {

    /* Keep the mobile menu within its available width */
    .sf-mobile-nav,
    .sf-mobile-nav nav,
    .sf-mobile-categories {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    /* Allow category links to wrap naturally */
    .sf-mobile-category-list {
        display: flex;
        flex-flow: row wrap;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        overflow: visible;
    }

    /* Keep each category link a readable pill */
    .sf-mobile-category-list > a {
        display: inline-flex;
        flex: 0 1 auto;
        align-items: center;
        justify-content: center;

        width: auto;
        min-width: 0;
        max-width: 100%;

        padding: 10px 16px;
        margin: 0;

        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
        text-align: center;
        line-height: 1.4;

        box-sizing: border-box;
    }
}

/* Slightly tighter spacing on narrow phones */
@media (max-width: 480px) {

    .sf-mobile-category-list {
        gap: 7px;
    }

    .sf-mobile-category-list > a {
        padding: 9px 12px;
        font-size: 14px;
    }
}

/* =========================================================
   STOREXY — THEME-AWARE MOBILE CATEGORY PILLS
   Supports light and dark storefront themes.
   ========================================================= */

/* ---------------------------------------------------------
   LIGHT THEME
   --------------------------------------------------------- */

.sf-store:not(.sf-theme-dark) .sf-mobile-category-list > a {
    color: var(--store-heading, #202124);

    background: color-mix(
        in srgb,
        var(--sf-primary, #ec1976) 5%,
        var(--store-surface, #ffffff)
    );

    border: 1px solid color-mix(
        in srgb,
        var(--sf-primary, #ec1976) 20%,
        transparent
    );

    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(20, 20, 30, .035);

    text-decoration: none;

    transition:
        background .22s ease,
        border-color .22s ease,
        box-shadow .22s ease,
        color .22s ease;
}

.sf-store:not(.sf-theme-dark) .sf-mobile-category-list > a:hover,
.sf-store:not(.sf-theme-dark) .sf-mobile-category-list > a:focus-visible {
    color: var(--sf-primary, #ec1976);

    background: color-mix(
        in srgb,
        var(--sf-primary, #ec1976) 11%,
        var(--store-surface, #ffffff)
    );

    border-color: color-mix(
        in srgb,
        var(--sf-primary, #ec1976) 42%,
        transparent
    );

    box-shadow: 0 4px 14px color-mix(
        in srgb,
        var(--sf-primary, #ec1976) 10%,
        transparent
    );
}


/* ---------------------------------------------------------
   DARK THEME
   Follows the Midnight storefront theme.
   --------------------------------------------------------- */

.sf-store.sf-theme-dark .sf-mobile-category-list > a {
    color: var(--store-heading, #f5f1f7);

    background: color-mix(
        in srgb,
        var(--sf-primary, #ec1976) 12%,
        var(--store-surface, #29232e)
    );

    border: 1px solid color-mix(
        in srgb,
        var(--sf-primary, #ec1976) 30%,
        #211c25
    );

    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);

    text-decoration: none;

    transition:
        background .22s ease,
        border-color .22s ease,
        box-shadow .22s ease,
        color .22s ease;
}

.sf-store.sf-theme-dark .sf-mobile-category-list > a:hover,
.sf-store.sf-theme-dark .sf-mobile-category-list > a:focus-visible {
    color: #ffffff;

    background: color-mix(
        in srgb,
        var(--sf-primary, #ec1976) 24%,
        var(--store-surface, #29232e)
    );

    border-color: color-mix(
        in srgb,
        var(--sf-primary, #ec1976) 55%,
        #211c25
    );

    box-shadow: 0 4px 16px color-mix(
        in srgb,
        var(--sf-primary, #ec1976) 14%,
        transparent
    );
}


/* ---------------------------------------------------------
   TOUCH DEVICES
   Prevent hover effects from lingering after tapping.
   --------------------------------------------------------- */

@media (hover: none) {
    .sf-mobile-category-list > a:hover {
        transform: none;
    }
}


/* ---------------------------------------------------------
   ACCESSIBILITY
   --------------------------------------------------------- */

.sf-mobile-category-list > a:focus-visible {
    outline: 2px solid var(--sf-primary, #ec1976);
    outline-offset: 3px;
}


/* =========================================================
   STOREXY — HOMEPAGE WELCOME SECTION
   Clean, centered editorial layout.
   Uses the store's configured typography and theme colours.
   ========================================================= */

/* Section spacing and background */
.sf-store .sf-welcome-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    margin: 24px 0 0;
    padding: 12px 0 20px;
    overflow: hidden;
    background: var(--store-background, #fff);
    box-sizing: border-box;
}

/* Full-width container; content width is controlled below */
.sf-store .sf-welcome-section > .sf-container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
    box-sizing: border-box;
}

/* Center the introduction consistently at every breakpoint */
.sf-store .sf-welcome-card {
    display: block;
    position: relative;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--store-body, var(--sf-body));
    box-shadow: none;
    text-align: center;
    box-sizing: border-box;
}

/* Remove legacy card decorations */
.sf-store .sf-welcome-card::before,
.sf-store .sf-welcome-card::after,
.sf-store .sf-welcome-section::before,
.sf-store .sf-welcome-section::after {
    display: none;
    content: none;
}

/* Heading */
.sf-store .sf-welcome-card h2 {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    color: var(--store-heading, var(--sf-heading));
    font-family: var(--sf-heading-font);
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.2px;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: break-word;
}

/* Intro paragraph */
.sf-store .sf-welcome-card p {
    width: 100%;
    max-width: 760px;
    margin: 14px auto 0;
    color: var(--store-body, var(--sf-body));
    font-family: var(--sf-body-font);
    font-size: var(--sf-body-size, 15px);
    font-weight: var(--sf-body-weight, 400);
    line-height: 1.7;
    text-align: center;
    overflow-wrap: break-word;
}

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (min-width: 621px) and (max-width: 1024px) {
    .sf-store .sf-welcome-section {
        margin-top: 20px;
        padding-block: 12px 18px;
    }

    .sf-store .sf-welcome-section > .sf-container {
        padding-inline: 28px;
    }

    .sf-store .sf-welcome-card h2 {
        max-width: 680px;
        font-size: clamp(30px, 4vw, 40px);
        letter-spacing: -1px;
    }

    .sf-store .sf-welcome-card p {
        max-width: 680px;
        margin-top: 12px;
        font-size: var(--sf-body-size, 15px);
        line-height: 1.7;
    }
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 620px) {
    .sf-store .sf-welcome-section {
        margin-top: 16px;
        padding-block: 12px 16px;
    }

    .sf-store .sf-welcome-section > .sf-container {
        width: 100%;
        max-width: none;
        padding-inline: 20px;
    }

    .sf-store .sf-welcome-card {
        width: 100%;
        padding: 0;
    }

    .sf-store .sf-welcome-card h2 {
        max-width: 500px;
        font-size: clamp(27px, 7vw, 34px);
        line-height: 1.14;
        letter-spacing: -.8px;
    }

    .sf-store .sf-welcome-card p {
        max-width: 480px;
        margin-top: 12px;
        font-size: var(--sf-body-size, 15px);
        line-height: 1.65;
    }
}

/* ---------------------------------------------------------
   NARROW MOBILE
   --------------------------------------------------------- */

@media (max-width: 380px) {
    .sf-store .sf-welcome-section > .sf-container {
        padding-inline: 16px;
    }

    .sf-store .sf-welcome-card h2 {
        font-size: 27px;
        letter-spacing: -.6px;
    }

    .sf-store .sf-welcome-card p {
        font-size: 14px;
        line-height: 1.65;
    }
}

/* =========================================================
   PRODUCT DETAIL — PRICE HIERARCHY
========================================================= */

.sf-product-info .sf-price-large {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    margin: 18px 0 24px;
    font-size: clamp(25px, 2.2vw, 34px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.sf-product-info .sf-price-large del {
    font-size: 0.58em;
    font-weight: 500;
    letter-spacing: -0.02em;
    opacity: 0.55;
}

/* =========================================================
   PRODUCT DETAIL — VARIATION SELECTOR
========================================================= */

.sf-product-variation-section {
    margin: 24px 0;
}

.sf-product-variation-label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
}

.sf-product-variation-select {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;
    border: 1px solid rgba(40, 30, 25, 0.16);
    border-radius: 12px;
    background: #fff;
    color: inherit;
    font: inherit;
}

.sf-product-variation-select:focus {
    outline: 2px solid var(--sf-primary, #c96b43);
    outline-offset: 2px;
}

.sf-product-selected-price {
    margin: 12px 0 0;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.sf-product-selected-price:empty {
    display: none;
}






/* =========================================================
   PRODUCT DETAIL — IMAGE PRESENTATION
========================================================= */

.sf-product-gallery {
    min-width: 0;
    overflow: hidden;
    border-radius: 26px;
    background: var(--sf-product-image-background, #f2eee9);
}

.sf-product-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.sf-product-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.sf-product-thumbnails {
    background: transparent;
}

.sf-product-thumbnail {
    background: var(--sf-product-image-background, #f2eee9);
}

/* =========================================================
   STOREXY — MOBILE PRODUCT IMAGE LIGHTBOX FIX
========================================================= */

.sf-product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    height: 100dvh;
    padding: 16px;
    overflow: hidden;
    box-sizing: border-box;
}

.sf-product-lightbox.is-open {
    display: flex;
}

.sf-product-lightbox-dialog {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 1100px;
    max-height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.sf-product-lightbox-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.sf-product-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
}

@media (max-width: 620px) {
    .sf-product-lightbox {
        padding: 12px;
        padding-top: max(12px, env(safe-area-inset-top));
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }

    .sf-product-lightbox-dialog {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    .sf-product-lightbox-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .sf-product-lightbox-close {
        top: 12px;
        right: 12px;
    }
}

.sf-view-all-bottom {
    display: none;
}

@media (max-width: 767px) {
    .sf-view-all-bottom {
        display: flex;
        justify-content: center;
        margin-top: 24px;
    }

    .sf-view-all-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px 22px;
        border: 1px solid var(--sf-primary, #ec1976);
        border-radius: 999px;
        color: var(--sf-primary, #ec1976);
        text-decoration: none;
        font-weight: 600;
    }

    .sf-view-all-button svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
    }
}