:root {
    --couleur1   : #32004e;
    --couleur2   : #ecb745;
    --couleur3   : #69eea5;
    --couleur4   : #8213c2;
    --couleur5   : #bb0000;
    --couleur6   : #0066ff;
    --couleur7   : #156103;
    --bg-couleur0: #dddddd;
    --bg-couleur1: #c77373;
    --bg-couleur2: #73bdc7;
    --blanc      : #ffffff;
    --gris0      : rgba(238, 238, 238, 0.2);
    --gris1      : #cccccc;
    --gris2      : #696969;
    --noir       : #000000;

    --transition: 0.4s ease;
}






body {
    background: var(--bg-couleur0);
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
}

/* ========== PRELOADER ========== */
#page-preloader {
    position              : fixed;
    inset                 : 0;
    display               : flex;
    align-items           : center;
    justify-content       : center;
    background            : var(--noir);
    z-index               : 99999;
    transition            : opacity .35s ease, visibility .35s ease;
    visibility            : visible;
    opacity               : 1;
    -webkit-font-smoothing: antialiased;
    text-rendering        : optimizeLegibility;
}

#page-preloader.hidden {
    opacity       : 0;
    visibility    : hidden;
    pointer-events: none;
}

/* inner card */
#page-preloader .preloader-inner {
    width         : 360px;
    max-width     : 92%;
    background    : linear-gradient(130deg, rgba(255, 255, 255, 0.9), rgba(251, 251, 251, 0.8));
    padding       : 22px;
    border-radius : 12px;
    box-shadow    : 0 18px 60px rgba(0, 0, 0, 0.35);
    display       : flex;
    flex-direction: column;
    align-items   : center;
    gap           : 14px;
    text-align    : center;
    color         : var(--couleur1, #32004e);
}

/* spinner (dot + wipe effect) */
.spinner {
    width          : 92px;
    height         : 92px;
    border-radius  : 50%;
    background     : conic-gradient(var(--couleur4, #8213c2), transparent 40%, rgba(0, 0, 0, 0.04));
    display        : flex;
    align-items    : center;
    justify-content: center;
    position       : relative;
    animation      : spin 1.6s linear infinite;
}

.spinner .dot {
    width           : 34px;
    height          : 34px;
    border-radius   : 50%;
    background      : linear-gradient(90deg, var(--couleur1, #32004e), var(--couleur4, #8213c2));
    box-shadow      : 0 8px 22px rgba(130, 19, 194, 0.12);
    transform-origin: center;
    animation       : pulse 1.2s ease-in-out infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.88);
        opacity  : 0.9;
    }

    50% {
        transform: scale(1.05);
        opacity  : 1;
    }

    100% {
        transform: scale(0.88);
        opacity  : 0.9;
    }
}

/* loader text animation (wipe similar to your original) */
.loader-text {
    font-size     : 22px;
    font-weight   : 700;
    letter-spacing: 1px;
    color         : var(--couleur1, #32004e);
    position      : relative;
    padding       : 2px 6px;
    overflow      : hidden;
}

.loader-text::after {
    content         : "Loading";
    position        : absolute;
    left            : 0;
    top             : 0;
    width           : 100%;
    height          : 100%;
    color           : #263238;
    text-shadow     : 0 0 2px var(--blanc), 0 0 1px var(--blanc);
    transform-origin: top;
    animation       : wipe 3s linear infinite;
}

@keyframes wipe {
    0% {
        height: 100%;
    }

    70% {
        height: 0%;
    }

    100% {
        height: 0%;
    }
}

/* note & retry */
.preloader-note {
    font-size : 13px;
    color     : var(--gris2, #696969);
    min-height: 1.25em;
}

.preloader-actions {
    display: none;
}

#preloader-retry.btn-small {
    background   : linear-gradient(90deg, var(--couleur1, #32004e), var(--couleur4, #8213c2));
    color        : var(--blanc);
    border       : none;
    padding      : 8px 12px;
    border-radius: 8px;
    cursor       : pointer;
    font-weight  : 700;
    box-shadow   : 0 8px 20px rgba(130, 19, 194, 0.08);
}

#preloader-retry.btn-small:active {
    transform: translateY(1px);
}

/* ========== BACK TO TOP ========== */
#back-to-top {
    position      : fixed;
    right         : 18px;
    bottom        : 22px;
    width         : 46px;
    height        : 46px;
    border-radius : 50%;
    display       : grid;
    place-items   : center;
    background    : linear-gradient(90deg, var(--couleur1, #32004e), var(--couleur4, #8213c2));
    color         : var(--blanc);
    border        : none;
    cursor        : pointer;
    z-index       : 999;
    box-shadow    : 0 0 20px 1px rgba(130, 19, 194, 0.12);
    transition    : transform .18s ease, opacity .18s ease;
    opacity       : 0;
    pointer-events: none;
}

#back-to-top.show {
    opacity       : 1;
    pointer-events: auto;
}

#back-to-top:hover {
    transform: translateY(-3px);
}

/* icon */
#back-to-top i {
    font-size: 18px;
}


.all-shop-page-style {
    width   : 100%;
    position: relative;
    overflow: hidden;
}

.all-shop-page-style .btn {
    background: linear-gradient(var(--gris1), var(--gris2));
    color     : var(--blanc);
    border    : none;
    transition: var(--transition);
}

.all-shop-page-style .btn:hover {
    background: linear-gradient(var(--couleur1), var(--couleur4));
}


.all-shop-page-style .main-wrapper {
    max-width: 1200px;
    overflow : hidden;
    margin   : 0;
    padding  : 0;
    margin   : 0 auto;
}

.all-shop-page-style header {
    width: 100%;
}

.all-shop-page-style .header-gif {
    position  : relative;
    width     : 100%;
    max-height: 60px;
    overflow  : hidden;
    background: var(--gris1);
    z-index   : 0;
}

.all-shop-page-style .header-gif img {
    width     : 100%;
    object-fit: cover;
}

.all-shop-page-style .marquee {
    position  : relative;
    width     : 100%;
    background: var(--gris0);
    z-index   : 2;
}

.all-shop-page-style .marquee .main-wrapper .text {
    animation  : headerMarquee 25s linear infinite;
    transition : var(--transition);
    white-space: nowrap;
    padding    : 5px 0;
}

@keyframes headerMarquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.all-shop-page-style .marquee .text:hover {
    animation-play-state: paused;
}



.all-shop-page-style .navbar {
    width     : 100%;
    height    : 65px;
    z-index   : 3;
    background: var(--blanc);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow .25s ease, background .25s ease;
}

.all-shop-page-style .navbar.is-fixed {
    position  : fixed;
    top       : 0;
    left      : 0;
    background: linear-gradient(var(--blanc), #fbfbfb);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}


.all-shop-page-style .navbar .main-wrapper {
    width          : 100%;
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    gap            : 15px;
    overflow       : visible;
    z-index        : 1000;
}

.all-shop-page-style .navbar .main-wrapper .brand img {
    width     : 55px;
    min-width : 55px;
    height    : 55px;
    object-fit: contain;
}

.all-shop-page-style .navbar .main-wrapper .search {
    width: 500px;
}

.all-shop-page-style .navbar .main-wrapper .search .search-c-wrap {
    position       : relative;
    width          : 100%;
    max-width      : 500px;
    display        : flex;
    flex-direction : column;
    align-items    : center;
    justify-content: center;
    gap            : 5px;
    padding        : 5px;
    border-radius  : 10px;
}

.all-shop-page-style .navbar .main-wrapper .search .search-c-wrap input {
    height       : 40px;
    width        : 100%;
    border-radius: 5px;
    border       : 1px solid var(--gris1);
    outline      : none;
    padding      : 5px 15px;
}

.all-shop-page-style .navbar .main-wrapper .search .search-c-wrap button {
    width        : 100px;
    min-width    : 100px;
    height       : 40px;
    border-radius: 5px;
    background   : linear-gradient(var(--gris1), var(--gris2));
    color        : var(--blanc);
    border       : none;
    transition   : var(--transition);
}

.all-shop-page-style .navbar .main-wrapper .search .search-c-wrap button:hover {
    background: linear-gradient(var(--couleur1), var(--couleur4));
}


.all-shop-page-style .navbar .main-wrapper .navbar-options {
    display        : flex;
    align-items    : center;
    justify-content: space-evenly;
    gap            : 10px;
}

.all-shop-page-style .navbar .open-search-form,
.all-shop-page-style .navbar .main-wrapper .navbar-options .item {
    position       : relative;
    display        : flex;
    flex-direction : column;
    align-items    : center;
    justify-content: center;
    border         : none;
    background     : none;
    transition     : var(--transition);
}

.all-shop-page-style .navbar .open-search-form:hover,
.all-shop-page-style .navbar .main-wrapper .navbar-options .item:hover {
    transform: scale(0.9);
}


.all-shop-page-style .navbar .open-search-form {
    display: none;
}

/* dropdown des résultats : hors flux et au-dessous du champ */
.all-shop-page-style .search-result-content {
    position      : absolute;
    top           : calc(100% + 6px);
    /* sous l'input */
    left          : 0;
    right         : 0;
    /* prend la largeur du parent */
    max-width     : 500px;
    /* ajuste si besoin */
    z-index       : 9999;
    display       : none;
    flex-direction: column;
    background    : var(--blanc);
    border-radius : 6px;
    box-shadow    : 0 6px 18px rgba(0, 0, 0, 0.12);
    padding       : 10px;
    max-height    : 300px;
    /* limite la hauteur et permet le scroll */
    overflow-y    : auto;
}

.all-shop-page-style .search-c-wrap.open .search-result-content {
    display: flex;
}


/* wrapper qui contient les items : colonne (liste verticale) */
.all-shop-page-style .search-result-content .src-wrapper {
    display       : flex;
    flex-direction: column;
    /* IMPORTANT  : vertical */
    gap           : 8px;
    align-items   : stretch;
}

/* chaque lien résultat */
.all-shop-page-style .search-result-content .src-wrapper .s-item {
    display        : flex;
    align-items    : center;
    gap            : 10px;
    text-decoration: none;
    padding        : 8px;
    border-radius  : 6px;
    width          : 100%;
    transition     : background .15s ease;
    color          : inherit;
}


/* hover / focus */
.all-shop-page-style .search-result-content .src-wrapper .s-item:hover,
.all-shop-page-style .search-result-content .src-wrapper .s-item:focus {
    background: rgba(0, 0, 0, 0.03);
}

/* image miniature */
.all-shop-page-style .search-result-content .src-wrapper img {
    width        : 45px;
    min-width    : 45px;
    height       : 45px;
    border-radius: 6px;
    object-fit   : cover;
}

/* zone texte : permettre au flex child de rétrécir */
.all-shop-page-style .search-result-content .src-wrapper .p-name {
    flex          : 1 1 auto;
    min-width     : 0;
    /* <-- très important pour que l'enfant puisse shrink et l'ellipsis fonctionne */
    display       : flex;
    flex-direction: column;
}

/* titre du produit : ellipse */
.all-shop-page-style .search-result-content .src-wrapper .p-name b {
    display      : block;
    /* required for text-overflow */
    overflow     : hidden;
    text-overflow: ellipsis;
    white-space  : nowrap;
    width        : 100%;
    font-weight  : 700;
    color        : var(--couleur1);
}

/* prix (petit style) */
.all-shop-page-style .search-result-content .src-wrapper .p-name span {
    font-size : 12px;
    font-style: italic;
    color     : var(--couleur7);
}

/* ---------- Professional search history styles (no button elements) ---------- */

.search-result-content {
    font-family: inherit;
    box-sizing : border-box;
}

/* HEADER */
.search-result-content .history-actions {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    padding        : 8px 10px;
    border-bottom  : 1px solid rgba(0, 0, 0, 0.08);
}

.search-result-content .history-actions .history-title {
    font-weight: 700;
    color      : #222;
    font-size  : 14px;
}

.search-result-content .history-actions .clear-history-btn {
    padding      : 6px 14px;
    border-radius: 6px;
    background   : linear-gradient(#ddd, #bbb);
    cursor       : pointer;
    font-size    : 13px;
    font-weight  : 600;
    color        : #333;
    transition   : .2s;
    user-select  : none;
}

.search-result-content .history-actions .clear-history-btn:hover {
    background: linear-gradient(#bbb, #999);
}

/* LIST */
.search-result-content .history-list {
    padding       : 6px 8px;
    display       : flex;
    flex-direction: column;
    gap           : 6px;
    max-height    : 220px;
    overflow-y    : auto;
}

/* ITEM */
.search-result-content .history-item {
    display      : flex;
    align-items  : center;
    gap          : 8px;
    padding      : 10px;
    background   : #f7f7f7;
    border-radius: 10px;
    cursor       : pointer;
    transition   : .15s ease;
}

.search-result-content .history-item:hover {
    background: #ececec;
}

/* CLOCK ICON */
.search-result-content .history-clock {
    width        : 32px;
    height       : 32px;
    border-radius: 8px;
    display      : grid;
    place-items  : center;
    background   : var(--couleur4);
    color        : var(--blanc);
    font-size    : 14px;
}

/* TEXT */
.search-result-content .history-term {
    flex         : 1;
    font-size    : 14px;
    color        : var(--couleur1);
    white-space  : nowrap;
    overflow     : hidden;
    text-overflow: ellipsis;
}

/* TRASH REMOVE BUTTON */
.search-result-content .history-remove {
    width        : 32px;
    height       : 32px;
    border-radius: 8px;
    display      : grid;
    place-items  : center;
    background   : #eee;
    color        : #666;
    cursor       : pointer;
    transition   : .2s ease;
}

.search-result-content .history-remove:hover {
    background: var(--couleur5);
    color     : var(--blanc);
}

/* FOOTER */
.search-result-content .history-note {
    padding        : 10px;
    font-size      : 12px;
    color          : var(--gris2);
    border-top     : 1px solid rgba(0, 0, 0, 0.05);
    display        : flex;
    justify-content: space-between;
    align-items    : center;
}

.search-result-content .clear-history-inline {
    padding      : 6px 12px;
    border-radius: 6px;
    background   : linear-gradient(#ddd, #bbb);
    cursor       : pointer;
    font-size    : 12px;
    font-weight  : 600;
    color        : #333;
    transition   : .2s;
}

.search-result-content .clear-history-inline:hover {
    background: linear-gradient(#bbb, #999);
}


.all-shop-page-style .navbar .main-wrapper .navbar-options .item i {
    font-size: 1.5rem;
    color    : var(--couleur1);
}

.all-shop-page-style .navbar .main-wrapper .navbar-options .item span {
    color           : var(--couleur1);
    font-size       : 10px;
    display         : block;
    max-width       : 100px;
    overflow        : hidden;
    -o-text-overflow: ellipsis;
    text-overflow   : ellipsis;
    white-space     : nowrap;
}

.all-shop-page-style .navbar .main-wrapper .navbar-options .item small {
    position       : absolute;
    top            : -5px;
    left           : 0px;
    width          : 18px;
    height         : 18px;
    display        : flex;
    align-items    : center;
    justify-content: center;
    background     : var(--couleur5);
    color          : var(--blanc);
    border-radius  : 50%;
    font-size      : 10px;
}

.all-shop-page-style .carousel {
    margin-top: 1rem;
}

.all-shop-page-style .agency-nav-btns {
    width     : 100%;
    margin-top: 1rem;
}

.all-shop-page-style .agency-nav-btns .main-wrapper {
    display    : flex;
    align-items: center;
    gap        : 10px;
    white-space: nowrap;
    width      : 100%;
    overflow-x : auto;
    padding    : 5px;
}

.all-shop-page-style .agency-nav-btns .main-wrapper .anBtn {
    display        : flex;
    align-items    : center;
    gap            : 5px;
    white-space    : nowrap;
    padding        : 5px 15px;
    background     : var(--couleur1);
    color          : var(--couleur2);
    transition     : var(--transition);
    box-shadow     : 0 0 7px 1px rgba(0, 0, 0, 0.3);
    border-radius  : 3px;
    border         : none;
    text-decoration: none;
}

.all-shop-page-style .agency-nav-btns .main-wrapper .anBtn:hover {
    background: var(--couleur2);
    color     : var(--couleur1);
    box-shadow: 4px 4px 5px var(--noir);
}

.all-shop-page-style .agency-nav-btns .main-wrapper .anBtn img {
    width     : 25px;
    min-width : 25px;
    height    : 25px;
    object-fit: contain;
}

.all-shop-page-style .agency-nav-btns .main-wrapper .anBtn span {
    white-space: nowrap;
}

.all-shop-page-style .agency-nav-sections {
    margin-top: 2rem;
}

.all-shop-page-style .ans-content {
    position      : relative;
    width         : 100%;
    overflow      : hidden;
    padding-bottom: 1.5rem;
}


/* style de base */
.all-shop-page-style .ans-content .ans-header {
    width          : 100%;
    padding        : 5px 7px;
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    gap            : 8px;
    color          : var(--blanc);
    text-shadow    : 1px 1px 1px var(--noir);
}

/* variantes cycliques */

.all-shop-page-style .ans-header--1 {
    background: var(--couleur1);
    color     : var(--blanc);
}

.all-shop-page-style .ans-header--2 {
    background: var(--couleur2);
    color     : var(--blanc);
}

.all-shop-page-style .ans-header--3 {
    background: var(--couleur3);
    color     : var(--blanc);
}

.all-shop-page-style .ans-header--4 {
    background: var(--couleur6);
    color     : var(--blanc);
}

/* variante promo si tu veux forcer */
.all-shop-page-style .ans-header.is-promo {
    background : var(--couleur5) !important;
    color      : var(--blanc) !important;
    text-shadow: 1px 1px 1px var(--noir);
}



.all-shop-page-style .ans-content .ans-header.is-promo {
    color     : var(--blanc);
    background: var(--couleur5);
}

.all-shop-page-style .ans-content .ans-header .left {
    flex       : 1;
    display    : flex;
    flex-wrap  : nowrap;
    white-space: nowrap;
    align-items: center;
    gap        : 15px;
}

.all-shop-page-style .ans-content .ans-header .left span {
    display        : flex;
    align-items    : center;
    justify-content: start;
    gap            : 10px;
}

.all-shop-page-style .ans-content .ans-header .see-all {
    width      : auto;
    min-width  : 80px;
    display    : flex;
    align-items: center;
    background : none;
    border     : none;
    font-weight: bold;
    gap        : 10px;
    color      : var(--noir);
    text-shadow: 1px 1px 1px var(--blanc);
    transition : var(--transition);
}

.all-shop-page-style .ans-content .ans-header .see-all:hover {
    color: var(--couleur5);
}

.all-shop-page-style .ans-content .ans-header.is-promo .see-all {
    text-shadow: 1px 1px 1px var(--noir);
    color      : var(--couleur3);
}

.all-shop-page-style .ans-content .ans-header.is-promo .see-all:hover {
    color: var(--couleur2);
}


.status-stack {
    display       : flex;
    flex-direction: column;
    gap           : 4px;
    align-items   : flex-start;
}

.prod-container {
    position       : relative;
    width          : 100%;
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    background     : var(--bg-couleur2);
    gap            : 5px;
}

.prod-container.is-promo {
    background: var(--bg-couleur1);
}

.disabled-after-promo {
    opacity       : 0.4 !important;
    cursor        : not-allowed !important;
    pointer-events: none !important;
}


.prod-container .ctrl-btn {
    position       : absolute;
    top            : 45%;
    z-index        : 9;
    width          : 40px;
    min-width      : 40px;
    height         : 40px;
    display        : none;
    align-items    : center;
    justify-content: center;
    border         : 1px solid var(--blanc);
    border-radius  : 50%;
    background     : var(--couleur2);
    color          : var(--blanc);
    font-size      : 1.3rem;
    transition     : var(--transition);
    cursor         : pointer;
}

.prod-container .ctrl-btn.ctrlLeft {
    left: 2px;
}

.prod-container .ctrl-btn.ctrlRight {
    right: 2px;
}

.prod-container .ctrl-btn:hover {
    background: var(--gris2);
}

/* cacher proprement les boutons quand inutiles */
.prod-container .ctrl-btn.is-hidden {
    display: none !important;
}

/* style "disabled" pour feedback visuel quand au bord */
.prod-container .ctrl-btn.is-disabled {
    opacity       : 0.2;
    pointer-events: none;
    transform     : none;
}

.prod-container:hover .ctrl-btn {
    display: flex;
}

.prod-item-wrapper {
    width             : 100%;
    display           : flex;
    flex-wrap         : nowrap;
    align-items       : center;
    gap               : 10px;
    overflow-x        : auto;
    scrollbar-width   : none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer + Edge Legacy */
    padding           : 10px;
}

.prod-item-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.prod-item-wrapper .prodItem {
    position     : relative;
    width        : 180px;
    min-width    : 180px;
    height       : 350px;
    background   : var(--noir);
    border-radius: 5px;
    transition   : var(--transition);
    overflow     : hidden;
}


.prod-item-wrapper.not-home {
    display              : grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}


.prod-item-wrapper.not-home .prodItem {
    width    : unset;
    min-width: unset;
}

.prod-item-wrapper .prodItem:hover {
    box-shadow: 4px 4px 4px var(--noir);
}

.prod-item-wrapper .prodItem .box-img {
    position  : relative;
    width     : 100%;
    height    : 55%;
    background: var(--blanc);
    overflow  : hidden;
    z-index   : 1;
}

.prod-item-wrapper .prodItem .box-img img {
    width     : 100%;
    min-width : 100%;
    height    : 100%;
    min-height: 100%;
    object-fit: cover;
}


.prod-item-wrapper .prodItem .box-infos {
    position  : relative;
    width     : 100%;
    height    : 45%;
    background: var(--blanc);
}

.prod-item-wrapper .prodItem .box-infos h5 {
    display         : block;
    width           : 100%;
    overflow        : hidden;
    -o-text-overflow: ellipsis;
    text-overflow   : ellipsis;
    white-space     : nowrap;
    color           : var(--couleur2);
    padding         : 2px 5px;
}

.prod-item-wrapper .prodItem .box-infos .prices {
    display        : flex;
    flex-direction : column;
    align-items    : center;
    justify-content: center;
    padding        : 2px 5px;
}

.prod-item-wrapper .prodItem .box-infos .prices b {
    color: var(--couleur1);
}

.prod-item-wrapper .prodItem .box-infos .prices del {
    color    : var(--gris2);
    font-size: 10px;
}

.prod-item-wrapper .prodItem .box-infos .progress-wrap {
    margin: 5px;
}

.prod-item-wrapper .prodItem .box-infos .count_article {
    font-size: 7px;
    padding  : 3px;
}

.prod-item-wrapper .prodItem .box-infos .progress {
    height: 10px !important;
}

.prod-item-wrapper .prodItem .box-infos .action-btns {
    position       : absolute;
    left           : 0;
    bottom         : 0;
    width          : 100%;
    height         : 40px;
    display        : flex;
    align-items    : center;
    justify-content: space-evenly;
    background     : var(--couleur2);
}

.prod-item-wrapper .prodItem .box-infos .action-btns .abtn {
    flex           : 1;
    height         : 100%;
    display        : flex;
    align-items    : center;
    justify-content: center;
    background     : none;
    border         : none;
    color          : var(--couleur1);
    transition     : var(--transition);
}

.prod-item-wrapper .prodItem .box-infos .action-btns .abtn.see-prod-delails {
    background  : var(--gris1);
    color       : var(--noir);
    border-right: 2px solid var(--blanc);
}

.prod-item-wrapper .prodItem .box-infos .action-btns .abtn.add-to-fovorite {
    background  : var(--couleur3);
    color       : var(--couleur6);
    border-right: 2px solid var(--blanc);
    transition  : var(--transition);
}

/* FAVORIS : cœur actif */
.add-to-fovorite.is-favorite i {
    color    : var(--couleur5);
    transform: scale(1.2) rotate(180deg);
}


.add-to-cart i {
    display: flex;
}

/* PANIER : 2 icônes dans le même bouton */
.add-to-cart i.fa-cart-flatbed {
    display       : none;
    /* par défaut : chariot caché */
}

/* Quand le produit est dans le panier (.in-cart ajoutée en JS) */
.add-to-cart.in-cart i.fa-cart-plus {
    display: none;
    /* on cache l’icône "ajouter" */
}

.add-to-cart.in-cart i.fa-cart-flatbed {
    display  : inline-block;
    /* on montre le chariot chargé */
    color    : var(--couleur5);
    transform: scale(1.1);
}

/* Par défaut : icône rupture cachée */
.add-to-cart .out-stock-icon {
    display: none;
    color  : #b10000;
}

/* État normal : chariot ajout, pas de flatbed, pas de ban */
.add-to-cart:not(.in-cart):not(.out-of-stock) i.fa-cart-flatbed {
    display: none;
}

/* État : déjà dans panier → on montre chariot flatbed */
.add-to-cart.in-cart:not(.out-of-stock) i.fa-cart-plus {
    display: none;
}

.add-to-cart.in-cart:not(.out-of-stock) i.fa-cart-flatbed {
    display  : inline-block;
    color    : var(--couleur5);
    transform: scale(1.1);
}

/* 🔥 État rupture → on affiche seulement l’icône interdiction */
.add-to-cart.out-of-stock {
    background: var(--gris1);
    cursor    : not-allowed;
    opacity   : .8;
}

.add-to-cart.out-of-stock i.fa-cart-plus,
.add-to-cart.out-of-stock i.fa-cart-flatbed {
    display: none;
}

.add-to-cart.out-of-stock .out-stock-icon {
    display  : inline-block;
    color    : #b10000;
    transform: scale(1.1);
}

/* Favoris désactivé (rupture) */
.add-to-fovorite.fav-out-of-stock {
    background: var(--gris1);
    color     : var(--gris1);
    cursor    : not-allowed;
    opacity   : .6;
}

/* On garde le cœur bien gris aussi */
.add-to-fovorite.fav-out-of-stock i {
    color: var(--gris1);
}

/* Favoris par défaut (pas encore ajouté) */
.add-to-fovorite i.fa-heart-circle-plus {
    display   : inline-block;
    color     : var(--couleur6);
    transition: .3s ease;
}

/* Favoris actif → icône check */
.add-to-fovorite.is-favorite i.fa-heart-circle-check {
    display  : inline-block;
    color    : var(--couleur5);
    transform: scale(1.2);
}

/* Quand actif, cacher l’icône + */
.add-to-fovorite.is-favorite i.fa-heart-circle-plus {
    display: none;
}

/* Quand inactif, cacher l’icône check */
.add-to-fovorite:not(.is-favorite) i.fa-heart-circle-check {
    display: none;
}



.prod-item-wrapper .prodItem .box-infos .action-btns .abtn.add-to-cart {
    background: var(--couleur6);
    color     : var(--blanc);
}

.prod-item-wrapper .prodItem .box-infos .action-btns .abtn:hover {
    background : var(--couleur1);
    color      : var(--blanc);
    text-shadow: 1px 1px 1px var(--noir);
}

/* -------------------------------
      POPULAR PRODUCTS SECTION
---------------------------------- */
.popular-section {
    background   : var(--blanc);
    padding      : 50px 0;
    text-align   : center;
    margin-bottom: 2rem;
}

.popular-section .popular-header {
    display        : flex;
    justify-content: center;
    align-items    : center;
    gap            : 40px;
    margin-bottom  : 40px;
}

.popular-section .popular-header h2 {
    font-size  : 2rem;
    font-weight: 700;
    color      : var(--noir);
}

.popular-section .tag {
    background: var(--couleur3);
    color     : var(--blanc);
    ;
    padding      : 6px 14px;
    border-radius: 6px;
    font-size    : 1.1rem;
    margin-right : 8px;
}

/* ARROWS */
.popular-section .pop-arrows {
    display: flex;
    gap    : 10px;
}

.popular-section .pop-arrows button {
    width        : 40px;
    height       : 40px;
    background   : var(--bg-couleur0);
    border       : none;
    border-radius: 50%;
    cursor       : pointer;
    font-size    : 1.1rem;
    transition   : 0.2s ease;
}

.popular-section .pop-arrows button:hover {
    background: var(--gris1);
}

/* TRACK (RESPONSIVE GRID) */
.popular-track {
    display              : grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap                  : 35px;
    padding              : 0 20px;
    justify-items        : center;
}

/* CARD */
.popular-section .pop-card {
    position  : relative;
    width     : 230px;
    text-align: center;
}

.popular-section .pop-img {
    display        : block;
    background     : var(--bg-couleur0);
    height         : 230px;
    border-radius  : 12px;
    overflow       : hidden;
    display        : flex;
    align-items    : center;
    justify-content: center;
}

.popular-section .pop-img img {
    max-width : 90%;
    max-height: 90%;
    object-fit: contain;
}

.popular-section .popular-section .pop-meta {
    margin-top: 14px;
}

.popular-section .pop-brand {
    color        : var(--gris2);
    font-size    : 13px;
    display      : block;
    margin-bottom: 3px;
}

/* RATING */
.popular-section .pop-rating {
    color    : var(--couleur2);
    font-size: 14px;
}

.popular-section .pop-rating small {
    color: var(--gris2);
}

/* TITLE */
.popular-section .pop-title {
    font-size  : 15px;
    font-weight: 600;
    color      : var(--couleur1);
    margin     : 8px 0;
    height     : 40px;
    overflow   : hidden;
}

/* PRICE */
.popular-section .pop-price {
    font-size    : 16px;
    font-weight  : 700;
    margin-bottom: 10px;
}

.popular-section .pop-price del {
    font-size  : 12px;
    color      : var(--gris1);
    margin-left: 5px;
}

/* ACTIONS */
.popular-section .pop-actions {
    display        : flex;
    justify-content: center;
    gap            : 10px;
    margin-top     : 12px;
}

.popular-section .pop-icon {
    width          : 36px;
    height         : 36px;
    background     : var(--bg-couleur0);
    border-radius  : 6px;
    display        : flex;
    align-items    : center;
    justify-content: center;
    text-align     : center;
    cursor         : pointer;
    transition     : 0.2s ease;
}

.popular-section .pop-icon:hover {
    background: var(--gris1);
}

.popular-section .pop-add {
    display        : flex;
    align-items    : center;
    justify-content: center;
    background     : var(--couleur1);
    color          : var(--blanc);
    ;
    padding      : 6px 12px;
    border-radius: 6px;
    border       : none;
    cursor       : pointer;
    font-size    : 14px;
    font-weight  : 600;
    gap          : 5px;
}

.popular-section .pop-add:hover {
    background: var(--couleur7);
}

/* VIEW ALL BUTTON */
.popular-section .pop-center {
    margin-top: 35px;
}

.popular-section .pop-view-all {
    background     : var(--couleur7);
    color          : var(--blanc);
    padding        : 12px 26px;
    border-radius  : 30px;
    font-weight    : 600;
    text-decoration: none;
    display        : inline-block;
}

.popular-section .pop-view-all:hover {
    background: var(--couleur3);
}



.all-shop-page-style .sidenav-modal {
    position  : fixed;
    top       : 0;
    left      : -110%;
    width     : 100%;
    max-width : 400px;
    height    : 100%;
    background: var(--bg-couleur0);
    box-shadow: 4px 4px 5px var(--noir);
    z-index   : 9;
    transition: var(--transition);
}

.all-shop-page-style .sidenav-modal.is-show {
    left: 0;
}

.all-shop-page-style .sidenav-modal.is-top {
    z-index   : 99999;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transform : translateX(0);
}


.all-shop-page-style .snm-content {
    position      : relative;
    padding       : 10px;
    width         : 100%;
    height        : 100vh;
    overflow-y    : auto;
    padding-bottom: 20px;
}

.all-shop-page-style .close-snm-btn {
    position  : absolute;
    top       : 2px;
    right     : 2px;
    background: none;
    border    : none;
    color     : var(--couleur2);
    font-size : 1.5rem;
    transition: var(--transition);
    z-index   : 2;
}

.all-shop-page-style .close-snm-btn:hover {
    color: var(--couleur5);
}

/* container */
.all-shop-page-style .snm-auth-wrap {
    color      : var(--noir);
    max-width  : 360px;
    margin     : 8px auto;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* tabs */
.all-shop-page-style .auth-tabs {
    display      : flex;
    gap          : 6px;
    margin-bottom: 12px;
    background   : rgba(0, 0, 0, 0.03);
    padding      : 6px;
    border-radius: 10px;
}

.all-shop-page-style .auth-tabs .tab-btn {
    flex         : 1;
    border       : none;
    background   : transparent;
    padding      : 8px 10px;
    border-radius: 8px;
    cursor       : pointer;
    font-weight  : 600;
    color        : var(--couleur2);
    transition   : .18s ease;
}

.all-shop-page-style .auth-tabs .tab-btn.is-active {
    background: linear-gradient(90deg, var(--couleur1), var(--couleur4));
    color     : var(--blanc);
    box-shadow: 0 6px 18px rgba(50, 0, 78, 0.12);
}

/* forms layout */
.all-shop-page-style .auth-forms {
    position: relative;
}

.all-shop-page-style .auth-form {
    display   : none;
    animation : authFade .22s ease;
    background: transparent;
}

.all-shop-page-style .auth-form.is-visible {
    display: block;
}

@keyframes authFade {
    from {
        opacity  : 0;
        transform: translateY(-6px);
    }

    to {
        opacity  : 1;
        transform: translateY(0);
    }
}

.all-shop-page-style .form-row {
    margin-bottom: 12px;
    position     : relative;
}

.password-toggle {
    position       : absolute;
    top            : 5%;
    right          : 5px;
    border         : none;
    font-size      : 1.5rem;
    width          : 40px;
    height         : 40px;
    display        : flex;
    align-items    : center;
    justify-content: center;
    border-radius  : 50%;
    background     : var(--gris0);
    transition     : var(--transition);
    z-index        : 3;
}

.password-toggle:hover {
    transform: rotate(360deg);
}

.all-shop-page-style .field {
    display      : block;
    position     : relative;
    border-radius: 10px;
    background   : var(--blanc);
    padding      : 10px 12px 10px 44px;
    border       : 1px solid rgba(0, 0, 0, 0.06);
    box-shadow   : 0 3px 10px rgba(0, 0, 0, 0.03);
}

.all-shop-page-style .field i {
    position : absolute;
    left     : 12px;
    top      : 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color    : var(--couleur1);
    opacity  : .95;
}

.all-shop-page-style .field input {
    width     : 100%;
    border    : none;
    outline   : none;
    font-size : 14px;
    background: transparent;
}

/* actions */
.all-shop-page-style .form-actions {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    gap            : 10px;
}

.all-shop-page-style .remember {
    font-size  : 13px;
    color      : var(--gris2);
    display    : flex;
    align-items: center;
    gap        : 8px;
}

.all-shop-page-style .forgot {
    font-size : 13px;
    color     : var(--couleur1);
    background: none;
    border    : none;
}

.all-shop-page-style .forgot:hover {
    text-decoration: underline;
}

.all-shop-page-style .sidenav-modal .btn {
    width        : 100%;
    padding      : 10px 14px;
    border-radius: 10px;
    cursor       : pointer;
    font-weight  : 700;
    background   : linear-gradient(var(--couleur1), var(--couleur4));
    color        : var(--blanc);
    border       : none;
    box-shadow   : 0 8px 20px rgba(130, 19, 194, 0.12);
    transition   : transform .12s ease;
}

.all-shop-page-style .btn.auth-submit:active {
    transform: translateY(1px)
}

.all-shop-page-style .sidenav-modal .btn:hover {
    background: linear-gradient(var(--couleur3), var(--couleur1));
}

.all-shop-page-style .form-footer {
    margin-top: 8px;
    text-align: center;
}

.all-shop-page-style .form-footer small {
    color    : var(--gris2);
    font-size: 13px;
}

.all-shop-page-style .form-footer .switch-btn {
    background : none;
    border     : none;
    color      : var(--couleur1);
    font-weight: 700;
    cursor     : pointer;
}

/* social small */
.all-shop-page-style .auth-social {
    text-align: center;
    margin-top: 12px;
}

.all-shop-page-style .socials {
    display        : flex;
    justify-content: center;
    gap            : 10px;
    margin-top     : 8px;
}

.all-shop-page-style .social-btn {
    border         : 1px solid rgba(0, 0, 0, 0.07);
    background     : var(--blanc);
    width          : 44px;
    height         : 44px;
    border-radius  : 10px;
    display        : flex;
    align-items    : center;
    justify-content: center;
    cursor         : pointer;
}

.all-shop-page-style .social-btn i {
    color    : var(--couleur2);
    font-size: 18px;
    padding  : 5px;
}

/* validation states */
.all-shop-page-style .field input:invalid {
    box-shadow: none;
}

.all-shop-page-style .field input:focus {
    outline     : none;
    border-color: rgba(130, 19, 194, 0.25);
    box-shadow  : 0 6px 18px rgba(130, 19, 194, 0.06);
}

/* container fit for .snm-content */
.all-shop-page-style .snm-fav-wrap {
    color         : var(--noir);
    max-width     : 360px;
    height        : 100%;
    display       : flex;
    flex-direction: column;
    padding       : 12px;
    box-sizing    : border-box;
    background    : linear-gradient(180deg, rgba(255, 255, 255, 0.98), #ffffff);
}

.all-shop-page-style .snm-fav-head {
    display        : flex;
    align-items    : baseline;
    justify-content: space-between;
    gap            : 10px;
    margin-bottom  : 10px;
}

.all-shop-page-style .snm-fav-head h3 {
    margin   : 0;
    font-size: 1.05rem;
    color    : var(--couleur1);
}

.all-shop-page-style .snm-fav-head small {
    color    : var(--gris2);
    font-size: 12px;
}

/* list */
.all-shop-page-style .fav-list {
    overflow-y   : auto;
    padding-right: 6px;
    margin-bottom: 12px;
}

.all-shop-page-style .fav-item {
    display      : flex;
    gap          : 10px;
    padding      : 10px;
    border-radius: 10px;
    align-items  : center;
    background   : var(--blanc);
    border       : 1px solid rgba(0, 0, 0, 0.04);
    box-shadow   : 0 6px 18px rgba(50, 0, 78, 0.03);
    margin-bottom: 10px;
}

.all-shop-page-style .fav-thumb {
    width        : 72px;
    height       : 72px;
    object-fit   : cover;
    border-radius: 8px;
    flex-shrink  : 0;
    border       : 1px solid rgba(0, 0, 0, 0.03);
}

.all-shop-page-style .fav-meta {
    flex          : 1;
    display       : flex;
    flex-direction: column;
    gap           : 6px;
}

.all-shop-page-style .fav-title {
    font-weight: 700;
    color      : var(--couleur1);
    font-size  : 14px;
    line-height: 1.2;

    display           : -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp        : 2;
    -webkit-box-orient: vertical;
    overflow          : hidden;
}


.all-shop-page-style .fav-sub {
    font-size: 12px;
    color    : var(--gris2);
}

.all-shop-page-style .fav-bottom {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    gap            : 10px;
}

.all-shop-page-style .fav-price {
    font-weight: 800;
    color      : var(--couleur4);
    font-size  : 14px;
}

.fav-btns-wrap {
    display        : flex;
    align-items    : center;
    justify-content: space-evenly;
    gap            : 10px;
}

.all-shop-page-style .fav-btn {
    border       : none;
    background   : transparent;
    padding      : 6px;
    border-radius: 8px;
    cursor       : pointer;
    color        : var(--couleur5);
    transition   : transform .12s ease, background .12s ease;
}

.all-shop-page-style .fav-btn.add-to-cart {
    color: var(--couleur6);
}

.all-shop-page-style .fav-btn:hover {
    transform : scale(1.05);
    background: rgba(0, 0, 0, 0.02);
}

/* actions bottom */
.all-shop-page-style .fav-actions {
    margin-top    : auto;
    /* stick to bottom */
    display       : flex;
    flex-direction: column;
    gap           : 10px;
}

.all-shop-page-style .fav-total {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    padding        : 8px 10px;
    border-radius  : 8px;
    background     : linear-gradient(90deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.01));
    border         : 1px solid rgba(0, 0, 0, 0.03);
    font-size      : 14px;
}

.all-shop-page-style .fav-total strong {
    color: var(--couleur1);
}

.all-shop-page-style .fav-ctas {
    display: flex;
    gap    : 8px;
}

.all-shop-page-style .btn.view-cart {
    flex         : 1;
    padding      : 9px 10px;
    border-radius: 8px;
    border       : 1px solid var(--gris1);
    background   : var(--blanc);
    color        : var(--couleur1);
    font-weight  : 700;
}

.all-shop-page-style .btn.checkout {
    flex         : 1;
    padding      : 9px 10px;
    border-radius: 8px;
    border       : none;
    background   : linear-gradient(90deg, var(--couleur1), var(--couleur4));
    color        : var(--blanc);
    font-weight  : 700;
}

.all-shop-page-style .fav-note {
    margin-top: 8px;
    text-align: center;
    font-size : 12px;
    color     : var(--gris2);
}

/* scrollbar small styling (optional) */
.all-shop-page-style .fav-list::-webkit-scrollbar {
    width: 8px;
}

.all-shop-page-style .fav-list::-webkit-scrollbar-thumb {
    background   : rgba(0, 0, 0, 0.06);
    border-radius: 6px;
}


/* container */
.all-shop-page-style .snm-cart-wrap {
    position      : relative;
    max-width     : 100%;
    height        : 100%;
    box-sizing    : border-box;
    padding       : 14px;
    display       : flex;
    flex-direction: column;
    gap           : 12px;
    background    : linear-gradient(180deg, #ffffff, #fbfbfb);
    color         : var(--noir);
    font-family   : system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

/* close button (top-right) */
.all-shop-page-style .snm-cart-wrap .close-snm-btn {
    position  : absolute;
    right     : 10px;
    top       : 10px;
    border    : none;
    background: none;
    color     : var(--couleur2);
    font-size : 1.4rem;
    cursor    : pointer;
}

.all-shop-page-style .snm-cart-wrap .close-snm-btn:hover {
    color    : var(--couleur5);
    transform: scale(1.02);
}

/* header */
.all-shop-page-style .cart-head {
    display        : flex;
    align-items    : baseline;
    justify-content: space-between;
    gap            : 8px;
}

.all-shop-page-style .cart-head h3 {
    margin   : 0;
    color    : var(--couleur1);
    font-size: 1.05rem;
}

.all-shop-page-style .cart-count {
    color    : var(--gris2);
    font-size: 12px;
}

/* list */
.all-shop-page-style .cart-list {
    overflow-y    : auto;
    display       : flex;
    flex-direction: column;
    gap           : 10px;
    padding-right : 6px;
}

.all-shop-page-style .cart-item {
    display      : flex;
    gap          : 10px;
    align-items  : flex-start;
    padding      : 10px;
    background   : var(--blanc);
    border-radius: 10px;
    box-shadow   : 0 8px 20px rgba(50, 0, 78, 0.03);
    border       : 1px solid rgba(0, 0, 0, 0.04);
    position     : relative;
}

.all-shop-page-style .ci-thumb {
    width        : 78px;
    height       : 78px;
    object-fit   : cover;
    border-radius: 8px;
    flex-shrink  : 0;
}

.all-shop-page-style .ci-body {
    flex          : 1;
    display       : flex;
    flex-direction: column;
    gap           : 6px;
}

.all-shop-page-style .ci-title {
    font-weight: 700;
    color      : var(--couleur1);
    font-size  : 14px;
}

.all-shop-page-style .ci-sub {
    font-size: 12px;
    color    : var(--gris2);
}

.all-shop-page-style .ci-row {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    gap            : 10px;
    margin-top     : 6px;
}

/* qty controls (visual only) */
.all-shop-page-style .ci-qty {
    display      : flex;
    align-items  : center;
    gap          : 8px;
    border-radius: 8px;
    background   : linear-gradient(90deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.01));
    padding      : 4px;
}

.all-shop-page-style .qty-btn {
    border       : none;
    background   : transparent;
    padding      : 6px 8px;
    border-radius: 6px;
    cursor       : pointer;
    font-weight  : 700;
    color        : var(--couleur1);
}

.all-shop-page-style .qty-value {
    min-width  : 20px;
    text-align : center;
    font-weight: 700;
    color      : var(--gris2);
}

.all-shop-page-style .ci-price {
    font-weight: 800;
    color      : var(--couleur4);
}

.all-shop-page-style .ci-remove {
    border       : none;
    background   : transparent;
    color        : var(--couleur5);
    font-size    : 1.05rem;
    padding      : 6px;
    border-radius: 6px;
    cursor       : pointer;
}

.all-shop-page-style .ci-remove:hover {
    transform : scale(1.05);
    background: rgba(0, 0, 0, 0.02);
}

/* summary */
.all-shop-page-style .cart-summary {
    margin-top    : auto;
    /* stick to bottom */
    display       : flex;
    flex-direction: column;
    gap           : 8px;
    padding-top   : 6px;
}

.all-shop-page-style .summary-row {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    color          : var(--gris2);
    font-size      : 13px;
    padding        : 6px 8px;
    border-radius  : 8px;
    background     : linear-gradient(90deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.01));
    border         : 1px solid rgba(0, 0, 0, 0.03);
}

.all-shop-page-style .summary-total {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    padding        : 10px 8px;
    border-radius  : 10px;
    background     : linear-gradient(90deg, rgba(50, 0, 78, 0.03), rgba(130, 19, 194, 0.02));
    font-weight    : 800;
    color          : var(--couleur1);
    font-size      : 15px;
}

.all-shop-page-style .summary-ctas {
    display: flex;
    gap    : 8px;
}

.all-shop-page-style .btn.view-cart {
    flex         : 1;
    padding      : 10px;
    border-radius: 8px;
    border       : 1px solid var(--gris1);
    background   : var(--blanc);
    color        : var(--couleur1);
    font-weight  : 700;
}

.all-shop-page-style .btn.checkout {
    flex         : 1;
    padding      : 10px;
    border-radius: 8px;
    border       : none;
    background   : linear-gradient(90deg, var(--couleur1), var(--couleur4));
    color        : var(--blanc);
    font-weight  : 800;
}

.all-shop-page-style .cart-note {
    font-size  : 12px;
    color      : var(--gris2);
    text-align : center;
    padding-top: 8px;
}

/* --- Checkout sidenav: remise à plat --- */

/* checkout wrapper */
.all-shop-page-style .snm-checkout-wrap {
    color         : var(--noir);
    width         : 100%;
    box-sizing    : border-box;
    padding-bottom: 28px;
}

/* header */
.all-shop-page-style .co-head {
    display        : flex;
    flex-wrap      : wrap;
    align-items    : center;
    justify-content: space-between;
    gap            : 12px;
    margin-bottom  : 10px;
}

.all-shop-page-style .co-head h3 {
    margin   : 0;
    color    : var(--couleur1);
    font-size: 1.05rem;
}

.all-shop-page-style .co-head .co-sub {
    color    : var(--gris2);
    font-size: 12px;
}

/* layout: stacked for narrow sidenav */
.all-shop-page-style .co-body {
    display    : block;
    /* stacked : form then summary under it */
    gap        : 12px;
    align-items: flex-start;
}

/* form */
.all-shop-page-style .co-form {
    width        : 100%;
    min-width    : 0;
    margin-bottom: 12px;
}

/* fields (compact) */
.all-shop-page-style .co-field {
    display      : block;
    position     : relative;
    background   : var(--blanc);
    border       : 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding      : 10px 12px 10px 42px;
    margin-bottom: 10px;
    box-shadow   : 0 6px 18px rgba(50, 0, 78, 0.03);
    font-size    : 14px;
}

.all-shop-page-style .co-field i {
    position : absolute;
    left     : 12px;
    top      : 50%;
    transform: translateY(-50%);
    color    : var(--couleur1);
    font-size: 14px;
}

.all-shop-page-style .co-field input,
.all-shop-page-style .co-field textarea,
.all-shop-page-style .co-field select {
    width     : 100%;
    border    : none;
    background: transparent;
    outline   : none;
    font-size : 14px;
}

/* responsive split fields -> stacked in panel */
.all-shop-page-style .co-field.split {
    display     : block;
    width       : 100%;
    margin-right: 0;
}

/* radio option blocks: clearer and taller for touch */
.all-shop-page-style .co-options {
    display       : flex;
    flex-direction: column;
    gap           : 8px;
}

/* custom radio look */
.all-shop-page-style .radio {
    display      : flex;
    align-items  : center;
    gap          : 12px;
    padding      : 8px 10px;
    border-radius: 10px;
    background   : linear-gradient(90deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.01));
    border       : 1px solid rgba(0, 0, 0, 0.03);
    cursor       : pointer;
    transition   : transform .12s ease, box-shadow .12s ease;
}

.all-shop-page-style .radio:hover {
    transform : translateY(-1px);
    box-shadow: 0 6px 18px rgba(50, 0, 78, 0.04);
}

/* hide native circle and create a custom control */
.all-shop-page-style .radio input[type="radio"] {
    -webkit-appearance: none;
    appearance        : none;
    width             : 34px;
    height            : 34px;
    min-width         : 34px;
    border-radius     : 999px;
    border            : 2px solid rgba(0, 0, 0, 0.06);
    background        : linear-gradient(180deg, #fff, #fff);
    display           : inline-block;
    vertical-align    : middle;
    margin            : 0;
    position          : relative;
    box-shadow        : inset 0 -1px 0 rgba(0, 0, 0, 0.02);
}

.all-shop-page-style .radio input[type="radio"]::after {
    content      : "";
    position     : absolute;
    left         : 50%;
    top          : 50%;
    transform    : translate(-50%, -50%) scale(0);
    width        : 16px;
    height       : 16px;
    border-radius: 50%;
    background   : linear-gradient(90deg, var(--couleur1), var(--couleur4));
    transition   : transform .12s ease;
}

.all-shop-page-style .radio input[type="radio"]:checked {
    border-color: rgba(130, 19, 194, 0.25);
    box-shadow  : 0 6px 18px rgba(130, 19, 194, 0.06);
}

.all-shop-page-style .radio input[type="radio"]:checked::after {
    transform: translate(-50%, -50%) scale(1);
}

/* label text */
.all-shop-page-style .radio .radio-label {
    font-size: 13px;
    color    : var(--gris2);
}

.all-shop-page-style .radio .radio-label strong {
    color: var(--couleur1);
}

/* terms and submit */
.all-shop-page-style .co-terms {
    display    : flex;
    align-items: center;
    gap        : 8px;
    margin-top : 8px;
    color      : var(--gris2);
    font-size  : 13px;
}

.all-shop-page-style .co-actions {
    margin-top: 12px;
}

.all-shop-page-style .checkout-submit {
    width        : 100%;
    padding      : 12px;
    border-radius: 10px;
    border       : none;
    background   : linear-gradient(90deg, var(--couleur1), var(--couleur4));
    color        : var(--blanc);
    font-weight  : 800;
    font-size    : 15px;
    box-shadow   : 0 10px 28px rgba(130, 19, 194, 0.08);
}

/* summary: stacked under form for narrow panel */
.all-shop-page-style .co-summary {
    width       : 100%;
    margin-top  : 8px;
    border-left : none;
    padding-left: 0;
    box-sizing  : border-box;
}

/* summary items */
.all-shop-page-style .summary-items {
    display       : flex;
    flex-direction: column;
    gap           : 8px;
    margin-bottom : 10px;
    max-height    : 240px;
    overflow      : auto;
    padding-right : 6px;
}

/* compact summary item */
.all-shop-page-style .s-item {
    display      : flex;
    gap          : 8px;
    align-items  : center;
    background   : var(--blanc);
    padding      : 8px;
    border-radius: 8px;
    border       : 1px solid rgba(0, 0, 0, 0.03);
}

.all-shop-page-style .s-item img {
    width        : 56px;
    height       : 56px;
    object-fit   : cover;
    border-radius: 6px;
}

.all-shop-page-style .s-meta {
    display       : flex;
    flex-direction: column;
    gap           : 4px;
    flex          : 1;
}

.all-shop-page-style .s-title {
    font-weight: 700;
    color      : var(--couleur1);
    font-size  : 13px;
}

.all-shop-page-style .s-qty {
    color    : var(--gris2);
    font-size: 12px;
}

.all-shop-page-style .s-price {
    font-weight: 800;
    color      : var(--couleur4);
    font-size  : 13px;
    align-self : flex-end;
}

/* totals */
.all-shop-page-style .summary-totals {
    display       : flex;
    flex-direction: column;
    gap           : 8px;
    margin-bottom : 6px;
}

.all-shop-page-style .summary-totals .row {
    display        : flex;
    justify-content: space-between;
    align-items    : center;
    padding        : 8px;
    background     : linear-gradient(90deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.01));
    border-radius  : 8px;
    border         : 1px solid rgba(0, 0, 0, 0.03);
}

.all-shop-page-style .summary-totals .row.total {
    font-weight: 800;
    color      : var(--couleur1);
    font-size  : 15px;
    background : linear-gradient(90deg, rgba(130, 19, 194, 0.03), rgba(50, 0, 78, 0.02));
}



/* scrollbar styling for internal scrolls */
.all-shop-page-style .snm-content::-webkit-scrollbar,
.all-shop-page-style .summary-items::-webkit-scrollbar,
.all-shop-page-style .fav-list::-webkit-scrollbar {
    width: 8px;
}

.all-shop-page-style .snm-content::-webkit-scrollbar-thumb,
.all-shop-page-style .summary-items::-webkit-scrollbar-thumb,
.all-shop-page-style .fav-list::-webkit-scrollbar-thumb {
    background   : rgba(0, 0, 0, 0.06);
    border-radius: 6px;
}



/* small scrollbar */
.all-shop-page-style .cart-list::-webkit-scrollbar {
    width: 8px;
}

.all-shop-page-style .cart-list::-webkit-scrollbar-thumb {
    background   : rgba(0, 0, 0, 0.06);
    border-radius: 6px;
}

.all-shop-page-style .cart-list .cart-qty {
    display        : flex;
    align-items    : center;
    justify-content: space-evenly;
    gap            : 5px;
}

.all-shop-page-style .cart-list .cart-qty .qty-btn {
    width          : 35px;
    min-width      : 35px;
    height         : 35px;
    display        : flex;
    align-items    : center;
    justify-content: center;
}

.all-shop-page-style .cart-list .cart-qty input {
    width     : 70px;
    padding   : 5px;
    text-align: center;
}

/* ===== Témoignages - version pro (à coller à la fin de main.css) ===== */
.testimonials-section {
    padding   : 48px 0 36px;
    background: transparent;
    position  : relative;
}

.testimonials-section .ans-header {
    display        : flex;
    flex-wrap      : wrap;
    align-items    : center;
    justify-content: space-between;
    gap            : 12px;
    margin-bottom  : 14px;
    padding        : 10px;
}

.testimonials-section .ans-header .left h3 {
    margin   : 0;
    font-size: 1.8rem;
    color    : var(--couleur1);
}

.testimonials-section .ans-header .left small {
    color    : var(--gris2);
    font-size: 0.95rem;
}

.testimonials-section .right-controls .btn {
    padding: 8px 12px;
}

/* carousel layout */
.testimonials {
    display    : flex;
    align-items: center;
    gap        : 12px;
    position   : relative;
    max-width  : 1200px;
    margin     : 0 auto;
}

.testimonials .testi-ctrl {
    border       : none;
    background   : linear-gradient(90deg, var(--couleur1), var(--couleur4));
    color        : var(--blanc);
    width        : 44px;
    height       : 44px;
    border-radius: 50%;
    display      : grid;
    place-items  : center;
    cursor       : pointer;
    box-shadow   : 0 8px 20px rgba(50, 0, 78, 0.12);
    transition   : transform .12s ease;
    flex         : 0 0 auto;
}

.testimonials .testi-ctrl:hover {
    transform: translateY(-3px);
}

.testi-ctrl.is-hidden {
    opacity       : 0;
    pointer-events: none;
    visibility    : hidden;
}

.testimonials .testi-track {
    display        : flex;
    gap            : 18px;
    overflow       : hidden;
    flex           : 1;
    scroll-behavior: smooth;
    outline        : none;
    align-items    : stretch;
    padding        : 10px;
}

/* card */
.testimonial-item {
    min-width     : 250px;
    max-width     : 440px;
    height        : 250px;
    flex          : 0 0 auto;
    background    : linear-gradient(180deg, var(--blanc), #fbfbfb);
    border-radius : 12px;
    box-shadow    : 0 8px 22px rgba(30, 0, 60, 0.04);
    display       : flex;
    flex-direction: column;
    gap           : 12px;
    border        : 1px solid rgba(0, 0, 0, 0.04);
    box-sizing    : border-box;
    overflow      : hidden;
    transition    : var(--transition);
}

.testimonial-item:hover {
    box-shadow: 4px 4px 5px var(--noir);
}

/* testimonial item : head / avatar / body / foot */
.testimonial-item .head {
    width      : 100%;
    height     : 50px;
    display    : flex;
    align-items: center;
    gap        : 12px;
    background : var(--gris0);
    padding    : 18px;
}

.testimonial-item .avatar {
    width         : 35px;
    height        : 35px;
    min-width     : 35px;
    border-radius : 50%;
    display       : grid;
    place-items   : center;
    font-weight   : 800;
    color         : var(--blanc);
    background    : linear-gradient(90deg, var(--couleur1), var(--couleur4));
    box-shadow    : 0 8px 18px rgba(50, 0, 78, 0.08);
    font-size     : 1rem;
    letter-spacing: 0.6px;
}

/* meta (author + location) */
.testimonial-item .meta {
    display       : flex;
    flex-direction: column;
    gap           : 2px;
}

.testimonial-item .meta .author {
    width           : 70%;
    display         : block;
    overflow        : hidden;
    -o-text-overflow: ellipsis;
    text-overflow   : ellipsis;
    white-space     : nowrap;
    color           : var(--couleur1);
    font-weight     : 800;
    font-size       : 0.98rem;
}

.testimonial-item .meta .location {
    color      : var(--gris2);
    font-size  : 0.85rem;
    font-weight: 600;
}

/* body text */
.testimonial-item .body {
    width      : 100%;
    height     : 150px;
    margin-top : 8px;
    color      : var(--gris2);
    font-size  : 0.95rem;
    line-height: 1.4;
    flex       : 1 1 auto;
    padding    : 18px;
    overflow-y : auto;
}

.testimonial-item .body p {
    margin               : 0;
    /* display           : -webkit-box;
    -webkit-line-clamp   : 5;
    line-clamp           : 5;
    -webkit-box-orient   : vertical;
    overflow             : hidden; */
}

/* foot: rating + date */
.testimonial-item .foot {
    width          : 100%;
    height         : 45px;
    min-height     : 45px;
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    gap            : 10px;
    margin-top     : 12px;
    font-size      : 0.87rem;
    background     : var(--bg-couleur0);
    color          : var(--gris2);
    padding        : 18px;
}

.testimonial-item .foot .rating {
    color         : #f5c518;
    font-weight   : 800;
    letter-spacing: 1px;
}

.testimonial-item .foot .date {
    color      : var(--gris2);
    font-size  : 0.82rem;
    font-weight: 600;
}


/* dots */
.testimonials .testi-dots {
    position       : absolute;
    left           : 50%;
    transform      : translateX(-50%);
    bottom         : -20px;
    display        : flex;
    gap            : 8px;
    justify-content: center;
    align-items    : center;
}

.testi-dots button {
    width        : 12px;
    height       : 12px;
    border-radius: 999px;
    border       : 1px solid rgba(0, 0, 0, 0.06);
    background   : rgba(0, 0, 0, 0.06);
    cursor       : pointer;
    transition   : transform .12s ease, background .12s ease, box-shadow .12s ease;
}

.testi-dots button.is-active {
    background: linear-gradient(90deg, var(--couleur1), var(--couleur4));
    box-shadow: 0 6px 16px rgba(50, 0, 78, 0.08);
    transform : scale(1.15);
}


/* modal (centered) */
#review-modal {
    left           : 0;
    top            : 0;
    width          : 100%;
    height         : 100%;
    display        : none;
    align-items    : center;
    justify-content: center;
    background     : rgba(10, 10, 10, 0.35);
    z-index        : 999;
}

#review-modal.is-show {
    display: flex;
}

#review-modal .snm-content {
    max-width    : 560px;
    width        : 92%;
    background   : var(--blanc);
    border-radius: 12px;
    padding      : 20px;
    box-shadow   : 0 22px 60px rgba(10, 10, 30, 0.12);
    max-height   : 90vh;
    overflow     : auto;
}

#review-modal .close-snm-btn {
    font-size: 1.2rem;
    top      : 8px;
    right    : 8px;
}

#review-modal .snm-review-wrap h3 {
    margin-top: 0;
    color     : var(--couleur1);
}

/* focus styles accessible */
.testimonials .testi-ctrl:focus,
.testimonials .testi-dots button:focus,
#review-modal .close-snm-btn:focus,
.open-review-modal:focus {
    outline       : 3px solid rgba(130, 19, 194, 0.22);
    outline-offset: 3px;
    border-radius : 8px;
}

.agency-location {
    margin-top: 2rem;
    padding   : 10px;
}

.agency-location iframe {
    width     : 100% !important;
    height    : auto;
    min-height: 400px !important;
    max-height: 500px !important;
}



/* ===========================================
   SHARE MODAL (Correction taille + responsive)
=========================================== */
.share-modal {
    position       : fixed;
    inset          : 0;
    background     : rgba(0, 0, 0, 0.65);
    display        : flex;
    justify-content: center;
    align-items    : center;
    z-index        : 5000;
    opacity        : 0;
    visibility     : hidden;
    transition     : .25s ease;
}

.share-modal.show {
    opacity   : 1;
    visibility: visible;
}

.share-modal-box {
    background   : var(--blanc);
    width        : 90%;
    max-width    : 420px;
    max-height   : 90vh;
    border-radius: 16px;
    padding      : 20px;
    position     : relative;

    display       : flex;
    flex-direction: column;
    gap           : 15px;

    overflow-y     : auto;
    /* 🔥 empêche le bas d’être coupé */
    scrollbar-width: none;
}

.share-modal-box::-webkit-scrollbar {
    display: none;
}

/* Bouton fermeture */
.share-close-btn {
    position  : absolute;
    top       : 10px;
    right     : 10px;
    border    : none;
    background: transparent;
    font-size : 22px;
    cursor    : pointer;
}

/* Image produit */
.share-preview {
    display       : flex;
    flex-direction: column;
    align-items   : center;
    gap           : 12px;
}

#sharePreviewImg {
    width        : 100%;
    max-width    : 280px;
    height       : auto;
    border-radius: 10px;
    object-fit   : contain;
    /* 🔥 évite les débordements */
}

/* Infos produit */
.sp-details {
    text-align: center;
}

#sharePreviewName {
    font-size  : 20px;
    font-weight: 600;
    margin     : 0;
}

#sharePreviewUrl {
    font-size : 14px;
    color     : #2d6cdf;
    word-break: break-all;
}

/* Titre "Partager" */
.share-title {
    text-align : center;
    margin-top : 5px;
    font-size  : 18px;
    font-weight: 600;
}

/* Icônes réseaux */
.share-grid {
    display              : grid;
    grid-template-columns: repeat(3, 1fr);
    gap                  : 18px;
    padding-top          : 10px;
    margin-bottom        : 10px;
}

.share-item {
    display       : flex;
    flex-direction: column;
    align-items   : center;
    cursor        : pointer;
}

/* icônes rondes */
.share-item .icon {
    width          : 55px;
    height         : 55px;
    border-radius  : 50%;
    color          : var(--blanc);
    display        : flex;
    justify-content: center;
    align-items    : center;
    font-size      : 26px;
}

.icon.green {
    background: #25D366;
}

.icon.blue {
    background: #1877F2;
}

.icon.messenger {
    background: #0084FF;
}

.icon.insta {
    background: #E4405F;
}

.icon.dark {
    background: #333;
}

.share-item span {
    margin-top: 5px;
    font-size : 13px;
}


.download-container {
    width          : 100%;
    display        : flex;
    flex-direction : column;
    align-items    : center;
    justify-content: center;
    margin-top     : 2.5rem;
    padding        : 10px;
}


/* ===== Footer pro + newsletter ===== */
.site-footer {
    padding   : 40px 0 28px;
    background: var(--couleur1);
    color     : var(--gris2);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding   : 10px;
    margin-top: 2rem;
}

.site-footer p {
    color: var(--blanc);
}

.site-footer .footer-grid {
    display              : grid;
    grid-template-columns: 1.6fr 1fr 1.4fr;
    gap                  : 22px;
    align-items          : start;
    padding-bottom       : 18px;
}

.footer-block .footer-title {
    font-size: 1.25rem;
    color    : var(--couleur2);
    margin   : 0 0 8px;
}

.footer-block .footer-title-sm {
    font-size: 1rem;
    color    : var(--couleur2);
    margin   : 0 0 8px;
}

.footer-block p.muted,
.newsletter-note,
.site-footer small.muted {
    color    : var(--blanc);
    font-size: 0.92rem;
    margin   : 0 0 10px;
}

/* links */
.site-footer a {
    color          : var(--gris1) !important;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
    color          : var(--couleur3) !important;
}

/* social icons */
.footer-social {
    display   : flex;
    gap       : 10px;
    margin-top: 10px;
}

.footer-social .social-btn {
    width        : 38px;
    height       : 38px;
    display      : grid;
    place-items  : center;
    border-radius: 8px;
    background   : linear-gradient(90deg, rgba(50, 0, 78, 0.06), rgba(130, 19, 194, 0.06));
    color        : var(--couleur2);
    border       : 1px solid rgba(0, 0, 0, 0.03);
    transition   : var(--transition);
}

.footer-social .social-btn:hover {
    text-decoration: none;
    transform      : rotate(360deg);
}

/* links list */
.footer-links ul,
.footer-support ul {
    list-style    : none;
    padding       : 0;
    margin        : 0;
    display       : flex;
    flex-direction: column;
    gap           : 8px;
}

.footer-links ul li a,
.footer-support ul li a {
    color      : var(--gris2);
    font-weight: 600;
}

/* newsletter form */
.newsletter-form .nf-row {
    display    : flex;
    gap        : 8px;
    align-items: center;
}

.newsletter-form input[type="email"] {
    flex         : 1;
    padding      : 10px 12px;
    border-radius: 8px;
    border       : 1px solid rgba(0, 0, 0, 0.06);
    background   : var(--blanc);
    font-size    : 0.95rem;
    outline      : none;
}

.newsletter-form input[type="email"]:focus {
    box-shadow  : 0 6px 18px rgba(130, 19, 194, 0.06);
    border-color: rgba(130, 19, 194, 0.14);
}

.newsletter-form .nf-cta {
    padding      : 10px 14px;
    border-radius: 8px;
    background   : linear-gradient(90deg, var(--couleur2), var(--couleur4));
    color        : var(--blanc);
    border       : none;
    font-weight  : 700;
    cursor       : pointer;
}

.hp-field {
    position: absolute;
    left    : -9999px;
    top     : auto;
    width   : 1px;
    height  : 1px;
    overflow: hidden;
}

/* bottom bar */
.footer-bottom {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    gap            : 12px;
    border-top     : 1px solid rgba(0, 0, 0, 0.03);
    padding-top    : 12px;
    margin-top     : 12px;
}

.footer-bottom small {
    color: var(--gris2);
}





/* ===== Product details styles & responsive ===== */

/* Utility */
.sr-only {
    position   : absolute !important;
    width      : 1px !important;
    height     : 1px !important;
    padding    : 0 !important;
    margin     : -1px !important;
    overflow   : hidden !important;
    clip       : rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border     : 0 !important;
}

.product-page-details .title {
    color  : var(--couleur1);
    padding: 10px;
}

/* Main product top container */
.product-page-details .product-top-details {
    width                : 100%;
    max-width            : 1200px;
    margin               : 18px auto;
    padding              : 16px;
    display              : grid;
    gap                  : 18px;
    grid-template-columns: 1fr;
    /* mobile            : single column */
    align-items          : start;
}

/* Product gallery */
.product-page-details .product-gallery {
    background   : linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 250, 0.95));
    border-radius: 12px;
    padding      : 12px;
    box-shadow   : 0 6px 20px rgba(0, 0, 0, 0.05);
}

/* top details placeholder (if needed) */
.product-page-details .prod-top-details {
    height: 0;
    margin: 0;
}

/* gallery layout */
.product-page-details .gallery-main {
    display              : grid;
    grid-template-columns: 1fr;
    gap                  : 12px;
}

/* large image area */
.product-page-details .gallery-image {
    width          : 100%;
    min-height     : 220px;
    display        : flex;
    align-items    : center;
    justify-content: center;
    background     : linear-gradient(90deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.01));
    border-radius  : 8px;
    overflow       : hidden;
}

.product-page-details .gallery-image img {
    width     : 100%;
    height    : auto;
    object-fit: contain;
    display   : block;
    transition: transform var(--transition);
}

/* thumbnail row: horizontal scroll on small devices */
.product-page-details .gallery-thumbs {
    margin-top                : 6px;
    display                   : flex;
    gap                       : 8px;
    overflow-x                : auto;
    padding                   : 6px;
    -webkit-overflow-scrolling: touch;
}

.product-page-details .gallery-thumbs::-webkit-scrollbar {
    height: 8px;
}

.product-page-details .gallery-thumbs::-webkit-scrollbar-thumb {
    background   : var(--gris1);
    border-radius: 8px;
}

/* thumbnail button */
.product-page-details .thumb-btn {
    border         : none;
    background     : transparent;
    padding        : 0;
    display        : inline-flex;
    align-items    : center;
    justify-content: center;
    border-radius  : 6px;
    flex           : 0 0 auto;
    width          : 68px;
    height         : 48px;
    cursor         : pointer;
    transition     : transform var(--transition), box-shadow var(--transition);
    box-shadow     : 0 1px 3px rgba(0, 0, 0, 0.05);
}

.product-page-details .thumb-btn img {
    width        : 100%;
    height       : 100%;
    object-fit   : cover;
    border-radius: 6px;
    display      : block;
}

/* active/hover/focus styles for thumbnails */
.product-page-details .thumb-btn:hover,
.product-page-details .thumb-btn:focus {
    transform : translateY(-3px);
    outline   : none;
    box-shadow: 0 6px 18px rgba(50, 0, 78, 0.08);
}

.product-page-details .thumb-btn[aria-pressed="true"],
.product-page-details .thumb-btn.active {
    box-shadow: 0 8px 24px rgba(50, 0, 78, 0.12);
    transform : translateY(-4px) scale(1.02);
    border    : 2px solid var(--couleur2);
}

/* Product summary / aside */
.product-page-details .product-summary {
    background    : var(--blanc);
    border-radius : 12px;
    padding       : 14px;
    box-shadow    : 0 6px 20px rgba(0, 0, 0, 0.05);
    display       : flex;
    flex-direction: column;
    gap           : 12px;
}

/* Headline */
.product-page-details #product-title {
    font-size  : 1.125rem;
    margin     : 0;
    color      : var(--couleur1);
    font-weight: 700;
}

/* meta row */
.product-page-details .meta-row {
    display    : flex;
    align-items: center;
    gap        : 10px;
    font-size  : 0.95rem;
    color      : var(--gris2);
}

.product-page-details .rating {
    color         : var(--couleur3);
    font-weight   : 600;
    letter-spacing: 0.02em;
    display       : inline-block;
}

/* price block */
.product-page-details .price-row {
    display    : flex;
    align-items: baseline;
    gap        : 12px;
    flex-wrap  : wrap;
}

.product-page-details .price-current {
    font-size  : 1.375rem;
    font-weight: 800;
    color      : var(--couleur5);
}

.product-page-details .price-current span[itemprop="price"]::after {
    content: "";
    /* allow future customizations */
}

.product-page-details .price-compare {
    font-size      : 0.95rem;
    color          : var(--gris2);
    text-decoration: line-through;
}

/* stock & sku */
.product-page-details .stock-sku {
    display  : flex;
    gap      : 16px;
    flex-wrap: wrap;
    color    : var(--gris2);
    font-size: 0.95rem;
}

.out-of-stock {
    color: var(--couleur2);
}

.out-of-stock {
    color: var(--couleur2);
}

/* Progress stock */
.progress-wrap {
    margin-top: .35rem;
}

.progress {
    width        : 100%;
    height       : 8px;
    border-radius: 999px;
    background   : #f1f1f1;
    /* arrière-plan du “rail” */
    overflow     : hidden;
}

.progress-bar {
    height       : 100%;
    border-radius: 999px;
    transition   : width .3s ease;
}

/* Couleurs selon niveau de stock */
.progress-bar.stock-high {
    background: #2ecc71;
    /* vert */
}

.progress-bar.stock-medium {
    background: #f1c40f;
    /* jaune / orange */
}

.progress-bar.stock-low {
    background: var(--couleur2);
    /* rouge / couleur principale d’alerte */
}

.progress-bar.stock-empty {
    background: #b0b0b0;
    /* gris */
}


/* purchase form */
.product-page-details .product-purchase {
    margin-top    : 6px;
    display       : flex;
    flex-direction: column;
    gap           : 12px;
}

/* selects row */
.product-page-details .select-row {
    display  : flex;
    gap      : 12px;
    flex-wrap: wrap;
}

.product-page-details .select-row label {
    display       : flex;
    flex-direction: column;
    gap           : 6px;
    font-size     : 0.85rem;
    color         : var(--gris2);
}

.product-page-details .select-row select {
    appearance   : none;
    padding      : 8px 10px;
    border-radius: 8px;
    border       : 1px solid var(--gris1);
    background   : var(--blanc);
    min-width    : 120px;
    transition   : box-shadow var(--transition), border-color var(--transition);
}

.select-row select:focus {
    outline     : none;
    border-color: var(--couleur4);
    box-shadow  : 0 6px 16px rgba(130, 19, 194, 0.06);
}

/* quantity row */
.product-page-details .qty-row {
    display: block;
}

.product-page-details .qty-control {
    display      : inline-flex;
    align-items  : center;
    gap          : 6px;
    background   : var(--blanc);
    border-radius: 8px;
    border       : 1px solid var(--gris1);
    padding      : 4px;
}

.product-page-details .qty-btn {
    border       : 0;
    background   : transparent;
    padding      : 6px 8px;
    cursor       : pointer;
    font-size    : 1.1rem;
    line-height  : 1;
    border-radius: 6px;
    transition   : background var(--transition), transform var(--transition);
}

.product-page-details .qty-btn:hover,
.product-page-details .qty-btn:focus {
    background: rgba(0, 0, 0, 0.04);
    transform : translateY(-1px);
    outline   : none;
}

.product-page-details #qty {
    width     : 64px;
    padding   : 6px 8px;
    border    : 0;
    text-align: center;
    font-size : 1rem;
    background: transparent;
}

/* CTAs */
.product-page-details .ctas {
    display  : flex;
    gap      : 10px;
    flex-wrap: wrap;
}

.product-page-details .btn {
    display      : inline-flex;
    align-items  : center;
    gap          : 8px;
    border       : 0;
    padding      : 10px 14px;
    border-radius: 10px;
    cursor       : pointer;
    font-weight  : 700;
    transition   : transform var(--transition), box-shadow var(--transition);
    box-shadow   : 0 6px 18px rgba(50, 0, 78, 0.05);
}

/* add to cart (primary) */
.product-page-details .add-to-cart {
    background: linear-gradient(180deg, var(--couleur4), var(--couleur1));
    color     : var(--blanc);
}

/* buy now (secondary) */
.product-page-details .buy-now {
    background: transparent;
    color     : var(--couleur1);
    border    : 1px solid var(--gris1);
}

.product-page-details .btn:hover,
.product-page-details .btn:focus {
    transform : translateY(-4px);
    outline   : none;
    box-shadow: 0 14px 36px rgba(50, 0, 78, 0.12);
}

/* trust badges */
.product-page-details .trust-badges {
    display    : flex;
    gap        : 12px;
    align-items: center;
    flex-wrap  : wrap;
    font-size  : 0.9rem;
    color      : var(--gris2);
}

.product-page-details .trust-badges i {
    margin-right: 6px;
}


/* Accessibility: focus visible */
.product-page-details .thumb-btn:focus-visible,
.product-page-details .btn:focus-visible,
.product-page-details .qty-btn:focus-visible,
.product-page-details .select-row select:focus-visible,
.product-page-details #qty:focus-visible {
    box-shadow: 0 0 0 4px rgba(130, 19, 194, 0.12);
    outline   : none;
}

/* Small visual tweaks: price compare pill on mobile to avoid overflow */
.product-page-details .price-compare {
    background   : rgba(0, 0, 0, 0.03);
    padding      : 4px 8px;
    border-radius: 999px;
}

/* Make images not selectable (UX) */
.product-page-details img {
    user-select      : none;
    -webkit-user-drag: none;
}

/* Optional: add transition when main image changes — will look smooth if you toggle src in JS */
.product-page-details .gallery-image img {
    transition: opacity 0.28s ease, transform var(--transition);
}

/* Prevent form submit default flash when used without JS (optional friendly hint) */
.product-page-details .product-purchase button[type="submit"] {
    -webkit-appearance: none;
    appearance        : none;
}

/* End of CSS */




/* CTA buttons */
.product-page-details .ctas {
    display   : flex;
    gap       : 10px;
    margin-top: 6px;
}

.product-page-details .btn.add-to-cart {
    flex           : 1;
    padding        : 12px;
    border-radius  : 10px;
    background     : linear-gradient(90deg, var(--couleur1), var(--couleur4));
    color          : var(--blanc);
    font-weight    : 800;
    border         : none;
    cursor         : pointer;
    display        : flex;
    align-items    : center;
    justify-content: center;
    text-align     : center;
    gap            : 10px;
}

.product-page-details .btn.buy-now {
    padding      : 12px;
    border-radius: 10px;
    border       : 1px solid var(--gris1);
    background   : var(--blanc);
    color        : var(--couleur1);
    cursor       : pointer;
}

.product-page-details .btn.buy-now:hover {
    color: var(--blanc);
}

/* trust badges */
.product-page-details .trust-badges {
    display    : flex;
    gap        : 8px;
    align-items: center;
    margin-top : 12px;
    font-size  : 0.92rem;
    color      : var(--gris2);
}

/* Tabs */
.product-page-details .product-tabs {
    margin-top   : 22px;
    background   : var(--blanc);
    border-radius: 10px;
    padding      : 14px;
}

.product-page-details .tabs-nav {
    display                   : flex;
    gap                       : 10px;
    border-bottom             : 1px solid rgba(0, 0, 0, 0.04);
    padding-bottom            : 10px;
    margin-bottom             : 12px;
    overflow-x                : auto;
    -webkit-overflow-scrolling: touch;
}

.product-page-details .tab-btn {
    background : none;
    border     : none;
    padding    : 8px 12px;
    cursor     : pointer;
    font-weight: 700;
    color      : var(--gris2);
    white-space: nowrap;
}

.product-page-details .tab-btn[aria-selected="true"] {
    color: var(--couleur1);
}

.product-page-details .tab-content {
    color      : var(--gris2);
    line-height: 1.6;
}

.product-page-details .spec-table {
    width          : 100%;
    border-collapse: collapse;
    color          : var(--gris2);
}

.product-page-details .spec-table th,
.product-page-details .spec-table td {
    padding      : 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    text-align   : left;
}

/* Reviews */
.product-page-details .reviews-list {
    display       : flex;
    flex-direction: column;
    gap           : 12px;
}

.product-page-details .review {
    background   : var(--blanc);
    padding      : 12px;
    border-radius: 8px;
    border       : 1px solid rgba(0, 0, 0, 0.04);
}

.product-page-details .review-head {
    display        : flex;
    justify-content: space-between;
    align-items    : center;
    gap            : 10px;
}

.product-page-details .review-rating {
    color     : var(--couleur2);
    margin-top: 6px;
}

/* Related */
.related-products {
    margin-top: 28px;
}

.product-page-details .related-grid {
    display              : grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap                  : 12px;
}


.agency-page-details .agency-section {
    padding: 60px 10px
}

.agency-page-details .category-banner {
    width     : 100%;
    max-height: 450px;
    overflow  : hidden;
}

.agency-page-details .agency-title {
    font-size  : 1.7rem;
    font-weight: 700;
    color      : var(--couleur1);
}

.agency-page-details .agency-card,
.agency-page-details .service-box,
.agency-page-details .team-card {
    background   : var(--blanc);
    border-radius: 12px;
    padding      : 20px;
    text-align   : center;
    box-shadow   : 0 6px 20px rgba(0, 0, 0, 0.05);
    transition   : 0.3s ease;
}


.agency-page-details .agency-card i,
.agency-page-details .service-box i {
    font-size    : 32px;
    margin-bottom: 10px;
    color        : var(--couleur1);
}

.agency-page-details .agency-card:hover,
.agency-page-details .service-box:hover,
.agency-page-details .team-card:hover {
    transform : translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
}

.agency-page-details .team-card,
.agency-page-details .team-card:hover {
    background: none;
    box-shadow: unset;
}

.agency-page-details .service-box {
    display    : flex;
    gap        : 15px;
    align-items: center;
}

/* team images */
.agency-page-details .team-card img {
    width        : 100%;
    height       : 200px;
    border-radius: 10px;
    margin-bottom: 10px;
    object-fit   : contain;
}

.agency-page-details .team-card .infos-user {
    background   : var(--blanc);
    border-radius: 10px;
    padding      : 10px;
}

/* map */
.agency-page-details .map-container iframe {
    width        : 100%;
    height       : 350px;
    border       : 0;
    border-radius: 12px;
}

/* CTA */
.agency-page-details .agency-cta {
    background   : linear-gradient(90deg, var(--couleur1), var(--couleur4));
    color        : var(--blanc);
    padding      : 40px 0;
    border-radius: 12px;
}

.agency-page-details .agency-cta h2 {
    font-size: 1.9rem;
}

.agency-page-details .address p {
    margin   : 8px 0;
    font-size: 1rem;
}

.agency-page-details .address i {
    margin-right: 6px;
}

.agency-page-details .apad-nav-btns {
    display    : flex;
    align-items: center;
    padding    : 10px;
    margin-top : 1rem;
    gap        : 10px;
    overflow-x : auto;
}

.agency-page-details .apad-nav-btns .apad-btn {
    white-space: nowrap;
}

.agency-page-details .apad-nav-btns .apad-btn.is-show {
    background: linear-gradient(var(--couleur2), var(--couleur5));
    color     : var(--bg-couleur0);
}

.agency-page-details .apad-nav-section {
    display   : none;
    transform : translateY(-30px);
    opacity   : 0;
    transition: var(--transition);
}

.agency-page-details .apad-nav-section.is-show {
    display  : block;
    transform: translateY(0);
    opacity  : 1;
}

/* ===== TABLES AGENCE ===== */
.agency-page-details .apad-table-wrapper {
    margin-top   : 1.5rem;
    background   : var(--blanc);
    border-radius: 12px;
    padding      : 15px;
    box-shadow   : 0 6px 20px rgba(0, 0, 0, 0.05);
    overflow-x   : auto;
}

.agency-page-details .apad-table {
    width          : 100%;
    border-collapse: collapse;
    font-size      : 0.9rem;
    min-width      : 650px;
}

.agency-page-details .apad-table thead th {
    background : var(--couleur1);
    color      : var(--blanc);
    padding    : 10px 12px;
    text-align : left;
    white-space: nowrap;
}

.agency-page-details .apad-table tbody td {
    padding      : 8px 12px;
    border-bottom: 1px solid var(--gris1);
    white-space  : nowrap;
}

.agency-page-details .apad-table tbody tr:nth-child(even) {
    background: var(--couleur3);
}

.agency-page-details .apad-table tfoot td {
    padding    : 10px 12px;
    font-weight: 600;
    background : rgba(50, 0, 78, 0.05);
}


/* Badges visibles */
.badge {
    display      : inline-block;
    padding      : 4px 10px;
    border-radius: 12px;
    font-size    : 13px;
    font-weight  : 600;
    line-height  : 1;
    white-space  : nowrap;
}

/* En attente */
.badge-warning {
    background: #ffe8b3;
    color     : #b06e00;
    border    : 1px solid #ffcc66;
}

/* Payée */
.badge-success {
    background: #d6f5da;
    color     : #0f6b1b;
    border    : 1px solid #8fe3a4;
}

/* Annulée */
.badge-danger {
    background: #ffd6d6;
    color     : #9b0000;
    border    : 1px solid #ff9e9e;
}

/* Statut inconnu / neutre */
.badge-muted {
    background: #e3e3e3;
    color     : #555;
    border    : 1px solid #c8c8c8;
}


.agency-page-details .badge-success {
    background: rgba(105, 238, 165, 0.2);
    color     : var(--couleur7);
}

.agency-page-details .badge-warning {
    background: rgba(236, 183, 69, 0.2);
    color     : var(--couleur2);
}

.agency-page-details .badge-danger {
    background: rgba(187, 0, 0, 0.15);
    color     : var(--couleur5);
}

.agency-page-details .badge-info {
    background: rgba(0, 102, 255, 0.15);
    color     : var(--couleur6);
}

.agency-page-details .badge-muted {
    background: rgba(0, 0, 0, 0.05);
    color     : var(--gris2);
}

/* petit bouton texte dans tableau */
.agency-page-details .table-link {
    border         : none;
    background     : transparent;
    color          : var(--couleur6);
    font-size      : 0.8rem;
    cursor         : pointer;
    text-decoration: underline;
    padding        : 0;
}

/* ===== CHARTS FINANCES ===== */
.agency-page-details .finance-charts {
    margin-top           : 1.5rem;
    display              : grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap                  : 20px;
}

.agency-page-details .finance-card {
    background   : var(--blanc);
    border-radius: 12px;
    padding      : 18px 18px 20px;
    box-shadow   : 0 6px 20px rgba(0, 0, 0, 0.05);
}

.agency-page-details .finance-card h5 {
    margin     : 0 0 10px;
    font-size  : 1.05rem;
    color      : var(--couleur1);
    font-weight: 700;
}

.agency-page-details .finance-card small {
    display      : block;
    margin-bottom: 15px;
    color        : var(--gris2);
}

/* --- Chart 1 : barres horizontales --- */
.agency-page-details .payment-bars {
    display       : flex;
    flex-direction: column;
    gap           : 10px;
}

.agency-page-details .payment-row {
    display       : flex;
    flex-direction: column;
    gap           : 4px;
}

.agency-page-details .payment-row-header {
    display        : flex;
    justify-content: space-between;
    font-size      : 0.85rem;
}

.agency-page-details .payment-row-header span:first-child {
    font-weight: 600;
}

.agency-page-details .payment-track {
    width        : 100%;
    height       : 8px;
    border-radius: 30px;
    background   : #f1f1f1;
    overflow     : hidden;
}

.agency-page-details .payment-fill {
    height       : 100%;
    border-radius: 30px;
}

/* couleurs barres */
.agency-page-details .payment-fill.mm {
    background: linear-gradient(90deg, var(--couleur6), var(--couleur3));
}

.agency-page-details .payment-fill.cb {
    background: linear-gradient(90deg, var(--couleur2), var(--couleur4));
}

.agency-page-details .payment-fill.cash {
    background: linear-gradient(90deg, var(--couleur5), var(--couleur2));
}

/* légende */
.agency-page-details .chart-legend {
    display   : flex;
    flex-wrap : wrap;
    gap       : 8px 15px;
    margin-top: 10px;
    font-size : 0.8rem;
}

.agency-page-details .chart-legend span {
    display    : inline-flex;
    align-items: center;
    gap        : 5px;
}

.agency-page-details .legend-dot {
    width        : 10px;
    height       : 10px;
    border-radius: 50%;
}

.agency-page-details .legend-dot.mm {
    background: var(--couleur6);
}

.agency-page-details .legend-dot.cb {
    background: var(--couleur2);
}

.agency-page-details .legend-dot.cash {
    background: var(--couleur5);
}

/* --- Chart 2 : barres verticales (évolution) --- */
.agency-page-details .revenue-bars {
    display       : flex;
    flex-direction: column;
    gap           : 10px;
}

.agency-page-details .revenue-bars-wrapper {
    display    : flex;
    align-items: flex-end;
    gap        : 8px;
    height     : 130px;
}

.agency-page-details .revenue-bar {
    flex         : 1;
    border-radius: 8px 8px 0 0;
    background   : linear-gradient(180deg, var(--couleur3), var(--couleur1));
}

.agency-page-details .revenue-bar.is-down {
    background: linear-gradient(180deg, var(--couleur2), var(--couleur5));
}

.agency-page-details .revenue-bars-labels {
    display        : flex;
    justify-content: space-between;
    font-size      : 0.8rem;
    margin-top     : 5px;
}

.agency-page-details .revenue-bars-labels span {
    flex      : 1;
    text-align: center;
}

.agency-page-details .revenue-summary {
    margin-top: 8px;
    font-size : 0.8rem;
    color     : var(--gris2);
}

/* ===== POINTAGE ===== */
.agency-page-details .pointage-summary {
    margin-top           : 1.5rem;
    display              : grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap                  : 15px;
}

.agency-page-details .pointage-card {
    background   : var(--blanc);
    border-radius: 12px;
    padding      : 12px 15px;
    box-shadow   : 0 6px 20px rgba(0, 0, 0, 0.05);
    font-size    : 0.9rem;
}

.agency-page-details .pointage-card span.label {
    display  : block;
    color    : var(--gris2);
    font-size: 0.8rem;
}

.agency-page-details .pointage-card strong {
    font-size: 1.1rem;
}

/* petit point vert/rouge pour présent/absent */
.agency-page-details .presence-dot {
    display      : inline-block;
    width        : 8px;
    height       : 8px;
    border-radius: 50%;
    margin-right : 5px;
}

.agency-page-details .presence-dot.ok {
    background: var(--couleur7);
}

.agency-page-details .presence-dot.ko {
    background: var(--couleur5);
}

/* ===== SOUS-NAVIGATION POINTAGE ===== */
.agency-page-details .pointage-subnav {
    display      : flex;
    flex-wrap    : wrap;
    gap          : 8px;
    margin-bottom: 1rem;
}

.agency-page-details .pointage-subnav-btn {
    border-radius: 999px;
    padding      : 6px 14px;
    border       : 1px solid var(--couleur1);
    background   : var(--blanc);
    font-size    : 0.85rem;
    cursor       : pointer;
    transition   : var(--transition);
}

.agency-page-details .pointage-subnav-btn.is-active {
    border-color: transparent;
    background  : linear-gradient(90deg, var(--couleur2), var(--couleur5));
    color       : var(--bg-couleur0);
    box-shadow  : 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* sections internes */
.agency-page-details .pointage-subsection {
    margin-top: 1rem;
    display   : none;
}

.agency-page-details .pointage-subsection.is-show {
    display: block;
}





/* ===============================
   PAGE MES COMMANDES
=============================== */

.orders-page-wrapper {
    padding  : 2.5rem 1.25rem 3rem;
    max-width: 1120px;
    margin   : 0 auto;
}

/* Récap profil dans la colonne droite */
.orders-page-wrapper .orders-profile-card {
    border-radius: 14px;
    background   : #fdfdff;
    border       : 1px solid rgba(0, 0, 0, 0.04);
    padding      : 0.85rem 0.9rem;
    margin-bottom: 1rem;
}

.orders-page-wrapper .opc-header {
    display        : flex;
    flex-wrap      : wrap;
    align-items    : center;
    justify-content: space-between;
    gap            : 0.75rem;
    margin-bottom  : 1rem;
}

.orders-page-wrapper .opc-header .opc-action-btns {
    display        : flex;
    align-items    : center;
    justify-content: space-evenly;
    gap            : 10px;
}

.orders-page-wrapper .opc-header .opc-action-btns .btn {
    white-space: nowrap;
}

.orders-page-wrapper .opc-title {
    display    : block;
    font-size  : 0.9rem;
    font-weight: 600;
    color      : var(--couleur1);
}

.orders-page-wrapper .opc-sub {
    display  : block;
    font-size: 0.78rem;
    color    : var(--gris2);
}

.orders-page-wrapper .opc-edit-link {
    border-radius: 999px;
    border       : 1px solid rgba(0, 0, 0, 0.1);
    background   : #fff;
    font-size    : 0.78rem;
    padding      : 0.25rem 0.7rem;
    display      : inline-flex;
    align-items  : center;
    gap          : 0.3rem;
    cursor       : pointer;
    color        : var(--couleur1);
    transition   : var(--transition);
}

.orders-page-wrapper .opc-edit-link:hover {
    background  : linear-gradient(135deg, var(--couleur1), var(--couleur4));
    color       : var(--blanc);
    border-color: transparent;
}

.orders-page-wrapper .opc-body {
    display       : flex;
    flex-direction: column;
    gap           : 0.25rem;
    font-size     : 0.8rem;
}

.orders-page-wrapper .opc-row {
    display        : flex;
    justify-content: space-between;
    gap            : 0.5rem;
}

.orders-page-wrapper .opc-label {
    color: var(--gris2);
}

.orders-page-wrapper .opc-value {
    font-weight: 500;
    color      : var(--couleur1);
    text-align : right;
}


/* Hero */
.orders-page-wrapper .orders-hero {
    margin-bottom : 1.75rem;
    display       : flex;
    flex-direction: column;
    gap           : 1.5rem;
    padding       : 10px;
}

.orders-page-wrapper .orders-hero-text h1 {
    font-size    : 1.6rem;
    font-weight  : 700;
    color        : var(--couleur1);
    margin-bottom: 0.25rem;
}

.orders-page-wrapper .orders-hero-text p {
    margin   : 0;
    color    : var(--gris2);
    font-size: 0.95rem;
}

/* Résumé */
.orders-page-wrapper .orders-summary-grid {
    display              : grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap                  : 1rem;
}

.orders-page-wrapper .orders-summary-card {
    background   : var(--blanc);
    border-radius: 14px;
    padding      : 0.85rem 0.95rem;
    display      : flex;
    align-items  : center;
    gap          : 0.75rem;
    box-shadow   : 0 14px 30px rgba(0, 0, 0, 0.08);
    border       : 1px solid rgba(0, 0, 0, 0.03);
}

.orders-page-wrapper .orders-summary-card .osc-icon {
    width          : 40px;
    height         : 40px;
    border-radius  : 12px;
    display        : flex;
    align-items    : center;
    justify-content: center;
    font-size      : 1.1rem;
    color          : var(--blanc);
}

.orders-page-wrapper .orders-summary-card.is-primary .osc-icon {
    background: linear-gradient(130deg, var(--couleur1), var(--couleur4));
}

.orders-page-wrapper .orders-summary-card.is-success .osc-icon {
    background: linear-gradient(130deg, var(--couleur7), var(--couleur3));
}

.orders-page-wrapper .orders-summary-card.is-accent .osc-icon {
    background: linear-gradient(130deg, var(--couleur2), var(--couleur6));
}

.orders-page-wrapper .orders-summary-card .osc-body {
    flex: 1;
}

.orders-page-wrapper .osc-label {
    display       : block;
    font-size     : 0.75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color         : var(--gris2);
}

.orders-page-wrapper .osc-value {
    display  : block;
    font-size: 1.25rem;
    color    : var(--couleur1);
}

.orders-page-wrapper .osc-sub {
    display  : block;
    font-size: 0.78rem;
    color    : var(--gris2);
}

/* Layout 2 colonnes */
.orders-page-wrapper .orders-layout {
    display              : grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap                  : 1.5rem;
}

.orders-page-wrapper .orders-column {
    background   : rgba(255, 255, 255, 0.92);
    border-radius: 5px;
    padding      : 10px;
    margin-top   : 15px;
    box-shadow   : 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* En-têtes de bloc */
.orders-page-wrapper .orders-block-header {
    display        : flex;
    flex-wrap      : wrap;
    align-items    : center;
    justify-content: space-between;
    gap            : .75rem;
    margin-bottom  : .9rem;
}

.orders-page-wrapper .orders-block-header h2 {
    font-size: 1rem;
    margin   : 0;
    color    : var(--couleur1);
}

.orders-page-wrapper .obh-pill {
    display      : inline-flex;
    align-items  : center;
    gap          : .35rem;
    border-radius: 999px;
    padding      : .25rem .6rem;
    font-size    : .75rem;
    white-space  : nowrap;
}

.orders-page-wrapper .obh-pill-warning {
    background: rgba(255, 193, 7, .1);
    color     : #b45309;
}

/* Carte commande courante */
.orders-page-wrapper .order-card {
    border-radius: 14px;
    border       : 1px solid rgba(0, 0, 0, 0.03);
    background   : #fcfcff;
    padding      : 0.85rem 0.9rem;
    margin-bottom: 0.8rem;
}

.orders-page-wrapper .order-card-header {
    display        : flex;
    justify-content: space-between;
    gap            : 0.75rem;
    align-items    : flex-start;
    margin-bottom  : 0.55rem;
}

.orders-page-wrapper .order-ref {
    display    : block;
    font-weight: 600;
    color      : var(--couleur1);
    font-size  : 0.9rem;
}

.orders-page-wrapper .order-date {
    display  : block;
    font-size: 0.78rem;
    color    : var(--gris2);
}

.orders-page-wrapper .order-status {
    display      : inline-flex;
    align-items  : center;
    gap          : .3rem;
    border-radius: 999px;
    padding      : .2rem .55rem;
    font-size    : 0.75rem;
    font-weight  : 500;
}

.orders-page-wrapper .status-preparation {
    background: rgba(236, 183, 69, .12);
    color     : #92400e;
}

.orders-page-wrapper .status-delivery {
    background: rgba(0, 102, 255, .1);
    color     : var(--couleur6);
}

.orders-page-wrapper .order-card-body {
    border-top    : 1px dashed rgba(0, 0, 0, 0.06);
    padding-top   : 0.5rem;
    display       : flex;
    flex-direction: column;
    gap           : 0.25rem;
}

.orders-page-wrapper .order-line {
    display        : flex;
    flex-wrap      : wrap;
    white-space    : wrap;
    justify-content: space-between;
    gap            : 0.5rem;
    font-size      : 0.8rem;
}

.orders-page-wrapper .order-line-label {
    color: var(--gris2);
}

.orders-page-wrapper .order-line-value {
    white-space: wrap;
    font-weight: 500;
    color      : var(--couleur1);
    text-align : right;
}

/* État vide */
.orders-page-wrapper .orders-empty {
    text-align: center;
    padding   : 1.2rem 0.8rem;
    color     : var(--gris2);
    font-size : 0.9rem;
}

.orders-page-wrapper .orders-empty i {
    font-size    : 1.6rem;
    margin-bottom: 0.4rem;
    color        : var(--couleur4);
}

.orders-page-wrapper .btn-primary-small {
    display        : inline-block;
    margin-top     : 0.4rem;
    padding        : 0.4rem 0.9rem;
    border-radius  : 999px;
    background     : linear-gradient(135deg, var(--couleur1), var(--couleur4));
    color          : #fff;
    font-size      : 0.8rem;
    text-decoration: none;
}

/* Historique */
.orders-page-wrapper .orders-history-table-wrapper {
    width     : 100%;
    overflow-x: auto;
}

.orders-page-wrapper .orders-history-table {
    width          : 100%;
    border-collapse: collapse;
    font-size      : 0.8rem;
}

.orders-page-wrapper .orders-history-table th,
.orders-page-wrapper .orders-history-table td {
    padding    : 0.55rem 0.4rem;
    text-align : left;
    white-space: nowrap;
}

.orders-page-wrapper .orders-history-table th {
    font-weight  : 600;
    color        : var(--couleur1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.orders-page-wrapper .orders-history-table tbody tr:nth-child(odd) {
    background: rgba(0, 0, 0, 0.02);
}

.orders-page-wrapper .oh-status {
    display      : inline-flex;
    align-items  : center;
    padding      : 0.15rem 0.45rem;
    border-radius: 999px;
    font-size    : 0.72rem;
}

.orders-page-wrapper .oh-status-success {
    background: rgba(21, 97, 3, .1);
    color     : var(--couleur7);
}

.orders-page-wrapper .oh-status-cancel {
    background: rgba(187, 0, 0, .08);
    color     : var(--couleur5);
}

.orders-page-wrapper .orders-history-note {
    margin-top: 0.7rem;
    font-size : 0.78rem;
    color     : var(--gris2);
}

.orders-page-wrapper .orders-filters {
    display    : flex;
    align-items: center;
    gap        : .5rem;
}

.orders-page-wrapper .orders-select {
    border-radius: 999px;
    border       : 1px solid var(--gris1);
    padding      : 0.25rem 0.7rem;
    font-size    : 0.78rem;
    background   : var(--blanc);
}



.commande-page-details {
    padding        : 40px 0;
    background     : var(--bg-couleur0);
    display        : flex;
    flex-direction : column;
    justify-content: center;
    font-family    : Inter, "Segoe UI", Roboto, Arial, sans-serif;
    color          : var(--noir);
}

/* container */
.commande-page-details .commande-container {
    width        : min(1100px, 96%);
    background   : linear-gradient(180deg, rgba(255, 255, 255, 0.98), var(--blanc));
    padding      : 28px;
    border-radius: calc(var(--radius) + 4px);
    box-shadow   : 0 8px 30px rgba(50, 0, 78, 0.06);
    border       : 1px solid rgba(50, 0, 78, 0.04);
    margin-top   : 2rem;
}

/* header grid */
.commande-page-details .commande-header-grid {
    display              : grid;
    grid-template-columns: 1fr 340px;
    gap                  : 18px;
    align-items          : center;
    margin-bottom        : 14px;
}

.commande-page-details h1 {
    font-size     : 24px;
    color         : var(--couleur1);
    margin        : 0 0 6px 0;
    letter-spacing: -0.2px;
}

.commande-page-details .commande-meta {
    font-size  : 13px;
    color      : var(--gris2);
    display    : flex;
    gap        : 12px;
    flex-wrap  : wrap;
    align-items: center;
}

.commande-page-details .cmd-id strong {
    color: var(--couleur4);
}

/* actions */
.commande-page-details .commande-actions {
    display        : flex;
    flex-wrap      : wrap;
    gap            : 12px;
    align-items    : center;
    justify-content: flex-end;
    flex-direction : column;
}

.commande-page-details .commande-status-pill {
    display      : inline-flex;
    gap          : 8px;
    align-items  : center;
    padding      : 6px 10px;
    border-radius: 12px;
    font-weight  : 600;
    color        : var(--blanc);
    font-size    : 13px;
    box-shadow   : 0 6px 18px rgba(128, 38, 170, 0.06);
}

.commande-page-details .statut-livre {
    background: linear-gradient(90deg, var(--couleur7), #1a7a3b);
}

.commande-page-details .actions-row {
    display   : flex;
    gap       : 8px;
    margin-top: 6px;
}

.commande-page-details .btn {
    font-size    : 13px;
    padding      : 8px 12px;
    border-radius: 10px;
    cursor       : pointer;
    border       : 1px solid transparent;
    background   : transparent;
}

.commande-page-details .btn-outline {
    border-color: rgba(0, 0, 0, 0.08);
    background  : transparent;
    color       : var(--couleur1);
}

.commande-page-details .btn-primary {
    background: linear-gradient(90deg, var(--couleur4), var(--couleur1));
    color     : var(--blanc);
    box-shadow: 0 6px 18px rgba(130, 19, 194, 0.12);
    border    : none;
}

.commande-page-details .btn-ghost {
    color     : var(--gris2);
    background: transparent;
    border    : 1px dashed rgba(0, 0, 0, 0.04);
}

/* timeline */
/* timeline enhanced */
.commande-page-details .commande-timeline {
    display             : flex;
    flex-wrap           : wrap;
    align-items         : center;
    gap                 : 12px;
    margin              : 6px 0 20px;
    padding             : 8px 4px;
    --connector-bg-muted: rgba(0, 0, 0, 0.06);
    --connector-bg-done : linear-gradient(90deg, rgba(26, 122, 59, 0.25), rgba(105, 238, 165, 0.15));
}

/* step base */
.commande-page-details .commande-timeline .step {
    min-width       : 110px;
    text-align      : center;
    padding         : 8px 12px;
    border-radius   : 10px;
    font-size       : 13px;
    background      : rgba(255, 255, 255, 0.85);
    color           : var(--gris2);
    border          : 1px solid rgba(0, 0, 0, 0.03);
    transition      : all .28s ease;
    transform-origin: center;
}

/* connector base */
.commande-page-details .commande-timeline .connector {
    flex         : 1;
    height       : 6px;
    border-radius: 6px;
    background   : var(--connector-bg-muted);
    transition   : all .28s ease;
}

/* done (completed steps & connectors) */
.commande-page-details .commande-timeline .step.done {
    background : linear-gradient(90deg, #eaf9f1, rgba(105, 238, 165, 0.08));
    color      : var(--couleur7);
    border     : 1px solid rgba(21, 97, 3, 0.06);
    font-weight: 700;
    box-shadow : 0 6px 18px rgba(21, 97, 3, 0.04);
    transform  : translateY(-1px) scale(1.01);
}

.commande-page-details .commande-timeline .connector.done {
    background: linear-gradient(90deg, rgba(21, 97, 3, 0.12), rgba(105, 238, 165, 0.12));
    box-shadow: 0 4px 8px rgba(21, 97, 3, 0.03);
}

/* active (current step) */
.commande-page-details .commande-timeline .step.active {
    background : linear-gradient(90deg, rgba(130, 19, 194, 0.08), rgba(50, 0, 78, 0.04));
    color      : var(--couleur4);
    font-weight: 800;
    transform  : translateY(-3px) scale(1.03);
    box-shadow : 0 10px 30px rgba(130, 19, 194, 0.06);
}

/* upcoming (future steps) -> grisé + léger flou */
.commande-page-details .commande-timeline .step.upcoming {
    opacity   : 0.45;
    filter    : grayscale(70%) blur(.2px);
    color     : var(--gris2);
    background: rgba(255, 255, 255, 0.66);
    border    : 1px solid rgba(0, 0, 0, 0.02);
    transform : none;
}

/* upcoming connectors */
.commande-page-details .commande-timeline .connector.upcoming {
    background: linear-gradient(90deg, rgba(50, 0, 78, 0.04), rgba(130, 19, 194, 0.02));
    opacity   : 0.45;
}

/* small screens: keep timeline readable */
@media (max-width: 640px) {
    .commande-page-details .commande-timeline .step {
        min-width: 90px;
        padding  : 6px 8px;
        font-size: 12px;
    }
}


/* main grid */
.commande-page-details .commande-main-grid {
    display              : grid;
    grid-template-columns: 1fr 400px;
    gap                  : 20px;
    align-items          : start;
}

/* info cards */
.commande-page-details .commande-infos {
    display              : grid;
    grid-template-columns: repeat(3, 1fr);
    gap                  : 14px;
}

.commande-page-details .info-card {
    background   : linear-gradient(180deg, rgba(115, 189, 199, 0.12), rgba(115, 189, 199, 0.06));
    padding      : 16px;
    border-radius: 12px;
    border       : 1px solid rgba(0, 0, 0, 0.03);
    box-shadow   : 0 6px 18px rgba(0, 0, 0, 0.03) inset;
}

.commande-page-details .info-card h3 {
    margin   : 0 0 8px 0;
    color    : var(--couleur1);
    font-size: 15px;
}

.commande-page-details .info-card .ic-body p {
    margin   : 6px 0;
    font-size: 14px;
    color    : var(--gris2);
}

/* produits list */
.commande-page-details .commande-recap {
    display       : flex;
    flex-direction: column;
    gap           : 16px;
}

.commande-page-details .produits-list h3 {
    margin   : 0 0 8px 0;
    color    : var(--couleur1);
    font-size: 16px;
}

.commande-page-details .produit-item {
    display      : flex;
    align-items  : center;
    gap          : 12px;
    padding      : 14px;
    border-radius: 10px;
    background   : linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 250, 0.98));
    border       : 1px solid rgba(0, 0, 0, 0.03);
    box-shadow   : 0 4px 14px rgba(50, 0, 78, 0.02);
    margin-bottom: 8px;
}

.commande-page-details .produit-item img {
    width        : 72px;
    height       : 72px;
    object-fit   : cover;
    border-radius: 8px;
    flex-shrink  : 0;
}

.commande-page-details .p-details {
    display       : flex;
    flex-direction: column;
    gap           : 6px;
}

.commande-page-details .p-title {
    font-weight: 600;
    color      : var(--couleur2);
    font-size  : 14px;
}

.commande-page-details .p-meta {
    font-size: 13px;
    color    : var(--gris2);
}

.commande-page-details .badge {
    display      : inline-block;
    padding      : 4px 8px;
    background   : rgba(50, 0, 78, 0.06);
    border-radius: 999px;
    font-weight  : 700;
    color        : var(--couleur4);
}

.commande-page-details .p-price {
    margin-left: auto;
    font-weight: 700;
    color      : var(--couleur4);
    font-size  : 15px;
}

/* recap box */
.commande-page-details .recap-box {
    border-radius: 12px;
    padding      : 14px;
    background   : linear-gradient(180deg, rgba(50, 0, 78, 0.03), rgba(255, 255, 255, 0.95));
    border       : 1px solid rgba(130, 19, 194, 0.06);
    box-shadow   : 0 10px 30px rgba(130, 19, 194, 0.03);
    align-self   : flex-start;
}

.commande-page-details .recap-row {
    display        : flex;
    justify-content: space-between;
    padding        : 8px 4px;
    font-size      : 14px;
    color          : var(--gris2);
    gap            : 5px;
}

.commande-page-details .recap-row.total {
    font-weight: 800;
    color      : var(--couleur4);
    font-size  : 16px;
    border-top : 1px dashed rgba(0, 0, 0, 0.05);
    padding-top: 12px;
    margin-top : 6px;
}

.commande-page-details .small-note {
    margin-top: 8px;
    font-size : 12px;
    color     : var(--gris2);
}

/* responsive */
@media (max-width: 980px) {
    .commande-page-details .commande-header-grid {
        grid-template-columns: 1fr;
    }

    .commande-page-details .commande-actions {
        flex-direction : row;
        justify-content: space-between;
    }

    .commande-page-details .commande-main-grid {
        grid-template-columns: 1fr;
    }

    .commande-page-details .commande-infos {
        grid-template-columns: repeat(1, 1fr);
    }

    .commande-page-details .recap-box {
        width: 100%;
    }
}


/* ================ */
/* ================ */
/* ================ */
/* ================ */
.all-modal-style {
    position  : fixed;
    top       : 0;
    left      : 110%;
    width     : 100%;
    height    : 100vh;
    background: rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    z-index   : 9999;
}

.all-modal-style.is-display {
    left: 0;
}

.all-modal-style .ams-content {
    position  : relative;
    width     : 100%;
    max-width : 600px;
    margin    : 0 auto;
    height    : 100vh;
    background: var(--gris1);
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.5);
}

.all-modal-style .ams-content .ams-title {
    width          : 100%;
    height         : 55px;
    background     : var(--couleur1);
    color          : var(--blanc);
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    padding        : 5px 15px;
}

.all-modal-style .ams-content .ams-title .close-ams-btn {
    font-size : 1.3rem;
    color     : var(--couleur2);
    transition: var(--transition);
    background: none;
    border    : none;
}

.all-modal-style .ams-content .ams-title .close-ams-btn:hover {
    transform: rotate(360deg);
    color    : var(--couleur5);
}

.all-modal-style .ams-content .content-wrapper {
    width         : 100%;
    max-height    : calc(100vh - 55px);
    overflow-y    : auto;
    padding-bottom: 20px;
}

.all-modal-style form {
    width         : 100%;
    position      : relative;
    padding       : 10px;
    display       : flex;
    flex-direction: column;
    gap           : 10px;
}


.all-modal-style form .form-row .field {
    display      : block;
    position     : relative;
    border-radius: 10px;
    background   : var(--blanc);
    padding      : 10px 12px 10px 44px;
    border       : 1px solid rgba(0, 0, 0, 0.06);
    box-shadow   : 0 3px 10px rgba(0, 0, 0, 0.03);
}

.all-modal-style form .form-row .field i {
    position : absolute;
    left     : 12px;
    top      : 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color    : var(--couleur1);
    opacity  : .95;
}

.all-modal-style form .form-row .field input,
.all-modal-style form .form-row .field select,
.all-modal-style form .form-row .field textarea {
    width     : 100%;
    border    : none;
    outline   : none;
    font-size : 14px;
    background: transparent;
    z-index   : 1;
}


.all-modal-style form .form-row .field-info {
    font-size : 10px;
    font-style: italic;
    color     : var(--couleur4);
}

.agency-team-item {
    position     : relative;
    padding      : 12px;
    background   : var(--blanc);
    border-radius: 8px;
    margin-bottom: 12px;
    border       : 1px solid var(--gris1);
}

.remove-member-btn {
    position       : absolute;
    top            : 6px;
    right          : 6px;
    background     : var(--couleur5);
    color          : var(--blanc);
    border         : none;
    border-radius  : 50%;
    width          : 26px;
    height         : 26px;
    display        : flex;
    align-items    : center;
    justify-content: center;
    cursor         : pointer;
    z-index        : 3;
}

.remove-member-btn i {
    font-size: 14px;
}

.agency-team-item.is-first .remove-member-btn {
    display: none !important;
}



.all-modal-style form .submitBtn {
    background   : var(--couleur1);
    border       : none;
    border-radius: 10px;
    color        : var(--blanc);
    padding      : 10px 25px;
    transition   : var(--transition);
    cursor       : pointer;
}

.all-modal-style form .form-row .submitBtn:hover {
    background: var(--couleur4);
}

/* actions */
.all-modal-style form .form-row .form-actions {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    gap            : 10px;
}

.all-modal-style form .form-row span {
    color      : var(--couleur7);
    font-weight: 900;
}

/* Label de section */
.all-modal-style .field-label {
    font-size    : 13px;
    font-weight  : 600;
    margin-bottom: 6px;
    color        : var(--couleur1);
}

/* Grille des privilèges */
.privileges-grid {
    display              : grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap                  : 8px;
    margin-top           : 4px;
}

/* Chaque checkbox de privilège */
.privilege-item {
    display      : flex;
    align-items  : center;
    gap          : 8px;
    padding      : 8px 10px;
    border-radius: 8px;
    background   : rgba(255, 255, 255, 0.9);
    border       : 1px solid rgba(0, 0, 0, 0.06);
    font-size    : 13px;
    cursor       : pointer;
    transition   : var(--transition);
}

.privilege-item input[type="checkbox"] {
    width       : 16px;
    height      : 16px;
    accent-color: var(--couleur1);
    cursor      : pointer;
}

.privilege-item i {
    font-size: 13px;
    color    : var(--couleur1);
}

.privilege-item:hover {
    transform : translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    background: var(--blanc);
}

.marketing-products{
    width: 100%;
    height: auto;
    max-height: 350px !important;
    padding: 10px;
    overflow-y: auto;
}

.all-modal-style form img {
    width     : 60px;
    height    : auto;
    max-height: 80px;
    object-fit: contain;
}


/* ================================
   COMMENTAIRES PRODUIT
=============================== */
.prod-comment-wrapper {
    margin-top   : 30px;
    background   : var(--blanc);
    border-radius: 14px;
    padding      : 20px;
    box-shadow   : 0 8px 20px rgba(0, 0, 0, 0.05);
}

.product-comments {
    display       : flex;
    flex-direction: column;
    gap           : 20px;
}

/* Header avec bouton */
.pc-head {
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    flex-wrap      : wrap;
    gap            : 10px;
}

.pc-head h3 {
    margin   : 0;
    font-size: 1.2rem;
    color    : var(--couleur1);
}

.pc-sub {
    margin   : 0;
    font-size: 13px;
    color    : var(--gris2);
}

/* CTA commentaire */
.product-comments .btn.open-review-modal {
    background   : linear-gradient(90deg, var(--couleur1), var(--couleur4));
    color        : var(--blanc);
    border       : none;
    padding      : 8px 14px;
    border-radius: 10px;
    cursor       : pointer;
    font-size    : 14px;
    font-weight  : 700;
    box-shadow   : 0 4px 14px rgba(130, 19, 194, 0.18);
    transition   : .25s ease;
}

.product-comments .btn.open-review-modal:hover {
    background: linear-gradient(90deg, var(--couleur3), var(--couleur1));
    transform : translateY(-1px);
}

/* Résumé rating */
.pc-summary {
    display    : flex;
    align-items: center;
    gap        : 10px;
}

.pc-stars {
    color    : #f5b400;
    font-size: 1.2rem;
}

.pc-note {
    font-weight: 700;
    color      : var(--texte-noir);
}

.pc-count {
    color    : var(--gris2);
    font-size: 13px;
}

/* Bloc liste */
.pc-list {
    display       : flex;
    flex-direction: column;
    gap           : 18px;
}

/* Item */
.pc-item {
    background   : var(--bg-couleur0);
    padding      : 14px 16px;
    border-radius: 10px;
    border       : 1px solid rgba(0, 0, 0, 0.05);
    box-shadow   : 0 3px 12px rgba(0, 0, 0, 0.04);
}

.pc-item-head {
    display      : flex;
    align-items  : center;
    flex-wrap    : wrap;
    gap          : 6px;
    margin-bottom: 4px;
}

.pc-author {
    font-weight: 800;
    color      : var(--couleur1);
}

.pc-location {
    font-size: 13px;
    color    : var(--gris2);
}

.pc-item-rating {
    margin-left: auto;
    color      : #f5b400;
    font-size  : 15px;
    font-weight: bold;
}

.pc-item-body {
    margin   : 6px 0 4px;
    font-size: 14px;
    color    : var(--texte-noir);
}

.pc-date {
    color    : var(--gris2);
    font-size: 12px;
    display  : inline-block;
}


/* ===============================
   PRINT – FACTURE / COMMANDE
=============================== */
@media print {

    /* 🔥 Supprimer marges navigateur */
    @page {
        margin: 10mm;
    }

    html,
    body {
        margin    : 0 !important;
        padding   : 0 !important;
        height    : auto !important;
        overflow  : visible !important;
        background: var(--bg-couleur0) !important;
    }

    /* ❌ Tout masquer par défaut */
    body * {
        visibility: hidden !important;
    }

    /* ✅ Zone à imprimer */
    .commande-container,
    .commande-container * {
        visibility: visible !important;
    }

    /* 📌 Positionner correctement la facture */
    .commande-container {
        position         : relative !important;
        top              : 0 !important;
        left             : 0 !important;
        width            : 100% !important;
        margin           : 0 auto !important;
        padding          : 0 !important;
        page-break-before: avoid;
    }

    /* ❌ Éléments UI à exclure */
    header,
    footer,
    nav,
    .actions-row,
    .site-header,
    .site-footer {
        display: none !important;
    }

    /* ❌ Boutons / interactions */
    button,
    .btn,
    [data-hide-on-print] {
        display: none !important;
    }

    /* ✅ Éviter pages blanches */
    .main-wrapper {
        padding: 0 !important;
        margin : 0 !important;
    }

    /* 🧾 Pagination intelligente */
    .produit-item,
    .info-card,
    .recap-box {
        page-break-inside: avoid;
    }
}





/* =========================================
   PAGE : RETOUR & LIVRAISON (SCOPED)
========================================= */

.page-retour-livraison {
    background    : var(--bg-couleur0);
    padding-bottom: 60px;
}

/* ---------- HERO ---------- */
.page-retour-livraison .static-hero {
    background: linear-gradient(135deg,
            var(--couleur1),
            var(--couleur4));
    color     : var(--blanc);
    padding   : 60px 15px;
    text-align: center;
}

.page-retour-livraison .static-hero h1 {
    font-size    : 2.2rem;
    margin-bottom: 10px;
    font-weight  : 700;
}

.page-retour-livraison .static-hero p {
    opacity  : 0.9;
    font-size: 15px;
}

/* ---------- CONTENT WRAP ---------- */
.page-retour-livraison .static-content {
    max-width: 1000px;
    margin   : -40px auto 0;
    padding  : 0 15px;
    display  : grid;
    gap      : 25px;
}

/* ---------- CARD ---------- */
.page-retour-livraison .info-card {
    background   : var(--blanc);
    border-radius: 14px;
    padding      : 25px;
    display      : flex;
    gap          : 20px;
    box-shadow   : 0 10px 25px rgba(0, 0, 0, 0.08);
}

.page-retour-livraison .card-icon {
    font-size : 28px;
    color     : var(--couleur2);
    min-width : 50px;
    text-align: center;
}

.page-retour-livraison .card-icon.danger {
    color: var(--couleur5);
}

.page-retour-livraison .card-body h2 {
    margin-bottom: 12px;
    color        : var(--couleur1);
    font-size    : 20px;
}

/* ---------- LIST ---------- */
.page-retour-livraison .info-list {
    list-style: none;
    padding   : 0;
    margin    : 0 0 10px;
}

.page-retour-livraison .info-list li {
    display      : flex;
    gap          : 10px;
    align-items  : center;
    margin-bottom: 8px;
    color        : var(--gris2);
    font-size    : 14px;
}

.page-retour-livraison .info-list i {
    color    : var(--couleur4);
    font-size: 14px;
}

/* ---------- TEXT ---------- */
.page-retour-livraison .muted {
    color    : var(--gris2);
    font-size: 14px;
}

/* ---------- HIGHLIGHT CARD ---------- */
.page-retour-livraison .highlight {
    border-left: 5px solid var(--couleur2);
}

/* ---------- CONTACT ---------- */
.page-retour-livraison .contact-actions {
    display   : flex;
    gap       : 15px;
    flex-wrap : wrap;
    margin-top: 12px;
}

.page-retour-livraison .btn-outline {
    border         : 1px solid var(--couleur4);
    color          : var(--couleur4);
    padding        : 8px 14px;
    border-radius  : 30px;
    font-size      : 14px;
    text-decoration: none;
    transition     : var(--transition);
    display        : inline-flex;
    align-items    : center;
    gap            : 8px;
}

.page-retour-livraison .btn-outline:hover {
    background: var(--couleur4);
    color     : var(--blanc);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .page-retour-livraison .info-card {
        flex-direction: column;
        padding       : 20px;
    }

    .page-retour-livraison .static-hero h1 {
        font-size: 1.8rem;
    }
}



/* ============================
   FAQ PAGE
============================ */
.page-faq {
    background: var(--bg-couleur0);
}

/* HERO */
.page-faq .static-hero {
    background: linear-gradient(135deg, var(--couleur1), var(--couleur4));
    color     : var(--blanc);
    padding   : 80px 20px;
    text-align: center;
}

.page-faq .static-hero h1 {
    font-size    : clamp(28px, 4vw, 40px);
    margin-bottom: 10px;
}

.page-faq .static-hero p {
    opacity: 0.9;
}

/* CONTENT */
.page-faq .static-content {
    padding: 60px 15px;
}

.page-faq .faq-wrap {
    max-width     : 900px;
    margin        : auto;
    display       : flex;
    flex-direction: column;
    gap           : 15px;
}

/* FAQ ITEM */
.page-faq .faq-item {
    background   : var(--blanc);
    border-radius: 14px;
    box-shadow   : 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow     : hidden;
}

/* QUESTION */
.page-faq .faq-question {
    width          : 100%;
    border         : none;
    background     : transparent;
    padding        : 20px 22px;
    display        : flex;
    align-items    : center;
    justify-content: space-between;
    cursor         : pointer;
    font-size      : 16px;
    font-weight    : 600;
    color          : var(--couleur1);
}

.page-faq .faq-question i {
    transition: var(--transition);
    color     : var(--couleur4);
}

/* ANSWER */
.page-faq .faq-answer {
    max-height: 0;
    overflow  : hidden;
    transition: max-height 0.4s ease;
    padding   : 0 22px;
}

.page-faq .faq-answer p {
    padding    : 0 0 20px;
    color      : var(--gris2);
    line-height: 1.6;
}

/* ACTIVE */
.page-faq .faq-item.active .faq-answer {
    max-height: 300px;
}

.page-faq .faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* LINKS */
.page-faq a {
    color      : var(--couleur4);
    font-weight: 600;
}




/* ============================
   CGU PAGE
============================ */
.page-cgu {
    background: var(--bg-couleur0);
}

/* HERO */
.page-cgu .static-hero {
    background: linear-gradient(135deg, var(--couleur1), var(--couleur4));
    color     : var(--blanc);
    padding   : 80px 20px;
    text-align: center;
}

.page-cgu .static-hero h1 {
    font-size    : clamp(26px, 4vw, 40px);
    margin-bottom: 12px;
}

.page-cgu .static-hero p {
    max-width: 720px;
    margin   : auto;
    opacity  : 0.9;
}

/* CONTENT */
.page-cgu .static-content {
    padding  : 60px 15px;
    max-width: 1000px;
}

/* CARD */
.page-cgu .cgu-card {
    background   : var(--blanc);
    border-radius: 14px;
    padding      : 28px;
    margin-bottom: 20px;
    box-shadow   : 0 12px 30px rgba(0, 0, 0, 0.08);
}

.page-cgu .cgu-card h2 {
    color        : var(--couleur1);
    font-size    : 18px;
    margin-bottom: 10px;
}

.page-cgu .cgu-card p,
.page-cgu .cgu-card li {
    color      : var(--gris2);
    line-height: 1.7;
    font-size  : 15px;
}

.page-cgu .cgu-card ul {
    padding-left: 20px;
}

/* HIGHLIGHT */
.page-cgu .cgu-card.highlight {
    border-left: 5px solid var(--couleur4);
}

/* LINKS */
.page-cgu a {
    color      : var(--couleur4);
    font-weight: 600;
}

/* BUTTON */
.page-cgu .btn-outline {
    display        : inline-flex;
    align-items    : center;
    gap            : 8px;
    margin-top     : 10px;
    padding        : 10px 18px;
    border-radius  : 999px;
    border         : 2px solid var(--couleur4);
    color          : var(--couleur4);
    text-decoration: none;
    transition     : var(--transition);
}

.page-cgu .btn-outline:hover {
    background: var(--couleur4);
    color     : var(--blanc);
}




.editable[contenteditable="true"] {
    cursor : text;
    outline: none;
}

.editable[contenteditable="true"]:hover {
    background: rgba(236, 183, 69, 0.12);
}

.editable[contenteditable="true"]:focus {
    background: rgba(236, 183, 69, 0.18);
    box-shadow: inset 0 0 0 1px var(--couleur2);
}


/* =========================
   MODALE UPDATE APP
========================= */

.app-update-modal {
    position: fixed;
    inset   : 0;
    z-index : 9999;
    display : none;
}

.app-update-modal.show {
    display: block;
}

.aum-backdrop {
    position       : absolute;
    inset          : 0;
    background     : rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.aum-dialog {
    position     : relative;
    max-width    : 420px;
    margin       : 10vh auto;
    background   : var(--blanc);
    border-radius: 14px;
    padding      : 28px 24px 32px;
    text-align   : center;
    box-shadow   : 0 20px 60px rgba(0, 0, 0, 0.25);
    animation    : modalPop 0.4s ease;
}

@keyframes modalPop {
    from {
        transform: scale(0.85) translateY(30px);
        opacity  : 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity  : 1;
    }
}

.aum-close {
    position  : absolute;
    top       : 12px;
    right     : 12px;
    background: transparent;
    border    : none;
    font-size : 18px;
    color     : var(--gris2);
    cursor    : pointer;
}

.aum-icon {
    width        : 64px;
    height       : 64px;
    margin       : 0 auto 16px;
    border-radius: 50%;
    background   : linear-gradient(135deg,
            var(--couleur4),
            var(--couleur6));
    display        : flex;
    align-items    : center;
    justify-content: center;
    color          : var(--blanc);
    font-size      : 26px;
    animation      : rotatePulse 1.6s infinite;
}

@keyframes rotatePulse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.aum-dialog h3 {
    color        : var(--couleur1);
    margin-bottom: 8px;
}

.aum-dialog p {
    color        : var(--gris2);
    font-size    : 14px;
    line-height  : 1.5;
    margin-bottom: 22px;
}

/* ===== BOUTON UPDATE ===== */

.btn-update {
    position: relative;
    background: linear-gradient(135deg,
            var(--couleur1),
            var(--couleur4));
    color        : var(--blanc);
    border       : none;
    padding      : 12px 28px;
    border-radius: 999px;
    font-weight  : 600;
    cursor       : pointer;
    overflow     : hidden;
    transition   : var(--transition);
}

.btn-update:hover {
    transform : translateY(-2px);
    box-shadow: 0 10px 30px var(--couleur4);
}

.btn-update .loader {
    display: none;
}

.btn-update.loading .label {
    visibility: hidden;
}

.btn-update.loading .loader {
    display         : block;
    width           : 22px;
    height          : 22px;
    border          : 3px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--blanc);
    border-radius   : 50%;
    margin          : auto;
    animation       : spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}