/*
 * fm accesso b2b — pagina /account/ del b2b da sloggati (mockup designer sito-online.vercel.app/b2b-accesso.html).
 * Caricato SOLO su quella schermata da fm_b2b_login_assets() in functions.php.
 * Note: all-site.css forza i bottoni WooCommerce con !important (qui si risponde con !important);
 * all-site.css nasconde .woocommerce-notices-wrapper ovunque (dentro la card gli errori devono vedersi);
 * Addify stampa il div del reCAPTCHA dentro un <p>: il parser lo sputa fuori (si nascondono <p> vuoto e span).
 */
.fm-b2b-stage{--fm-cream:#f7f5ef;--fm-paper:#fffdf9;--fm-ink:#1b1b1a;--fm-muted:#7a746a;--fm-faint:#a39e95;--fm-line:#e7e3da;--fm-field-line:#ddd8cc;--fm-green:#5f7a33;--fm-green-d:#4c6228;--fm-gold:#b8a06a;padding:20px 0 28px;font-family:"Poppins",system-ui,-apple-system,sans-serif;color:var(--fm-ink);line-height:1.5}
.fm-b2b-stage *{box-sizing:border-box}
/* margine della sezione Elementor della pagina 8 (50px desktop, 140/50 mobile): ridotto solo sulla schermata di accesso */
body .elementor-8 .elementor-element.elementor-element-2d4c053c:has(.fm-b2b-stage){margin-top:30px}
.fm-b2b-card{display:grid;grid-template-columns:1.02fr 1fr;width:100%;min-height:628px;background:var(--fm-paper);border:1px solid var(--fm-line);border-radius:24px;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.04),0 30px 70px rgba(40,35,20,.10)}
.fm-b2b-brand{position:relative;padding:46px 42px;color:#f6f3ea;display:flex;flex-direction:column;overflow:hidden;background-color:#242a16;background-repeat:no-repeat;background-position:top center;background-size:100% auto}
.fm-b2b-brand::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;background:linear-gradient(178deg,rgba(20,24,11,.66) 0%,rgba(26,30,15,.30) 44%,rgba(16,20,7,.74) 100%)}
.fm-b2b-brand>*{position:relative;z-index:1}
.fm-b2b-stage .fm-b2b-brand-title{font-family:"Merriweather",Georgia,serif;font-weight:700;font-size:clamp(1.55rem,2.3vw,2rem);line-height:1.18;letter-spacing:normal;margin:0;color:#f6f3ea;text-wrap:balance;text-shadow:0 2px 14px rgba(0,0,0,.35)}
.fm-b2b-stage .fm-b2b-lead{color:rgba(246,243,234,.9);font-size:.92rem;margin:12px 0 0;max-width:32ch;text-shadow:0 1px 10px rgba(0,0,0,.35)}
.fm-b2b-stage .fm-b2b-bullets{list-style:none;padding:0;margin:24px 0 0;display:flex;flex-direction:column;gap:12px}
.fm-b2b-stage .fm-b2b-bullets li{display:flex;align-items:flex-start;gap:11px;margin:0;font-size:.86rem;color:rgba(246,243,234,.94);text-shadow:0 1px 8px rgba(0,0,0,.4)}
.fm-b2b-stage .fm-b2b-bullets svg{flex:none;width:19px;height:19px;stroke:var(--fm-gold);fill:none;stroke-width:1.7;margin-top:1px}
.fm-b2b-stage .fm-b2b-foot{margin-top:26px;font-size:.72rem;color:rgba(246,243,234,.72);letter-spacing:.02em}
.fm-b2b-side{padding:46px 46px 38px;display:flex;flex-direction:column;min-width:0}
.fm-b2b-stage .fm-b2b-eyebrow{font-size:.72rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--fm-green-d)}
.fm-b2b-stage .fm-b2b-title{font-family:"Merriweather",Georgia,serif;font-weight:700;font-size:clamp(1.65rem,2.5vw,2.05rem);line-height:1.2;letter-spacing:-.01em;margin:8px 0 4px;color:var(--fm-ink)}
.fm-b2b-stage .fm-b2b-sub{color:var(--fm-muted);font-size:.9rem;margin:0 0 20px;max-width:44ch}
.fm-b2b-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--fm-cream);border:1px solid var(--fm-line);border-radius:30px;padding:4px;margin-bottom:22px}
.fm-b2b-stage .fm-b2b-tabs button{font:inherit;font-size:.82rem;font-weight:600;line-height:1.4;letter-spacing:normal;text-transform:none;color:var(--fm-muted);cursor:pointer;background:none;border:0;border-radius:26px;padding:9px 10px;margin:0;box-shadow:none;transition:background .18s,color .18s,box-shadow .18s}
.fm-b2b-stage .fm-b2b-tabs button:hover,.fm-b2b-stage .fm-b2b-tabs button:focus{background:none;color:var(--fm-ink)}
.fm-b2b-stage .fm-b2b-tabs button[aria-pressed="true"],.fm-b2b-stage .fm-b2b-tabs button[aria-pressed="true"]:hover{background:var(--fm-green);color:#fff;box-shadow:0 4px 12px rgba(76,98,40,.28)}
.fm-b2b-stage .fm-b2b-tabs button:focus-visible{outline:2px solid var(--fm-green);outline-offset:2px}
.fm-b2b-side .woocommerce-notices-wrapper{display:block!important}
.fm-b2b-side .woocommerce-error,.fm-b2b-side .woocommerce-message,.fm-b2b-side .woocommerce-info{margin:0 0 18px;border-radius:12px;font-size:.82rem}
.fm-b2b-side .enu_warning,.fm-b2b-side .enu_error{margin:0 0 18px;padding:12px 14px;border-radius:12px;font-size:.82rem;line-height:1.5}
.fm-b2b-stage #customer_login{display:block;width:100%;margin:0}
.fm-b2b-stage #customer_login::before,.fm-b2b-stage #customer_login::after{display:none}
.fm-b2b-stage #customer_login .u-column1,.fm-b2b-stage #customer_login .u-column2{float:none;width:100%;max-width:none;margin:0;padding:0}
.fm-b2b-stage[data-fm-tab="login"] #customer_login .u-column2,.fm-b2b-stage[data-fm-tab="register"] #customer_login .u-column1{display:none}
.fm-b2b-stage #customer_login h2,.fm-b2b-stage #customer_login form.woocommerce-form h3{display:none}
.fm-b2b-stage #customer_login form.woocommerce-form{display:flex;flex-wrap:wrap;gap:14px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.fm-b2b-stage #customer_login form.woocommerce-form > *,.fm-b2b-stage #customer_login form.woocommerce-form .afreg_extra_fields > *{flex:1 1 100%;min-width:0;margin:0}
.fm-b2b-stage #customer_login form.woocommerce-form .afreg_extra_fields{display:contents}
.fm-b2b-stage #customer_login .form-row{display:flex;flex-direction:column;gap:6px;width:100%;float:none;margin:0;padding:0}
.fm-b2b-stage #customer_login .form-row::before,.fm-b2b-stage #customer_login .form-row::after{content:none;display:none}
.fm-b2b-stage #customer_login label{font-size:.78rem;font-weight:500;line-height:1.4;color:var(--fm-ink);margin:0}
.fm-b2b-stage #customer_login .required{display:none}
.fm-b2b-stage #customer_login input.input-text,.fm-b2b-stage #customer_login select{width:100%;height:auto;min-height:50px;font:inherit;font-size:.92rem;line-height:1.4;color:var(--fm-ink);background-color:#fff;border:1px solid var(--fm-field-line);border-radius:11px;padding:13px 14px;margin:0;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.fm-b2b-stage #customer_login input.input-text::placeholder{color:var(--fm-faint);opacity:1}
.fm-b2b-stage #customer_login input.input-text:focus,.fm-b2b-stage #customer_login select:focus{outline:none;border-color:var(--fm-green);box-shadow:0 0 0 3px rgba(95,122,51,.16)}
.fm-b2b-stage #customer_login select{-webkit-appearance:none;appearance:none;padding-right:40px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a746a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px}
.fm-b2b-stage #customer_login .password-input{position:relative;display:flex;flex-direction:column;width:100%}
.fm-b2b-stage #customer_login .password-input input.input-text{padding-right:46px}
.fm-b2b-stage #customer_login .show-password-input,.fm-b2b-stage #customer_login .show-password-input:hover,.fm-b2b-stage #customer_login .show-password-input:focus{position:absolute;top:7px;right:6px;width:36px;height:36px;min-height:0;padding:0;margin:0;border:0;border-radius:8px;background:none;box-shadow:none;cursor:pointer;color:var(--fm-muted)}
.fm-b2b-stage #customer_login .show-password-input:hover,.fm-b2b-stage #customer_login .show-password-input.display-password{color:var(--fm-green-d)}
.fm-b2b-stage #customer_login .show-password-input::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:19px;height:19px;font-family:inherit;background-color:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M2 12s3.5-6.5 10-6.5S22 12 22 12s-3.5 6.5-10 6.5S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M2 12s3.5-6.5 10-6.5S22 12 22 12s-3.5 6.5-10 6.5S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3C/svg%3E") center/contain no-repeat}
.fm-b2b-stage #customer_login form.woocommerce-form-login > p.form-row:not(.woocommerce-form-row){display:contents}
.fm-b2b-stage #customer_login .woocommerce-form-login__rememberme{order:3;flex:1 1 auto;width:auto;display:flex;align-items:center;gap:8px;margin:2px 0 0;font-size:.8rem;font-weight:400;color:var(--fm-muted);cursor:pointer;-webkit-user-select:none;user-select:none}
.fm-b2b-stage #customer_login .woocommerce-form-login .lost_password{order:3;flex:0 0 auto;width:auto;margin:2px 0 0;font-size:.8rem;line-height:1.4}
.fm-b2b-stage #customer_login .woocommerce-form-login .lost_password a{color:var(--fm-green-d);font-weight:500;text-decoration:none}
.fm-b2b-stage #customer_login .woocommerce-form-login .lost_password a:hover{text-decoration:underline}
.fm-b2b-stage #customer_login .woocommerce-form-login__rememberme input[type="checkbox"]{-webkit-appearance:none;appearance:none;flex:none;width:18px;height:18px;margin:0;padding:0;border:1.5px solid var(--fm-field-line);border-radius:5px;background:#fff;display:grid;place-content:center;cursor:pointer;transition:background .15s,border-color .15s}
.fm-b2b-stage #customer_login .woocommerce-form-login__rememberme input[type="checkbox"]::after{content:"";width:11px;height:11px;background-color:#fff;opacity:0;transition:opacity .15s;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat}
.fm-b2b-stage #customer_login .woocommerce-form-login__rememberme input[type="checkbox"]:checked{background:var(--fm-green);border-color:var(--fm-green)}
.fm-b2b-stage #customer_login .woocommerce-form-login__rememberme input[type="checkbox"]:checked::after{opacity:1}
.fm-b2b-stage #customer_login .woocommerce-form-login__rememberme input[type="checkbox"]:focus-visible{outline:2px solid var(--fm-green);outline-offset:2px}
.fm-b2b-stage #customer_login form.woocommerce-form .button{flex:1 1 100%;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:52px;min-height:52px;margin:8px 0 0;padding:0 20px!important;border:0;border-radius:30px!important;background-color:var(--fm-green)!important;color:#fff!important;font-family:inherit!important;font-size:.82rem!important;font-weight:600!important;line-height:1;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;box-shadow:0 8px 20px rgba(76,98,40,.22);transition:background-color .18s,transform .05s}
.fm-b2b-stage #customer_login form.woocommerce-form .button:hover,.fm-b2b-stage #customer_login form.woocommerce-form .button:focus{background-color:var(--fm-green-d)!important;color:#fff!important}
.fm-b2b-stage #customer_login form.woocommerce-form .button:active{transform:translateY(1px)}
.fm-b2b-stage #customer_login form.woocommerce-form .button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
.fm-b2b-stage #customer_login form.woocommerce-form .button::after{content:"";flex:none;width:18px;height:18px;background-color:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
.fm-b2b-stage #customer_login form.woocommerce-form-login .button{order:4}
.fm-b2b-stage #customer_login #afreg_additionalshowhide_13724,.fm-b2b-stage #customer_login #afreg_additionalshowhide_13840{flex:1 1 calc(50% - 7px)}
.fm-b2b-stage #customer_login #afreg_additionalshowhide_16327,.fm-b2b-stage #customer_login .afreg_extra_fields > .afreg_field_message_radio,.fm-b2b-stage #customer_login .afreg_extra_fields > p:empty{display:none}
.fm-b2b-stage #customer_login form.woocommerce-form-register .woocommerce-privacy-policy-text p{margin:0;font-size:.74rem;line-height:1.5;color:var(--fm-muted)}
.fm-b2b-stage #customer_login form.woocommerce-form-register .woocommerce-privacy-policy-text a{color:var(--fm-green-d);font-weight:500}
.fm-b2b-stage #customer_login form.woocommerce-form-register .fm-b2b-note{font-size:.76rem;line-height:1.55;color:var(--fm-muted);background:var(--fm-cream);border:1px solid var(--fm-line);border-radius:12px;padding:11px 13px}
.fm-b2b-stage #customer_login .woocommerce-password-strength{margin-top:6px;padding:6px 10px;border-radius:8px;font-size:.74rem;text-align:left}
.fm-b2b-stage #customer_login .woocommerce-password-hint{display:block;margin-top:4px;font-size:.72rem;line-height:1.45;color:var(--fm-muted)}
@media (max-width:1161px){
.fm-b2b-stage{padding-left:26px;padding-right:26px}
}
@media (max-width:860px){
.fm-b2b-stage{padding:14px}
.fm-b2b-card{grid-template-columns:1fr;min-height:0}
.fm-b2b-brand{padding:32px 26px;min-height:260px}
.fm-b2b-stage .fm-b2b-brand-title{font-size:1.4rem}
.fm-b2b-stage .fm-b2b-bullets{display:none}
.fm-b2b-side{padding:30px 24px}
}
@media (max-width:767px){
.fm-b2b-stage{padding:14px 0}
body .elementor-8 .elementor-element.elementor-element-2d4c053c:has(.fm-b2b-stage){margin-top:56px;margin-bottom:20px}
}
@media (max-width:400px){
.fm-b2b-side{padding:26px 16px}
.fm-b2b-stage #customer_login .g-recaptcha{transform:scale(.88);transform-origin:0 0;height:69px}
}
