/* =========================================================
   ===== HOME BOUTIQUE — header e-commerce, search, panier =
   ========================================================= */

/* Topbar boutique : 3 messages à gauche, hotline à droite */
.topbar {
    background: var(--c-deep);
    color: rgba(255, 255, 255, .92);
    padding: 9px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}
.topbar-left {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}
.topbar-left span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.topbar-left .pin {
    color: var(--c-yellow);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .04em;
}
.topbar-trust {
    display: flex;
    gap: 18px;
    align-items: center;
}
.topbar-trust a {
    color: var(--c-yellow);
    font-weight: 600;
    text-decoration: none;
}

/* ===== HEADER BOUTIQUE ===== */
header.site {
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid var(--c-line);
    position: sticky;
    top: 0;
    z-index: 60;
    box-shadow: 0 1px 0 rgba(24, 28, 18, .04);
}
.header-shop {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
}
.logo-wrap {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.logo-wrap img {
    height: 56px;
    width: auto;
    display: block;
}

/* Search bar centrale */
.header-search {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}
.header-search input {
    width: 100%;
    height: 46px;
    border: 1.5px solid var(--c-line);
    border-radius: 999px;
    padding: 0 56px 0 22px;
    font-size: 15px;
    color: var(--c-ink);
    background: var(--c-bg);
    transition: all .25s var(--easing);
}
.header-search input::placeholder {
    color: var(--c-ink-soft);
}
.header-search input:focus {
    outline: none;
    border-color: var(--c-deep);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(24, 28, 18, .07);
}
.header-search button {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--c-deep);
    color: #fff;
    display: grid;
    place-items: center;
    transition: background .25s ease;
}
.header-search button:hover { background: var(--c-accent); }

/* Actions à droite : compte, wishlist, panier */
.header-actions-shop {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-icon-btn {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: transparent;
    color: var(--c-deep);
    display: grid;
    place-items: center;
    transition: all .25s ease;
    text-decoration: none;
}
.header-icon-btn:hover {
    background: var(--c-bg);
    color: var(--c-accent);
}
.header-icon-btn .badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--c-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    font-family: 'JetBrains Mono', monospace;
}
.header-cta {
    margin-left: 6px;
    padding: 11px 22px;
    border-radius: 999px;
    background: var(--c-accent);
    color: var(--c-deep);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .25s ease;
}
.header-cta:hover {
    background: var(--c-accent-strong);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(159, 188, 35, .35);
}
.header-cta svg { width: 14px; height: 14px; }

/* Sous-bandeau navigation catégories */
.header-nav {
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    padding: 0;
}
.header-nav-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0;
}
.header-nav-inner::-webkit-scrollbar { display: none; }
.header-nav-inner a {
    flex-shrink: 0;
    padding: 12px 18px;
    color: var(--c-ink);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all .2s ease;
    text-decoration: none;
    white-space: nowrap;
}
.header-nav-inner a:hover {
    background: var(--c-bg);
    color: var(--c-deep);
}
.header-nav-inner a.active {
    color: var(--c-accent);
    font-weight: 600;
}
.header-nav-inner a.cta {
    background: var(--c-yellow);
    color: var(--c-deep);
    font-weight: 700;
    margin-left: auto;
}
.header-nav-inner a.cta:hover {
    background: var(--c-accent);
    color: #fff;
}

/* ===== QUICK CATEGORIES STRIP ===== */
.cat-strip {
    background: var(--c-bg);
    padding: 56px 0 36px;
    border-bottom: 1px solid var(--c-line);
}
.cat-strip-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 28px;
    gap: 24px;
}
.cat-strip-head h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(22px, 2.4vw, 32px);
    color: var(--c-deep);
    font-weight: 600;
    letter-spacing: -.01em;
    margin: 0;
}
.cat-strip-head a {
    color: var(--c-accent);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.cat-strip-head a:hover { text-decoration: underline; }
.cat-strip-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 14px;
}
.cat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 18px 10px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--c-line);
    text-decoration: none;
    color: var(--c-ink);
    transition: all .3s var(--easing);
    text-align: center;
}
.cat-pill:hover {
    border-color: var(--c-accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(24, 28, 18, .08);
}
.cat-pill .pic {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--c-bg);
    overflow: hidden;
    display: grid;
    place-items: center;
    transition: transform .4s var(--easing);
}
.cat-pill:hover .pic { transform: scale(1.05); }
.cat-pill .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cat-pill h3 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-deep);
    line-height: 1.25;
    margin: 0;
    letter-spacing: -.01em;
}
.cat-pill .badge-new {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--c-accent);
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: .04em;
    font-weight: 600;
}
.cat-pill { position: relative; }

/* ===== PROMO BANNER ===== */
.promo-banner {
    background: linear-gradient(95deg, var(--c-deep), var(--c-steel));
    color: #fff;
    padding: 22px 0;
    overflow: hidden;
    position: relative;
}
.promo-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 196, 0, .25), transparent 70%);
    transform: translateY(-50%);
}
.promo-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}
.promo-banner .pre {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--c-yellow);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.promo-banner h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(20px, 2.4vw, 28px);
    color: #fff;
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
}
.promo-banner h3 em {
    color: var(--c-yellow);
    font-style: italic;
    font-weight: 500;
}
.promo-banner .cta-yellow {
    background: var(--c-yellow);
    color: var(--c-deep);
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .25s ease;
    flex-shrink: 0;
}
.promo-banner .cta-yellow:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 196, 0, .3);
}
.promo-banner .cta-yellow svg { width: 14px; height: 14px; }

.promo-countdown {
    display: flex;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
}
.promo-countdown .cd-cell {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    padding: 8px 14px;
    text-align: center;
    min-width: 56px;
}
.promo-countdown .cd-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    color: #fff;
    font-weight: 600;
    line-height: 1;
}
.promo-countdown .cd-label {
    font-size: 10px;
    color: rgba(255, 255, 255, .6);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ===== Footer logo image override ===== */
footer.site .logo-wrap img {
    height: 60px;
    filter: brightness(0) invert(1);
}

/* ===== RESPONSIVE BOUTIQUE ===== */
@media (max-width: 1100px) {
    .cat-strip-grid { grid-template-columns: repeat(5, 1fr); }
    .cat-strip-grid .cat-pill:nth-child(n+10) { display: none; }
    .header-shop { grid-template-columns: auto 1fr auto; gap: 18px; }
    .header-search { max-width: 360px; }
}

@media (max-width: 900px) {
    .topbar-trust { display: flex; }
    .topbar-trust > *:not(.price-mode-toggle) { display: none; }
    .topbar-trust .price-mode-toggle { margin-right: 0; }
    .topbar-left { gap: 14px; font-size: 12px; }
    .header-shop { grid-template-columns: auto auto; gap: 14px; }
    .header-search { display: none; }
    .header-cta { display: none; }
    .cat-strip-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .cat-strip-grid .cat-pill:nth-child(n+10) { display: none; }
    .promo-banner-inner { flex-direction: column; align-items: flex-start; }
    .promo-countdown { display: none; }
    .header-icon-btn { width: 40px; height: 40px; }
    .logo-wrap img { height: 44px; }
    .header-nav-inner { padding: 2px 0; }
    .header-nav-inner a { padding: 9px 12px; font-size: 13px; }
}

@media (max-width: 480px) {
    .topbar-left .item-2,
    .topbar-left .item-3 { display: none; }
    .cat-strip-grid { grid-template-columns: repeat(3, 1fr); }
    .cat-pill { padding: 12px 6px 10px; }
    .cat-pill .pic { width: 48px; height: 48px; }
    .cat-pill h3 { font-size: 11px; }
}

/* =========================================================
   ===== PAGE BOUTIQUE — listing produits + filtres ========
   ========================================================= */
.shop-head {
    background: var(--c-deep);
    color: #fff;
    padding: clamp(44px, 7vw, 72px) 0 clamp(40px, 6vw, 60px);
    position: relative;
    overflow: hidden;
}
.shop-head::before {
    content: '';
    position: absolute; top: -40%; right: -10%;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(159, 188, 35, .22), transparent 65%);
}
.shop-head .eyebrow {
    font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--c-accent); display: inline-flex; gap: 8px; align-items: center;
}
.shop-head h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 14px 0 12px; }
.shop-head p { color: rgba(255, 255, 255, .72); max-width: 60ch; font-size: clamp(1rem, 1.4vw, 1.1rem); }
.shop-head .shop-head-meta { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.shop-head .shop-head-meta span {
    font-family: 'JetBrains Mono', monospace; font-size: 13px; color: rgba(255, 255, 255, .8);
    display: inline-flex; align-items: center; gap: 8px;
}
.shop-head .shop-head-meta b { color: var(--c-yellow); }

.shop-toolbar {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-line);
    padding: 14px 0;
}
.shop-toolbar-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.shop-filters { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.shop-chip {
    border: 1.5px solid var(--c-line); background: #fff; color: var(--c-ink);
    padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all .18s var(--easing); white-space: nowrap;
}
.shop-chip:hover { border-color: var(--c-ink-soft); }
.shop-chip.active { background: var(--c-deep); color: #fff; border-color: var(--c-deep); }
.shop-chip .n { opacity: .55; font-family: 'JetBrains Mono', monospace; font-size: 11px; margin-left: 4px; }
.shop-sort {
    border: 1.5px solid var(--c-line); border-radius: 999px; padding: 9px 14px;
    font-size: 13px; color: var(--c-ink); background: #fff; cursor: pointer;
}
.shop-count { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--c-ink-soft); }

.shop-section { padding: clamp(36px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); background: var(--c-bg); }
.shop-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px;
}
.shop-grid .product-card { animation: shopIn .35s var(--easing) both; }
@keyframes shopIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.shop-empty { text-align: center; padding: 60px 0; color: var(--c-ink-soft); font-family: 'JetBrains Mono', monospace; }

.shop-cta-band {
    margin-top: 16px; background: #fff; border: 1px solid var(--c-line);
    border-radius: var(--r-md); padding: 28px 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.shop-cta-band h3 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; color: var(--c-deep); }
.shop-cta-band p { color: var(--c-ink-soft); font-size: 14px; margin-top: 4px; }

@media (max-width: 600px) {
    .shop-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .shop-toolbar-inner { gap: 10px; }
}
@media (max-width: 420px) { .shop-grid { grid-template-columns: 1fr; } }

/* =========================================================
   ===== Recherche intelligente (suggestions) + mini-panier
   ========================================================= */
.header-icon-btn .badge { color: var(--c-deep); }

.search-suggest {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: #fff; border: 1px solid var(--c-line); border-radius: 14px;
    box-shadow: var(--shadow-lg); overflow: hidden; z-index: 80;
}
.suggest-row {
    display: flex; flex-direction: column; gap: 2px; padding: 11px 16px;
    cursor: pointer; border-bottom: 1px solid var(--c-line); text-decoration: none;
}
.suggest-row:last-child { border-bottom: none; }
.suggest-row:hover { background: var(--c-bg); }
.suggest-row .s-label { font-weight: 600; color: var(--c-deep); font-size: 14px; }
.suggest-row .s-sub { font-size: 12px; color: var(--c-ink-soft); }
.suggest-fallback { font-weight: 600; color: var(--c-accent-strong); font-size: 13px; background: var(--c-bg); }

.minicart-backdrop { position: fixed; inset: 0; background: rgba(24, 28, 18, .45); z-index: 200; }
.minicart {
    position: fixed; top: 0; right: 0; height: 100%; width: min(380px, 92vw);
    background: #fff; z-index: 201; box-shadow: -12px 0 40px rgba(24, 28, 18, .2);
    transform: translateX(100%); transition: transform .22s var(--easing);
    display: flex; flex-direction: column;
}
.minicart.open { transform: none; }
.minicart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--c-line); }
.minicart-head strong { font-family: 'Space Grotesk', sans-serif; font-size: 18px; color: var(--c-deep); }
#minicart-close { font-size: 28px; line-height: 1; color: var(--c-ink-soft); background: none; }
#minicart-close:hover { color: var(--c-deep); }
.minicart-empty { padding: 44px 22px; text-align: center; color: var(--c-ink-soft); line-height: 1.8; }
.minicart-empty a { color: var(--c-accent-strong); font-weight: 600; }
.minicart-items { flex: 1; overflow: auto; padding: 6px 0; }
.minicart-item { display: flex; justify-content: space-between; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--c-line); }
.mc-info strong { display: block; font-size: 14px; color: var(--c-deep); }
.mc-info small { color: var(--c-ink-soft); font-size: 12px; }
.mc-right { text-align: right; white-space: nowrap; }
.mc-price { display: block; font-weight: 700; font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--c-deep); }
.mc-remove { font-size: 11px; color: var(--c-ink-soft); text-decoration: underline; background: none; margin-top: 4px; cursor: pointer; }
.mc-remove:hover { color: var(--c-accent-strong); }
.minicart-foot { padding: 18px 22px; border-top: 1px solid var(--c-line); }
.mc-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 15px; }
.mc-total strong { font-family: 'Space Grotesk', sans-serif; font-size: 20px; color: var(--c-deep); }

/* champ de recherche dans la barre d'outils boutique */
.shop-toolbar-search { position: relative; flex: 1; min-width: 200px; max-width: 320px; }
.shop-toolbar-search input {
    width: 100%; height: 40px; border: 1.5px solid var(--c-line); border-radius: 999px;
    padding: 0 16px; font-size: 14px; background: #fff; color: var(--c-ink);
}
.shop-toolbar-search input:focus { outline: none; border-color: var(--c-deep); }

/* Mini-panier live : miniature + sélecteur de quantité */
.minicart-item { align-items: flex-start; }
.mc-thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.mc-info { flex: 1; min-width: 0; }
.mc-qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.mc-qty button { width: 24px; height: 24px; border: 1px solid var(--c-line); background: #fff; border-radius: 6px; cursor: pointer; font-size: 15px; line-height: 1; color: var(--c-deep); }
.mc-qty button:hover { border-color: var(--c-accent-strong); }
.mc-qty-val { min-width: 18px; text-align: center; font-weight: 600; }

/* Recherche enrichie : vignette, prix, CTA, mode "je ne sais pas" */
.suggest-row.sg-rich { flex-direction: row; align-items: center; gap: 12px; }
.sg-thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; background: var(--c-bg); }
.sg-thumb-ph { background: var(--c-line); }
.sg-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sg-main .s-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-price { font-weight: 700; font-size: 13px; color: var(--c-deep); font-family: 'JetBrains Mono', monospace; flex: 0 0 auto; }
.sg-price.sg-devis { color: var(--c-ink-soft); font-weight: 600; font-size: 12px; }
.sg-cta { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--c-accent-strong); opacity: 0; transition: opacity .15s; }
.suggest-row.sg-rich:hover .sg-cta { opacity: 1; }
.suggest-help { font-weight: 600; color: var(--c-accent-strong); font-size: 13px; }
.suggest-foot { border-top: 1px solid var(--c-line); }
.suggest-guided { padding: 4px 0; }
.sg-guided-title { padding: 12px 16px 6px; margin: 0; font-weight: 700; color: var(--c-deep); font-size: 13px; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 16px 12px; }
.sg-chip { padding: 6px 12px; border: 1px solid var(--c-line); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--c-deep); text-decoration: none; cursor: pointer; background: #fff; }
.sg-chip:hover { border-color: var(--c-accent-strong); color: var(--c-accent-strong); }

/* Page contact (formulaire + coordonnées) */
.contact-hero { padding: clamp(40px,7vw,80px) 0 clamp(20px,4vw,36px); background: var(--c-deep,#181C12); color:#fff; }
.contact-hero .eyebrow { color: var(--c-accent,#9FBC23); }
.contact-hero h1 { font-size: clamp(28px,5vw,48px); margin:10px 0 12px; color:#fff; }
.contact-lead { max-width:640px; color:rgba(255,255,255,.82); font-size:clamp(15px,1.6vw,18px); }
.contact-section { padding: clamp(28px,5vw,56px) 0; }
.contact-grid { display:grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px,4vw,44px); align-items:start; }
@media(max-width:760px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-form { display:grid; gap:14px; background:#fff; border:1px solid var(--c-line,#e5e1d8); border-radius:16px; padding:clamp(20px,3vw,30px); }
.contact-form label { display:block; font-size:13px; font-weight:600; color:var(--c-deep,#181C12); }
.contact-form input, .contact-form textarea, .contact-form select { width:100%; margin-top:6px; padding:11px 13px; border:1.5px solid var(--c-line,#e5e1d8); border-radius:10px; font:inherit; font-weight:400; background:#fff; color:var(--c-ink,#181C12); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline:none; border-color:var(--c-accent,#9FBC23); }
.cf-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media(max-width:520px){ .cf-row{ grid-template-columns:1fr; } }
.cf-consent { display:flex; align-items:flex-start; gap:8px; font-weight:400; font-size:12.5px; color:var(--c-ink-soft,#5b5648); }
.cf-consent input { width:auto; margin-top:2px; }
.cf-hp { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.cf-status { margin:4px 0 0; font-size:14px; font-weight:600; }
.cf-status.is-ok { color:#1A7F5A; }
.cf-status.is-err { color:#c0392b; }
.contact-aside { background:#faf9f5; border:1px solid var(--c-line,#e5e1d8); border-radius:16px; padding:clamp(20px,3vw,28px); }
.contact-aside h2 { margin:0 0 14px; font-size:20px; color:var(--c-deep,#181C12); }
.contact-nap { list-style:none; margin:0 0 16px; padding:0; display:grid; gap:14px; }
.contact-nap li { font-size:15px; color:var(--c-deep,#181C12); }
.contact-nap .cn-label { display:block; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--c-ink-soft,#7a7567); font-weight:600; margin-bottom:2px; }
.contact-nap a { color:var(--c-accent-strong,#4a6a00); font-weight:600; }
.contact-trust { font-size:13px; color:var(--c-ink-soft,#7a7567); margin:0; }

/* ---- Correctifs UI ---- */
/* Pastille pilier : était blanc sur fond clair -> chip vert lisible */
.hero-pill { background: #9FBC23; border-color: transparent; color: #181C12; }
.hero-pill::before { background: #181C12; }

/* Header : nav centrée + lien d'aide "Bien choisir sa bâche" (visible, pas un CTA) */
.header-nav-inner { justify-content: center; }
.header-nav-inner a.nav-help { display: inline-flex; align-items: center; gap: 6px; color: #4a6a00; font-weight: 600; background: #f3f8e2; border: 1px solid #dce8b0; }
.header-nav-inner a.nav-help svg { flex: 0 0 auto; }
.header-nav-inner a.nav-help:hover { background: #eaf3d0; color: #181C12; }

/* ---- Boutique WooCommerce : cartes homogènes (image, texte, bouton alignés) ---- */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; display: none !important; }
@media (max-width: 1024px) { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .woocommerce ul.products { grid-template-columns: 1fr !important; gap: 16px; } }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden; }
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1 1 auto; text-decoration: none; }
.woocommerce ul.products li.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 !important; border-radius: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px; line-height: 1.35; min-height: 2.7em; padding: 12px 14px 2px; color: var(--c-deep); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.woocommerce ul.products li.product .price { padding: 2px 14px 6px; margin: 0; color: var(--c-deep); font-weight: 700; font-size: 15px; }
.woocommerce ul.products li.product .price del { color: var(--c-ink-soft); font-weight: 400; }
.woocommerce ul.products li.product .button { margin: auto 14px 8px; text-align: center; }
.woocommerce ul.products li.product .bdf-compare-btn { margin: 0 14px 14px; }

/* Bouton "Comparer" sur les cartes */
.bdf-compare-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: calc(100% - 28px); padding: 8px 10px; border: 1px solid var(--c-line); background: #fff; color: var(--c-deep); border-radius: 9px; font-size: 13px; font-weight: 600; cursor: pointer; }
.bdf-compare-btn:hover { border-color: #9FBC23; }
.bdf-compare-btn.is-active { background: #f3f8e2; border-color: #9FBC23; color: #4a6a00; }

/* Barre flottante comparateur */
.bdf-compare-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 200; background: #181C12; color: #fff; border-radius: 14px; padding: 12px 16px; display: none; align-items: center; gap: 14px; box-shadow: 0 12px 34px rgba(0,0,0,.28); }
.bdf-compare-bar.show { display: flex; }
.bdf-compare-bar strong { font-size: 14px; }
.bdf-compare-bar .btn-primary { padding: 9px 16px; }
.bdf-compare-bar .bcb-clear { background: none; border: 0; color: rgba(255,255,255,.7); cursor: pointer; text-decoration: underline; font-size: 13px; }

/* Modal comparateur */
.bdf-compare-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.bdf-compare-modal.show { display: block; }
.bdf-compare-backdrop { position: absolute; inset: 0; background: rgba(24,28,18,.55); }
.bdf-compare-panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(960px, 94vw); max-height: 88vh; overflow: auto; background: #fff; border-radius: 16px; padding: 22px; }
.bdf-compare-panel h2 { margin: 0 0 16px; font-size: 20px; color: var(--c-deep); }
.bdf-compare-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--c-ink-soft); line-height: 1; }
.bdf-compare-table { width: 100%; border-collapse: collapse; }
.bdf-compare-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-ink-soft); vertical-align: top; padding: 10px 12px; width: 130px; }
.bdf-compare-table td { vertical-align: top; padding: 10px 12px; border-left: 1px solid var(--c-line); font-size: 14px; color: var(--c-deep); }
.bdf-compare-table tr + tr td, .bdf-compare-table tr + tr th { border-top: 1px solid var(--c-line); }
.bcm-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.bcm-name { font-weight: 700; }
.bcm-remove { display: block; margin-top: 6px; background: none; border: 0; color: #c0392b; cursor: pointer; font-size: 12px; text-decoration: underline; }
.bcm-cta { display: inline-block; margin-top: 6px; }
@media (max-width: 600px) { .bdf-compare-table th { width: 92px; font-size: 11px; } .bdf-compare-table td { font-size: 13px; } }

/* ---- Avis multicritères (Prix / Qualité / Rendu) ---- */
.wbcb-rate-fields { display: grid; gap: 10px; margin: 0 0 14px; }
.wbcb-rate-row { display: flex; align-items: center; gap: 12px; }
.wbcb-rate-label { width: 84px; font-weight: 600; color: var(--c-deep); font-size: 14px; }
.wbcb-stars { display: inline-flex; gap: 2px; }
.wbcb-star { background: none; border: 0; cursor: pointer; font-size: 22px; line-height: 1; color: #d9d6cd; padding: 0; }
.wbcb-star.on { color: #e8a800; }
.wbcb-stars-static { display: inline-flex; gap: 1px; }
.wbcb-stars-static i { font-style: normal; font-size: 15px; color: #d9d6cd; }
.wbcb-stars-static i.on { color: #e8a800; }
.wbcb-crit-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 8px; }
.wbcb-crit { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--c-ink-soft); }
.wbcb-crit-lbl { font-weight: 600; }
.wbcb-reviews-summary { background: #faf9f5; border: 1px solid var(--c-line); border-radius: 12px; padding: 16px 18px; margin: 0 0 22px; }
.wbcb-reviews-summary h3 { margin: 0 0 12px; font-size: 15px; color: var(--c-deep); }
.wbcb-summary-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.wbcb-sum-cell { display: flex; flex-direction: column; gap: 3px; }
.wbcb-sum-label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-ink-soft); font-weight: 600; }
.wbcb-sum-num { font-size: 13px; font-weight: 700; color: var(--c-deep); }

/* Étoiles en boutique : alignées à gauche, même retrait que titre et prix */
.woocommerce ul.products li.product .star-rating { margin: 4px 0 2px; padding: 0 14px; font-size: 14px; }

/* Étoiles boutique : alignées à gauche, même retrait que titre/prix */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .star-rating { text-align: left; }
.woocommerce ul.products li.product .star-rating { margin: 4px 0 2px !important; padding: 0 14px; }

/* Étoiles boutique : forcer l'alignement gauche exact sur le titre/prix (14px), pas de centrage WC */
.woocommerce ul.products li.product .star-rating {
  display: block !important;
  float: none !important;
  margin: 4px 0 8px 14px !important;
  padding: 0 !important;
  text-align: left !important;
}

/* Zone étoiles toujours réservée (même hauteur avec ou sans avis) -> cartes alignées */
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .wbcb-rating-empty { min-height: 1.3em; }
.woocommerce ul.products li.product .wbcb-rating-empty { margin: 4px 0 8px 14px !important; }

/* Contenu éditable (blocs Gutenberg) inséré dans les pages — stylé par le thème */
.bdf-page-body { padding: clamp(28px,5vw,56px) 0; }
.bdf-page-body > .container, .page .entry-content { max-width: 820px; margin-left: auto; margin-right: auto; }
.bdf-page-body h2, .entry-content h2 { font-size: clamp(22px,3vw,30px); margin: 1.2em 0 .5em; color: var(--c-deep); line-height: 1.2; }
.bdf-page-body h3, .entry-content h3 { font-size: 19px; margin: 1em 0 .4em; color: var(--c-deep); }
.bdf-page-body p, .entry-content p { line-height: 1.7; color: var(--c-ink-soft,#5b5648); margin: 0 0 1em; }
.bdf-page-body ul, .bdf-page-body ol, .entry-content ul, .entry-content ol { padding-left: 1.4em; line-height: 1.7; margin: 0 0 1em; color: var(--c-ink-soft,#5b5648); }
.bdf-page-body img, .entry-content img { max-width: 100%; height: auto; border-radius: 10px; }
.bdf-page-body a, .entry-content a { color: var(--c-accent-strong,#4a6a00); text-decoration: underline; }

/* Validation temps réel du formulaire de contact */
.contact-form input.field-ok { border-color:#3a9d4e !important; }
.contact-form input.field-err { border-color:#c0392b !important; }
.contact-form .field-hint { display:block; margin-top:4px; font-size:12px; }
.contact-form .field-hint.ok { color:#3a9d4e; }
.contact-form .field-hint.err { color:#c0392b; }

/* ============================================================
   PASSE RESPONSIVE MOBILE — tout tient dans l'écran du téléphone
   ============================================================ */
/* Filet de sécurité : aucun débordement horizontal (mini-panier hors-écran, décor, etc.) */
body { overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }

@media (max-width: 900px) {
    /* Header : logo + actions sur une ligne, recherche pleine largeur en dessous (au lieu d'être masquée) */
    .header-shop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
    .header-search { display: block; order: 3; flex: 1 0 100%; max-width: none; margin: 0; }
    .header-search input { height: 42px; }
}

@media (max-width: 560px) {
    /* Barre flottante « comparer » : reste dans l'écran */
    .bdf-compare-bar { max-width: calc(100vw - 20px); flex-wrap: wrap; justify-content: center; text-align: center; gap: 8px 10px; padding: 10px 12px; }
    .bdf-compare-panel { padding: 18px 14px; }
    .bdf-compare-table th { width: 92px; }
    /* Grille blog : 1 colonne (le min 340px débordait sur petit écran) */
    .blog-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 400px) {
    .container { padding: 0 16px; }
    .needs-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MENU MOBILE (burger + panneau latéral)
   ============================================================ */
.nav-toggle { display: none; }
.mobile-menu { display: none; }

/* Fond sombre : caché par l'attribut [hidden] (fermé) ; affiché par le JS à l'ouverture.
   IMPORTANT : aucune règle display:block permanente, sinon il recouvre la page et bloque tous les clics. */
.mobile-menu-backdrop { position: fixed; inset: 0; background: rgba(24,28,18,.45); z-index: 210; opacity: 0; transition: opacity .25s ease; }
.mobile-menu-backdrop.show { opacity: 1; }

/* Style du panneau (toujours défini ; visible seulement en mobile via le bloc @media) */
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--c-line); }
.mobile-menu-head span { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; color: var(--c-deep); }
#mobile-menu-close { font-size: 30px; line-height: 1; background: none; color: var(--c-ink-soft); cursor: pointer; padding: 0 4px; }
#mobile-menu-close:hover { color: var(--c-deep); }
.mobile-menu-nav { display: flex; flex-direction: column; flex: 1; overflow-y: auto; padding: 6px 0; }
.mobile-menu-nav a { display: flex; align-items: center; gap: 10px; padding: 15px 22px; color: var(--c-ink); font-weight: 600; font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--c-line); }
.mobile-menu-nav a:hover, .mobile-menu-nav a.active { color: var(--c-accent); background: var(--c-bg); }
.mobile-menu-nav a.mm-help { color: var(--c-accent-strong, #4a6a00); }
.mobile-menu-foot { padding: 18px 22px; border-top: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 14px; }
.mobile-menu-foot .mm-cta { justify-content: center; }
.mobile-menu-foot .mm-account { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-deep); text-decoration: none; }
.mobile-menu-foot .mm-tel { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--c-ink-soft); text-decoration: none; }

@media (max-width: 900px) {
    .header-nav { display: none; } /* la barre horizontale est remplacée par le burger */
    .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; border-radius: 50%; background: transparent; cursor: pointer; }
    .nav-toggle:hover { background: var(--c-bg); }
    .nav-toggle span { display: block; width: 22px; height: 2px; margin: 0 auto; background: var(--c-deep); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .mobile-menu { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; height: 100%; width: 100vw; max-width: 100vw; background: #fff; z-index: 211; transform: translateX(100%); transition: transform .25s var(--easing); box-shadow: none; }
    .mobile-menu.open { transform: none; }
    .mobile-menu-head { padding: 20px 22px; }
    #mobile-menu-close { font-size: 40px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
    .mobile-menu-nav a { font-size: 18px; padding: 17px 24px; }

    /* Topbar centrée sur mobile (la hotline de droite est masquée) */
    .topbar-inner { justify-content: center; }
    .topbar-left { justify-content: center; text-align: center; flex: 1; }
}

/* =========================================================================
   FICHE PRODUIT NEGOCE (single-product WooCommerce) — habillage charte BDF
   ========================================================================= */
.single-product .woocommerce-breadcrumb {
    font-size: 13px;
    color: var(--c-ink-soft);
    margin-bottom: 22px;
    letter-spacing: .01em;
}
.single-product .woocommerce-breadcrumb a { color: var(--c-ink-soft); text-decoration: none; }
.single-product .woocommerce-breadcrumb a:hover { color: var(--c-accent-strong); }

.woocommerce div.product {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(30px, 4vw, 64px);
    align-items: start;
    max-width: 1400px;
    margin-inline: auto;
}
.woocommerce div.product > * { float: none; width: auto; }

.woocommerce div.product div.images,
.woocommerce div.product .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 460px;
    margin: 0;
    position: sticky;
    top: calc(var(--header-h) + 46px);
}
.woocommerce div.product .woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce div.product .woocommerce-product-gallery__image {
    border-radius: var(--r-lg);
    border: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
    background: var(--c-surface);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.woocommerce div.product .woocommerce-product-gallery__image a { display: block; width: 100%; height: 100%; }
.woocommerce div.product .woocommerce-product-gallery__image img,
.woocommerce div.product div.images img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}
.woocommerce div.product .woocommerce-product-gallery__trigger { display: none; }
/* Images secondaires en mosaïque sous l'image principale */
.woocommerce div.product .flex-control-thumbs {
    margin-top: 12px; padding: 0; list-style: none;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.woocommerce div.product .flex-control-thumbs li { width: auto; margin: 0; }
.woocommerce div.product .flex-control-thumbs img {
    width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
    border-radius: var(--r-sm); border: 1px solid var(--c-line); background: var(--c-surface);
    opacity: .7; transition: opacity .2s, border-color .2s; cursor: pointer;
}
.woocommerce div.product .flex-control-thumbs img:hover,
.woocommerce div.product .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--c-accent); }

.woocommerce div.product .summary,
.woocommerce div.product .entry-summary { margin: 0; }
.woocommerce div.product .product_title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.18;
    color: var(--c-ink);
    margin: 0 0 12px;
    letter-spacing: -.01em;
}
.woocommerce div.product .woocommerce-product-rating { margin-bottom: 16px; }

.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .woocommerce-variation-price .price {
    color: var(--c-ink);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: clamp(26px, 3.4vw, 34px);
    font-weight: 600;
    margin: 0 0 20px;
    display: block;
    font-feature-settings: 'tnum';
}
.woocommerce div.product p.price del { color: var(--c-ink-soft); opacity: .6; font-weight: 400; font-size: .7em; margin-right: 8px; }
.woocommerce div.product p.price ins { text-decoration: none; }

.woocommerce-product-details__short-description {
    color: var(--c-ink-soft);
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--c-line);
}

.woocommerce div.product form.cart .variations { margin-bottom: 18px; border: 0; }
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td { display: block; text-align: left; padding: 0 0 8px; border: 0; }
.woocommerce div.product form.cart .variations label {
    font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-ink-soft);
}
.woocommerce div.product form.cart .variations select {
    width: 100%; max-width: 340px; padding: 13px 40px 13px 16px; border: 1.5px solid var(--c-line);
    border-radius: var(--r-sm); background: var(--c-surface); color: var(--c-ink); font-size: 15px; font-weight: 500;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; transition: border-color .2s;
}
.woocommerce div.product form.cart .variations select:focus { outline: none; border-color: var(--c-accent); }
.woocommerce div.product .reset_variations { font-size: 13px; color: var(--c-ink-soft); margin-left: 10px; }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 14px; }

.woocommerce div.product form.cart {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-bottom: 6px;
}
.woocommerce div.product form.cart .quantity { margin: 0; }
.woocommerce div.product form.cart .quantity input.qty {
    width: 78px; height: 100%; min-height: 48px; padding: 12px; text-align: center;
    border: 1.5px solid var(--c-line); border-radius: var(--r-sm); background: var(--c-surface);
    color: var(--c-ink); font-size: 15px; font-weight: 600;
}
.woocommerce div.product form.cart .quantity input.qty:focus { outline: none; border-color: var(--c-accent); }
.woocommerce div.product form.cart button.single_add_to_cart_button,
.woocommerce div.product form.cart .single_add_to_cart_button {
    flex: 0 1 auto; min-width: 200px; min-height: 48px;
    background: var(--c-accent); color: var(--c-deep);
    border: 2px solid transparent; border-radius: var(--r-sm);
    font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .01em;
    padding: 13px 30px; text-transform: none;
    box-shadow: 0 6px 18px rgba(159,188,35,.32);
    transition: transform .15s var(--easing), box-shadow .2s var(--easing), background-color .2s, color .2s;
}
.woocommerce div.product form.cart button.single_add_to_cart_button:hover {
    background: var(--c-accent-strong); color: #fff; transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(159,188,35,.45);
}
.woocommerce div.product form.cart button.single_add_to_cart_button:disabled,
.woocommerce div.product form.cart button.single_add_to_cart_button.disabled {
    background: var(--c-line); color: var(--c-ink-soft); box-shadow: none; transform: none; cursor: not-allowed;
}

.bdf-product-band {
    grid-column: 1 / -1;
    margin-top: clamp(22px, 3vw, 34px);
    padding-top: clamp(22px, 3vw, 30px);
    border-top: 1px solid var(--c-line);
}
.bdf-reassure {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.bdf-reassure li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--c-ink); line-height: 1.4; }
.bdf-reassure svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--c-accent-strong); }
.bdf-reassure b { font-weight: 600; }
.bdf-reassure a { color: inherit; text-decoration: none; }
.bdf-product-meta {
    margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 28px;
    font-size: 13px; color: var(--c-ink-soft);
}
.bdf-product-meta a { color: var(--c-accent-strong); text-decoration: none; }
@media (max-width: 700px) {
    .bdf-reassure { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 440px) {
    .bdf-reassure { grid-template-columns: 1fr; }
}

.woocommerce div.product .product_meta { margin-top: 20px; font-size: 13px; color: var(--c-ink-soft); }
.woocommerce div.product .product_meta > span { display: block; margin-bottom: 4px; }
.woocommerce div.product .product_meta a { color: var(--c-accent-strong); text-decoration: none; }

.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: clamp(30px, 5vw, 56px); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--c-line); display: flex; gap: 6px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 12px 18px; display: block; font-weight: 600; font-size: 15px; color: var(--c-ink-soft);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--c-ink); border-bottom-color: var(--c-accent); }
.woocommerce div.product .woocommerce-tabs .panel { color: var(--c-ink-soft); line-height: 1.75; font-size: 15.5px; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-family: 'Space Grotesk', sans-serif; color: var(--c-ink); }

.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products { grid-column: 1 / -1; margin-top: clamp(30px, 5vw, 56px); }
.woocommerce div.product .related.products > h2,
.woocommerce div.product .upsells.products > h2 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; color: var(--c-ink); margin-bottom: 22px; }

.woocommerce div.product .stock { color: var(--c-success); font-weight: 600; font-size: 14px; }
.woocommerce div.product .wbcb-rating-empty { display: none; }

@media (max-width: 860px) {
    .woocommerce div.product { grid-template-columns: 1fr; gap: 26px; }
    .woocommerce div.product div.images,
    .woocommerce div.product .woocommerce-product-gallery { position: static; }
    .woocommerce div.product form.cart button.single_add_to_cart_button { min-width: 0; }
}

/* Pages de contenu (CGV, mentions) : typographie lisible */
.entry-content { max-width: 820px; color: var(--c-ink); line-height: 1.7; font-size: 15.5px; }
.entry-content h2 { font-family: 'Space Grotesk', sans-serif; color: var(--c-ink); font-size: 22px; margin: 34px 0 12px; }
.entry-content h3 { color: var(--c-ink); font-size: 17px; margin: 22px 0 8px; }
.entry-content p { margin: 0 0 14px; color: var(--c-ink-soft); }
.entry-content a { color: var(--c-accent-strong); }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: var(--c-accent); }

/* Plan du site (footer) */
.footer-sitemap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 22px 0 4px; margin-top: 10px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-sitemap .fs-title { font-weight: 700; color: #fff; font-size: 13px; margin-right: 8px; }
.footer-sitemap a { color: rgba(255,255,255,.6); font-size: 13px; text-decoration: none; }
.footer-sitemap a:hover { color: var(--c-accent); }

/* Plan du site */
.sitemap-page h1 { font-family: 'Space Grotesk', sans-serif; color: var(--c-ink); font-size: clamp(28px, 4vw, 40px); margin-bottom: 6px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 34px; margin-top: 30px; }
.sitemap-col h2 { font-size: 16px; color: var(--c-ink); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--c-line); }
.sitemap-col h2 a { color: inherit; text-decoration: none; }
.sitemap-col h2 a:hover { color: var(--c-accent-strong); }
.sitemap-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.sitemap-col a { color: var(--c-ink-soft); text-decoration: none; font-size: 14px; }
.sitemap-col a:hover { color: var(--c-accent-strong); }

/* Bandeau Top vente (boutique / catégorie) */
.topvente-banner {
    display: flex; align-items: center; gap: 22px; margin: 0 0 28px; padding: 16px;
    background: var(--c-deep); border-radius: var(--r-lg); color: #fff; text-decoration: none;
    box-shadow: var(--shadow-md); transition: transform .2s var(--easing), box-shadow .2s var(--easing);
}
.topvente-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tv-media { position: relative; flex: none; width: 120px; height: 120px; border-radius: var(--r-md); overflow: hidden; background: #fff; }
.tv-media img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.tv-flag { position: absolute; top: 8px; left: 8px; background: var(--c-accent); color: var(--c-deep); font-weight: 700; font-size: 10px; font-family: 'JetBrains Mono', monospace; border-radius: 999px; padding: 3px 9px; }
.tv-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.tv-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-yellow); }
.tv-name { font-family: 'Space Grotesk', sans-serif; font-size: clamp(17px, 2vw, 22px); color: #fff; line-height: 1.2; }
.tv-price { color: rgba(255,255,255,.85); font-size: 14px; }
.tv-price .amount { color: var(--c-yellow); font-weight: 600; }
.tv-cta { flex: none; }
@media (max-width: 640px) {
    .topvente-banner { flex-wrap: wrap; gap: 14px; }
    .tv-media { width: 84px; height: 84px; }
    .tv-cta { width: 100%; }
}

/* Table de caractéristiques techniques (onglet produit négoce) */
.wbcb-specs { width: 100%; max-width: 640px; border-collapse: collapse; margin: 6px 0 16px; }
.wbcb-specs th, .wbcb-specs td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--c-line); font-size: 14.5px; vertical-align: top; }
.wbcb-specs th { width: 42%; color: var(--c-ink-soft); font-weight: 600; }
.wbcb-specs td { color: var(--c-ink); }
.wbcb-specs tr:hover { background: var(--c-bg); }
.wbcb-specs-note { font-size: 12.5px; color: var(--c-ink-soft); line-height: 1.5; max-width: 640px; }

/* Fiche produit : lecture confortable + boutons de paiement express bornés */
.woocommerce-product-details__short-description { max-width: 60ch; }
.woocommerce div.product .summary > .wc-stripe-product-checkout-container,
.woocommerce div.product .summary .wc-stripe-payment-request-wrapper,
.woocommerce div.product .summary .wc-stripe-express-checkout-wrapper,
.woocommerce div.product .summary .wc-stripe-express-checkout-element,
.woocommerce div.product .summary #wc-stripe-payment-request-button,
.woocommerce div.product .summary .wc-block-components-express-payment {
    max-width: 420px; margin-left: 0;
}

/* ================= Boutique : filtres + galerie au survol ================= */
.shop-layout { display: grid; grid-template-columns: 10% 1fr; gap: 24px; padding: clamp(24px, 4vw, 48px) 24px; align-items: start; }
@media (max-width: 560px) { .shop-layout { padding-left: 16px; padding-right: 16px; } }
.shop-main { min-width: 0; }

.shop-filters { position: sticky; top: calc(var(--header-h) + 46px); }
.sf-mobile-toggle { display: none; }
.sf-inner { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 15px 13px 16px; }
.sf-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sf-head span { font-weight: 700; font-size: 15px; color: var(--c-ink); }
.sf-reset { font-size: 12.5px; color: var(--c-accent-strong); background: none; border: 0; cursor: pointer; padding: 0; }
.sf-reset:hover { text-decoration: underline; }
.sf-group { padding: 14px 0; border-top: 1px solid var(--c-line); }
.sf-group h4 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--c-ink-soft); }
.sf-opt { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14px; color: var(--c-ink); cursor: pointer; }
.sf-opt input { width: 16px; height: 16px; accent-color: var(--c-accent-strong); cursor: pointer; }
.sf-price { display: flex; align-items: center; gap: 8px; }
.sf-price input { width: 100%; padding: 8px 10px; border: 1.5px solid var(--c-line); border-radius: 8px; font-size: 14px; background: #fff; }
.sf-price input:focus { outline: none; border-color: var(--c-accent); }
.sf-price span { color: var(--c-ink-soft); font-size: 13px; }
.sf-count { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--c-line); font-size: 13px; color: var(--c-ink-soft); }
.sf-count strong { color: var(--c-ink); font-weight: 700; }

/* Galerie au survol : image WooCommerce standard + calques de survol par-dessus */
.bdf-loop-gallery { position: relative; }
.woocommerce ul.products li.product .bdf-loop-gallery .bdf-lg-over { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; object-fit: cover; opacity: 0; transition: opacity .18s ease; }
.woocommerce ul.products li.product .bdf-loop-gallery .bdf-lg-over.active { opacity: 1; }
.bdf-loop-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; pointer-events: none; z-index: 2; }
.bdf-loop-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(24,28,18,.15); transition: background .15s; }
.bdf-loop-dots i.on { background: var(--c-accent); }

@media (max-width: 900px) {
    .shop-layout { grid-template-columns: 1fr; gap: 0; }
    .shop-filters { position: static; margin-bottom: 18px; }
    .sf-mobile-toggle { display: block; width: 100%; padding: 13px; background: var(--c-deep); color: #fff; border: 0; border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer; }
    .sf-inner { display: none; margin-top: 12px; }
    .shop-filters.open .sf-inner { display: block; }
}

/* Masquer le texte lecteur d'écran (WooCommerce : "Plage de prix : ...", "Note x sur 5"...) */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Prix sur les cartes boutique : une seule ligne */
.woocommerce ul.products li.product .price { display: block; white-space: nowrap; font-size: 14.5px; font-weight: 700; color: var(--c-ink); }
.woocommerce ul.products li.product .price del { font-weight: 400; opacity: .6; margin-right: 5px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }

/* Fiche produit : survol de la galerie (curseur horizontal) */
.single-product .woocommerce-product-gallery { cursor: ew-resize; }

/* Fiche produit : galerie WooCommerce forcée visible (on n'utilise pas le slider JS) */
.single-product .woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce div.product .woocommerce-product-gallery__image + .woocommerce-product-gallery__image { margin-top: 12px; }
/* Prix de la fiche produit sur une seule ligne + texte lecteur d'écran bien masqué */
.woocommerce div.product p.price, .woocommerce div.product span.price { white-space: nowrap; }
.screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; padding: 0 !important; margin: -1px !important; }

/* Fiche produit : image principale + miniatures (survol = grande image) */
.woocommerce div.product .woocommerce-product-gallery__wrapper.bdf-sg { position: relative; }
.woocommerce div.product .bdf-sg .woocommerce-product-gallery__image { margin: 0 !important; opacity: 0; transition: opacity .2s ease; }
.woocommerce div.product .bdf-sg .woocommerce-product-gallery__image:first-child { position: relative; }
.woocommerce div.product .bdf-sg .woocommerce-product-gallery__image:not(:first-child),
.woocommerce div.product div.images .bdf-sg .woocommerce-product-gallery__image:nth-child(n+2) { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: flex !important; float: none; aspect-ratio: auto; }
.woocommerce div.product .bdf-sg .woocommerce-product-gallery__image img { width: 100% !important; height: 100% !important; object-fit: contain; }
.woocommerce div.product .bdf-sg .woocommerce-product-gallery__image.bdf-sg-active { opacity: 1; }
.bdf-sg-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.bdf-sg-thumb { width: 74px; height: 74px; border: 1.5px solid var(--c-line); border-radius: 8px; overflow: hidden; padding: 0; background: #fff; cursor: pointer; opacity: .65; transition: opacity .15s, border-color .15s; }
.bdf-sg-thumb.on, .bdf-sg-thumb:hover { opacity: 1; border-color: var(--c-accent); }
.bdf-sg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Checkout : type de client + champs professionnel */
#billing_customer_type_field .woocommerce-input-wrapper { display: flex; gap: 22px; margin-top: 6px; }
#billing_customer_type_field label.radio { font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.bdf-pro-hidden { display: none !important; }

/* Fiche produit configurable : le configurateur (personnalisation) prend toute la largeur */
.woocommerce div.product .wbcb-configurator-full { grid-column: 1 / -1; width: 100%; margin-top: clamp(24px, 4vw, 44px); }
.woocommerce div.product .wbcb-configurator-full .home-config-grid { margin-top: 24px; }

/* Onglet Fiche technique : en-tête + bouton de téléchargement */
.wbcb-fiche-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.wbcb-fiche-head h2 { margin: 0; }
.wbcb-fiche-dl { display: inline-flex; align-items: center; gap: 8px; background: #181C12; color: #C8E03C; text-decoration: none; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 8px; white-space: nowrap; }
.wbcb-fiche-dl:hover { background: #23281a; color: #C8E03C; }
.wbcb-fiche-dl::before { content: "\2193"; font-size: 16px; }
.wbcb-specs { width: 100%; border-collapse: collapse; margin: 8px 0 12px; }
.wbcb-specs th, .wbcb-specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #ececec; font-size: 14.5px; vertical-align: top; }
.wbcb-specs th { width: 40%; background: #f6f7f1; color: #181C12; font-weight: 600; }
.wbcb-specs-note { font-size: 12.5px; color: #777; margin-top: 4px; }

/* Pictos / labels acoustiques sur la fiche produit */
.wbcb-pictos { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 16px 0; padding: 14px 0; border-top: 1px solid #ececec; }
.wbcb-pictos img { height: 54px; width: auto; display: block; }
.wbcb-picto { position: relative; background: none; border: 0; padding: 4px; margin: 0; cursor: help; border-radius: 8px; }
.wbcb-picto:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.wbcb-picto-tip { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%) translateY(4px); width: 260px; background: #181C12; color: #fff; text-align: left; font-size: 13px; line-height: 1.45; font-weight: 400; padding: 12px 14px; border-radius: 10px; box-shadow: 0 10px 30px rgba(24,28,18,.25); opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; z-index: 30; pointer-events: none; }
.wbcb-picto-tip strong { display: block; color: #C8E03C; font-size: 13.5px; margin-bottom: 4px; }
.wbcb-picto-tip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 7px solid transparent; border-top-color: #181C12; }
.wbcb-picto:hover .wbcb-picto-tip, .wbcb-picto:focus-visible .wbcb-picto-tip, .wbcb-picto.open .wbcb-picto-tip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.wbcb-picto:first-child .wbcb-picto-tip { left: 0; transform: translateY(4px); }
.wbcb-picto:first-child .wbcb-picto-tip::after { left: 30px; }
.wbcb-picto:first-child:hover .wbcb-picto-tip, .wbcb-picto:first-child:focus-visible .wbcb-picto-tip, .wbcb-picto:first-child.open .wbcb-picto-tip { transform: translateY(0); }

/* Agrandissement image fiche produit (lightbox) */
.bdf-zoomable { cursor: zoom-in; }
.bdf-lightbox { position: fixed; inset: 0; background: rgba(12,12,10,.9); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 24px; }
.bdf-lightbox.open { display: flex; }
.bdf-lightbox img { max-width: 95vw; max-height: 92vh; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 60px rgba(0,0,0,.5); }
.bdf-lb-close { position: absolute; top: 16px; right: 22px; background: none; border: 0; color: #fff; font-size: 42px; line-height: 1; cursor: pointer; }

.wbcb-ship-info { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--c-ink-soft); margin: 4px 0 14px; }
.wbcb-ship-info::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-success); flex: none; }
.wbcb-ship-info.wbcb-ship-quote::before { background: #B8860B; }
.wbcb-ship-info .woocommerce-Price-amount { color: var(--c-ink); }

body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag { background: #F6F2EA; }
.shop-layout .sf-inner { border: 0; border-radius: 16px; box-shadow: 0 8px 24px rgba(60,48,20,.06); padding: 18px 16px; }
.sf-rayons { border-top: 0; padding-top: 4px; }
.sf-chip { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; margin: 0 0 4px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--c-ink); cursor: pointer; text-align: left; transition: background .15s; }
.sf-chip:hover { background: #F6F2EA; }
.sf-chip.on { background: var(--c-deep); color: #fff; }
.sf-chip em { font-style: normal; font-size: 12px; opacity: .6; }
.sf-chip:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.sf-help { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 14px; background: #F6F2EA; border-radius: 12px; padding: 12px 10px; font-size: 12.5px; line-height: 1.35; color: var(--c-ink-soft); text-decoration: none; transition: background .15s; }
.sf-help:hover { background: #EFE8DA; }
.sf-help b { font-size: 14px; color: var(--c-ink); }
.sf-help-ico { width: 28px; height: 28px; border-radius: 50%; background: var(--c-accent); color: var(--c-deep); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.sf-help-ico svg { width: 15px; height: 15px; }
.sf-help-cta { margin-top: 8px; font-weight: 800; font-size: 13px; color: var(--c-deep); background: #fff; border-radius: 999px; padding: 5px 12px; }

.woocommerce ul.products { gap: 20px; }
.woocommerce ul.products li.product { position: relative; border: 0; border-radius: 16px; box-shadow: 0 8px 24px rgba(60,48,20,.07); transition: transform .2s, box-shadow .2s; padding-bottom: 54px; }
.woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(60,48,20,.14); }
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link { position: relative; }
.bdf-tag { position: absolute; top: 12px; left: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--c-ink); border-radius: 999px; padding: 5px 10px; font-size: 11.5px; font-weight: 800; line-height: 1.2; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.bdf-tag i { width: 7px; height: 7px; border-radius: 50%; background: #1A7F5A; display: inline-block; }
.bdf-tag-hot { background: #C8E03C; color: #181C12; }
.bdf-tag-quote { background: #181C12; color: #fff; }
.bdf-cat { display: block; padding: 14px 18px 0; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #A87A45; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 4px 18px 2px; font-size: 16px; font-weight: 700; min-height: 0; }
.bdf-use { display: block; padding: 2px 18px 0; font-size: 13.5px; color: var(--c-ink-soft); }
.woocommerce ul.products li.product .star-rating, .woocommerce ul.products li.product .wbcb-rating-empty { padding: 0; margin: 8px 18px 0 !important; }
.woocommerce ul.products li.product .price.bdf-dual { display: block; padding: 10px 76px 0 18px; margin: auto 0 0; }
.bdf-dual b { display: block; font-family: 'JetBrains Mono', monospace; font-size: 20px; font-weight: 700; line-height: 1.15; color: var(--c-ink); white-space: nowrap; }
.bdf-dual b em { font-style: normal; font-family: Inter, sans-serif; font-size: 13px; font-weight: 700; color: var(--c-ink-soft); }
.bdf-dual small { display: block; font-size: 12px; font-weight: 500; color: var(--c-ink-soft); margin-top: 2px; }
.bdf-dual .m-ttc { display: none; }
html.bdf-ttc .bdf-dual .m-ttc { display: block; }
html.bdf-ttc .bdf-dual .m-ht { display: none; }
.woocommerce ul.products li.product .button.bdf-add { position: absolute; right: 16px; bottom: 50px; margin: 0; width: 46px; height: 46px; min-height: 0; padding: 0; border-radius: 50%; background: var(--c-accent); color: var(--c-deep); display: inline-flex; align-items: center; justify-content: center; border: 0; box-shadow: 0 4px 12px rgba(130,153,15,.35); transition: background .15s, transform .15s; z-index: 4; }
.woocommerce ul.products li.product .button.bdf-add:hover { background: #C8E03C; transform: scale(1.06); }
.woocommerce ul.products li.product .button.bdf-add svg { width: 20px; height: 20px; }
.woocommerce ul.products li.product .button.bdf-add.loading { opacity: .6; }
.woocommerce ul.products li.product .button.bdf-add.loading::after { display: none; }
.woocommerce ul.products li.product .button.bdf-add.added { background: #1A7F5A; color: #fff; }
.woocommerce ul.products li.product .button.bdf-add.added::after { display: none; }
.woocommerce ul.products li.product .added_to_cart { position: absolute; left: 18px; bottom: 16px; font-size: 12.5px; font-weight: 700; color: #1A7F5A; padding: 0; z-index: 4; }
.woocommerce ul.products li.product .bdf-compare-btn { position: absolute; left: 12px; bottom: 12px; width: auto; margin: 0; padding: 6px 10px; border: 1px solid transparent; background: transparent; border-radius: 999px; font-size: 12.5px; color: var(--c-ink-soft); }
.woocommerce ul.products li.product .bdf-compare-btn:hover { color: var(--c-ink); border-color: var(--c-line); background: #fff; }
.woocommerce ul.products li.product .bdf-compare-btn.is-active { color: #4a6a00; background: #f3f8e2; border-color: #9FBC23; }
.woocommerce ul.products li.product .added_to_cart ~ .bdf-compare-btn { left: auto; right: 16px; }

.woocommerce ul.products li.bdf-promo { list-style: none; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(60,48,20,.07); margin: 0; }
.woocommerce ul.products.bdf-filtered li.bdf-promo { display: none; }
.bdf-promo-story { background: #181C12; color: #fff; }
.bdf-promo-story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: .85; margin: 0 !important; }
.bdf-promo-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bdf-promo-body h3 { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 21px; margin: 0; color: #fff; }
.bdf-promo-body p { margin: 0; font-size: 14px; color: rgba(255,255,255,.78); }
.bdf-promo-btn { align-self: flex-start; margin-top: auto; background: var(--c-accent); color: var(--c-deep); font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 999px; text-decoration: none; }
.bdf-promo-btn:hover { background: #C8E03C; }
.bdf-promo-quote { background: #EFE8DA; padding: 26px; justify-content: center; gap: 14px; }
.bdf-promo-quote .bdf-stars { color: #E3A008; letter-spacing: 2px; font-size: 16px; }
.bdf-promo-quote blockquote { margin: 0; padding: 0; border: 0; font-family: 'Space Grotesk', Inter, sans-serif; font-size: 19px; line-height: 1.4; color: var(--c-ink); }
.bdf-promo-quote cite { font-style: normal; font-size: 13px; color: var(--c-ink-soft); }
.bdf-promo-quote cite a { color: #7E9512; }
@media (max-width: 1024px) { .woocommerce ul.products { grid-auto-flow: dense; } }
@media (max-width: 560px) {
  .woocommerce ul.products li.product .price.bdf-dual { padding-right: 70px; }
  .bdf-dual b { font-size: 18px; }
}

.bdf-compare-panel { max-width: min(1100px, 96vw) !important; }
.bcm-scroll { overflow-x: auto; }
.bdf-compare-table thead td { border-top: 0; }
.bcm-head { min-width: 180px; }
.bcm-cat { margin-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #A87A45; }
.bcm-price b { font-family: 'JetBrains Mono', monospace; font-size: 16px; white-space: nowrap; }
.bdf-compare-table tr.bcm-same td { color: var(--c-ink-soft); }
.bcm-na { color: #B0B4A8; font-size: 13px; }
.bdf-compare-bar .bcb-open.is-disabled { opacity: .55; pointer-events: none; }
.bdf-compare-flash { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(10px); background: #181C12; color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; z-index: 400; }
.bdf-compare-flash.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.bdf-compare-table { table-layout: fixed; }
.bdf-compare-table thead th { width: 150px; }
.bcm-head .bcm-img { width: 100%; height: 150px; aspect-ratio: auto; object-fit: cover; border-radius: 10px; background: #F6F2EA; }
.bcm-head .bcm-name { min-height: 2.7em; }
@media (max-width: 760px) { .bdf-compare-table { table-layout: auto; } .bcm-head .bcm-img { height: 100px; } }

.wbcb-mat-specs-title { margin: 0 0 10px; font-size: 14px; color: var(--c-ink-soft); }
.wbcb-mat-desc p { margin: 0 0 10px; }
.wbcb-mat-desc { border-left: 3px solid var(--c-accent); padding-left: 14px; margin-bottom: 18px; }
.mc-edit { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: #7E9512; text-decoration: underline; }
.minicart-foot .mc-view-cart { margin-top: 8px; display: block; text-align: center; border: 1.5px solid var(--c-line); background: #fff; color: var(--c-ink); }
.wbcb-edit-link { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; color: #7E9512; }
.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce { max-width: var(--maxw); margin: 0 auto; padding: clamp(24px, 4vw, 48px) 24px; }
.woocommerce table.shop_table { border: 1px solid var(--c-line); border-radius: 14px; border-collapse: separate; overflow: hidden; background: #fff; }
.woocommerce table.shop_table th { background: #F6F2EA; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-ink-soft); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 14px 16px; }
.woocommerce .cart_totals h2, .woocommerce-checkout h3 { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 22px; margin: 0 0 14px; }
.woocommerce table.shop_table .order-total th, .woocommerce table.shop_table .order-total td { font-size: 17px; background: #F1F6DF; }
.woocommerce table.shop_table .order-total .amount { font-weight: 800; }
.woocommerce table.shop_table tr.bdf-ht-note td { font-size: 12.5px; color: var(--c-ink-soft); background: #fff; border-top: 0; padding-top: 6px; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #place_order, .woocommerce .checkout-button { background: var(--c-accent) !important; color: var(--c-deep) !important; border-radius: 999px !important; font-weight: 800 !important; padding: 14px 24px !important; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #place_order:hover, .woocommerce .checkout-button:hover { background: #C8E03C !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 1.5px solid var(--c-line); border-radius: 10px; padding: 10px 12px; background: #fff; }
.woocommerce-checkout #customer_details { margin-bottom: 24px; }
@media (min-width: 1000px) {
  .woocommerce-checkout form.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 36px; align-items: start; }
  .woocommerce-checkout form.checkout > .woocommerce-NoticeGroup, .woocommerce-checkout form.checkout > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
  .woocommerce-checkout #customer_details { grid-column: 1; grid-row: span 2; }
  .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 2; }
  .woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
}
