/* Police unique sur les fiches (23/11/2026) : le nom « Open Sans » (police par défaut de Divi) pointe sur Source Sans 3,
   déjà chargée. Les quatre fichiers Open Sans (≈ 100 Ko, priorité maximale) ne sont plus téléchargés. */
@font-face{font-family:'Open Sans';font-style:normal;font-weight:200 900;font-display:swap;src:url(/wp-content/themes/agrinutriment-native-prod/assets/source-sans-3-latin-wght-normal.woff2) format('woff2')}
@font-face{font-family:'Open Sans';font-style:italic;font-weight:200 900;font-display:swap;src:url(/wp-content/themes/agrinutriment-native-prod/assets/source-sans-3-latin-wght-normal.woff2) format('woff2')}

.agr-pdp-premium {
    --pdp-action: var(--agri-action, #287b49);
    --pdp-ink: var(--agri-text, #273d40);
    --pdp-muted: var(--agri-muted, #52645d);
    --pdp-line: var(--agri-border, #dce8d8);
    --pdp-soft: var(--agri-soft-green, #e9f4e4);
    --pdp-bg: var(--agri-bg, #f8faf5);
}

.agr-pdp-premium main .agr-product-hero :is(h1, .ab-vc-title),
.agr-pdp-premium main .agr-product-knowledge :is(h2, h3),
.agr-pdp-premium main .agr-product-documents > h2,
.agr-pdp-premium main .agr-product-related h2 {
    color: var(--pdp-ink) !important;
}

body.single-product.agr-product-layout.agr-pdp-premium main .agr-product-intro .agr-r3-nav > ul {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem .5rem;
}

body.single-product.agr-product-layout.agr-pdp-premium main .agr-product-intro .agr-r3-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: .3rem .75rem !important;
    color: var(--pdp-ink);
    border: 1px solid var(--pdp-line);
    border-radius: .5rem;
    background: white;
    text-decoration: none !important;
}

.agr-pdp-premium main .agr-r3-nav li + li::before {
    display: none;
}

.agr-pdp-premium main .agr-r3-nav a:hover {
    background: var(--pdp-soft);
}

.agr-pdp-premium main :is(.agr-r3-nav, .agr-product-purchase, .agr-product-documents, .agr-product-related) :focus-visible {
    outline: 2px solid var(--pdp-action);
    outline-offset: 3px;
}

.agr-pdp-premium main :is(#agr-r3-conditionnements, #agr-r3-caracteristiques, #agr-r3-documents, #agr-pdp-applications) {
    scroll-margin-block-start: 7rem;
}

.agr-pdp-premium main .agr-product-purchase {
    min-width: 0;
}

.agr-pdp-premium main .agr-product-main > .agr-product-gallery {
    align-self: start;
    padding: .6rem;
    border: 1px solid var(--pdp-line);
    border-radius: .75rem;
    background: white;
}

.agr-pdp-premium main .agr-product-purchase .ab-card .ab-unit-value {
    color: var(--pdp-ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.agr-pdp-premium main .agr-product-purchase .ab-card .ab-unit-suffix {
    color: var(--pdp-muted);
}

.agr-pdp-premium main .agr-product-purchase .agr-product-delivery .ab-pack-size[hidden] {
    display: none !important;
}

.agr-pdp-premium main .agr-product-purchase .ab-price-soit {
    display: none;
}

.agr-pdp-premium main .agr-product-purchase .agr-pdp-offer-basis {
    flex-basis: 100%;
    color: var(--pdp-muted);
    font-size: .8125rem;
    line-height: 1.3;
}

.agr-pdp-premium main .agr-product-purchase .mi-vi-description {
    color: var(--pdp-muted);
}

.agr-pdp-premium main .agr-product-purchase .ab-vc-cart-form .ab-btn[type="submit"] {
    min-height: 2.75rem;
    background-color: var(--pdp-action);
    color: white;
}

.agr-pdp-premium main .agr-product-knowledge .agri-table :is(td, th) {
    padding: .7rem .85rem;
    color: var(--pdp-ink);
    border-bottom: 1px solid var(--pdp-line);
}

.agr-pdp-premium main .agr-product-knowledge .agri-table th[scope="row"] {
    background: transparent;
    font-weight: 600;
}

.agr-pdp-premium main .agr-product-knowledge .agri-table thead th {
    background: var(--pdp-soft);
}

.agr-pdp-premium main .agr-product-knowledge .agri-table tbody td {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.agr-pdp-premium main .agr-product-knowledge .agri-table tr:nth-child(even) {
    background: var(--pdp-bg);
}

.agr-pdp-premium main#main-content .agr-pdp-doc-list {
    row-gap: .625rem !important;
}

.agr-pdp-premium main#main-content .agr-pdp-doc-list > .et_pb_module:has(> .et_pb_code_inner > .agri-doc-card-wrap:only-child),
.agr-pdp-premium main#main-content .agr-pdp-doc-list > .et_pb_module > .et_pb_code_inner:has(> .agri-doc-card-wrap:only-child),
.agr-pdp-premium main#main-content .agr-pdp-doc-list > .et_pb_module > .et_pb_code_inner > .agri-doc-card-wrap:only-child {
    display: grid !important;
    margin: 0 !important;
}

.agr-pdp-premium main#main-content .agr-pdp-doc-list .agri-doc-card {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem !important;
    min-height: 5rem !important;
    padding: .75rem .85rem !important;
    border: 1px solid var(--pdp-line) !important;
    border-radius: .625rem !important;
    background: white !important;
    box-shadow: none !important;
    text-align: left;
    text-decoration: none;
    font: inherit;
    color: var(--pdp-ink);
    transform: none !important;
}

.agr-pdp-premium main#main-content .agr-pdp-doc-list .agri-doc-card::before,
.agr-pdp-premium main#main-content .agr-pdp-doc-list .agri-doc-card::after {
    display: none;
}

.agr-pdp-premium main#main-content .agr-pdp-doc-list .agri-doc-card:is(a, button):hover {
    border-color: var(--pdp-action) !important;
    background: var(--pdp-soft) !important;
}

.agr-pdp-premium main#main-content .agr-pdp-doc-list .agr-pdp-doc-unavailable {
    background: var(--pdp-bg) !important;
}

.agr-pdp-doc-list .agr-pdp-doc-trigger {
    cursor: pointer;
}

.agr-pdp-doc-icon {
    display: grid;
    place-items: center;
    inline-size: 2.375rem;
    block-size: 2.5rem;
    border: 1px solid var(--pdp-line);
    border-radius: .5rem;
    background: var(--pdp-bg);
}

.agr-pdp-doc-icon .agri-doc-card__file {
    width: 1.125rem;
    height: 1.375rem;
    filter: none;
}

.agr-pdp-doc-copy {
    display: grid;
    line-height: 1.25;
}

.agr-pdp-premium main#main-content .agr-pdp-doc-list :is(.agr-pdp-doc-status, .agr-pdp-document-context, .agr-pdp-doc-format) {
    margin: .2rem 0 0;
    padding: 0;
    color: var(--pdp-muted);
    font-size: .875rem;
    line-height: 1.35;
}

.agr-pdp-doc-card-action {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    color: var(--pdp-action);
    font-size: .875rem;
    font-weight: 700;
}

.agr-pdp-doc-card-action::after {
    content: '';
    inline-size: .425em;
    block-size: .425em;
    border: solid currentColor;
    border-width: 1.5px 1.5px 0 0;
    transform: rotate(45deg);
}

.agr-pdp-doc-trigger:focus-visible,
.agr-pdp-doc-dialog :focus-visible {
    outline: 2px solid var(--pdp-action);
    outline-offset: 3px;
}

html:has(.agr-pdp-doc-dialog[open]) {
    overflow: hidden;
}

.agr-pdp-premium .agr-pdp-doc-dialog {
    box-sizing: border-box;
    inline-size: min(100% - 2rem, 30rem);
    max-block-size: calc(100dvh - 2rem);
    margin: auto;
    padding: clamp(1.125rem, 4vw, 1.75rem);
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--pdp-line);
    border-radius: .875rem;
    background: white;
    color: var(--pdp-ink);
    box-shadow: 0 12px 40px rgb(27 52 39 / .17);
}

.agr-pdp-doc-dialog::backdrop {
    background: rgb(25 47 42 / .46);
}

.agr-pdp-doc-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.agr-pdp-doc-dialog .agr-pdp-doc-dialog-product {
    margin: 0 0 .35rem;
    color: var(--pdp-action);
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.25;
}

.agr-pdp-doc-dialog #agr-pdp-doc-title {
    margin: 0;
    color: var(--pdp-ink);
    font-size: clamp(1.25rem, 4vw, 1.625rem);
    font-weight: 700;
    line-height: 1.16;
    overflow-wrap: anywhere;
}

.agr-pdp-doc-dialog #agr-pdp-doc-message {
    margin: .85rem 0 0;
    color: var(--pdp-muted);
    line-height: 1.5;
}

.agr-pdp-doc-dialog .agr-pdp-doc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .625rem;
    margin-top: 1.25rem;
}

.agr-pdp-doc-dialog :is(.agr-pdp-doc-close, .agr-pdp-doc-actions > *) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4em;
    min-height: 2.75rem;
    padding: .5rem .875rem;
    border: 1px solid var(--pdp-line);
    border-radius: .5rem;
    background: var(--pdp-bg);
    color: var(--pdp-ink);
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.agr-pdp-doc-dialog .agr-pdp-doc-close {
    flex: 0 0 2.75rem;
    padding: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.agr-pdp-doc-dialog .agr-pdp-doc-primary {
    border-color: #287b49;
    background: #287b49;
    color: white;
}

.agr-pdp-doc-dialog :is(.agr-pdp-doc-close, .agr-pdp-doc-actions > :not(.agr-pdp-doc-primary)):hover {
    background: var(--pdp-soft);
}

.agr-pdp-doc-dialog .agr-pdp-doc-primary:hover {
    border-color: #1b6037;
    background: #1b6037;
    color: white;
}

.agr-pdp-doc-dialog [hidden] {
    display: none !important;
}

.agr-pdp-premium main .agr-product-knowledge ul.agr-pdp-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: .5rem;
    padding: 0;
    margin: .75rem 0 1rem;
    list-style: none;
}

.agr-pdp-premium main .agr-product-knowledge ul.agr-pdp-methods li {
    display: block;
    margin: 0;
    list-style: none;
    padding: .65rem .8rem;
    border: 1px solid var(--pdp-line);
    border-radius: .5rem;
    background: var(--pdp-bg);
    color: var(--pdp-ink);
}

.agr-pdp-premium main .agr-pdp-measurement {
    white-space: nowrap;
}

.agr-pdp-premium main .agr-pdp-assistance {
    display: flex;
    justify-content: flex-end;
    margin-top: .65rem;
}

.agr-pdp-premium main .agr-pdp-assistance:empty {
    display: none;
}

.agr-pdp-premium main .agr-pdp-assistance :is(.mi-pro-launcher, .mi-chat-launcher) {
    position: static !important;
    padding: .55rem .8rem;
    border: 1px solid var(--pdp-line);
    border-radius: .5rem;
    color: var(--pdp-ink) !important;
    background: white !important;
    box-shadow: none;
}

.agr-pdp-premium main .agr-pdp-assistance :is(.mi-pro-launcher, .mi-chat-launcher):hover {
    background: var(--pdp-soft) !important;
}

@media (max-width: 600px) {
    .agr-pdp-premium main .agr-product-intro:has(.agr-product-breadcrumbs) .agr-product-eyebrow {
        display: none;
    }

    .agr-pdp-premium main .agr-product-intro .agr-product-lead {
        line-height: 1.4;
    }

    .agr-pdp-premium main .agr-product-intro .agr-r3-nav {
        margin-top: .5rem;
    }

    .agr-pdp-premium main .agr-product-main > .agr-product-gallery {
        --pdp-packshot-size: clamp(10rem, 45vw, 12rem);
        padding: .35rem;
    }

    .agr-pdp-premium main#main-content .agr-product-gallery .flex-viewport,
    .agr-pdp-premium main#main-content .agr-product-gallery .woocommerce-product-gallery__image img:not(.zoomImg) {
        max-height: var(--pdp-packshot-size) !important;
    }

    .agr-pdp-premium main#main-content .agr-product-gallery .woocommerce-product-gallery__image img:not(.zoomImg) {
        height: var(--pdp-packshot-size) !important;
        object-fit: contain;
    }

    body.single-product.agr-product-layout.agr-pdp-premium main .agr-product-intro .agr-r3-nav > ul {
        gap: .25rem .65rem;
    }

    body.single-product.agr-product-layout.agr-pdp-premium main .agr-product-intro .agr-r3-nav a {
        justify-content: center;
        min-height: 2.75rem;
        padding-inline: .125rem !important;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-size: .75rem !important;
        text-decoration: underline !important;
        text-underline-offset: .3em;
    }

    .agr-pdp-premium main .agr-product-knowledge .agri-table :is(td, th) {
        padding: .65rem .55rem;
        overflow-wrap: anywhere;
    }

    .agr-pdp-premium main .agr-product-knowledge .agri-table tbody th[scope="row"] {
        width: 58%;
    }

    .agr-pdp-premium main .agr-product-knowledge .agri-table tbody td {
        font-size: .875rem;
    }
}

/* Miniatures de galerie : image entière contenue dans le carré, jamais rognée ni débordante (fond blanc comme la
 * photo principale). La miniature vidéo garde son propre cadrage. */
.agr-pdp-premium .woocommerce-product-gallery .flex-control-thumbs li:not(.agr-video-thumb) img:not(.agr-video-thumb-img) {
    box-sizing: border-box !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 3px !important;
    background: #fff !important;
}

/* Hauteur de carte constante quand la quantité change (21/11/2026).
 * Livraison : le délai « au-delà du stock » prend la place de la date, dans la même case.
 * Ligne du bas : un texte d'une ligne (économie ou prochain palier) et une action (ou « Meilleur tarif atteint »). */
.agr-pdp-premium main .agr-product-purchase .agr-product-delivery {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.agr-pdp-premium main .agr-product-purchase .agr-product-delivery > .ab-ship-pill {
    grid-area: 1 / 1;
    min-width: 0;
}

.agr-pdp-premium main .agr-product-purchase .agr-product-delivery > .agr-stock-pill[hidden] {
    display: flex !important;
    visibility: hidden;
}

.agr-pdp-premium main .agr-product-purchase .agr-product-delivery:has(> .agr-stock-pill:not([hidden])) > .ab-ship-pill:not(.agr-stock-pill) {
    visibility: hidden;
}

.agr-pdp-premium main .agr-product-purchase .mi-qp-next:not([hidden]) {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 2.75rem;
}

.agr-pdp-premium main .agr-product-purchase .mi-qp-next > :is([data-mi-qp-next-text], .agr-qp-hint) {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.agr-pdp-premium main .agr-product-purchase .mi-qp-next > :is([data-mi-qp-next-text], .agr-qp-hint) * {
    white-space: nowrap;
}

.agr-pdp-premium main .agr-product-purchase .mi-qp-next > :is([data-mi-qp-next-button], .agr-qp-best) {
    flex: 0 0 auto;
    white-space: nowrap;
}

.agr-pdp-premium main .agr-product-purchase .mi-qp-next > :is([hidden], .agr-qp-hint[hidden], .agr-qp-best[hidden]) {
    display: none !important;
}

.agr-pdp-premium main .agr-product-purchase .agr-qp-hint {
    color: var(--pdp-muted);
    font-size: .8125rem;
}

.agr-pdp-premium main .agr-product-purchase .agr-qp-best {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--pdp-muted);
    font-size: .8125rem;
    font-weight: 600;
}

.agr-pdp-premium main .agr-product-purchase .agr-pdp-offer-basis.agr-is-placeholder {
    visibility: hidden;
}

.agr-pdp-premium main .agr-product-purchase .mi-qp-next.agr-qp-reserve[hidden] {
    display: flex !important;
    visibility: hidden;
    height: 2.75rem;
    min-height: 2.75rem;
    overflow: hidden;
}

.agr-pdp-premium main .agr-product-purchase .agr-pdp-offer-basis {
    display: block;
    min-height: 1.3em;
}

/* Quantité refusée (au-delà d'un dernier palier fermé) : le module vide le prix ; sa ligne garde sa hauteur. */
.agr-pdp-premium main .agr-product-purchase .ab-card .ab-price-line .ab-price-main {
    min-height: max(1lh, 1.4375rem);
}

/* Description produit : une seule surface, sans boîtes imbriquées (demande du propriétaire, 21/11/2026).
 * Téléphone : bande blanche pleine largeur, caractéristiques en liste (libellé au-dessus, valeur dessous).
 * Ordinateur : la carte reste ; le tableau perd son cadre et ses fonds, traits fins entre les lignes.
 * Sélecteurs longs exprès : ils doivent passer devant ceux de Core (product-layout-presentation.php),
 * qui encadrent le tableau avec body.single-product.agr-product-layout … :not(:has(…)) et donnent
 * un fond gris aux libellés (tbody th[scope="row"]). */
@media (max-width: 767px) {
    body.single-product.agr-pdp-premium.agr-product-layout main .agr-product-details .et_pb_all_tabs {
        margin-inline: -20px !important;
        padding: 6px 20px 10px !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    body.single-product.agr-pdp-premium.agr-product-layout main .agr-product-details .et_pb_all_tabs::before {
        display: none !important;
    }
}

body.single-product.agr-pdp-premium.agr-product-layout main .agr-product-details .agr-product-table-scroll {
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.single-product.agr-pdp-premium.agr-product-layout main .agr-product-details .agri-desc table.agri-table:not(:has(tr > :nth-child(3), [colspan], [rowspan])) {
    display: block !important;
    width: 100% !important;
    margin: 4px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible !important;
}

body.single-product.agr-pdp-premium.agr-product-layout main .agr-product-details .agri-desc table.agri-table:not(:has(tr > :nth-child(3), [colspan], [rowspan])) thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

body.single-product.agr-pdp-premium.agr-product-layout main .agr-product-details .agri-desc table.agri-table:not(:has(tr > :nth-child(3), [colspan], [rowspan])) tbody {
    display: block !important;
    width: auto !important;
}

body.single-product.agr-pdp-premium.agr-product-layout main .agr-product-details .agri-desc table.agri-table:not(:has(tr > :nth-child(3), [colspan], [rowspan])) tbody tr {
    display: grid !important;
    grid-template-columns: minmax(0, 38%) minmax(0, 1fr) !important;
    column-gap: 20px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 12px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e7ece9 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

body.single-product.agr-pdp-premium.agr-product-layout main .agr-product-details .agri-desc table.agri-table:not(:has(tr > :nth-child(3), [colspan], [rowspan])) tbody tr:last-child {
    border-bottom: 0 !important;
}

body.single-product.agr-pdp-premium.agr-product-layout main .agr-product-details .agri-desc table.agri-table:not(:has(tr > :nth-child(3), [colspan], [rowspan])) tbody tr > :is(th[scope="row"], th, td) {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere;
}

body.single-product.agr-pdp-premium.agr-product-layout main .agr-product-details .agri-desc table.agri-table:not(:has(tr > :nth-child(3), [colspan], [rowspan])) tbody tr > :is(th[scope="row"], th, td)::before {
    content: none !important;
    display: none !important;
}

body.single-product.agr-pdp-premium.agr-product-layout main .agr-product-details .agri-desc table.agri-table:not(:has(tr > :nth-child(3), [colspan], [rowspan])) tbody tr > :is(th[scope="row"], th) {
    color: #5d6b63 !important;
    font-size: .875rem !important;
    font-weight: 600 !important;
}

body.single-product.agr-pdp-premium.agr-product-layout main .agr-product-details .agri-desc table.agri-table:not(:has(tr > :nth-child(3), [colspan], [rowspan])) tbody tr > td {
    color: #1d2939 !important;
    font-size: .9375rem !important;
    font-weight: 600 !important;
}

@media (max-width: 599px) {
    body.single-product.agr-pdp-premium.agr-product-layout main .agr-product-details .agri-desc table.agri-table:not(:has(tr > :nth-child(3), [colspan], [rowspan])) tbody tr {
        display: block !important;
        padding: 11px 0 !important;
    }

    body.single-product.agr-pdp-premium.agr-product-layout main .agr-product-details .agri-desc table.agri-table:not(:has(tr > :nth-child(3), [colspan], [rowspan])) tbody tr > :is(th[scope="row"], th) {
        margin-bottom: 2px !important;
        font-size: .8125rem !important;
    }

    body.single-product.agr-pdp-premium.agr-product-layout main .agr-product-details .agri-desc table.agri-table:not(:has(tr > :nth-child(3), [colspan], [rowspan])) tbody tr > td {
        font-size: 1rem !important;
    }
}

/* Achat sur téléphone : moins de boîtes (validé par le propriétaire le 21/11/2026, essayé sur AMYLO et
 * epsoTOP puis étendu à toutes les fiches à sa demande : « c'est vraiment top »).
 * Galerie et formats en bandes blanches pleine largeur, formats séparés par un trait fin ;
 * restent en boîte ce qui se manipule : sélecteur de quantité, bouton, cases des tarifs.
 * Titre « Choisir votre conditionnement » sans la barre verte ni le trait (jugés décalés). */
@media (max-width: 767px) {
    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .agr-product-gallery {
        width: calc(100% + 40px) !important;
        max-width: none !important;
        margin-inline: -20px !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .agr-product-gallery .flex-control-thumbs li img {
        border-color: transparent !important;
        box-shadow: none !important;
    }
    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .agr-product-gallery .flex-control-thumbs li img.flex-active {
        border-color: #257b48 !important;
    }

    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .agr-product-purchase .ab-variation-cards.agr-native-cards {
        overflow: visible !important;
    }
    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .agr-product-purchase .ab-variation-cards.agr-native-cards::before {
        display: none !important;
    }
    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .agr-product-purchase .ab-variation-cards .ab-vc-title::before,
    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .agr-product-purchase .ab-variation-cards .ab-vc-title::after {
        content: none !important;
        display: none !important;
    }
    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .agr-product-purchase .ab-variation-cards .ab-vc-title {
        padding-left: 0 !important;
    }
    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .agr-product-purchase .ab-variation-cards.agr-native-cards > .ab-card.ab-card {
        width: calc(100% + 40px) !important;
        max-width: none !important;
        margin-inline: -20px !important;
        border: 0 !important;
        border-top: 1px solid #e7ece9 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff !important;
    }
    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .agr-product-purchase .ab-variation-cards.agr-native-cards > .ab-card.ab-card:nth-child(1 of .ab-card) {
        border-top: 0 !important;
    }
    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .agr-product-purchase .ab-variation-cards.agr-native-cards:not(.agr-single-format) > .ab-card.ab-card.is-selected {
        background: #fbfdfa !important;
        box-shadow: inset 4px 0 0 #257b48 !important;
    }
    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .agr-product-purchase .ab-variation-cards.agr-native-cards > .ab-card.ab-card :is(.agr-card-header, .agr-card-panel) {
        padding-inline: 20px !important;
        border-top: 0 !important;
    }

    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .agr-product-purchase .ab-variation-cards.agr-native-cards .ab-card .ab-stock {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #1f6b3d !important;
    }
    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .agr-product-purchase .ab-variation-cards.agr-native-cards .ab-card .ab-stock::before {
        content: "" !important;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #2e9a5a;
        flex: 0 0 auto;
    }

    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .mi-qp-strip-items.mi-qp-strip-items {
        gap: 6px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        overflow: visible !important;
    }
    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .mi-qp-strip-items .mi-qp-tier.mi-qp-tier {
        border: 0 !important;
        border-radius: 8px !important;
        background: #f5f7f4 !important;
        box-shadow: none !important;
    }
    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .mi-qp-strip-items .mi-qp-tier.mi-qp-tier[aria-pressed="true"] {
        background: #e3efdc !important;
        box-shadow: none !important;
    }
    body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .mi-qp-strip-items .mi-qp-tier.mi-qp-tier::before {
        content: none !important;
        display: none !important;
    }
}

/* Description seule (onglet « Avis » retiré, 21/11/2026) : plus de barre d'onglets à un seul choix ;
 * le texte commence directement par son titre. */
body.single-product.agr-pdp-premium.agr-product-layout:not(.agr-products-ui-excluded) main .agr-product-details .et_pb_tabs_controls:not(:has(> li:nth-child(2))) {
    display: none !important;
}

/* ===== AGR-PRODUCT-UI-HILLCLIMB-02 — R1 (6,93 → 7,58, préféré 3/3 en aveugle ; validé par le propriétaire le 22/11/2026) ===== */
/* 1. Section Divi héritée vide : ~170 px de blanc avant le pied de page. Ses modules restent dans le DOM (scripts intacts). */
body.single-product.agr-product-layout .agr-product-legacy,.single-product .agr-product-legacy{padding:0!important;margin:0!important;height:0!important;min-height:0!important;overflow:hidden!important}
/* 2. Sélecteur de langue flottant : pastille compacte au lieu d'un texte posé sur le contenu. */
.gt_switcher_wrapper{bottom:12px!important;left:12px!important}
.gt_switcher_wrapper>a.gt_switcher-popup{display:inline-flex!important;align-items:center;gap:6px;padding:5px 10px!important;background:#fff!important;border:1px solid rgba(29,61,47,.14)!important;border-radius:999px!important;box-shadow:0 2px 10px rgba(16,40,30,.14)!important;font-size:13px!important;line-height:1!important;color:#1d3d2f!important}
.gt_switcher_wrapper>a.gt_switcher-popup img{width:18px!important;height:18px!important}
@media (max-width:1279px){.gt_switcher_wrapper>a.gt_switcher-popup>span:first-of-type{display:none!important}}
/* 3. Galerie qui suit le défilement quand la colonne d'achat est plus haute (768–1279 px). */
@media (min-width:768px) and (max-width:1279px){.single-product .agr-product-main>.agr-product-gallery{position:sticky;top:16px;align-self:start}}
/* 4. Mobile : ancres de section sur une seule ligne. */
@media (max-width:600px){
 .single-product .agr-r3-nav ul{flex-wrap:nowrap!important;gap:4px 16px!important;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .single-product .agr-r3-nav ul::-webkit-scrollbar{display:none}
 .single-product .agr-r3-nav li{flex:0 0 auto}
}
/* 5. Produits liés : retirer la note d'exception de départ, illisible hors contexte. */
.single-product .agr-related-dispatch-exception{display:none!important}

/* ===== HILLCLIMB-02 — R2b (7,58 → 7,82, préféré 3/3 ; validé par le propriétaire le 22/11/2026) ===== */
/* 1. Mobile : moyens de paiement réduits à leur nom (le détail reste dans le dépliant). */
@media (max-width:600px){
 body.single-product .ab-b2b-purchase__summary .ab-b2b-purchase__copy{display:none!important}
}
/* 2. Sélecteur de langue : rond de 34 px (drapeau seul) sous 1280 px, pour ne plus recouvrir les titres. */
@media (max-width:1279px){
 .gt_switcher_wrapper>a.gt_switcher-popup{width:34px!important;height:34px!important;padding:0!important;justify-content:center!important;gap:0!important}
 .gt_switcher_wrapper>a.gt_switcher-popup>span{display:none!important}
 .gt_switcher_wrapper>a.gt_switcher-popup img{width:20px!important;height:20px!important;border-radius:50%}
}

/* ===== HILLCLIMB-02 — R3b (documentation sous la photo à 1024 px et plus ; préféré 3/3 ; validé par le propriétaire le 22/11/2026). La classe agr-product-docs-in-main est posée par Core product-server-render. ===== */
html body.single-product.agr-product-layout .agr-product-main>.agr-product-docs-in-main{padding:0!important;margin:0!important;width:auto!important;max-width:none!important;background:none!important;border:0!important;order:3}
html body.single-product.agr-product-layout .agr-product-main>.agr-product-docs-in-main>h2{margin:0 0 10px!important}
@media (min-width:1024px){
 html body.single-product.agr-product-layout:not(.agr-products-ui-excluded) .agr-product-hero .agr-product-main{grid-template-rows:auto 1fr!important}
 html body.single-product.agr-product-layout .agr-product-main>.agr-product-gallery{grid-column:1;grid-row:1}
 html body.single-product.agr-product-layout .agr-product-main>.agr-product-purchase{grid-column:2;grid-row:1 / span 2}
 html body.single-product.agr-product-layout .agr-product-main>.agr-product-docs-in-main{grid-column:1;grid-row:2;align-self:start}
 html body.single-product.agr-product-layout .agr-product-main>.agr-product-docs-in-main .et_pb_code{width:100%!important;margin:0 0 8px!important}
 html body.single-product.agr-product-layout .agr-product-main>.agr-product-docs-in-main{display:block!important}
 html body.single-product.agr-product-layout .agr-product-main>.agr-product-gallery{position:static!important}
}
/* R3b : sous 1024 px, la documentation occupe toute la largeur après l'achat (la grille 40/60 de R5r2 reste à 768–899 px). */
@media (max-width:1023px){
 html body.single-product.agr-product-layout .agr-product-main>.agr-product-docs-in-main{grid-column:1 / -1!important}
}

/* ===== HILLCLIMB-02 — R4 (performance, 22/11/2026) ===== */
/* R4 (performance) : avant le démarrage de FlexSlider, la galerie n'affiche que l'image de départ (classe agr-start-slide posée par
   Core product-gallery-format-order, sinon la première). FlexSlider pose ensuite display:block en ligne sur chaque diapositive.
   Évite l'effondrement 378 → 185 px qui décalait tout l'achat (CLS mobile 0,106 + 0,068 sur MICRO 6). */
body.single-product .woocommerce-product-gallery:not(:has(>.flex-viewport))>.woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:not(:first-child):not(.agr-start-slide),
body.single-product .woocommerce-product-gallery:not(:has(>.flex-viewport)):has(.agr-start-slide)>.woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:not(.agr-start-slide){display:none}

/* ===== HILLCLIMB-02 — R5c (préféré 3/3 en aveugle ; posé en autonomie, 22/11/2026) ===== */
/* 1. Achat long, 768–1023 px : documentation sous la photo, comme à 1024 px et plus. */
@media (min-width:768px) and (max-width:1023px){
 html body.single-product.agr-product-layout:not(.agr-products-ui-excluded) .agr-product-hero .agr-product-main:has(.mi-qp){grid-template-rows:auto 1fr!important}
 html body.single-product.agr-product-layout .agr-product-main:has(.mi-qp)>.agr-product-gallery{grid-column:1;grid-row:1;position:static!important}
 html body.single-product.agr-product-layout .agr-product-main:has(.mi-qp)>.agr-product-purchase{grid-column:2;grid-row:1 / span 2}
 html body.single-product.agr-product-layout .agr-product-main:has(.mi-qp)>.agr-product-docs-in-main{grid-column:1!important;grid-row:2;align-self:start}
}
/* Cartes compactes quand la documentation est dans la colonne de la photo (768–1279 px). */
@media (min-width:768px) and (max-width:1279px){
 html body.single-product.agr-product-layout .agr-product-main:has(.mi-qp)>.agr-product-docs-in-main .agr-pdp-doc-icon{display:none!important}
 html body.single-product.agr-product-layout .agr-product-main:has(.mi-qp)>.agr-product-docs-in-main .agri-doc-card{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;padding:10px 12px!important}
 html body.single-product.agr-product-layout .agr-product-main:has(.mi-qp)>.agr-product-docs-in-main .agr-pdp-doc-copy{min-width:0}
 html body.single-product.agr-product-layout .agr-product-main:has(.mi-qp)>.agr-product-docs-in-main .agr-pdp-doc-copy strong{font-size:14px;overflow-wrap:break-word}
 html body.single-product.agr-product-layout .agr-product-main:has(.mi-qp)>.agr-product-docs-in-main .agr-pdp-doc-card-action{white-space:nowrap;font-size:13px}
}
/* 3. Titres longs équilibrés (évite « UAB » ou « Mg – » seuls en fin de ligne). */
body.single-product .agr-product-intro h1{text-wrap:balance}
/* 4. Libellés secondaires plus foncés ; cartes documentaires sur un même fond. */
body.single-product .agr-pdp-doc-list :is(.agr-pdp-doc-status,.agr-pdp-doc-format,.agr-pdp-document-context){color:#3f5248!important}
body.single-product .agr-pdp-doc-list .agri-doc-card.agr-pdp-doc-unavailable{background:#fff!important}
/* 5. Commandes flottantes plus discrètes sur les fiches : assistance en rond (libellé conservé pour les lecteurs d'écran), langue en rond. */
body.single-product a.mi-chat-launcher{width:48px!important;height:48px!important;padding:0!important;justify-content:center!important;border-radius:50%!important}
body.single-product a.mi-chat-launcher>span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.single-product .gt_switcher_wrapper>a.gt_switcher-popup{width:34px!important;height:34px!important;padding:0!important;justify-content:center!important;gap:0!important}
.single-product .gt_switcher_wrapper>a.gt_switcher-popup>span{display:none!important}
.single-product .gt_switcher_wrapper>a.gt_switcher-popup img{width:20px!important;height:20px!important;border-radius:50%}

/* ===== HILLCLIMB-02 — R6 (8,22 contre 7,81 en ligne, préféré 3/3 ; posé en autonomie, 22/11/2026) ===== */
/* 1. 768–1023 px : documentation sous la photo sur toutes les fiches (R5c ne le faisait qu'avec un tarif dégressif). */
@media (min-width:768px) and (max-width:1023px){
 html body.single-product.agr-product-layout:not(.agr-products-ui-excluded) .agr-product-hero .agr-product-main{grid-template-rows:auto 1fr!important}
 html body.single-product.agr-product-layout .agr-product-main>.agr-product-gallery{grid-column:1;grid-row:1;position:static!important}
 html body.single-product.agr-product-layout .agr-product-main>.agr-product-purchase{grid-column:2;grid-row:1 / span 2}
 html body.single-product.agr-product-layout .agr-product-main>.agr-product-docs-in-main{grid-column:1!important;grid-row:2;align-self:start;margin-top:8px!important}
}
@media (min-width:768px) and (max-width:1279px){
 html body.single-product.agr-product-layout .agr-product-main>.agr-product-docs-in-main .agr-pdp-doc-icon{display:none!important}
 html body.single-product.agr-product-layout .agr-product-main>.agr-product-docs-in-main .agri-doc-card{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;padding:10px 12px!important}
 html body.single-product.agr-product-layout .agr-product-main>.agr-product-docs-in-main .agr-pdp-doc-copy{min-width:0}
 html body.single-product.agr-product-layout .agr-product-main>.agr-product-docs-in-main .agr-pdp-doc-copy strong{font-size:14px;overflow-wrap:break-word}
 html body.single-product.agr-product-layout .agr-product-main>.agr-product-docs-in-main .agr-pdp-doc-card-action{white-space:nowrap;font-size:13px}
}
/* 2. Mentions secondaires de l'achat plus foncées (lecture en extérieur). */
body.single-product .ab-variation-cards :is(.mi-qp-discount,.mi-qp-price-basis,.agr-pdp-offer-basis,.mi-vi-description,.ab-price-ht,.ab-unit-suffix){color:#3f5248!important}

/* ===== HILLCLIMB-02 — R7 (8,15 contre 7,92 en ligne, préféré 3/3 ; posé en autonomie, 22/11/2026) ===== */
/* 1. Remises dégressives plus lisibles ; lien « Choisir N unités » plus visible. */
body.single-product .ab-variation-cards .mi-qp-tier .mi-qp-discount{font-size:13px!important;font-weight:600!important;color:#2f6b45!important}
body.single-product .ab-variation-cards .mi-qp-next [data-mi-qp-next-button]{font-size:13px!important;font-weight:700!important;color:#1f6b3d!important}
body.single-product .ab-variation-cards .mi-qp-next .agr-qp-hint{color:#2b3f36!important;font-weight:600}
/* 2. Mobile : l'incitation « Tarif dégressif dès N unités » passe au-dessus de la grille, près du prix. */
@media (max-width:767px){
 body.single-product .ab-variation-cards .mi-qp{display:flex!important;flex-direction:column}
 body.single-product .ab-variation-cards .mi-qp>.mi-qp-next{order:-1;margin:0 0 8px!important;min-height:0!important}
}
/* 3. Paiement : moyens et « (bientôt) » plus foncés. */
body.single-product .ab-b2b-purchase__methods,body.single-product .ab-b2b-purchase__methods span,body.single-product .ab-b2b-purchase__copy{color:#3f5248!important}

/* ===== HILLCLIMB-02 — R9 (8,13 contre 8,04 en ligne, préféré 3/3 ; posé en autonomie, 22/11/2026) ===== */
@media (max-width:600px){
 /* 1. Fil d'Ariane sur une seule ligne (points de suspension) : une ligne de gagnée au-dessus du titre. */
 body.single-product .agr-product-breadcrumbs .woocommerce-breadcrumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 /* 2. Formats fermés sur une ligne : nom à gauche, prix à droite ; la disponibilité reste dans le format ouvert. */
 html body.single-product.agr-product-layout .agr-product-purchase .agr-native-cards:not(.agr-single-format) .ab-card:not(.is-selected) .agr-card-header{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"toggle total"!important;align-items:center!important;padding-block:8px!important}
 html body.single-product.agr-product-layout .agr-product-purchase .agr-native-cards:not(.agr-single-format) .ab-card[data-stock-status="instock"]:not(.is-selected) .agr-card-meta{display:none!important}
 html body.single-product.agr-product-layout .agr-product-purchase .agr-native-cards:not(.agr-single-format) .ab-card:not(.is-selected) .ab-price-line{flex-direction:column!important;align-items:flex-end!important;gap:0!important}
 html body.single-product.agr-product-layout .agr-product-purchase .agr-native-cards:not(.agr-single-format) .ab-card:not(.is-selected) .ab-price-sub{justify-content:flex-end}
 /* 3. Unités de facturation plus lisibles. */
 body.single-product .ab-variation-cards :is(.ab-unit-suffix,.ab-price-ht,.mi-qp-price-basis){font-size:13px!important}
}

/* ===== HILLCLIMB-02 — R10 (sélecteur de langue en bas de page) ===== */
/* 1. Sélecteur de langue : en bas de page (à gauche du pied de page) au lieu de flotter sur les cartes et les prix. */
body.single-product{position:relative}
body.single-product .gt_switcher_wrapper{position:absolute!important;bottom:14px!important;left:14px!important;top:auto!important}
/* Fiches K+S : les autres produits K+S en tête des produits liés (WooCommerce tire la liste au hasard ; la rangée est en flex). */
:is(body.postid-6081,body.postid-8497,body.postid-6100,body.postid-8523,body.postid-6123) .agr-product-related ul.products>li.product:is(.post-6081,.post-8497,.post-6100,.post-8523,.post-6123){order:-1}

/* ===== HILLCLIMB-02 — R11b (8,37 contre 8,31, préféré 3/3 ; composition mobile laissée empilée, 2 juges sur 3) ===== */
/* 1. 768–1023 px : six paliers dégressifs sur deux rangées de trois (au lieu de trois rangées de deux). */
@media (min-width:768px) and (max-width:1023px){
 html body.single-product #main-content .agr-native-cards .mi-qp-strip-items.mi-qp-strip-items[data-count="6"]{grid-auto-flow:row!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-columns:auto!important}
}
/* 3. Ancres de section : un seul signe (contour) à partir de 600 px, sans soulignement en plus. */
@media (min-width:601px){
 html body.single-product #main-content .agr-product-intro .agr-r3-nav a{text-decoration:none!important;padding:3px 10px!important}
}

/* ===== HILLCLIMB-02 — R12 (8,36 contre 8,23, préféré 3/3) ===== */
/* 1. Libellés du tableau de composition plus foncés et un peu plus grands. */
html body.single-product main#main-content .agr-product-details table.agri-table tbody tr>:first-child{color:#34483e!important;font-size:15px!important}
/* 2. Prix au litre / au kilo plus lisible dans chaque format. */
html body.single-product #main-content .agr-native-cards .ab-price-sub :is(.ab-unit-value,.ab-unit-value .amount){font-size:14px!important;color:#1f3a2e!important}
html body.single-product #main-content .agr-native-cards .ab-price-sub .ab-unit-suffix{color:#2f4a3e!important}
/* 3. Lien « Voir toute la catégorie » à côté du titre des produits liés (posé par fiches.js). */
body.single-product .agr-related-all{display:inline-block;margin-top:6px;font-size:14px;font-weight:700;color:#1f6b3d;text-decoration:underline;text-underline-offset:3px}

/* Carte FT ajoutée par l'extension (même module que la carte suivante) : même écart que entre deux modules. */
body.single-product .agri-doc-card-wrap.agr-ft-default{margin-bottom:10px!important}

/* ===== HILLCLIMB-02 — R13 (8,23 contre 8,04, préféré 3/3 ; documentation sous le paiement limitée à 1280 px et plus) ===== */
/* 1. Fiches sans tarif dégressif (achat court, ex. big bag KALIMOP), 1280 px et plus : la documentation passe sous le paiement,
      dans la colonne d'achat ; la photo occupe seule la colonne de gauche. Les colonnes s'équilibrent. */
@media (min-width:1280px){
 html body.single-product.agr-product-layout:not(.agr-products-ui-excluded) .agr-product-hero .agr-product-main:not(:has(.mi-qp)){grid-template-rows:auto auto!important}
 html body.single-product.agr-product-layout .agr-product-main:not(:has(.mi-qp))>.agr-product-gallery{grid-column:1;grid-row:1 / span 2}
 html body.single-product.agr-product-layout .agr-product-main:not(:has(.mi-qp))>.agr-product-purchase{grid-column:2;grid-row:1!important}
 html body.single-product.agr-product-layout .agr-product-main:not(:has(.mi-qp))>.agr-product-docs-in-main{grid-column:2!important;grid-row:2!important;margin-top:4px!important}
}
/* 2. Total HT à côté de la quantité quand la carte n'a pas de tarif dégressif (posé par fiches.js). */
body.single-product .agr-line-total{display:grid;justify-items:end;margin-left:auto;line-height:1.2;color:#1f3a2e}
body.single-product .agr-line-total strong{font-size:20px;font-weight:800}
body.single-product .agr-line-total small{font-size:12px;color:#3f5248}

/* Correctif : la documentation placée dans une colonne de la grille produit reste sur une seule colonne (product-layout.css
   la mettait en grille de 3 entre 900 et 1023 px : cartes écrasées, textes superposés). */
@media (min-width:768px){
 html body.single-product.agr-product-layout main#main-content .agr-product-main>.agr-product-docs-in-main{display:block!important}
 html body.single-product.agr-product-layout main#main-content .agr-product-main>.agr-product-docs-in-main>.et_pb_module{width:100%!important;margin:0 0 10px!important}
}

/* Comparateur des formats sur mobile (rendu par le serveur, piloté par fiches.js). */
.agr-format-compare{display:none}
@media (max-width:767px){
 html body.single-product #main-content .agr-format-compare{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:6px;margin:0 0 10px}
 html body.single-product #main-content .agr-fc-item{display:grid;gap:1px;justify-items:center;min-width:0;margin:0;padding:8px 4px;border:1px solid #d7e3da;border-radius:10px;background:#fff;color:#1f3a2e;font:inherit;line-height:1.2;text-align:center;cursor:pointer}
 html body.single-product #main-content .agr-fc-item.is-current{border-color:#257b48;background:#eef6ee;box-shadow:inset 0 0 0 1px #257b48}
 html body.single-product #main-content .agr-fc-name{font-size:13px;font-weight:700}
 html body.single-product #main-content .agr-fc-unit{font-size:16px;font-weight:800;color:#1f6b3d}
 html body.single-product #main-content .agr-fc-unit small{font-size:11px;font-weight:600;color:#3f5248}
 html body.single-product #main-content .agr-fc-price{font-size:11px;color:#3f5248}
}
@media (max-width:767px){
 /* Avec le comparateur, seul le format choisi reste affiché en carte : les autres se choisissent par les boutons. */
 html body.single-product #main-content .ab-variation-cards:has(> .agr-format-compare) > .ab-card:not(.is-selected){display:none!important}
}

/* Accessibilité (link-in-text-block) : les liens dans les textes de la fiche sont soulignés, pas seulement colorés. */
html body.single-product main#main-content .agr-product-details :is(p,li,td) a:not([class]){text-decoration:underline!important;text-underline-offset:2px}
@media (max-width:767px){
 html body.single-product #main-content .agr-format-compare:has(> :nth-child(4)) .agr-fc-unit{font-size:14px}
 html body.single-product #main-content .agr-format-compare:has(> :nth-child(4)) .agr-fc-item{padding-inline:2px}
}

/* ===== Description produit — hillclimb description 01 =====
   Rubrique : titre à gauche, contenu à droite (≥ 1024 px). Les quatre rubriques d'usage forment une bande teintée.
   Téléphone : pleine largeur, sans carte ; les sections complémentaires se replient. */
html body.single-product #main-content .agri-desc.agr-d{--d-ink:#16302a;--d-text:#33473f;--d-green:#1f6b3d;--d-line:#dfe8e1;--d-soft:#f3f8f1;display:grid;grid-template-columns:minmax(0,1fr);gap:0;color:var(--d-text);font-size:16px;line-height:1.65}
html body.single-product #main-content .agri-desc.agr-d>section{margin:0!important;padding:28px 0!important;border:0!important;background:none!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important;min-width:0;scroll-margin-top:110px}
html body.single-product #main-content .agri-desc.agr-d>section.agri-hero{padding-top:8px!important}
html body.single-product #main-content .agri-desc.agr-d :is(h2,h3){margin:0!important;padding:0!important;color:var(--d-ink)!important;letter-spacing:-.01em;text-wrap:balance}
html body.single-product #main-content .agri-desc.agr-d h2{font-size:clamp(24px,2.4vw,32px)!important;line-height:1.18!important;font-weight:800!important}
html body.single-product #main-content .agri-desc.agr-d h3{font-size:20px!important;line-height:1.28!important;font-weight:800!important}
html body.single-product #main-content .agri-desc.agr-d p{margin:0 0 12px!important;padding:0!important;max-width:72ch!important;color:var(--d-text)!important;font-size:16px!important;line-height:1.65!important;text-wrap:pretty}
html body.single-product #main-content .agri-desc.agr-d p:last-child{margin-bottom:0!important}
html body.single-product #main-content .agri-desc.agr-d .agri-lead{margin:14px 0 0!important}
html body.single-product #main-content .agri-desc.agr-d .agr-d-first{display:block;margin-bottom:10px;color:var(--d-ink);font-size:19px;line-height:1.5;font-weight:600}
/* Composition */
html body.single-product #main-content .agri-desc.agr-d table.agri-table{margin:0!important;border:0!important;background:none!important}
html body.single-product #main-content .agri-desc.agr-d>section>:is(h2,h3)+:is(h2,h3,div,p,ul){margin-top:16px!important}
html body.single-product #main-content .agri-desc.agr-d tbody.agr-d-figs{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:0 24px;width:100%!important;margin-bottom:8px!important}
html body.single-product #main-content .agri-desc.agr-d tbody.agr-d-figs tr{display:flex!important;flex-direction:column-reverse;justify-content:flex-end;gap:2px;padding:12px 0 14px!important;border:0!important;border-top:2px solid var(--d-green)!important}
html body.single-product #main-content .agri-desc.agr-d tbody.agr-d-figs tr>td{font-size:24px!important;line-height:1.15!important;font-weight:800!important;color:var(--d-green)!important;font-variant-numeric:tabular-nums}
html body.single-product #main-content .agri-desc.agr-d tbody.agr-d-figs tr>th{font-size:14px!important;line-height:1.35!important;font-weight:500!important;color:var(--d-text)!important}
html body.single-product #main-content .agri-desc.agr-d table.agri-table:not(:has(tr>:nth-child(3))) tbody:not(.agr-d-figs) tr{display:grid!important;grid-template-columns:minmax(0,38%) minmax(0,1fr)!important;gap:0 20px!important;padding:11px 0!important;border:0!important;border-top:1px solid var(--d-line)!important}
html body.single-product #main-content .agri-desc.agr-d table.agri-table:not(:has(tr>:nth-child(3))) tbody:not(.agr-d-figs) tr>th{font-size:15px!important;font-weight:500!important;color:var(--d-text)!important}
html body.single-product #main-content .agri-desc.agr-d table.agri-table:not(:has(tr>:nth-child(3))) tbody:not(.agr-d-figs) tr>td{font-size:15px!important;font-weight:650!important;color:var(--d-ink)!important}
html body.single-product #main-content .agri-desc.agr-d tbody.agr-d-figs:is([data-count="1"],[data-count="2"],[data-count="3"],[data-count="5"],[data-count="6"],[data-count="9"]){grid-template-columns:repeat(3,minmax(0,1fr))!important}
html body.single-product #main-content .agri-desc.agr-d tbody.agr-d-figs:is([data-count="4"],[data-count="7"],[data-count="8"]){grid-template-columns:repeat(4,minmax(0,1fr))!important}
html body.single-product #main-content .agri-desc.agr-d [role=region]+p{margin-top:18px!important}
@media (min-width:1280px){
 html body.single-product #main-content .agri-desc.agr-d [data-mi-section=specifications] tbody:not(.agr-d-figs):has(>tr:nth-child(8)){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
}
@media (max-width:767px){
 html body.single-product #main-content .agri-desc.agr-d tbody.agr-d-figs tr:last-child:nth-child(odd):not(.agr-d-pairs){grid-column:1/-1}
 html body.single-product #main-content .agri-desc.agr-d tbody.agr-d-figs.agr-d-figs[data-count]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
html body.single-product #main-content .agri-desc.agr-d .agr-d-num{display:block}
html body.single-product #main-content .agri-desc.agr-d .agr-d-note{display:block;margin-top:3px;font-size:14px;font-weight:500;line-height:1.35;color:var(--d-text)}
html body.single-product #main-content .agri-desc.agr-d :is(sub,sup){font-size:.62em!important;line-height:0!important;vertical-align:baseline!important;position:relative}
html body.single-product #main-content .agri-desc.agr-d sub{top:.18em;bottom:auto}
html body.single-product #main-content .agri-desc.agr-d sup{top:-.5em}
html body.single-product #main-content .agri-desc.agr-d .agr-d-num{white-space:nowrap}
html body.single-product #main-content .agri-desc.agr-d tbody.agr-d-figs tr.agr-d-pairs{grid-column:1/-1}
html body.single-product #main-content .agri-desc.agr-d tbody.agr-d-figs tr.agr-d-pairs{padding-top:0!important;border-top:0!important}
html body.single-product #main-content .agri-desc.agr-d tr.agr-d-pairs>th{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)}
html body.single-product #main-content .agri-desc.agr-d tr.agr-d-pairs>td{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:0 24px}
html body.single-product #main-content .agri-desc.agr-d .agr-d-pair{padding-top:12px;border-top:2px solid var(--d-green);display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:2px;font-size:14px;line-height:1.35;font-weight:500;color:var(--d-text)}
html body.single-product #main-content .agri-desc.agr-d .agr-d-pair b{font-size:24px;font-weight:800;line-height:1.15;color:var(--d-green)}
html body.single-product #main-content .agri-desc.agr-d p.agr-d-safety{margin:16px 0 0!important;padding:2px 0 2px 14px!important;border-left:3px solid #b7791f;color:var(--d-ink)!important;font-weight:600}
html body.single-product #main-content .agri-desc.agr-d .agr-d-nb{white-space:nowrap}
html body.single-product #main-content .agri-desc.agr-d [role=region]:last-child{margin-bottom:0!important}
html body.single-product #main-content .agri-desc.agr-d .agr-d-key{display:block;margin-top:10px;font-weight:800;color:var(--d-green)!important;font-size:17px;line-height:1.4}
html body.single-product #main-content .agri-desc.agr-d :is(th,td) a{text-decoration:underline!important;text-underline-offset:2px}
html body.single-product #main-content .agri-desc.agr-d [data-mi-section=pk-faq] p>strong:first-child{display:block;margin-bottom:2px;color:var(--d-ink)}
html body.single-product #main-content .agri-desc.agr-d tr.agr-d-clp.agr-d-clp.agr-d-clp>td{padding:2px 0 2px 14px!important;border-left:3px solid #b7791f!important}
html body.single-product #main-content .agri-desc.agr-d :is(.agr-d-h,.agr-d-hlead){display:block}
html body.single-product #main-content .agri-desc.agr-d .agr-d-h{font-weight:500;margin-top:4px}
/* Tableaux de comparaison (3 colonnes et plus) */
html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)){display:table!important;width:100%!important;border-collapse:collapse!important;font-size:15px!important}
html body.single-product #main-content .agri-desc.agr-d :is([role=region],.agr-product-table-scroll):has(table tr>:nth-child(3)){margin:0 0 16px!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important}
html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)) :is(th,td){font-size:15px!important;line-height:1.45!important}
html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)) thead th{font-size:14px!important;color:var(--d-ink)!important}
html body.single-product #main-content .agri-desc.agr-d :is([role=region],.agr-product-table-scroll):has(table tr>:nth-child(3)):last-child{margin-bottom:0!important}
html body.single-product #main-content .agri-desc.agr-d p.agr-d-safety.agr-d-safety:not(:last-child){margin-bottom:14px!important}
/* Usage : bande teintée */
html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core{background:var(--d-soft)!important;padding:26px 28px!important}
html body.single-product #main-content .agri-desc.agr-d .agr-d-icon{display:block;width:24px;height:24px;margin:0 0 10px;color:var(--d-green)}
html body.single-product #main-content .agri-desc.agr-d .agr-d-core h3{font-size:18px!important}
html body.single-product #main-content .agri-desc.agr-d .agr-d-core p{font-size:15.5px!important;line-height:1.6!important}
html body.single-product #main-content .agri-desc.agr-d ul.agr-d-doses{display:grid;gap:0;margin:14px 0 14px!important;padding:0!important;list-style:none!important}
html body.single-product #main-content .agri-desc.agr-d ul.agr-d-doses li{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);align-items:baseline;gap:0 20px;margin:0!important;padding:9px 0!important;border-top:1px solid #d3e2d3;list-style:none!important;line-height:1.4}
html body.single-product #main-content .agri-desc.agr-d ul.agr-d-doses strong{font-size:15px;font-weight:500;color:var(--d-text)}
html body.single-product #main-content .agri-desc.agr-d .agr-d-colon{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html body.single-product #main-content .agri-desc.agr-d .agr-d-dose{font-size:18px;line-height:1.3;font-weight:800;color:var(--d-green)}
/* Sections complémentaires */
html body.single-product #main-content .agri-desc.agr-d>section.agr-d-more{padding:0!important;border-top:1px solid var(--d-line)!important}
html body.single-product #main-content .agri-desc.agr-d .agr-d-core-4+section.agr-d-more{border-top:0!important;margin-top:14px!important}
html body.single-product #main-content .agri-desc.agr-d summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:14px 0;cursor:pointer;list-style:none}
html body.single-product #main-content .agri-desc.agr-d summary::-webkit-details-marker{display:none}
html body.single-product #main-content .agri-desc.agr-d summary::after{content:"";flex:none;width:9px;height:9px;margin-right:4px;border:solid var(--d-green);border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg)}
html body.single-product #main-content .agri-desc.agr-d details[open]>summary::after{transform:translateY(2px) rotate(225deg)}
html body.single-product #main-content .agri-desc.agr-d summary h3{font-size:18px!important}
html body.single-product #main-content .agri-desc.agr-d .agr-d-body{padding:2px 0 24px}
html body.single-product #main-content .agri-desc.agr-d>section[data-mi-section=related]{border-top:1px solid var(--d-line)!important}
/* Téléphone et tablette : une colonne ; la bande teintée va jusqu'aux bords du bloc (--d-bleed). */
html body.single-product #main-content .agri-desc.agr-d{--d-bleed:20px}
html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core{margin-inline:calc(-1*var(--d-bleed))!important;padding:24px var(--d-bleed)!important}
html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core-1{padding-top:32px!important}
html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core-4{padding-bottom:34px!important}
html body.single-product #main-content .agri-desc.agr-d .agr-d-core h3{display:flex;align-items:flex-start;gap:10px}
html body.single-product #main-content .agri-desc.agr-d .agr-d-core .agr-d-icon{flex:none;margin:0}
@media (min-width:768px){
 html body.single-product #main-content .agri-desc.agr-d{--d-bleed:34px}
 html body.single-product #main-content .agri-desc.agr-d>section:is(.agri-hero,[data-mi-section=specifications],[data-mi-section=related]){padding:32px 0!important}
}
@media (min-width:768px){
 html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)) thead{display:table-header-group!important;position:static!important;width:auto!important;height:auto!important;clip:auto!important}
 html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)) tbody{display:table-row-group!important}
 html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)) tr{display:table-row!important;background:none!important}
 html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)) :is(th,td){display:table-cell!important;width:auto!important;min-width:0!important;padding:11px 14px 11px 0!important;border:0!important;border-bottom:1px solid var(--d-line)!important;background:none!important;text-align:left!important;vertical-align:top!important}
 html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)) thead th{border-bottom:2px solid var(--d-green)!important;font-weight:700!important}
 html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)) tbody tr>:first-child{font-weight:700!important;color:var(--d-ink)!important}
 html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)) td::before{content:none!important}
}
@media (min-width:768px) and (max-width:1023px){
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);column-gap:32px;align-items:start;padding:0 var(--d-bleed)!important}
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core>*{margin-top:0!important;padding:22px 0!important;border-top:1px solid #d3e2d3}
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core>h3+.agr-d-flow{margin-top:0!important}
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core-1>*{border-top:0}
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core-1{padding-top:10px!important}
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core-4{padding-bottom:12px!important}
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core>*{align-self:stretch}
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core-1 ul.agr-d-doses{margin-top:0!important}
}
@media (min-width:1024px){
 /* Toujours déplié (fiches.js pose aussi l'attribut open, pour les lecteurs d'écran). */
 html body.single-product #main-content .agri-desc.agr-d details::details-content{display:block;content-visibility:visible;block-size:auto}
 html body.single-product #main-content .agri-desc.agr-d summary{align-items:flex-start;min-height:0;padding:0 0 14px;cursor:default;pointer-events:none}
 html body.single-product #main-content .agri-desc.agr-d summary::after{content:none}
 html body.single-product #main-content .agri-desc.agr-d summary h3{font-size:20px!important}
 html body.single-product #main-content .agri-desc.agr-d .agr-d-body{padding:0}
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-more{padding:32px 0!important}
 html body.single-product #main-content .agri-desc.agr-d{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:0}
 html body.single-product #main-content .agri-desc.agr-d>section:not(.agr-d-core),html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core-1{grid-column:1/-1}
 html body.single-product #main-content .agri-desc.agr-d>section:is(.agri-hero,[data-mi-section=specifications],[data-mi-section=related],.agr-d-core-1),
 html body.single-product #main-content .agri-desc.agr-d details{display:grid;grid-template-columns:minmax(0,calc((100% - 96px)/3)) minmax(0,1fr);column-gap:48px;align-items:start}
 html body.single-product #main-content .agri-desc.agr-d>section:is(.agri-hero,[data-mi-section=specifications],[data-mi-section=related])>*{grid-column:2;min-width:0}
 html body.single-product #main-content .agri-desc.agr-d>section:is(.agri-hero,[data-mi-section=specifications],[data-mi-section=related])>:is(h2,h3):first-child{grid-column:1;grid-row:1/span 9}
 html body.single-product #main-content .agri-desc.agr-d>section:is(.agri-hero,[data-mi-section=specifications],[data-mi-section=related],.agr-d-core-1)>:nth-child(2){margin-top:0!important}
 html body.single-product #main-content .agri-desc.agr-d>section.agri-hero .agri-lead{margin:0!important}
 html body.single-product #main-content .agri-desc.agr-d details::details-content{grid-column:2}
 html body.single-product #main-content .agri-desc.agr-d summary{padding:0;grid-column:1}
 html body.single-product #main-content .agri-desc.agr-d .agr-d-body{grid-column:2;min-width:0}
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core-1{padding:40px var(--d-bleed) 36px!important}
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core-1 ul.agr-d-doses{margin-top:0!important}
 /* Trois rubriques côte à côte : colonnes égales, calées sur l'axe du texte ; titres et textes alignés (sous-grille). */
 html body.single-product #main-content .agri-desc.agr-d>section:is(.agr-d-core-2,.agr-d-core-3,.agr-d-core-4){display:grid;grid-row:span 2;grid-template-rows:subgrid;margin-inline:0!important;padding:0 0 40px!important}
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core-2{margin-left:calc(-1*var(--d-bleed))!important;padding:0 32px 40px var(--d-bleed)!important}
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core-3{padding:0 16px 40px!important}
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core-4{margin-right:calc(-1*var(--d-bleed))!important;padding:0 var(--d-bleed) 40px 32px!important}
 html body.single-product #main-content .agri-desc.agr-d>section:is(.agr-d-core-2,.agr-d-core-3,.agr-d-core-4)>h3{padding-top:16px!important;border-top:2px solid var(--d-green)}
 html body.single-product #main-content .agri-desc.agr-d>section:is(.agr-d-core-2,.agr-d-core-3,.agr-d-core-4)>.agr-d-flow{margin-top:12px!important}
}
@media (max-width:767px){
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core+section.agr-d-core{padding-block:0 22px!important}
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core+section.agr-d-core>h3{padding-top:20px!important;border-top:1px solid #cfdfcf}
 html body.single-product #main-content .agri-desc.agr-d>section.agr-d-core-4.agr-d-core-4{padding-bottom:30px!important}
 html body.single-product #main-content .agri-desc.agr-d tr.agr-d-clp.agr-d-clp.agr-d-clp.agr-d-clp{display:block!important}
 html body.single-product #main-content .agri-desc.agr-d tr.agr-d-clp>td{margin-top:6px!important}
 html body.single-product #main-content .agri-desc.agr-d tbody.agr-d-figs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 18px}
 html body.single-product #main-content .agri-desc.agr-d .agr-d-first{font-size:18px}
 html body.single-product #main-content .agri-desc.agr-d table.agri-table:not(:has(tr>:nth-child(3))) tbody:not(.agr-d-figs) tr{display:grid!important;grid-template-columns:minmax(0,40%) minmax(0,1fr)!important;gap:0 14px!important}
 /* Tableaux larges : une ligne par produit, libellé et valeur côte à côte. */
 html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)){display:block!important}
 html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)) tbody{display:block!important;width:auto!important}
 html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)) tbody tr{display:block!important;margin:0!important;padding:12px 0!important;border:0!important;border-top:1px solid var(--d-line)!important;border-radius:0!important;background:none!important;box-shadow:none!important}
 html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)) tbody tr>*{display:grid!important;grid-template-columns:minmax(0,42%) minmax(0,1fr);gap:0 12px;width:auto!important;padding:3px 0!important;border:0!important;background:none!important;font-size:15px!important;line-height:1.4!important;text-align:left!important}
 html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)) tbody tr>:first-child{display:block!important;font-size:16px!important;font-weight:800!important;color:var(--d-ink)!important}
 html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)) tbody tr>:first-child::before{content:none!important}
 html body.single-product #main-content .agri-desc.agr-d table.agri-table:has(tr>:nth-child(3)) tbody td::before{margin:0!important;color:#4d6157!important;font-size:14px!important;font-weight:500!important;line-height:1.4!important;letter-spacing:0!important;text-transform:none!important}
}
