@import url('https://fonts.googleapis.com/css2?family=Aboreto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Average+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Average&display=swap');

/* =============================================================
   LES NOMADES - custom.css (thème enfant lesnomades_child)

   SOMMAIRE
   01. Variables
   02. Base (typo, liens, body)
   03. Thème (boutons, couleurs)
   04. Top bar (header-nav)
   05. Header (conteneur, logo, ligne menu + recherche)
   06. Mega menu desktop
   07. Menu natif PrestaShop (ps_mainmenu)
   08. Header mobile (burger + recherche + panneau latéral)
   09. Recherche (barre, placeholder, liste d'autocomplétion)
   10. Grille produits et vignettes
   11. Page produit (PDP)
   12. Fil d'Ariane
   13. Page catégorie - colonne gauche
   14. Page catégorie - bannière
   ============================================================= */


/* =============================================================
   01. VARIABLES
   ============================================================= */
:root {
    /* Typographies */
    --nomades-font-titres: "Average", Helvetica, Arial, Verdana, sans-serif;
    --nomades-font-titres-new: "Poppins", sans-serif;
    --nomades-font-body: "Average Sans", sans-serif;
    --nomades-font-body-new: "Poppins", sans-serif;
    --nomades-font-menu: "Aboreto", Helvetica, Arial, Verdana, sans-serif;

    /* Couleurs de marque */
    --nomades-color: #D8B280;
    --nomades-color-accentue: #c7a46f;

    /* Page produit */
    --pdp-max: 1400px;
    --pdp-gap: 72px;
    --studio: #f3f3f3;
    --border: #e9e9e9;
    --text: #111;
    --muted: rgba(0, 0, 0, .68);
    --cta-bg: #111;
    --cta-bg-hover: #000;
    --cta-text: #fff;
    --radius: 0px;
}


/* =============================================================
   02. BASE
   ============================================================= */
body {
    font-family: var(--nomades-font-body-new);
    font-weight: 400;
    overflow-x: hidden; /* évite le scroll horizontal global */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--nomades-font-titres-new);
    font-weight: 600;
}

button,
input,
textarea,
select {
    font-family: var(--nomades-font-body-new);
}

a {
    font-family: var(--nomades-font-body-new);
    color: var(--nomades-color);
}

a:hover,
a:focus {
    color: var(--nomades-color) !important;
}

#wrapper {
    background: #FFFFFF;
    padding: 0;
}

@media (min-width: 768px) {
    .container {
        width: 900px;
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    #content-wrapper {
        padding: 0;
    }
}

@media (max-width: 1023.98px) {
    #wrapper {
        padding-left: 2%;
        padding-right: 2%;
    }
}


/* =============================================================
   03. THÈME
   ============================================================= */
.btn-primary,
.btn-secondary {
    background: var(--nomades-color);
    border-color: var(--nomades-color);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-primary:focus,
.btn-secondary:focus {
    background: var(--nomades-color);
    border-color: var(--nomades-color);
    color: #FFFFFF !important;
}

.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.open>.btn-primary.dropdown-toggle.focus,
.open>.btn-primary.dropdown-toggle:focus,
.open>.btn-primary.dropdown-toggle:hover {
    background: var(--nomades-color);
    border-color: var(--nomades-color);
}

.product-price {
    color: var(--nomades-color);
}

#blockcart-modal .product-name {
    color: var(--nomades-color);
}

.pagination .current a {
    color: var(--nomades-color);
}


/* =============================================================
   04. TOP BAR (header-nav)
   ============================================================= */
.blockcart.active a:hover {
    color: #FFFFFF !important;
}

.blockcart .hidden-sm-down {
    display: none !important;
}

#header .header-nav .blockcart {
    background: transparent;
}

#header .header-nav .cart-preview.active {
    background: transparent;
}

#header .header-nav .cart-preview.active i,
#header .header-nav .cart-preview.active .cart-products-count {
    color: #000000;
}


/* =============================================================
   05. HEADER
   Ligne logo + menu + recherche
   ============================================================= */
#header {
    box-shadow: none;
}

#header .header-top {
    position: relative;
    z-index: 100;
}

#header .header-top,
#header .header-top .container,
#header .header-top .row,
#header .header-top-right {
    overflow: visible !important;
}

/* Conteneur pleine largeur avec marges de 5% */
#header .header-top>.container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
}

#header .header-top>.container>.row:first-of-type {
    display: flex;
    flex-wrap: wrap;
}

#header .logo {
    width: 150px;
}

/* Ligne menu + recherche */
#header .header-top-right {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.2vw, 24px);
    position: static;
}

/* Sous 1199px : le logo passe sur sa propre ligne, centré */
@media (max-width: 1198px) {
    #_desktop_logo {
        width: 100%;
    }

    #header .logo {
        width: 110px;
        display: block;
        margin: 0 auto 10px auto;
    }

    #header .header-top-right {
        width: 100%;
    }
}

/* Entre 1199px et 1379px : menu et recherche ne tiennent pas sur une ligne,
   la recherche passe dessous, alignée à droite */
@media (min-width: 1199px) and (max-width: 1379.98px) {
    #header .header-top-right {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    #header .header-top-right #search_widget {
        flex: 0 0 260px;
    }
}


/* =============================================================
   06. MEGA MENU DESKTOP (module nomadesmegamenu)
   ============================================================= */

/* Le menu garde sa largeur naturelle, la recherche prend le reste */
#header .header-top-right .nomades-megamenu {
    position: relative;
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}

/* UL N1 */
#header .header-top-right .nomades-megamenu__level1 {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(12px, 1.2vw, 20px);
    list-style: none;
    margin: 0;
    padding: 0;
}

/* LI N1 */
#header .header-top-right .nomades-megamenu__item {
    position: relative;
}

/* Lien N1 : taille fluide selon la largeur d'écran */
#header .header-top-right .nomades-megamenu__link {
    display: inline-flex;
    align-items: center;
    padding: 16px 0;
    font-size: clamp(11px, 0.85vw, 14px);
    font-weight: 500;
    white-space: nowrap;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.04em;
}

#header .header-top-right .nomades-megamenu__link:hover,
#header .header-top-right .nomades-megamenu__link:focus,
#header .header-top-right .nomades-megamenu__item:hover>.nomades-megamenu__link,
#header .header-top-right .nomades-megamenu__item:focus-within>.nomades-megamenu__link {
    color: var(--nomades-color);
    outline: none;
}

#header .header-top-right .nomades-megamenu__item.has-no-children>.nomades-megamenu__link {
    cursor: pointer;
}

/* Panneau N2 */
#header .header-top-right .nomades-megamenu__panel {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 28px 32px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    border-radius: 0;
    min-width: 420px;
    max-width: 90vw;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 10020;
    pointer-events: none;
}

/* Ouverture panneau (survol + clavier + JS) */
#header .header-top-right .nomades-megamenu__item:hover>.nomades-megamenu__panel,
#header .header-top-right .nomades-megamenu__item:focus-within>.nomades-megamenu__panel,
#header .header-top-right .nomades-megamenu__item.is-open>.nomades-megamenu__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Grille N2 */
#header .header-top-right .nomades-megamenu__level2 {
    display: grid;
    gap: 10px 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#header .header-top-right .nomades-megamenu__panel.cols-2 .nomades-megamenu__level2 {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
}

#header .header-top-right .nomades-megamenu__panel.cols-3 .nomades-megamenu__level2 {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

#header .header-top-right .nomades-megamenu__panel.cols-4 .nomades-megamenu__level2 {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
}

/* Liens N2 */
#header .header-top-right .nomades-megamenu__level2 a {
    display: inline-block;
    padding: 4px 0;
    font-size: 14px;
    line-height: 1.35;
    color: #111;
    text-decoration: none;
}

#header .header-top-right .nomades-megamenu__level2 a:hover,
#header .header-top-right .nomades-megamenu__level2 a:focus {
    color: var(--nomades-color);
    outline: none;
}


/* =============================================================
   07. MENU NATIF PRESTASHOP (ps_mainmenu)
   Caché sur desktop, couleurs en mobile
   ============================================================= */
@media (min-width: 1024px) {
    #_desktop_top_menu {
        display: none !important;
    }
}

#header .top-menu a[data-depth="0"]:hover,
#header .top-menu a[data-depth="0"]:focus {
    color: var(--nomades-color);
}

@media (max-width: 1023.98px) {
    #mobile_top_menu_wrapper a:hover,
    #mobile_top_menu_wrapper a:focus,
    #mobile_top_menu_wrapper a:active,
    #mobile_top_menu_wrapper .current>a,
    #mobile_top_menu_wrapper .active>a {
        color: var(--nomades-color) !important;
    }
}


/* =============================================================
   08. HEADER MOBILE (< 1024px)
   Burger à gauche + recherche sur toute la largeur restante,
   panneau latéral du menu Nomades
   ============================================================= */

/* Burger caché sur desktop */
.nomades-mobilemenu {
    display: none;
}

@media (max-width: 1023.98px) {

    /* Mega menu desktop caché */
    #header .header-top-right .nomades-megamenu {
        display: none !important;
    }

    /* Burger d'origine du thème caché */
    #menu-icon {
        display: none !important;
    }

    /* Logo mobile */
    #header .top-logo img {
        margin-left: 65px;
        margin-top: 8px;
    }

    /* Ligne burger + recherche */
    #header .header-top-right {
        gap: 12px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    /* ── Burger ── */
    .nomades-mobilemenu {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        order: 1;
    }

    .nomades-mobilemenu__burger {
        position: static;
        width: 44px;
        height: 44px;
        padding: 0;
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        color: #000;
        z-index: 10030;
    }

    .nomades-mobilemenu__burger span {
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }

    /* Burger → croix quand ouvert */
    .nomades-mobilemenu__burger[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nomades-mobilemenu__burger[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .nomades-mobilemenu__burger[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* ── Recherche : toute la largeur restante ──
       !important nécessaire : le thème classic limite la largeur
       (.header-top .search-widgets { max-width: 13rem; }) */
    #header .header-top-right #search_widget,
    #header .header-top-right .search-widgets {
        order: 2;
        flex: 1 1 0% !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        float: none !important;
    }

    #header .header-top-right #search_widget form {
        width: 100% !important;
        max-width: none !important;
    }

    #header .header-top-right #search_widget input[name="s"] {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: 44px;
        box-sizing: border-box;
    }

    /* ── Panneau latéral ── */
    .nomades-mobilemenu__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: min(300px, 85vw);
        height: 100dvh;
        background: #fff;
        z-index: 10020;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 0 0 40px;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
    }

    .nomades-mobilemenu__nav.is-open {
        transform: translateX(0);
        z-index: 10100;
    }

    /* Bouton fermer */
    .nomades-mobilemenu__close {
        background: none;
        border: none;
        font-size: 1.2rem;
        cursor: pointer;
        padding: 16px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        color: #000;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Liste N1 */
    .nomades-mobilemenu__list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nomades-mobilemenu__item {
        border-bottom: 1px solid #f0f0f0;
    }

    .nomades-mobilemenu__row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nomades-mobilemenu__link {
        flex: 1;
        display: block;
        padding: 14px 20px;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-decoration: none;
        color: #000;
        font-family: var(--nomades-font-menu);
    }

    .nomades-mobilemenu__link:hover,
    .nomades-mobilemenu__link:focus {
        color: var(--nomades-color);
        outline: none;
    }

    /* Bouton d'ouverture N2 */
    .nomades-mobilemenu__toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: 14px 20px;
        color: #000;
        display: flex;
        align-items: center;
        transition: color 0.2s;
    }

    .nomades-mobilemenu__toggle svg {
        transition: transform 0.3s ease;
    }

    .nomades-mobilemenu__toggle[aria-expanded="true"] svg {
        transform: rotate(180deg);
    }

    .nomades-mobilemenu__toggle:hover {
        color: var(--nomades-color);
    }

    .nomades-mobilemenu__toggle svg,
    .nomades-mobilemenu__toggle path {
        pointer-events: none;
    }

    /* Sous-menu N2 */
    .nomades-mobilemenu__sub {
        list-style: none;
        margin: 0;
        padding: 0;
        background: #f8f8f8;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nomades-mobilemenu__sub>* {
        min-height: 0;
        overflow: hidden;
    }

    .nomades-mobilemenu__sub.is-open {
        max-height: 60vh;
    }

    .nomades-mobilemenu__sublink {
        display: block;
        padding: 10px 20px 10px 32px;
        font-size: 13px;
        text-decoration: none;
        color: #444;
        border-bottom: 1px solid #ececec;
    }

    .nomades-mobilemenu__sublink:hover,
    .nomades-mobilemenu__sublink:focus {
        color: var(--nomades-color);
        outline: none;
    }

    /* Voile derrière le panneau */
    .nomades-mobilemenu__overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 10010;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    .nomades-mobilemenu__overlay.is-visible {
        display: block;
    }

    /* Bloque le scroll de la page quand le menu est ouvert */
    body.nomades-menu-open {
        overflow: hidden;
    }
}


/* =============================================================
   09. RECHERCHE (module ps_searchbar)
   Barre du header, placeholder commun, liste d'autocomplétion.
   La barre de la colonne gauche est en section 13.
   ============================================================= */

/* Barre du header (desktop) : occupe l'espace restant, 160 à 260px */
#header .header-top-right #search_widget {
    flex: 1 1 160px;
    min-width: 160px;
    max-width: 260px;
    margin-left: auto;
}

#header .header-top-right #search_widget form {
    width: 100%;
    max-width: 100%;
}

#header .header-top-right #search_widget input[type="text"],
#header .header-top-right #search_widget input[type="search"] {
    width: 100%;
}

/* Placeholder (texte défini dans custom.js) */
[id="search_widget"] input[name="s"] {
    text-overflow: ellipsis;
}

[id="search_widget"] input[name="s"]::placeholder {
    font-size: 0.8rem;
    letter-spacing: 0.01em;
    color: #999;
    opacity: 1;
}

/* Liste d'autocomplétion : hauteur limitée + défilement */
.ui-autocomplete.ui-front {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    z-index: 10030; /* au-dessus des panneaux du mega menu (10020) */
}

.ui-autocomplete.ui-front .ui-menu-item a,
.ui-autocomplete.ui-front .ui-menu-item .ui-menu-item-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
}

.ui-autocomplete.ui-front img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex: 0 0 48px;
}

@media (max-width: 1023.98px) {
    .ui-autocomplete.ui-front {
        max-height: 60vh;
    }
}


/* =============================================================
   10. GRILLE PRODUITS ET VIGNETTES
   ============================================================= */
.products.row {
    margin-left: -10px;
    margin-right: -10px;
}

.products.row>.js-product.product {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}

/* Carte */
.js-product .nomades-product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.js-product .nomades-product-card:hover {
    border-color: rgb(190, 190, 190);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 16px;
}

/* Image */
.js-product .nomades-product-img {
    width: 100%;
    overflow: hidden;
}

.js-product .nomades-product-cover {
    display: block;
    width: 100%;
    height: 220px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    padding: 20px;
    box-sizing: border-box;
    transition: transform .4s ease;
}

.js-product .nomades-product-card:hover .nomades-product-cover {
    transform: scale(1.04);
}

/* Infos */
.js-product .nomades-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px 18px;
    text-align: center;
    min-height: 90px;
}

.js-product .nomades-product-name {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 6px;
    font-weight: 500;
    color: #111;
    line-height: 1.3;
}

/* Référence */
.js-product .nomades-product-ref {
    margin: -2px 0 8px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.3;
    color: #8a8a8a;
}

/* Prix */
.js-product .nomades-prices {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.js-product .nomades-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
}

.js-product .nomades-price-label {
    font-size: 0.9rem;
    font-weight: 400;
    color: #111;
}

.js-product .nomades-price-old {
    font-size: 0.9rem;
    font-weight: 400;
    color: #999;
    text-decoration: line-through;
}

@media (max-width: 991px) {
    .products.row>.js-product.product {
        margin-bottom: 15px;
    }
}

@media (max-width: 575px) {
    .products.row {
        margin-left: -6px;
        margin-right: -6px;
    }

    .products.row>.js-product.product {
        padding-left: 6px;
        padding-right: 6px;
        margin-bottom: 12px;
    }
}


/* =============================================================
   11. PAGE PRODUIT (PDP)
   ============================================================= */
#product #main .container,
#product #wrapper .container {
    max-width: var(--pdp-max);
}

#product #content {
    max-width: inherit;
}

/* Layout 2 colonnes (image dominante) */
#product .nomades-pdp {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(470px, 0.45fr);
    gap: var(--pdp-gap);
    align-items: start;
    margin-top: 40px;
}

@media (max-width: 991px) {
    #product .nomades-pdp {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 0;
    }
}

/* Image : cadre carré en background cover */
#product .nomades-pdp__media {
    text-align: left;
}

#product .nomades-media-square {
    position: relative;
    background: var(--studio);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#product .nomades-media-square::before {
    content: "";
    display: block;
    padding-top: 100%; /* ratio 1:1 */
    background: var(--studio);
}

/* L'image <img> reste pour le SEO et le zoom, masquée visuellement */
#product .nomades-media-square .product-cover {
    position: absolute;
    inset: 0;
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
}

#product .nomades-media-square .product-cover img {
    opacity: 0;
    pointer-events: none;
}

/* Miniatures en ligne */
#product .nomades-pdp__media .product-images {
    margin-top: 18px;
}

#product .nomades-pdp__media .js-qv-mask {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#product .nomades-pdp__media .js-qv-mask::-webkit-scrollbar {
    display: none;
}

#product .nomades-pdp__media .product-images>ul,
#product .nomades-pdp__media .js-qv-mask ul {
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

#product .nomades-pdp__media .product-images img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    background: var(--studio);
    display: block;
    border: 0;
}

#product .nomades-pdp__media .product-images .selected img {
    outline: 2px solid #000;
    outline-offset: 0;
}

/* Colonne infos */
#product .nomades-pdp__info {
    padding-top: 6px;
    color: var(--text);
}

#product .nomades-pdp__title {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}

/* Prix */
.product-prices div {
    margin-bottom: 0;
}

#product .nomades-pdp__info .product-prices {
    display: flex;
    flex-direction: column;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

#product .nomades-pdp__info .current-price span {
    font-size: 30px;
    font-weight: 700;
    color: #000;
}

#product .nomades-pdp__info .tax-shipping-delivery-label,
#product .nomades-pdp__info .product-tax-label {
    font-size: 12px;
    color: var(--muted);
    margin-left: 7px;
}

.nomades-pdp__price-ht-wrapper,
.nomades-pdp__price-ttc-wrapper {
    display: block;
    line-height: 1.4;
}

.nomades-pdp__price-ht {
    font-size: 1.7rem;
    font-weight: 700;
    color: #000;
}

.nomades-pdp__price-label-ht {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
}

.nomades-pdp__price-ttc {
    font-size: 0.95rem;
    color: #777;
}

.nomades-pdp__price-label-ttc {
    font-size: 0.8rem;
    color: #777;
}

/* Descriptions, stock, dimensions */
#product .nomades-pdp__shortdesc {
    margin: 10px 0 18px;
    max-width: 52ch;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

#product .nomades-pdp__info .product-description.nomades-pdp__desc {
    margin-top: 10px;
}

#product .nomades-pdp__stock {
    padding: 15px;
    margin-top: 20px;
    background: #F8F8F8;
    color: #000000;
}

#product .nomades-pdp__availability-date {
    margin-top: 6px;
    font-size: 14px;
}

#product .nomades-pdp__stock > .nomades-pdp__availability-date:first-child {
    margin-top: 0;
}

#product .nomades-pdp__availability-date-label {
    font-weight: 600;
    margin-right: 6px;
}

#product-availability .alert {
    margin-top: 20px;
    border: none;
    background: var(--studio);
}

.nomades-pdp__dimensions {
    margin: 12px 0;
}

.nomades-pdp__dimensions-label {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.nomades-pdp__dimension-line {
    font-size: 14px;
    color: #555;
}

/* Déclinaisons en boutons */
#product .nomades-pdp__info .product-variants .product-variants-item {
    margin: 16px 0;
}

#product .nomades-pdp__info .product-variants .control-label {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
    color: var(--muted);
}

#product .nomades-pdp__info .product-variants .input-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

#product .nomades-pdp__info .product-variants input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#product .nomades-pdp__info .product-variants input[type="radio"]+span,
#product .nomades-pdp__info .product-variants .radio-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    min-width: 96px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    user-select: none;
    font-size: 13px;
}

#product .nomades-pdp__info .product-variants input[type="radio"]:checked+span {
    border-color: #000;
    box-shadow: 0 0 0 1px #000 inset;
}

/* Quantité + bouton panier */
#product .nomades-pdp__info .product-actions {
    margin-top: 18px;
}

#product .nomades-pdp__info .product-quantity {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 14px;
    align-items: center;
}

@media (max-width: 991px) {
    #product .nomades-pdp__info .product-quantity {
        grid-template-columns: 1fr;
    }
}

#product .nomades-pdp__info .add-to-cart {
    width: 100%;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: var(--cta-bg);
    border: 1px solid var(--cta-bg);
    color: var(--cta-text);
    border-radius: var(--radius);
}

#product .nomades-pdp__info .add-to-cart:hover {
    background: var(--cta-bg-hover);
    border-color: var(--cta-bg-hover);
}

/* Éléments masqués ou discrets */
#product .nomades-pdp__info .social-sharing {
    display: none;
}

#product .nomades-pdp__info .wishlist-button-add,
#product .nomades-pdp__info .add-to-wishlist {
    opacity: .35;
}

#product .nomades-pdp__reassurance {
    margin-top: 18px;
    color: var(--muted);
}

#product .product-flags {
    display: none;
}

/* Détails : onglets verticaux */
#product .nomades-pdp__details {
    margin-top: 60px;
    max-width: 1200px;
}

#product .nomades-tabs {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 991px) {
    #product .nomades-tabs {
        grid-template-columns: 1fr;
    }
}

#product .nomades-tabs__nav .nav {
    display: flex;
    flex-direction: column;
    border-left: 3px solid #111;
    padding-left: 12px;
    margin: 0;
}

#product .nomades-tabs__nav .nav-link {
    border: 0;
    background: transparent;
    padding: 10px 0;
    color: rgba(0, 0, 0, .75);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
}

#product .nomades-tabs__nav .nav-link.active {
    color: #111;
    font-weight: 700;
}


/* =============================================================
   12. FIL D'ARIANE (pleine largeur, masqué en mobile)
   ============================================================= */
#wrapper nav.breadcrumb {
    display: block;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding: 30px 20%;
    margin-top: 0;
    margin-bottom: 10px;
    background: #F8F8F8;
    box-sizing: border-box;
}

#wrapper nav.breadcrumb>ol {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

#wrapper nav.breadcrumb li {
    font-size: 13px;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
    color: #222;
    white-space: nowrap;
}

#wrapper nav.breadcrumb a {
    color: #222;
    text-decoration: none;
}

#wrapper nav.breadcrumb li+li::before {
    content: "/";
    display: inline-block;
    margin: 0 10px;
    color: #888;
}

#wrapper nav.breadcrumb li::after {
    content: none !important;
}

#wrapper .breadcrumb li:last-child {
    color: var(--nomades-color);
}

@media (max-width: 1023.98px) {
    #wrapper nav.breadcrumb {
        display: none;
    }
}


/* =============================================================
   13. PAGE CATÉGORIE - COLONNE GAUCHE (module ps_categorytree)
   Template surchargé : barre de recherche à la place de "Accueil"
   ============================================================= */
@media (min-width: 1200px) {
    #category .container {
        width: 1350px !important;
    }
}

#left-column {
    padding-right: 30px;
    overflow: hidden;
}

/* Bloc */
.block-categories {
    border: 1px solid #e8e8e8;
    background: transparent;
    padding: 16px 20px 8px 20px;
    overflow: hidden; /* évite le scroll horizontal au dépliage */
}

.block-categories .category-top-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.block-categories .category-sub-menu {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

/* ---- Barre de recherche en haut du bloc ---- */
.block-categories .block-categories__search {
    padding: 8px 0 12px 0;
}

.block-categories .block-categories__search #search_widget,
.block-categories .block-categories__search .search-widget,
.block-categories .block-categories__search form {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    float: none;
    margin: 0;
    box-sizing: border-box;
}

.block-categories .block-categories__search input[type="text"] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* En mobile, la barre du header suffit : pas de doublon */
@media (max-width: 1023.98px) {
    .block-categories .block-categories__search {
        display: none;
    }
}

/* ---- N0 (data-depth="0") : grille lien | bouton +/- ---- */
.block-categories .category-sub-menu>li[data-depth="0"] {
    display: grid;
    grid-template-columns: 1fr 24px;
    grid-template-rows: auto;
    align-items: center;
    list-style: none;
    border-bottom: none;
    padding: 0;
    margin: 0;
}

.block-categories .category-sub-menu>li[data-depth="0"]>a {
    grid-column: 1;
    grid-row: 1;
    display: inline;
    padding: 13px 8px 13px 0;
    font-family: var(--nomades-font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.block-categories .category-sub-menu>li[data-depth="0"]:hover>a {
    color: var(--nomades-color);
    text-decoration: none;
}

/* Sous-liste N0 : pleine largeur sous la ligne */
.block-categories .category-sub-menu>li[data-depth="0"]>.collapse,
.block-categories .category-sub-menu>li[data-depth="0"]>.collapsing {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
}

.block-categories .category-sub-menu>li[data-depth="0"]>.collapse.in,
.block-categories .category-sub-menu>li[data-depth="0"]>.collapse.show {
    padding-bottom: 8px;
}

/* Bouton +/- */
.block-categories .collapse-icons,
.block-categories .navbar-toggler.collapse-icons {
    grid-column: 2;
    grid-row: 1;
    position: static !important;
    top: auto !important;
    transform: none !important;
    justify-self: end;
    align-self: center;
    flex-shrink: 0;
    cursor: pointer;
    width: 24px;
    height: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Icône + visible fermé, - visible ouvert */
.block-categories .collapse-icons .material-icons.add {
    display: inline-block !important;
    font-size: 1.1rem !important;
    color: #aaa !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
}

.block-categories .collapse-icons .material-icons.remove {
    display: none !important;
}

.block-categories .collapse-icons[aria-expanded="true"] .material-icons.add {
    display: none !important;
}

.block-categories .collapse-icons[aria-expanded="true"] .material-icons.remove {
    display: inline-block !important;
    font-size: 1.1rem !important;
    color: #aaa !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
}

.block-categories .collapse-icons:hover .material-icons.add,
.block-categories .collapse-icons:hover .material-icons.remove,
.block-categories .collapse-icons:focus .material-icons {
    color: var(--nomades-color) !important;
}

/* Autres icônes Material (flèches N1/N2) masquées :
   remplacées par les pseudo-éléments › ci-dessous */
.block-categories .category-sub-menu .material-icons:not(.add):not(.remove) {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    overflow: hidden !important;
    width: 0 !important;
    height: 0 !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---- N1 (data-depth="1") ---- */
.block-categories .category-sub-menu li[data-depth="1"] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: none;
}

.block-categories .category-sub-menu li[data-depth="1"]::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    margin-left: 6px;
    transition: background-color 0.2s;
}

.block-categories .category-sub-menu li[data-depth="1"]:hover::before {
    background-color: var(--nomades-color);
}

.block-categories .category-sub-menu li[data-depth="1"]>a.category-sub-link {
    flex: 1 1 auto;
    padding: 7px 0 7px 8px;
    font-family: var(--nomades-font-body);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #444;
    text-decoration: none;
    transition: color 0.2s;
}

.block-categories .category-sub-menu li[data-depth="1"]>a.category-sub-link:hover,
.block-categories .category-sub-menu li[data-depth="1"].current>a.category-sub-link {
    color: var(--nomades-color);
    text-decoration: none;
}

.block-categories .category-sub-menu li[data-depth="1"]>.arrows {
    flex-shrink: 0;
    cursor: pointer;
    padding: 0;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.block-categories .category-sub-menu li[data-depth="1"]>.arrows::after {
    content: '›';
    font-size: 1rem;
    color: #bbb;
    line-height: 1;
    transition: color 0.2s;
}

.block-categories .category-sub-menu li[data-depth="1"]>.arrows[aria-expanded="true"]::after {
    content: '‹';
    transform: rotate(-90deg);
    display: inline-block;
}

.block-categories .category-sub-menu li[data-depth="1"]:hover>.arrows::after {
    color: var(--nomades-color);
}

.block-categories .category-sub-menu li[data-depth="1"]>.collapse,
.block-categories .category-sub-menu li[data-depth="1"]>.collapsing {
    flex: 0 0 100%;
    width: 100%;
}

/* ---- N2 (data-depth="2") ---- */
.block-categories .category-sub-menu li[data-depth="2"] {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

.block-categories .category-sub-menu li[data-depth="2"]::before {
    content: '' !important;
    display: block;
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ddd;
    margin-left: 20px;
    transition: background-color 0.2s;
}

.block-categories .category-sub-menu li[data-depth="2"]:hover::before {
    background-color: var(--nomades-color);
}

.block-categories .category-sub-menu li[data-depth="2"]>a.category-sub-link {
    flex: 1 1 auto;
    padding: 5px 0 5px 8px;
    font-size: 0.73rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #777;
    text-decoration: none;
    transition: color 0.2s;
}

.block-categories .category-sub-menu li[data-depth="2"]>a.category-sub-link:hover {
    color: var(--nomades-color);
    text-decoration: none;
}

.block-categories .category-sub-menu li[data-depth="2"]>.arrows {
    flex-shrink: 0;
    cursor: pointer;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.block-categories .category-sub-menu li[data-depth="2"]>.arrows::after {
    content: '›';
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1;
    transition: color 0.2s;
}

.block-categories .category-sub-menu li[data-depth="2"]>.arrows[aria-expanded="true"]::after {
    content: '‹';
    transform: rotate(-90deg);
    display: inline-block;
}

.block-categories .category-sub-menu li[data-depth="2"]:hover>.arrows::after {
    color: var(--nomades-color);
}

.block-categories .category-sub-menu li[data-depth="2"]>.collapse,
.block-categories .category-sub-menu li[data-depth="2"]>.collapsing {
    flex: 0 0 100%;
    width: 100%;
}

/* ---- N3 (data-depth="3") ---- */
.block-categories .category-sub-menu li[data-depth="3"] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.block-categories .category-sub-menu li[data-depth="3"]::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #e8e8e8;
    margin-left: 34px;
    transition: background-color 0.2s;
}

.block-categories .category-sub-menu li[data-depth="3"]:hover::before {
    background-color: var(--nomades-color);
}

.block-categories .category-sub-menu li[data-depth="3"]>a.category-sub-link {
    display: block;
    padding: 4px 0 4px 8px;
    font-size: 0.70rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.block-categories .category-sub-menu li[data-depth="3"]>a.category-sub-link:hover {
    color: var(--nomades-color);
    text-decoration: none;
}


/* =============================================================
   14. PAGE CATÉGORIE - BANNIÈRE
   ============================================================= */
#js-product-list-header {
    margin-inline: calc(var(--bs-gutter-x, 15px) * -1);
}

#js-product-list-header .block-category {
    position: relative !important;
    border: none !important;
    margin-bottom: 40px !important;
    overflow: hidden !important;
    background-image: inherit;
    background-size: inherit !important;
    background-position: 50% 29% !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    min-height: 0 !important;
    height: 300px !important;
    display: flex !important;
    align-items: flex-end !important;
}

/* Image animée (effet Ken Burns) */
#js-product-list-header .block-category::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: inherit !important;
    background-position: center !important;
    z-index: 0;
    animation: kenburns 4s ease-out forwards;
}

/* Dégradé sombre pour la lisibilité du titre */
#js-product-list-header .block-category::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
    z-index: 1;
}

#js-product-list-header .block-category .h1 {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 24px 32px 24px 15px;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* Catégorie sans image */
#js-product-list-header .block-category-no-image {
    margin-bottom: 40px;
}

#js-product-list-header .block-category-no-image .h1 {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #111;
    margin: 0;
    padding: 20px 0 0 10px;
}

@keyframes kenburns {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

/* Vignettes de sous-catégories masquées */
#subcategories {
    display: none !important;
}