﻿.export-label {
    font-size: 12px;
    color: #3A1560;
    font-weight: 600;
    margin-right: 7px;
    opacity: 0.97;
    letter-spacing: 0.01em;
    vertical-align: middle;
    display: inline-block;
    text-shadow: 0 1px 0 #fff, 0 0.5px 0 #E8D5F0;
}
.actionBouton--glass {
    background: rgba(255,255,255,0.65) !important;
    color: #662d91 !important;
    border: none !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 22px;
    padding: 7px 18px !important;
    box-shadow: 0 2px 12px rgba(84,38,113,0.10);
    backdrop-filter: blur(2.5px);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.16s;
    min-width: 0;
    min-height: 0;
    filter: brightness(1.03);
}
.actionBouton--glass:hover,
.actionBouton--glass:focus {
    background: rgba(235,224,245,0.95) !important;
    color: #662d91 !important;
    box-shadow: 0 4px 18px rgba(84,38,113,0.16);
    filter: brightness(1.13) drop-shadow(0 0 8px #E8D5F0);
}
.actionBouton--glass:active {
    filter: brightness(0.97);
    box-shadow: 0 1px 4px rgba(84,38,113,0.10);
}
.actionBouton--csv {
    color: #218838 !important;
}
.actionBouton--csv .icon-csv {
    font-size: 16px;
    color: #218838;
}
.actionBouton--pdf {
    color: #c0392b !important;
}
.actionBouton--pdf .icon-pdf {
    font-size: 16px;
    color: #c0392b;
}
.actionBouton--print {
    color: #333 !important;
}
.actionBouton--print .icon-print {
    font-size: 16px;
    color: #333;
}
.actionBouton--circle-delete {
    background: transparent !important;
    color: #888 !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.16s;
    box-shadow: none;
}
.actionBouton--circle-delete:hover,
.actionBouton--circle-delete:focus {
    background: #f5f0fa !important;
    color: #c0392b !important;
    border-color: #c0392b !important;
    box-shadow: 0 2px 8px rgba(192,57,43,0.10);
}
.actionBouton--pill {
    background: #fff !important;
    color: #662d91 !important;
    border: 1.5px solid #9B72C4 !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 32px;
    padding: 7px 20px !important;
    box-shadow: 0 2px 8px rgba(84,38,113,0.06);
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.actionBouton--pill:hover,
.actionBouton--pill:focus {
    background: #f3edfa !important;
    color: #662d91 !important;
    border-color: #662d91 !important;
}

.actionBouton--ghost-danger {
    background: #fff !important;
    color: #c0392b !important;
    border: 1.5px solid #f5b7b1 !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 32px;
    padding: 7px 20px !important;
    box-shadow: 0 2px 8px rgba(192,57,43,0.06);
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.actionBouton--ghost-danger:hover,
.actionBouton--ghost-danger:focus {
    background: #f5f0fa !important;
    color: #a93226 !important;
    border-color: #c0392b !important;
}
.icon-panier {
    font-size: 17px;
    margin-right: 2px;
}
.icon-trash {
    font-size: 17px;
    margin-right: 2px;
}
.premium-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 26px;
    margin: 38px auto 38px auto;
    padding: 22px 32px;
    background: linear-gradient(90deg,#f5f0fa 0%,#f3edfa 100%);
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(84,38,113,0.10);
    max-width: 950px;
}

.actionBouton--main-premium {
    background: linear-gradient(90deg,#8B5CB8 0%,#662d91 100%) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 800;
    font-size: 20px;
    padding: 14px 44px;
    border-radius: 32px;
    box-shadow: 0 6px 24px rgba(84,38,113,0.13);
    letter-spacing: 0.01em;
    transition: background 0.18s, box-shadow 0.18s, filter 0.18s;
    filter: brightness(1.04);
}
.actionBouton--main-premium:hover,
.actionBouton--main-premium:focus {
    background: linear-gradient(90deg,#9B72C4 0%,#662d91 100%) !important;
    box-shadow: 0 10px 32px rgba(84,38,113,0.18);
    filter: brightness(1.13) drop-shadow(0 0 8px #E8D5F0);
}

.actionBouton--ghost, .actionBouton--ghost-mini {
    background: #fff !important;
    color: #662d91 !important;
    border: none !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(84,38,113,0.07);
    border-radius: 32px;
    transition: all 0.16s;
    filter: brightness(1.01);
}
.actionBouton--ghost {
    font-size: 16px;
    padding: 10px 28px !important;
}
.actionBouton--ghost-mini {
    font-size: 15px;
    padding: 8px 18px !important;
    min-width: 0;
}
.actionBouton--ghost:hover,
.actionBouton--ghost:focus,
.actionBouton--ghost-mini:hover,
.actionBouton--ghost-mini:focus {
    background: #f3edfa !important;
    color: #662d91 !important;
    filter: brightness(1.09) drop-shadow(0 0 6px #E8D5F0);
}
.panier-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    margin-bottom: 24px;
    padding: 0 0 8px 0;
    border-bottom: 1px solid #eee;
}
.panier-actions-bar__left {
    flex: 1;
    text-align: left;
}
.panier-actions-bar__center {
    flex: 1;
    text-align: center;
}
.panier-actions-bar__right {
    flex: 1;
    text-align: right;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.actionBouton--main {
    background: #662d91 !important;
    color: #fff !important;
    border: 2px solid #662d91 !important;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 22px;
    border-radius: 4px;
    transition: background 0.18s;
}
.actionBouton--main:hover,
.actionBouton--main:focus {
    background: #662d91 !important;
    border-color: #662d91 !important;
}

.actionBouton--mini {
    background: #fff !important;
    color: #662d91 !important;
    border: 1.5px solid #662d91 !important;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px !important;
    border-radius: 4px;
    margin-left: 0;
    margin-right: 0;
    transition: all 0.16s;
}
.actionBouton--mini:hover,
.actionBouton--mini:focus {
    background: #662d91 !important;
    color: #fff !important;
    border-color: #662d91 !important;
}

.actionBouton--link {
    background: none !important;
    color: #662d91 !important;
    border: none !important;
    font-size: 15px;
    font-weight: 500;
    padding: 0 0 0 2px !important;
    text-decoration: underline;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
}
.actionBouton--link:hover,
.actionBouton--link:focus {
    color: #662d91 !important;
    text-decoration: underline;
}
/* ==========================================================================
   JOJAFRANCE - CSS IDENTIQUE AU SITE ORIGINAL
   ========================================================================== */

/* === RESET ET BASE === */
*, ::after, ::before {
    box-sizing: content-box;
}

html {
    overflow-x: clip;
    max-width: 100vw;
}

body {
    font-size: 13px;
    font-family: Arial, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: clip;
    max-width: 100vw;
}

a {
    color: #662d91;
    text-decoration: none;
}

a:hover {
    color: #662d91;
    text-decoration: underline;
}

label {
    font-weight: normal;
}

h1, .page_body--titre1 {
    color: #662d91;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 0.5em;
}

h2, .page_body--titre2 {
    background-color: transparent;
    color: #662d91;
    font-family: Verdana, Arial, sans-serif;
    font-size: 18px;
    font-weight: normal;
    padding: 8px 0;
    margin: 15px 0;
}

h3, .page_body--titre3 {
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 17px;
}

/* === PAGE STRUCTURE === */
.page {
    margin: 0 auto;
    width: 100%;
    padding-top: 280px; /* Ajusté dynamiquement par JS dans base.html */
}

/* === PAGE HEADER === */
.page_header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5900;
    box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.3);
    border: none;
    height: auto;
    min-height: 0;
    background-color: #ffffff;
    color: #333;
    overflow: visible;
    padding-bottom: 18px;
}

.page_header a {
    color: #333;
}

.page_header a:hover {
    color: #333;
}

/* Logo */
.page_header--logo {
    float: left;
    margin-top: 10px;
    margin-left: 20px;
    margin-bottom: 10px;
    height: auto;
    overflow: visible;
}

.page_header--logo img {
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* === CARTOUCHE CLIENT === */
/* ═══════════════════════════════════════════════════════
   CARTOUCHE CLIENT — STYLE PRO / SOBRE
═══════════════════════════════════════════════════════ */

/* ── Wrapper fixe ── */
.page_header--cartouche_client {
    z-index: 9200;
    position: fixed;
    right: 18px;
    top: 10px;
    border-bottom: none;
}

/* ── Conteneur global : pilule sombre unifiée ── */
.cartouche_client {
    display: flex;
    align-items: center;
    gap: 0;
    background: #111111;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50px;
    padding: 6px 6px 6px 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    transition: border-color 0.2s;
}
.cartouche_client:hover {
    border-color: rgba(123, 75, 160, 0.40);
}

/* ─────────────────────────────
   BLOC UTILISATEUR
───────────────────────────── */
.cartouche_client--utilisateur {
    width: auto;
    float: none;
    position: relative;
}

/* Nom + avatar — pas de fond propre, intégré dans la pilule */
.cartouche_client--utilisateur--titre {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 4px 14px 4px 2px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    margin-right: 10px;
    cursor: default;
}

/* Avatar minimaliste */
.cartouche_client--utilisateur--titre .icon {
    float: none;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(123, 75, 160, 0.25);
    background-image: none;
    border: 1.5px solid rgba(123, 75, 160, 0.50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}
.cartouche_client--utilisateur--titre .icon::after {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    color: #ffffff;
    display: block;
}

/* Nom + numéro client */
.cartouche_client--utilisateur--titre .cartouche_client--client {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    float: none;
}
.ccu-nom {
    font-size: .95em;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    line-height: 1.2;
    letter-spacing: .01em;
    display: block;
    text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.ccu-code {
    font-size: .85em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: .08em;
    line-height: 1;
    white-space: nowrap;
    display: block;
    text-shadow: none;
}

/* Dropdown "Se déconnecter" */
.cartouche_client--utilisateur .cartouche_client--content {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    background: #111111;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.60);
    min-width: 160px;
    z-index: 9300;
}
.cartouche_client--utilisateur:hover .cartouche_client--content {
    display: block;
}
.cartouche_client--content--deconnexion {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: .78em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    border-radius: 8px;
    transition: background 0.15s;
    white-space: nowrap;
}
.cartouche_client--content--deconnexion::before {
    content: '\f011';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: .9em;
}
.cartouche_client--content--deconnexion:hover {
    background: rgba(123, 75, 160, 0.15);
    color: #fff !important;
    text-decoration: none !important;
}

/* ── Lien ACCÉDER À MON COMPTE (sous le numéro) ── */
.ccu-compte-lien {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .88em;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    letter-spacing: .04em;
    margin-top: 6px;
    padding: 6px 14px 6px 10px;
    border-radius: 50px;
    background: linear-gradient(135deg, #7B4BA0 0%, #8B5CB8 100%);
    border: 1px solid rgba(167, 139, 250, 0.55);
    box-shadow: 0 2px 12px rgba(123, 75, 160, 0.40);
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
    white-space: nowrap;
}
.ccu-compte-lien:hover {
    background: linear-gradient(135deg, #8B5CB8 0%, #9B72C4 100%);
    box-shadow: 0 4px 18px rgba(123, 75, 160, 0.60);
    transform: translateY(-1px);
    color: #fff !important;
    text-decoration: none !important;
}
.ccu-compte-lien .fa { font-size: 1.05em; }

/* ── Bouton DÉCONNEXION ── */
.ccu-deconnexion-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    margin-right: 6px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #fff !important;
    font-size: .80em;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: .03em;
    white-space: nowrap;
    line-height: 1;
    box-shadow: none;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.ccu-deconnexion-btn:hover {
    background: rgba(123, 75, 160, 0.35);
    border-color: rgba(123, 75, 160, 0.60);
    color: #fff !important;
    box-shadow: 0 2px 12px rgba(123, 75, 160, 0.30);
    transform: translateY(-1px);
    text-decoration: none !important;
}
.ccu-deconnexion-btn .fa { font-size: 1.05em; }

/* ─────────────────────────────
   BLOC PANIER
───────────────────────────── */
.cartouche_client--panier {
    width: auto;
    float: none;
    position: relative;
}

.cartouche_client--panier--titre {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px 8px 10px;
    min-height: 44px;           /* touch target WCAG 2.5.5 */
    background: #7B4BA0;
    border: 1px solid rgba(123, 75, 160, 0.50);
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.cartouche_client--panier--titre::before {
    content: none;
}
.cartouche_client--panier--titre:hover {
    background: #8B5CB8;
    box-shadow: 0 4px 18px rgba(123, 75, 160, 0.45);
    transform: translateY(-1px);
}

/* Icône panier */
.cartouche_client--panier--titre .icon {
    float: none;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}
.cartouche_client--panier--titre .icon::after {
    content: '\f07a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 15px;
    color: #ffffff;
    display: block;
}

/* Texte articles en cours */
#span_nb_paniers_encours {
    font-size: .70em !important;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.90);
    letter-spacing: .03em;
    white-space: nowrap;
    width: auto !important;
    padding-top: 0 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

/* Badge count sobre */
#span_nb_paniers_encours::before {
    content: attr(data-count);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: .80em;
    font-weight: 700;
}

/* Chevron */
.cartouche_client--panier--titre .icon-ouvrir {
    display: flex;
    align-items: center;
    margin-left: 2px;
}
.cartouche_client--panier--titre .icon-ouvrir::before {
    content: '\f0d7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1;
    display: block;
}

/* Ligne Total HT (sous le bouton panier) — cachée */
.cartouche_client--panier .cartouche_client--content {
    display: none !important;
}

/* ─────────────────────────────
   ANONYME
───────────────────────────── */
.cartouche_anonyme {
    display: flex;
    align-items: center;
}
.cartouche_anonyme a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    background: #111111;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: .78em;
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: .04em;
    transition: border-color 0.15s, color 0.15s;
}
.cartouche_anonyme a:hover {
    border-color: rgba(123, 75, 160, 0.40);
    color: #fff !important;
    text-decoration: none !important;
}
.cartouche_anonyme--utilisateur > a::before {
    content: '\f2f6';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1em;
}

/* Popup panier */
/* ══════════════════════════════════════
   POPUP PANIER — DESIGN ULTRA-MODERNE
══════════════════════════════════════ */

/* Keyframes */
@keyframes ccp-cart-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    30%       { transform: translateY(-4px) rotate(-8deg); }
    60%       { transform: translateY(-2px) rotate(5deg); }
}
@keyframes ccp-badge-pulse {
    0%, 100% { transform: scale(1);    box-shadow: 0 2px 8px rgba(123,75,160,.35); }
    50%       { transform: scale(1.18); box-shadow: 0 4px 18px rgba(123,75,160,.55); }
}
@keyframes ccp-spark-float {
    0%, 100% { transform: translateY(0) scale(1);   opacity: .8; }
    50%       { transform: translateY(-5px) scale(1.3); opacity: 1; }
}
@keyframes ccp-orb-drift {
    0%, 100% { transform: translate(0,0); }
    50%       { transform: translate(8px, -10px); }
}
@keyframes ccp-price-glow {
    0%, 100% { text-shadow: 0 0 14px rgba(255,255,255,.2); }
    50%       { text-shadow: 0 0 28px rgba(255,255,255,.4); }
}
@keyframes ccp-enter-anim {
    from { transform: translateY(-14px) scale(.93); }
    to   { transform: translateY(0)     scale(1);   }
}
@keyframes ccp-empty-bob {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50%       { transform: translateY(-8px) rotate(4deg); }
}

/* ── Conteneur principal ── */
.cartouche_client--panier--popup {
    display: none;
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    width: 310px;
    max-width: calc(100vw - 20px);  /* ne jamais sortir de l'écran */
    background: #ffffff;
    border: 2px solid #7B4BA0;
    border-radius: 20px;
    box-shadow:
        0 12px 40px rgba(0,0,0,.15);
    z-index: 9999;
    overflow: hidden;
    padding: 0;
}
.cartouche_client--panier--popup.ccp--enter {
    animation: ccp-enter-anim .38s cubic-bezier(.34,1.56,.64,1);
}

/* ── Orbes déco ── */
.ccp-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(28px);
    animation: ccp-orb-drift 5s ease-in-out infinite;
}
.ccp-orb--1 {
    width: 110px; height: 110px;
    background: rgba(123,75,160,.05);
    top: -30px; right: -20px;
    animation-delay: 0s;
}
.ccp-orb--2 {
    width: 80px; height: 80px;
    background: rgba(123,75,160,.04);
    bottom: 20px; left: -10px;
    animation-delay: 2.5s;
}

/* ── Flèche ── */
.ccp-arrow {
    position: absolute;
    top: -9px;
    right: 24px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-left: 2px solid #7B4BA0;
    border-top:  2px solid #7B4BA0;
    transform: rotate(45deg);
    border-radius: 4px 0 0 0;
}

/* ── Header ── */
.ccp-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px 18px 14px;
    background: rgba(123,75,160,.05);
    border-bottom: 1px solid rgba(123,75,160,.15);
    overflow: hidden;
}
/* Ligne lumineuse sous le header */
.ccp-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 18px; right: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(123,75,160,.20), transparent);
}
.ccp-header__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #7B4BA0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(123,75,160,.4);
}
.ccp-icon-bounce {
    display: inline-block;
    animation: ccp-cart-bounce 2.4s ease-in-out infinite;
}
.ccp-header__title {
    flex: 1;
    font-size: .95em;
    font-weight: 800;
    color: #111111;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ccp-header__badge {
    background: #7B4BA0;
    color: #fff;
    font-size: .78em;
    font-weight: 900;
    min-width: 26px;
    height: 26px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    box-shadow: 0 3px 12px rgba(123,75,160,.40);
    animation: ccp-badge-pulse 2.2s ease-in-out infinite;
}

/* Sparkles dans le header */
.ccp-spark {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.ccp-spark--1 { width:5px; height:5px; background:rgba(123,75,160,.15); top:10px; right:60px; animation: ccp-spark-float 2.1s ease-in-out infinite; }
.ccp-spark--2 { width:4px; height:4px; background:rgba(123,75,160,.10); top:30px; right:45px; animation: ccp-spark-float 2.8s ease-in-out infinite 0.4s; }
.ccp-spark--3 { width:3px; height:3px; background:rgba(123,75,160,.12); top:16px; right:78px; animation: ccp-spark-float 1.9s ease-in-out infinite 0.9s; }

/* ── Corps ── */
.ccp-body {
    padding: 16px 18px 10px;
}

/* Carte stat articles */
.ccp-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(123,75,160,.05);
    border: 1px solid rgba(123,75,160,.12);
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 14px;
}
.ccp-stat-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(123,75,160,.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7B4BA0;
    font-size: 14px;
    flex-shrink: 0;
}
.ccp-stat-card__info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.ccp-stat-card__label {
    font-size: .74em;
    color: rgba(0,0,0,.45);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.ccp-stat-card__value {
    font-size: 1.1em;
    font-weight: 800;
    color: #111111;
}

/* Prix en vedette */
.ccp-price-hero {
    text-align: center;
    padding: 10px 10px 14px;
    border-radius: 14px;
    background: rgba(123,75,160,.05);
    border: 1px solid rgba(123,75,160,.12);
}
.ccp-price-hero__label {
    display: block;
    font-size: .72em;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(0,0,0,.45);
    margin-bottom: 4px;
}
.ccp-price-hero__amount {
    display: block;
    font-size: 2em;
    font-weight: 900;
    line-height: 1;
    color: #7B4BA0;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    animation: none;
    letter-spacing: -.01em;
}
.ccp-price-hero__amount small {
    font-size: .55em;
    vertical-align: super;
    letter-spacing: .02em;
    opacity: .85;
}
.ccp-price-hero__hint {
    display: block;
    font-size: .73em;
    color: rgba(0,0,0,.35);
    margin-top: 6px;
    font-style: italic;
    letter-spacing: .03em;
}

/* État vide */
.ccp-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 0 10px;
}
.ccp-empty-icon {
    font-size: 2.2em;
    color: rgba(123,75,160,.25);
    animation: ccp-empty-bob 2.6s ease-in-out infinite;
    display: inline-block;
}
.ccp-empty__title {
    font-size: .92em;
    font-weight: 700;
    color: #111111;
}
.ccp-empty__sub {
    font-size: .75em;
    color: rgba(0,0,0,.40);
    font-style: italic;
}

/* ── Boutons ── */
.ccp-actions {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
}
.ccp-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    border-radius: 50px;
    font-size: .82em;
    font-weight: 800;
    letter-spacing: .03em;
    text-decoration: none !important;
    transition:
        transform .28s cubic-bezier(.34,1.56,.64,1),
        box-shadow .22s ease,
        filter .2s ease;
    white-space: nowrap;
}
.ccp-btn .fa { font-size: .9em; }
.ccp-btn:hover {
    transform: translateY(-3px) scale(1.05);
    text-decoration: none !important;
}
.ccp-btn:active { transform: scale(.95); }

.ccp-btn--primary {
    background: #7B4BA0;
    color: #fff !important;
    box-shadow: 0 5px 20px rgba(123,75,160,.40);
}
.ccp-btn--primary:hover {
    box-shadow: 0 8px 28px rgba(123,75,160,.60);
    filter: brightness(1.12);
    color: #fff !important;
}
.ccp-btn--secondary {
    background: rgba(123,75,160,.06);
    color: #7B4BA0 !important;
    border: 1px solid rgba(123,75,160,.20);
}
.ccp-btn--secondary:hover {
    background: rgba(123,75,160,.12);
    color: #7B4BA0 !important;
    box-shadow: 0 5px 16px rgba(123,75,160,.15);
}

/* === DROPDOWN AUTOCOMPLETE (jQuery UI) — doit passer AU-DESSUS du header === */
.ui-autocomplete {
    z-index: 99999 !important;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    /* Fond glassmorphism sombre */
    background: rgba(15, 10, 35, 0.96) !important;
    border: 1.5px solid rgba(124, 77, 181, 0.45) !important;
    border-radius: 20px !important;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255,255,255,.04) inset,
        0 1px 0 rgba(255,255,255,.08) inset !important;
    backdrop-filter: blur(20px);
    padding: 6px !important;
    margin-top: 6px !important;
    /* Scrollbar fine */
    scrollbar-width: thin;
    scrollbar-color: rgba(124,77,181,.4) transparent;
    /* Animation d'apparition */
    animation: srch-drop-in .18s cubic-bezier(.34,1.56,.64,1) both;
}
.ui-autocomplete::-webkit-scrollbar { width: 4px; }
.ui-autocomplete::-webkit-scrollbar-thumb { background: rgba(124,77,181,.45); border-radius: 4px; }
.ui-autocomplete::-webkit-scrollbar-track { background: transparent; }
@keyframes srch-drop-in {
    from { opacity:0; transform: translateY(-8px) scale(.97); }
    to   { opacity:1; transform: translateY(0)    scale(1); }
}

/* Item de base */
.ui-menu-item { list-style: none; }
.ui-menu-item-wrapper,
.ui-state-active.ui-menu-item-wrapper {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    outline: none !important;
}

/* Carte résultat */
.srch-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    cursor: pointer;
    transition: background .18s ease, transform .18s cubic-bezier(.34,1.56,.64,1), border-color .18s;
    text-decoration: none;
    border: 1.5px solid transparent;
}
.ui-menu-item:hover .srch-item,
.ui-menu-item .ui-state-active,
.ui-menu-item-wrapper.ui-state-active {
    background: linear-gradient(135deg, rgba(124,77,181,.45), rgba(155,114,196,.32)) !important;
    border-color: rgba(155,114,196,.55) !important;
    transform: translateX(4px);
    box-shadow: 0 4px 18px rgba(124,77,181,.3);
}

/* Vignette image */
.srch-item__img {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 12px;
    object-fit: contain;
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(255,255,255,.1);
    padding: 4px;
    transition: transform .18s ease;
}
.srch-item:hover .srch-item__img,
.ui-state-active .srch-item__img {
    transform: scale(1.08);
}

/* Partie textuelle */
.srch-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.srch-item__ref {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(176,136,200,.9);
    background: rgba(124,77,181,.22);
    border: 1px solid rgba(155,114,196,.3);
    border-radius: 6px;
    padding: 1px 7px;
    width: fit-content;
}
.srch-item__name {
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* Prix */
.srch-item__price {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
.srch-item__price-val {
    font-size: .9rem;
    font-weight: 900;
    background: linear-gradient(135deg, #9B72C4, #8B5CB8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

/* Séparateur entre items */
.ui-menu-item + .ui-menu-item .srch-item {
    border-top: 1px solid rgba(255,255,255,.04);
    border-radius: 14px;
    border-left-color: transparent;
    border-right-color: transparent;
}

/* Header du dropdown */
.srch-drop-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px 8px;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.28);
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 4px;
}
.srch-drop-header i { color: rgba(155,114,196,.6); font-size: .7rem; }

/* === RECHERCHE === */
.page_header--search {
    position: absolute;
    top: 25px;
    /* Contrainte entre le logo (~220px) et la cartouche (~610px depuis droite) */
    left: 220px;
    right: 685px;
    width: auto;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* L'input reste limité à 400px max et centré dans l'espace disponible */
.page_header--search .control_recherche--intuitive {
    width: 100%;
    max-width: 480px;
}

.quicksearch {
    position: relative;
}

.control_search {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 2px solid rgba(123, 75, 160, 0.55);
    border-radius: 50px;
    padding: 3px 3px 3px 4px;
    box-shadow: 0 2px 14px rgba(123, 75, 160, 0.18);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.control_search:focus-within {
    border-color: rgba(123, 75, 160, 0.90);
    box-shadow: 0 2px 20px rgba(123, 75, 160, 0.35);
}

.control_search--input {
    flex: 1;
    min-height: 38px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 14px;
    font-weight: 600;
    color: #3A1560;
    letter-spacing: .02em;
}
.control_search--input::placeholder {
    color: rgba(123, 75, 160, 0.45);
    font-weight: 400;
    font-style: italic;
}

.control_search--input:focus {
    outline: none;
}

.control_search--clear {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    align-self: center;
    margin-right: 4px;
    background: rgba(123, 75, 160, 0.1);
    border: none;
    border-radius: 50%;
    color: #7B4BA0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.control_search--clear.visible {
    display: flex;
}
.control_search--clear:hover {
    background: rgba(123, 75, 160, 0.22);
    color: #662d91;
    transform: scale(1.1);
}

.control_search--button {
    background: linear-gradient(135deg, #7B4BA0 0%, #8B5CB8 100%);
    border: none;
    width: 44px;
    min-height: 38px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(123, 75, 160, 0.45);
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.control_search--button::before {
    content: "\f002";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fff;
    font-size: 15px;
}

.control_search--button:hover {
    background: linear-gradient(135deg, #8B5CB8 0%, #9B72C4 100%);
    box-shadow: 0 4px 18px rgba(123, 75, 160, 0.65);
    transform: scale(1.05);
}

/* === MENU PRINCIPAL - DESIGN ULTRA-MODERNE === */
.page_header--menu {
    position: absolute;
    top: 88px;
    left: 390px;  /* après le logo (20px marge + 362px image = 382px) */
    right: 685px;
    width: auto;
    z-index: 10;
    clear: none;
    background: #ffffff;
    background-size: auto;
    animation: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 14px;
    border: 2px solid #7B4BA0;
    box-shadow: 
        0 4px 16px rgba(123, 75, 160, 0.12);
    overflow: hidden;
}

@keyframes menuAurora {
    0%   { background-position: 0% 50%; }
    33%  { background-position: 100% 50%; }
    66%  { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

.page_header--menu::before {
    content: none;
}

@keyframes menuShine {
    0%       { left: -150%; }
    18%, 100% { left: 160%; }
}

.page_header--menu ul {
    list-style: none;
    margin: 0;
    padding: 5px 0;
    display: flex;
    justify-content: center;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.page_header--menu--item {
    padding: 0;
    position: relative;
}

.page_header--menu--item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #111111;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 9px;
    transition: all 0.25s ease;
    position: relative;
    background: transparent;
    overflow: hidden;
    text-shadow: none;
}

.page_header--menu--item a::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
    transition: all 0.25s ease;
}

/* Icône Accueil */
#li_menu_catalogue a::before {
    content: '\f015';
    color: #111111;
    filter: none;
}
/* Icône Réassort */
#li_menu_reassort a::before {
    content: '\f0e7';
    color: #111111;
    filter: none;
}
/* Icône Reliquats */
#li_menu_reliquat a::before {
    content: '\f466';
    color: #111111;
    filter: none;
}
/* Icône Contact */
#li_menu_contact a::before {
    content: '\f0e0';
    color: #111111;
    filter: none;
}
/* Icône SAV */
#li_menu_sav a::before {
    content: '\f0ad';
    color: #111111;
    filter: none;
}

.page_header--menu--item a:hover {
    color: #ffffff;
    transform: translateY(-2px);
    background: #7B4BA0;
    box-shadow: none;
    text-shadow: none;
}

/* Hover : icônes passent en blanc */
#li_menu_catalogue a:hover::before,
#li_menu_reassort a:hover::before,
#li_menu_reliquat a:hover::before,
#li_menu_contact a:hover::before,
#li_menu_sav a:hover::before {
    color: #ffffff;
    transform: scale(1.15);
    filter: none;
}

/* Lien Admin dans le menu — visible uniquement pour le compte ADMIN */
.page_header--menu--item_admin a {
    background: rgba(123, 75, 160, 0.10) !important;
    color: #7B4BA0 !important;
    border-radius: 12px;
    border: 1px solid rgba(123, 75, 160, 0.35);
    box-shadow: none;
    font-weight: 800 !important;
    letter-spacing: .03em;
}
.page_header--menu--item_admin a:hover {
    background: rgba(123, 75, 160, 0.45) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(123, 75, 160, 0.30);
    transform: translateY(-2px);
}

.page_header--menu--item_actif a {
    background: #7B4BA0;
    background-size: auto;
    animation: none;
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 
        0 4px 16px rgba(123, 75, 160, 0.40);
    text-shadow: none;
    transform: translateY(-2px);
}

@keyframes activeGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.page_header--menu--item_actif a::before {
    filter: none;
    animation: none;
}

@keyframes iconGlow {
    0%, 100% { transform: scale(1.15); filter: drop-shadow(0 0 10px rgba(255,255,255,0.8)); }
    50% { transform: scale(1.3) rotate(-5deg); filter: drop-shadow(0 0 18px rgba(255,255,255,1)); }
}

#li_menu_reassort a {
    color: #111111;
    font-weight: 800;
}

/* Quand Réassort Express est actif, fond violet */
#li_menu_reassort.page_header--menu--item_actif a {
    background: #7B4BA0 !important;
    background-size: auto !important;
    color: #ffffff !important;
}

.page_header--menu--item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 0;
    width: 1px;
    background: rgba(123, 75, 160, 0.15);
    transition: height 0.3s ease;
}

.page_header--menu--item:hover::after,
.page_header--menu--item:hover + .page_header--menu--item::after {
    height: 40px;
}

.page_header--menu--item_actif::before {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
    animation: none;
    z-index: 10;
    border: 2px solid rgba(123, 75, 160, 0.8);
}

@keyframes pulseBadge {
    0%, 100% { 
        box-shadow: 0 0 12px rgba(139,92,184,0.8), 0 0 24px rgba(155,114,196,0.6);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(139,92,184,1), 0 0 40px rgba(155,114,196,0.8);
        transform: scale(1.3);
    }
}

.page_header--menu--item {
    animation: none;
}

.page_header--menu--item:nth-child(1) { animation-delay: 0.1s; }
.page_header--menu--item:nth-child(2) { animation-delay: 0.15s; }
.page_header--menu--item:nth-child(3) { animation-delay: 0.2s; }
.page_header--menu--item:nth-child(4) { animation-delay: 0.25s; }
.page_header--menu--item:nth-child(5) { animation-delay: 0.3s; }

@keyframes itemEntrance {
    0% { opacity: 0; transform: translateY(20px) scale(0.9); filter: blur(5px); }
    60% { transform: translateY(-5px) scale(1.05); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* Les media queries du menu sont toutes regroupées dans la section RESPONSIVE ci-dessous */

/* === MENU FAMILLE / BANDEAU NAVIGATION === */
.page_header--navigation_famille {
    position: relative;
    z-index: 5;
    clear: both;
    width: 100%;
}

.menu_famille {
    display: none; /* Masqué par défaut comme sur le site original */
    background-color: rgba(123, 75, 160, 0.06);
}

.page_header--navigation_famille .menu_famille {
    background: none;
    background-color: rgba(123, 75, 160, 0.06);
}

.page_header--navigation_famille .menu_famille > ul {
    justify-content: left;
}

.menu_famille ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.menu_famille--item a {
    display: block;
    padding: 8px 15px;
    color: #111111;
    font-size: 13px;
    text-decoration: none;
}

.menu_famille--item a:hover {
    text-decoration: underline;
}

.li_menu_accueil a {
    display: block;
    padding: 8px 15px;
}

.li_menu_accueil .icon {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg fill='%23111111' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* === FIL D'ARIANE — PREMIUM === */
.fil_ariane {
    list-style: none;
    margin: 0;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 42px;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
    flex-wrap: wrap;
    overflow: hidden;
}

.fil_ariane--item {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.fil_ariane--item a,
.fil_ariane--item span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    line-height: 1.4;
    padding: 7px 16px;
    border-radius: 50px;
    color: #111111;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.fil_ariane--item a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: #7B4BA0;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: -1;
}

.fil_ariane--item a:hover {
    color: #111;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(123,75,160,0.25);
    background: rgba(123,75,160,.12);
}

.fil_ariane--item a:hover::before {
    opacity: 1;
}

.fil_ariane--item a:active {
    transform: translateY(0);
}

/* Page courante (dernier élément = span sans lien) */
.fil_ariane--item:last-child span {
    color: #fff;
    background: #7B4BA0;
    box-shadow: 0 4px 12px rgba(123,75,160,0.20);
    font-weight: 700;
}

/* Séparateurs : chevron CSS pur */
.fil_ariane--item::after {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
    margin: 0 2px 0 6px;
    border-top: 2.5px solid #111111;
    border-right: 2.5px solid #111111;
    transform: rotate(45deg);
    filter: none;
}

.fil_ariane--item:last-child::after {
    content: none;
}

/* Icône maison : désormais en HTML (<i>), pas en ::before */
.fil_ariane--item_accueil a::before {
    content: none;
}

/* === PAGE BODY === */
.page_body {
    color: #333;
    font-size: 12px;
    min-height: calc(100vh - 177px - 150px);
}

.page_body a {
    color: #333;
}

.page_body a:hover {
    color: #333;
}

.page_body--content {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 10px;
    box-sizing: border-box;
}

/* Message défilant */
.page_body--message {
    overflow: hidden;
    position: relative;
    padding-left: 100%;
    animation: reduce 20s linear infinite;
}

.page_body--message--texte {
    white-space: nowrap;
    display: inline-block;
    animation: scroll 20s linear infinite;
}

@keyframes reduce {
    to {
        padding-left: 0;
    }
}

@keyframes scroll {
    to {
        transform: translateX(-100%);
    }
}

/* === BOUTONS === */

.actionBouton {
    -webkit-appearance: none;
    border: none;
    line-height: 22px;
    min-width: 120px;
    min-height: 40px;
    margin: 0 8px 8px 0;
    padding: 10px 22px;
    text-align: center;
    display: inline-block;
    border-radius: 4px;
    transition: all 0.18s;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    background: #cccccc;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    border: 2px solid transparent;
}

.actionBouton:focus {
    border: 2px solid #662d91;
    box-shadow: 0 0 0 2px #C9A0D8;
}

.actionBouton:active {
    filter: brightness(0.95);
    transform: translateY(1px);
}

.actionBouton--principal {
    background: #662d91 !important;
    color: #fff !important;
    border: 2px solid #662d91 !important;
    font-weight: 700;
    font-size: 17px;
}

.actionBouton--principal:hover,
.actionBouton--principal:focus {
    background: #662d91 !important;
    color: #fff !important;
    border-color: #662d91 !important;
}

.actionBouton--export {
    background: #fff !important;
    color: #662d91 !important;
    border: 2px solid #662d91 !important;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 18px !important;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.18s;
    cursor: pointer;
}

.actionBouton--export:hover,
.actionBouton--export:focus {
    background: #662d91 !important;
    color: #fff !important;
    border-color: #662d91 !important;
}

.actionBouton--modifier-quantite {
    line-height: 26px;
    min-width: 25px;
    height: 25px;
    background-color: #fff;
    border: 0.5px solid #949494;
    padding: 0;
    margin-top: 0px;
    margin-left: 2px;
    margin-right: 2px;
    font-size: 16px;
    vertical-align: bottom;
    color: #4c4c4c;
}

.actionBouton--modifier-quantite:hover {
    color: #ffffff;
    font-weight: bold;
}

.actionBouton--ajouter-panier, 
.actionBouton--valider {
    background-color: #662d91;
}

.actionBouton--ajouter-panier:hover, 
.actionBouton--valider:hover {
    background-color: #afafaf;
}

/* === VIGNETTES CLASSIFICATION (CATEGORIES) === */
.accueil--vignettes_classification {
    margin: 20px 0;
}

.accueil--vignettes_classification--titre {
    text-align: center;
    margin-bottom: 20px;
}

.vignettes_classification {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.vignettes_classification--item {
    width: 180px;
    text-align: center;
    transition: transform 0.3s ease;
}

.vignettes_classification--item:hover {
    transform: scale(1.05);
}

.vignettes_classification--item--tuile {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.vignettes_classification--item--tuile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vignettes_classification--item--libelle {
    margin-top: 10px;
}

.vignettes_classification--item--libelle a {
    color: #662d91;
    font-weight: bold;
    text-decoration: none;
}

.vignettes_classification--item--libelle a:hover {
    text-decoration: underline;
}

/* === RACCOURCIS ACCUEIL === */
.accueil--raccourcis {
    margin: 30px 0;
}

.accueil--raccourcis ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.accueil--raccourcis--item {
    width: 220px;
    height: 150px;
    perspective: 1000px;
}

.accueil--raccourcis--item--content {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.accueil--raccourcis--item:hover .accueil--raccourcis--item--content {
    transform: rotateY(180deg);
}

.accueil--raccourcis--item--content--front,
.accueil--raccourcis--item--content--back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    border: 2px solid #7B4BA0;
}

.accueil--raccourcis--item--content--front {
    background-color: #111;
    color: #fff;
}

.accueil--raccourcis--item--content--front label {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.accueil--raccourcis--item--content--back {
    background-color: #fff;
    transform: rotateY(180deg);
}

.accueil--raccourcis--item--content--back a {
    color: #111;
    text-decoration: none;
}

.accueil--raccourcis--item--content--back label {
    color: #111;
    font-size: 13px;
    cursor: pointer;
}

/* === LISTES / TABLEAUX === */
.liste {
    width: 100%;
    border-collapse: collapse;
}

.liste--header, 
.liste--footer {
    background-color: #626262;
    color: #ffffff;
}

.liste--header th,
.liste--footer td {
    padding: 10px 8px;
    text-align: left;
}

.liste--header a,
.liste--footer a {
    color: #ffffff;
}

.liste--body--item td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.liste--body--item--alternate {
    background-color: #f9f9f9;
}

/* === VIGNETTE ARTICLE === */
.liste_article--body--item .img_vignette {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.td_code a {
    color: #662d91;
    font-weight: bold;
}

.td_libelle a {
    color: #333;
}

/* === STOCK STATUS (unifié) === */
.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: .02em;
    line-height: 1.4;
}
.stock-pill.in-stock {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.stock-pill.out-stock {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.stock-pill i { font-size: .7rem; }

/* Legacy stock (compat) */
.td_stock--disponible {
    background: #d1fae5;
    color: #065f46;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    border: 1px solid #a7f3d0;
}
.td_stock--sur_arrivage {
    background-color: #e68938;
    color: #fff;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
}
.td_stock--rupture {
    background: #fee2e2;
    color: #991b1b;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    border: 1px solid #fecaca;
}

/* === SAISIE QUANTITE === */
.span_saisie_quantite {
    display: inline-flex;
    align-items: center;
}

.span_saisie_quantite input[type="text"] {
    width: 50px;
    text-align: center;
    min-height: 25px;
    border: 1px solid #ccc;
    margin: 0 2px;
}

/* === PANIER === */
.panier_etapes--items {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.panier_etapes--items--item {
    position: relative;
    padding: 0;
}

.panier_etapes--items--item span,
.panier_etapes--items--item a {
    display: block;
    padding: 10px 30px;
    background-color: #ccc;
    color: #fff;
    text-decoration: none;
    position: relative;
    margin-right: 5px;
}

.panier_etapes--items--item span:after,
.panier_etapes--items--item a:after {
    content: "";
    position: absolute;
    right: -18px;
    top: 0;
    border-top: 18.5px solid transparent;
    border-bottom: 18.5px solid transparent;
    border-left: 18.5px solid #ccc;
    z-index: 1;
}

.panier_etapes--items--item_actif span,
.panier_etapes--items--item_actif a {
    background-color: #662d91;
}

.panier_etapes--items--item_actif span:after,
.panier_etapes--items--item_actif a:after {
    border-left: 18.5px solid #662d91;
}

/* Outils panier */
.panier--outils {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.panier--outils--ajout_article,
.panier--outils--import_fichier {
    flex: 1;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
}

.panier--outils--titre {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

/* === PAGINATION === */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.pagination-container a,
.pagination-container span {
    padding: 5px 12px;
    border: 1px solid #ddd;
    color: #662d91;
    text-decoration: none;
}

.pagination-container a:hover {
    background-color: #C9A0D8;
}

.pagination-container .active {
    background-color: #662d91;
    color: #fff;
    border-color: #662d91;
}

/* === FORMULAIRES === */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #662d91;
}

/* === PAGE FOOTER === */
.page_footer {
    background-color: #f7f7f7;
    border-top: solid 1px #d9d9d9;
    color: #555555;
    font-size: 11px;
    padding: 20px 0;
    margin-top: 30px;
}

.page_footer a {
    color: #555555;
}

.page_footer a:hover {
    text-decoration: underline;
}

.page_footer--content {
    max-width: 90%;
    margin: 0 auto;
}

.page_footer--row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.page_footer--col {
    flex: 1;
    min-width: 200px;
    padding: 10px;
}

.page_footer--col_liens {
    text-align: center;
}

.page_footer--col_copy {
    text-align: right;
}

.page_footer--item {
    margin-bottom: 5px;
}

/* === CONNEXION === */
.page_connexion {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

.page_connexion h1 {
    text-align: center;
    margin-bottom: 30px;
}

.page_connexion .form-group {
    margin-bottom: 20px;
}

.page_connexion .actionBouton {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

/* === COMPTE CLIENT === */
.page_navigation {
    float: left;
    font-size: 16px;
    font-weight: bold;
    width: 200px;
    border-right: 1px solid #cccccc;
    padding-right: 30px;
    margin-right: 30px;
}

.page_navigation > ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.page_navigation > ul > li {
    line-height: 23px;
    padding: 8px 0;
}

.page_navigation ul li a:hover {
    text-decoration: none;
    color: #662d91;
}

.page_navigation--label {
    display: inline-block;
    margin: 10px 0;
}

/* === EXPOSANT (prix) === */
.exposant {
    display: inline-block;
    margin-top: -5px;
    font-size: .6em;
    line-height: 0em;
    vertical-align: super;
    text-decoration: none;
}

/* === MESSAGES / ALERTES === */
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 3px;
}

.alert-error,
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 3px;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 3px;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 3px;
}

/* === BOUTON HAMBURGER (mobile) === */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 2px solid #7B4BA0;
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.25s ease, border-color 0.25s ease;
    z-index: 100;
    order: 5;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #7B4BA0;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    transform-origin: center;
    pointer-events: none;
}
.nav-hamburger--open {
    background: #7B4BA0;
    border-color: #7B4BA0;
}
.nav-hamburger--open span {
    background: #fff;
}
.nav-hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === RESPONSIVE === */

/* ─── Laptop standard (≤1250px) ─── */
@media (max-width: 1250px) {
    /* Header : flex wrap en flux normal */
    .page_header {
        position: relative;
        height: auto;
        min-height: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 6px 16px 8px;
    }
    .page { padding-top: 0; }

    /* Cartouche client : pleine largeur en premier */
    .page_header--cartouche_client {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        order: -2;
        display: flex;
        justify-content: center;
        margin-bottom: 6px;
        border-bottom: none;
    }
    .cartouche_client { font-size: .85rem; }

    /* Logo */
    .page_header--logo {
        float: none;
        text-align: left;
        margin: 0;
        order: -1;
        flex-shrink: 0;
    }
    .page_header--logo img { max-height: 55px; display: inline-block; }

    /* Recherche : flexible entre logo et cartouche */
    .page_header--search {
        position: relative;
        top: auto; left: auto; right: auto;
        transform: none;
        flex: 1;
        min-width: 0;
        padding: 4px 0;
        justify-content: center;
    }
    .page_header--search .control_recherche--intuitive {
        max-width: 500px;
        width: 100%;
    }

    /* Menu : pleine largeur, boutons avec taille de clic 44px */
    .page_header--menu {
        position: relative;
        top: auto; left: auto; right: auto;
        width: 100%;
        clear: both;
        border-radius: 0;
        border-left: none; border-right: none; border-bottom: none;
        box-shadow: 0 4px 20px rgba(84,38,113,0.4);
    }
    .page_header--menu ul { flex-wrap: wrap; gap: 5px; justify-content: center; }
    .page_header--menu--item a { padding: 10px 15px; font-size: 13px; min-height: 44px; }
    .page_header--menu--item a::before { font-size: 14px; }
    .page_header--menu--item:not(:last-child)::after { display: none; }

    /* Navigation famille */
    .page_header--navigation_famille { width: 100%; }
    .liens_personnalises_entete { display: none; }

    .accueil--raccourcis ul { flex-direction: column; align-items: center; }
    .panier--outils { flex-direction: column; }
}

/* ─── Tablette paysage (≤1024px) ─── */
@media (max-width: 1024px) {
    .page_header--logo img { max-height: 48px; }
    .page_header { gap: 7px; padding: 5px 14px 7px; }
    .page_header--menu--item a { padding: 11px 13px; font-size: 12px; gap: 7px; min-height: 44px; }
    .page_header--menu--item a::before { font-size: 14px; }
    /* Bouton compte : taille réduite mais toujours visible */
    .ccu-compte-lien { font-size: .78rem; padding: 5px 11px 5px 9px; min-height: 36px; }
    .ccu-nom { max-width: 160px; }
    /* Panier : texte compact */
    #span_nb_paniers_encours { font-size: .65em !important; letter-spacing: .01em; }
    /* Popup : ne sort pas de l'écran */
    .cartouche_client--panier--popup { right: 0; width: 290px; }
}

/* ─── Tablette portrait (≤768px) ─── */
@media (max-width: 768px) {
    /* Logo compact */
    .page_header--logo img { max-height: 42px; }
    .page_header--logo { margin: 0; }
    .page_header { gap: 6px; padding: 4px 10px 6px; }

    /* Cartouche compacte */
    .cartouche_client { padding: 4px 4px 4px 8px; font-size: .78rem; }
    .ccu-nom { font-size: .75rem; }
    .ccu-code { font-size: .65rem; }
    /* Bouton compte : texte court + touch target garanti */
    .ccu-compte-lien {
        font-size: .68rem;
        padding: 5px 10px 5px 8px;
        min-height: 36px;
        letter-spacing: .02em;
    }
    .ccu-deconnexion-btn span { display: none; }
    /* Panier : texte masqué, icône + badge seuls */
    #span_nb_paniers_encours { font-size: 0 !important; }
    #span_nb_paniers_encours::before { min-width: 22px; height: 22px; font-size: .85em; padding: 0 5px; }
    .cartouche_client--panier--titre .icon-ouvrir { display: none; }
    .cartouche_client--panier--titre { padding: 8px 12px 8px 10px; gap: 6px; }
    /* Popup : pleine largeur moins marges */
    .cartouche_client--panier--popup { right: -8px; width: calc(100vw - 32px); max-width: 310px; }
    .ccp-arrow { right: 14px; }

    /* Recherche pleine largeur */
    .page_header--search { padding: 4px 12px; width: 100%; }
    .page_header--search .control_recherche--intuitive { max-width: 100%; }
    .control_search--input { min-height: 38px; padding: 6px 12px; font-size: 13px; }
    .control_search--button { width: 44px; min-height: 38px; }

    /* Menu : boutons wrap avec zones de clic 44px garanties */
    .page_header--menu ul { gap: 2px; flex-wrap: wrap; justify-content: center; }
    .page_header--menu--item a { padding: 11px 12px; font-size: 12px; gap: 5px; min-height: 44px; min-width: 44px; justify-content: center; }
    .page_header--menu--item a::before { font-size: 14px; }
    #li_menu_catalogue a { text-transform: none; }

    .page_footer--row { flex-direction: column; }
    .page_footer--col { text-align: center !important; margin-bottom: 15px; }
    .page_navigation {
        float: none; width: 100%;
        border-right: none; border-bottom: 1px solid #ccc;
        padding-right: 0; margin-right: 0;
        padding-bottom: 20px; margin-bottom: 20px;
    }
    .page_navigation > ul {
        flex-direction: row; flex-wrap: wrap;
        justify-content: center; gap: 10px;
    }
    .premium-bar { padding: 16px 18px; gap: 10px; border-radius: 20px; margin: 20px auto; }
    .actionBouton--main-premium { font-size: 16px; padding: 12px 28px; }
    .export-label { display: none; }
}

/* ─── Grand mobile — iPhone paysage, Galaxy (≤600px) ─── */
@media (max-width: 600px) {
    .page_header--logo img { max-height: 36px; }
    .page_header { gap: 5px; padding: 4px 10px 5px; }
    .page_header--menu ul { gap: 1px; }
    /* Texte légèrement réduit mais encore lisible */
    .page_header--menu--item a { padding: 10px 9px; font-size: 11px; gap: 4px; min-height: 44px; }
    .page_header--menu--item a::before { font-size: 15px; }
    /* Bouton compte : icône + texte réduit, touch target 38px */
    .ccu-compte-lien {
        font-size: 0;           /* cache le libellé */
        padding: 6px 8px;
        min-width: 38px;
        min-height: 38px;
        margin-top: 3px;
        justify-content: center;
        position: relative;
    }
    .ccu-compte-lien .fa {
        font-size: 16px;        /* force l'icône visible */
        margin: 0;
    }
    /* Tooltip au survol / focus */
    .ccu-compte-lien:hover::after,
    .ccu-compte-lien:focus::after {
        content: "Mon Compte";
        position: absolute;
        bottom: -28px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0,0,0,.85);
        color: #fff;
        font-size: 11px;
        padding: 3px 8px;
        border-radius: 4px;
        white-space: nowrap;
        pointer-events: none;
        z-index: 9999;
    }
    /* Panier : icône + badge uniquement, popup quasi-pleine-largeur */
    .cartouche_client--panier--titre { gap: 5px; padding: 8px 10px; }
    .cartouche_client--panier--popup {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        border-bottom: none;
    }
    .ccp-arrow { display: none; } /* inutile sur drawer bas */
}

/* ─── Mobile (≤480px) — Menu hamburger ─── */
@media (max-width: 480px) {
    /* Afficher le bouton hamburger */
    .nav-hamburger { display: flex; }

    /* Menu masqué par défaut, revealed via JS */
    .page_header--menu {
        display: none;
        width: 100%;
        order: 10;
        border-radius: 12px;
        border: 2px solid #7B4BA0;
        box-shadow: 0 8px 32px rgba(84,38,113,0.35);
        margin-top: 4px;
        overflow: hidden;
    }
    .page_header--menu.nav-menu--open { display: block; }
    /* Menu vertical list */
    .page_header--menu ul {
        flex-direction: column;
        gap: 4px;
        padding: 8px;
        flex-wrap: nowrap;
    }
    .page_header--menu--item a {
        padding: 14px 18px;
        font-size: 14px;
        gap: 12px;
        min-height: 48px;
        border-radius: 10px;
        width: 100%;
        justify-content: flex-start;
        font-size: 14px;
    }
    .page_header--menu--item a::before { font-size: 18px; }
    .page_header--menu--item:not(:last-child)::after { display: none; }

    /* Layout compact */
    .page_header--logo img { max-height: 34px; }
    .page_header { gap: 6px; padding: 6px 8px; }
    .cartouche_client { padding: 3px 3px 3px 6px; gap: 0; }
    .ccu-nom { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    /* CORRECTION : ne plus masquer le bouton compte — icône seule avec touch target 44px */
    .ccu-compte-lien {
        font-size: 0;
        padding: 7px;
        min-width: 36px;
        min-height: 36px;
        margin-top: 3px;
        justify-content: center;
        position: relative;
    }
    .ccu-compte-lien .fa { font-size: 16px; margin: 0; }
    .ccu-compte-lien:hover::after,
    .ccu-compte-lien:focus::after {
        content: "Mon Compte";
        position: absolute;
        bottom: -28px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0,0,0,.85);
        color: #fff;
        font-size: 11px;
        padding: 3px 8px;
        border-radius: 4px;
        white-space: nowrap;
        pointer-events: none;
        z-index: 9999;
    }
    /* Panier : icône + badge, popup drawer en bas */
    .cartouche_client--panier--titre { gap: 4px; padding: 6px 8px; min-height: 40px; }
    .cartouche_client--panier--popup {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        border-bottom: none;
        max-height: 85vh;
        overflow-y: auto;
    }
    .ccp-arrow { display: none; }
    .ccp-actions { flex-direction: column; }
    .ccp-btn { min-height: 48px; font-size: .9em; }

    /* Recherche compacte */
    .page_header--search { padding: 3px 8px; }
    .control_search--input { min-height: 38px; padding: 4px 10px; font-size: 12px; }
    .control_search--button { width: 44px; min-height: 38px; }
    .control_search--button::before { font-size: 13px; }
}

/* ─── Petit mobile (≤360px) — iPhone SE, Galaxy A13 ─── */
@media (max-width: 360px) {
    .page_header--logo img { max-height: 30px; }
    .page_header { padding: 4px 6px; gap: 3px; }
    .cartouche_client { font-size: .7rem; }
    .ccu-nom { max-width: 70px; }
    .ccu-code { display: none; }
    /* Bouton compte ultra-compact : icône seule 32px */
    .ccu-compte-lien { padding: 5px 6px; min-width: 32px; min-height: 32px; }
    .ccu-compte-lien .fa { font-size: 14px; }
    .page_header--menu--item a { padding: 12px 14px; font-size: 13px; }
    /* Panier ultra-compact */
    .cartouche_client--panier--titre { padding: 5px 7px; min-height: 36px; gap: 3px; }
    .ccp-price-hero__amount { font-size: 1.6em; }
    .ccp-actions { flex-direction: column; gap: 6px; }
}

/* ─── Téléphone en paysage (hauteur ≤ 500px) ─── */
@media (max-height: 500px) and (orientation: landscape) {
    .page_header {
        position: relative;
        padding: 2px 10px 3px;
        gap: 4px;
    }
    .page_header--cartouche_client {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        order: -2;
    }
    .page_header--logo img { max-height: 28px; }
    /* Forcer le hamburger même si l'écran est plus large que 480px */
    .page_header--menu { display: none; }
    .nav-hamburger { display: flex !important; }
    .page_header--menu.nav-menu--open {
        display: block;
        max-height: 220px;
        overflow-y: auto;
    }
    .page_header--menu ul { flex-direction: row; flex-wrap: wrap; gap: 2px; padding: 6px; }
    .page_header--menu--item a { padding: 6px 10px; font-size: 11px; min-height: 36px; gap: 5px; }
    .page_header--menu--item a::before { font-size: 13px; }
    .control_search--input { min-height: 30px; }
    .control_search--button { min-height: 30px; width: 34px; }
    /* Panier en paysage : popup scrollable compact */
    .cartouche_client--panier--popup {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        max-height: 70vh;
        overflow-y: auto;
        border-radius: 16px 16px 0 0;
        border-bottom: none;
    }
    .ccp-arrow { display: none; }
    .ccp-price-hero__amount { font-size: 1.5em; }
    .ccp-actions { gap: 6px; }
    .ccp-btn { padding: 8px 10px; font-size: .78em; min-height: 40px; }
}

/* === UTILITAIRES === */
.clearFix {
    clear: both;
}

.displayNone {
    display: none;
}

.displayBlock {
    display: block;
}

.displayInline {
    display: inline;
}

.displayInlineBlock {
    display: inline-block;
}

.centerContent {
    text-align: center;
}

.rightContent {
    text-align: right;
}

.leftContent {
    text-align: left;
}

.boldText {
    font-weight: bold;
}

.smallText {
    font-size: 11px;
}

.pointer {
    cursor: pointer;
}

/* === PANIER OUTILS === */
.panier--outils--ajout_article,
.panier--outils--import_fichier {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
}

.panier--outils--ajout_article--detail,
.panier--outils--import_fichier--detail {
    padding-top: 10px;
}

.panier--outils--ajout_article--saisie {
    margin-bottom: 15px;
}

.panier--outils--ajout_article--saisie label {
    display: block;
    margin-bottom: 5px;
}

.panier--outils--ajout_article--resultat {
    display: flex;
    gap: 15px;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.panier--outils--ajout_article--resultat--vignette img {
    max-width: 80px;
    max-height: 80px;
}

.panier--outils--ajout_article--resultat--info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.panier--outils--ajout_article--resultat--info li {
    margin-bottom: 3px;
}

.panier--outils--ajout_article--resultat--saisie_quantite {
    display: flex;
    align-items: center;
}

.panier--outils--import_fichier .pic_information {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 10px;
    font-size: 12px;
}

.panier--outils--import_fichier--notice ul {
    padding-left: 20px;
    margin: 10px 0;
    font-size: 12px;
}

.panier--outils--import_fichier--options {
    margin: 15px 0;
}

.import_csv--detail--option {
    margin-top: 5px;
}

.radioButton {
    margin-right: 15px;
}

.radioButton input[type="radio"] {
    margin-right: 5px;
}

.panier--outils--import_fichier--action,
.panier--outils--ajout_article--action {
    margin-top: 15px;
}

/* === LISTE ARTICLE (TABLE) === */
.liste_article {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.liste_article .th_vignette,
.liste_article .td_vignette {
    width: 110px;
    text-align: center;
}

.liste_article .th_article,
.liste_article .td_article {
    min-width: 200px;
}

.liste_article .th_pcb,
.liste_article .td_pcb,
.liste_article .th_stock,
.liste_article .td_stock,
.liste_article .th_prix,
.liste_article .td_prix,
.liste_article .th_quantite,
.liste_article .td_quantite,
.liste_article .th_montant,
.liste_article .td_montant,
.liste_article .th_action,
.liste_article .td_action {
    text-align: center;
}

.td_code {
    font-weight: bold;
}

.td_code a {
    color: #662d91;
}

.td_libelle {
    font-size: 11px;
    color: #666;
}

.td_gencod {
    font-size: 10px;
    color: #999;
}

/* === LISTE PANIER SPECIFIQUE === */
.liste_panier {
    margin-top: 20px;
}

.liste_panier .liste--header th {
    background-color: #626262;
    color: #fff;
    padding: 10px 8px;
    text-align: left;
    font-weight: normal;
}

.liste_panier .liste--body td {
    padding: 10px 8px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.liste_panier .liste--body--item--alternate {
    background-color: #f9f9f9;
}

.liste_panier .liste--footer td {
    background-color: #626262;
    color: #fff;
    padding: 10px 8px;
    font-weight: bold;
}

.liste_panier .img_vignette {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* === EMPTY DATA === */
.liste--empty_data {
    padding: 40px;
    text-align: center;
    color: #666;
    background: #f9f9f9;
    border: 1px dashed #ddd;
}

/* ── Panier vide — état premium ── */
@keyframes pv-orb-drift {
    0%, 100% { transform: translate(0,0) scale(1); }
    50%       { transform: translate(10px,-14px) scale(1.08); }
}
@keyframes pv-icon-float {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50%       { transform: translateY(-10px) rotate(4deg); }
}
@keyframes pv-ring-pulse {
    0%, 100% { transform: scale(1);   opacity: .35; }
    50%       { transform: scale(1.5); opacity: 0; }
}
@keyframes pv-btn-shimmer {
    0%   { left: -60%; }
    100% { left: 130%; }
}
.panier-vide-hero {
    position: relative;
    text-align: center;
    padding: 70px 40px 60px;
    margin: 10px 0 30px;
    border-radius: 24px;
    background: linear-gradient(150deg, #3A1560 0%, #3A1560 55%, #662d91 100%);
    border: 1px solid rgba(155,114,196,.22);
    box-shadow:
        0 20px 60px rgba(0,0,0,.4),
        0 0 0 1px rgba(255,255,255,.05) inset;
    overflow: hidden;
}
/* Orbes de fond */
.panier-vide-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(45px);
    animation: pv-orb-drift 6s ease-in-out infinite;
}
.panier-vide-orb--1 {
    width: 200px; height: 200px;
    background: rgba(124,77,181,.25);
    top: -60px; right: -40px;
    animation-delay: 0s;
}
.panier-vide-orb--2 {
    width: 150px; height: 150px;
    background: rgba(255,122,0,.12);
    bottom: -40px; left: -30px;
    animation-delay: 3s;
}
.panier-vide-orb--3 {
    width: 100px; height: 100px;
    background: rgba(176,136,200,.08);
    top: 40%; left: 50%;
    animation-delay: 1.5s;
}
/* Icône centrale */
.panier-vide-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3A1560, #7B4BA0);
    box-shadow: 0 8px 32px rgba(124,77,181,.6), 0 0 0 4px rgba(124,77,181,.15);
    margin-bottom: 24px;
}
.panier-vide-icon .fa {
    font-size: 2em;
    color: #fff;
    animation: pv-icon-float 3s ease-in-out infinite;
    display: inline-block;
}
.panier-vide-icon__ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(124,77,181,.5);
    animation: pv-ring-pulse 2.4s ease-out infinite;
}
/* Textes */
.panier-vide-title {
    font-size: 1.5em;
    font-weight: 800;
    color: #E8D5F0;
    margin: 0 0 10px;
    letter-spacing: .01em;
}
.panier-vide-sub {
    font-size: .92em;
    color: rgba(176,136,200,.5);
    margin: 0 0 32px;
    font-style: italic;
}
/* Bouton Retour à l'accueil */
.panier-vide-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, #7B4BA0 0%, #B088C8 100%);
    color: #fff !important;
    font-size: 1em;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none !important;
    box-shadow: 0 6px 28px rgba(124,77,181,.6), 0 0 0 3px rgba(124,77,181,.15);
    overflow: hidden;
    transition:
        transform .3s cubic-bezier(.34,1.56,.64,1),
        box-shadow .22s ease,
        filter .2s ease;
}
/* Reflet shimmer */
.panier-vide-btn__shimmer {
    position: absolute;
    top: 0; bottom: 0;
    left: -60%;
    width: 35%;
    background: rgba(255,255,255,.22);
    transform: skewX(-18deg);
    animation: pv-btn-shimmer 2.8s ease-in-out infinite;
    pointer-events: none;
}
.panier-vide-btn .fa { font-size: .95em; }
.panier-vide-btn__arrow {
    font-size: .85em;
    opacity: .8;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.panier-vide-btn:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 36px rgba(124,77,181,.8), 0 0 0 4px rgba(124,77,181,.2);
    filter: brightness(1.1);
    color: #fff !important;
    text-decoration: none !important;
}
.panier-vide-btn:hover .panier-vide-btn__arrow {
    transform: translateX(5px);
}
.panier-vide-btn:active {
    transform: scale(.96);
    transition: transform .1s ease;
}

/* === IMAGES === */
.limitedImg {
    max-width: 100%;
    max-height: 100%;
}

.middleContent {
    vertical-align: middle;
}

.img_vignette {
    max-width: 60px;
    max-height: 60px;
}

/* === ETAPES COMMANDE (STEPPER) === */
.panier_etapes {
    margin: 30px auto 35px;
}

.panier_etapes--items {
    padding-right: 18px;
    margin: 0 auto;
    text-align: center;
    list-style: none;
    padding-left: 0;
}

.panier_etapes--items--item,
.panier_etapes--items--item span,
.panier_etapes--items--item a {
    margin: 0;
    padding: 0;
    border: none;
    display: inline-block;
}

.panier_etapes--items--item span,
.panier_etapes--items--item a {
    position: relative;
    box-sizing: border-box;
    width: 258px;
    font-size: 16px;
    height: 42px;
    padding: 10px 25px 0 40px;
    margin-right: -3px;
    text-decoration: none;
}

/* Flèche droite (après) */
.panier_etapes--items--item span:after,
.panier_etapes--items--item a:after {
    content: "";
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
    position: absolute;
    right: -18px;
    top: 0;
    z-index: 2;
}

/* Flèche gauche (avant) - crée l'encoche */
.panier_etapes--items--item span:before,
.panier_etapes--items--item a:before {
    content: "";
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
    border-left: 18px solid #ffffff;
    position: absolute;
    left: 0;
    top: 0;
}

.panier_etapes--items--item:first-child span:before,
.panier_etapes--items--item:first-child a:before {
    display: none;
}

/* Étape active */
.panier_etapes--items--item_actif span,
.panier_etapes--items--item_actif a,
.panier_etapes--items--item_actif a:hover {
    background: #662d91;
    color: #ffffff;
}

.panier_etapes--items--item_actif span:after,
.panier_etapes--items--item_actif a:after {
    border-left: 18px solid #662d91;
}

/* Étapes passées */
.panier_etapes--items--item_avant span,
.panier_etapes--items--item_avant a {
    background: #f7f7f7;
    color: #333;
}

.panier_etapes--items--item_avant span:after,
.panier_etapes--items--item_avant a:after {
    border-left: 18px solid #f7f7f7;
}

/* Étapes futures */
.panier_etapes--items--item_apres span,
.panier_etapes--items--item_apres a {
    background: #f7f7f7;
    color: #999;
}

.panier_etapes--items--item_apres span:after,
.panier_etapes--items--item_apres a:after {
    border-left: 18px solid #f7f7f7;
}

/* Bouton valider panier - style spécifique */
.actionBouton--valider-panier {
    background: #662d91 !important;
    color: #ffffff !important;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 30px !important;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.actionBouton--valider-panier:hover {
    background: #662d91 !important;
    color: #ffffff !important;
}

/* Boutons d'export - style secondaire */
.actionBouton--export {
    background: #ffffff !important;
    color: #662d91 !important;
    border: 2px solid #662d91 !important;
    font-size: 14px;
    padding: 10px 20px !important;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.actionBouton--export:hover {
    background: #662d91 !important;
    color: #ffffff !important;
}

/* Styles pour l'impression */
@media print {
    /* Masquer les éléments non nécessaires */
    .page_header,
    .page_footer,
    .fil_ariane,
    .panier--outils,
    .panier--actions,
    .panier--export,
    .page_body--content--actions--accueil,
    .cartouche_client,
    nav,
    .actionBouton {
        display: none !important;
    }
    
    /* Optimiser le tableau pour l'impression */
    .page_body--content {
        width: 100%;
        margin: 0;
        padding: 20px;
    }
    
    .liste_article {
        width: 100%;
        font-size: 12px;
    }
    
    .page_body--titre2 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    /* Afficher la barre de progression en plus simple */
    .panier_etapes {
        margin: 10px 0;
    }
    
    .panier_etapes--items--item span {
        font-size: 14px;
    }
}
