/**
 * Mega Menu PRO - Navigation mobile / tablette par etapes (drill-down)
 * @version 1.1.0
 *
 * Les couleurs (en-tete, accent) et polices sont injectees par dynamic.css
 * (color7 / color8 / color9 / font1 / font2) afin de suivre le skin choisi.
 */

/* ---------- Menu d'origine lorsque le mode etapes est actif ---------- */
/* les onglets du menu sont remplaces par le panneau ; le bouton « Menu » du module reste */
html.atmd-on #adtm_menu ul#menu > li.li-niveau1:not(.advtm_menu_toggle) {
    display: none !important;
}
html.atmd-on #adtm_menu .advtm_menu_toggle,
html.atmd-on #adtm_menu .adtm_toggle_menu_button {
    display: block !important;
    cursor: pointer;
}

/* ---------- Verrou de defilement de la page ---------- */
html.atmd-lock,
html.atmd-lock body {
    overflow: hidden !important;
}

/* ---------- Conteneur ---------- */
.atmd-root {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2147483200; /* au-dessus des bandeaux / popups des themes */
    visibility: hidden;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
    font-size: 15px;
    line-height: 1.35;
    text-align: left;
}
.atmd-root.atmd-rtl {
    direction: rtl;
    text-align: right;
}
.atmd-root.is-open {
    visibility: visible;
    pointer-events: auto;
}
.atmd-root *,
.atmd-root *:before,
.atmd-root *:after {
    box-sizing: border-box;
}
.atmd-root ul,
.atmd-root li {
    list-style: none;
    margin: 0;
    padding: 0;
    float: none;
    width: auto;
}
.atmd-root button {
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
    letter-spacing: inherit;
    text-transform: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
}

.atmd-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.atmd-root.is-open .atmd-overlay {
    opacity: 1;
}

/* ---------- Tiroir ---------- */
.atmd-drawer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 88%;
    max-width: 380px;
    max-width: var(--atmd-width, 380px);
    background: #ffffff;
    color: #222222;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
    -webkit-transform: translateX(-102%);
    transform: translateX(-102%);
    transition: -webkit-transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    outline: none;
}
.atmd-pos-right .atmd-drawer,
.atmd-rtl.atmd-pos-left .atmd-drawer {
    left: auto;
    right: 0;
    -webkit-transform: translateX(102%);
    transform: translateX(102%);
}
.atmd-rtl.atmd-pos-right .atmd-drawer {
    right: auto;
    left: 0;
    -webkit-transform: translateX(-102%);
    transform: translateX(-102%);
}
.atmd-pos-full .atmd-drawer {
    width: 100%;
    max-width: none;
    -webkit-transform: translateY(24px);
    transform: translateY(24px);
    opacity: 0;
    transition: opacity 0.25s ease, -webkit-transform 0.3s ease;
    transition: opacity 0.25s ease, transform 0.3s ease;
}
.atmd-root.is-open .atmd-drawer {
    -webkit-transform: none;
    transform: none;
    opacity: 1;
}

/* ---------- En-tete ---------- */
.atmd-header {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    min-height: 56px;
    padding: 0 4px;
    padding-top: env(safe-area-inset-top, 0px);
    background: #0b2a4a;
    background: var(--atmd-head-bg, #0b2a4a);
    color: #ffffff;
    color: var(--atmd-head-color, #ffffff);
}
.atmd-back,
.atmd-close {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    min-width: 48px;
    height: 48px;
    padding: 0 10px;
    background: transparent;
    border: 0;
    color: inherit;
}
.atmd-back {
    max-width: 38%;
    gap: 6px;
}
.atmd-back-label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
}
.atmd-title {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 6px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.atmd-close {
    -webkit-justify-content: center;
    justify-content: center;
}
.atmd-x {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
}
.atmd-x:before,
.atmd-x:after {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.atmd-x:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.atmd-back:focus-visible,
.atmd-close:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -4px;
}

/* ---------- Fenetre des niveaux ---------- */
.atmd-viewport {
    position: relative;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    overflow: hidden;
    background: #ffffff;
}
.atmd-level {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: #ffffff;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    visibility: hidden;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    transition: -webkit-transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.3s;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.3s;
}
.atmd-level.is-current {
    visibility: visible;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transition: -webkit-transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0s;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0s;
}
.atmd-level.is-prev {
    -webkit-transform: translateX(-30%);
    transform: translateX(-30%);
}
.atmd-level.is-leaving {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}
.atmd-rtl .atmd-level,
.atmd-rtl .atmd-level.is-leaving {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}
.atmd-rtl .atmd-level.is-current {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}
.atmd-rtl .atmd-level.is-prev {
    -webkit-transform: translateX(30%);
    transform: translateX(30%);
}

/* ---------- Lignes ---------- */
.atmd-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 0;
    border-bottom: 1px solid #ececec;
    background: transparent;
    color: #222222;
    text-align: inherit;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.3;
    transition: background-color 0.15s ease;
}
.atmd-root a.atmd-item:hover,
.atmd-root a.atmd-item:focus {
    text-decoration: none;
}
.atmd-item:focus {
    outline: none;
}
.atmd-item:focus-visible {
    background: #f5f5f5;
}
@media (hover: hover) {
    .atmd-item:hover {
        background: #f5f5f5;
    }
}
.atmd-item:focus-visible,
.atmd-next:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
}
.atmd-item:active {
    background: #ececec;
}
.atmd-label {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.atmd-bubble {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    display: inline-block;
    margin: 0 8px;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
}
.atmd-item.is-active,
.atmd-item.is-active-path {
    font-weight: 700;
}
.atmd-viewall {
    font-weight: 700;
}
.atmd-backrow {
    background: #f7f7f7;
    font-size: 14px;
    color: #555555;
}
.atmd-backrow .atmd-chev-back {
    margin: 0 10px 0 0;
}
.atmd-rtl .atmd-backrow .atmd-chev-back {
    margin: 0 0 0 10px;
}

/* Chevrons */
.atmd-chev {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-left: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    opacity: 0.7;
}
.atmd-chev-back {
    margin-left: 4px;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    opacity: 1;
}
.atmd-rtl .atmd-chev {
    margin-left: 0;
    margin-right: 10px;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
.atmd-rtl .atmd-chev-back {
    margin-right: 4px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Mode "libelle = lien / fleche = sous-niveau" */
.atmd-split {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    border-bottom: 1px solid #ececec;
}
.atmd-split .atmd-item {
    border-bottom: 0;
}
.atmd-next {
    -webkit-flex: 0 0 56px;
    flex: 0 0 56px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-left: 1px solid #ececec;
    color: #222222;
}
.atmd-rtl .atmd-next {
    border-left: 0;
    border-right: 1px solid #ececec;
}
.atmd-next .atmd-chev {
    margin: 0;
}
.atmd-rtl .atmd-next .atmd-chev {
    margin: 0;
}
.atmd-next:focus-visible {
    background: #f5f5f5;
}
@media (hover: hover) {
    .atmd-next:hover {
        background: #f5f5f5;
    }
}

/* ---------- Sections (titres de blocs) ---------- */
.atmd-group + .atmd-group {
    margin-top: 6px;
}
.atmd-section {
    padding: 18px 16px 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #777777;
    border-bottom: 1px solid #ececec;
}
.atmd-section-link,
.atmd-root a.atmd-section-link {
    color: inherit;
    text-decoration: none;
}

/* ---------- Contenus riches (images, HTML, produits) ---------- */
.atmd-media,
.atmd-rich {
    padding: 12px 16px;
    border-bottom: 1px solid #ececec;
    overflow: hidden;
}
.atmd-media img,
.atmd-rich img,
.atmd-rich iframe,
.atmd-rich video {
    display: block;
    max-width: 100% !important;
    height: auto;
    margin: 0 auto;
}
.atmd-rich ul,
.atmd-rich li {
    float: none !important;
    position: static !important;
    width: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.atmd-rich-product .product_list,
.atmd-rich-product .products {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -6px;
}
.atmd-rich-product .product_list > li,
.atmd-rich-product .product-miniature {
    -webkit-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 6px;
    margin: 0;
}
.atmd-rich-product .highlighted-informations,
.atmd-rich-product .quick-view,
.atmd-rich-product .product-description-short {
    display: none !important;
}
.atmd-rich-product .product-title,
.atmd-rich-product .product-name {
    font-size: 13px;
    margin: 6px 0 2px;
    text-align: inherit;
}

/* ---------- Ouverture directe sur la categorie courante (sans animation) ---------- */
.atmd-instant .atmd-level,
.atmd-instant .atmd-level.is-current {
    transition: none !important;
}

/* ---------- Recherche ---------- */
.atmd-search-wrap {
    padding: 12px 16px;
    border-bottom: 1px solid #ececec;
    background: #fafafa;
}
.atmd-search {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    margin: 0;
    border: 1px solid #d6d6d6;
    border-radius: 24px;
    background: #ffffff;
    overflow: hidden;
}
.atmd-search:focus-within {
    border-color: #888888;
}
.atmd-search .atmd-search-input {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
    font: inherit;
    font-size: 16px; /* 16px : evite le zoom automatique d'iOS */
    color: #222222;
    -webkit-appearance: none;
    appearance: none;
}
.atmd-search .atmd-search-btn {
    -webkit-flex: 0 0 48px;
    flex: 0 0 48px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #555555;
}
.atmd-search-results {
    margin: 0 -16px;
}
.atmd-search-results:not(:empty) {
    margin-top: 10px;
    border-top: 1px solid #ececec;
    background: #ffffff;
}
.atmd-search-results.is-loading {
    opacity: 0.55;
}
.atmd-sr-thumb {
    -webkit-flex: 0 0 44px;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-right: 12px;
    border-radius: 4px;
    background: #f2f2f2;
    overflow: hidden;
}
.atmd-rtl .atmd-sr-thumb {
    margin-right: 0;
    margin-left: 12px;
}
.atmd-sr-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.atmd-sr .atmd-label {
    font-size: 14px;
}
.atmd-sr-price {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    margin-left: 10px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}
.atmd-sr-none {
    padding: 14px 16px;
    font-size: 14px;
    color: #777777;
}

/* ---------- Raccourcis ---------- */
.atmd-shortcuts {
    margin-top: 14px !important;
    background: #fafafa;
}
.atmd-ico {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    opacity: 0.8;
}
.atmd-rtl .atmd-ico {
    margin-right: 0;
    margin-left: 12px;
}
.atmd-ico svg {
    display: block;
}

/* ---------- Accessibilite / mouvements reduits ---------- */
@media (prefers-reduced-motion: reduce) {
    .atmd-overlay,
    .atmd-drawer,
    .atmd-level,
    .atmd-level.is-current {
        transition: none !important;
    }
}

/* =====================================================================
   v1.2.0 : en-tete mobile / tablette
   Masque par defaut ; rendu visible par le CSS inline du module sous le
   seuil mobile/tablette (meme requete media que la navigation par etapes).
   ===================================================================== */
.atmd-hbar,
.atmd-hbar-spacer {
    display: none;
}
.atmd-hbar {
    --atmd-hb-h: 56px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2147483000;
    background: #ffffff;
    background: var(--atmd-hb-bg, #ffffff);
    color: #0b2a4a;
    color: var(--atmd-hb-color, #0b2a4a);
    padding-top: env(safe-area-inset-top, 0px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.06);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    transition: -webkit-transform 0.25s ease;
    transition: transform 0.25s ease;
    font-size: 15px;
    line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
}
.atmd-hbar *,
.atmd-hbar *:before,
.atmd-hbar *:after {
    box-sizing: border-box;
}
.atmd-hbar.atmd-sticky-none {
    position: relative;
}
.atmd-hbar.is-hidden {
    -webkit-transform: translateY(-110%);
    transform: translateY(-110%);
}
.atmd-hbar-spacer {
    height: 56px;
    height: calc(56px + env(safe-area-inset-top, 0px));
}
.atmd-hbar-spacer.atmd-hbar-has-search {
    height: 108px;
    height: calc(108px + env(safe-area-inset-top, 0px));
}
.atmd-hbar-row {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    height: 56px;
    padding: 0 4px;
}
.atmd-hbar-side {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
}
.atmd-hbar-end {
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}

/* Boutons */
.atmd-hbar .atmd-hbtn {
    position: relative;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 46px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.atmd-hbar .atmd-hbtn:hover,
.atmd-hbar .atmd-hbtn:focus {
    color: inherit;
    text-decoration: none;
}
.atmd-hbar .atmd-hbtn:active {
    background: rgba(0, 0, 0, 0.06);
}
.atmd-hbar .atmd-hbtn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -2px;
}
.atmd-hico {
    position: relative;
    display: block;
    width: 26px;
    height: 26px;
}
.atmd-hico svg,
.atmd-hico img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
}
.atmd-hlabel {
    display: none;
    margin-top: 2px;
    max-width: 52px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 10px;
    font-weight: 600;
    line-height: 12px;
}
.atmd-hbar-labels .atmd-hbtn {
    width: 52px;
}
.atmd-hbar-labels .atmd-hlabel {
    display: block;
}
.atmd-hbar-labels .atmd-hico,
.atmd-hbar-labels .atmd-hico svg,
.atmd-hbar-labels .atmd-hico img {
    width: 24px;
    height: 24px;
}
.atmd-hbadge {
    position: absolute;
    top: -6px;
    right: -9px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #e4572e;
    background: var(--atmd-hb-badge, #e4572e);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px var(--atmd-hb-bg, #ffffff);
}
.atmd-hbadge[hidden] {
    display: none;
}
.atmd-hdot {
    position: absolute;
    right: -2px;
    bottom: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2bb673;
    box-shadow: 0 0 0 2px var(--atmd-hb-bg, #ffffff);
}

/* Logo */
.atmd-hbar .atmd-hbar-logo {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    height: 56px;
    padding: 0 6px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}
.atmd-hbar-left .atmd-hbar-start {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
}
.atmd-hbar-left .atmd-hbar-logo {
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}
.atmd-hbar-logo img {
    display: block;
    width: auto;
    min-width: 0;
    max-width: 100%;
    object-fit: contain;
    height: auto;
    max-height: 34px;
    max-height: var(--atmd-hb-logo-h, 34px);
}
.atmd-hbar-logo .atmd-favicon {
    -webkit-flex: 0 0 24px;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    border-radius: 5px;
}
.atmd-shopname {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

/* Champ de recherche toujours visible */
.atmd-hbar-searchrow {
    position: relative;
    padding: 0 12px 8px;
    height: 52px;
}
.atmd-hbar-searchrow .atmd-search-wrap {
    padding: 0;
    border: 0;
    background: transparent;
}
.atmd-hbar-searchrow .atmd-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}
.atmd-hbar-searchrow .atmd-search-results:not(:empty) {
    margin-top: 0;
}

/* Panneau de recherche (loupe) */
.atmd-sheet {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483100;
    visibility: hidden;
    pointer-events: none;
}
.atmd-sheet.is-open {
    visibility: visible;
    pointer-events: auto;
}
.atmd-sheet *,
.atmd-sheet *:before,
.atmd-sheet *:after {
    box-sizing: border-box;
}
.atmd-sheet ul,
.atmd-sheet li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.atmd-sheet-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.atmd-sheet.is-open .atmd-sheet-overlay {
    opacity: 1;
}
.atmd-sheet-panel {
    position: relative;
    max-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    -webkit-transform: translateY(-12px);
    transform: translateY(-12px);
    opacity: 0;
    transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.atmd-sheet.is-open .atmd-sheet-panel {
    -webkit-transform: none;
    transform: none;
    opacity: 1;
}
.atmd-sheet-head {
    position: relative;
}
.atmd-sheet-head .atmd-search-wrap {
    padding-right: 60px;
}
.atmd-sheet .atmd-sheet-close {
    position: absolute;
    top: 12px;
    right: 8px;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 0;
    background: transparent;
    color: #222222;
    cursor: pointer;
}
.atmd-sheet .atmd-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    min-height: 50px;
    padding: 10px 16px;
    border-bottom: 1px solid #ececec;
    color: #222222;
    text-decoration: none;
}
.atmd-sheet .atmd-label {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
    .atmd-hbar,
    .atmd-sheet-overlay,
    .atmd-sheet-panel {
        transition: none !important;
    }
}
.atmd-hbar ul,
.atmd-hbar li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.atmd-hbar .atmd-item {
    color: #222222;
    background: #ffffff;
}

/* =====================================================================
   v1.3.0 : mini-panier interactif
   ===================================================================== */
.atmd-cart {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2147483300;
    visibility: hidden;
    pointer-events: none;
    font-size: 14px;
    line-height: 1.35;
    color: #222222;
    -webkit-tap-highlight-color: transparent;
}
.atmd-cart.is-open {
    visibility: visible;
    pointer-events: auto;
}
.atmd-cart *,
.atmd-cart *:before,
.atmd-cart *:after {
    box-sizing: border-box;
}
.atmd-cart ul,
.atmd-cart li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.atmd-cart button {
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
    margin: 0;
    cursor: pointer;
}
.atmd-cart-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.atmd-cart.is-open .atmd-cart-overlay {
    opacity: 1;
}
.atmd-cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 92%;
    max-width: 420px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    background: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
    -webkit-transform: translateX(102%);
    transform: translateX(102%);
    transition: -webkit-transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.atmd-cart.atmd-rtl .atmd-cart-panel {
    right: auto;
    left: 0;
    -webkit-transform: translateX(-102%);
    transform: translateX(-102%);
}
.atmd-cart.is-open .atmd-cart-panel {
    -webkit-transform: none;
    transform: none;
}
.atmd-cart-head {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    min-height: 56px;
    padding: 0 4px 0 16px;
    padding-top: env(safe-area-inset-top, 0px);
    border-bottom: 1px solid #ececec;
}
.atmd-cart-title {
    font-size: 17px;
    font-weight: 700;
}
.atmd-cart-count {
    font-weight: 400;
    color: #777777;
}
.atmd-cart .atmd-cart-close {
    width: 48px;
    height: 48px;
    padding: 14px;
    border: 0;
    background: transparent;
    color: #222222;
}
.atmd-cart-free {
    display: none;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    padding: 10px 16px 12px;
    background: #f4f8fb;
    border-bottom: 1px solid #ececec;
}
.atmd-cart-free.is-visible {
    display: block;
}
.atmd-cart-free-txt {
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
}
.atmd-cart-free-txt.is-reached {
    color: #1e8a4c;
}
.atmd-cart-gauge {
    height: 6px;
    border-radius: 3px;
    background: #dde5ec;
    overflow: hidden;
}
.atmd-cart-gauge-fill {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: #0a5ea8;
    transition: width 0.4s ease;
}
.atmd-cart-free-txt.is-reached + .atmd-cart-gauge .atmd-cart-gauge-fill {
    background: #1e8a4c;
}
.atmd-cart-msg {
    display: none;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    margin: 10px 16px 0;
    padding: 10px 12px;
    border-radius: 6px;
    background: #fdecea;
    color: #a12b1f;
    font-size: 13px;
}
.atmd-cart-msg.is-visible {
    display: block;
}
.atmd-cart-body {
    position: relative;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.atmd-cart-loading {
    width: 32px;
    height: 32px;
    margin: 48px auto;
    border: 3px solid #e3e3e3;
    border-top-color: #0a5ea8;
    border-radius: 50%;
    -webkit-animation: atmd-spin 0.8s linear infinite;
    animation: atmd-spin 0.8s linear infinite;
}
@-webkit-keyframes atmd-spin { to { -webkit-transform: rotate(360deg); } }
@keyframes atmd-spin { to { transform: rotate(360deg); } }
.atmd-cart .atmd-cart-item {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    padding: 14px 44px 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: opacity 0.2s ease;
}
.atmd-cart.atmd-rtl .atmd-cart-item {
    padding: 14px 16px 14px 44px;
}
.atmd-cart-item.is-busy {
    opacity: 0.45;
    pointer-events: none;
}
.atmd-cart-thumb {
    -webkit-flex: 0 0 72px;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    margin-right: 12px;
    border-radius: 6px;
    background: #f5f5f5;
    overflow: hidden;
}
.atmd-rtl .atmd-cart-thumb {
    margin-right: 0;
    margin-left: 12px;
}
.atmd-cart-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.atmd-cart-info {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
}
.atmd-cart .atmd-cart-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #222222;
    font-weight: 600;
    text-decoration: none;
}
.atmd-cart-attr,
.atmd-cart-unit {
    margin-top: 2px;
    font-size: 12px;
    color: #777777;
}
.atmd-cart-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin-top: 8px;
}
.atmd-cart-stepper {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    border: 1px solid #d6d6d6;
    border-radius: 20px;
    overflow: hidden;
}
.atmd-cart .atmd-cart-step {
    width: 36px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #222222;
    font-size: 18px;
    line-height: 34px;
}
.atmd-cart .atmd-cart-step:disabled {
    opacity: 0.35;
    cursor: default;
}
.atmd-cart .atmd-cart-step-del {
    color: #a12b1f;
}
.atmd-cart-qty {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
}
.atmd-cart-total {
    font-weight: 700;
    white-space: nowrap;
}
.atmd-cart .atmd-cart-del {
    position: absolute;
    top: 10px;
    right: 6px;
    width: 36px;
    height: 36px;
    padding: 9px;
    border: 0;
    background: transparent;
    color: #999999;
}
.atmd-rtl .atmd-cart-del {
    right: auto;
    left: 6px;
}
.atmd-cart-empty {
    padding: 48px 24px;
    text-align: center;
}
.atmd-cart-empty-txt {
    margin: 0 0 18px;
    font-size: 15px;
    color: #555555;
}
.atmd-cart-foot {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #ececec;
    background: #ffffff;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
}
.atmd-cart-foot:empty {
    display: none;
}
.atmd-cart-line {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding: 2px 0;
    font-size: 13px;
    color: #555555;
}
.atmd-cart-line-total {
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px dashed #e0e0e0;
    font-size: 16px;
    font-weight: 700;
    color: #222222;
}
.atmd-cart-actions {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    margin-top: 12px;
}
.atmd-cart .atmd-cart-btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex: 1 1 0;
    flex: 1 1 0;
    min-height: 46px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.atmd-cart-actions .atmd-cart-btn + .atmd-cart-btn {
    margin-left: 10px;
}
.atmd-rtl .atmd-cart-actions .atmd-cart-btn + .atmd-cart-btn {
    margin-left: 0;
    margin-right: 10px;
}
.atmd-cart .atmd-cart-btn-primary {
    background: #e4572e;
    background: var(--atmd-hb-badge, #e4572e);
    color: #ffffff;
}
.atmd-cart .atmd-cart-btn-secondary {
    background: #eef2f6;
    color: #0b2a4a;
    color: var(--atmd-hb-color, #0b2a4a);
}
.atmd-cart-empty .atmd-cart-btn {
    display: inline-flex;
    width: auto;
    padding: 0 24px;
}
@media (prefers-reduced-motion: reduce) {
    .atmd-cart-overlay,
    .atmd-cart-panel,
    .atmd-cart-gauge-fill {
        transition: none !important;
    }
}

/* ---------- couleurs (remplacent le CSS dynamique du Mega Menu) ---------- */
.atmd-root .atmd-item.is-active,
.atmd-root .atmd-item.is-active-path,
.atmd-root .atmd-viewall,
.atmd-root .atmd-section-link,
.atmd-root .atmd-shortcut .atmd-ico,
.atmd-root .atmd-sr-price,
.atmd-sheet .atmd-viewall,
.atmd-hbar .atmd-viewall,
.atmd-sheet .atmd-sr-price,
.atmd-hbar .atmd-sr-price {
    color: #0a5ea8;
    color: var(--atmd-accent, #0a5ea8);
}
.atmd-cart .atmd-cart-gauge-fill { background-color: var(--atmd-hb-badge, #e4572e); }

/* =====================================================================
   v5.3.0 : mode ordinateur (liste dynamique par etapes sous le menu)
   ===================================================================== */
html.atmd-desk-on #adtm_menu ul#menu > li.li-niveau1 div.adtm_sub { display: none !important; }
html.atmd-desk-on #adtm_menu ul#menu > li.li-niveau1.sub > a .advtm_menu_span:after,
html.atmd-desk-on #adtm_menu ul#menu > li.li-niveau1.sub > .a-niveau1 .advtm_menu_span:after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 3px 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: .7;
}
.atmd-desk-btn-li { display: none; }
html.atmd-desk-on #adtm_menu ul#menu > li.atmd-desk-btn-li { display: block; }
.atmd-desk-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    background: var(--atmd-head-bg, #0b2a4a);
    color: var(--atmd-head-color, #ffffff);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.atmd-desk-btn-ico, .atmd-desk-btn-ico:before, .atmd-desk-btn-ico:after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.atmd-desk-btn-ico { position: relative; }
.atmd-desk-btn-ico:before, .atmd-desk-btn-ico:after { content: ""; position: absolute; left: 0; }
.atmd-desk-btn-ico:before { top: -6px; }
.atmd-desk-btn-ico:after { top: 6px; }

.atmd-root.atmd-desk .atmd-overlay { background: rgba(0, 0, 0, .18); }
.atmd-root.atmd-desk .atmd-drawer {
    position: absolute;
    right: auto;
    bottom: auto;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
    transform: translateY(-8px);
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease;
}
.atmd-root.atmd-desk.is-open .atmd-drawer { transform: none; opacity: 1; }
.atmd-root.atmd-desk .atmd-header { padding-top: 0; min-height: 50px; }
.atmd-root.atmd-desk .atmd-search-wrap,
.atmd-root.atmd-desk .atmd-shortcuts { display: none; }
.atmd-root.atmd-desk .atmd-list:not(.atmd-tiles) {
    column-width: 260px;
    column-gap: 0;
}
.atmd-root.atmd-desk .atmd-list:not(.atmd-tiles) > li { break-inside: avoid; }
.atmd-root.atmd-desk .atmd-list:not(.atmd-tiles) > li.atmd-li-back,
.atmd-root.atmd-desk .atmd-list:not(.atmd-tiles) > li:first-child .atmd-viewall { column-span: all; }
@media (hover: hover) {
    .atmd-root.atmd-desk .atmd-item:hover { background: #f2f6fa; }
}

/* ---------- vignettes (entrees avec images) ---------- */
.atmd-thumb {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-right: 12px;
    border-radius: 6px;
    background: #f4f6f8;
    overflow: hidden;
}
.atmd-rtl .atmd-thumb { margin-right: 0; margin-left: 12px; }
.atmd-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.atmd-list.atmd-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 12px;
}
.atmd-list.atmd-tiles > li { min-width: 0; }
.atmd-list.atmd-tiles > li.atmd-li-back,
.atmd-list.atmd-tiles > li:has(> .atmd-viewall) { grid-column: 1 / -1; }
.atmd-list.atmd-tiles .atmd-item {
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    min-height: 0;
    padding: 8px;
    border: 1px solid #e6e9ed;
    border-radius: 8px;
    text-align: center;
}
.atmd-list.atmd-tiles .atmd-item.atmd-viewall,
.atmd-list.atmd-tiles .atmd-backrow { flex-direction: row; text-align: left; border-radius: 6px; }
.atmd-list.atmd-tiles .atmd-thumb {
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 0 8px;
    background: #fff;
}
.atmd-list.atmd-tiles .atmd-label { font-size: 14px; font-weight: 600; }
.atmd-list.atmd-tiles .atmd-chev { display: none; }
.atmd-list.atmd-tiles .atmd-item-visual .atmd-thumb { margin: 0; aspect-ratio: auto; height: 100%; min-height: 100px; }
.atmd-list.atmd-tiles .atmd-item-visual .atmd-label { display: none; }
@media (max-width: 480px) {
    .atmd-list.atmd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =====================================================================
   v5.4.0 : panneau catalogue ordinateur (rayons a gauche, contenu a droite)
   ===================================================================== */
html.atmd-desk-on.atmd-desk-panel #adtm_menu ul#menu > li.li-niveau1.atmd-panel-only { display: none !important; }
.atmd-desk-btn.is-active { box-shadow: inset 0 -3px 0 var(--atmp-accent, #e4572e); }
.atmd-desk-btn:after {
    content: "";
    width: 7px;
    height: 7px;
    margin: -4px 0 0 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .15s ease;
}
.atmd-desk-btn.is-active:after { transform: rotate(-135deg); margin-top: 4px; }

.atmp-root { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2147483200; visibility: hidden; pointer-events: none; }
.atmp-root.is-open { visibility: visible; pointer-events: auto; }
.atmp-root *, .atmp-root *:before, .atmp-root *:after { box-sizing: border-box; }
.atmp-overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, .2); opacity: 0; transition: opacity .18s ease; }
.atmp-root.is-open .atmp-overlay { opacity: 1; }
.atmp-panel {
    --atmp-current: var(--atmp-accent, #e4572e);
    position: absolute;
    display: flex;
    background: #f5f6f7;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .24);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}
.atmp-root.is-open .atmp-panel { opacity: 1; transform: none; }
.atmp-panel.has-tab-color { box-shadow: 0 16px 36px rgba(0, 0, 0, .24), inset 0 0 0 2px var(--atmp-current); }

/* rayons */
.atmp-nav { flex: 0 0 230px; overflow-y: auto; background: var(--atmp-nav-bg, #1f2a4d); }
.atmp-list, .atmp-list li { list-style: none; margin: 0; padding: 0; }
.atmp-tab {
    --atmp-tab-color: var(--atmp-accent, #e4572e);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 8px 12px 8px 14px;
    border: 0;
    border-left: 5px solid var(--atmp-tab-color);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: transparent;
    color: var(--atmp-nav-color, #fff);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    text-align: left;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}
.atmp-tab:hover, .atmp-tab:focus { background: rgba(255, 255, 255, .08); color: var(--atmp-nav-color, #fff); text-decoration: none; outline: none; }
.atmp-tab.is-active { background: var(--atmp-tab-color); color: #fff; }
.atmp-tab .atmd-thumb { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; background: transparent; }
.atmp-tab-label { flex: 1 1 auto; min-width: 0; }
.atmp-tab-chev { width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .6; }
.atmp-tab.is-active .atmp-tab-chev { opacity: 1; }

/* contenu du rayon */
.atmp-content { flex: 1 1 auto; min-width: 0; overflow-y: auto; overscroll-behavior: contain; }
.atmp-head { display: flex; align-items: stretch; min-height: 96px; background: var(--atmp-nav-bg, #1f2a4d); color: #fff; }
.atmp-banner { flex: 0 0 45%; max-height: 160px; overflow: hidden; }
.atmp-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.atmp-head-title { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 18px 24px; text-align: center; }
.atmp-head.has-banner .atmp-head-title { border-radius: 80px 0 0 80px; margin-left: -40px; background: var(--atmp-nav-bg, #1f2a4d); }
.atmp-title { margin: 0; color: #fff; font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.atmp-viewall { color: #fff; opacity: .85; font-size: 13px; text-decoration: underline; }
.atmp-viewall:hover { opacity: 1; color: #fff;background: #fff; border-radius: 10px;}
.atmp-cols { column-width: 210px; column-gap: 32px; padding: 22px 30px 10px; }
.atmp-block { break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; margin: 0 0 22px; }
.atmp-block-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: var(--atmp-current);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    text-decoration: none;
}
.atmp-block-title:hover { text-decoration: underline; color: var(--atmp-current); }
.atmp-block-title .atmd-thumb { flex: 0 0 34px; width: 34px; height: 34px; margin: 0; background: #fff; }
.atmp-links, .atmp-links li { list-style: none; margin: 0; padding: 0; }
.atmp-links a { display: block; padding: 2px 0; color: #444; text-decoration: none; }
.atmp-links a:hover, .atmp-links a.is-active { color: var(--atmp-current); text-decoration: underline; }
.atmp-visuals { display: flex; flex-wrap: wrap; gap: 14px; padding: 0 30px 24px; }
.atmp-visual { display: block; width: 220px; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.atmp-visual .atmd-thumb { width: 100%; height: 140px; margin: 0; border-radius: 0; }
.atmp-visual .atmd-thumb img { object-fit: cover; }
.atmp-rich img { max-width: 100%; height: auto; }
.atmp-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 18px;
    background: rgba(0, 0, 0, .25);
    color: #fff;
    cursor: pointer;
}
.atmp-close:hover { background: rgba(0, 0, 0, .45); }
.atmp-close .atmd-x { width: 16px; height: 16px; }
.atmp-close .atmd-x:before, .atmp-close .atmd-x:after { top: 7px; width: 16px; }
@media (prefers-reduced-motion: reduce) {
    .atmp-panel, .atmp-overlay { transition: none !important; }
}

/* =====================================================================
   v5.5.0 : reglages d'affichage ordinateur
   ===================================================================== */
/* largeur automatique de la liste des rayons */
.atmp-panel.atmp-nav-auto .atmp-nav { flex: 0 0 auto; width: auto; min-width: 190px; max-width: 320px; }
.atmp-panel.atmp-nav-auto .atmp-tab { white-space: nowrap; padding-right: 18px; }
/* nombre de colonnes impose */
.atmp-cols-2 .atmp-cols { column-count: 2; column-width: auto; }
.atmp-cols-3 .atmp-cols { column-count: 3; column-width: auto; }
.atmp-cols-4 .atmp-cols { column-count: 4; column-width: auto; }
.atmp-cols-5 .atmp-cols { column-count: 5; column-width: auto; }
/* bandeau du rayon */
.atmp-head-compact .atmp-head { min-height: 0; }
.atmp-head-compact .atmp-banner { flex: 0 0 auto; width: 120px; max-height: none; }
.atmp-head-compact .atmp-head.has-banner .atmp-head-title { margin-left: 0; border-radius: 0; }
.atmp-head-compact .atmp-head-title { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 18px; padding: 12px 56px 12px 30px; text-align: left; }
.atmp-head-compact .atmp-title { font-size: 19px; }
.atmp-head-title .atmp-head .atmp-head-title,
.atmp-head-title .atmp-head { min-height: 0; }
.atmp-head-title .atmp-head-title { align-items: flex-start; padding: 10px 56px 10px 30px; text-align: left; }
.atmp-head-title .atmp-title { font-size: 18px; }
.atmp-head .atmp-banner img { height: 100%; }
.atmp-viewall-inline { display: inline-block; margin: 16px 30px 0; color: var(--atmp-current); font-weight: 700; text-decoration: underline; }
.atmp-head-none .atmp-viewall-inline { margin-top: 18px; padding-right: 40px; }
.atmp-head-none .atmp-close { background: rgba(0, 0, 0, .35); }

/* barre de menu flottante sur ordinateur */
#adtm_menu.atmd-fixed { position: fixed !important; top: 0; margin: 0 !important; transition: transform .25s ease; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
#adtm_menu.atmd-fixed.atmd-fixed-hidden { transform: translateY(-110%); }

/* en-tete facon mobile sur ordinateur */
.atmd-hico-desk, .atmd-hlabel-desk { display: none; }
html.atmd-desk-on .atmd-hb-desk .atmd-hbtn-menu > .atmd-hico:not(.atmd-hico-desk),
html.atmd-desk-on .atmd-hb-desk .atmd-hbtn-menu > .atmd-hlabel { display: none; }
html.atmd-desk-on .atmd-hb-desk.atmd-hbd-helm_label .atmd-hico-desk,
html.atmd-desk-on .atmd-hb-desk.atmd-hbd-helm .atmd-hico-desk { display: inline-flex; }
html.atmd-desk-on .atmd-hb-desk.atmd-hbd-helm_label .atmd-hlabel-desk,
html.atmd-desk-on .atmd-hb-desk.atmd-hbd-label .atmd-hlabel-desk { display: inline; font-weight: 700; font-size: 15px; margin-left: 8px; white-space: nowrap; }
html.atmd-desk-on .atmd-hb-desk .atmd-hbtn-menu { flex-direction: row; width: auto; padding: 0 14px; border-radius: 22px; }
html.atmd-desk-on .atmd-hb-desk .atmd-hbtn-menu:hover { background: rgba(0, 0, 0, .05); }
html.atmd-desk-on .atmd-hb-desk { --atmd-hb-h: 68px; }
html.atmd-desk-on .atmd-hb-desk .atmd-hbar-row { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
html.atmd-desk-on .atmd-hb-desk .atmd-hlabel { display: inline; }
html.atmd-desk-on .atmd-hb-desk .atmd-hbtn { flex-direction: row; gap: 6px; width: auto; padding: 0 10px; }

/* =====================================================================
   v5.5.1 : en-tete facon mobile sur ordinateur — rayons, telephone, logo
   ===================================================================== */
.atmd-hb-tabs, .atmd-hlabel-phone { display: none; }
html.atmd-desk-on .atmd-hb-desk .atmd-hbar-start { flex: 0 1 auto; min-width: 0; }
html.atmd-desk-on .atmd-hb-desk .atmd-hb-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    margin-left: 6px;
    overflow: hidden;
}
.atmd-hb-tab {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 12px;
    border-radius: 20px;
    color: inherit;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}
.atmd-hb-tab:hover, .atmd-hb-tab:focus, .atmd-hb-tab.is-active { background: rgba(0, 0, 0, .06); color: inherit; text-decoration: none; }
.atmd-hb-tab .atmd-thumb { flex: 0 0 28px; width: 28px; height: 28px; margin: 0; background: transparent; }
.atmd-hb-tabs-image .atmd-hb-tab { padding: 0 8px; }
/* le logo se reduit en largeur autant que necessaire */
html.atmd-desk-on .atmd-hb-desk .atmd-hbar-logo { flex: 1 1 0; min-width: 60px; }
html.atmd-desk-on .atmd-hb-desk .atmd-hbar-logo img { max-width: 100%; height: auto; object-fit: contain; }
html.atmd-desk-on .atmd-hb-desk .atmd-shopname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* telephone sur ordinateur */
html.atmd-desk-on .atmd-hb-desk .atmd-hbtn-phone .atmd-hlabel { display: none; }
html.atmd-desk-on .atmd-hb-desk .atmd-hlabel-phone { display: inline; font-weight: 700; white-space: nowrap; }
html.atmd-desk-on .atmd-hb-desk .atmd-hbtn-phone.atmd-phone-desk-hide { display: none !important; }

/* v5.5.2 : zones de texte additionnelles dans le panneau et la navigation mobile */
.atmp-text { color: #333; }
.atmp-text img, .atmd-text img {/* max-width: 100%*/; height: auto; }
.atmp-text-over, .atmp-text-under { padding: 16px 30px 0; }
.atmp-text-under { padding-bottom: 20px; }
.atmp-text-col { margin: 6px 0; font-size: 13px; }
.atmp-block.atmp-text { font-size: 14px; }
.atmp-text p:last-child, .atmd-text p:last-child { margin-bottom: 0; }
.atmd-text { padding: 12px 16px; }
