[x-cloak] {
  display: none !important;
}

.co-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Stepper ---------- */
.co-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 560px;
  margin: 0 auto 38px;
}
.co-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  width: 96px;
  text-align: center;
}
.co-step-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 1rem;
  background: #fff;
  color: var(--muted);
  border: 1.5px solid var(--line);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.co-step-dot svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.co-step-label {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.co-step.is-active .co-step-dot {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(8, 45, 115, 0.22);
}
.co-step.is-active .co-step-label {
  color: var(--ink);
}
.co-step.is-done .co-step-dot {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--blue-deep);
}
.co-step-bar {
  flex: 1 1 auto;
  height: 1.5px;
  background: var(--line);
  margin-top: 21px;
  min-width: 18px;
  max-width: 70px;
}
.co-step-bar.is-done {
  background: var(--yellow);
}

/* ---------- Grille contenu + récap ---------- */
.co-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: start;
}
.co-grid > * {
  min-width: 0;
}
@media (max-width: 880px) {
  .co-grid {
    grid-template-columns: 1fr;
  }
}

.co-panel {
  /* Enfant de grille : sans min-width:0, un contenu insécable élargit toute la page (header décalé). */
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 18px 44px rgba(8, 45, 115, 0.06);
}
.co-panel-head {
  margin: 0 0 20px;
}
.co-panel-head h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
}
.co-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- Récap (étape 1) ---------- */
.co-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.co-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.co-line:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.co-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--band);
  display: grid;
  place-items: center;
}
.co-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.co-thumb .card-media-empty {
  width: 34px;
  height: 34px;
  opacity: 0.4;
}
.co-line-info {
  min-width: 0;
}
.co-line-name {
  font-weight: 500;
  color: var(--ink);
  font-size: 1rem;
}
.co-line-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 2px;
}
.co-line-unit {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}
.co-line-remove {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  background: none;
  border: 0;
  color: #c0392b;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}
.co-line-remove svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.co-line-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.co-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.co-qty button {
  width: 34px;
  height: 34px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.co-qty button:hover {
  background: var(--band);
}
.co-qty span {
  min-width: 34px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}
.co-line-price {
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}

/* ---------- Formulaire (étape 2) ---------- */
.co-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.co-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.co-field.co-span {
  grid-column: 1 / -1;
}
@media (max-width: 560px) {
  .co-form {
    grid-template-columns: 1fr;
  }
}
.co-field label {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.co-field label .req {
  color: var(--blue);
}
.co-field input,
.co-field select,
.co-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 13px;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.co-field textarea {
  min-height: 90px;
  resize: vertical;
}
.co-field input:focus,
.co-field select:focus,
.co-field textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 82, 183, 0.12);
}
.co-field select:disabled {
  background: var(--band);
  color: var(--muted);
  cursor: not-allowed;
}
.co-phone {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.co-phone-code {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--band);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.co-phone input {
  flex: 1;
}
.co-field-err {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: #c0392b;
}
.co-field input[aria-invalid="true"] {
  border-color: #c0392b;
}
.co-hint {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--band);
  border-radius: 10px;
  padding: 10px 12px;
}
.co-hint svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
}

/* ---------- Bandeau « reconnu » (session) ---------- */
.co-recognized {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #eef8f0;
  border: 1px solid #c3e6cb;
  border-radius: 12px;
}
.co-recognized-ic {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1f9d55;
  display: grid;
  place-items: center;
}
.co-recognized-ic svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.co-recognized-txt {
  flex: 1;
  font-size: 0.9rem;
  color: #2c6b43;
  line-height: 1.45;
}
.co-recognized-txt strong {
  display: block;
  color: #1c5733;
  font-weight: 600;
}
.co-recognized-out {
  flex: 0 0 auto;
  align-self: center;
  background: none;
  border: 0;
  color: var(--blue);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
}

/* ---------- Détail TTC (étape 3) ---------- */
.co-pay-total {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--band);
  border-radius: 12px;
}
.co-pt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.co-pt-row span:last-child {
  color: var(--ink);
  font-weight: 500;
}
.co-pt-grand {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.05rem;
}
.co-pt-grand span {
  font-weight: 700 !important;
}
.co-pt-grand span:last-child {
  font-size: 1.2rem;
  color: var(--blue);
}

/* ---------- Paiement (étape 3) ---------- */
.co-pay-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.co-pay {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.co-pay:hover {
  border-color: #b9c8e4;
}
.co-pay.is-sel {
  border-color: var(--blue);
  background: #f4f8ff;
}
.co-pay input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.co-pay-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease;
}
.co-pay.is-sel .co-pay-radio {
  border-color: var(--blue);
}
.co-pay.is-sel .co-pay-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}
.co-pay-ic {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--band);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.co-pay-ic svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.co-pay-copy {
  min-width: 0;
}
.co-pay-copy strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
}
.co-pay-copy span {
  color: var(--muted);
  font-size: 0.86rem;
}

.co-wallets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 14px 0 2px;
  padding: 14px;
  background: var(--band);
  border-radius: 12px;
}
@media (max-width: 520px) {
  .co-wallets {
    grid-template-columns: repeat(2, 1fr);
  }
}
.co-wallet {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 8px;
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.co-wallet img {
  height: 26px;
  width: auto;
  object-fit: contain;
}
.co-wallet span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}
.co-wallet.is-sel {
  border-color: var(--blue);
  box-shadow: 0 6px 16px rgba(8, 45, 115, 0.12);
}
.co-wallet.is-sel span {
  color: var(--ink);
}

/* ---------- Actions bas de panel ---------- */
.co-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}
.co-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 12px;
  padding: 14px 22px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.co-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.co-btn-primary {
  flex: 1;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(8, 45, 115, 0.26);
}
.co-btn-primary:hover {
  background: var(--blue-ink);
}
.co-btn-primary:active {
  transform: scale(0.99);
}
.co-btn-primary:disabled {
  background: #9fb2d4;
  box-shadow: none;
  cursor: not-allowed;
}
.co-btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
/* Mobile : « Retour » réduit à sa flèche pour laisser toute la place au bouton principal. */
@media (max-width: 480px) {
  .co-actions .co-btn {
    padding-left: 16px;
    padding-right: 16px;
  }
  .co-btn-back span {
    display: none;
  }
}
.co-btn-ghost:hover {
  background: var(--band);
}

/* Hors Côte d'Ivoire : encadré « contactez le support » à la place des moyens de paiement */
.co-foreign {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
  background: #f4f8ff;
  border: 1px solid rgba(19, 82, 183, 0.18);
  color: var(--ink);
}
.co-foreign svg {
  width: 26px;
  height: 26px;
  flex: none;
  margin-top: 2px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.co-foreign strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}
.co-foreign p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
a.co-btn {
  text-decoration: none;
}
/* Montant d'un bouton gardé sur une ligne (« 6 090 F » ne se coupe pas). */
.co-nowrap {
  white-space: nowrap;
}
.co-error {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  padding: 12px 14px;
  background: #fdecea;
  border: 1px solid #f5c6c0;
  border-radius: 11px;
  color: #a33025;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.co-error svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
/* Dans la modale OTP : espace le message (rate-limit, code incorrect…) du bouton. */
.co-otp .co-error {
  margin-bottom: 18px;
}

/* ---------- Récap latéral ---------- */
.co-summary {
  position: sticky;
  top: 94px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(8, 45, 115, 0.06);
}
.co-summary h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--ink);
}
.co-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.co-sum-row strong {
  color: var(--ink);
  font-weight: 600;
}
.co-sum-total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
  color: var(--ink);
}
.co-sum-total strong {
  font-size: 1.25rem;
}
.co-sum-note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}
.co-sum-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  max-height: 210px;
  overflow: auto;
}
.co-sum-mini-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--muted);
}
.co-sum-mini-line span:first-child {
  color: var(--ink);
}

/* ---------- Vide ---------- */
.co-empty {
  text-align: center;
  padding: 40px 20px;
}
.co-empty svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
  opacity: 0.5;
  margin-bottom: 14px;
}
.co-empty h2 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}
.co-empty p {
  color: var(--muted);
  margin: 0 0 20px;
}

/* ---------- Modale OTP ---------- */
.co-otp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(8, 24, 56, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.co-otp {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 30px 70px rgba(8, 45, 115, 0.33);
  text-align: center;
}
.co-otp-ic {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #f4f8ff;
  display: grid;
  place-items: center;
}
.co-otp-ic svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.co-otp h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}
.co-otp p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 18px;
  line-height: 1.55;
}
.co-otp-phone {
  color: var(--ink);
  font-weight: 600;
}
.co-otp-code {
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.4em;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}
.co-otp-code:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 82, 183, 0.12);
}
.co-otp-resend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}
.co-otp-resend button {
  background: none;
  border: 0;
  color: var(--blue);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.co-otp-resend button:disabled {
  color: var(--muted);
  cursor: default;
}
.co-otp-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Modale « Voir nos frais de livraison » (récap) ---------- */
.co-top-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.co-top-links .co-guide-link {
  margin: 0;
}
.co-fees-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  text-decoration: none;
}
.co-fees-link:hover {
  color: #0d3f98;
  text-decoration: underline;
}
.co-fees-link svg {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.co-otp.co-fees {
  max-width: 460px;
  text-align: left;
}
.co-fees h3 {
  padding-right: 28px;
}
.co-fees-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.co-fees-result {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f4f8ff;
  color: var(--muted);
  font-size: 0.92rem;
}
.co-fees-result > div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
}
.co-fees-result strong {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blue);
}
.co-fees-result.is-known {
  background: #eef3fb;
  box-shadow: inset 0 0 0 1.5px rgba(19, 82, 183, 0.25);
}
.co-otp p.co-fees-note {
  margin: 10px 0 18px;
  font-size: 0.8rem;
}

/* ---------- Écran résultat ---------- */
.co-result {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: linear-gradient(170deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(env(safe-area-inset-top, 0px) + 24px) 22px calc(env(safe-area-inset-bottom, 0px) + 24px);
  text-align: center;
}
.co-result-in {
  width: 100%;
  max-width: 440px;
}
.co-result-badge {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid rgba(255, 255, 255, 0.5);
}
.co-result-badge svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.co-result-badge.is-ok {
  border-color: var(--yellow);
}
.co-result-badge.is-ok svg {
  stroke: var(--yellow);
}
.co-result-badge.is-err {
  border-color: #ffd0d0;
}
.co-result-badge.is-err svg {
  stroke: #ffd0d0;
}
.co-result-badge.is-wait svg {
  stroke: #fff;
}
.co-spinner {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--yellow);
  animation: co-spin 0.9s linear infinite;
}
@keyframes co-spin {
  to {
    transform: rotate(360deg);
  }
}
.co-result h1 {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0 0 12px;
}
.co-result p {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}
.co-result-code {
  display: inline-block;
  margin: 10px 0 4px;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.co-result-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}
.co-result-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 18px;
  border-radius: 13px;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.co-result-btn.is-primary {
  background: var(--yellow);
  color: var(--blue-deep);
}
.co-result-btn.is-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.co-result-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ===== Paiement en boutique (PAY_IN_STORE) ===== */
.co-pt-note {
  margin: 10px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}
.co-pickup {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 18px auto;
  max-width: 440px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--band);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink);
}
.co-pickup strong {
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.co-result .co-pickup {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.co-result p strong {
  color: #fff;
}
/* Sous-titre de l'écran final (« Payez à la livraison », « Payez en boutique »…) */
.co-result p.co-result-sub {
  margin: -6px 0 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}

/* ===== Combobox recherche (pays / ville / commune) ===== */
.co-combo {
  position: relative;
}
.co-field .co-combo-input {
  padding-right: 40px;
  cursor: text;
}
.co-field .co-combo-input:disabled {
  background: var(--band);
  color: var(--muted);
  cursor: not-allowed;
}
.co-combo-caret {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s ease, margin-top 0.2s ease;
}
.co-combo.is-open .co-combo-caret {
  transform: rotate(-135deg);
  margin-top: -2px;
}
.co-combo-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 14px 34px rgba(8, 45, 115, 0.14);
  overscroll-behavior: contain;
}
.co-combo-list li {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
}
.co-combo-list li.is-hi {
  background: var(--band);
}
.co-combo-list li.is-sel {
  color: var(--blue);
  font-weight: 600;
}
.co-combo-list li.co-combo-empty {
  color: var(--muted);
  cursor: default;
  background: none;
}

/* ---------- Choix avant l'OTP : valider le numéro ou continuer sans code (guest) ---------- */
.co-choice-opt {
  display: block;
  width: 100%;
  text-align: left;
  font-family: inherit;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.co-choice-opt:hover,
.co-choice-opt:focus-visible {
  border-color: var(--blue);
  outline: 0;
}
.co-choice-opt.is-main {
  border-color: var(--blue);
  background: #f4f8ff;
}
.co-choice-opt strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.co-choice-opt.is-main strong {
  color: var(--blue);
}
.co-choice-opt span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}
.co-otp-skip {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Étape paiement : commande sans validation du numéro ---------- */
.co-guest {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--band);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}
.co-guest svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
}
.co-guest p {
  margin: 0 0 6px;
  line-height: 1.5;
}
.co-guest button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--blue);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

/* Fenêtre de choix : intro + numéro concerné */
.co-otp.co-choice {
  max-width: 440px;
}
.co-otp.co-choice h3 {
  margin-bottom: 10px;
}
.co-otp p.co-choice-intro {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 14px;
}
.co-otp p.co-choice-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #f4f8ff;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.co-choice-phone svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.co-choice-opts {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.co-choice-opts .co-choice-opt:first-child {
  margin-top: 12px;
}
/* Options : flèche à droite, survol en relief, pastille jaune « Recommandé » (charte). */
.co-choice-opt {
  position: relative;
  padding-right: 46px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.co-choice-opt::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  color: var(--muted);
  transform: translateY(-50%) rotate(45deg);
  transition: right 0.2s, color 0.2s;
}
.co-choice-opt.is-main::after {
  color: var(--blue);
}
.co-choice-opt:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(19, 82, 183, 0.12);
}
.co-choice-opt:hover::after {
  right: 14px;
  color: var(--blue);
}
.co-choice-opt.is-main strong::after {
  content: "Recommandé";
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
}
@media (max-width: 480px) {
  .co-otp.co-choice {
    padding: 24px 18px;
  }
  .co-choice-opt.is-main strong::after {
    display: table;
    margin: 6px 0 2px;
  }
}
