/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--surface-0); color: var(--text-1); min-height: 100vh; -webkit-text-size-adjust: 100%; }

/* ── Header ── */
.co-header {
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--t-space-5);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
}
.co-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.co-logo img { width: 32px; height: 32px; border-radius: var(--t-radius-md); object-fit: contain; }
.co-logo-text { font-size: var(--t-font-md); font-weight: 700; line-height: 1.2; }
.co-logo-sub { font-size: var(--t-font-xs); font-weight: 500; color: var(--text-3); }
.co-back { font-size: var(--t-font-md); color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 4px; font-weight: 500; }
.co-back:hover { text-decoration: underline; }

/* ── Progress bar ── */
.co-progress { background: var(--surface-1); border-bottom: 1px solid var(--border); padding: 14px 20px; display: flex; align-items: center; justify-content: center; gap: 0; }
.co-step { display: flex; align-items: center; gap: 8px; font-size: var(--t-font-sm); font-weight: 600; color: var(--text-3); transition: color .2s; cursor: pointer; white-space: nowrap; }
.co-step.is-active { color: var(--primary); }
.co-step.is-done { color: var(--success); }
.co-step-num {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--t-font-xs); font-weight: 700;
  background: var(--surface-2); color: var(--text-3);
  transition: all .2s;
}
.co-step.is-active .co-step-num { background: var(--primary); color: var(--t-color-on-primary); }
.co-step.is-done .co-step-num { background: var(--success); color: var(--t-color-on-primary); }
.co-step-divider { width: 40px; height: 2px; background: var(--border); margin: 0 8px; flex-shrink: 0; }
.co-step-divider.is-done { background: var(--success); }

/* ── Layout ── */
.co-layout {
  max-width: 1060px; margin: 0 auto; padding: 24px 20px 100px;
  display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start;
}

/* ── Card ── */
.co-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--t-radius-lg);
  overflow: hidden;
}
.co-card-head {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  font-size: var(--t-font-md); font-weight: 700; color: var(--text-1);
  display: flex; align-items: center; gap: 8px;
}
.co-card-body { padding: 20px; }

/* ── Step panels ── */
.co-panel { display: none; }
.co-panel.is-active { display: block; }

/* ── Form ── */
.co-section-title {
  font-size: var(--t-font-xs); font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .06em; margin: 20px 0 10px;
}
.co-section-title:first-child { margin-top: 0; }
.co-field { margin-bottom: 14px; }
.co-field label { display: block; font-size: var(--t-font-sm); font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
.co-field input, .co-field select, .co-field textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: var(--t-radius-md);
  font-size: var(--t-font-md); font-family: inherit; color: var(--text-1); background: var(--surface-1);
  transition: border-color .15s, box-shadow .15s;
}
.co-field input:focus, .co-field select:focus, .co-field textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px var(--t-color-primary-ring, rgba(26,86,219,.12));
}
.co-field textarea { min-height: 72px; resize: vertical; }
.co-field .field-error { color: var(--error); font-size: var(--t-font-xs); display: block; margin-top: 3px; min-height: 0; }
.co-field.has-error input { border-color: var(--error); }

.co-row { display: grid; gap: 12px; }
.co-row.cols-2 { grid-template-columns: 1fr 1fr; }
.co-row.cols-3-1 { grid-template-columns: 3fr 1fr; }

/* ── CUI lookup ── */
.co-cui-row { display: flex; gap: 8px; align-items: flex-end; margin-bottom: 8px; }
.co-cui-row .co-field { flex: 1; margin-bottom: 0; }
.co-cui-btn {
  height: 42px; padding: 0 16px;
  background: var(--primary); color: var(--t-color-on-primary); border: none; border-radius: var(--t-radius-md);
  font-size: var(--t-font-md); font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background .15s;
}
.co-cui-btn:hover:not(:disabled) { background: var(--primary-hover); }
.co-cui-btn:disabled { opacity: .6; cursor: default; }
.co-cui-status { font-size: var(--t-font-sm); color: var(--text-3); min-height: 18px; margin-bottom: 8px; }
.co-cui-badge {
  display: none; align-items: center; gap: 5px;
  font-size: var(--t-font-xs); font-weight: 600; padding: 3px 10px; border-radius: var(--t-radius-full);
  background: var(--t-color-success-light); color: var(--t-color-success); margin-bottom: 10px;
}

/* ── Delivery toggle ── */
.co-checkbox-row { display: flex; align-items: center; gap: 8px; margin: 16px 0 8px; cursor: pointer; }
.co-checkbox-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.co-checkbox-row span { font-size: var(--t-font-md); font-weight: 500; }
.co-delivery-section { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.co-delivery-section.visible { max-height: 700px; }

/* ── Primary CTA (Plasează comanda + legacy step-nav) ──
   Phase 66: rescoped from `.co-step-actions .btn-next` → standalone, pentru
   că phase 64 a colapsat wrapperul `.co-step-actions` din jurul butonului de
   submit. `.co-step-actions` rămâne ca fallback pentru orice navigație de
   paşi reintrodusă în viitor. */
.co-step-actions { display: flex; gap: 10px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); }
.btn-next {
  width: 100%; padding: 13px 20px;
  background: var(--primary); color: var(--t-color-on-primary); border: none; border-radius: var(--t-radius-md);
  font-size: var(--t-font-md); font-weight: 700; cursor: pointer; transition: background .15s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.co-step-actions .btn-next { flex: 1; width: auto; }
.btn-next:hover:not(:disabled) { background: var(--primary-hover); }
.btn-next:disabled { opacity: .6; cursor: default; }
.co-step-actions .btn-back {
  padding: 13px 20px;
  background: transparent; color: var(--text-2); border: 1px solid var(--border); border-radius: var(--t-radius-md);
  font-size: var(--t-font-md); font-weight: 600; cursor: pointer; transition: border-color .15s;
}
.co-step-actions .btn-back:hover { border-color: var(--text-3); }

/* ── Cart summary (sidebar) ── */
.co-summary-wrap { position: sticky; top: 80px; max-height: calc(100vh - 100px); display: flex; flex-direction: column; }
.co-summary-wrap .co-card { display: flex; flex-direction: column; max-height: calc(100vh - 100px); }
.co-summary-wrap .co-card-body { overflow-y: auto; flex: 1; min-height: 0; }
.co-cart-group { margin-bottom: 14px; }
.co-cart-group:last-child { margin-bottom: 0; }
.co-supplier-label { font-size: var(--t-font-xs); font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.co-cart-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.co-cart-item:last-child { border-bottom: none; }
.co-item-num { flex-shrink: 0; min-width: 22px; font-size: var(--t-font-sm); font-weight: 700; color: var(--text-3); line-height: 1.3; padding-top: 1px; font-variant-numeric: tabular-nums; }
.co-item-info { flex: 1; min-width: 0; }
.co-item-name { font-size: var(--t-font-sm); font-weight: 600; line-height: 1.3; }
.co-item-meta { font-size: var(--t-font-xs); color: var(--text-3); }
.co-item-price { font-size: var(--t-font-sm); font-weight: 600; color: var(--primary); white-space: nowrap; }
/* Pin totals to the bottom of the scrolling card body so Subtotal/TVA/Total
   stay visible while the items list scrolls above. Negative horizontal margin
   bleeds the footer to the full card width (covering the 20px card-body
   padding) so scrolling items can't peek alongside it. Soft top shadow + hard
   border separate it visually from the scrolling content. */
.co-totals {
  position: sticky;
  bottom: -20px;
  margin: 10px -20px -20px;
  padding: 12px 20px 16px;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  box-shadow: var(--t-shadow-totals, 0 -8px 12px -8px rgba(15, 23, 42, 0.08));
  z-index: 1;
}
.co-total-row { display: flex; justify-content: space-between; font-size: var(--t-font-sm); margin-bottom: 4px; color: var(--text-2); }
.co-total-row.grand { font-size: var(--t-font-lg); font-weight: 700; color: var(--text-1); margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border); }
.co-total-row.co-total-discount { color: var(--success); font-weight: 600; }
.co-total-row.co-total-tier { color: var(--brand); font-weight: 600; }
.co-shipping-hint { color: var(--text-3); font-weight: 400; font-size: var(--t-font-xs); margin-left: 4px; }

/* Phase 81ai: voucher input + applied state. Mirror style cu inputurile
   din checkout. */
.co-voucher {
  margin: 12px 0 4px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--t-radius-md);
}
.co-voucher-label {
  display: block;
  font-size: var(--t-font-xs);
  color: var(--text-3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.co-voucher-row {
  display: flex;
  gap: 8px;
}
.co-voucher-input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--t-radius-sm);
  font-size: var(--t-font-md);
  background: var(--surface-1);
  color: var(--text-1);
  text-transform: uppercase;
}
.co-voucher-input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.co-voucher-apply {
  padding: 8px 14px;
  background: var(--primary);
  color: var(--t-color-on-primary);
  border: none;
  border-radius: var(--t-radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-size: var(--t-font-sm);
}
.co-voucher-apply:hover { filter: brightness(0.95); }
.co-voucher-apply:disabled { opacity: 0.5; cursor: wait; }
.co-voucher-error {
  margin-top: 6px;
  font-size: var(--t-font-xs);
  color: var(--danger);
  line-height: 1.5;
}
.co-voucher-error[hidden] { display: none; }
.co-voucher-error-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
}
.co-voucher-error-link:hover { text-decoration: none; }
.co-voucher-applied {
  display: flex;
  align-items: center;
  gap: 10px;
}
.co-voucher-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--success);
  color: var(--t-color-on-primary);
  font-weight: 700;
  flex-shrink: 0;
}
.co-voucher-info {
  flex: 1;
  min-width: 0;
}
.co-voucher-code {
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: 0.02em;
}
.co-voucher-desc {
  font-size: var(--t-font-xs);
  color: var(--text-3);
}
.co-voucher-remove {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: var(--t-font-lg);
  cursor: pointer;
  padding: 4px 8px;
  flex-shrink: 0;
}
.co-voucher-remove:hover { color: var(--danger); }

/* ── Wallet voucher picker (phase 81au) ── */
.co-wallet {
  margin: 12px 0 4px;
}
.co-wallet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.co-wallet-title {
  font-size: var(--t-font-sm);
  font-weight: 700;
  color: var(--text-1);
}
.co-wallet-count {
  font-size: var(--t-font-xs);
  color: var(--text-3);
  font-weight: 500;
}
.co-wallet-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.co-wallet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--t-radius-md);
  transition: border-color 0.15s;
}
.co-wallet-item:hover {
  border-color: var(--primary);
}
.co-wallet-item--disabled {
  opacity: 0.55;
  pointer-events: none;
}
.co-wallet-item-main {
  flex: 1;
  min-width: 0;
}
.co-wallet-item-desc {
  font-size: var(--t-font-sm);
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.4;
}
.co-wallet-item-val {
  font-size: var(--t-font-xs);
  color: var(--text-3);
  margin-top: 2px;
}
.co-wallet-item-exp {
  color: var(--text-3);
}
.co-wallet-item-save {
  font-size: var(--t-font-xs);
  font-weight: 600;
  color: var(--success);
  margin-top: 2px;
}
.co-wallet-item-ineligible {
  font-size: var(--t-font-xs);
  color: var(--danger);
  margin-top: 2px;
}
.co-wallet-apply {
  padding: 6px 14px;
  background: var(--primary);
  color: var(--t-color-on-primary);
  border: none;
  border-radius: var(--t-radius-sm);
  font-weight: 600;
  font-size: var(--t-font-xs);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.co-wallet-apply:hover { filter: brightness(0.95); }

/* Manual code toggle (when wallet is visible) */
.co-voucher-toggle {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--primary);
  font-size: var(--t-font-sm);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  padding: 10px 0 2px;
}
.co-voucher-toggle:hover { text-decoration: underline; }
.co-voucher-manual-inner {
  margin-top: 8px;
}
.co-voucher-manual-inner[hidden] { display: none; }

/* ── Review step ── */
.co-review-section { margin-bottom: 16px; }
.co-review-title { font-size: var(--t-font-xs); font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.co-review-title button { font-size: var(--t-font-xs); color: var(--primary); background: none; border: none; cursor: pointer; font-weight: 600; }
.co-review-title button:hover { text-decoration: underline; }
.co-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; font-size: var(--t-font-md); }
.co-review-label { color: var(--text-3); font-size: var(--t-font-sm); }
.co-review-value { font-weight: 500; }

/* ── Empty cart ── */
.co-empty { text-align: center; padding: 60px 20px; }
.co-empty-icon { font-size: var(--t-font-4xl); margin-bottom: 12px; opacity: .5; }
.co-empty p { color: var(--text-3); font-size: var(--t-font-md); margin-bottom: 16px; }

/* ── Success ── */
.co-success { display: none; position: fixed; inset: 0; background: var(--t-color-overlay, rgba(0,0,0,.45)); z-index: 100; align-items: center; justify-content: center; padding: 20px; }
.co-success.open { display: flex; }
.co-success-card {
  background: var(--surface-1); border-radius: var(--t-radius-xl);
  padding: 40px 28px; max-width: 460px; width: 100%; text-align: center;
  box-shadow: var(--t-shadow-xl);
}
.co-success-icon { width: 56px; height: 56px; margin: 0 auto 16px; background: var(--t-color-success-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.co-success-icon svg { width: 28px; height: 28px; stroke: var(--success); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.co-success-title { font-size: var(--t-font-2xl); font-weight: 700; margin-bottom: 8px; }
.co-success-msg { font-size: var(--t-font-md); color: var(--text-2); margin-bottom: 20px; line-height: 1.5; }
.co-success-orders { text-align: left; margin-bottom: 20px; }
.co-success-order-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.co-success-order-row:last-child { border-bottom: none; }
.co-success-order-supplier { font-size: var(--t-font-xs); color: var(--text-3); }
.co-success-order-number { font-size: var(--t-font-md); font-weight: 600; margin-top: 2px; }
.co-success-total { font-size: var(--t-font-md); font-weight: 700; color: var(--primary); align-self: center; }
.co-back-btn { display: inline-block; padding: 12px 28px; background: var(--primary); color: var(--t-color-on-primary); border-radius: var(--t-radius-md); text-decoration: none; font-weight: 700; font-size: var(--t-font-md); }
.co-back-btn:hover { background: var(--primary-hover); }

/* ── Toast ── */
.co-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--text-1); color: var(--t-color-on-primary); padding: 12px 20px;
  border-radius: var(--t-radius-md); font-size: var(--t-font-md); font-weight: 500;
  z-index: 200; opacity: 0; transition: all .25s; pointer-events: none; max-width: 90vw; white-space: nowrap;
}
.co-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.co-toast.error { background: var(--error); }

/* ── Mobile sticky CTA ── */
.co-mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 15;
  background: var(--surface-1); border-top: 1px solid var(--border);
  padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.co-mobile-cta .co-mobile-total { display: flex; justify-content: space-between; font-size: var(--t-font-md); font-weight: 700; margin-bottom: 8px; }
.co-mobile-cta button {
  width: 100%; padding: 14px; background: var(--primary); color: var(--t-color-on-primary); border: none;
  border-radius: var(--t-radius-md); font-size: var(--t-font-lg); font-weight: 700; cursor: pointer;
}
.co-mobile-cta button:disabled { opacity: .6; cursor: default; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .co-layout { grid-template-columns: 1fr; padding: 16px 16px 140px; gap: 16px; }
  .co-summary-wrap { position: static; }
  .co-row.cols-2, .co-row.cols-3-1 { grid-template-columns: 1fr; }
  /* iOS form-zoom prevention requires ≥16px; keep literal (outside token scale by design). */
  .co-field input, .co-field select, .co-field textarea { font-size: 16px; padding: 12px; }
  .co-cui-btn { height: 46px; }
  .co-mobile-cta { display: block; }
  .co-progress { padding: 10px 12px; overflow-x: auto; }
  .co-step { font-size: var(--t-font-xs); }
  .co-step-divider { width: 20px; margin: 0 4px; }
  .co-back { display: none; }
}
@media (max-width: 480px) {
  .co-step-label { display: none; }
  .co-step-num { width: 28px; height: 28px; font-size: var(--t-font-sm); }
  .co-step-divider { width: 24px; }
}

/* Helpers moved from inline style attributes — phase 38d */
.co-fine-print { font-size: var(--t-font-xs); color: var(--text-3); margin-top: 12px; text-align: center; line-height: 1.5; }
.co-loading-note { color: var(--text-3); font-size: var(--t-font-md); }
.co-shipping-free { color: var(--success); font-weight: 600; }
.co-obs-text { font-size: var(--t-font-md); color: var(--text-2); line-height: 1.5; }

/* Skip-link — aligns with design-tokens.css .skip-link behavior */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--primary); color: var(--t-color-on-primary);
  padding: 8px 16px; z-index: 100;
  font-size: var(--t-font-md); text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }
.co-hidden { display: none; }

/* ── Phase 64: single-page checkout additions ── */

/* Signin banner (guest only) */
.co-signin-banner {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--t-radius-lg);
  padding: var(--t-space-4) var(--t-space-5);
  margin-bottom: var(--t-space-5);
  display: flex; align-items: center; gap: var(--t-space-4); flex-wrap: wrap;
}
.co-signin-banner[hidden] { display: none; }
.co-signin-banner svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; }
.co-signin-banner-text { flex: 1; min-width: 200px; font-size: var(--t-font-md); color: var(--text-2); line-height: 1.45; }
.co-signin-banner-text strong { color: var(--text-1); font-weight: 600; }
.co-signin-banner-link {
  color: var(--brand); font-weight: 600; font-size: var(--t-font-md);
  text-decoration: none; padding: var(--t-space-3) var(--t-space-4);
  border-radius: var(--t-radius-sm);
}
.co-signin-banner-link:hover { background: var(--brand-50); text-decoration: underline; }
.co-signin-banner-link--muted { color: var(--text-2); font-weight: 500; }

/* Logged-in banner (UX-108, phase 66) — positive confirmation pentru buyer autentificat */
.co-logged-banner {
  background: var(--success-50);
  border: 1px solid var(--success-200);
  border-radius: var(--t-radius-lg);
  padding: var(--t-space-4) var(--t-space-5);
  margin-bottom: var(--t-space-5);
  display: flex; align-items: center; gap: var(--t-space-4); flex-wrap: wrap;
}
.co-logged-banner[hidden] { display: none; }
.co-logged-banner-icon {
  color: var(--success-600);
  flex-shrink: 0;
  background: var(--surface);
  border-radius: 999px;
  padding: 2px;
  border: 1px solid var(--success-200);
  width: 24px; height: 24px;
}
.co-logged-banner-text {
  flex: 1; min-width: 200px;
  font-size: var(--t-font-md); color: var(--text-2); line-height: 1.45;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px;
}
.co-logged-banner-text strong { color: var(--success-700); font-weight: 700; }
.co-logged-banner-text #coLoggedBannerWho { color: var(--text-1); font-weight: 500; }
.co-logged-banner-link {
  color: var(--success-700); font-weight: 600; font-size: var(--t-font-md);
  text-decoration: none; padding: var(--t-space-3) var(--t-space-4);
  border-radius: var(--t-radius-sm);
  background: transparent; border: none; cursor: pointer;
  font-family: inherit;
}
.co-logged-banner-link:hover { background: var(--success-50); text-decoration: underline; }
.co-logged-banner-link--muted { color: var(--text-2); font-weight: 500; }

/* Saved-address picker (auth only) */
.co-saved-picker {
  padding: var(--t-space-3) var(--t-space-4);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  border-radius: var(--t-radius-md);
  margin-bottom: var(--t-space-4);
  display: flex; align-items: center; gap: var(--t-space-4);
  font-size: var(--t-font-md); flex-wrap: wrap;
}
.co-saved-picker[hidden] { display: none; }
.co-saved-picker svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }
.co-saved-picker label { font-weight: 500; color: var(--text-2); }
.co-saved-picker select {
  flex: 1; min-width: 180px; padding: var(--t-space-3) var(--t-space-4);
  border: 1px solid var(--border);
  background: var(--surface-1); border-radius: var(--t-radius-sm);
  font: inherit; color: var(--text-1);
  font-weight: 500; cursor: pointer;
}

/* Save-new-address row (auth, inline) */
.co-save-addr-row[hidden] { display: none; }
.co-dup-addr-notice {
  font-size: var(--t-font-sm); color: var(--text-3);
  padding: var(--t-space-3) 0 0;
  display: flex; align-items: center; gap: var(--t-space-2);
}
.co-dup-addr-notice[hidden] { display: none; }
.co-dup-addr-notice svg { color: var(--success); }

/* Phase 66: `.co-save-account-card` eliminat — checkbox-ul „Salvează datele în
   contul meu" nu era niciodată citit de checkout.js, promisiunea era falsă.
   Buyerii sunt redirectați către `/cont/inregistrare/` via signin banner;
   trigger-ul server-side `backfill_orders_on_profile_email` atașează comenzile
   guest existente după signup. */
