/* Checkout AMDL Jardin — même DA que le panier et le pied de page du site :
   blanc, encre #1b1a1a, vert #126849, teinte #f4f8f1, Instrument Sans, icônes fines (trait 1,5). */

@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-400.woff2?v=cab3766d40") format("woff2"); font-weight: 400; font-style: normal; font-display: swap }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-500.woff2?v=bdeb725dc9") format("woff2"); font-weight: 500; font-style: normal; font-display: swap }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-600.woff2?v=440eae164c") format("woff2"); font-weight: 600; font-style: normal; font-display: swap }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-700.woff2?v=e4d3027068") format("woff2"); font-weight: 700; font-style: normal; font-display: swap }

:root {
  --c-ink: #1b1a1a;
  --c-text: #3d4440;
  --c-muted: #66706a;
  --c-line: #e5ebe6;
  --c-field: #d3ddd5;
  --c-field-hover: #b4c2b8;
  --c-green: #126849;
  --c-green-2: #0d4f37;
  --c-leaf: #95cb67;
  --c-tint: #f4f8f1;
  --c-tint-line: #d9e6d4;
  --c-save: #1b8a4a;
  --c-star: #00b67a;
  --c-error: #b42318;
  --c-warn-bg: #fff7e8;
  --c-warn-line: #f2d9a6;
  --c-warn-text: #6a4710;
  --ring: 0 0 0 3px rgba(18, 104, 73, .14);
  --shadow-card: 0 18px 40px -28px rgba(15, 53, 39, .35);
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --page-x: 24px;
}

*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100% }
body {
  background: #fff; color: var(--c-text); font: 400 15px/1.5 var(--font); margin: 0; min-height: 100vh;
  display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100% }
p, h1, h2, h3, ul, ol, dl, dd, blockquote, figure { margin: 0 }
ul, ol { list-style: none; padding: 0 }
a { color: inherit }
button, input, select { color: inherit; font: inherit }
[hidden] { display: none !important }
.co-sprite { height: 0; overflow: hidden; position: absolute; width: 0 }
.co-ico { display: block; flex: none }
.co-sr { clip: rect(0 0 0 0); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px }
.co-skip { background: var(--c-ink); border-radius: 0 0 10px 10px; color: #fff; font-weight: 600; left: 16px; padding: 10px 16px; position: absolute; text-decoration: none; top: 0; transform: translateY(-120%); z-index: 10 }
.co-skip:focus { transform: none }
:focus-visible { outline: 2px solid var(--c-green); outline-offset: 3px }

/* ---------- En-tête ---------- */
.co-head { background: #fff; border-bottom: 1px solid var(--c-line) }
.co-head__in {
  align-items: center; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  margin: 0 auto; max-width: 1160px; min-height: 76px; padding: 12px var(--page-x);
}
.co-head__back {
  align-items: center; border-radius: 999px; color: var(--c-green); display: inline-flex; font-size: 14.5px; font-weight: 600;
  gap: 8px; justify-self: start; min-height: 44px; text-decoration: none;
}
.co-head__back:hover span { text-decoration: underline; text-underline-offset: 3px }
.co-logo { border-radius: 6px; display: block }
.co-logo img { height: 40px; width: auto }
.co-secure { align-items: center; color: var(--c-muted); display: inline-flex; font-size: 13.5px; font-weight: 500; gap: 7px; justify-self: end }
.co-secure .co-ico { color: var(--c-green) }

/* ---------- Mise en page ---------- */
.co-page { flex: 1; margin: 0 auto; max-width: 1160px; padding: 40px var(--page-x) 72px; width: 100% }
.co-grid { align-items: start; display: grid; gap: 56px; grid-template-columns: minmax(0, 1fr) minmax(0, 420px) }
.co-main { grid-column: 1; grid-row: 1; min-width: 0 }
.co-sum { align-self: start; grid-column: 2; grid-row: 1; min-width: 0; position: sticky; top: 24px }
.co-page[data-state="empty"] .co-grid { display: none }

/* ---------- Récapitulatif ---------- */
.co-sum__toggle { display: none }
.co-sum__card { background: #fff; border: 1px solid var(--c-line); border-radius: 20px; box-shadow: var(--shadow-card); padding: 24px }
.co-sum__title { color: var(--c-ink); font-size: 18px; font-weight: 600; margin-bottom: 18px }
.co-sum__count { color: var(--c-muted); font-size: 14px; font-weight: 500 }

.co-note { background: var(--c-warn-bg); border: 1px solid var(--c-warn-line); border-radius: 12px; color: var(--c-warn-text); font-size: 13.5px; margin-bottom: 16px; padding: 10px 12px }

.co-lines { display: grid; gap: 16px }
.co-line { align-items: center; display: grid; gap: 14px; grid-template-columns: 64px minmax(0, 1fr) auto }
.co-line__media { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; height: 64px; position: relative; width: 64px }
.co-line__media img { border-radius: 11px; height: 100%; object-fit: contain; padding: 5px; width: 100% }
.co-line__media .co-ico { color: var(--c-leaf); height: 26px; left: 18px; position: absolute; top: 18px; width: 26px }
.co-line__q {
  align-items: center; background: var(--c-ink); border: 2px solid #fff; border-radius: 999px; color: #fff; display: flex; font-size: 11.5px;
  font-weight: 600; height: 22px; justify-content: center; min-width: 22px; padding: 0 5px; position: absolute; right: -9px; top: -9px;
}
.co-line__info { display: flex; flex-direction: column; gap: 2px; min-width: 0 }
.co-line__title {
  -webkit-box-orient: vertical; color: var(--c-ink); display: -webkit-box; font-size: 14px; font-weight: 600; -webkit-line-clamp: 2;
  line-clamp: 2; line-height: 1.35; overflow: hidden; overflow-wrap: anywhere;
}
.co-line__variant { color: var(--c-muted); font-size: 13px; overflow-wrap: anywhere }
.co-line__price { align-items: flex-end; display: flex; flex-direction: column; font-feature-settings: "tnum"; white-space: nowrap }
.co-line__price s { color: var(--c-muted); font-size: 12.5px }
.co-line__price strong { color: var(--c-ink); font-size: 14.5px; font-weight: 600 }

.co-line--skeleton { pointer-events: none }
.co-skel { animation: co-pulse 1.4s ease-in-out infinite; background: #edf2ee; border-radius: 6px; display: block; height: 12px; width: 100% }
.co-skel--media { border-radius: 12px; height: 64px; width: 64px }
.co-skel--short { margin-top: 8px; width: 55% }
.co-skel--price { width: 56px }
.co-skel-group { display: block; min-width: 0 }
@keyframes co-pulse { 50% { opacity: .45 } }

.co-gift {
  align-items: center; border-top: 1px dashed var(--c-leaf); display: grid; gap: 14px; grid-template-columns: 64px minmax(0, 1fr) auto;
  margin-top: 18px; padding-top: 16px;
}
.co-gift__media { align-items: center; display: flex; height: 64px; justify-content: center; width: 64px }
.co-gift__media img { border-radius: 2px; box-shadow: 0 8px 14px -6px rgba(15, 53, 39, .5); height: 57px; object-fit: cover; transform: rotate(-4deg); width: 40px }
.co-gift__info { display: flex; flex-direction: column; gap: 1px; min-width: 0 }
.co-gift__tag { align-items: center; color: var(--c-green); display: inline-flex; font-size: 11px; font-weight: 600; gap: 5px; letter-spacing: .1em; text-transform: uppercase }
.co-gift__name { color: var(--c-ink); font-size: 14px; font-weight: 600; line-height: 1.35 }
.co-gift__text { color: var(--c-muted); font-size: 12.5px; line-height: 1.4 }
.co-gift__price { color: var(--c-save); font-size: 14.5px; font-weight: 600 }

.co-rows { border-top: 1px solid var(--c-line); display: grid; gap: 10px; margin-top: 18px; padding-top: 16px }
.co-rows > div { display: flex; font-size: 14.5px; gap: 12px; justify-content: space-between }
.co-rows dt { color: var(--c-text) }
.co-rows dd { color: var(--c-ink); font-feature-settings: "tnum"; font-weight: 500; text-align: right }
.co-rows .is-save dt, .co-rows .is-save dd, .co-rows .is-free dd { color: var(--c-save); font-weight: 600 }

.co-total { align-items: baseline; border-top: 1px solid var(--c-line); display: flex; gap: 12px; justify-content: space-between; margin-top: 16px; padding-top: 16px }
.co-total span { color: var(--c-ink); font-size: 15px; font-weight: 600 }
.co-total strong { color: var(--c-ink); font-feature-settings: "tnum"; font-size: 26px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap }

.co-sum__error { align-items: center; color: var(--c-error); display: flex; flex-wrap: wrap; font-size: 13.5px; gap: 4px 10px; margin-top: 14px }
.co-demo { border: 1px dashed var(--c-field); border-radius: 10px; color: var(--c-muted); font-size: 12.5px; margin-top: 14px; padding: 8px 10px }
.co-link {
  background: none; border: 0; border-radius: 4px; color: var(--c-green); cursor: pointer; font-size: inherit; font-weight: 600; padding: 2px 0;
  text-decoration: underline; text-underline-offset: 3px;
}
.co-link:hover { color: var(--c-green-2) }

/* ---------- Étapes du formulaire ---------- */
.co-step { border-bottom: 1px solid var(--c-line); margin-bottom: 32px; padding-bottom: 32px }
.co-step:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0 }
.co-step__title { align-items: center; color: var(--c-ink); display: flex; font-size: 20px; font-weight: 600; gap: 12px; letter-spacing: -.01em; margin-bottom: 20px }
.co-step__n {
  align-items: center; background: var(--c-tint); border: 1px solid var(--c-tint-line); border-radius: 50%; color: var(--c-green); display: flex;
  flex: none; font-size: 14px; font-weight: 600; height: 30px; justify-content: center; letter-spacing: 0; width: 30px;
}
.co-step__aside { align-items: center; color: var(--c-save); display: inline-flex; font-size: 13.5px; font-weight: 600; gap: 6px; letter-spacing: 0; margin-left: auto }

.co-fields { display: grid; gap: 16px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)) }
.co-field { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.co-field--full { grid-column: 1 / -1 }
.co-field label { color: var(--c-ink); font-size: 14px; font-weight: 500 }
.co-opt-label { color: var(--c-muted); font-weight: 400 }
.co-input {
  -webkit-appearance: none; appearance: none; background: #fff; border: 1px solid var(--c-field); border-radius: 12px; color: var(--c-ink);
  font-size: 16px; height: 52px; padding: 0 16px; transition: border-color .15s ease, box-shadow .15s ease; width: 100%;
}
.co-input:hover { border-color: var(--c-field-hover) }
.co-input:focus { border-color: var(--c-green); box-shadow: var(--ring); outline: none }
.co-input[aria-invalid="true"] { border-color: var(--c-error) }
.co-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .14) }
.co-select { display: block; position: relative }
.co-select .co-input { cursor: pointer; padding-right: 44px }
.co-select .co-ico { color: var(--c-muted); pointer-events: none; position: absolute; right: 16px; top: 17px }
.co-field__hint { color: var(--c-muted); font-size: 12.5px }
.co-field__err { color: var(--c-error); font-size: 13px; font-weight: 500; line-height: 1.4 }
#f-method-err { margin-top: 10px }

/* ---------- Paiement ---------- */
.co-pay { border: 0; display: grid; gap: 12px; margin: 0; min-width: 0; padding: 0 }
.co-opt {
  background: #fff; border: 1px solid var(--c-field); border-radius: 16px; cursor: pointer; display: block;
  transition: border-color .15s ease, box-shadow .2s ease, background-color .15s ease;
}
.co-opt:hover { border-color: var(--c-field-hover) }
.co-opt.is-checked { background: #fbfdfa; border-color: var(--c-green); box-shadow: 0 0 0 1px var(--c-green), 0 16px 32px -26px rgba(15, 53, 39, .55) }
.co-opt__head { align-items: center; display: grid; gap: 14px; grid-template-columns: 22px minmax(0, 1fr) auto; padding: 18px }
.co-opt input {
  -webkit-appearance: none; appearance: none; align-items: center; background: #fff; border: 1.5px solid #a9b5ad; border-radius: 50%; cursor: pointer;
  display: flex; height: 22px; justify-content: center; margin: 0; width: 22px;
}
.co-opt input::before { background: var(--c-green); border-radius: 50%; content: ""; height: 10px; transform: scale(0); transition: transform .15s var(--ease); width: 10px }
.co-opt input:checked { border-color: var(--c-green) }
.co-opt input:checked::before { transform: scale(1) }
.co-opt input:focus-visible { outline: 2px solid var(--c-green); outline-offset: 3px }
.co-opt__text { display: flex; flex-direction: column; gap: 2px; min-width: 0 }
.co-opt__title { color: var(--c-ink); font-size: 15.5px; font-weight: 600; line-height: 1.3 }
.co-opt__sub { color: var(--c-muted); font-size: 13.5px; line-height: 1.4 }
.co-opt__marks { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end }
.co-mark { display: block; flex: none; height: 24px; width: 38px }
.co-opt__body { align-items: flex-start; border-top: 1px solid var(--c-tint-line); color: var(--c-text); display: none; font-size: 14px; gap: 10px; margin: 0 18px; padding: 14px 0 16px }
.co-opt__body .co-ico { color: var(--c-green); margin-top: 1px }
.co-opt.is-checked .co-opt__body { display: flex }

.co-pay__note { color: var(--c-muted); font-size: 13px; line-height: 1.5; margin-top: 10px }

.co-hp { height: 1px; left: -9999px; overflow: hidden; position: absolute; width: 1px }

/* Vérification Turnstile : invisible sauf si Cloudflare demande une interaction (centrée au-dessus du bouton). */
.co-captcha { display: flex; justify-content: center; max-width: 100% }
.co-captcha.is-visible { margin-top: 16px }

.co-submit {
  align-items: center; background: var(--c-green); border: 0; border-radius: 14px; box-shadow: 0 14px 28px -18px rgba(13, 79, 55, .8); color: #fff;
  cursor: pointer; display: flex; font-size: 17px; font-weight: 600; gap: 10px; justify-content: center; letter-spacing: .005em; margin-top: 22px;
  min-height: 62px; padding: 16px 22px; position: relative; transition: background-color .2s ease, transform .2s ease, opacity .2s ease; width: 100%;
}
.co-submit:hover { background: var(--c-green-2); transform: translateY(-1px) }
.co-submit:active { transform: translateY(0) }
.co-submit:disabled { cursor: default; opacity: .55; transform: none }
.co-submit [data-submit-label] { font-feature-settings: "tnum" }
.co-spin { animation: co-rotate .8s linear infinite; border: 2px solid rgba(255, 255, 255, .35); border-radius: 50%; border-top-color: #fff; display: none; height: 18px; width: 18px }
.co-submit.is-busy { opacity: 1 }
.co-submit.is-busy .co-ico { display: none }
.co-submit.is-busy .co-spin { display: block }
@keyframes co-rotate { to { transform: rotate(360deg) } }

.co-msg {
  align-items: flex-start; background: var(--c-warn-bg); border: 1px solid var(--c-warn-line); border-radius: 14px; color: var(--c-warn-text);
  display: flex; font-size: 14px; gap: 10px; line-height: 1.5; margin-top: 14px; padding: 14px 16px;
}
.co-msg .co-ico { margin-top: 1px }
.co-msg .co-link { color: var(--c-green); margin-top: 6px }
.co-msg.is-error { background: #fef3f2; border-color: #f4c7c2; color: var(--c-error) }

.co-legal { color: var(--c-muted); font-size: 12.5px; line-height: 1.5; margin-top: 14px; text-align: center }
.co-legal a { color: var(--c-text); text-underline-offset: 2px }

/* ---------- Avis et garanties ---------- */
.co-eyebrow { color: var(--c-green); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase }
.co-reviews { background: #fff; border: 1px solid var(--c-line); border-radius: 20px; margin-top: 44px; padding: 24px 24px 8px }
.co-reviews__head { border-bottom: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px }
.co-reviews__score { align-items: center; display: flex; flex-wrap: wrap; gap: 6px 12px }
.co-reviews__score strong { color: var(--c-ink); font-feature-settings: "tnum"; font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1 }
.co-reviews__count { color: var(--c-muted); font-size: 14.5px }
.co-stars { color: var(--c-star); display: inline-flex; gap: 2px }
.co-stars svg { display: block }
.co-review { border-bottom: 1px solid var(--c-line); padding: 18px 0 }
.co-review:last-child { border-bottom: 0 }
.co-review__text { color: var(--c-text); font-size: 14.5px; line-height: 1.6; margin: 8px 0 12px }
.co-review__who { align-items: center; display: flex; flex-wrap: wrap; font-size: 13.5px; gap: 10px }
.co-review__avatar {
  align-items: center; background: var(--c-tint); border: 1px solid var(--c-tint-line); border-radius: 50%; color: var(--c-green); display: flex;
  flex: none; font-size: 11.5px; font-weight: 600; height: 32px; justify-content: center; letter-spacing: .04em; width: 32px;
}
.co-review__name { color: var(--c-ink); display: block; font-weight: 600; line-height: 1.25 }
.co-review__city { color: var(--c-muted); display: block; font-size: 12.5px; line-height: 1.25 }
.co-review__ok { align-items: center; color: var(--c-green); display: inline-flex; font-size: 12.5px; font-weight: 600; gap: 4px; margin-left: auto }

.co-trust {
  background: var(--c-tint-line); border: 1px solid var(--c-tint-line); border-radius: 18px; display: grid; gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; overflow: hidden;
}
.co-trust li { align-items: center; background: var(--c-tint); color: var(--c-ink); display: flex; font-size: 13.5px; font-weight: 600; gap: 10px; line-height: 1.3; min-width: 0; padding: 15px 14px }
.co-trust .co-ico { color: var(--c-green) }
.co-trust small { color: var(--c-muted); display: block; font-size: 12.5px; font-weight: 400; margin-top: 2px }
.co-trust a { color: var(--c-green); font-weight: 600; text-decoration: none; white-space: nowrap }
.co-trust a:hover { text-decoration: underline; text-underline-offset: 2px }

/* ---------- Confirmation virement ---------- */
.co-done__head { align-items: flex-start; display: flex; gap: 18px }
.co-done__ok {
  align-items: center; background: var(--c-green); border-radius: 50%; box-shadow: 0 0 0 6px var(--c-tint); color: #fff; display: flex; flex: none;
  height: 52px; justify-content: center; margin-top: 4px; width: 52px;
}
.co-done__title { color: var(--c-ink); font-size: clamp(25px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.015em; line-height: 1.15; margin: 6px 0 10px }
.co-done__title:focus { outline: none }
.co-done__lead { color: var(--c-text); font-size: 15.5px; line-height: 1.6 }
.co-done__lead strong { color: var(--c-ink); font-weight: 600; overflow-wrap: anywhere }

.co-rib { background: var(--c-tint); border: 1px solid var(--c-tint-line); border-radius: 20px; margin-top: 28px; padding: 20px 22px 6px }
.co-rib__head { align-items: baseline; display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; padding-bottom: 6px }
.co-rib__head > span:first-child { color: var(--c-ink); font-size: 16px; font-weight: 600 }
.co-rib__amount { color: var(--c-green); font-feature-settings: "tnum"; font-size: 22px; font-weight: 600; letter-spacing: -.01em }
.co-rib__row { align-items: center; border-top: 1px solid var(--c-tint-line); display: grid; gap: 6px 14px; grid-template-columns: 96px minmax(0, 1fr) auto; padding: 13px 0 }
.co-rib__row dt { color: var(--c-muted); font-size: 13px; font-weight: 500 }
.co-rib__row dd { color: var(--c-ink); font-feature-settings: "tnum"; font-size: 15.5px; font-weight: 600; min-width: 0; overflow-wrap: anywhere }
.co-rib__row.is-key dd { color: var(--c-green-2) }
.co-rib__row dd.co-rib__act { justify-self: end }
.co-mono { font-family: var(--mono); font-size: 14.5px !important; letter-spacing: .02em }
.co-copy {
  align-items: center; background: #fff; border: 1px solid var(--c-tint-line); border-radius: 999px; color: var(--c-green); cursor: pointer; display: inline-flex;
  font-size: 13px; font-weight: 600; gap: 6px; min-height: 36px; padding: 6px 13px; transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.co-copy:hover { border-color: var(--c-green) }
.co-copy.is-done { background: var(--c-green); border-color: var(--c-green); color: #fff }

.co-howto { counter-reset: co-step; display: grid; gap: 16px; margin-top: 28px }
.co-howto li { align-items: start; counter-increment: co-step; display: grid; gap: 14px; grid-template-columns: 32px minmax(0, 1fr) }
.co-howto li::before {
  align-items: center; background: #fff; border: 1px solid var(--c-tint-line); border-radius: 50%; color: var(--c-green); content: counter(co-step);
  display: flex; font-size: 14px; font-weight: 600; height: 32px; justify-content: center; width: 32px;
}
.co-howto p { display: flex; flex-direction: column; gap: 2px; padding-top: 4px }
.co-howto strong { color: var(--c-ink); font-size: 15px; font-weight: 600 }
.co-howto span { color: var(--c-muted); font-size: 14px; line-height: 1.5 }
.co-howto b { color: var(--c-ink); font-feature-settings: "tnum"; font-weight: 600 }

.co-gift--done { background: #fff; border: 1.5px dashed var(--c-leaf); border-radius: 16px; grid-template-columns: 64px minmax(0, 1fr); margin-top: 28px; padding: 14px 16px }
.co-done__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 28px }
.co-done__help { color: var(--c-muted); font-size: 14px }
.co-done__help a { color: var(--c-green); font-weight: 600; text-decoration: none; white-space: nowrap }

.co-btn {
  align-items: center; background: var(--c-green); border-radius: 999px; color: #fff; display: inline-flex; font-size: 15px; font-weight: 600; gap: 8px;
  justify-content: center; min-height: 52px; padding: 14px 26px; text-decoration: none; transition: background-color .2s ease, transform .2s ease;
}
.co-btn:hover { background: var(--c-green-2); transform: translateY(-1px) }
.co-btn--ghost { background: #fff; border: 1px solid var(--c-field); color: var(--c-ink) }
.co-btn--ghost:hover { background: var(--c-tint); border-color: var(--c-tint-line) }

.co-page[data-state="done"] .co-sum .co-demo { display: none }

/* ---------- « J'ai effectué le virement » : action principale de l'écran RIB ----------
   Halo léger toutes les 3 s (opacité + échelle, sans recalcul de mise en page), flèche qui glisse au survol. */
.co-declare { margin-top: 32px }
.co-declare__btn {
  align-items: center; background: var(--c-green); border: 0; border-radius: 14px; box-shadow: 0 14px 28px -18px rgba(13, 79, 55, .8); color: #fff;
  cursor: pointer; display: flex; font: inherit; font-size: 17px; font-weight: 600; gap: 10px; justify-content: center; letter-spacing: .005em;
  min-height: 60px; padding: 16px 22px; position: relative; transition: background-color .2s ease, transform .2s ease, opacity .2s ease; width: 100%;
}
.co-declare__btn::after {
  animation: co-halo 3s var(--ease) 1s infinite; border-radius: inherit; box-shadow: 0 0 0 5px rgba(149, 203, 103, .55); content: ""; inset: 0;
  opacity: 0; pointer-events: none; position: absolute;
}
@keyframes co-halo {
  0% { opacity: .9; transform: scale(1) }
  40%, 100% { opacity: 0; transform: scale(1.02, 1.16) }
}
.co-declare__btn:hover { background: var(--c-green-2); transform: translateY(-1px) }
.co-declare__btn:active { transform: translateY(0) }
.co-declare__btn:focus-visible { outline: 2px solid var(--c-green); outline-offset: 4px }
.co-declare__btn:disabled { cursor: default; transform: none }
.co-declare__arrow { flex: none; transition: transform .25s var(--ease) }
.co-declare__btn:hover .co-declare__arrow, .co-declare__btn:focus-visible .co-declare__arrow { transform: translateX(4px) }
.co-declare__btn.is-busy::after { animation: none }
.co-declare__btn.is-busy .co-declare__arrow { display: none }
.co-declare__btn.is-busy .co-spin { display: block }
.co-declare__hint { color: var(--c-muted); font-size: 13.5px; line-height: 1.5; margin-top: 10px; text-align: center }
.co-declare__err { color: var(--c-error); font-size: 14px; line-height: 1.5; margin-top: 8px; text-align: center }
.co-declare__done {
  align-items: center; background: var(--c-tint); border: 1.5px solid var(--c-green); border-radius: 14px; color: var(--c-green-2); display: flex;
  font-size: 15px; font-weight: 600; gap: 12px; line-height: 1.45; min-height: 60px; padding: 14px 18px;
}
.co-declare__done:focus { outline: none }
.co-declare__done:focus-visible { outline: 2px solid var(--c-green); outline-offset: 4px }
.co-declare__check {
  align-items: center; background: var(--c-green); border-radius: 50%; color: #fff; display: flex; flex: none; height: 30px; justify-content: center; width: 30px;
}

/* ---------- Panier vide ---------- */
.co-empty {
  align-items: center; background: var(--c-tint); border: 1px solid var(--c-tint-line); border-radius: 24px; display: flex; flex-direction: column; gap: 12px;
  margin: 24px auto 0; max-width: 640px; padding: 56px 24px; text-align: center;
}
.co-empty__icon {
  align-items: center; background: #fff; border: 1px solid var(--c-tint-line); border-radius: 50%; color: var(--c-green); display: flex; height: 64px;
  justify-content: center; margin-bottom: 4px; width: 64px;
}
.co-empty h1 { color: var(--c-ink); font-size: 26px; font-weight: 600; letter-spacing: -.01em }
.co-empty h1:focus { outline: none }
.co-empty p { color: var(--c-muted); max-width: 46ch }
.co-empty .co-btn { margin-top: 10px }

/* ---------- Page merci ---------- */
.co-page--narrow { max-width: 720px }
.co-thanks { background: #fff; border: 1px solid var(--c-line); border-radius: 24px; box-shadow: var(--shadow-card); padding: 40px }
.co-thanks__view { align-items: flex-start; display: flex; flex-direction: column; gap: 14px }
.co-thanks__view h1 { color: var(--c-ink); font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -.015em; line-height: 1.15 }
.co-thanks__view h1:focus { outline: none }
.co-thanks__view p { color: var(--c-text); font-size: 15.5px; line-height: 1.6 }
.co-thanks__loading { align-items: center; color: var(--c-muted); display: flex; gap: 12px }
.co-thanks__loading .co-spin { border-color: var(--c-tint-line); border-top-color: var(--c-green); display: block }
.co-thanks .co-gift--done { margin-top: 6px; width: 100% }
.co-thanks__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px }
.co-done__ok--wait { background: #fff; border: 1.5px solid var(--c-tint-line); color: var(--c-green) }
.co-thanks__ref { background: var(--c-tint); border: 1px solid var(--c-tint-line); border-radius: 999px; color: var(--c-green-2); font-feature-settings: "tnum"; font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 4px 12px }
.co-thanks + .co-trust { margin-top: 20px }

/* ---------- Pied de page ---------- */
.co-foot { border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: 12.5px; line-height: 1.6; padding: 22px var(--page-x) 28px; text-align: center }
.co-foot nav { display: flex; gap: 20px; justify-content: center; margin-top: 6px }
.co-foot a { border-radius: 4px; color: var(--c-text); text-underline-offset: 2px }
.co-foot a:hover { color: var(--c-green) }

/* ---------- Tablette et mobile : une colonne, récapitulatif repliable en haut ---------- */
@media (max-width: 989px) {
  .co-page { padding: 0 0 56px }
  .co-page--narrow { padding: 28px 20px 56px }
  .co-grid { display: flex; flex-direction: column; gap: 0 }
  .co-sum { background: var(--c-tint); border-bottom: 1px solid var(--c-tint-line); position: static; width: 100% }
  .co-main { margin: 0 auto; max-width: 640px; padding: 28px 20px 0; width: 100% }

  .co-sum__toggle { background: none; border: 0; cursor: pointer; display: block; padding: 0; text-align: left; width: 100% }
  .co-sum__toggle-in { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin: 0 auto; max-width: 640px; min-height: 60px; padding: 12px 20px }
  .co-sum__toggle-label { align-items: center; color: var(--c-green); display: inline-flex; font-size: 14.5px; font-weight: 600; gap: 8px; min-width: 0 }
  .co-sum__chevron { transition: transform .2s var(--ease) }
  .co-sum.is-open .co-sum__chevron { transform: rotate(180deg) }
  .co-sum__toggle-total { color: var(--c-ink); font-feature-settings: "tnum"; font-size: 17px; font-weight: 600; white-space: nowrap }
  .co-sum__toggle:focus-visible { outline-offset: -3px }

  .co-sum:not(.is-open) .co-sum__body { display: none }
  .co-sum__card { background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0 auto; max-width: 640px; padding: 4px 20px 22px }
  .co-sum__title { clip: rect(0 0 0 0); height: 1px; margin: 0; overflow: hidden; position: absolute; white-space: nowrap; width: 1px }
  .co-line__media { border-color: var(--c-tint-line) }
  .co-rows, .co-total { border-color: var(--c-tint-line) }

  .co-reviews { margin-top: 40px }
  .co-empty { margin: 32px 20px 0 }
}

@media (max-width: 640px) {
  :root { --page-x: 16px }
  .co-head__in { gap: 2px 8px; grid-template-areas: "back logo ." "sec sec sec"; grid-template-columns: 44px minmax(0, 1fr) 44px; min-height: 0; padding: 8px 16px 10px }
  .co-head__back { grid-area: back; height: 44px; justify-content: center; width: 44px }
  .co-head__back span { clip: rect(0 0 0 0); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px }
  .co-logo { grid-area: logo; justify-self: center }
  .co-logo img { height: 36px }
  .co-secure { font-size: 12.5px; grid-area: sec; justify-self: center }
  .co-secure .co-ico { height: 15px; width: 15px }

  .co-step { margin-bottom: 28px; padding-bottom: 28px }
  .co-step__title { font-size: 19px; margin-bottom: 18px }
  .co-opt__head { gap: 12px; grid-template-columns: 22px minmax(0, 1fr); padding: 16px }
  .co-opt__marks { grid-column: 2; justify-content: flex-start }
  .co-opt__body { margin: 0 16px }
  .co-submit { font-size: 16.5px; min-height: 60px }

  .co-reviews { padding: 20px 18px 4px }
  .co-review__ok { margin-left: 0; width: 100% }

  .co-rib { padding: 18px 16px 4px }
  .co-rib__row { grid-template-columns: minmax(0, 1fr) auto }
  .co-rib__row dt { grid-column: 1 / -1 }
  .co-done__head { flex-direction: column; gap: 14px }
  .co-done__actions .co-btn { width: 100% }

  .co-thanks { border-radius: 20px; padding: 28px 20px }
  .co-thanks__actions, .co-thanks__actions .co-btn { width: 100% }
  .co-empty { padding: 44px 20px }
}

@media (max-width: 400px) {
  .co-copy { padding: 6px 11px }
  .co-trust { grid-template-columns: minmax(0, 1fr) }
}

@media (max-width: 360px) {
  .co-fields { grid-template-columns: minmax(0, 1fr) }
  .co-field { grid-column: 1 / -1 }
  .co-sum__toggle-in { gap: 8px }
  .co-sum__toggle-label { font-size: 14px; gap: 6px }
  .co-sum__toggle-label > .co-ico:first-child { display: none }
  .co-sum__toggle-label > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
  .co-sum__toggle-total { font-size: 16px }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important }
  .co-skel { animation: none }
  .co-spin { animation-duration: 2.4s }
  .co-declare__btn::after { animation: none; display: none }
  .co-declare__btn:hover, .co-declare__btn:hover .co-declare__arrow { transform: none }
}

/* ---------- Premier rendu ----------
   Avant que le script peigne le récapitulatif (lien v2) ou le squelette au bon nombre de lignes, le HTML montre
   2 lignes squelettes : le bas du récapitulatif reste invisible (place gardée) pour que l'ajustement ne compte pas
   comme un décalage de mise en page (CLS). */
.co-sum:not(.is-ready) .co-gift, .co-sum:not(.is-ready) .co-rows, .co-sum:not(.is-ready) .co-total { visibility: hidden }

/* ---------- Devis en cours (changement de pays) ---------- */
.co-sum .co-lines, .co-sum .co-rows, .co-sum .co-total, .co-sum__toggle-total { transition: opacity .2s ease }
.co-sum.is-loading .co-lines, .co-sum.is-loading .co-rows, .co-sum.is-loading .co-total, .co-sum.is-loading .co-sum__toggle-total { opacity: .45 }

/* ---------- Compléments ---------- */
button.co-btn { border: 0; cursor: pointer }
button.co-btn.co-btn--ghost { border: 1px solid var(--c-field) }
.co-inline-link { color: var(--c-green); font-weight: 600; text-decoration: none; white-space: nowrap }
.co-inline-link:hover { text-decoration: underline; text-underline-offset: 2px }
