/* Product pages (prisme.html, vase-twist.html), after the editorial mock-up prisme_page_reelle:
   hero, facts, video and facets, story, details, suggestions, closing call, sticky bar on phones */
.pdp{--wine:#742c46;--peach:#eba98a;--lilac:#c6b5ee;--line:#dccbc2;--muted:#655e70;padding-bottom:0}
.pdp-eyebrow{font-size:12px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;margin:0 0 14px}
.pdp h1,.pdp h2{font-family:'Outfit',sans-serif;font-weight:800;letter-spacing:-.055em;margin:0}
.pdp .price.placeholder::after{content:' · provisoire';font-size:.6em;font-weight:600;letter-spacing:0;color:var(--muted)}
.pdp mark.todo{background:#ffe48a;color:var(--ink);border-radius:4px;padding:0 4px}
.pdp-crumbs{display:flex;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--muted);padding-top:6px;padding-bottom:18px}
.pdp-crumbs a{text-decoration:underline;text-underline-offset:3px}
.pdp-crumbs [aria-current]{color:var(--ink);font-weight:700}

.pdp-hero{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(28px,5vw,70px);align-items:center;padding-bottom:70px}
.pdp-hero h1{font-size:clamp(72px,9vw,128px);line-height:.9;color:var(--blue)}
.pdp-hero h1 .h1-kicker{color:var(--ink)}
.pdp-sub{font:700 clamp(22px,2.4vw,30px)/1.2 'Outfit',sans-serif;letter-spacing:-.03em;color:var(--wine);margin:10px 0 22px}
.pdp-desc{font-size:18px;line-height:1.6;color:#4f4a5e;max-width:430px;margin:0 0 26px}
.pdp-price{display:flex;align-items:baseline;gap:8px;margin:0 0 18px;font:800 30px 'Outfit',sans-serif;letter-spacing:-.03em}
.pdp .price{font:inherit;color:inherit}
.pdp-tax{font:600 12px 'DM Sans',sans-serif;letter-spacing:.08em;color:var(--muted)}
.pdp-colour{display:flex;gap:12px;align-items:flex-start;margin:0 0 24px;font-size:14px;line-height:1.45}
.pdp-colour small{display:block;color:var(--muted);font-size:13px}
.pdp-dot{flex:none;width:28px;height:28px;border-radius:50%;border:3px solid var(--cream);outline:2px solid var(--ink)}
.pdp-add{width:min(100%,380px)}
.pdp .btn:disabled{opacity:.6;cursor:not-allowed;transform:none}
.pdp .btn:not(:disabled):hover{background:#742c46;color:#fff;filter:none}
.pdp-promises{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:9px;font-size:14px;color:#4f4a5e}
.pdp-promises li{display:flex;gap:10px;align-items:baseline}
.pdp-promises li::before{content:'';flex:none;width:8px;height:8px;border-radius:50%;background:var(--blue);transform:translateY(-1px)}
.pdp-promises a{text-decoration:underline;text-underline-offset:3px}
.pdp-photo{position:relative;margin:0;border-radius:28px;overflow:hidden;background:var(--peach);aspect-ratio:4/5}
.pdp-photo img{display:block;width:100%;height:100%;object-fit:cover}
.pdp-photo video{position:relative;display:block;width:100%;height:100%;object-fit:contain}
.pdp-play{position:absolute;left:18px;bottom:18px;border:0;color:var(--ink);background:#f6f1e8ee;padding:10px 16px;border-radius:100px;font-size:13px;font-weight:700}
.pdp-photo [hidden]{display:none}
.pdp-play:hover{background:var(--cream)}
.pdp-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.pdp-thumbs button{display:flex;align-items:center;gap:10px;border:1.5px solid var(--line);background:transparent;color:var(--ink);border-radius:16px;padding:6px 14px 6px 6px;font-size:13px;font-weight:700}
.pdp-thumbs img{width:44px;height:55px;object-fit:cover;border-radius:10px}
.pdp-thumbs [aria-pressed=true]{border-color:var(--ink)}
.pdp-thumb-video{position:relative}
.pdp-thumb-video::after{content:'▶';position:absolute;left:6px;top:6px;width:44px;height:55px;display:grid;place-items:center;color:#fff;font-size:15px;text-shadow:0 1px 4px #0008}

.pdp-facts{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pdp-facts .wrap{display:grid;grid-template-columns:repeat(3,1fr)}
.pdp-facts p{margin:0;padding:30px 0 30px 32px;border-left:1px solid var(--line)}
.pdp-facts p:first-child{border-left:0;padding-left:0}
.pdp-facts strong{display:block;font:800 26px 'Outfit',sans-serif;letter-spacing:-.04em;margin-bottom:6px}
.pdp-facts span{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}

.pdp-facets{padding-top:100px;padding-bottom:100px}
.pdp-head{margin:0 0 40px}
.pdp-head h2,.pdp-details h2{font-size:clamp(40px,5vw,66px);line-height:1}
.pdp-head p{font-size:17px;line-height:1.6;color:var(--muted);margin:14px 0 0}
.pdp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.pdp-grid figure{margin:0}
.pdp-grid img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:20px;background:#e9ded6}
.pdp-grid figcaption{padding:16px 0 0 20px;font:700 19px 'Outfit',sans-serif;letter-spacing:-.02em;color:var(--wine)}
.pdp-pause{z-index:1;position:absolute;right:12px;top:12px;border:0;background:#f6f1e8ee;color:var(--ink);padding:7px 12px;border-radius:100px;font-size:12px;font-weight:700}

.pdp-story{background:var(--wine);color:#fff9f1;padding:100px 0}
.pdp-story .wrap{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.pdp-story h2{font-size:clamp(46px,5.4vw,76px);line-height:.98}
.pdp-story p:not(.pdp-eyebrow){font-size:19px;line-height:1.7;margin:34px 0 0;max-width:520px}
.pdp-story .pdp-eyebrow{color:var(--peach)}
.pdp-detail{margin:0;justify-self:end;width:min(100%,440px)}
.pdp-detail img{display:block;width:100%;height:auto;border-radius:24px}
.pdp-detail figcaption{margin-top:12px;font-size:13px;color:#f3d9cf}
.pdp-line{display:block;width:90px;height:4px;border-radius:2px;background:var(--peach);margin-top:28px}

.pdp-details{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;padding-top:100px;padding-bottom:100px}
.pdp-facets + .pdp-details{padding-top:0}
.pdp-acc details{border-top:1.5px solid var(--ink)}
.pdp-acc details:last-child{border-bottom:1.5px solid var(--ink)}
.pdp-acc summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;padding:20px 0;font:700 22px 'Outfit',sans-serif;letter-spacing:-.02em}
.pdp-acc summary::-webkit-details-marker{display:none}
.pdp-acc summary::after{content:'+';font-size:26px;font-weight:500;transition:transform .2s}
.pdp-acc details[open] summary::after{transform:rotate(45deg)}
.pdp-acc ul,.pdp-acc p{margin:0 0 18px;font-size:15px;line-height:1.7;color:#4f4a5e}
.pdp-acc ul{padding-left:20px}
.pdp-acc a{text-decoration:underline;text-underline-offset:3px}

.pdp>.shop{padding-top:0;padding-bottom:100px}
.pdp .shop-suggest{margin-top:0}

.pdp-last{background:var(--lilac);padding:80px 0}
.pdp-last .wrap{display:flex;justify-content:space-between;align-items:center;gap:30px}
.pdp-last h2{font-size:clamp(38px,4.6vw,62px);line-height:1;margin-bottom:12px}
.pdp-last p:not(.pdp-eyebrow){margin:0;font-size:15px}
.pdp-last .btn{flex:none}

.pdp-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--cream);border-top:1px solid var(--line);box-shadow:0 -8px 24px #2423420f}
.pdp-bar .btn{padding:13px 20px}
.pdp-bar .price{margin-left:6px;font-weight:700}
.pdp-bar .price.placeholder::after{content:none}

.pdp-bar[hidden]{display:none}
@media(min-width:721px){.pdp-bar{display:none!important}}
@media(max-width:900px){
  .pdp-hero{grid-template-columns:1fr}
  .pdp-gallery{order:-1}
  .pdp-photo{aspect-ratio:4/5;max-height:72vh}
  .pdp-story .wrap,.pdp-details{grid-template-columns:1fr;gap:30px}
  .pdp-detail{justify-self:start}
}
@media(max-width:720px){
  .pdp-hero{padding-bottom:50px}
  .pdp-facts .wrap{grid-template-columns:1fr}
  .pdp-facts p,.pdp-facts p:first-child{border-left:0;border-top:1px solid var(--line);padding:18px 0}
  .pdp-facts p:first-child{border-top:0}
  .pdp-facets,.pdp-details{padding-top:70px;padding-bottom:70px}
  .pdp-grid{gap:8px}
  .pdp-grid{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -6%;padding:0 6% 6px;scrollbar-width:none}
  .pdp-grid figure{flex:0 0 72%;scroll-snap-align:center}
  .pdp-grid img{border-radius:16px}
  .pdp-grid figcaption{padding:10px 0 0 6px;font-size:17px}
  .pdp>.shop{padding-bottom:70px}
  .pdp-story{padding:70px 0}
  .pdp-last{padding:60px 0 100px}
  .pdp-last .wrap{display:block}
  .pdp-last .btn{margin-top:24px;width:100%}
  .pdp-add{width:100%}
  .pdp-thumbs button{padding:5px}
  .pdp-thumbs span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
}

/* products with a colour choice (vase-twist.html): swatches in the hero, a "Votre couleur" render view in the gallery */
.pdp-config{margin:0 0 22px}
.pdp-config .choices-label{margin:0 0 10px}
.pdp-selection{margin:12px 0 0;font-size:14px;color:var(--muted)}
.pdp-render{position:absolute;inset:0;background:#eae2d9}
.pdp-render .render{position:absolute;inset:6% 4% 12%}
.pdp-render .render img{object-fit:contain}
.pdp-render .preview-label{position:absolute;left:12px;right:12px;bottom:12px;background:#f6f1e8ee;border-radius:20px;padding:8px 10px;text-align:center;font-size:12px;color:var(--ink)}
.pdp-thumbs .pdp-thumb-art{position:relative;display:block;width:44px;height:55px;border-radius:10px;overflow:hidden;clip-path:none;background:#eae2d9;flex:none}
.pdp-thumb-art .render{position:absolute;inset:4px}
.pdp-thumb-art .render img{object-fit:contain}
.pdp-detail.is-render img{background:var(--peach);padding:8% 10% 0}

/* generated product pages (tools/product-pages.py): landscape photos, a live render in the story, tier and part choices */
.pdp-photo.wide{aspect-ratio:6/5}
.pdp-detail-render{position:relative;aspect-ratio:1;border-radius:24px;overflow:hidden;background:var(--peach)}
.pdp-detail-render .render{position:absolute;inset:8% 8% 10%}
.pdp-detail-render .render img{height:100%;border-radius:0;object-fit:contain}   /* not .pdp-detail img's height:auto: the layers must match the tint mask */
.pdp-config .shapes{margin:0 0 12px}
.pdp-config .parts-hint{margin:-4px 0 12px}

/* Collection pages (collection-home.html, collection-desk.html, generated): heading, text, tiles */
.coll-head{padding-bottom:30px}
.coll-head h1{font:800 clamp(46px,7vw,96px)/.95 'Outfit',sans-serif;letter-spacing:-.055em;color:var(--blue);margin:0 0 26px}
.coll-head h1 .h1-kicker{color:var(--ink)}
.coll-intro{max-width:720px}
.coll-intro p{font-size:18px;line-height:1.6;color:#4f4a5e;margin:0 0 14px}
.coll-grid{padding-bottom:80px}
.shop .coll-more{text-align:center;margin:40px 0 0}
.pdp-facts a,.pdp-acc p a{text-decoration:underline;text-underline-offset:3px}
