/* 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; }
