@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 – VARIABLES
   ========================= */
:root {
    --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;

    --nomades-color: #D8B280;
    --nomades-color-accentue: #c7a46f;
}

/* =========================
   Typo globale = Average Sans
   ========================= */
body {
    font-family: var(--nomades-font-body-new);
    font-weight: 400;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--nomades-font-titres-new);
    font-weight: 600;
}

/* Formulaires / boutons = Average Sans */
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;
}

/* =========================
    THÈME
   ========================= */

#wrapper {
    background: #FFFFFF;
    padding: 0;
}

.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);
}


@media (max-width: 991px) {
    #content-wrapper {
        padding: 0;
    }
}

/* =========================
   TOP BAR
   ========================= */
.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;
}


/* =========================
   HEADER
   ========================= */
#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;
}

#header .logo {
    width: 150px;
}

#header .header-top-right {
    display: flex;
    align-items: center;
    gap: 24px;
    position: static;
}

/* =========================
   MEGA MENU – DESKTOP (Nomades)
   ========================= */
#header .header-top-right .nomades-megamenu {
    position: relative;
    flex: 1 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: 20px;

    list-style: none;
    margin: 0;
    padding: 0;
}

/* LI N1 */
#header .header-top-right .nomades-megamenu__item {
    position: relative;
}

/* Lien N1 */
#header .header-top-right .nomades-megamenu__link {
    display: inline-flex;
    align-items: center;
    padding: 16px 0;

    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;

    color: #000;
    text-decoration: none;
    letter-spacing: 0.06em;
}

/* Hover/focus N1 */
#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;
}

/* Panel N2 (bubble) */
#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 panel (hover + clavier) */
#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;
}

/* N1 sans enfants */
#header .header-top-right .nomades-megamenu__item.has-no-children>.nomades-megamenu__link {
    cursor: pointer;
}

/* =========================
   SEARCH (desktop)
   ========================= */
#header .header-top-right #search_widget {
    flex: 0 0 auto;
    margin-left: auto;
}

#header .header-top-right #search_widget form {
    width: 260px;
    max-width: 260px;
}

#header .header-top-right #search_widget input[type="text"],
#header .header-top-right #search_widget input[type="search"] {
    width: 100%;
}

#header .header-top>.container>.row:first-of-type {
    display: flex;
    flex-wrap: wrap;
}

/* =========================
   MENU NATIF PRESTASHOP
   - Desktop : caché
   - Mobile : couleur hover/active
   ========================= */
@media (min-width: 992px) {
    #header .header-top>.container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 5%;
        padding-right: 5%;
        box-sizing: border-box;
    }
}

@media (min-width: 1024px) {
    #_desktop_top_menu {
        display: none !important;
    }
}

@media (max-width: 1198px) {
    #header .header-top>.container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 5%;
        padding-right: 5%;
        box-sizing: border-box;
    }

    #_desktop_logo {
        width: 100%;
    }

    #header .logo {
        width: 110px;
        display: block;
        margin: 0 auto 10px auto;
    }

    #header .header-top-right {
        width: 100%;
    }
}

@media (max-width: 1023.98px) {

    /* cacher megamenu desktop */
    #header .header-top-right .nomades-megamenu {
        display: none !important;
    }

    /* search responsive */
    #header .header-top-right #search_widget form {
        width: 100%;
        max-width: 100%;
    }

    /* couleurs menu mobile natif */
    #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;
    }
}

/* Menu natif : lien niveau 0 (desktop/tablet si affiché ailleurs) */
#header .top-menu a[data-depth="0"]:hover,
#header .top-menu a[data-depth="0"]:focus {
    color: var(--nomades-color);
}

/* =========================
   MENU BURGER MOBILE (Nomades)
   Visible uniquement < 767px
   Le mega menu desktop garde ses styles existants
   ========================= */

/* Cacher le burger sur desktop */
.nomades-mobilemenu {
    display: none;
}

@media (max-width: 1023.98px) {

    /* Effacer le burger d'origine */
    #menu-icon {
        display: none !important;
    }

    /* Déplacer le logo */
    #header .top-logo img {
        margin-left: 65px;
        margin-top: 8px;
    }

    /* ── Afficher le burger ── */
    .nomades-mobilemenu {
        display: flex;
        align-items: center;
    }


    /* ── Bouton burger ── */
    .nomades-mobilemenu__burger {
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        color: #000;
        z-index: 10030;
        /* position: relative; */
        position: absolute;
        bottom: 28px;
        left: 15px;

    }

    .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;
    }

    /* Animation 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);
    }

    /* ── Panel 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;
    }

    /* ── Item N1 ── */
    .nomades-mobilemenu__item {
        border-bottom: 1px solid #f0f0f0;
    }

    /* ── Ligne N1 (lien + toggle) ── */
    .nomades-mobilemenu__row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* ── Lien N1 ── */
    .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 toggle 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;
        /* ← obligatoire pour que 0fr colle à zéro */
        overflow: hidden;
    }

    .nomades-mobilemenu__sub.is-open {
        max-height: 60vh;
        /* ou 500px, ou 999px selon ton menu */
    }

    /* ── Lien N2 ── */
    .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;
    }

    /* ── Overlay ── */
    .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;
    }

    /* Bloquer le scroll body quand menu ouvert */
    body.nomades-menu-open {
        overflow: hidden;
    }
}



/* =========================================
   GRID PRODUITS – même rendu que home
   ========================================= */

.products.row {
    margin-left: -10px;
    margin-right: -10px;
}

.products.row > .js-product.product {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}

/* Carte — même style que .nomades-product-card home */
.js-product .nomades-product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    /* border: 1px solid rgb(232, 232, 232); */
    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;
}

.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;
}

/* Responsive */
@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;
    }
}

/* =========================
   NOMADES – PDP PREMIUM (refonte complète)
   - Image carrée en background-cover
   - Colonne droite compacte
   - CTA noir centré verticalement
   - Variantes boutons
   - Tabs verticales
   ========================= */

:root {
    --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;
}

@media (min-width: 1200px) {
    #category .container {
        width: 1350px !important;
    }
}

@media (min-width: 768px) {
    .container {
        width: 900px;
        max-width: 100%;
    }
}

/* 0) Container plus large */
#product #main .container,
#product #wrapper .container {
    max-width: var(--pdp-max);
}

/* 1) 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;
    }
}

/* 2) MEDIA : carré + background cover */
#product .nomades-pdp__media {
    text-align: left;
}

/* Wrapper ajouté dans le TPL */
#product .nomades-media-square {
    position: relative;
}

/* On force un cadre carré */
#product .nomades-media-square::before {
    content: "";
    display: block;
    padding-top: 100%;
    /* 1:1 */
    background: var(--studio);
}

/* Le background cover (via data-bg) */
#product .nomades-media-square {
    background: var(--studio);
}

#product .nomades-media-square {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* On convertit data-bg en background via un fallback simple :
   -> on met aussi un style inline possible (voir note plus bas).
   Sans inline style, tu devras mettre le background en JS (non souhaité).
*/
#product .nomades-media-square[data-bg] {
    /* Ce bloc ne peut pas lire data-bg en CSS pur.
     Donc : utilise plutôt style="background-image:url(...)" dans le TPL.
  */
}

/* L’image <img> reste pour SEO / zoom mais on la cache visuellement */
#product .nomades-media-square .product-cover img {
    opacity: 0;
    pointer-events: none;
}

/* Le cover doit être en absolute pour remplir le carré */
#product .nomades-media-square .product-cover {
    position: absolute;
    inset: 0;
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
}

/* 3) Miniatures (ligne) */
#product .nomades-pdp__media .product-images {
    margin-top: 18px;
}

#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;
    overflow-x: auto;
    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;
}

/* 4) Colonne info : premium */
#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;
}

#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;
}

/* short desc : discret */
#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;
}

/* 5) Variantes 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;
}

/* 6) Quantité + CTA */
#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;
    }
}

/* Bouton : centrage vertical garanti via flex */
#product .nomades-pdp__info .add-to-cart {
    width: 100%;
    padding: 0 18px;
    /* plus de padding vertical => alignement stable */
    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);
}

/* 7) Nettoyage */
#product .nomades-pdp__info .social-sharing {
    display: none;
}

/* coeur wishlist plus discret */
#product .nomades-pdp__info .wishlist-button-add,
#product .nomades-pdp__info .add-to-wishlist {
    opacity: .35;
}

/* réassurance : discret */
#product .nomades-pdp__reassurance {
    margin-top: 18px;
    color: var(--muted);
}

/* Option : le badge "NEUF" casse le premium */
#product .product-flags {
    display: none;
}

/* 8) Détails : tabs verticales (si tu as appliqué mon TPL nomades-tabs) */
#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;
}

#product-availability .alert {
    margin-top: 20px;
    border: none;
    background: var(--studio);
}

/* ===================================
   PRODUCT BREADCRUMB
   =================================== */

/* BREADCRUMB FULL WIDTH */
#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;
}

#product #content {
    max-width: inherit;
}

#wrapper .breadcrumb li:last-child {
    color: var(--nomades-color);
}

@media (max-width: 1023.98px) {

    #wrapper {
        padding-left: 2%;
        padding-right: 2%;
    }

    #wrapper nav.breadcrumb {
        display: none;
    }
}

.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;
}

.block-categories .category-sub-menu {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.block-categories .category-sub-menu li[data-depth="1"],
.product-prices div {
    margin-bottom: 0
}

/* =========================
   PAGE CATÉGORIE – SIDEBAR GAUCHE
   ========================= */
 
/* Conteneur sidebar */
#left-column {
    padding-right: 30px;
}
 
/* Bloc catégories global */
.block-categories {
    border: 1px solid #e8e8e8;
    background: transparent;
    padding: 16px 20px 8px 20px;
}
 
/* Titre "ACCUEIL" du bloc */
.block-categories .category-top-menu > li:first-child > a.h6 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-family: var(--nomades-font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    border-bottom: none;
    margin-bottom: 0;
}
 
/* Lien "Accueil" : pas d'icône + */
.block-categories .category-top-menu > li:first-child > a.h6::after {
    content: '';
    display: none;
}
 
/* ---- Liste racine ---- */
.block-categories .category-top-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
 
/* ---- Chaque item N0 (data-depth="0") ---- */
.block-categories .category-sub-menu > li[data-depth="0"] {
    border-bottom: none;
    list-style: none;
    padding: 0;
    margin: 0;
}
 
/* Lien N0 + bouton toggler : on les met en flex sur la même ligne */
.block-categories .category-sub-menu > li[data-depth="0"] > a {
    display: inline;
    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;
}
 
/* Wrapper N0 : grid 2 colonnes — lien | toggler */
.block-categories .category-sub-menu > li[data-depth="0"] {
    display: grid;
    grid-template-columns: 1fr 24px;
    grid-template-rows: auto;
    align-items: center;
    padding: 0;
    margin: 0;
}
 
.block-categories .category-sub-menu > li[data-depth="0"] > a {
    grid-column: 1;
    grid-row: 1;
    padding: 13px 8px 13px 0;
}
 
.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;
}
 
.block-categories .category-sub-menu > li[data-depth="0"]:hover > a {
    color: var(--nomades-color);
    text-decoration: none;
}
 
/* Bouton +/- (navbar-toggler) */
.block-categories .collapse-icons,
.block-categories .navbar-toggler.collapse-icons {
    flex-shrink: 0;
    cursor: pointer;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
    width: 24px;
    height: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    margin: 0 !important;
}
 
/* Icônes Material Icons add/remove */
.block-categories .collapse-icons .material-icons {
    font-size: 1.1rem;
    color: #aaa;
    line-height: 1;
}
 
.block-categories .collapse-icons:hover .material-icons,
.block-categories .collapse-icons:focus .material-icons {
    color: var(--nomades-color) !important;
}
 
/* Masquer l'icône remove par défaut (collapsed) */
.block-categories .collapse-icons .material-icons.remove {
    display: none;
}
/* Quand ouvert : show remove, hide add */
.block-categories .collapse-icons[aria-expanded="true"] .material-icons.add {
    display: none;
}
.block-categories .collapse-icons[aria-expanded="true"] .material-icons.remove {
    display: inline;
}
 
/* Le collapse div prend toute la largeur — span 2 colonnes du grid */
.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%;
}
 
/* ---- Items 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;
}
 
/* Flèche > / v pour N1 */
.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;
}
 
/* Masquer tout le texte des icônes Material Icons */
.block-categories .category-sub-menu li[data-depth="1"] > .arrows .material-icons {
    font-size: 0;
    color: transparent;
    width: 0;
    overflow: hidden;
}
 
/* Afficher > ou v via le pseudo-élément du span.arrows */
.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);
}
 
/* arrow-right visible par défaut, arrow-down masqué — conservés pour compatibilité */
.block-categories .category-sub-menu li[data-depth="1"] > .arrows .material-icons.arrow-down {
    display: none;
}
.block-categories .category-sub-menu li[data-depth="1"] > .arrows[aria-expanded="true"] .material-icons.arrow-right {
    display: none;
}
.block-categories .category-sub-menu li[data-depth="1"] > .arrows[aria-expanded="true"] .material-icons.arrow-down {
    display: none;
}
 
/* Collapse N1 : pleine largeur */
.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%;
}
 
/* ---- Items 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;
}
 
/* Flèche N2 */
.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 .material-icons {
    font-size: 0;
    color: transparent;
    width: 0;
    overflow: hidden;
}
 
.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"] > .arrows .material-icons.arrow-down {
    display: none;
}
.block-categories .category-sub-menu li[data-depth="2"] > .arrows[aria-expanded="true"] .material-icons.arrow-right {
    display: none;
}
.block-categories .category-sub-menu li[data-depth="2"] > .arrows[aria-expanded="true"] .material-icons.arrow-down {
    display: none;
}
 
.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%;
}
 
/* ---- Items 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;
}
 
/* Padding bas après les sous-menus ouverts */
.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;
}
 
/* Masquer uniquement les material-icons résiduels hors collapse-icons */
.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;
}
 
/* Toggler N0 : add visible par défaut, remove masqué */
.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;
}
 
/* Toggler N0 ouvert : add masqué, remove visible */
.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;
}
 
/* Hover couleur nomades */
.block-categories .collapse-icons:hover .material-icons.add,
.block-categories .collapse-icons:hover .material-icons.remove {
    color: var(--nomades-color) !important;
}

/* Empêcher le scroll horizontal causé par le dépliage des catégories */
.block-categories {
    overflow: hidden;
}

#left-column {
    overflow: hidden;
}

/* Éviter le scroll horizontal global */
body {
    overflow-x: hidden;
}

/* =========================
   PAGE CATÉGORIE – HERO BANNER
   ========================= */
#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: 0 !important;
    background-size: inherit !important;
    /* background-size: 67vw !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;
}

#js-product-list-header .block-category::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: inherit !important;
    /* background-size: 67vw !important; */
    background-position: center !important;
    z-index: 0;
    animation: kenburns 4s ease-out forwards;
}

#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);
}

#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-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);
    }
}

#subcategories {
    display: none !important;
}


