/* Farmacia Mariana · Mi Cuenta — estilos encapsulados para WooCommerce */
body.fm-mariana-account-enabled{background:var(--fmacc-background,#f5f8f6)}
body.fm-mariana-account-enabled .woocommerce,
.fmacc-shortcode .woocommerce{--fmacc-border:#e3eae6;--fmacc-muted:#62736c;--fmacc-shadow:0 12px 36px rgba(13,59,36,.055);color:var(--fmacc-ink,#10372a);font-family:inherit;max-width:1200px;margin:0 auto;padding:clamp(16px,3vw,40px) clamp(16px,2.8vw,32px);box-sizing:border-box}
body.fm-mariana-account-enabled .woocommerce *, .fmacc-shortcode .woocommerce *{box-sizing:border-box}
body.fm-mariana-account-enabled .woocommerce a,.fmacc-shortcode .woocommerce a{transition:color .2s,border-color .2s,background .2s,box-shadow .2s}
body.fm-mariana-account-enabled .woocommerce a:focus-visible,.fmacc-shortcode .woocommerce a:focus-visible,
body.fm-mariana-account-enabled .woocommerce button:focus-visible,.fmacc-shortcode .woocommerce button:focus-visible{outline:3px solid #f7c800!important;outline-offset:3px}
.fmacc-hero{display:flex;align-items:center;gap:22px;background:linear-gradient(115deg,#e3f4e9,#f7fcf9 75%);border:1px solid #d9ece1;padding:clamp(22px,3vw,35px);border-radius:20px;margin:0 0 26px;box-shadow:var(--fmacc-shadow)}
.fmacc-hero-icon{display:grid;place-items:center;flex:0 0 68px;width:68px;height:68px;border-radius:20px;background:#fff;color:var(--fmacc-primary,#00843d);box-shadow:0 6px 20px #053b2010}
.fmacc-hero-icon svg{width:33px;height:33px}
.fmacc-eyebrow{display:block;font-size:11px;letter-spacing:.12em;font-weight:800;color:var(--fmacc-primary,#00843d);margin:0 0 6px}
.fmacc-hero h1{font-size:clamp(24px,3vw,35px)!important;font-weight:800!important;line-height:1.15!important;color:var(--fmacc-ink,#10372a)!important;margin:0 0 8px!important;letter-spacing:-.025em}
.fmacc-hero p{color:#526a5c!important;font-size:15px!important;line-height:1.55!important;margin:0!important;max-width:720px}
/* Sesión y registro: WooCommerce mantiene formularios y nonces propios */
body.fm-mariana-account-enabled .woocommerce #customer_login,.fmacc-shortcode .woocommerce #customer_login{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0;width:100%}
body.fm-mariana-account-enabled .woocommerce #customer_login::before,body.fm-mariana-account-enabled .woocommerce #customer_login::after,
.fmacc-shortcode .woocommerce #customer_login::before,.fmacc-shortcode .woocommerce #customer_login::after{display:none!important}
body.fm-mariana-account-enabled .woocommerce #customer_login>.col-1,
body.fm-mariana-account-enabled .woocommerce #customer_login>.col-2,
.fmacc-shortcode .woocommerce #customer_login>.col-1,.fmacc-shortcode .woocommerce #customer_login>.col-2{width:100%!important;float:none!important;max-width:none!important;min-width:0!important;flex:none!important;margin:0!important;padding:0!important}
body.fm-mariana-account-enabled .woocommerce #customer_login>.col-1:only-child,
.fmacc-shortcode .woocommerce #customer_login>.col-1:only-child{grid-column:1/-1;max-width:600px!important;justify-self:center}
body.fm-mariana-account-enabled .woocommerce #customer_login h2,.fmacc-shortcode .woocommerce #customer_login h2{font-weight:800;font-size:23px;line-height:1.25;color:var(--fmacc-ink,#10372a);margin:0 0 18px}
body.fm-mariana-account-enabled .woocommerce form.login,
body.fm-mariana-account-enabled .woocommerce form.register,
body.fm-mariana-account-enabled .woocommerce form.lost_reset_password,
body.fm-mariana-account-enabled .woocommerce form.edit-account,
body.fm-mariana-account-enabled .woocommerce form.woocommerce-EditAccountForm,
body.fm-mariana-account-enabled .woocommerce .woocommerce-address-fields,
.fmacc-shortcode .woocommerce form.login,.fmacc-shortcode .woocommerce form.register,.fmacc-shortcode .woocommerce form.lost_reset_password,
.fmacc-shortcode .woocommerce form.edit-account,.fmacc-shortcode .woocommerce .woocommerce-address-fields{background:#fff;border:1px solid #e2eae5;border-radius:18px;padding:clamp(20px,3vw,34px);box-shadow:var(--fmacc-shadow);margin:0 0 20px}
body.fm-mariana-account-enabled .woocommerce .form-row,.fmacc-shortcode .woocommerce .form-row{margin-bottom:15px}
body.fm-mariana-account-enabled .woocommerce .form-row label,.fmacc-shortcode .woocommerce .form-row label{display:block;font-weight:700;color:var(--fmacc-ink,#10372a);font-size:13px;margin:0 0 7px}
body.fm-mariana-account-enabled .woocommerce .input-text,
body.fm-mariana-account-enabled .woocommerce input[type="email"],
body.fm-mariana-account-enabled .woocommerce input[type="password"],
body.fm-mariana-account-enabled .woocommerce input[type="text"],
body.fm-mariana-account-enabled .woocommerce input[type="tel"],
body.fm-mariana-account-enabled .woocommerce select,
.fmacc-shortcode .woocommerce .input-text,.fmacc-shortcode .woocommerce select{width:100%;min-height:48px!important;background:#fbfcfb!important;color:#163b2c!important;border:1px solid #dbe5df!important;border-radius:11px!important;padding:11px 14px!important;font-size:15px!important;box-shadow:none!important;outline:none!important}
body.fm-mariana-account-enabled .woocommerce input:focus,.fmacc-shortcode .woocommerce input:focus{border-color:var(--fmacc-primary,#00843d)!important;box-shadow:0 0 0 3px #00843d19!important}
body.fm-mariana-account-enabled .woocommerce button.button,
body.fm-mariana-account-enabled .woocommerce a.button,
body.fm-mariana-account-enabled .woocommerce input.button,
.fmacc-shortcode .woocommerce button.button,.fmacc-shortcode .woocommerce a.button,.fmacc-shortcode .woocommerce input.button{background:var(--fmacc-primary,#00843d)!important;border:1px solid var(--fmacc-primary,#00843d)!important;border-radius:12px!important;color:#fff!important;font-weight:750!important;min-height:44px;padding:12px 22px!important;box-shadow:none!important;text-decoration:none!important}
body.fm-mariana-account-enabled .woocommerce button.button:hover,
body.fm-mariana-account-enabled .woocommerce a.button:hover,
.fmacc-shortcode .woocommerce button.button:hover,.fmacc-shortcode .woocommerce a.button:hover{background:var(--fmacc-primary-dark,#045b32)!important;border-color:var(--fmacc-primary-dark,#045b32)!important}
body.fm-mariana-account-enabled .woocommerce form .woocommerce-form-login__rememberme,.fmacc-shortcode .woocommerce form .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:8px;margin:12px 12px 14px 0}
body.fm-mariana-account-enabled .woocommerce form input[type="checkbox"],.fmacc-shortcode .woocommerce form input[type="checkbox"]{accent-color:var(--fmacc-primary,#00843d)}
body.fm-mariana-account-enabled .woocommerce .woocommerce-LostPassword a,.fmacc-shortcode .woocommerce .woocommerce-LostPassword a{color:var(--fmacc-primary-dark,#045b32)!important;font-weight:650}
.fmacc-password-wrap{position:relative}
.fmacc-password-wrap input{padding-right:105px!important}
.fmacc-password-toggle{position:absolute!important;right:8px!important;top:50%!important;transform:translateY(-50%)!important;background:#eaf5ee!important;color:#0a6a39!important;border:0!important;border-radius:8px!important;min-height:34px!important;padding:6px 9px!important;cursor:pointer!important;font-weight:700!important;font-size:11px!important;box-shadow:none!important}
.fmacc-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}
.fmacc-benefit{background:#fff;border:1px solid #e1ece5;border-radius:14px;padding:18px;display:flex;align-items:center;gap:12px;min-width:0}
.fmacc-benefit-icon{color:var(--fmacc-primary,#00843d);flex:0 0 32px;width:32px;height:32px}
.fmacc-benefit-icon svg{height:28px;width:28px}
.fmacc-benefit strong,.fmacc-benefit small{display:block}
.fmacc-benefit strong{font-size:13px;line-height:1.3;color:#123e2c}
.fmacc-benefit small{font-size:12px;line-height:1.35;color:#62766a;margin-top:3px}
/* Área privada — navegación de WooCommerce */
body.fm-mariana-account-enabled .woocommerce-MyAccount-navigation,
.fmacc-shortcode .woocommerce-MyAccount-navigation{float:left!important;width:255px!important;max-width:255px!important;margin:0 26px 20px 0!important}
body.fm-mariana-account-enabled .woocommerce-MyAccount-navigation ul,
.fmacc-shortcode .woocommerce-MyAccount-navigation ul{list-style:none!important;margin:0!important;padding:10px!important;border-radius:17px;background:#fff;border:1px solid #e0e8e2;box-shadow:var(--fmacc-shadow)}
body.fm-mariana-account-enabled .woocommerce-MyAccount-navigation li,
.fmacc-shortcode .woocommerce-MyAccount-navigation li{list-style:none!important;margin:0!important;padding:0!important}
body.fm-mariana-account-enabled .woocommerce-MyAccount-navigation li a,
.fmacc-shortcode .woocommerce-MyAccount-navigation li a{display:block!important;font-weight:650!important;text-decoration:none!important;font-size:14px!important;color:#365a45!important;padding:13px 14px!important;border-radius:10px!important;line-height:1.4!important}
body.fm-mariana-account-enabled .woocommerce-MyAccount-navigation li.is-active a,
.fmacc-shortcode .woocommerce-MyAccount-navigation li.is-active a{background:#e8f5ed!important;color:var(--fmacc-primary-dark,#045b32)!important}
body.fm-mariana-account-enabled .woocommerce-MyAccount-navigation li a:hover,
.fmacc-shortcode .woocommerce-MyAccount-navigation li a:hover{background:#f1f8f3!important;color:var(--fmacc-primary-dark,#045b32)!important}
body.fm-mariana-account-enabled .woocommerce-MyAccount-navigation-link--customer-logout a,
.fmacc-shortcode .woocommerce-MyAccount-navigation-link--customer-logout a{color:#b33748!important}
body.fm-mariana-account-enabled .woocommerce-MyAccount-content,
.fmacc-shortcode .woocommerce-MyAccount-content{float:none!important;width:auto!important;margin-left:281px!important;min-width:0;min-height:260px;color:#344f40;font-size:15px;line-height:1.65}
body.fm-mariana-account-enabled .woocommerce-MyAccount-content>p:first-child,
.fmacc-shortcode .woocommerce-MyAccount-content>p:first-child{margin-top:0}
body.fm-mariana-account-enabled .woocommerce-MyAccount-content a:not(.button),.fmacc-shortcode .woocommerce-MyAccount-content a:not(.button){color:var(--fmacc-primary-dark,#045b32);font-weight:650}
.fmacc-quick-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:25px}
.fmacc-quick-link{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #e0e9e2;border-radius:14px;padding:17px;box-shadow:var(--fmacc-shadow);text-decoration:none!important;min-width:0}
.fmacc-quick-link:hover{border-color:#9dcfb1;background:#fbfffd}
.fmacc-quick-icon{flex:0 0 32px;color:var(--fmacc-primary,#00843d)}
.fmacc-quick-icon svg{width:30px;height:30px}
.fmacc-quick-link strong,.fmacc-quick-link small{display:block;color:#153d2b}
.fmacc-quick-link strong{font-size:13px;line-height:1.3}
.fmacc-quick-link small{color:#718176;font-weight:400;line-height:1.35;margin-top:4px;font-size:11px}
.fmacc-quick-arrow{margin-left:auto;font-size:20px;color:#0a7a42}
/* Tablas, pedidos y direcciones */
body.fm-mariana-account-enabled .woocommerce table.shop_table,
body.fm-mariana-account-enabled .woocommerce table.woocommerce-orders-table,
.fmacc-shortcode .woocommerce table.shop_table,
.fmacc-shortcode .woocommerce table.woocommerce-orders-table{background:#fff;border:1px solid #e2e9e4!important;border-radius:13px!important;overflow:hidden;box-shadow:var(--fmacc-shadow);border-collapse:separate!important;width:100%}
body.fm-mariana-account-enabled .woocommerce table th,.fmacc-shortcode .woocommerce table th{background:#edf7f0;color:#214b33;font-size:13px;padding:14px!important}
body.fm-mariana-account-enabled .woocommerce table td,.fmacc-shortcode .woocommerce table td{font-size:13px;padding:14px!important;vertical-align:middle}
body.fm-mariana-account-enabled .woocommerce .woocommerce-Address,.fmacc-shortcode .woocommerce .woocommerce-Address{padding:18px;background:#fff;border:1px solid #e1eae3;border-radius:14px;box-shadow:var(--fmacc-shadow)}
body.fm-mariana-account-enabled .woocommerce .woocommerce-Address-title,.fmacc-shortcode .woocommerce .woocommerce-Address-title{border-bottom:1px solid #e9efeb;padding-bottom:12px;margin-bottom:12px}
body.fm-mariana-account-enabled .woocommerce .woocommerce-message,
body.fm-mariana-account-enabled .woocommerce .woocommerce-info,
body.fm-mariana-account-enabled .woocommerce .woocommerce-error,
.fmacc-shortcode .woocommerce .woocommerce-message,
.fmacc-shortcode .woocommerce .woocommerce-info,.fmacc-shortcode .woocommerce .woocommerce-error{border-radius:11px!important;background:#fff;border-top-color:var(--fmacc-primary,#00843d)!important;line-height:1.5}
body.fm-mariana-account-enabled .woocommerce fieldset legend,.fmacc-shortcode .woocommerce fieldset legend{font-weight:750;color:#174832}
@media(max-width:1000px){.fmacc-quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}.fmacc-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
 body.fm-mariana-account-enabled .woocommerce #customer_login,.fmacc-shortcode .woocommerce #customer_login{grid-template-columns:1fr}
 body.fm-mariana-account-enabled .woocommerce-MyAccount-navigation,.fmacc-shortcode .woocommerce-MyAccount-navigation{float:none!important;width:100%!important;max-width:none!important;margin:0 0 22px!important}
 body.fm-mariana-account-enabled .woocommerce-MyAccount-navigation ul,.fmacc-shortcode .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;gap:3px;scroll-snap-type:x proximity}
 body.fm-mariana-account-enabled .woocommerce-MyAccount-navigation li,.fmacc-shortcode .woocommerce-MyAccount-navigation li{flex:0 0 auto;scroll-snap-align:start}
 body.fm-mariana-account-enabled .woocommerce-MyAccount-navigation li a,.fmacc-shortcode .woocommerce-MyAccount-navigation li a{white-space:nowrap;font-size:13px!important;padding:12px!important}
 body.fm-mariana-account-enabled .woocommerce-MyAccount-content,.fmacc-shortcode .woocommerce-MyAccount-content{margin:0!important;width:100%!important}
 .fmacc-quick-links{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:620px){
 .fmacc-hero{gap:12px;padding:20px;border-radius:15px}
 .fmacc-hero-icon{width:48px;height:48px;flex-basis:48px;border-radius:13px}
 .fmacc-hero-icon svg{width:25px;height:25px}
 .fmacc-hero h1{font-size:23px!important}
 .fmacc-hero p{font-size:13px!important}
 .fmacc-benefits,.fmacc-quick-links{grid-template-columns:1fr}
 .fmacc-benefit{padding:14px}
 body.fm-mariana-account-enabled .woocommerce form.login,body.fm-mariana-account-enabled .woocommerce form.register,.fmacc-shortcode .woocommerce form.login,.fmacc-shortcode .woocommerce form.register{padding:20px}
 body.fm-mariana-account-enabled .woocommerce table.shop_table,.fmacc-shortcode .woocommerce table.shop_table{display:block;overflow-x:auto;max-width:100%;white-space:nowrap}
 body.fm-mariana-account-enabled .woocommerce .woocommerce-Addresses .col-1,body.fm-mariana-account-enabled .woocommerce .woocommerce-Addresses .col-2,.fmacc-shortcode .woocommerce .woocommerce-Addresses .col-1,.fmacc-shortcode .woocommerce .woocommerce-Addresses .col-2{float:none!important;width:100%!important;margin-bottom:15px}
}
@media(prefers-reduced-motion:reduce){body.fm-mariana-account-enabled .woocommerce a,.fmacc-shortcode .woocommerce a{transition:none!important}}
