.bf {
    --bf-accent: #F04D24;
    --bf-hi: #FF8257;
    --bf-hero: #241D1A;
    --bf-ink: #1F1A17;
    --bf-muted: #6E625B;
    --bf-ground: #FAF6F2;
    --bf-image: #F6F0EA;
    --bf-peach: #FFE9DF;
    --bf-peach-strong: #FFE1D3;
    --bf-orange-text: #B8380C;
    --bf-orange-dark: #8A2A08;
    --bf-badge: #D2410F;
    width: 100%;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--bf-ink);
    background: var(--bf-ground);
}

    .bf *, .bf *::before, .bf *::after {
        box-sizing: border-box;
    }
/* zero specificity so the shared product cards keep their own Tailwind classes */
:where(.bf a) {
    color: inherit;
    text-decoration: none;
}

:where(.bf h1, .bf h2, .bf h3, .bf p) {
    margin: 0;
}

:where(.bf button) {
    font: inherit;
    cursor: pointer;
}

.bf [hidden] {
    display: none !important;
}

/* same container as the header and footer: p-3 tablet:px-4 xl:px-0 xl:max-w-[1280px] xxl:max-w-[1360px] */
.bf-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 12px;
}

@media (min-width: 768px) {
    .bf-wrap {
        padding: 0 16px;
    }
}

@media (min-width: 1280px) {
    .bf-wrap {
        max-width: 1280px;
        padding: 0;
    }
}

@media (min-width: 1840px) {
    .bf-wrap {
        max-width: 1360px;
    }
}

.bf-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.bf-lift {
    transition: transform .3s ease, box-shadow .3s ease;
}

    .bf-lift:hover {
        transform: translateY(-4px);
        box-shadow: 0 2px 4px rgba(43,37,34,.05), 0 18px 40px rgba(43,37,34,.10);
    }

.bf-h2 {
    font-weight: 800;
    font-size: 34px;
    letter-spacing: -0.8px;
}

.bf-section {
    padding: 40px 0 0;
}

.bf-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.bf-pill-off {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--bf-badge);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 999px;
}

.bf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    border: 0;
    font-weight: 700;
    font-size: 15px;
}

.bf-btn-dark {
    background: var(--bf-ink);
    color: #fff !important;
}

.bf-btn-accent {
    background: var(--bf-accent);
    color: var(--bf-ink) !important;
}

.bf-btn-soft {
    background: var(--bf-peach);
    color: var(--bf-orange-dark) !important;
}

    .bf-btn-soft:hover:not(:disabled) {
        background: var(--bf-accent);
        color: var(--bf-ink) !important;
    }

.bf-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}


/* hero */
.bf-hero {
    position: relative;
    overflow: hidden;
    background: var(--bf-hero);
    color: #fff;
    padding: 64px 0 72px;
}

.bf-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(30px);
}

.bf-orb-a {
    width: 560px;
    height: 560px;
    right: -120px;
    top: -180px;
    background: radial-gradient(circle, rgba(240,77,36,.55), transparent 68%);
    animation: bf-drift 16s ease-in-out infinite alternate;
}

.bf-orb-b {
    width: 440px;
    height: 440px;
    left: -140px;
    bottom: -200px;
    background: radial-gradient(circle, rgba(255,170,120,.35), rgba(255,170,120,0) 68%);
    animation: bf-drift 20s ease-in-out infinite alternate-reverse;
}

.bf-orb-c {
    width: 300px;
    height: 300px;
    left: 38%;
    top: 30%;
    background: radial-gradient(circle, rgba(255,120,80,.22), rgba(255,120,80,0) 70%);
    animation: bf-drift 12s ease-in-out infinite alternate;
}

@keyframes bf-drift {
    0% {
        transform: translate(0,0) scale(1);
    }

    50% {
        transform: translate(40px,30px) scale(1.08);
    }

    100% {
        transform: translate(-30px,50px) scale(.95);
    }
}

.bf-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
    gap: 40px;
    align-items: center;
}

.bf-hero-copy {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
}

.bf-live {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #F1E6DF;
}

.bf-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bf-hi);
}

.bf-hero-title {
    font-weight: 800;
    font-size: 112px;
    line-height: .92;
    letter-spacing: -3px;
    color: #fff;
}

    .bf-hero-title span {
        color: var(--bf-accent);
    }

.bf-hero-text {
    font-size: 20px;
    line-height: 1.55;
    color: #D9CCC4;
    max-width: 500px;
}

.bf-countdown {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    gap: 10px;
}

.bf-countdown-units {
    display: flex;
    gap: 10px;
}
/* takes its space from the first paint; the script reveals it with real digits, or hides it if the date is not set */
.bf-cd-pending {
    visibility: hidden;
}

.bf-countdown-label {
    font-size: 13px;
    font-weight: 600;
    color: #BFB1A8;
    line-height: 1.3;
}

.bf-countdown-unit {
    text-align: center;
    min-width: 80px;
}

.bf-countdown-value {
    position: relative;
    overflow: hidden;
    height: 2em;
    line-height: 2em;
    font-weight: 800;
    font-size: 38px;
    font-variant-numeric: tabular-nums;
    color: #F2EDEA;
    background: linear-gradient(180deg, #3E3632 0%, #322B28 50%, #262020 50%, #1E1918 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
}

    .bf-countdown-value::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        height: 2px;
        margin-top: -1px;
        background: rgba(0,0,0,.6);
        box-shadow: 0 1px 0 rgba(255,255,255,.06);
        z-index: 1;
    }

.bf-cd-digit {
    display: block;
}

.bf-cd-out {
    position: absolute;
    inset: 0;
    animation: bf-cd-out .45s ease forwards;
}

.bf-cd-in {
    animation: bf-cd-in .45s ease;
}

@keyframes bf-cd-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(60%);
    }
}

@keyframes bf-cd-in {
    from {
        opacity: 0;
        transform: translateY(-60%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bf-countdown-name {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #BFB1A8;
    margin-top: 8px;
}

.bf-hero-ctas {
    font-family: 'Inter', system-ui, sans-serif;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

    .bf-hero-ctas .bf-btn {
        height: 48px;
        padding: 0 24px;
        gap: 10px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 999px;
        transition: background .15s, border-color .15s;
    }
/* same colours as the site's btn-primary / btn-primary-hover */
.bf-btn-cta {
    background: var(--bf-accent);
    color: #fff !important;
}

    .bf-btn-cta:hover {
        background: #B34119;
    }

.bf-btn-ghost {
    background: transparent;
    border: 2px solid rgba(255,255,255,.35);
    color: #fff !important;
}

    .bf-btn-ghost:hover {
        background: rgba(255,255,255,.08);
        border-color: rgba(255,255,255,.6);
    }

.bf-hero-side {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
}

.bf-slide {
    display: none;
}

    .bf-slide.is-active {
        display: flex;
    }

.bf-hero-main {
    grid-column: span 2;
    background: rgba(255,255,255,.96);
    color: var(--bf-ink);
    border-radius: 28px;
    padding: 22px;
    gap: 22px;
    align-items: stretch;
    box-shadow: 0 30px 60px rgba(0,0,0,.25);
}

.bf-hero-main-img {
    position: relative;
    flex: 0 0 46%;
    background: var(--bf-image);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
    /* the image fills the box without adding height, so the box is exactly as tall as the text beside it */
    .bf-hero-main-img .bf-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        padding: 16px;
    }

.bf-hero-main-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.bf-hero-main-name {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    min-height: 3.9em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bf-hero-small {
    background: rgba(255,255,255,.96);
    color: var(--bf-ink);
    border-radius: 24px;
    padding: 14px;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 24px 50px rgba(0,0,0,.22);
    min-height: 300px;
}

.bf-hero-small-img {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--bf-image);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bf-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.bf-bob {
    animation: bf-bob 6s ease-in-out infinite;
}

.bf-bob-2 {
    animation: bf-bob 7s ease-in-out .8s infinite;
}

.bf-bob-3 {
    animation: bf-bob 6.5s ease-in-out 1.6s infinite;
}

@keyframes bf-bob {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.bf-pulse {
    animation: bf-pulse 2.4s ease-in-out infinite;
}

@keyframes bf-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(240,77,36,.45);
    }

    50% {
        box-shadow: 0 0 0 10px transparent;
    }
}

.bf-hero-progress {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px 4px 0;
}

.bf-dots {
    flex: 1;
    display: flex;
    gap: 8px;
}

.bf-dot {
    flex: 1;
    height: 44px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    padding: 0;
}

.bf-dot-track {
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    overflow: hidden;
}

.bf-dot-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: var(--bf-accent);
}

.bf-dot.is-done .bf-dot-fill {
    width: 100%;
    background: var(--bf-accent);
}

.bf-dot.is-active .bf-dot-fill {
    animation: bf-progress 4.5s linear forwards;
}

@keyframes bf-progress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.bf-counter {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    font-variant-numeric: tabular-nums;
    min-width: 44px;
    text-align: right;
}

    .bf-counter span {
        color: #BFB1A8;
    }

.bf-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    z-index: 3;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
/* the arrows sit outside the cards, in room the slider column keeps free on both sides */
.bf-hero-side {
    padding: 0 60px;
}

.bf-arrow-prev {
    left: -6px;
}

.bf-arrow-next {
    right: -6px;
}

/* chips */
.bf-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

    .bf-chips::-webkit-scrollbar {
        display: none;
    }

.bf-chip {
    flex: 0 0 auto;
    height: 40px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 0;
    background: #F6F0EA;
    font-size: 14px;
    font-weight: 600;
    color: var(--bf-ink);
    transition: background .2s;
}

    .bf-chip:hover {
        background: var(--bf-peach-strong);
    }

    .bf-chip.is-active {
        background: var(--bf-ink);
        color: #fff;
    }

/* the scrolling row clips what overflows it, so it makes room for the chips' shadow */
.bf-filter-chips {
    padding: 6px 0 10px;
    margin: -6px 0 -10px;
}

/* like the sliders: below the fixed width the row scrolls out to both screen edges, and starts and ends on the page gutter */
@media (max-width: 1279px) {
    .bf .bf-filter-chips {
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .bf .bf-filter-chips {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

.bf-filter-chips .bf-chip {
    background: #fff;
    box-shadow: 0 2px 8px rgba(43,37,34,.06);
}

    .bf-filter-chips .bf-chip.is-active {
        background: var(--bf-ink);
        color: #fff;
    }

/* flash */
.bf-flash {
    padding: 64px 0 24px;
}

.bf-flash-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bf-flash-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bf-peach-strong);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bf-sub {
    color: var(--bf-muted);
    font-size: 15px;
    margin-top: 8px !important;
}

.bf-flash-row {
    flex-wrap: wrap;
    align-items: flex-end;
}
/* slot timer: the hero's flip cards, smaller, with labels readable on the light background */
.bf-flash-countdown {
    align-self: flex-end;
    gap: 6px;
}

    .bf-flash-countdown .bf-countdown-units {
        gap: 6px;
    }

    .bf-flash-countdown .bf-countdown-unit {
        min-width: 46px;
    }

    .bf-flash-countdown .bf-countdown-value {
        font-size: 20px;
        color: #B34119;
        border: 0;
        border-radius: 8px;
        background: linear-gradient(180deg, #FDF3EF 0%, #FCEEE9 50%, #F9E3DA 50%, #F7DCD1 100%);
        box-shadow: none;
    }

        .bf-flash-countdown .bf-countdown-value::after {
            height: 1px;
            margin-top: 0;
            background: rgba(179,65,25,.18);
            box-shadow: none;
        }

    .bf-flash-countdown .bf-countdown-name {
        font-size: 11px;
        margin-top: 6px;
    }

    .bf-flash-countdown .bf-countdown-label, .bf-flash-countdown .bf-countdown-name {
        color: var(--bf-muted);
    }
/* product slider arrows: over the slider edges; flash deals moves them outside once the screen leaves room */
.bf-slider-nav-wrap {
    position: relative;
    min-width: 0;
}

    .bf-slider-nav-wrap .bf-arrow {
        box-shadow: none;
        border: 1px solid #EAEAEA;
        transition: opacity .2s;
    }

    .bf-slider-nav-wrap .bf-arrow-prev {
        left: 8px;
    }

    .bf-slider-nav-wrap .bf-arrow-next {
        right: 8px;
    }

    .bf-slider-nav-wrap .bf-arrow.swiper-button-disabled {
        opacity: 0;
        pointer-events: none;
    }

    .bf-slider-nav-wrap .bf-arrow.swiper-button-lock {
        display: none;
    }

/* flash deals keeps its arrows next to the title instead of over the cards */
.bf-head-arrows {
    display: flex;
    gap: 8px;
    align-self: flex-end;
}

    .bf-head-arrows .bf-arrow {
        position: static;
        transform: none;
        width: 44px;
        height: 44px;
        box-shadow: none;
        border: 1px solid #EAEAEA;
        color: var(--bf-ink);
        transition: background .2s, opacity .2s;
    }

        .bf-head-arrows .bf-arrow:hover {
            background: var(--bf-peach-strong);
        }

        .bf-head-arrows .bf-arrow.swiper-button-disabled {
            opacity: .4;
            pointer-events: none;
        }

        .bf-head-arrows .bf-arrow.swiper-button-lock {
            display: none;
        }
/* product sliders; the padding keeps the cards' hover shadow from being clipped */
.bf-product-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    padding: 2px 0 10px;
}

    .bf-product-slider .swiper-wrapper {
        display: flex;
    }

/* until the page gets its fixed width, the sliders run past the page padding to both screen edges while they scroll;
   the padding, which Swiper leaves out of its track, starts the first card and stops the last one on the page gutter.
   width: auto because swiper centres itself with auto margins, which in the category row's flex column would size it to all its tiles */
@media (max-width: 1279px) {
    .bf-product-slider, .bf .bf-cats {
        width: auto;
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .bf-product-slider, .bf .bf-cats {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

    /* the NivoSlider plugin's custom.css makes every .swiper-slide a centred flex box, which shrinks the cards to their content */
    .bf-product-slider .swiper-slide, .bf-last-slider .swiper-slide {
        flex-shrink: 0;
        height: auto;
        display: block;
        text-align: start;
        font-size: inherit;
        background: transparent !important;
    }
    /* placeholder cards before the slider starts: same size as the cards it will show */
    /* Swiper's own slide width, (100% - (slidesPerView - 1) * spaceBetween) / slidesPerView, at the same breakpoints as its config */
    .bf-product-slider:not(.swiper-initialized) .swiper-wrapper {
        gap: 8px;
    }

    .bf-product-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 4.8px) / 1.6);
    }

@media (min-width: 430px) {
    .bf-product-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 9.6px) / 2.2);
    }
}

@media (min-width: 600px) {
    .bf-product-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 17.6px) / 3.2);
    }
}

@media (min-width: 1024px) {
    .bf-flash-slider:not(.swiper-initialized) .swiper-wrapper {
        gap: 12px;
    }

    .bf-flash-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 36px) / 4);
    }
}

@media (min-width: 1280px) {
    .bf-flash-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 48px) / 5);
    }
}

/* last chance: a slider showing three cards at a time; a card and a half on phones, swiped */
.bf-last-grid {
    min-width: 0;
}

/* the arrows sit above the cards on the right, as flash deals has them next to its title */
.bf-last-arrows {
    justify-content: flex-end;
    margin-bottom: 12px;
}

    .bf-last-arrows[hidden] {
        display: none;
    }

/* like the other sliders' arrows, swiped instead on small screens */
@media (max-width: 760px) {
    .bf-last-grid .bf-last-arrows {
        display: none;
    }
}

/* the padding keeps the cards' hover shadow from being clipped */
.bf-last-slider {
    overflow: hidden;
    padding: 2px 0 10px;
}

    /* placeholder cards before the slider starts, at Swiper's slide width */
    .bf-last-slider:not(.swiper-initialized) .swiper-wrapper {
        display: flex;
        gap: 12px;
    }

    .bf-last-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 6px) / 1.5);
    }

@media (min-width: 600px) {
    .bf-last-slider:not(.swiper-initialized) .swiper-wrapper {
        gap: 12px;
    }

    .bf-last-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 24px) / 3);
    }
}

/* the cards get more of the row than the text, and a 5:3 picture instead of a square keeps them short */
@media (min-width: 1025px) {
    .bf-feat-grid.bf-last-feat {
        grid-template-columns: minmax(0,1fr) minmax(0,2.4fr);
    }
}

.bf-last-grid .item-box .picture a:before {
    padding-top: 60%;
}

/* saved-card coupon banner, after flash deals: copy on the left, three coupon tiers stepping up on the right */
.bf-coupon-section {
    padding: 32px 0;
}

/* matches the app's saved-card banner: brand orange, white type, a tilted card icon behind */
.bf-coupon {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px;
    border-radius: 24px;
    background: #F04D24;
    color: #fff;
}

/* phones and tablets: the app banner exactly (SavedCardCouponSection): the card icon off the top right corner
   (-right-6 -top-6, 140px, white at 15%, -20deg) and the faint circle off the bottom left (-bottom-20 -left-12 h-48 w-48 bg-white/10) */
.bf-coupon-icon {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 140px;
    height: 140px;
    color: #fff;
    opacity: .15;
    transform: rotate(-20deg);
    pointer-events: none;
}

.bf-coupon-circle {
    position: absolute;
    bottom: -80px;
    left: -48px;
    width: 192px;
    height: 192px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    pointer-events: none;
}

/* desktop, where the copy and the tiers sit side by side: the card alone, larger, centred in the empty gap between them */
@media (min-width: 1101px) {
    /* the copy column runs the banner's full height: the title lines up with the top coupon's top and the button's
       bottom with the coupons' bottom */
    .bf-coupon {
        align-items: stretch;
    }

    /* at least 28px between the title and the button; the banner grows if the coupons are shorter than that */
    .bf-coupon .bf-coupon-copy {
        justify-content: space-between;
        gap: 28px;
    }

    .bf-coupon .bf-coupon-copy .bf-coupon-btn {
        margin-top: 0;
    }

    .bf-coupon-circle {
        display: none;
    }

    .bf-coupon-icon {
        top: 50%;
        right: auto;
        left: 50%;
        width: 300px;
        height: 300px;
        transform: translate(-50%, -50%) rotate(-15deg);
    }
}

.bf-coupon-copy {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bf-coupon-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.8px;
    color: #fff;
}

.bf-coupon-tiers {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 200px);
    align-items: end;
    column-gap: 14px;
    row-gap: 14px;
}

.bf-coupon-tier {
    /* each notch is a circle centred just outside the edge: a wide, shallow bite with soft corners (about 30px across, 10px deep) */
    --bf-notch: 16px;
    --bf-notch-out: 6px;
    --bf-tear: 44px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    color: #F04D24;
    /* a ticket: a notch cut into each side at the tear line, between the range and the amount */
    -webkit-mask: radial-gradient(circle var(--bf-notch) at calc(0px - var(--bf-notch-out)) var(--bf-tear), transparent 92%, #000 100%) left / 51% 100% no-repeat, radial-gradient(circle var(--bf-notch) at calc(100% + var(--bf-notch-out)) var(--bf-tear), transparent 92%, #000 100%) right / 51% 100% no-repeat;
    mask: radial-gradient(circle var(--bf-notch) at calc(0px - var(--bf-notch-out)) var(--bf-tear), transparent 92%, #000 100%) left / 51% 100% no-repeat, radial-gradient(circle var(--bf-notch) at calc(100% + var(--bf-notch-out)) var(--bf-tear), transparent 92%, #000 100%) right / 51% 100% no-repeat;
}

    /* the perforation between the notches */
    .bf-coupon-tier::before {
        content: "";
        position: absolute;
        top: var(--bf-tear);
        left: calc(var(--bf-notch) - var(--bf-notch-out) + 6px);
        right: calc(var(--bf-notch) - var(--bf-notch-out) + 6px);
        border-top: 2px dashed rgba(240, 77, 36, .35);
        transform: translateY(-1px);
    }

    .bf-coupon-tier-3::before {
        border-top-color: rgba(255, 255, 255, .3);
    }

/* landscape, like real coupons, still stepping up */
.bf-coupon-tier-1 {
    height: 100px;
}

.bf-coupon-tier-2 {
    height: 116px;
}

/* the top coupon is the only dark one */
.bf-coupon-tier-3 {
    height: 132px;
    background: #1F1A17;
    color: #fff;
}

.bf-coupon-tier-label {
    font-size: 13px;
    font-weight: 600;
    color: #1F1A17;
}

.bf-coupon-tier-3 .bf-coupon-tier-label {
    color: #fff;
}

.bf-coupon-tier-value {
    line-height: 1;
}

    .bf-coupon-tier-value strong {
        font-size: 36px;
        font-weight: 800;
        letter-spacing: -1px;
    }

    .bf-coupon-tier-value span {
        font-size: 14px;
        font-weight: 700;
    }

/* the biggest coupon: a larger amount, "kupon" beside it as on the others */
.bf-coupon-tier-3 .bf-coupon-tier-value strong {
    font-size: 44px;
    letter-spacing: -1.2px;
}

/* white pill with orange text, like the app */
.bf-coupon .bf-coupon-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    border: 0;
    border-radius: 999px;
    margin-top: 16px;
    padding: 0 24px;
    height: 48px;
    background: #1F1A17;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
}

/* the app banner's own title, subtitle and chevron, shown on phones only */
.bf-coupon-kicker,
.bf-coupon-btn-chevron,
.bf-coupon-app-title,
.bf-coupon-app-amount {
    display: none;
}

    .bf-coupon .bf-coupon-btn:hover,
    .bf-coupon .bf-coupon-btn:focus {
        background: #FFE9DF;
        color: #F04D24;
    }

@media (max-width: 1100px) {
    .bf-coupon {
        flex-direction: column;
        align-items: stretch;
    }

    .bf-coupon-copy {
        max-width: none;
    }

    .bf-coupon-tiers {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

/* phones: the app's coupon card - title and subtitle, the three tickets in a row (notched at mid-height),
   then a full-width dark button. The copy column dissolves so its button can sit below the tickets */
@media (max-width: 760px) {
    .bf-coupon-section {
        padding: 16px 0;
    }

    .bf-coupon {
        gap: 0;
        padding: 20px 16px 16px;
        border-radius: 16px;
    }

    .bf-coupon-circle,
    .bf-coupon-head,
    .bf-coupon-app-amount {
        display: none;
    }

    .bf-coupon-copy {
        display: contents;
    }

    .bf-coupon-kicker {
        position: relative;
        order: 1;
        display: block;
        font-size: 20px;
        font-weight: 800;
        line-height: 26px;
        letter-spacing: -.3px;
        color: #fff;
    }

    .bf-coupon-app-title {
        position: relative;
        order: 2;
        display: block;
        margin-top: 4px;
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
        color: #fff;
    }

    /* the desktop tickets, smaller: stepping up, the range above the perforation and the amount below */
    .bf-coupon-tiers {
        order: 3;
        margin-top: 16px;
        column-gap: 8px;
    }

    .bf-coupon-tier {
        --bf-notch: 10px;
        --bf-notch-out: 4px;
        /* below a two-line range, as the ranges wrap on narrow phones */
        --bf-tear: 46px;
        padding: 10px;
        border-radius: 14px;
    }

    .bf-coupon-tier-1 {
        height: 96px;
    }

    .bf-coupon-tier-2 {
        height: 106px;
    }

    .bf-coupon-tier-3 {
        height: 116px;
    }

    .bf-coupon-tier-label {
        font-size: 11px;
        line-height: 14px;
    }

    .bf-coupon-tier-value {
        white-space: nowrap;
    }

        .bf-coupon-tier-value strong {
            font-size: 24px;
            letter-spacing: -.5px;
        }

        .bf-coupon-tier-value span {
            font-size: 11px;
        }

    .bf-coupon-tier-3 .bf-coupon-tier-value strong {
        font-size: 30px;
        letter-spacing: -.8px;
    }

    .bf-coupon .bf-coupon-btn {
        order: 4;
        align-self: stretch;
        justify-content: center;
        gap: 6px;
        margin-top: 16px;
        padding: 0 20px;
        height: 48px;
        background: #1F1A17;
        color: #fff;
        font-size: 15px;
        font-weight: 700;
    }

        .bf-coupon .bf-coupon-btn:hover,
        .bf-coupon .bf-coupon-btn:focus {
            background: #000;
            color: #fff;
        }

    .bf-coupon-btn-chevron {
        display: block;
        width: 18px;
        height: 18px;
    }
}

/* image banner between flash deals and the budget tiles: 16:9 landscape */
.bf-banner {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: var(--bf-image);
}

    .bf-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


/* product card */
.bf-product-name {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    /* two whole lines at whatever font size the card sets */
    height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bf-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.bf-price {
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -.4px;
}

.bf-old {
    font-size: 13px;
    color: var(--bf-muted);
    text-decoration: line-through;
}

/* price bento */
.bf-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}

    .bf-bento .bf-lift:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(43,37,34,.06);
    }

.bf-bento-big {
    position: relative;
    overflow: hidden;
    grid-column: span 2;
    grid-row: span 2;
    background: var(--bf-accent);
    border-radius: 28px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-height: 340px;
}

    .bf-bento-big::before {
        content: "";
        position: absolute;
        right: -80px;
        bottom: -80px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: rgba(255,255,255,.18);
    }

    .bf-bento-big::after {
        content: "";
        position: absolute;
        right: 60px;
        top: -60px;
        width: 160px;
        height: 160px;
        border-radius: 50%;
        background: rgba(255,255,255,.12);
    }

    .bf-bento-big > * {
        position: relative;
        z-index: 1;
    }

.bf-bento-big-title {
    font-weight: 800;
    font-size: 88px;
    line-height: .92;
    letter-spacing: -3px;
}

.bf-bento-big-text {
    margin-top: 16px !important;
    font-size: 18px;
    font-weight: 500;
}

.bf-bento-big-cta {
    align-self: flex-start;
    height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #fff;
    font-weight: 700;
    font-size: 15px;
}

.bf-tile {
    border-radius: 28px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    min-height: 162px;
}

.bf-tile-1 {
    background: #2B2522;
    color: #fff !important;
}

.bf-tile-2 {
    background: var(--bf-peach-strong);
}

.bf-tile-3 {
    background: #fff;
}

.bf-tile-4 {
    background: #F3E7DE;
}

.bf-tile-big {
    font-weight: 800;
    font-size: 44px;
    line-height: 1;
    letter-spacing: -1.5px;
}

.bf-tile-cta {
    font-size: 14px;
    font-weight: 600;
}

/* categories */
/* swiper; the padding keeps the circle shadows from being clipped */
.bf-cats {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    padding: 4px 0 12px;
}

    .bf-cats .swiper-wrapper {
        display: flex;
    }
    /* the site styles every .swiper-slide as a white box */
    .bf-cats .swiper-slide {
        flex-shrink: 0;
        width: 132px !important;
        height: auto;
        display: block;
        background: transparent !important;
    }

.bf-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bf-slider-nav {
    display: flex;
    gap: 8px;
}

.bf-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

    .bf-slider-btn:hover {
        background: var(--bf-peach-strong);
    }

    .bf-slider-btn.swiper-button-disabled {
        opacity: .35;
        cursor: default;
    }

    .bf-slider-btn.swiper-button-lock {
        display: none;
    }
/* white card like the brand cards; the menu's icon-font icon sits on the warm image surface of the product cards
   in the page's ink and turns orange on hover; a category without one falls back to its picture, drawn in ink too */
.bf .bf-cat {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 10px 16px;
    border: 0;
    border-radius: 22px;
    background: #fff;
    color: var(--bf-ink);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .bf .bf-cat:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(43,37,34,.06);
    }

    .bf .bf-cat:focus-visible {
        outline: 3px solid var(--bf-accent);
        outline-offset: 2px;
    }

.bf .bf-cat-img {
    width: 100%;
    height: 76px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--bf-image);
    transition: background .25s ease;
}

    .bf .bf-cat-img img {
        width: 40px;
        height: 40px;
        object-fit: contain;
        filter: grayscale(1) brightness(.35);
        transition: filter .25s ease, transform .25s ease;
    }

    .bf .bf-cat-img i {
        font-size: 34px;
        line-height: 1;
        color: var(--bf-ink);
        transition: color .25s ease, transform .25s ease;
    }

    .bf .bf-cat-img svg {
        width: 34px;
        height: 34px;
        color: var(--bf-ink);
        transition: color .25s ease, transform .25s ease;
    }

    .bf .bf-cat:hover .bf-cat-img {
        background: var(--bf-peach);
    }

        .bf .bf-cat:hover .bf-cat-img i,
        .bf .bf-cat:hover .bf-cat-img svg {
            color: var(--bf-accent);
            transform: scale(1.08);
        }

        .bf .bf-cat:hover .bf-cat-img img {
            filter: none;
            transform: scale(1.08);
        }

.bf-cat-name {
    max-width: 100%;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.3;
    letter-spacing: -.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* featured (app) */
.bf-feat {
    position: relative;
    overflow: hidden;
    background: var(--bf-peach);
    border-radius: 32px;
    padding: 52px;
}

    .bf-feat::before {
        content: "";
        position: absolute;
        left: -100px;
        top: -120px;
        width: 340px;
        height: 340px;
        border-radius: 50%;
        background: rgba(240,77,36,.12);
    }

.bf-feat-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.6fr);
    gap: 48px;
    align-items: center;
}

.bf-feat-copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bf-eyebrow {
    display: inline-flex;
    align-self: flex-start;
    color: var(--bf-orange-text);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1.2px;
    border-radius: 999px;
    text-transform: uppercase;
}

.bf-feat-title {
    font-weight: 800;
    font-size: 42px;
    line-height: 1.05;
    letter-spacing: -1.2px;
}

.bf-feat-text {
    font-size: 17px;
    line-height: 1.55;
    color: #5E5049;
}

/* all deals: the category select is replaced by the chips */
.bf-all {
    padding: 40px 0 64px;
}

/* on phones the footer follows the load more button closely; with a price filter applied the title has the first row
   to itself and the second has the filter on the left and the sort on the right, without one the sort sits beside the title */
@media (max-width: 760px) {
    .bf-all {
        padding-bottom: 16px;
    }

    .bf .bf-all-head {
        display: grid;
        grid-template-columns: minmax(0,1fr) auto;
        align-items: center;
        column-gap: 12px;
        row-gap: 10px;
    }

    .bf .bf-all-title {
        display: contents;
    }

    .bf .bf-all-head .bf-h2 {
        grid-row: 1;
        grid-column: 1 / -1;
    }

    .bf .bf-all-head .bf-sort {
        grid-row: 2;
        grid-column: 2;
    }

    .bf .bf-all-head .bf-price-filter {
        grid-row: 2;
        grid-column: 1;
        justify-self: start;
    }

    .bf .bf-all-head:has(.bf-price-filter[hidden]) .bf-h2 {
        grid-column: 1;
    }

    .bf .bf-all-head:has(.bf-price-filter[hidden]) .bf-sort {
        grid-row: 1;
    }
}

.bf-all-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.bf-all-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* the active budget filter; clicking it removes the filter */
.bf-price-filter {
    height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px 0 16px;
    border: 0;
    border-radius: 999px;
    background: var(--bf-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

    .bf-price-filter i {
        font-size: 16px;
    }

    .bf-price-filter[hidden] {
        display: none;
    }

.bf-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bf-sort-label {
    font-size: 15px;
    color: var(--bf-muted);
    margin: 0;
}
/* sort dropdown: pill button + rounded listbox in the page style */
.bf-dropdown {
    position: relative;
}

.bf .bf-dropdown-btn {
    height: 44px;
    min-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px 0 22px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--bf-ink);
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(43,37,34,.06);
}

    .bf .bf-dropdown-btn:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px var(--bf-peach-strong), 0 4px 14px rgba(43,37,34,.06);
    }

.bf-dropdown-btn i {
    font-size: 18px;
    transition: transform .2s ease;
}

    .bf-dropdown-btn[aria-expanded="true"] i {
        transform: rotate(180deg);
    }

.bf-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    min-width: 100%;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 6px rgba(43,37,34,.06), 0 18px 40px rgba(43,37,34,.14);
    animation: bf-dropdown-in .16s ease;
}

    .bf-dropdown-menu[hidden] {
        display: none;
    }

@keyframes bf-dropdown-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.bf-dropdown-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    outline: none;
}

    .bf-dropdown-option:hover, .bf-dropdown-option:focus {
        background: var(--bf-peach);
    }

    .bf-dropdown-option i {
        font-size: 16px;
        color: var(--bf-accent);
        visibility: hidden;
    }

    .bf-dropdown-option[aria-selected="true"] {
        font-weight: 700;
    }

        .bf-dropdown-option[aria-selected="true"] i {
            visibility: visible;
        }

.bf-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 12px;
    transition: opacity .2s;
}

.bf-empty {
    text-align: center;
    color: var(--bf-muted);
    padding: 24px 0;
}

/* the catalog pages' load more button; its look comes from the store classes on it */
.bf-more {
    position: relative;
    align-self: center;
    transition: opacity .15s;
}

    .bf-more:hover {
        opacity: .9;
    }

    /* while the next page loads: a spinner in place of the label, the button keeps its size */
    .bf-more.is-loading,
    .bf-more.is-loading:disabled {
        opacity: 1;
        cursor: progress;
        color: transparent !important;
    }

        .bf-more.is-loading::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 22px;
            height: 22px;
            margin: -11px 0 0 -11px;
            border: 2.5px solid rgba(255,255,255,.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: bf-spin .7s linear infinite;
        }

@keyframes bf-spin {
    to {
        transform: rotate(360deg);
    }
}

.bf-scroll-trigger {
    height: 1px;
}

@media (prefers-reduced-motion: reduce) {
    .bf-orb, .bf-bob, .bf-bob-2, .bf-bob-3, .bf-pulse {
        animation: none !important;
    }

    .bf-dot.is-active .bf-dot-fill {
        animation: none;
        width: 100%;
    }

    .bf-cd-in {
        animation: none;
    }

    .bf-cd-out {
        display: none;
    }
}

@media (max-width: 1279px) {
    .bf-grid {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }
}

@media (max-width: 1024px) {
    .bf-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .bf-hero {
        padding: 48px 0 56px;
    }

    .bf-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bf-hero-title {
        font-size: 88px;
        letter-spacing: -2.5px;
    }

    .bf-hero-text {
        max-width: 640px;
    }

    .bf-hero-side {
        width: 100%;
        max-width: 680px;
    }

    .bf-bento {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .bf-bento-big {
        grid-row: auto;
        min-height: 280px;
    }

    .bf-bento-big-title {
        font-size: 64px;
        letter-spacing: -2px;
    }

    .bf-feat {
        padding: 36px;
    }

    .bf-feat-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .bf-feat-title {
        font-size: 34px;
    }
}

@media (max-width: 760px) {
    .bf-hero-side {
        max-width: none;
    }

    .bf-h2 {
        font-size: 24px;
        letter-spacing: -.6px;
    }

    .bf-section {
        padding: 28px 0 8px;
    }

    .bf-stack {
        gap: 14px;
    }

    .bf-hero {
        padding: 30px 0 28px;
    }

    .bf-hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bf-hero-copy {
        gap: 18px;
    }

    .bf-hero-title {
        font-size: 64px;
        letter-spacing: -2px;
    }

    .bf-hero-text {
        font-size: 16px;
    }

    .bf-countdown {
        align-self: stretch;
    }

    .bf-countdown-units {
        gap: 8px;
    }

    .bf-countdown-value {
        font-size: 30px;
        border-radius: 10px;
    }

    .bf-countdown-unit {
        min-width: 0;
        flex: 1;
    }

    .bf-hero-ctas .bf-btn-ghost {
        display: none;
    }

    .bf-hero-ctas .bf-btn {
        flex: 1;
    }

    .bf-hero-side {
        gap: 10px;
    }

    .bf-hero-main {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        gap: 12px;
        border-radius: 24px;
    }

    .bf-hero-main-img {
        flex: none;
        aspect-ratio: 16 / 10;
    }

    /* two lines, and room for two, so a short name leaves no gap above the price */
    .bf-hero-main-name {
        font-size: 17px;
        min-height: 2.6em;
        -webkit-line-clamp: 2;
    }

    .bf-hero-small {
        min-height: 250px;
    }

    .bf-arrow {
        display: none;
    }

    .bf-hero-side {
        padding: 0;
    }

    .bf-flash {
        padding: 34px 0 8px;
    }

    .bf-flash-countdown {
        width: 100%;
    }

    .bf-product-name {
        font-size: 13px;
    }

    .bf-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 8px;
    }

    .bf-sort-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .bf .bf-dropdown-btn {
        min-width: 0;
        height: 40px;
        padding: 0 14px 0 16px;
        font-size: 13px;
    }

    .bf-dropdown-option {
        font-size: 14px;
    }

    .bf-more {
        align-self: stretch;
    }

    .bf-price {
        font-size: 18px;
    }

    .bf-bento {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 10px;
    }

    .bf-bento-big {
        grid-row: auto;
        padding: 22px;
        min-height: 0;
        border-radius: 24px;
    }

        /* the desktop circles, scaled with the card's height (about 155px against 340px) */
        .bf-bento-big::before {
            right: -36px;
            bottom: -36px;
            width: 146px;
            height: 146px;
        }

        .bf-bento-big::after {
            right: 27px;
            top: -27px;
            width: 73px;
            height: 73px;
        }

    .bf-bento-big-title {
        font-size: 56px;
        letter-spacing: -2px;
    }

        .bf-bento-big-title br {
            display: none;
        }

    .bf-tile {
        gap: 14px;
        padding: 20px 14px;
        border-radius: 18px;
        min-height: 104px;
    }

    .bf-tile-big {
        font-size: 22px;
        letter-spacing: -.6px;
    }

    .bf-tile-cta {
        font-size: 12px;
    }

    .bf-slider-nav {
        display: none;
    }

    .bf-cats .swiper-slide {
        width: 100px !important;
    }

    .bf .bf-cat {
        gap: 8px;
        padding: 8px 8px 12px;
        border-radius: 18px;
    }

    .bf .bf-cat-img {
        height: 60px;
        border-radius: 12px;
    }

        .bf .bf-cat-img img {
            width: 32px;
            height: 32px;
        }

        .bf .bf-cat-img i {
            font-size: 28px;
        }

        .bf .bf-cat-img svg {
            width: 28px;
            height: 28px;
        }

    .bf-cat-name {
        font-size: 13px;
    }

    .bf-feat {
        padding: 22px;
        border-radius: 26px;
    }

    .bf-feat-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .bf-feat-title {
        font-size: 28px;
    }

    .bf-feat-text {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .bf-hero-title {
        font-size: 52px;
    }

    .bf-hero-small {
        min-height: 280px;
    }

    .bf-bento-big-title {
        font-size: 44px;
    }
}

/* icons come from the site icon font (gjirafa-icons.css) */
.bf [class^="icon-"], .bf [class*=" icon-"] {
    line-height: 1;
}

.bf-arrow i {
    font-size: 34px;
    color: var(--bf-ink);
}

.bf-slider-btn i {
    font-size: 34px;
    color: var(--bf-ink);
}

.bf-flash-icon i {
    font-size: 22px;
    color: var(--bf-accent);
}

@media (max-width: 760px) {
}

/* product cards: the store's product box, with rounder corners on this page */
.bf .bf-product-item {
    border-radius: 20px;
}

    .bf .bf-hero-main .product-box-add-to-cart-button {
        border-radius: 999px;
        min-height: 44px;
    }

    /* no overflow: hidden, it would cut the wishlist button's shadow */
    .bf .bf-product-item .picture {
        border-radius: 14px;
    }

@media (max-width: 760px) {
    .bf .bf-product-item {
        border-radius: 16px;
    }
}

/* product card skeleton: built like the card (see _BlackFridayProductCardSkeleton), so it takes the same size */
/* the skeleton reuses the card's elements; only the grey blocks inside them are its own */
.bf-sk {
    display: block;
    background: #F1EAE3;
    border-radius: 8px;
    animation: bf-sk-pulse 1.4s ease-in-out infinite;
}

@keyframes bf-sk-pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .55;
    }
}

.bf-sk-text {
    height: 14px;
    margin: 3px 0 4px;
}

.bf-sk-vendor {
    width: 40%;
    height: 12px;
    align-self: center;
}

.bf-sk-price {
    width: 45%;
    height: 24px;
    margin-top: 2px;
}

/* a skeleton block that keeps the real element's text, unseen, so it takes that element's exact size */
.bf-sk-mask,
.bf-sk-mask * {
    color: transparent !important;
}

/* square, centred, filling the picture area */
.bf-sk-picture {
    width: 100%;
    max-height: 100%;
    aspect-ratio: 1;
    margin: auto;
}

/* last chance cards keep a line for the items left, so the cards and their skeletons are one height; elsewhere the
   empty line would only add space under the prices */
#bf-last .bf-product-item .bf-card-extra {
    min-height: 22px;
}

/* the items left as a peach pill with a flame, filled orange for the last one */
.bf-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    padding: 4px 10px 4px 8px;
    border-radius: 99px;
    background: #FDEDE6;
    color: #D63D14;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

    .bf-stock-pill svg {
        flex: none;
        width: 14px;
        height: 14px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .bf-stock-pill.is-last {
        background: #F04D24;
        color: #fff;
    }

/* the app and saved-card price strips in the theme's black, warming into the countdown's brown; important to win
   over the store's price gradient and the saved-card colors, which come as inline styles */
.bf-landing-page .special-price {
    background: linear-gradient(90deg, #1F1A17 0%, #2B2421 55%, #3E3632 100%) !important;
}

    .bf-landing-page .special-price .icon-discount {
        color: #F04D24;
    }

    .bf-landing-page .special-price .font-bold {
        color: #F04D24;
    }

/* until the flash deals open: when the offers start, in the special price's strip and its gradient; it grows to two
   lines where the text wraps */
.bf-opens-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-height: 2rem;
    padding: 4px 8px;
    background: linear-gradient(90deg, #1F1A17 0%, #2B2421 55%, #3E3632 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    text-wrap: balance;
}

    .bf-opens-bar svg {
        flex: none;
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* the bar's two-line height, as the text wraps on most card widths */
.bf-sk-opens {
    display: block;
    height: 37px;
    border-radius: 0;
}

/* the last item's card in an orange outline; the inset ring keeps the card's size */
.bf-product-item.bf-last-item,
.bf-product-item.bf-last-item:hover {
    border-color: #F04D24;
    box-shadow: inset 0 0 0 1px #F04D24, 0 8px 24px rgba(240,77,36,.14);
}

.bf-product-item .picture a {
    border-radius: inherit;
    transition: background-color .3s;
}

    .bf-product-item .picture a.bf-pic-loading {
        background: #F1EAE3;
    }

        .bf-product-item .picture a.bf-pic-loading img {
            opacity: 0;
        }

@media (prefers-reduced-motion: reduce) {
    .bf-sk {
        animation: none;
    }
}
