/* Famberzbuilt — header mode toggles + shop-by-category browser */
.fb-header-separator {
    width: 100%;
    height: 1px;
    margin: 0;
    border: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #2a2a2a 15%,
        rgba(254, 0, 0, 0.45) 50%,
        #2a2a2a 85%,
        transparent 100%
    );
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 99;
}

.fb-mode-toggles {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 12px 0 8px;
    flex-shrink: 0;
}

.fb-seg {
    display: inline-flex;
    align-items: stretch;
    background: #1a1a1a;
    border-radius: 999px;
    padding: 4px;
    border: 1px solid #2a2a2a;
}

.fb-seg__btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.fb-seg__btn.is-active {
    background: #fe0000;
    color: #fff;
    box-shadow: 0 0 0 1px rgba(254, 0, 0, 0.35);
}

.fb-seg--condition .fb-seg__btn.is-active {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 1.5px #fff;
}

.fb-seg--condition .fb-seg__btn:not(.is-active) {
    color: #bbb;
}

/* Dark search to match mockup when toggles present */
.navbar-expand-lg .mobile-nav-search .selectinput {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.navbar-expand-lg.fb-header-nav .selectinput-left {
    display: none !important;
}

.fb-header-nav > .container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.fb-header-nav .btn-toggle {
    display: none;
}

.fb-header-nav .navbar-brand {
    flex: 0 0 auto;
    margin-right: 0;
}

.fb-header-nav .fb-mode-toggles {
    flex: 0 0 auto;
    margin: 0;
}

.fb-header-nav .mobile-nav-search {
    flex: 1 1 auto;
    min-width: 220px;
    max-width: none;
    margin: 0 !important;
    width: auto !important;
}

.fb-header-nav .mobile-nav {
    flex: 0 0 auto;
    margin-left: 0 !important;
}

/* Desktop: stack Burz coins label above price (same row as other icons) */
@media (min-width: 992px) {
    .fb-header-nav .mobile-nav > .nav-item:last-child .nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 3px 15px !important;
        line-height: 1.2;
        white-space: nowrap;
    }

    .fb-header-nav .mobile-nav .fb-coins-label,
    .fb-header-nav .mobile-nav .show-wallet {
        display: block !important;
    }

    .fb-header-nav .mobile-nav .fb-coins-label {
        font-size: 12px;
        font-weight: 500;
        color: #fff;
        text-transform: capitalize;
    }

    .fb-header-nav .mobile-nav .show-wallet {
        font-size: 12px !important;
        font-weight: 700;
        color: #fff;
        margin-top: 2px;
    }
}

.fb-header-nav .mobile-nav-search > .nav-item {
    width: 100%;
}

.fb-header-nav .mobile-nav-search .navbar-form,
.fb-header-nav .mobile-nav-search .searchbox {
    position: relative;
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
}

.fb-header-nav .mobile-nav-search .form-group {
    width: 100%;
    margin: 0;
}

.fb-header-nav .selectinput-right {
    width: 100% !important;
    flex: 1 1 auto;
}

.fb-header-nav .mobile-nav-search .searchbox-input.form-control {
    width: 100% !important;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #2a2a2a;
    background: #1a1a1a;
    color: #fff !important;
    font-size: 13px;
    padding: 8px 48px 8px 18px;
    box-shadow: none;
}

.fb-header-nav .mobile-nav-search .searchbox-input.form-control::placeholder {
    color: #9a9a9a !important;
    opacity: 1;
}

.fb-header-nav .mobile-nav-search .searchbox-submit.btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.fb-header-nav .mobile-nav-search .mobilesrch.searchbox-icon {
    display: none;
}

.fb-header-nav .fb-seg__btn {
    font-size: 13px;
    padding: 10px 22px;
}

@media (max-width: 1199px) {
    .fb-header-nav .fb-seg__btn {
        padding: 9px 16px;
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    .fb-header-nav .btn-toggle {
        display: none !important;
    }

    .fb-header-nav > .container {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "logo icons"
            "toggles toggles"
            "search search";
        gap: 10px 12px;
        align-items: center;
        padding: 10px 12px;
        flex-wrap: unset;
    }

    .fb-header-nav .navbar-brand {
        grid-area: logo;
        position: static !important;
        order: unset;
        margin-right: 0 !important;
        padding: 4px 0 !important;
    }

    .fb-header-nav .navbar-brand > img {
        width: 56px !important;
        padding-left: 0 !important;
        margin-top: 0;
    }

    .fb-header-nav .mobile-nav {
        grid-area: icons;
        position: static !important;
        order: unset;
        justify-self: end;
        right: auto !important;
        top: auto !important;
        margin-left: 0 !important;
        gap: 8px;
    }

    .fb-header-nav .mobile-nav .nav-link {
        padding: 2px 4px !important;
        font-size: 10px !important;
        line-height: 1.1;
    }

    .fb-header-nav .mobile-nav .nav-link span:not(.show-wallet) {
        display: none;
    }

    .fb-header-nav .mobile-nav .nav-link img {
        width: 20px !important;
        margin: 0 auto;
        display: block;
    }

    .fb-header-nav .mobile-nav > .nav-item:last-child .nav-link {
        font-size: 0;
        padding: 2px 4px !important;
        text-align: center;
        min-width: auto;
    }

    .fb-header-nav .mobile-nav .fb-coins-label {
        display: none !important;
    }

    .fb-header-nav .mobile-nav .show-wallet {
        display: block !important;
        font-size: 9px !important;
        font-weight: 700;
        color: #fff;
        line-height: 1.2;
    }

    .fb-header-nav .fb-mode-toggles {
        grid-area: toggles;
        order: unset;
        width: auto;
        max-width: 100%;
        margin: 0;
        gap: 6px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .fb-header-nav .fb-mode-toggles::-webkit-scrollbar {
        display: none;
    }

    .fb-header-nav .fb-seg {
        flex-shrink: 0;
    }

    .fb-header-nav .fb-seg__btn {
        padding: 10px 16px;
        font-size: 11px;
    }

    .fb-header-nav .mobile-nav-search {
        grid-area: search;
        order: unset;
        flex: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        position: static !important;
        right: auto !important;
        top: auto !important;
        margin: 0 !important;
        background: transparent !important;
        padding: 0 !important;
    }

    .fb-header-nav .mobile-nav-search .searchbox,
    .fb-header-nav .mobile-nav-search .navbar-form {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        overflow: visible !important;
        transition: none !important;
    }

    .fb-header-nav .mobile-nav-search .mobilesrch {
        display: none !important;
    }

    .fb-header-nav .mobile-nav-search .searchbox-input.form-control {
        height: 42px;
        font-size: 13px;
        padding: 8px 44px 8px 16px;
    }

    .fb-header-nav .mobile-nav-search .searchbox-submit.btn {
        width: 34px;
        height: 34px;
        display: inline-flex !important;
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    /* Override legacy responsive.css absolute positioning */
    .fb-header-nav .mobile-nav {
        position: static !important;
        right: auto !important;
        top: auto !important;
    }

    .fb-header-nav .mobile-nav-search {
        position: static !important;
        right: auto !important;
        top: auto !important;
        background: transparent !important;
        padding: 0 !important;
    }
}

.fb-trust-bar {
    background: #0b0b0b;
    border-top: 1px solid #1f1f1f;
    border-bottom: 1px solid #1f1f1f;
    padding: 14px 0;
}

.fb-trust-bar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.fb-trust-bar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
}

.fb-trust-bar__list li {
    color: #d0d0d0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.fb-trust-bar__list i {
    color: #fe0000;
    font-size: 13px;
}

.fb-trust-bar__cta {
    display: inline-flex;
    align-items: center;
    background: #fe0000;
    color: #fff !important;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 10px 16px;
    border-radius: 999px;
    white-space: nowrap;
}

.fb-trust-bar__cta:hover {
    background: #d00000;
    color: #fff !important;
}

.fb-shop-categories {
    background: #000;
    padding: 28px 0 48px;
    color: #fff;
    position: relative;
}

.fb-shop-categories::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(254, 0, 0, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 40% 30% at 100% 20%, rgba(37, 99, 235, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.fb-shop-categories > .container {
    position: relative;
    z-index: 1;
}

.fb-shop-categories__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    padding-bottom: 0;
    border-bottom: 0;
}

.fb-shop-categories__title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.fb-shop-categories__hint {
    margin: 6px 0 0;
    color: #9a9aa6;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
}

.fb-shop-categories__note {
    margin: 0;
    color: #8a8a8a;
    font-size: 13px;
    max-width: 340px;
    text-align: right;
    line-height: 1.4;
}

.fb-shop-categories__intro .fb-shop-categories__note {
    text-align: left;
    max-width: none;
    margin-top: 4px;
}

/* Blinkit-style icon rows */
.fb-blinkit-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 2px 14px;
    margin-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.fb-blinkit-row::-webkit-scrollbar { display: none; }

.fb-blinkit-item {
    flex: 0 0 auto;
    width: 96px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 4px 2px;
    text-align: center;
}

.fb-blinkit-item__icon {
    width: 75px;
    height: 75px;
    border-radius: 18px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.fb-blinkit-item__label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    color: #cfcfcf;
    max-width: 92px;
}

.fb-blinkit-item.is-active .fb-blinkit-item__icon,
.fb-blinkit-item:hover .fb-blinkit-item__icon {
    border-color: #fe0000;
    background: #241010;
    transform: translateY(-1px);
}

.fb-blinkit-item.is-active .fb-blinkit-item__label {
    color: #fff;
}

.fb-cat-panel {
    margin-top: 24px;
    margin-bottom: 24px;
}

.fb-shop-categories__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.fb-cat-card {
    background: #161616;
    border: 1px solid #222;
    border-radius: 16px;
    padding: 16px;
    min-height: 160px;
}

.fb-cat-card--full {
    min-height: 0;
}

.fb-cat-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.fb-cat-card__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.fb-cat-card__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid #fe0000;
    color: #fe0000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
}

.fb-cat-card__heading h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fb-cat-card__seeall {
    color: #9a9a9a;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.fb-cat-card__seeall:hover {
    color: #fff;
}

.fb-cat-card__tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.fb-cat-card__tiles--many {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fb-subcat-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fb-cat-panel {
    margin-top: 30px;
    scroll-margin-top: 120px;
}

.fb-cat-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.fb-cat-panel__title {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.fb-subcat-box {
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fb-subcat-box__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.fb-subcat-box__title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
}

.fb-subcat-box__title:hover {
    color: #fe0000;
    text-decoration: none;
}

.fb-subcat-box__more {
    color: #8a8a8a;
    font-size: 11px;
    white-space: nowrap;
    text-decoration: none;
}

.fb-subcat-box__more:hover {
    color: #fff;
    text-decoration: none;
}

.fb-subcat-box__products {
    display: grid;
    gap: 10px;
}

.fb-subcat-box__products.is-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fb-subcat-box__products.is-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fb-subcat-box__leaves {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.fb-subcat-leaf {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: #101010;
    border: 1px solid #262626;
    border-radius: 12px;
    padding: 10px 12px;
    min-height: 64px;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.fb-subcat-leaf:hover {
    border-color: #fe0000;
    background: #181818;
    text-decoration: none;
    transform: translateY(-1px);
}

.fb-subcat-leaf__icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--leaf-accent, #fe0000) 18%, #101010);
    color: var(--leaf-accent, #fe0000);
    font-size: 16px;
}

.fb-subcat-leaf__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.fb-subcat-leaf__name {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-subcat-leaf__count {
    color: #8a8a8a;
    font-size: 11px;
}

.fb-subcat-prod {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    background: #101010;
    border: 1px solid #262626;
    border-radius: 12px;
    padding: 10px;
    min-height: 0;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.fb-subcat-prod:hover {
    border-color: #3a3a3a;
    background: #181818;
    text-decoration: none;
    transform: translateY(-1px);
}

.fb-subcat-prod__img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: #0d0d0d;
}

.fb-subcat-prod__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.fb-subcat-prod__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.fb-subcat-prod__name {
    font-size: 12px;
    line-height: 1.3;
    color: #eee;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.fb-subcat-prod__price {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.fb-subcat-box__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border: 1px dashed #333;
    border-radius: 10px;
    color: #888;
    font-size: 12px;
    text-decoration: none;
}

.fb-subcat-box__empty:hover {
    color: #fff;
    border-color: #555;
    text-decoration: none;
}

.fb-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: #1f1f1f;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 14px 12px;
    text-decoration: none;
    min-height: 72px;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.fb-tile:hover {
    border-color: #3a3a3a;
    background: #242424;
    transform: translateY(-1px);
    text-decoration: none;
}

.fb-tile__name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

/* legacy class kept empty for safety */
.fb-hero-promo { display: none; }

@media (max-width: 991px) {
    .fb-shop-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fb-cat-card__tiles--many {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fb-subcat-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fb-trust-bar > .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .fb-shop-categories__grid {
        grid-template-columns: 1fr;
    }

    .fb-shop-categories__note {
        text-align: left;
        max-width: none;
    }

    .fb-cat-card__tiles,
    .fb-cat-card__tiles--many {
        grid-template-columns: 1fr;
    }

    .fb-subcat-list {
        grid-template-columns: 1fr;
    }

    .fb-blinkit-item {
        width: 78px;
    }

    .fb-blinkit-item__icon {
        width: 56px;
        height: 56px;
        font-size: 20px;
        border-radius: 16px;
    }

    .fb-seg__btn {
        padding: 9px 14px;
        font-size: 12px;
    }
}

/* ===== Dark subcategory / product listing ===== */
.fb-listing {
    background: #0b0b0b;
    color: #fff;
    min-height: 60vh;
    padding-bottom: 48px;
}

.fb-sell-strip {
    background: #000;
    color: #f5d565;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 10px 16px;
    border-bottom: 1px solid #1f1f1f;
}

.fb-cat-tabs {
    border-bottom: 1px solid #1f1f1f;
    background: #0b0b0b;
}

.fb-cat-tabs__scroller {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.fb-cat-tabs__scroller::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
    height: 0;
    width: 0;
}

.fb-cat-tabs__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    color: #9a9a9a;
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
}

.fb-cat-tabs__item i {
    color: #fe0000;
    font-size: 14px;
}

.fb-cat-tabs__item:hover {
    color: #fff;
    text-decoration: none;
}

.fb-cat-tabs__item.is-active {
    color: #fff;
    border-bottom-color: #fe0000;
}

.fb-listing__body {
    padding-top: 18px;
}

.fb-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #9a9a9a;
    margin-bottom: 16px;
}

.fb-breadcrumb a {
    color: #9a9a9a;
    text-decoration: none;
}

.fb-breadcrumb a:hover {
    color: #fff;
}

.fb-breadcrumb .is-current {
    color: #fff;
}

.fb-subpills-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: nowrap;
}

.fb-subpills {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}

.fb-subpills::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
}

.fb-subpill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #ddd;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.fb-subpill:hover {
    color: #fff;
    text-decoration: none;
    border-color: #444;
}

.fb-subpill.is-active {
    background: #fe0000;
    border-color: #fe0000;
    color: #fff;
}

.fb-subpills-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.fb-product-count {
    color: #9a9a9a;
    font-size: 13px;
}

.fb-sort {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #fff;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
}

.fb-prod-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.fb-prod-col {
    padding: 0;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1199px) {
    .fb-prod-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .fb-prod-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .fb-prod-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .fb-prod-grid {
        grid-template-columns: 1fr;
    }
}

.fb-prod-card {
    background: #161616;
    border: 1px solid #222;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fb-prod-card__media {
    position: relative;
    background: #111;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fb-prod-card__media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.fb-prod-card__media img {
    display: block;
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

.fb-prod-card__badge {
    position: absolute;
    top: 12px;
    left: 0;
    background: #f5d565;
    color: #111;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
    z-index: 2;
}

.fb-prod-card__oos {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
}

.fb-prod-card__body {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.fb-prod-card__title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 2.7em;
}

.fb-prod-card__title a {
    color: #fff;
    text-decoration: none;
}

.fb-prod-card__title a:hover {
    color: #fe0000;
}

.fb-prod-card__price {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.fb-prod-card__price-now {
    color: #22c55e;
    font-size: 15px;
    font-weight: 800;
}

.fb-prod-card__price-was {
    color: #888;
    font-size: 13px;
}

.fb-prod-card__cart {
    display: block;
    text-align: center;
    background: #fe0000;
    color: #fff !important;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 11px;
    padding: 10px 8px;
    border-radius: 10px;
    text-decoration: none !important;
    margin-top: auto;
}

.fb-prod-card__cart:hover {
    background: #d00000;
}

.fb-prod-card__cart--disabled {
    background: #333;
    cursor: not-allowed;
}

.fb-sell-payouts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}

.fb-sell-payout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.fb-sell-payout__price {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.fb-sell-payout__btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #fe0000;
    color: #fff !important;
    font-weight: 800;
    font-size: 12px;
    padding: 8px 6px;
    border-radius: 8px;
    text-decoration: none !important;
}

.fb-sell-payout__btn:hover {
    background: #d00000;
    color: #fff !important;
}

.fb-loading,
.fb-prod-empty {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 32px 16px 40px;
    color: #fff;
}

.fb-prod-empty__card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    padding: 32px 24px 28px;
    text-align: center;
    background: linear-gradient(180deg, #181818 0%, #121212 100%);
    border: 1px solid #2a2a2a;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.fb-prod-empty__visual {
    width: 108px;
    height: 108px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fb-prod-empty__svg {
    width: 100%;
    height: 100%;
    display: block;
}

.fb-prod-empty__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.fb-prod-empty__desc {
    margin: 0 auto 20px;
    max-width: 300px;
    font-size: 13px;
    line-height: 1.6;
    color: #8f8f8f;
}

.fb-prod-empty__actions {
    display: flex;
    justify-content: center;
}

.fb-prod-empty__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #fe0000;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    border: 1px solid #fe0000;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.fb-prod-empty__btn:hover {
    background: #d00000;
    border-color: #d00000;
    color: #fff !important;
    transform: translateY(-1px);
}

.fb-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.fb-pagination .pagination > li > a,
.fb-pagination .pagination > li > span {
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #fff;
}

.fb-pagination .pagination > .active > a {
    background: #fe0000;
    border-color: #fe0000;
}

@media (max-width: 767px) {
    .fb-subpills-row {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .fb-subpills {
        width: 100%;
        order: 1;
    }

    .fb-subpills-meta {
        width: 100%;
        justify-content: space-between;
        order: 2;
    }

    .fb-prod-card__title {
        font-size: 14px;
        min-height: 0;
    }
}

/* ===== Responsive header top bar (mobile) ===== */
@media (max-width: 767px) {
    header.fixedHeader .hdr-top {
        padding: 4px 0 6px;
    }

    header.fixedHeader .hdr-top p {
        font-size: 10px;
        line-height: 1.35;
        margin-bottom: 6px;
        padding-top: 2px;
    }

    header.fixedHeader .hdr-top-cnt {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 6px 10px;
        margin-bottom: 4px;
    }

    header.fixedHeader .hdr-top-cnt li {
        margin-right: 0 !important;
    }

    header.fixedHeader .hdr-top-cnt li a {
        font-size: 10px;
        white-space: nowrap;
    }

    header.fixedHeader .hdr-top-cnt li a.sell {
        padding: 3px 8px;
        font-size: 9px;
    }

    header.fixedHeader .hdr-top-cnt li a > img {
        width: 14px;
        height: auto;
        vertical-align: middle;
    }
}

@media (max-width: 400px) {
    header.fixedHeader .hdr-top .row > .col-md-6:first-child {
        display: none;
    }

    .fb-header-nav .mobile-nav .nav-link {
        padding: 3px 4px !important;
    }

    .fb-header-nav .mobile-nav .nav-link img {
        width: 18px !important;
    }

    .fb-header-nav .fb-seg__btn {
        padding: 10px 16px;
        font-size: 11px;
    }

    header.fixedHeader .hdr-top-cnt li a {
        font-size: 9px;
    }
}


/* ── Shop home: poster tabs, hero, product rails ── */
.fb-blinkit-row--l1 {
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 2px 18px;
    margin-bottom: 6px;
    align-items: stretch;
    scroll-snap-type: x proximity;
}

.fb-l1-tab {
    flex: 0 0 auto;
    width: 210px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    text-align: center;
    scroll-snap-align: start;
    transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fb-l1-tab__poster {
    position: relative;
    height: 210px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #2a2a33;
    background: linear-gradient(
        160deg,
        #1b1b22 0%,
        color-mix(in srgb, var(--l1-accent, #fe0000) 35%, #0b0b0f) 55%,
        #0b0b0f 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}

.fb-l1-tab__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: initial;
    z-index: 0;
}

.fb-l1-tab__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 42%, rgba(0, 0, 0, 0.12) 100%),
        linear-gradient(120deg, rgba(0, 0, 0, 0.25) 0%, transparent 55%);
}

.fb-l1-tab__poster.has-image::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 42px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to top,
        color-mix(in srgb, var(--l1-accent, #fe0000) 42%, transparent),
        transparent
    );
}

.fb-l1-tab__fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 9px,
            rgba(0, 0, 0, 0.14) 9px,
            rgba(0, 0, 0, 0.14) 10px
        ),
        radial-gradient(circle at 18% 28%, rgba(255, 220, 80, 0.55) 0 3px, transparent 3px),
        radial-gradient(circle at 72% 22%, rgba(96, 165, 250, 0.5) 0 3px, transparent 3px),
        radial-gradient(circle at 85% 68%, rgba(254, 0, 0, 0.45) 0 3px, transparent 3px),
        radial-gradient(circle at 32% 78%, rgba(34, 197, 94, 0.4) 0 2px, transparent 2px),
        radial-gradient(circle at 55% 45%, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px);
    opacity: 0.85;
}

.fb-l1-tab__title {
    position: relative;
    z-index: 2;
    font-size: 1.35rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    padding: 0 8px;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.65),
        0 0 24px color-mix(in srgb, var(--l1-accent, #fe0000) 65%, transparent);
}

.fb-l1-tab__label {
    font-size: 0.86rem;
    font-weight: 700;
    color: #9a9aa6;
    line-height: 1.25;
    transition: color 0.15s ease;
}

.fb-l1-tab:hover {
    transform: translateY(-3px);
}

.fb-l1-tab:hover .fb-l1-tab__poster {
    border-color: color-mix(in srgb, var(--l1-accent, #fe0000) 60%, #2a2a33);
}

.fb-l1-tab.is-active {
    transform: translateY(-4px);
}

.fb-l1-tab.is-active .fb-l1-tab__poster {
    border-color: var(--l1-accent, #fe0000);
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--l1-accent, #fe0000) 55%, transparent),
        0 14px 30px color-mix(in srgb, var(--l1-accent, #fe0000) 26%, transparent);
}

.fb-l1-tab.is-active .fb-l1-tab__label {
    color: #fff;
}

/* Legacy blinkit L1 overrides (poster tabs replace icons) */
.fb-blinkit-item--l1 {
    width: 210px;
}

.fb-blinkit-item--l1 .fb-blinkit-item__icon {
    display: none;
}

.fb-blinkit-item--l1 .fb-blinkit-item__label {
    display: none;
}

.fb-shop-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin: 6px 0 28px;
    padding: 26px 28px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--hero-accent, #fe0000) 40%, #2a2a33);
    background:
        radial-gradient(360px 200px at 88% 12%, color-mix(in srgb, var(--hero-accent, #fe0000) 44%, transparent), transparent 72%),
        repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 12px),
        linear-gradient(120deg, #15151b 0%, #0d0d11 60%);
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 12px 40px rgba(0, 0, 0, 0.45);
}

.fb-shop-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.38;
}

.fb-shop-hero--has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(10, 10, 13, 0.92) 0%, rgba(10, 10, 13, 0.72) 48%, rgba(10, 10, 13, 0.55) 100%),
        radial-gradient(ellipse 70% 120% at 100% 50%, color-mix(in srgb, var(--hero-accent, #fe0000) 22%, transparent) 0%, transparent 70%);
}

.fb-shop-hero__fx {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.035) 0 2px,
            transparent 2px 12px
        ),
        radial-gradient(ellipse 55% 90% at 0% 50%, color-mix(in srgb, var(--hero-accent, #fe0000) 28%, transparent) 0%, transparent 65%),
        radial-gradient(ellipse 40% 80% at 100% 50%, color-mix(in srgb, var(--hero-accent, #fe0000) 12%, transparent) 0%, transparent 60%);
}

.fb-shop-hero--has-image .fb-shop-hero__fx {
    opacity: 0.45;
}

.fb-shop-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.fb-shop-hero__eyebrow {
    display: block;
    color: var(--hero-accent, #fe0000);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 4px;
}

.fb-shop-hero__title {
    margin: 0 0 6px;
    font-size: clamp(1.3rem, 3vw, 1.85rem);
    font-weight: 900;
    font-style: italic;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.05;
    text-transform: uppercase;
}

.fb-shop-hero__title span {
    color: var(--hero-accent, #fe0000);
}

.fb-shop-hero__text {
    margin: 0;
    color: #9a9aa6;
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 46ch;
}

.fb-shop-hero__btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 9px;
    border: none;
    background: var(--hero-accent, #fe0000);
    color: #0a0a0d !important;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1.2;
    min-height: 0;
    transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--hero-accent, #fe0000) 28%, transparent);
}

/* fb-tile is kept for mode href JS — reset tile card styles on the hero CTA */
.fb-shop-hero__btn.fb-tile {
    flex-direction: row;
    gap: 0;
    min-height: 0;
    padding: 13px 18px;
    border: none;
    background: var(--hero-accent, #fe0000);
    border-radius: 9px;
}

.fb-shop-hero__btn:hover,
.fb-shop-hero__btn.fb-tile:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    color: #0a0a0d !important;
    border: none;
    background: var(--hero-accent, #fe0000);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--hero-accent, #fe0000) 32%, transparent);
}

.fb-shop-section {
    margin-bottom: 20px;
    padding: 18px 20px 20px;
    border-radius: 16px;
    border: 1px solid #222;
    background:
        linear-gradient(180deg, #101010 0%, #080808 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 8px 28px rgba(0, 0, 0, 0.35);
}

.fb-shop-section__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #1c1c1c;
}

.fb-shop-section__lead {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-wrap: wrap;
}

.fb-shop-section__title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    min-width: 0;
}

.fb-shop-section__count {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: #141414;
    border: 1px solid #262626;
    color: #8a8a8a;
    font-size: 12px;
    font-weight: 600;
}

.fb-shop-section__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.fb-shop-section__nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fb-shop-section__viewall.fb-tile {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    padding: 0;
    min-height: 0;
    transform: none !important;
}

.fb-shop-section__viewall.fb-tile:hover {
    background: transparent !important;
    border-color: transparent !important;
    transform: none !important;
}

.fb-shop-section__viewall {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fe0000 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1;
    transition: color 0.2s ease;
}

.fb-shop-section__viewall:hover {
    color: #ff4444 !important;
    background: transparent;
}

.fb-shop-brand.fb-tile {
    flex-direction: row;
    align-items: center;
    min-height: 0;
    transform: none;
}

.fb-shop-brand.fb-tile:hover {
    transform: none;
}

.fb-shop-section__empty {
    padding: 20px 4px 6px;
    text-align: center;
}

.fb-shop-section__empty p {
    margin: 0 0 10px;
    color: #666;
    font-size: 13px;
}

.fb-shop-section__empty-link.fb-tile {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    min-height: 0;
    padding: 13px 18px;
    border-radius: 10px;
    background: #141414;
    border: 1px solid #2a2a2a;
    color: #fe0000 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.fb-shop-section__empty-link.fb-tile:hover {
    border-color: #fe0000;
    background: #1a1010;
    transform: none;
}

.fb-shop-rail__btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #333;
    background: #141414;
    color: #aaa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 11px;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.fb-shop-rail__btn:hover {
    border-color: #fe0000;
    background: #1a1010;
    color: #fff;
}

.fb-shop-brands {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 2px 14px;
    margin-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.fb-shop-brands::-webkit-scrollbar {
    display: none;
}

.fb-shop-brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 118px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #141414;
    border: 1px solid #262626;
    text-decoration: none !important;
    color: #fff;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.fb-shop-brand:hover {
    border-color: color-mix(in srgb, var(--leaf-accent, #fe0000) 45%, #333);
    background: #181818;
    color: #fff;
}

.fb-shop-brand__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--leaf-accent, #fe0000) 14%, #0d0d0d);
    border: 1px solid color-mix(in srgb, var(--leaf-accent, #fe0000) 30%, #2a2a2a);
    color: var(--leaf-accent, #fe0000);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.fb-shop-brand__icon.has-image {
    width: 40px;
    height: 40px;
    background: #1b1b22;
    border-color: #2a2a33;
    padding: 4px;
    overflow: hidden;
}

.fb-shop-brand__icon.has-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

.fb-shop-brand__meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.fb-shop-brand__name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fb-shop-brand__count {
    font-size: 11px;
    color: #6f6f6f;
    line-height: 1.2;
}

.fb-shop-top-label {
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: #555;
    margin: 12px 0 16px;
    position: relative;
}

.fb-shop-top-label::before,
.fb-shop-top-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 76px);
    height: 1px;
    background: linear-gradient(90deg, transparent, #252525);
}

.fb-shop-top-label::before {
    left: 0;
}

.fb-shop-top-label::after {
    right: 0;
    background: linear-gradient(90deg, #252525, transparent);
}

.fb-shop-rail-wrap {
    position: relative;
}

.fb-shop-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.fb-shop-rail::-webkit-scrollbar {
    display: none;
}

.fb-shop-prod-col {
    flex: 0 0 196px;
    width: 196px;
    scroll-snap-align: start;
}

.fb-prod-card--shop {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(254, 0, 0, 0.08) 0%, transparent 55%),
        #121212;
    border-color: #222;
    position: relative;
    border-radius: 14px;
}

.fb-prod-card--shop .fb-prod-card__media {
    aspect-ratio: unset;
    height: 128px;
    background: #0d0d0d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fb-prod-card--shop .fb-prod-card__media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
}

.fb-prod-card--shop .fb-prod-card__media img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

.fb-prod-card--shop .fb-prod-card__body {
    padding: 8px 10px 10px;
    gap: 5px;
}

.fb-prod-card--shop .fb-prod-card__title {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-prod-card--shop .fb-prod-card__title a {
    color: #fff;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-prod-card--shop .fb-prod-card__title a:hover {
    color: #fe0000;
}

.fb-prod-card--shop .fb-prod-card__price {
    margin: 0;
    gap: 6px;
}

.fb-prod-card--shop .fb-prod-card__price-now {
    font-size: 14px;
    font-weight: 800;
}

.fb-prod-card--shop .fb-prod-card__price-was {
    font-size: 11px;
}

.fb-prod-card--shop .fb-prod-card__cart {
    padding: 8px 6px;
    font-size: 10px;
    border-radius: 8px;
    margin-top: 2px;
}

.fb-prod-card--shop .fb-prod-card__badge {
    top: 8px;
    font-size: 9px;
    padding: 4px 8px;
}

.fb-prod-card--shop .fb-prod-card__wish {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 11px;
}

.fb-prod-card__wish {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #333;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.fb-prod-card__wish:hover {
    border-color: #fe0000;
    color: #fe0000;
}

.fb-prod-card__wish.is-wishlisted,
.fb-prod-card__wish.is-wishlisted:hover {
    border-color: #fe0000;
    color: #fe0000;
    background: rgba(254, 0, 0, 0.15);
}

.fb-prod-card__wish.is-wishlisted i.fa,
.fb-prod-card__wish[data-wishlisted="1"] i.fa {
    color: #fe0000 !important;
}

.fb-shop-viewmore {
    flex: 0 0 196px;
    width: 196px;
    min-height: 248px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #262626;
    background: #0f0f0f;
    color: #fe0000;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.fb-shop-viewmore__text {
    line-height: 1.4;
}

.fb-shop-viewmore__arrow {
    font-size: 22px;
    line-height: 1;
}

.fb-shop-viewmore:hover {
    border-color: #fe0000;
    background: #160e0e;
    color: #ff4444;
    box-shadow: 0 0 24px rgba(254, 0, 0, 0.12);
}

@media (max-width: 767px) {
    .fb-l1-tab,
    .fb-blinkit-item--l1 {
        width: 160px;
    }

    .fb-l1-tab__poster {
        height: 160px;
        border-radius: 14px;
    }

    .fb-l1-tab__title {
        font-size: 1rem;
    }

    .fb-shop-hero {
        padding: 22px 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .fb-shop-section {
        padding: 14px 14px 16px;
        border-radius: 14px;
    }

    .fb-shop-section__head {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 10px 12px;
    }

    .fb-shop-section__lead {
        display: contents;
    }

    .fb-shop-section__title {
        grid-column: 1 / -1;
        font-size: 18px;
    }

    .fb-shop-section__count {
        grid-column: 1;
        justify-self: start;
    }

    .fb-shop-section__actions {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }

    .fb-shop-hero__btn,
    .fb-shop-hero__btn.fb-tile {
        width: 100%;
        justify-content: center;
    }

    .fb-shop-prod-col {
        flex: 0 0 168px;
        width: 168px;
    }

    .fb-prod-card--shop .fb-prod-card__media {
        height: 110px;
    }

    .fb-shop-viewmore {
        flex: 0 0 168px;
        width: 168px;
        min-height: 228px;
    }

    .fb-shop-section__viewall {
        font-size: 13px;
    }
}
