/* All'Son Collection — compte client (bouton du header, panier, page « Mon compte ») */

.header__actions { display: flex; align-items: center; gap: .5rem; }
.account-btn { position: relative; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--rose-deep); box-shadow: var(--shadow-sm); overflow: hidden; text-decoration: none; transition: transform .18s; flex: none; }
.account-btn:hover { transform: translateY(-2px); }
.account-btn svg { width: 22px; height: 22px; }
.account-btn img { width: 100%; height: 100%; object-fit: cover; }
.account-btn b { font-size: .8rem; font-weight: 800; }
.account-btn.is-in { border: 2px solid var(--rose-deep); }

/* Panier : connexion Google / cliente connectée */
.cart__google { margin: 0 0 1rem; padding: .9rem; border-radius: var(--radius-sm); background: var(--blush-2); text-align: center; }
.cart__google p { margin: 0 0 .6rem; font-size: .86rem; font-weight: 700; }
.cart__google .g-slot { display: flex; justify-content: center; min-height: 44px; }
.cart__or { display: block; margin-top: .7rem; font-size: .76rem; color: var(--muted); font-weight: 600; }
.cart__me { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; padding: .7rem .85rem; border-radius: var(--radius-sm); background: var(--blush-2); font-size: .86rem; line-height: 1.35; }
.cart__me img, .cart__me-ini { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--blush); color: var(--rose-deep); font-size: .8rem; }
.cart__me a { color: var(--rose-deep); font-weight: 700; }

.acct-err { color: #a52d5c; background: #fde2ea; border-radius: 12px; padding: .6rem .8rem; font-size: .85rem; font-weight: 700; margin: .6rem 0 0; }
.acct-toast { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 200; background: #1f7a45; color: #fff; font-weight: 800; padding: .85rem 1.1rem; border-radius: 14px; box-shadow: var(--shadow-soft); width: max-content; max-width: 92vw; text-align: center; }

/* Page « Mon compte » */
.acct { padding: clamp(1.4rem, 3vw, 2.4rem) 0 clamp(4rem, 8vw, 6rem); min-height: 60vh; }
.acct h1 { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.4rem); margin: .2rem 0 .4rem; }
.acct h1 em { color: var(--rose-deep); }
.acct h2 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; margin: 0 0 1rem; }
.acct-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: var(--shadow-sm); min-width: 0; }
.acct-login { max-width: 520px; margin: 0 auto; text-align: center; }
.acct-login > p:not(.eyebrow) { color: var(--ink-soft); }
.acct-login .g-slot { display: flex; justify-content: center; margin: 1.4rem 0 .8rem; min-height: 44px; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.acct-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.2rem; }
.acct-head img, .acct-ini { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--blush); color: var(--rose-deep); font-size: 1.2rem; }
.acct-head .eyebrow { margin-bottom: .3rem; }
.acct-small { font-size: .82rem; color: var(--muted); margin: .2rem 0 .8rem; overflow-wrap: anywhere; }
.acct-note { color: var(--ink-soft); background: var(--blush-2); border-radius: 14px; padding: .9rem 1rem; }
.acct-note a, .acct-small a, .acct-link { color: var(--rose-deep); font-weight: 700; }
.acct-link { display: inline-block; margin-top: 1rem; text-decoration: none; }
.acct-logout { margin-top: 1rem; width: 100%; background: none; border: 0; color: var(--muted); font-weight: 700; text-decoration: underline; cursor: pointer; padding: .6rem; }
.acct-order { border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1rem; margin-bottom: .8rem; }
.acct-order__top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.acct-badge { font-size: .74rem; font-weight: 800; padding: .25rem .65rem; border-radius: 999px; background: var(--blush-2); color: var(--rose-deep); white-space: nowrap; }
.acct-badge.is-ok { background: #dff3e6; color: #1f7a45; }
.acct-badge.is-ko { background: #fde2ea; color: #a52d5c; }
.acct-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: .4rem 0 .6rem; }
.acct-steps span { font-size: .68rem; font-weight: 700; color: var(--muted); padding-top: .4rem; border-top: 4px solid var(--line); text-align: center; }
.acct-steps span.on { color: var(--rose-deep); border-top-color: var(--rose-deep); }
.acct-order ul { margin: 0; padding-left: 1.1rem; font-size: .88rem; line-height: 1.6; }
.acct-order ul span { color: var(--muted); }
.acct-wa { display: inline-block; margin-top: .5rem; font-size: .8rem; font-weight: 700; color: #17864a; }
@media (max-width: 820px) {
  .acct-grid { grid-template-columns: minmax(0, 1fr); }
  .account-btn { width: 40px; height: 40px; }
}

/* Page de paiement Wave */
.pay-card { max-width: 560px; margin: 0 auto; }
.pay-card h1 { font-size: clamp(1.5rem, 4vw, 2rem); }
.pay-ok { width: 74px; height: 74px; border-radius: 50%; background: #dff3e6; color: #1f7a45; display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto .6rem; }
.pay-card:has(.pay-ok) { text-align: center; }
.pay-items { list-style: none; margin: 1rem 0 .4rem; padding: 0; text-align: left; }
.pay-items li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.pay-items small { color: var(--muted); }
.pay-total { display: flex; justify-content: space-between; font-size: 1.15rem; font-weight: 800; color: var(--rose-deep); margin: .6rem 0 1.2rem; }
.pay-card .cart__cta { margin-top: .4rem; text-decoration: none; }
.acct-pay { margin: .7rem 0 .2rem; min-height: 46px; font-size: .92rem; }

/* Connexion / inscription (e-mail ou WhatsApp + mot de passe) */
.acct-auth { max-width: 460px; margin: 0 auto; }
.acct-auth h1 { margin-bottom: .3rem; }
.acct-lead { color: var(--ink-soft); margin: 0 0 1.4rem; line-height: 1.55; }
.acct-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 1.3rem; }
.acct-tabs button { background: none; border: 0; padding: .8rem .4rem; font: inherit; font-weight: 700; font-size: .95rem; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.acct-tabs button.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.acct-sub { font-family: var(--display); font-weight: 600; font-size: 1.3rem; margin: .4rem 0 .3rem; }
.acct-pw { position: relative; display: block; }
.acct-pw input { width: 100%; padding-right: 5.2rem; }
.acct-eye { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); background: none; border: 0; font: inherit; font-size: .78rem; font-weight: 700; color: var(--rose-deep); cursor: pointer; padding: .4rem .5rem; }
.acct-textlink { background: none; border: 0; padding: 0; margin: -.2rem 0 .9rem; font: inherit; font-size: .84rem; font-weight: 700; color: var(--rose-deep); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.acct-auth form .cart__cta { width: 100%; margin-top: .3rem; }
.acct-auth .acct-small { margin-top: .9rem; }
.acct-or { display: flex; align-items: center; gap: .8rem; margin: 1.3rem 0 1rem; color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.acct-or::before, .acct-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.acct-auth .g-slot { display: flex; justify-content: center; min-height: 44px; }
.acct-auth .acct-note { margin-top: .8rem; font-size: .88rem; line-height: 1.5; }
.acct-more { margin-top: 1.1rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.acct-more summary { cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--rose-deep); }
.acct-more form { margin-top: .9rem; }
.acct-claim { background: var(--blush-2); border-radius: 16px; padding: 1rem; margin-bottom: 1rem; font-size: .88rem; line-height: 1.5; }
.acct-claim p { margin: 0 0 .7rem; }
.acct-inline { display: flex; gap: .5rem; }
.acct-inline input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: .65rem .8rem; font: inherit; background: #fff; }
.acct-inline .cart__cta { width: auto; padding-inline: 1.1rem; margin: 0; }
.cart__login { margin: 0 0 1rem; padding: .7rem .85rem; border-radius: var(--radius-sm); background: var(--blush-2); font-size: .84rem; line-height: 1.45; }
.cart__login a { color: var(--rose-deep); font-weight: 700; }
.cart__cta--ghost { background: #fff; color: var(--ink); border: 1px solid rgba(23, 58, 77, .25); }
.cart__cta--ghost:hover { background: var(--blush-2); }
