/* Le header de lh-style.css est en position:fixed et son logo deborde sous la
   barre : sans cette reserve, le contenu passe dessous. */
.page-content { min-height: 60vh; padding: 150px 0 40px; }

@media (max-width: 768px) {
    .page-content { padding-top: 110px; }
}
.flash-error { background: #f8d7da; color: #721c24; padding: 12px 20px; border-radius: 4px; margin: 20px auto; max-width: 900px; }
.flash-success { background: #d4edda; color: #155724; padding: 12px 20px; border-radius: 4px; margin: 20px auto; max-width: 900px; }

.shop-promo { max-width: 1100px; margin: 0 auto 32px; text-align: left; }
.shop-promo__eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; color: #777; margin-bottom: 4px; }
.shop-promo__title { margin: 0 0 12px; }
.shop-promo__text { font-size: 16px; margin-bottom: 20px; }
.shop-promo__image { max-width: 100%; border-radius: 6px; display: block; }

/* .bodyHome reste sur ces pages pour la famille de texte et la largeur de .container ; seul son fond #ded0ca est repris. */
body.shop-2026 { background: #fff; }

.shop-page { max-width: var(--hp-max); margin: 0 auto; }
.shop-crumbs { font-size: 14px; color: #6d635e; margin-bottom: 16px; }
.shop-crumbs a { color: #2a2320; text-decoration: none; }
.shop-crumbs a:hover { text-decoration: underline; }
.shop-crumbs__sep { margin: 0 8px; }
.shop-crumbs__current { color: #6d635e; }
.shop-title { text-transform: uppercase; text-align: left; letter-spacing: 0.04em; margin: 0 0 32px; }

.catalog-grid, .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0 auto; }
.catalog-grid__promo { grid-column: 1 / -1; }
.product-card { text-align: left; }
.product-card__media { position: relative; display: block; }
.product-card__badge { position: absolute; top: 10px; right: 10px; background: #b3202a; color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 10px; border-radius: 3px; }
.product-card__badge--preorder { background: #6a4a12; }
.product-card .price s { color: #999; font-weight: normal; margin-right: 6px; }
.product-card img { width: 100%; height: 320px; object-fit: contain; display: block; }
.product-card__title { font-size: 17px; margin: 14px 0 6px; }
.product-card__title a { color: #2a2320; text-decoration: none; }
.product-card__title a:hover { text-decoration: underline; }
/* Pas de troncature serveur : la description porte du HTML administrable. Les enfants
   passent en inline, sinon la boite n'a aucune ligne propre a compter. */
.product-card__desc { font-size: 13px; line-height: 1.45; color: #6d635e; margin-bottom: 10px; max-height: 2.9em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card__desc > * { display: inline; margin: 0; }
.product-card .price { font-weight: bold; color: #2a2320; font-size: 18px; margin: 0; }

.lang-flag { display: block; width: 22px; line-height: 0; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.85); }
.lang-flag svg { width: 100%; height: auto; display: block; }
.out-of-stock-badge { display: inline-block; background: #999; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-top: 6px; }
/* Mention legale (article L216-1) et pas un ornement : lisible, non grisee comme un badge de stock. */
.preorder-badge { display: inline-block; color: #6a4a12; font-size: 12px; margin-top: 4px; }
.preorder-notice { max-width: 900px; margin: 12px auto; padding: 12px 14px; border-left: 4px solid #b3202a; background: #fdf6ec; color: #1a1a1a; font-size: 14px; line-height: 1.5; text-align: left; }

.category-nav { margin: 0 auto 28px; }
.category-nav__label { font-size: 20px; color: var(--c-ink, #2a2320); margin: 0 0 10px; }
.category-nav__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.category-nav a { display: inline-block; padding: 7px 18px; border: 1px solid var(--c-ink, #2a2320); border-radius: 6px; background: #fff; color: #2a2320; font-size: 13px; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.category-nav a.active { background: #2a2320; border-color: #2a2320; color: #fff; }

.product-detail { max-width: var(--hp-max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
/* lh-style.css pose "overflow: hidden" sur tout .container-fluid, donc sur notre <main>,
   ce qui neutralise "position: sticky" dans le contenu ; leve pour la refonte seulement. */
body.shop-2026 .page-content { overflow: visible; }

/* Collante faute d'images : la base n'a qu'un visuel par produit, donc sans effet des qu'une galerie est saisie. */
.product-gallery { position: sticky; top: calc(var(--h-entete, 128px) + 16px); }
.product-gallery__main { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.product-gallery__main img { width: 100%; border-radius: 6px; display: block; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.product-gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: 6px; background: none; line-height: 0; cursor: pointer; }
.product-gallery__thumb.is-current { border-color: #2a2320; }
/* La galerie entiere est dans le DOM : ce masquage seul rend la cinquieme case a la tuile. */
.product-gallery__thumbs .product-gallery__thumb:nth-child(n+5) { display: none; }
.product-gallery__thumbs img { width: 100%; height: 78px; object-fit: cover; border-radius: 4px; display: block; }
.product-gallery__more { display: flex; align-items: center; justify-content: center; text-align: center; background: #e7ddd4; border: 0; border-radius: 4px; font-size: 12px; color: #2a2320; text-decoration: none; padding: 4px; cursor: pointer; }
.product-gallery__main:focus-visible,
.product-gallery__thumb:focus-visible,
.product-gallery__more:focus-visible { outline: 3px solid #b3202a; outline-offset: 2px; }

.gallery-viewer { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 64px 72px; background: rgba(20, 16, 14, 0.94); }
.gallery-viewer__image { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; background: #fff; }
.gallery-viewer__close,
.gallery-viewer__nav { position: absolute; border: 1px solid rgba(255, 255, 255, 0.78); border-radius: 4px; background: rgba(20, 16, 14, 0.8); color: #fff; line-height: 1; cursor: pointer; }
.gallery-viewer__close { top: 14px; right: 18px; width: 44px; height: 44px; font-size: 28px; }
.gallery-viewer__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 64px; font-size: 34px; }
.gallery-viewer__nav--prev { left: 14px; }
.gallery-viewer__nav--next { right: 14px; }
.gallery-viewer__count { position: absolute; left: 0; right: 0; bottom: 16px; margin: 0; text-align: center; color: #fff; font-size: 14px; }
.gallery-viewer :focus-visible { outline: 3px solid #f2c94c; outline-offset: 2px; }
body.gallery-viewer-open { overflow: hidden; }
.product-lifestyle { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.product-lifestyle img { width: 100%; border-radius: 6px; display: block; }

.product-info { text-align: center; }
.product-info .shop-crumbs { text-align: left; }
.product-info__badge { display: inline-block; background: #7c5260; color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 12px; margin-bottom: 12px; }
.product-info__badge--preorder { background: #6a4a12; color: #fff; }
.product-info__title { text-transform: uppercase; margin: 0 0 12px; }
/* Extrait de la meme description que l'onglet « Description » deroule : la fiche n'a qu'un champ de texte. */
.product-info__desc { color: #6d635e; font-size: 15px; line-height: 1.5; margin-bottom: 20px; max-height: 4.6em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.product-info__desc > * { display: inline; margin: 0; }
.product-info__stock { font-size: 14px; margin: 12px 0; }
.product-qty { display: inline-flex; align-items: center; }
.product-qty button { width: 38px; height: 38px; border: none; background: #281f18; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
/* Fleches natives masquees, absentes de la maquette ; type="number" reste, pour le pave numerique mobile. */
.product-qty input { width: 48px; height: 38px; text-align: center; border: none; background: var(--c-beige, #e7ddd4); color: var(--c-ink, #2a2320); font-size: 15px; -moz-appearance: textfield; }
.product-qty input::-webkit-outer-spin-button,
.product-qty input::-webkit-inner-spin-button { -webkit-appearance: none; display: none; margin: 0; }
/* Prix a gauche et bouton a droite sur une ligne ; le prix courant passe sous le prix barre grace a sa base de 100 %. */
.product-price-row { display: flex; align-items: center; gap: 24px; text-align: left; margin-top: 24px; padding-top: 22px; border-top: 1px solid #cbbfb4; }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; min-width: 140px; }
.product-price__compare { color: #6d635e; }
.product-price__discount { background: #b3202a; color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 3px; }
.product-price__current { flex: 0 0 100%; font-size: 30px; font-weight: bold; }
.product-detail form { margin-top: 20px; }
.product-add__submit { display: block; width: 100%; margin-top: 16px; padding: 16px; background: #2a2320; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 4px; }
.product-add__submit:hover { background: #453a35; color: #fff; }
.product-price-row .product-add__submit { flex: 1 1 auto; width: auto; min-width: 0; height: 55px; margin: 0; padding: 0 18px; }

.product-tabs { margin: 32px 0 0; text-align: left; }
.product-tabs__radio { position: absolute; width: 1px; height: 1px; opacity: 0; }
.product-tabs__bar { display: flex; gap: 36px; border-bottom: 1px solid #cbbfb4; flex-wrap: wrap; }
.product-tabs__bar label { position: relative; padding: 12px 0; margin-bottom: -1px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: #6d635e; cursor: pointer; }
/* Marque de 80 px ancree a gauche de l'onglet, et non un souligne de la largeur du libelle. */
.product-tabs__bar label::after { content: ''; position: absolute; left: 0; bottom: 0; width: 80px; height: 2px; background: transparent; }
.product-tabs__panel { display: none; padding: 24px 0; line-height: 1.6; }
.product-tabs__radio:focus-visible ~ .product-tabs__bar { outline: 2px solid #b03f3b; outline-offset: 3px; }
#tab-description:checked ~ .product-tabs__bar label[for="tab-description"],
#tab-contenu:checked ~ .product-tabs__bar label[for="tab-contenu"],
#tab-livraison:checked ~ .product-tabs__bar label[for="tab-livraison"],
#tab-videos:checked ~ .product-tabs__bar label[for="tab-videos"] { color: #2a2320; }
#tab-description:checked ~ .product-tabs__bar label[for="tab-description"]::after,
#tab-contenu:checked ~ .product-tabs__bar label[for="tab-contenu"]::after,
#tab-livraison:checked ~ .product-tabs__bar label[for="tab-livraison"]::after,
#tab-videos:checked ~ .product-tabs__bar label[for="tab-videos"]::after { background: #2a2320; }
#tab-description:checked ~ .product-tabs__panels #panel-description,
#tab-contenu:checked ~ .product-tabs__panels #panel-contenu,
#tab-livraison:checked ~ .product-tabs__panels #panel-livraison,
#tab-videos:checked ~ .product-tabs__panels #panel-videos { display: block; }

/* Defile sur place, mais sur un nombre ENTIER de lignes : une vignette coupee se lit comme un defaut, pas comme un appel a faire defiler. D'ou la ligne fixe, le titre borne et l'accrochage. */
.product-videos {
    --video-ligne: 104px;
    --video-ecart: 12px;
    --video-visibles: 3;
    max-height: calc(var(--video-visibles) * var(--video-ligne) + (var(--video-visibles) - 1) * var(--video-ecart));
    overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scroll-snap-type: y proximity;
    list-style: none; margin: 0; padding: 0; display: grid; gap: var(--video-ecart);
    /* Une grille se dimensionne avant l'ascenseur vertical : sans minmax(0, 1fr) elle deborde de sa largeur, et l'ascenseur horizontal qui suit mange 15 px de hauteur. */
    grid-template-columns: minmax(0, 1fr);
}
.product-videos:focus-visible { outline: 2px solid #b03f3b; outline-offset: 3px; }
.product-videos__item { height: var(--video-ligne); scroll-snap-align: start; }
.product-videos__link { display: flex; height: 100%; gap: 14px; align-items: center; text-decoration: none; color: inherit; padding: 6px; border: 1px solid #e7ded6; }
.product-videos__link:hover, .product-videos__link:focus-visible { background: #f6f1ec; }
.product-videos__thumb { width: 120px; height: 90px; object-fit: cover; display: block; flex: none; }
.product-videos__text { min-width: 0; }
.product-videos__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.35; }
.product-videos__cue { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: #6d635e; }

.product-related { max-width: var(--hp-max); margin: 56px auto 0; }
.product-related__title { text-transform: uppercase; text-align: center; margin: 0 0 28px; }

.tunnel-steps { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: -16px 0 32px; }
.tunnel-steps__item { display: flex; align-items: center; gap: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: #a2968e; }
.tunnel-steps__num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; font-size: 12px; }
.tunnel-steps__item--faite { color: var(--c-ink-soft, #6d635e); }
.tunnel-steps__item--courante { color: var(--c-ink, #2a2320); font-weight: 700; }
.tunnel-steps__item--courante .tunnel-steps__num { background: var(--c-ink, #2a2320); border-color: var(--c-ink, #2a2320); color: #fff; }

.tunnel-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.tunnel-layout--seul { grid-template-columns: minmax(0, 1fr); }
/* L'en-tete est collant, opaque et par-dessus (z-index 1030) : un offset plus court glisse le haut du bloc dessous. */
.tunnel-aside { position: sticky; top: calc(var(--h-entete, 128px) + 16px); }
.tunnel-summary { background: var(--c-beige, #e7ddd4); padding: 24px; border-radius: 6px; }
.tunnel-summary__title { margin: 0 0 18px; font-size: 20px; text-transform: uppercase; letter-spacing: 0.04em; }
.tunnel-summary__row { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 10px; font-size: 15px; }
.tunnel-summary__row--remise { color: #7a5330; }
.tunnel-summary__row--total { padding-top: 12px; border-top: 1px solid #cbbfb4; font-size: 18px; }
.tunnel-summary__note { margin: 10px 0 0; color: #5b524d; font-size: 14px; line-height: 1.45; }
.tunnel-summary__cta { display: block; width: 100%; text-align: center; text-decoration: none; padding: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.tunnel-summary__cta:hover, .tunnel-summary__cta:focus { color: #fff; text-decoration: none; }
.tunnel-section__title { margin: 32px 0 4px; font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.tunnel-notice { margin: 24px 0; padding: 16px 18px; background: var(--c-beige, #e7ddd4); border-left: 4px solid #b3202a; font-size: 15px; }
.tunnel-back { margin-top: 20px; font-size: 14px; }
.tunnel-back a { color: var(--c-ink, #2a2320); }
.tunnel-empty { padding: 48px 0 64px; }
.tunnel-empty p { font-size: 18px; color: var(--c-ink-soft, #6d635e); margin-bottom: 8px; }
.tunnel-empty .btn-primary-shop { display: inline-block; text-decoration: none; }
.tunnel-empty .btn-primary-shop:hover, .tunnel-empty .btn-primary-shop:focus { color: #fff; text-decoration: none; }
.tunnel-promo { display: flex; gap: 8px; margin-top: 20px; }
.tunnel-promo input { flex: 1 1 auto; min-width: 0; padding: 9px 10px; border: 1px solid #cbbfb4; border-radius: 4px; background: #fff; }
.tunnel-promo button { flex: 0 0 auto; padding: 9px 16px; border: 1px solid var(--c-ink, #2a2320); border-radius: 4px; background: transparent; color: var(--c-ink, #2a2320); font-size: 13px; text-transform: uppercase; }

/* Tableau sans bordures : il reste un tableau de donnees, mais le filet par defaut
   de Bootstrap ecrase la respiration demandee autour des vignettes. */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { padding: 0 12px 10px; border-bottom: 1px solid #cbbfb4; font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-ink-soft, #6d635e); text-align: left; }
.cart-table td { padding: 20px 12px; border: 0; border-bottom: 1px solid #ece6e0; text-align: left; vertical-align: middle; }
.cart-table--compact td { padding: 14px 12px; }
.cart-line__media { width: 100px; }
.cart-line__media img { width: 88px; height: 88px; object-fit: contain; display: block; background: #f7f4f1; border-radius: 4px; }
.cart-table--compact .cart-line__media { width: 80px; }
.cart-table--compact .cart-line__media img { width: 64px; height: 64px; }
.cart-line__name { display: block; font-weight: 700; color: var(--c-ink, #2a2320); text-decoration: none; }
.cart-line__variant { display: block; font-size: 13px; color: var(--c-ink-soft, #6d635e); }
.cart-line__alerte { margin: 6px 0 0; font-size: 12px; color: #a3332b; max-width: 180px; }
.cart-line__unit, .cart-line__total { white-space: nowrap; }
.cart-line__total { font-weight: 700; }
.cart-line__remove { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--c-ink-soft, #6d635e); font-size: 20px; line-height: 1; cursor: pointer; }
.cart-line__remove:hover, .cart-line__remove:focus { background: var(--c-beige, #e7ddd4); color: var(--c-ink, #2a2320); }

.cart-qty { display: inline-flex; align-items: center; gap: 6px; }
.cart-qty input { width: 58px; height: 38px; text-align: center; border: none; background: var(--c-beige, #e7ddd4); color: var(--c-ink, #2a2320); font-size: 15px; }
.cart-qty__apply { height: 38px; padding: 0 10px; border: 1px solid #cbbfb4; background: #fff; color: var(--c-ink, #2a2320); font-size: 12px; }

.checkout-form label, .tracking-form label { display: block; margin: 14px 0 4px; font-weight: 600; }
.checkout-form input, .checkout-form select, .tracking-form input { width: 100%; padding: 10px; border: 1px solid #cbbfb4; border-radius: 4px; background: #fff; }
.checkout-form__duo { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 16px; }
.checkout-form__hint { margin: 6px 0 0; color: var(--c-ink-soft, #6d635e); font-size: 14px; line-height: 1.45; }
.checkout-form__payments { border: 0; padding: 0; margin: 0; }
.checkout-form__payments legend { border: 0; margin: 14px 0 4px; padding: 0; font-size: 15px; font-weight: 600; }
.checkout-form__payment { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 400; }
.checkout-form__payment input { width: auto; }
.checkout-form__submit { display: block; width: 100%; padding: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.pays-combo { position: relative; }
/* Plus specifique que .checkout-form input (#cbbfb4 a 1,8:1) ; opacity 1 car Firefox eclaircit le placeholder sous 4,5:1. */
.checkout-form .pays-combo__saisie { border-color: #6d635e; }
.pays-combo__saisie::placeholder { color: #6d635e; opacity: 1; }
.pays-combo__saisie:focus { outline: 2px solid #2a2320; outline-offset: 1px; }
.pays-combo__liste { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; max-height: 264px; overflow-y: auto; list-style: none; margin: 2px 0 0; padding: 0; border: 1px solid #6d635e; border-radius: 4px; background: #fff; box-shadow: 0 6px 18px rgba(42, 35, 32, 0.18); }
.pays-combo__option, .pays-combo__aucun { padding: 9px 12px; color: var(--c-ink, #2a2320); font-size: 15px; line-height: 1.35; cursor: pointer; }
.pays-combo__option:hover { background: var(--c-beige, #e7ddd4); }
/* Fond plein et non une simple teinte : l'entree survolee au clavier doit se voir, pas seulement s'annoncer. */
.pays-combo__option--actif, .pays-combo__option--actif:hover { background: #2a2320; color: #fff; }
.pays-combo__option[aria-selected="true"] { font-weight: 700; }
.pays-combo__aucun { color: #6d635e; cursor: default; }
.pays-combo__ecart { margin: 6px 0 0; color: #93261e; font-size: 14px; font-weight: 600; line-height: 1.45; }
.checkout-form__repli { margin: 12px 0 0; }
.checkout-form__pays-valider { padding: 10px 16px; border: 1px solid var(--c-ink, #2a2320); border-radius: 4px; background: #fff; color: var(--c-ink, #2a2320); font-size: 13px; }
.checkout-form__attente { margin: 16px 0 0; color: #93261e; font-size: 15px; font-weight: 600; }
/* Fond assombri plutot qu'opacite : a 0.5 le libelle blanc tombe sous 4,5:1. */
.checkout-form__submit[disabled] { background: #6d635e; cursor: not-allowed; }
.checkout-form__submit[disabled]:hover, .checkout-form__submit[disabled]:focus { background: #6d635e; }

.tracking-form { max-width: 460px; }
.tracking-form__intro { color: var(--c-ink-soft, #6d635e); font-size: 15px; }
.tracking-miss { max-width: 560px; margin: 0 0 28px; padding: 18px 20px; border-left: 4px solid #b3202a; background: #fdecec; color: #1a1a1a; font-size: 15px; line-height: 1.5; }
.tracking-miss p { margin: 0 0 8px; }
.tracking-miss p:last-child { margin-bottom: 0; }
.tracking-miss__titre { font-weight: 700; font-size: 17px; }
.tracking-miss a { color: #8a1720; text-decoration: underline; }

.order-number { margin: 0 0 12px; font-size: 26px; }
.order-number__label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-ink-soft, #6d635e); }
.order-status { font-size: 16px; }
.order-state { display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 3px; background: var(--c-ink, #2a2320); color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.order-state--alerte { background: #b3202a; }
.order-next { padding-left: 20px; line-height: 1.7; }
.order-lines { list-style: none; padding: 0; margin: 0 0 16px; }
.order-lines__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 10px 0; border-bottom: 1px solid #cbbfb4; font-size: 14px; }
.order-lines__qty { grid-column: 1; color: var(--c-ink-soft, #6d635e); font-size: 13px; }
.order-lines__total { grid-column: 2; grid-row: 1; text-align: right; font-weight: 700; }
.order-lines .preorder-badge { grid-column: 1 / -1; }

.cart-table .preorder-badge { display: block; }
.tunnel-summary .preorder-notice { max-width: none; margin: 16px 0; }
/* Sombre comme .pg-btn--sombre du theme 2026 : le vert venait de lh-style.css, hors charte. */
.btn-primary-shop { background: var(--c-ink, #2a2320); color: #fff; border: none; padding: 12px 28px; border-radius: 4px; font-weight: bold; cursor: pointer; margin-top: 20px; }
.btn-primary-shop:hover,
.btn-primary-shop:focus { background: #000; }

.page-simple { max-width: 800px; margin: 0 auto; }
.page-simple .hero-image { width: 100%; border-radius: 8px; margin-bottom: 24px; }

/* Pleine largeur : le HTML libre porte ses propres grilles Bootstrap. */
.page-rich img { max-width: 100%; }
.page-rich .row { margin-bottom: 40px; }
.page-rich .hero-anchors { text-align: center; text-transform: uppercase; letter-spacing: 2px; margin: 10px 0 30px; }
.page-rich .hero-anchors a { display: inline-block; margin: 0 14px; text-decoration: none; }
.page-rich iframe { max-width: 100%; }

/* Bouton d'achat aussi utilise depuis le HTML libre edite en admin. */
.btn-order {
    display: inline-block;
    min-width: 300px;
    max-width: 100%;
    padding: 16px 28px;
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #fff !important;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none !important;
    border: none;
    border-radius: 5px;
    background: var(--c-ink, #2a2320);
    transition: background 0.4s ease;
}
.btn-order:hover, .btn-order:focus { background: #000; color: #fff !important; }
/* Fond calcule a ~#544F4D sous le voile : sans lisere, la limite du bouton tombe a 1,96:1 pour 3:1 exige (WCAG 1.4.11). */
.readable-panel .btn-order { border: 2px solid var(--c-beige, #e7ddd4); }

/* Encart de lecture sur les pages a fond illustre tres charge (Apogée, artbooks) :
   sans ce voile, le texte blanc devient illisible par-dessus la photo de fond. */
.readable-panel {
    background: rgba(0, 0, 0, 0.62);
    padding: 24px 28px;
    border-radius: 6px;
}
.bodyBloodflowers .readable-panel { background: rgba(255, 255, 255, 0.75); }

@media (max-width: 1100px) {
    .catalog-grid, .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 900px) {
    .tunnel-layout { grid-template-columns: 1fr; gap: 28px; }
    .tunnel-aside { position: static; }
    .checkout-form__duo { grid-template-columns: 1fr; }
}

/* Le tableau du panier passe en fiches : a six colonnes, les prix se brisent
   caractere par caractere sur un telephone. Les en-tetes tombent avec la grille. */
@media (max-width: 620px) {
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; }
    .cart-table thead { display: none; }
    .cart-table tr { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; column-gap: 14px; row-gap: 8px; padding: 18px 0; border-bottom: 1px solid #ece6e0; align-items: center; }
    .cart-table td { border: 0; padding: 0; }
    .cart-line__media { grid-column: 1; grid-row: 1 / span 3; width: auto; }
    .cart-line__media img { width: 76px; height: 76px; }
    .cart-table tr > td:nth-child(2) { grid-column: 2 / -1; grid-row: 1; }
    .cart-line__unit { grid-column: 2; grid-row: 2; }
    .cart-line__qty { grid-column: 2; grid-row: 3; }
    .cart-line__actions { grid-column: 3; grid-row: 2; text-align: right; }
    .cart-line__total { grid-column: 3; grid-row: 3; text-align: right; }
    .cart-table--compact tr { grid-template-columns: 64px minmax(0, 1fr) auto; }
    .cart-table--compact .cart-line__media img { width: 64px; height: 64px; }
    .cart-table--compact .cart-line__total { grid-column: 3; grid-row: 1; }
}

@media (max-width: 860px) {
    .catalog-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail { grid-template-columns: 1fr; gap: 28px; }
    .product-gallery { position: static; }
    /* Les pastilles defilent plutot que de casser la mise en page : le filtre reste sur une ligne. */
    .category-nav__pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
}

@media (max-width: 480px) {
    .catalog-grid, .product-grid { grid-template-columns: 1fr; }
    .product-card img { height: 280px; }
    .product-gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
    /* Fleches sous l'image : sur les cotes, l'agrandissement tombait sous la largeur de la fiche. */
    .gallery-viewer { padding: 54px 10px 78px; }
    .gallery-viewer__nav { top: auto; bottom: 16px; transform: none; width: 60px; height: 44px; font-size: 28px; }
    .gallery-viewer__count { bottom: 28px; }
    .product-lifestyle { grid-template-columns: 1fr; }
    .product-tabs__bar { gap: 20px; }
}
