/* Styles pour le logo au-dessus du jumbotron */
.jumbotron-logo-container {
    display: flex;
    justify-content: center; /* Centre horizontalement le conteneur du logo */
    margin-bottom: -60px; /* Remonte le logo au-dessus du jumbotron. Ajustez cette valeur si besoin */
    z-index: 10; /* Assure que le logo est au-dessus du jumbotron */
    position: relative; /* Nécessaire pour z-index */
}

.jumbotron-logo-rond {
    width: 190px; /* Taille du cercle pour le logo. Ajustez si vous voulez plus grand ou plus petit */
    height: 190px; /* Doit être égal à la largeur pour un cercle parfait */
    border-radius: 50%; /* Crée la forme ronde */
    overflow: hidden; /* Cache les parties de l'image qui dépassent du cercle */
    background-color: #ffffff; /* Fond blanc du cercle du logo */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Ombre douce pour le faire ressortir */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px; /* Petit padding à l'intérieur du cercle */
}

.jumbotron-logo-rond img {
    max-width: 140%; /* S'assure que le logo ne remplit pas tout le cercle, laissant un peu de fond */
    max-height: 140%;
    object-fit: contain; /* Assure que l'image est redimensionnée sans être déformée */
    border-radius: 50%;
}

/* ============================================================
   Améliorations UX/UI (juin 2026)
   Feedback (toasts/spinners), accessibilité, mobile, perf images.
   ============================================================ */

/* --- Accessibilité : lien d'évitement + focus visible --- */
.skip-link {
    position: absolute;
    left: 8px;
    top: -56px;
    z-index: 2000;
    background: var(--naydor-gold, #E28A3B);
    color: #fff;
    padding: .6rem 1.1rem;
    border-radius: 0 0 12px 12px;
    font-weight: 600;
    text-decoration: none;
    transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; outline: 3px solid #fff; }

:focus-visible {
    outline: 3px solid var(--ns-blue, #2F5D90);
    outline-offset: 2px;
    border-radius: 4px;
}
[data-bs-theme="dark"] :focus-visible { outline-color: #8ab4f8; }

/* --- Toasts (notifications) : haut-droite, au-dessus de tout --- */
#ns-toast-container { z-index: 1090; max-width: min(92vw, 380px); }

/* --- Images produit : ratio cohérent (remplace les hauteurs en px inline) --- */
.ns-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 12px;
    background: var(--ns-surface-2, #fff);
}
.ns-related-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 10px;
    background: var(--ns-surface-2, #fff);
}
.ns-zoomable { cursor: zoom-in; }

/* --- Catalogue : overlay de chargement pendant les filtres AJAX --- */
.ns-results-wrap { position: relative; }
.ns-results-grid { transition: opacity .2s ease; }
.ns-results-loading .ns-results-grid { opacity: .45; pointer-events: none; }
.ns-results-spinner {
    position: absolute; top: 64px; left: 50%; transform: translateX(-50%);
    z-index: 6; display: none;
}
.ns-results-loading .ns-results-spinner { display: inline-flex; }

/* --- Chips de filtres actifs --- */
.ns-filter-chips .badge {
    font-size: .82rem; font-weight: 500; padding: .5rem .7rem;
    background: var(--ns-surface-2); color: var(--ns-text);
    border: 1px solid var(--ns-border);
}
.ns-filter-chips .badge a { color: inherit; text-decoration: none; margin-left: .45rem; opacity: .65; }
.ns-filter-chips .badge a:hover { opacity: 1; }

/* --- Force du mot de passe (inscription) --- */
.ns-pw-meter { height: 6px; border-radius: 3px; background: var(--ns-border); overflow: hidden; }
.ns-pw-meter > span { display: block; height: 100%; width: 0; transition: width .25s ease, background .25s ease; }

/* ============================================================
   Responsive / mobile
   ============================================================ */
@media (max-width: 575.98px) {
    /* Pied de page "développeur" : compacter sur petit écran */
    .footer .dev-avatar { width: 84px !important; height: 84px !important; }
    .footer .dev-avatar:hover { transform: scale(1.4) translateY(-6px); }
    .footer .mt-5 { margin-top: 1.5rem !important; }
    .footer .small { word-break: break-word; }
    .naydor-title { font-size: 1.25rem; }
    .navbar-logo { height: 38px; }
}

/* --- Galerie produit : miniatures cliquables --- */
.ns-thumbs .ns-thumb {
    width: 66px; height: 66px; padding: 2px;
    border: 2px solid var(--ns-border); border-radius: 10px;
    background: var(--ns-surface); cursor: pointer; overflow: hidden;
    transition: border-color .15s ease, transform .15s ease;
}
.ns-thumbs .ns-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.ns-thumbs .ns-thumb:hover { transform: translateY(-2px); border-color: var(--naydor-gold); }
.ns-thumbs .ns-thumb.active { border-color: var(--naydor-gold); box-shadow: 0 0 0 2px var(--naydor-gold); }

/* --- Recherche globale (en-tête) + suggestions --- */
.ns-navsearch { max-width: 460px; }
.ns-navsearch-results {
    position: absolute; top: calc(100% + 4px); left: 0; right: 0;
    background: var(--ns-surface); border: 1px solid var(--ns-border);
    border-radius: 12px; box-shadow: var(--ns-shadow);
    z-index: 1080; max-height: 70vh; overflow-y: auto;
}
.ns-suggest-item {
    display: flex; align-items: center; gap: .6rem; padding: .5rem .75rem;
    text-decoration: none; color: var(--ns-text); border-bottom: 1px solid var(--ns-border);
}
.ns-suggest-item:last-child { border-bottom: 0; }
.ns-suggest-item:hover, .ns-suggest-item.active { background: var(--ns-surface-2); }
.ns-suggest-img, .ns-suggest-noimg {
    width: 40px; height: 40px; border-radius: 8px; object-fit: contain;
    background: var(--ns-surface-2); flex: 0 0 auto;
}
.ns-suggest-name { flex: 1 1 auto; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ns-suggest-price { font-size: .85rem; font-weight: 600; color: var(--naydor-gold); flex: 0 0 auto; }

/* --- Avis : affichage + saisie en étoiles --- */
.ns-stars { display: inline-flex; gap: 2px; color: #f0ad4e; line-height: 1; }
.ns-stars .ns-star-empty { color: var(--ns-border); }
.ns-rating-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.ns-rating-input input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ns-rating-input label { font-size: 1.7rem; color: var(--ns-border); cursor: pointer; padding: 0 2px; line-height: 1; transition: color .12s ease; }
.ns-rating-input input:checked ~ label,
.ns-rating-input label:hover,
.ns-rating-input label:hover ~ label { color: #f0ad4e; }
.ns-rating-input input:focus-visible + label { outline: 2px solid var(--ns-blue); outline-offset: 2px; }

/* --- Galerie : flèches préc/suiv sur l'image principale --- */
.ns-gallery-main { position: relative; display: inline-block; max-width: 100%; }
.ns-gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--ns-border); background: var(--ns-surface);
    color: var(--ns-text); display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: .85; z-index: 2;
}
.ns-gallery-nav:hover { opacity: 1; transform: translateY(-50%) scale(1.06); }
.ns-gallery-prev { left: 6px; }
.ns-gallery-next { right: 6px; }

/* ============================================================
   Refonte premium (accueil + catalogue) — juin 2026
   ============================================================ */

/* --- Carte produit premium (partagée accueil/catalogue) --- */
.ns-pcard {
    display: flex; flex-direction: column; height: 100%;
    background: var(--ns-surface);
    border: 1px solid var(--ns-border);
    border-radius: 18px; overflow: hidden;
    transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease;
}
.ns-pcard:hover { transform: translateY(-6px); box-shadow: var(--ns-shadow); }
.ns-pcard-media {
    position: relative; aspect-ratio: 1 / 1;
    background: var(--ns-surface-2); overflow: hidden;
}
.ns-pcard-media img {
    width: 100%; height: 100%; object-fit: contain; padding: 16px;
    transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.ns-pcard:hover .ns-pcard-media img { transform: scale(1.07); }
.ns-pcard-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: .35rem; z-index: 2; }
.ns-pcard-badge { font-size: .72rem; font-weight: 600; padding: .28rem .6rem; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.ns-badge-out { background: #dc3545; color: #fff; }
.ns-badge-new { background: var(--naydor-gold); color: #fff; }
.ns-badge-promo { background: var(--naydor-green); color: #fff; }
/* Bouton d'ajout rapide qui apparaît au survol de l'image (desktop) */
.ns-pcard-quick {
    position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
    opacity: 0; transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
}
.ns-pcard:hover .ns-pcard-quick { opacity: 1; transform: translateY(0); }
@media (hover: none) { .ns-pcard-quick { position: static; opacity: 1; transform: none; margin-top: .5rem; left:auto; right:auto; bottom:auto; } }
.ns-pcard-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.15rem; }
.ns-pcard-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ns-muted); margin-bottom: .15rem; }
.ns-pcard-title {
    font-weight: 600; color: var(--ns-text); text-decoration: none; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.6em;
}
.ns-pcard-title:hover { color: var(--naydor-gold); }
.ns-pcard-rating { margin: .3rem 0 .1rem; min-height: 1.2em; }
.ns-pcard-price { margin: .35rem 0 .8rem; }
.ns-pcard-actions { margin-top: auto; }

/* --- Bande d'arguments (value props) --- */
.ns-valueprops { background: var(--ns-surface); border: 1px solid var(--ns-border); border-radius: 20px; }
.ns-vp { display: flex; align-items: center; gap: .85rem; padding: 1rem; }
.ns-vp-ic {
    width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
    background: linear-gradient(135deg, var(--naydor-gold), var(--naydor-dark-gold)); color: #fff;
}
.ns-vp-t { font-weight: 600; line-height: 1.1; }
.ns-vp-s { font-size: .82rem; color: var(--ns-muted); }

/* --- En-tête de section premium --- */
.ns-sec-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.ns-sec-kicker { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--naydor-gold); font-weight: 600; }
.ns-sec-h { font-family: 'Playfair Display', serif; font-weight: 700; margin: .1rem 0 0; }

/* --- Carte catégorie premium (overlay) --- */
.ns-cat-card { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--ns-border); }
.ns-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.ns-cat-card:hover img { transform: scale(1.08); }
.ns-cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,20,40,.78) 0%, rgba(15,20,40,.12) 55%, transparent 100%); }
.ns-cat-card-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1rem 1.1rem; color: #fff; }
.ns-cat-card-cap h5 { margin: 0; font-weight: 700; }
.ns-cat-card-cap .ns-cat-go { font-size: .82rem; opacity: .9; }

/* --- Catalogue : barre d'outils premium --- */
.ns-toolbar { background: var(--ns-surface); border: 1px solid var(--ns-border); border-radius: 16px; }
.ns-filter-card { border-radius: 18px; }

@media (max-width: 575.98px) {
    .ns-pcard-media img { padding: 10px; }
    .ns-pcard-body { padding: .8rem .85rem 1rem; }
}

/* ============================================================
   Ultra premium — boutons & fiche produit (PDP)
   ============================================================ */
/* Boutons : arrondi, relief, dégradé doré */
.btn { border-radius: 12px; font-weight: 600;
    transition: transform .18s ease, box-shadow .18s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn-lg { border-radius: 14px; }
.btn-primary {
    background-image: linear-gradient(135deg, var(--naydor-gold), var(--naydor-dark-gold));
    border: none; box-shadow: 0 6px 18px rgba(226,138,59,.26);
}
.btn-primary:hover { background-image: linear-gradient(135deg, var(--naydor-dark-gold), var(--naydor-gold)); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(226,138,59,.36); color: #fff; }
.btn-naydor-green { background-image: linear-gradient(135deg, var(--naydor-green), var(--naydor-dark-green)); border: none; }
.btn-naydor-green:hover { transform: translateY(-2px); }
.btn-naydor-outline-gold:hover, .btn-outline-primary:hover { transform: translateY(-2px); }

/* Fil d'Ariane premium — liens discrets (plus de bleu brut), hover doré, chevron fin */
.breadcrumb { background: transparent; padding: 0; margin-bottom: 1rem; --bs-breadcrumb-divider: '›'; }
.breadcrumb-item, .breadcrumb-item a { font-size: .85rem; letter-spacing: .2px; }
.breadcrumb-item a { color: var(--ns-muted); text-decoration: none; font-weight: 500; transition: color .15s ease; }
.breadcrumb-item a:hover, .breadcrumb-item a:focus-visible { color: var(--naydor-dark-gold); text-decoration: none; }
.breadcrumb-item.active { color: var(--ns-text); font-weight: 600; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--ns-muted); padding-right: .5rem; opacity: .7; }
.breadcrumb-item + .breadcrumb-item { padding-left: .5rem; }

/* --- PDP : galerie + panneau d'achat sticky --- */
@media (min-width: 992px) {
    .ns-buybox-sticky { position: sticky; top: 88px; }
}
.ns-buybox {
    background: var(--ns-surface); border: 1px solid var(--ns-border);
    border-radius: 22px; padding: 1.6rem; box-shadow: var(--ns-shadow);
}
.ns-pdp-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.15; }
.ns-pdp-meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.ns-pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 600;
    padding: .32rem .72rem; border-radius: 999px; border: 1px solid var(--ns-border); background: var(--ns-surface-2);
    color: var(--ns-text); text-decoration: none; }
a.ns-pill:hover { border-color: var(--naydor-gold); color: var(--naydor-gold); }
.ns-pill-stock { color: #198754; border-color: rgba(25,135,84,.3); background: rgba(25,135,84,.08); }
.ns-pill-low { color: #fd7e14; border-color: rgba(253,126,20,.3); background: rgba(253,126,20,.08); }
.ns-pill-out { color: #dc3545; border-color: rgba(220,53,69,.3); background: rgba(220,53,69,.08); }
.ns-price-main { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 700; color: var(--ns-text); }
.ns-price-main .price-htg { font-size: inherit; }
.ns-price-sub { color: var(--ns-muted); font-size: .92rem; }
.ns-price-discount { color: #198754; font-weight: 600; }

/* Sélecteur de quantité (stepper) */
.ns-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--ns-border); border-radius: 12px; overflow: hidden; }
.ns-stepper button { width: 44px; border: none; background: var(--ns-surface-2); color: var(--ns-text); font-size: 1.25rem; line-height: 1; cursor: pointer; transition: background .15s ease; }
.ns-stepper button:hover { background: var(--ns-border); }
.ns-stepper input { width: 64px; border: none; border-left: 1px solid var(--ns-border); border-right: 1px solid var(--ns-border);
    text-align: center; background: var(--ns-surface); color: var(--ns-text); font-weight: 600; -moz-appearance: textfield; }
.ns-stepper input::-webkit-outer-spin-button, .ns-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Réassurance (trust) */
.ns-trust { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.ns-trust div { display: flex; align-items: center; gap: .5rem; font-size: .84rem; color: var(--ns-muted); }
.ns-trust i { color: var(--naydor-gold); width: 18px; text-align: center; }

/* Tarifs dégressifs */
.ns-bulk-table { border-collapse: collapse; width: 100%; }
.ns-bulk-table th, .ns-bulk-table td { padding: .45rem .6rem; border-bottom: 1px solid var(--ns-border); font-size: .88rem; }
.ns-bulk-table th { color: var(--ns-muted); font-weight: 600; text-align: left; }

/* Bloc description / sections PDP */
.ns-pdp-section { background: var(--ns-surface); border: 1px solid var(--ns-border); border-radius: 20px; padding: 1.5rem 1.6rem; }

/* Avis premium */
.ns-review-summary { background: var(--ns-surface); border: 1px solid var(--ns-border); border-radius: 18px; padding: 1.4rem; text-align: center; }
.ns-review-big { font-size: 3rem; font-weight: 700; line-height: 1; }
.ns-review-card { border: 1px solid var(--ns-border); border-radius: 14px; padding: 1rem 1.1rem; background: var(--ns-surface); }
.ns-review-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--naydor-gold), var(--naydor-dark-gold));
    color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: 0 0 auto; }

/* Barre d'achat mobile sticky */
.ns-buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050;
    background: var(--ns-navbar); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-top: 1px solid var(--ns-border); box-shadow: 0 -6px 24px rgba(0,0,0,.14);
    padding: .55rem .9rem; display: flex; align-items: center; gap: .8rem;
    transform: translateY(130%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.ns-buybar.show { transform: translateY(0); }
@media (min-width: 992px) { .ns-buybar { display: none !important; } }

/* ============================================================
   Hero slider ultra premium (page racine)
   ============================================================ */
.ns-hero-slider .carousel, .ns-hero-slider .ns-slide { border-radius: 26px; }
.ns-slide {
    position: relative; overflow: hidden; border-radius: 26px;
    height: clamp(400px, 64vh, 640px); background: var(--ns-surface-2);
    border: 1px solid var(--ns-border);
}
.ns-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel-item.active .ns-slide-img { animation: nsKenBurns 14s ease-out both; }
@keyframes nsKenBurns { from { transform: scale(1.1); } to { transform: scale(1); } }
.ns-slide-overlay { position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8,12,30,.86) 0%, rgba(8,12,30,.55) 42%, rgba(8,12,30,.12) 100%); }
.ns-slide-content {
    position: absolute; inset: 0; z-index: 2; color: #fff;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left;
    padding: clamp(1.5rem, 5vw, 4.5rem); max-width: 820px;
}
.ns-slide-kicker { letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; font-weight: 700; color: var(--naydor-gold); margin-bottom: .6rem; }
.ns-slide-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.9rem, 4.8vw, 3.6rem); line-height: 1.08; text-shadow: 0 2px 18px rgba(0,0,0,.45); margin: 0; }
.ns-slide-desc { font-size: clamp(1rem, 2vw, 1.22rem); max-width: 560px; margin: 1rem 0 1.5rem; color: rgba(255,255,255,.92); text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.ns-slide-cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.ns-slide-indicators { gap: .4rem; margin-bottom: 1.1rem; }
.ns-slide-indicators [data-bs-target] { width: 32px; height: 4px; border-radius: 999px; border: none; background: rgba(255,255,255,.5); opacity: 1; transition: background .25s ease, width .25s ease; }
.ns-slide-indicators [data-bs-target].active { background: var(--naydor-gold); width: 50px; }
.ns-slide-ctrl { width: auto; opacity: 1; }
.ns-slide-arrow { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.18);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.1rem; transition: background .2s ease, transform .2s ease; }
.ns-slide-ctrl:hover .ns-slide-arrow { background: var(--naydor-gold); transform: scale(1.08); }
@media (max-width: 575.98px) {
    .ns-slide-content { align-items: center; text-align: center; }
    .ns-slide-overlay { background: linear-gradient(0deg, rgba(8,12,30,.88) 0%, rgba(8,12,30,.5) 60%, rgba(8,12,30,.3) 100%); }
    .ns-slide-cta { justify-content: center; }
}

/* Liens partenaires + contact premium */
.ns-link-card { display: block; text-decoration: none; height: 100%;
    background: var(--ns-surface); border: 1px solid var(--ns-border); border-radius: 18px; padding: 1.5rem 1.25rem; text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ns-link-card:hover { transform: translateY(-5px); box-shadow: var(--ns-shadow); border-color: var(--naydor-gold); }
.ns-link-ic { width: 60px; height: 60px; margin: 0 auto .8rem; border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; background: var(--ns-surface-2); color: var(--naydor-gold); }
.ns-contact-card { background: var(--ns-surface); border: 1px solid var(--ns-border); border-left: 4px solid var(--naydor-gold); border-radius: 18px; }

/* ============================================================
   Pages d'erreur premium (400/403/404/500)
   ============================================================ */
.ns-error { max-width: 660px; margin: 1.5rem auto; text-align: center; padding: 2.5rem 1.25rem; }
.ns-error-code {
    font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1;
    font-size: clamp(5rem, 22vw, 11rem);
    background: linear-gradient(135deg, var(--naydor-gold), var(--naydor-dark-gold));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 24px rgba(226,138,59,.25));
}
.ns-error h1 { font-family: 'Playfair Display', serif; font-weight: 700; margin-top: .25rem; }
.ns-error p { color: var(--ns-muted); }
.ns-error-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: 1.6rem 0 1rem; }
.ns-error-count { font-size: .92rem; color: var(--ns-muted); }
.ns-error-count .ns-count-num { font-weight: 700; color: var(--naydor-gold); }

/* ============================================================
   Tunnel de commande premium (panier + checkout) — juin 2026
   ============================================================ */

/* --- Indicateur d'étapes --- */
.ns-steps-list { list-style: none; display: flex; padding: 0; margin: 0; }
.ns-step { flex: 1 1 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: .5rem;
    text-align: center; color: var(--ns-muted); font-size: .85rem; }
.ns-step-dot { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; background: var(--ns-surface-2); border: 2px solid var(--ns-border); color: var(--ns-muted);
    position: relative; z-index: 2; transition: all .25s ease; }
.ns-step::before { content: ""; position: absolute; top: 19px; left: -50%; width: 100%; height: 2px; background: var(--ns-border); z-index: 1; }
.ns-step:first-child::before { display: none; }
.ns-step.is-active::before, .ns-step.is-done::before { background: var(--naydor-gold); }
.ns-step.is-active .ns-step-dot { border-color: var(--naydor-gold); color: var(--naydor-gold); box-shadow: 0 0 0 4px rgba(226,138,59,.15); }
.ns-step.is-done .ns-step-dot { background: linear-gradient(135deg, var(--naydor-gold), var(--naydor-dark-gold)); border-color: transparent; color: #fff; }
.ns-step.is-active .ns-step-label, .ns-step.is-done .ns-step-label { color: var(--ns-text); font-weight: 600; }

/* --- Lignes du panier --- */
.ns-cart-list { display: flex; flex-direction: column; gap: .9rem; }
.ns-cart-line { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
    background: var(--ns-surface); border: 1px solid var(--ns-border); border-radius: 16px; padding: .85rem; transition: border-color .2s ease; }
.ns-cart-line:hover { border-color: var(--naydor-gold); }
.ns-cart-thumb { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--ns-surface-2); flex: 0 0 auto; }
.ns-cart-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.ns-cart-info { flex: 1 1 220px; min-width: 0; }
.ns-cart-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ns-muted); }
.ns-cart-name { font-weight: 600; color: var(--ns-text); text-decoration: none; display: block; line-height: 1.3; }
.ns-cart-name:hover { color: var(--naydor-gold); }
.ns-cart-unit { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-top: .2rem; }
.ns-cart-old { text-decoration: line-through; color: var(--ns-muted); font-size: .85rem; }
.ns-cart-now { font-weight: 600; }
.ns-cart-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.ns-cart-line-total { font-weight: 700; font-size: 1.05rem; min-width: 90px; text-align: right; }
.ns-cart-rm { border: none; background: transparent; color: var(--ns-muted); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; transition: all .15s ease; }
.ns-cart-rm:hover { background: rgba(220,53,69,.12); color: #dc3545; }

/* Stepper (variante compacte panier) */
.ns-stepper-sm button { width: 36px; font-size: 1.1rem; }
.ns-stepper-sm input { width: 48px; }

/* --- Récapitulatif (sticky) --- */
.ns-summary { background: var(--ns-surface); border: 1px solid var(--ns-border); border-radius: 20px; padding: 1.4rem; box-shadow: var(--ns-shadow); }
@media (min-width: 992px) { .ns-summary-sticky { position: sticky; top: 88px; } }
.ns-summary-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: .4rem 0; }
.ns-summary-total { font-size: 1.12rem; font-weight: 700; }
.ns-summary-items { list-style: none; padding: 0; margin: 0 0 .5rem; max-height: 340px; overflow: auto; }
.ns-summary-items li { display: flex; align-items: baseline; gap: .5rem; padding: .45rem 0; border-bottom: 1px dashed var(--ns-border); }
.ns-summary-items li:last-child { border-bottom: 0; }
.ns-summary-qty { font-weight: 700; color: var(--naydor-gold); flex: 0 0 auto; }
.ns-summary-name { flex: 1 1 auto; min-width: 0; font-size: .92rem; }
.ns-summary-price { flex: 0 0 auto; font-weight: 600; white-space: nowrap; }

/* --- Options de paiement (cartes radio) --- */
.ns-pay-options { display: flex; flex-direction: column; gap: .7rem; }
.ns-pay-option { display: flex; align-items: center; gap: .9rem; padding: 1rem; margin: 0; cursor: pointer; position: relative;
    border: 1.5px solid var(--ns-border); border-radius: 14px; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.ns-pay-option:hover { border-color: var(--naydor-gold); }
.ns-pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.ns-pay-ic { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; background: var(--ns-surface-2); color: var(--naydor-gold); }
.ns-pay-meta { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.ns-pay-title { font-weight: 600; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.ns-pay-desc { font-size: .84rem; color: var(--ns-muted); }
.ns-pay-check { color: var(--ns-border); font-size: 1.3rem; flex: 0 0 auto; transition: color .18s ease; }
.ns-pay-option:has(input:checked) { border-color: var(--naydor-gold); background: rgba(226,138,59,.06); box-shadow: 0 0 0 3px rgba(226,138,59,.12); }
.ns-pay-option:has(input:checked) .ns-pay-check { color: var(--naydor-gold); }
.ns-pay-option:has(input:focus-visible) { outline: 3px solid var(--ns-blue); outline-offset: 2px; }

/* --- Chips moyens de paiement --- */
.ns-pay-icons { display: flex; flex-wrap: wrap; gap: .4rem; }
.ns-pay-chip { font-size: .75rem; font-weight: 600; color: var(--ns-muted); border: 1px solid var(--ns-border);
    border-radius: 999px; padding: .25rem .6rem; display: inline-flex; align-items: center; gap: .3rem; }

/* --- État vide premium --- */
.ns-empty { text-align: center; max-width: 540px; margin: 2rem auto; padding: 2.5rem 1.25rem;
    background: var(--ns-surface); border: 1px solid var(--ns-border); border-radius: 22px; box-shadow: var(--ns-shadow); }
.ns-empty-ic { width: 92px; height: 92px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; color: var(--naydor-gold); background: var(--ns-surface-2); }

@media (max-width: 575.98px) {
    .ns-step-label { font-size: .72rem; }
    .ns-cart-actions { width: 100%; justify-content: space-between; margin-left: 0; }
    .ns-cart-line-total { min-width: 0; }
}

/* --- Commandes (historique + détail) --- */
.ns-pill-info { color: var(--ns-blue); border-color: rgba(47,93,144,.3); background: rgba(47,93,144,.08); }
.ns-order-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1rem; }
.ns-order-card { background: var(--ns-surface); border: 1px solid var(--ns-border); border-radius: 18px; padding: 1.2rem;
    display: flex; flex-direction: column; gap: .9rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ns-order-card:hover { transform: translateY(-4px); box-shadow: var(--ns-shadow); border-color: var(--naydor-gold); }
.ns-order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.ns-order-no { font-weight: 700; color: var(--ns-text); text-decoration: none; font-size: 1.05rem; }
.ns-order-no:hover { color: var(--naydor-gold); }
.ns-order-body { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ns-order-thumbs { display: flex; gap: .4rem; flex-wrap: wrap; }
.ns-order-thumb { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--ns-surface-2); border: 1px solid var(--ns-border); flex: 0 0 auto; }
.ns-order-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.ns-order-more { width: 48px; height: 48px; border-radius: 10px; background: var(--ns-surface-2); border: 1px dashed var(--ns-border);
    display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ns-muted); font-size: .85rem; flex: 0 0 auto; }
.ns-order-total { text-align: right; flex: 0 0 auto; }
.ns-order-actions { display: flex; gap: .5rem; flex-wrap: wrap; border-top: 1px solid var(--ns-border); padding-top: .9rem; }
.ns-order-actions form { margin: 0; }

/* Articles dans la fiche commande */
.ns-oitems { display: flex; flex-direction: column; }
.ns-oitem { display: flex; align-items: center; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--ns-border); }
.ns-oitem:last-child { border-bottom: 0; }
.ns-oitem-thumb { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; background: var(--ns-surface-2); border: 1px solid var(--ns-border); flex: 0 0 auto; }
.ns-oitem-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.ns-oitem-info { flex: 1 1 auto; min-width: 0; }
.ns-oitem-total { font-weight: 700; white-space: nowrap; }

/* Bannière commande annulée */
.ns-cancel-banner { background: rgba(220,53,69,.08); border: 1px solid rgba(220,53,69,.3); color: #dc3545;
    border-radius: 14px; padding: 1rem 1.25rem; font-weight: 600; }

/* --- Favoris (wishlist) --- */
.ns-fav-corner { position: absolute; top: 10px; right: 10px; z-index: 3; margin: 0; }
.ns-fav-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--ns-border);
    background: var(--ns-surface); color: var(--ns-muted); display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1rem; box-shadow: 0 2px 8px rgba(0,0,0,.12);
    transition: transform .15s ease, color .15s ease, background .15s ease; text-decoration: none; }
.ns-fav-btn:hover { transform: scale(1.1); color: #e0455e; }
.ns-fav-btn.is-fav { color: #e0455e; }
.ns-fav-wide.is-fav { color: #fff; background-image: linear-gradient(135deg, #e0455e, #c0344b); border-color: transparent; }
@keyframes nsHeart { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
.ns-fav-btn.is-fav i, .ns-fav-wide.is-fav i { animation: nsHeart .35s ease; }

/* --- Confirmation de commande --- */
.ns-confirm-hero { max-width: 640px; margin: 1rem auto 1.5rem; }
.ns-confirm-mark { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; color: #fff; animation: nsPop .4s cubic-bezier(.2,.8,.2,1) both; }
.ns-confirm-ok { background: linear-gradient(135deg, #1e9e6a, #157f54); box-shadow: 0 8px 26px rgba(25,135,84,.32); }
.ns-confirm-wait { background: linear-gradient(135deg, var(--naydor-gold), var(--naydor-dark-gold)); box-shadow: 0 8px 26px rgba(226,138,59,.32); }
@keyframes nsPop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* --- Avis : modération, badge vérifié, répartition, « avis utile » --- */
.ns-verified-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700;
    color: #157f54; background: rgba(25,135,84,.1); border: 1px solid rgba(25,135,84,.25);
    padding: .1rem .5rem; border-radius: 999px; line-height: 1.4; }
.ns-verified-hint { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; color: #157f54; }

.ns-rating-bars { display: flex; flex-direction: column; gap: .35rem; }
.ns-rating-bar { display: flex; align-items: center; gap: .55rem; width: 100%; border: 0; background: transparent;
    padding: .15rem .35rem; border-radius: 8px; cursor: pointer; transition: background .15s ease; }
.ns-rating-bar:hover { background: rgba(0,0,0,.04); }
.ns-rating-bar.active { background: rgba(226,138,59,.12); }
[data-bs-theme="dark"] .ns-rating-bar:hover { background: rgba(255,255,255,.06); }
.ns-rb-star { display: inline-flex; align-items: center; gap: 2px; font-size: .78rem; font-weight: 700; color: var(--ns-muted); white-space: nowrap; }
.ns-rb-star .fa-star { color: #f0ad4e; font-size: .7rem; }
.ns-rb-track { flex: 1 1 auto; height: 8px; border-radius: 999px; background: var(--ns-border); overflow: hidden; }
.ns-rb-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--naydor-gold), var(--naydor-dark-gold)); }
.ns-rb-count { font-size: .75rem; color: var(--ns-muted); min-width: 1.6rem; text-align: right; }

.ns-review-foot { margin-top: .35rem; }
.ns-helpful-btn { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600;
    color: var(--ns-muted); background: transparent; border: 1px solid var(--ns-border); border-radius: 999px;
    padding: .25rem .7rem; cursor: pointer; transition: all .15s ease; }
.ns-helpful-btn:hover { color: var(--ns-blue); border-color: var(--ns-blue); }
.ns-helpful-btn.voted { color: #fff; background: var(--ns-blue); border-color: var(--ns-blue); }
.ns-review-control { min-width: 9rem; }
#ns-reviews-col.ns-results-loading { opacity: .5; pointer-events: none; transition: opacity .15s ease; }
/* --- Dashboard : modération des avis --- */
.ns-review-tabs .nav-link { color: var(--ns-text); border: 1px solid var(--ns-border); margin-right: .4rem; }
.ns-review-tabs .nav-link.active { background: var(--naydor-gold); border-color: var(--naydor-gold); color: #fff; }
.ns-mod-review { display: flex; gap: .9rem; border: 1px solid var(--ns-border); border-radius: 14px;
    padding: 1rem 1.1rem; background: var(--ns-surface); }
.ns-mod-check { flex: 0 0 auto; padding-top: .2rem; }
.ns-mod-body { flex: 1 1 auto; min-width: 0; }

/* --- Dashboard : centre « À traiter » --- */
.ns-actiongrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.ns-action-card { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: 16px;
    border: 1px solid var(--ns-border); background: var(--ns-surface); text-decoration: none; color: var(--ns-text);
    box-shadow: var(--ns-shadow); transition: transform .18s ease, box-shadow .18s ease; }
.ns-action-card:hover { transform: translateY(-3px); color: var(--ns-text); }
.ns-action-card.is-empty { opacity: .6; }
.ns-action-ic { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #fff; flex: 0 0 auto; }
.ns-action-num { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.ns-action-lbl { font-size: .82rem; color: var(--ns-muted); }
.ns-action-orders .ns-action-ic { background: linear-gradient(135deg, #2F5D90, #192A6C); }
.ns-action-pay .ns-action-ic { background: linear-gradient(135deg, #1e9e6a, #157f54); }
.ns-action-reviews .ns-action-ic { background: linear-gradient(135deg, var(--naydor-gold), var(--naydor-dark-gold)); }
.ns-action-stock .ns-action-ic { background: linear-gradient(135deg, #dc3545, #a71d2a); }
.ns-action-restock .ns-action-ic { background: linear-gradient(135deg, #4D9BAB, #235F6B); }

/* --- Authentification premium (login, signup, mot de passe) --- */
.ns-auth-wrap { max-width: 480px; margin: 2.5rem auto; }
.ns-auth-wrap.ns-auth-wide { max-width: 660px; }
.ns-auth-card { background: var(--ns-surface); border: 1px solid var(--ns-border); border-radius: 22px;
    overflow: hidden; box-shadow: var(--ns-shadow); }
.ns-auth-head { background: linear-gradient(135deg, var(--ns-navy) 0%, var(--ns-blue) 60%, var(--ns-teal) 100%);
    color: #fff; padding: 1.8rem 2rem 1.5rem; text-align: center; }
.ns-auth-logo { width: 58px; height: 58px; border-radius: 14px; background: #fff; padding: 6px; object-fit: contain;
    margin-bottom: .55rem; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.ns-auth-head h1 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; margin: 0; color: #fff; }
.ns-auth-head p { margin: .35rem 0 0; opacity: .85; font-size: .92rem; }
.ns-auth-body { padding: 1.8rem 2rem; }
.ns-auth-foot { padding: 1rem 2rem; border-top: 1px solid var(--ns-border); background: var(--ns-surface-2);
    text-align: center; font-size: .9rem; }
.ns-auth-body .input-group-text { background: var(--ns-surface-2); border-color: var(--ns-border); }
.ns-auth-body .naydor-gold-icon { color: var(--naydor-gold); }
/* Champs des formulaires Django (form.as_p) rendus premium sans réécrire chaque champ */
.ns-auth-body form p { margin-bottom: 1rem; }
.ns-auth-body form p label { font-weight: 600; font-size: .9rem; display: inline-block; margin-bottom: .3rem; }
.ns-auth-body form input:not([type=checkbox]):not([type=radio]) {
    display: block; width: 100%; padding: .62rem .9rem; border: 1px solid var(--ns-border); border-radius: 10px;
    background: var(--ns-surface); color: var(--ns-text); font-size: 1rem; }
.ns-auth-body form input:focus { border-color: var(--naydor-gold); outline: none; box-shadow: 0 0 0 3px rgba(226,138,59,.15); }
.ns-auth-body .helptext { font-size: .76rem; color: var(--ns-muted); display: block; margin-top: .3rem; line-height: 1.4; }
.ns-auth-body ul.errorlist { list-style: none; padding: 0; margin: .3rem 0; color: #dc3545; font-size: .82rem; }
.ns-auth-success { text-align: center; padding: 2.5rem 2rem; }
.ns-auth-success .ns-auth-mark { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1rem; display: flex;
    align-items: center; justify-content: center; font-size: 2.1rem; color: #fff;
    background: linear-gradient(135deg, #1e9e6a, #157f54); box-shadow: 0 8px 24px rgba(25,135,84,.3); }

/* --- Dashboard : tables premium --- */
.ns-dash-table { --bs-table-bg: transparent; }
.ns-dash-table thead th { background: var(--ns-surface-2); border-bottom: 2px solid var(--ns-border);
    font-size: .76rem; text-transform: uppercase; letter-spacing: .5px; color: var(--ns-muted); font-weight: 700; white-space: nowrap; }
.ns-dash-table td, .ns-dash-table th { vertical-align: middle; }
.ns-dash-card { border: 1px solid var(--ns-border); border-radius: 18px; background: var(--ns-surface); box-shadow: var(--ns-shadow); overflow: hidden; }
.ns-dash-form .helptext { font-size: .76rem; color: var(--ns-muted); display: block; margin-top: .25rem; }
.ns-dash-form form p { margin-bottom: 1rem; }
.ns-dash-form label { font-weight: 600; }
.ns-dash-form input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.ns-dash-form textarea, .ns-dash-form select {
    width: 100%; padding: .55rem .85rem; border: 1px solid var(--ns-border); border-radius: 10px;
    background: var(--ns-surface); color: var(--ns-text); }
.ns-dash-form input:focus, .ns-dash-form textarea:focus, .ns-dash-form select:focus {
    border-color: var(--naydor-gold); outline: none; box-shadow: 0 0 0 3px rgba(226,138,59,.15); }

/* --- Dashboard : navigation groupée --- */
.ns-navgroups { display: flex; flex-wrap: wrap; gap: 1rem; }
.ns-navgroup { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: .55rem .8rem;
    border: 1px solid var(--ns-border); border-radius: 14px; background: var(--ns-surface); }
.ns-navgroup-t { font-size: .66rem; text-transform: uppercase; letter-spacing: .6px; color: var(--ns-muted);
    font-weight: 700; width: 100%; margin-bottom: .2rem; }

.ns-review-photos { margin-top: .25rem; }
.ns-review-photo { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid var(--ns-border); display: block; }
.ns-review-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.ns-review-photo:hover img { transform: scale(1.08); }

/* --- Aperçu rapide (quick view) --- */
.ns-quickview-btn {
    position: absolute; left: 50%; bottom: 10px; transform: translate(-50%, 140%);
    z-index: 3; border: 0; border-radius: 999px; padding: .4rem .9rem; font-size: .8rem; font-weight: 600;
    color: #fff; background: rgba(25,42,108,.92); backdrop-filter: blur(4px);
    box-shadow: 0 4px 14px rgba(0,0,0,.25); cursor: pointer; white-space: nowrap;
    opacity: 0; transition: transform .25s ease, opacity .25s ease, background .15s ease;
}
.ns-pcard:hover .ns-quickview-btn, .ns-quickview-btn:focus-visible { transform: translate(-50%, 0); opacity: 1; }
.ns-quickview-btn:hover { background: var(--naydor-gold); }
@media (hover: none) { .ns-quickview-btn { opacity: 1; transform: translate(-50%, 0); bottom: 8px; padding: .3rem .7rem; } }

.ns-qv-content { border: 0; border-radius: 20px; overflow: hidden; }
.ns-qv-close { position: absolute; top: 12px; right: 12px; z-index: 5; background-color: var(--ns-surface);
    border-radius: 50%; padding: .55rem; box-shadow: 0 2px 10px rgba(0,0,0,.18); opacity: .9; }
.ns-qv-media { position: relative; background: var(--ns-surface-2); display: flex; flex-direction: column;
    align-items: center; justify-content: center; padding: 1.2rem; min-height: 260px; }
.ns-qv-media > img { width: 100%; max-height: 340px; object-fit: contain; }
.ns-qv-thumbs { display: flex; gap: .5rem; margin-top: .8rem; flex-wrap: wrap; justify-content: center; }
.ns-qv-thumb { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; border: 2px solid transparent;
    background: var(--ns-surface); padding: 0; cursor: pointer; }
.ns-qv-thumb.active { border-color: var(--naydor-gold); }
.ns-qv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ns-qv-info { padding: 1.6rem; display: flex; flex-direction: column; }
.ns-qv-desc { line-height: 1.5; }
@media (max-width: 575.98px) { .ns-qv-media { min-height: 200px; } .ns-qv-info { padding: 1.2rem; } }

/* --- Méga-menu catégories (navbar) --- */
.ns-mega-menu { min-width: 300px; padding: 1rem; border-color: var(--ns-border); border-radius: 16px; box-shadow: var(--ns-shadow); }
@media (min-width: 992px) { .ns-mega-menu { min-width: 540px; } }
.ns-mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .35rem; }
@media (min-width: 992px) { .ns-mega-grid { grid-template-columns: repeat(3, 1fr); } }
.ns-mega-item { display: flex; align-items: center; gap: .6rem; padding: .5rem; border-radius: 12px;
    text-decoration: none; color: var(--ns-text); transition: background .15s ease, transform .15s ease; }
.ns-mega-item:hover { background: var(--ns-surface-2); transform: translateX(2px); color: var(--naydor-gold); }
.ns-mega-thumb { width: 42px; height: 42px; border-radius: 10px; overflow: hidden; background: var(--ns-surface-2);
    display: flex; align-items: center; justify-content: center; color: var(--naydor-gold); flex: 0 0 auto; border: 1px solid var(--ns-border); }
.ns-mega-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ns-mega-name { font-weight: 600; font-size: .92rem; line-height: 1.2; }
.ns-mega-foot { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--ns-border); text-align: center; }

/* --- Skeletons de chargement (shimmer) --- */
@keyframes nsShimmer { 0% { background-position: -468px 0; } 100% { background-position: 468px 0; } }
.ns-skeleton { background: linear-gradient(90deg, var(--ns-surface-2) 25%, var(--ns-border) 37%, var(--ns-surface-2) 63%);
    background-size: 936px 100%; animation: nsShimmer 1.4s ease infinite; border-radius: 8px; display: block; }
/* Quick view */
.ns-qv-skel { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; padding: 1.6rem; }
.ns-qv-skel .img { aspect-ratio: 1 / 1; border-radius: 14px; }
.ns-qv-skel .lines > span { height: 14px; margin-bottom: .8rem; }
@media (max-width: 575.98px) { .ns-qv-skel { grid-template-columns: 1fr; } }
/* Suggestions de recherche */
.ns-suggest-skel { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; }
.ns-suggest-skel .sk-img { width: 40px; height: 40px; border-radius: 8px; flex: 0 0 auto; }
.ns-suggest-skel .sk-txt { flex: 1; height: 12px; }
/* Barre de progression du catalogue (AJAX) */
.ns-results-loading::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 7;
    background: linear-gradient(90deg, transparent, var(--naydor-gold), transparent); background-size: 50% 100%;
    animation: nsBar 1s linear infinite; border-radius: 3px; }
@keyframes nsBar { 0% { background-position: -100% 0; } 100% { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) { .ns-skeleton, .ns-results-loading::before { animation: none; } }

/* --- Alerte de réassort (« prévenez-moi ») --- */
.ns-notify-ok { color: #157f54; font-weight: 600; padding: .45rem .2rem; }
.ns-notify-msg { color: #dc3545; }

/* --- Recherche : récentes/populaires + état « aucun résultat » --- */
.ns-suggest-head { font-size: .7rem; text-transform: uppercase; letter-spacing: .6px; color: var(--ns-muted);
    padding: .55rem .85rem .25rem; font-weight: 700; }
.ns-suggest-term { display: flex; align-items: center; padding: .45rem .85rem; color: var(--ns-text);
    text-decoration: none; font-size: .9rem; }
.ns-suggest-term:hover, .ns-suggest-term.active { background: var(--ns-surface-2); color: var(--naydor-gold); }
.ns-noresults-ic { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; background: var(--ns-surface-2);
    display: flex; align-items: center; justify-content: center; font-size: 1.9rem; color: var(--naydor-gold); }
.ns-search-chip { background: var(--ns-surface-2); color: var(--ns-text); border: 1px solid var(--ns-border);
    padding: .4rem .75rem; font-weight: 500; border-radius: 999px; }
.ns-search-chip:hover { background: var(--naydor-gold); color: #fff; border-color: var(--naydor-gold); }

/* --- Carnet d'adresses --- */
.ns-address-card { border: 1px solid var(--ns-border); border-radius: 14px; padding: 1rem; background: var(--ns-surface); }
.ns-address-card.is-default { border-color: var(--naydor-gold); box-shadow: inset 0 0 0 1px var(--naydor-gold); }

/* --- Fidélité --- */
.ns-loyalty-badge { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--naydor-gold), var(--naydor-dark-gold));
    box-shadow: 0 6px 18px rgba(226,138,59,.3); flex: 0 0 auto; }
.ns-loyalty-points { font-size: 1.8rem; font-weight: 700; line-height: 1; color: var(--naydor-gold); }

/* ============================================================
   Lot UX-1 — Conversion & commerce
   ============================================================ */
/* Badges produit dynamiques */
.ns-badge-new { background: linear-gradient(135deg, var(--naydor-gold), var(--naydor-dark-gold)); color: #1f2329; }
.ns-badge-low { background: #E28A3B; color: #fff; }

/* Sélecteur de devises : par défaut HTG en principal (sans JS) */
.ns-price-big .ns-c, .ns-price-alt .ns-c { display: none; }
.ns-price-big .ns-c-htg { display: inline; }
.ns-price-alt .ns-c-dop, .ns-price-alt .ns-c-usd { display: inline; }
html[data-cur="dop"] .ns-price-big .ns-c-htg { display: none; }
html[data-cur="dop"] .ns-price-big .ns-c-dop { display: inline; }
html[data-cur="dop"] .ns-price-alt .ns-c-dop { display: none; }
html[data-cur="dop"] .ns-price-alt .ns-c-htg { display: inline; }
html[data-cur="usd"] .ns-price-big .ns-c-htg { display: none; }
html[data-cur="usd"] .ns-price-big .ns-c-usd { display: inline; }
html[data-cur="usd"] .ns-price-alt .ns-c-usd { display: none; }
html[data-cur="usd"] .ns-price-alt .ns-c-htg { display: inline; }
.ns-cur-tick { visibility: hidden; }
.ns-cur-tick-htg { visibility: visible; }

/* Mini-panier (drawer offcanvas) */
.ns-cart-drawer { width: min(420px, 92vw); }
.ns-drawer-items { max-height: calc(100vh - 240px); overflow-y: auto; }
.ns-drawer-item { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; border-bottom: 1px solid var(--ns-border); }
.ns-drawer-thumb { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 10px; overflow: hidden; background: rgba(0,0,0,.04); }
.ns-drawer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ns-drawer-info { flex: 1 1 auto; min-width: 0; }
.ns-drawer-name { display: block; font-weight: 600; color: var(--ns-text); text-decoration: none; font-size: .92rem; margin-bottom: .35rem;
                  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ns-drawer-name:hover { color: var(--naydor-dark-gold); }
.ns-drawer-hint { color: #157f54; margin-top: .35rem; }
.ns-drawer-remove { flex: 0 0 auto; line-height: 1; }
.ns-drawer-foot { position: sticky; bottom: 0; background: var(--ns-surface); border-top: 1px solid var(--ns-border);
                  padding: 1rem; box-shadow: 0 -6px 18px rgba(0,0,0,.05); }
.ns-cart-empty { color: var(--ns-muted); }

/* ============================================================
   Lot UX-2 — Mobile-first
   ============================================================ */
/* Barre de navigation mobile */
.ns-bottomnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030;
    display: flex; justify-content: space-around; align-items: stretch;
    background: var(--ns-surface); border-top: 1px solid var(--ns-border);
    box-shadow: 0 -4px 18px rgba(0,0,0,.08); padding: .25rem 0 calc(.25rem + env(safe-area-inset-bottom)); }
.ns-bottomnav-item { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; padding: .35rem .25rem; font-size: .68rem; line-height: 1; color: var(--ns-muted);
    text-decoration: none; background: none; border: 0; cursor: pointer; min-height: 52px; }
.ns-bottomnav-item i { font-size: 1.15rem; }
.ns-bottomnav-item:hover, .ns-bottomnav-item:focus-visible { color: var(--naydor-dark-gold); }
.ns-bottomnav-badge { position: absolute; top: 4px; left: 58%; min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 999px; background: #dc3545; color: #fff; font-size: .62rem; line-height: 16px; text-align: center; }
@media (max-width: 991.98px) { body { padding-bottom: 60px; } }

/* Réassurance paiement (checkout) */
.ns-pay-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; font-size: .82rem; color: var(--ns-muted);
    border-top: 1px dashed var(--ns-border); padding-top: .85rem; }
.ns-pay-trust-item i { color: #157f54; margin-right: .3rem; }

/* Feuille de filtres (bottom-sheet mobile) */
@media (max-width: 991.98px) {
    .ns-filter-sheet.offcanvas-bottom { height: 82vh; border-top-left-radius: 18px; border-top-right-radius: 18px; }
    .ns-filter-sheet .offcanvas-body { overflow-y: auto; }
    .ns-filter-sheet .card { border: 0; box-shadow: none; margin-bottom: 0 !important; }
}

/* ============================================================
   Lot UX-3 — Découverte & espace client
   ============================================================ */
/* Bannière de catégorie */
.ns-cat-hero { border-radius: 18px; padding: 2.2rem 1.6rem; background: linear-gradient(120deg, var(--ns-navy), var(--ns-teal));
    color: #fff; box-shadow: var(--ns-shadow); background-size: cover; background-position: center; }
.ns-cat-hero.has-img { min-height: 160px; display: flex; align-items: flex-end; }
.ns-cat-hero-title { font-family: 'Playfair Display', serif; font-weight: 700; margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.ns-cat-hero-desc { margin: .5rem 0 0; opacity: .92; max-width: 62ch; }

/* Jauge de fidélité */
.ns-loyalty-progress { height: 10px; border-radius: 999px; background: rgba(0,0,0,.08); }
.ns-loyalty-progress .progress-bar { background: linear-gradient(90deg, var(--naydor-gold), var(--naydor-dark-gold)); border-radius: 999px; }

/* ============================================================
   Lot UX-4 — Accessibilité : préférence « mouvement réduit »
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    html { scroll-behavior: auto !important; }
}
/* Anneau de focus visible homogène (a11y clavier) */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--naydor-gold);
    outline-offset: 2px;
}

/* ============================================================
   Lot P-A — Motion design
   ============================================================ */
/* Badge panier qui « pulse » à l'ajout */
@keyframes nsBump { 0%{transform:scale(1)} 30%{transform:scale(1.5)} 60%{transform:scale(.9)} 100%{transform:scale(1)} }
.ns-bump { animation: nsBump .45s ease; }

/* Apparition au défilement (uniquement si JS actif → rien de caché sans JS) */
.ns-js [data-ns-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
.ns-js [data-ns-reveal].ns-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .ns-js [data-ns-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* En-tête condensé au défilement */
.navbar { transition: padding .25s ease, box-shadow .25s ease, background-color .25s ease; }
.navbar.ns-nav-shrink { padding-top: .15rem; padding-bottom: .15rem; box-shadow: 0 6px 20px rgba(20,23,28,.12); }
.navbar .navbar-brand img { transition: height .25s ease, transform .25s ease; }
.navbar.ns-nav-shrink .navbar-brand img { transform: scale(.86); }

/* Reflet « shine » au survol des cartes produit (desktop) */
@media (hover: hover) {
    .ns-pcard-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
        background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
        transform: translateX(-130%); transition: transform .75s ease; }
    .ns-pcard:hover .ns-pcard-media::after { transform: translateX(130%); }
}

/* ============================================================
   Lot P-B — Qualité d'image
   ============================================================ */
/* Fondu « flou → net » des images au chargement */
.ns-img { opacity: 0; filter: blur(10px); transition: opacity .5s ease, filter .5s ease; }
.ns-img.is-loaded { opacity: 1; filter: none; }
@media (prefers-reduced-motion: reduce) { .ns-img { opacity: 1 !important; filter: none !important; transition: none !important; } }

/* Zoom au survol de l'image produit (desktop) */
.ns-zoom-stage { overflow: hidden; }
.ns-zoom-stage #ns-main-image { transition: transform .25s ease; will-change: transform; }
.ns-zoom-stage #ns-main-image.ns-zoomed { transform: scale(1.9); cursor: zoom-in; }

/* ============================================================
   Lot P-C — Cross-sell & preuve sociale
   ============================================================ */
.ns-pill-sold { background: rgba(226,138,59,.14); color: var(--naydor-dark-gold); }
.ns-drawer-recos { padding: .85rem 1rem; border-top: 1px solid var(--ns-border); }
.ns-drawer-recos-t { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--ns-muted); margin-bottom: .6rem; }
.ns-drawer-reco { display: flex; align-items: center; gap: .6rem; padding: .4rem 0; }
.ns-drawer-reco-thumb { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 8px; overflow: hidden; background: rgba(0,0,0,.04); }
.ns-drawer-reco-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ns-drawer-reco-info { flex: 1 1 auto; min-width: 0; }
.ns-drawer-reco-name { display: block; font-size: .85rem; color: var(--ns-text); text-decoration: none;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ns-drawer-reco-name:hover { color: var(--naydor-dark-gold); }
.ns-drawer-reco-price { font-size: .8rem; color: var(--ns-muted); }
.ns-drawer-reco form { margin: 0; }

/* ============================================================
   Lot P-DE — Fidélité gamifiée + View Transitions
   ============================================================ */
/* Transitions de page douces (amélioration progressive ; ignoré si non supporté, aucun SW) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Badges de palier de fidélité */
.ns-tier-badge { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; color: #fff; }
.ns-tier-bronze { background: linear-gradient(135deg, #cd7f32, #a8682a); }
.ns-tier-argent { background: linear-gradient(135deg, #c2c6cd, #8d949e); color: #1f2329; }
.ns-tier-or { background: linear-gradient(135deg, #e8c75a, #caa53d); color: #1f2329; }

/* ============================================================
   Lot X1 — Variantes produit (taille / couleur)
   ============================================================ */
.ns-variant-group { margin-bottom: .8rem; }
.ns-variant-label { font-size: .82rem; font-weight: 600; color: var(--ns-text); margin-bottom: .4rem; display: flex; align-items: center; gap: .5rem; }
.ns-sizeguide-link { background: none; border: 0; padding: 0; color: var(--naydor-dark-gold); font-size: .78rem; text-decoration: underline; cursor: pointer; }
.ns-variant-opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.ns-variant-opt { min-width: 42px; padding: .42rem .72rem; border: 1.5px solid var(--ns-border); border-radius: 10px;
    background: var(--ns-surface); color: var(--ns-text); font-weight: 600; font-size: .85rem; cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease; }
.ns-variant-opt:hover { border-color: var(--naydor-gold); }
.ns-variant-opt.is-selected { border-color: var(--naydor-dark-gold); box-shadow: inset 0 0 0 1px var(--naydor-dark-gold); }
.ns-color-opt { width: 34px; height: 34px; min-width: 0; padding: 0; border-radius: 50%; }
.ns-color-opt.is-selected { box-shadow: 0 0 0 2px var(--ns-surface), 0 0 0 4px var(--naydor-dark-gold); }
.ns-color-opt.ns-color-text { width: auto; border-radius: 10px; padding: .42rem .72rem; }
.ns-variant-stock { margin-top: .35rem; min-height: 1.1em; }
.ns-cart-variant { font-size: .8rem; color: var(--ns-muted); }

/* ============================================================
   Lot X2 — Promotions / ventes flash
   ============================================================ */
.ns-badge-promo2 { background: linear-gradient(135deg, #e0245e, #b3123f); color: #fff; }
.ns-promo-flash { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap;
    padding: .45rem .8rem; border-radius: 12px;
    background: linear-gradient(135deg, rgba(224,36,94,.12), rgba(226,138,59,.12));
    border: 1px solid rgba(224,36,94,.25); }
.ns-promo-tag { background: linear-gradient(135deg, #e0245e, #b3123f); color: #fff; font-weight: 800;
    padding: .15rem .55rem; border-radius: 8px; font-size: .9rem; }
.ns-promo-name { font-weight: 600; color: var(--ns-text); }
.ns-promo-timer { font-variant-numeric: tabular-nums; font-weight: 700; color: #b3123f; font-size: .9rem; }
.ns-price-was { text-decoration: line-through; color: var(--ns-muted); font-size: 1rem; margin-right: .5rem; }
.ns-price-now { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.7rem; color: #b3123f; }

/* Slider ventes flash — 1ʳᵉ section de l'accueil */
.ns-flash-hero { padding: 1.25rem 0 .5rem; }
.ns-flash-head { text-align: center; margin-bottom: 1rem; }
.ns-flash-kicker { display: inline-block; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #e0245e; font-size: .85rem; }
.ns-flash-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); margin: .2rem 0 0; }
.ns-flash-carousel { border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, var(--ns-navy), var(--ns-teal)); box-shadow: var(--ns-shadow); }
.ns-flash-slide { display: grid; grid-template-columns: 1fr 1fr; min-height: 320px; align-items: stretch; }
.ns-flash-media { position: relative; display: block; background: #fff; }
.ns-flash-media img { width: 100%; height: 100%; object-fit: contain; max-height: 380px; padding: 1rem; }
.ns-flash-disc { position: absolute; top: 16px; left: 16px; background: linear-gradient(135deg, #e0245e, #b3123f); color: #fff;
    font-weight: 800; padding: .4rem .8rem; border-radius: 12px; font-size: 1.1rem; box-shadow: 0 6px 16px rgba(224,36,94,.4); }
.ns-flash-info { color: #fff; padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.ns-flash-cat { text-transform: uppercase; letter-spacing: 1px; font-size: .78rem; opacity: .85; }
.ns-flash-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.3rem, 2.5vw, 1.9rem); margin: .3rem 0 .8rem; }
.ns-flash-name a { color: #fff; text-decoration: none; }
.ns-flash-name a:hover { color: #ffd9a8; }
.ns-flash-prices { display: flex; align-items: baseline; gap: .8rem; margin-bottom: .6rem; flex-wrap: wrap; }
.ns-flash-prices .ns-price-was { color: rgba(255,255,255,.7); font-size: 1.05rem; }
.ns-flash-prices .ns-price-now { color: #fff; font-size: 2rem; }
.ns-flash-countdown { font-weight: 700; color: #ffd9a8; font-variant-numeric: tabular-nums; }
.ns-flash-carousel .carousel-indicators { margin-bottom: .5rem; }
@media (max-width: 767.98px) {
    .ns-flash-slide { grid-template-columns: 1fr; }
    .ns-flash-media img { max-height: 240px; }
    .ns-flash-info { padding: 1.25rem; }
}
/* ===== Bannière vente flash SITEWIDE + compte à rebours (#X2+) ===== */
.ns-sitepromo {
    background: linear-gradient(90deg, var(--ns-orange) 0%, var(--naydor-dark-gold) 100%);
    color: #fff;
    font-size: .92rem;
}
.ns-sitepromo-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .45rem 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.ns-sitepromo-tag {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    background: rgba(0, 0, 0, .18);
    padding: .12rem .55rem;
    border-radius: 999px;
    white-space: nowrap;
}
.ns-sitepromo-text strong { font-size: 1.05em; }
.ns-sitepromo-name { opacity: .92; }
.ns-sitepromo-cd {
    font-variant-numeric: tabular-nums;
    background: rgba(0, 0, 0, .18);
    padding: .12rem .55rem;
    border-radius: 8px;
    white-space: nowrap;
}
.ns-sitepromo-cta {
    background: #fff;
    color: var(--naydor-dark-gold);
    font-weight: 700;
    text-decoration: none;
    padding: .2rem .8rem;
    border-radius: 999px;
    white-space: nowrap;
    transition: transform .12s ease, box-shadow .12s ease;
}
.ns-sitepromo-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); color: var(--naydor-dark-gold); }
.ns-sitepromo-close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    opacity: .85;
    padding: 0 .25rem;
}
.ns-sitepromo-close:hover { opacity: 1; }
@media (max-width: 575.98px) {
    .ns-sitepromo { font-size: .82rem; }
    .ns-sitepromo-name { display: none; }
}
