/* =============================================================================
   Panier Plein Sud — page « Mon panier » (maquette)
   ============================================================================= */
/* Bannière image Blusho (breadcrumb sur photo) masquée sur le panier (maquette n'en a pas). */
.woocommerce-cart .blusho-breadcrumb-wrapper { display: none; }

.ps-cartpage__inner { max-width: var(--ps-content); margin: 0 auto; padding: 22px 20px 48px; box-sizing: border-box; }
.ps-cartpage__inner * { box-sizing: border-box; }
.ps-cartpage .ps-breadcrumb { margin-bottom: 22px; }

/* --- Étapes (stepper) --- */
.ps-steps { list-style: none; display: flex; align-items: flex-start; gap: 0; margin: 0 0 22px; padding: 0; }
.ps-step { display: flex; align-items: center; gap: 12px; flex: 1; position: relative; }
.ps-step:not(:last-child)::after { content: ""; flex: 1; height: 1px; background: var(--ps-line); margin: 0 18px; }
.ps-step__num { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--ps-line); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--ps-muted); background: #fff; }
.ps-step__txt { display: flex; flex-direction: column; line-height: 1.3; font-size: 12px; color: var(--ps-muted); white-space: nowrap; }
.ps-step__txt strong { font-size: 14px; color: var(--ps-muted); font-weight: 600; white-space: nowrap; }
.ps-step.is-active .ps-step__num { background: var(--ps-gold); border-color: var(--ps-gold); color: #fff; }
.ps-step.is-active .ps-step__txt strong { color: var(--ps-ink); }

/* --- Layout --- */
.ps-cartpage__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.ps-cartpage__main { min-width: 0; }

/* --- Carte panier --- */
.ps-cartform { display: block; }
.ps-cartbox { display: block; border: 1px solid var(--ps-line); border-radius: 16px; background: #fff; padding: 2px 24px; }
.ps-cartbox__head { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0 14px; border-bottom: 1px solid var(--ps-line); }
.ps-cartbox__title { font-family: var(--ps-font-body); font-size: 18px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ps-ink); margin: 0; }
.ps-cartbox__count { font-size: 13px; color: var(--ps-muted); }

.ps-cartbox__items { display: block; list-style: none; margin: 0; padding: 0; }
.ps-cartitem { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--ps-line); }
.ps-cartitem__media { position: relative; display: block; flex: 0 0 72px; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--ps-cream); }
.ps-cartitem__info { flex: 1 1 auto; }
.ps-cartitem__price { flex: 0 0 auto; margin-left: auto; }
.ps-cartitem__actions { flex: 0 0 auto; }
.ps-cartitem__media img { width: 100%; height: 100%; object-fit: cover; }
.ps-cartitem__badge { position: absolute; top: 6px; left: 6px; background: var(--ps-terracotta); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 6px; }
.ps-cartitem__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ps-cartitem__brand { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ps-olive); }
.ps-cartitem__name { font-size: 15px; font-weight: 600; color: var(--ps-ink); text-decoration: none; }
.ps-cartitem__name:hover { color: var(--ps-gold); }
.ps-cartitem__vol { font-size: 13px; color: var(--ps-muted); }
.ps-cartitem__stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #4c8a4c; }
.ps-cartitem__stock .dot { width: 6px; height: 6px; border-radius: 50%; background: #4c8a4c; }
.ps-cartitem__stock.is-out { color: var(--ps-terracotta); }
.ps-cartitem__stock.is-out .dot { background: var(--ps-terracotta); }
.ps-cartitem__price { font-size: 17px; font-weight: 700; color: var(--ps-ink); white-space: nowrap; text-align: right; }
.ps-cartitem__price del { font-size: 13px; font-weight: 400; color: var(--ps-muted); margin-right: 6px; }
.ps-cartitem__price ins, .ps-cartitem__price ins .amount { text-decoration: none; background: transparent; color: var(--ps-ink); padding: 0; box-shadow: none; }
.ps-cartitem__actions { display: flex; align-items: center; gap: 18px; }
.ps-cartitem__remove { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ps-muted); text-decoration: none; }
.ps-cartitem__remove svg { width: 16px; height: 16px; }
.ps-cartitem__remove:hover { color: var(--ps-terracotta); }

/* Quantité (stepper commun panier + fiche produit) */
.ps-qty { display: inline-flex; align-items: center; border: 1px solid var(--ps-line); border-radius: var(--ps-radius-pill); overflow: hidden; }
.ps-qty input.qty { width: 40px; height: 44px; border: 0; text-align: center; font-size: 15px; -moz-appearance: textfield; background: transparent; }
.ps-qty input.qty::-webkit-outer-spin-button, .ps-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ps-cartbox__foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.ps-cartbox__continue, .ps-cartbox__update { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ps-ink); background: none; border: 0; text-decoration: none; cursor: pointer; font-family: inherit; }
.ps-cartbox__continue svg, .ps-cartbox__update svg { width: 17px; height: 17px; color: var(--ps-muted); }
.ps-cartbox__continue:hover, .ps-cartbox__update:hover { color: var(--ps-gold); }

/* Promo + garanties — cartes séparées SOUS la carte panier (hors carte) */
.ps-cartbox__extras { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 0; }
.ps-cartbox__promo, .ps-cartbox__guarantees { border: 1px solid var(--ps-line); border-radius: 14px; background: #fff; padding: 18px 20px; }
.ps-cartbox__promo h3, .ps-cartbox__guarantees h3 { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ps-ink); margin: 0 0 16px; }
.ps-cartbox__promo h3 svg, .ps-cartbox__guarantees h3 svg { width: 17px; height: 17px; color: var(--ps-gold); }
.ps-cartbox__promo-row { display: flex; gap: 10px; }
.ps-cartbox__promo-input { flex: 1; height: 46px; border: 1px solid var(--ps-line); border-radius: 10px; padding: 0 14px; font-size: 14px; font-family: inherit; }
.ps-cartbox__promo-input:focus { outline: none; border-color: var(--ps-gold); }
.ps-cartbox__promo-btn { height: 46px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--ps-ink); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
.ps-cartbox__promo-btn:hover { background: #000; }
.ps-cartbox__promo-note { font-size: 12px; color: var(--ps-muted); margin: 12px 0 0; }
.ps-cartbox__guarantees ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ps-cartbox__guarantees li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ps-body); }
.ps-cartbox__guarantees li svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--ps-olive); }

/* --- Récapitulatif --- */
.ps-recap__card { border: 1px solid var(--ps-line); border-radius: 16px; background: var(--ps-cream); padding: 22px 22px; position: sticky; top: 20px; }
.ps-recap__title { font-family: var(--ps-font-body); font-size: 18px; font-weight: 700; color: var(--ps-ink); margin: 0 0 14px; }
.ps-recap__lines { display: flex; flex-direction: column; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--ps-line); }
.ps-recap__line { display: flex; justify-content: space-between; font-size: 14px; color: var(--ps-body); }
.ps-recap__line span:last-child { font-weight: 600; color: var(--ps-ink); }
.ps-recap__line--discount span:last-child { color: var(--ps-terracotta); }
.ps-recap__total { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0 16px; }
.ps-recap__total > span:first-child { font-size: 16px; font-weight: 600; color: var(--ps-ink); }
.ps-recap__total-val { font-size: 28px; font-weight: 700; color: var(--ps-ink); }
.ps-recap__total-val .woocommerce-Price-currencySymbol { font-size: 14px; font-weight: 500; color: var(--ps-muted); }
.ps-recap__checkout { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: var(--ps-radius-pill); background: var(--ps-gold); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .2s; }
.ps-recap__checkout svg { width: 18px; height: 18px; }
.ps-recap__checkout:hover { background: var(--ps-gold-dark); }
.ps-recap__secure { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12.5px; color: var(--ps-muted); margin: 14px 0 16px; }
.ps-recap__secure svg { width: 14px; height: 14px; }
.ps-recap__pay img { display: block; width: 100%; max-width: 200px; height: auto; margin: 0 auto; }
.ps-recap__pay--text { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ps-recap__pay--text span { font-size: 11px; color: var(--ps-muted); border: 1px solid var(--ps-line); border-radius: 5px; padding: 3px 8px; }

/* --- Cross-sell --- */
.ps-cart-cross { margin-top: 40px; }
.ps-cart-cross .ps-products--4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* --- Panier vide --- */
.ps-cart-empty { text-align: center; padding: 60px 20px; }
.ps-cart-empty p { font-size: 17px; color: var(--ps-muted); margin: 0 0 20px; }

/* --- Responsive --- */
@media (max-width: 991px) {
  .ps-cartpage__layout { grid-template-columns: 1fr; }
  .ps-recap__card { position: static; }
  .ps-cart-cross .ps-products--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ps-cartbox { padding: 4px 18px; }
  .ps-cartitem { gap: 14px; }
  .ps-cartitem__media { flex-basis: 64px; width: 64px; height: 64px; }
  .ps-cartbox__extras { grid-template-columns: 1fr; }
  .ps-cart-cross .ps-products--4 { grid-template-columns: 1fr; }
}

/* =============================================================================
   Tiroir panier (mini-cart slide-in) — maquette « Article ajouté au panier »
   ============================================================================= */
/* Sécurité : neutralise le tiroir MiniCart natif de ShopBuilder (doublon). */
.rtsb-minicart-drawer, .rtsb-minicart-overlay { display: none !important; }

.ps-cartdrawer { position: fixed; inset: 0; z-index: 1200; visibility: hidden; }
.ps-cartdrawer.is-open { visibility: visible; }
.ps-cartdrawer__overlay { position: absolute; inset: 0; background: rgba(42, 39, 36, .45); opacity: 0; transition: opacity .3s; }
.ps-cartdrawer.is-open .ps-cartdrawer__overlay { opacity: 1; }
.ps-cartdrawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(384px, 92vw);
  background: #fff; display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(100%); transition: transform .32s ease; box-shadow: -8px 0 40px rgba(42,39,36,.14);
}
.ps-cartdrawer.is-open .ps-cartdrawer__panel { transform: translateX(0); }
body.ps-cartdrawer-open { overflow: hidden; }

.ps-cartdrawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--ps-line); }
.ps-cartdrawer__title { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ps-ink); }
.ps-cartdrawer__check { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; background: var(--ps-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ps-cartdrawer__check svg { width: 14px; height: 14px; }
.ps-cartdrawer__close { width: 34px; height: 34px; border: 1px solid var(--ps-line); border-radius: 50%; background: none; font-size: 22px; line-height: 1; color: var(--ps-muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ps-cartdrawer__close:hover { color: var(--ps-ink); border-color: var(--ps-ink); }

.ps-cartdrawer__body { padding: 18px 24px 4px; }
.ps-cartdrawer__empty { color: var(--ps-muted); font-size: 15px; text-align: center; padding: 30px 0; }
.ps-cartdrawer__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ps-ditem { position: relative; display: flex; align-items: flex-start; gap: 14px; border: 1px solid var(--ps-line); border-radius: 14px; padding: 12px; }
.ps-ditem__media { position: relative; flex: 0 0 78px; width: 78px; height: 78px; border-radius: 12px; overflow: hidden; background: var(--ps-cream); }
.ps-ditem__media img { width: 100%; height: 100%; object-fit: cover; }
.ps-ditem__badge { position: absolute; top: 5px; left: 5px; background: var(--ps-terracotta); color: #fff; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 5px; }
.ps-ditem__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-right: 22px; }
.ps-ditem__brand { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ps-olive); }
.ps-ditem__name { font-size: 14.5px; font-weight: 600; line-height: 1.25; color: var(--ps-ink); text-decoration: none; }
.ps-ditem__vol { font-size: 12px; color: var(--ps-muted); }
.ps-ditem__meta { font-size: 12px; color: var(--ps-gold-dark); }
.ps-ditem__price { font-size: 15px; font-weight: 700; color: var(--ps-ink); white-space: nowrap; margin-top: 3px; }
.ps-ditem__price del { display: none; }
.ps-ditem__price ins, .ps-ditem__price ins .amount { text-decoration: none; background: transparent; color: var(--ps-ink); padding: 0; }
.ps-ditem__remove { position: absolute; top: 12px; right: 12px; color: var(--ps-muted); line-height: 0; }
.ps-ditem__remove svg { width: 15px; height: 15px; }
.ps-ditem__remove:hover { color: var(--ps-terracotta); }

.ps-cartdrawer__actions { display: flex; flex-direction: column; gap: 12px; padding: 18px 24px; border-bottom: 8px solid var(--ps-cream); }
.ps-cartdrawer__view, .ps-cartdrawer__checkout { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: var(--ps-radius-pill); font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: .04em; }
.ps-cartdrawer__view { border: 1px solid var(--ps-line); color: var(--ps-ink); text-transform: uppercase; }
.ps-cartdrawer__view svg { width: 18px; height: 18px; }
.ps-cartdrawer__view:hover { border-color: var(--ps-gold); color: var(--ps-gold); }
.ps-cartdrawer__checkout { background: var(--ps-gold); color: #fff; text-transform: uppercase; }
.ps-cartdrawer__checkout:hover { background: var(--ps-gold-dark); }

.ps-cartdrawer__cross { padding: 20px 24px 28px; }
.ps-cartdrawer__cross h3 { font-family: var(--ps-font-heading); font-size: 17px; color: var(--ps-ink); margin: 0 0 14px; }
.ps-cartdrawer__cross .ps-products--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* Cartes compactes dans le tiroir (panneau étroit) */
.ps-cartdrawer__cross .ps-card__media { aspect-ratio: auto; height: 96px; }
.ps-cartdrawer__cross .ps-card__imglink { padding: 6px; }
.ps-cartdrawer__cross .ps-card__fav, .ps-cartdrawer__cross .ps-card__rating { display: none; }
.ps-cartdrawer__cross .ps-card__badge { font-size: 9px; padding: 2px 6px; }
.ps-cartdrawer__cross .ps-card__body { padding: 8px 9px 10px; gap: 2px; }
.ps-cartdrawer__cross .ps-card__cat { font-size: 8.5px; letter-spacing: .08em; }
.ps-cartdrawer__cross .ps-card__title { font-size: 11.5px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ps-cartdrawer__cross .ps-card__price { font-size: 12px; margin-top: 1px; }
.ps-cartdrawer__cross .ps-card__cart { height: 30px; font-size: 10.5px; margin-top: 3px; gap: 5px; }
.ps-cartdrawer__cross .ps-card__cart svg { width: 13px; height: 13px; }

/* =============================================================================
   Stepper — état « terminé » (olive) + liens
   ============================================================================= */
.ps-step a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.ps-step.is-done .ps-step__num { background: var(--ps-olive); border-color: var(--ps-olive); color: #fff; }
.ps-step.is-done .ps-step__txt strong { color: var(--ps-ink); }
.ps-step.is-done:not(:last-child)::after { background: var(--ps-olive); }
.ps-step.is-active:not(:last-child)::after { background: rgba(var(--ps-gold-rgb), .55); }

/* Stepper responsive : évite l'empilement/débordement sur écrans étroits */
@media (max-width: 820px) {
  .ps-step { gap: 8px; }
  .ps-step__num { width: 28px; height: 28px; font-size: 12px; }
  .ps-step__txt { font-size: 0; line-height: 1.15; }        /* masque le sous-titre */
  .ps-step__txt strong { font-size: 12px; }                  /* garde le titre */
  .ps-step:not(:last-child)::after { margin: 0 6px; }
}
@media (max-width: 560px) {
  .ps-steps { justify-content: space-between; }
  .ps-step__txt { display: none; }                           /* cercles seuls */
  .ps-step:not(:last-child)::after { margin: 0 4px; }
}

/* =============================================================================
   Étape 2 — Connexion (invité / compte)
   ============================================================================= */
.ps-hide-banner .blusho-breadcrumb-wrapper { display: none; }
.ps-connexion__inner { max-width: var(--ps-content); margin: 0 auto; padding: 22px 20px 8px; box-sizing: border-box; }
.ps-connexion__inner * { box-sizing: border-box; }
.ps-connexion .ps-breadcrumb { margin-bottom: 22px; }
.ps-connexion__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; margin-bottom: 48px; }

.ps-authcard { border: 1px solid var(--ps-line); border-radius: 18px; padding: 30px 34px 32px; }
.ps-authcard__title { font-family: var(--ps-font-body); font-size: clamp(20px, 2vw, 25px); font-weight: 700; line-height: 1.22; color: var(--ps-ink); margin: 0 0 20px; }

.ps-authform { display: flex; flex-direction: column; }
.ps-field { display: block; margin-bottom: 12px; }
.ps-field__label { display: block; font-size: 13.5px; color: var(--ps-body); margin-bottom: 6px; }
.ps-field input { width: 100%; height: 48px; border: 1px solid var(--ps-line); border-radius: var(--ps-radius-pill); padding: 0 20px; font-size: 14.5px; font-family: inherit; color: var(--ps-ink); background: #fff; }
.ps-field input::placeholder { color: var(--ps-muted); }
.ps-field input:focus { outline: none; border-color: var(--ps-gold); }

.ps-authform__note { display: flex; gap: 10px; align-items: flex-start; background: var(--ps-cream); border-radius: 12px; padding: 12px 14px; font-size: 12px; line-height: 1.45; color: var(--ps-body); margin: 6px 0 16px; }
.ps-authform__note svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--ps-gold); margin-top: 1px; }
.ps-authform__req { font-size: 13px; color: var(--ps-muted); margin: 0 0 14px; }
.ps-authform__lost { display: inline-block; font-size: 13.5px; color: var(--ps-ink); text-decoration: none; margin: 2px 0 14px; }
.ps-authform__lost:hover { color: var(--ps-gold); }
.ps-authform__error { background: rgba(190,94,60,.1); color: var(--ps-terracotta); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; margin: 0 0 18px; }

.ps-check--inline { margin: 4px 0 22px; }

/* Boutons */
.ps-btn-ink, .ps-btn-block { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border: 0; border-radius: var(--ps-radius-pill); font-size: 14.5px; font-weight: 600; cursor: pointer; font-family: inherit; text-decoration: none; }
.ps-btn-ink { background: var(--ps-ink); color: #fff; width: 100%; margin-top: 6px; }
.ps-btn-ink:hover { background: #1c1a18; }
.ps-btn-ink svg { width: 18px; height: 18px; }
.ps-btn-block { width: 100%; }
.ps-btn-gold.ps-btn-block svg { width: 18px; height: 18px; }

/* Séparateur « Ou » */
.ps-authsep { display: flex; align-items: center; gap: 16px; margin: 20px 0; color: var(--ps-muted); font-size: 14px; }
.ps-authsep::before, .ps-authsep::after { content: ""; flex: 1; height: 1px; background: var(--ps-line); }

/* Boutons sociaux */
.ps-authsocial { display: flex; flex-direction: column; gap: 10px; }
.ps-social-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 50px; border: 1px solid var(--ps-line); border-radius: var(--ps-radius-pill); font-size: 14.5px; font-weight: 600; color: var(--ps-ink); text-decoration: none; background: #fff; }
.ps-social-btn:hover { border-color: var(--ps-gold); }
.ps-social-btn svg { width: 20px; height: 20px; color: #1877f2; }
.ps-social-btn__g { font-family: var(--ps-font-heading); font-weight: 700; font-size: 20px; color: #4285f4; }

@media (max-width: 860px) {
  .ps-connexion__cols { grid-template-columns: 1fr; }
  .ps-authcard { padding: 30px 24px 32px; }
}

/* =============================================================================
   Étape 3 — Livraison & paiement (checkout UI)
   ============================================================================= */
.ps-checkout__inner { max-width: var(--ps-content); margin: 0 auto; padding: 22px 20px 56px; box-sizing: border-box; }
.ps-checkout__inner * { box-sizing: border-box; }
.ps-checkout .ps-breadcrumb { margin-bottom: 22px; }
.ps-checkout__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.ps-checkout__main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* Section (Livraison / Paiement) */
.ps-cosection { border: 1px solid var(--ps-line); border-radius: 16px; padding: 20px 22px 22px; }
.ps-cosection__title { display: flex; align-items: center; gap: 11px; font-family: var(--ps-font-body); font-size: 19px; font-weight: 700; color: var(--ps-ink); margin: 0 0 3px; }
.ps-cosection__num { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; background: var(--ps-gold); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.ps-cosection__sub { font-size: 13.5px; color: var(--ps-muted); margin: 0 0 16px; padding-left: 39px; }
.ps-cosection__hint { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ps-muted); margin: 14px 0 0; }
.ps-cosection__hint svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--ps-gold); }

/* Option de livraison */
.ps-delivery { display: block; border: 1px solid var(--ps-line); border-radius: 14px; padding: 15px 18px; margin-bottom: 10px; cursor: pointer; overflow: hidden; transition: border-color .15s, background .15s; }
.ps-delivery:last-child { margin-bottom: 0; }
.ps-delivery > input { position: absolute; opacity: 0; width: 0; height: 0; }
.ps-delivery.is-selected { border-color: var(--ps-gold); background: #fff; }
.ps-delivery__head { display: flex; align-items: center; gap: 14px; }
/* Sélectionné : bandeau d'en-tête beige/tan plein, bord à bord (maquette) */
.ps-delivery.is-selected .ps-delivery__head { background: rgba(var(--ps-gold-rgb), .26); margin: -15px -18px 0; padding: 15px 18px; }
.ps-delivery__radio { width: 20px; height: 20px; flex: 0 0 auto; border: 1.5px solid var(--ps-line); border-radius: 50%; position: relative; background: #fff; }
.ps-delivery.is-selected .ps-delivery__radio { border-color: var(--ps-gold); background: var(--ps-gold); }
.ps-delivery.is-selected .ps-delivery__radio::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.ps-delivery__ttl { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; }
.ps-delivery__ttl strong { font-size: 15px; color: var(--ps-ink); }
.ps-delivery__ttl span { font-size: 13px; color: var(--ps-muted); }
.ps-delivery__price { font-size: 14px; font-weight: 700; color: var(--ps-ink); white-space: nowrap; }
.ps-delivery__price--free { color: #4c8a4c; }
.ps-delivery__body { display: block; padding: 16px 0 2px 34px; }
.ps-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ps-field textarea { width: 100%; border: 1px solid var(--ps-line); border-radius: 14px; padding: 12px 16px; font-size: 14px; font-family: inherit; color: var(--ps-ink); resize: vertical; }
.ps-field textarea:focus { outline: none; border-color: var(--ps-gold); }
.ps-field em { font-style: normal; color: var(--ps-muted); font-weight: 400; }
.ps-select { position: relative; display: block; }
.ps-select select { width: 100%; height: 48px; border: 1px solid var(--ps-line); border-radius: var(--ps-radius-pill); padding: 0 38px 0 20px; font-size: 14.5px; font-family: inherit; color: var(--ps-ink); background: #fff; -webkit-appearance: none; appearance: none; cursor: pointer; }
.ps-select select:focus { outline: none; border-color: var(--ps-gold); }
.ps-select svg { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ps-muted); pointer-events: none; }

/* Moyen de paiement */
.ps-paymethod { display: flex; align-items: center; gap: 14px; border: 1px solid var(--ps-line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.ps-paymethod input { position: absolute; opacity: 0; width: 0; height: 0; }
.ps-paymethod.is-selected { border-color: var(--ps-gold); background: rgba(var(--ps-gold-rgb), .05); }
.ps-paymethod__radio { width: 20px; height: 20px; flex: 0 0 auto; border: 1.5px solid var(--ps-line); border-radius: 50%; position: relative; }
.ps-paymethod.is-selected .ps-paymethod__radio { border-color: var(--ps-gold); background: var(--ps-gold); }
.ps-paymethod.is-selected .ps-paymethod__radio::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.ps-paymethod__txt { display: flex; flex-direction: column; gap: 2px; }
.ps-paymethod__txt strong { font-size: 15px; color: var(--ps-ink); }
.ps-paymethod__txt span { font-size: 13px; color: var(--ps-muted); }
.ps-checkout__terms { margin: 8px 0 0; }
.ps-checkout__terms a { color: var(--ps-gold-dark); }

/* Récap : lignes produit */
.ps-recap__items { list-style: none; margin: 0 0 18px; padding: 0 0 18px; border-bottom: 1px solid var(--ps-line); display: flex; flex-direction: column; gap: 14px; }
.ps-recapitem { display: flex; align-items: center; gap: 12px; }
.ps-recapitem__media { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--ps-cream); }
.ps-recapitem__media img { width: 100%; height: 100%; object-fit: cover; }
.ps-recapitem__name { flex: 1 1 auto; min-width: 0; font-size: 13px; color: var(--ps-ink); line-height: 1.3; }
.ps-recapitem__name em { font-style: normal; color: var(--ps-muted); }
.ps-recapitem__price { font-size: 13px; font-weight: 700; color: var(--ps-ink); white-space: nowrap; }
.ps-recap__checkout--pay { width: 100%; border: 0; cursor: pointer; font-family: inherit; margin-top: 4px; background: var(--ps-gold); }
.ps-recap__checkout--pay:hover { background: var(--ps-gold-dark); }
/* Récap du checkout : carte blanche (maquette #16) */
.ps-checkout .ps-recap__card { background: #fff; }

@media (max-width: 991px) {
  .ps-checkout__layout { grid-template-columns: 1fr; }
  .ps-recap__card { position: static; }
}
@media (max-width: 560px) {
  .ps-field-row { grid-template-columns: 1fr; }
}

/* =============================================================================
   Étape 4 — Confirmation de commande (order-received)
   ============================================================================= */
.ps-confirm__inner { max-width: 900px; margin: 0 auto; padding: 22px 20px 60px; box-sizing: border-box; }
.ps-confirm__inner * { box-sizing: border-box; }
.ps-confirm__hero { text-align: center; padding: 24px 0 8px; }
.ps-confirm__badge { display: inline-flex; align-items: center; justify-content: center; width: 92px; height: 92px; border-radius: 50%; background: var(--ps-olive); color: #fff; margin-bottom: 26px; }
.ps-confirm__badge svg { width: 40px; height: 40px; stroke-width: 2.4; }
.ps-confirm__badge--pending { background: var(--ps-gold); }
.ps-confirm__badge--neg { background: var(--ps-terracotta); }
/* Note « commande annulée » sur la carte statut */
.ps-confirm__cancelled { display: flex; align-items: center; gap: 12px; background: rgba(190,94,60,.1); border-radius: 12px; padding: 16px 18px; font-size: 13.5px; color: var(--ps-body); margin: 0; }
.ps-confirm__cancelled svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--ps-terracotta); }
.ps-confirm__cancelled strong { color: var(--ps-terracotta); }
/* Statut négatif : badge suivi + timeline en terracotta */
.ps-track__badge.is-neg .dot { background: var(--ps-terracotta); }
.ps-track__badge.is-neg { color: var(--ps-terracotta); }
.ps-timeline--neg .ps-timeline__item.is-active .ps-timeline__dot { background: var(--ps-terracotta); border-color: var(--ps-terracotta); }
.ps-timeline--neg .ps-timeline__item.is-done:not(:last-child)::before { background: var(--ps-terracotta); }
.ps-confirm__title { font-family: var(--ps-font-body); font-weight: 700; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.01em; color: var(--ps-ink); margin: 0 0 16px; }
.ps-confirm__lead { font-size: 15px; color: var(--ps-muted); margin: 0 0 14px; }
.ps-confirm__num { font-size: 14px; color: var(--ps-ink); margin: 0; }
.ps-confirm__num strong { color: var(--ps-gold-dark); }

/* Carte statut */
.ps-confirm__status { border: 1px solid var(--ps-line); border-radius: 18px; background: var(--ps-cream); padding: 28px 30px; margin: 30px 0; }
.ps-confirm__status-title { font-family: var(--ps-font-body); font-size: 18px; font-weight: 700; color: var(--ps-ink); margin: 0 0 24px; }

/* Stepper statut horizontal */
.ps-ostep { list-style: none; display: flex; margin: 0 0 22px; padding: 0; }
.ps-ostep__item { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; gap: 8px; }
.ps-ostep__item:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: calc(50% + 24px); right: calc(-50% + 24px); height: 2px; background: var(--ps-line); }
.ps-ostep__item.is-done::after { background: var(--ps-gold); }
.ps-ostep__dot { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ps-line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ps-muted); position: relative; z-index: 1; }
.ps-ostep__dot svg { width: 18px; height: 18px; }
.ps-ostep__item.is-done .ps-ostep__dot { background: var(--ps-olive); border-color: var(--ps-olive); color: #fff; }
.ps-ostep__item.is-active .ps-ostep__dot { background: var(--ps-gold); border-color: var(--ps-gold); color: #fff; }
.ps-ostep__lbl { font-size: 13.5px; font-weight: 600; color: var(--ps-muted); }
.ps-ostep__item.is-done .ps-ostep__lbl, .ps-ostep__item.is-active .ps-ostep__lbl { color: var(--ps-ink); }
.ps-ostep__sub { font-size: 12px; color: var(--ps-muted); }

.ps-confirm__note { display: flex; align-items: center; gap: 10px; background: rgba(107,112,79,.12); border-radius: 12px; padding: 14px 18px; font-size: 13px; color: var(--ps-body); margin: 0; }
.ps-confirm__note svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--ps-olive); }

.ps-confirm__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 8px 0 20px; }
.ps-confirm__actions .ps-btn-ink { width: auto; padding: 0 26px; margin: 0; }
.ps-btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border: 1px solid var(--ps-line); border-radius: var(--ps-radius-pill); font-size: 14.5px; font-weight: 600; color: var(--ps-ink); text-decoration: none; background: #fff; }
.ps-btn-outline:hover { border-color: var(--ps-gold); color: var(--ps-gold); }
.ps-confirm__email { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--ps-muted); }
.ps-confirm__email svg { width: 16px; height: 16px; color: var(--ps-gold); }

@media (max-width: 620px) {
  .ps-ostep { flex-wrap: wrap; gap: 18px; }
  .ps-ostep__item { flex: 0 0 45%; }
  .ps-ostep__item::after { display: none; }
}

/* =============================================================================
   Suivi de commande (view-order)
   ============================================================================= */
.ps-track__inner { max-width: var(--ps-content); margin: 0 auto; padding: 22px 20px 56px; box-sizing: border-box; }
.ps-track__inner * { box-sizing: border-box; }
.ps-track .ps-breadcrumb { margin-bottom: 20px; }

/* En-tête commande */
.ps-track__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border: 1px solid var(--ps-line); border-radius: 18px; background: var(--ps-cream); padding: 26px 30px; margin-bottom: 24px; }
.ps-track__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ps-gold-dark); }
.ps-track__num { font-family: var(--ps-font-body); font-size: 30px; font-weight: 700; color: var(--ps-ink); margin: 6px 0 14px; }
.ps-track__meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13.5px; color: var(--ps-muted); }
.ps-track__meta span { display: inline-flex; align-items: center; gap: 8px; }
.ps-track__meta strong { color: var(--ps-ink); font-weight: 600; }
.ps-track__meta svg { width: 16px; height: 16px; color: var(--ps-gold); }
.ps-track__head-aside { text-align: right; flex: 0 0 auto; }
.ps-track__badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ps-line); background: #fff; border-radius: var(--ps-radius-pill); padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--ps-ink); }
.ps-track__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ps-olive); }

/* Layout */
.ps-track__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.ps-track__col { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ps-track__card { border: 1px solid var(--ps-line); border-radius: 16px; padding: 24px 26px; }
.ps-track__ctitle { font-family: var(--ps-font-body); font-size: 18px; font-weight: 700; color: var(--ps-ink); margin: 0 0 22px; }

/* Timeline verticale */
.ps-timeline { list-style: none; margin: 0; padding: 0; }
.ps-timeline__item { display: flex; gap: 16px; padding-bottom: 22px; position: relative; }
.ps-timeline__item:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--ps-line); }
.ps-timeline__item.is-done:not(:last-child)::before { background: var(--ps-olive); }
.ps-timeline__item:last-child { padding-bottom: 0; }
.ps-timeline__dot { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; border: 1.5px solid var(--ps-line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ps-muted); position: relative; z-index: 1; }
.ps-timeline__dot svg { width: 16px; height: 16px; }
.ps-timeline__item.is-done .ps-timeline__dot { background: var(--ps-olive); border-color: var(--ps-olive); color: #fff; }
.ps-timeline__item.is-active .ps-timeline__dot { background: var(--ps-gold); border-color: var(--ps-gold); color: #fff; }
.ps-timeline__body { display: flex; flex-direction: column; gap: 3px; padding-top: 5px; }
.ps-timeline__lbl { font-size: 15px; font-weight: 600; color: var(--ps-muted); }
.ps-timeline__item.is-done .ps-timeline__lbl, .ps-timeline__item.is-active .ps-timeline__lbl { color: var(--ps-ink); }
.ps-timeline__date { font-size: 12.5px; color: var(--ps-muted); }
.ps-timeline__note { display: inline-block; margin-top: 6px; background: var(--ps-cream); border-radius: 8px; padding: 8px 12px; font-size: 12.5px; color: var(--ps-body); }

.ps-track__items { list-style: none; margin: 0; padding: 0; }
.ps-track__items .ps-cartitem:last-child { border-bottom: 0; padding-bottom: 0; }

/* Sidebar */
.ps-track__side { display: flex; flex-direction: column; gap: 16px; }
.ps-track__box { padding: 20px 22px; }
.ps-track__btitle { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ps-ink); margin: 0 0 14px; }
.ps-track__btitle svg { width: 16px; height: 16px; color: var(--ps-gold); }
.ps-track__addr { font-style: normal; font-size: 13.5px; line-height: 1.6; color: var(--ps-body); }
.ps-track__addr strong { display: block; color: var(--ps-ink); font-size: 14.5px; margin-bottom: 2px; }
.ps-track__addr span { display: block; }
.ps-track__pay { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ps-track__paym { font-size: 14px; font-weight: 600; color: var(--ps-ink); }
.ps-track__paystatus { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ps-muted); }
.ps-track__paystatus.is-paid { color: #4c8a4c; }
.ps-track__paystatus svg { width: 14px; height: 14px; }
.ps-track__box .ps-recap__total { padding: 14px 0 0; }
.ps-track__actions { display: flex; flex-direction: column; gap: 10px; }
.ps-track__actions .ps-btn-block { height: 46px; font-size: 13.5px; }
.ps-track__actions .ps-btn-gold svg, .ps-track__actions .ps-btn-outline svg { width: 16px; height: 16px; }
.ps-track__notify { display: flex; align-items: flex-start; gap: 10px; background: rgba(107,112,79,.12); border-radius: 12px; padding: 14px 16px; font-size: 12.5px; line-height: 1.5; color: var(--ps-body); margin: 0; }
.ps-track__notify svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--ps-olive); margin-top: 1px; }

@media (max-width: 991px) {
  .ps-track__layout { grid-template-columns: 1fr; }
  .ps-track__head { flex-direction: column; }
  .ps-track__head-aside { text-align: left; }
}



