/* =====================================================================
   BYITALY STORE - checkout.css
   Checkout, carrello e account: SOLO armonizzazione cromatica
   ---------------------------------------------------------------------
   Tema:   byitaly (child di Classic) - PrestaShop 8.2.6
   Autore: Francesco Fiore - www.fiorefrancesco.com - Licenza MIT
   NOTA DI TRASPARENZA: checkout, carrello e area cliente NON sono
   nelle immagini fornite (dichiarato in ANALISI.md). Regola
   confermata dal cliente: layout Classic ORIGINALE. Qui solo
   armonizzazione via token: font (già globale da variables.css),
   colori step, bordi card, totali. I bottoni sono già rimappati in
   variables.css §4. Zero modifiche strutturali = zero rischi sul
   flusso di conversione.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. CHECKOUT
--------------------------------------------------------------------- */
/* Step: numeri e titoli in navy, corrente in bold */
#checkout .checkout-step .step-number { color: var(--ff-navy); font-weight: 700; }
#checkout .checkout-step .step-title  { color: var(--ff-navy); font-family: var(--ff-font); }
#checkout .checkout-step.-current .step-title { font-weight: 700; }

/* Card step e riepilogo: bordi/radius coerenti coi token */
#checkout section.checkout-step,
#checkout #js-checkout-summary {
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  box-shadow: var(--ff-shadow-sm);
}

/* Totale ordine in navy bold */
#checkout .cart-summary-line.cart-total .label,
#checkout .cart-summary-line.cart-total .value,
.cart-summary-line.cart-total { color: var(--ff-navy); font-weight: 700; }

/* Input del checkout: stesso focus ring del form contatti (coerenza) */
#checkout input:focus, #checkout select:focus {
  border-color: var(--ff-navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.10);
  outline: none;
}

/* ---------------------------------------------------------------------
   2. CARRELLO
--------------------------------------------------------------------- */
#cart .product-line-info .product-price { color: var(--ff-navy); font-weight: 700; }
#cart .cart-summary,
#cart .cart-container {
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  box-shadow: var(--ff-shadow-sm);
}

/* ---------------------------------------------------------------------
   3. AREA CLIENTE
--------------------------------------------------------------------- */
#my-account .link-item {
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  box-shadow: var(--ff-shadow-sm);
  color: var(--ff-navy);
}
#my-account .link-item i { color: var(--ff-navy); }

/* Login/registrazione: card e link coerenti */
#authentication .page-content--authentication,
#authentication #login-form,
#authentication #customer-form {
  font-family: var(--ff-font);
}
#authentication a { color: var(--ff-green); }
#authentication a:hover { color: var(--ff-navy); }
