/* France Bois : même design que scandinave.co. Le back office garde style.css. */
@font-face { font-family: "Schibsted Grotesk"; src: url(/schibsted.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
:root {
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ink: #1e2b2b; --muted: #576665; --line: #d3dbda; --mist: #ecf1f0; --paper: #fff;
  --petrol: #1f4b4e; --petrol-dark: #163a3c; --lichen: #ddd892; --water: #a2cccc;
  --radius: 3px; --gut: clamp(1rem, 4vw, 2.5rem); --gap: clamp(3.5rem, 7vw, 6rem);
  --band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='26'%3E%3Ccircle cx='13' cy='13' r='12.5' fill='%238a6a48'/%3E%3Ccircle cx='13' cy='13' r='10.5' fill='%23dcbf98'/%3E%3Ccircle cx='13' cy='13' r='6' fill='none' stroke='%238a6a48' stroke-width='1'/%3E%3Ccircle cx='13' cy='13' r='2' fill='%238a6a48'/%3E%3Ccircle cx='39' cy='13' r='12.5' fill='%237a5b3d'/%3E%3Ccircle cx='39' cy='13' r='10.5' fill='%23cfa878'/%3E%3Ccircle cx='39' cy='13' r='6' fill='none' stroke='%237a5b3d' stroke-width='1'/%3E%3Ccircle cx='39' cy='13' r='2' fill='%237a5b3d'/%3E%3Ccircle cx='65' cy='13' r='12.5' fill='%238a6a48'/%3E%3Ccircle cx='65' cy='13' r='10.5' fill='%23e6d2b3'/%3E%3Ccircle cx='65' cy='13' r='6' fill='none' stroke='%238a6a48' stroke-width='1'/%3E%3Ccircle cx='65' cy='13' r='2' fill='%238a6a48'/%3E%3Ccircle cx='91' cy='13' r='12.5' fill='%236f5236'/%3E%3Ccircle cx='91' cy='13' r='10.5' fill='%23c59a68'/%3E%3Ccircle cx='91' cy='13' r='6' fill='none' stroke='%236f5236' stroke-width='1'/%3E%3Ccircle cx='91' cy='13' r='2' fill='%236f5236'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.6 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-weight: 600; line-height: 1.12; letter-spacing: -.018em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.005em; }
p { margin: 0; }
small { font-size: .875rem; color: var(--muted); }
s { color: var(--muted); font-weight: 400; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; }
.icon { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Boutons et champs */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.6rem; font: 600 1rem/1.2 var(--font); color: #fff; background: var(--petrol); border: 1px solid var(--petrol); border-radius: var(--radius); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn:hover { background: var(--petrol-dark); }
.btn.ghost { background: transparent; color: var(--petrol); }
.btn.ghost:hover { background: var(--petrol); color: #fff; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
input, select, textarea { width: 100%; min-height: 3rem; padding: .65rem .85rem; font: inherit; color: inherit; background: #fff; border: 1px solid #aebbb9; border-radius: var(--radius); }
input[type=radio], input[type=checkbox] { width: auto; min-height: 0; accent-color: var(--petrol); }
select { appearance: none; padding-right: 2.4rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231e2b2b' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right .9rem center; }
label { display: block; font-weight: 500; }
label > input:not([type=radio]), label > select, label > textarea { margin-top: .35rem; font-weight: 400; }
.stack { display: grid; gap: 1rem; }
.inline { display: flex; flex-wrap: wrap; gap: .75rem; }
.link { font-size: .9rem; color: var(--muted); }
.flash { padding: .9rem 1.1rem; background: var(--mist); border-left: 3px solid var(--petrol); }

/* En-tête */
.promo-bar { display: block; padding: .55rem var(--gut); background: var(--petrol); color: #fff; text-align: center; text-decoration: none; font-size: .9rem; }
.promo-bar strong { font-weight: 600; }
.promo-bar em { font-style: normal; }
.promo-bar em::before { content: " : "; }
.top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: .7rem max(var(--gut), calc((100vw - 1240px) / 2)); border-bottom: 1px solid var(--line); background: #fff; }
.side-tools, .tools { display: flex; align-items: center; gap: .35rem; }
.tools { justify-content: flex-end; margin-right: -.7rem; }
.side-tools > a, .tools > a, .menu > summary { position: relative; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; cursor: pointer; }
.side-tools > a:hover, .tools > a:hover, .menu > summary:hover { color: #3f7d80; }
.logo img { height: 52px; width: auto; }
.links { display: flex; gap: 1.75rem; }
.links a { text-decoration: none; font-weight: 500; padding: .5rem 0; border-bottom: 1px solid transparent; }
.links a:hover { border-color: currentColor; }
.menu { display: none; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; left: 0; right: 0; z-index: 50; display: grid; margin-top: .7rem; padding: .5rem var(--gut) 1.25rem; background: #fff; border-bottom: 1px solid var(--line); }
.menu nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.1rem; font-weight: 500; }
.badge { position: absolute; top: .2rem; right: .05rem; min-width: 1.15rem; padding: 0 .3rem; border-radius: 99px; background: var(--petrol); color: #fff; font-size: .72rem; font-weight: 600; line-height: 1.15rem; text-align: center; }
.reassure { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem 2.5rem; padding: .7rem var(--gut); background: var(--mist); font-size: .9rem; }
.reassure span { display: inline-flex; align-items: center; gap: .5rem; }
.reassure .icon { width: 1.1rem; height: 1.1rem; }

/* Gabarit : tout est centré, sauf les bandeaux pleine largeur */
main { display: grid; grid-template-columns: [full-start] minmax(var(--gut), 1fr) [c-start] minmax(0, 1240px) [c-end] minmax(var(--gut), 1fr) [full-end]; align-content: start; min-height: 55vh; padding-bottom: var(--gap); }
main > * { grid-column: c; min-width: 0; }
main > .hero, main > .band, main > .final { grid-column: full; }
.home main { padding-bottom: 0; }
.crumbs { padding: 1.5rem 0; font-size: .9rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs + h1 { margin-bottom: 1.75rem; }
.block { margin-top: var(--gap); }
.block > h2 { margin-bottom: 1.75rem; }
.narrow-block { width: 100%; max-width: 46rem; }
.block.narrow-block { justify-self: center; }
.more { margin-top: 2.5rem; }
.empty { padding: 1.5rem 0; color: var(--muted); }

/* Frise de rondins */
.band { height: 26px; background: var(--petrol) var(--band) repeat-x center top; }

/* Accueil */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); background: var(--mist); }
.hero-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.5rem; padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 4rem) clamp(2.5rem, 6vw, 5.5rem) max(var(--gut), calc((100vw - 1240px) / 2)); }
.hero h1 { font-size: clamp(2.5rem, 1.3rem + 4vw, 4.75rem); line-height: 1; letter-spacing: -.035em; }
.hero h1 span { display: block; }
.hero-text > p { max-width: 32rem; font-size: 1.1rem; }
.hero .delivery { font-size: .95rem; color: var(--muted); }
.hero .delivery strong { color: var(--ink); font-weight: 600; }
.hero figure { position: relative; margin: 0; min-height: clamp(22rem, 48vw, 43rem); }
.hero figure > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero .from { position: absolute; left: 0; bottom: 0; padding: .8rem 1.2rem; background: #fff; text-decoration: none; font-size: .95rem; }
.hero .from:hover span { text-decoration: underline; }
.hero .from b { display: block; font-weight: 600; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem; padding: 2.25rem 0; border-bottom: 1px solid var(--line); }
.trust strong { display: block; font-weight: 600; }
.guide { display: flex; flex-wrap: wrap; gap: 0 2rem; border-bottom: 1px solid var(--line); }
.guide > input { position: absolute; opacity: 0; pointer-events: none; }
.guide > label { padding: .75rem 0; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.guide > input:checked + label { color: var(--ink); border-color: var(--petrol); }
.guide > input:focus-visible + label { outline: 2px solid var(--petrol); outline-offset: 3px; }
.guide > div { order: 1; display: none; width: 100%; padding: 2rem 0 2.5rem; border-top: 1px solid var(--line); }
.guide > input:checked + label + div { display: grid; gap: .6rem; justify-items: start; }
.guide > div p { max-width: 40rem; }
.guide > div h3 { font-size: 1.4rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 0 0 2rem; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 1.1rem; border-top: 2px solid var(--petrol); }
.steps h3::before { content: counter(s) ". "; }
.steps p { margin-top: .4rem; color: var(--muted); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.duo article { display: grid; gap: .8rem; align-content: start; justify-items: start; }
.duo h3 { font-size: 1.5rem; }
.duo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 80%; margin-bottom: .8rem; border-radius: var(--radius); }
.narrow-block > p { margin-top: 1.5rem; }
.final { display: grid; justify-items: center; gap: 1.1rem; margin-top: var(--gap); padding: clamp(3rem, 7vw, 5.5rem) var(--gut); background: var(--mist); text-align: center; }

/* Avis */
.review-track { display: flex; gap: 1.25rem; margin: 0; padding: 0 0 1rem; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #aebbb9 transparent; }
.review { flex: 0 0 min(17rem, 74vw); scroll-snap-align: start; }
.review img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.review-name { margin: .9rem 0 .25rem; font-weight: 600; }
.review p:last-child { color: var(--muted); font-size: .95rem; }

/* Catalogue */
.collection-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.filters { display: flex; gap: .5rem; }
.filters select { width: auto; min-width: 13rem; }
.filters input[type=search] { width: min(20rem, 100%); }
main > .filters { margin-bottom: 2rem; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.25rem; }
.card { position: relative; display: block; text-decoration: none; }
.card .pic { overflow: hidden; background: var(--mist); border-radius: var(--radius); }
.card .pic img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.card:hover .pic img { transform: scale(1.035); }
.card h3 { margin: .9rem 0 .25rem; font-size: 1rem; font-weight: 500; line-height: 1.35; letter-spacing: 0; text-wrap: pretty; }
.card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.price { font-weight: 600; }
.card .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35rem; }
.card .price s { order: 1; font-size: .9rem; }
.tag { position: absolute; top: .7rem; left: .7rem; z-index: 1; padding: .2rem .55rem; background: #fff; border-radius: 2px; font-size: .85rem; font-weight: 600; }
.tag.off { background: var(--lichen); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 3rem; }
.pagination > * { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .7rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pagination .current { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.25rem; }
.tile { text-decoration: none; }
.tile strong { display: block; margin-top: .8rem; font-weight: 600; }

/* Fiche produit */
.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.gallery { position: sticky; top: 1.5rem; min-width: 0; }
.frame { position: relative; background: var(--mist); border-radius: var(--radius); overflow: hidden; }
.frame > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-top: -1.375rem; padding: 0 0 .2rem; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font: 400 1.5rem/1 var(--font); cursor: pointer; }
.arrow.prev { left: .8rem; } .arrow.next { right: .8rem; }
.thumbs { display: flex; gap: .6rem; margin-top: .6rem; padding-bottom: .35rem; overflow-x: auto; scrollbar-width: thin; }
.thumbs button { flex: 0 0 5rem; padding: 0; border: 1px solid transparent; border-radius: var(--radius); background: none; overflow: hidden; cursor: pointer; }
.thumbs button:hover { border-color: var(--petrol); }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
#acheter { display: grid; gap: 1.35rem; min-width: 0; }
#acheter h1 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); }
.checks { order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.checks li { padding-left: 1.5rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' fill='none' stroke='%231f4b4e' stroke-width='1.8'%3E%3Cpath d='M1 5.5l4 4 8-8.5'/%3E%3C/svg%3E") no-repeat 0 .42rem; }
#acheter > .eyebrow, #acheter > .questions, #acheter > .acc { order: 3; }
#acheter > .eyebrow { margin-bottom: -.9rem; font-weight: 600; }
.lead { color: var(--muted); }
.pricing { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; }
.price.big { order: -1; font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; }
.was { display: flex; align-items: baseline; gap: .6rem; }
.was em { order: 1; padding: .15rem .5rem; background: var(--lichen); border-radius: 2px; font-style: normal; font-size: .85rem; font-weight: 600; }
.pricing small { width: 100%; }
.availability { font-size: .95rem; }
.availability strong { font-weight: 600; }
.availability > strong:first-child { color: var(--petrol); }
.warn { font-weight: 600; }
.opts { display: grid; gap: 1.25rem; }
.opt { min-width: 0; margin: 0; padding: 0; border: 0; }
.opt legend { margin-bottom: .6rem; padding: 0; font-weight: 600; }
.opt legend b { font-weight: 400; color: var(--muted); }
.opt-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pill span { display: grid; place-items: center; min-height: 2.75rem; padding: .4rem .9rem; border: 1px solid #aebbb9; border-radius: var(--radius); font-size: .95rem; font-weight: 400; }
.pill:hover span { border-color: var(--petrol); }
.pill input:checked + span { border-color: var(--petrol); box-shadow: inset 0 0 0 1px var(--petrol); font-weight: 600; }
.pill input:focus-visible + span { outline: 2px solid var(--petrol); outline-offset: 3px; }
.pill.na span { color: var(--muted); border-style: dashed; }
.pill.has-img span { width: 6rem; height: 100%; padding: .3rem .3rem .5rem; gap: .4rem; align-content: start; font-size: .85rem; line-height: 1.2; text-align: center; }
.pill.has-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.swatch-label { margin-bottom: .6rem; font-weight: 600; }
.swatch-label b { font-weight: 400; color: var(--muted); }
.swatch-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch { padding: 2px; border: 1px solid #aebbb9; border-radius: var(--radius); }
.swatch:hover, .swatch.active { border-color: var(--petrol); }
.swatch.active { box-shadow: inset 0 0 0 1px var(--petrol); }
.swatch img { width: 3.75rem; height: 3.75rem; object-fit: cover; }
.divider { margin-bottom: -.4rem; font-weight: 600; }
.offer { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem 1.1rem; border: 1px solid #aebbb9; border-radius: var(--radius); cursor: pointer; }
.offer:hover { border-color: var(--petrol); }
.offer:has(input:checked) { border-color: var(--petrol); box-shadow: inset 0 0 0 1px var(--petrol); background: var(--mist); }
.offer > span:first-child { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .75rem; }
.offer input { margin: 0; width: 1.1rem; height: 1.1rem; }
.offer b { font-weight: 600; }
.offer small { grid-column: 2; font-weight: 400; }
.offer .amount { text-align: right; font-weight: 600; white-space: nowrap; }
.offer .amount s { display: block; font-size: .85rem; }
.best { position: absolute; top: -.7rem; right: .9rem; padding: .1rem .5rem; background: var(--lichen); border-radius: 2px; font-size: .8rem; font-weight: 600; }
.mix { display: grid; gap: 1rem; padding: 1.1rem; background: var(--mist); border-radius: var(--radius); }
.mix-hint { font-size: .95rem; color: var(--muted); }
.slot-title { margin-bottom: .4rem; font-weight: 600; }
.slot-row { display: flex; gap: .8rem; align-items: flex-start; }
.slot-img { width: 4rem; height: 4rem; object-fit: cover; border-radius: 2px; }
.slot-fields { flex: 1; display: grid; gap: .5rem; min-width: 0; }
.sum { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .3rem; }
.sum strong { font-size: 1.3rem; font-weight: 600; }
.sum small { color: var(--petrol); font-weight: 600; }
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem var(--gut); background: #fff; border-top: 1px solid var(--line); transition: transform .25s, visibility .25s; }
.sticky span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sticky b { display: block; font-weight: 600; }
.sticky.hidden { transform: translateY(110%); visibility: hidden; }
.specs { display: grid; grid-template-columns: minmax(8rem, .7fr) 1.3fr; margin: 0; }
.specs dt, .specs dd { margin: 0; padding: .8rem 0; border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); padding-right: 1rem; }

/* Textes et accordéons */
details.acc, details.qa { border-bottom: 1px solid var(--line); }
details.acc > summary, details.qa > summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; font-weight: 500; list-style: none; cursor: pointer; }
details.acc > summary::-webkit-details-marker, details.qa > summary::-webkit-details-marker { display: none; }
details.acc > summary::after, details.qa > summary::after { content: ""; flex: none; width: .8rem; height: .8rem; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; }
details[open] > summary::after { background-size: 100% 1.5px, 0 0; }
details.acc > div, details.qa > p { padding: 0 2rem 1.25rem 0; color: var(--muted); }
#acheter > .acc { margin-top: -1.35rem; }
.prose { overflow-wrap: anywhere; }
.prose > * + * { margin-top: .9rem; }
.prose > * + h2, .prose > * + h3 { margin-top: 1.9rem; }
.acc .prose > * + h3 { margin-top: 1.1rem; }
.prose h3 + * { margin-top: .5rem; }
.acc .prose h3 { font-size: 1rem; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li + li { margin-top: .35rem; }
.narrow { max-width: 34rem; }

/* Panier */
.line { display: grid; grid-template-columns: 88px minmax(0, 1fr) 5.5rem minmax(7rem, auto) auto; align-items: center; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.line img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius); }
.line div a { display: block; font-weight: 500; text-decoration: none; }
.line > strong { text-align: right; font-weight: 600; }
.totals { justify-self: end; display: grid; grid-template-columns: 1fr auto; gap: .6rem 0; width: min(24rem, 100%); margin: 1rem 0 0; }
.totals dd { margin: 0; text-align: right; }
.totals .grand { padding-top: .9rem; border-top: 1px solid var(--line); font-size: 1.2rem; font-weight: 600; }
.stack > .inline { justify-self: end; }

/* Confirmation d'ajout au panier */
#cart-pop { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: flex-end; align-items: flex-start; padding: 1rem; background: rgb(22 43 43 / .4); opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .2s, visibility .2s; }
#cart-pop.open { opacity: 1; pointer-events: auto; visibility: visible; }
#cart-pop .pop { position: relative; display: grid; gap: .8rem; width: min(24rem, 100%); padding: 1.5rem; background: #fff; border-radius: var(--radius); }
#cart-pop .ok { font-weight: 600; color: var(--petrol); }
#cart-pop .line { display: flex; gap: 1rem; padding: 0 0 .6rem; border: 0; font-weight: 500; }
#cart-pop .line img { width: 80px; height: 80px; }
#cart-pop .x { position: absolute; top: .5rem; right: .6rem; width: 2.5rem; height: 2.5rem; border: 0; background: none; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* Pied de page */
footer { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem max(var(--gut), calc((100vw - 1240px) / 2)) 4rem; background: var(--petrol); color: #fff; }
.product-page footer { padding-bottom: 8rem; }
footer h3 { margin-bottom: .9rem; font-size: 1rem; }
footer div:first-child h3 { font-size: 1.5rem; }
footer a { display: block; padding: .3rem 0; color: #dbe7e6; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer small { color: #dbe7e6; }

/* Propre à France Bois */
.logo { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.promo-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .1rem 1.5rem; }
.countdown { display: inline-flex; gap: .5rem; font-variant-numeric: tabular-nums; }
.countdown b { font-weight: 600; }
.countdown small { margin-left: .2rem; color: #dbe7e6; font-size: .8rem; text-transform: lowercase; }
.flash.error { border-color: #a63232; background: #f8ecea; }
main > .flash { margin-top: 1.25rem; }
main > h1:first-child, main > .flash + h1 { margin: 2.5rem 0 1.75rem; }
main > h1 + .columns, main > p + .columns { margin-top: .5rem; }
main > p + p { margin-top: 1rem; }
main > form + p { margin-top: 1.5rem; }
.columns { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.panel { display: grid; gap: 1rem; padding: 1.5rem; background: var(--mist); border-radius: var(--radius); }
.panel h2, .fields h2 { font-size: 1.35rem; }
.panel .inline { flex-wrap: nowrap; margin-top: .35rem; }
.panel .totals { width: 100%; margin: 0; }
.columns .line { grid-template-columns: 88px minmax(0, 1fr) 5rem auto auto; gap: 1rem; }
.columns .line + .btn { margin-top: 1.5rem; }
.line small { display: block; }
.line button.link { border: 0; background: none; font-family: inherit; text-decoration: underline; cursor: pointer; }
.default-submit { position: absolute; left: -9999px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fields > * { grid-column: 1 / -1; }
.fields > .half { grid-column: auto; }
.fields h2:not(:first-child) { margin-top: 1.25rem; }
.choice { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid #aebbb9; border-radius: var(--radius); font-weight: 400; cursor: pointer; }
.choice input { margin: .3rem 0 0; }
.choice small { display: block; }
.choice strong { font-weight: 600; }
.choice:has(input:checked) { border-color: var(--petrol); box-shadow: inset 0 0 0 1px var(--petrol); }
.recap { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.recap span:last-child { white-space: nowrap; }
.bank { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.25rem; margin: 0; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.bank code { font: inherit; }
.pre { white-space: pre-line; overflow-wrap: anywhere; }
span.pill { display: inline-block; padding: .1rem .55rem; background: var(--lichen); border-radius: 2px; font-size: .9rem; font-weight: 600; cursor: default; }
.offer:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.gifts { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .6rem; }
.gifts div { padding: .75rem .9rem; border: 1px dashed #aebbb9; border-radius: var(--radius); font-size: .95rem; color: var(--muted); }
.buy .eyebrow { font-weight: 600; }
.sum { display: none; }
.buy:has(#q1:checked) .sum-1, .buy:has(#q2:checked) .sum-2, .buy:has(#q3:checked) .sum-3 { display: flex; }
.buy:has(#q1:checked) .g-1, .buy:has(#q2:checked) .g-2, .buy:has(#q3:checked) .g-3 { border: 1px solid var(--petrol); background: var(--mist); color: var(--ink); }
.questions { display: grid; }
.questions a { padding: .8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.questions a:hover { text-decoration: underline; }
.warn { color: #8c3f1f; }
.hero figure { display: grid; place-items: end center; background: #d9e4e1; }
.hero figure > img.cut { position: static; width: min(86%, 41rem); height: auto; padding: 2rem 0 4.5rem; mix-blend-mode: multiply; }
.tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.tile { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--mist); border-radius: var(--radius); overflow: hidden; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 1.25rem; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img { transform: scale(1.04); }
.tile div { order: -1; padding: 1.5rem 0 1.5rem clamp(1.25rem, 3vw, 2.5rem); color: var(--muted); }
.tile strong { margin: .2rem 0 .35rem; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.toolbar { flex-wrap: wrap; margin-bottom: 2rem; }
.card small { display: block; }
.frame > img, .card .pic img { background: var(--mist); }

@media (max-width: 980px) {
  .links { display: none; }
  .menu { display: block; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .columns { grid-template-columns: minmax(0, 1fr); }
  .columns .line { grid-template-columns: 72px minmax(0, 1fr) auto; gap: .6rem 1rem; }
  .logo { font-size: 1.35rem; }
  .hero figure > img.cut { width: 74%; padding: 1rem 0 2.5rem; }
  .tile div { padding-left: 1.1rem; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero figure { order: -1; min-height: 0; aspect-ratio: 1 / .74; }
  .hero-text { padding: 2rem var(--gut) 2.5rem; gap: 1.1rem; }
  .hero .btn, .more .btn, .final .btn { width: 100%; }
  .cta, .more { width: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem .75rem; }
  .card h3 { font-size: .95rem; }
  .steps, .duo { grid-template-columns: minmax(0, 1fr); }
  .guide { gap: 0 1.35rem; }
  .guide > label { font-size: 1rem; }
  .product { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .gallery { position: static; }
  .thumbs button { flex-basis: 4.25rem; }
  .collection-tools, .collection-tools .filters { width: 100%; }
  .filters select, .filters input[type=search] { flex: 1; width: 100%; min-width: 0; }
  .reassure { gap: .3rem 1.1rem; font-size: .82rem; }
  .reassure .icon { display: none; }
  .line { grid-template-columns: 72px minmax(0, 1fr) auto; gap: .6rem 1rem; }
  .line img { width: 72px; height: 72px; }
  .line > input { grid-column: 2; width: 5rem; }
  .line > .link { grid-column: 2; }
  .line > strong { grid-column: 3; grid-row: 1; }
  .stack > .inline, .stack > .inline .btn { width: 100%; }
  .stack > .inline [name=checkout] { order: -1; }
  .mail { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

main > p + form { margin-top: 1.75rem; }

/* Ajustements */
.cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero h1 { font-size: clamp(2.4rem, 1.5rem + 2.9vw, 4rem); }
.hero h1 span { text-wrap: nowrap; }
.frame .tag, .card .tag { left: auto; right: .7rem; }
.frame .tag.second { top: 2.9rem; }
.tile img, .hero figure > img.cut { filter: brightness(1.03); }
@media (max-width: 760px) {
  .hero figure { aspect-ratio: auto; }
  .hero figure > img.cut { width: 62%; padding: 1.25rem 0 .75rem; }
  .hero .from { position: static; justify-self: stretch; padding: .8rem var(--gut); }
  .line > .link { justify-self: start; padding: 0; }
}
.links a { white-space: nowrap; }
@media (max-width: 1180px) { .links { display: none; } .menu { display: block; } }

/* Paiement intégré */
.embed-pay { min-height: 12rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.embed-pay iframe { width: 100%; border: 0; }
.muted { color: var(--muted); }
