/* ============================================================================
   Système de design « ux » : panier, commande, contact, FAQ, favoris, suivi, compte
   Même langage que la fiche produit et les pages d'information :
   cartes blanches 22px, boutons 14px, champs 52px, badges, panneaux récapitulatifs.
   ========================================================================== */
.ux { --ux-r: 22px; --ux-line: var(--line, #e6eef0); --ux-soft: #f4f8f9; --ux-ink: var(--deep, #0d5560); --ux-muted: var(--muted, #6b868c); }

/* ---------- Boutons ---------- */
.ux-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border: 0; border-radius: 14px; background: var(--teal); color: #fff; font: inherit; font-size: .98rem; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px rgba(13, 85, 96, .22); transition: background .15s, transform .15s, box-shadow .15s; }
.ux-btn:hover { background: var(--ux-ink, #0d5560); transform: translateY(-1px); }
.ux-btn.amber { background: var(--amber, #fbbf2c); color: #3a2a00; box-shadow: 0 10px 24px rgba(251, 191, 44, .3); }
.ux-btn.amber:hover { background: #f5b30f; }
.ux-btn.ghost { background: #fff; color: var(--ux-ink, #0d5560); box-shadow: inset 0 0 0 1px var(--ux-line, #e6eef0); }
.ux-btn.ghost:hover { background: var(--ux-soft, #f4f8f9); }
.ux-btn.sm { height: 42px; padding: 0 18px; font-size: .88rem; border-radius: 12px; box-shadow: none; }
.ux-btn.block { width: 100%; }
.ux-link { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; background: none; border: 0; cursor: pointer; font: inherit; }

/* ---------- Cartes & titres ---------- */
.ux-card { background: #fff; border: 1px solid var(--ux-line, #e6eef0); border-radius: var(--ux-r, 22px); box-shadow: 0 10px 30px rgba(13, 85, 96, .05); }
.ux-title { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 1.25rem; color: var(--ux-ink, #0d5560); }
.ux-title .n { display: grid; place-items: center; min-width: 34px; height: 34px; border-radius: 10px; background: var(--amber-soft, #fde9a8); color: var(--ux-ink, #0d5560); font-size: .85rem; font-weight: 800; }
.ux-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.ux-aside { position: sticky; top: 150px; display: grid; gap: 16px; }

/* ---------- Étapes (panier > livraison > confirmation) ---------- */
.ux-steps { list-style: none; display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto 34px; padding: 0; max-width: 640px; }
.ux-steps li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--ux-muted); text-align: center; }
.ux-steps li::before { content: ""; position: absolute; top: 17px; right: 50%; width: 100%; border-top: 2px solid var(--ux-line); z-index: 0; }
.ux-steps li:first-child::before { display: none; }
.ux-steps .b { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--ux-line); color: var(--ux-muted); font-weight: 800; }
.ux-steps li.done, .ux-steps li.now { color: var(--ux-ink); }
.ux-steps li.done::before, .ux-steps li.now::before { border-top-color: var(--teal); }
.ux-steps li.done .b { background: var(--teal); box-shadow: none; color: #fff; }
.ux-steps li.now .b { background: var(--amber, #fbbf2c); box-shadow: 0 0 0 5px #fff, 0 6px 16px rgba(251, 191, 44, .4); color: #3a2a00; }

/* ---------- Récapitulatif ---------- */
.ux-summary { padding: 26px; }
.ux-summary h2 { margin: 0 0 18px; font-size: 1.2rem; color: var(--ux-ink); }
.ux-rows { margin: 0 0 18px; display: grid; gap: 12px; }
.ux-rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: .94rem; color: #3d5a60; }
.ux-rows dt { color: var(--ux-muted); }
.ux-rows dd { margin: 0; font-weight: 700; color: var(--ux-ink); }
.ux-rows .total { padding-top: 14px; border-top: 1px dashed var(--ux-line); font-size: 1.15rem; }
.ux-rows .total dt { color: var(--ux-ink); font-weight: 800; }
.ux-rows .total dd { font-size: 1.5rem; font-weight: 800; }
.ux-free { display: inline-flex; padding: 3px 12px; border-radius: 999px; background: #e4f7ec; color: #157a45; font-size: .8rem; font-weight: 800; }
.ux-progress { margin: 0 0 18px; padding: 14px 16px; border-radius: 16px; background: var(--ux-soft); font-size: .85rem; color: #3d5a60; }
.ux-progress b { color: var(--ux-ink); }
.ux-bar { height: 8px; margin-top: 10px; border-radius: 999px; background: #dbe7ea; overflow: hidden; }
.ux-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--amber, #fbbf2c)); transition: width .4s; }
.ux-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: 1px solid var(--ux-line); border-radius: 18px; overflow: hidden; background: #fff; }
.ux-trust li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; font-size: .84rem; color: var(--ux-muted); }
.ux-trust li + li { border-top: 1px solid var(--ux-line); }
.ux-trust .icon { color: var(--teal); flex: none; }
.ux-trust b { color: var(--ux-ink); }
.ux-mini { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; max-height: 300px; overflow: auto; }
.ux-mini li { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; font-size: .88rem; color: #3d5a60; }
.ux-mini img { width: 54px; height: 54px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--ux-line); padding: 4px; }
.ux-mini em { font-style: normal; color: var(--ux-muted); }
.ux-mini b { color: var(--ux-ink); white-space: nowrap; }

/* ---------- Panier ---------- */
.ux-lines { display: grid; gap: 14px; }
.ux-line { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 16px; }
/* Vignette produit : fond blanc bordé, produit centré avec une marge, jamais déformé */
.ux-line > a { display: block; position: relative; width: 112px; height: 112px; padding: 12px; border: 1px solid var(--ux-line); border-radius: 18px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.ux-line > a:hover { border-color: #cfe7e9; box-shadow: 0 6px 18px rgba(13, 85, 96, .1); }
.ux-line > a img { position: absolute; inset: 12px; display: block; width: calc(100% - 24px); height: calc(100% - 24px); min-width: 0; max-width: none; object-fit: contain; object-position: center; }
.ux-line h3 { margin: 0 0 4px; font-size: 1rem; line-height: 1.3; }
.ux-line h3 a { color: var(--ux-ink); }
.ux-line .meta { margin: 0 0 12px; color: var(--ux-muted); font-size: .85rem; }
.ux-line .total { display: grid; gap: 10px; justify-items: end; text-align: right; }
.ux-line .total strong { font-size: 1.2rem; color: var(--ux-ink); }
.ux-remove { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: #c2335f; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.ux-remove:hover { text-decoration: underline; }
.ux-qty { display: inline-flex; align-items: center; background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--ux-line); }
.ux-qty button { width: 38px; height: 42px; border: 0; background: none; color: var(--teal); font-size: 1.15rem; cursor: pointer; border-radius: 12px; }
.ux-qty button:hover { background: var(--teal-soft); }
.ux-qty input { width: 38px; height: 42px; border: 0; background: none; text-align: center; font: inherit; font-weight: 800; color: var(--ux-ink); -moz-appearance: textfield; }
.ux-qty input::-webkit-outer-spin-button, .ux-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ux-qty input:focus { outline: 0; }

/* ---------- États vides / succès ---------- */
.ux-empty { display: grid; justify-items: center; gap: 14px; padding: 64px 24px; text-align: center; }
.ux-empty .ic { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: linear-gradient(145deg, #e4f3f5, #f4fafb); color: var(--teal); }
.ux-empty h2 { margin: 0; color: var(--ux-ink); font-size: 1.5rem; }
.ux-empty p { margin: 0; max-width: 460px; color: var(--ux-muted); line-height: 1.6; }
.ux-success { display: grid; justify-items: center; gap: 14px; padding: 56px 28px 44px; text-align: center; }
.ux-check { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: #e4f7ec; color: #1f9d68; animation: ux-pop .5s ease-out; }
@keyframes ux-pop { 0% { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.ux-success h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ux-ink); }
.ux-ref { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 14px; background: var(--ux-soft); color: #3d5a60; }
.ux-ref b { color: var(--ux-ink); font-size: 1.05rem; letter-spacing: .03em; }
.ux-next { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 760px; text-align: left; }
.ux-next li { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--ux-line); border-radius: 18px; font-size: .86rem; color: var(--ux-muted); }
.ux-next b { color: var(--ux-ink); }
.ux-next .n { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 6px; border-radius: 50%; background: var(--amber, #fbbf2c); color: #3a2a00; font-weight: 800; }
.ux-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ---------- Formulaires ---------- */
.ux-form { padding: 30px; }
.ux-fieldset { margin: 0 0 30px; padding: 0; border: 0; }
.ux-fieldset:last-of-type { margin-bottom: 0; }
.ux-form .form-grid, .ux-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ux-fields.one { grid-template-columns: 1fr; }
.ux-fields .full { grid-column: 1 / -1; }
.ux-form label, .ux-fields label { display: grid; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--ux-ink); }
.ux-form input:not([type="checkbox"]):not([type="radio"]), .ux-form select, .ux-form textarea { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--ux-line); border-radius: 14px; background: #fff; font: inherit; font-size: .95rem; font-weight: 500; color: #1f3b40; transition: border-color .15s, box-shadow .15s; }
.ux-form textarea { height: auto; padding: 14px 16px; resize: vertical; min-height: 120px; line-height: 1.6; }
.ux-form input:focus, .ux-form select:focus, .ux-form textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13, 85, 96, .1); }
.ux-form input.invalid, .ux-form select.invalid, .ux-form textarea.invalid { border-color: #e0457b; box-shadow: 0 0 0 4px rgba(224, 69, 123, .08); }
.ux-form .err { color: #c2335f; font-weight: 600; font-size: .78rem; }
.ux-form .check-inline { display: flex; align-items: center; gap: 10px; font-weight: 500; color: #3d5a60; }
.ux-form .check-inline input { width: 18px; height: 18px; accent-color: var(--teal); }
.ux-form .check-inline a { color: var(--teal); text-decoration: underline; }
.ux-alert { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; border-left: 4px solid transparent; font-size: .88rem; font-weight: 600; line-height: 1.5; box-shadow: 0 4px 14px rgba(0, 0, 0, .05); }
.ux-alert .icon { flex: none; margin-top: 1px; }
.ux-alert a { font-weight: 700; text-decoration: underline; }
.ux-alert.ok { background: #e4f7ec; color: #157a45; border-left-color: #157a45; }
.ux-alert.err { background: #fdeaf1; color: #c2335f; border-left-color: #c2335f; }
.ux-pay { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 2px solid var(--teal); border-radius: 18px; background: #f4fafb; }
.ux-pay .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--teal); flex: none; }
.ux-pay b { display: block; color: var(--ux-ink); }
.ux-pay small { color: var(--ux-muted); }
.ux-pay .tick { margin-left: auto; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; }
.ux-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ux-line); }

/* ---------- Badges de statut ---------- */
.ux-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; background: #eef2f3; color: #4a6a70; font-size: .8rem; font-weight: 800; }
.ux-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ux-status.status-pending { background: #fff4d6; color: #a86b00; }
.ux-status.status-confirmed, .ux-status.status-shipped { background: #e3f0ff; color: #1f6fd1; }
.ux-status.status-delivered { background: #e4f7ec; color: #157a45; }
.ux-status.status-cancelled { background: #fdeaf1; color: #c2335f; }

/* ---------- Suivi de commande ---------- */
.ux-track-form { max-width: 820px; margin: 0 auto 28px; }
.ux-result { max-width: 820px; margin: 0 auto; padding: 28px; }
.ux-result header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.ux-result header b { display: block; font-size: 1.15rem; color: var(--ux-ink); }
.ux-result header small { color: var(--ux-muted); }
.ux-timeline { list-style: none; margin: 0 0 28px; padding: 0; display: flex; }
.ux-timeline li { position: relative; flex: 1; display: grid; justify-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--ux-muted); text-align: center; }
.ux-timeline li::before { content: ""; position: absolute; top: 19px; right: 50%; width: 100%; border-top: 3px solid var(--ux-line); }
.ux-timeline li:first-child::before { display: none; }
.ux-timeline .b { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--ux-line); color: var(--ux-muted); }
.ux-timeline li.done { color: var(--ux-ink); }
.ux-timeline li.done::before { border-top-color: var(--teal); }
.ux-timeline li.done .b { background: var(--teal); box-shadow: none; color: #fff; }
.ux-timeline li.now .b { background: var(--amber, #fbbf2c); color: #3a2a00; box-shadow: 0 0 0 6px #fff, 0 6px 16px rgba(251, 191, 44, .4); }
.ux-result footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--ux-line); color: var(--ux-muted); font-size: .9rem; }
.ux-result footer strong { color: var(--ux-ink); font-size: 1.15rem; }

/* ---------- Favoris ---------- */
.ux-bar-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.ux-count { margin: 0; color: var(--ux-muted); }
.ux-count b { color: var(--teal); font-size: 1.1rem; }

/* ---------- Contact ---------- */
.ux-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 30px; }
.ux-tile { display: flex; gap: 14px; align-items: flex-start; padding: 22px; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.ux-tile:hover { transform: translateY(-3px); border-color: #cfe7e9; box-shadow: 0 18px 40px rgba(13, 85, 96, .12); }
.ux-tile .ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 16px; background: linear-gradient(145deg, #e4f3f5, #f4fafb); color: var(--teal); }
.ux-tile.wa .ic { background: #e4f7ec; color: #157a45; }
.ux-tile span { display: grid; gap: 3px; min-width: 0; font-size: .86rem; color: var(--ux-muted); line-height: 1.45; }
.ux-tile b { color: var(--ux-ink); font-size: .95rem; }
.ux-contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ux-note { padding: 28px; background: linear-gradient(135deg, var(--deep, #0d5560), #12707b); color: #fff; border: 0; }
.ux-note h2 { margin: 0 0 10px; color: #fff; font-size: 1.3rem; }
.ux-note p { margin: 0 0 18px; color: rgba(255, 255, 255, .85); line-height: 1.65; }
.ux-note ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ux-note li { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: rgba(255, 255, 255, .82); }
.ux-note li b { display: block; color: #fff; }
.ux-note .dot { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- FAQ (habille le balisage existant) ---------- */
.ux.faq { display: grid; grid-template-columns: 260px minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.ux .faq-side, .ux .faq-main, .ux .faq-aside { background: #fff; border: 1px solid var(--ux-line); border-radius: var(--ux-r); box-shadow: 0 10px 30px rgba(13, 85, 96, .05); }
.ux .faq-side { position: sticky; top: 150px; padding: 22px 16px; }
.ux .faq-side h2 { margin: 0 0 14px; padding: 0 8px; font-family: inherit; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ux-muted); }
.ux .faq-side ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 4px; }
.ux .faq-side button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 0; border-radius: 12px; background: none; font: inherit; font-size: .9rem; font-weight: 700; color: var(--ux-ink); text-align: left; cursor: pointer; transition: background .15s; }
.ux .faq-side button .icon:last-child { margin-left: auto; opacity: .4; }
.ux .faq-side button:hover { background: var(--ux-soft); }
.ux .faq-side button.active { background: var(--teal); color: #fff; }
.ux .faq-side button.active .icon { color: #fff; opacity: 1; }
.ux .help-box { padding: 18px; border-radius: 18px; background: var(--ux-soft); }
.ux .help-box h3 { margin: 0 0 6px; font-family: inherit; font-size: 1rem; color: var(--ux-ink); }
.ux .help-box p { margin: 0 0 12px; font-size: .84rem; color: var(--ux-muted); line-height: 1.55; }
.ux .faq-main { padding: 30px; }
.ux .faq-main h2 { margin: 12px 0 8px; font-size: 1.5rem; color: var(--ux-ink); }
.ux .faq-main .lead { margin: 0 0 22px; color: var(--ux-muted); }
.ux .qa { margin: 0 0 10px; border: 1px solid var(--ux-line); border-radius: 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.ux .qa[open] { border-color: #cfe7e9; box-shadow: 0 8px 24px rgba(13, 85, 96, .07); }
.ux .qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; list-style: none; font-weight: 800; color: var(--ux-ink); cursor: pointer; }
.ux .qa summary::-webkit-details-marker { display: none; }
.ux .qa .pm { position: relative; width: 14px; height: 14px; flex: none; }
.ux .qa .pm::before, .ux .qa .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: var(--teal); transition: transform .2s; }
.ux .qa .pm::after { transform: rotate(90deg); }
.ux .qa[open] .pm::after { transform: rotate(0); }
.ux .qa p { margin: 0; padding: 0 20px 20px; color: #4a6a70; line-height: 1.75; }
.ux .faq-aside { padding: 26px; }
.ux .faq-aside h2 { margin: 0 0 8px; font-size: 1.15rem; color: var(--ux-ink); }
.ux .faq-aside p { color: var(--ux-muted); font-size: .88rem; line-height: 1.6; }
.ux .contact-list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 12px; }
.ux .contact-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ux-ink); font-weight: 600; }
.ux .contact-list .icon { color: var(--teal); }
.ux .aside-box { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--ux-soft); color: var(--teal); }
.ux .aside-box p { margin: 0; color: var(--ux-muted); font-size: .84rem; }
.ux .aside-box b { display: block; color: var(--ux-ink); }
.ux .faq-aside .script { margin: 16px 0 0; }

/* ---------- Connexion / inscription ---------- */
.ux-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); max-width: 980px; margin: 0 auto; overflow: hidden; }
.ux-auth-side { position: relative; display: grid; align-content: space-between; gap: 28px; padding: 40px 36px; background: linear-gradient(150deg, var(--deep, #0d5560), #14808b); color: #fff; overflow: hidden; }
.ux-auth-side::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.ux-auth-side h2 { margin: 0 0 10px; font-size: 1.6rem; color: #fff; line-height: 1.2; }
.ux-auth-side p { margin: 0; color: rgba(255, 255, 255, .85); line-height: 1.65; }
.ux-auth-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.ux-auth-side li { display: flex; align-items: center; gap: 12px; font-size: .92rem; font-weight: 600; }
.ux-auth-side li .dot { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 12px; background: rgba(255, 255, 255, .14); }
.ux-auth-form { padding: 40px 38px; }
.ux-auth-form h1 { margin: 0 0 6px; font-size: 1.6rem; color: var(--ux-ink); }
.ux-auth-form .sub { margin: 0 0 26px; color: var(--ux-muted); }
.ux-auth-form .ux-btn { width: 100%; margin-top: 8px; }
.ux-auth-form .alt { margin: 22px 0 0; text-align: center; color: var(--ux-muted); font-size: .9rem; }

/* ---------- Mon compte ---------- */
.ux-account { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: start; }
.ux-profile { padding: 26px; text-align: center; }
.ux-avatar { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(145deg, var(--teal), #14808b); color: #fff; font-size: 2rem; font-weight: 800; }
.ux-profile h2 { margin: 0; font-size: 1.15rem; color: var(--ux-ink); }
.ux-profile p { margin: 4px 0 18px; color: var(--ux-muted); font-size: .88rem; word-break: break-all; }
.ux-menu { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; text-align: left; }
.ux-menu a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 700; font-size: .92rem; color: var(--ux-ink); }
.ux-menu a:hover { background: var(--ux-soft); }
.ux-menu small { margin-left: auto; color: var(--ux-muted); font-weight: 600; }
.ux-orders { display: grid; gap: 18px; }
.ux-order { padding: 22px; }
.ux-order header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ux-order header b { display: block; color: var(--ux-ink); }
.ux-order header small { color: var(--ux-muted); }
.ux-order ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ux-order li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; font-size: .9rem; color: #3d5a60; }
.ux-order li img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--ux-line); padding: 4px; }
.ux-order li em { font-style: normal; color: var(--ux-muted); }
.ux-order li b { color: var(--ux-ink); white-space: nowrap; }
.ux-order footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--ux-line); color: var(--ux-muted); font-size: .86rem; }
.ux-order footer strong { color: var(--ux-ink); }
.ux-forms { display: grid; gap: 18px; margin-top: 22px; }
.ux-forms .ux-form { padding: 24px; }
.ux-forms h2 { margin: 0 0 16px; font-size: 1.05rem; color: var(--ux-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .ux-grid { grid-template-columns: 1fr; }
    .ux-aside { position: static; }
    .ux-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ux-contact { grid-template-columns: 1fr; }
    .ux.faq { grid-template-columns: 1fr; }
    .ux .faq-side { position: static; }
    .ux .faq-side ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ux-account { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .ux-line { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
    .ux-line > a { width: 88px; height: 88px; padding: 8px; }
    .ux-line > a img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
    .ux-line .total { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
    .ux-form { padding: 20px; }
    .ux-form .form-grid, .ux-fields { grid-template-columns: 1fr; }
    .ux-tiles { grid-template-columns: 1fr; }
    .ux-next { grid-template-columns: 1fr; }
    .ux-auth { grid-template-columns: 1fr; }
    .ux-auth-side { padding: 26px 24px; }
    .ux-auth-form { padding: 26px 22px; }
    .ux-steps li { font-size: .72rem; }
    .ux-timeline li { font-size: .72rem; }
    .ux .faq-side ul { grid-template-columns: 1fr; }
    .ux .faq-main { padding: 20px; }
    .ux-summary { padding: 20px; }
}

/* ===== Panier : un seul bloc en tableau (produit | quantité | total) ===== */
.ux-cart { padding: 28px 28px 8px; }
.ux-cart-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.ux-cart-top h2 { margin: 0; font-size: 1.4rem; color: var(--ux-ink); }
.ux-cart-top h2 span { margin-left: 8px; color: var(--ux-muted); font-size: .9rem; font-weight: 600; }
.ux-ship { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(120deg, #eef6f8, #f8fbfc); color: var(--teal); }
.ux-ship > div { flex: 1; min-width: 0; }
.ux-ship p { margin: 0; font-size: .9rem; color: #3d5a60; }
.ux-ship b { color: var(--ux-ink); }
.ux-ship .ux-bar { margin-top: 10px; }
.ux-ship.done { background: #e9f8ef; color: #1f9d68; }
.ux-ship.done .ux-bar i { background: #1f9d68; }
.ux-cart-cols { display: grid; grid-template-columns: 112px minmax(0, 1fr) 132px 120px; gap: 22px; padding: 18px 0 12px; border-bottom: 1px solid var(--ux-line); color: var(--ux-muted); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ux-cart-cols span:nth-child(1) { grid-column: 1 / 3; }
.ux-cart-cols span:nth-child(3) { text-align: right; }
.ux-rows-list { list-style: none; margin: 0; padding: 0; }
.ux-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 132px 120px; gap: 22px; align-items: center; padding: 22px 0; }
.ux-row + .ux-row { border-top: 1px solid var(--ux-line); }
.ux-thumb { position: relative; display: block; width: 112px; height: 112px; border: 1px solid var(--ux-line); border-radius: 20px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.ux-thumb:hover { border-color: #cfe7e9; box-shadow: 0 6px 18px rgba(13, 85, 96, .1); }
.ux-thumb img { position: absolute; inset: 10px; display: block; width: calc(100% - 20px); height: calc(100% - 20px); max-width: none; object-fit: contain; }
.ux-row-info { min-width: 0; display: grid; gap: 4px; justify-items: start; }
.ux-row-brand { color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ux-row-info h3 { margin: 0; font-size: 1.02rem; line-height: 1.3; }
.ux-row-info h3 a { color: var(--ux-ink); }
.ux-row-info h3 a:hover { color: var(--teal); }
.ux-row-info .unit { margin: 0 0 6px; color: var(--ux-muted); font-size: .86rem; }
.ux-row-total { text-align: right; font-size: 1.25rem; color: var(--ux-ink); white-space: nowrap; }
.ux-row-total small { font-size: .8rem; font-weight: 700; }
.ux-qty-form { justify-self: center; }
.ux-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; color: var(--ux-muted); font-size: .78rem; }
.ux-suggest { margin-top: 64px; }
.ux-suggest header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.ux-suggest h2 { margin: 0; font-size: 1.5rem; color: var(--ux-ink); }
.ux-suggest header a { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 700; font-size: .9rem; }

@media (max-width: 900px) {
    .ux-cart { padding: 20px 18px 4px; }
    .ux-cart-cols { display: none; }
    .ux-row { grid-template-columns: 88px minmax(0, 1fr); gap: 14px 16px; padding: 18px 0; }
    .ux-thumb { width: 88px; height: 88px; border-radius: 16px; }
    .ux-thumb img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
    .ux-qty-form { grid-column: 1; justify-self: start; }
    .ux-row-total { grid-column: 2; text-align: right; align-self: center; }
    .ux-row { grid-template-areas: "thumb info" "qty total"; }
    .ux-row .ux-thumb { grid-area: thumb; }
    .ux-row .ux-row-info { grid-area: info; }
    .ux-row .ux-qty-form { grid-area: qty; }
    .ux-row .ux-row-total { grid-area: total; }
    .ux-suggest { margin-top: 44px; }
}

/* ===== Panier v3 : articles en lignes (sans cartes) + panneau récapitulatif sombre, mise à jour dynamique ===== */
.cx { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 44px; align-items: start; }
.cx-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; padding-bottom: 18px; border-bottom: 2px solid var(--ux-ink, #0d5560); }
.cx-head h2 { margin: 0; font-size: 1.5rem; color: var(--ux-ink); }
.cx-head h2 span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: var(--amber-soft, #fde9a8); color: var(--ux-ink); font-size: .78rem; font-weight: 800; vertical-align: middle; }
.cx-items { list-style: none; margin: 0; padding: 0; }
.cx-item { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--ux-line); transition: opacity .25s, transform .25s; }
.cx-item.loading { opacity: .55; pointer-events: none; }
.cx-item.leaving { opacity: 0; transform: translateX(24px); }
/* Image du produit : seule, sans carte ni cadre */
.cx-thumb { position: relative; display: block; width: 120px; height: 120px; }
.cx-thumb img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; transition: transform .25s; }
.cx-thumb:hover img { transform: scale(1.06); }
.cx-body { min-width: 0; display: grid; gap: 4px; justify-items: start; }
.cx-brand { color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cx-body h3 { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.cx-body h3 a { color: var(--ux-ink); }
.cx-body h3 a:hover { color: var(--teal); }
.cx-unit { margin: 0 0 10px; color: var(--ux-ink); font-weight: 700; font-size: .92rem; }
.cx-unit span { color: var(--ux-muted); font-weight: 500; }
.cx-line-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cx-remove { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: 10px; background: none; color: var(--ux-muted); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.cx-remove:hover { background: #fdeaf1; color: #c2335f; }
.cx-price { text-align: right; align-self: stretch; display: grid; align-content: center; }
.cx-price strong { font-size: 1.5rem; color: var(--ux-ink); white-space: nowrap; letter-spacing: -.01em; }
.cx-price small { font-size: .85rem; font-weight: 700; }
.cx-perks { display: flex; gap: 10px 26px; flex-wrap: wrap; margin-top: 22px; color: var(--ux-muted); font-size: .84rem; font-weight: 600; }
.cx-perks span { display: inline-flex; align-items: center; gap: 8px; }
.cx-perks .icon { color: var(--teal); }

/* Panneau récapitulatif sombre */
.cx-summary { position: sticky; top: 150px; padding: 30px 28px 26px; border-radius: 28px; background: linear-gradient(155deg, var(--deep, #0d5560) 0%, #13808b 100%); color: #fff; box-shadow: 0 26px 60px rgba(13, 85, 96, .3); overflow: hidden; }
.cx-summary::after { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .06); pointer-events: none; }
.cx-summary > * { position: relative; z-index: 1; }
.cx-summary h2 { margin: 0 0 20px; font-size: 1.3rem; color: #fff; }
.cx-ship { margin-bottom: 22px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .1); }
.cx-ship p { margin: 0; font-size: .86rem; color: rgba(255, 255, 255, .88); }
.cx-ship b { color: #fff; }
.cx-bar { height: 8px; margin-top: 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.cx-bar i { display: block; height: 100%; border-radius: inherit; background: var(--amber, #fbbf2c); transition: width .45s ease; }
.cx-ship.done .cx-bar i { background: #4be38f; }
.cx-rows { margin: 0 0 22px; display: grid; gap: 14px; }
.cx-rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.cx-rows dt { color: rgba(255, 255, 255, .75); }
.cx-rows dd { margin: 0; font-weight: 700; color: #fff; }
.cx-rows .total { padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, .3); align-items: baseline; }
.cx-rows .total dt { color: #fff; font-weight: 800; font-size: 1.05rem; }
.cx-rows .total dd { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.cx-free { display: inline-flex; padding: 3px 12px; border-radius: 999px; background: #4be38f; color: #063b1d; font-size: .8rem; font-weight: 800; }
.cx-cta { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 16px; background: var(--amber, #fbbf2c); color: #3a2a00; font-weight: 800; font-size: 1.02rem; text-decoration: none; box-shadow: 0 12px 28px rgba(0, 0, 0, .22); transition: transform .15s, background .15s; }
.cx-cta:hover { transform: translateY(-2px); background: #ffc93e; }
.cx-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; color: rgba(255, 255, 255, .75); font-size: .78rem; }
.cx-help { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: .86rem; font-weight: 700; text-decoration: none; }
.cx-help:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1100px) {
    .cx { grid-template-columns: 1fr; gap: 28px; }
    .cx-summary { position: static; }
}
@media (max-width: 640px) {
    .cx-item { grid-template-columns: 88px minmax(0, 1fr); gap: 14px 16px; padding: 20px 0; }
    .cx-thumb { width: 88px; height: 88px; }
    .cx-price { grid-column: 1 / -1; text-align: right; }
    .cx-price strong { font-size: 1.3rem; }
    .cx-line-actions { gap: 10px; }
    .cx-summary { padding: 24px 20px 22px; }
}

/* ===== Panier v4 (cz-*) ===== */
.cz { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.cz-ship { padding: 18px 0 26px; }
.cz-ship p { margin: 0 0 14px; font-size: .95rem; color: var(--muted); }
.cz-ship p b { color: var(--deep); }
.cz-track { position: relative; height: 8px; border-radius: 99px; background: var(--ux-line, #e6ecee); margin-right: 14px; }
.cz-track i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, var(--teal), #5ec6b8); transition: width .5s ease; }
.cz-truck { position: absolute; top: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--teal); box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: left .5s ease; }
.cz-ship.done .cz-truck { background: var(--teal); color: #fff; }
.cz-thead, .cz-row { display: grid; grid-template-columns: minmax(0, 1fr) 100px 130px 110px 36px; gap: 16px; align-items: center; }
.cz-thead { padding: 12px 0; border-bottom: 2px solid var(--deep); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--deep); }
.cz-rows { list-style: none; margin: 0; padding: 0; }
.cz-row { padding: 22px 0; border-bottom: 1px solid var(--ux-line, #e6ecee); transition: opacity .25s, transform .25s; }
.cz-row.loading { opacity: .5; pointer-events: none; }
.cz-row.leaving { opacity: 0; transform: translateX(-16px); }
.cz-prod { display: flex; gap: 18px; align-items: center; min-width: 0; }
.cz-img { flex: none; width: 96px; height: 96px; display: grid; place-items: center; }
.cz-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cz-brand { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); }
.cz-prod h3 { margin: 2px 0 6px; font-size: 1rem; line-height: 1.35; }
.cz-prod h3 a { color: var(--deep); text-decoration: none; }
.cz-prod h3 a:hover { color: var(--teal); }
.cz-stock { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: #2e9e6b; font-weight: 700; }
.cz-stock i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cz-stock.backorder { color: #d9821b; }
.cz-unit { color: var(--muted); font-weight: 600; }
.cz-sum { font-weight: 800; color: var(--deep); font-size: 1.05rem; }
.cz-unit small, .cz-sum small { font-size: .72rem; font-weight: 700; }
.cz-del button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.cz-del button:hover { background: #fdecec; color: #d64545; }
.cz-foot { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.cz-clear { border: 0; background: none; color: var(--muted); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.cz-clear:hover { color: #d64545; }
.cz-assure { list-style: none; margin: 18px 0 0; padding: 22px 0 0; border-top: 1px solid var(--ux-line, #e6ecee); display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cz-assure li { display: flex; gap: 12px; align-items: flex-start; color: var(--teal); }
.cz-assure span { display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.cz-assure b { color: var(--deep); font-size: .88rem; }
.cz-assure a { color: var(--teal); font-weight: 700; }
.cz-aside { position: sticky; top: 130px; }
.cz-box { background: #f6fafa; border-radius: 18px; padding: 28px; }
.cz-box h2 { margin: 0 0 18px; font-size: 1.25rem; color: var(--deep); }
.cz-lines { margin: 0; }
.cz-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; color: var(--muted); font-size: .95rem; }
.cz-lines dd { margin: 0; font-weight: 700; color: var(--deep); white-space: nowrap; }
.cz-lines .total { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--ux-line, #dbe5e7); font-size: 1.1rem; color: var(--deep); font-weight: 800; }
.cz-lines .total dd { font-size: 1.5rem; }
.cz-lines .total small { font-size: .8rem; }
.cz-free { color: #2e9e6b; font-weight: 800; }
.cz-eta { display: flex; gap: 12px; align-items: center; margin: 14px 0 20px; padding: 14px 16px; border-radius: 12px; background: #fff; color: var(--teal); }
.cz-eta p { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.cz-eta b { color: var(--deep); text-transform: capitalize; }
.cz-cta { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 16px; border-radius: 14px; background: var(--amber); color: var(--deep); font-weight: 800; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.cz-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.14); }
.cz-pay { display: flex; justify-content: center; gap: 6px; align-items: center; margin: 14px 0 0; font-size: .78rem; color: var(--muted); }
.cz-bar { display: none; }
@media (max-width: 1100px) {
  .cz { grid-template-columns: 1fr; gap: 28px; }
  .cz-aside { position: static; }
  .cz-assure { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .cz-thead { display: none; }
  .cz-row { grid-template-columns: 1fr auto; gap: 12px; }
  .cz-prod { grid-column: 1 / -1; }
  .cz-unit { display: none; }
  .cz-del { grid-row: 2; grid-column: 2; justify-self: end; }
  .cz-qty { grid-row: 2; grid-column: 1; }
  .cz-sum { position: absolute; right: 0; }
  .cz-row { position: relative; }
  .cz-sum { top: 22px; }
  .cz-prod { padding-right: 90px; }
  .cz-img { width: 76px; height: 76px; }
  .cz-assure { grid-template-columns: 1fr; }
  .cz-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.1); }
  .cz-bar span { display: flex; flex-direction: column; color: var(--deep); }
  .cz-bar small { font-size: .7rem; color: var(--muted); }
  .cz-bar a { display: inline-flex; gap: 8px; align-items: center; padding: 13px 22px; border-radius: 12px; background: var(--amber); color: var(--deep); font-weight: 800; text-decoration: none; }
  #cz { padding-bottom: 90px; }
}
.ux-empty[hidden], #cz [hidden] { display: none !important; }
.cz-img { position: relative; overflow: hidden; }
.cz-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; max-width: none; max-height: none; }
/* Livraison offerte dans le récapitulatif */
.cz-box .cz-ship { padding: 14px 16px 18px; margin: 0 0 18px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--ux-line, #e6ecee); }
.cz-box .cz-ship p { margin: 0 0 14px; font-size: .84rem; line-height: 1.45; }
.cz-box .cz-ship.done { background: #eef9f3; box-shadow: inset 0 0 0 1px #bfe6d0; }
.cz-box .cz-track { margin: 0 14px 4px 0; height: 7px; }
/* Boutons du pied de tableau */
.cz-foot { gap: 12px; flex-wrap: wrap; }
.cz-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 0; border-radius: 99px; background: #fff; color: var(--teal); font: inherit; font-size: .9rem; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--teal); transition: background .15s, color .15s, box-shadow .15s; }
.cz-btn:hover { background: var(--teal); color: #fff; }
.cz-btn .flip { transform: scaleX(-1); }
.cz-btn.danger { color: #d64545; box-shadow: inset 0 0 0 1.5px #f1c4c4; }
.cz-btn.danger:hover { background: #d64545; color: #fff; box-shadow: inset 0 0 0 1.5px #d64545; }
/* Atouts dans le bandeau du panier */
.cz-perks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 36px; }
.cz-perks li { display: flex; gap: 12px; align-items: flex-start; color: var(--teal); }
.cz-perks span { display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.cz-perks b { color: var(--deep); font-size: .88rem; }
.cz-perks a { color: var(--teal); font-weight: 700; }
@media (max-width: 560px) { .cz-perks { grid-template-columns: 1fr; } }
.page-hero .trust { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: none; padding-block: 16px; }
.page-hero .trust li:not(:last-child) { border-color: rgba(42, 35, 20, .1); }
/* grand écran : réassurance intégrée à l'image, à gauche, sans bandeau (comme l'accueil) */
@media (min-width: 1300px) {
    .page-hero .trust { width: 46vw; max-width: none; margin: 0 0 0 calc((100% - min(1440px, 100% - max(32px, 10.6vw))) / 2); padding: 0 0 26px 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; gap: 0; }
    .page-hero .trust li { padding-inline: 16px; font-size: .74rem; }
    .page-hero .trust li:first-child { padding-left: 0; }
    .page-hero .trust .icon { width: 42px; height: 42px; min-width: 42px; padding: 10px; }
}
/* Livraison estimée + progression livraison offerte dans un seul bloc */
.cz-eta { display: block; padding: 16px; }
.cz-eta-top { display: flex; gap: 12px; align-items: center; }
.cz-eta .cz-ship, .cz-box .cz-eta .cz-ship { margin: 14px 0 0; padding: 14px 0 0; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--ux-line, #e6ecee); }
.cz-eta .cz-ship.done { background: none; box-shadow: none; }
.cz-eta .cz-ship.done p { color: #2e9e6b; }
/* Fenêtre de confirmation */
.cz-eta .cz-eta-top b { text-transform: capitalize; }
.cz-eta .cz-ship b { text-transform: none; }
body.cz-modal-open { overflow: hidden; }
.cz-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(10, 40, 45, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: cz-fade .18s ease; }
.cz-modal[hidden] { display: none; }
.cz-modal-box { width: min(420px, 100%); padding: 32px 28px 26px; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.28); animation: cz-pop .2s ease; }
.cz-modal-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fdecec; color: #d64545; }
.cz-modal-box h2 { margin: 16px 0 8px; font-size: 1.25rem; color: var(--deep); }
.cz-modal-box p { margin: 0 0 24px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.cz-modal-actions { display: flex; gap: 12px; justify-content: center; }
.cz-modal-actions .cz-btn { flex: 1; justify-content: center; }
.cz-btn.solid-danger { background: #d64545; color: #fff; box-shadow: none; }
.cz-btn.solid-danger:hover { background: #b93434; }
@keyframes cz-fade { from { opacity: 0; } }
@keyframes cz-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
/* Fenêtre de confirmation v2 */
.cz-modal { background: rgba(8, 36, 41, .55); }
.cz-modal-box { position: relative; width: min(400px, 100%); padding: 36px 32px 28px; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(8, 36, 41, .35); }
.cz-modal-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f3f6f7; color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: background .15s, color .15s; }
.cz-modal-x:hover { background: #e6ecee; color: var(--deep); }
.cz-modal-ic { width: 72px; height: 72px; background: #fdecec; color: #d64545; box-shadow: 0 0 0 9px #fef5f5, 0 0 0 10px #fbdede; }
.cz-modal-box h2 { margin: 26px 0 8px; font-size: 1.35rem; }
.cz-modal-box p { margin: 0 0 26px; }
.cz-modal-actions { flex-direction: column; gap: 6px; }
.cz-modal-ok { width: 100%; padding: 14px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #e25555, #c93a3a); color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px rgba(214, 69, 69, .3); transition: transform .15s, box-shadow .15s; }
.cz-modal-ok:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(214, 69, 69, .4); }
.cz-modal-cancel { width: 100%; padding: 12px; border: 0; background: none; color: var(--teal); font: inherit; font-weight: 700; cursor: pointer; border-radius: 12px; }
.cz-modal-cancel:hover { background: var(--teal-soft, #eaf5f5); }

/* ===== Commande confirmée (os-*) ===== */
.os { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; padding-top: 8px; }
.os-check { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #e6f6ee; color: #1f9d63; box-shadow: 0 0 0 10px #f2fbf6, 0 0 0 11px #d3efe0; animation: os-pop .5s ease; }
@keyframes os-pop { from { transform: scale(.6); opacity: 0; } }
.os-kicker { margin: 30px 0 6px; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #1f9d63; }
.os-main h1 { margin: 0 0 12px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; color: var(--deep); }
.os-lead { margin: 0; max-width: 560px; color: var(--muted); line-height: 1.6; }
.os-timeline { list-style: none; margin: 36px 0 0; padding: 0; position: relative; }
.os-timeline li { position: relative; display: flex; gap: 18px; padding-bottom: 26px; }
.os-timeline li:last-child { padding-bottom: 0; }
.os-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--ux-line, #e3eaec); }
.os-timeline li.done:not(:last-child)::before { background: #1f9d63; }
.os-timeline .b { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--ux-line, #dbe5e7); color: var(--muted); font-weight: 800; font-size: .85rem; }
.os-timeline .done .b { background: #1f9d63; box-shadow: none; color: #fff; }
.os-timeline .now .b { background: var(--amber); box-shadow: 0 0 0 5px rgba(251, 191, 36, .25); color: var(--deep); }
.os-timeline b { display: block; color: var(--deep); margin-top: 4px; }
.os-timeline small { display: block; margin-top: 2px; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.os-timeline li:not(.done):not(.now) b { color: var(--muted); }
.os-help { display: flex; gap: 14px; align-items: center; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--ux-line, #e3eaec); color: var(--teal); }
.os-help p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.os-help a { color: var(--teal); font-weight: 700; text-decoration: none; }
.os-help a:hover { text-decoration: underline; }
.os-aside { position: sticky; top: 130px; }
.os-box { padding: 30px; border-radius: 22px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, #1b7c80 0%, transparent 60%), linear-gradient(160deg, #0f5a5f, #0a3f43); box-shadow: 0 24px 50px rgba(10, 63, 67, .25); }
.os-label { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.os-ref { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 22px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.os-ref b { font-size: 1.15rem; letter-spacing: .04em; }
.os-ref button { border: 0; border-radius: 99px; padding: 6px 14px; background: rgba(255, 255, 255, .18); color: #fff; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; transition: background .15s; }
.os-ref button:hover { background: rgba(255, 255, 255, .3); }
.os-box dl { margin: 0 0 24px; }
.os-box dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; }
.os-box dt { opacity: .75; }
.os-box dd { margin: 0; font-weight: 800; font-size: 1.35rem; text-align: right; }
.os-box dd small { font-size: .75rem; }
.os-box dd.s { font-size: .9rem; font-weight: 700; text-transform: none; }
.os-cta { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 15px; border-radius: 14px; background: var(--amber); color: var(--deep); font-weight: 800; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.os-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0, 0, 0, .22); }
.os-link { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; color: #fff; opacity: .85; font-weight: 700; font-size: .9rem; text-decoration: none; }
.os-link:hover { opacity: 1; }
@media (max-width: 960px) {
  .os { grid-template-columns: 1fr; gap: 32px; }
  .os-aside { position: static; }
}

/* ===== Pages connexion / inscription plein écran (sans header ni footer) ===== */
.auth-body { min-height: 100vh; background: radial-gradient(900px 500px at 85% -10%, #e3f3f3 0%, transparent 60%), radial-gradient(700px 420px at -5% 105%, #fdf1d3 0%, transparent 60%), #f7fafb; }
.auth-page { min-height: 100vh; display: flex; flex-direction: column; padding: 0 16px 40px; }
.auth-top { width: min(980px, 100%); margin: 0 auto; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth-top-sp { width: 96px; }
.auth-back { display: inline-flex; align-items: center; gap: 8px; width: 96px; padding: 9px 16px; border-radius: 99px; background: #fff; color: var(--teal); font-weight: 800; font-size: .9rem; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--teal); transition: background .15s, color .15s; }
.auth-back:hover { background: var(--teal); color: #fff; }
.auth-back .flip { transform: scaleX(-1); }
.auth-wrap { width: 100%; margin: auto; display: flex; align-items: center; }
.auth-wrap .ux-auth { width: 100%; box-shadow: 0 24px 60px rgba(10, 63, 67, .12); }
@media (max-width: 560px) { .auth-top-sp { display: none; } .auth-top { justify-content: space-between; } }

/* ===== Connexion / inscription v2 (au-*) : palette Toto Baby ===== */
.au-body { margin: 0; background: #fff; }
.au { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }
.au-side { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px 56px; color: #fff; overflow: hidden;
    background: linear-gradient(160deg, rgba(11, 79, 83, .92) 0%, rgba(15, 100, 105, .78) 55%, rgba(51, 165, 168, .55) 100%), var(--au-img) center / cover no-repeat, var(--teal); }
.au-side::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 320px; height: 320px; border-radius: 50%; background: rgba(251, 207, 51, .22); pointer-events: none; }
.au-side > * { position: relative; z-index: 1; }
.au-side-copy h2 { margin: 0 0 14px; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.12; color: #fff; }
.au-side-copy h2 .script { color: var(--yellow); font-size: 1.15em; font-weight: 600; }
.au-side-copy p { margin: 0 0 28px; max-width: 440px; color: rgba(255, 255, 255, .9); line-height: 1.65; }
.au-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.au-perks li { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.au-perks .dot { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: #fff; color: var(--teal); box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.au-note { margin: 0; font-size: 1.6rem; color: var(--yellow-light); transform: rotate(-3deg); transform-origin: left; }
.au-main { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 88px 32px 32px; background: linear-gradient(180deg, #fff 0%, #fffbee 100%); }
.au-back { position: absolute; top: 28px; left: 32px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 99px; background: #fff; color: var(--teal); font-weight: 800; font-size: .9rem; box-shadow: inset 0 0 0 1.5px var(--line), 0 2px 8px rgba(42, 35, 20, .06); transition: background .15s, color .15s, box-shadow .15s; }
.au-back:hover { background: var(--teal); color: #fff; box-shadow: none; }
.au-back .flip { transform: scaleX(-1); }
.au-box { width: min(420px, 100%); margin: auto 0; }
.au-form h1 { margin: 0 0 8px; font-size: 2rem; line-height: 1.15; color: var(--teal); }
.au-kicker { margin: 0 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--logo-teal); }
.au-form .sub { margin: 0 0 28px; color: var(--muted); }
.au-form .ux-fields { gap: 18px; }
.au-form label { color: var(--teal); }
.au-form input:not([type="checkbox"]) { height: 54px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; }
.au-form input:not([type="checkbox"]):focus { border-color: var(--logo-teal); box-shadow: 0 0 0 4px rgba(51, 165, 168, .15); }
.au-form .check-inline { color: var(--muted); }
.au-btn { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; margin-top: 24px; padding: 16px; border: 0; border-radius: 99px; background: var(--yellow); color: var(--teal-dark); font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; box-shadow: 0 10px 24px rgba(251, 207, 51, .45); transition: transform .15s, box-shadow .15s, background .15s; }
.au-btn:hover { background: var(--yellow-2); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(251, 207, 51, .55); }
.au-form .alt { margin: 24px 0 0; text-align: center; color: var(--muted); font-size: .92rem; }
.au-form .alt a { color: var(--teal); font-weight: 800; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.au-legal { margin: 24px 0 0; font-size: .78rem; color: var(--muted); text-align: center; }
@media (max-width: 960px) {
  .au { grid-template-columns: 1fr; }
  .au-side { padding: 28px 24px 32px; gap: 18px; }
  .au-side-copy p { margin-bottom: 18px; }
  .au-perks, .au-note { display: none; }
  .au-main { padding: 80px 20px 28px; }
  .au-back { top: 20px; left: 20px; }
}
/* Logo transparent + masque du texte incrusté dans la photo */
.au-logo { align-self: flex-start; display: inline-block; }
.au-logo img { display: block; width: 190px; height: auto; filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 10px rgba(255, 255, 255, .55)); }
.au-side { background: linear-gradient(90deg, rgba(11, 79, 83, .55) 0%, rgba(15, 100, 105, .88) 55%, rgba(15, 100, 105, .97) 100%), var(--au-img) left center / cover no-repeat, var(--teal); }
/* Œil mot de passe */
.au-pw { position: relative; display: block; }
.au-pw input { padding-right: 52px !important; }
.au-eye { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.au-eye:hover { background: var(--teal-soft); color: var(--teal); }
/* Nom de l'utilisateur connecté dans l'en-tête */
.header-actions .user-link { display: inline-flex; align-items: center; gap: 8px; }
.user-name { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .88rem; font-weight: 800; color: var(--teal); }
@media (max-width: 1100px) { .user-name { max-width: 110px; } }
@media (max-width: 640px) { .user-name { display: none; } }
/* En-tête : icônes alignées + menu du compte */
.header-actions > a, .header-actions .user-link { display: inline-flex; align-items: center; justify-content: center; height: 40px; }
.header-actions > a svg, .header-actions .user-link svg { display: block; }
.header-actions { gap: 20px; }
.user-menu { position: relative; }
.user-menu .user-link { gap: 8px; padding: 0 12px 0 6px; border: 0; border-radius: 99px; background: none; color: var(--teal); font: inherit; cursor: pointer; transition: background .15s; }
.user-menu .user-link:hover, .user-menu.open .user-link { background: var(--teal-soft); }
.user-menu .chev { transition: transform .2s; }
.user-menu.open .chev { transform: rotate(180deg); }
.user-drop { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: 250px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(10, 63, 67, .2), 0 0 0 1px var(--line); animation: cz-pop .16s ease; }
.user-drop[hidden] { display: none; }
.user-drop-head { display: grid; gap: 2px; padding: 12px 12px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.user-drop-head b { color: var(--teal); font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-drop-head small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-drop a, .user-drop button.out { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; text-align: left; cursor: pointer; }
.user-drop a:hover { background: var(--teal-soft); color: var(--teal); }
.user-drop form { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line); }
.user-drop button.out { color: #d64545; }
.user-drop button.out:hover { background: #fdecec; }
@media (max-width: 640px) { .user-menu .chev { display: none; } .user-menu .user-link { padding: 0 6px; } }

/* ===== Mon compte v2 (ac-*) ===== */
html { scroll-padding-top: 140px; }
.ac { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 48px; align-items: start; }
.ac-side { position: sticky; top: 130px; }
.ac-profile { padding: 32px 26px 24px; border-radius: 22px; color: #fff; text-align: center; background: radial-gradient(120% 90% at 100% 0%, #1b7c80 0%, transparent 60%), linear-gradient(160deg, #0f5a5f, #0a3f43); box-shadow: 0 24px 50px rgba(10, 63, 67, .22); }
.ac-avatar { display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--yellow); color: var(--teal-dark); font-size: 2.4rem; font-weight: 800; box-shadow: 0 0 0 6px rgba(255, 255, 255, .14); }
.ac-profile h2 { margin: 18px 0 2px; font-size: 1.3rem; color: #fff; overflow-wrap: anywhere; }
.ac-profile .mail { margin: 0; font-size: .88rem; opacity: .85; overflow-wrap: anywhere; }
.ac-profile .since { margin: 10px 0 0; display: inline-block; padding: 4px 14px; border-radius: 99px; background: rgba(255, 255, 255, .12); font-size: .76rem; font-weight: 700; }
.ac-nav { display: grid; gap: 2px; margin: 24px 0 14px; text-align: left; }
.ac-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: #fff; font-weight: 700; font-size: .92rem; transition: background .15s; }
.ac-nav a:hover { background: rgba(255, 255, 255, .13); }
.ac-nav small { margin-left: auto; min-width: 24px; padding: 1px 8px; border-radius: 99px; background: var(--yellow); color: var(--teal-dark); font-weight: 800; font-size: .72rem; text-align: center; }
.ac-logout { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; padding: 12px; border: 0; border-top: 1px solid rgba(255, 255, 255, .16); border-radius: 0 0 12px 12px; background: none; color: #ffd0d0; font: inherit; font-weight: 700; cursor: pointer; margin-top: 4px; }
.ac-logout:hover { color: #fff; }
.ac-stats { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ac-stats li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: #f6fafa; }
.ac-stats .ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: #fff; color: var(--teal); box-shadow: var(--shadow); }
.ac-stats b { display: block; font-size: 1.5rem; line-height: 1.1; color: var(--teal); }
.ac-stats b i { font-style: normal; font-size: .75rem; }
.ac-stats small { color: var(--muted); font-weight: 600; font-size: .82rem; }
.ac-sec { margin-bottom: 44px; }
.ac-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--teal); }
.ac-head h2 { margin: 0; font-size: 1.35rem; color: var(--teal); }
.ac-head a { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 800; font-size: .88rem; }
.ac-head a:hover { text-decoration: underline; }
.ac-order { padding: 22px 0; border-bottom: 1px solid var(--line); }
.ac-order > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ac-order > header b { display: block; color: var(--teal); font-size: 1.05rem; letter-spacing: .02em; }
.ac-order > header small { color: var(--muted); }
.ac-order ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ac-order li { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; }
.ac-order .th { display: grid; place-items: center; width: 64px; height: 64px; }
.ac-order .th img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ac-order .nm a { display: block; font-weight: 700; color: var(--ink); line-height: 1.35; }
.ac-order .nm a:hover { color: var(--teal); }
.ac-order .nm em { font-style: normal; font-size: .84rem; color: var(--muted); }
.ac-order li > b { color: var(--teal); white-space: nowrap; }
.ac-order li > b small { font-size: .72rem; }
.ac-order footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #f6fafa; font-size: .88rem; color: var(--muted); }
.ac-order footer span { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); }
.ac-order footer span { color: var(--muted); }
.ac-order footer strong { color: var(--teal); }
.ac-order footer strong b { font-size: 1.2rem; }
.ac-empty { padding: 44px 16px; text-align: center; border-radius: 18px; background: #f6fafa; }
.ac-empty .ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--teal); box-shadow: var(--shadow); }
.ac-empty h3 { margin: 18px 0 6px; color: var(--teal); }
.ac-empty p { margin: 0 0 20px; color: var(--muted); }
.ac-forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.ac-form .ux-fields { gap: 16px; }
.ac-form label { color: var(--teal); }
.ac-form input:not([type="checkbox"]) { height: 50px; border: 1.5px solid var(--line); border-radius: 14px; }
.ac-form input:not([type="checkbox"]):focus { border-color: var(--logo-teal); box-shadow: 0 0 0 4px rgba(51, 165, 168, .15); }
.ac-btn { margin-top: 22px; padding: 14px 32px; border: 0; border-radius: 99px; background: var(--yellow); color: var(--teal-dark); font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px rgba(251, 207, 51, .4); transition: transform .15s, box-shadow .15s, background .15s; }
.ac-btn:hover { background: var(--yellow-2); transform: translateY(-1px); box-shadow: 0 12px 24px rgba(251, 207, 51, .5); }
@media (max-width: 1100px) { .ac-forms { grid-template-columns: 1fr; } }
@media (max-width: 960px) {
  .ac { grid-template-columns: 1fr; gap: 32px; }
  .ac-side { position: static; }
}
@media (max-width: 640px) {
  .ac-stats { grid-template-columns: 1fr; gap: 12px; }
  .ac-order li { grid-template-columns: 52px 1fr; }
  .ac-order li > b { grid-column: 2; }
  .ac-order .th { width: 52px; height: 52px; }
}
/* ===== Mon compte v3 : simple, à plat ===== */
.ac2 { max-width: 1000px; margin: 0 auto; }
.ac2-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 22px; }
.ac2-who { display: flex; align-items: center; gap: 16px; min-width: 0; }
.ac2-avatar { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--yellow); color: var(--teal-dark); font-size: 1.4rem; font-weight: 800; }
.ac2-who b { display: block; font-size: 1.15rem; color: var(--teal); overflow-wrap: anywhere; }
.ac2-who small { color: var(--muted); overflow-wrap: anywhere; }
.ac2-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 0; margin-bottom: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ac2-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 99px; color: var(--teal); font-weight: 700; font-size: .9rem; transition: background .15s, color .15s; }
.ac2-tabs a:hover { background: var(--teal); color: #fff; }
.ac2-tabs small { padding: 1px 8px; border-radius: 99px; background: var(--yellow); color: var(--teal-dark); font-weight: 800; font-size: .72rem; }
.ac2 .ac-main { min-width: 0; }
.ac2 .ac-order .th { position: relative; overflow: hidden; }
.ac2 .ac-order .th img, .ac-order .th img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.ac2 .ac-order footer span svg { flex: none; }

/* ===== Mon compte v4 (ad-*) : menu latéral + onglets + commandes dépliables ===== */
.ad { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 56px; align-items: start; }
.ad-side { position: sticky; top: 130px; padding: 24px 18px 18px; border-radius: 20px; background: #f6fafa; }
.ad-me { display: flex; align-items: center; gap: 14px; padding: 0 8px 20px; margin-bottom: 14px; border-bottom: 1px solid var(--line); min-width: 0; }
.ad-avatar { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--yellow); color: var(--teal-dark); font-size: 1.35rem; font-weight: 800; }
.ad-me > div { min-width: 0; }
.ad-me b { display: block; color: var(--teal); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-me small { display: block; color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-nav { display: grid; gap: 2px; }
.ad-nav a, .ad-nav button { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: none; color: var(--ink); font: inherit; font-weight: 700; font-size: .92rem; text-align: left; cursor: pointer; transition: background .15s, color .15s; }
.ad-nav svg { color: var(--teal); flex: none; }
.ad-nav a:hover, .ad-nav button:hover { background: #fff; color: var(--teal); }
.ad-nav button.on { background: #fff; color: var(--teal); box-shadow: 0 2px 10px rgba(42, 35, 20, .07); }
.ad-nav button.on::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--yellow); }
.ad-nav small { margin-left: auto; min-width: 24px; padding: 1px 8px; border-radius: 99px; background: var(--yellow); color: var(--teal-dark); font-weight: 800; font-size: .72rem; text-align: center; }
.ad-logout { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; margin-top: 14px; padding: 12px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; color: #d64545; font: inherit; font-weight: 700; cursor: pointer; }
.ad-logout:hover { color: #b93434; }
.ad-content { min-width: 0; }
.ad-panel[hidden] { display: none; }
.ad-title { margin-bottom: 26px; }
.ad-title h2 { margin: 0 0 4px; font-size: 1.6rem; color: var(--teal); }
.ad-title p { margin: 0; color: var(--muted); }
.ad-thead, .ad-order summary { display: grid; grid-template-columns: minmax(0, 1.5fr) 1fr 1fr 1fr 24px; gap: 16px; align-items: center; }
.ad-thead { padding: 12px 16px; border-bottom: 2px solid var(--teal); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); }
.ad-order { border-bottom: 1px solid var(--line); }
.ad-order summary { list-style: none; padding: 20px 16px; cursor: pointer; transition: background .15s; }
.ad-order summary::-webkit-details-marker { display: none; }
.ad-order summary:hover { background: #fafcfc; }
.ad-order .ref { color: var(--teal); letter-spacing: .02em; }
.ad-order .date { color: var(--muted); }
.ad-order .tot { font-weight: 800; color: var(--teal); }
.ad-order .tot small { font-size: .72rem; }
.ad-order .ux-status { justify-self: start; }
.ad-order .chev { color: var(--muted); transition: transform .2s; }
.ad-order[open] .chev { transform: rotate(180deg); }
.ad-order[open] summary { background: #f6fafa; }
.ad-detail { padding: 8px 16px 24px; background: #f6fafa; }
.ad-detail ul { list-style: none; margin: 0; padding: 0; }
.ad-detail li { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid #e3eeee; }
.ad-detail .th { position: relative; display: block; width: 64px; height: 64px; overflow: hidden; }
.ad-detail .th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; max-width: none; }
.ad-detail .nm a { display: block; font-weight: 700; color: var(--ink); line-height: 1.35; }
.ad-detail .nm a:hover { color: var(--teal); }
.ad-detail .nm em { font-style: normal; font-size: .84rem; color: var(--muted); }
.ad-detail li > b { color: var(--teal); white-space: nowrap; }
.ad-detail li > b small { font-size: .72rem; }
.ad-detail .addr { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: .88rem; color: var(--muted); }
.ad-detail .addr svg { color: var(--teal); flex: none; }
.ad-empty { padding: 48px 16px; text-align: center; border-radius: 18px; background: #f6fafa; }
.ad-empty .ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--teal); box-shadow: var(--shadow); }
.ad-empty h3 { margin: 18px 0 6px; color: var(--teal); }
.ad-empty p { margin: 0 0 20px; color: var(--muted); }
.ad-form { max-width: 620px; }
.ad-form .ux-fields { gap: 18px; }
.ad-form label { color: var(--teal); }
.ad-form input:not([type="checkbox"]) { height: 52px; border: 1.5px solid var(--line); border-radius: 14px; }
.ad-form input:not([type="checkbox"]):focus { border-color: var(--logo-teal); box-shadow: 0 0 0 4px rgba(51, 165, 168, .15); }
@media (max-width: 960px) {
  .ad { grid-template-columns: 1fr; gap: 28px; }
  .ad-side { position: static; }
  .ad-nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ad-thead { display: none; }
  .ad-order summary { grid-template-columns: 1fr auto 24px; gap: 8px 12px; }
  .ad-order .date { grid-column: 1; grid-row: 2; }
  .ad-order .ux-status { grid-column: 2; grid-row: 1; }
  .ad-order .tot { grid-column: 2; grid-row: 2; }
  .ad-order .chev { grid-column: 3; grid-row: 1 / 3; }
  .ad-nav { grid-template-columns: 1fr; }
}
/* Favoris + suivi dans la page compte */
.ad-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1200px) { .ad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ad-grid { grid-template-columns: 1fr; } }
.ad-track { padding: 22px 0; border-bottom: 1px solid var(--line); }
.ad-track > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ad-track > header b { display: block; color: var(--teal); font-size: 1.05rem; }
.ad-track > header small { color: var(--muted); }
.ad-logout svg { flex: none; }
/* Suivi : infos de la commande + frise verticale */
.ad-track { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.ad-track-info h3 { margin: 12px 0 2px; font-size: 1.2rem; color: var(--teal); letter-spacing: .02em; }
.ad-track-info p { margin: 0; color: var(--muted); font-size: .9rem; }
.ad-track-info .thumbs { list-style: none; margin: 18px 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ad-track-info .thumbs li { position: relative; width: 52px; height: 52px; overflow: hidden; border-radius: 12px; background: #f6fafa; }
.ad-track-info .thumbs img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; max-width: none; }
.ad-track-info .sum b { color: var(--teal); font-size: 1.15rem; }
.ad-track .os-timeline { margin: 0; }
@media (max-width: 760px) { .ad-track { grid-template-columns: 1fr; gap: 22px; } }
/* Commande confirmée : récapitulatif simple (même style que le panier) */
.os-box { padding: 28px; border-radius: 18px; color: var(--ink); background: #f6fafa; box-shadow: none; }
.os-label { opacity: 1; color: var(--muted); }
.os-ref { margin: 8px 0 18px; padding: 12px 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.os-ref b { color: var(--teal); font-size: 1.05rem; }
.os-ref button { background: var(--teal-soft); color: var(--teal); }
.os-ref button:hover { background: var(--teal); color: #fff; }
.os-box dl > div { border-top: 1px solid var(--line); color: var(--muted); }
.os-box dt { opacity: 1; }
.os-box dd { font-size: 1rem; color: var(--teal); }
.os-box dd small { font-size: .72rem; }
.os-box dd.s { font-size: .9rem; }
.os-box dl > div:first-child dd { font-size: 1.4rem; }
.os-link { color: var(--teal); opacity: 1; }
.os-link:hover { text-decoration: underline; }

/* Suivi v3 : stepper horizontal à icônes */
.tk { padding: 28px 0; border-bottom: 1px solid var(--line); }
.tk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.tk-head h3 { margin: 0 0 2px; font-size: 1.2rem; color: var(--teal); letter-spacing: .02em; }
.tk-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.tk-head p b { color: var(--teal); }
.tk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.tk-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.tk-steps li:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: calc(50% + 32px); right: calc(-50% + 32px); height: 3px; border-radius: 3px; background: var(--line); }
.tk-steps li.done:not(:last-child)::after { background: var(--teal); }
.tk-steps li.now:not(:last-child)::after { background: linear-gradient(90deg, var(--yellow), var(--line)); }
.tk-steps .dot { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--muted); box-shadow: inset 0 0 0 2px var(--line); }
.tk-steps .done .dot { background: var(--teal); color: #fff; box-shadow: none; }
.tk-steps .now .dot { background: var(--yellow); color: var(--teal-dark); box-shadow: 0 0 0 6px rgba(251, 207, 51, .28); }
.tk-steps b { font-size: .9rem; color: var(--muted); }
.tk-steps .done b, .tk-steps .now b { color: var(--teal); }
.tk-hint { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; padding: 14px 18px; border-radius: 12px; background: #f6fafa; color: var(--teal); font-weight: 600; font-size: .92rem; }
.tk-hint svg { flex: none; }
.tk-foot { margin-top: 18px; }
.tk-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.tk-foot li { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--ink); min-width: 0; }
.tk-foot li a { position: relative; display: block; width: 44px; height: 44px; flex: none; overflow: hidden; border-radius: 10px; background: #f6fafa; }
.tk-foot img { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: contain; max-width: none; }
.tk-foot em { font-style: normal; color: var(--muted); }
@media (max-width: 560px) {
  .tk-steps .dot { width: 40px; height: 40px; }
  .tk-steps li:not(:last-child)::after { top: 19px; left: calc(50% + 26px); right: calc(-50% + 26px); }
  .tk-steps b { font-size: .78rem; }
}
/* Filtre du suivi */
.tk[hidden] { display: none; }
.tk-filter { display: grid; gap: 8px; max-width: 460px; margin-bottom: 8px; font-size: .82rem; font-weight: 800; color: var(--teal); }
.tk-filter select { width: 100%; height: 52px; padding: 0 44px 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230f6469' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink); cursor: pointer; -webkit-appearance: none; appearance: none; }
.tk-filter select:focus { outline: 0; border-color: var(--logo-teal); box-shadow: 0 0 0 4px rgba(51, 165, 168, .15); }

/* ===== Suivi v4 : fiche commande + badges de statut modernisés ===== */
.ad-title-row { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.ad-title-row .tk-filter { display: block; margin: 0; width: min(380px, 100%); max-width: none; }
.ad-title-row .tk-filter select { height: 48px; }

.tk { margin-bottom: 24px; padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 30px rgba(42, 35, 20, .05); }
.tk-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 0; padding: 20px 26px; background: linear-gradient(135deg, #f1f8f8, #f9fcfc); border-bottom: 1px solid var(--line); }
.tk-ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--teal); color: #fff; }
.tk-ref small { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tk-ref h3 { margin: 0; font-size: 1.2rem; color: var(--teal); letter-spacing: .02em; }
.tk-info { display: flex; gap: 8px 32px; flex-wrap: wrap; margin: 0 auto 0 16px; }
.tk-info > div { display: grid; gap: 2px; }
.tk-info dt { font-size: .72rem; font-weight: 700; color: var(--muted); }
.tk-info dd { margin: 0; font-weight: 800; color: var(--ink); font-size: .92rem; }
.tk-body { padding: 34px 26px 26px; }
.tk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.tk-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.tk-steps li:not(:last-child)::after { content: ""; position: absolute; top: 25px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 4px; border-radius: 4px; background: var(--line); }
.tk-steps li.done:not(:last-child)::after { background: var(--teal); }
.tk-steps li.now:not(:last-child)::after { background: linear-gradient(90deg, var(--yellow), var(--line)); }
.tk-steps .dot { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 50%; background: #fff; color: var(--muted); box-shadow: inset 0 0 0 2px var(--line); }
.tk-steps .done .dot { background: var(--teal); color: #fff; box-shadow: none; }
.tk-steps .now .dot { background: var(--yellow); color: var(--teal-dark); box-shadow: 0 0 0 7px rgba(251, 207, 51, .3); }
.tk-steps b { font-size: .92rem; color: var(--muted); }
.tk-steps small { font-size: .76rem; color: var(--muted); opacity: .85; }
.tk-steps .done b, .tk-steps .now b { color: var(--teal); }
.tk-hint { display: flex; align-items: center; gap: 12px; margin: 30px 0 0; padding: 14px 18px; border-radius: 14px; background: #fffbea; box-shadow: inset 0 0 0 1px #f6e7a8; color: #7a5a00; font-weight: 700; font-size: .92rem; }
.tk-hint svg { flex: none; }
.tk-foot { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; margin: 0; padding: 18px 26px; border-top: 1px solid var(--line); background: #fafcfc; }
.tk-foot .lbl { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tk-foot ul { gap: 10px; }
.tk-foot li { gap: 10px; padding: 5px 14px 5px 5px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tk-foot li a { width: 36px; height: 36px; border-radius: 50%; }
.tk-foot img { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
@media (max-width: 720px) {
  .tk-head { padding: 16px; }
  .tk-info { margin-left: 0; width: 100%; order: 3; }
  .tk-body { padding: 26px 14px 18px; }
  .tk-steps .dot { width: 42px; height: 42px; }
  .tk-steps li:not(:last-child)::after { top: 20px; left: calc(50% + 26px); right: calc(-50% + 26px); }
  .tk-steps b { font-size: .8rem; }
  .tk-steps small { display: none; }
  .tk-foot { padding: 14px 16px; }
}

/* Badges de statut (toutes les pages) */

/* ===== Suivi v5 : infos à gauche + frise verticale à droite ===== */
.ad-title-row .tk-filter { width: auto; min-width: 440px; max-width: 100%; }
.ad-title-row .tk-filter select { width: 100%; white-space: nowrap; text-overflow: ellipsis; text-align: left; }
@media (max-width: 560px) { .ad-title-row .tk-filter { min-width: 0; width: 100%; } .ad-title-row .tk-filter select { font-size: .8rem; } }
.ad-track[hidden] { display: none; }
.ad-track { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; padding: 8px 0 32px; border-bottom: 0; }
.ad-track-info { padding: 26px; border-radius: 18px; background: #f6fafa; }
.ad-track-info h3 { margin: 14px 0 4px; font-size: 1.3rem; }
.ad-track-info .thumbs li { width: 56px; height: 56px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ad-track-info .thumbs li a { position: absolute; inset: 0; display: block; }
.ad-track-info .sum { padding-top: 14px; border-top: 1px solid var(--line); }
.tv { list-style: none; margin: 0; padding: 6px 0 0; }
.tv li { position: relative; display: flex; gap: 20px; padding-bottom: 34px; }
.tv li:last-child { padding-bottom: 0; }
.tv li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 3px; border-radius: 3px; background: var(--line); }
.tv li.done:not(:last-child)::before { background: var(--teal); }
.tv .b { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--line); color: var(--muted); font-weight: 800; }
.tv .done .b { background: var(--teal); box-shadow: none; color: #fff; }
.tv .now .b { background: var(--yellow); box-shadow: 0 0 0 7px rgba(251, 207, 51, .28); color: var(--teal-dark); }
.tv div { padding-top: 2px; }
.tv b { display: block; font-size: 1.02rem; color: var(--muted); }
.tv small { display: block; margin-top: 2px; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.tv .done b, .tv .now b { color: var(--teal); }
.tv em { display: inline-block; margin-top: 8px; padding: 3px 12px; border-radius: 99px; background: #fff8e1; box-shadow: inset 0 0 0 1px #f2dd9a; color: #b07600; font-style: normal; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 760px) { .ad-track { grid-template-columns: 1fr; gap: 24px; } }
.ad-title-row .tk-filter { min-width: 240px; }

/* ===== Suivi v6 : bandeau d'état + barre de progression + détails ===== */
.ts[hidden] { display: none; }
.ts-banner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 26px 30px; border-radius: 20px; color: #fff; background: radial-gradient(120% 120% at 100% 0%, #1b7c80 0%, transparent 55%), linear-gradient(160deg, #0f5a5f, #0a3f43); }
.ts-banner.is-cancel { background: linear-gradient(160deg, #b93434, #8f2424); }
.ts-banner .ic { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--yellow); color: var(--teal-dark); box-shadow: 0 0 0 8px rgba(255, 255, 255, .12); }
.ts-banner.is-cancel .ic { background: #fff; color: #b93434; }
.ts-banner .tx { flex: 1; min-width: 220px; }
.ts-banner small { display: block; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.ts-banner h3 { margin: 2px 0 4px; font-size: 1.5rem; color: #fff; }
.ts-banner p { margin: 0; opacity: .9; }
.ts-banner .eta { padding: 12px 20px; border-radius: 14px; background: rgba(255, 255, 255, .12); text-align: right; }
.ts-banner .eta b { display: block; margin-top: 2px; font-size: 1rem; text-transform: capitalize; }
.ts-bar { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ts-bar li { display: grid; gap: 10px; }
.ts-bar i { display: block; height: 8px; border-radius: 8px; background: var(--line); }
.ts-bar .done i { background: var(--teal); }
.ts-bar .now i { background: linear-gradient(90deg, var(--yellow) 55%, var(--line) 55%); }
.ts-bar span { font-size: .86rem; font-weight: 700; color: var(--muted); }
.ts-bar .done span, .ts-bar .now span { color: var(--teal); }
.ts-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; margin-top: 38px; }
.ts-cols h4 { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--teal); font-size: 1.05rem; color: var(--teal); }
.ts-items { list-style: none; margin: 0; padding: 0; }
.ts-items li { display: grid; grid-template-columns: 60px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ts-items .th { position: relative; display: block; width: 60px; height: 60px; overflow: hidden; }
.ts-items .th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; max-width: none; }
.ts-items .nm a { display: block; font-weight: 700; color: var(--ink); line-height: 1.35; }
.ts-items .nm a:hover { color: var(--teal); }
.ts-items .nm em { font-style: normal; font-size: .84rem; color: var(--muted); }
.ts-items li > b { color: var(--teal); white-space: nowrap; }
.ts-items li > b small { font-size: .72rem; }
.ts-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 0; color: var(--muted); font-weight: 700; }
.ts-total b { font-size: 1.35rem; color: var(--teal); }
.ts-dl { margin: 0; }
.ts-dl > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ts-dl dt { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ts-dl dd { margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 860px) { .ts-cols { grid-template-columns: 1fr; gap: 32px; } .ts-banner .eta { text-align: left; width: 100%; } }
@media (max-width: 520px) { .ts-banner { padding: 20px; } .ts-banner h3 { font-size: 1.25rem; } .ts-bar span { font-size: .74rem; } }

/* Badges de statut : style d'origine, couleurs seulement */
.ux-status.status-pending { background: #fff2cc; color: #9a6400; box-shadow: none; }
.ux-status.status-confirmed { background: #dcedff; color: #1b62b5; box-shadow: none; }
.ux-status.status-shipped { background: #e9e4ff; color: #5440c0; box-shadow: none; }
.ux-status.status-delivered { background: #d9f3e5; color: #12743f; box-shadow: none; }
.ux-status.status-cancelled { background: #fde1e1; color: #b83030; box-shadow: none; }

/* ===== Suivi v7 : fiche type « bon de suivi » + impression ===== */
.tk-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tk-tools .tk-filter { margin: 0; }
.tk-tools .cz-btn svg { transform: none; }
.tr[hidden] { display: none; }
.tr { padding: 30px 32px 34px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 36px rgba(42, 35, 20, .06); }
.tr-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.tr-brand { display: none; }
.tr-ref { margin-right: auto; }
.tr-ref small { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tr-ref h3 { margin: 2px 0; font-size: 1.5rem; color: var(--teal); letter-spacing: .02em; }
.tr-ref p { margin: 0; color: var(--muted); font-size: .9rem; }
.tr-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.tr-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.tr-steps li:not(:last-child)::after { content: ""; position: absolute; top: 25px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 4px; border-radius: 4px; background: var(--line); }
.tr-steps li.done:not(:last-child)::after { background: var(--teal); }
.tr-steps li.now:not(:last-child)::after { background: linear-gradient(90deg, var(--yellow), var(--line)); }
.tr-steps .dot { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--muted); box-shadow: inset 0 0 0 2px var(--line); }
.tr-steps .done .dot { background: var(--teal); color: #fff; box-shadow: none; }
.tr-steps .now .dot { background: var(--yellow); color: var(--teal-dark); box-shadow: 0 0 0 7px rgba(251, 207, 51, .3); }
.tr-steps b { font-size: .92rem; color: var(--muted); }
.tr-steps .done b, .tr-steps .now b { color: var(--teal); }
.tr-now { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; padding: 14px 18px; border-radius: 14px; background: #f6fafa; color: var(--teal); font-size: .95rem; }
.tr-now svg { flex: none; }
.tr-now span { color: var(--muted); }
.tr-now b { color: var(--teal); }
.tr-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 28px; margin: 28px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tr-facts > div { display: flex; gap: 14px; align-items: flex-start; color: var(--teal); }
.tr-facts svg { flex: none; margin-top: 2px; }
.tr-facts small { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tr-facts b { display: block; margin-top: 2px; color: var(--ink); font-size: .94rem; line-height: 1.4; }
.tr-table { width: 100%; border-collapse: collapse; }
.tr-table th { padding: 10px 8px; border-bottom: 2px solid var(--teal); text-align: left; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); }
.tr-table th:not(:first-child), .tr-table td:not(:first-child) { text-align: right; white-space: nowrap; }
.tr-table td { padding: 14px 8px; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
.tr-table td:first-child { display: flex; align-items: center; gap: 16px; }
.tr-table .th { position: relative; display: block; width: 56px; height: 56px; flex: none; overflow: hidden; }
.tr-table .th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; max-width: none; }
.tr-table .nm { font-weight: 700; line-height: 1.35; }
.tr-table .nm:hover { color: var(--teal); }
.tr-table td b { color: var(--teal); }
.tr-sum { width: min(340px, 100%); margin: 20px 0 0 auto; }
.tr-sum > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; color: var(--muted); }
.tr-sum dd { margin: 0; font-weight: 700; color: var(--ink); }
.tr-sum .total { margin-top: 6px; padding-top: 14px; border-top: 2px solid var(--teal); color: var(--teal); font-weight: 800; }
.tr-sum .total dd { font-size: 1.35rem; color: var(--teal); }
@media (max-width: 640px) {
  .tr { padding: 22px 16px; }
  .tr-steps .dot { width: 42px; height: 42px; }
  .tr-steps li:not(:last-child)::after { top: 20px; left: calc(50% + 26px); right: calc(-50% + 26px); }
  .tr-steps b { font-size: .78rem; }
  .tr-table thead { display: none; }
  .tr-table, .tr-table tbody, .tr-table tr { display: block; }
  .tr-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .tr-table td { border: 0; padding: 0; text-align: left !important; }
  .tr-table td:first-child { grid-column: 1 / -1; }
}

/* Impression : uniquement la commande affichée */
@media print {
  @page { margin: 14mm; }
  .topbar, .header, .page-hero, .newsletter, .footer, .ad-side, .tk-tools, .toast, [data-print], .tr-table .th { display: none !important; }
  main, .wrap, .page-body, .ad, .ad-content { display: block !important; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
  .ad-panel[hidden], .tr[hidden] { display: none !important; }
  .ad-title p { display: none; }
  .tr { padding: 0; box-shadow: none; border-radius: 0; }
  .tr-brand { display: block; margin-right: 24px; }
  .tr-brand b { display: block; font-size: 1.3rem; color: var(--teal); }
  .tr-brand small { color: var(--muted); }
  .tr, .tr * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tr-top, .tr-facts, .tr-table tr { break-inside: avoid; }
}

/* Badges de statut : palette Toto Baby */
.ux-status.status-pending { background: var(--yellow); color: var(--teal-dark); box-shadow: none; }
.ux-status.status-confirmed { background: var(--teal-soft); color: var(--teal); box-shadow: inset 0 0 0 1px #bfe0dc; }
.ux-status.status-shipped { background: var(--logo-teal); color: #fff; box-shadow: none; }
.ux-status.status-delivered { background: var(--teal); color: #fff; box-shadow: none; }
.ux-status.status-cancelled { background: #fbe7cf; color: #a85a0c; box-shadow: none; }
/* Suivi : sélecteur au même niveau que la fiche, sans espace inutile */
#suivi .ad-title { margin-bottom: 16px; }
#suivi .ad-title-row { align-items: flex-end; }
#suivi .ad-title-row .tk-filter { min-width: 0; width: 240px; }
/* Sélecteur de commande avec recherche (s'ouvre de la droite vers la gauche) */
.tk-combo { position: relative; margin-left: auto; }
.tk-combo-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 220px; height: 48px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--teal); font: inherit; font-weight: 800; font-size: .92rem; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.tk-combo-btn:hover, .tk-combo.open .tk-combo-btn { border-color: var(--logo-teal); }
.tk-combo.open .tk-combo-btn { box-shadow: 0 0 0 4px rgba(51, 165, 168, .15); }
.tk-combo .chev { transition: transform .2s; }
.tk-combo.open .chev { transform: rotate(180deg); }
.tk-combo-panel { position: absolute; top: calc(100% + 8px); right: 0; left: auto; z-index: 30; width: 300px; max-width: calc(100vw - 32px); padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(10, 63, 67, .2), 0 0 0 1px var(--line); animation: cz-pop .16s ease; }
.tk-combo-panel[hidden] { display: none; }
.tk-combo-search { display: flex; align-items: center; gap: 10px; padding: 0 12px; margin-bottom: 8px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); }
.tk-combo-search input { flex: 1; min-width: 0; height: 42px; border: 0; background: none; font: inherit; font-size: .9rem; color: var(--ink); outline: 0; }
.tk-combo-panel ul { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow-y: auto; }
.tk-combo-panel li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-weight: 700; font-size: .9rem; color: var(--ink); cursor: pointer; }
.tk-combo-panel li[hidden] { display: none; }
.tk-combo-panel li small { color: var(--muted); font-weight: 600; font-size: .76rem; }
.tk-combo-panel li:hover { background: var(--teal-soft); color: var(--teal); }
.tk-combo-panel li[aria-selected="true"] { background: var(--teal); color: #fff; }
.tk-combo-panel li[aria-selected="true"] small { color: rgba(255, 255, 255, .8); }
.tk-combo-empty { margin: 8px 0 4px; padding: 8px; text-align: center; color: var(--muted); font-size: .88rem; }
.tk-combo-empty[hidden] { display: none; }
@media (max-width: 560px) { .tk-combo, .tk-combo-btn { width: 100%; } .tk-combo-panel { width: 100%; } }
