/* MAV CORE 0.6.0 — cierre visual consolidado */
:root{
  --primary:#FFC107;
  --mav-black:#000000;
  --mav-white:#FFFFFF;
  --mav-surface:#121212;
  --mav-surface-2:#1A1A1A;
  --mav-border:#303030;
  --mav-muted:#737373;
  --mav-green:#2f9c25;
  --mav-red:#e33338;
}
html,body,input,button,select,textarea{
  font-family:"Aptos","Segoe UI Variable","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;
}
body{font-size:14px;line-height:1.45;background:#070707}
button,input,select,textarea,a{font-size:14px}
.m20-logo{width:var(--header-logo-width,185px);min-width:var(--header-logo-width,185px)}
.m20-logo img{width:100%!important;height:50px!important;object-fit:contain!important;object-position:left center!important}
.m20-topin{grid-template-columns:auto minmax(280px,1fr) auto}

/* Hero keeps promotional hierarchy: exception to 13–18 internal text rule */
.m20-hero{min-height:390px}
.m20-hero-copy{padding:48px}
.m20-hero h1{font-size:44px!important;line-height:1.03!important;letter-spacing:-1.4px;margin:8px 0 16px!important;max-width:620px}
.m20-hero p{font-size:16px;line-height:1.55;max-width:620px}
.m20-kicker{font-size:13px}
.m20-hero-visual strong{font-size:116px!important;letter-spacing:-7px!important;color:rgba(255,193,7,.12)!important}

/* Home tool strip */
.m60-home-tools{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin:14px 0 20px}
.m60-home-tools a{background:#151515;border:1px solid #313131;border-radius:12px;padding:13px 10px;display:flex;flex-direction:column;gap:4px;min-width:0}
.m60-home-tools a:hover{border-color:var(--primary);transform:translateY(-1px)}
.m60-home-tools strong{font-size:14px;color:#fff}
.m60-home-tools span{font-size:13px;color:#a7a7a7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Product + service tabs/carousels */
.m60-facet-row{display:grid;grid-template-columns:82px 1fr;gap:9px;align-items:center;margin:8px 0}
.m60-facet-label{font-size:13px;font-weight:700;color:#d0d0d0;text-transform:uppercase}
.m30-tabs-shell{min-width:0}
.m30-tab,.m30-service-type{font-size:14px!important}
.m30-tab span{font-size:13px!important}
.m30-track{scroll-snap-type:x proximity}
.m30-track>*{scroll-snap-align:start}

/* White catalog cards - deliberately contrast against black page */
.m40-product-card,.m40-entity-card{background:#fff!important;color:#242424!important}
.m40-product-card{flex:0 0 252px}
.m40-product-image,.m40-entity-image{aspect-ratio:1/1;height:auto;min-height:0}
.m40-brand{font-size:14px!important;color:#8b8b8b!important}
.m40-card-title{font-size:16px!important;color:#282828!important}
.m40-stock{font-size:14px!important}
.m40-prices del{font-size:14px!important}
.m40-prices strong{font-size:18px!important}
.m60-free-ship{position:absolute;left:8px;bottom:8px;z-index:3;display:inline-flex;background:#349c2c;color:#fff;border-radius:14px;padding:5px 8px;font-size:14px;font-weight:600;margin:0;line-height:1;pointer-events:none}
.m60-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px;align-items:stretch}
.m60-card-actions .m40-add-cart,.m60-buy-card{border:0;border-radius:7px;padding:10px 7px;min-height:44px;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.2}
.m60-card-actions .m40-add-cart{background:var(--primary);color:#000}
.m60-buy-card{background:#151515;color:#fff}
.m60-card-actions .m40-card-menu{height:38px}
.m40-entity-body h3{font-size:16px!important;color:#222}
.m40-entity-body p{font-size:14px!important;color:#666}

/* Full ecosystem tab carousel */
.m60-ecosystem-tabs{display:flex;gap:7px;overflow:auto;padding-bottom:5px;scrollbar-width:thin}
.m60-ecosystem-tabs button{flex:0 0 auto;background:transparent;color:#111;border:1px solid #111;border-radius:9px;padding:10px 13px;font-weight:600}
.m60-ecosystem-tabs button.active{background:var(--primary);color:#000;border-color:var(--primary)}
.m60-ecosystem-track>.m40-entity-card{flex:0 0 270px}

/* Floating windows: always explicit close X */
.m30-float-card,.m30-simple-card{border-radius:16px!important}
.m30-float-close{
  position:absolute!important;top:12px!important;right:12px!important;
  width:38px!important;height:38px!important;border-radius:50%!important;
  background:var(--primary)!important;color:#000!important;border:0!important;
  font-size:18px!important;font-weight:600!important;z-index:20!important;cursor:pointer!important;
}
.m30-float-card iframe{border-radius:14px}

/* Product detail: white + gallery + actions */
.m40-detail-page{background:#f4f4f4!important}
.m40-gallery-white,.m40-detail-white{box-shadow:0 2px 12px rgba(0,0,0,.06)}
.m40-gallery-thumbs button{cursor:pointer}
.m40-buy-actions{display:grid!important;grid-template-columns:1.25fr 1fr auto auto;gap:8px}
.m40-buy-actions button{min-height:42px;font-size:14px!important}
.m40-buy-now{background:#111!important;color:#fff!important}
.m60-product-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.m60-video-btn{display:flex;align-items:center;justify-content:center;min-height:42px;background:#171717;color:#fff;border-radius:8px;border:1px solid #353535;font-size:14px}
.m60-product-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.m60-note-box{border:1px solid #e4e4e4;border-radius:9px;background:#fafafa;padding:11px;font-size:14px;color:#444}
.m60-note-box strong{font-size:14px}

/* Agenda visible and prominent on Home */
.m41-agenda{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:14px;color:#111827}
.m41-agenda-toolbar button,.m41-agenda-cats button{font-size:14px!important}
.m41-agenda-content{gap:12px}
.m41-calendar{background:#fff;color:#111827}
.m41-day{background:#fff!important;color:#111827!important;border-color:#e5e7eb!important}
.m41-daynum{font-size:14px!important}
.m41-day-event{font-size:14px!important}
.m41-day.today{box-shadow:inset 0 0 0 1px #2563eb}
.m41-agenda-events{background:#fff!important;color:#111827!important}
.m41-event-card{background:#fff!important;color:#111827!important}
.m41-event-card strong{font-size:15px!important}
.m41-event-card span,.m41-event-card p{font-size:14px!important}

/* Social rail with recognizable brand icons */
.m30-social-rail{right:12px!important;gap:7px!important}
.m30-social-btn{width:44px!important;height:44px!important;border-radius:12px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.m30-social-btn svg{width:24px!important;height:24px!important}
.m30-social-btn.share{background:#343434;color:#fff}
.m30-social-btn.install{font-size:13px!important;font-weight:700!important}

/* Assurance strip + footer based on current MAV ecommerce */
.m60-assurance{background:var(--primary);color:#000;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:18px max(24px,calc((100vw - 1280px)/2 + 18px))}
.m60-assurance-item{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:14px;min-width:0}
.m60-assurance-icon{width:58px;height:58px;display:grid;place-items:center;color:#000;flex:0 0 auto}
.m60-assurance-icon svg{width:54px;height:54px;display:block;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.m60-assurance-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.m60-assurance strong{font-size:15px;font-weight:600;line-height:1.2}
.m60-assurance .m60-assurance-copy>span{font-size:14px;font-weight:600;line-height:1.3}
.m60-footer{background:#050505;color:#fff;padding:34px max(24px,calc((100vw - 1280px)/2 + 18px)) 18px;border-top:1px solid #202020}
.m60-footer-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr 1.2fr;gap:34px}
.m60-footer h3{font-size:16px;margin:0 0 12px;color:#fff}
.m60-footer p,.m60-footer a,.m60-footer strong{font-size:14px}.m60-footer strong{color:#fff}
.m60-footer section{display:flex;flex-direction:column;gap:8px}
.m60-footer-accordion{min-width:0;color:#fff}
.m60-footer-accordion summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff;font-size:16px;font-weight:600;line-height:1.25;cursor:pointer}
.m60-footer-accordion summary::-webkit-details-marker{display:none}
.m60-footer-accordion summary::after{content:"+";font-size:20px;font-weight:500;line-height:1}
.m60-footer-accordion[open] summary::after{content:"−"}
.m60-footer-accordion-body{display:flex;flex-direction:column;gap:8px;padding-top:12px}
@media(min-width:1051px){.m60-footer-accordion summary{pointer-events:none}.m60-footer-accordion summary::after{display:none}.m60-footer-accordion:not([open])>.m60-footer-accordion-body{display:flex}}
.m60-footer a{color:#d6d6d6}
.m60-footer a:hover{color:var(--primary)}
.m60-footer-brand img{width:205px;height:72px;object-fit:contain;object-position:left center}
.m60-footer-social{display:flex;flex-wrap:wrap;gap:8px}.m60-footer-social a.m60-social-icon{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #3a3a3a;border-radius:50%;padding:0;background:#111;color:#fff}.m60-footer-social a.m60-social-icon:hover{color:#ffc400;border-color:#ffc400}.m60-footer-social a.m60-social-icon svg{width:20px;height:20px;display:block}
.m60-claims{display:flex!important;align-items:center;gap:8px;margin-top:4px}
.m60-claims:first-letter{font-size:18px}
.m60-footer-bottom{border-top:1px solid #252525;margin-top:24px;padding-top:14px;display:flex;justify-content:space-between;gap:10px;color:#8d8d8d}
.m60-footer-bottom span{font-size:13px}

/* Admin nav / status helpers */
.m60-admin-callout{background:#171717;border:1px solid #373737;border-radius:13px;padding:14px;margin:12px 0}
.m60-admin-callout strong{font-size:16px}

/* Internal typography hard clamp: hero excluded */
.m20-top,.m20-catbar,.m40-block,.m40-products-page,.m40-detail-page,.m41-agenda,.m60-footer,.m60-assurance,
.m30-float,.m20-panel,.admin-body{
  --mav-min-font:13px;--mav-max-font:18px;
}
.m40-block h1,.m40-block h2,.m40-block h3,.m40-products-page h1,.m40-products-page h2,.m40-products-page h3,
.m40-detail-page h1,.m40-detail-page h2,.m40-detail-page h3,.m20-panel h1,.m20-panel h2,.m20-panel h3{font-size:18px!important}
.m40-block small,.m40-products-page small,.m40-detail-page small,.m41-agenda small,.m60-footer small{font-size:14px!important}

/* mobile */
@media(max-width:1050px){
  .m60-home-tools{grid-template-columns:repeat(4,1fr)}
  .m60-footer-grid{grid-template-columns:1fr;gap:14px}
  .m60-card-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .m20-topin{grid-template-columns:104px minmax(0,1fr);gap:8px;padding:8px 10px}
  .m20-logo{min-width:0;width:100%}
  .m20-logo img{height:42px!important}
  .m20-hero{min-height:330px}
  .m20-hero-copy{padding:28px 20px}
  .m20-hero h1{font-size:34px!important;letter-spacing:-.8px}
  .m20-hero p{font-size:15px}
  .m60-home-tools{grid-template-columns:repeat(2,1fr)}
  .m60-facet-row{grid-template-columns:1fr}
  .m60-facet-label{margin-top:4px}
  .m40-product-card{flex-basis:210px}
  .m40-product-image,.m40-entity-image{aspect-ratio:1/1;height:auto;min-height:0}
  .m60-card-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .m60-buy-card{display:flex}
  .m40-buy-actions{grid-template-columns:1fr 1fr}
  .m60-assurance{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px 14px}
  .m60-assurance-item{grid-template-columns:46px minmax(0,1fr);gap:10px}
  .m60-assurance-icon{width:46px;height:46px}
  .m60-assurance-icon svg{width:42px;height:42px}
  .m60-footer{padding:28px 14px 28px}
  .m60-footer-grid{grid-template-columns:1fr}
  .m60-footer-bottom{flex-direction:column}
  .m30-social-rail{right:7px!important}
  .m30-social-btn{width:40px!important;height:40px!important}
}

@media(max-width:460px){.m60-assurance{gap:12px;padding:14px 10px}.m60-assurance-item{grid-template-columns:40px minmax(0,1fr);gap:8px}.m60-assurance-icon{width:40px;height:40px}.m60-assurance-icon svg{width:36px;height:36px}.m60-assurance strong{font-size:13px}.m60-assurance .m60-assurance-copy>span{font-size:13px}}

/* Contraste directo en componentes oscuros */
.m30-float-card,.m30-simple-card{color:#fff}.m30-float-card h1,.m30-float-card h2,.m30-float-card h3,.m30-simple-card h1,.m30-simple-card h2,.m30-simple-card h3{color:#fff!important}.m30-float-card p,.m30-simple-card p{color:#d1d5db}.m41-agenda,.m41-agenda h1,.m41-agenda h2,.m41-agenda h3{color:#111827!important}.m41-agenda p{color:#667085!important}

/* 1.6.19 — el contenedor flotante usa superficie clara; el contenido embebido define sus propios colores */
.m30-float-card{background:#f6f7f9!important;border-color:#d8dee7!important}
.m30-float-card iframe{background:#f6f7f9!important}
.m30-simple-card{background:#fff!important;border-color:#d8dee7!important;color:#111!important}
.m30-simple-card h1,.m30-simple-card h2,.m30-simple-card h3{color:#111!important}
.m30-simple-card p{color:#5b6574!important}
