/* FLUMART v0.5 · identidad industrial y componentes de interacción.
   Se carga luego de market y home; los controles del checkout llevan mayor especificidad.
   No altera imágenes: modifica exclusivamente el marco y su espaciado. */
:root{--fm-brand:#154c61;--fm-brand-dark:#10394c;--fm-gold:#f3ba09;--fm-ink:#173447;--fm-sub:#607786;--fm-outline:#d6e0e7;--fm-focus:0 0 0 4px rgba(21,76,97,.14)}
html{scroll-padding-top:25px}body{color:var(--fm-ink);-webkit-font-smoothing:antialiased}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--fm-brand);outline-offset:2px}a,button{transition:color .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease}
.fm-header{border-bottom:1px solid #f0f3f5}.fm-header-action:hover{color:#0e6c87}.fm-header-action:hover svg{color:#0e6c87}.fm-search{border-radius:10px;min-height:50px}.fm-search button{padding-inline:22px}.fm-search button:hover{background:#ffd247}.fm-nav-all{margin-left:0}.fm-nav-inner{gap:25px}.fm-header-action:focus-visible{border-radius:8px}
/* Productos: el lienzo que rodea las fotografías siempre es blanco. La imagen conserva proporciones y píxeles. */
.fm-product,.fm-home3 .hm-product-grid .fm-product{border:1px solid #e1e8ed;border-radius:12px;background:#fff;overflow:hidden}
.fm-product-img,.fm-home3 .hm-product-grid .fm-product-img{background:#fff !important;aspect-ratio:1.20;display:flex;align-items:center;justify-content:center;padding:13px 14px;border-bottom:1px solid #f0f3f5}
.fm-product-img img,.fm-home3 .hm-product-grid .fm-product-img img{background:#fff;width:100%;height:100%;max-width:100%;max-height:245px;object-fit:contain;object-position:center;display:block;mix-blend-mode:normal;filter:none}
.fm-product:hover .fm-product-img img{transform:scale(1.025)}
.fm-product-img .fm-sale{top:10px;left:10px;z-index:2;box-shadow:0 2px 9px #1b304012}
.fm-product-info{gap:9px}.fm-product-name{line-height:1.35}.fm-product-tag{color:#5f7d8a}.fm-product-prices strong{color:#153d50}.fm-product-shop{color:#607d8b}
.fm-card-button{background:#f9fbfc;border:1px solid #cedce4;color:#17465b;border-radius:8px;min-height:40px}.fm-card-button:hover{background:#f3ba09;border-color:#f3ba09;color:#173447}
.fm-product-mainimage{background:#fff!important;border:1px solid #e0e7ec;padding:18px}.fm-product-mainimage img{object-fit:contain;max-width:100%;max-height:100%;background:#fff}.fm-summary-product img,.fm-checkout-v04 .fm-summary-product img{background:#fff!important;object-fit:contain;border:1px solid #edf0f3;padding:4px}
.fm-home3 .hm-category-tile{background:#fff}.fm-home3 .hm-category-photo{background:#fff;border-radius:8px}.fm-home3 .hm-category-photo img{object-fit:contain;mix-blend-mode:normal}
.fm-home3 .hm-product-grid .fm-product-info{gap:8px}.fm-home3 .hm-product-grid .fm-card-button{border-radius:8px}
.fm-demo-caption{font-size:12px;line-height:1.6}
/* Campos, formularios y radios: altura y contraste uniformes. */
.fm-checkout-v04 .fm-check-card{padding:27px 29px;border-radius:15px;border-color:#dae4ea;box-shadow:0 5px 22px rgba(22,53,69,.045)}
.fm-checkout-v04 .fm-check-heading{margin-bottom:23px;gap:14px}.fm-checkout-v04 .fm-check-heading>span{width:36px;height:36px;font-size:15px;background:#154c61}.fm-checkout-v04 .fm-check-heading h2{font-size:22px;line-height:1.2}
.fm-checkout-v04 label{font-size:13px;font-weight:650;color:#284357;line-height:1.45;gap:9px}.fm-checkout-v04 .fm-input-grid{column-gap:17px;row-gap:19px}
.fm-checkout-v04 :is(input:not([type=checkbox]):not([type=file]),select,textarea),
.fm-detail-select select,.fm-list-toolbar select,.fm-auth-panel .fm-control input{
  width:100%;min-height:49px;height:auto;line-height:1.35;background-color:#fff;color:#213c4a;border:1.5px solid #cddbe4;border-radius:9px;padding:12px 14px;
  box-shadow:0 1px 2px rgba(20,50,65,.025);font-size:14px;font-weight:500;transition:border-color .16s,box-shadow .16s,background .16s
}
.fm-checkout-v04 input::placeholder,.fm-auth-panel input::placeholder{color:#9ba9b3;font-weight:400}
.fm-checkout-v04 :is(input:not([type=checkbox]):not([type=file]),textarea):hover,.fm-auth-panel input:hover{border-color:#95afbd}
.fm-checkout-v04 :is(input:not([type=checkbox]):not([type=file]),select,textarea):focus,.fm-detail-select select:focus,.fm-list-toolbar select:focus,.fm-auth-panel input:focus{outline:0;border-color:#236d88;box-shadow:var(--fm-focus)}
.fm-checkout-v04 select,.fm-detail-select select,.fm-list-toolbar select,.fm-filters select{
  -webkit-appearance:none;appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233a6174' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;padding-right:40px
}
.fm-checkout-v04 :is(select,input):disabled,.fm-auth-panel input:disabled{background:#f5f8fa;color:#9aa9b4;cursor:not-allowed;opacity:.95}
.fm-checkout-v04 .fm-field-hint{color:#718794;font-size:12px;line-height:1.6;margin-top:16px}
.fm-checkout-v04 .fm-order-summary{border-radius:15px;border-color:#dbe4e9;box-shadow:0 6px 26px #173c4f0a;padding:26px}
.fm-checkout-v04 .fm-check-terms{font-weight:450;line-height:1.55}.fm-checkout-v04 .fm-check-terms input[type=checkbox]{accent-color:#15556c}
.fm-checkout-v04 input[type=file]{padding:12px;border:1px dashed #bdcfd9;background:#f9fbfc;border-radius:9px;max-width:100%;font-size:13px}
.fm-checkout-v04 input[type=file]::file-selector-button{background:#e8f0f4;color:#244a5e;border:1px solid #ccdae2;border-radius:7px;padding:9px 14px;margin-right:13px;cursor:pointer;font-weight:700}
.fm-checkout-v04 .fm-bank-data{border:1px solid #e5ebef;background:#f8fafb}
/* Enhanced select: mantiene el <select> original en el DOM para POST y navegadores sin JS.
   Botón ARIA y opciones propias: fondo, estados, foco y desplazamiento consistentes. */
.fm-select-wrap{position:relative;width:100%;min-width:0}.fm-select-native{position:absolute!important;width:1px!important;height:1px!important;min-height:1px!important;opacity:0!important;inset:0 auto auto 0!important;pointer-events:none!important;clip-path:inset(50%)!important;overflow:hidden!important;padding:0!important;border:0!important}
.fm-select-trigger{width:100%;min-height:49px;display:flex;gap:10px;align-items:center;justify-content:space-between;text-align:left;background:#fff;color:#214357;border:1.5px solid #cddbe4;border-radius:9px;padding:10px 13px 10px 14px;font:500 14px/1.4 Inter,Arial,sans-serif;box-shadow:0 1px 2px #173c4f05;cursor:pointer}
.fm-select-trigger .fm-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fm-select-trigger.fm-placeholder .fm-select-value{color:#81949f;font-weight:400}.fm-select-trigger svg{color:#537789;flex:none;transition:transform .15s}.fm-select-wrap.fm-open .fm-select-trigger svg{transform:rotate(180deg)}
.fm-select-trigger:hover{border-color:#95afbd}.fm-select-trigger:focus-visible,.fm-select-wrap.fm-open .fm-select-trigger{outline:0;border-color:#246e87;box-shadow:var(--fm-focus)}
.fm-select-trigger:disabled{background:#f3f6f8;color:#82929c;cursor:not-allowed}.fm-select-trigger:disabled .fm-select-value{color:#8e9ba5}
.fm-select-list{list-style:none;position:absolute;z-index:60;left:0;right:0;top:calc(100% + 6px);max-height:242px;overflow:auto;overscroll-behavior:contain;margin:0;padding:6px;background:#fff;border:1px solid #d9e5eb;border-radius:11px;box-shadow:0 18px 42px rgba(16,47,62,.18);scrollbar-width:thin}
.fm-select-list[hidden]{display:none}.fm-select-list li{margin:0}.fm-select-option{border:0;display:block;width:100%;background:transparent;text-align:left;padding:10px 12px;border-radius:7px;font:500 13px/1.45 Inter,sans-serif;color:#253e4e;cursor:pointer;white-space:normal}.fm-select-option:hover,.fm-select-option.fm-highlight{background:#edf5f8;color:#124b63}.fm-select-option[aria-selected=true]{background:#fff4cf;color:#173b4d;font-weight:800}.fm-select-option:disabled{opacity:.42;cursor:not-allowed}.fm-select-option:focus-visible{outline:2px solid #236d88;outline-offset:-2px}
/* Layout de autenticación separado de administración. */
.fm-auth-page{width:min(1050px,calc(100% - 48px));margin:54px auto 78px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,490px);gap:0;border-radius:20px;overflow:hidden;border:1px solid #e3eaf0;background:#fff;box-shadow:0 20px 58px rgba(20,55,70,.075)}
.fm-auth-intro{background:radial-gradient(circle at 100% 0%,rgba(243,186,9,.16),transparent 34%),linear-gradient(145deg,#113e52,#0c3041);padding:54px 44px;color:#fff;display:flex;flex-direction:column;justify-content:center}
.fm-auth-intro .fm-overline{color:#f3ba09;font-size:11px;font-weight:900;letter-spacing:.16em}.fm-auth-intro h1{font:800 clamp(32px,3.3vw,48px)/1.05 Barlow,Arial,sans-serif;margin:16px 0 20px;color:#fff;letter-spacing:-.03em}.fm-auth-intro p{color:#d5e7ec;line-height:1.75;font-size:14px;max-width:340px}.fm-auth-benefits{margin-top:29px;display:grid;gap:15px}.fm-auth-benefits span{color:#e2ecf0;font-weight:650;font-size:13px}
.fm-auth-panel{padding:47px 45px}.fm-auth-panel .fm-overline{font-size:10px;letter-spacing:.14em;font-weight:850;color:#a17b07}.fm-auth-panel h2{font:800 33px/1.12 Barlow,sans-serif;margin:12px 0 9px;color:#17394b}.fm-auth-panel>p{font-size:13px;color:#6a7e89;line-height:1.6;margin:0 0 25px}.fm-auth-panel form{display:flex;flex-direction:column;gap:16px}
.fm-auth-panel .fm-control{font-size:13px;font-weight:750;display:grid;gap:8px;color:#294657}.fm-auth-panel .fm-control small{font-size:11px;color:#7d8e9a;font-weight:500;margin-top:-8px}.fm-auth-panel .fm-control input{min-height:49px;padding:12px 14px}.fm-auth-panel input:focus{outline:0;border-color:#246e87;box-shadow:var(--fm-focus)}
.fm-auth-submit,.fm-auth-alt{display:inline-flex;justify-content:center;align-items:center;gap:10px;border-radius:9px;padding:13px 16px;min-height:49px;font:800 13px Inter,Arial,sans-serif;text-align:center;cursor:pointer}.fm-auth-submit{background:#f3ba09;color:#153846;border:1px solid #e5ae0d}.fm-auth-submit:hover{background:#ffd041}.fm-auth-alt{border:1px solid #cbdbe4;color:#1e5267;background:#fff}.fm-auth-alt:hover{background:#f4f9fb;border-color:#8fb1c0}
.fm-auth-separator{display:flex;align-items:center;gap:12px;text-align:center;color:#81949f;font-size:12px;margin:22px 0 13px}.fm-auth-separator:before,.fm-auth-separator:after{content:'';height:1px;background:#e3ebef;flex:1}.fm-auth-guest{text-align:center;margin-top:18px!important}.fm-auth-guest a{color:#146281;font-weight:750;text-decoration:underline}.fm-form-alert{background:#fff2ee;border:1px solid #f3d2cb;border-radius:9px;color:#9d3e28;font-size:12px;padding:12px 14px;line-height:1.5}
.fm-auth-consent{display:flex;gap:10px;font-size:11px;line-height:1.55;color:#5a7180}.fm-auth-consent input{margin-top:3px;accent-color:#15516b;width:18px;height:18px;flex:none}
.fm-customer-dashboard{padding:45px 0 90px}.fm-customer-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.fm-customer-heading h1{font:800 38px/1.15 Barlow,sans-serif;margin:8px 0}.fm-customer-heading p{font-size:13px;color:#708692}.fm-account-logout{border:1px solid #cbd9e1;background:#fff;color:#24546b;padding:11px 16px;border-radius:9px;font-weight:750}.fm-customer-columns{display:grid;grid-template-columns:275px 1fr;gap:20px;align-items:start}.fm-customer-info,.fm-customer-orders{border:1px solid #dfe7ec;border-radius:13px;background:#fff;padding:24px}.fm-customer-info h2,.fm-customer-orders h2{font-size:23px;margin:0 0 20px}.fm-customer-info dl{font-size:13px;line-height:1.5;margin:0 0 22px}.fm-customer-info dt{color:#81929d;margin-bottom:3px}.fm-customer-info dd{font-weight:650;margin:0 0 15px;overflow-wrap:anywhere}.fm-customer-info .fm-auth-alt{width:100%}.fm-customer-orders h2 small{font:600 13px Inter,sans-serif;color:#8496a0}.fm-customer-empty{padding:45px 15px;text-align:center;color:#647d8b}.fm-customer-empty svg{color:#adc2cd}.fm-customer-empty h3{color:#274c60;margin:12px 0}.fm-customer-empty p{font-size:13px;max-width:440px;margin:0 auto 18px}.fm-customer-empty .fm-auth-submit{margin:auto}.fm-account-table-wrap{overflow-x:auto}.fm-account-table{width:100%;border-collapse:collapse;white-space:nowrap}.fm-account-table th{text-align:left;background:#f6f9fa;color:#67808d;font-size:11px;padding:12px}.fm-account-table td{padding:15px 12px;border-bottom:1px solid #edf0f2;font-size:12px}.fm-order-status{background:#eaf3f7;border-radius:99px;padding:6px 10px;font-size:11px;font-weight:650}
/* Admin separado visualmente de la navegación de tienda */
.fm-backoffice-header{background:#fff;border-bottom:1px solid #dbe5eb}.fm-backoffice-inner{display:flex;align-items:center;justify-content:space-between;min-height:79px;gap:24px}.fm-backoffice-inner>a{display:flex;align-items:center;gap:18px}.fm-backoffice-inner img{object-fit:contain;height:55px;width:100px}.fm-backoffice-inner strong{font:800 17px Barlow,sans-serif;color:#1c4a5f}.fm-backoffice-inner nav{display:flex;gap:23px;align-items:center;font-size:12px;font-weight:750;color:#3f5e70}.fm-backoffice-inner nav a:hover{color:#bc8c00}.fm-backoffice-inner nav button{border:1px solid #d8e3e9;background:#fff;border-radius:7px;padding:8px 12px;color:#31586b;font-weight:750}
/* Estilo de caja de login administrativa, separado de acceso público */
.auth-section{padding-block:58px 95px}.auth-card{max-width:510px;margin:auto;border:1px solid #dce5eb;border-radius:16px;background:#fff;padding:33px;box-shadow:0 15px 32px rgba(20,54,70,.07)}.auth-card h1{font:800 32px Barlow,sans-serif}.auth-card form label{display:grid;gap:8px;font-size:13px;font-weight:700;margin:15px 0}.auth-card form input{width:100%;border:1.5px solid #cddbe4;border-radius:9px;padding:12px 14px;min-height:49px}.auth-card form input:focus{outline:0;box-shadow:var(--fm-focus);border-color:#27647e}
/* Utilidades responsive */
@media(max-width:1000px){.fm-nav-inner{gap:15px}.fm-header-inner{gap:16px}.fm-header-links{gap:11px}.fm-checkout-v04 .fm-check-card{padding:23px}}
@media(max-width:760px){.fm-auth-page{width:min(560px,calc(100% - 28px));grid-template-columns:1fr;margin:25px auto 50px}.fm-auth-intro{padding:27px 28px}.fm-auth-intro h1{font-size:30px;margin:9px 0}.fm-auth-intro p{margin:0}.fm-auth-benefits{display:none}.fm-auth-panel{padding:26px}.fm-customer-columns{grid-template-columns:1fr}.fm-customer-heading h1{font-size:30px}.fm-backoffice-inner{flex-direction:column;justify-content:center;padding:15px 0}.fm-backoffice-inner nav{gap:13px;flex-wrap:wrap;justify-content:center}.fm-checkout-v04 .fm-order-summary{padding:19px}.fm-checkout-v04 .fm-check-heading h2{font-size:20px}}
@media(max-width:480px){.fm-checkout-v04 .fm-check-card{padding:18px;border-radius:12px}.fm-checkout-v04 .fm-input-grid{gap:15px}.fm-checkout-v04 .fm-check-heading{gap:10px}.fm-checkout-v04 .fm-check-heading>span{height:33px;width:33px}.fm-auth-page{width:calc(100% - 20px)}.fm-auth-intro{padding:25px 23px}.fm-auth-panel{padding:25px 20px}.fm-product-img,.fm-home3 .hm-product-grid .fm-product-img{padding:8px}.fm-product-info{padding:12px}.fm-customer-dashboard{padding-top:30px}.fm-customer-heading{align-items:flex-start;flex-direction:column}.fm-customer-info,.fm-customer-orders{padding:17px}}

.fm-checkout-v04 .fm-check-identity{font-size:12px;color:#587385;border:1px solid #dce8ed;background:#f7fafb;border-radius:9px;padding:10px 14px;margin:0 0 20px;line-height:1.6}.fm-checkout-v04 .fm-check-identity a{font-weight:800;color:#0f6584;text-decoration:underline}.fm-cart-item>img{object-fit:contain;background:#fff!important;border:1px solid #edf1f4;border-radius:8px;padding:6px}
.fm-select-trigger[aria-invalid=true]{border-color:#c35442;box-shadow:0 0 0 3px rgba(196,84,66,.12)}

.fm-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
