/* Good Act – nouvelle fiche produit. Tout est préfixé (#gaj-pp, .gpp-*) pour ne rien changer ailleurs. */

/* Ancien haut de fiche : caché avant la construction (pas de clignotement), puis gardé hors écran
   pour que Zakeke, le devis, l'échantillon et le thème continuent de fonctionner. */
body.gaj-pp:not(.gaj-pp-fail) .s-product-top .product-box { opacity: 0; }
body.gaj-pp.gaj-pp-on .s-product-top .product-box {
	position: absolute !important; left: -10000px !important; top: 0 !important;
	width: 1100px !important; opacity: 1; pointer-events: none;
}
body.gaj-pp.gaj-pp-on .s-product-top .wrap { position: relative; }
body.gpp-modal-open { overflow: hidden; }

.gpp-root { --gpp-ink: #111111; --gpp-mute: #5F5B52; --gpp-text: #3D3A33; --gpp-line: #D9D4C7; --gpp-soft: #EEE9DE; --gpp-cream: #F7F4EC; --gpp-yellow: #FFE58A; --gpp-green: #1F5C45; color: var(--gpp-ink); font-size: 16px; line-height: 1.5; }
.gpp-root *, .gpp-root *::before, .gpp-root *::after { box-sizing: border-box; }
.gpp-root button { font-family: inherit; cursor: pointer; color: var(--gpp-ink); text-transform: none; letter-spacing: normal; box-shadow: none; min-height: 0; margin: 0; line-height: 1.3; }
.gpp-root img { max-width: 100%; }
.gpp-ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* Éléments propres au mobile ou au bureau */
.gpp-m-only, .gpp-mk-r, .gpp-mk-d, .gpp-mk-price, .gpp-count, .gpp-dots, .gpp-root .gpp-acc-h { display: none; }
.gpp-acc-b { display: contents; }

#gaj-pp { margin: 0 0 8px; }
.gpp-grid { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: 36px; align-items: start; }

/* Photos */
.gpp-gal { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; position: sticky; top: 16px; align-items: start; }
.gpp-thumbs { display: flex; flex-direction: column; gap: 10px; align-self: stretch; height: 0; min-height: 100%; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; padding: 2px; }
.gpp-thumbs::-webkit-scrollbar { display: none; }
.gpp-thumbs.is-more { -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); }
.gpp-root .gpp-th { position: relative; width: 68px; height: 68px; flex: 0 0 68px; border-radius: 12px !important; border: 1px solid #E5E0D5 !important; background: #FFFFFF !important; padding: 0 !important; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gpp-root .gpp-th.is-on { border: 2px solid var(--gpp-ink) !important; }
.gpp-th img { width: 100%; height: 100%; object-fit: contain; }
.gpp-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; pointer-events: none; border-radius: 50%; background: #111111CC; color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.gpp-play .gpp-ic { width: 14px; height: 14px; margin-left: 2px; fill: #FFFFFF; stroke: none; }
.gpp-main { position: relative; background: #FFFFFF; border-radius: 22px; aspect-ratio: 1 / 1; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gpp-root .gpp-main-img { all: unset; cursor: zoom-in; display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; position: relative; }
.gpp-main-img img { width: 100%; height: 100%; object-fit: contain; }
.gpp-zoom { position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; background: #FFFFFFE6; display: flex; align-items: center; justify-content: center; }
.gpp-video { width: 100%; height: 100%; background: #000000; }
.gpp-video iframe { width: 100%; height: 100%; border: 0; }
.gpp-badges { position: absolute; z-index: 2; top: 14px; left: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.gpp-badge { border-radius: 6px; padding: 2px 10px; font-size: 13px; font-weight: 500; background: #F2EEE4; color: var(--gpp-text); }
.gpp-badge-eco { background: #E6F4EE; color: var(--gpp-green); }

/* Colonne de droite */
.gpp-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gpp-root .gpp-title { margin: 0 !important; padding: 0; font-size: 34px; line-height: 1.1; font-weight: 400; }
.gpp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 14px; color: var(--gpp-text); }
.gpp-meta b { color: var(--gpp-ink); }
.gpp-meta .gav-product-rating, .gpp-meta .stock-status { position: static !important; inset: auto !important; transform: none !important; float: none !important; margin: 0 !important; font-size: 14px; }
.gpp-slot-rating:empty, .gpp-slot-stock:empty { display: none; }
.gpp-crit { background: #FFFFFF; border-radius: 10px; padding: 10px 14px; font-size: 14px; color: var(--gpp-text); }
.gpp-crit[hidden] { display: none !important; }
.gpp-crit b { color: var(--gpp-ink); }
.gpp-score { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.gpp-score-l { font-weight: 600; color: var(--gpp-ink); }
.gpp-scale { display: inline-flex; border: 1px solid #E5E0D5; border-radius: 6px; overflow: hidden; }
.gpp-scale i { font-style: normal; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: #8A867C; background: #FFFFFF; }
.gpp-scale i.is-on { color: #111111; }
.gpp-s-A { background: #1F7A5C !important; color: #FFFFFF !important; }
.gpp-s-B { background: #6BAF4E !important; color: #FFFFFF !important; }
.gpp-s-C { background: #E9C93A !important; }
.gpp-s-D { background: #E8913A !important; }
.gpp-s-E { background: #C2372F !important; color: #FFFFFF !important; }
.gpp-short { font-size: 15px; color: var(--gpp-text); }
.gpp-short-in { max-height: 3em; overflow: hidden; }
.gpp-short.is-open .gpp-short-in { max-height: none; }
.gpp-short-in p, .gpp-short-in .woocommerce-product-details__short-description { margin: 0 !important; }
.gpp-root .gpp-link { all: unset; cursor: pointer; font-size: 14px; color: var(--gpp-ink); text-decoration: underline; text-decoration-color: #E9C93A; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.gpp-root .gpp-link:focus-visible, .gpp-root button:focus-visible, .gpp-root input:focus-visible, .gpp-root select:focus-visible { outline: 2px solid #111111; outline-offset: 2px; }

.gpp-card { background: #FFFFFF; border-radius: 20px; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.gpp-block { display: flex; flex-direction: column; gap: 8px; }
.gpp-lab { font-size: 14px; color: var(--gpp-text); display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.gpp-lab b { color: var(--gpp-ink); }
.gpp-root .gpp-info { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; padding: 2px 10px 2px 6px; border-radius: 999px; background: #FFF6CC; font-size: 13px; font-weight: 500; color: var(--gpp-ink); }
.gpp-info .gpp-ic { width: 16px; height: 16px; }

/* Cartes de marquage */
.gpp-cards { display: grid; grid-template-columns: repeat(var(--gpp-n, 3), minmax(0, 1fr)); gap: 8px; }
.gpp-root .gpp-mk { all: unset; cursor: pointer; position: relative; display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--gpp-line); background: #FFFFFF; min-height: 44px; }
.gpp-root .gpp-mk:hover { border-color: #111111; }
.gpp-root .gpp-mk.is-on { border: 2px solid #111111; padding: 8px 11px; background: #FFFBEA; }
.gpp-mk-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gpp-mk-n { font-weight: 600; font-size: 14px; line-height: 1.3; }
.gpp-mk-p { font-size: 13px; color: var(--gpp-mute); line-height: 1.35; padding-right: 20px; }
.gpp-mk-p b { color: var(--gpp-ink); }
.gpp-mk-ok { position: absolute; right: 8px; bottom: 8px; width: 18px; height: 18px; border-radius: 50%; background: #111111; color: #FFFFFF; font-size: 11px; display: flex; align-items: center; justify-content: center; }

/* Pastilles et lignes */
.gpp-sws { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gpp-root .gpp-sw { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gpp-line); background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; box-sizing: border-box; }
.gpp-root .gpp-sw.is-on { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #111111; }
.gpp-root .gpp-sw.is-off, .gpp-root .gpp-pill.is-off { opacity: .3; cursor: not-allowed; }
/* Couleur en rupture de stock : barrée, non cliquable */
.gpp-root .gpp-sw.is-out, .gpp-root .gpp-pill.is-out { position: relative; opacity: .45; cursor: not-allowed; }
.gpp-root .gpp-sw.is-out::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: #B3261E; transform: translateX(-50%) rotate(45deg); border-radius: 2px; pointer-events: none; }
.gpp-root .gpp-pill.is-out { text-decoration: line-through; }
.gpp-out { font-style: normal; color: #B3261E; }
.gpp-orange { color: #A15C00; display: inline-flex; align-items: center; gap: 6px; }
.gpp-sw-img img { width: 100%; height: 100%; object-fit: cover; }
.gpp-root .gpp-pill { all: unset; cursor: pointer; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--gpp-line); background: #FFFFFF; font-size: 14px; }
.gpp-root .gpp-pill.is-on { border: 2px solid #111111; padding: 6px 13px; background: #FFFBEA; font-weight: 500; }
.gpp-root .gpp-select { max-width: 100%; height: 42px; border: 1px solid var(--gpp-line); border-radius: 10px; padding: 0 12px; background: #FFFFFF; font-size: 15px; }
.gpp-line { display: flex; align-items: center; gap: 12px 14px; flex-wrap: wrap; padding: 4px 0; }
.gpp-line + .gpp-line { border-top: 1px solid var(--gpp-soft); padding-top: 10px; }
.gpp-line-sw { flex: 0 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.gpp-cap { flex: 1 1 120px; min-width: 0; }
.gpp-sws-next { padding-left: 8px; border-left: 1px solid var(--gpp-soft); }
.gpp-cap { font-size: 14px; font-weight: 500; }
.gpp-qty { display: flex; align-items: center; border: 1px solid var(--gpp-line); border-radius: 10px; overflow: hidden; background: #FFFFFF; margin-left: auto; }
.gpp-root .gpp-qty button { all: unset; cursor: pointer; width: 40px; height: 40px; text-align: center; font-size: 18px; line-height: 40px; }
.gpp-root .gpp-qty input { width: 70px !important; height: 40px !important; border: 0 !important; border-left: 1px solid var(--gpp-soft) !important; border-right: 1px solid var(--gpp-soft) !important; border-radius: 0 !important; text-align: center; font-size: 16px !important; font-weight: 500; padding: 0 !important; margin: 0 !important; background: #FFFFFF !important; -moz-appearance: textfield; box-shadow: none !important; }
.gpp-qty input::-webkit-outer-spin-button, .gpp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* Focus : le thème noircit les bordures des champs ; ici le bloc ne change pas d'aspect, le curseur suffit. */
.gpp-root .gpp-qty input:focus, .gpp-root .gpp-qty input:focus-visible { border-left-color: var(--gpp-soft) !important; border-right-color: var(--gpp-soft) !important; outline: none !important; box-shadow: none !important; }
.gpp-root .gpp-rm { all: unset; cursor: pointer; width: 32px; height: 40px; text-align: center; font-size: 22px; color: var(--gpp-mute); }
.gpp-add, .gpp-hint { margin: 0 !important; font-size: 14px; color: var(--gpp-text); }
.gpp-hint { background: var(--gpp-cream); border-radius: 10px; padding: 8px 12px; }
.gpp-add .gpp-link { font-weight: 500; }

/* Tailles (textile) */
.gpp-line-total { margin-left: auto; font-weight: 600; font-size: 15px; white-space: nowrap; }
.gpp-sizes { flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.gpp-size { display: flex; flex-direction: column; align-items: center; gap: 3px; margin: 0; }
.gpp-size-n { font-size: 13px; font-weight: 600; }
.gpp-root .gpp-size input { width: 100% !important; height: 40px !important; border: 1px solid var(--gpp-line) !important; border-radius: 10px !important; text-align: center; font-size: 16px !important; font-weight: 500; padding: 0 4px !important; margin: 0 !important; background: #FFFFFF !important; box-shadow: none !important; -moz-appearance: textfield; }
.gpp-size input::-webkit-outer-spin-button, .gpp-size input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gpp-size-s { font-size: 11px; color: var(--gpp-mute); white-space: nowrap; }
.gpp-size.is-out .gpp-size-s { color: #B4441B; }
.gpp-meta [data-act="stock"] { font-size: 14px; }
.gpp-modal-wide .gpp-modal-box { width: min(980px, 100%); }
.gpp-stock-wrap { overflow-x: auto; }
.gpp-root .gpp-stock { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; border: 0; }
.gpp-root .gpp-stock th, .gpp-root .gpp-stock td { padding: 8px 10px; border: 0; border-bottom: 1px solid var(--gpp-soft); text-align: center; white-space: nowrap; background: transparent; }
.gpp-root .gpp-stock thead th { font-weight: 600; color: var(--gpp-mute); }
.gpp-root .gpp-stock tbody th { text-align: left; font-weight: 500; }
.gpp-stock td.is-out { color: #B4441B; font-size: 12px; }
.gpp-stock td.is-na { color: #C9C4B8; }
.gpp-dot-c { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--gpp-line); margin-right: 8px; vertical-align: -2px; }

/* Prix et bouton */
.gpp-price { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; border-top: 1px solid var(--gpp-soft); padding-top: 12px; }
.gpp-unit { font-size: 30px; font-weight: 600; line-height: 1.1; }
.gpp-unit small { font-size: 15px; font-weight: 400; }
.gpp-unit-na { font-size: 20px; }
.gpp-total { font-size: 14px; color: var(--gpp-text); }
.gpp-green { color: var(--gpp-green); font-weight: 500; }
.gpp-nudge { background: #FFF6CC; border-radius: 12px; padding: 8px 12px; font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.gpp-nudge span:last-child { display: flex; gap: 12px; flex-wrap: wrap; }
.gpp-warn { background: #FCEBD9; color: #7A3E06; border-radius: 12px; padding: 8px 12px; font-size: 14px; transition: transform .15s; }
.gpp-warn.gpp-flash { transform: scale(1.04); }
.gpp-mult { font-size: 13px; color: #5f5b52; }
.gpp-root .gpp-cta { all: unset; cursor: pointer; box-sizing: border-box; height: 54px; border-radius: 14px; background: #111111; color: #FFFFFF; font-size: 17px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 0 18px; }
.gpp-root .gpp-cta:hover { background: #2B2B2B; }
.gpp-root .gpp-cta[aria-disabled="true"] { background: #9A968C; }
.gpp-root .gpp-cta.is-busy, .gpp-root .gpp-btn2.is-busy { opacity: .6; pointer-events: none; }
.gpp-cta .gpp-ic { stroke: #FFFFFF; width: 20px; height: 20px; }
.gpp-deliv { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--gpp-text); margin-top: -4px; }
.gpp-deliv .gpp-green { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.gpp-deliv b { font-weight: 600; }

.gpp-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gpp-sec:empty { display: none; }
.gpp-root .gpp-btn2 { all: unset; cursor: pointer; box-sizing: border-box; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--gpp-line); background: #FFFFFF; font-size: 15px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; text-align: center; }
.gpp-root .gpp-btn2:hover { border-color: #111111; }
.gpp-note { margin: -4px 0 0 !important; font-size: 13px; color: var(--gpp-mute); }
.gpp-note:empty { display: none; }

/* Paliers */
.gpp-tiers { gap: 6px; }
.gpp-root .gpp-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; border: 0; }
.gpp-table caption { text-align: left; font-size: 15px; font-weight: 600; padding: 0 0 6px; caption-side: top; }
.gpp-table caption span { font-weight: 400; color: var(--gpp-mute); }
.gpp-root .gpp-table th, .gpp-root .gpp-table td { padding: 6px 10px; border: 0; background: transparent; text-align: right; }
.gpp-root .gpp-table th { font-weight: 500; color: var(--gpp-mute); }
.gpp-root .gpp-table th:first-child, .gpp-root .gpp-table td:first-child { text-align: left; }
.gpp-root .gpp-table tbody tr:nth-child(odd) td { background: #FBFAF6; }
.gpp-root .gpp-table tr.is-on td { background: var(--gpp-yellow); font-weight: 600; }
.gpp-table td:first-child { border-radius: 8px 0 0 8px; }
.gpp-table td:last-child { border-radius: 0 8px 8px 0; color: var(--gpp-green); }

.gpp-pay { background: #F0F7DC; border-radius: 16px; padding: 10px 16px; font-size: 14px; color: #1F3A2E; }
.gpp-root .gpp-pay > button { all: unset; cursor: pointer; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 30px; color: #1F3A2E; }
.gpp-pay-more p { margin: 4px 0 6px !important; }
.gpp-pay-more ul { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 4px; }
.gpp-pay-more[hidden] { display: none !important; }
.gpp-phone { display: flex; align-items: center; gap: 12px; background: #FFFFFF; border-radius: 16px; padding: 12px 16px; font-size: 14px; }
.gpp-phone-ic { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; background: #6EE7C8; display: flex; align-items: center; justify-content: center; }

/* Comment ça marche */
.gpp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gpp-how { margin-top: 40px; background: #FFFFFF; border-radius: 22px; padding: 28px 30px; }
.gpp-how ol { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.gpp-how li { position: relative; display: flex; flex-direction: column; gap: 12px; margin: 0; }
/* Pointillés entre deux étapes */
.gpp-how li:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: 70px; right: -12px; border-top: 2px dashed var(--gpp-line); }
.gpp-how-ic { position: relative; width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; background: var(--gpp-yellow); display: flex; align-items: center; justify-content: center; }
.gpp-how-ic .gpp-ic { width: 26px; height: 26px; stroke-width: 1.8; }
.gpp-how-ic i { position: absolute; top: -2px; right: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--gpp-ink); color: #FFFFFF; font-style: normal; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.gpp-how-t { display: flex; flex-direction: column; gap: 4px; }
.gpp-how-t b { font-size: 16px; }
.gpp-how-t span { font-size: 14px; color: var(--gpp-text); }

/* Barre fixe */
.gpp-bar { position: fixed; z-index: 9990; left: 0; right: 0; bottom: 0; background: #FFFFFF; border-top: 1px solid #E5E0D5; box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); transform: translateY(110%); transition: transform .2s ease; }
.gpp-bar.is-on { transform: none; }
.gpp-bar-in { max-width: 1376px; margin: 0 auto; padding: 10px 32px; display: flex; align-items: center; gap: 18px; }
.gpp-bar-img { width: 52px; height: 52px; border-radius: 12px; object-fit: contain; background: var(--gpp-cream); flex: 0 0 52px; }
.gpp-bar-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.gpp-bar-txt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gpp-bar-txt span, .gpp-bar-price span { font-size: 13px; color: var(--gpp-mute); }
.gpp-bar-price { display: flex; flex-direction: column; text-align: right; white-space: nowrap; }
.gpp-bar-price b { font-size: 20px; }
.gpp-bar-price small { font-size: 13px; font-weight: 400; }
.gpp-root.gpp-bar .gpp-cta { height: 48px; font-size: 16px; padding: 0 26px; white-space: nowrap; }

/* Fenêtres */
.gpp-modal { position: fixed; inset: 0; z-index: 99999; background: rgba(17, 17, 17, .55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.gpp-modal-box { position: relative; background: #FFFFFF; border-radius: 20px; padding: 28px 30px; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; }
.gpp-root .gpp-modal-x { all: unset; cursor: pointer; position: absolute; z-index: 5; top: 10px; right: 14px; background: #FFFFFFE6; border-radius: 50%; font-size: 28px; line-height: 1; width: 40px; height: 40px; text-align: center; color: var(--gpp-mute); }
.gpp-root .gpp-modal-t { margin: 0 0 16px !important; font-size: 26px; font-weight: 400; }
.gpp-techs { display: flex; flex-direction: column; gap: 14px; }
.gpp-tech { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; padding: 12px; border-radius: 14px; border: 1px solid var(--gpp-soft); }
.gpp-tech.is-on { border: 2px solid #111111; background: #FFFBEA; }
.gpp-tech img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; }
.gpp-root .gpp-tech h3 { margin: 0 0 4px !important; font-size: 18px; }
.gpp-tech p { margin: 0 0 8px !important; font-size: 14px; color: var(--gpp-text); }
.gpp-tech-on { font-size: 14px; font-weight: 600; }
.gpp-modal-foot { margin: 16px 0 0 !important; font-size: 14px; color: var(--gpp-text); }
.gpp-bo { margin: 0 !important; padding: 0 0 0 18px !important; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
.gpp-bo-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.gpp-modal .gpp-bo-btns .gpp-cta { height: 46px; font-size: 16px; }
.gpp-modal-zoom .gpp-modal-box { width: min(1000px, 100%); padding: 16px; }
.gpp-zoom-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.gpp-zoom-img { max-height: calc(100vh - 80px); object-fit: contain; }
.gpp-root .gpp-zoom-prev, .gpp-root .gpp-zoom-next { all: unset; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: #111111; color: #FFFFFF; font-size: 28px; line-height: 44px; text-align: center; }
.gpp-root .gpp-zoom-prev { left: 8px; }
.gpp-root .gpp-zoom-next { right: 8px; }

/* Message */
.gpp-toast { position: fixed; z-index: 99998; left: 50%; bottom: 90px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #111111; color: #FFFFFF; border-radius: 14px; padding: 12px 44px 12px 18px; font-size: 15px; transition: all .2s ease; max-width: calc(100vw - 32px); }
.gpp-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.gpp-toast a { color: #FFE58A; text-decoration: underline; }
.gpp-root .gpp-toast-x { all: unset; cursor: pointer; position: absolute; right: 12px; top: 8px; font-size: 22px; color: #FFFFFF; }

/* Tablette et mobile */
@media (max-width: 1100px) {
	.gpp-grid { gap: 24px; }
	.gpp-root .gpp-title { font-size: 30px; }
}
@media (max-width: 900px) {
	.gpp-grid { grid-template-columns: minmax(0, 1fr); }
	.gpp-gal { position: static; grid-template-columns: minmax(0, 1fr); }
	.gpp-thumbs { order: 2; flex-direction: row; height: auto; min-height: 0; overflow-x: auto; overflow-y: hidden; }
	.gpp-main { order: 1; }
	.gpp-how ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gpp-how li:nth-child(2n)::after { display: none; }
	.gpp-bar-in { padding: 8px 16px; gap: 12px; }
	.gpp-bar-img, .gpp-bar-txt { display: none; }
	.gpp-bar-price { text-align: left; flex: 1 1 auto; }
	.gpp-root.gpp-bar .gpp-cta { padding: 0 18px; font-size: 15px; }
}
@media (max-width: 560px) {
	.gpp-card { padding: 14px; }
	.gpp-root .gpp-title { font-size: 26px; }
	.gpp-unit { font-size: 26px; }
	.gpp-qty { margin-left: 0; }
	.gpp-how { padding: 20px; }
	.gpp-tech { grid-template-columns: 72px minmax(0, 1fr); }
	.gpp-tech img { width: 72px; height: 72px; }
	.gpp-modal-box { padding: 22px 18px; }
}
/* ---------- Mobile (jusqu'à 720 px) ---------- */
@media (max-width: 720px) {
	.gpp-m-only { display: inline; }
	.gpp-d-only { display: none !important; }
	body.gaj-pp-on { padding-bottom: 84px; }
	.gpp-grid { gap: 12px; }
	.gpp-side { gap: 10px; }
	.gpp-thumbs { display: none; }
	.gpp-main { aspect-ratio: auto; height: 280px; border-radius: 18px; }
	.gpp-zoom { display: none; }
	.gpp-count { display: block; position: absolute; z-index: 2; top: 12px; right: 12px; background: #FFFFFFE6; border-radius: 999px; padding: 2px 10px; font-size: 12px; }
	.gpp-dots { display: flex; position: absolute; z-index: 2; left: 0; right: 0; bottom: 6px; justify-content: center; gap: 2px; }
	.gpp-root .gpp-dot { all: unset; cursor: pointer; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
	.gpp-dot span { width: 8px; height: 8px; border-radius: 999px; background: #D9D4C7; transition: width .15s; }
	.gpp-dot.is-on span { width: 20px; background: #111111; }
	.gpp-badge { font-size: 12px; padding: 1px 8px; }

	/* Ordre : la description courte passe sous la configuration */
	.gpp-title { order: 1; }
	.gpp-meta { order: 2; }
	.gpp-crit { order: 2; }
	#gpp-config { order: 3; }
	.gpp-sec { order: 4; }
	.gpp-note { order: 5; }
	.gpp-short { order: 6; }
	.gpp-tiers { order: 7; }
	.gpp-pay { order: 8; }
	.gpp-phone { order: 9; }
	.gpp-root .gpp-title { font-size: 26px; }
	.gpp-meta { font-size: 13px; gap: 4px 12px; }
	.gpp-short { font-size: 14px; }

	.gpp-card { padding: 14px; border-radius: 18px; }
	.gpp-lab { font-size: 14px; }
	.gpp-lab-t { font-weight: 600; color: var(--gpp-ink); }
	.gpp-root .gpp-info { margin-left: auto; }

	/* Technique de marquage : liste à boutons radio */
	.gpp-cards { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.gpp-root .gpp-mk { flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; min-height: 48px; }
	.gpp-root .gpp-mk.is-on { padding: 9px 11px; }
	.gpp-mk-r { display: inline-flex; width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; border: 2px solid #111111; align-items: center; justify-content: center; }
	.gpp-mk.is-on .gpp-mk-r::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #111111; }
	.gpp-mk-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
	.gpp-mk-p, .gpp-mk-ok { display: none !important; }
	.gpp-mk-d { display: block; font-size: 12px; color: var(--gpp-mute); line-height: 1.3; }
	.gpp-mk-price { display: block; font-size: 13px; white-space: nowrap; }

	/* Couleurs et quantité : pastilles, puis légende + quantité */
	.gpp-line { gap: 8px 10px; }
	.gpp-line-sw { flex: 1 1 100%; }
	.gpp-root .gpp-sw { width: 36px; height: 36px; }
	.gpp-root .gpp-qty button { width: 44px; height: 44px; line-height: 44px; }
	.gpp-root .gpp-qty input { width: 58px !important; height: 44px !important; }
	.gpp-root .gpp-rm { height: 44px; }
	.gpp-sizes { grid-template-columns: repeat(4, minmax(0, 1fr)); }

	/* Prix */
	.gpp-price { align-items: stretch; }
	.gpp-price > div:first-child { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
	.gpp-unit { font-size: 26px; }
	.gpp-total { font-size: 13px; }
	.gpp-nudge { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
	.gpp-root .gpp-next-btn { background: #111111; color: #FFFFFF; text-decoration: none; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; white-space: nowrap; }
	.gpp-warn { width: 100%; font-size: 13px; }
	.gpp-mult { width: 100%; }
	.gpp-root .gpp-cta { height: 52px; font-size: 16px; }
	.gpp-deliv { justify-content: center; text-align: center; font-size: 13px; margin-top: -6px; }
	.gpp-deliv .gpp-green, .gpp-deliv .gpp-orange { display: inline; }
	.gpp-deliv .gpp-ic { display: none; }

	.gpp-sec { grid-template-columns: 1fr 1fr; gap: 8px; }
	.gpp-root .gpp-btn2 { font-size: 14px; padding: 0 8px; gap: 6px; }
	.gpp-note { font-size: 12px; }

	/* Paliers en accordéon */
	.gpp-tiers { padding: 0; gap: 0; }
	.gpp-root .gpp-acc-h { all: unset; cursor: pointer; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px; min-height: 52px; font-size: 18px; }
	.gpp-acc-h span:first-child { display: flex; flex-direction: column; font-size: 15px; }
	.gpp-acc-h small { font-size: 12px; color: var(--gpp-mute); }
	.gpp-acc-b { display: none; padding: 0 14px 14px; }
	.gpp-acc-b.is-open { display: block; }
	.gpp-table caption { display: none; }
	.gpp-root .gpp-table { font-size: 13px; }

	/* Comment ça marche */
	.gpp-how { margin: 16px 0 0; padding: 16px 14px; border-radius: 18px; }
	.gpp-how ol { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.gpp-how li { flex-direction: row; align-items: center; gap: 14px; }
	.gpp-how-ic { width: 46px; height: 46px; flex-basis: 46px; }
	.gpp-how-ic .gpp-ic { width: 22px; height: 22px; }
	.gpp-how li:not(:last-child)::after, .gpp-how li:nth-child(2n):not(:last-child)::after { display: block; top: 50px; left: 22px; right: auto; bottom: -12px; border-top: 0; border-left: 2px dashed var(--gpp-line); }
	.gpp-how-t b { font-size: 15px; }

	/* Barre fixe : toujours là quand le bouton principal n'est pas à l'écran */
	.gpp-bar-in { padding: 10px 14px 14px; gap: 12px; }
	.gpp-bar-price b { font-size: 18px; }
	.gpp-bar-price small { font-size: 12px; }
	.gpp-bar-price span { font-size: 12px; }
	.gpp-root.gpp-bar .gpp-cta { height: 48px; padding: 0 18px; font-size: 15px; }

	/* Fenêtre des techniques : volet qui monte du bas */
	.gpp-modal:not(.gpp-modal-zoom) { align-items: flex-end; padding: 0; }
	.gpp-modal:not(.gpp-modal-zoom) .gpp-modal-box { border-radius: 20px 20px 0 0; max-height: 85vh; padding: 20px 16px 28px; }
	.gpp-root .gpp-modal-t { font-size: 20px; padding-right: 36px; }
	.gpp-bo-btns { grid-template-columns: 1fr; }
	.gpp-bo-btns .gpp-cta { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
	.gpp-bar, .gpp-toast, .gpp-warn { transition: none; }
}
