/* ============================================================
   WooCommerce — stili custom
   Carrello, checkout, account.
   Caricato condizionalmente solo sulle pagine WC.
   ============================================================ */

/* Fix: WC forza max-width sulle img di .woocommerce-page.
   Proteggiamo il logo nav con selettore specifico (no !important). */
.woocommerce-page nav a img {
  height: 2rem;
  width: auto;
  max-width: none;
}

/* Padding-top per compensare la nav fixed.
   Targetta il wrapper del contenuto pagina, non il body. */
.woocommerce-page .pga-page__content {
  padding-top: 10rem;
  padding-bottom: 4rem;
  max-width: 87.5rem;
  /* 1400px — allineato a pga-container */
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Tabella carrello */
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  border: none;
}

.woocommerce table.shop_table th {
  text-align: left;
  padding: 1rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  border: none;
  border-bottom: 2px solid #e2e8f0;
}

.woocommerce table.shop_table td {
  padding: 1.25rem 0.75rem;
  vertical-align: middle;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9375rem;
  color: #1e293b;
}

.woocommerce table.shop_table img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 0.75rem;
}

/* Bottone "Procedi con l'ordine" — override colore WC */
.woocommerce .cart_totals .checkout-button,
.woocommerce .cart_totals a.checkout-button,
.woocommerce-page .cart_totals .checkout-button {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  width: 100%;
}

.woocommerce .cart_totals .checkout-button:hover,
.woocommerce .cart_totals a.checkout-button:hover,
.woocommerce-page .cart_totals .checkout-button:hover {
  background-color: var(--color-cta) !important;
}

/* Totali carrello */
.woocommerce .cart_totals {
  max-width: 400px;
  margin-left: auto;
}

.woocommerce .cart_totals h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td {
  padding: 0.75rem 0;
}

/* Bottoni WC */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .checkout-button {
  display: inline-block;
  background-color: var(--color-primary);
  color: #ffffff !important;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  text-align: center;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .checkout-button:hover {
  background-color: var(--color-cta);
}

/* Link rimuovi prodotto */
.woocommerce a.remove {
  color: #ef4444 !important;
  font-size: 1.25rem;
  text-decoration: none;
}

/* Messaggi WC */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  border: 1px solid;
}

/* Icona WC (::before) — reset posizionamento assoluto di default */
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before {
  position: static;
  float: none;
  flex-shrink: 0;
  margin: 0;
  width: auto;
  height: auto;
}

.woocommerce .woocommerce-message {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.woocommerce .woocommerce-info {
  background-color: #eff6ff;
  border-color: #bfdbfe;
  color: var(--color-primary);
}

.woocommerce .woocommerce-error {
  background-color: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

/* Quantita input */
.woocommerce .quantity input[type="number"] {
  width: 4rem;
  padding: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
}

/* ============================================================
   Carrello — layout migliorato
   ============================================================ */

/* Responsive: tabella carrello su mobile diventa stack */
@media (max-width: 768px) {

  .woocommerce table.shop_table,
  .woocommerce table.shop_table thead,
  .woocommerce table.shop_table tbody,
  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td,
  .woocommerce table.shop_table tr {
    display: block;
  }

  .woocommerce table.shop_table thead {
    display: none;
  }

  .woocommerce table.shop_table td {
    padding: 0.75rem 0;
    border-bottom: none;
    text-align: right;
  }

  .woocommerce table.shop_table td::before {
    content: attr(data-title);
    float: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
  }

  .woocommerce table.shop_table tr {
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 0;
  }

  .woocommerce .cart_totals {
    max-width: 100%;
  }
}

/* Titolo pagine WC (carrello, checkout, account) */
.woocommerce-page .pga-page__content h1:first-child,
.woocommerce-page .pga-page__content .entry-title,
.woocommerce-page .pga-page__content>.woocommerce>h1 {
  font-size: 2.25rem;
  font-weight: 300;
  color: #003DA5;
  letter-spacing: -0.025em;
  margin-bottom: 2.5rem;
}

/* Aggiorna bottone carrello */
.woocommerce button[name="update_cart"] {
  font-size: 0.8125rem;
  padding: 0.875rem 2rem !important;
}

.woocommerce button[name="update_cart"]:disabled {
  background-color: #94a3b8 !important;
  opacity: 0.5 !important;
  cursor: not-allowed;
}

.woocommerce button[name="update_cart"]:disabled:hover {
  background-color: #94a3b8 !important;
}

/* Coupon input */
.woocommerce .coupon input[type="text"] {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  margin-right: 0.5rem;
}

.woocommerce .coupon .button {
  padding: 0.75rem 1.5rem;
  font-size: 0.8125rem;
}

/* Azioni carrello — layout flex */
.woocommerce .cart-collaterals {
  margin-top: 2rem;
}

/* ============================================================
   Checkout — layout two-column
   ============================================================ */

/* Griglia principale checkout */
.pga-checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .pga-checkout-grid {
    grid-template-columns: 7fr 5fr;
    gap: 3rem;
    align-items: start;
  }
}

/* Colonna billing */
.pga-checkout-billing h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #003DA5;
  margin-bottom: 1.5rem;
}

/* Colonna ordine — card sticky */
.pga-checkout-order-inner {
  background-color: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  position: sticky;
  top: 8rem;
}

@media (min-width: 1024px) {
  .pga-checkout-order-inner {
    padding: 2.5rem;
  }
}

/* Override WC form field wrapper (p.form-row) */
.woocommerce form .form-row {
  margin-bottom: 1.25rem;
}

/* Campi affiancati (first/last name) */
.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
  width: 48%;
  display: inline-block;
}

.woocommerce form .form-row-first {
  margin-right: 4%;
}

@media (max-width: 640px) {

  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last {
    width: 100%;
    display: block;
    margin-right: 0;
  }
}

/* Label — stile coerente con wizard iscrizione */
.woocommerce form .form-row label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #003DA5;
  margin-bottom: 0.5rem;
}

/* Asterisco required */
.woocommerce form .form-row label .required {
  color: #ef4444;
}

/* Input/Select/Textarea — stile pill coerente */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 1rem;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  font-weight: 400;
  color: #1e293b;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: none;
  border-color: #00A3E0;
  box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.15);
}

/* Consensi privacy/marketing — radio Sì/No */
.woocommerce form .form-row.pga-consent-field {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid #e2e8f0;
}

.woocommerce form .form-row.pga-consent-field + .form-row.pga-consent-field {
  border-top: none;
  padding-top: 0;
  margin-top: 1.5rem;
}

.woocommerce form .form-row.pga-consent-field > label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.875rem;
  color: #334155;
}

.woocommerce form .form-row.pga-consent-field span {
  display: block;
}

.woocommerce form .form-row.pga-consent-field span input[type="radio"] {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: #003DA5;
  cursor: pointer;
  vertical-align: middle;
  margin: 0 0.5rem 0 1.5rem;
}

.woocommerce form .form-row.pga-consent-field span input[type="radio"]:first-of-type {
  margin-left: 0;
}

.woocommerce form .form-row.pga-consent-field span label {
  display: inline;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1e293b;
  margin: 0;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  vertical-align: middle;
}

.woocommerce form .form-row.pga-consent-field .required {
  display: none;
}

.woocommerce form .form-row.pga-consent-field > label::after {
  content: " *";
  color: #ef4444;
  white-space: nowrap;
}

.woocommerce form .form-row.pga-consent-field .pga-consent-link {
  color: #E8553D;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease;
}

.woocommerce form .form-row.pga-consent-field .pga-consent-link:hover {
  color: #003DA5;
}

.woocommerce form .form-row.pga-consent-field.woocommerce-invalid {
  color: #ef4444;
}

/* Validazione errore */
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select {
  border-color: #ef4444;
}

.woocommerce form .form-row.woocommerce-invalid input.input-text:focus,
.woocommerce form .form-row.woocommerce-invalid select:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Tabella riepilogo ordine nel checkout */
.woocommerce-checkout-review-order-table {
  width: 100%;
  margin-bottom: 1.5rem;
}

.woocommerce-checkout-review-order-table th {
  text-align: left;
  padding: 0.625rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  border-bottom: 2px solid #e2e8f0;
}

.woocommerce-checkout-review-order-table td {
  padding: 0.75rem 0;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9375rem;
  color: #1e293b;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
  font-size: 1.125rem;
  font-weight: 600;
  color: #003DA5;
  border-bottom: none;
  padding-top: 1rem;
}

/* Sezione pagamento */
#payment {
  background: transparent;
  border-radius: 0;
}

#payment .payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

#payment .payment_methods li {
  padding: 1rem 0;
  border-bottom: 1px solid #f1f5f9;
}

#payment .payment_methods li label {
  font-weight: 500;
  color: #1e293b;
  cursor: pointer;
}

#payment .payment_box {
  background-color: #f8fafc !important;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #475569;
}

/* Triangolino decorativo WC sul payment box */
#payment .payment_box::before {
  border-bottom-color: #f8fafc !important;
}

/* Bottone place order */
#place_order {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: 0.5rem;
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  border-radius: 9999px;
}

#place_order:hover {
  background-color: var(--color-cta) !important;
}

/* Termini e condizioni checkbox */
.woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 1rem;
}

.woocommerce-terms-and-conditions-wrapper .woocommerce-form__label {
  font-size: 0.8125rem;
  color: #64748b;
}

/* Privacy policy text */
.woocommerce-privacy-policy-text {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

/* ============================================================
   Thank You page
   ============================================================ */

.woocommerce-order {
  padding-top: 2rem;
}

/* Sezione dati bancari BACS — box evidenziato */
.woocommerce-order .woocommerce-bacs-bank-details {
  margin-top: 3rem;
  margin-bottom: 2.5rem;
  padding: 2rem 2.5rem;
  background: #f0f7ff;
  border: 1px solid #003DA5;
  border-radius: 1rem;
  max-width: 42rem;
  margin-inline: auto;
}

.woocommerce-order .wc-bacs-bank-details-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #003DA5;
  margin-bottom: 1.25rem;
}

.woocommerce-order .wc-bacs-bank-details-account-name {
  display: none;
}

/* Reset clearfix WC — il ::before display:table occupa una cella della griglia */
.woocommerce ul.order_details.bacs_details::before,
.woocommerce ul.order_details.bacs_details::after {
  display: none !important;
}

.woocommerce-order .wc-bacs-bank-details {
  list-style: none !important;
  padding: 0;
  margin: 0 !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
}

.woocommerce-order .wc-bacs-bank-details li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.woocommerce-order .wc-bacs-bank-details li strong {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.woocommerce-order .wc-bacs-bank-details li span {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #003DA5;
}

/* Dettagli ordine — tabella sotto la card principale */
.woocommerce-order section.woocommerce-order-details {
  margin-top: 2.5rem;
  max-width: 42rem;
  margin-inline: auto;
}

.woocommerce-order section.woocommerce-order-details h2 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #003DA5;
  margin-bottom: 1rem;
}

/* Customer details (indirizzo fatturazione) */
.woocommerce-order section.woocommerce-customer-details {
  margin-top: 2rem;
  max-width: 42rem;
  margin-inline: auto;
}

.woocommerce-order section.woocommerce-customer-details h2 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #003DA5;
  margin-bottom: 1rem;
}

.woocommerce-order section.woocommerce-customer-details address {
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  font-style: normal;
  line-height: 1.75;
  color: #334155;
}

/* ============================================================
   Messaggi WC — miglioramenti
   ============================================================ */

/* Lista errori — impilati verticalmente */
.woocommerce .woocommerce-error {
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  padding-left: 1.5rem;
}

.woocommerce .woocommerce-error li {
  margin-bottom: 0.5rem;
  width: 100%;
}

.woocommerce .woocommerce-error li:last-child {
  margin-bottom: 0;
}

/* Messaggi con bottone inline */
.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-info .button {
  float: right;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

/* ============================================================
   My Account — layout e navigazione
   ============================================================ */

/* Griglia sidebar + content */
.pga-myaccount-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pga-myaccount-grid {
    grid-template-columns: 14rem 1fr;
    gap: 3rem;
    align-items: start;
  }
}

/* Reset float/width di default WC — usiamo CSS grid */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none !important;
  width: auto !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
}

/* Navigazione laterale */
.woocommerce-MyAccount-navigation {
  background-color: #f8fafc;
  border-radius: 1.5rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .woocommerce-MyAccount-navigation {
    position: sticky;
    top: 8rem;
  }
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Mobile: nav orizzontale scrollabile */
@media (max-width: 767px) {
  .woocommerce-MyAccount-navigation {
    padding: 1rem;
    border-radius: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .woocommerce-MyAccount-navigation ul {
    flex-direction: row;
    gap: 0.5rem;
    white-space: nowrap;
  }
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: #64748b;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.woocommerce-MyAccount-navigation ul li a:hover {
  background-color: #e2e8f0;
  color: #1e293b;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a[aria-current="page"] {
  background-color: #003DA5;
  color: #ffffff;
  font-weight: 500;
}

/* Contenuto principale */
.woocommerce-MyAccount-content {
  min-width: 0;
}

/* ============================================================
   My Account — Dashboard
   ============================================================ */

.woocommerce-MyAccount-content>p:first-child {
  font-size: 1.0625rem;
  color: #475569;
  margin-bottom: 1.5rem;
}

.woocommerce-MyAccount-content>p:first-child a {
  color: #003DA5;
  font-weight: 500;
  text-decoration: none;
}

.woocommerce-MyAccount-content>p:first-child a:hover {
  color: #E8553D;
}

/* ============================================================
   My Account — Tabella ordini (ticket)
   ============================================================ */

.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-orders-table th {
  text-align: left;
  padding: 1rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  border-bottom: 2px solid #e2e8f0;
}

.woocommerce-orders-table td {
  padding: 1rem 0.75rem;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9375rem;
  color: #1e293b;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
  color: #003DA5;
  font-weight: 600;
  text-decoration: none;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a:hover {
  color: #E8553D;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a.button {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

/* Ordini responsive su mobile */
@media (max-width: 768px) {

  .woocommerce-orders-table,
  .woocommerce-orders-table thead,
  .woocommerce-orders-table tbody,
  .woocommerce-orders-table th,
  .woocommerce-orders-table td,
  .woocommerce-orders-table tr {
    display: block;
  }

  .woocommerce-orders-table thead {
    display: none;
  }

  .woocommerce-orders-table td {
    padding: 0.5rem 0;
    border-bottom: none;
    text-align: right;
  }

  .woocommerce-orders-table td::before {
    content: attr(data-title);
    float: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
  }

  .woocommerce-orders-table tr {
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 0;
  }
}

/* Paginazione ordini */
.woocommerce-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: #64748b;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.woocommerce-pagination .page-numbers:hover {
  background-color: #f1f5f9;
  color: #1e293b;
}

.woocommerce-pagination .page-numbers.current {
  background-color: #003DA5;
  color: #ffffff;
  font-weight: 600;
}

/* ============================================================
   My Account — Dettaglio singolo ordine
   ============================================================ */

/* Messaggio stato ordine — "L'ordine #427 è stato creato il..." */
.woocommerce-MyAccount-content > p:first-child mark {
  background: none;
  color: inherit;
}

.woocommerce-MyAccount-content .woocommerce-order-details h2,
.woocommerce-MyAccount-content .woocommerce-customer-details h2,
.woocommerce-MyAccount-content .wc-bacs-bank-details-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #00A3E0;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.woocommerce-MyAccount-content .woocommerce-customer-details address {
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  font-style: normal;
  line-height: 1.75;
  color: #334155;
}

/* ============================================================
   My Account — Form modifica account
   ============================================================ */

.woocommerce-EditAccountForm .form-row {
  margin-bottom: 1.25rem;
}

.woocommerce-EditAccountForm fieldset {
  border: none;
  padding: 0;
  margin-top: 2rem;
}

.woocommerce-EditAccountForm fieldset legend {
  font-size: 1.25rem;
  font-weight: 600;
  color: #003DA5;
  margin-bottom: 1.5rem;
}

/* ============================================================
   Login page — card centrata
   ============================================================ */

.pga-login-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 50vh;
  padding-top: 2rem;
}

.pga-login-card {
  width: 100%;
  max-width: 28rem;
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 4px 24px -4px rgba(0, 61, 165, 0.06);
}

@media (max-width: 640px) {
  .pga-login-card {
    padding: 1.5rem;
    border-radius: 1rem;
  }
}

/* Checkbox "ricordami" */
.pga-login-card input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
}

/* Stato "nessun ordine" */
.woocommerce-message--info,
.woocommerce-MyAccount-content .woocommerce-info {
  text-align: center;
  padding: 3rem 1.5rem;
}