/* =====================================================================
   NTW PDP - Variantes + Apercu narratif + Spec lists
   ---------------------------------------------------------------------
   Couvre :
   - .ntw-pdp-variants (swatches coloris + sizes passifs)
   - .ntw-pdp-overview (narratif visuel du tab Apercu : photo+texte alterne)
   - .ntw-pdp-spec-list (grid pro pour les tabs techniques)

   Variables CSS reutilisees du starter nature-digitale :
   --color-text, --color-bg, --color-bg-soft, --color-bg-muted,
   --color-border, --color-main-1, --radius, --font-base, --fs-small.
   ===================================================================== */


/* ---- Variantes : header label --------------------------------------- */

.ntw-pdp-variants {
    margin: 1.25rem 0;
}

.ntw-pdp-variants-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b6b6b;
    margin-bottom: 0.6rem;
}

.ntw-pdp-variants-label-value {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--color-text, #221f21);
    margin-left: 0.4rem;
}


/* ---- Swatches coloris (interactifs, lien vers SKU) ------------------ */

.ntw-pdp-swatches {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ntw-pdp-swatches li { margin: 0; }

.ntw-pdp-swatch {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 3px;
    border: 2px solid transparent;
    border-radius: var(--radius, 10px);
    background: var(--color-bg-soft, #fafafa);
    text-decoration: none;
    color: var(--color-text, #221f21);
    transition: border-color 0.15s ease, transform 0.15s ease;
    overflow: hidden;
}

.ntw-pdp-swatch:hover {
    border-color: var(--color-border, #dbdbdb);
    transform: translateY(-1px);
}

.ntw-pdp-swatch.is-active {
    border-color: var(--color-text, #221f21);
}

.ntw-pdp-swatch-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius, 10px) - 4px);
}

.ntw-pdp-swatch-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #4a4a4a;
    background: linear-gradient(135deg, #e8e3da 0%, #cdc4b3 100%);
    border-radius: calc(var(--radius, 10px) - 4px);
}


/* ---- Tailles disponibles : affichage passif (chips read-only) ------- */

.ntw-pdp-sizes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ntw-pdp-sizes li { margin: 0; }

.ntw-pdp-size-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--color-border, #dbdbdb);
    border-radius: var(--radius, 10px);
    background: var(--color-bg, #ffffff);
    color: var(--color-text, #221f21);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: default;
}

/* Selecteur longueur actif (variante interactive du chip, navigation pleine page) */
.ntw-pdp-size {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--color-border, #dbdbdb);
    border-radius: var(--radius, 10px);
    background: var(--color-bg, #ffffff);
    color: var(--color-text, #221f21);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}

.ntw-pdp-size:hover {
    border-color: var(--color-text, #221f21);
    transform: translateY(-1px);
}

.ntw-pdp-size.is-active {
    border-color: var(--color-text, #221f21);
    background: var(--color-text, #221f21);
    color: #fff;
}


/* ---- Apercu narratif : alternance photo + texte --------------------- */

.ntw-pdp-overview {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 0.5rem 0 1rem;
    font-family: var(--font-base, "Roboto", Arial, sans-serif);
    color: var(--color-text, #221f21);
}

.ntw-pdp-overview-block {
    width: 100%;
}

.ntw-pdp-overview-intro {
    font-size: 1.05rem;
    line-height: 1.7;
}

.ntw-pdp-overview-intro p,
.ntw-pdp-overview-intro ul,
.ntw-pdp-overview-intro ol {
    margin: 0 0 1rem;
}

.ntw-pdp-overview-intro ul,
.ntw-pdp-overview-intro ol {
    padding-left: 1.4rem;
}

.ntw-pdp-overview-intro li {
    margin-bottom: 0.5rem;
}

.ntw-pdp-overview-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.ntw-pdp-overview-split.is-photo-right {
    direction: rtl;
}

.ntw-pdp-overview-split.is-photo-right > * {
    direction: ltr;
}

.ntw-pdp-overview-media {
    overflow: hidden;
    border-radius: var(--radius, 10px);
    background: var(--color-bg-muted, #f1f1f1);
}

.ntw-pdp-overview-media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.ntw-pdp-overview-text {
    font-size: 1rem;
    line-height: 1.65;
}

.ntw-pdp-overview-text h3 {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-text, #221f21);
}

.ntw-pdp-overview-text p,
.ntw-pdp-overview-text ul,
.ntw-pdp-overview-text ol {
    margin: 0 0 0.75rem;
}

.ntw-pdp-overview-text ul,
.ntw-pdp-overview-text ol {
    padding-left: 1.4rem;
}

.ntw-pdp-overview-text li {
    margin-bottom: 0.4rem;
}

/* Apercu sans photo : on prend toute la largeur */
.ntw-pdp-overview-split:not(:has(.ntw-pdp-overview-media)) {
    grid-template-columns: 1fr;
}


/* ---- Specs : grid pro pour les tabs techniques ---------------------- */

.ntw-pdp-spec-group {
    margin-bottom: 2rem;
}

.ntw-pdp-spec-group:last-child {
    margin-bottom: 0;
}

.ntw-pdp-spec-group h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #6b6b6b;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ntw-pdp-spec-list {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-border, #dbdbdb);
    border-radius: 0;
    background: transparent;
}

.ntw-pdp-spec-row {
    display: contents;
}

.ntw-pdp-spec-row dt,
.ntw-pdp-spec-row dd {
    margin: 0;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--color-border, #dbdbdb);
    font-size: 0.95rem;
    line-height: 1.55;
}

.ntw-pdp-spec-row dt {
    font-weight: 500;
    color: #6b6b6b;
    background: var(--color-bg-soft, #fafafa);
}

.ntw-pdp-spec-row dd {
    color: var(--color-text, #221f21);
    background: var(--color-bg, #ffffff);
    word-break: break-word;
}

.ntw-pdp-spec-row dd p,
.ntw-pdp-spec-row dd ul,
.ntw-pdp-spec-row dd ol {
    margin: 0 0 0.5rem;
}

.ntw-pdp-spec-row dd p:last-child,
.ntw-pdp-spec-row dd ul:last-child,
.ntw-pdp-spec-row dd ol:last-child {
    margin-bottom: 0;
}

.ntw-pdp-spec-row dd ul,
.ntw-pdp-spec-row dd ol {
    padding-left: 1.3rem;
}


/* ---- CTA bottom (photo de fond + overlay) --------------------------- */

.ntw-pdp-bottom-cta {
    position: relative;
    margin-top: 3rem;
    padding: 4.5rem 1.5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    overflow: hidden;
}

.ntw-pdp-bottom-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 25, 22, 0.78) 0%, rgba(20, 25, 22, 0.5) 100%);
    pointer-events: none;
}

.ntw-pdp-bottom-cta-inner {
    position: relative;
    z-index: 1;
    max-width: var(--width-content, 1200px);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
    justify-content: space-between;
    /* Override de la regle Phase 5 starter (gradient sombre + radius + shadow) :
       on veut le texte directement sur l'image de fond, pas dans une card */
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.ntw-pdp-bottom-cta-text h2,
.ntw-pdp-bottom-cta-text p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.ntw-pdp-bottom-cta-text {
    flex: 1 1 480px;
    min-width: 0;
}

.ntw-pdp-bottom-cta-text h2 {
    margin: 0 0 0.75rem;
    color: #ffffff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    font-weight: 600;
}

.ntw-pdp-bottom-cta-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 640px;
}

.ntw-pdp-bottom-cta-actions {
    flex: 0 0 auto;
}

.ntw-pdp-bottom-cta-actions .btn {
    background: #ffffff;
    color: var(--color-text, #221f21);
    border: none;
    padding: 0.95rem 1.75rem;
    border-radius: var(--radius, 10px);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.ntw-pdp-bottom-cta-actions .btn:hover {
    background: var(--color-main-1, #009a4f);
    color: #ffffff;
    transform: translateY(-1px);
}


/* ---- Responsive mobile ---------------------------------------------- */

@media (max-width: 720px) {

    .ntw-pdp-swatch {
        width: 48px;
        height: 48px;
    }

    .ntw-pdp-size-chip,
    .ntw-pdp-size {
        min-width: 60px;
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }

    .ntw-pdp-overview {
        gap: 2rem;
    }

    .ntw-pdp-overview-split {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .ntw-pdp-overview-split.is-photo-right {
        direction: ltr;
    }

    .ntw-pdp-overview-intro {
        font-size: 1rem;
    }

    .ntw-pdp-overview-text h3 {
        font-size: 1.2rem;
    }

    /* Spec list : passe en stack vertical par ligne */
    .ntw-pdp-spec-list {
        grid-template-columns: 1fr;
        border-top: none;
    }

    .ntw-pdp-spec-row dt {
        padding-bottom: 0.25rem;
        border-bottom: none;
        background: transparent;
        font-size: 0.8rem;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .ntw-pdp-spec-row dd {
        padding-top: 0.25rem;
        padding-bottom: 1rem;
        border-top: none;
    }

    .ntw-pdp-spec-row + .ntw-pdp-spec-row dt {
        border-top: 1px solid var(--color-border, #dbdbdb);
        padding-top: 0.85rem;
    }

    .ntw-pdp-bottom-cta {
        padding: 3rem 1.25rem;
    }

    .ntw-pdp-bottom-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =====================================================================
   PDP sans onglets (2026-05) : hero bandeau + sections empilees + 2A
   ===================================================================== */

/* ---- Hero bandeau editorial (image d'ambiance du profil) ----------- */
.site-main.ntw-pdp > .ntw-pdp-hero-banner {
    /* Annule le cap .site-main.ntw-pdp > * (max-width 1200 + margin auto) */
    max-width: none;
    margin-inline: 0;
}
.ntw-pdp-hero-banner {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    background-color: #16241a;
    background-size: cover;
    background-position: center;
    margin-bottom: 1.5rem;
}
.ntw-pdp-hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 16, 11, 0.9) 4%, rgba(8, 16, 11, 0.15) 55%, rgba(8, 16, 11, 0.42) 100%);
    pointer-events: none;
}
.ntw-pdp-hero-banner-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--width-content, 1200px);
    margin-inline: auto;
    padding-block: 2.25rem;
    color: #fff;
}
.ntw-pdp-hero-crumb {
    font-size: 0.8rem;
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
}
.ntw-pdp-hero-crumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.ntw-pdp-hero-crumb li {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ntw-pdp-hero-crumb li:not(:last-child)::after {
    content: "\203A";
    color: rgba(255, 255, 255, 0.6);
}
.ntw-pdp-hero-crumb a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color 0.15s ease;
}
.ntw-pdp-hero-crumb a:hover { color: #fff; }
.ntw-pdp-hero-crumb li:last-child span { color: #bdebd0; }
.ntw-pdp-hero-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7be0a8;
    font-weight: 700;
}
.ntw-pdp-hero-name {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.1;
}

/* ---- Resume caracteristiques cles dans la zone d'achat (scan) ------- */
.ntw-pdp-buy-scan {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
    margin: 0 0 1.25rem;
}
.ntw-pdp-buy-scan > div {
    padding: 0.7rem 0;
    border-top: 1px solid var(--color-border, #e1e1e1);
}
.ntw-pdp-buy-scan dt {
    margin: 0 0 0.2rem;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6b6b6b;
}
.ntw-pdp-buy-scan dd {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text, #221f21);
}

/* ---- Sections empilees (remplacent les onglets) -------------------- */
.ntw-pdp-section {
    padding-block: 3rem;
    border-bottom: 1px solid var(--color-border, #e1e1e1);
}
.ntw-pdp-section:last-of-type { border-bottom: 0; }
.ntw-pdp-section-title {
    margin: 0 0 1.5rem;
    font-size: clamp(1.4rem, 2.2vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--color-text, #221f21);
}
.ntw-pdp-section-cta { margin: 1.25rem 0 0; }

/* ---- Bande generique marque (2A) - switch terrasse/bardage --------- */
.site-main.ntw-pdp > .ntw-pdp-generic-band {
    /* Annule le cap .site-main.ntw-pdp > * pour s'etendre pleine largeur */
    max-width: none;
    margin-inline: 0;
}
.ntw-pdp-generic-band {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    margin-block: 1.5rem 0;
    padding-block: 5rem;
    background-color: #0f3a22;
    background-size: cover;
    background-position: center;
}
.ntw-pdp-generic-band:not(.has-bg) {
    background-image: linear-gradient(120deg, #0c2014 0%, #0f3a22 55%, #00622f 100%);
}
.ntw-pdp-generic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(8, 20, 12, 0.9) 0%, rgba(12, 40, 24, 0.72) 55%, rgba(0, 70, 36, 0.5) 100%);
    pointer-events: none;
}
.ntw-pdp-generic-inner {
    position: relative;
    z-index: 2;
    max-width: var(--width-content, 1200px);
    margin-inline: auto;
}
.ntw-pdp-generic-eyebrow {
    margin: 0 0 0.9rem;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7be0a8;
    font-weight: 700;
}
.ntw-pdp-generic-title {
    margin: 0 auto 0.85rem;
    max-width: 880px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
}
.ntw-pdp-generic-text {
    margin: 0 auto 1.5rem;
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}
.ntw-pdp-generic-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.ntw-pdp-generic-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

/* Padding-inline sous 1200 pour les inner des bandes pleine largeur
   (meme pattern que .site-main.ntw-pdp > * gere dans style.css) */
@media (max-width: 1200px) {
    .ntw-pdp-hero-banner-inner,
    .ntw-pdp-generic-inner {
        padding-inline: var(--space-1, 24px);
    }
}

@media (max-width: 720px) {
    .ntw-pdp-hero-banner { min-height: 240px; }
    .ntw-pdp-section { padding-block: 2.25rem; }
    .ntw-pdp-generic-band { padding-block: 3rem; }
}


/* =====================================================================
   PDP - Design fin des sections (reproduit la maquette validee 2026-05)
   ===================================================================== */

/* ---- Duo image + texte (Apercu, Pose) ----------------------------- */
.ntw-pdp-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.6rem;
    align-items: center;
    margin-bottom: 2rem;
}
.ntw-pdp-duo:last-child { margin-bottom: 0; }
/* Sans image (accessoires, fiches sans ambiance) : le texte prend toute la largeur */
.ntw-pdp-duo:not(:has(.ntw-pdp-duo-media)) { grid-template-columns: 1fr; }
/* Pose : tableau aligne en haut avec le titre (pas centre sur la hauteur de l'image) */
.ntw-pdp-duo.is-rev { align-items: start; }
.ntw-pdp-duo.is-rev .ntw-pdp-duo-media { order: 2; }
.ntw-pdp-duo-media {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--color-border, #e1e1e1);
    background: var(--color-bg, #fff);
}
.ntw-pdp-duo-media img { display: block; width: 100%; height: auto; }
.ntw-pdp-duo-media.is-square {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-soft, #f6f6f4);
}
.ntw-pdp-duo-media.is-square img { width: 100%; height: 100%; object-fit: contain; }

/* ---- Puces a ticks (argumentaire Apercu = <ul>) -------------------- */
.ntw-pdp-bullets ul { list-style: none; margin: 0; padding: 0; }
.ntw-pdp-bullets li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.95rem;
    font-size: 0.97rem;
    line-height: 1.6;
    color: #3c3c3c;
}
.ntw-pdp-bullets li:last-child { margin-bottom: 0; }
.ntw-pdp-bullets li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.35rem;
    height: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 900;
    color: var(--color-main-1, #009a4f);
    background: #e7f6ee;
    border-radius: 50%;
}
.ntw-pdp-bullets > p { margin: 0 0 0.9rem; line-height: 1.65; }
.ntw-pdp-bullets > p:last-child { margin-bottom: 0; }

/* ---- Bande KPI cles (Caracteristiques & dimensions) --------------- */
.ntw-pdp-kpi-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1px;
    background: var(--color-border, #e1e1e1);
    border: 1px solid var(--color-border, #e1e1e1);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.8rem;
}
.ntw-pdp-kpi { background: var(--color-bg, #fff); padding: 1.4rem 1.3rem; }
.ntw-pdp-kpi-num {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.05;
    color: var(--color-main-1-hover, #007a3e);
}
.ntw-pdp-kpi-cap { margin-top: 0.5rem; font-size: 0.78rem; color: #6a6a6a; }

/* ---- Tableau 2 colonnes (specs / dimensions / pose / certifs) ------ */
.ntw-pdp-twocol { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
.ntw-pdp-twocol.is-single { grid-template-columns: 1fr; }
.ntw-pdp-twocol-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--color-border, #e1e1e1);
    font-size: 0.95rem;
}
.ntw-pdp-twocol-row dt { margin: 0; color: #6a6a6a; }
.ntw-pdp-twocol-row dd { margin: 0; font-weight: 600; text-align: right; color: var(--color-text, #221f21); }
.ntw-pdp-twocol-row dd p { margin: 0; display: inline; }

/* ---- Note d'entretien (sous Pose) --------------------------------- */
.ntw-pdp-pose-note {
    margin-top: 1.1rem;
    background: var(--color-bg-soft, #f6f6f4);
    border: 1px solid var(--color-border, #e1e1e1);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #3c3c3c;
}
.ntw-pdp-pose-note strong { color: var(--color-text, #221f21); }
.ntw-pdp-pose-note p { margin: 0.4rem 0 0; display: inline; }

/* ---- Certifications : badge + tableau ------------------------------ */
.ntw-pdp-cert-row { display: flex; gap: 1.6rem; align-items: flex-start; flex-wrap: wrap; }
.ntw-pdp-cert-badge {
    flex-shrink: 0;
    width: 108px;
    height: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-soft, #f6f6f4);
    border: 1px solid var(--color-border, #e1e1e1);
    border-radius: 14px;
}
.ntw-pdp-cert-badge b { font-size: 1.6rem; font-weight: 800; line-height: 1; color: var(--color-main-1-hover, #007a3e); }
.ntw-pdp-cert-badge small { margin-top: 0.4rem; font-size: 0.65rem; letter-spacing: 0.08em; color: #6a6a6a; }
/* Variante FSC : logo officiel C223203 en portrait. Override des dimensions
   carrees du badge texte (108x108) pour respecter le ratio du logo (~3:5). */
.ntw-pdp-cert-badge.ntw-pdp-cert-badge--fsc {
    width: auto;
    height: auto;
    padding: 10px;
    background: #fff;
}
.ntw-pdp-cert-badge--fsc img { display: block; width: 110px; height: auto; }
.ntw-pdp-cert-table { flex: 1 1 320px; min-width: 280px; }

/* ---- Produits similaires : cards blanches packshot ----------------- */
.ntw-pdp-related-title { text-align: center; margin-bottom: 2rem; }
.ntw-pdp-related-grid { grid-template-columns: repeat(3, 1fr); }
.ntw-pdp-rel-card {
    display: block;
    border: 1px solid var(--color-border, #e1e1e1);
    border-radius: 14px;
    overflow: hidden;
    background: var(--color-bg, #fff);
    text-decoration: none;
    color: var(--color-text, #221f21);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ntw-pdp-rel-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.18); }
.ntw-pdp-rel-ph {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg, #fff);
}
.ntw-pdp-rel-ph img { width: 100%; height: 100%; object-fit: contain; }
.ntw-pdp-rel-noimg { color: #b0b0b0; font-size: 0.85rem; }
.ntw-pdp-rel-meta { padding: 0.9rem 1rem; border-top: 1px solid var(--color-border, #e1e1e1); }
.ntw-pdp-rel-cat {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-main-1, #009a4f);
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.ntw-pdp-rel-meta strong { display: block; font-size: 0.9rem; line-height: 1.3; }
.ntw-pdp-rel-meta small { display: block; margin-top: 0.2rem; color: #6a6a6a; font-size: 0.78rem; }

/* ---- Bloc contact (accessoires sans echantillon) ------------------- */
.ntw-pdp-contact {
    background: var(--color-bg-soft, #f6f6f4);
    border: 1px solid var(--color-border, #e1e1e1);
    border-radius: 12px;
    padding: 1.25rem;
}
.ntw-pdp-contact strong { display: block; font-size: 1rem; color: var(--color-text, #221f21); margin-bottom: 0.3rem; }
.ntw-pdp-contact p { margin: 0 0 1rem; font-size: 0.88rem; line-height: 1.5; color: #6a6a6a; }
.ntw-pdp-contact .ntw-pdp-cta { text-decoration: none; }

/* ---- CTA revendeur : pleine largeur, colle au footer --------------- */
.site-main.ntw-pdp { padding-bottom: 0; }
.site-main.ntw-pdp > .ntw-pdp-bottom-cta { max-width: none; margin-inline: 0; }
.ntw-pdp-bottom-cta { margin-top: 0; margin-bottom: 0; }

/* ---- Responsive sections ------------------------------------------ */
@media (max-width: 820px) {
    .ntw-pdp-duo,
    .ntw-pdp-twocol { grid-template-columns: 1fr; gap: 1.5rem; }
    .ntw-pdp-duo.is-rev .ntw-pdp-duo-media { order: 0; }
    .ntw-pdp-twocol { column-gap: 0; }
    .ntw-pdp-related-grid { grid-template-columns: 1fr; }
    .ntw-pdp-twocol-row dd { text-align: left; }
    .ntw-pdp-cert-table { min-width: 0; }
}
