/* ==========================================================
   LGG Theme — Wireframe CSS
   ----------------------------------------------------------
   THEMING: Edit ONLY the :root block below.
   Swap colors, fonts, radius and you're done.
   ========================================================== */

:root {
  /* Override Bootstrap link color */
  --bs-link-color:       #1a1a1a;
  --bs-link-hover-color: #1a1a1a;

  /* Colors — swap these to match the brand */
  --lgg-bg:          #ffffff;
  --lgg-bg-muted:    #f8f8f6;
  --lgg-border:      #e0e0e0;
  --lgg-text:        #1a1a1a;
  --lgg-text-muted:  #6c757d;
  --lgg-primary:     #1a1a1a;      /* buttons, active states */
  --lgg-primary-fg:  #ffffff;
  --lgg-accent:      #035326;      /* vert identité LGG */
  --lgg-success:     #2e7d32;
  --lgg-danger:      #c62828;

  /* Typography */
  --font-display:    system-ui, -apple-system, sans-serif;  /* swap: "Playfair Display", Georgia, serif */
  --font-body:       system-ui, -apple-system, sans-serif;  /* swap: "Inter", system-ui, sans-serif */

  /* Spacing & shape */
  --lgg-radius:      4px;
  --lgg-radius-lg:   8px;
  --lgg-shadow:      0 1px 3px rgba(0,0,0,.08);
  --lgg-shadow-lg:   0 4px 12px rgba(0,0,0,.12);
}

/* ── Base ─────────────────────────────────────────────────── */
body { font-family: var(--font-body); color: var(--lgg-text); background: var(--lgg-bg); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); }

/* ── Banner ───────────────────────────────────────────────── */
.lgg-banner { background: var(--lgg-primary); color: var(--lgg-primary-fg); text-align: center; font-size: .875rem; padding: .5rem 1rem; }

/* ── Header & Navigation ──────────────────────────────────── */
.lgg-header {
    background: #035326;
    border-bottom-color: rgba(255,255,255,.12) !important;
}

/* Logo */
.lgg-brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.lgg-logo {
    height: 34px !important;
    width: auto !important;
    max-width: 180px !important;
    display: block;
}
body.home .lgg-logo {
    height: 44px !important;
}
.lgg-logo-footer {
    height: 48px;
    width: auto;
    display: block;
}

/* Nav links — couvre Bootstrap (.nav-link) ET les classes WordPress (.menu-item > a) */
.navbar-nav .nav-link,
.navbar-nav .nav-item > a,
.navbar-nav .menu-item > a {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.88) !important;
    padding: .35rem 1rem !important;
    position: relative;
    text-decoration: none;
    transition: color .2s;
}

/* Underline animé au hover */
.navbar-nav .nav-link::after,
.navbar-nav .nav-item > a::after,
.navbar-nav .menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--lgg-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
    border-radius: 2px;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item > a:hover::after,
.navbar-nav .menu-item > a:hover::after,
.navbar-nav .nav-link.active::after,
.navbar-nav .current-menu-item > a::after {
    transform: scaleX(1);
}

/* Couleur hover */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item > a:hover,
.navbar-nav .menu-item > a:hover {
    color: #ffffff !important;
}

/* Lien actif (page courante) */
.navbar-nav .current-menu-item > a,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    font-weight: 700;
}

/* Espacements : un peu plus d'air autour du bloc nav */
@media (min-width: 768px) {
    .navbar-nav {
        gap: .25rem;
    }
}

/* Hamburger mobile */
.navbar-toggler {
    border: 1px solid rgba(255,255,255,.4);
    border-radius: var(--lgg-radius);
    padding: .35rem .6rem;
    filter: invert(1);
}
.navbar-toggler:focus { box-shadow: none; }

/* Menu déroulant mobile (collapse) */
@media (max-width: 767px) {
    .navbar-collapse .navbar-nav {
        padding: .75rem 0;
        gap: 0;
    }
    .navbar-nav .nav-link,
    .navbar-nav .nav-item > a,
    .navbar-nav .menu-item > a {
        padding: .6rem 0 !important;
        border-bottom: 1px solid rgba(255,255,255,.15);
        letter-spacing: .04em;
    }
    .navbar-nav .nav-link::after,
    .navbar-nav .nav-item > a::after,
    .navbar-nav .menu-item > a::after { display: none; }
    .navbar-nav .nav-item:last-child > a,
    .navbar-nav .menu-item:last-child > a { border-bottom: none; }
}

/* Service indicators — base (footer, hero, etc.) */
.lgg-service-indicator { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--lgg-text-muted); }
.lgg-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.lgg-dot--on  { background: var(--lgg-success); box-shadow: 0 0 0 2px rgba(255,255,255,.5); }
.lgg-dot--off { background: var(--lgg-danger);  box-shadow: 0 0 0 2px rgba(255,255,255,.35); }

/* Service indicators sur fond vert (header + footer) */
.lgg-header .lgg-service-indicator,
.lgg-footer .lgg-service-indicator { color: rgba(255,255,255,.75); }
.lgg-header .lgg-dot--on,
.lgg-footer .lgg-dot--on  { background: #4ade80; }
.lgg-header .lgg-dot--off,
.lgg-footer .lgg-dot--off { background: #f87171; }

/* Cart icon */
.lgg-cart-icon { position: relative; color: rgba(255,255,255,.8) !important; font-size: 1.25rem; text-decoration: none; transition: color .15s; }
.lgg-cart-icon:hover { color: #ffffff !important; }
.lgg-cart-count { position: absolute; top: -6px; right: -8px; background: #fff; color: var(--lgg-accent); font-size: .65rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ── Section titles ───────────────────────────────────────── */
.lgg-section-title { font-size: 1.5rem; font-weight: 700; }
.lgg-page-title    { font-size: 1.75rem; font-weight: 700; }

/* ── Hero ─────────────────────────────────────────────────── */
.lgg-hero { border-bottom: 1px solid var(--lgg-border); }
.lgg-hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; }
.lgg-hero-sub   { color: var(--lgg-text-muted); }
.lgg-hero-img-placeholder { width: 100%; aspect-ratio: 4/3; background: var(--lgg-bg-muted); border: 2px dashed var(--lgg-border); border-radius: var(--lgg-radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; font-size: 3rem; }

/* ── How it works ─────────────────────────────────────────── */
.lgg-step-icon { width: 56px; height: 56px; border: 2px solid var(--lgg-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto; font-size: 1.5rem; }

/* ── Gift checkbox (checkout) ─────────────────────────────── */
.lgg-gift-field {
    margin: 0 0 1.5rem;
}
.lgg-gift-label {
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    border: 2px solid var(--lgg-border);
    border-radius: var(--lgg-radius-lg);
    padding: 1rem 1.25rem;
    transition: border-color .15s, background .15s;
    user-select: none;
}
.lgg-gift-label:hover {
    border-color: var(--lgg-accent);
    background: #f4f8f5;
}
.lgg-gift-label input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0 .9rem 0 0;
    accent-color: var(--lgg-accent);
    flex-shrink: 0;
    cursor: pointer;
}
.lgg-gift-label:has(input:checked) {
    border-color: var(--lgg-accent);
    background: #f4f8f5;
}
.lgg-gift-content {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.lgg-gift-icon { font-size: 1.6rem; line-height: 1; }
.lgg-gift-text {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.lgg-gift-text strong { font-size: 1rem; color: var(--lgg-text); }
.lgg-gift-sub { font-size: .85rem; color: #666; }

/* ── CTA tile (paniers-cadeaux listing) ───────────────────── */
.lgg-cta-tile {
    background: var(--lgg-accent);
    border-radius: var(--lgg-radius-lg);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 260px;
    gap: .5rem;
}
.lgg-cta-tile__text {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}
.lgg-cta-tile__sub {
    color: rgba(255,255,255,.8);
    font-size: .95rem;
    margin: 0 0 .75rem;
}
.lgg-cta-tile__links {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    width: 100%;
}
.lgg-cta-tile__link {
    display: block;
    background: #fff;
    color: var(--lgg-accent);
    font-weight: 600;
    font-size: .9rem;
    padding: .55rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity .15s;
}
.lgg-cta-tile__link:hover { opacity: .85; color: var(--lgg-accent); }

/* ── Product cards ────────────────────────────────────────── */
.lgg-product-card { transition: box-shadow .15s; }
.lgg-product-card:hover { box-shadow: var(--lgg-shadow-lg); }
.lgg-card-img-wrap { display: block; overflow: hidden; }
.lgg-card-img-wrap img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.lgg-card-img-wrap:hover img { transform: scale(1.03); }
.lgg-img-placeholder { width: 100%; aspect-ratio: 1; background: var(--lgg-bg-muted); display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.lgg-img-placeholder--sm  { aspect-ratio: 1; font-size: 1.25rem; }
.lgg-img-placeholder--lg  { aspect-ratio: 4/3; font-size: 3rem; }
.lgg-price { color: var(--lgg-text); }

/* ── Rayon cards (homepage) ───────────────────────────────── */
.lgg-rayon-card { border-radius: var(--lgg-radius); background: var(--lgg-bg); }

/* ── Filters sidebar ──────────────────────────────────────── */
.lgg-filters { border-right: 1px solid var(--lgg-border); padding-right: 1.5rem; }
.lgg-filters-title { color: var(--lgg-text-muted); }
.lgg-filter-toggle { font-size: .875rem; }
.lgg-filter-group .collapse { max-height: 200px; overflow-y: auto; }

/* ── Configurateur ────────────────────────────────────────── */
.lgg-steps { overflow-x: auto; }
.lgg-steps-track { display: flex; align-items: center; gap: 0; min-width: max-content; }
.lgg-step { display: flex; flex-direction: column; align-items: center; position: relative; flex: 1; }
.lgg-step:not(:last-child)::after { content: ""; position: absolute; top: 18px; left: 50%; width: 100%; height: 2px; background: var(--lgg-border); z-index: 0; }
.lgg-step--done::after, .lgg-step--active::after { background: var(--lgg-primary) !important; }
.lgg-step-num { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--lgg-border); background: var(--lgg-bg); display: flex; align-items: center; justify-content: center; font-size: .875rem; font-weight: 600; position: relative; z-index: 1; color: var(--lgg-text-muted); }
.lgg-step--active .lgg-step-num { border-color: var(--lgg-primary); background: var(--lgg-primary); color: var(--lgg-primary-fg); }
.lgg-step--done .lgg-step-num { border-color: var(--lgg-primary); background: var(--lgg-primary); color: var(--lgg-primary-fg); }
.lgg-step-label { font-size: .75rem; color: var(--lgg-text-muted); margin-top: .25rem; }
.lgg-step--active .lgg-step-label { color: var(--lgg-text); font-weight: 600; }

/* Planche option cards */
.lgg-planche-option { display: block; border: 2px solid var(--lgg-border); border-radius: var(--lgg-radius-lg); overflow: hidden; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.lgg-planche-option:hover { border-color: var(--lgg-text); }
.lgg-planche-option.lgg-selected { border-color: var(--lgg-primary); box-shadow: var(--lgg-shadow-lg); }
.lgg-planche-option input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.lgg-planche-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Item option cards (fromages, charcuteries, upsells) */
.lgg-item-option { display: block; border: 2px solid var(--lgg-border); border-radius: var(--lgg-radius); overflow: hidden; cursor: pointer; transition: border-color .15s; text-align: center; }
.lgg-item-option:hover { border-color: var(--lgg-text); }
.lgg-item-option input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }
.lgg-item-option:has(input:checked) { border-color: var(--lgg-primary); background: rgba(0,0,0,.03); }
.lgg-item-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.lgg-item-name { font-size: .8rem; line-height: 1.3; }

/* Quota counter badge */
.lgg-quota-counter { font-size: .875rem !important; }

/* Recap */
.lgg-recap { background: var(--lgg-bg-muted); border: 1px solid var(--lgg-border); border-radius: var(--lgg-radius-lg); padding: 1.5rem; }
.lgg-recap-section { margin-bottom: 1rem; }
.lgg-recap-section:last-child { margin-bottom: 0; }
.lgg-recap-section ul { margin: .25rem 0 0; padding-left: 1.25rem; }

/* ── Checkout slot picker ─────────────────────────────────── */
.lgg-slot-picker { background: var(--lgg-bg-muted); border: 1px solid var(--lgg-border); border-radius: var(--lgg-radius-lg); padding: 1.25rem; margin: 1rem 0; }
.lgg-slot-title  { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; }
.lgg-select { width: 100%; padding: .5rem .75rem; border: 1px solid var(--lgg-border); border-radius: var(--lgg-radius); background: var(--lgg-bg); font-size: .9rem; }

/* ── Single product ───────────────────────────────────────── */
.lgg-product-title { font-size: 1.75rem; }
.lgg-single-price  { font-size: 1.5rem; font-weight: 700; }

/* Image wrapper */
.lgg-single-img-wrap {
    border-radius: var(--lgg-radius-lg);
    overflow: hidden;
    border: 1px solid var(--lgg-border);
    position: sticky;
    top: 90px;
}
.lgg-single-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.lgg-single-img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--lgg-bg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--lgg-border);
}

/* Add to cart form */
.lgg-single-cta .cart {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin: 0;
}

/* Quantity stepper */
.lgg-qty-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--lgg-border);
    border-radius: var(--lgg-radius);
    overflow: hidden;
    height: 38px;
}
.lgg-qty-btn {
    width: 36px;
    height: 100%;
    background: var(--lgg-bg-muted);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--lgg-text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .12s;
}
.lgg-qty-btn:hover { background: var(--lgg-border); }
.lgg-qty-btn.lgg-qty-minus { border-right: 1px solid var(--lgg-border); }
.lgg-qty-btn.lgg-qty-plus  { border-left:  1px solid var(--lgg-border); }
.lgg-qty-wrap .qty {
    width: 52px;
    height: 100%;
    border: none;
    padding: 0;
    font-size: .95rem;
    text-align: center;
    color: var(--lgg-text);
    background: var(--lgg-bg);
    -moz-appearance: textfield;
    outline: none;
}
.lgg-qty-wrap .qty::-webkit-inner-spin-button,
.lgg-qty-wrap .qty::-webkit-outer-spin-button { display: none; }

/* Fallback for non-stepper quantity */
.lgg-single-cta .quantity .qty {
    width: 72px;
    height: 38px;
    border: 1px solid var(--lgg-border);
    border-radius: var(--lgg-radius);
    padding: 0 10px;
    font-size: .95rem;
    text-align: center;
    color: var(--lgg-text);
    background: var(--lgg-bg);
    -moz-appearance: textfield;
}
.lgg-single-cta .quantity .qty::-webkit-inner-spin-button,
.lgg-single-cta .quantity .qty::-webkit-outer-spin-button { opacity: 1; }

.lgg-single-cta .single_add_to_cart_button {
    height: 38px;
    padding: 0 20px;
    font-size: .9rem;
    font-weight: 600;
    background: var(--lgg-accent) !important;
    color: #fff !important;
    border: none;
    border-radius: var(--lgg-radius) !important;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
}
.lgg-single-cta .single_add_to_cart_button:hover {
    background: #024a21 !important;
}

/* Produits similaires */
.lgg-related-wrap {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--lgg-border);
}
.lgg-related-section { margin: 0; }
.lgg-related-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--lgg-accent);
    letter-spacing: -.01em;
}
.lgg-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 240px));
    gap: 1.25rem;
}
.lgg-related-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--lgg-border);
    border-radius: var(--lgg-radius-lg);
    overflow: hidden;
    background: var(--lgg-bg);
    text-decoration: none;
    color: var(--lgg-text);
    transition: box-shadow .15s, transform .15s;
}
.lgg-related-card:hover {
    box-shadow: var(--lgg-shadow-lg);
    transform: translateY(-2px);
    color: var(--lgg-text);
    text-decoration: none;
}
.lgg-related-card-img img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.lgg-related-card-body {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .75rem;
}
.lgg-related-card-name {
    font-size: .9rem;
    font-weight: 600;
    color: var(--lgg-text);
}
.lgg-related-card-price {
    font-size: .9rem;
    font-weight: 700;
    color: var(--lgg-text);
}
.lgg-related-card-price .woocommerce-Price-amount { color: inherit; }

/* ── Footer ───────────────────────────────────────────────── */
.lgg-footer { background: #035326; margin-top: auto; color: rgba(255,255,255,.85); border-top: none !important; }
.lgg-footer-title { font-family: var(--font-display); font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; color: #fff; }
.lgg-footer-address { font-style: normal; color: rgba(255,255,255,.65); }
.lgg-footer .small, .lgg-footer p, .lgg-footer li, .lgg-footer a { color: rgba(255,255,255,.75) !important; }
.lgg-footer a:hover { color: #fff !important; }
.lgg-footer hr { border-color: rgba(255,255,255,.15); }
.lgg-footer .text-muted { color: rgba(255,255,255,.55) !important; }
.lgg-footer-nav li { margin-bottom: .35rem; }
.lgg-footer-nav a { color: rgba(255,255,255,.65) !important; text-decoration: none; transition: color .12s; }
.lgg-footer-nav a:hover { color: #fff !important; }

/* ── Buttons (Bootstrap override) — vert identité ────────── */
.btn-dark  { background: var(--lgg-accent); border-color: var(--lgg-accent); color: #fff; }
.btn-dark:hover,
.btn-dark:focus  { background: #024a21; border-color: #024a21; color: #fff; }
.btn-outline-dark { color: var(--lgg-accent); border-color: var(--lgg-accent); }
.btn-outline-dark:hover,
.btn-outline-dark:focus { background: var(--lgg-accent); border-color: var(--lgg-accent); color: #fff !important; }

/* ── Utilities ────────────────────────────────────────────── */
.bg-light { background: var(--lgg-bg-muted) !important; }

/* ==========================================================
   LGG Theme — Addendum (auto-appended)
   ========================================================== */

/* -- Dual price range slider -------------------------------- */
.lgg-dual-slider {
    position: relative;
    height: 32px;
    margin: .25rem 0;
}
.lgg-dual-slider-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0; right: 0;
    height: 4px;
    background: #dee2e6;
    border-radius: 2px;
}
.lgg-dual-slider-fill {
    position: absolute;
    height: 100%;
    background: var(--lgg-accent);
    border-radius: 2px;
    left: 0;
    width: 100%;
}
.lgg-range {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
    outline: none;
}
.lgg-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--lgg-accent);
    cursor: pointer;
    pointer-events: all;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
    transition: transform .1s;
}
.lgg-range::-webkit-slider-thumb:hover,
.lgg-range:active::-webkit-slider-thumb { transform: scale(1.2); }
.lgg-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--lgg-accent);
    cursor: pointer;
    pointer-events: all;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
}

/* -- Filter sidebar improvements ---------------------------- */
.lgg-filter-toggle { font-size: .8rem; border-radius: var(--lgg-radius); }
.lgg-filter-toggle .lgg-chevron { transition: transform .2s ease; font-size: .75rem; }
.lgg-filter-toggle.lgg-filter-open .lgg-chevron { transform: rotate(180deg); }
.lgg-filter-label { cursor: pointer; transition: background .1s; }
.lgg-filter-label:hover { background: var(--lgg-bg-muted); }
.lgg-filter-label.lgg-filter-active { background: rgba(0,0,0,.05); font-weight: 500; }
.lgg-filter-group .collapse { max-height: 220px; overflow-y: auto; }

/* -- Wine color badges in listing --------------------------- */
.lgg-badge-couleur { font-weight: 500; }
.lgg-badge-rouge { background: #8b000022; color: #8b0000; border: 1px solid #8b000044; }
.lgg-badge-blanc { background: #c9a84c22; color: #7a6210; border: 1px solid #c9a84c44; }
.lgg-badge-rose  { background: #d4607a22; color: #9b2335; border: 1px solid #d4607a44; }

/* -- Wine characteristics (single product) ------------------ */
.lgg-wine-section-label {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--lgg-accent);
    margin-bottom: .6rem;
}

/* Grille 3 colonnes — caractéristiques */
.lgg-wine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
}
@media (max-width: 576px) { .lgg-wine-grid { grid-template-columns: repeat(2, 1fr); } }

.lgg-wine-attr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: .75rem .5rem;
    background: #fff;
    border: 1px solid var(--lgg-border);
    border-radius: var(--lgg-radius-lg);
    transition: border-color .15s, box-shadow .15s;
}
.lgg-wine-attr-card:hover {
    border-color: var(--lgg-accent);
    box-shadow: 0 2px 8px rgba(3,83,38,.08);
}
.lgg-wine-attr-emoji {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: .35rem;
}
.lgg-wine-attr-label {
    font-size: .58rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--lgg-text-muted);
    margin-bottom: .15rem;
}
.lgg-wine-attr-value { font-weight: 600; font-size: .8rem; color: var(--lgg-text); }

/* Tasting notes */
.lgg-wine-notes {
    border-left: 3px solid var(--lgg-accent);
    padding-left: .875rem;
}
.lgg-wine-notes p { font-style: italic; color: var(--lgg-text-muted); line-height: 1.65; }

/* Accords mets & vins — pills verts */
.lgg-accord-chip {
    display: inline-flex;
    align-items: center;
    padding: .28rem .7rem;
    background: #eaf4ee;
    color: var(--lgg-accent);
    border-radius: 2rem;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .01em;
}

/* -- Quota progress bar (configurateur) --------------------- */
.lgg-quota-bar { }

/* ==========================================================
   HOMEPAGE REFONTE — styles
   ========================================================== */

/* ── Hero v3 — Full-bleed immersif ────────────────────────── */
.lgg-hero3 {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-color: #111;
    overflow: hidden;
}
.lgg-hero3-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0,0,0,.78) 0%,
        rgba(0,0,0,.50) 50%,
        rgba(0,0,0,.15) 100%
    );
    z-index: 1;
}
.lgg-hero3-container {
    position: relative;
    z-index: 2;
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.lgg-hero3-content {
    max-width: 580px;
}
.lgg-hero3-eyebrow {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: rgba(255,255,255,.65);
    margin-bottom: 1rem;
}
.lgg-hero3-title {
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.03em;
    color: #fff;
    margin-bottom: 1.25rem;
}
.lgg-hero3-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.8);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 46ch;
}
.lgg-hero3-ctas {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.lgg-hero3-btn-primary {
    background: #fff;
    color: #111;
    border-color: #fff;
    font-weight: 600;
}
.lgg-hero3-btn-primary:hover {
    background: #e8e8e8;
    border-color: #e8e8e8;
    color: #111;
}
.lgg-hero3-services {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: .85;
}
/* Make service indicators legible on dark bg */
.lgg-hero3-services .lgg-service-indicator {
    color: rgba(255,255,255,.85);
}
/* Scroll chevron bounce */
.lgg-hero3-scroll {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,.5);
    font-size: 1.5rem;
    animation: lgg-bounce 2.2s ease-in-out infinite;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    transition: color .2s;
}
.lgg-hero3-scroll:hover {
    color: rgba(255,255,255,.9);
}
@keyframes lgg-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(7px); }
}


/* ── Promesses strip ──────────────────────────────────────── */
.lgg-promesses {
    background: var(--lgg-bg);
}
.lgg-promesse-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: 1.25rem .75rem;
    border-right: 1px solid var(--lgg-border);
    text-align: center;
}
.lgg-promesse-item:last-child { border-right: none; }
@media (max-width: 767px) {
    .lgg-promesse-item:nth-child(2) { border-right: none; }
    .lgg-promesse-item:nth-child(3),
    .lgg-promesse-item:nth-child(4) { border-top: 1px solid var(--lgg-border); }
}
.lgg-promesse-icon {
    font-size: 1.4rem;
    color: var(--lgg-accent);
}
.lgg-promesse-label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--lgg-text-muted);
    margin: 0;
    line-height: 1.3;
}


/* ── Univers v2 — cartes portrait plein-image ─────────────── */
.lgg-cat2-card {
    display: block;
    border-radius: var(--lgg-radius-lg);
    overflow: hidden;
    height: 100%;
    position: relative;
}
.lgg-cat2-visual {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--lgg-bg-muted);
}
@media (max-width: 575px) {
    .lgg-cat2-visual { aspect-ratio: 1 / 1; }
}
.lgg-cat2-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.lgg-cat2-card:hover .lgg-cat2-img { transform: scale(1.08); }
.lgg-cat2-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--lgg-border);
    background: var(--lgg-bg-muted);
}
.lgg-cat2-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 3rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(10,10,10,.80) 0%, rgba(10,10,10,0) 100%);
    transition: padding .25s;
}
.lgg-cat2-card:hover .lgg-cat2-overlay { padding-bottom: 1.6rem; }
.lgg-cat2-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .2rem;
    color: #fff;
}
.lgg-cat2-desc {
    font-size: .78rem;
    color: rgba(255,255,255,.78);
    margin: 0;
    line-height: 1.45;
}


/* ── Configurateur — strip vert ───────────────────────────── */
.lgg-config-strip {
    background: #035326;
    color: #ffffff;
    padding: 4.5rem 0;
}
.lgg-config-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 992px) {
    .lgg-config-inner {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 5rem;
    }
}
.lgg-config-eyebrow {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(255,255,255,.65);
    margin-bottom: .75rem;
}
.lgg-config-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 1.25rem;
    color: #fff;
}
.lgg-config-body {
    color: rgba(255,255,255,.72);
    line-height: 1.75;
    max-width: 42ch;
}
.lgg-config-steps {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    border-left: 1px solid rgba(255,255,255,.15);
    padding-left: 2rem;
}
@media (max-width: 991px) {
    .lgg-config-steps {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255,255,255,.15);
        padding-top: 2rem;
    }
}
.lgg-config-step {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    color: rgba(255,255,255,.85);
}
.lgg-config-step strong { color: #fff; display: block; margin-bottom: .2rem; }
.lgg-config-step p { color: rgba(255,255,255,.6); }
.lgg-config-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    flex-shrink: 0;
}


/* ── Planches homepage cards ──────────────────────────────── */
.lgg-planches-hp .lgg-product-card {
    border-radius: var(--lgg-radius-lg);
    transition: box-shadow .2s, transform .2s;
}
.lgg-planches-hp .lgg-product-card:hover {
    box-shadow: var(--lgg-shadow-lg) !important;
    transform: translateY(-2px);
}
.lgg-planches-hp .lgg-card-img-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;
}
.lgg-planches-hp .lgg-card-img-wrap img,
.lgg-planches-hp .lgg-card-img-wrap .card-img-top {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    display: block;
}
/* ══════════════════════════════════════════════════════════════
   CONFIGURATEUR
   ══════════════════════════════════════════════════════════════ */

/* Chaque étape est un bloc normal */
.lgg-config-step {
    display: block;
}

/* Titre d'étape */
.lgg-config-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--lgg-border);
    margin-bottom: 1.5rem;
}

/* Header : titre gauche + badge quota + density toggle droit */
.lgg-step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--lgg-border);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.lgg-step-header .lgg-config-step-title { flex: 1 1 auto; }
.lgg-step-header .lgg-density-toggle { margin-left: auto; }

/* ── Mention sanitaire (alcool) ───────────────────────
 * Affichée auto sur fiches produits cave / spiritueux.
 * ----------------------------------------------------*/
.lgg-health-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0;
    padding: 12px 16px;
    background: #fff8e6;
    border-left: 4px solid #e9a82a;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    color: #6b4e0f;
    line-height: 1.5;
}
.lgg-health-notice__icon {
    color: #e9a82a;
    font-size: 16px;
    line-height: 1.3;
    flex-shrink: 0;
}

/* ── Case confirmation d'âge (checkout) ───────────────
 * Affichée seulement si panier contient alcool.
 * ----------------------------------------------------*/
.lgg-age-field {
    background: #fff8e6;
    border: 1px solid #e9a82a;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 16px 0;
}
.lgg-age-field .lgg-age-label,
.lgg-age-field label.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin: 0;
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.5;
}
.lgg-age-field input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--lgg-primary, #035326);
}
.lgg-age-field .required { color: #c1370d; font-weight: 700; }

/* ── Search input (configurateur) ─────────────────────
 * Champ de recherche live placé au-dessus des grilles
 * fromages / charcuteries / upsells.
 * ----------------------------------------------------*/
.lgg-search-wrap {
    position: relative;
    margin-bottom: 1rem;
}
.lgg-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 15px;
    pointer-events: none;
}
.lgg-search-input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    font-size: 15px;
    border: 1px solid var(--lgg-border, #e2e2e0);
    border-radius: 8px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.lgg-search-input:focus {
    outline: none;
    border-color: var(--lgg-primary, #035326);
    box-shadow: 0 0 0 3px rgba(3, 83, 38, .08);
}
.lgg-search-hidden { display: none !important; }

/* ── Density toggle ───────────────────────────────────
 * 3 boutons pour basculer compact / normal / large sur
 * les grilles .lgg-grid-dense (fromages, charcuteries, upsells).
 * ----------------------------------------------------*/
.lgg-density-toggle {
    display: inline-flex;
    gap: 2px;
    background: #f4f4f2;
    border-radius: 6px;
    padding: 3px;
    flex-shrink: 0;
}
.lgg-density-btn {
    background: transparent;
    border: 0;
    padding: 6px 10px;
    border-radius: 4px;
    color: #888;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: background .15s, color .15s;
}
.lgg-density-btn:hover { color: #1a1a1a; }
.lgg-density-btn.is-active {
    background: #fff;
    color: var(--lgg-primary, #035326);
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

/* ── Grid density overrides ──────────────────────────
 * On force la largeur des cols Bootstrap selon la densité
 * choisie. Les classes cols d'origine restent comme fallback
 * (si le JS ne charge pas).
 * ----------------------------------------------------*/
.lgg-grid-dense > [class*="col-"] { flex: 0 0 auto; }

/* Compact : 3 mobile → 4 tablet → 6 desktop */
.lgg-grid-dense--compact > [class*="col-"] { width: 33.3333%; }
@media (min-width: 768px) { .lgg-grid-dense--compact > [class*="col-"] { width: 25%; } }
@media (min-width: 992px) { .lgg-grid-dense--compact > [class*="col-"] { width: 16.6666%; } }

/* Normal : 2 mobile → 3 tablet → 4 desktop */
.lgg-grid-dense--normal > [class*="col-"] { width: 50%; }
@media (min-width: 768px) { .lgg-grid-dense--normal > [class*="col-"] { width: 33.3333%; } }
@media (min-width: 992px) { .lgg-grid-dense--normal > [class*="col-"] { width: 25%; } }

/* Large : 2 mobile → 2 tablet → 3 desktop */
.lgg-grid-dense--large > [class*="col-"] { width: 50%; }
@media (min-width: 992px) { .lgg-grid-dense--large > [class*="col-"] { width: 33.3333%; } }

.lgg-quota-badge {
    font-size: .9rem;
    padding: .4em .75em;
    white-space: nowrap;
    flex-shrink: 0;
}
.lgg-badge-green {
    background: var(--lgg-accent) !important;
    color: #fff !important;
}

/* Barre de progression + label sous le header */
.lgg-progress-wrap {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.lgg-progress {
    height: 6px;
    border-radius: 6px;
    background: var(--lgg-border);
    overflow: hidden;
}
.lgg-progress-bar {
    height: 100%;
    background: var(--lgg-primary);
    border-radius: 6px;
    transition: width .25s ease, background .2s;
}
.lgg-progress-bar.bg-success { background: #2e7d32 !important; }
.lgg-progress-label {
    font-size: .8rem;
    color: var(--lgg-text-muted);
}
/* Neutralise la règle globale .lgg-config-step strong (prévue pour la config strip) */
.lgg-progress-label strong {
    color: var(--lgg-accent) !important;
    display: inline !important;
    margin-bottom: 0 !important;
}

/* Navigation bas de page */
.lgg-step-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--lgg-border);
}

/* ── Planche option cards ─────────────────────────────────── */
.lgg-planche-option {
    display: flex;
    flex-direction: column;
    border: 2px solid var(--lgg-border);
    border-radius: var(--lgg-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
    background: var(--lgg-bg);
    position: relative;
    height: 100%;
}
.lgg-planche-option:hover {
    border-color: var(--lgg-text-muted);
    box-shadow: var(--lgg-shadow);
}
.lgg-planche-option.lgg-selected {
    border-color: var(--lgg-accent);
    box-shadow: 0 0 0 3px rgba(3,83,38,.15);
}
.lgg-planche-option input[type=radio] {
    position: absolute; opacity: 0; pointer-events: none;
}

/* Image planche 4:3 */
.lgg-planche-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--lgg-bg-muted);
    flex-shrink: 0;
}
.lgg-planche-img-wrap img,
.lgg-planche-img-wrap .lgg-planche-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.lgg-planche-option:hover .lgg-planche-img-wrap img { transform: scale(1.04); }

.lgg-planche-info { flex: 1; }

/* Check overlay planche */
.lgg-planche-check {
    display: none;
    position: absolute;
    top: .6rem; right: .6rem;
    width: 28px; height: 28px;
    background: var(--lgg-accent);
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}
.lgg-planche-option.lgg-selected .lgg-planche-check { display: flex; }

/* ── Item option cards (fromages / charcuteries / upsells) ── */
.lgg-item-option {
    display: flex;
    flex-direction: column;
    border: 2px solid var(--lgg-border);
    border-radius: var(--lgg-radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
    background: var(--lgg-bg);
    position: relative;
    height: 100%;
    text-align: center;
}
.lgg-item-option:hover {
    border-color: var(--lgg-text-muted);
}
.lgg-item-option:has(input:checked) {
    border-color: var(--lgg-accent);
    box-shadow: 0 0 0 2px rgba(3,83,38,.15);
}
.lgg-item-option input[type=checkbox] {
    position: absolute; opacity: 0; pointer-events: none;
}

/* Image item 4:3 paysage — position absolute pour overrider WC */
.lgg-item-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--lgg-bg-muted);
    flex-shrink: 0;
}
.lgg-item-img-wrap img,
.lgg-item-img-wrap .lgg-item-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* Nom de l'item */
.lgg-item-name {
    font-size: .8rem;
    line-height: 1.3;
    padding: .5rem .5rem .6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Check overlay item */
.lgg-item-check {
    display: none;
    position: absolute;
    top: .4rem; right: .4rem;
    width: 22px; height: 22px;
    background: var(--lgg-accent);
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
}
.lgg-item-option:has(input:checked) .lgg-item-check { display: flex; }

/* ── Configurateur : couleurs de texte explicites ──────────── */

/* Forcer la couleur sombre sur toutes les étapes */
.lgg-config-step {
    color: var(--lgg-primary);
}

/* Boutons dark : texte blanc explicite (wildcard * l'écrasait) */
.lgg-config-step .btn-dark,
.lgg-config-step .btn-dark i,
.lgg-config-step .btn-dark span {
    color: #fff !important;
}
.lgg-config-step .btn-outline-dark {
    color: var(--lgg-primary) !important;
}
.lgg-config-step .btn-outline-dark:hover,
.lgg-config-step .btn-outline-dark:focus {
    color: #fff !important;
}

/* Cards planches */
.lgg-planche-info h3,
.lgg-planche-info .h6 {
    color: var(--lgg-primary) !important;
}
.lgg-planche-info p,
.lgg-planche-info .small,
.lgg-planche-info .text-muted {
    color: #666 !important;
}
.lgg-price,
.lgg-planche-info .fw-bold {
    color: var(--lgg-primary) !important;
}

/* Cards items (fromages / charcuteries / upsells) */
.lgg-item-name {
    color: var(--lgg-primary) !important;
}

/* Barre de progression labels */
.lgg-progress-label {
    color: #555 !important;
}
.lgg-step-header .lgg-config-step-title,
.lgg-config-step-title {
    color: var(--lgg-primary) !important;
}

/* Récapitulatif */
#lgg-recap {
    color: var(--lgg-primary);
}
.lgg-recap-section {
    padding: 1rem 0;
    border-bottom: 1px solid var(--lgg-border);
    color: var(--lgg-primary);
}
.lgg-recap-section:last-child {
    border-bottom: none;
}
.lgg-recap-section h3.h6 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .75rem;
    color: #888 !important;
    margin-bottom: .4rem;
}
.lgg-recap-section p {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--lgg-primary) !important;
}
.lgg-recap-section ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--lgg-primary) !important;
}
.lgg-recap-section li {
    font-size: .9rem;
    color: var(--lgg-primary) !important;
}

/* ── Category sidebar hint encart ────────────────────────── */
.lgg-cat-sidebar-hint {
    background: rgba(3,83,38,.07);
    border: 1px solid rgba(3,83,38,.18);
    font-size: .85rem;
    line-height: 1.5;
    color: var(--lgg-text);
}
.lgg-cat-sidebar-hint p { margin-bottom: .4rem; }
.lgg-cat-sidebar-hint p:last-child { margin-bottom: 0; }
.lgg-cat-sidebar-hint a { color: #035326; text-decoration: underline; }
.lgg-cat-sidebar-hint strong { color: var(--lgg-text); }

/* ── Category hero banner ─────────────────────────────────── */
.lgg-cat-hero {
    position: relative;
    height: clamp(180px, 33vh, 340px);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.lgg-cat-hero--no-img {
    background: #035326;
}
.lgg-cat-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 6s ease;
}
.lgg-cat-hero:hover .lgg-cat-hero-bg {
    transform: scale(1.0);
}
.lgg-cat-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(3,83,38,.82) 0%,
        rgba(3,83,38,.55) 50%,
        rgba(0,0,0,.3) 100%
    );
}
.lgg-cat-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.lgg-cat-hero-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: .5rem;
    line-height: 1.1;
    letter-spacing: -.02em;
    text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.lgg-cat-hero-desc {
    font-size: clamp(.85rem, 1.8vw, 1rem);
    color: rgba(255,255,255,.85);
    margin: 0;
    max-width: 54ch;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,.25);
}

/* Indicateur d'étapes */
.lgg-steps-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.lgg-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    flex: 1;
    position: relative;
}
.lgg-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--lgg-border);
    z-index: 0;
}
.lgg-step--done:not(:last-child)::after,
.lgg-step--active:not(:last-child)::after {
    background: var(--lgg-primary);
}
.lgg-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--lgg-accent);
    color: var(--lgg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: background .2s, color .2s, border-color .2s;
}
.lgg-step--active .lgg-step-num {
    background: var(--lgg-accent);
    border-color: var(--lgg-accent);
    color: #fff;
}
.lgg-step--done .lgg-step-num {
    background: var(--lgg-accent);
    border-color: var(--lgg-accent);
    color: #fff;
}
.lgg-step-label {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--lgg-accent) !important;
    font-weight: 600;
}
.lgg-step--active .lgg-step-label {
    color: var(--lgg-primary) !important;
}

/* ==========================================================
   WooCommerce — pages panier, checkout, commande reçue
   ========================================================== */

/* ── Fix liens bleus WooCommerce ────────────────────────── */
.woocommerce a,
.woocommerce-page a,
.woocommerce-cart a,
.woocommerce-checkout a,
.woocommerce-order-received a {
    color: var(--lgg-text);
    text-decoration: none;
}
.woocommerce a:hover,
.woocommerce-page a:hover {
    color: var(--lgg-accent);
    text-decoration: underline;
}
/* Exceptions : boutons WC ne doivent pas être affectés */
.woocommerce a.button,
.woocommerce a.button:hover,
.woocommerce-page a.button,
.woocommerce-page a.button:hover { text-decoration: none; }

/* ── Boutons WooCommerce natifs → vert ──────────────────── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--lgg-accent) !important;
    color: #fff !important;
    border-radius: var(--lgg-radius);
    font-size: .875rem;
    font-weight: 600;
    border: none;
    transition: background .15s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: #024a21 !important;
    color: #fff !important;
}
/* Bouton alt (ex: supprimer) reste neutre */
.woocommerce a.button.alt { background: var(--lgg-accent) !important; }

/* ── Bouton "Valider la commande" — WC Blocks cart ──────────── */
.wc-block-cart__submit-button,
.wc-block-cart__submit-container .wc-block-components-button {
    background: var(--lgg-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--lgg-radius) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: .85rem 1.5rem !important;
    width: 100% !important;
    text-decoration: none !important;
    transition: background .15s !important;
}
.wc-block-cart__submit-button:hover,
.wc-block-cart__submit-container .wc-block-components-button:hover {
    background: #024a21 !important;
    color: #fff !important;
}
.wc-block-cart__submit-button .wc-block-components-button__text,
.wc-block-cart__submit-container .wc-block-components-button__text {
    color: #fff !important;
}

/* ── Bouton "Valider la commande" — template override lgg-checkout-btn ── */
.lgg-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--lgg-accent);
    color: #fff !important;
    text-decoration: none !important;
    padding: .9rem 1.5rem;
    border-radius: var(--lgg-radius);
    font-size: 1rem;
    font-weight: 700;
    transition: background .15s;
    margin-top: 1rem;
}
.lgg-checkout-btn:hover {
    background: #024a21;
    color: #fff !important;
}

/* ── Panier vide ─────────────────────────────────────────── */
.lgg-cart-empty-icon {
    font-size: 4rem;
    color: var(--lgg-border);
    display: block;
}
.lgg-cart-empty h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* ── Panier : meta configurateur (fromages / charcuteries) ───
 * Liste à puces 2 colonnes, encart discret vert à gauche.
 * Supporte le panier classique ET le panier Blocks.
 * ----------------------------------------------------*/

/* Wrapper meta — encart vert à gauche
 * Grid 2 colonnes : fromages à gauche, charcuteries à droite.
 * Mobile : stack vertical.
 */
.woocommerce-cart .variation,
.wc-cart-item-details .variation,
.wc-block-components-product-details,
.wc-block-cart-item__product-metadata .wc-block-components-product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin: 8px 0 0 !important;
    padding: 10px 12px !important;
    background: #f6f4ef;
    border-left: 3px solid var(--lgg-primary, #035326);
    border-radius: 0 6px 6px 0;
    font-size: .82rem !important;
    line-height: 1.55 !important;
    color: #444 !important;
    list-style: none !important;
}
@media (max-width: 480px) {
    .woocommerce-cart .variation,
    .wc-cart-item-details .variation,
    .wc-block-components-product-details {
        grid-template-columns: 1fr;
    }
}

/* WC Blocks insère un <span aria-hidden> " / " entre chaque meta
 * comme séparateur visuel pour les listes courtes — pollue notre layout
 * multi-ligne, on le planque. */
.wc-block-components-product-details span[aria-hidden="true"] {
    display: none !important;
}

/* Chaque meta (Fromages / Charcuteries) devient une cellule de la grille */
.wc-block-components-product-details > span,
.wc-block-components-product-details__item {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Label "🧀 Fromages" / "🥩 Charcuteries" — classique (dt) */
.woocommerce-cart .variation dt {
    font-weight: 700;
    color: #1a1a1a;
    float: none;
    padding: 0;
    margin: 0 0 3px;
}
.woocommerce-cart .variation dd {
    margin: 0;
    padding: 0;
    color: #555;
    font-style: normal;
    white-space: pre-line;
}
.woocommerce-cart .variation dd p { margin: 0; }

/* Label + value — Blocks */
.wc-block-components-product-details__name {
    display: block !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 3px !important;
}
.wc-block-components-product-details__value {
    display: block !important;
    color: #555 !important;
    font-style: normal !important;
    white-space: pre-line !important;
    margin: 0 !important;
}

/* ── Panier — table ─────────────────────────────────────── */
.woocommerce-cart .woocommerce {
    font-size: .95rem;
}
.woocommerce table.shop_table {
    border: 1px solid var(--lgg-border) !important;
    border-radius: var(--lgg-radius-lg);
    overflow: hidden;
    font-size: .9rem;
}
.woocommerce table.shop_table th {
    background: var(--lgg-bg-muted);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--lgg-text-muted);
    font-weight: 700;
    border-bottom: 1px solid var(--lgg-border) !important;
}
.woocommerce table.shop_table td {
    border-top: 1px solid var(--lgg-border) !important;
    padding: 14px 12px !important;
    vertical-align: middle;
}
.woocommerce .cart_totals h2,
.woocommerce .cross-sells h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.woocommerce .cart_totals {
    background: var(--lgg-bg-muted);
    border: 1px solid var(--lgg-border);
    border-radius: var(--lgg-radius-lg);
    padding: 1.5rem;
}

/* ── Thank-you : encart "validation en cours" ──────────
 * Remplace la ligne WC par défaut "Merci, votre commande a bien été reçue".
 * Explique explicitement la phase de validation boutique.
 * ----------------------------------------------------*/
.lgg-thankyou-notice {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin: 24px 0 32px;
    padding: 22px 26px;
    background: #f0f7f3;
    border-left: 4px solid var(--lgg-primary, #035326);
    border-radius: 0 10px 10px 0;
}
.lgg-thankyou-notice__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lgg-primary, #035326);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.lgg-thankyou-notice__content {
    flex: 1;
    min-width: 0;
}
.lgg-thankyou-notice__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
    line-height: 1.3;
}
.lgg-thankyou-notice p {
    margin: 0 0 10px;
    color: #1a1a1a;
    line-height: 1.6;
    font-size: .95rem;
}
.lgg-thankyou-notice p:last-child { margin-bottom: 0; }
.lgg-thankyou-notice__next {
    padding: 10px 14px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #d8e8dd;
}
.lgg-thankyou-notice__bullet {
    color: var(--lgg-primary, #035326);
    font-weight: 700;
    margin-right: 6px;
}
.lgg-thankyou-notice__meta {
    font-size: .85rem !important;
    color: #666 !important;
    border-top: 1px solid #d8e8dd;
    padding-top: 10px;
    margin-top: 12px !important;
}
@media (max-width: 600px) {
    .lgg-thankyou-notice {
        flex-direction: column;
        gap: 12px;
        padding: 18px 20px;
    }
    .lgg-thankyou-notice__icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

/* ── Commande reçue / confirmation ─────────────────────── */
.woocommerce-order {
    font-size: .95rem;
}
.woocommerce-order .woocommerce-order-overview {
    background: var(--lgg-bg-muted);
    border: 1px solid var(--lgg-border);
    border-radius: var(--lgg-radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0 0 2rem;
}
.woocommerce-order .woocommerce-order-overview li {
    font-size: .875rem;
    color: var(--lgg-text-muted);
    margin: 0;
    padding: 0;
    border: none !important;
}
.woocommerce-order .woocommerce-order-overview li strong {
    display: block;
    font-size: 1rem;
    color: var(--lgg-text);
    margin-top: 2px;
}
.woocommerce-order .woocommerce-thankyou-order-received {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--lgg-accent);
    margin-bottom: 1rem;
}
.woocommerce-order-details__title,
.woocommerce-column__title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .8rem;
    color: var(--lgg-text-muted);
    border-bottom: 2px solid var(--lgg-accent);
    padding-bottom: .5rem;
    margin-bottom: 1rem;
}


/* ═══════════════════════════════════════════════════════════════
   MOBILE — responsive homepage & global
   ═══════════════════════════════════════════════════════════════ */

/* ── Sections : réduction des espaces verticaux ─────────────── */
@media (max-width: 767px) {
    /* py-5 → environ py-3 sur mobile pour que le contenu respire
       sans prendre tout l'écran */
    main > section.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    main > section.lgg-planches-hp {
        padding-top: 2rem !important;
        padding-bottom: 2.5rem !important;
    }
    .lgg-section-title {
        font-size: 1.4rem;
    }
    .mb-5 { margin-bottom: 1.5rem !important; }
    .mb-4 { margin-bottom: 1rem !important; }
    .lgg-section-header.mb-5 { margin-bottom: 1.25rem !important; }
}

/* ── Hero v3 — mobile ────────────────────────────────────────── */
@media (max-width: 767px) {
    .lgg-hero3 {
        min-height: 55vh;
        background-position: center top;
    }
    .lgg-hero3-overlay {
        background: linear-gradient(
            180deg,
            rgba(0,0,0,.3) 0%,
            rgba(0,0,0,.72) 100%
        );
    }
    .lgg-hero3-container {
        padding-top: 3.5rem;
        padding-bottom: 4rem;
    }
    .lgg-hero3-content {
        max-width: 100%;
    }
    .lgg-hero3-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
        margin-bottom: 1rem;
    }
    .lgg-hero3-sub {
        font-size: .95rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    .lgg-hero3-ctas .btn {
        padding: .5rem 1.1rem;
        font-size: .9rem;
    }
}

/* ── Univers — cartes catégories ─────────────────────────────── */
@media (max-width: 575px) {
    /* 2 cartes par ligne, format carré moins haut qu'en desktop */
    .lgg-cat2-visual {
        aspect-ratio: 1 / 1;
    }
    .lgg-cat2-name {
        font-size: .95rem;
    }
    .lgg-cat2-desc {
        display: none; /* trop chargé sur petit écran */
    }
}

/* ── Config strip ────────────────────────────────────────────── */
@media (max-width: 991px) {
    .lgg-config-strip      { padding: 2rem 0; }
    .lgg-config-inner      { gap: 1.5rem; }
    .lgg-config-title      { font-size: 1.4rem; margin-bottom: .75rem; }
    .lgg-config-body       { font-size: .9rem; line-height: 1.55; margin-bottom: 1rem; }
    .lgg-config-steps      { gap: 1rem; padding-top: 1.25rem; }
    .lgg-config-step-num   { width: 28px; height: 28px; font-size: .8rem; }
    .lgg-config-step strong { font-size: .9rem; }
    .lgg-config-step p     { font-size: .8rem; margin-bottom: 0; }
}

/* ── Planches homepage — 2 colonnes sur mobile ───────────────── */
@media (max-width: 767px) {
    /* Force l'image en carré */
    .lgg-planches-hp .lgg-card-img-wrap {
        aspect-ratio: 1 / 1;
        overflow: hidden;
        display: block;
    }
    .lgg-planches-hp .lgg-card-img-wrap img,
    .lgg-planches-hp .lgg-card-img-wrap .card-img-top {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }
    .lgg-planches-hp .card-title { font-size: .82rem; }
    .lgg-planches-hp .lgg-price  { font-size: .85rem; }
    .lgg-planches-hp .card-body  { padding: .6rem .75rem; }
    .lgg-planches-hp .small      { font-size: .72rem; }
}

/* ── Header nav / cart mobile ────────────────────────────────── */
@media (max-width: 991px) {
    .lgg-cart-link {
        color: #fff !important;
    }
    .lgg-cart-link:hover,
    .lgg-cart-link:focus {
        color: rgba(255,255,255,.75) !important;
    }
    /* Navbar collapse : fond vert, liens lisibles */
    .navbar-collapse {
        background: var(--lgg-primary);
        margin-left: -1rem;
        margin-right: -1rem;
        padding: 1rem;
        border-top: 1px solid rgba(255,255,255,.15);
        margin-top: .5rem;
    }
    .navbar-nav .nav-link {
        padding: .6rem .25rem;
    }
}

/* ── Configurateur — mobile ──────────────────────────────────── */
@media (max-width: 575px) {
    /* Stepper : masquer les labels, juste les numéros */
    .lgg-step-label {
        display: none;
    }
    .lgg-steps-track {
        padding: 0 .5rem;
        gap: 0;
    }
    .lgg-step {
        gap: 0;
    }
    .lgg-steps {
        margin-bottom: 1.5rem !important;
    }

    /* Planches — cartes compactes en 2 colonnes */
    .lgg-planche-option {
        border-radius: var(--lgg-radius);
    }
    .lgg-planche-img-wrap {
        aspect-ratio: 4 / 3;
    }
    .lgg-planche-img-wrap img,
    .lgg-planche-img {
        aspect-ratio: 4 / 3 !important;
        height: auto !important;
    }
    .lgg-planche-info {
        padding: .5rem .6rem !important;
    }
    .lgg-planche-info .h6 {
        font-size: .78rem;
        margin-bottom: .2rem;
    }
    /* Masquer la description courte sur mobile (préserver quota + prix) */
    .lgg-planche-info > p.small.text-muted:first-of-type {
        display: none;
    }
    .lgg-planche-info .small {
        font-size: .7rem;
    }
    .lgg-planche-info .lgg-price {
        font-size: .85rem;
    }

    /* Titre de page + intro plus compacts */
    #lgg-configurateur .lgg-page-title {
        font-size: 1.4rem;
    }
    #lgg-configurateur > .container {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    #lgg-configurateur .text-center.mb-5 {
        margin-bottom: 1.25rem !important;
    }
}

/* ── Bandeau planche dans le panier ─────────────────────────── */
#lgg-planche-notice {
    margin-bottom: 1.5rem;
}
.lgg-planche-notice-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f0f7f2;
    border: 1px solid var(--lgg-accent);
    border-left: 4px solid var(--lgg-accent);
    border-radius: var(--lgg-radius);
    padding: 1rem 1.25rem;
}
.lgg-planche-notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.lgg-planche-notice-text {
    margin: 0;
    font-size: .9rem;
    flex: 1;
    color: var(--lgg-text);
}
.lgg-planche-notice-text a {
    color: var(--lgg-accent) !important;
    font-weight: 600;
    text-decoration: underline !important;
}
.lgg-planche-notice-close {
    background: none;
    border: none;
    color: var(--lgg-text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0 .25rem;
    flex-shrink: 0;
    line-height: 1;
}
.lgg-planche-notice-close:hover {
    color: var(--lgg-text);
}
@media (max-width: 575px) {
    .lgg-planche-notice-inner {
        flex-wrap: wrap;
        gap: .5rem;
    }
}

/* ── WC Blocks — boutons "Ajouter au panier" (panier vide / cross-sells) ── */
.wc-block-components-product-button .wc-block-components-product-button__button,
.wp-block-woocommerce-product-button .wc-block-components-product-button__button,
.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wc-block-components-button.contained:not(.wc-block-cart__submit-button) {
    background: var(--lgg-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--lgg-radius) !important;
    font-weight: 600 !important;
}
.wc-block-components-product-button .wc-block-components-product-button__button:hover {
    background: #024a21 !important;
    color: #fff !important;
}

/* ── WC Blocks — panier vide : icône et mise en forme ──────── */
.wc-block-cart__empty-cart__title {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--lgg-text) !important;
}
.wp-block-woocommerce-empty-cart-block {
    text-align: center;
    padding: 2rem 0;
}

/* ══════════════════════════════════════════════════════════════════
   Slot Picker — WC Blocks Checkout
   ══════════════════════════════════════════════════════════════════ */
.lgg-slot-picker-blocks {
    border: 1px solid var(--lgg-border);
    border-radius: var(--lgg-radius-lg);
    background: #fff;
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.lgg-slot-picker-heading {
    font-size: .9375rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #1a1a1a;
    padding: 18px 24px 14px;
    margin: 0;
    border-bottom: 1px solid var(--lgg-border);
    background: #fafaf8;
}
.lgg-slot-picker-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Service selector */
.lgg-service-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.lgg-service-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    border: 2px solid var(--lgg-border);
    border-radius: var(--lgg-radius);
    cursor: pointer;
    text-align: center;
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: #555;
    transition: border-color .15s, background .15s, color .15s;
    user-select: none;
}
.lgg-service-option input[type="radio"] { display: none; }
.lgg-service-option .lgg-service-icon { font-size: 1.6rem; line-height: 1; }
.lgg-service-option.is-active {
    border-color: var(--lgg-accent);
    background: #f0f7f3;
    color: var(--lgg-accent);
}
.lgg-service-option:hover:not(.is-active) { border-color: #999; color: #333; }

/* Date label + input */
.lgg-slot-label {
    display: block;
    font-size: .8125rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: .01em;
}
.lgg-slot-label abbr { color: var(--lgg-accent); text-decoration: none; margin-left: 2px; }
.lgg-datepicker-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #767676;
    border-radius: 4px;
    font-size: .9375rem;
    font-family: inherit;
    background: #fff;
    cursor: pointer;
    color: #1a1a1a;
    box-sizing: border-box;
    transition: border-color .15s;
}
.lgg-datepicker-input:hover { border-color: #333; }
.lgg-datepicker-input:focus { outline: none; border-color: var(--lgg-accent); box-shadow: 0 0 0 2px rgba(3,83,38,.12); }

/* Flatpickr theming */
.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.selected:focus { background: var(--lgg-accent) !important; border-color: var(--lgg-accent) !important; }
.flatpickr-day:hover:not(.flatpickr-disabled):not(.selected) { background: #eaf4ee; }
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #aaa !important;
    background: #f0f0f0 !important;
    border-color: transparent !important;
    opacity: 1 !important;
    cursor: not-allowed;
    text-decoration: line-through;
}
.flatpickr-months .flatpickr-month,
.flatpickr-weekdays,
.flatpickr-weekday { background: var(--lgg-accent) !important; }
.flatpickr-current-month,
.flatpickr-current-month .cur-month,
.flatpickr-current-month input.cur-year,
span.flatpickr-weekday { color: #fff !important; fill: #fff !important; }
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month { fill: #fff !important; }
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg { fill: rgba(255,255,255,.7) !important; }
/* Dropdown mois : options lisibles (blanc sur vert → texte sombre sur fond blanc) */
.flatpickr-monthDropdown-months {
    background: var(--lgg-accent) !important;
    color: #fff !important;
    border: none !important;
}
.flatpickr-monthDropdown-months option,
.flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
    background: #fff !important;
    color: #1a1a1a !important;
}

/* ── Checkout : masquer le sélecteur de méthode de livraison WC ──────────
   Le service (C&C / Livraison) est déjà choisi via notre sélecteur custom.   */
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-shipping-totals.shipping { display: none !important; }

/* ── Panier (WC Blocks) : masquer la méthode d'expédition dans la sidebar ── */
.wc-block-components-totals-shipping,
.wc-block-cart__totals-shipping { display: none !important; }

/* Time slots */
.lgg-time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lgg-time-btn {
    padding: 8px 16px;
    border: 1.5px solid var(--lgg-border);
    border-radius: 4px;
    background: #fff;
    font-family: inherit;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    transition: border-color .1s, background .1s, color .1s;
    line-height: 1;
}
.lgg-time-btn:hover { border-color: var(--lgg-accent); color: var(--lgg-accent); }
.lgg-time-btn.is-active { border-color: var(--lgg-accent); background: var(--lgg-accent); color: #fff; }

/* Hints & error */
.lgg-slot-hint { font-size: .8125rem; color: #767676; margin: 4px 0 0; }
.lgg-slot-hint--warn { color: #b91c1c; }
.lgg-slot-error {
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 4px;
    color: #b91c1c;
    font-size: .875rem;
    font-weight: 500;
}

/* Mobile */
@media (max-width: 576px) {
    .lgg-service-selector { grid-template-columns: 1fr 1fr; }
    .lgg-slot-picker-body { padding: 14px 16px; gap: 14px; }
    .lgg-slot-picker-heading { padding: 14px 16px 12px; }
}
