/* ==========================================================================
   Napoléon — Templates produit (Cologne, Bougie, Coffret)
   Scopé sous .np2-main : aucun impact sur les autres pages.

   Uncode applique ses propres marges, tailles et couleurs aux titres,
   paragraphes, listes et champs. Ces propriétés sont donc forcées en
   !important ici ; la mise en page (grid/flex) n'en a pas besoin.

   Échelle d'espacement (desktop → tablette → mobile) :
   --np2-s-1  4 px    --np2-s-4 24 px    --np2-s-7  80 px
   --np2-s-2  8 px    --np2-s-5 32 px    --np2-section 112 / 80 / 64 px
   --np2-s-3 16 px    --np2-s-6 48 px
   ========================================================================== */

/* ---------- Tokens ---------- */
.np2-main {
    --np2-green-deep: #0e1e15;
    --np2-green: #1c3a2a;
    --np2-green-mid: #2a5240;
    --np2-green-line: #3e5a4e;
    --np2-gold: #c9a84c;
    --np2-gold-light: #e8c97a;
    --np2-gold-muted: rgba(232, 201, 122, .7);
    --np2-cream: #f5edd8;
    --np2-paper: #f9f3e8;
    --np2-ink: #1a1a1a;
    --np2-border: #d4b896;
    --np2-success: #39d38e;
    --np2-serif: 'Playfair Display', Georgia, serif;
    --np2-sans: Roboto, Arial, sans-serif;

    --np2-s-1: 4px;
    --np2-s-2: 8px;
    --np2-s-3: 16px;
    --np2-s-4: 24px;
    --np2-s-5: 32px;
    --np2-s-6: 48px;
    --np2-s-7: 80px;
    --np2-section: 112px;
    --np2-gutter: max(20px, calc((100% - 1280px) / 2));
    --np2-radius: 12px;
    --np2-notch: 10px;

    display: block;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--np2-paper);
    color: var(--np2-ink);
    font-family: var(--np2-sans);
    font-size: 16px;
    line-height: 1.5;
}

/* ---------- Reset (contre les styles globaux Uncode) ---------- */
.np2-main *,
.np2-main *::before,
.np2-main *::after { box-sizing: border-box; }

.np2-main p,
.np2-main ul,
.np2-main ol,
.np2-main dl,
.np2-main dd,
.np2-main figure,
.np2-main blockquote {
    margin: 0 !important;
}

.np2-main ul,
.np2-main ol {
    padding: 0 !important;
    list-style: none !important;
}

.np2-main li {
    margin: 0 !important;
    padding: 0;
    list-style: none !important;
}

.np2-main p,
.np2-main li,
.np2-main dt,
.np2-main dd { line-height: 1.5 !important; }

.np2-main h1,
.np2-main h2,
.np2-main h3,
.np2-main h4 {
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: 0 !important;
}

.np2-main img { max-width: 100%; height: auto; }

.np2-main a { color: inherit; }

.np2-main button,
.np2-main input,
.np2-main select,
.np2-main textarea { font: inherit; }

.np2-main :focus-visible {
    outline: 2px solid var(--np2-gold-light);
    outline-offset: 3px;
}

.np2-main [hidden] { display: none !important; }

/* Texte riche (descriptions, sections) : espacement entre paragraphes */
.np2-main .np2-prose > * + *,
.np2-main .np2-detail-body > * + * { margin-top: var(--np2-s-3) !important; }

.np2-main .np2-detail-body ul,
.np2-main .np2-prose ul {
    padding-left: 20px !important;
    list-style: disc !important;
}

.np2-main .np2-detail-body ul li,
.np2-main .np2-prose ul li { list-style: disc !important; }

/* ==========================================================================
   BOUTONS — coins découpés concaves (système du site)
   ========================================================================== */
.np2-main .np2-button,
.np2-main button.single_add_to_cart_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: var(--np2-s-2);
    min-height: 48px;
    padding: 12px 28px !important;
    margin: 0 !important;
    background: var(--np2-gold) !important;
    color: var(--np2-ink) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: var(--np2-sans) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: .02em !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    text-decoration: none !important;
    white-space: normal;
    cursor: pointer;
    transition: background-color .2s ease;
    -webkit-mask:
        radial-gradient(circle at 0 0, transparent calc(var(--np2-notch) - .5px), #000 var(--np2-notch)) top left / 51% 51% no-repeat,
        radial-gradient(circle at 100% 0, transparent calc(var(--np2-notch) - .5px), #000 var(--np2-notch)) top right / 51% 51% no-repeat,
        radial-gradient(circle at 0 100%, transparent calc(var(--np2-notch) - .5px), #000 var(--np2-notch)) bottom left / 51% 51% no-repeat,
        radial-gradient(circle at 100% 100%, transparent calc(var(--np2-notch) - .5px), #000 var(--np2-notch)) bottom right / 51% 51% no-repeat;
    mask:
        radial-gradient(circle at 0 0, transparent calc(var(--np2-notch) - .5px), #000 var(--np2-notch)) top left / 51% 51% no-repeat,
        radial-gradient(circle at 100% 0, transparent calc(var(--np2-notch) - .5px), #000 var(--np2-notch)) top right / 51% 51% no-repeat,
        radial-gradient(circle at 0 100%, transparent calc(var(--np2-notch) - .5px), #000 var(--np2-notch)) bottom left / 51% 51% no-repeat,
        radial-gradient(circle at 100% 100%, transparent calc(var(--np2-notch) - .5px), #000 var(--np2-notch)) bottom right / 51% 51% no-repeat;
}

.np2-main .np2-button:hover,
.np2-main button.single_add_to_cart_button:hover { background: var(--np2-gold-light) !important; }

.np2-main .np2-button:focus-visible,
.np2-main button.single_add_to_cart_button:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 3px var(--np2-green) !important;
}

.np2-main button.single_add_to_cart_button {
    width: 100%;
    float: none !important;
}

.np2-main button.single_add_to_cart_button.disabled,
.np2-main button.single_add_to_cart_button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Le libellé « Voir le panier » qu'Uncode injecte dans le bouton */
.np2-main button.single_add_to_cart_button .view-cart { display: none !important; }

.np2-main .np2-button--small {
    --np2-notch: 7px;
    min-height: 36px;
    padding: 8px 16px !important;
    font-size: 14px !important;
}

/* Bouton contour des cartes produits (« + Ajouter ») */
.np2-main .np2-button-ghost {
    flex: 1;
    max-width: 260px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px var(--np2-s-3) !important;
    margin: 0 !important;
    background: transparent !important;
    border: 1px solid rgba(245, 237, 216, .6) !important;
    border-radius: 8px !important;
    color: var(--np2-cream) !important;
    font-family: var(--np2-sans) !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    text-align: center;
    text-decoration: none !important;
    transition: background-color .2s, border-color .2s, color .2s;
}

.np2-main .np2-button-ghost:hover {
    background: var(--np2-cream) !important;
    border-color: var(--np2-cream) !important;
    color: var(--np2-green) !important;
}

.np2-main .np2-button-ghost.loading { opacity: .6; pointer-events: none; }
.np2-main .np2-button-ghost.added::after { content: ' ✓'; }
.np2-main .np2-product-card .added_to_cart { display: none !important; }

/* ==========================================================================
   HERO (fond vert sombre, header du thème par-dessus)
   ========================================================================== */
.np2-main .np2-hero {
    padding: 160px var(--np2-gutter) var(--np2-s-7) !important;
    color: var(--np2-cream);
    background:
        linear-gradient(rgba(26, 26, 26, .5), rgba(26, 26, 26, .5)),
        var(--np2-hero-bg, none) center / cover no-repeat,
        radial-gradient(120% 90% at 75% 0%, #24503a 0%, #12281d 50%, #0a1711 100%);
    background-color: var(--np2-green-deep);
}

.np2-main .np2-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--np2-s-7);
    align-items: start;
}

/* Sans visuel : une colonne centrée. */
.np2-main .np2-hero-inner:not(:has(.np2-gallery)) {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
}

/* ---------- Galerie ---------- */
.np2-main .np2-gallery {
    position: sticky;
    top: 120px;
    min-width: 0;
}

.np2-main .np2-main-image {
    position: relative;
    aspect-ratio: 15 / 11;
    background: var(--np2-green-deep);
    overflow: hidden;
}

/* Cadre fixe 15:11 : l'image le remplit toujours (recadrage centré), sans bandes vertes. */
.np2-main .np2-main-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.np2-main .np2-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.np2-main .np2-thumb {
    padding: 1px !important;
    margin: 0 !important;
    aspect-ratio: 7 / 5;
    background: rgba(127, 127, 127, .08) !important;
    border: 1px solid var(--np2-green-line) !important;
    border-radius: 0 !important;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s ease;
}

.np2-main .np2-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.np2-main .np2-thumb:hover,
.np2-main .np2-thumb[aria-pressed="true"] { border-color: var(--np2-gold) !important; }

/* ---------- Badges ---------- */
.np2-main .np2-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.np2-main .np2-main-image .np2-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
}

.np2-main .np2-badges span {
    padding: 5px 10px;
    background: rgba(14, 30, 21, .9);
    border: 1px solid #6b5e35;
    color: #f9f3e8;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.np2-main .np2-badges span:first-child {
    background: var(--np2-gold);
    border-color: var(--np2-gold);
    color: var(--np2-green);
}

/* ---------- Colonne résumé : un seul rythme vertical (24 px) ---------- */
.np2-main .np2-summary.summary {
    display: flex;
    flex-direction: column;
    gap: var(--np2-s-4);
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.np2-main .np2-summary > * { margin: 0 !important; }

/* Groupes resserrés : titre + sous-titre, réassurance */
.np2-main .np2-heading > * + * { margin-top: var(--np2-s-2) !important; }

.np2-main .np2-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: var(--np2-s-2);
    font-size: 14px;
}

.np2-main .np2-breadcrumb li { font-size: 14px !important; }

.np2-main .np2-breadcrumb li + li::before {
    content: '›';
    margin-right: var(--np2-s-2);
    opacity: .7;
}

.np2-main .np2-breadcrumb a { text-decoration: none !important; }
.np2-main .np2-breadcrumb a:hover { text-decoration: underline !important; }
.np2-main .np2-breadcrumb [aria-current] { font-weight: 600; }

.np2-main .np2-hero h1.product_title {
    color: var(--np2-gold) !important;
    font-family: var(--np2-serif) !important;
    font-size: clamp(34px, 4vw, 56px) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
}

.np2-main .np2-subtitle {
    color: var(--np2-cream) !important;
    font-family: var(--np2-serif) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

/* ---------- Avis (étoiles CSS) ---------- */
.np2-main .np2-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px var(--np2-s-3);
    font-size: 16px !important;
    font-weight: 500;
}

.np2-main .np2-rating-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.np2-main .np2-stars {
    display: inline-block;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 2px;
}

.np2-main .np2-stars::before {
    content: '★★★★★';
    background: linear-gradient(90deg, var(--np2-gold-light) calc(var(--np2-score) / 5 * 100%), rgba(245, 237, 216, .3) 0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.np2-main .np2-rating-source {
    padding-left: var(--np2-s-3);
    border-left: 1px solid rgba(245, 237, 216, .4);
    text-decoration: none !important;
}

.np2-main a.np2-rating-source:hover { text-decoration: underline !important; }

.np2-main .np2-rating-source { display: inline-flex; align-items: center; }

.np2-main .np2-rating-logo {
    display: block;
    width: auto !important;
    max-width: 140px;
    height: 26px !important;
    object-fit: contain;
}

.np2-main a.np2-rating-source:has(img):hover { opacity: .85; text-decoration: none !important; }

.np2-main .np2-short-description p { font-size: 16px !important; }

/* ---------- Carte prix ---------- */
.np2-main .np2-price-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--np2-s-3);
    padding: var(--np2-s-4) 20px !important;
    background: rgba(42, 82, 64, .8);
    border: 2px solid var(--np2-gold-light);
    border-radius: 4px;
    text-align: center;
}

.np2-main .np2-format {
    color: var(--np2-gold-muted) !important;
    font-family: var(--np2-serif) !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
}

.np2-main .np2-format-name { display: block; font-size: 18px; line-height: 1.3; }
.np2-main .np2-format-description { display: block; margin-top: var(--np2-s-1); font-size: 14px; line-height: 1.3; }

.np2-main .np2-price-card .np2-price,
.np2-main .np2-price-card .np2-price .amount,
.np2-main .np2-price-card .np2-price ins {
    margin: 0 !important;
    color: var(--np2-cream) !important;
    font-family: var(--np2-serif) !important;
    font-size: clamp(40px, 4vw, 56px) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.np2-main .np2-price del { opacity: .55; font-size: .6em !important; margin-right: var(--np2-s-2); }
.np2-main .np2-price ins { text-decoration: none !important; }

.np2-main .np2-packaging {
    color: var(--np2-gold-muted) !important;
    font-family: var(--np2-serif) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

/* ---------- Cartes de variantes (produit à variations) ---------- */
.np2-main .np2-variants {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--np2-s-3);
}

.np2-main .np2-variant {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: var(--np2-s-4);
    margin: 0 !important;
    padding: var(--np2-s-4) var(--np2-s-3) !important;
    background: rgba(14, 30, 21, .35) !important;
    border: 1px solid rgba(232, 201, 122, .3) !important;
    border-radius: 4px !important;
    color: var(--np2-cream) !important;
    text-align: center;
    text-transform: none !important;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.np2-main .np2-variant:hover { border-color: var(--np2-gold-light) !important; }

.np2-main .np2-variant[aria-pressed="true"] {
    background: rgba(42, 82, 64, .8) !important;
    border-color: var(--np2-gold-light) !important;
}

.np2-main .np2-variant:disabled { opacity: .45; cursor: not-allowed; }

.np2-main .np2-variant-head {
    display: flex;
    flex-direction: column;
    gap: var(--np2-s-1);
    color: var(--np2-gold-muted);
    font-family: var(--np2-serif);
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
}

.np2-main .np2-variant-label { font-size: 16px; }
.np2-main .np2-variant-text { font-size: 14px; }

.np2-main .np2-variant-price,
.np2-main .np2-variant-price .amount,
.np2-main .np2-variant-price ins {
    color: var(--np2-cream) !important;
    font-family: var(--np2-serif) !important;
    font-size: clamp(36px, 3.4vw, 48px) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.np2-main .np2-variant-price del { margin-right: var(--np2-s-2); font-size: .5em !important; opacity: .55; }
.np2-main .np2-variant-price ins { text-decoration: none !important; }

.np2-main .np2-variant-stock {
    color: #ffb4a8;
    font-size: 12px;
    text-transform: uppercase;
}

/* Les cartes remplacent le sélecteur WooCommerce : on le masque (il reste actif). */
.np2-main.np2-has-variant-cards table.variations,
.np2-main .np2-has-variant-cards table.variations,
.np2-main .np2-has-variant-cards .reset_variations,
.np2-main .np2-has-variant-cards .woocommerce-variation-description { display: none !important; }

/* ---------- Formulaire d'achat ---------- */
.np2-main .np2-purchase { display: flex; flex-direction: column; gap: var(--np2-s-3); }

.np2-main .np2-purchase form.cart {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

.np2-main .np2-purchase table.variations {
    width: 100%;
    margin: 0 0 var(--np2-s-4) !important;
    border: 0 !important;
}

.np2-main .variations tr,
.np2-main .variations th,
.np2-main .variations td {
    display: block;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    text-align: left;
}

.np2-main .variations label {
    display: block;
    margin: 0 0 12px !important;
    color: var(--np2-cream) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    text-transform: uppercase;
}

.np2-main .np2-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.np2-main .np2-option {
    margin: 0 !important;
    padding: 18px 12px !important;
    background: rgba(28, 58, 42, .5) !important;
    border: 1px solid rgba(201, 168, 76, .5) !important;
    border-radius: 4px !important;
    color: var(--np2-cream) !important;
    font-family: var(--np2-serif) !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    text-align: center;
    text-transform: none !important;
    white-space: normal;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.np2-main .np2-option:hover { border-color: var(--np2-gold-light) !important; }

.np2-main .np2-option[aria-pressed="true"] {
    background: var(--np2-gold) !important;
    border-color: var(--np2-gold) !important;
    color: var(--np2-green) !important;
}

.np2-main .np2-option:disabled { opacity: .35; cursor: not-allowed; }

.np2-main .np2-option-price {
    display: block;
    margin-top: 6px;
    font-size: 22px;
    font-weight: 700;
}

/* Select natif conservé pour WooCommerce, masqué visuellement. */
.np2-main .np2-native-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
    clip-path: inset(50%);
}

.np2-main .reset_variations {
    display: inline-block;
    margin-top: var(--np2-s-2) !important;
    color: var(--np2-gold-light) !important;
    font-size: 13px !important;
    text-decoration: underline !important;
}

.np2-main .single_variation_wrap .woocommerce-variation-price { display: none !important; }

.np2-main .woocommerce-variation-description,
.np2-main .woocommerce-variation-availability,
.np2-main .stock {
    margin: 0 0 var(--np2-s-3) !important;
    color: var(--np2-gold-light) !important;
    font-size: 14px !important;
}

.np2-main .stock.out-of-stock { color: #ffb4a8 !important; }

/* Ligne quantité (construite en JS) : libellé · sélecteur · total */
.np2-main .np2-qty-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--np2-s-3) var(--np2-s-5);
    margin-bottom: var(--np2-s-4);
}

.np2-main .np2-qty-label {
    font-size: 16px;
    text-transform: uppercase;
}

.np2-main .quantity {
    display: inline-flex !important;
    align-items: stretch;
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--np2-gold) !important;
    border-radius: 4px;
    background: transparent !important;
}

.np2-main .quantity > .plus,
.np2-main .quantity > .minus { display: none !important; }

/* Boutons du plugin (si le thème n'en fournit pas) */
.np2-main .quantity .np2-step {
    width: 56px;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: var(--np2-gold-light) !important;
    font-size: 20px !important;
    line-height: 1 !important;
    cursor: pointer;
}

.np2-main .quantity .np2-step:hover { color: var(--np2-cream) !important; }

/* Sélecteur Uncode (.qty-inset + .qty-minus / .qty-plus) remis dans le flux, ordre − 1 + */
.np2-main .quantity .qty-inset {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.np2-main .quantity .qty-minus,
.np2-main .quantity .qty-plus {
    position: static !important;
    inset: auto !important;
    float: none !important;
    display: inline-flex !important;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    width: 56px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: var(--np2-gold-light) !important;
    cursor: pointer;
    user-select: none;
    transform: none !important;
}

.np2-main .quantity .qty-minus { order: 1; }
.np2-main .quantity .qty-inset input.qty { order: 2; }
.np2-main .quantity .qty-plus { order: 3; }

.np2-main .quantity .qty-minus:hover,
.np2-main .quantity .qty-plus:hover { color: var(--np2-cream) !important; }

.np2-main .quantity .qty-minus i,
.np2-main .quantity .qty-plus i { color: inherit !important; font-size: 14px !important; }

/* Chiffre : Uncode masque le texte du champ selon les versions, tout est forcé. */
.np2-main .quantity .qty-inset input.qty,
.np2-main .quantity input.qty {
    display: block !important;
    flex: 0 0 72px;
    width: 72px !important;
    min-width: 48px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--np2-cream) !important;
    -webkit-text-fill-color: var(--np2-cream) !important;
    caret-color: var(--np2-cream);
    font-family: var(--np2-sans) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 44px !important;
    text-align: center !important;
    text-indent: 0 !important;
    letter-spacing: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    -moz-appearance: textfield;
    appearance: textfield;
}

.np2-main .quantity input.qty::-webkit-outer-spin-button,
.np2-main .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.np2-main .np2-total {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 !important;
}

.np2-main .np2-total output {
    font-family: var(--np2-serif);
    font-size: 20px;
    font-weight: 800;
}

/* Bandeau livraison */
.np2-main .np2-shipping {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--np2-s-2);
    margin: 0 0 var(--np2-s-4) !important;
    padding: 10px var(--np2-s-3) !important;
    background: rgba(28, 58, 42, .5);
    border: 1px solid var(--np2-green-mid);
    color: var(--np2-success) !important;
    font-family: var(--np2-serif) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-align: center;
    text-wrap: balance;
}

.np2-main .np2-shipping::before {
    content: '';
    flex: 0 0 28px;
    height: 28px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h11v9H3zM14 9h4l3 3v3h-7z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='7' cy='17' r='1.8' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Ccircle cx='17' cy='17' r='1.8' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M9 7.5 7 10.5h2.5L8 13.5' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h11v9H3zM14 9h4l3 3v3h-7z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='7' cy='17' r='1.8' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Ccircle cx='17' cy='17' r='1.8' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M9 7.5 7 10.5h2.5L8 13.5' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Produit non achetable : le bandeau est hors formulaire, sans marge basse. */
.np2-main .np2-purchase > .np2-shipping { margin-bottom: 0 !important; }

.np2-main .np2-gift-link {
    display: block;
    margin-top: 12px !important;
    color: var(--np2-cream) !important;
    font-size: 13px !important;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
}

.np2-main .np2-gift-link:hover { color: var(--np2-gold-light) !important; text-decoration: underline !important; }

.np2-main .np2-gift-message {
    display: block;
    margin: 0 0 var(--np2-s-4) !important;
    font-size: 14px;
}

.np2-main .np2-gift-message textarea {
    display: block;
    width: 100%;
    margin-top: var(--np2-s-2) !important;
    padding: 12px !important;
    background: rgba(28, 58, 42, .5) !important;
    border: 1px solid var(--np2-gold) !important;
    border-radius: 4px !important;
    color: var(--np2-cream) !important;
}

/* Paiements express (Apple Pay, Google Pay, PayPal) et encart WP Armour : masqués ici. */
.np2-main #wc-stripe-express-checkout-element,
.np2-main .wc-stripe-express-checkout-element,
.np2-main #wc-stripe-express-checkout-button-separator,
.np2-main #wc-stripe-payment-request-wrapper,
.np2-main #wc-stripe-payment-request-button-separator,
.np2-main #wcpay-express-checkout-element,
.np2-main .wcpay-express-checkout-wrapper,
.np2-main #wcpay-express-checkout-button-separator,
.np2-main #wcpay-payment-request-wrapper,
.np2-main .ppcp-messages,
.np2-main #ppcp-messages,
.np2-main [data-pp-message],
.np2-main .ppcp-paylater-message-block,
.np2-main #ppc-button-ppcp-gateway,
.np2-main .ppc-button-wrapper,
.np2-main [id^="ppc-button-"],
.np2-main .ppcp-button-wrapper,
.np2-main .wpa-test-msg,
.np2-main [class*="wpa-test"],
.np2-main .np2-wpa-hidden { display: none !important; }

/* ---------- Réassurance (groupe resserré : 12 px) ---------- */
.np2-main .np2-guarantees {
    display: grid;
    gap: 12px;
}

.np2-main .np2-guarantees li {
    position: relative;
    min-height: 24px;
    padding-left: 36px !important;
    font-size: 16px !important;
    line-height: 24px !important;
}

/* Coche de la maquette : carré doré 24 px, coche fine vert foncé dessinée en SVG */
.np2-main .np2-guarantees li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--np2-gold) center / 16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l2.9 2.9 6.1-6.4' fill='none' stroke='%231c3a2a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    border-radius: 3px;
}

/* Rapproche la ligne atelier de la liste à coches */
.np2-main .np2-guarantees + .np2-store { margin-top: calc(var(--np2-s-2) - var(--np2-s-4)) !important; }

.np2-main .np2-store {
    position: relative;
    padding-left: 20px !important;
    color: #e8e2d4 !important;
    font-size: 14px !important;
    font-weight: 500;
}

.np2-main .np2-store::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--np2-gold);
}

.np2-main .np2-store a {
    margin-left: var(--np2-s-2);
    color: var(--np2-gold-light) !important;
    text-decoration: underline !important;
    white-space: nowrap;
}

.np2-main .np2-payment {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--np2-s-3);
}

.np2-main .np2-payment img {
    width: auto;
    max-width: 48px;
    height: 24px;
    object-fit: contain;
}

/* ---------- Accordéons du hero (panneau clair) ---------- */
.np2-main .np2-details {
    background: rgba(249, 243, 232, .92);
    border: 1px solid var(--np2-border);
    border-radius: 4px;
    color: var(--np2-ink);
}

.np2-main .np2-detail { margin: 0 !important; }
.np2-main .np2-detail + .np2-detail { border-top: 1px solid var(--np2-border); }

.np2-main .np2-detail summary {
    position: relative;
    display: block;
    margin: 0 !important;
    padding: var(--np2-s-3) 52px var(--np2-s-3) var(--np2-s-3) !important;
    color: var(--np2-ink) !important;
    font-family: var(--np2-serif) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    list-style: none;
    cursor: pointer;
}

.np2-main .np2-detail summary::-webkit-details-marker { display: none; }

.np2-main .np2-detail summary::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 22px;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s ease;
}

.np2-main .np2-detail[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

/* Pendant la fermeture animée, la flèche se retourne dès le clic. */
.np2-main .np2-detail[data-np2-state="closing"] summary::after { transform: translateY(-70%) rotate(45deg); }

.np2-main .np2-detail summary::after { transition: transform .32s cubic-bezier(.4, 0, .2, 1); }

.np2-main .np2-detail-body {
    padding: 0 var(--np2-s-3) var(--np2-s-4) !important;
    color: var(--np2-ink);
}

.np2-main .np2-detail-body,
.np2-main .np2-detail-body p,
.np2-main .np2-detail-body li {
    font-family: var(--np2-sans) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: var(--np2-ink) !important;
}

.np2-main .np2-detail dl > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 12px;
    padding: var(--np2-s-2) 0;
    border-bottom: 1px solid rgba(212, 184, 150, .6);
}

.np2-main .np2-detail dt { font-weight: 600; }

/* ==========================================================================
   SECTIONS SOUS LA FICHE
   ========================================================================== */
.np2-main .np2-section {
    margin: 0 !important;
    padding: var(--np2-section) var(--np2-gutter) !important;
    background: var(--np2-paper);
}

/* Deux sections crème qui se suivent : un seul espace entre elles (pas 2 × 112 px). */
.np2-main .np2-section:is(:not(.np2-has-bg), .np2-section--cta):not(.np2-section--block) + .np2-section:is(:not(.np2-has-bg), .np2-section--cta):not(.np2-section--block) {
    padding-top: 0 !important;
}

.np2-main .np2-section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.np2-main .np2-section h2 {
    color: var(--np2-green) !important;
    font-family: var(--np2-serif) !important;
    font-size: clamp(30px, 3.6vw, 48px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.np2-main .np2-section h3 {
    font-family: var(--np2-serif) !important;
    line-height: 1.2 !important;
}

.np2-main .np2-section-intro {
    max-width: 768px;
    margin: 0 auto var(--np2-s-7) !important;
    text-align: center;
}

.np2-main .np2-section-heading > * + * { margin-top: var(--np2-s-3) !important; }

.np2-main .np2-prose,
.np2-main .np2-prose p {
    font-family: var(--np2-serif) !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
}

.np2-main .np2-section-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--np2-s-5);
}

.np2-main .np2-section-actions {
    margin-top: var(--np2-s-7) !important;
    text-align: center;
}

/* ---------- Cartes sombres (pyramide, coffret, produits) ---------- */
.np2-main .np2-card--dark {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--np2-green);
    border-radius: var(--np2-radius);
    color: var(--np2-cream);
    overflow: hidden;
}

.np2-main .np2-section--pyramid .np2-card {
    gap: var(--np2-s-4);
    padding: var(--np2-s-5) !important;
}

.np2-main .np2-section--pyramid .np2-card h3 {
    color: var(--np2-gold-light) !important;
    font-size: 32px !important;
    font-weight: 800 !important;
}

.np2-main .np2-notes {
    color: var(--np2-cream) !important;
    font-family: var(--np2-serif) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* Notes et commentaire : groupe resserré (6 px) dans le rythme de 24 px de la carte */
.np2-main .np2-notes + .np2-card-text { margin-top: calc(6px - var(--np2-s-4)) !important; }

.np2-main .np2-card-text {
    color: rgba(201, 168, 76, .9) !important;
    font-family: var(--np2-serif) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

.np2-main .np2-card-media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    background: var(--np2-green-deep);
    overflow: hidden;
}

.np2-main .np2-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.np2-main a.np2-card-media:hover img { transform: scale(1.03); }

.np2-main .np2-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--np2-s-2);
    padding: var(--np2-s-5) !important;
}

.np2-main .np2-card-body h3 {
    color: var(--np2-cream) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

.np2-main .np2-card-body h3 a { color: inherit !important; text-decoration: none !important; }
.np2-main .np2-card-body h3 a:hover { color: var(--np2-gold-light) !important; }

.np2-main .np2-card-body small { color: var(--np2-gold-muted); font-size: 13px; }

.np2-main .np2-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    background: var(--np2-gold-light);
    border-radius: 3px;
    color: var(--np2-green);
    font-family: var(--np2-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.4;
    text-transform: uppercase;
}

.np2-main .np2-card-footer {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto !important;
    padding-top: var(--np2-s-3);
}

.np2-main .np2-card-price,
.np2-main .np2-card-price .amount,
.np2-main .np2-card-price ins {
    color: var(--np2-gold-light) !important;
    font-family: var(--np2-serif) !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.np2-main .np2-card-price del { font-size: .6em !important; opacity: .6; margin-right: 6px; }
.np2-main .np2-card-price ins { text-decoration: none !important; }

/* ---------- Contenu du coffret — 4 colonnes (maquette) ---------- */
.np2-main .np2-section--bundle .np2-section-content {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--np2-s-4);
}

.np2-main .np2-bundle-card { border: 1px solid #0e1e15; }

.np2-main .np2-bundle-card .np2-card-body {
    gap: 0;
    padding: var(--np2-s-4) !important;
}

.np2-main .np2-bundle-card h3 {
    color: var(--np2-gold-light) !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.np2-main .np2-card-subtitle {
    margin-top: var(--np2-s-4) !important;
    color: var(--np2-cream) !important;
    font-family: var(--np2-serif) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.np2-main .np2-bundle-card .np2-card-text {
    margin-top: var(--np2-s-2) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

.np2-main .np2-bundle-card h3 + .np2-card-text { margin-top: var(--np2-s-4) !important; }

.np2-main .np2-bundle-card small { display: block; margin-top: var(--np2-s-3); }

/* ---------- Produits recommandés : centrés s'il y en a moins de 3 ---------- */
.np2-main .np2-section--products .np2-section-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.np2-main .np2-section--products .np2-product-card { flex: 0 1 calc((100% - 2 * var(--np2-s-5)) / 3); }

/* ---------- Arguments + image centrale (savoir-faire) — maquette « Layout 254 » ---------- */
.np2-main .np2-section--features h2 { color: var(--np2-ink) !important; }

.np2-main .np2-feature { text-align: center; }

.np2-main .np2-feature h3 {
    color: var(--np2-ink) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
}

.np2-main .np2-feature p {
    max-width: 440px;
    margin: 12px auto 0 !important;
    color: var(--np2-ink) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Bouton du bloc : pilule vert foncé, prix noir à côté */
.np2-main .np2-section--features .np2-section-actions .np2-button {
    min-height: 44px;
    padding: 10px 24px !important;
    background: var(--np2-green) !important;
    color: var(--np2-cream) !important;
    border-color: var(--np2-green) !important;
    border-radius: 999px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    -webkit-mask: none;
    mask: none;
}

.np2-main .np2-section--features .np2-section-actions .np2-button:hover { background: var(--np2-green-mid) !important; }

.np2-main .np2-section--features .np2-cta-price,
.np2-main .np2-section--features .np2-cta-price .amount,
.np2-main .np2-section--features .np2-cta-price ins { color: var(--np2-ink) !important; }

.np2-main .np2-section--features .np2-section-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--np2-s-6) 64px;
}

.np2-main .np2-section--features .np2-section-image img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    border-radius: 0;
}

@media (min-width: 960px) {
    .np2-main .np2-section--features.np2-has-image .np2-section-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr);
        column-gap: var(--np2-s-6);
        align-items: center;
    }

    .np2-main .np2-section--features.np2-has-image .np2-section-intro,
    .np2-main .np2-section--features.np2-has-image .np2-section-actions { grid-column: 1 / -1; }

    .np2-main .np2-section--features.np2-has-image .np2-section-image {
        grid-column: 2;
        grid-row: 2 / span 2;
    }

    .np2-main .np2-section--features.np2-has-image .np2-section-content { display: contents; }

    .np2-main .np2-section--features.np2-has-image .np2-feature { padding: var(--np2-s-4) 0; }
    /* Lecture en lignes, comme la maquette : 1 | image | 2, puis 3 | image | 4 */
    .np2-main .np2-section--features.np2-has-image .np2-feature:nth-child(1) { grid-column: 1; grid-row: 2; }
    .np2-main .np2-section--features.np2-has-image .np2-feature:nth-child(2) { grid-column: 3; grid-row: 2; }
    .np2-main .np2-section--features.np2-has-image .np2-feature:nth-child(3) { grid-column: 1; grid-row: 3; }
    .np2-main .np2-section--features.np2-has-image .np2-feature:nth-child(4) { grid-column: 3; grid-row: 3; }
    /* Au-delà de 4 arguments : à la suite, sous l'image. */
    .np2-main .np2-section--features.np2-has-image .np2-feature:nth-child(n+5) { grid-column: auto; }
}

/* ---------- Image + texte (histoire) et bandeau vert ---------- */
.np2-main .np2-section--story.np2-has-image .np2-section-inner,
.np2-main .np2-section--cta.np2-has-image .np2-section-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--np2-s-7);
    align-items: center;
}

.np2-main .np2-section--cta.np2-has-image .np2-section-inner { gap: 64px; }

.np2-main .np2-section--story .np2-section-intro,
.np2-main .np2-section--cta .np2-section-intro {
    max-width: none;
    margin: 0 !important;
    text-align: left;
}

/* Bouton sous le texte : 32 px */
.np2-main .np2-section--story .np2-section-heading > .np2-button,
.np2-main .np2-section--cta .np2-section-heading > .np2-button,
.np2-main .np2-section--story .np2-section-heading > .np2-cta-buy,
.np2-main .np2-section--cta .np2-section-heading > .np2-cta-buy { margin-top: var(--np2-s-5) !important; }

.np2-main .np2-section--story.np2-image-left .np2-section-image,
.np2-main .np2-section--cta.np2-image-left .np2-section-image { grid-row: 1; grid-column: 1; }

/* Proportions de la photo d'origine ; hauteur limitée pour ne pas écraser le texte. */
.np2-main .np2-section--story .np2-section-image { display: flex; justify-content: center; }

.np2-main .np2-section--story .np2-section-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    border-radius: var(--np2-radius);
}

/* Section histoire — maquette « Layout 5 » : titre doré 48 px, texte Roboto 18 px,
   24 px titre → texte, paragraphes séparés d'une ligne. Le bouton n'est pas modifié. */
.np2-main .np2-section--story .np2-section-heading > .np2-prose { margin-top: var(--np2-s-4) !important; }

.np2-main .np2-section--story .np2-prose,
.np2-main .np2-section--story .np2-prose p {
    font-family: var(--np2-sans) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

.np2-main .np2-section--story .np2-prose > * + * { margin-top: 27px !important; }

.np2-main .np2-section--story.np2-has-bg h2 {
    color: var(--np2-gold) !important;
    font-weight: 700 !important;
}

.np2-main .np2-section--cta .np2-section-inner {
    padding: 64px !important;
    background: var(--np2-green);
    border-radius: var(--np2-radius);
    color: var(--np2-cream);
}

.np2-main .np2-section--cta h2 { color: var(--np2-gold-light) !important; }

.np2-main .np2-section--cta .np2-prose,
.np2-main .np2-section--cta .np2-prose p {
    color: var(--np2-cream) !important;
    font-family: var(--np2-sans) !important;
    font-size: 16px !important;
}

.np2-main .np2-section--cta .np2-section-image img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 0;
}

/* Bandeau vert — maquette « CTA 7 » : bloc arrondi 20 px bordé, 112 × 64 px,
   titre 40 px, texte Roboto 18 px, image pleine hauteur sans arrondi. */
.np2-main .np2-section--cta .np2-section-inner {
    padding: 112px 64px !important;
    border: 1px solid var(--np2-border);
    border-radius: 20px;
}

.np2-main .np2-section--cta.np2-has-image .np2-section-inner {
    gap: var(--np2-s-7);
    align-items: stretch;
}

.np2-main .np2-section--cta .np2-section-intro { max-width: 600px; align-self: center; }

.np2-main .np2-section--cta h2 {
    font-size: clamp(28px, 3vw, 40px) !important;
    font-weight: 700 !important;
}

.np2-main .np2-section--cta .np2-section-heading > .np2-prose { margin-top: var(--np2-s-4) !important; }

.np2-main .np2-section--cta .np2-prose,
.np2-main .np2-section--cta .np2-prose p {
    font-size: 18px !important;
    line-height: 1.5 !important;
}

.np2-main .np2-section--cta .np2-section-heading > .np2-button,
.np2-main .np2-section--cta .np2-section-heading > .np2-cta-buy { margin-top: 40px !important; }

.np2-main .np2-section--cta .np2-section-image { position: relative; min-height: 280px; }

.np2-main .np2-section--cta .np2-section-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
}

/* Bandeau sans image à côté : le texte prend la largeur, bloc moins haut (maquette). */
.np2-main .np2-section--cta:not(.np2-has-image) .np2-section-inner { padding: 64px !important; }

.np2-main .np2-section--cta:not(.np2-has-image) .np2-section-intro { max-width: 960px; }

/* Bouton du bandeau : Playfair SemiBold 16 px en capitales, vert foncé sur or,
   coins découpés comme les autres boutons dorés. */
.np2-main .np2-section--cta .np2-button {
    min-width: 240px;
    padding: 10px 24px !important;
    color: var(--np2-green) !important;
    font-family: var(--np2-serif) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}

/* ---------- Vidéo YouTube (Image + texte, Bandeau vert) ---------- */
.np2-main .np2-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--np2-radius);
    overflow: hidden;
}

.np2-main .np2-video-play,
.np2-main .np2-video iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.np2-main .np2-video-play img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transition: transform .4s ease, opacity .2s ease;
}

.np2-main .np2-video-play:hover img { transform: scale(1.02); opacity: .9; }

.np2-main .np2-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    background: var(--np2-gold);
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
    transform: translate(-50%, -50%);
    transition: background-color .2s ease, transform .2s ease;
}

.np2-main .np2-video-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--np2-green);
    transform: translate(-50%, -50%);
}

.np2-main .np2-video-play:hover .np2-video-icon,
.np2-main .np2-video-play:focus-visible .np2-video-icon {
    background: var(--np2-gold-light);
    transform: translate(-50%, -50%) scale(1.06);
}

/* La vidéo occupe toute la colonne (pas de limite de hauteur image) */
.np2-main .np2-section--story.np2-has-video .np2-section-image,
.np2-main .np2-section--cta.np2-has-video .np2-section-image { display: block; align-self: center; position: static; min-height: 0; }

@media (max-width: 767px) {
    .np2-main .np2-video-icon { width: 56px; height: 56px; }
    .np2-main .np2-video-icon::before { border-width: 10px 0 10px 16px; }
}

/* ---------- Image de fond de section (voile sombre + texte clair) ---------- */
.np2-main .np2-section.np2-has-bg {
    background:
        linear-gradient(rgba(26, 26, 26, .5), rgba(26, 26, 26, .5)),
        var(--np2-section-bg) center / cover no-repeat;
    background-color: var(--np2-green-deep);
    color: var(--np2-cream);
}

.np2-main .np2-section.np2-has-bg h2,
.np2-main .np2-section.np2-has-bg .np2-feature h3 { color: var(--np2-gold-light) !important; }

.np2-main .np2-section.np2-has-bg .np2-prose,
.np2-main .np2-section.np2-has-bg .np2-prose p,
.np2-main .np2-section.np2-has-bg .np2-feature p { color: var(--np2-cream) !important; }

.np2-main .np2-section.np2-has-bg .np2-cta-price,
.np2-main .np2-section.np2-has-bg .np2-cta-price .amount { color: var(--np2-cream) !important; }

.np2-main .np2-section.np2-has-bg .np2-deco { filter: brightness(2.2); }

/* Bandeau vert : l'image de fond va DANS le bloc vert (motif discret). */
.np2-main .np2-section--cta.np2-has-bg {
    background: var(--np2-paper);
    color: var(--np2-ink);
}

.np2-main .np2-section--cta.np2-has-bg .np2-section-inner {
    background:
        linear-gradient(rgba(28, 58, 42, .95), rgba(28, 58, 42, .95)),
        var(--np2-section-bg) center / cover no-repeat;
    background-color: var(--np2-green);
}

/* ---------- Décor derrière le titre ---------- */
.np2-main .np2-title-deco {
    position: relative;
    isolation: isolate;
}

.np2-main .np2-deco {
    position: absolute;
    top: -70px;
    left: 50%;
    z-index: -1;
    width: min(560px, 90%);
    height: auto;
    opacity: var(--np2-deco-opacity, .35);
    transform: translateX(-62%);
    pointer-events: none;
    user-select: none;
}

.np2-main .np2-section--story .np2-deco,
.np2-main .np2-section--cta .np2-deco {
    top: 50%;
    left: -24px;
    transform: translateY(-50%);
}

.np2-main .np2-section--cta .np2-deco { filter: brightness(2.2); }

/* ---------- Bouton « Ajouter au panier » de section, prix à côté ---------- */
.np2-main .np2-cta-buy {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--np2-s-3) var(--np2-s-4);
}

.np2-main .np2-section--story .np2-cta-buy,
.np2-main .np2-section--cta .np2-cta-buy { justify-content: flex-start; }

.np2-main .np2-cta-price,
.np2-main .np2-cta-price .amount,
.np2-main .np2-cta-price ins {
    color: var(--np2-green) !important;
    font-family: var(--np2-serif) !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.np2-main .np2-cta-price del { margin-right: var(--np2-s-2); font-size: .6em !important; opacity: .55; }
.np2-main .np2-cta-price ins { text-decoration: none !important; }

.np2-main .np2-section--cta .np2-cta-price,
.np2-main .np2-section--cta .np2-cta-price .amount { color: var(--np2-cream) !important; }

.np2-main .np2-inline-cart {
    display: inline-block;
    margin: 0 !important;
}

/* ---------- Avis ---------- */
.np2-main .np2-section--reviews .np2-section-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--np2-s-5) var(--np2-s-7);
    align-items: end;
    max-width: none;
    margin-bottom: 64px !important;
    text-align: left;
}

.np2-main .np2-section--reviews .np2-section-intro:not(:has(.np2-section-aside)) { grid-template-columns: minmax(0, 768px); }

.np2-main .np2-section-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--np2-s-3);
}

.np2-main .np2-section-aside .np2-rating { color: var(--np2-ink); }
.np2-main .np2-section-aside .np2-stars::before { background-image: linear-gradient(90deg, var(--np2-gold) calc(var(--np2-score) / 5 * 100%), rgba(26, 26, 26, .2) 0); }
.np2-main .np2-section-aside .np2-rating-source { border-color: rgba(26, 26, 26, .3); }

.np2-main .np2-section--reviews .np2-section-content { display: block; }

/* Content Block Uncode : il gère ses propres marges, titre et largeur. */
.np2-main .np2-section--block {
    padding: 0 !important;
    background: transparent;
}

/* ---------- FAQ — maquette « FAQ 11 » ---------- */
.np2-main .np2-faq .np2-section-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--np2-s-7);
    align-items: start;
}

.np2-main .np2-faq h2 {
    color: var(--np2-ink) !important;
    font-weight: 700 !important;
}

.np2-main .np2-faq-intro { max-width: 768px; }

.np2-main .np2-faq-intro p {
    margin-top: var(--np2-s-4) !important;
    color: var(--np2-ink) !important;
    font-family: Inter, var(--np2-sans) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

.np2-main .np2-faq-list {
    border-radius: var(--np2-radius);
    overflow: hidden;
}

.np2-main .np2-faq-list .np2-detail {
    border: 1px solid rgba(212, 184, 150, .25);
    border-bottom-width: 0;
}

.np2-main .np2-faq-list .np2-detail:first-child { border-radius: var(--np2-radius) var(--np2-radius) 0 0; }
.np2-main .np2-faq-list .np2-detail:last-child { border-bottom-width: 1px; border-radius: 0 0 var(--np2-radius) var(--np2-radius); }
.np2-main .np2-faq-list .np2-detail:only-child { border-radius: var(--np2-radius); }

.np2-main .np2-faq-list .np2-detail summary {
    padding: 20px 72px 20px var(--np2-s-4) !important;
    font-family: Inter, var(--np2-sans) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
}

/* Pastille verte : chevron fermé, croix ouvert */
.np2-main .np2-faq-list .np2-detail summary::after {
    top: 50%;
    right: var(--np2-s-4);
    width: 24px;
    height: 24px;
    border: 1px solid var(--np2-border);
    border-radius: 50%;
    background: var(--np2-green-mid) center / 12px 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23f5edd8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    transform: translateY(-50%);
    transition: background-color .2s ease;
}

.np2-main .np2-faq-list .np2-detail[open] summary::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' fill='none' stroke='%23f5edd8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    transform: translateY(-50%);
}

.np2-main .np2-faq-list .np2-detail[data-np2-state="closing"] summary::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23f5edd8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    transform: translateY(-50%);
}

.np2-main .np2-faq-list .np2-detail summary:hover::after { background-color: var(--np2-green); }

.np2-main .np2-faq-list .np2-detail-body { padding: 0 var(--np2-s-4) var(--np2-s-4) !important; }

.np2-main .np2-faq-list .np2-detail-body,
.np2-main .np2-faq-list .np2-detail-body p {
    font-family: Inter, var(--np2-sans) !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 959px) {
    .np2-main {
        --np2-s-7: 48px;
        --np2-section: 80px;
    }

    .np2-main .np2-hero { padding-top: 128px !important; }

    .np2-main .np2-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .np2-main .np2-gallery { position: static; }

    .np2-main .np2-section-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

    .np2-main .np2-section--products .np2-product-card { flex-basis: calc((100% - 20px) / 2); }

    .np2-main .np2-section--bundle .np2-section-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

    .np2-main .np2-section--story.np2-has-image .np2-section-inner,
    .np2-main .np2-section--cta.np2-has-image .np2-section-inner,
    .np2-main .np2-faq .np2-section-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .np2-main .np2-section--story.np2-image-left .np2-section-image,
    .np2-main .np2-section--cta.np2-image-left .np2-section-image { grid-row: auto; grid-column: auto; }

    .np2-main .np2-section--features .np2-section-image {
        max-width: 300px;
        margin: 0 auto var(--np2-s-6) !important;
    }

    .np2-main .np2-section--cta .np2-section-inner,
    .np2-main .np2-section--cta:not(.np2-has-image) .np2-section-inner { padding: 64px 40px !important; }
    .np2-main .np2-section--cta.np2-has-image .np2-section-inner { gap: 40px; }
    .np2-main .np2-section--cta .np2-section-image { min-height: 0; }
    .np2-main .np2-section--cta .np2-section-image img { position: static; height: auto; aspect-ratio: 4 / 3; }

    .np2-main .np2-section--reviews .np2-section-intro { margin-bottom: var(--np2-s-6) !important; }
}

@media (max-width: 767px) {
    .np2-main {
        --np2-s-5: 24px;
        --np2-s-7: 40px;
        --np2-section: 64px;
    }

    .np2-main .np2-hero { padding: 104px 20px 56px !important; }

    .np2-main .np2-summary.summary { gap: 20px; overflow-wrap: anywhere; }

    .np2-main .np2-thumbs { gap: var(--np2-s-2); }

    .np2-main .np2-shipping { font-size: 14px !important; padding: var(--np2-s-2) 10px !important; }
    .np2-main .np2-shipping::before { flex-basis: 24px; height: 24px; }

    .np2-main .np2-payment { gap: 10px; }
    .np2-main .np2-payment img { max-width: 40px; height: 22px; }

    .np2-main .np2-qty-row { gap: 12px 20px; }
    .np2-main .quantity .qty-minus,
    .np2-main .quantity .qty-plus { flex-basis: 44px; width: 44px !important; }
    .np2-main .quantity .qty-inset input.qty,
    .np2-main .quantity input.qty { flex-basis: 56px; width: 56px !important; }

    .np2-main .np2-options { gap: var(--np2-s-2); }
    .np2-main .np2-variants { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--np2-s-2); }
    .np2-main .np2-variant { padding: var(--np2-s-3) var(--np2-s-2) !important; gap: var(--np2-s-3); }
    .np2-main .np2-variant-label { font-size: 14px; }
    .np2-main .np2-variant-text { font-size: 12px; }
    .np2-main .np2-option { padding: 14px var(--np2-s-2) !important; font-size: 14px !important; }

    .np2-main .np2-section:not(.np2-section--block) { padding-left: 20px !important; padding-right: 20px !important; }

    .np2-main .np2-section-content,
    .np2-main .np2-section--features .np2-section-content {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--np2-s-4);
    }

    .np2-main .np2-section--products .np2-product-card { flex-basis: 100%; }

    .np2-main .np2-section--bundle .np2-section-content { grid-template-columns: minmax(0, 1fr); }
    .np2-main .np2-bundle-card h3 { font-size: 24px !important; }

    .np2-main .np2-prose,
    .np2-main .np2-prose p { font-size: 16px !important; }

    .np2-main .np2-feature h3 { font-size: 18px !important; }

    .np2-main .np2-section--story .np2-prose,
    .np2-main .np2-section--story .np2-prose p { font-size: 16px !important; }

    .np2-main .np2-section--story .np2-prose > * + * { margin-top: var(--np2-s-3) !important; }

    .np2-main .np2-section--pyramid .np2-card { padding: var(--np2-s-4) !important; }
    .np2-main .np2-section--pyramid .np2-card h3 { font-size: 26px !important; }

    .np2-main .np2-section--reviews .np2-section-intro { grid-template-columns: minmax(0, 1fr); }
    .np2-main .np2-section-aside { align-items: flex-start; }

    .np2-main .np2-section--cta .np2-section-inner,
    .np2-main .np2-section--cta:not(.np2-has-image) .np2-section-inner { padding: 40px var(--np2-s-4) !important; border-radius: var(--np2-radius); }
    .np2-main .np2-section--cta .np2-prose,
    .np2-main .np2-section--cta .np2-prose p { font-size: 16px !important; }
    .np2-main .np2-section--cta .np2-section-heading > .np2-button { margin-top: var(--np2-s-5) !important; }
    .np2-main .np2-section--cta .np2-button { min-width: 0; }

    .np2-main .np2-faq .np2-section-inner { gap: var(--np2-s-5); }
    .np2-main .np2-faq-list .np2-detail summary { padding: 18px 60px 18px var(--np2-s-3) !important; font-size: 16px !important; }
    .np2-main .np2-faq-list .np2-detail summary::after { right: var(--np2-s-3); }
    .np2-main .np2-faq-list .np2-detail-body { padding: 0 var(--np2-s-3) 20px !important; }
    .np2-main .np2-faq-intro p { font-size: 16px !important; }
}

@media (prefers-reduced-motion: reduce) {
    .np2-main * { transition: none !important; scroll-behavior: auto !important; }
}
