/*
 * Yetim Eli France — façade « vues validées » (index.html, panier.html).
 *
 * Chargée en DERNIER (layouts/app.blade.php). Tout est préfixé « y5- » :
 * aucune classe des pages d'administration ni des scripts n'est redéfinie.
 *
 * Écarts volontaires avec les maquettes, pour l'accessibilité (WCAG AA) :
 *   • le rose des boutons passe de #e76b78 (3,1:1 avec du blanc) à #C94A59
 *     (4,6:1) — même teinte, un cran plus foncée ;
 *   • aucun texte sous 12 px, les champs de saisie en 16 px (pas de zoom
 *     forcé sur iPhone), les zones cliquables d'au moins 44 px ;
 *   • le gris secondaire passe à #5F6E66 (5:1 sur le fond papier).
 */
:root {
    --y5-ink: #17362d;
    --y5-heading: #263f49;
    --y5-green: #175944;
    --y5-green-btn: #426a50;
    --y5-green-btn-h: #315a40;
    --y5-green-soft: #eaf2ec;
    --y5-paper: #f7f7f2;
    --y5-white: #fff;
    --y5-muted: #5f6e66;
    --y5-line: #e1e7df;
    --y5-pink: #c94a59;
    --y5-pink-h: #b53e4d;
    --y5-gold: #e6bd62;
    --y5-top: #203239;
    --y5-lime: #c8df79;
    --y5-shadow: 0 20px 60px rgba(28, 61, 47, .09);
    --y5-radius: 22px;
    --y5-max: 1200px;
    --y5-titres: "Manrope", "DM Sans", ui-sans-serif, system-ui, sans-serif;
    --y5-corps: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.ye-v4 { background: var(--y5-paper); color: var(--y5-ink); font-family: var(--y5-corps); }
.y5-wrap { width: min(var(--y5-max), calc(100% - 48px)); margin-inline: auto; }
.y5-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--y5-green); font-weight: 700; }
.y5-eyebrow::before { content: ""; width: 23px; height: 1px; background: currentColor; }
.y5-text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--y5-green); font-weight: 700; font-size: 14px; white-space: nowrap; text-decoration: none; min-height: 44px; }
.y5-text-link svg { width: 16px; height: 16px; transition: transform .2s; }
.y5-text-link:hover { color: var(--y5-green); }
.y5-text-link:hover svg { transform: translateX(4px); }

.y5-button { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 13px 21px; border-radius: 999px; background: var(--y5-pink); color: #fff !important; font-family: var(--y5-corps); font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.y5-button:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(201, 74, 89, .25); background: var(--y5-pink-h); color: #fff; }
.y5-button svg { width: 16px; height: 16px; flex: none; }
.y5-button:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.y5-button--ghost { background: #fff; color: var(--y5-green) !important; border: 1px solid #c9d8cc; }
.y5-button--ghost:hover { background: var(--y5-green-soft); color: var(--y5-green) !important; box-shadow: none; }
.ye-v4 a:focus-visible, .ye-v4 button:focus-visible, .ye-v4 summary:focus-visible, .ye-v4 input:focus-visible, .ye-v4 select:focus-visible, .ye-v4 textarea:focus-visible { outline: 3px solid var(--y5-gold); outline-offset: 2px; }

.mini-cart-wrapper { position: relative; }

/* ================================ SLIDER ================================= */
.y5-hero { padding: 28px 0 0; }
.y5-hero-frame { position: relative; border-radius: 28px; overflow: hidden; background: #e9eee7; box-shadow: var(--y5-shadow); }
.y5-slide { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 430px; }
.y5-slide[hidden] { display: none; }
.y5-hero-copy { padding: clamp(38px, 6vw, 78px) 0 clamp(64px, 6vw, 86px) clamp(30px, 6vw, 76px); position: relative; z-index: 2; align-self: center; }
.y5-hero-copy h1, .y5-hero-copy .y5-h1 { font: 700 clamp(38px, 5vw, 64px)/1.04 var(--y5-titres); letter-spacing: -.055em; margin: 20px 0 16px; max-width: 520px; color: var(--y5-ink); text-wrap: balance; }
.y5-hero-copy p { font-size: 17px; line-height: 1.7; color: #4b5e54; max-width: 420px; margin: 0 0 26px; }
.y5-hero-copy .y5-button { padding: 15px 22px; }
.y5-hero-photo { position: relative; min-width: 0; min-height: 430px; background: #e9eee7; }
.y5-hero-photo::before { content: ""; position: absolute; inset: 0 auto 0 -1px; width: 24%; background: linear-gradient(90deg, #e9eee7, transparent); z-index: 1; pointer-events: none; }
.y5-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.y5-slider-controls { position: absolute; z-index: 3; right: 27px; bottom: 22px; display: flex; align-items: center; gap: 6px; padding: 6px; border: 1px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .9); border-radius: 999px; backdrop-filter: blur(10px); }
.y5-slide-arrow { width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--y5-ink); cursor: pointer; }
.y5-slide-arrow:hover { background: var(--y5-green); color: #fff; }
.y5-slide-arrow svg { width: 16px; height: 16px; }
.y5-slide-dots { display: flex; align-items: center; gap: 2px; margin: 0 2px; }
.y5-slide-dot { position: relative; border: 0; width: 22px; height: 44px; padding: 0; background: transparent; cursor: pointer; }
.y5-slide-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; transform: translate(-50%, -50%); border-radius: 50%; background: #9fb0a5; transition: width .2s, background .2s; }
.y5-slide-dot[aria-current="true"]::after { width: 21px; border-radius: 5px; background: var(--y5-green); }
.y5-slide-count { font-size: 12px; font-weight: 700; color: #44574e; padding: 0 4px; }
.y5-slide-count span { opacity: 1; }
.y5-trust { display: flex; align-items: center; gap: 16px; margin: 19px 3px 0; color: var(--y5-muted); font-size: 13px; }
.y5-trust-avatars { display: flex; padding-left: 4px; }
.y5-trust-avatars span { width: 26px; height: 26px; border: 2px solid var(--y5-paper); border-radius: 50%; background: #dce9d7; margin-left: -5px; display: grid; place-items: center; color: var(--y5-green); font-size: 10px; font-weight: 700; }
.y5-trust strong { color: var(--y5-ink); }

@media (max-width: 900px) {
    .y5-slide { grid-template-columns: .9fr 1.1fr; min-height: 380px; }
    .y5-hero-photo { min-height: 380px; }
    .y5-hero-copy { padding-left: 38px; }
    .y5-hero-copy h1, .y5-hero-copy .y5-h1 { font-size: 46px; }
}
@media (max-width: 680px) {
    .y5-wrap { width: calc(100% - 30px); }
    .y5-hero { padding-top: 14px; }
    .y5-hero-frame { border-radius: 20px; }
    .y5-slide { display: flex; flex-direction: column-reverse; min-height: 0; }
    .y5-hero-photo { min-height: 0; aspect-ratio: 1.55; }
    .y5-hero-photo::before { inset: auto 0 0; width: auto; height: 18%; background: linear-gradient(0deg, #e9eee7, transparent); }
    .y5-hero-copy { padding: 22px 22px 26px; }
    .y5-hero-copy h1, .y5-hero-copy .y5-h1 { font-size: clamp(32px, 9.5vw, 44px); margin: 12px 0 10px; }
    .y5-hero-copy p { font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
    .y5-slider-controls { right: 10px; bottom: auto; top: 10px; gap: 2px; padding: 3px; }
    .y5-slide-arrow { width: 40px; height: 40px; }
    .y5-trust { margin-top: 13px; gap: 10px; font-size: 12px; }
}

/* ============================== DON RAPIDE ============================== */
.y5-quick-section { padding: 64px 0 70px; }
.ye-v4 .quick-donate.y5-quick { background: #fff; border: 1px solid var(--y5-line); border-radius: 24px; padding: 28px 30px 26px; box-shadow: 0 10px 36px rgba(28, 61, 47, .045); transition: box-shadow .2s; margin: 0; max-width: none; }
.y5-quick:focus-within { box-shadow: var(--y5-shadow); }
.y5-quick-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.y5-quick-title { display: flex; gap: 14px; align-items: center; }
.y5-quick-emblem { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: #fff0ef; color: var(--y5-pink); flex: none; }
.y5-quick-emblem svg { width: 22px; height: 22px; }
.y5-quick-title h2 { font: 700 23px/1.15 var(--y5-titres); letter-spacing: -.03em; margin: 0 0 5px; color: var(--y5-ink); }
.y5-quick-title p { color: var(--y5-muted); font-size: 14px; margin: 0; }
.y5-quick-note { display: flex; gap: 8px; align-items: center; color: var(--y5-muted); font-size: 13px; margin-top: 4px; white-space: nowrap; }
.y5-quick-note svg { width: 16px; height: 16px; color: var(--y5-green); }
.y5-quick-grid { display: grid; grid-template-columns: minmax(340px, 1.18fr) minmax(260px, .82fr); gap: 28px; align-items: start; }
.y5-field-label { font-weight: 700; font-size: 14px; display: block; margin-bottom: 11px; color: var(--y5-ink); }
.y5-quick-cause-name { font-weight: 500; color: var(--y5-muted); }
/* quick-donate.js masque l'étape 1 quand une cause est ouverte : en deux
   colonnes, elle reste affichée. */
.y5-quick [data-etape="1"][hidden] { display: block !important; }
.y5-quick [data-etape="2"]:not([hidden]) ~ .y5-quick-empty { display: none; }
.y5-quick .qd-etape { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; animation: none; }
.y5-gift-types { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; overflow: visible !important; padding: 0 !important; margin: 0 !important; scroll-snap-type: none !important; }
.y5-gift-type.qd-tuile { position: relative; flex: none !important; width: auto !important; height: auto !important; min-height: 84px; aspect-ratio: auto !important; border: 1px solid var(--y5-line); background: #fff; border-radius: 14px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #3f5449; text-align: center; text-decoration: none; overflow: visible; box-shadow: none; transition: border-color .18s, transform .18s, background .18s; }
.y5-gift-type.qd-tuile:hover { border-color: #a9c1b0; transform: translateY(-1px); }
.y5-gift-type.qd-tuile[aria-pressed="true"] { border-color: var(--y5-green); background: #eff5ef; color: var(--y5-green); box-shadow: inset 0 0 0 1px var(--y5-green); }
.y5-gift-icon { width: 24px; height: 24px; color: var(--y5-green); display: grid; place-items: center; font-size: 18px; }
.y5-gift-type .qd-tuile-nom { position: static; font-size: 13px; font-weight: 600; line-height: 1.3; color: inherit; text-shadow: none; }
.y5-gift-type .qd-tuile-prix { position: static; font-size: 12px; font-weight: 500; color: var(--y5-muted); background: none; padding: 0; }
.y5-gift-type[aria-pressed="true"] .qd-tuile-prix { color: var(--y5-green); }
.y5-quick-config, .y5-quick-empty { padding-left: 25px; border-left: 1px solid var(--y5-line); min-height: 100%; }
.y5-quick-empty { color: var(--y5-muted); font-size: 14px; padding-top: 4px; }
.y5-quick-config-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.y5-quick--duo .y5-quick-back { display: none; }
.y5-quick-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border: 0; background: none; color: var(--y5-green); font-weight: 700; font-size: 13px; cursor: pointer; padding: 0; }
.y5-quick-back svg { width: 15px; height: 15px; }
/* Pastilles et champs fabriqués par quick-donate.js */
.y5-quick .qd-groupe { margin: 0 0 14px; }
.y5-quick .qd-groupe .qd-field-label { display: block; font-size: 13px; font-weight: 700; color: #40574b; margin-bottom: 8px; }
.y5-quick .qd-rang { display: flex; flex-wrap: wrap; gap: 8px; }
.y5-quick .qd-pill { min-height: 44px; padding: 0 16px; border: 1px solid var(--y5-line); border-radius: 999px; background: #fff; color: #405348; font-family: var(--y5-corps); font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: none; }
.y5-quick .qd-pill:hover:not(:disabled), .y5-quick .qd-pill.is-on { background: var(--y5-green); border-color: var(--y5-green); color: #fff; }
.y5-quick .qd-pill:disabled, .y5-quick .qd-pill.is-off { opacity: .45; cursor: not-allowed; }
.y5-quick .qd-input, .y5-quick .qd-select { width: 100%; height: 46px; border: 1px solid var(--y5-line); border-radius: 11px; padding: 0 13px; color: var(--y5-ink); font-family: var(--y5-corps); font-size: 16px; background: #fff; }
.y5-quick .qd-input:focus, .y5-quick .qd-select:focus { border-color: var(--y5-green); box-shadow: 0 0 0 3px rgba(23, 89, 68, .1); outline: none; }
.y5-quick .qd-qte { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--y5-line); border-radius: 999px; padding: 3px; }
.y5-quick .qd-qte-b { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f2f5f1; color: var(--y5-ink); font-size: 18px; cursor: pointer; }
.y5-quick .qd-qte-b:disabled { opacity: .4; cursor: not-allowed; }
.y5-quick .qd-qte-v { min-width: 34px; text-align: center; font-weight: 700; }
.y5-quick-bottom { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--y5-line); background: none; }
.y5-quick-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.y5-quick-total .qd-total-l { font-size: 13px; color: var(--y5-muted); font-weight: 600; }
.y5-quick-total .qd-total-v { font: 800 26px var(--y5-titres); letter-spacing: -.03em; color: var(--y5-ink); }
.y5-quick-total .qd-total-d { flex-basis: 100%; font-size: 13px; color: var(--y5-muted); }
.y5-quick-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.y5-quick-actions .y5-button { flex: 1 1 160px; }
.y5-quick-hint { font-size: 13px; line-height: 1.55; color: var(--y5-muted); margin: 20px 0 0; max-width: 620px; }
@media (max-width: 900px) {
    .y5-quick-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
    .y5-quick-section { padding: 40px 0 50px; }
    .ye-v4 .quick-donate.y5-quick { padding: 20px 17px 18px; border-radius: 20px; }
    .y5-quick-top { flex-direction: column; gap: 10px; margin-bottom: 20px; }
    .y5-quick-emblem { width: 42px; height: 42px; border-radius: 13px; }
    .y5-quick-title h2 { font-size: 19px; }
    .y5-quick-title p { font-size: 13px; }
    .y5-quick-note { white-space: normal; }
    .y5-quick-grid { grid-template-columns: 1fr; gap: 20px; }
    .y5-gift-types { gap: 7px; }
    .y5-gift-type.qd-tuile { min-height: 76px; padding: 9px 5px; border-radius: 12px; }
    .y5-gift-type .qd-tuile-nom { font-size: 12px; }
    .y5-quick-config, .y5-quick-empty { border-left: 0; border-top: 1px solid var(--y5-line); padding: 18px 0 0; }
    .y5-quick-actions .y5-button { flex-basis: 100%; }
}


/* Priorité sur home.css et yetimeli-site.css (.ye-v4 .qd-…) : les boutons et
   le pied du don rapide prennent l'apparence de la vue validée. */
.ye-v4 .y5-quick .qd-btn.y5-button { border-radius: 999px; min-height: 48px; padding: 12px 20px; font-size: 14px; font-weight: 700; background: var(--y5-pink); color: #fff; border: 0; }
.ye-v4 .y5-quick .qd-btn.y5-button:hover:not(:disabled) { background: var(--y5-pink-h); color: #fff; }
.ye-v4 .y5-quick .qd-btn.y5-button--ghost { background: #fff; color: var(--y5-green); border: 1px solid #c9d8cc; }
.ye-v4 .y5-quick .qd-btn.y5-button--ghost:hover:not(:disabled) { background: var(--y5-green-soft); color: var(--y5-green); }
.ye-v4 .y5-quick .qd-pied { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--y5-line); }
.ye-v4 .y5-quick .qd-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ye-v4 .y5-quick .qd-total-l { color: var(--y5-muted); font-size: 13px; letter-spacing: 0; text-transform: none; }
.ye-v4 .y5-quick .qd-total-v { color: var(--y5-ink); font: 800 26px var(--y5-titres); }
.ye-v4 .y5-quick .qd-total-d { color: var(--y5-muted); font-size: 13px; font-weight: 500; flex-basis: 100%; }
.ye-v4 .y5-quick .qd-actions { margin-left: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ye-v4 .y5-quick .qd-field-label { font-size: 13px; font-weight: 700; color: #40574b; letter-spacing: 0; text-transform: none; }
.ye-v4 .y5-quick .qd-pill { min-height: 44px; padding: 0 16px; border: 1px solid var(--y5-line); border-radius: 999px; background: #fff; color: #405348; font-size: 14px; font-weight: 700; }
.ye-v4 .y5-quick .qd-pill:hover:not(:disabled), .ye-v4 .y5-quick .qd-pill.is-on { background: var(--y5-green); border-color: var(--y5-green); color: #fff; }
.ye-v4 .y5-quick .qd-tuile { box-shadow: none; }

/* =============================== MOSAÏQUE =============================== */
.y5-donations { padding: 30px 0 84px; }
.y5-donations-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 27px; }
.y5-donations-head h2 { font: 800 clamp(32px, 3.4vw, 43px)/1.08 var(--y5-titres); letter-spacing: -.05em; margin: 13px 0; color: var(--y5-heading); }
.y5-donations-head p { max-width: 600px; margin: 0; color: var(--y5-muted); font-size: 16px; line-height: 1.6; }
.y5-donation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, 19vw); gap: 16px; }
.y5-tile { position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: 23px; background: #50675c; color: #fff !important; isolation: isolate; min-width: 0; text-decoration: none; }
.y5-tile::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(12, 31, 34, .02) 20%, rgba(12, 31, 34, .22) 45%, rgba(12, 31, 34, .8) 100%); transition: background .25s; }
.y5-tile:hover::after { background: linear-gradient(180deg, rgba(12, 31, 34, .1) 8%, rgba(12, 31, 34, .3) 42%, rgba(12, 31, 34, .86) 100%); }
.y5-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .55s; }
.y5-tile:hover > img { transform: scale(1.035); }
.y5-tile-copy { position: relative; z-index: 1; padding: 16px 18px 18px; width: 100%; }
.y5-tile-price { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--y5-gold); color: #263c3d; font-size: 12px; font-weight: 800; margin-bottom: 9px; }
.y5-tile-copy h3 { font: 800 clamp(16px, 1.4vw, 20px)/1.15 var(--y5-titres); letter-spacing: -.03em; margin: 0; color: #fff; text-shadow: 0 1px 8px rgba(16, 36, 33, .4); }
.y5-tile-copy p { font-size: 13px; line-height: 1.45; color: #f4f6f3; margin: 7px 0 0; text-shadow: 0 1px 6px rgba(16, 36, 33, .45); }
/* Disposition de la maquette, quand il y a exactement 7 tuiles. */
.y5-donation-grid--7 .y5-tile--1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.y5-donation-grid--7 .y5-tile--2 { grid-column: 3 / 5; grid-row: 1; }
.y5-donation-grid--7 .y5-tile--3 { grid-column: 3; grid-row: 2; }
.y5-donation-grid--7 .y5-tile--4 { grid-column: 4; grid-row: 2; }
.y5-donation-grid--7 .y5-tile--5 { grid-column: 1; grid-row: 3; }
.y5-donation-grid--7 .y5-tile--6 { grid-column: 2; grid-row: 3; }
.y5-donation-grid--7 .y5-tile--7 { grid-column: 3 / 5; grid-row: 3; }
.y5-donation-grid--7 .y5-tile--1 .y5-tile-copy { padding: 20px 23px 22px; }
.y5-donation-grid--7 .y5-tile--1 h3 { font-size: clamp(24px, 2.25vw, 32px); }
/* Moins de 7 dons : la première tuile reste grande. */
.y5-tile--1 { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
    .y5-donation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(170px, 22vw); gap: 13px; }
    .y5-donation-grid--7 .y5-tile--1 { grid-column: 1 / 3; grid-row: 1 / 3; }
    .y5-donation-grid--7 .y5-tile--2 { grid-column: 3; grid-row: 1; }
    .y5-donation-grid--7 .y5-tile--3 { grid-column: 3; grid-row: 2; }
    .y5-donation-grid--7 .y5-tile--4 { grid-column: 1; grid-row: 3; }
    .y5-donation-grid--7 .y5-tile--5 { grid-column: 2; grid-row: 3; }
    .y5-donation-grid--7 .y5-tile--6 { grid-column: 3; grid-row: 3; }
    .y5-donation-grid--7 .y5-tile--7 { grid-column: 1 / 4; grid-row: 4; }
}
@media (max-width: 680px) {
    .y5-donations { padding: 0 0 53px; }
    .y5-donations-head { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 19px; }
    .y5-donations-head h2 { font-size: 31px; margin: 10px 0 8px; }
    .y5-donations-head p { font-size: 14px; }
    .y5-donation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
    .y5-donation-grid .y5-tile { grid-column: auto !important; grid-row: auto !important; border-radius: 17px; }
    .y5-donation-grid .y5-tile--1, .y5-donation-grid .y5-tile--2, .y5-donation-grid--7 .y5-tile--7 { grid-column: 1 / 3 !important; }
    .y5-donation-grid .y5-tile--1 { grid-row: span 2 !important; min-height: 230px; }
    .y5-tile-copy { padding: 12px; }
    .y5-tile-price { min-height: 26px; padding: 0 10px; font-size: 11px; margin-bottom: 7px; }
    .y5-tile-copy h3 { font-size: 15px; }
    .y5-donation-grid--7 .y5-tile--1 h3 { font-size: 22px; }
    .y5-tile-copy p { font-size: 12px; }
}

/* =============================== PARCOURS =============================== */
.y5-flow { background: #fff; padding: 64px 0 70px; }
.y5-flow h2 { margin: 0; text-align: center; color: var(--y5-heading); font: 800 clamp(28px, 3.2vw, 40px)/1.12 var(--y5-titres); letter-spacing: -.045em; }
.y5-flow-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 50px 0 0; padding: 0; list-style: none; }
.y5-flow-steps::before { content: ""; position: absolute; z-index: 0; left: 12.5%; right: 12.5%; top: 29px; border-top: 2px dashed #d2ded3; }
.y5-flow-step { position: relative; z-index: 1; text-align: center; }
.y5-flow-number { width: 58px; height: 58px; margin: 0 auto 15px; display: grid; place-items: center; clip-path: polygon(50% 0%, 64% 17%, 88% 12%, 83% 36%, 100% 50%, 83% 64%, 88% 88%, 64% 83%, 50% 100%, 36% 83%, 12% 88%, 17% 64%, 0 50%, 17% 36%, 12% 12%, 36% 17%); background: var(--y5-heading); color: var(--y5-gold); font: 800 20px var(--y5-titres); }
.y5-flow-step--last .y5-flow-number { background: var(--y5-gold); color: var(--y5-heading); }
.y5-flow-step h3 { font: 800 17px/1.3 var(--y5-titres); letter-spacing: -.025em; margin: 0 0 10px; color: var(--y5-heading); }
.y5-flow-step p { font-size: 14px; line-height: 1.55; color: var(--y5-muted); margin: 0 auto; max-width: 250px; }
@media (max-width: 760px) {
    .y5-flow { padding: 45px 0 48px; }
    .y5-flow h2 { font-size: 28px; }
    .y5-flow-steps { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
    .y5-flow-steps::before { left: 28px; right: auto; top: 29px; bottom: 29px; border-top: 0; border-left: 2px dashed #d2ded3; }
    .y5-flow-step { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 14px; text-align: left; align-items: center; min-height: 61px; }
    .y5-flow-number { grid-column: 1; grid-row: 1 / 3; width: 56px; height: 56px; margin: 0; }
    .y5-flow-step h3 { grid-column: 2; grid-row: 1; align-self: end; font-size: 15px; margin: 0 0 3px; }
    .y5-flow-step p { grid-column: 2; grid-row: 2; max-width: none; margin: 0; align-self: start; font-size: 13px; line-height: 1.45; }
}

/* ============================== ENGAGEMENT ============================== */
.y5-promise { padding: 70px 0 82px; }
.y5-promise-box { border-radius: 24px; background: var(--y5-ink); color: #f4f5e9; padding: 32px 36px; display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 35px; }
.y5-promise-intro .y5-eyebrow { color: var(--y5-lime); }
.y5-promise-intro h2 { font: 700 28px/1.12 var(--y5-titres); letter-spacing: -.04em; margin: 12px 0 0; color: #fff; }
.y5-promise-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; }
.y5-promise-point { padding-left: 17px; border-left: 1px solid rgba(255, 255, 255, .17); }
.y5-promise-point strong { display: block; font-size: 15px; margin-bottom: 5px; color: #fff; }
.y5-promise-point span { font-size: 13px; line-height: 1.5; color: #c4d2c8; }
@media (max-width: 900px) { .y5-promise-box { grid-template-columns: 1fr 1.8fr; padding: 27px; } }
@media (max-width: 680px) {
    .y5-promise { padding: 0 0 50px; }
    .y5-promise-box { display: block; border-radius: 20px; padding: 24px 20px; }
    .y5-promise-intro h2 { font-size: 24px; }
    .y5-promise-points { grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
    .y5-promise-point { padding-left: 13px; }
}

/* ============================ PIED DE PAGE ============================ */
.y5-footer { background: #edf0e9; border-top: 1px solid #e1e8df; color: var(--y5-ink); }
.y5-footer-main { padding: 46px 0 38px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.y5-footer-brand img { width: 135px; height: auto; max-height: 46px; object-fit: contain; margin-bottom: 15px; }
.y5-footer-brand p { font-size: 14px; line-height: 1.7; color: var(--y5-muted); max-width: 270px; margin: 0; }
.y5-footer-col h2 { font: 700 12px var(--y5-titres); text-transform: uppercase; letter-spacing: .08em; margin: 7px 0 14px; color: var(--y5-ink); }
.y5-footer-col a, .y5-footer-col p { display: block; font-size: 14px; color: #52625a; margin: 0 0 4px; padding: 5px 0; line-height: 1.5; text-decoration: none; }
.y5-footer-col a:hover { color: var(--y5-pink); }
.y5-footer-bottom { border-top: 1px solid #dce3d9; padding: 15px 0 18px; display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 12px; color: #5f6e66; }
.y5-socials { display: flex; gap: 8px; }
.y5-socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--y5-green); text-decoration: none; }
.y5-socials a:hover { background: var(--y5-green); color: #fff; }
@media (max-width: 900px) { .y5-footer-main { gap: 25px; } }
@media (max-width: 680px) {
    .y5-footer-main { padding: 32px 0 25px; grid-template-columns: 1fr 1fr; gap: 25px 18px; }
    .y5-footer-brand { grid-column: 1 / -1; }
    .y5-footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .y5-tile > img, .y5-tile::after, .y5-button, .y5-text-link svg, .y5-gift-type { transition: none !important; }
}


/* =====================================================================
   PANIER — étapes 1, 2 et 3 (vue validée panier.html)
   Tailles relevées par rapport à la maquette : 12 px minimum pour le
   texte, 16 px dans les champs, 44 px pour les zones cliquables.
   ===================================================================== */
.y5-page { padding: 30px 0 80px; }
.y5-breadcrumbs { font-size: 13px; color: var(--y5-muted); margin-bottom: 24px; }
.y5-breadcrumbs a { color: var(--y5-green); font-weight: 600; text-decoration: none; }
.y5-breadcrumbs a:hover { text-decoration: underline; }
.y5-breadcrumbs > span[aria-hidden] { margin: 0 8px; color: #98a59c; }
.y5-page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: 24px; }
.y5-page-heading h1 { font: 800 clamp(34px, 4vw, 48px)/1.05 var(--y5-titres); letter-spacing: -.05em; color: var(--y5-ink); margin: 10px 0 8px; }
.y5-page-heading p { font-size: 15px; color: var(--y5-muted); margin: 0; line-height: 1.6; max-width: 620px; }
.y5-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #dbe6dc; border-radius: 999px; padding: 10px 14px; color: #3f5a4c; font-size: 13px; font-weight: 700; white-space: nowrap; background: #fff; }
.y5-pill svg { width: 16px; height: 16px; color: var(--y5-green); flex: none; }

.y5-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 28px; padding: 15px 20px; background: #fff; border: 1px solid var(--y5-line); border-radius: 15px; }
.y5-step { display: flex; align-items: center; gap: 10px; color: #6f7c74; font-size: 14px; font-weight: 600; }
.y5-step:not(:last-child)::after { content: ""; height: 1px; background: var(--y5-line); flex: 1; margin: 0 14px; }
.y5-step.is-active { color: var(--y5-green); font-weight: 700; }
.y5-step.is-done { color: var(--y5-green); }
.y5-step-num { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #cdd6cf; font-size: 13px; flex: none; background: #fff; }
.y5-step-num svg { width: 14px; height: 14px; }
.y5-step.is-active .y5-step-num { background: var(--y5-green); color: #fff; border-color: var(--y5-green); }
.y5-step.is-done .y5-step-num { background: var(--y5-green-soft); color: var(--y5-green); border-color: #c5d9cb; }

.y5-notice { margin: 0 0 18px; padding: 13px 16px; border-radius: 12px; background: var(--y5-green-soft); color: var(--y5-green); font-size: 14px; font-weight: 600; border: 1px solid #cfe1d4; }
.y5-alert { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: #fdf0f1; color: #8f2b38; font-size: 14px; border: 1px solid #f1c9cf; }
.y5-alert ul { margin: 6px 0 0; padding-left: 18px; }

.y5-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.y5-left { display: grid; gap: 16px; min-width: 0; }
.y5-panel { background: #fff; border: 1px solid var(--y5-line); border-radius: 19px; padding: 22px; }
.y5-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 16px; }
.y5-panel h2, .y5-info-intro h2, .y5-summary-card h2 { font: 700 19px/1.2 var(--y5-titres); letter-spacing: -.03em; color: var(--y5-ink); margin: 0; }
.y5-count { font-size: 12px; color: var(--y5-muted); background: #f2f5f0; border-radius: 999px; padding: 7px 11px; font-weight: 700; white-space: nowrap; }

.y5-cart-items { display: grid; gap: 11px; }
.y5-cart-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px; border: 1px solid #e9ede8; border-radius: 14px; }
.y5-cart-item--compact { grid-template-columns: minmax(0, 1fr) auto; }
.y5-item-photo { width: 84px; height: 78px; border-radius: 11px; overflow: hidden; background: #e8eee7; display: grid; place-items: center; color: var(--y5-green); font-size: 22px; }
.y5-item-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.y5-item-body { min-width: 0; }
.y5-item-category { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--y5-green); margin-bottom: 4px; }
.y5-item-title { font: 700 16px/1.25 var(--y5-titres); margin: 0 0 4px; letter-spacing: -.02em; color: var(--y5-ink); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.y5-item-option { font-size: 13px; color: var(--y5-muted); line-height: 1.45; overflow-wrap: anywhere; }
.y5-item-actions { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.y5-item-actions a, .y5-item-actions button { background: none; border: 0; padding: 0; min-height: 32px; display: inline-flex; align-items: center; color: #55665c; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-family: inherit; }
.y5-item-actions a:hover, .y5-item-actions button:hover { color: var(--y5-pink); }
.y5-item-actions--panel { margin-top: 12px; }
.y5-item-price { font: 700 16px var(--y5-titres); white-space: nowrap; align-self: start; padding-top: 6px; color: var(--y5-ink); }
.y5-tag { font: 700 11px var(--y5-corps); letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #f2f5f0; color: var(--y5-muted); }
.y5-tag--monthly { background: var(--y5-green-soft); color: var(--y5-green); }

.y5-empty { text-align: center; padding: 44px 20px; color: var(--y5-muted); font-size: 15px; }
.y5-empty strong { display: block; color: var(--y5-ink); font: 700 20px var(--y5-titres); margin-bottom: 6px; }
.y5-empty p { margin: 0 0 18px; }

/* Soutien à l'association — contrats .ct-rappel / .donation-cart-controls */
.ye-v4 .y5-support.ct-rappel { margin: 0; background: #f3f7f1; border: 1px solid #dce8dc; border-radius: 16px; padding: 18px; }
.y5-support-heading { display: flex; align-items: flex-start; gap: 12px; }
.y5-support-icon { width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--y5-green); display: grid; place-items: center; flex: none; }
.y5-support-icon svg { width: 19px; height: 19px; }
.y5-support-copy { flex: 1; min-width: 0; }
.y5-support-copy strong { display: block; font: 700 15px/1.3 var(--y5-titres); color: var(--y5-ink); margin: 2px 0 4px; }
.y5-support-copy p { font-size: 13px; line-height: 1.5; color: var(--y5-muted); margin: 0; max-width: 580px; }
.ye-v4 .y5-support .y5-support-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 14px 0 0 52px; padding-top: 14px; border-top: 1px solid #dce8dc; }
.ye-v4 .y5-support .donation-price-options, .ye-v4 .y5-support .donation-quick-amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.ye-v4 .y5-support .donation-price-pill { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #cfdccf; background: #fff; color: var(--y5-ink); font: 700 14px var(--y5-corps); cursor: pointer; }
.ye-v4 .y5-support .donation-price-pill:hover { border-color: var(--y5-green); }
.ye-v4 .y5-support .donation-price-pill.active { background: var(--y5-green); border-color: var(--y5-green); color: #fff; }
.ye-v4 .y5-support .donation-custom-amount { display: flex; align-items: center; gap: 6px; flex: 1 1 150px; max-width: 220px; position: relative; }
.ye-v4 .y5-support .donation-custom-amount > span { position: absolute; right: 12px; color: var(--y5-muted); pointer-events: none; }
.ye-v4 .y5-support .donation-amount-input, .ye-v4 .y5-support .donation-price-select { width: 100%; height: 44px; border: 1px solid #d7e1d7; border-radius: 10px; padding: 0 30px 0 12px; background: #fff; color: var(--y5-ink); font-size: 16px; }
.ye-v4 .y5-support .donation-price-select-wrap { flex: 1 1 200px; }
.ye-v4 .y5-support .donation-amount-input:focus, .ye-v4 .y5-support .donation-price-select:focus { outline: none; border-color: var(--y5-green); box-shadow: 0 0 0 3px rgba(23, 89, 68, .16); }
.ye-v4 .y5-support .btn-add-to-cart.y5-support-add { width: auto; min-width: 0; max-width: none; min-height: 44px; border: 0; border-radius: 999px; padding: 0 20px; background: var(--y5-green); color: #fff; font: 700 14px var(--y5-corps); cursor: pointer; white-space: nowrap; box-shadow: none; }
.ye-v4 .y5-support .btn-add-to-cart.y5-support-add:hover { background: #124832; color: #fff; }

.y5-cart-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px; }
.y5-cart-foot form { margin: 0; }
.y5-link-button { background: none; border: 0; padding: 0; min-height: 44px; color: #55665c; font: 600 14px var(--y5-corps); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.y5-link-button:hover { color: var(--y5-pink); }

/* Récapitulatif */
.y5-summary-card { position: sticky; top: 108px; background: #fff; border: 1px solid var(--y5-line); border-radius: 19px; padding: 22px; box-shadow: var(--y5-shadow); }
.y5-summary-card h2 { margin-bottom: 14px; }
.y5-summary-line { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; color: var(--y5-muted); margin: 11px 0; }
.y5-summary-line span { min-width: 0; overflow-wrap: anywhere; }
.y5-summary-line strong { color: var(--y5-ink); font-weight: 700; white-space: nowrap; }
.y5-summary-separator { border: 0; border-top: 1px solid var(--y5-line); margin: 15px 0; opacity: 1; }
.y5-summary-total { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 18px; }
.y5-summary-total span { font-size: 14px; font-weight: 700; color: var(--y5-ink); }
.y5-summary-total strong { font: 800 26px var(--y5-titres); letter-spacing: -.04em; color: var(--y5-ink); white-space: nowrap; }
.y5-button--block { width: 100%; min-height: 50px; font-size: 15px; }
.y5-payment-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.y5-payment-logos span { border: 1px solid var(--y5-line); border-radius: 6px; padding: 4px 8px; color: #55665c; font-size: 12px; font-weight: 700; }
.y5-summary-back { display: flex; justify-content: center; align-items: center; min-height: 44px; margin-top: 6px; color: var(--y5-green); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Étape 2 — informations */
.y5-info-intro { margin-bottom: 16px; }
.y5-info-intro h2 { margin-bottom: 6px; }
.y5-info-intro p { font-size: 14px; line-height: 1.55; color: var(--y5-muted); margin: 0; max-width: 720px; }
.y5-required-note { margin-top: 6px !important; font-size: 13px !important; }
.y5-share-choice { display: flex; align-items: flex-start; gap: 12px; padding: 15px; border: 1px solid #dfe8de; border-radius: 13px; background: #f5f8f3; cursor: pointer; margin: 0 0 16px; }
.y5-share-choice input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--y5-green); flex: none; }
.y5-share-choice strong { display: block; font-size: 15px; color: var(--y5-ink); margin-bottom: 3px; }
.y5-share-choice span span { display: block; color: var(--y5-muted); font-size: 13px; line-height: 1.45; }
.y5-donor-forms { display: grid; gap: 12px; }
.y5-donor-form { border: 1px solid var(--y5-line); border-radius: 14px; margin: 0; padding: 0; min-width: 0; overflow: hidden; }
.y5-donor-form[hidden], .y5-donor-form.d-none { display: none !important; }
.y5-donor-head { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 13px 15px; margin: 0; background: #fbfcfa; border-bottom: 1px solid var(--y5-line); font-size: inherit; }
.y5-donor-head + * { clear: both; }
.y5-donor-num { width: 34px; height: 34px; border-radius: 10px; background: #f1f4ee; color: var(--y5-green); display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; }
.y5-donor-title { flex: 1; min-width: 0; }
.y5-donor-title strong { display: block; font-size: 15px; color: var(--y5-ink); }
.y5-donor-title span { display: block; color: var(--y5-muted); font-size: 13px; margin-top: 2px; }
.y5-donor-price { font-size: 14px; font-weight: 700; white-space: nowrap; color: var(--y5-ink); }
.y5-form-content { padding: 16px 15px; }
.y5-form-note { font-size: 13px; color: var(--y5-muted); margin: 0 0 13px; line-height: 1.5; }
.y5-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.y5-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.y5-field label, .y5-field-label { font-size: 13px; font-weight: 700; color: #3f5a4c; }
.y5-req { color: var(--y5-pink); margin-left: 2px; }
.ye-v4 .y5-field input, .ye-v4 .y5-field textarea { width: 100%; border: 1px solid #cfd9d0; border-radius: 10px; background: #fff; padding: 10px 12px; color: var(--y5-ink); font: 400 16px var(--y5-corps); outline: none; transition: border-color .18s, box-shadow .18s; box-shadow: none; }
.ye-v4 .y5-field input { height: 46px; }
.ye-v4 .y5-field textarea { min-height: 84px; resize: vertical; }
.ye-v4 .y5-field input:focus, .ye-v4 .y5-field textarea:focus { border-color: var(--y5-green); box-shadow: 0 0 0 3px rgba(23, 89, 68, .16); }
.ye-v4 .y5-field input[aria-invalid="true"] { border-color: #b8323f; }
.y5-field input::placeholder, .y5-field textarea::placeholder { color: #7f8b83; }
.y5-field-error { color: #a3283a; font-size: 13px; font-weight: 600; }
.y5-field-hint { color: var(--y5-muted); font-weight: 500; }
.y5-field--comment { padding: 0 2px; }
.y5-info-footnote { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; color: var(--y5-muted); font-size: 13px; line-height: 1.5; }
.y5-info-footnote svg { width: 16px; height: 16px; color: var(--y5-green); flex: none; margin-top: 2px; }

/* Étape 3 — paiement */
.y5-pay-form { margin: 0; }
.y5-info-note { background: #f2f6f0; padding: 11px 13px; border-radius: 11px; color: #4d6356; font-size: 13px; line-height: 1.5; margin: 0 0 14px; }
.y5-pay-methods { border: 0; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; min-width: 0; }
.y5-pay-methods legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; }
.y5-pay-methods legend + * { clear: both; }
.y5-pay-method { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 1px solid #d9e2d9; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .18s, background .18s; }
.y5-pay-method:hover { border-color: #a9c1af; }
.y5-pay-method:has(input:checked) { border-color: var(--y5-green); background: #f5f9f6; box-shadow: 0 0 0 1px var(--y5-green) inset; }
.y5-pay-method input { width: 18px; height: 18px; accent-color: var(--y5-green); margin: 0; flex: none; }
.y5-pay-icon { width: 30px; text-align: center; color: var(--y5-green); font-size: 18px; }
.y5-pay-name { font-size: 15px; font-weight: 600; color: var(--y5-ink); }

@media (max-width: 900px) {
    .y5-cart-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
    .y5-panel { padding: 18px; }
    .y5-cart-item { grid-template-columns: 68px minmax(0, 1fr) auto; gap: 11px; }
    .y5-item-photo { width: 68px; height: 68px; }
}
@media (max-width: 760px) {
    .y5-page { padding: 20px 0 50px; }
    .y5-breadcrumbs { margin-bottom: 18px; }
    .y5-page-heading { display: block; margin-bottom: 18px; }
    .y5-page-heading h1 { font-size: 34px; }
    .y5-page-heading p { font-size: 14px; }
    .y5-pill { margin-top: 12px; }
    .y5-page-heading--photo { min-width: 0; }
    .y5-page-heading--photo > div { min-width: 0; max-width: 100%; }
    .y5-page-heading--photo .y5-eyebrow { max-width: 100%; gap: 7px; font-size: 10px; letter-spacing: .08em; word-break: normal; }
    .y5-page-heading--photo .y5-eyebrow::before { flex: 0 0 18px; }
    .y5-page-heading--photo .y5-pill { max-width: 100%; width: fit-content; white-space: normal; align-items: flex-start; line-height: 1.35; }
    .y5-steps { padding: 12px 10px; margin-bottom: 16px; }
    .y5-step { font-size: 13px; gap: 6px; }
    .y5-step:not(:last-child)::after { margin: 0 8px; }
    .y5-cart-layout { display: flex; flex-direction: column; gap: 14px; }
    .y5-left, .y5-summary-card { width: 100%; }
    .y5-summary-card { position: static; }
    .y5-panel { padding: 16px; border-radius: 16px; }
    .y5-cart-item { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
    .y5-cart-item--compact { grid-template-columns: minmax(0, 1fr) auto; }
    .y5-item-photo { width: 58px; height: 62px; border-radius: 9px; }
    .y5-item-title, .y5-item-price { font-size: 15px; }
    .ye-v4 .y5-support .y5-support-controls { margin-left: 0; }
    .y5-form-content { padding: 14px 12px; }
}
@media (max-width: 480px) {
    .y5-step-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .y5-step.is-active .y5-step-label { position: static; width: auto; height: auto; clip: auto; }
    .y5-form-grid { grid-template-columns: 1fr; }
    .y5-cart-item { grid-template-columns: 52px minmax(0, 1fr); }
    .y5-cart-item--compact { grid-template-columns: minmax(0, 1fr) auto; }
    .y5-cart-item .y5-item-price { grid-column: 2; padding-top: 0; }
    .y5-cart-item--compact .y5-item-price { grid-column: auto; }
    .y5-item-photo { width: 52px; height: 56px; }
    .y5-summary-total strong { font-size: 23px; }
    .ye-v4 .y5-support .y5-support-controls { flex-direction: column; align-items: stretch; }
    .ye-v4 .y5-support .donation-custom-amount { max-width: none; }
    .ye-v4 .y5-support .btn-add-to-cart.y5-support-add { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .y5-pay-method, .y5-field input, .y5-field textarea { transition: none; }
}

/* Retouches après rendu */
.ye-v4 .y5-summary-total #cart-total-amount { font: inherit; color: inherit; letter-spacing: inherit; }
.y5-button--block { text-align: center; line-height: 1.25; }
.ye-v4 .y5-share-choice input, .ye-v4 .y5-pay-method input { accent-color: var(--y5-green); }
.y5-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ye-v4 .y5-share-choice input[type=checkbox], .ye-v4 .y5-pay-method input[type=radio] { accent-color: #175944 !important; }
