/* Bœuf Local — brand + homepage styles.
 * Everything scoped to .bl-* classes so it can never clash with theme CSS. */

/* Break the classic theme's container on the home page so the hero
 * goes edge-to-edge with no gap under the header. Other sections
 * (.bl-boxes, .bl-about) re-center themselves via their own max-width. */
body.page-index #wrapper { padding-top: 0; }
body.page-index #wrapper .breadcrumb { display: none; }
body.page-index #wrapper > .container {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
body.page-index #content-wrapper,
body.page-index #main,
body.page-index #content.page-home { padding: 0; }
body.page-index .bl-hero { margin-top: 0; }

:root {
    --bl-black: #000;
    --bl-white: #fff;
    --bl-red: #be291e;
    --bl-red-dark: #9a1e14;
    --bl-gray-bg: #f5f2ee;
    --bl-text: #1a1a1a;
    --bl-text-muted: #6b6b6b;
    --bl-font-block: 'Oswald', 'Helvetica Neue', Arial, sans-serif;
    --bl-font-script: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --bl-max-width: 1280px;
    --bl-section-pad: clamp(3rem, 8vw, 7rem);
}

/* ---- shared typography primitives ---- */
.bl-eyebrow {
    font-family: var(--bl-font-block);
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    font-size: .75rem;
    color: var(--bl-red);
    margin: 0 0 1rem;
}
.bl-script {
    font-family: var(--bl-font-script);
    font-style: italic;
    font-weight: 400;
}
.bl-block {
    font-family: var(--bl-font-block);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.bl-section-heading {
    margin: 0 0 2rem;
    line-height: 1.05;
    color: var(--bl-black);
}
.bl-section-heading .bl-script {
    display: block;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    color: var(--bl-black);
}
.bl-section-heading .bl-block {
    display: block;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    color: var(--bl-red);
    margin-top: .25rem;
}

/* ---- buttons ---- */
.bl-btn {
    display: inline-block;
    font-family: var(--bl-font-block);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .9rem;
    padding: 1rem 2.25rem;
    border: 2px solid transparent;
    border-radius: 0;
    text-decoration: none;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
    cursor: pointer;
}
.bl-btn:hover,
.bl-btn:focus {
    text-decoration: none;
    transform: translateY(-1px);
}
.bl-btn--primary {
    background: var(--bl-red);
    color: var(--bl-white);
    border-color: var(--bl-red);
}
.bl-btn--primary:hover,
.bl-btn--primary:focus {
    background: var(--bl-red-dark);
    border-color: var(--bl-red-dark);
    color: var(--bl-white);
}
.bl-btn--ghost {
    background: transparent;
    color: var(--bl-white);
    border-color: var(--bl-white);
}
.bl-btn--ghost:hover,
.bl-btn--ghost:focus {
    background: var(--bl-white);
    color: var(--bl-black);
}
.bl-btn--outline {
    background: transparent;
    color: var(--bl-black);
    border-color: var(--bl-black);
}
.bl-btn--outline:hover,
.bl-btn--outline:focus {
    background: var(--bl-black);
    color: var(--bl-white);
}

/* ====== HERO ====== */
.bl-hero {
    color: var(--bl-white);
    background-color: var(--bl-black);
    background-size: cover;
    background-position: center;
    padding: clamp(5rem, 14vw, 10rem) 1.5rem;
    margin: 0 0 clamp(1.5rem, 3vw, 3rem);
    display: flex;
    justify-content: center;
}
.bl-hero__inner {
    max-width: 760px;
    text-align: center;
}
.bl-hero__eyebrow {
    font-family: var(--bl-font-block);
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    font-size: .8rem;
    color: var(--bl-white);
    opacity: .8;
    margin: 0 0 1.5rem;
}
.bl-hero__headline {
    margin: 0 0 1.5rem;
    line-height: 1;
}
.bl-hero__headline .bl-script {
    display: block;
    font-size: clamp(3.5rem, 9vw, 6.5rem);
    color: var(--bl-white);
    margin-bottom: .35em;
}
.bl-hero__headline .bl-block {
    display: block;
    font-size: clamp(1.25rem, 2.6vw, 2rem);
    color: var(--bl-white);
}
.bl-hero__body {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255,255,255,.85);
    max-width: 580px;
    margin: 0 auto 2.5rem;
}
.bl-hero__ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* ====== FEATURED BOXES ====== */
.bl-boxes {
    max-width: var(--bl-max-width);
    margin: 0 auto var(--bl-section-pad);
    padding: 0 1.5rem;
}
.bl-boxes__header {
    text-align: center;
    margin-bottom: 3rem;
}
.bl-boxes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.bl-box {
    background: var(--bl-white);
    border: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}
.bl-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
.bl-box__media {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
}
.bl-box__body {
    padding: 1.75rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    flex: 1;
}
.bl-box__title {
    margin: 0;
    line-height: 1;
}
.bl-box__title .bl-block {
    display: block;
    font-size: 2.5rem;
    color: var(--bl-black);
}
.bl-box__title .bl-script {
    display: block;
    font-size: 1.25rem;
    color: var(--bl-red);
    margin-top: .15rem;
}
.bl-box__price {
    font-family: var(--bl-font-block);
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--bl-red);
    margin: .25rem 0 0;
    font-size: .9rem;
}
.bl-box__blurb {
    color: var(--bl-text-muted);
    font-size: .95rem;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.bl-box .bl-btn {
    align-self: flex-start;
    margin-top: .5rem;
}

/* ====== GOOGLE REVIEWS ====== */
.bl-reviews {
    background: var(--bl-black);
    color: var(--bl-white);
    padding: var(--bl-section-pad) 1.5rem;
    margin: 0 0 var(--bl-section-pad);
}
.bl-reviews__header {
    max-width: var(--bl-max-width);
    margin: 0 auto 3rem;
    text-align: center;
}
.bl-reviews .bl-section-heading .bl-script {
    color: var(--bl-white);
}
.bl-reviews__summary {
    margin: 1rem 0 0;
    font-family: var(--bl-font-block);
    font-size: .95rem;
    color: var(--bl-white);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.bl-reviews__stars {
    color: var(--bl-red);
    font-size: 1.1rem;
    letter-spacing: .1em;
}
.bl-reviews__score {
    font-weight: 600;
}
.bl-reviews__count {
    color: rgba(255,255,255,.65);
}
.bl-reviews__carousel {
    position: relative;
    max-width: var(--bl-max-width);
    margin: 0 auto;
}
.bl-reviews__track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: .5rem 0 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.25) transparent;
}
.bl-reviews__track::-webkit-scrollbar {
    height: 6px;
}
.bl-reviews__track::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.25);
    border-radius: 3px;
}
.bl-reviews__track .bl-review {
    flex: 0 0 85%;
    scroll-snap-align: start;
}
@media (min-width: 700px) {
    .bl-reviews__track .bl-review {
        flex-basis: calc((100% - 1.5rem) / 2);
    }
}
@media (min-width: 1000px) {
    .bl-reviews__track .bl-review {
        flex-basis: calc((100% - 3rem) / 3);
    }
}
.bl-reviews__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: var(--bl-white);
    border: 1px solid rgba(255,255,255,.35);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color .2s, border-color .2s, opacity .2s;
}
.bl-reviews__nav:hover {
    background: var(--bl-red);
    border-color: var(--bl-red);
}
.bl-reviews__nav[disabled] {
    opacity: .3;
    cursor: default;
}
.bl-reviews__nav--prev { left: -20px; }
.bl-reviews__nav--next { right: -20px; }
@media (max-width: 820px) {
    .bl-reviews__nav { display: none; }
}
.bl-review {
    background: var(--bl-white);
    padding: 1.75rem;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.bl-review__head {
    display: flex;
    align-items: center;
    gap: .85rem;
}
.bl-review__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #ddd;
}
.bl-review__who {
    flex: 1;
    min-width: 0;
}
.bl-review__author {
    font-family: var(--bl-font-block);
    font-weight: 600;
    font-size: .95rem;
    color: var(--bl-text);
    margin: 0;
}
.bl-review__when {
    font-size: .8rem;
    color: var(--bl-text-muted);
    margin: 0;
}
.bl-review__stars {
    color: var(--bl-red);
    font-size: 1rem;
    letter-spacing: .1em;
    margin: 0;
}
.bl-review__text {
    font-size: .95rem;
    line-height: 1.6;
    color: var(--bl-text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bl-reviews__footer {
    max-width: var(--bl-max-width);
    margin: 2.5rem auto 0;
    text-align: center;
}
.bl-reviews__footer .bl-btn--outline {
    border-color: var(--bl-white);
    color: var(--bl-white);
    background: transparent;
}
.bl-reviews__footer .bl-btn--outline:hover {
    background: var(--bl-white);
    color: var(--bl-black);
}

/* ====== ABOUT / STORY (short image + heading intro) ====== */
.bl-about {
    max-width: var(--bl-max-width);
    margin: 0 auto var(--bl-section-pad);
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 900px) {
    .bl-about {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}
.bl-about__image {
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    aspect-ratio: 4 / 3;
    width: 100%;
    max-width: 100%;
}
@media (min-width: 900px) {
    .bl-about__image { min-height: 360px; }
}
.bl-about__paragraph {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--bl-text);
    margin: 0 0 1.25rem;
}
.bl-about__paragraph:last-of-type { margin-bottom: 0; }
.bl-about__signature {
    font-family: var(--bl-font-script);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--bl-red);
    margin: 1.75rem 0 0;
}

/* ====== MANIFESTO (two-column on dark background) ====== */
.bl-manifesto {
    background: #1a1a1a;
    padding: var(--bl-section-pad) 1.5rem;
    margin: 0;
}
.bl-manifesto__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.bl-manifesto__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
.bl-manifesto__col {
    min-width: 0;
}
.bl-manifesto__sub-heading {
    margin: 0 0 1.25rem;
    line-height: 1.1;
}
.bl-manifesto__sub-heading .bl-script {
    display: block;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: #f2ece0;
}
.bl-manifesto__sub-heading .bl-block {
    display: block;
    font-size: clamp(1.15rem, 2.1vw, 1.5rem);
    color: var(--bl-red);
    margin-top: .15rem;
}
.bl-manifesto__paragraph {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #e6e1d8;
    margin: 0 0 1.25rem;
}
.bl-manifesto__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
    line-height: 1.75;
    color: #e6e1d8;
}
.bl-manifesto__list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: .25rem;
}
.bl-manifesto__list li::before {
    content: "·";
    position: absolute;
    left: .25rem;
    top: -.15em;
    font-size: 1.6em;
    color: var(--bl-red);
    line-height: 1;
}
.bl-manifesto__closer {
    font-family: var(--bl-font-script);
    font-style: italic;
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    line-height: 1.4;
    color: var(--bl-red);
    margin: clamp(2.5rem, 5vw, 3.75rem) 0 0;
    text-align: center;
}
@media (max-width: 820px) {
    .bl-manifesto__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ====== SMALL SCREENS ====== */
@media (max-width: 640px) {
    .bl-hero {
        padding: 4rem 1rem;
    }
    /* Stack the hero buttons vertically with real breathing room.
     * Previously each button was width:100% and gap:1rem which made
     * them hug the screen edges and nearly touch each other. */
    .bl-hero__ctas {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    .bl-hero__ctas .bl-btn {
        width: auto;
        min-width: 220px;
        max-width: 320px;
    }
}

/* ========================================================================
 * HEADER — dark bar w/ Playfair wordmark, matching homepage palette.
 * Overrides classic theme.css via #header-scoped specificity; structure
 * (header-banner / header-nav / header-top / mobile wrapper) stays intact.
 * ======================================================================== */
#header {
    background: #000;
    color: #e6e1d8;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .04);
}
#header a {
    color: #e6e1d8;
    transition: color .15s ease;
}
#header a:hover,
#header a:focus {
    color: var(--bl-red);
    text-decoration: none;
}

/* banner strip (empty by default — collapse so no black void) */
#header .header-banner {
    background: #000;
    color: #e6e1d8;
}
#header .header-banner:empty { display: none; }

/* ---- top nav row: collapsed on desktop (language + sign-in are moved
 *      by js into the logo/menu row below); still holds the mobile
 *      hamburger/cart/user icons on small screens. ---- */
#header .header-nav {
    background: transparent;
    border-bottom: 0;
    min-height: 0;
    max-height: none;        /* theme.css caps this at 50px, logo would overflow and cover the hamburger */
    overflow: visible;
    padding: 0;
    margin-bottom: 0;
    font-family: var(--bl-font-block);
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #c9c2b5;
}
#header .header-nav .hidden-sm-down { display: none !important; }
#header .header-nav .right-nav { text-align: right; }

#header .language-selector,
#header .user-info,
#header #_desktop_user_info { display: inline-block; vertical-align: middle; }
#header .language-selector { margin-right: 1.25rem; }
#header .language-selector .expand-more {
    color: #c9c2b5;
    font-size: .78rem;
    letter-spacing: .1em;
}
#header .user-info a { color: #c9c2b5; }
#header .user-info a:hover,
#header .user-info a:hover .material-icons { color: var(--bl-red); }
#header .material-icons { vertical-align: middle; font-size: 1.1rem; }

#header .language-selector .dropdown-menu {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
    padding: .25rem 0;
}
#header .language-selector .dropdown-item {
    color: #e6e1d8;
    padding: .5rem 1rem;
}
#header .language-selector .dropdown-item:hover,
#header .language-selector .dropdown-item:focus {
    background: rgba(190, 41, 30, .15);
    color: #fff;
}
#header .language-selector .current .dropdown-item { color: var(--bl-red); }

/* ---- logo row: real bitmap logo, inverted to read on dark header ---- */
#header .header-top {
    background: #000;
    padding: 1.25rem 0;
}
#header #_desktop_logo { display: flex; align-items: center; }
#header #_desktop_logo h1 { margin: 0; line-height: 1; }
#header #_desktop_logo img.logo,
#header #_mobile_logo img.logo,
#header .top-logo img {
    /* Source JPG is dark-on-white; invert to read on dark bg, then
     * rotate hue 180° so the red brand stripes stay red instead of cyan.
     * Inverted JPG bg is pure #000 so the header bg is also #000 — any
     * other shade would leave a visible rectangle around the logo. */
    filter: invert(1) hue-rotate(180deg);
    max-height: 64px;
    width: auto;
    height: auto;
}
#header #_desktop_logo a,
#header #_mobile_logo a,
#header .top-logo a {
    display: inline-block;
    line-height: 0;
}

/* ---- top menu (ps_mainmenu) — items configured in BO ---- */
#header #_desktop_top_menu {
    min-width: 0;
    width: 100%;
}
#header #top-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
}
#header #top-menu > li {
    line-height: 1;
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
}
#header #top-menu > li > a {
    display: inline-block;
    padding: .35rem 0;
    color: #e6e1d8 !important;
    font-family: var(--bl-font-block);
    font-weight: 500;
    font-size: .85rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent !important;
    border: 0;
    position: relative;
    transition: color .15s ease;
}
#header #top-menu > li > a:hover,
#header #top-menu > li > a:focus { color: var(--bl-red) !important; }
#header #top-menu > li > a::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: -.4rem;
    height: 2px;
    background: var(--bl-red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .2s ease;
}
#header #top-menu > li > a:hover::after,
#header #top-menu > li > a:focus::after { transform: scaleX(1); }
#header #top-menu .sub-menu {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}
#header #top-menu .sub-menu a {
    color: #e6e1d8 !important;
    background: transparent !important;
}
#header #top-menu .sub-menu a:hover {
    color: var(--bl-red) !important;
    background: rgba(190, 41, 30, .1) !important;
}

/* ---- search widget: hidden in the new dark header ---- */
#header #search_widget { display: none !important; }

/* ---- header-top-right becomes a single flex row:
 *      menu on the left, language + user (moved in by header.js)
 *      pinned to the right. ---- */
#header .header-top-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
/* Nav fills remaining space so its centered list sits visually
 * between the logo and the right-side tools (sign-in + language). */
#header .header-top-right > .menu { flex: 1 1 auto; }
#header .bl-header-tools { flex: 0 0 auto; margin-left: auto; }
#header .bl-header-tools {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 0 0 auto;
    font-family: var(--bl-font-block);
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #c9c2b5;
}
#header .bl-header-tools #_desktop_language_selector,
#header .bl-header-tools #_desktop_user_info,
#header .bl-header-tools #_desktop_cart { margin: 0; }
#header .bl-header-tools .language-selector { margin-right: 0; }
#header .bl-header-tools .user-info { margin: 0; white-space: nowrap; }

/* Cart pill — same Oswald uppercase look as the rest of the header tools. */
#header .bl-header-tools #_desktop_cart .blockcart {
    background: transparent;
    padding: 0;
    margin: 0;
    border: 0;
}
#header .bl-header-tools #_desktop_cart .header {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 0;
    margin: 0;
}
#header .bl-header-tools #_desktop_cart .header,
#header .bl-header-tools #_desktop_cart a {
    color: inherit;
    text-decoration: none;
    font-family: var(--bl-font-block);
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}
#header .bl-header-tools #_desktop_cart .material-icons.shopping-cart {
    font-size: 1.15rem;
    color: inherit;
    line-height: 1;
}
#header .bl-header-tools #_desktop_cart .cart-products-count {
    color: var(--bl-red);
    font-weight: 600;
}
#header .bl-header-tools #_desktop_cart .blockcart:hover,
#header .bl-header-tools #_desktop_cart a:hover { color: #fff; }

/* ---- language toggle: globe + EN | FR ---- */
#header .bl-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--bl-font-block);
    font-weight: 500;
    letter-spacing: .14em;
    font-size: .78rem;
    color: #e6e1d8;
}
#header .bl-lang-toggle__globe {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: #c9c2b5;
}
#header .bl-lang-toggle__globe svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}
#header .bl-lang-toggle__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
#header .bl-lang-toggle__list li { line-height: 1; }
#header .bl-lang-toggle__list a {
    color: #c9c2b5;
    text-decoration: none;
    transition: color .15s ease;
}
#header .bl-lang-toggle__list a:hover { color: var(--bl-red); }
#header .bl-lang-toggle__list li.is-current {
    color: #fff;
    font-weight: 600;
}
#header .bl-lang-toggle__sep {
    color: rgba(255, 255, 255, .25);
    font-weight: 400;
}

/* ---- mobile header bits ---- */
#header #menu-icon,
#header #_mobile_cart,
#header #_mobile_user_info,
#header #_mobile_cart .material-icons,
#header #_mobile_user_info .material-icons { color: #e6e1d8; }
#header #menu-icon .material-icons { font-size: 1.6rem; }
#header .mobile { padding: .35rem 0; }

#mobile_top_menu_wrapper {
    background: #1a1a1a;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
#mobile_top_menu_wrapper .top-menu a { color: #e6e1d8 !important; }
#mobile_top_menu_wrapper .top-menu a:hover { color: var(--bl-red) !important; }

/* We ignore #mobile_top_menu_wrapper entirely (its content is
 * collapsed by PrestaShop's .row/.container/flex ancestry in a way
 * that's not fixable without deeper theme edits). Instead header.js
 * builds a fresh #bl-mobile-drawer attached to <body> which we style
 * here as a full-width drawer below the header. */
#mobile_top_menu_wrapper { display: none !important; }

#bl-mobile-drawer {
    position: fixed;
    top: 72px;                     /* matches mobile .header-nav .mobile min-height */
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: #1a1a1a;
    border-top: 1px solid rgba(255, 255, 255, .08);
    z-index: 1000;
    padding: 0;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
}
body.bl-drawer-open #bl-mobile-drawer {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
/* Show only on mobile-sized viewports; on desktop the drawer has no
 * reason to appear (desktop nav lives in the header bar). */
@media (min-width: 768px) {
    #bl-mobile-drawer { display: none !important; }
}

#bl-mobile-drawer .bl-mobile-topmenu { width: 100%; display: block !important; }
#bl-mobile-drawer .bl-mobile-topmenu > ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}
#bl-mobile-drawer .bl-mobile-topmenu > ul > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: transparent;
}
#bl-mobile-drawer .bl-mobile-topmenu > ul > li > a {
    display: block;
    padding: 1rem 1.25rem;
    color: #fff !important;
    font-family: var(--bl-font-block);
    font-size: .95rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.3;
    background: transparent !important;
}
#bl-mobile-drawer .bl-mobile-topmenu > ul > li > a::after { display: none !important; }
#bl-mobile-drawer .bl-mobile-topmenu > ul > li > a:hover,
#bl-mobile-drawer .bl-mobile-topmenu > ul > li > a:focus {
    color: var(--bl-red) !important;
    background: rgba(190, 41, 30, .1) !important;
}

/* Sign-in row inside the drawer. */
#bl-mobile-drawer .bl-mobile-signin {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
#bl-mobile-drawer .bl-mobile-signin .user-info a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 1rem 1.25rem;
    color: #fff;
    text-decoration: none;
    font-family: var(--bl-font-block);
    font-size: .95rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}
#bl-mobile-drawer .bl-mobile-signin .user-info a:hover {
    color: var(--bl-red);
    background: rgba(190, 41, 30, .1);
}
#bl-mobile-drawer .bl-mobile-signin .material-icons { font-size: 1.25rem; }
#bl-mobile-drawer .bl-mobile-signin .hidden-sm-down { display: inline !important; }

/* Language toggle row inside the drawer. */
#bl-mobile-drawer .bl-mobile-lang {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.25rem;
    color: #fff;
    font-family: var(--bl-font-block);
    font-size: .85rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}
#bl-mobile-drawer .bl-mobile-lang a { color: #c9c2b5; text-decoration: none; }
#bl-mobile-drawer .bl-mobile-lang a:hover { color: var(--bl-red); }
#bl-mobile-drawer .bl-mobile-lang .is-current { color: #fff; font-weight: 600; }
#bl-mobile-drawer .bl-mobile-lang .bl-lang-toggle__sep { color: rgba(255,255,255,.25); }
#bl-mobile-drawer .bl-mobile-lang .bl-lang-toggle__globe {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: #c9c2b5;
}
#bl-mobile-drawer .bl-mobile-lang .bl-lang-toggle__globe svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}
#bl-mobile-drawer .bl-mobile-lang .bl-lang-toggle__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: .4rem;
}

#mobile_top_menu_wrapper .js-top-menu-bottom {
    padding: .5rem 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
#mobile_top_menu_wrapper .js-top-menu-bottom > div {
    padding: .75rem 1.25rem;
    color: #e6e1d8;
}
#mobile_top_menu_wrapper .js-top-menu-bottom a { color: #fff; }
#mobile_top_menu_wrapper .js-top-menu-bottom a:hover { color: var(--bl-red); }

/* Sign-in cloned into the hamburger menu from #_desktop_user_info. */
#mobile_top_menu_wrapper .bl-mobile-signin {
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
#mobile_top_menu_wrapper .bl-mobile-signin .user-info a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 1rem 1.25rem;
    color: #fff !important;
    font-family: var(--bl-font-block);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .95rem;
}
#mobile_top_menu_wrapper .bl-mobile-signin .user-info a:hover {
    color: var(--bl-red) !important;
    background: rgba(190, 41, 30, .08);
}
#mobile_top_menu_wrapper .bl-mobile-signin .material-icons { font-size: 1.25rem; }
/* Classic theme hides this span on mobile; force visible here since
 * we're putting the whole link in an explicit menu item. */
#mobile_top_menu_wrapper .bl-mobile-signin .hidden-sm-down {
    display: inline !important;
}

/* ---- mobile breakpoint: hide desktop nav+tools; re-layout the mobile
 *      row as a flex bar so the logo can truly center between the
 *      hamburger (left) and the cart/user icons (right). ---- */
@media (max-width: 767px) {
    /* The whole .header-top row only holds the desktop logo + the
     * now-empty .header-top-right; on mobile everything that matters is
     * in .header-nav .mobile, so collapse .header-top. */
    #header .header-top { display: none; }
    #header .bl-header-tools { display: none; }

    /* Flex for the icons + absolute-positioned logo so the logo is
     * truly viewport-centered regardless of how wide the side icons
     * are. Bootstrap float-* classes are overridden. */
    #header .header-nav .hidden-md-up.mobile {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: .5rem .75rem;
        min-height: 72px;
        position: relative;
    }
    #header .header-nav .hidden-md-up.mobile > * {
        float: none !important;
        margin: 0 !important;
    }
    #header .header-nav .hidden-md-up.mobile #menu-icon {
        flex: 0 0 auto;
        position: relative;
        z-index: 2;
        padding: .25rem;
        cursor: pointer;
    }
    #header .header-nav .hidden-md-up.mobile #_mobile_logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        flex: 0 0 auto;
        text-align: center;
        min-width: 0;
        min-height: 0;
        z-index: 1;
    }
    /* Sign-in gets cloned into the hamburger menu (see header.js), so
     * hide the tiny duplicate icon on the mobile bar. */
    #header .header-nav .hidden-md-up.mobile #_mobile_user_info { display: none !important; }
    #header .header-nav .hidden-md-up.mobile #_mobile_cart {
        flex: 0 0 auto;
        position: relative;
        z-index: 2;
        order: 3;
    }
    #header .header-nav .hidden-md-up.mobile .clearfix { display: none; }

    /* Size the bitmap logo to comfortably fit inside the 72px bar
     * with breathing room above/below. */
    #header #_mobile_logo img.logo,
    #header #_mobile_logo img,
    #header .top-logo img {
        max-height: 42px;
        width: auto;
        vertical-align: middle;
    }
}

/* ========================================================================
 * FOOTER — three columns on dark background, matching header palette.
 * Rendered via boeuflocal's hookDisplayFooter; stock footer modules are
 * unhooked so this module owns the footer.
 * ======================================================================== */

/* Let sections flow straight into the dark footer on every page by
 * zeroing the theme's #wrapper padding-bottom (grey #f6f6f6 was showing
 * through as a pale band above the footer on pages where the last
 * section had bottom margin). */
#wrapper { padding-bottom: 0; }

/* Also kill the per-page <footer class="page-footer"> placeholder,
 * which is empty on this site but renders theme padding. */
.page-footer { display: none; }

/* Kill the white #footer wrapper + .footer-container padding so the
 * dark footer goes edge-to-edge, and hide the stock PrestaShop
 * copyright row at the very bottom of footer.tpl. !important because
 * the theme's `#footer{background:#fff}` has the same specificity and
 * can win on pages where the classic theme CSS loads after ours
 * (checkout/order in particular). */
#footer {
    background: #141414 !important;
    padding: 0 !important;
    color: inherit;
}
#footer .footer-container {
    padding: 0;
    margin: 0;
    background: transparent;
    overflow: visible;
}
#footer .footer-container > .container,
#footer > .container {
    max-width: none;
    padding: 0;
}
#footer .footer-container > .container > .row:last-of-type .text-sm-center {
    display: none;
}

.bl-footer {
    background: #141414;
    color: #e6e1d8;
    padding: clamp(3rem, 6vw, 5rem) 1.5rem 2rem;
    font-family: var(--bl-font-block);
}
.bl-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.bl-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.3fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.bl-footer__col { min-width: 0; }
#footer .bl-footer__heading {
    font-family: var(--bl-font-block);
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-size: .85rem;
    color: #fff;
    margin: 0 0 1.25rem;
    position: relative;
    padding-bottom: .75rem;
}
.bl-footer__heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--bl-red);
}

/* --- col 1: brand --- */
.bl-footer__logo {
    display: inline-block;
    line-height: 0;
    margin-bottom: 1.5rem;
}
.bl-footer__logo img {
    max-height: 72px;
    width: auto;
    height: auto;
    filter: invert(1) hue-rotate(180deg);
}
.bl-footer__socials {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: .6rem;
}
#footer .bl-footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
#footer .bl-footer__socials a:hover {
    background: var(--bl-red);
    border-color: var(--bl-red);
    color: #fff;
}
.bl-footer__socials svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* --- col 2: contact --- */
.bl-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: .95rem;
    line-height: 1.6;
}
.bl-footer__contact-label {
    display: block;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--bl-red);
    margin-bottom: .15rem;
}
#footer .bl-footer__contact a {
    color: #fff;
    text-decoration: none;
    transition: color .15s ease;
}
#footer .bl-footer__contact a:hover { color: var(--bl-red); }
#footer .bl-footer__contact address {
    font-style: normal;
    margin: 0;
    color: #fff;
}
#footer .bl-footer__contact address span {
    display: block;
}

/* --- col 3: come visit --- */
.bl-footer__hours-label {
    margin: 0 0 .5rem;
    font-size: .85rem;
    letter-spacing: .05em;
    color: #c9c2b5;
}
#footer .bl-footer__hours {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: .95rem;
    line-height: 1.65;
    color: #fff;
}
#footer .bl-footer__invite {
    font-family: var(--bl-font-script);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.45;
    color: #fff;
    margin: 0;
}

/* --- copyright line --- */
.bl-footer__copyright {
    margin: 3rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8b857a;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .5rem 1.25rem;
}
#footer .bl-footer__credit {
    color: #8b857a;
}
#footer .bl-footer__credit a {
    color: #c9c2b5;
    text-decoration: none;
    transition: color .15s ease;
}
#footer .bl-footer__credit a:hover { color: var(--bl-red); }

@media (max-width: 820px) {
    .bl-footer__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .bl-footer { padding: 2.5rem 1.75rem 1.5rem; }
    /* Center the brand column (logo + socials) on mobile. */
    .bl-footer__col--brand {
        text-align: center;
    }
    .bl-footer__col--brand .bl-footer__logo {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }
    .bl-footer__col--brand .bl-footer__socials {
        justify-content: center;
    }
}

/* ====== CATEGORY PAGE — brand typography to match homepage ====== */
body.page-category #js-product-list-header .block-category h1,
body.page-category #js-product-list-header .block-category .h1,
body.page-category .block-category h1,
body.page-category .block-category .h1 {
    font-family: var(--bl-font-script);
    font-style: italic;
    font-weight: 400;
    color: var(--bl-black);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: none;
    margin: 0 0 1rem;
}
body.page-category .block-category #category-description,
body.page-category .block-category .category-description {
    font-family: var(--bl-font-script);
    font-style: normal;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--bl-text-muted);
    max-width: 720px;
}
/* Restore bold for <strong>/<b> inside the category description
 * (the font-weight:400 above would otherwise flatten them). */
body.page-category .block-category #category-description strong,
body.page-category .block-category #category-description b,
body.page-category .block-category .category-description strong,
body.page-category .block-category .category-description b {
    font-weight: 700;
}
body.page-category h2.h2,
body.page-category .products-section-title,
body.page-category #js-product-list-top .total-products p,
body.page-category .product-title a,
body.page-category .product-title {
    font-family: var(--bl-font-block);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Hide the category cover image on every category page — title only. */
body.page-category .category-cover {
    display: none;
}
/* Drop the white card around the category title/description site-wide. */
body.page-category .block-category {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin-bottom: .5rem;
}
/* Tighten the gap above the sort/count row so title sits close to products. */
body.page-category #js-product-list-top.products-selection {
    margin-top: 0;
    padding-top: .25rem;
}

/* Subcategories rendered to match the homepage .bl-box cards. */
body.page-category #subcategories {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
body.page-category #subcategories .subcategory-heading {
    font-family: var(--bl-font-script);
    font-style: italic;
    font-weight: 400;
    color: var(--bl-black);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    text-align: center;
    margin: 0 0 2rem;
    letter-spacing: 0;
    text-transform: none;
}
body.page-category .subcategories-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
@media (min-width: 576px) {
    body.page-category .subcategories-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    body.page-category .subcategories-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
body.page-category .subcategories-list > li {
    background: var(--bl-white);
    border: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
    overflow: hidden;
    text-align: left;
}
body.page-category .subcategories-list > li:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
body.page-category .subcategory-image {
    position: relative;
    aspect-ratio: 4 / 3;
    background-color: #1a1a1a;
    overflow: hidden;
    margin: 0;
}
body.page-category .subcategory-image .img,
body.page-category .subcategory-image picture {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0 !important;
    border: 0 !important;
}
/* Override the theme's 5px border-on-hover around the image link. */
body.page-category #subcategories ul li:hover .subcategory-image a,
body.page-category #subcategories ul li .subcategory-image a {
    padding: 0;
    border: 0;
}
body.page-category .subcategory-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
body.page-category .subcategories-list > li:hover .subcategory-image img {
    transform: scale(1.04);
}
/* Hide image area only when the anchor has no <img> inside. */
body.page-category .subcategory-image:not(:has(img)) {
    display: none;
}
body.page-category .subcategories-list h5 {
    margin: 0;
    padding: 1.75rem 1.5rem 0;
    line-height: 1;
    flex: 1;
}
body.page-category .subcategories-list .subcategory-name {
    display: block;
    font-family: var(--bl-font-block);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--bl-black);
    text-decoration: none;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.05;
}
body.page-category .subcategories-list > li:hover .subcategory-name {
    color: var(--bl-red);
}
body.page-category .subcategories-list .cat_desc {
    display: block;
    color: var(--bl-text-muted);
    font-size: .95rem;
    line-height: 1.55;
    padding: .75rem 1.5rem 0;
}
/* Outline-button accent at the bottom — mirrors the homepage .bl-btn--outline. */
body.page-category .subcategories-list > li::after {
    content: "Découvrir";
    display: inline-block;
    align-self: flex-start;
    margin: 1.5rem 1.5rem 2rem;
    padding: .85rem 1.5rem;
    border: 2px solid var(--bl-black);
    color: var(--bl-black);
    background: transparent;
    font-family: var(--bl-font-block);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .85rem;
    line-height: 1;
    transition: background-color .2s, color .2s, border-color .2s;
}
body.page-category .subcategories-list > li:hover::after {
    background: var(--bl-red);
    color: #fff;
    border-color: var(--bl-red);
}
html[lang^="en"] body.page-category .subcategories-list > li::after {
    content: "Discover";
}
/* Make the whole card clickable: stretch the title link to cover the
 * entire <li> via an absolute pseudo-element. The image link (.img)
 * sits inside the absolute-positioned image area, which would only
 * cover that area — so we use the title link, which has the <li> as
 * its nearest positioned ancestor. */
body.page-category .subcategories-list > li {
    position: relative;
    cursor: pointer;
}
body.page-category .subcategories-list .subcategory-name {
    position: static;
}
body.page-category .subcategories-list .subcategory-name::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
}
/* Keep the image link below the overlay so the overlay wins clicks
 * (both go to the same URL anyway). */
body.page-category .subcategories-list h5,
body.page-category .subcategories-list .cat_desc,
body.page-category .subcategories-list > li::after {
    position: relative;
    z-index: 2;
}

/* Hide the "No products available yet" empty state on category pages
 * (subcategories carry the products). Scoped to #js-product-list so it
 * never affects the real 404 page. */
body.page-category #js-product-list .page-not-found {
    display: none;
}

/* ============================================================
 * Replace theme teal (#24b9d7 default, #198195 hover) with brand
 * red site-wide. Comprehensive sweep across the classic theme.
 * ============================================================ */

/* Default link color (theme uses teal #24b9d7) → brand black.
 * Brand-classed elements (.bl-btn, .bl-script, etc.) set their own color
 * via more specific rules, so this only affects unstyled <a> tags. */
body a {
    color: var(--bl-text);
}

/* Generic links: hover/focus → red. Excludes .bl-btn and .btn (Bootstrap
 * button anchors like "Proceed to checkout") which carry their own hover
 * treatment — otherwise the text would go red on the button's red bg. */
body a:hover:not(.bl-btn):not(.btn),
body a:focus:not(.bl-btn):not(.btn),
body #header a:hover,
body #header .top-menu a[data-depth="0"]:hover,
body #header .header-nav .blockcart a:hover,
body .footer-container li a:hover,
body .account-list a:hover,
body .block-categories .collapse-icons .add:hover,
body .block-categories .collapse-icons .remove:hover,
body .block-categories .arrows .arrow-down:hover,
body .block-categories .arrows .arrow-right:hover,
body .cart-grid-body a.label:hover,
body .dropdown-item:focus,
body .dropdown-item:hover,
body .product-miniature .highlighted-informations .quick-view:hover,
body #subcategories ul li .subcategory-name:hover,
body .carousel .carousel-control .icon-next:hover i,
body .carousel .carousel-control .icon-prev:hover i,
body .dropdown:hover .expand-more,
body .block-promo .promo-code-button.cancel-promo {
    color: var(--bl-red);
}

/* Bootstrap-style primary button */
body .btn-primary {
    background-color: var(--bl-red);
    border-color: var(--bl-red);
    color: #fff;
}
body .btn-primary:hover,
body .btn-primary:focus,
body .btn-primary:active,
body .btn-primary:active:focus,
body .btn-primary.active,
body .btn-primary.focus {
    background-color: var(--bl-red-dark);
    border-color: var(--bl-red-dark);
    color: #fff;
    outline: 0;
    box-shadow: none;
}
/* Disabled: clearly grey (not a faded red) so users know it's not yet active. */
body .btn-primary.disabled,
body .btn-primary:disabled,
body .btn-primary.disabled:hover,
body .btn-primary:disabled:hover,
body .btn-primary.disabled:focus,
body .btn-primary:disabled:focus {
    background-color: #cfcfcf;
    border-color: #cfcfcf;
    color: #fff;
    opacity: 1;
    cursor: not-allowed;
}
body .btn-outline-primary {
    color: var(--bl-red);
    border-color: var(--bl-red);
    background-color: transparent;
}
body .btn-outline-primary:hover,
body .btn-outline-primary:focus,
body .btn-outline-primary.active,
body .btn-outline-primary:active {
    background-color: var(--bl-red);
    border-color: var(--bl-red);
    color: #fff;
}
body .btn-link { color: var(--bl-red); }

/* Pagination / list-group / dropdown active states */
body .page-link { color: var(--bl-red); }
body .pagination .current a { color: var(--bl-red); }
body .page-item.active .page-link,
body .page-item.active .page-link:hover,
body .page-item.active .page-link:focus,
body .nav-pills .nav-link.active,
body .nav-pills .nav-item.open .nav-link,
body .nav-pills .nav-item.open .nav-link:focus,
body .nav-pills .nav-item.open .nav-link:hover,
body .list-group-item.active,
body .list-group-item.active:hover,
body .list-group-item.active:focus,
body .dropdown-item.active,
body .dropdown-item.active:hover,
body .dropdown-item.active:focus {
    background-color: var(--bl-red);
    border-color: var(--bl-red);
    color: #fff;
}

/* Bootstrap utility & card variants */
body .bg-primary { background-color: var(--bl-red) !important; }
body .text-primary { color: var(--bl-red) !important; }
body .card-primary {
    background-color: var(--bl-red);
    border-color: var(--bl-red);
}
body .card-outline-primary { border-color: var(--bl-red); }
body .tag-primary { background-color: var(--bl-red); }

/* Product price + cart modal product name */
body .product-price,
body #blockcart-modal .product-name {
    color: var(--bl-red);
}

/* Form focus outlines */
body .form-control:focus,
body .input-group.focus,
body .search-widget form input[type=text]:focus,
body .product-customization .product-message:focus {
    outline-color: var(--bl-red);
}
body .block_newsletter form input[type=text]:focus,
body .block_newsletter form input[type=email]:focus {
    border-color: var(--bl-red);
    outline-color: var(--bl-red);
}

/* Tabs */
body .tabs .nav-tabs .nav-link.active,
body .tabs .nav-tabs .nav-link:hover {
    color: var(--bl-red);
    border-bottom-color: var(--bl-red);
}

/* Subcategory hover border + product image thumbs */
body #subcategories ul li:hover .subcategory-image a,
body #product-modal .modal-content .modal-body .product-images img:hover,
body .product-images > li.thumb-container .thumb.selected,
body .product-images > li.thumb-container .thumb:hover {
    border-color: var(--bl-red);
}

/* Touchspin, sort/facet dropdowns, social hover, header cart */
body .bootstrap-touchspin .group-span-filestyle .btn-touchspin,
body .group-span-filestyle .bootstrap-touchspin .btn-touchspin,
body .brands-sort .select-list:hover,
body .products-sort-order .select-list:hover,
body .suppliers-sort .select-list:hover,
body .facet-dropdown .select-list:hover,
body .block-social ul li:hover,
body #header .header-nav .cart-preview.active {
    background-color: var(--bl-red);
    color: #fff;
}
/* Hide the product-page social share block entirely. */
body .social-sharing { display: none !important; }
/* Hide the blockreassurance "Pick Up Orders" panel site-wide. */
body .blockreassurance_product { display: none !important; }

/* Full-bleed footer site-wide — width = viewport, negative half-margins
 * to escape any parent (body padding, .container max-width, etc.) so
 * the dark footer always runs corner-to-corner. */
#footer {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-bottom: -3.125rem !important;
}
/* Sticky footer site-wide: <main> at least a full viewport tall,
 * #footer pinned to its bottom via margin-top: auto. Header + content
 * flow at the top; footer sits on the viewport bottom when the page
 * is short. */
main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main > #footer {
    margin-top: auto;
}
/* Kill the light #wrapper bottom padding on cart & checkout so there's
 * no light strip between the white cart card and the dark footer. */
body#cart #wrapper,
body#checkout #wrapper {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Recolor theme greens/teals to brand:
 * (a) step-number "1 / 2 / ..." circle: theme green (#00c062) → brand black
 * (b) Bootstrap .nav-link default link color and .active tab teal (#24b9d7)
 *     → brand black, hover → red, active tab → red text (no background). */
body#checkout .step-number {
    background-color: var(--bl-black) !important;
    color: #fff !important;
}
body#checkout .nav-link,
body#checkout .nav-link:link,
body#checkout .nav-link:visited { color: var(--bl-black); }
body#checkout .nav-link:hover,
body#checkout .nav-link:focus { color: var(--bl-red); }
body#checkout .nav-link.active,
body#checkout .nav-pills .nav-link.active,
body#checkout .nav-pills .nav-link.active:focus,
body#checkout .nav-pills .nav-link.active:hover {
    background-color: transparent;
    color: var(--bl-red);
    font-weight: 600;
}
/* Kill every remaining blue link state on the checkout content area —
 * every <a> that isn't a .btn/.bl-btn is brand-black default, brand-red
 * on hover/focus. Scoped to #wrapper so it doesn't override the
 * footer's white-on-dark link styling. */
body#checkout #wrapper a:not(.btn):not(.bl-btn),
body#checkout #wrapper a:not(.btn):not(.bl-btn):link,
body#checkout #wrapper a:not(.btn):not(.bl-btn):visited {
    color: var(--bl-text) !important;
}
body#checkout #wrapper a:not(.btn):not(.bl-btn):hover,
body#checkout #wrapper a:not(.btn):not(.bl-btn):focus,
body#checkout #wrapper a:not(.btn):not(.bl-btn):active {
    color: var(--bl-red) !important;
}
body .facet-dropdown.open > .select-title,
body#checkout section.checkout-step .address-item.selected {
    border-color: var(--bl-red);
}
body .block-promo .promo-input + button {
    border-color: var(--bl-red);
}

/* Custom radio dot */
body .custom-radio input[type=radio]:checked + span {
    background-color: var(--bl-red);
}

/* Product flags ("Pack", "New", "Online only", etc.) — give every flag
 * a brand-red background by default. Specific flags (discount, on-sale)
 * keep their warmer tones from the theme. */
body .product-flags li.product-flag,
body .product-flags li.product-flag.pack,
body .product-flags li.product-flag.new,
body .product-flags li.product-flag.online-only,
body .product-flag {
    background-color: var(--bl-red);
    color: #fff;
}

/* ====== CMS pages (About / story) — brand-styled prose ====== */
body#cms .page-content,
body#cms #content.card {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}
body#cms .page-header { display: none; }
.bl-cms {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) 1.25rem clamp(3rem, 6vw, 5rem);
}
.bl-cms__header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.bl-cms__body p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--bl-text);
    margin: 0 0 1.25rem;
}
.bl-cms__body h2.bl-section-heading {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.25rem;
}
.bl-cms__body h2.bl-section-heading .bl-script {
    text-align: left;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}
.bl-cms__body h2.bl-section-heading .bl-block {
    text-align: left;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}
.bl-cms__body ul,
body#cms .bl-cms__body ul {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0;
    margin: 0 0 1.5rem;
}
.bl-cms__body ul li,
body#cms .bl-cms__body ul li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--bl-text);
    margin-bottom: .35rem;
    list-style: none !important;
    list-style-type: none !important;
}
.bl-cms__body ul li::before {
    content: "·";
    position: absolute;
    left: .3rem;
    top: -.15em;
    font-size: 1.6em;
    color: var(--bl-red);
    line-height: 1;
}
.bl-cms__body em {
    color: var(--bl-text-muted);
    font-style: italic;
}
.bl-cms__closer {
    font-family: var(--bl-font-script);
    font-style: italic;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    color: var(--bl-red);
    text-align: center;
    margin: clamp(2rem, 4vw, 3rem) 0 0 !important;
}

/* ====== Contact page — match brand aesthetic ====== */
body#contact .page-header h1,
body#contact h1.h1 {
    font-family: var(--bl-font-script);
    font-style: italic;
    font-weight: 400;
    color: var(--bl-black);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    text-align: center;
    margin: 0 0 2rem;
    text-transform: none;
    letter-spacing: 0;
}
body#contact #content.card,
body#contact .page-content {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}
body#contact .contact-form {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bl-white);
    border: 1px solid #e6e6e6;
    padding: clamp(1.5rem, 3vw, 2.5rem);
}
body#contact .contact-form h3,
body#contact .contact-form .h3 {
    font-family: var(--bl-font-block);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--bl-black);
}
/* Strip any remaining theme/Bootstrap teal inside the form. */
body#contact .contact-form a,
body#contact .contact-form a:visited {
    color: var(--bl-black);
}
body#contact .contact-form a:hover,
body#contact .contact-form a:focus {
    color: var(--bl-red);
}
body#contact .contact-form .form-control,
body#contact .contact-form input,
body#contact .contact-form textarea,
body#contact .contact-form select {
    color: var(--bl-text);
}
body#contact .contact-form .form-control:focus,
body#contact .contact-form input:focus,
body#contact .contact-form textarea:focus,
body#contact .contact-form select:focus {
    outline: .1875rem solid var(--bl-red);
    border-color: var(--bl-red);
    box-shadow: none;
}
body#contact .contact-form .form-control-label,
body#contact .contact-form label {
    color: var(--bl-black);
    font-family: var(--bl-font-block);
    font-weight: 500;
    letter-spacing: .04em;
}
body#contact .contact-form .group-span-filestyle .btn-touchspin,
body#contact .contact-form .bootstrap-touchspin .btn-touchspin,
body#contact .contact-form .group-span-filestyle .btn {
    background: var(--bl-black);
    color: #fff;
    border-color: var(--bl-black);
}
body#contact .contact-form .group-span-filestyle .btn:hover,
body#contact .contact-form .bootstrap-touchspin .btn-touchspin:hover {
    background: var(--bl-red);
    border-color: var(--bl-red);
}
body#contact .contact-form .custom-checkbox .psgdpr_consent_icon,
body#contact .contact-form .custom-checkbox .checkbox-checked {
    color: var(--bl-red);
}
body#contact .contact-rich {
    max-width: 820px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    text-align: center;
}
body#contact .contact-rich .bl-eyebrow {
    margin-bottom: .5rem;
}
body#contact .contact-rich {
    max-width: 1100px;
}
body#contact .contact-rich__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
    text-align: center;
}
@media (min-width: 576px) {
    body#contact .contact-rich__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    body#contact .contact-rich__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
body#contact .contact-rich__card {
    background: var(--bl-white);
    border: 1px solid #e6e6e6;
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    transition: transform .25s, box-shadow .25s;
}
body#contact .contact-rich__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,.08);
}
body#contact .contact-rich__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bl-red);
    margin-bottom: .25rem;
}
body#contact .contact-rich__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body#contact .contact-rich__card h3 {
    font-family: var(--bl-font-block);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--bl-black);
    font-size: .85rem;
    margin: 0;
}
body#contact .contact-rich__card a,
body#contact .contact-rich__card address,
body#contact .contact-rich__card div {
    color: var(--bl-text);
    font-style: normal;
    text-decoration: none;
    line-height: 1.55;
    font-size: .95rem;
}
body#contact .contact-rich__card a:hover {
    color: var(--bl-red);
}

/* Hide the left column site-wide and let content take the full row. */
body.layout-left-column #left-column,
body.layout-right-column #right-column {
    display: none;
}
body.layout-left-column #content-wrapper,
body.layout-right-column #content-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

/* Product grid: explicit columns matching the homepage card breakpoints.
 * Use !important to beat the theme .products{display:flex} and Bootstrap
 * col-xs-12/col-sm-6/col-xl-4 widths. */
body.page-category .products.row,
body.page-search .products.row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
@media (min-width: 576px) {
    body.page-category .products.row,
    body.page-search .products.row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (min-width: 992px) {
    body.page-category .products.row,
    body.page-search .products.row {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
body.page-category .products.row > .product,
body.page-category .products.row > .js-product,
body.page-search .products.row > .product,
body.page-search .products.row > .js-product {
    flex: initial !important;
    max-width: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Hide blockwishlist heart icons that float over the product image. */
body.page-category .wishlist-button-add,
body.page-category .wishlist-button-product,
body.page-search .wishlist-button-add,
body.page-search .wishlist-button-product {
    display: none !important;
}
body.page-category .product-miniature,
body.page-search .product-miniature,
body.page-product .product-miniature {
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
    justify-content: initial !important;
}
body.page-category .product-miniature .thumbnail-container,
body.page-search .product-miniature .thumbnail-container,
body.page-product .product-miniature .thumbnail-container {
    background: var(--bl-white);
    border: 1px solid #e6e6e6;
    box-shadow: none;
    height: auto;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
    overflow: hidden;
    position: relative;
}
body.page-category .product-miniature .thumbnail-container:hover,
body.page-search .product-miniature .thumbnail-container:hover,
body.page-product .product-miniature .thumbnail-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
/* Image area — 4:3 frame with white fallback behind the photo. */
body.page-category .product-miniature .thumbnail-top,
body.page-search .product-miniature .thumbnail-top,
body.page-product .product-miniature .thumbnail-top {
    position: relative !important;
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
    background-color: var(--bl-white);
    overflow: hidden;
}
body.page-category .product-miniature .thumbnail-top .product-thumbnail,
body.page-search .product-miniature .thumbnail-top .product-thumbnail,
body.page-product .product-miniature .thumbnail-top .product-thumbnail {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.page-category .product-miniature .thumbnail-top picture,
body.page-search .product-miniature .thumbnail-top picture,
body.page-product .product-miniature .thumbnail-top picture {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}
body.page-category .product-miniature .thumbnail-top img,
body.page-search .product-miniature .thumbnail-top img,
body.page-product .product-miniature .thumbnail-top img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform .35s ease;
}
body.page-category .product-miniature .thumbnail-container:hover img,
body.page-search .product-miniature .thumbnail-container:hover img,
body.page-product .product-miniature .thumbnail-container:hover img {
    transform: scale(1.04);
}
/* Site-wide product thumbnails — always full-bleed cover, regardless of page. */
.product-miniature .thumbnail-top {
    position: relative !important;
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
    background-color: var(--bl-white);
    overflow: hidden;
}
.product-miniature .thumbnail-top .product-thumbnail,
.product-miniature .thumbnail-top picture {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
.product-miniature .thumbnail-top img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}
/* Hide the quick-view + highlighted overlay so cards stay clean. */
body.page-category .product-miniature .highlighted-informations,
body.page-search .product-miniature .highlighted-informations,
body.page-product .product-miniature .highlighted-informations {
    display: none !important;
}

/* Body — title and CTA accent. */
body.page-category .product-miniature .product-description,
body.page-search .product-miniature .product-description,
body.page-product .product-miniature .product-description {
    background: var(--bl-white);
    padding: 1.75rem 1.5rem 0;
    text-align: left;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}
body.page-category .product-miniature .product-title,
body.page-search .product-miniature .product-title,
body.page-product .product-miniature .product-title {
    margin: 0;
    line-height: 1.05;
}
body.page-category .product-miniature .product-title a,
body.page-search .product-miniature .product-title a,
body.page-product .product-miniature .product-title a {
    font-family: var(--bl-font-block);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--bl-black);
    text-decoration: none;
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
    line-height: 1.15;
    display: block;
}
body.page-category .product-miniature .thumbnail-container:hover .product-title a,
body.page-search .product-miniature .thumbnail-container:hover .product-title a,
body.page-product .product-miniature .thumbnail-container:hover .product-title a {
    color: var(--bl-red);
}
/* Price (if shown by theme/config). */
body.page-category .product-miniature .product-price-and-shipping,
body.page-search .product-miniature .product-price-and-shipping,
body.page-product .product-miniature .product-price-and-shipping {
    font-family: var(--bl-font-block);
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--bl-red);
    font-size: .9rem;
    margin: .5rem 0 0;
}
body.page-category .product-miniature .product-price-and-shipping .price,
body.page-search .product-miniature .product-price-and-shipping .price,
body.page-product .product-miniature .product-price-and-shipping .price {
    color: var(--bl-red);
}

/* Outline "Discover" button — stretched full-width to sit above the
 * filled "Add to cart" button. pointer-events:none so clicks pass
 * through to the .product-title a::before overlay (whole-card link). */
body.page-category .product-miniature .thumbnail-container::after,
body.page-search .product-miniature .thumbnail-container::after,
body.page-product .product-miniature .thumbnail-container::after {
    content: "Discover";
    display: block;
    align-self: stretch;
    text-align: center;
    margin: 0 1.5rem 2rem;
    padding: .85rem 1.5rem;
    border: 2px solid var(--bl-black);
    color: var(--bl-black);
    background: transparent;
    font-family: var(--bl-font-block);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .85rem;
    line-height: 1;
    transition: background-color .2s, color .2s, border-color .2s;
    pointer-events: none;
}
body.page-category .product-miniature .thumbnail-container:hover::after,
body.page-search .product-miniature .thumbnail-container:hover::after,
body.page-product .product-miniature .thumbnail-container:hover::after {
    background: var(--bl-red);
    color: #fff;
    border-color: var(--bl-red);
}
html[lang^="fr"] body.page-category .product-miniature .thumbnail-container::after,
html[lang^="fr"] body.page-search .product-miniature .thumbnail-container::after {
    content: "Découvrir";
}

/* Make the whole product card clickable: stretch the title link to
 * cover the entire .thumbnail-container (which is position: relative).
 * .product-description must be static so the ::before overlay positions
 * against .thumbnail-container (theme sets description to relative,
 * which would trap the overlay inside the description box). Theme's
 * decorative .product-description::after border is neutralized to stop
 * it from repositioning to the top of the card. */
body.page-category .product-miniature .thumbnail-container,
body.page-search .product-miniature .thumbnail-container,
body.page-product .product-miniature .thumbnail-container {
    cursor: pointer;
}
body.page-category .product-miniature .product-description,
body.page-search .product-miniature .product-description,
body.page-product .product-miniature .product-description {
    position: static;
}
body.page-category .product-miniature .product-description::after,
body.page-search .product-miniature .product-description::after,
body.page-product .product-miniature .product-description::after {
    display: none;
}
body.page-category .product-miniature .product-title a,
body.page-search .product-miniature .product-title a,
body.page-product .product-miniature .product-title a {
    position: static;
}
body.page-category .product-miniature .product-title a::before,
body.page-search .product-miniature .product-title a::before,
body.page-product .product-miniature .product-title a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
}
/* Suppress the focus ring around just the title text (the anchor's real
 * box), and put the keyboard focus ring on the whole card instead. */
body.page-category .product-miniature .product-title a:focus,
body.page-search .product-miniature .product-title a:focus { outline: none; }
body.page-category .product-miniature .thumbnail-container:has(.product-title a:focus-visible),
body.page-search .product-miniature .thumbnail-container:has(.product-title a:focus-visible),
body.page-product .product-miniature .thumbnail-container:has(.product-title a:focus-visible) {
    outline: 2px solid var(--bl-red);
    outline-offset: 2px;
}

/* Filled "Add to cart" button — injected by miniature-atc.js as a
 * real <form> so PS core.js can hijack the submit and run the AJAX
 * add-to-cart flow. z-index sits above the whole-card link overlay
 * (z-index 3) so clicks land here and not on the product-page link. */
body.page-category .product-miniature .bl-atc-form,
body.page-search .product-miniature .bl-atc-form,
body.page-product .product-miniature .bl-atc-form {
    margin: 1.5rem 1.5rem .75rem;
    position: relative;
    z-index: 4;
}
body.page-category .product-miniature .bl-atc-btn,
body.page-search .product-miniature .bl-atc-btn,
body.page-product .product-miniature .bl-atc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .85rem 1rem;
    border: 2px solid var(--bl-red);
    background: var(--bl-red);
    color: #fff;
    font-family: var(--bl-font-block);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .85rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}
body.page-category .product-miniature .bl-atc-btn:hover,
body.page-search .product-miniature .bl-atc-btn:hover,
body.page-product .product-miniature .bl-atc-btn:hover {
    background: var(--bl-black);
    border-color: var(--bl-black);
}
body.page-category .product-miniature .bl-atc-btn .material-icons,
body.page-search .product-miniature .bl-atc-btn .material-icons,
body.page-product .product-miniature .bl-atc-btn .material-icons {
    font-size: 1.15rem;
    line-height: 1;
}

/* Hide empty product-flags + variants list to avoid stray spacing
 * (theme renders the <ul> with whitespace, so :empty doesn't match — use :has). */
body.page-category .product-miniature .product-flags:not(:has(li)),
body.page-search .product-miniature .product-flags:not(:has(li)),
body.page-product .product-miniature .product-flags:not(:has(li)),
body.page-category .product-miniature .variant-links:not(:has(li)),
body.page-search .product-miniature .variant-links:not(:has(li)),
body.page-product .product-miniature .variant-links:not(:has(li)) {
    display: none;
}

/* ==========================================================
   Homepage delivery-checker widget (rendered by displayHome).
   Client-side postal-code lookup against the FSA allowlist
   stored in ps_configuration and edited from BO → Modules →
   Bœuf Local → Configure.
   ========================================================== */
.bl-delivery-check {
    padding: var(--bl-section-pad) 1.25rem;
    background: var(--bl-gray-bg);
}
.bl-delivery-check__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.bl-delivery-check__lede {
    margin: 1rem auto 2rem;
    max-width: 42rem;
    color: var(--bl-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}
.bl-delivery-check__form {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
    align-items: stretch;
    max-width: 30rem;
    margin: 0 auto;
}
.bl-delivery-check__form input[type="text"] {
    flex: 1 1 12rem;
    min-width: 0;
    padding: .95rem 1rem;
    font-family: var(--bl-font-block);
    font-size: 1rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--bl-text);
    background: #fff;
    border: 2px solid var(--bl-black);
    border-radius: 0;
    outline: none;
    transition: border-color .15s ease;
}
.bl-delivery-check__form input[type="text"]:focus {
    border-color: var(--bl-red);
}
.bl-delivery-check__form input[type="text"]::placeholder {
    color: #a9a49a;
    letter-spacing: .12em;
}
.bl-delivery-check__form .bl-btn {
    flex: 0 0 auto;
}
.bl-delivery-check__result {
    margin: 1.5rem auto 0;
    max-width: 42rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    line-height: 1.55;
    border-left: 4px solid transparent;
    background: #fff;
    text-align: left;
}
.bl-delivery-check__result.is-yes {
    border-color: #2e7d32;
    color: #1b5e20;
    background: #eaf3ec;
}
.bl-delivery-check__result.is-no {
    border-color: var(--bl-red);
    color: var(--bl-red-dark);
    background: #f8ece9;
}
.bl-delivery-check__result.is-invalid {
    border-color: #b78100;
    color: #7a5800;
    background: #fdf3d8;
}
.bl-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}
/* Embed variant — used inside CMS pages where the surrounding .bl-cms
 * already provides section padding + width. Drops the standalone
 * grey band + centering so the widget fits inline with the prose. */
.bl-delivery-check--embed {
    background: transparent;
    padding: 0;
    margin: 1.5rem 0 0;
}
.bl-delivery-check--embed .bl-delivery-check__inner {
    max-width: none;
    text-align: left;
    margin: 0;
}
.bl-delivery-check--embed .bl-delivery-check__form {
    margin: 0;
    justify-content: flex-start;
}
.bl-delivery-check--embed .bl-delivery-check__result {
    margin-left: 0;
    margin-right: 0;
}
