/* ═══════════════════════════════════════════════
   Header2Pro — Front CSS v3.1
   Design : moderne, épuré, intuitif
═══════════════════════════════════════════════ */

/* ── Masquer header et footer natifs PrestaShop/Elementor ── */
header#header   { visibility: hidden !important; height: 0 !important; overflow: hidden !important; margin: 0 !important; padding: 0 !important; }
footer#footer   { display: none !important; }
/* Mais laisser les modaux blockcart visibles même s'ils sont dans le header natif */
header#header #blockcart-modal,
header#header .blockcart-modal,
header#header [id*="blockcart"] { visibility: visible !important; height: auto !important; overflow: visible !important; }
/* Masquer le bloc panier natif et footer natif */
#blockcart-wrapper,
.blockcart-wrapper,
#_mobile_cart,
div.blockcart,
div.blockcart.cart-preview,
div.blockcart.cart-preview.inactive,
div.blockcart.cart-preview.active { display: none !important; }
footer#footer,
#footer { display: none !important; }
/* Modal blockcart : masqué par défaut, PS le montre via JS quand nécessaire */
#blockcart-modal { display: none; }
#blockcart-modal.in,
#blockcart-modal.show { display: block !important; }

:root {
    --h2p-bg:            #ffffff;
    --h2p-color:         #1a1a2e;
    --h2p-accent:        #2fb5d2;
    --h2p-accent-dark:   #1a9ab8;
    --h2p-shadow-sm:     0 2px 8px rgba(0,0,0,.06);
    --h2p-shadow-md:     0 8px 32px rgba(0,0,0,.12);
    --h2p-shadow-lg:     0 16px 48px rgba(0,0,0,.16);
    --h2p-radius-sm:     6px;
    --h2p-radius-md:     10px;
    --h2p-ease:          cubic-bezier(.4,0,.2,1);
    --h2p-duration:      .22s;
    --h2p-footer-bg:     #1a1a2e;
    --h2p-footer-color:  #9090a8;
    --h2p-footer-accent: #2fb5d2;
    --h2p-z-header:      1000;
    --h2p-z-drop:        1010;
    --h2p-z-mobile:      1100;
    --h2p-z-overlay:     1090;
    --h2p-z-search:      1050;
}

*, *::before, *::after { box-sizing: border-box; }

/* ═══════════════════════════════════
   TOP BAR
═══════════════════════════════════ */
.h2p-topbar {
    width: 100%;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .01em;
    position: relative;
    z-index: var(--h2p-z-header);
}
.h2p-topbar-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 7px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.h2p-topbar-left,
.h2p-topbar-right { display: flex; align-items: center; gap: 18px; }
.h2p-topbar a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    opacity: .8;
    transition: opacity var(--h2p-duration) var(--h2p-ease);
}
.h2p-topbar a:hover { opacity: 1; }

/* ═══════════════════════════════════
   HEADER
═══════════════════════════════════ */
.h2p-header {
    background: var(--h2p-bg);
    color: var(--h2p-color);
    width: 100%;
    position: relative;
    z-index: var(--h2p-z-header);
    border-bottom: 1px solid rgba(0,0,0,.06);
    transition: box-shadow var(--h2p-duration) var(--h2p-ease),
                background var(--h2p-duration) var(--h2p-ease);
}
.h2p-header.h2p-sticky { position: sticky; top: 0; }
.h2p-header.h2p-is-sticky {
    box-shadow: var(--h2p-shadow-md);
    border-bottom-color: transparent;
}
.h2p-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 68px;
}
.h2p-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; }

/* ── Logo ── */
.h2p-logo { flex-shrink: 0; }
.h2p-logo a { display: inline-flex; align-items: center; text-decoration: none; }
.h2p-logo img { max-height: 44px; width: auto; display: block; }
.h2p-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--h2p-color);
    letter-spacing: -.02em;
}

/* ═══════════════════════════════════
   NAVIGATION DESKTOP
═══════════════════════════════════ */
.h2p-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 100%;
}

.h2p-nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Fine ligne de séparation verticale entre les catégories du menu haut */
.h2p-nav-item + .h2p-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 18px;
    background: currentColor;
    opacity: .30;
    pointer-events: none;
}

.h2p-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    height: 100%;
    color: var(--h2p-color);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
    position: relative;
    transition: color var(--h2p-duration) var(--h2p-ease);
}

/* Barre d'accentuation au survol */
.h2p-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--h2p-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--h2p-duration) var(--h2p-ease);
    border-radius: 2px 2px 0 0;
}
.h2p-nav-link:hover,
.h2p-nav-item:hover > .h2p-nav-link {
    color: var(--h2p-accent);
}
.h2p-nav-link:hover::after,
.h2p-nav-item:hover > .h2p-nav-link::after {
    transform: scaleX(1);
}

.h2p-chevron {
    flex-shrink: 0;
    transition: transform var(--h2p-duration) var(--h2p-ease);
    opacity: .55;
}
.h2p-nav-item:hover > .h2p-nav-link .h2p-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* ── Dropdown niveau 1 ── */
.h2p-dropdown {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 220px;
    background: #fff;
    border-radius: var(--h2p-radius-md);
    box-shadow: var(--h2p-shadow-lg);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    z-index: var(--h2p-z-drop);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--h2p-duration) var(--h2p-ease),
                transform var(--h2p-duration) var(--h2p-ease),
                visibility var(--h2p-duration) var(--h2p-ease);
    border: 1px solid rgba(0,0,0,.06);
}

/* Petit triangle */
.h2p-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 6px;
    background: #fff;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    filter: drop-shadow(0 -2px 2px rgba(0,0,0,.06));
}

.h2p-has-drop:hover > .h2p-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.h2p-drop-item {
    position: relative;
}
.h2p-drop-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 18px;
    color: #2a2a3e;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    gap: 8px;
    transition: background var(--h2p-duration) var(--h2p-ease),
                color var(--h2p-duration) var(--h2p-ease),
                padding-left var(--h2p-duration) var(--h2p-ease);
    white-space: nowrap;
}
.h2p-drop-item > a:hover {
    background: rgba(47,181,210,.16);
    color: var(--h2p-accent);
    padding-left: 22px;
}

/* Fine ligne de séparation entre chaque catégorie du déroulant */
.h2p-drop-item + .h2p-drop-item > a {
    border-top: 1px solid rgba(0,0,0,.12);
}

/* ── Sous-dropdown niveau 2 ── */
.h2p-subdrop {
    position: absolute;
    left: calc(100% + 4px);
    top: -8px;
    min-width: 200px;
    background: #fff;
    border-radius: var(--h2p-radius-md);
    box-shadow: var(--h2p-shadow-lg);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    z-index: var(--h2p-z-drop);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--h2p-duration) var(--h2p-ease),
                transform var(--h2p-duration) var(--h2p-ease),
                visibility var(--h2p-duration) var(--h2p-ease);
    /* Léger délai avant fermeture : laisse le temps d'atteindre le sous-menu */
    transition-delay: .25s;
    transform: translateX(-4px);
    border: 1px solid rgba(0,0,0,.06);
}
/* Pont invisible couvrant l'espace parent → sous-menu (évite la fermeture en diagonale) */
.h2p-subdrop::before {
    content: '';
    position: absolute;
    top: 0;
    left: -14px;
    width: 14px;
    height: 100%;
}
.h2p-has-sub:hover > .h2p-subdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s; /* ouverture immédiate */
}
.h2p-subdrop li a {
    display: block;
    padding: 9px 18px;
    color: #2a2a3e;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    transition: background var(--h2p-duration) var(--h2p-ease),
                color var(--h2p-duration) var(--h2p-ease),
                padding-left var(--h2p-duration) var(--h2p-ease);
}
.h2p-subdrop li a:hover {
    background: rgba(47,181,210,.16);
    color: var(--h2p-accent);
    padding-left: 22px;
}
/* Fine ligne de séparation entre chaque catégorie du sous-déroulant */
.h2p-subdrop li + li > a {
    border-top: 1px solid rgba(0,0,0,.12);
}

/* Fine ligne de séparation entre catégories dans les colonnes du méga-menu */
.mega-column-links li + li > a {
    border-top: 1px solid rgba(0,0,0,.12);
    display: block;
}

/* ═══════════════════════════════════
   ACTIONS DROITE
═══════════════════════════════════ */
.h2p-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.h2p-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--h2p-color);
    text-decoration: none;
    transition: background var(--h2p-duration) var(--h2p-ease),
                color var(--h2p-duration) var(--h2p-ease),
                transform var(--h2p-duration) var(--h2p-ease);
}
.h2p-icon-btn:hover {
    background: rgba(0,0,0,.05);
    color: var(--h2p-accent);
    transform: translateY(-1px);
}
.h2p-icon-btn:active { transform: translateY(0); }

.h2p-cart-wrap { position: relative; display: inline-flex !important; visibility: visible !important; }
.h2p-badge-hidden { display: none !important; }
.h2p-cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    background: var(--h2p-accent);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
    border: 2px solid var(--h2p-bg);
    animation: h2p-pop .3s var(--h2p-ease);
}
@keyframes h2p-pop {
    0%   { transform: scale(0); }
    70%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ── Hamburger ── */
.h2p-mob-toggle { display: none; }
.h2p-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
    height: 22px;
}
.h2p-burger span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .3s var(--h2p-ease), opacity .3s var(--h2p-ease), width .3s var(--h2p-ease);
    transform-origin: center;
}
.h2p-mob-toggle[aria-expanded="true"] .h2p-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.h2p-mob-toggle[aria-expanded="true"] .h2p-burger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.h2p-mob-toggle[aria-expanded="true"] .h2p-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════
   RECHERCHE
═══════════════════════════════════ */
/* ── Modal recherche ── */
.h2p-search-modal {
    display: none !important;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(10,10,20,.55);
    backdrop-filter: blur(3px);
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}
.h2p-search-modal.h2p-open {
    display: flex !important;
}
.h2p-search-modal-inner {
    width: min(880px, 96vw);
    background: #fff;
    border-radius: var(--h2p-radius-md);
    box-shadow: var(--h2p-shadow-lg);
    overflow: hidden;
    animation: h2p-drop-in .2s var(--h2p-ease);
}
@keyframes h2p-drop-in {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.h2p-search-modal-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f5;
    color: #aaa;
}
.h2p-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--h2p-color);
    font-weight: 500;
    background: transparent;
}
.h2p-search-input::placeholder { color: #bbb; font-weight: 400; }
.h2p-search-modal-close {
    background: rgba(0,0,0,.06);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s;
}
.h2p-search-modal-close:hover { background: rgba(0,0,0,.12); }

/* Résultats */
.h2p-search-results {
    max-height: min(620px, 72vh);
    overflow-y: auto;
}
.h2p-sr-loading { padding: 16px 18px; color: #999; font-size: .85rem; }
.h2p-sr-empty   { padding: 20px 18px; color: #888; font-size: .88rem; text-align: center; }

.h2p-sr-list { list-style: none; margin: 0; padding: 6px 0; }

/* Une ligne = lien produit (flex) + colonne action */
.h2p-sr-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f5f5f9;
}
.h2p-sr-item:last-child { border-bottom: none; }
.h2p-sr-item:hover { background: rgba(47,181,210,.05); }

.h2p-sr-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 8px 11px 16px;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
    transition: background var(--h2p-duration) var(--h2p-ease);
}

.h2p-sr-item img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: var(--h2p-radius-sm);
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,.06);
    background: #fff;
}
.h2p-sr-no-img {
    width: 58px;
    height: 58px;
    background: #f3f4f8;
    border-radius: var(--h2p-radius-sm);
    flex-shrink: 0;
}
.h2p-sr-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.h2p-sr-name {
    font-size: .88rem;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ligne méta : marque · catégorie · référence */
.h2p-sr-meta {
    font-size: .74rem;
    color: #9a9aa8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.h2p-sr-sep { margin: 0 6px; opacity: .55; }
.h2p-sr-meta mark { background: rgba(47,181,210,.18); color: inherit; border-radius: 2px; }

/* Pastille de stock */
.h2p-sr-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .73rem;
    font-weight: 600;
    margin-top: 1px;
}
.h2p-sr-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: currentColor;
}
.h2p-sr-stock-in    { color: #1f9d55; }
.h2p-sr-stock-order { color: #d98317; }
.h2p-sr-stock-out   { color: #c0392b; }

/* Bloc prix aligné à droite du lien */
.h2p-sr-priceblock {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    flex-shrink: 0;
    padding-left: 10px;
}
.h2p-sr-price-old {
    font-size: .74rem;
    color: #b0b0be;
    text-decoration: line-through;
}

/* Colonne bouton */
.h2p-sr-actions {
    flex-shrink: 0;
    padding: 0 14px 0 4px;
}
.h2p-sr-add,
.h2p-sr-choose {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 104px;
    padding: 8px 12px;
    border: none;
    border-radius: var(--h2p-radius-sm);
    font-size: .78rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--h2p-duration) var(--h2p-ease), color var(--h2p-duration) var(--h2p-ease);
}
.h2p-sr-add {
    background: var(--h2p-accent);
    color: #fff;
}
.h2p-sr-add:hover { background: var(--h2p-accent-dark); }
.h2p-sr-add.h2p-sr-busy  { opacity: .65; cursor: wait; }
.h2p-sr-add.h2p-sr-added { background: #1f9d55; }
.h2p-sr-add.h2p-sr-error { background: #c0392b; }
.h2p-sr-choose {
    background: #f0f1f6;
    color: #555;
}
.h2p-sr-choose:hover { background: #e3e5ee; color: #222; }
.h2p-sr-name mark {
    background: rgba(47,181,210,.2);
    color: var(--h2p-accent-dark);
    border-radius: 2px;
    padding: 0 1px;
}
.h2p-sr-ref   { font-size: .75rem; color: #aaa; }
.h2p-sr-price { font-size: .85rem; font-weight: 700; color: var(--h2p-accent); }
.h2p-sr-more  {
    border-top: 1px solid #f0f0f5;
    padding: 11px 16px;
    text-align: center;
}
.h2p-sr-more a {
    color: var(--h2p-accent);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    transition: color var(--h2p-duration) var(--h2p-ease);
}
.h2p-sr-more a:hover { color: var(--h2p-accent-dark); }

/* Catégories suggérées */
.h2p-sr-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px 6px;
}
.h2p-sr-cat a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #f3f4f8;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    transition: background var(--h2p-duration) var(--h2p-ease), color var(--h2p-duration) var(--h2p-ease);
}
.h2p-sr-cat a:hover {
    background: rgba(47,181,210,.14);
    color: var(--h2p-accent-dark);
}
.h2p-sr-cat a mark {
    background: transparent;
    color: inherit;
    font-weight: 700;
}

/* Sélection clavier (flèches) */
.h2p-sr-item a.h2p-sr-active { background: rgba(47,181,210,.1); }
.h2p-sr-cat a.h2p-sr-active {
    background: rgba(47,181,210,.18);
    color: var(--h2p-accent-dark);
}
.h2p-sr-more a.h2p-sr-active { text-decoration: underline; }

/* ═══════════════════════════════════
   MENU MOBILE
═══════════════════════════════════ */
.h2p-mobile-panel {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 310px;
    max-width: 90vw;
    height: 100% !important;
    background: #fff;
    z-index: 999998 !important;
    transform: translateX(-100%) !important;
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    box-shadow: 4px 0 32px rgba(0,0,0,.18);
    display: flex !important;
    flex-direction: column;
}
.h2p-mobile-panel.h2p-open { transform: translateX(0) !important; }

.h2p-mob-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f5;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -.01em;
    flex-shrink: 0;
    background: var(--h2p-color);
    color: #fff;
}
.h2p-mob-close {
    background: rgba(255,255,255,.12);
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #fff;
    display: flex;
    border-radius: 50%;
    transition: background var(--h2p-duration) var(--h2p-ease);
}
.h2p-mob-close:hover { background: rgba(255,255,255,.22); }

.h2p-mob-search {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f5;
    flex-shrink: 0;
}
.h2p-mob-search form {
    display: flex;
    gap: 0;
    border: 1.5px solid #e2e2ee;
    border-radius: 50px;
    overflow: hidden;
    transition: border-color var(--h2p-duration) var(--h2p-ease);
}
.h2p-mob-search form:focus-within { border-color: var(--h2p-accent); }
.h2p-mob-search input {
    flex: 1;
    border: none;
    padding: 9px 14px;
    font-size: .88rem;
    outline: none;
    background: transparent;
    color: var(--h2p-color);
}
.h2p-mob-search button {
    background: var(--h2p-accent);
    border: none;
    padding: 9px 14px;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    transition: background var(--h2p-duration) var(--h2p-ease);
}
.h2p-mob-search button:hover { background: var(--h2p-accent-dark); }

.h2p-mob-nav { flex: 1; padding: 8px 0; }

.h2p-mob-item { border-bottom: 1px solid #f5f5fa; }
.h2p-mob-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: var(--h2p-color);
    text-decoration: none;
    font-size: .92rem;
    font-weight: 600;
    transition: background var(--h2p-duration) var(--h2p-ease),
                color var(--h2p-duration) var(--h2p-ease);
}
.h2p-mob-link:hover,
.h2p-mob-link:focus { background: rgba(47,181,210,.06); color: var(--h2p-accent); }

.h2p-mob-chevron {
    transition: transform var(--h2p-duration) var(--h2p-ease);
    opacity: .5;
    flex-shrink: 0;
}

.h2p-mob-sub {
    list-style: none;
    margin: 0;
    padding: 4px 0 8px;
    background: #f8f9fc;
}
.h2p-mob-sub li a {
    display: block;
    padding: 10px 20px 10px 34px;
    color: #444;
    text-decoration: none;
    font-size: .87rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,.03);
    transition: color var(--h2p-duration) var(--h2p-ease),
                background var(--h2p-duration) var(--h2p-ease);
    position: relative;
}
.h2p-mob-sub li a::before {
    content: '›';
    position: absolute;
    left: 20px;
    color: var(--h2p-accent);
    font-size: 1rem;
    line-height: 1.4;
}
.h2p-mob-sub li a:hover { color: var(--h2p-accent); background: rgba(47,181,210,.06); }

/* Overlay */
.h2p-overlay {
    display: none;
    position: fixed !important;
    inset: 0;
    background: rgba(10,10,30,.5);
    z-index: 999997 !important;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.h2p-overlay.h2p-open { display: block !important; animation: h2p-fade-in .3s var(--h2p-ease); }
@keyframes h2p-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */

.h2p-footer {
    background: var(--h2p-footer-bg);
    color: var(--h2p-footer-color);
    width: 100%;
    font-size: .875rem;
    line-height: 1.7;
}
.h2p-footer *, .h2p-footer *::before, .h2p-footer *::after { box-sizing: border-box; }
.h2p-footer a {
    color: var(--h2p-footer-color);
    text-decoration: none;
    transition: color var(--h2p-duration) var(--h2p-ease);
}
.h2p-footer a:hover { color: #fff; }

/* ── Barre réassurance ── */
.h2p-reassurance {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.03);
}
.h2p-r-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 32px;
    border-right: 1px solid rgba(255,255,255,.06);
    transition: background var(--h2p-duration) var(--h2p-ease);
}
.h2p-r-item:last-child { border-right: none; }
.h2p-r-item:hover { background: rgba(255,255,255,.04); }

.h2p-r-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--h2p-footer-accent);
    opacity: .9;
}
.h2p-r-icon svg {
    width: 100%;
    height: 100%;
}
.h2p-r-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.h2p-r-title {
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
}
.h2p-r-text {
    font-size: .78rem;
    color: var(--h2p-footer-color);
    opacity: .8;
    line-height: 1.4;
}

/* Grille colonnes */
.h2p-footer-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 48px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 56px 48px 48px;
    align-items: flex-start;
    box-sizing: border-box;
}
.h2p-footer-grid > .h2p-fcol {
    flex: 1 1 0;
    min-width: 0;
}
.h2p-footer-grid > .h2p-fcol-brand {
    flex: 0 0 380px;
    min-width: 300px;
}
.h2p-footer-grid > .h2p-fcol-nl {
    flex: 0 0 280px;
    min-width: 220px;
}

/* ── Colonne marque ── */
.h2p-fcol-brand {}
.h2p-footer-logo { margin-bottom: 16px; }
.h2p-footer-logo img { max-height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.h2p-footer-shop-name { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.h2p-footer-tagline { color: var(--h2p-footer-color); margin: 0 0 20px; font-size: .875rem; line-height: 1.6; }

.h2p-footer-contact { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.h2p-footer-contact li { display: flex; align-items: flex-start; gap: 9px; }
.h2p-footer-contact svg { flex-shrink: 0; margin-top: 3px; opacity: .6; }
.h2p-footer-contact a { color: var(--h2p-footer-color); }
.h2p-footer-contact a:hover { color: var(--h2p-footer-accent); }
.h2p-footer-contact span { font-size: .85rem; }

/* Réseaux sociaux */
.h2p-footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.h2p-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: var(--h2p-footer-color);
    transition: background var(--h2p-duration) var(--h2p-ease),
                color var(--h2p-duration) var(--h2p-ease),
                transform var(--h2p-duration) var(--h2p-ease);
}
.h2p-footer-social a:hover {
    background: var(--h2p-footer-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Colonnes liens ── */
.h2p-fcol-title {
    font-size: .78rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 18px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.h2p-fcol-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.h2p-fcol-links li a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .875rem;
    transition: color var(--h2p-duration) var(--h2p-ease),
                gap var(--h2p-duration) var(--h2p-ease);
}
.h2p-fcol-links li a::before {
    content: '';
    width: 5px;
    height: 1px;
    background: var(--h2p-footer-accent);
    display: inline-block;
    flex-shrink: 0;
    transition: width var(--h2p-duration) var(--h2p-ease);
}
.h2p-fcol-links li a:hover { color: #fff; }
.h2p-fcol-links li a:hover::before { width: 10px; }

/* ── Colonne newsletter ── */
.h2p-fcol-nl {}
.h2p-fcol-text { margin: 0 0 18px; color: var(--h2p-footer-color); line-height: 1.6; }

.h2p-nl-input-wrap {
    display: flex;
    border: 1.5px solid rgba(255,255,255,.12);
    border-radius: var(--h2p-radius-sm);
    overflow: hidden;
    transition: border-color var(--h2p-duration) var(--h2p-ease);
    margin-bottom: 10px;
}
.h2p-nl-input-wrap:focus-within { border-color: var(--h2p-footer-accent); }
.h2p-nl-input-wrap input {
    flex: 1;
    padding: 11px 14px;
    background: rgba(255,255,255,.06);
    border: none;
    outline: none;
    color: #fff;
    font-size: .875rem;
}
.h2p-nl-input-wrap input::placeholder { color: rgba(255,255,255,.35); }
.h2p-nl-input-wrap button {
    padding: 11px 14px;
    background: var(--h2p-footer-accent);
    border: none;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    transition: background var(--h2p-duration) var(--h2p-ease);
}
.h2p-nl-input-wrap button:hover { background: var(--h2p-accent-dark); }

.h2p-nl-privacy {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    color: rgba(255,255,255,.3);
    margin: 0;
}
.h2p-nl-privacy svg { flex-shrink: 0; }

/* ── Barre confiance & paiements ── */
.h2p-trust-bar {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px 48px;
    background: rgba(0,0,0,.15);
}
.h2p-trust-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Avis */
.h2p-trust-reviews {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.h2p-trust-stars {
    display: flex;
    gap: 2px;
}
.h2p-trust-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-size: .8rem;
}
.h2p-trust-text strong { color: #fff; font-size: .95rem; }
.h2p-trust-text span   { opacity: .7; font-size: .75rem; }
.h2p-trust-count       { color: var(--h2p-footer-accent) !important; opacity: 1 !important; font-size: .75rem !important; }
.h2p-trust-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(34,197,94,.1);
    border: 1px solid rgba(34,197,94,.3);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: .75rem;
    color: #22c55e;
    font-weight: 600;
}

/* Séparateur */
.h2p-trust-sep {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,.1);
    flex-shrink: 0;
}

/* Paiements */
.h2p-payments {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    flex-wrap: wrap;
}
.h2p-payments-label {
    font-size: .75rem;
    opacity: .5;
    white-space: nowrap;
    flex-shrink: 0;
}
.h2p-payment-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.h2p-pay-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    transition: transform var(--h2p-duration) var(--h2p-ease),
                opacity var(--h2p-duration) var(--h2p-ease);
    opacity: .85;
}
.h2p-pay-icon svg { height: 28px; width: auto; display: block; border-radius: 4px; }
.h2p-pay-icon:hover { transform: translateY(-2px); opacity: 1; }

/* ── Barre basse ── */
.h2p-footer-bar {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 16px 48px;
}
.h2p-footer-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 1320px;
    margin: 0 auto;
}
.h2p-footer-copy { font-size: .78rem; opacity: .4; }
.h2p-footer-bar-links { display: flex; gap: 20px; flex-wrap: wrap; }
.h2p-footer-bar-links a { font-size: .78rem; opacity: .5; transition: opacity var(--h2p-duration) var(--h2p-ease); }
.h2p-footer-bar-links a:hover { opacity: 1; color: #fff; }

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 1024px) {
    .h2p-nav  { display: none; }
    .h2p-mob-toggle { display: inline-flex; }

    .h2p-search-modal { padding-top: 20px; align-items: flex-start; }

    /* Résultats : le bouton passe sous les infos, prix inline */
    .h2p-sr-item {
        flex-wrap: wrap;
        padding-bottom: 10px;
    }
    .h2p-sr-link { padding: 10px 12px; width: 100%; }
    .h2p-sr-item img,
    .h2p-sr-no-img { width: 46px; height: 46px; }
    .h2p-sr-name { white-space: normal; }
    .h2p-sr-actions {
        width: 100%;
        padding: 0 12px;
    }
    .h2p-sr-add,
    .h2p-sr-choose { width: 100%; padding: 9px 12px; }

    .h2p-reassurance { flex-wrap: wrap; }
    .h2p-r-item { flex: 1 1 45%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); padding: 20px 24px; }

    .h2p-footer-grid {
        flex-wrap: wrap !important;
        gap: 32px;
        padding: 40px 32px 36px;
    }
    .h2p-footer-grid > .h2p-fcol-brand,
    .h2p-footer-grid > .h2p-fcol-nl {
        flex: 0 0 100% !important;
        min-width: 100% !important;
    }
    .h2p-footer-grid > .h2p-fcol {
        flex: 1 1 140px;
    }
}

@media (max-width: 600px) {
    .h2p-topbar-left { display: none; }
    .h2p-inner { padding: 0 16px; gap: 12px; }
    .h2p-mobile-panel { width: 100%; max-width: 100%; }

    /* Cacher la réassurance sur mobile */
    .h2p-reassurance { display: none !important; }

    .h2p-footer-grid { flex-direction: column !important; padding: 0 0 8px; gap: 0; }
    .h2p-footer-grid > .h2p-fcol,
    .h2p-footer-grid > .h2p-fcol-brand,
    .h2p-footer-grid > .h2p-fcol-nl { flex: 0 0 100% !important; min-width: 100% !important; }

    /* Colonnes footer : accordéon mobile */
    .h2p-fcol { border-bottom: 1px solid rgba(255,255,255,.07); }
    .h2p-fcol-brand,
    .h2p-fcol-nl { padding: 24px 20px !important; border-bottom: 1px solid rgba(255,255,255,.07); }

    .h2p-fcol-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        cursor: pointer;
    }
    .h2p-fcol-title { margin: 0 !important; }

    .h2p-fcol-toggle {
        background: none;
        border: none;
        cursor: pointer;
        color: var(--h2p-footer-accent);
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .h2p-fcol-plus {
        font-size: 22px;
        line-height: 1;
        font-weight: 300;
        display: block;
        transition: transform .25s ease;
    }
    .h2p-fcol-toggle[aria-expanded="true"] .h2p-fcol-plus {
        transform: rotate(45deg);
    }

    /* Liens cachés par défaut sur mobile */
    .h2p-fcol-links {
        display: none !important;
        padding: 0 20px 16px;
    }
    .h2p-fcol-links.h2p-open { display: flex !important; }

    .h2p-footer-bar  { padding: 14px 20px; }
    .h2p-footer-bar-inner { flex-direction: column; text-align: center; gap: 10px; }
    .h2p-trust-bar { padding: 16px 20px; }
    .h2p-trust-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
    .h2p-trust-sep { display: none; }
    .h2p-payment-icons { flex-wrap: wrap; }
}

/* Sur desktop : toujours afficher le bouton toggle caché */
@media (min-width: 601px) {
    .h2p-fcol-head { display: flex; align-items: center; justify-content: space-between; }
    .h2p-fcol-toggle { display: none; }
    .h2p-fcol-links { display: block !important; }
}


/* ═══════════════════════════════════
   MÉGA-MENU DESKTOP (16/08/2026)
   Un panneau en colonnes remplace la cascade de sous-déroulants :
   toute l'arborescence est visible d'un coup, sans « slalom » à la souris.
═══════════════════════════════════ */
.h2p-inner { position: relative; }

/* L'item porteur d'un méga-menu n'est plus le référentiel de position :
   le panneau s'aligne sur toute la largeur du conteneur d'en-tête. */
.h2p-nav-item.h2p-has-mega { position: static; }

.h2p-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-radius: 0 0 var(--h2p-radius-md) var(--h2p-radius-md);
    box-shadow: 0 18px 40px -12px rgba(0,0,0,.22), 0 1px 0 rgba(0,0,0,.06);
    border-top: 2px solid var(--h2p-accent);
    padding: 26px 32px 22px;
    z-index: var(--h2p-z-drop);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    /* petit délai à la fermeture : on peut traverser le menu en diagonale */
    transition-delay: .12s;
}
.h2p-has-mega:hover > .h2p-mega,
.h2p-has-mega:focus-within > .h2p-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.h2p-mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 300px));
    gap: 8px 44px;
    justify-content: start;
}
.h2p-mega-col {
    min-width: 0;
    padding-right: 24px;
    border-right: 1px solid rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
}
.h2p-mega-col:last-child { border-right: 0; }

.h2p-mega-title {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    letter-spacing: -.005em;
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,.10);
}
.h2p-mega-title:hover { color: var(--h2p-accent); }

.h2p-mega-links,
.h2p-mega-sub {
    list-style: none;
    margin: 0;
    padding: 0;
}
.h2p-mega-links > li + li { margin-top: 2px; }
.h2p-mega-links a {
    display: block;
    padding: 6px 8px;
    margin: 0 -8px;
    border-radius: 6px;
    color: #2a2a3e;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.h2p-mega-links a:hover {
    background: rgba(36,185,215,.14);
    color: #24b9d7;
}

/* Niveaux 4 et 5 : retrait, puce, taille réduite */
.h2p-mega-sub { padding-left: 14px; margin: 2px 0 6px; }
.h2p-mega-sub a {
    font-size: .82rem;
    font-weight: 400;
    color: #4a4a5e;
    padding: 4px 8px;
    position: relative;
}
.h2p-mega-sub a::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0,0,0,.28);
    transform: translateY(-50%);
}
.h2p-mega-sub .h2p-mega-sub a { font-size: .8rem; color: #5c5c70; }

.h2p-mega-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 12px;
    font-size: .8rem;
    font-weight: 600;
    color: #24b9d7;
    text-decoration: none;
    align-self: flex-start;
}
.h2p-mega-all:hover { text-decoration: underline; }
.h2p-mega-all svg { transition: transform .15s ease; }
.h2p-mega-all:hover svg { transform: translateX(2px); }

/* Déroulant simple (sans petits-enfants) : un peu plus aéré et lisible */
.h2p-dropdown { min-width: 250px; padding: 8px; }
.h2p-drop-item > a { border-radius: 6px; padding: 10px 14px; }
.h2p-drop-item + .h2p-drop-item > a { border-top: 0; }
.h2p-drop-item > a:hover { padding-left: 14px; background: rgba(36,185,215,.14); color: #24b9d7; }

/* Le séparateur vertical était positionné sur l'item ; un item « static »
   l'enverrait au bord gauche de l'en-tête. On le porte sur le lien. */
.h2p-nav-item + .h2p-nav-item::before { display: none; }
.h2p-nav-item + .h2p-nav-item > .h2p-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 18px;
    background: rgba(0,0,0,.22);
    pointer-events: none;
}

/* Le panneau se dimensionne sur son contenu et s'aligne sous la barre de
   navigation (pas de bandeau pleine largeur aux deux tiers vide). */
.h2p-nav { position: relative; }
.h2p-mega {
    left: 0;
    right: auto;
    width: max-content;
    max-width: min(1120px, calc(100vw - 48px));
    border-radius: 0 0 12px 12px;
}
.h2p-mega-grid { display: flex; gap: 0 40px; }
.h2p-mega-col { width: 285px; flex: 0 0 auto; }

/* Ancrage sous l'item survolé (et non sous le début de la barre) ; un petit
   script recale le panneau vers la gauche s'il déborde de l'en-tête. */
.h2p-nav-item.h2p-has-mega { position: relative; }
.h2p-mega { left: 0; }
.h2p-mega-col { width: 300px; }

/* ── Panneau structuré v2 (16/08) : groupes alignés, 1 ou 2 colonnes ── */
.h2p-mega { width: 340px; padding: 18px 22px 16px; }
.h2p-mega.h2p-mega-2col { width: 700px; }
.h2p-mega-groups {
    list-style: none;
    margin: 0;
    padding: 0;
    column-count: 1;
    column-gap: 36px;
    column-rule: 1px solid rgba(0,0,0,.08);
}
.h2p-mega-2col .h2p-mega-groups { column-count: 2; }
.h2p-mega-group {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    padding: 4px 0 8px;
}
.h2p-mega-group + .h2p-mega-group { border-top: 1px solid rgba(0,0,0,.07); }
.h2p-mega-title {
    display: block;
    padding: 7px 8px;
    margin: 0 -8px;
    border-radius: 6px;
    border-bottom: 0;
    font-size: .9rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    line-height: 1.3;
    transition: background .15s ease, color .15s ease;
}
.h2p-mega-title:hover { background: rgba(36,185,215,.14); color: #24b9d7; }

.h2p-mega-sub { list-style: none; margin: 0; padding: 0 0 0 14px; }
.h2p-mega-sub a {
    display: block;
    position: relative;
    padding: 5px 8px;
    margin: 0 -8px;
    border-radius: 6px;
    font-size: .84rem;
    font-weight: 500;
    color: #2f2f44;
    line-height: 1.3;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.h2p-mega-sub a::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0,0,0,.28);
    transform: translateY(-50%);
}
.h2p-mega-sub a:hover { background: rgba(36,185,215,.14); color: #24b9d7; }
.h2p-mega-d2 a { font-size: .8rem; font-weight: 400; color: #4a4a5e; }
.h2p-mega-d3 a { font-size: .78rem; font-weight: 400; color: #5c5c70; }
.h2p-mega-d2 a::before, .h2p-mega-d3 a::before { width: 3px; height: 3px; background: rgba(0,0,0,.22); }

.h2p-mega-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,.08);
    width: 100%;
    font-size: .8rem;
    font-weight: 600;
    color: #24b9d7;
    text-decoration: none;
}

/* ── Barre principale : 6 entrées plus longues depuis la nouvelle nomenclature.
   Tailles resserrées pour tenir sans déborder, et bascule burger dès 1200 px
   (en dessous, six libellés ne tiennent plus proprement). ── */
.h2p-nav { min-width: 0; }
.h2p-nav-link { font-size: .86rem; padding: 0 11px; letter-spacing: 0; }
.h2p-nav-link::after { left: 11px; right: 11px; }
@media (max-width: 1366px) {
    .h2p-nav-link { font-size: .82rem; padding: 0 9px; }
    .h2p-nav-link::after { left: 9px; right: 9px; }
    .h2p-inner { gap: 10px; }
}
@media (max-width: 1200px) {
    .h2p-nav { display: none; }
    .h2p-mob-toggle { display: inline-flex; }
}

/* Déroulant simple : lignes de séparation entre les entrées (rétablies) */
.h2p-dropdown { padding: 6px 0; min-width: 240px; }
.h2p-drop-item > a { border-radius: 0; padding: 10px 18px; margin: 0; }
.h2p-drop-item + .h2p-drop-item > a { border-top: 1px solid rgba(0,0,0,.10); }
.h2p-drop-item > a:hover { padding-left: 18px; }

/* Déroulant : mini-vignette produit à droite du nom */
.h2p-dropdown { min-width: 270px; }
.h2p-drop-item > a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 14px 8px 18px; }
.h2p-drop-name { flex: 1 1 auto; }
.h2p-drop-thumb {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    padding: 2px;
}
.h2p-drop-item > a:hover .h2p-drop-thumb { border-color: rgba(57,208,178,.5); }

/* ── En-tête pleine largeur + respiration entre logo et menu (16/08) ── */
.h2p-inner { max-width: none; padding: 0 40px; gap: 32px; }
.h2p-logo { margin-right: 24px; flex-shrink: 0; }
.h2p-nav { justify-content: flex-start; }
.h2p-nav-item:first-child > .h2p-nav-link { padding-left: 0; }
.h2p-nav-item:first-child > .h2p-nav-link::after { left: 0; }
@media (max-width: 1366px) { .h2p-inner { padding: 0 24px; gap: 20px; } .h2p-logo { margin-right: 12px; } }
/* menu centré entre le logo et les icônes (16/08) */
.h2p-nav { justify-content: center; }
.h2p-nav-item:first-child > .h2p-nav-link { padding-left: 11px; }
.h2p-nav-item:first-child > .h2p-nav-link::after { left: 11px; }
/* écrans rétrécis : le menu se resserre par paliers, burger dès 1280 px (16/08) */
@media (max-width: 1600px) { .h2p-nav-link { font-size: .82rem; padding: 0 9px; } .h2p-nav-link::after { left: 9px; right: 9px; } }
@media (max-width: 1500px) { .h2p-nav-link { font-size: .78rem; padding: 0 8px; } .h2p-nav-link::after { left: 8px; right: 8px; } .h2p-inner { gap: 20px; padding: 0 24px; } .h2p-logo { margin-right: 12px; } .h2p-logo img { max-height: 40px; } }
@media (max-width: 1366px) { .h2p-nav-link { font-size: .74rem; padding: 0 7px; } .h2p-nav-link::after { left: 7px; right: 7px; } .h2p-inner { gap: 14px; padding: 0 18px; } .h2p-actions { gap: 4px; } }
@media (max-width: 1280px) { .h2p-nav { display: none; } .h2p-mob-toggle { display: inline-flex; } }

/* ── Fil d'Ariane mobile : seulement la dernière catégorie, en lien retour (16/08) ── */
@media (max-width: 767px) {
  .breadcrumb ol { display: flex; justify-content: center; }
  .breadcrumb ol li { display: none !important; }
  .breadcrumb ol li:nth-last-child(2) { display: inline-flex !important; align-items: center; }
  .breadcrumb ol li:nth-last-child(2)::before { content: '\2039'; margin-right: 6px; font-size: 1.2em; line-height: 1; }
  .breadcrumb ol li:nth-last-child(2)::after { content: none !important; }
  /* page de 1er niveau (un seul parent = Accueil) : on garde Accueil comme retour */
  .breadcrumb[data-depth="2"] ol li:first-child { display: inline-flex !important; }
}
/* mobile : moins d'air autour du fil d'Ariane (16/08) */
@media (max-width: 767px) {
  #wrapper { padding-top: 8px !important; }
  #wrapper .breadcrumb { padding: 9px 12px !important; margin-bottom: 6px !important; }
  #wrapper .breadcrumb ol { margin: 0; }
  body#product .product-container { margin-top: 0 !important; padding-top: 6px !important; }
  body#product .images-container { margin-top: 0 !important; }
}
/* burger en tête des icônes, avant la recherche (16/08) */
.h2p-actions { display: flex; align-items: center; }
.h2p-actions .h2p-mob-toggle { order: -1; }

/* pp-checkout-compact-20260829 : etape "Informations personnelles" du tunnel
   de commande — colonne trop large (formulaire, bouton Google et PayPal
   etires sur toute la largeur de la grille) => on cadre le contenu utile a
   une largeur de formulaire classique, PayPal/BNPL/Google en profitent
   automatiquement (ce sont des enfants de .content).
   20260831 : le cadrage a 440px laissait un grand vide a droite de la carte
   (bouton/champs alignes en pleine largeur, cf. pp-checkout-fields-full) =>
   on repasse le bloc sur toute la largeur de la carte. */
#checkout-personal-information-step [data-container-express-checkout],
#checkout-personal-information-step [data-container-bnpl] {
    margin-bottom: 10px;
}
#checkout-personal-information-step .btn-glogin {
    padding: 10px 16px;
}

/* pp-checkout-fields-full-20260831 : dans le bloc compact (440px), la grille
   Bootstrap col-md-3/col-md-6/col-md-3 (label/champ/commentaire) reste active
   des 768px de large et retreint le champ a ~50% du bloc => on passe chaque
   ligne en pleine largeur (label au-dessus, champ en dessous), aligne sur la
   largeur du bouton Google. */
#checkout-personal-information-step .form-group.row {
    display: block !important;
}
#checkout-personal-information-step .form-group.row > [class*="col-md-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}
#checkout-personal-information-step .form-group.row > label.col-md-3 {
    margin-bottom: 4px;
}

/* pp-checkout-tunnel-20260829 : badge de validation vert net au lieu de
   la petite coche discrete d'origine, pour bien voir en un coup d'oeil
   quelles etapes sont validees (le cap de largeur 600px a ete retire le
   01/09/2026 avec le retour au tunnel natif une-etape-a-la-fois). */
.checkout-step.-complete .step-title .done {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #1a8a4a;
    color: #fff;
    font-size: 16px;
    line-height: 1;
}
.checkout-step.-complete .step-title {
    color: #1a8a4a;
}

/* pp-checkout-2col-20260829 : grille 2 colonnes retiree le 01/09/2026 —
   retour au tunnel natif PrestaShop, une etape a la fois, empilees en
   1 colonne (comportement natif deja gere par theme.css, rien a forcer
   ici). */

/* pp-checkout-delivery-hint-20260831 : petit texte d'aide a gauche du bouton
   Continuer de l'etape "Mode de livraison" (shipping.tpl). */
#checkout-delivery-step .pp-continue-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 10px;
}
#checkout-delivery-step .pp-continue-hint {
    font-size: 12px;
    color: #8a8a8a;
}

/* pp-payment-options-20260831 : etape "Paiement" — options (PayPal, 4X
   PayPal...) trop collees et mal alignees => on espace les lignes, cadre
   chaque option, augmente un peu la police et aligne verticalement
   radio + libelle (le libelle contient du HTML variable selon le module). */
#checkout-payment-step .payment-options > div {
    margin-bottom: 14px;
}
#checkout-payment-step .payment-options > div:last-child {
    margin-bottom: 0;
}
#checkout-payment-step .payment-option.clearfix {
    display: flex !important;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    margin-bottom: 0 !important;
}
#checkout-payment-step .payment-option .custom-radio {
    flex: 0 0 auto;
    margin-right: 12px !important;
}
#checkout-payment-step .payment-option label {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 15px;
    margin: 0;
    cursor: pointer;
    width: 100%;
}
#checkout-payment-step .payment-option label img {
    max-height: 28px;
}

/* pp-product-paymethods-20260831 : bandeau de reassurance statique (icones
   de paiement) sous le bouton Ajouter au panier de la fiche produit —
   reprend le meme rendu que le bloc "Paiement 100% securise" du module
   ps_checkout vu sur energieclim (non installe ici), en pur CSS/SVG, sans
   aucun lien ni bouton fonctionnel. */
.pp-paymethods {
    margin: 14px 0 4px;
}
.pp-paymethods-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #8a8a8a;
    margin-bottom: 8px;
}
.pp-paymethods-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.pp-paymethods-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    line-height: 1;
}
.pp-paymethods-cards {
    gap: 4px;
    padding: 6px 8px;
}

