﻿/* the Black Friday landing page (LandingPage/BlackFriday): landingpage.css as the per-ty page has it, plus the Black
   Friday design; Head.cshtml loads this file instead of landingpage.css on that page */
:root {
    --swiper-theme-color: #e15726;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.swiper-pagination-bullet-active::before {
    border-radius: 4px;
    background: #e15726;
    animation: none;
}

.swiper-slide-prev,
.swiper-slide-next {
    opacity: 0.3;
}


.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 10px !important;
}

.swiper-button-prev,
.swiper-button-next {
    width: 10%;
    height: 100%;
    top: 0;
}

    .swiper-button-next::after,
    .swiper-rtl .swiper-button-prev::after,
    .swiper-button-prev::after,
    .swiper-rtl .swiper-button-next::after {
        content: "";
    }

.swiper {
    padding-bottom: 40px;
}

.landing-page .products-container .product-item {
    border: 1px solid #eee;
    box-shadow: none;
}

.landing-sold-out {
    position: absolute;
    width: 100%;
    z-index: 2;
    height: 100%;
    background: rgba(255,255,255,.5);
    pointer-events: none;
}


.snowflake {
    width: var(--size);
    height: var(--size);
    box-shadow: 0 0 var(--size) 1px #fff;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    z-index: 10;
    top: 0;
}

    .snowflake:nth-child(3n) {
        filter: blur(2px);
        box-shadow: 0 0 var(--size) var(--size/2) #fff;
    }

@media all and (min-width:768px) {
    .snowflake {
        top: -100px;
    }
}

@keyframes snowfall {
    to {
        transform: translateY(100vh) translateX(calc(var(--left-end) - var(--left-ini)));
    }
}

.load-more-products-categories {
    width: 100%;
    height: 50px;
    margin: 0 0 0 0;
    background: url('../images/i-loading.svg') center no-repeat;
    background-size: 45px;
    z-index: 9999;
}

.black-friday .product-selectors {
    z-index: unset !important;
}

.black-svg {
    width: 90%;
    margin: 0 auto;
}

@media all and (min-width:768px) {


    .black-svg {
        width: 400px;
        margin: unset;
        margin-left: 75px;
    }
}

/* matches Tailwind's md (811px) so these apply wherever the markup uses its mobile layout */
@media all and (max-width: 810px) {
    /* matches the mobile app's special deals block */
    .recommended-products-card {
        background-color: #1F1A17;
        border-radius: 1rem;
    }

    .discount-products-section .prices {
        height: auto;
        min-height: 1.75rem;
    }

    /* 4:3 instead of square keeps the card short on phones */
    .discount-products-section .item-box .picture a:before {
        padding-top: 75%;
    }

    .discount-products-section .prices > .flex-col {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        column-gap: 0.5rem;
    }
}

/* recommended products: the title above the card, as the other sections have it */
.bf-rec-head {
    margin-bottom: 12px;
}

/* on desktop one white card; the thumbs are numbered rows with their discount, the active one on warm grey */
@media all and (min-width: 811px) {
    .bf-rec-head {
        margin-bottom: 24px;
    }

    .recommended-products-card {
        border-radius: 24px;
        border: 1px solid #EEE9E6;
    }

    .bf-rec-count {
        font-size: 13px;
        font-weight: 600;
        color: #6E6460;
        font-variant-numeric: tabular-nums;
    }

    /* the rows lose their dividers; the column keeps its line beside the main slide */
    .recommended-products .slider-thumb {
        padding-top: 8px;
        border-color: #EEE9E6;
    }

        .recommended-products .slider-thumb .border-b {
            border: 0;
        }

        /* the skeleton's rows with the slider's 4px gaps */
        .recommended-products .slider-thumb > .shrink-0 {
            margin-bottom: 4px;
        }

    /* inset from the column's edges, and on the right clear of the scrollbar */
    .recommended-products .slider-thumb .swiper-slide,
    .recommended-products .slider-thumb > .shrink-0 {
        width: calc(100% - 26px) !important;
        margin-left: 8px;
        gap: 10px;
        border-radius: 12px;
        color: #374151;
        transition: background-color .15s ease;
    }

        .recommended-products .slider-thumb .swiper-slide:hover {
            background-color: #FBF9F8;
        }

        .recommended-products .slider-thumb .swiper-slide-thumb-active,
        .recommended-products .slider-thumb .swiper-slide-thumb-active:hover {
            background-color: #F7F4F2;
            color: #241D1A;
        }

            /* the NivoSlider plugin's custom.css draws an orange bar on the active row; the grey row marks it here */
            .recommended-products .slider-thumb .swiper-slide-thumb-active::before {
                content: none !important;
            }

    /* a white chip, so the pictures' white backgrounds don't show as squares on the active row's grey */
    .recommended-products .slider-thumb .thumb {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        margin-right: 0;
        padding: 3px;
        border-radius: 8px;
        background: #fff;
    }

        .recommended-products .slider-thumb .thumb img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

    .bf-rec-num {
        flex-shrink: 0;
        width: 20px;
        font-size: 13px;
        font-weight: 800;
        color: #B5ABA6;
        font-variant-numeric: tabular-nums;
    }

    .swiper-slide-thumb-active .bf-rec-num {
        color: #e15726;
    }

    .bf-rec-off {
        flex-shrink: 0;
        margin-left: auto;
        padding: 1px 6px;
        border-radius: 6px;
        background: #e15726;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
    }

    /* !important against the NivoSlider plugin's custom.css, which sets this section's scrollbar with it */
    .recommended-products-section .swiper-scrollbar.swiper-scrollbar-vertical {
        background: #F7F4F2 !important;
    }

        .recommended-products-section .swiper-scrollbar .swiper-scrollbar-drag {
            background: #241D1A !important;
        }

    /* the main slide's text, price first: a smaller name, then the price with its badge beside it and the amount saved,
       the opening bar under them, and the button with the stock beside it below a line */
    .recommended-products .bf-rec-name {
        margin-bottom: 20px;
        font-size: 24px;
        font-weight: 600;
        line-height: 1.25;
        letter-spacing: -.01em;
    }

        .recommended-products .bf-rec-name h2 {
            -webkit-line-clamp: 3;
        }

    .recommended-products .bf-rec-price {
        justify-content: flex-start;
        gap: 12px;
        margin-bottom: 0;
        padding: 0;
        background-color: transparent;
    }

        .recommended-products .bf-rec-price h2 {
            font-size: 40px;
            font-weight: 800;
            line-height: 1;
            letter-spacing: -.04em;
        }

        .recommended-products .bf-rec-price .bg-primary {
            border-radius: 8px;
            background-color: #e15726;
        }

        .recommended-products .bf-rec-price .text-primary {
            color: #fff;
        }

    .bf-rec-save {
        margin-top: 8px;
        font-size: 14px;
        font-weight: 600;
        color: #e15726;
    }

    .recommended-products .bf-rec-slot {
        order: 2;
        margin-top: 16px;
        margin-bottom: 0;
    }

    .recommended-products .bf-opens-bar {
        border-radius: 6px;
        font-size: 14px;
    }

    .recommended-products .bf-rec-foot {
        gap: 20px;
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid #EEE9E6;
    }

    .bf-rec-stock {
        align-items: center;
        gap: 6px;
        font-size: 13px;
        font-weight: 600;
        color: #17623A;
    }

        .bf-rec-stock::before {
            content: "";
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #22A35A;
        }

    .bf-rec-stock-low {
        color: #e15726;
    }

        .bf-rec-stock-low::before {
            background: #e15726;
        }

    .recommended-products .slider-button-prev,
    .recommended-products .slider-button-next {
        width: 40px;
        height: 40px;
        border: 0;
        cursor: pointer;
        background-color: #F7F4F2;
        transition: background-color .15s ease, color .15s ease;
    }

        /* the chevron turns white on the orange */
        .recommended-products .slider-button-prev:hover,
        .recommended-products .slider-button-next:hover {
            background-color: #e15726;
            color: #fff;
        }

    /* the arrows float over the slider instead of taking their own columns, so a sliding product passes under them
       rather than being cut off beside them; the slides' padding keeps the product clear of them at rest */
    .recommended-products #slider,
    .recommended-products #skeleton-slider {
        position: relative;
    }

        .recommended-products #slider > .md\:flex,
        .recommended-products #skeleton-slider > .md\:flex {
            position: absolute;
            top: 50%;
            z-index: 2;
            margin: 0;
            transform: translateY(-50%);
        }

            .recommended-products #slider > .md\:flex:first-child,
            .recommended-products #skeleton-slider > .md\:flex:first-child {
                left: 16px;
            }

            .recommended-products #slider > .md\:flex:last-child,
            .recommended-products #skeleton-slider > .md\:flex:last-child {
                right: 16px;
            }

    .recommended-products .slider .swiper-slide > .bg-white,
    .recommended-products #skeleton-slider .bg-white {
        padding-left: 56px;
        padding-right: 56px;
    }
}

/* rounder product boxes on the Black Friday landing page, in every section; the two classes outrank the .rounded utility */
.bf-landing-page .product-item {
    border-radius: 1rem;
}

/* last chance on white: the copy in a dark card on the left, the slider beside it with an arrow on each side */
.bf.last-chance-wrap {
    background: #fff;
}

/* no corner circle and no box: the circle element on desktop, the background circle on phones */
.last-chance-wrap .bf-feat::before {
    display: none;
}

.last-chance-wrap #bf-last .bf-feat {
    overflow: visible;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.last-chance-wrap .bf-feat-grid.bf-last-feat {
    gap: 12px;
    align-items: stretch;
}

.last-chance-wrap .bf-feat-copy {
    position: relative;
    overflow: hidden;
    gap: 12px;
    padding: 20px;
    border-radius: 20px;
    background: #241D1A;
}

.last-chance-wrap .bf-feat-title {
    color: #fff;
}

.last-chance-wrap .bf-feat-text {
    color: rgba(255,255,255,.72);
}

/* the outlined flame in the card's bottom right corner, about two thirds of it showing, from desktop up where the
   card stands beside the slider */
.bf-last-mark {
    display: none;
    position: absolute;
    right: -58px;
    bottom: -44px;
    width: 280px;
    height: 280px;
    fill: none;
    stroke: #e15726;
    stroke-width: 4px;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.last-chance-wrap .bf-last-grid {
    min-width: 0;
}

/* the arrows sit at the outer sides of the whole section: the previous one before the dark card, the next one after
   the last card, both at the middle of its height */
.last-chance-wrap .bf-last-feat {
    position: relative;
}

/* the arrows are positioned at the sides, so their row takes no room above the cards */
.last-chance-wrap .bf-last-arrows {
    margin-bottom: 0;
}

.last-chance-wrap .bf-last-arrows[hidden] {
    display: none;
}

.last-chance-wrap .bf-last-arrows .bf-arrow {
    top: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #374151;
    box-shadow: none;
    font-size: 34px;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

    .last-chance-wrap .bf-last-arrows .bf-arrow:hover {
        background-color: #e15726;
        border-color: #e15726;
        color: #fff;
    }

    .last-chance-wrap .bf-last-arrows .bf-arrow.swiper-button-disabled {
        opacity: .35;
        pointer-events: none;
    }

.last-chance-wrap .bf-last-arrows .bf-arrow-prev {
    left: -20px;
}

.last-chance-wrap .bf-last-arrows .bf-arrow-next {
    right: -20px;
}

/* swiped instead on small screens */
@media (max-width: 760px) {
    .last-chance-wrap .bf-last-arrows {
        display: none;
    }
}

/* out past the section's edges once the page leaves them room */
@media (min-width: 1400px) {
    .last-chance-wrap .bf-last-arrows .bf-arrow-prev {
        left: -56px;
    }

    .last-chance-wrap .bf-last-arrows .bf-arrow-next {
        right: -56px;
    }
}

@media (min-width: 1025px) {
    .last-chance-wrap .bf-feat-grid.bf-last-feat {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .last-chance-wrap .bf-feat-copy {
        padding: 28px 24px;
        border-radius: 24px;
    }

    .last-chance-wrap .bf-feat-title {
        font-size: 34px;
    }

    .last-chance-wrap .bf-feat-text {
        font-size: 15px;
    }

    .bf-last-mark {
        display: block;
    }
}

/* beside the dark card the cards run its full height; the negative margins give back the slider's shadow room */
@media (min-width: 1025px) {
    .last-chance-wrap .bf-last-grid {
        display: flex;
        flex-direction: column;
    }

    .last-chance-wrap .bf-last-slider {
        flex: 1 1 auto;
        margin: -2px 0 -10px;
    }
}

/* four cards from 1280px up, at Swiper's slide width before it starts */
@media (min-width: 1280px) {
    .last-chance-wrap .bf-last-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 36px) / 4);
    }
}

.bf-last-icon {
    display: none;
}

/* phones, as in the app: one dark card holding the flame badge, the title and text and the slider, with the big
   outlined flame in its top right corner behind the cards */
@media (max-width: 599px) {
    .last-chance-wrap #bf-last .bf-feat {
        padding: 20px 16px 10px;
        border-radius: 20px;
        background: #241D1A;
    }

    .last-chance-wrap .bf-feat-grid.bf-last-feat {
        gap: 20px;
    }

    .last-chance-wrap .bf-feat-copy {
        position: static;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 4px;
        align-items: center;
        padding: 0;
        border-radius: 0;
        background: transparent;
    }

    .bf-last-icon {
        display: flex;
        grid-row: span 2;
        align-self: start;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #e15726;
    }

        .bf-last-icon svg {
            width: 26px;
            height: 26px;
            fill: none;
            stroke: #fff;
            stroke-width: 1.6px;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

    .last-chance-wrap .bf-feat-title {
        font-size: 24px;
    }

    .last-chance-wrap .bf-feat-text {
        font-size: 14px;
        line-height: 1.4;
    }

    .bf-last-mark {
        display: block;
        top: -20px;
        right: 0;
        bottom: auto;
        width: 150px;
        height: 150px;
        opacity: .55;
    }

    /* the cards run through the card's right padding and the page gutter to the screen edge */
    .last-chance-wrap .bf-last-slider {
        margin-right: -28px;
        padding-right: 28px;
    }
}

/* the fallback hero, shown when the BlackFridayMain slider has no banners: dark brown with soft orange glows. On
   phones the logo, the countdown and the biggest deal stack; from 811px the logo and countdown sit on the left and
   the deals fan out on the right, everything sized off the width (vw) so the hero keeps its proportions */
.landing-hero {
    background:
        radial-gradient(900px 520px at 85% 30%, rgba(225, 87, 38,.20), transparent 70%),
        radial-gradient(700px 480px at 0% 100%, rgba(225, 87, 38,.14), transparent 70%),
        #241D1A;
    padding: 24px 0 28px;
}

.landing-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.landing-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* phones and small tablets: only the logo, the line and the countdown, with more room around them, on a blacker
   ground with one orange circle at the top, as the app's countdown banner */
@media all and (max-width: 810px) {
    .landing-hero {
        background: radial-gradient(circle 62vw at 85% 30%, rgba(225, 87, 38,.20), transparent 70%), #241D1A;
        padding: 40px 0 44px;
    }

    /* over the element's own px-3 / tablet:px-4 */
    .landing-hero .landing-hero-inner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .landing-hero-copy {
        gap: 28px;
    }

    .landing-hero .hero-deals {
        display: none;
    }

    /* the countdown in the app banner's glass tiles: translucent black with a light rim and a sheen on top */
    .landing-hero .landing-hero-countdown .cart-cd-value {
        background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.02) 55%), rgba(0,0,0,.45);
        border: 1px solid rgba(255,255,255,.18);
        box-shadow: none;
    }

        .landing-hero .landing-hero-countdown .cart-cd-value::after {
            background: rgba(255,255,255,.10);
            box-shadow: none;
        }
}

.landing-hero-logo {
    height: 64px;
    margin-left: -8px;
}

/* the line under the logo: soft white, its figure in full white */
.landing-hero-text {
    max-width: 34em;
    margin-top: -6px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255,255,255,.72);
}

    .landing-hero-text strong {
        font-weight: 800;
        color: #fff;
    }

/* the campaign countdown: the cart countdown's tiles without its card and title, in the campaign's orange */
.landing-hero-countdown .cart-cd {
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
}

.landing-hero-countdown .cart-cd-ring,
.landing-hero-countdown .cart-cd-title {
    display: none;
}

.landing-hero-countdown .cart-cd-label,
.landing-hero-countdown .cart-cd-name {
    color: #fff;
}

.landing-hero-countdown .cart-cd-value {
    color: #fff;
    background: linear-gradient(180deg, #F5643F 0%, #e15726 50%, #E2441B 50%, #D63D14 100%);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 5px 12px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.18);
}

    .landing-hero-countdown .cart-cd-value::after {
        background: rgba(0,0,0,.25);
        box-shadow: 0 1px 0 rgba(255,255,255,.12);
    }

/* phones: the four tiles share the row */
.landing-hero-countdown .cart-cd,
.landing-hero-countdown .cart-cd-right {
    width: 100%;
}

.landing-hero-countdown .cart-cd-units {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.landing-hero-countdown .cart-cd-unit {
    width: auto;
}

/* the tiles take a quarter of the row each, so they keep square with aspect-ratio and centre the digits with flex */
.landing-hero-countdown .cart-cd-value {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    aspect-ratio: 1;
    line-height: 1;
    font-size: 32px;
    border-radius: 12px;
}

    .landing-hero-countdown .cart-cd-value .cart-cd-out {
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* the day's biggest deals: shown only, so no links, buttons or hover */
.hero-deals-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e15726;
}

.hero-deals-fan {
    display: none;
}

.hero-deal-pic {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    background: #F6F0EA;
}

    .hero-deal-pic img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 10%;
        object-fit: contain;
        mix-blend-mode: multiply;
    }

.hero-deal-off {
    position: absolute;
    left: 6px;
    top: 6px;
    padding: 2px 8px;
    border-radius: 8px;
    background: #e15726;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.hero-deal-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.3;
    color: #241D1A;
}

.hero-deal-prices {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 6px;
}

    .hero-deal-prices strong {
        font-size: 20px;
        font-weight: 800;
        color: #241D1A;
    }

    .hero-deal-prices s {
        font-size: 12px;
        color: #8B817C;
    }

/* phones: the biggest deal as one white card with an orange ring, picture beside the text */
.hero-deal-top {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 0 0 3px #e15726, 0 12px 30px rgba(0,0,0,.35);
}

    .hero-deal-top .hero-deals-eyebrow {
        margin-bottom: 4px;
        font-size: 10px;
    }

    .hero-deal-top .hero-deal-prices {
        margin-top: 6px;
    }

@media all and (min-width: 811px) {
    .landing-hero {
        padding: 3.2vw 0;
    }

    .landing-hero-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: 4vw;
    }

    .landing-hero-copy {
        gap: 1.3vw;
    }

    .landing-hero-logo {
        width: 36vw;
        max-width: 100%;
        height: 7.5vw;
        margin-left: -20px;
    }

    .landing-hero-text {
        max-width: 30vw;
        margin-top: -.4vw;
        margin-bottom: .6vw;
        font-size: clamp(14px, 1.15vw, 20px);
    }

    .landing-hero-countdown .cart-cd,
    .landing-hero-countdown .cart-cd-right {
        width: auto;
    }

    .landing-hero-countdown .cart-cd-right {
        gap: .55vw;
    }

    .landing-hero-countdown .cart-cd-label {
        font-size: clamp(11px, .9vw, 16px);
    }

    .landing-hero-countdown .cart-cd-units {
        display: flex;
        gap: .5vw;
    }

    .landing-hero-countdown .cart-cd-unit {
        width: 4.6vw;
    }

    .landing-hero-countdown .cart-cd-value {
        display: block;
        aspect-ratio: auto;
        height: 4.6vw;
        line-height: 4.6vw;
        font-size: 2.3vw;
        border-radius: .8vw;
    }

    .landing-hero-countdown .cart-cd-name {
        margin-top: .35vw;
        font-size: clamp(9px, .7vw, 12px);
    }

    .hero-deals {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .8vw;
    }

    .hero-deal-top {
        display: none;
    }

    /* five cards overlapping in a fan, all in one grid cell and placed by transform: the front one lifted, slightly
       larger and ringed in orange, the others 7.4vw apart, tilting away from it and dropping a little more the
       further out they are (--o: the place from the middle, --d: its distance, --i: the place from the left) */
    .hero-deals-fan {
        display: grid;
        justify-items: center;
        width: 40vw;
        padding-bottom: .9vw;
    }

    .hero-deal {
        --lift: 0vw;
        --grow: 1;
        grid-area: 1 / 1;
        position: relative;
        z-index: calc(10 - var(--d));
        display: flex;
        flex-direction: column;
        gap: .45vw;
        width: 10.4vw;
        padding: .5vw;
        border-radius: 1vw;
        background: #fff;
        box-shadow: 0 0 0 0 #e15726, 0 1vw 2.4vw rgba(0,0,0,.4);
        transform: translateX(calc(var(--o) * 7.4vw)) translateY(calc(var(--d) * .6vw + var(--lift))) rotate(calc(var(--o) * 6deg)) scale(calc(var(--grow) - var(--d) * .05));
        transform-origin: 50% 100%;
        animation: hero-deal-bob 4.5s ease-in-out calc(var(--i) * .45s) infinite;
    }

        .hero-deal.is-top {
            --lift: -.4vw;
            --grow: 1.06;
            box-shadow: 0 0 0 .1vw #e15726, 0 1.2vw 3vw rgba(0,0,0,.5);
        }

    /* a wave along the fan: each card rises a little and settles back, one after the other from the left, then a
       pause; on the translate property, so it adds to the card's placement */
    @keyframes hero-deal-bob {
        0%, 40%, 100% {
            translate: 0 0;
        }

        20% {
            translate: 0 -.25vw;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .hero-deal {
            animation: none;
        }
    }

    /* the design's card shape: a picture a little wider than tall, so the card is about three wide to four high */
    .hero-deal-pic {
        aspect-ratio: 6 / 5;
        border-radius: .7vw;
    }

    .hero-deal-off {
        left: .35vw;
        top: .35vw;
        padding: .1vw .45vw;
        border-radius: .5vw;
        font-size: clamp(9px, .8vw, 15px);
    }

    /* every card the same height: two lines for the name, and the prices on one line, the old price cut short */
    .hero-deal-name {
        min-height: 2.6em;
        font-size: clamp(9px, .72vw, 14px);
    }

    .hero-deal-prices {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

        .hero-deal-prices s {
            min-width: 0;
            overflow: hidden;
        }

    .hero-deal-prices strong {
        font-size: clamp(11px, 1.05vw, 20px);
    }

    .hero-deal-prices s {
        font-size: clamp(8px, .62vw, 12px);
    }

    /* before the flash deals open: the picture is a "?" in the Last Chance flame's orange outline, and the product cards'
       opening strip runs across the card, out to its edges */
    .hero-deal-q {
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        font-size: 4.6vw;
        font-weight: 800;
        line-height: 1;
        color: transparent;
        -webkit-text-stroke: .12vw #e15726;
    }

    .hero-deal-opens {
        min-height: 0;
        margin: 0 -.5vw;
        padding: .3vw .5vw;
        gap: .3vw;
        font-size: clamp(8px, .62vw, 12px);
    }

        .hero-deal-opens svg {
            width: clamp(10px, .8vw, 16px);
            height: clamp(10px, .8vw, 16px);
        }

    .hero-deal-hidden .hero-deal-name {
        color: #6E6460;
    }
}

/* the delivery dates bar above the header takes the hero's dark brown */
nav.order-arriving-dates {
    background-color: #241D1A;
}

/* the special offers sit on white under the hero */
.bf-landing-page .discount-products-section {
    background-color: #fff;
}

    .bf-landing-page .discount-products-section .landing-section-title {
        color: #374151;
    }

/* the category tiles take the special offers' old place: a dark band with the title on top */
.bf-tiles-band {
    background-color: #241D1A;
}

    .bf-tiles-band .landing-section-title {
        margin-bottom: 12px;
        color: #fff;
    }

@media all and (min-width: 811px) {
        .bf-tiles-band .landing-section-title {
            margin-bottom: 24px;
        }
}

/* the special offers' arrows turn primary orange on hover, like every other slider's on the page, the chevron white */
.discount-products-section .product-box-swiper-button-prev,
.discount-products-section .product-box-swiper-button-next {
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

    .discount-products-section .product-box-swiper-button-prev:hover,
    .discount-products-section .product-box-swiper-button-next:hover {
        background-color: #e15726 !important;
        border-color: #e15726;
    }

        .discount-products-section .product-box-swiper-button-prev:hover,
        .discount-products-section .product-box-swiper-button-next:hover {
            color: #fff !important;
        }

/* flash offers: a warm white rounded box on white under the hero; it clips the cards at its edges, and the slider's
   16px of shadow room makes up the rest of its bottom padding */
.flash-band {
    overflow: hidden;
    background: #fff;
}

.flash-band-box {
    container-type: inline-size;
    overflow: hidden;
    padding: 20px 16px 4px;
    border-radius: 20px;
    background: #F7F4F2;
}

/* the arrows over the slider's edges, half in the box's padding */
.bf-landing-page .flash-band .landing-arrow-prev {
    left: -20px !important;
}

.bf-landing-page .flash-band .landing-arrow-next {
    right: -20px !important;
}

/* swiper locks the arrows when every card fits (5 or fewer on desktop); tailwind's flex would keep them showing */
.bf-landing-page .flash-band .swiper-button-lock {
    display: none !important;
}

@media all and (min-width: 811px) {
    .flash-band-box {
        padding: 28px 28px 12px;
        border-radius: 24px;
    }
}

/* before the flash deals open: a white ticket under the title, its stub torn off by a dashed line with a notch at
   each end; the stub sits on top on phones and on the left from tablets up. The box's own bottom padding is sized
   for the slider's shadow room, so the ticket adds the rest */
/* as tall as the flash cards that replace it, so the page doesn't shift at the opening: a card is its width
   (Swiper's slide width at the same breakpoints, from the box's width) plus 192px, and the slider adds 4px above it */
.flash-ticket {
    display: grid;
    grid-template-rows: auto 1fr;
    margin-bottom: 16px;
    border-radius: 20px;
    background: #fff;
}

.flash-ticket-stub {
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 16px;
    border-bottom: 2px dashed #E7DED8;
}

    .flash-ticket-stub::before,
    .flash-ticket-stub::after {
        content: "";
        position: absolute;
        bottom: -11px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #F7F4F2;
    }

    .flash-ticket-stub::before {
        left: -10px;
    }

    .flash-ticket-stub::after {
        right: -10px;
    }

/* the opening time in the Last Chance flame's orange outline */
.flash-ticket-time {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    font-variant-numeric: tabular-nums;
    color: transparent;
    -webkit-text-stroke: 2px #e15726;
}

.flash-ticket-date {
    font-size: 13px;
    font-weight: 600;
    color: #6E6460;
}

.flash-ticket-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 16px 18px 20px;
}

.flash-ticket-eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #D63D14;
}

.flash-ticket-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.3px;
    color: #241D1A;
    text-wrap: balance;
}

.flash-ticket-text {
    max-width: 60ch;
    font-size: 14px;
    line-height: 1.5;
    color: #6E6460;
}

.flash-ticket-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-top: 6px;
}

/* outlined, so the page keeps one filled orange button per screen */
.flash-ticket-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1.5px solid #e15726;
    border-radius: 99px;
    background: #fff;
    color: #D63D14;
    font-size: 14px;
    font-weight: 700;
    transition: background-color .15s ease, color .15s ease;
}

    .flash-ticket-btn:hover,
    .flash-ticket-btn:focus-visible {
        background: #e15726;
        color: #fff;
    }

    .flash-ticket-btn svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.flash-ticket-link {
    font-size: 14px;
    font-weight: 600;
    color: #241D1A;
    text-decoration: underline;
    text-underline-offset: 3px;
}

    .flash-ticket-link:hover {
        color: #D63D14;
    }

/* the app's QR code above the link, in the product cards' QR popup: white, a grey border and a pointer below */
.flash-ticket-app {
    position: relative;
    display: inline-block;
}

.flash-ticket-qr {
    display: none;
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    z-index: 50;
    width: max-content;
    padding: 12px;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    text-align: center;
    transform: translateX(-50%);
}

    .flash-ticket-qr::before,
    .flash-ticket-qr::after {
        content: "";
        position: absolute;
        left: 50%;
        border: 8px solid transparent;
        transform: translateX(-50%);
    }

    .flash-ticket-qr::before {
        top: 100%;
        border-top: 10px solid #E5E7EB;
    }

    .flash-ticket-qr::after {
        top: calc(100% - 3px);
        border-top: 9px solid #fff;
    }

    .flash-ticket-qr img {
        display: block;
        width: 200px;
        height: 200px;
        margin: 8px auto 0;
    }

.flash-ticket-qr-text {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #4B5563;
}

/* desktop only: on phones the link opens the app */
@media all and (min-width: 1024px) and (hover: hover) {
    .flash-ticket-app:hover .flash-ticket-qr,
    .flash-ticket-app:focus-within .flash-ticket-qr {
        display: block;
    }
}

@media all and (min-width: 600px) {
    /* the stub takes two fifths of the ticket, the time filling it */
    .flash-ticket {
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
        grid-template-rows: none;
        min-height: calc((100cqw - 2.2 * 8px) / 3.2 + 196px);
    }

    .flash-ticket-stub {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 24px;
        border-bottom: 0;
        border-right: 2px dashed #E7DED8;
    }

        .flash-ticket-stub::before,
        .flash-ticket-stub::after {
            left: auto;
            right: -11px;
            bottom: auto;
        }

        .flash-ticket-stub::before {
            top: -10px;
        }

        .flash-ticket-stub::after {
            bottom: -10px;
        }

    .flash-ticket-time {
        font-size: clamp(64px, 9cqw, 132px);
        letter-spacing: -.04em;
        -webkit-text-stroke-width: 3px;
    }

    .flash-ticket-date {
        font-size: 15px;
    }

    .flash-ticket-main {
        padding: 24px 28px;
    }

    .flash-ticket-title {
        font-size: 22px;
    }

    .flash-ticket-text {
        font-size: 15px;
    }
}

@media all and (min-width: 1024px) {
    .flash-ticket {
        min-height: calc((100cqw - 3 * 12px) / 4 + 196px);
    }

    .flash-ticket-main {
        gap: 12px;
        padding: 32px 48px;
    }

    .flash-ticket-eyebrow {
        font-size: 13px;
    }

    .flash-ticket-title {
        font-size: 30px;
    }

    .flash-ticket-text {
        font-size: 17px;
    }

    .flash-ticket-actions {
        margin-top: 10px;
    }
}

@media all and (min-width: 1280px) {
    .flash-ticket {
        min-height: calc((100cqw - 4 * 12px) / 5 + 196px);
    }
}

/* the title and the timer share one row on every screen, lined up along the top; the title takes what's left and
   wraps its subtitle, the timer keeps to the right */
.flash-band-head {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 20px;
}

/* a white section's title at the flash band title's size: 24px on every screen */
.landing-section-title {
    display: block;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.3px;
}

.flash-band-head > :first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.flash-band-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.3px;
    color: #241D1A;
    min-height: 44px;
}

.flash-band-bolt {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e15726;
    color: #fff;
    font-size: 20px;
}

/* the two buying rules as an eyebrow above the title, in the orange that passes on the box (the primary doesn't at
   this size), split by a thin divider; then the app link */
.flash-band-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin-top: 12px;
    color: #6E6460;
    font-size: 14px;
    font-weight: 600;
}

    .flash-band-eyebrow > span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }

    .flash-band-eyebrow > i {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #CFC6C0;
    }

    .flash-band-eyebrow svg {
        flex: none;
        width: 16px;
        height: 16px;
        fill: none;
        stroke: #e15726;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* the teaser's app link, smaller; its QR code opens below, as the box clips anything above the title */
.flash-band-app {
    margin-left: 4px;
}

    .flash-band-app .flash-ticket-link {
        font-size: 13px;
    }

    .flash-band-app .flash-ticket-qr {
        top: calc(100% + 12px);
        bottom: auto;
    }

        .flash-band-app .flash-ticket-qr::before {
            top: auto;
            bottom: 100%;
            border-top: 8px solid transparent;
            border-bottom: 10px solid #E5E7EB;
        }

        .flash-band-app .flash-ticket-qr::after {
            top: auto;
            bottom: calc(100% - 3px);
            border-top: 8px solid transparent;
            border-bottom: 9px solid #fff;
        }

/* the arrows turn primary orange on hover with a white chevron, as in the recommended products */
.flash-band-prev,
.flash-band-next {
    transition: background-color .15s ease, border-color .15s ease;
}

    .flash-band-prev:hover,
    .flash-band-next:hover {
        background-color: #e15726;
        border-color: #e15726;
    }

        .flash-band-prev:hover,
        .flash-band-next:hover {
            color: #fff;
        }

/* the slides stay see-through so the cards' own rounded corners show */
.flash-band .swiper-slide {
    height: auto;
    background: transparent !important;
}

/* the cards bleed to the box's edge on phones so they read as swipeable */
.flash-band .flash-band-slider {
    overflow: visible;
}

/* the cart countdown's tiles, smaller, for the slot timer */
/* the label sits left of the tiles, centred on the digits rather than the digits plus their unit names */
.flash-cd {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    gap: 12px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

    .flash-cd[hidden] {
        display: none;
    }

.flash-cd-label {
    font-size: 13px;
    line-height: 44px;
    white-space: nowrap;
    font-weight: 600;
    color: #6E6460;
}

.flash-cd-units {
    display: flex;
    gap: 4px;
}

.flash-cd-unit {
    width: 44px;
    text-align: center;
}

.flash-cd-value {
    position: relative;
    overflow: hidden;
    height: 44px;
    line-height: 44px;
    font-size: 22px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #fff;
    /* the campaign's orange flip tile: with no countdown in the hero, this is the page's one timer */
    background: linear-gradient(180deg, #F5643F 0%, #e15726 50%, #E2441B 50%, #D63D14 100%);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    box-shadow: 0 5px 12px rgba(225, 87, 38,.25), inset 0 1px 0 rgba(255,255,255,.18);
}

    .flash-cd-value::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        height: 2px;
        margin-top: -1px;
        background: rgba(0,0,0,.25);
        z-index: 1;
    }

.flash-cd-digit {
    display: block;
}

.flash-cd-out {
    position: absolute;
    inset: 0;
    animation: flash-cd-out .45s ease forwards;
}

.flash-cd-in {
    animation: flash-cd-in .45s ease;
}

@keyframes flash-cd-out {
    to {
        opacity: 0;
        transform: translateY(60%);
    }
}

@keyframes flash-cd-in {
    from {
        opacity: 0;
        transform: translateY(-60%);
    }
}

.flash-cd-name {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #6E6460;
}

/* phones: the bolt and title on the left with the timer's tiles beside them, then the buying rules and the biggest
   discount under both, in the desktop order */
@media all and (max-width: 599px) {
    .flash-band-title {
        grid-row: 1;
    }

    .flash-band-head .flash-cd {
        grid-column: 2;
        grid-row: 1;
    }

    /* both rules on one line: smaller text, icons and gaps */
    .flash-band-eyebrow {
        grid-column: 1 / -1;
        grid-row: 2;
        gap: 4px 10px;
        margin-top: 0;
        font-size: 13px;
    }


    .flash-band-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px 12px;
        margin-bottom: 16px;
    }

        .flash-band-head > :first-child {
            display: contents;
        }

    .flash-band-title {
        gap: 10px;
        font-size: 20px;
    }

    .flash-band-bolt {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    /* the label sits over the tiles, as there's no room beside them */
    .flash-cd {
        flex-direction: column;
        gap: 4px;
    }

    .flash-cd-label {
        font-size: 11px;
        line-height: 1.2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .flash-cd-out {
        display: none;
    }

    .flash-cd-in {
        animation: none;
    }
}

@media all and (min-width: 768px) {
    .flash-cd-units {
        gap: 6px;
    }

    .flash-cd-unit {
        width: 52px;
    }

    .flash-cd-value {
        height: 52px;
        line-height: 52px;
        font-size: 26px;
        border-radius: 10px;
    }

    .flash-cd-name {
        font-size: 11px;
    }

    .flash-band-title {
        min-height: 52px;
    }
}

@media all and (min-width: 811px) {
    .flash-band-bolt {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }

    /* the band clips the cards at the slider's edges on wider screens */
    .flash-band .flash-band-slider {
        overflow: hidden;
    }
}

/* flash offers: before Swiper starts, the server-rendered cards already take the widths and gaps the slider gives them */
.flash-band .flash-band-slider:not(.swiper-initialized) .swiper-slide {
    width: calc((100% - .6 * 8px) / 1.6);
    margin-right: 8px;
}

@media all and (min-width: 430px) {
    .flash-band .flash-band-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 1.2 * 8px) / 2.2);
    }
}

@media all and (min-width: 600px) {
    .flash-band .flash-band-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 2.2 * 8px) / 3.2);
    }
}

@media all and (min-width: 1024px) {
    .flash-band .flash-band-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 3 * 12px) / 4);
        margin-right: 12px;
    }
}

@media all and (min-width: 1280px) {
    .flash-band .flash-band-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 4 * 12px) / 5);
    }
}

/* room inside the special offers', flash offers' and tiles' sliders for the cards' hover shadow, which Swiper's
   overflow: hidden would otherwise cut off at the bottom */
.discount-products-section .product-banner,
.flash-band .flash-band-slider,
.bf-tiles .bf-tiles-slider {
    padding-top: 4px;
    padding-bottom: 16px;
}

/* rounder category and sort selects above the all products grid, like the page's cards */
.bf-landing-page .product-selectors select {
    border-radius: 12px;
}

/* the side arrows of the hero categories, special offers and flash offers sit 56px outside the content; below
   1400px that would run past the screen, so there they sit over the content's edges instead */
@media (max-width: 1399px) {
    .bf-landing-page .landing-arrow-prev {
        left: 8px !important;
    }

    .bf-landing-page .landing-arrow-next {
        right: 8px !important;
    }

    .bf-landing-page .landing-arrow-prev > div,
    .bf-landing-page .landing-arrow-next > div {
        box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    }
}

/* category tiles: product grid tiles (a category's four best deals with pictures) and type tiles (the category in big
   words); swiper's dimming of the neighbouring slides doesn't apply here */
.bf-tiles .swiper-slide-prev,
.bf-tiles .swiper-slide-next {
    opacity: 1;
}

.bf-tiles .swiper-slide {
    background: transparent !important;
}

.bf-tiles .bf-tiles-slider {
    padding-left: 12px;
    padding-right: 12px;
}

@media all and (min-width: 768px) {
    .bf-tiles .bf-tiles-slider {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media all and (min-width: 1280px) {
    .bf-tiles .bf-tiles-slider {
        padding-left: 0;
        padding-right: 0;
    }
}

.bf-tile {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 14px;
    border-radius: 16px;
    background: #fff;
    color: #241D1A;
}

    /* the same shadow the product boxes get (Tailwind shadow-md) */
    .bf-tile:hover {
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
    }

.bf-tile-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    /* room for two title lines and the "up to" line whatever the title, so every tile, and the skeleton before
       them, has the same height */
    min-height: calc(2 * 1.2 * 18px + 2px + 1.5 * 14px);
    margin-bottom: 12px;
}

    .bf-tile-top .bf-tile-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.bf-tile-head {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bf-tile-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.2px;
}

.bf-tile-sub {
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    color: #e15726;
}

.bf-tile-head:hover .bf-tile-title,
.bf-tile-more:hover {
    color: #e15726;
}

.bf-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.bf-tile-product {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 8px;
    border-radius: 10px;
    background: #F7F4F2;
    overflow: hidden;
}

    .bf-tile-product img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        mix-blend-mode: multiply;
    }

.bf-tile-badge {
    position: absolute;
    left: 6px;
    bottom: 6px;
    padding: 1px 6px;
    border-radius: 6px;
    background: #e15726;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.bf-tile-more {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    padding-top: 2px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    color: #5F5E5A;
}

    .bf-tile-more i {
        font-size: 16px;
    }

    .bf-tile-more:hover span {
        text-decoration: underline;
        text-underline-offset: 2px;
    }

/* type tiles: the words are the picture. Orange with white words and the discount in the page's dark brown, and every
   second one in the row white with the words in dark outline and the discount in orange */
.bf-tile-type {
    min-height: 300px;
    padding: 18px;
    border-radius: 18px;
    background: #e15726;
    color: #fff;
}

.bf-tile-name {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
}

/* the phrase fills the tile above the link */
.bf-tile-word {
    margin-top: auto;
    padding-bottom: 16px;
    font-size: 54px;
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.05em;
    overflow-wrap: anywhere;
}

    .bf-tile-word em {
        font-style: normal;
        color: #241D1A;
    }

.bf-tile-type .bf-tile-sub {
    color: #fff;
}

.bf-tile-type .bf-tile-more {
    margin-top: 0;
    font-size: 13px;
    font-weight: 700;
    color: inherit;
}

.bf-tile-type-slide:nth-child(even of .bf-tile-type-slide) .bf-tile-type {
    background: #fff;
    color: #241D1A;
}

    .bf-tile-type-slide:nth-child(even of .bf-tile-type-slide) .bf-tile-type .bf-tile-word {
        color: transparent;
        -webkit-text-stroke: 1.5px #241D1A;
    }

    .bf-tile-type-slide:nth-child(even of .bf-tile-type-slide) .bf-tile-type .bf-tile-sub {
        color: #e15726;
    }

        .bf-tile-type-slide:nth-child(even of .bf-tile-type-slide) .bf-tile-type .bf-tile-word em {
            color: #e15726;
            -webkit-text-stroke: 0;
        }

@media (max-width: 639px) {
    .bf-tile-type {
        min-height: 240px;
    }

    .bf-tile-word {
        font-size: 40px;
    }
}

/* before Swiper starts, the tiles already take the widths and gaps its breakpoints give them */
.bf-tiles-slider:not(.swiper-initialized) .swiper-slide {
    flex-shrink: 0;
    width: calc((100% - .6 * 10px) / 1.6);
    margin-right: 10px;
}

@media all and (min-width: 480px) {
    .bf-tiles-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 1.2 * 10px) / 2.2);
    }
}

@media all and (min-width: 640px) {
    .bf-tiles-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 1.5 * 10px) / 2.5);
    }
}

@media all and (min-width: 1024px) {
    .bf-tiles-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 2.5 * 12px) / 3.5);
        margin-right: 12px;
    }
}

@media all and (min-width: 1280px) {
    .bf-tiles-slider:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 3 * 12px) / 4);
    }
}

/* the tile arrows turn orange on hover, like the hero's others */
.bf-tiles-prev,
.bf-tiles-next {
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

    .bf-tiles-prev:hover,
    .bf-tiles-next:hover {
        background-color: #e15726;
        color: #fff;
        box-shadow: 0 0 0 2px #fff;
    }

/* the inverted band (bf-tiles-band bf-tiles-band-invert): a white band with the tiles in three colours, so the dark
   brown stays the minority. Product tiles alternate the flash deals box's warm grey (white picture cells) and dark
   brown; type tiles cycle orange, warm grey with dark outlined words, and dark brown with white outlined words */
.bf-tiles-band-invert {
    background-color: #fff;
}

    .bf-tiles-band-invert .landing-section-title {
        color: #374151;
    }

    .bf-tiles-band-invert .bf-tile {
        background: #F7F4F2;
    }

    .bf-tiles-band-invert .bf-tile-product {
        background: #fff;
    }

    .bf-tiles-band-invert .bf-sk-mask {
        background: rgba(36, 29, 26, .08);
    }

    .bf-tiles-band-invert .bf-tile-products-slide:nth-child(even of .bf-tile-products-slide) .bf-tile {
        background: #241D1A;
        color: #fff;
    }

        .bf-tiles-band-invert .bf-tile-products-slide:nth-child(even of .bf-tile-products-slide) .bf-tile-product {
            background: #F7F4F2;
        }

        .bf-tiles-band-invert .bf-tile-products-slide:nth-child(even of .bf-tile-products-slide) .bf-tile-more {
            color: #C9C3BE;
        }

        .bf-tiles-band-invert .bf-tile-products-slide:nth-child(even of .bf-tile-products-slide) .bf-tile-head:hover .bf-tile-title,
        .bf-tiles-band-invert .bf-tile-products-slide:nth-child(even of .bf-tile-products-slide) .bf-tile-more:hover {
            color: #e15726;
        }

    .bf-tiles-band-invert .bf-tile-type-slide:nth-child(3n+1 of .bf-tile-type-slide) .bf-tile-type {
        background: #e15726;
        color: #fff;
    }

        .bf-tiles-band-invert .bf-tile-type-slide:nth-child(3n+1 of .bf-tile-type-slide) .bf-tile-type .bf-tile-word {
            color: inherit;
            -webkit-text-stroke: 0;
        }

            .bf-tiles-band-invert .bf-tile-type-slide:nth-child(3n+1 of .bf-tile-type-slide) .bf-tile-type .bf-tile-word em {
                color: #241D1A;
            }

    .bf-tiles-band-invert .bf-tile-type-slide:nth-child(3n+2 of .bf-tile-type-slide) .bf-tile-type,
    .bf-tiles-band-invert .bf-tile-type-slide:nth-child(3n of .bf-tile-type-slide) .bf-tile-type {
        background: #F7F4F2;
        color: #241D1A;
    }

        .bf-tiles-band-invert .bf-tile-type-slide:nth-child(3n+2 of .bf-tile-type-slide) .bf-tile-type .bf-tile-word,
        .bf-tiles-band-invert .bf-tile-type-slide:nth-child(3n of .bf-tile-type-slide) .bf-tile-type .bf-tile-word {
            color: transparent;
            -webkit-text-stroke: 1.5px #241D1A;
        }

            .bf-tiles-band-invert .bf-tile-type-slide:nth-child(3n+2 of .bf-tile-type-slide) .bf-tile-type .bf-tile-word em,
            .bf-tiles-band-invert .bf-tile-type-slide:nth-child(3n of .bf-tile-type-slide) .bf-tile-type .bf-tile-word em {
                color: #e15726;
                -webkit-text-stroke: 0;
            }

    .bf-tiles-band-invert .bf-tile-type-slide:nth-child(3n of .bf-tile-type-slide) .bf-tile-type {
        background: #241D1A;
        color: #fff;
    }

        .bf-tiles-band-invert .bf-tile-type-slide:nth-child(3n of .bf-tile-type-slide) .bf-tile-type .bf-tile-word {
            -webkit-text-stroke-color: #fff;
        }

    .bf-tiles-band-invert .bf-tiles-prev,
    .bf-tiles-band-invert .bf-tiles-next {
        box-shadow: 0 1px 6px rgba(36, 29, 26, .18);
    }

        .bf-tiles-band-invert .bf-tiles-prev:hover,
        .bf-tiles-band-invert .bf-tiles-next:hover {
            box-shadow: 0 1px 6px rgba(36, 29, 26, .18);
        }

/* the hero: the Nivo Slider's BlackFridayMain banners as iGjirafa's main slider (PublicFullBanner.cshtml), full width,
   1920x360 from 600px up and the mobile picture's own shape on phones; only the pagination is the page's own */
.full-width-slider .full-banner-slider .swiper-slide {
    opacity: 1;
}

@media all and (min-width: 600px) {
    .full-width-slider .full-banner-slider .swiper-wrapper {
        aspect-ratio: 1920 / 360;
    }
}

/* the banner's previous/next buttons, over the banner's bottom right corner */
.full-width-slider .full-banner-nav {
    position: absolute;
    right: 3%;
    bottom: 12px;
    z-index: 10;
}

@media all and (max-width: 599px) {
    .full-width-slider .full-banner-nav {
        bottom: 8px;
    }

        .full-width-slider .full-banner-nav > div {
            width: 32px;
            height: 32px;
        }

            .full-width-slider .full-banner-nav > div i {
                font-size: 26px;
            }
}

/* one vertical rhythm for every section, whatever their order: each pads its top and bottom by the same space, so
   any two sections' content sits twice that apart. The two sliders' own 16px of shadow room comes off their bottom */
.bf-landing-page {
    --bf-section-space: 20px;
}

@media all and (min-width: 811px) {
    .bf-landing-page {
        --bf-section-space: 40px;
    }
}

.bf-landing-page .bf-tiles-band,
.bf-landing-page .bf-coupon-section,
.bf-landing-page .last-chance-wrap .bf-section,
.bf-landing-page .bf-recommended-band,
.bf-landing-page .flash-band {
    padding-top: var(--bf-section-space);
    padding-bottom: var(--bf-section-space);
}

.bf-landing-page .discount-products-section {
    padding-top: var(--bf-section-space);
    padding-bottom: calc(var(--bf-section-space) - 16px);
}

.bf-landing-page .bf-all-products-band {
    padding-top: var(--bf-section-space);
}
