/* =====================================================================
   Promotexo — product page (product.php)
   Builds on assets/css/ui.css (px- components). Prefix: pp-
   Black & white + #F9F9F9; colour only as small text accents.
   ===================================================================== */

.pp { background: #fff; color: #000; }
.pp p { margin: 0; }
.pp-center { text-align: center; margin-top: 8px !important; }
.pp-linkbtn { background: none; border: 0; padding: 0; min-height: var(--px-target); font: inherit; color: #000; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pp-linkbtn:hover { color: var(--px-blue); }

/* Editing banner */
.pp-editbar { background: #000; color: #fff; font-size: 13px; }
.pp-editbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.pp-editbar .px-link { color: #fff; }

/* Breadcrumb / anchors */
.pp .px-breadcrumb li span[aria-current] { display: inline-block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
@media (max-width: 639px) { .pp-crumb-sub { display: none !important; } }
.pp-anchors { margin-top: 4px; }

/* ------------------------------------------------------------ Layout */
.pp-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px 0 48px; scroll-margin-top: var(--px-sticky-top); }
@media (min-width: 1024px) {
    /* Compact gallery, the configuration gets the room (validated layout "tout sur une page") */
    .pp-main { grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 40px; padding: 24px 0 64px; align-items: start; }
    .pp-gallery { align-self: stretch; } /* full column height so the photos stay in view along the configurator */
    .pp-gallery__inner { position: sticky; top: calc(var(--px-sticky-top) + 4px); }
}
@media (min-width: 1280px) { .pp-main { grid-template-columns: minmax(320px, 440px) minmax(0, 1fr); gap: 48px; } }

/* ------------------------------------------------------------ Gallery (photos on white) */
.pp-stage { position: relative; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--px-border); overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: crosshair; }
@media (max-width: 1023px) { .pp-stage { margin: 0 calc(-1 * var(--px-gutter)); border-left: 0; border-right: 0; cursor: default; } }
.pp-stage__img { width: 100%; height: 100%; object-fit: contain; padding: 6%; box-sizing: border-box; }
.pp-stage__empty { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--px-ink-60); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.pp-stage__flags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; z-index: 2; pointer-events: none; }
.pp-stage__zoom { position: absolute; right: 10px; bottom: 10px; z-index: 3; width: var(--px-target); height: var(--px-target); display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--px-border-strong); cursor: pointer; }
.pp-stage__zoom:hover { border-color: #000; }
.pp-lens { position: absolute; width: 150px; height: 150px; border: 1px solid rgba(0,0,0,.3); border-radius: 50%; pointer-events: none; background-repeat: no-repeat; background-color: #fff; box-shadow: var(--px-shadow); z-index: 2; }
.pp-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pp-thumbs::-webkit-scrollbar { display: none; }
.pp-thumb { flex: 0 0 64px; width: 64px; height: 64px; padding: 3px; background: #fff; border: 1px solid var(--px-border); cursor: pointer; }
.pp-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pp-thumb:hover { border-color: #000; }
.pp-thumb.border-black { border-color: #000; box-shadow: inset 0 0 0 1px #000; }
@media (min-width: 1024px) {
    .pp-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
    .pp-thumb { width: auto; height: auto; aspect-ratio: 1 / 1; }
}
.pp-gallery__note { margin-top: 10px !important; }

/* ------------------------------------------------------------ Head (title + price on one line) */
.pp-head { display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px; }
.pp-head__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pp-head__actions { display: flex; gap: 2px; margin-right: -10px; }
.pp-head__actions .px-iconbtn { width: 40px; height: 40px; min-height: 40px; }
@media (pointer: coarse) { .pp-head__actions .px-iconbtn { width: 44px; height: 44px; } }
#wishlistBtnSmall.text-red-500 svg, #wishlistBtn.text-red-500 svg { fill: #000; }
#wishlistBtnSmall.text-red-500, #wishlistBtn.text-red-500 { color: #000 !important; }
#wishlistBtn.bg-red-50 { background: transparent !important; }
.pp-head__main { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; }
.pp-head__id { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pp-title { margin: 0; font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; text-transform: uppercase; overflow-wrap: anywhere; }
.pp-subtitle { font-size: 15px; line-height: 1.45; color: var(--px-ink-70); max-width: 60ch; }
.pp-price-hero { display: flex; flex-direction: column; gap: 2px; text-align: right; align-items: flex-end; }
.pp-price-hero__k { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--px-ink-60); }
.pp-price-hero .px-price__amount { font-size: clamp(26px, 2.6vw, 32px); }
.pp-price-hero__sub { max-width: 34ch; }
.pp-facts { display: flex; flex-wrap: wrap; margin: 0; border-top: 1px solid var(--px-border); border-bottom: 1px solid var(--px-border); }
.pp-facts > div { padding: 6px 16px 6px 0; margin-right: 16px; border-right: 1px solid var(--px-border); position: relative; }
.pp-facts > div:last-child { border-right: 0; margin-right: 0; }
.pp-facts dt { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--px-ink-60); }
.pp-facts dd { margin: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 700; font-size: 14px; min-height: 32px; }
.pp-facts__muted { font-weight: 500; color: var(--px-ink-60); font-size: 13px; }
.pp-copy { min-height: 32px; padding: 0 8px; border: 1px solid var(--px-border-strong); background: #fff; font: 700 10px var(--px-font); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.pp-copy:hover { border-color: #000; }
@media (pointer: coarse) { .pp-copy { min-height: 44px; } }
.pp-tags { list-style: none; margin: 0; padding: 0; }
.pp-alert { margin-top: 4px; }

/* Stock: indicator that opens the stock of every colour */
.pp-stockbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: help; text-decoration: underline dotted rgba(0,0,0,.35); text-underline-offset: 4px; }
.pp-stockbtn:focus-visible { outline: 2px solid var(--px-blue); outline-offset: 2px; }
@media (pointer: coarse) { .pp-stockbtn { min-height: 44px; } }
.pp-stockbtn[aria-expanded="true"] .px-icon { transform: rotate(180deg); }
.pp-stockpop { position: absolute; left: 0; top: 100%; z-index: 30; width: min(340px, calc(100vw - 32px)); max-height: 360px; overflow: auto; margin-top: 4px; padding: 12px 14px; background: #fff; border: 1px solid #000; box-shadow: 0 10px 30px rgba(0,0,0,.12); font-weight: 400; }
.pp-stockpop[hidden] { display: none; }
.pp-stockpop__title { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-bottom: 6px !important; }
.pp-stockpop__list { list-style: none; margin: 0; padding: 0; }
.pp-stockpop__list li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 2px 8px; padding: 6px 0; border-top: 1px solid var(--px-border); font-size: 13px; }
.pp-stockpop__chip { width: 12px; height: 12px; border: 1px solid rgba(0,0,0,.2); }
.pp-stockpop__name { font-weight: 600; overflow-wrap: anywhere; }
.pp-stockpop__qty { font-size: 12px; color: var(--px-ink-70); text-align: right; }
.pp-stockpop__sizes { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 11px; color: var(--px-ink-60); }
.pp-stockpop__note { margin-top: 6px !important; }

/* Colour tooltip (one shared element, positioned by product-page.js) */
.pp-tip { position: fixed; z-index: 90; display: flex; flex-direction: column; gap: 1px; max-width: 240px; padding: 7px 10px; background: #000; color: #fff; font-size: 12px; line-height: 1.35; pointer-events: none; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.pp-tip[hidden] { display: none; }
.pp-tip strong { font-weight: 700; }
.pp-tip span { color: rgba(255,255,255,.82); }

/* Small uppercase section label (h2) */
.pp-k { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #000; }

/* ------------------------------------------------------------ Colour + quantity */
.pp-cq { border-top: 1px solid var(--px-border); border-bottom: 1px solid var(--px-border); padding: 12px 0; display: flex; flex-direction: column; gap: 12px; }
.pp-cq__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.pp-colors { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-color { position: relative; flex: none; width: 52px; height: 52px; padding: 0; background: #fff; border: 1px solid var(--px-border-strong); cursor: pointer; overflow: hidden; display: block; }
.pp-color:hover { border-color: #000; }
.pp-color:focus-visible { outline: 2px solid var(--px-blue); outline-offset: 2px; }
.pp-color.border-black, .pp-color[aria-pressed="true"] { border-color: #000; box-shadow: inset 0 0 0 2px #000; }
.pp-color__img { width: 100%; height: 100%; object-fit: contain; padding: 4px; box-sizing: border-box; display: block; }
.pp-color__chip { position: absolute; right: 3px; bottom: 3px; width: 12px; height: 12px; border: 1px solid rgba(0,0,0,.2); box-shadow: 0 0 0 2px #fff; }
.pp-color--plain .pp-color__chip { inset: 6px; width: auto; height: auto; box-shadow: none; }
.pp-color__mark { position: absolute; left: 50%; bottom: 0; width: 20px; height: 3px; margin-left: -10px; background: #000; }
@media (max-width: 479px) { .pp-color { width: 46px; height: 46px; } }
.pp-selected { margin-top: 8px !important; font-size: 13px; font-weight: 600; }

/* Sizes */
.pp-sizes { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--px-border-strong); }
.pp-sizes__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.pp-sizes__title { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pp-sizes__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.pp-size { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 8px; border: 1px solid var(--px-border-strong); background: #fff; text-align: center; }
.pp-size:focus-within { border-color: #000; }
.pp-size__label { font-size: 12px; font-weight: 800; text-transform: uppercase; }
.pp-size__input { width: 100%; min-height: 40px; border: 1px solid var(--px-border-strong); text-align: center; font: 700 15px var(--px-font); -moz-appearance: textfield; }
.pp-size__input::-webkit-outer-spin-button, .pp-size__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pp-size__input:focus { outline: none; border-color: #000; box-shadow: 0 0 0 1px #000; }
.pp-size__input.border-red-500 { border-color: var(--px-red); box-shadow: 0 0 0 1px var(--px-red); background: #fff !important; }
.pp-size__stock { font-size: 10px; color: var(--px-ink-60); }
.pp-sizes__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0 6px; flex-wrap: wrap; }

/* Quantity + tiers (compact line) */
.pp-cq__qty { padding-top: 12px; border-top: 1px solid var(--px-border); }
.pp-cq__qty:first-child { padding-top: 0; border-top: 0; }
.pp-qty-row { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.pp-qty { background: #fff; }
.pp-qty input { width: 96px; min-height: var(--px-target); font-size: 16px; }
.pp-qty input[readonly] { background: var(--px-bg-alt); }
.pp-qty-unit { font-variant-numeric: tabular-nums; }
.pp-qty-note { margin-top: 6px !important; }
.pp-tiers { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; margin-top: 6px; font-size: 12px; color: var(--px-ink-70); }
.pp-tier { display: inline-flex; align-items: baseline; gap: 4px; min-height: 32px; padding: 0 6px; border: 0; background: none; font: inherit; color: inherit; text-align: left; font-variant-numeric: tabular-nums; }
button.pp-tier { cursor: pointer; }
@media (pointer: coarse) { button.pp-tier { min-height: 40px; } }
button.pp-tier:hover { color: #000; text-decoration: underline; text-underline-offset: 3px; }
button.pp-tier:focus-visible { outline: 2px solid var(--px-blue); outline-offset: 1px; }
.pp-tier.is-active, .pp-tier[aria-pressed="true"] { color: #000; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pp-tier__qty { font-weight: 600; }
.pp-tier__tag { font-size: 11px; font-weight: 700; }
.pp-tiers__note { padding-left: 6px; }
.pp-quick { margin-top: 8px; }

/* ------------------------------------------------------------ Positions: small photos to tick */
.pp-pos { margin-top: 16px; }
.pp-pos__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 10px; }
.pp-pos__hint { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--px-ink-70); font-size: 13px; margin-left: 4px; }
.pp-pos__count { font-weight: 700; }
.pp-zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
@media (min-width: 640px) { .pp-zones { grid-template-columns: repeat(auto-fill, minmax(124px, 158px)); } }
.pp-zone { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 0; border: 1px solid var(--px-border-strong); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pp-zone:hover { border-color: #000; }
.pp-zone.border-black, .pp-zone.is-selected { border-color: #000; box-shadow: inset 0 0 0 2px #000; }
.pp-zone.bg-black\/5 { background: #fff !important; }
.pp-zone:has(input:focus-visible) { outline: 2px solid var(--px-blue); outline-offset: 2px; }
.pp-zone__media { position: relative; display: flex; align-items: center; justify-content: center; height: 76px; margin: 2px 2px 0; background: #fff; border-bottom: 1px solid var(--px-border); overflow: hidden; }
.pp-zone__img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 3px; box-sizing: border-box; }
.pp-zone.is-fallback .pp-zone__img { padding: 8px; }
.pp-zone__icon { display: inline-flex; align-items: center; justify-content: center; color: #000; }
.pp-zone__icon svg { width: 52px; height: 52px; }
.pp-zone__check { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid #000; background: #fff; color: #fff; }
.pp-zone__check.bg-black { background: #000; }
.pp-zone__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding: 6px 8px 8px; text-align: left; }
.pp-zone__name { font-size: 13px; font-weight: 700; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-zone__dims { font-size: 11px; color: var(--px-ink-70); line-height: 1.3; }
.pp-zone__tech { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--px-ink-70); line-height: 1.3; min-width: 0; }
.pp-zone__tech > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-zone__tech .pp-ticon { width: 14px; height: 14px; flex: none; color: #000; }
.pp-zone__price[hidden] { display: none; }

/* ------------------------------------------------------------ "Votre marquage" table */
.pp-mark { margin-top: 16px; border: 1px solid var(--px-border-strong); background: #fff; }
.pp-mark__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding: 10px 12px; background: var(--px-bg-alt); border-bottom: 1px solid var(--px-border); }
.pp-zonetabs, .pp-zonetabs.hidden { display: none !important; }
.pp-mark__empty { margin: 0; padding: 14px 12px; font-size: 13px; color: var(--px-ink-70); }
.pp-mark__empty.hidden { display: none; }
.pp-zoneconfigs { list-style: none; margin: 0; padding: 0; }
.pp-mrow { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 44px; grid-template-areas: "img name cost del" "img set set set" "note note note note"; align-items: center; gap: 6px 12px; padding: 10px 12px; border-top: 1px solid var(--px-border); }
.pp-zoneconfigs > .pp-mrow:first-child { border-top: 0; }
.pp-mrow.hidden { display: none; }
.pp-mrow__media { grid-area: img; align-self: start; width: 64px; height: 48px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--px-border); }
.pp-mrow__img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 2px; box-sizing: border-box; }
.pp-mrow__name { grid-area: name; min-width: 0; line-height: 1.25; }
.pp-zcfg__name { font-size: 14px; font-weight: 700; }
.pp-mrow__dims { font-size: 11px; color: var(--px-ink-70); }
.pp-mrow__cost { grid-area: cost; font-size: 13px; font-weight: 700; text-align: right; white-space: nowrap; }
.pp-mrow__remove { grid-area: del; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--px-border); background: #fff; color: #000; cursor: pointer; }
.pp-mrow__remove:hover { border-color: #000; }
.pp-mrow__remove:focus-visible { outline: 2px solid var(--px-blue); outline-offset: 2px; }
.pp-mrow__set { grid-area: set; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; }
.pp-mrow__techs { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 220px; min-width: 0; }
.pp-mrow__colors { flex: 0 0 auto; display: flex; align-items: center; }
.pp-mrow__select { min-height: var(--px-target); min-width: 118px; padding: 0 28px 0 10px; border: 1px solid var(--px-border-strong); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; -webkit-appearance: none; appearance: none; font: 600 13px var(--px-font); color: #000; cursor: pointer; }
.pp-mrow__select:focus-visible { outline: 2px solid var(--px-blue); outline-offset: 1px; }
.pp-mrow__select[hidden], .pp-mrow__colfix[hidden] { display: none; }
.pp-mrow__colfix { display: inline-flex; align-items: center; min-height: var(--px-target); padding: 0 4px; color: var(--px-ink-70); font-weight: 600; }
.pp-mrow__edit { display: inline-flex; align-items: center; gap: 6px; min-height: var(--px-target); padding: 0 12px; margin-left: auto; border: 1.5px solid #000; background: #fff; color: #000; font: 700 11px var(--px-font); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.pp-mrow__edit:hover { background: #000; color: #fff; }
.pp-mrow__edit:focus-visible { outline: 2px solid var(--px-blue); outline-offset: 2px; }
/* Number of colours without effect on the price (AreaRange) */
.pp-mrow__colnote { margin-left: 8px; color: var(--px-ink-70); white-space: nowrap; }
.pp-mrow__colnote[hidden] { display: none; }
/* Logo size (width x height mm): the surface sets the price range of area-based techniques */
.pp-mrow__size { order: 10; flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 6px; border-top: 1px dashed var(--px-border); }
.pp-mrow__size[hidden] { display: none; }
.pp-mrow__sizelbl { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pp-mrow__sizein { display: inline-flex; align-items: center; gap: 6px; }
.pp-mrow__num { width: 72px; min-height: var(--px-target); padding: 0 8px; border: 1px solid var(--px-border-strong); background: #fff; font: 600 14px var(--px-font); color: #000; text-align: right; -moz-appearance: textfield; }
.pp-mrow__num:focus-visible { outline: 2px solid var(--px-blue); outline-offset: 1px; border-color: #000; }
.pp-mrow__times, .pp-mrow__unit { font-size: 13px; color: var(--px-ink-70); }
.pp-mrow__area { color: var(--px-ink-80); }
.pp-mrow__note { grid-area: note; margin: 0; padding: 8px 10px; border-left: 2px solid #000; background: var(--px-bg-alt); font-size: 12px; line-height: 1.45; color: var(--px-ink-80); }
.pp-mrow__note.hidden { display: none; }
.pp-legacy { display: none !important; }

/* Technique chips (with their icon) */
.pp-tech { display: inline-flex; align-items: center; gap: 6px; min-height: var(--px-target); padding: 4px 10px; border: 1px solid var(--px-border-strong); background: #fff; color: #000; cursor: pointer; user-select: none; }
.pp-tech:hover { border-color: #000; }
.pp-tech:focus-visible { outline: 2px solid var(--px-blue); outline-offset: 2px; }
.pp-tech.border-black { border-color: #000; }
.pp-tech.bg-black { background: #000 !important; color: #fff !important; }
.pp-tech .pp-ticon { width: 18px; height: 18px; flex: none; }
.pp-tech__text { display: flex; flex-direction: column; min-width: 0; }
.pp-tech__text p { margin: 0; }
.pp-tech p.text-sm { font-size: 13px !important; font-weight: 700; line-height: 1.2; }
.pp-tech__sub { display: none; }
.pp-tech.bg-black p { color: #fff !important; }
.pp-tech__arrow { flex: none; transition: transform .15s; }
.pp-mrow .embroidery-group { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-tech__subtypes:not(.hidden) { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-tech__subtypes.hidden { display: none; }
.pp-tech--sub p { font-size: 12px; font-weight: 600; margin: 0; }

.pp-mark__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 16px; padding: 4px 12px; border-top: 1px solid var(--px-border); }
.pp-mark__add { display: flex; flex-wrap: wrap; gap: 0 12px; }
.pp-mark__add:empty { display: none; }
.pp-addzone { display: inline-flex; align-items: center; gap: 6px; min-height: var(--px-target); padding: 0 2px; border: 0; background: none; font: 700 12px var(--px-font); color: #000; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pp-addzone:hover { color: var(--px-blue); }
.pp-addzone:focus-visible { outline: 2px solid var(--px-blue); outline-offset: 2px; }
.pp-mark__opts { display: flex; flex-wrap: wrap; gap: 0 16px; margin-left: auto; }
.pp-opt { display: inline-flex; align-items: center; gap: 6px; min-height: var(--px-target); font-size: 12px; color: var(--px-ink-70); cursor: pointer; }
.pp-opt input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: #000; }
.pp-opt:hover { color: #000; }
.pp-opt.is-disabled { opacity: .5; cursor: default; }
.pp-opt--file { text-decoration: underline; text-underline-offset: 3px; }
.pp-opt--file:focus-within { outline: 2px solid var(--px-blue); outline-offset: 2px; }
.pp-mark__note { margin: 0 12px 10px !important; padding: 8px 10px; border-left: 2px solid #000; background: var(--px-bg-alt); }
.pp-mark__note[hidden] { display: none; }
.pp-mark__total { margin: 0 12px 10px !important; font-weight: 700; }
.pp-mark__total[hidden] { display: none; }

@media (max-width: 639px) {
    .pp-mrow { grid-template-columns: 52px minmax(0, 1fr) auto 44px; gap: 6px 10px; padding: 10px; }
    .pp-mrow__media { width: 52px; height: 40px; }
    .pp-mrow__set { grid-column: 1 / -1; }
    .pp-mrow__techs { flex-basis: 100%; }
    .pp-mrow__edit { flex: 1 1 auto; justify-content: center; }
    .pp-mrow__num { width: 64px; font-size: 16px; }
    .pp-mrow__area { flex: 1 1 100%; }
    .pp-mark__opts { margin-left: 0; }
    .pp-pos__hint { display: block; margin: 2px 0 0; }
}

/* ------------------------------------------------------------ Total + actions */
.pp-summary { margin-top: 16px; scroll-margin-top: var(--px-sticky-top); scroll-margin-bottom: 96px; }
.pp-summary__grid { display: flex; flex-wrap: wrap; gap: 16px 28px; }
.pp-summary__detail { flex: 1 1 340px; min-width: 0; }
.pp-summary__actions { flex: 1 1 280px; max-width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 1024px) { .pp-summary__actions { flex: 0 1 300px; } }
.pp-summary__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pp-taxtoggle > button { min-height: 32px; min-width: 48px; }
@media (pointer: coarse) { .pp-taxtoggle > button { min-height: 44px; } }
.pp-summary__total-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 0 12px; }
.pp-summary__k { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #000; }
.pp-summary__total { justify-self: end; font-size: clamp(28px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; display: inline-flex; align-items: center; gap: 8px; }
.pp-summary__unit { grid-column: 1 / -1; justify-self: end; font-variant-numeric: tabular-nums; }
.pp-spinner { flex: none; }
.pp-breakdown { margin-top: 4px; }
.pp-breakdown > summary { min-height: 36px; display: flex; align-items: center; cursor: pointer; list-style: none; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--px-ink-70); }
.pp-breakdown > summary::-webkit-details-marker { display: none; }
.pp-breakdown > summary::after { content: "+"; font-size: 16px; font-weight: 400; margin-left: auto; }
.pp-breakdown[open] > summary::after { content: "−"; }
.pp-breakdown__ht { color: var(--px-ink-60); font-weight: 600; margin-left: 4px; }
.pp-breakdown .px-price-lines { padding: 0 0 6px; font-size: 13px; }
.pp-breakdown__zones { text-align: right; font-weight: 500; font-size: 12px; }
.pp-breakdown__zones > div, .pp-breakdown__zones p { font-size: 12px !important; color: var(--px-ink-70) !important; font-style: normal !important; }
.pp-summary__fine { margin-top: 4px !important; }
.pp-editorbtn { min-height: 56px; font-size: 14px; letter-spacing: .1em; }
.pp-editorbtn.px-btn--outline { min-height: 48px; font-size: 12px; }
#personalizeSection.hidden { display: block !important; }
#addToCartSection.hidden { display: block !important; }
.pp-summary__cta { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.pp-summary__cta #addToCartSection { flex: 1 1 180px; }
.pp-summary__quote { font-size: 12px; font-weight: 700; }
.pp-summary__links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 16px; }
.pp-summary__links .pp-linkbtn { font-size: 12px; color: var(--px-ink-70); }
.pp-summary__links .pp-linkbtn:hover { color: #000; }
.pp-breakdown .px-price-lines dt { font-size: 12px; }
.pp-breakdown .px-price-lines dd { font-size: 12px; }
.pp-breakdown .px-price-lines .is-total { font-size: 14px; }
.pp-summary__notes { list-style: none; margin: 14px -16px -16px; padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 4px 20px; color: var(--px-ink-70); border-top: 1px solid var(--px-border); }
@media (min-width: 640px) { .pp-summary__notes { margin: 16px -24px -24px; padding: 10px 24px; } }

/* ------------------------------------------------------------ Sticky bar */
#stickyPriceBar.pp-bar { padding: 8px var(--px-gutter); padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 45; }
#stickyPriceBar.pp-bar.translate-y-full, #stickyPriceBar.pp-bar.is-hidden { transform: translateY(110%); }
.pp-bar__inner { width: 100%; max-width: var(--px-container); margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.pp-bar__img { width: 48px; height: 48px; object-fit: contain; background: #fff; border: 1px solid var(--px-border); flex: none; display: none; }
.pp-bar__name { display: none; min-width: 0; }
.pp-bar__title { font-size: 14px; font-weight: 800; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-bar__price { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; background: none; border: 0; padding: 0; font: inherit; color: #000; text-align: left; cursor: pointer; min-height: var(--px-target); justify-content: center; }
.pp-bar__k { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--px-ink-60); display: inline-flex; align-items: center; gap: 4px; }
.pp-bar__total { font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.pp-bar__unit { white-space: nowrap; }
.pp-bar__cta { flex: none; }
.pp-only-xs { display: none; }
@media (max-width: 379px) { .pp-hide-xs { display: none; } .pp-only-xs { display: inline; } }
@media (min-width: 1024px) {
    #stickyPriceBar.pp-bar { display: flex; }
    body.has-pp-bar { padding-bottom: 72px; }
    .pp-bar__img, .pp-bar__name { display: block; }
    .pp-bar__name { flex: 1; }
    .pp-bar__price { flex: none; align-items: flex-end; text-align: right; margin-left: auto; }
    .pp-bar__cta { min-width: 220px; }
}
@media (max-width: 1023px) { body.has-pp-bar { padding-bottom: 76px; } }

/* ------------------------------------------------------------ Editorial sections */
.pp-sec { scroll-margin-top: var(--px-sticky-top); }
.pp-sec .px-h2 { margin: 8px 0 0; }
.pp-subhead { margin: 0 0 14px; }
.pp-product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1024px) { .pp-product { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.pp-product__lead { margin: 18px 0 0 !important; color: #000; font-size: 18px; }
.pp-product__desc { margin-top: 18px; }
.pp-product__specs { border-top: 2px solid #000; padding-top: 14px; }
.pp-specs { margin: 8px 0 0; }
.pp-specs__row { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--px-border); font-size: 14px; }
.pp-specs__row dt { color: var(--px-ink-60); }
.pp-specs__row dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.pp-docs { margin-top: 28px; }
.pp-docs__list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pp-doc { display: flex; align-items: center; gap: 10px; min-height: var(--px-target); padding: 8px 14px; border: 1px solid var(--px-border-strong); text-decoration: none; color: #000; font-size: 14px; font-weight: 600; }
.pp-doc:hover { border-color: #000; }
.pp-mosaic { margin-top: 56px; }
.pp-mosaic__head { margin-bottom: 16px; }
.pp-mosaic__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 768px) { .pp-mosaic__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pp-mosaic__item { aspect-ratio: 1 / 1; padding: 0; border: 1px solid var(--px-border); background: #fff; cursor: zoom-in; overflow: hidden; }
.pp-mosaic__item img { width: 100%; height: 100%; object-fit: contain; padding: 8%; box-sizing: border-box; transition: transform .3s var(--px-ease); }
.pp-mosaic__item:hover img { transform: scale(1.04); }
.pp-mark__intro { margin: -12px 0 16px !important; }
.pp-table th[scope="row"] { white-space: nowrap; }
.pp-table__tag { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.pp-table__note { margin-top: 10px !important; }
.pp-pricegrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1024px) { .pp-pricegrid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; } }
.pp-delays { display: flex; flex-direction: column; gap: 10px; }
.pp-delays .pp-subhead { margin-bottom: 4px; }
.pp-delaycard { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding: 16px; border: 1px solid #000; background: #fff; }
.pp-delaycard.hidden { display: none; }
.pp-delaycard__k { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--px-ink-60); }
.pp-delaycard__v { font-size: 15px; font-weight: 800; margin-top: 2px !important; }
.pp-delaycard__v::first-letter { text-transform: uppercase; }
.pp-timeline { list-style: none; margin: 12px 0 0; padding: 0; border-left: 2px solid #000; }
.pp-timeline li { display: flex; flex-direction: column; gap: 2px; padding: 0 0 14px 16px; position: relative; }
.pp-timeline li::before { content: ""; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; background: #000; }
.pp-timeline__k { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pp-timeline__t { font-size: 13px; color: var(--px-ink-70); line-height: 1.5; }
.pp-conditions { display: grid; grid-template-columns: minmax(0, 1fr); margin: 40px 0 0; border-top: 1px solid #000; }
@media (min-width: 640px) { .pp-conditions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pp-conditions { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pp-conditions > div { padding: 16px 20px 16px 0; border-bottom: 1px solid var(--px-border); }
.pp-conditions dt { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pp-conditions dd { margin: 4px 0 0; font-size: 14px; color: var(--px-ink-70); line-height: 1.5; }

.pp-faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1024px) { .pp-faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: start; } }
.pp-faq__aside { display: flex; flex-direction: column; gap: 14px; }
.pp-faq__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-faq__reviews { display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; }

/* Lightbox stays as-is; make it neutral */
#lightboxModal button { min-width: var(--px-target); min-height: var(--px-target); }
/* After "Appliquer" in the customizer the script marks the button as done: keep it neutral */
#personalizeBtn.bg-green-600 { background: #000 !important; color: #fff !important; border-color: #000; }
#personalizeBtn.px-btn--outline.bg-green-600 { background: #fff !important; color: #000 !important; }
#personalizeBtn svg { width: 18px; height: 18px; }
.pp-thumb--more { position: relative; }
.pp-thumb__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .62); color: #fff; font-weight: 800; font-size: 15px; }

/* Product photos of the cards on this page (similar products, recently viewed): white background, thin border */
.px-product-card__media, .px-product-card__media[class*="px-tint-"] { background-color: #fff !important; border: 1px solid var(--px-border); }

/* Mobile: name and price in the first screen (Mobile.dc principles) */
@media (max-width: 1023px) {
    .pp-anchors { display: none; }
    .pp-main { padding-top: 4px; gap: 14px; }
    .pp-stage { aspect-ratio: 4 / 3; }
    .pp-gallery__note { display: none; }
    .pp-thumb { flex-basis: 52px; width: 52px; height: 52px; }
    .pp-title { font-size: 26px; }
    .pp-price-hero { text-align: left; align-items: flex-start; }
}

/* Compact product header: no stray paragraph margins, title and price on one band */
.pp-head { gap: 6px; padding-bottom: 12px; }
.pp-head p { margin: 0; }
.pp-head__top { min-height: 40px; }
.pp-head__main { align-items: center; gap: 8px 24px; }
.pp-head__id { gap: 4px; }
.pp-price-hero { gap: 0; }
.pp-price-hero .px-price { line-height: 1.1; }
