/* WooCommerce: Il mio account (login, registrazione, area cliente), carrello, pagamento */
body.woocommerce-account .card,body.woocommerce-cart .card,body.woocommerce-checkout .card{background:transparent;border:0;padding:0}
body.woocommerce-account .entry-title,body.woocommerce-cart .entry-title,body.woocommerce-checkout .entry-title{text-align:center;font-size:1.9rem;margin:8px 0 24px}
body.woocommerce-account:not(.logged-in) .wrap{max-width:540px}

.woocommerce h2{font-size:1.25rem;margin:0 0 14px}
.woocommerce form.login,.woocommerce form.register,.woocommerce form.lost_reset_password,
.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{
  background:#fff;border:1px solid var(--line)!important;border-radius:16px!important;padding:28px!important;margin:0 0 24px!important;
  box-shadow:0 20px 46px -30px rgba(11,21,38,.35)}
.woocommerce-account .woocommerce .u-columns{display:block!important;width:100%!important;max-width:100%}
.woocommerce-account .woocommerce .u-columns::before,.woocommerce-account .woocommerce .u-columns::after{display:none!important}
.woocommerce-account .woocommerce .u-columns .u-column1,
.woocommerce-account .woocommerce .u-columns .u-column2{float:none!important;width:100%!important;margin:0!important}
.woocommerce-account .woocommerce .u-columns .u-column2{display:none!important}
.woocommerce-account .woocommerce .u-columns.show-register .u-column1{display:none!important}
.woocommerce-account .woocommerce .u-columns.show-register .u-column2{display:block!important}

.woocommerce form .form-row{padding:0;margin:0 0 18px}
.woocommerce form .form-row label{display:block;font-size:14px;font-weight:600;margin:0 0 6px;line-height:1.4}
.woocommerce form .form-row .required{color:#d63638;text-decoration:none}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.woocommerce form .password-input input{
  width:100%;height:46px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:#f9fafc;font:inherit;color:var(--ink);box-shadow:none;transition:border-color .15s,box-shadow .15s,background .15s}
.woocommerce form .form-row textarea{height:auto;min-height:110px;padding:12px 14px}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus,.woocommerce form .form-row select:focus{
  outline:0;border-color:var(--brand);background:#fff;box-shadow:0 0 0 3px rgba(29,78,216,.15)}
.woocommerce form .password-input{display:block;position:relative}
.woocommerce form .show-password-input{top:50%;transform:translateY(-50%);right:12px}
.woocommerce form .form-row label.woocommerce-form__label-for-checkbox{display:flex;align-items:center;gap:8px;font-weight:400;color:var(--muted);margin:4px 0 16px}
.woocommerce form .form-row label.woocommerce-form__label-for-checkbox input{width:auto;height:auto;margin:0;accent-color:var(--brand)}

/* Pulsanti */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce-button,.wc-forward{
  display:inline-block;background:var(--brand)!important;color:#fff!important;border:0;border-radius:10px;padding:0 22px;height:46px;line-height:46px;
  font:inherit;font-weight:700;text-decoration:none;cursor:pointer;box-shadow:0 12px 26px -14px rgba(29,78,216,.7);transition:filter .15s}
.woocommerce a.button:hover,.woocommerce button.button:hover{filter:brightness(1.1)}
.woocommerce form.login .button,.woocommerce form.register .button,.woocommerce form.lost_reset_password .button{width:100%}
.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--brand)!important}
.woocommerce .lost_password{text-align:center;margin:14px 0 0}
.woocommerce .lost_password a{color:var(--brand);text-decoration:none}

/* Avvisi */
.woocommerce-error,.woocommerce-message,.woocommerce-info{list-style:none;margin:0 0 20px!important;padding:14px 18px 14px 18px!important;border:0!important;border-radius:10px;font-size:14px;background:#eef3ff;color:var(--ink)}
.woocommerce-error{background:#fdecec;color:#a4262c}
.woocommerce-message{background:#e8f6ee;color:#17603a}
.woocommerce-error::before,.woocommerce-message::before,.woocommerce-info::before{display:none}
.woocommerce-error li{margin:0}

/* Area cliente (dopo il login) */
.woocommerce-account .woocommerce{display:flex;gap:28px;align-items:flex-start;flex-wrap:wrap}
.woocommerce-account:not(.logged-in) .woocommerce{display:block}
.woocommerce-MyAccount-navigation{flex:0 0 220px;float:none!important;width:auto!important;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce-MyAccount-navigation a{display:block;padding:10px 14px;border-radius:8px;color:var(--ink);text-decoration:none;font-weight:500}
.woocommerce-MyAccount-navigation a:hover{background:#f4f6fa}
.woocommerce-MyAccount-navigation .is-active a{background:var(--brand);color:#fff}
.woocommerce-MyAccount-content{flex:1 1 320px;float:none!important;width:auto!important;background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px}
.woocommerce table.shop_table{border:1px solid var(--line);border-radius:12px;border-collapse:separate;overflow:hidden}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:12px 14px;border-color:var(--line)}

@media (max-width:640px){.woocommerce form.login,.woocommerce form.register{padding:20px!important}.woocommerce-MyAccount-navigation{flex-basis:100%}}

.oh-switch{text-align:center;margin:18px 0 0;padding-top:16px;border-top:1px solid var(--line);color:var(--muted);font-size:15px}
.oh-switch a{color:var(--brand);font-weight:600;text-decoration:none}
.oh-switch a:hover{text-decoration:underline}
.woocommerce form.register .woocommerce-privacy-policy-text{font-size:13px;color:var(--muted)}
