/* Storefront theme: talb_market — primary and accent used separately (no button blends) */

:root {
    --storefront-primary: var(--primary-color, #0d9488);
    --storefront-accent: var(--accent-color, #14b8a6);
    --storefront-font: var(--font-family, system-ui, sans-serif);
    --sf-talb-market-nav-height: 4.35rem;
}

.storefront-theme-talb_market {
    font-family: var(--storefront-font);
    --sf-page-bg: #ffffff;
    background: #ffffff;
}

html body.storefront-theme-talb_market,
html body.storefront-theme-talb_market > .sf-storefront-frame {
    background-color: #ffffff;
}

/* Never paint the page canvas onto the teleported product sheet wrapper. */
html body.storefront-theme-talb_market .sf-product-modal-frame {
    background: transparent !important;
    background-color: transparent !important;
}

.sf-dark .storefront-theme-talb_market,
.storefront-theme-talb_market.sf-dark,
html.sf-dark body.storefront-theme-talb_market {
    background-color: #09090b !important;
    background-image:
        radial-gradient(120% 55% at 0% 0%, color-mix(in srgb, var(--primary-color, #0d9488) 16%, transparent), transparent 55%);
    color: #fafafa;
}

html.sf-dark body.storefront-theme-talb_market > .sf-storefront-frame {
    background-color: #09090b;
}

body.storefront-theme-talb_market .sf-cart-float {
    display: none !important;
}

.storefront-theme-talb_market .storefront-menu-root,
.storefront-theme-talb_market .storefront-category-root,
.storefront-theme-talb_market .storefront-cart-root,
.storefront-theme-talb_market .storefront-categories-root,
.storefront-theme-talb_market .sf-talb-market-shell {
    padding-bottom: calc(var(--sf-talb-market-nav-height) + 2.35rem + env(safe-area-inset-bottom, 0px));
}

.storefront-theme-talb_market .storefront-cart-root {
    padding-bottom: calc(var(--sf-talb-market-nav-height) + 5.5rem + env(safe-area-inset-bottom, 0px));
}

.storefront-theme-talb_market .sf-talb-market-cart-checkout {
    bottom: calc(var(--sf-talb-market-nav-height) + 0.55rem + env(safe-area-inset-bottom, 0px));
}

.storefront-theme-talb_market .sf-talb-market-top-chrome {
    position: sticky;
    top: 0;
    z-index: 50;
    /* Keeps promo + header as one unit under the notch in PWA/standalone. */
    background: color-mix(in srgb, #ffffff 96%, transparent);
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-top-chrome,
.storefront-theme-talb_market.sf-dark .sf-talb-market-top-chrome {
    background: color-mix(in srgb, #09090b 96%, transparent);
}

/* Announcement inside the chrome stack is not independently sticky. */
.storefront-theme-talb_market .sf-talb-market-top-chrome .sf-marketing-announcement {
    position: relative;
    top: auto;
    z-index: 1;
    padding-top: max(0px, env(safe-area-inset-top, 0px));
}

.storefront-theme-talb_market .sf-talb-market-header {
    position: relative;
    top: auto !important;
    z-index: 1;
    background: color-mix(in srgb, #ffffff 95%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: color-mix(in srgb, var(--primary-color, #0d9488) 14%, #e2e8f0);
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-header,
.storefront-theme-talb_market.sf-dark .sf-talb-market-header {
    background: color-mix(in srgb, #09090b 95%, transparent);
}

.storefront-theme-talb_market .sf-talb-market-page-header {
    position: sticky;
    /* Inner pages: no promo chrome stack — sit under safe-area only. */
    top: env(safe-area-inset-top, 0px);
    z-index: 40;
}

.storefront-theme-talb_market .sf-talb-market-header__row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.storefront-theme-talb_market .sf-talb-market-address-chip,
.storefront-theme-talb_market .sf-talb-market-fulfillment-chip {
    /* Height/shape match locale + theme controls (h-10 / rounded-[12px]). */
    min-height: 2.5rem;
    height: 2.5rem;
}

.storefront-theme-talb_market .sf-talb-market-header__control {
    box-sizing: border-box;
}

.storefront-theme-talb_market .sf-talb-market-header__mode {
    color: #475569;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-header__mode,
.storefront-theme-talb_market.sf-dark .sf-talb-market-header__mode {
    color: #e4e4e7;
}

/* Bottom nav — must be viewport-fixed (teleported to body). Never inherit a
   transformed/filtered ancestor containing-block or it floats mid-screen. */
.storefront-theme-talb_market .sf-talb-market-bottom-nav,
body.storefront-theme-talb_market > .sf-talb-market-bottom-nav,
.sf-talb-market-bottom-nav[data-sf-talb-market-bottom-nav] {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    inset-inline: 0 !important;
    top: auto !important;
    z-index: 70 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
    filter: none !important;
    padding: 0.45rem 0.75rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.storefront-theme-talb_market .sf-talb-market-bottom-nav__shell {
    pointer-events: auto;
    margin-inline: auto;
    max-width: 28rem;
    border-radius: 1.35rem;
    background: color-mix(in srgb, #ffffff 94%, transparent);
    border: 1px solid color-mix(in srgb, #e2e8f0 88%, #cbd5e1);
    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.7) inset;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-bottom-nav__shell,
.storefront-theme-talb_market.sf-dark .sf-talb-market-bottom-nav__shell {
    background: color-mix(in srgb, #18181b 94%, transparent);
    border-color: #3f3f46;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.storefront-theme-talb_market .sf-talb-market-bottom-nav__inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: var(--sf-talb-market-nav-height);
    padding: 0.15rem 0.2rem;
}

.storefront-theme-talb_market .sf-talb-market-nav-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: calc(var(--sf-talb-market-nav-height) - 0.3rem);
    padding: 0.2rem 0.1rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0;
    font-weight: 700;
    line-height: 1;
    transition: color 0.15s ease, transform 0.15s ease;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-nav-item,
.storefront-theme-talb_market.sf-dark .sf-talb-market-nav-item {
    color: #a1a1aa;
}

.storefront-theme-talb_market .sf-talb-market-nav-item.is-active,
.storefront-theme-talb_market .sf-talb-market-nav-item:hover {
    color: var(--primary-color, #0d9488);
}

.storefront-theme-talb_market .sf-talb-market-nav-item__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1.05rem;
    transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.storefront-theme-talb_market .sf-talb-market-nav-item__svg,
.storefront-theme-talb_market .sf-talb-market-nav-item__icon-wrap svg {
    width: 1.7rem;
    height: 1.7rem;
    stroke-width: 1.85;
}

.storefront-theme-talb_market .sf-talb-market-nav-item__icon-wrap.is-active-icon {
    background: color-mix(in srgb, var(--primary-color, #0d9488) 12%, white);
    color: var(--primary-color, #0d9488);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--primary-color, #0d9488) 18%, transparent);
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-nav-item__icon-wrap.is-active-icon,
.storefront-theme-talb_market.sf-dark .sf-talb-market-nav-item__icon-wrap.is-active-icon {
    background: color-mix(in srgb, var(--primary-color, #0d9488) 24%, #27272a);
    color: var(--accent-color, #14b8a6);
}

.storefront-theme-talb_market .sf-talb-market-nav-item.is-active svg {
    stroke-width: 2.2;
}

.storefront-theme-talb_market .sf-talb-market-nav-badge {
    position: absolute;
    inset-inline-end: -0.15rem;
    top: -0.1rem;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.28rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.15rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

/* Cart badge = primary only */
.storefront-theme-talb_market .sf-talb-market-nav-badge--cart {
    background: var(--primary-color, #0d9488);
}

/* Wishlist badge = accent only */
.storefront-theme-talb_market .sf-talb-market-nav-badge--wishlist {
    background: var(--accent-color, #14b8a6);
}

.storefront-theme-talb_market .sf-talb-market-fab {
    /* Pin to the viewport — never a transformed/filtered ancestor (iOS / frame). */
    position: fixed !important;
    z-index: 66;
    bottom: calc(var(--sf-talb-market-nav-height) + 1.35rem + env(safe-area-inset-bottom, 0px)) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.15rem;
    height: 3.15rem;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.storefront-theme-talb_market .sf-talb-market-fab:active {
    transform: translateZ(0) scale(0.96);
}

.storefront-theme-talb_market .sf-talb-market-fab--support {
    right: max(1rem, env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    background: #25d366;
    color: #fff;
}

.storefront-theme-talb_market .sf-talb-market-fab__whatsapp,
.storefront-theme-talb_market .sf-talb-market-fab--support .talb-whatsapp-icon {
    width: 1.45rem;
    height: 1.45rem;
    display: block;
    flex-shrink: 0;
}

/* Search FAB = primary only (no gradient mix) */
.storefront-theme-talb_market .sf-talb-market-fab--search {
    left: max(1rem, env(safe-area-inset-left, 0px)) !important;
    right: auto !important;
    background: var(--primary-color, #0d9488);
    color: #fff;
    border: 0;
    cursor: pointer;
}

.storefront-theme-talb_market .sf-talb-market-stage {
    min-height: 40vh;
}

.storefront-theme-talb_market .sf-talb-market-h-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
}

.storefront-theme-talb_market .sf-talb-market-h-scroll::-webkit-scrollbar {
    display: none;
}

.storefront-theme-talb_market .sf-talb-market-hero__shell {
    position: relative;
    overflow: hidden;
    border-radius: 1.15rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    background: #e2e8f0;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-hero__shell,
.storefront-theme-talb_market.sf-dark .sf-talb-market-hero__shell {
    border-color: #3f3f46;
    background: #27272a;
}

.storefront-theme-talb_market .sf-talb-market-hero__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.storefront-theme-talb_market .sf-talb-market-hero__track::-webkit-scrollbar {
    display: none;
}

.storefront-theme-talb_market .sf-talb-market-hero__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 13.5rem;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    overflow: hidden;
    background: #e2e8f0;
}

.storefront-theme-talb_market .sf-talb-market-hero__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.storefront-theme-talb_market .sf-talb-market-hero__img.is-fallback {
    object-fit: contain;
    padding: 2rem;
}

/* Dots overlay on bottom of hero images */
.storefront-theme-talb_market .sf-talb-market-hero__dots {
    position: absolute;
    inset-inline: 0;
    bottom: 0.65rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    pointer-events: none;
}

.storefront-theme-talb_market .sf-talb-market-hero__dot {
    pointer-events: auto;
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.storefront-theme-talb_market .sf-talb-market-hero__dot.is-active {
    width: 1.15rem;
    background: #fff;
}

@media (min-width: 640px) {
    .storefront-theme-talb_market .sf-talb-market-hero__slide {
        max-height: 17rem;
    }
}

/* Add / view actions — primary solid (never white-on-white) */
.storefront-theme-talb_market .sf-product-action--add {
    background-color: var(--primary-color, #0d9488) !important;
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--primary-color, #0d9488) 34%, transparent);
}

.storefront-theme-talb_market .sf-product-action--add:hover:not(:disabled) {
    background-color: color-mix(in srgb, var(--primary-color, #0d9488) 88%, #000) !important;
}

.storefront-theme-talb_market .sf-product-action--view {
    background-color: #fff;
    color: var(--primary-color, #0d9488);
    border: 1px solid color-mix(in srgb, var(--primary-color, #0d9488) 28%, #e2e8f0);
    box-shadow: none;
}

.sf-dark .storefront-theme-talb_market .sf-product-action--add,
.storefront-theme-talb_market.sf-dark .sf-product-action--add,
html.sf-dark .storefront-theme-talb_market .sf-product-action--add {
    background-color: var(--accent-color, var(--storefront-accent, #14b8a6)) !important;
    color: #0b1220 !important;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--accent-color, #14b8a6) 34%, transparent);
}

.sf-dark .storefront-theme-talb_market .sf-product-action--add:hover:not(:disabled),
.storefront-theme-talb_market.sf-dark .sf-product-action--add:hover:not(:disabled),
html.sf-dark .storefront-theme-talb_market .sf-product-action--add:hover:not(:disabled) {
    background-color: color-mix(in srgb, var(--accent-color, #14b8a6) 88%, #000) !important;
    color: #fff !important;
}

.sf-dark .storefront-theme-talb_market .sf-product-action--view,
.storefront-theme-talb_market.sf-dark .sf-product-action--view,
html.sf-dark .storefront-theme-talb_market .sf-product-action--view {
    background-color: #18181b;
    color: var(--accent-color, #14b8a6);
    border-color: color-mix(in srgb, var(--accent-color, #14b8a6) 32%, #3f3f46);
}

/* 4-row subcategory scroller — compact market tiles */
.storefront-theme-talb_market .sf-talb-market-subcats__scroller {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding-inline: 0.25rem;
    padding-bottom: 0.35rem;
    margin-inline: -0.25rem;
}

.storefront-theme-talb_market .sf-talb-market-subcats-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, auto);
    grid-auto-columns: 4.65rem;
    column-gap: 0.7rem;
    row-gap: 0.7rem;
    width: max-content;
    padding-block: 0.15rem;
    padding-inline-end: 0.5rem;
}

@media (min-width: 400px) {
    .storefront-theme-talb_market .sf-talb-market-subcats-grid {
        grid-auto-columns: 5rem;
        column-gap: 0.8rem;
    }
}

.storefront-theme-talb_market .sf-talb-market-subcat-tile {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.storefront-theme-talb_market .sf-talb-market-subcat-tile:active {
    transform: scale(0.98);
}

.storefront-theme-talb_market .sf-talb-market-subcat-tile__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-subcat-tile__media,
.storefront-theme-talb_market.sf-dark .sf-talb-market-subcat-tile__media {
    border-color: #3f3f46;
    background: #27272a;
}

.storefront-theme-talb_market .sf-talb-market-subcat-tile__img {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.storefront-theme-talb_market .sf-talb-market-subcat-tile:hover .sf-talb-market-subcat-tile__img {
    transform: scale(1.03);
}

.storefront-theme-talb_market .sf-talb-market-subcat-tile__img.is-cover {
    object-fit: cover;
}

.storefront-theme-talb_market .sf-talb-market-subcat-tile__img.is-contain {
    object-fit: contain;
    padding: 0.55rem;
}

.storefront-theme-talb_market .sf-talb-market-subcat-tile__label {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    margin-top: 0.35rem;
    min-height: 1.9rem;
    width: 100%;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1e293b;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-subcat-tile__label,
.storefront-theme-talb_market.sf-dark .sf-talb-market-subcat-tile__label {
    color: #f4f4f5;
}

/* Voucher parade — simple ticket strip */
.storefront-theme-talb_market .sf-talb-market-voucher-parade {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-inline: 0.25rem;
    padding-bottom: 0.4rem;
    margin-inline: -0.25rem;
}

.storefront-theme-talb_market .sf-talb-market-voucher {
    display: flex;
    flex: 0 0 16.5rem;
    width: 16.5rem;
    min-width: 16.5rem;
    overflow: hidden;
    scroll-snap-align: start;
    border-radius: 0.95rem;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--primary-color, #0d9488) 22%, #e2e8f0);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-voucher,
.storefront-theme-talb_market.sf-dark .sf-talb-market-voucher {
    background: #18181b;
    border-color: color-mix(in srgb, var(--primary-color, #0d9488) 28%, #3f3f46);
}

.storefront-theme-talb_market .sf-talb-market-voucher__stub {
    position: relative;
    display: flex;
    flex: 0 0 2.75rem;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--primary-color, #0d9488) 12%, #f8fafc);
    border-inline-end: 1px dashed color-mix(in srgb, var(--primary-color, #0d9488) 30%, #cbd5e1);
}

.storefront-theme-talb_market .sf-talb-market-voucher__stub::before,
.storefront-theme-talb_market .sf-talb-market-voucher__stub::after {
    content: '';
    position: absolute;
    inset-inline-end: -0.4rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background: var(--sf-page-bg, #ffffff);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary-color, #0d9488) 18%, #e2e8f0);
}

.storefront-theme-talb_market .sf-talb-market-voucher__stub::before {
    top: -0.4rem;
}

.storefront-theme-talb_market .sf-talb-market-voucher__stub::after {
    bottom: -0.4rem;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-voucher__stub,
.storefront-theme-talb_market.sf-dark .sf-talb-market-voucher__stub {
    background: color-mix(in srgb, var(--primary-color, #0d9488) 20%, #27272a);
    border-inline-end-color: color-mix(in srgb, var(--primary-color, #0d9488) 35%, #52525b);
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-voucher__stub::before,
.sf-dark .storefront-theme-talb_market .sf-talb-market-voucher__stub::after,
.storefront-theme-talb_market.sf-dark .sf-talb-market-voucher__stub::before,
.storefront-theme-talb_market.sf-dark .sf-talb-market-voucher__stub::after {
    background: #09090b;
    box-shadow: inset 0 0 0 1px #3f3f46;
}

.storefront-theme-talb_market .sf-talb-market-voucher__percent {
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    color: var(--primary-color, #0d9488);
}

.storefront-theme-talb_market .sf-talb-market-voucher__body {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.75rem 0.85rem;
}

.storefront-theme-talb_market .sf-talb-market-voucher__desc {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.3;
    color: #1c1917;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-voucher__desc,
.storefront-theme-talb_market.sf-dark .sf-talb-market-voucher__desc {
    color: #fafafa;
}

.storefront-theme-talb_market .sf-talb-market-voucher__note {
    margin: 0.2rem 0 0;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.35;
    color: #57534e;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-voucher__note,
.storefront-theme-talb_market.sf-dark .sf-talb-market-voucher__note {
    color: #a8a29e;
}

.storefront-theme-talb_market .sf-talb-market-voucher__code {
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--primary-color, #0d9488);
}

.storefront-theme-talb_market .sf-talb-market-voucher__actions {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.storefront-theme-talb_market .sf-talb-market-voucher__btn {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2rem;
    border-radius: 0.7rem;
    border: 0;
    padding: 0.35rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s ease, background 0.15s ease;
}

.storefront-theme-talb_market .sf-talb-market-voucher__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.storefront-theme-talb_market .sf-talb-market-voucher__btn--ghost {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-voucher__btn--ghost,
.storefront-theme-talb_market.sf-dark .sf-talb-market-voucher__btn--ghost {
    background: #27272a;
    color: #e4e4e7;
    border-color: #3f3f46;
}

.storefront-theme-talb_market .sf-talb-market-voucher__btn--solid {
    background: var(--primary-color, #0d9488);
    color: #fff;
}

/* Categories page — 2 columns, mains only */
.storefront-theme-talb_market .sf-talb-market-cats-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.storefront-theme-talb_market .sf-talb-market-cats-page__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border-radius: 1.1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.storefront-theme-talb_market .sf-talb-market-cats-page__card:active {
    transform: scale(0.985);
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-cats-page__card,
.storefront-theme-talb_market.sf-dark .sf-talb-market-cats-page__card {
    background: #18181b;
    border-color: #3f3f46;
}

.storefront-theme-talb_market .sf-talb-market-cats-page__media {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f1f5f9;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-cats-page__media,
.storefront-theme-talb_market.sf-dark .sf-talb-market-cats-page__media {
    background: #27272a;
}

.storefront-theme-talb_market .sf-talb-market-cats-page__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.storefront-theme-talb_market .sf-talb-market-cats-page__media img.is-cover {
    object-fit: cover;
}

.storefront-theme-talb_market .sf-talb-market-cats-page__media img.is-contain {
    object-fit: contain;
    padding: 1rem;
}

.storefront-theme-talb_market .sf-talb-market-cats-page__meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.7rem 0.75rem 0.85rem;
}

.storefront-theme-talb_market .sf-talb-market-cats-page__name {
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-cats-page__name,
.storefront-theme-talb_market.sf-dark .sf-talb-market-cats-page__name {
    color: #fafafa;
}

.storefront-theme-talb_market .sf-talb-market-cats-page__count {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-cats-page__count,
.storefront-theme-talb_market.sf-dark .sf-talb-market-cats-page__count {
    color: #a1a1aa;
}

.storefront-theme-talb_market .sf-talb-market-coupon-card {
    border-color: color-mix(in srgb, var(--primary-color, #0d9488) 28%, #cbd5e1);
    background-color: #fff;
}

/* Primary solid button */
.storefront-theme-talb_market .sf-talb-market-btn-primary,
.storefront-theme-talb_market .sf-talb-market-btn-blend {
    background: var(--primary-color, #0d9488);
    color: #fff;
}

/* Accent solid button (secondary actions) */
.storefront-theme-talb_market .sf-talb-market-btn-accent {
    background: var(--accent-color, #14b8a6);
    color: #fff;
}

.storefront-theme-talb_market .sf-talb-market-shop-avatar {
    background: var(--primary-color, #0d9488);
}

/* Shop-by: single horizontal row (theme CSS owns layout — do not rely on Tailwind alone) */
.storefront-theme-talb_market .sf-talb-market-shop-by__scroller {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    padding-inline: 0.25rem;
    padding-bottom: 0.35rem;
    margin-inline: -0.25rem;
}

.storefront-theme-talb_market .sf-talb-market-shop-tile {
    display: flex;
    flex: 0 0 6.5rem;
    width: 6.5rem;
    min-width: 6.5rem;
    max-width: 6.5rem;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
}

@media (min-width: 640px) {
    .storefront-theme-talb_market .sf-talb-market-shop-tile {
        flex-basis: 7rem;
        width: 7rem;
        min-width: 7rem;
        max-width: 7rem;
    }
}

.storefront-theme-talb_market .sf-talb-market-shop-tile:active {
    transform: scale(0.98);
}

.storefront-theme-talb_market .sf-talb-market-shop-tile__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-shop-tile__media,
.storefront-theme-talb_market.sf-dark .sf-talb-market-shop-tile__media {
    border-color: #3f3f46;
    background: #27272a;
}

.storefront-theme-talb_market .sf-talb-market-shop-tile__img {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.storefront-theme-talb_market .sf-talb-market-shop-tile:hover .sf-talb-market-shop-tile__img {
    transform: scale(1.03);
}

.storefront-theme-talb_market .sf-talb-market-shop-tile__img.is-cover {
    object-fit: cover;
}

.storefront-theme-talb_market .sf-talb-market-shop-tile__img.is-contain {
    object-fit: contain;
    padding: 0.75rem;
}

.storefront-theme-talb_market .sf-talb-market-shop-tile__label {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    margin-top: 0.5rem;
    min-height: 2.25rem;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: #1e293b;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-shop-tile__label,
.storefront-theme-talb_market.sf-dark .sf-talb-market-shop-tile__label {
    color: #f4f4f5;
}

.storefront-theme-talb_market .sf-talb-market-shop-chip {
    background: color-mix(in srgb, var(--accent-color, #14b8a6) 12%, #f8fafc);
    color: color-mix(in srgb, var(--accent-color, #14b8a6) 55%, #0f172a);
    border: 1px solid color-mix(in srgb, var(--accent-color, #14b8a6) 28%, #e2e8f0);
}

.storefront-theme-talb_market .sf-talb-market-shop-chip:hover {
    background: color-mix(in srgb, var(--accent-color, #14b8a6) 18%, #f1f5f9);
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-shop-chip,
.storefront-theme-talb_market.sf-dark .sf-talb-market-shop-chip {
    background: color-mix(in srgb, var(--accent-color, #14b8a6) 16%, #27272a);
    color: #e4e4e7;
    border-color: color-mix(in srgb, var(--accent-color, #14b8a6) 22%, #3f3f46);
}

.storefront-theme-talb_market .sf-bestseller-card .sf-product-card-sale-badge,
.storefront-theme-talb_market .sf-talb-market-deals .sf-product-card-sale-badge {
    background: var(--accent-color, #14b8a6);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color, #14b8a6) 28%, transparent);
}

/* Top demanded rails: same reliable grid strip as bestsellers */
.storefront-theme-talb_market .sf-talb-market-rails-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(9.5rem, min(11rem, calc((100% - 0.75rem) / 2)));
    grid-template-rows: 1fr;
    align-items: stretch;
    gap: 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-inline: 0.25rem;
    padding-bottom: 0.35rem;
    margin-inline: -0.25rem;
}

.storefront-theme-talb_market .sf-talb-market-rail-card {
    min-width: 0;
    height: 100%;
    scroll-snap-align: start;
}

.storefront-theme-talb_market .sf-talb-market-rail-card .sf-bestseller-card {
    width: 100%;
    height: 100%;
}

.storefront-theme-talb_market .sf-text-accent {
    color: var(--accent-color, #14b8a6);
}

.storefront-theme-talb_market .sf-text-primary {
    color: var(--primary-color, #0d9488);
}

.storefront-theme-talb_market .sf-product-search-bestsellers .sf-bestsellers {
    padding-top: 0.5rem;
    padding-bottom: 0.25rem;
}

.storefront-theme-talb_market .sf-product-search-bestsellers .sf-bestsellers-strip {
    padding-bottom: 0.5rem;
}

/* Soft skeleton (neutral, not color-mixed) */
.storefront-theme-talb_market .sf-talb-market-skeleton-rail {
    display: none;
}

.storefront-theme-talb_market .sf-talb-market-skeleton-rail:not(.hidden) {
    display: flex;
}

.storefront-theme-talb_market .sf-talb-market-skeleton-card {
    width: 9.75rem;
}

.storefront-theme-talb_market .sf-talb-market-skeleton-media,
.storefront-theme-talb_market .sf-talb-market-skeleton-line {
    border-radius: 0.9rem;
    background: linear-gradient(90deg, #e2e8f0 0%, #f8fafc 45%, #e2e8f0 100%);
    background-size: 200% 100%;
    animation: sf-talb-market-shimmer 1.15s ease-in-out infinite;
}

.storefront-theme-talb_market .sf-talb-market-skeleton-media {
    aspect-ratio: 1 / 1;
    margin-bottom: 0.55rem;
}

.storefront-theme-talb_market .sf-talb-market-skeleton-line {
    height: 0.55rem;
    margin-top: 0.35rem;
    border-radius: 999px;
}

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

/* ── Flash deals / offers strip (secondary theme wash) ── */
.storefront-theme-talb_market .sf-talb-market-deals-flash {
    margin-top: 0.85rem;
    padding: 0.95rem 0 1.05rem;
    background: color-mix(in srgb, var(--accent-color, #14b8a6) 18%, #fff7ed);
    border-block: 1px solid color-mix(in srgb, var(--accent-color, #14b8a6) 22%, #fed7aa);
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-deals-flash,
.storefront-theme-talb_market.sf-dark .sf-talb-market-deals-flash {
    background: color-mix(in srgb, var(--accent-color, #14b8a6) 22%, #18181b);
    border-block-color: color-mix(in srgb, var(--accent-color, #14b8a6) 28%, #3f3f46);
}

.storefront-theme-talb_market .sf-talb-market-deals-flash__inner {
    padding-inline: 0.75rem;
}

@media (min-width: 640px) {
    .storefront-theme-talb_market .sf-talb-market-deals-flash__inner {
        padding-inline: 1rem;
    }
}

.storefront-theme-talb_market .sf-talb-market-deals-flash__head {
    margin-bottom: 0.75rem;
}

/* Title + «عرض الكل» on one row; in RTL view-all sits on the left (inline-end). */
.storefront-theme-talb_market .sf-talb-market-deals-flash__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.2rem;
}

.storefront-theme-talb_market .sf-talb-market-deals-flash__view-all {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.6875rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    color: var(--primary-color, #0d9488);
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-deals-flash__view-all,
.storefront-theme-talb_market.sf-dark .sf-talb-market-deals-flash__view-all {
    color: var(--accent-color, #14b8a6);
}

.storefront-theme-talb_market .sf-talb-market-deals-flash__eyebrow {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--accent-color, #14b8a6) 70%, #0f172a);
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-deals-flash__eyebrow,
.storefront-theme-talb_market.sf-dark .sf-talb-market-deals-flash__eyebrow {
    color: color-mix(in srgb, var(--accent-color, #14b8a6) 55%, #fafafa);
}

.storefront-theme-talb_market .sf-talb-market-deals-flash__title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.25;
    color: #1c1917;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-deals-flash__title,
.storefront-theme-talb_market.sf-dark .sf-talb-market-deals-flash__title {
    color: #fafafa;
}

.storefront-theme-talb_market .sf-talb-market-deals-flash__bolt {
    display: inline-flex;
    color: var(--accent-color, #f59e0b);
}

.storefront-theme-talb_market .sf-talb-market-deals-flash__sub {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #57534e;
    max-width: 28rem;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-deals-flash__sub,
.storefront-theme-talb_market.sf-dark .sf-talb-market-deals-flash__sub {
    color: #a1a1aa;
}

.storefront-theme-talb_market .sf-talb-market-deals-flash__scroller {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.7rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    /* proximity: autoplay owns the step; mandatory snap fought RAF and caused jank */
    scroll-snap-type: x proximity;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    padding-bottom: 0.15rem;
}

.storefront-theme-talb_market .sf-talb-market-column-rail {
    scroll-snap-type: x proximity;
    scroll-behavior: auto;
}

/* Horizontal rail: each snap column stacks two deal cards. */
.storefront-theme-talb_market .sf-talb-market-deals-flash__column {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    gap: 0.55rem;
    width: min(88vw, 19.5rem);
    scroll-snap-align: start;
    touch-action: pan-x pan-y;
}

.storefront-theme-talb_market .sf-talb-market-deal-card {
    display: flex;
    align-items: stretch;
    gap: 0.7rem;
    width: 100%;
    min-width: 0;
    padding: 0.55rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid color-mix(in srgb, var(--accent-color, #14b8a6) 12%, #e7e5e4);
    box-shadow: 0 6px 18px rgba(28, 25, 23, 0.06);
    touch-action: pan-x pan-y;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-deal-card,
.storefront-theme-talb_market.sf-dark .sf-talb-market-deal-card {
    background: #27272a;
    border-color: #3f3f46;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.storefront-theme-talb_market .sf-talb-market-deal-card--unavailable {
    opacity: 0.72;
}

.storefront-theme-talb_market .sf-talb-market-deal-card__media {
    position: relative;
    width: 5.5rem;
    flex-shrink: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f5f5f4;
    aspect-ratio: 1;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-deal-card__media,
.storefront-theme-talb_market.sf-dark .sf-talb-market-deal-card__media {
    background: #3f3f46;
}

.storefront-theme-talb_market .sf-talb-market-deal-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storefront-theme-talb_market .sf-talb-market-deal-card__badge {
    position: absolute;
    inset-inline: 0.25rem;
    bottom: 0.25rem;
    z-index: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.18rem 0.35rem;
    border-radius: 0.35rem;
    background: #a3e635;
    color: #14532d;
    font-size: 0.625rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 2px rgba(20, 83, 45, 0.18);
}

/* Copy stacked above a footer row (price start + qty/view end). */
.storefront-theme-talb_market .sf-talb-market-deal-card__body {
    position: relative;
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.35rem;
    padding-inline-end: 0;
}

.storefront-theme-talb_market .sf-talb-market-deal-card__copy {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.22rem;
}

.storefront-theme-talb_market .sf-talb-market-deal-card__footer {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.45rem;
    margin-top: auto;
}

.storefront-theme-talb_market .sf-talb-market-deal-card__name {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    color: #1c1917;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-deal-card__name,
.storefront-theme-talb_market.sf-dark .sf-talb-market-deal-card__name {
    color: #fafafa;
}

.storefront-theme-talb_market .sf-talb-market-deal-card__desc {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    color: #78716c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-deal-card__desc,
.storefront-theme-talb_market.sf-dark .sf-talb-market-deal-card__desc {
    color: #a1a1aa;
}

/* Selling + compare stacked under copy, leading edge of footer. */
.storefront-theme-talb_market .sf-talb-market-deal-card__prices {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.1rem;
    margin-top: 0;
    min-width: 0;
    text-align: start;
}

.storefront-theme-talb_market .sf-talb-market-deal-card__price {
    font-size: 1rem;
    font-weight: 800;
    color: #1c1917;
    letter-spacing: -0.01em;
    line-height: 1.2;
    white-space: nowrap;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-deal-card__price,
.storefront-theme-talb_market.sf-dark .sf-talb-market-deal-card__price {
    color: #fafafa;
}

.storefront-theme-talb_market .sf-talb-market-deal-card__was {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #a8a29e;
    text-decoration: line-through !important;
    text-decoration-thickness: 1.5px !important;
    text-decoration-color: currentColor !important;
    line-height: 1.15;
    white-space: nowrap;
}

.storefront-theme-talb_market .sf-talb-market-deal-card__currency {
    font-size: 0.7em;
    font-weight: 700;
    opacity: 0.8;
    margin-inline-start: 0.15rem;
}

/* Compact qty / + on the trailing edge of the footer. */
.storefront-theme-talb_market .sf-talb-market-deal-card__action {
    position: static;
    inset: auto;
    z-index: 2;
    flex-shrink: 0;
    align-self: flex-end;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-height: 0;
    margin-top: 0;
}

/* Match bestsellers/grid: same square + / qty chip from product-card-action. */
.storefront-theme-talb_market .sf-talb-market-deal-card__action .sf-product-action-slot {
    margin: 0;
}

/* Compact square + / view on deals. */
.storefront-theme-talb_market .sf-talb-market-deal-card__action .sf-product-action--add:not(.sf-product-action--qty),
.storefront-theme-talb_market .sf-talb-market-deal-card__action .sf-product-action--view {
    width: 1.85rem;
    height: 1.85rem;
    min-width: 1.85rem;
    border-radius: 0.45rem;
    padding: 0;
}

.storefront-theme-talb_market .sf-talb-market-deal-card__action .sf-product-action--add:not(.sf-product-action--qty) svg,
.storefront-theme-talb_market .sf-talb-market-deal-card__action .sf-product-action--view svg {
    width: 0.9rem;
    height: 0.9rem;
}

.storefront-theme-talb_market .sf-talb-market-deal-card__action .sf-product-action--qty {
    width: auto;
    min-width: 3.75rem;
    height: 1.85rem;
    border-radius: 0.5rem;
    padding-inline: 0.12rem;
}

.storefront-theme-talb_market .sf-talb-market-deal-card__action .sf-product-action--qty-btn {
    inline-size: 1.25rem;
    block-size: 1.25rem;
    font-size: 0.75rem;
}

.storefront-theme-talb_market .sf-talb-market-deal-card__action .sf-product-action--qty .min-w-\[1\.125rem\] {
    font-size: 10px;
}

/* Bestseller + classic-square card typography (slightly larger across talb_market) */
.storefront-theme-talb_market .sf-bestsellers .sf-bestseller-card__title,
.storefront-theme-talb_market .sf-classic-square-card h2 {
    font-size: 0.875rem !important;
    line-height: 1.35;
}

.storefront-theme-talb_market .sf-bestsellers .sf-bestseller-card__snippet,
.storefront-theme-talb_market .sf-classic-square-card .sf-product-snippet {
    font-size: 0.75rem !important;
    line-height: 1.4;
}

.storefront-theme-talb_market .sf-bestsellers .sf-sale-title-badge {
    font-size: 0.625rem;
    padding: 0.1rem 0.32rem;
}

.storefront-theme-talb_market .sf-bestsellers .sf-bestseller-card__price,
.storefront-theme-talb_market .sf-classic-square-card .sf-classic-price-amount,
.storefront-theme-talb_market .sf-classic-square-card .sf-card-footer .text-sm {
    font-size: 0.875rem !important;
}

.storefront-theme-talb_market .sf-bestsellers .sf-compare-at-price,
.storefront-theme-talb_market .sf-classic-square-card .sf-compare-at-price {
    font-size: 0.75rem !important;
}

/* Breathing room for “Developed by Talb” — keep logo clear of bottom nav / PWA home indicator */
.storefront-theme-talb_market .sf-storefront-footer {
    padding-top: 3.5rem;
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    margin-top: 1.25rem;
}

.storefront-theme-talb_market .sf-storefront-footer a {
    gap: 1rem;
    padding-block: 0.85rem;
    transform: translateY(-0.35rem);
}

.storefront-theme-talb_market .sf-talb-market-may-like__actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.85rem;
}

.storefront-theme-talb_market .sf-talb-market-may-like__suggest {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.5rem;
    padding: 0.55rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid color-mix(in srgb, var(--primary-color, #0d9488) 28%, #cbd5e1);
    background: color-mix(in srgb, #ffffff 88%, var(--primary-color, #0d9488));
    color: #0f172a;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-may-like__suggest,
.storefront-theme-talb_market.sf-dark .sf-talb-market-may-like__suggest {
    background: color-mix(in srgb, #27272a 88%, var(--primary-color, #0d9488));
    border-color: color-mix(in srgb, var(--primary-color, #0d9488) 36%, #3f3f46);
    color: #fafafa;
}

/* You-may-like: same deal cards, softer wash so it reads as a distinct rail. */
.storefront-theme-talb_market .sf-talb-market-may-like {
    background: color-mix(in srgb, var(--primary-color, #0d9488) 10%, #f8fafc);
    border-block-color: color-mix(in srgb, var(--primary-color, #0d9488) 18%, #e2e8f0);
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-may-like,
.storefront-theme-talb_market.sf-dark .sf-talb-market-may-like {
    background: color-mix(in srgb, var(--primary-color, #0d9488) 16%, #18181b);
    border-block-color: color-mix(in srgb, var(--primary-color, #0d9488) 24%, #3f3f46);
}

@media (prefers-reduced-motion: reduce) {
    .storefront-theme-talb_market .sf-talb-market-skeleton-media,
    .storefront-theme-talb_market .sf-talb-market-skeleton-line {
        animation: none;
    }
}

/* Category show page (reuses hub partials under talb_market theme) */
.storefront-theme-talb_market .sf-category-hub-show-header {
    background: color-mix(in srgb, #ffffff 92%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
}

.sf-dark .storefront-theme-talb_market .sf-category-hub-show-header,
.storefront-theme-talb_market.sf-dark .sf-category-hub-show-header {
    background: color-mix(in srgb, #18181b 92%, transparent);
    border-bottom-color: #3f3f46;
}

/* Custom item request (talb_market exclusive) */
.storefront-theme-talb_market .sf-talb-custom-item-invite {
    box-shadow: 0 1px 0 color-mix(in srgb, var(--primary-color, #0d9488) 8%, transparent);
}

.storefront-theme-talb_market .sf-talb-custom-item-modal {
    z-index: 110;
}

/* Lift FABs above the cart confirm bar so they stay tappable */
.storefront-theme-talb_market:has(.sf-talb-market-cart-checkout) .sf-talb-market-fab,
.storefront-theme-talb_market:has(.sf-talb-market-cart-checkout) .sf-talb-market-fab-support-wrap,
body:has(.sf-talb-market-cart-checkout) .sf-talb-market-fab,
body:has(.sf-talb-market-cart-checkout) .sf-talb-market-fab-support-wrap {
    bottom: calc(var(--sf-talb-market-nav-height) + 5.1rem + env(safe-area-inset-bottom, 0px)) !important;
}

body:has(.sf-talb-market-cart-checkout) .sf-talb-market-support-sheet,
.storefront-theme-talb_market:has(.sf-talb-market-cart-checkout) .sf-talb-market-support-sheet {
    bottom: calc(var(--sf-talb-market-nav-height) + 5.1rem + 3.15rem + 0.65rem + env(safe-area-inset-bottom, 0px)) !important;
}

.storefront-theme-talb_market:has(.sf-talb-market-cart-checkout) .storefront-cart-root {
    padding-bottom: calc(var(--sf-talb-market-nav-height) + 7.25rem + env(safe-area-inset-bottom, 0px));
}

/* Portal host is teleported to <body> — keep FABs viewport-fixed in LTR and RTL. */
.sf-talb-market-fabs-portal {
    position: fixed !important;
    inset: 0;
    z-index: 66;
    pointer-events: none;
    /* Do not set transform/filter here — that would re-create a fixed containing block. */
}

.sf-talb-market-fabs-portal .sf-talb-market-fab,
.sf-talb-market-fabs-portal .sf-talb-market-fab-support-wrap,
.sf-talb-market-fabs-portal .sf-talb-market-support-sheet,
.sf-talb-market-fabs-portal .sf-talb-market-support-sheet__backdrop {
    pointer-events: auto;
}

.storefront-theme-talb_market .sf-talb-market-fab-support-wrap,
.sf-talb-market-fabs-portal .sf-talb-market-fab-support-wrap {
    position: fixed !important;
    z-index: 66;
    /* Physical corners — independent of html[dir] so EN/AR never flip off-screen. */
    right: max(1rem, env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    bottom: calc(var(--sf-talb-market-nav-height) + 1.35rem + env(safe-area-inset-bottom, 0px)) !important;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.storefront-theme-talb_market .sf-talb-market-fab-support-wrap .sf-talb-market-fab--support,
.sf-talb-market-fabs-portal .sf-talb-market-fab-support-wrap .sf-talb-market-fab--support {
    position: static !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    transform: none;
}

.storefront-theme-talb_market .sf-talb-market-support-sheet__backdrop,
.sf-talb-market-fabs-portal .sf-talb-market-support-sheet__backdrop {
    position: fixed !important;
    inset: 0;
    z-index: 74;
    background: rgba(15, 23, 42, 0.35);
}

.storefront-theme-talb_market .sf-talb-market-support-sheet,
.sf-talb-market-fabs-portal .sf-talb-market-support-sheet {
    /* Viewport-fixed above the support FAB — never absolute+inline-end (breaks in RTL/LTR). */
    position: fixed !important;
    right: max(1rem, env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    inset-inline: auto !important;
    bottom: calc(var(--sf-talb-market-nav-height) + 1.35rem + 3.15rem + 0.65rem + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 75;
    width: min(16.5rem, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    padding: 0.75rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
    border: 1px solid #e2e8f0;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.sf-dark .storefront-theme-talb_market .sf-talb-market-support-sheet,
.storefront-theme-talb_market.sf-dark .sf-talb-market-support-sheet,
html.sf-dark .sf-talb-market-fabs-portal .sf-talb-market-support-sheet,
.sf-dark .sf-talb-market-fabs-portal .sf-talb-market-support-sheet {
    background: #18181b;
    border-color: #3f3f46;
}

.storefront-theme-talb_market .sf-talb-market-support-sheet__title {
    margin: 0 0 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
}

.storefront-theme-talb_market .sf-talb-market-support-sheet__action {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.7rem 0.8rem;
    border-radius: 0.8rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.storefront-theme-talb_market .sf-talb-market-support-sheet__action--whatsapp {
    background: #ecfdf5;
    color: #166534;
}

.storefront-theme-talb_market .sf-talb-market-support-sheet__action--call {
    background: color-mix(in srgb, var(--primary-color, #0d9488) 12%, white);
    color: var(--primary-color, #0d9488);
}

.storefront-theme-talb_market .sf-talb-market-support-sheet__dismiss {
    display: block;
    width: 100%;
    margin-top: 0.45rem;
    padding: 0.45rem;
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

/* —— Account hub (profile center) —— */
.storefront-theme-talb_market .sf-talb-market-account__avatar {
    display: inline-flex;

    width: 3.25rem;
    height: 3.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--primary-color, #0d9488) 14%, white);
    color: var(--primary-color, #0d9488);
    font-size: 0.95rem;
    font-weight: 800;
    flex-shrink: 0;
}
.storefront-theme-talb_market .sf-talb-market-account__gift {
    border-radius: 1rem;
    border: 1px solid color-mix(in srgb, var(--primary-color, #0d9488) 22%, #e2e8f0);
    background: color-mix(in srgb, var(--primary-color, #0d9488) 8%, white);
    color: var(--primary-color, #0d9488);
    padding: 0.85rem 1rem;
}
.storefront-theme-talb_market .sf-talb-market-account__menu {
    border-radius: 1.15rem;
    border: 1px solid #eef2f7;
    background: #fff;
    overflow: hidden;
}
.sf-dark .storefront-theme-talb_market .sf-talb-market-account__menu,
.storefront-theme-talb_market.sf-dark .sf-talb-market-account__menu {
    border-color: #27272a;
    background: #09090b;
}
.storefront-theme-talb_market .sf-talb-market-account__row {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
    text-align: start;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
}
.sf-dark .storefront-theme-talb_market .sf-talb-market-account__row,
.storefront-theme-talb_market.sf-dark .sf-talb-market-account__row {
    border-bottom-color: #27272a;
    color: #fafafa;
}
.storefront-theme-talb_market .sf-talb-market-account__row:last-of-type {
    border-bottom: 0;
}
.storefront-theme-talb_market .sf-talb-market-account__row-main {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}
.storefront-theme-talb_market .sf-talb-market-account__panel {
    padding: 0 1rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}
.sf-dark .storefront-theme-talb_market .sf-talb-market-account__panel,
.storefront-theme-talb_market.sf-dark .sf-talb-market-account__panel {
    border-bottom-color: #27272a;
}

/* —— Search discovery home —— */
.storefront-theme-talb_market .sf-talb-market-search-home__title {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}
.storefront-theme-talb_market .sf-talb-market-search-home__title--accent {
    color: var(--primary-color, #0d9488);
}
.storefront-theme-talb_market .sf-talb-market-search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.storefront-theme-talb_market .sf-talb-market-search-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
}
.storefront-theme-talb_market .sf-talb-market-search-smart {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scroll-snap-type: x mandatory;
}
.storefront-theme-talb_market .sf-talb-market-search-smart__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
}
.storefront-theme-talb_market .sf-talb-market-search-rail {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scroll-snap-type: x mandatory;
}
.storefront-theme-talb_market .sf-talb-market-search-rail-card {
    width: 7.5rem;
    scroll-snap-align: start;
}
.storefront-theme-talb_market .sf-talb-market-search-rail-card__media {
    position: relative;
    border-radius: 0.9rem;
    background: #fff;
    border: 1px solid #eef2f7;
    aspect-ratio: 1;
    overflow: hidden;
}
.sf-dark .storefront-theme-talb_market .sf-talb-market-search-rail-card__media {
    background: #18181b;
    border-color: #3f3f46;
}
.storefront-theme-talb_market .sf-talb-market-search-rail-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.storefront-theme-talb_market .sf-talb-market-search-rail-card__name {
    margin: 0.4rem 0 0;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sf-dark .storefront-theme-talb_market .sf-talb-market-search-rail-card__name {
    color: #fafafa;
}
.storefront-theme-talb_market .sf-talb-market-search-rail-card__unit {
    font-weight: 500;
    color: #64748b;
}
.storefront-theme-talb_market .sf-talb-market-search-rail-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.35rem;
    margin-top: 0.35rem;
}
.storefront-theme-talb_market .sf-talb-market-search-rail-card__prices {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    min-width: 0;
}
.storefront-theme-talb_market .sf-talb-market-search-rail-card__compare {
    font-size: 0.65rem;
    color: #94a3b8;
    text-decoration: line-through;
}
.storefront-theme-talb_market .sf-talb-market-search-rail-card__price {
    font-size: 0.8rem;
    font-weight: 800;
    color: #e11d48;
}
.storefront-theme-talb_market .sf-talb-market-search-rail-card__action .sf-product-action--add:not(.sf-product-action--qty),
.storefront-theme-talb_market .sf-talb-market-search-rail-card__action .sf-product-action--view,
.storefront-theme-talb_market .sf-talb-market-rec-card__action .sf-product-action--add:not(.sf-product-action--qty),
.storefront-theme-talb_market .sf-talb-market-rec-card__action .sf-product-action--view {
    width: 1.85rem;
    height: 1.85rem;
    min-width: 1.85rem;
    padding: 0;
    border-radius: 0.55rem;
}
.storefront-theme-talb_market .sf-talb-market-search-rail-card__action .sf-product-action--qty,
.storefront-theme-talb_market .sf-talb-market-rec-card__action .sf-product-action--qty {
    min-width: 4rem;
    height: 1.85rem;
    border-radius: 0.55rem;
}
.storefront-theme-talb_market .sf-talb-market-search-legendary {
    border-radius: 1rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.55), transparent 45%),
        linear-gradient(135deg, #fff1f2 0%, #ffe4e6 55%, #fecdd3 100%);
    padding: 0.85rem 0.75rem 1rem;
}
.storefront-theme-talb_market .sf-talb-market-search-legendary__title {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #9f1239;
}
.storefront-theme-talb_market .sf-talb-market-search-legendary__price {
    display: inline-flex;
    align-items: center;
    border-radius: 0.45rem;
    background: #e11d48;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
}

/* —— Product recommendation rails —— */
.storefront-theme-talb_market .sf-talb-market-recs__title {
    margin: 0 0 0.55rem;
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
}
.storefront-theme-talb_market .sf-talb-market-recs__rail {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scroll-snap-type: x mandatory;
}
.storefront-theme-talb_market .sf-talb-market-rec-card {
    position: relative;
    width: 7.25rem;
    scroll-snap-align: start;
}
.storefront-theme-talb_market .sf-talb-market-rec-card__media {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    aspect-ratio: 1;
    border-radius: 0.9rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef2f7;
    cursor: pointer;
}
.sf-dark .storefront-theme-talb_market .sf-talb-market-rec-card__media {
    background: #18181b;
    border-color: #3f3f46;
}
.storefront-theme-talb_market .sf-talb-market-rec-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.storefront-theme-talb_market .sf-talb-market-rec-card__name {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sf-dark .storefront-theme-talb_market .sf-talb-market-rec-card__name {
    color: #fafafa;
}
.storefront-theme-talb_market .sf-talb-market-rec-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.35rem;
    margin-top: 0.35rem;
}
.storefront-theme-talb_market .sf-talb-market-rec-card__prices {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    min-width: 0;
}
.storefront-theme-talb_market .sf-talb-market-rec-card__compare {
    font-size: 0.65rem;
    color: #94a3b8;
    text-decoration: line-through;
}
.storefront-theme-talb_market .sf-talb-market-rec-card__price {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-color, #0d9488);
}

/* —— Category chips + content loaders —— */
.storefront-theme-talb_market .sf-talb-market-cat-chips {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scroll-snap-type: x mandatory;
}
.storefront-theme-talb_market .sf-talb-market-cat-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 4.4rem;
    border: 0;
    background: transparent;
    padding: 0;
    scroll-snap-align: start;
    cursor: pointer;
}
.storefront-theme-talb_market .sf-talb-market-cat-chip__media {
    position: relative;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 9999px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.storefront-theme-talb_market .sf-talb-market-cat-chip.is-active .sf-talb-market-cat-chip__media {
    border-color: var(--primary-color, #0d9488);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary-color, #0d9488) 20%, transparent);
}
.storefront-theme-talb_market .sf-talb-market-cat-chip__media--all {
    color: var(--primary-color, #0d9488);
}
.storefront-theme-talb_market .sf-talb-market-cat-chip__img {
    width: 100%;
    height: 100%;
}
.storefront-theme-talb_market .sf-talb-market-cat-chip__img.is-cover {
    object-fit: cover;
}
.storefront-theme-talb_market .sf-talb-market-cat-chip__label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #475569;
    text-align: center;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.storefront-theme-talb_market .sf-talb-market-cat-chip.is-active .sf-talb-market-cat-chip__label {
    color: var(--primary-color, #0d9488);
}
.storefront-theme-talb_market .sf-talb-market-cat-chip__loading {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, #fff 55%, transparent);
}
.storefront-theme-talb_market .sf-talb-market-content-loader--chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.storefront-theme-talb_market .sf-talb-market-skeleton-pill {
    display: inline-block;
    width: 4.5rem;
    height: 1.7rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: sf-talb-skel 1.1s ease-in-out infinite;
}
.storefront-theme-talb_market .sf-talb-market-skeleton-card {
    border-radius: 1rem;
    border: 1px solid #eef2f7;
    background: #fff;
    padding: 0.55rem;
}
.storefront-theme-talb_market .sf-talb-market-skeleton-media {
    aspect-ratio: 1;
    border-radius: 0.75rem;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: sf-talb-skel 1.1s ease-in-out infinite;
}
.storefront-theme-talb_market .sf-talb-market-skeleton-line {
    margin-top: 0.45rem;
    height: 0.55rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: sf-talb-skel 1.1s ease-in-out infinite;
}
.storefront-theme-talb_market .sf-talb-market-skeleton-line.is-short {
    width: 55%;
}
@keyframes sf-talb-skel {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Hide legacy search FAB offset when only support FAB remains */
.storefront-theme-talb_market .sf-talb-market-fabs-portal:not(:has(.sf-talb-market-fab--search)) .sf-talb-market-fab--support {
    inset-inline-end: 1rem;
}

/* —— Page-root white canvas (account/search/category roots that carry theme class on the Livewire root) —— */
.storefront-theme-talb_market,
.storefront-theme-talb_market.storefront-account-root,
.storefront-theme-talb_market.storefront-search-page-root,
.storefront-theme-talb_market.storefront-past-orders-root,
.storefront-theme-talb_market.storefront-category-root,
.storefront-theme-talb_market.storefront-account-section-root {
    background: #ffffff;
    color: #0f172a;
}
.sf-dark .storefront-theme-talb_market,
.storefront-theme-talb_market.sf-dark,
.sf-dark .storefront-theme-talb_market.storefront-account-root,
.sf-dark .storefront-theme-talb_market.storefront-search-page-root,
.sf-dark .storefront-theme-talb_market.storefront-past-orders-root,
.sf-dark .storefront-theme-talb_market.storefront-category-root,
.sf-dark .storefront-theme-talb_market.storefront-account-section-root {
    background: #09090b;
    color: #fafafa;
}
.sf-dark .storefront-theme-talb_market .sf-talb-market-btn-primary,
.storefront-theme-talb_market.sf-dark .sf-talb-market-btn-primary,
.sf-dark .storefront-theme-talb_market .storefront-btn-primary,
.storefront-theme-talb_market.sf-dark .storefront-btn-primary,
.sf-dark .storefront-theme-talb_market .sf-talb-market-search-result__add,
.storefront-theme-talb_market.sf-dark .sf-talb-market-search-result__add,
.sf-dark .storefront-theme-talb_market .sf-talb-market-nav-item__icon-wrap.is-active-icon,
.storefront-theme-talb_market.sf-dark .sf-talb-market-nav-item__icon-wrap.is-active-icon {
    background: var(--accent-color, var(--storefront-accent, #14b8a6)) !important;
    color: #0b1220 !important;
}
.sf-dark .storefront-theme-talb_market .storefront-text-primary,
.storefront-theme-talb_market.sf-dark .storefront-text-primary,
.sf-dark .storefront-theme-talb_market .sf-text-primary,
.storefront-theme-talb_market.sf-dark .sf-text-primary {
    color: var(--accent-color, var(--storefront-accent, #14b8a6)) !important;
}

.storefront-theme-talb_market .sf-talb-market-search-page__field {
    position: relative;
    display: block;
}
.storefront-theme-talb_market .sf-talb-market-search-page__icon svg {
    display: block;
}
.storefront-theme-talb_market .sf-talb-market-search-page__input {
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    line-height: 1.25rem;
}
.storefront-theme-talb_market .sf-talb-market-search-result__add {
    background: var(--primary-color, #0d9488);
    border: 0;
    font-size: 1.15rem;
    font-weight: 700;
}
.storefront-theme-talb_market .sf-talb-market-search-result__view {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: var(--primary-color, #0d9488);
}
.sf-dark .storefront-theme-talb_market .sf-talb-market-search-result__view,
.storefront-theme-talb_market.sf-dark .sf-talb-market-search-result__view {
    border-color: #3f3f46;
    background: #18181b;
    color: var(--accent-color, #14b8a6);
}

/* Account rows as anchors */
.storefront-theme-talb_market a.sf-talb-market-account__row {
    text-decoration: none;
}
.storefront-theme-talb_market .sf-category-hub-products {
    background: #ffffff;
}
.sf-dark .storefront-theme-talb_market .sf-category-hub-products,
.storefront-theme-talb_market.sf-dark .sf-category-hub-products {
    background: #09090b;
}
