/* V34: mobile-only layouts, original forms and desktop tables retained. */
@media(max-width:780px){
body.public-premium[data-page]:not([data-page="/"]) .cabecera-pag,body.public-premium[data-page="/nosotros"] .nos-hero{margin-top:-28px!important;padding-top:28px!important;box-sizing:border-box}
body.premium-global .perfil-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px!important;padding:6px!important;overflow:visible!important;mask-image:none!important;-webkit-mask-image:none!important}
body.premium-global .perfil-tabs .perfil-tab{min-width:0!important;white-space:normal!important;text-align:center;padding:8px 4px!important;overflow-wrap:anywhere;display:flex;align-items:center;justify-content:center;line-height:1.2}
body.premium-global .demo-paso{grid-template-columns:minmax(0,1fr)!important;gap:14px}
body.premium-global .demo-paso>*{min-width:0;max-width:100%}
body.premium-global .demo-vista .of-tarjetas{grid-template-columns:minmax(0,1fr)!important}
body.premium-global .serie>summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px;padding:12px!important}
body.premium-global .serie>summary .serie-nom{grid-column:1/-1}
body.premium-global .serie-nom b{overflow:visible;white-space:normal;overflow-wrap:anywhere}
body.premium-global .serie-precio,body.premium-global .serie-var{white-space:normal!important;text-align:start;align-items:start;min-width:0}
body.premium-global .serie-det{grid-template-columns:minmax(0,1fr)!important;padding:10px!important}
body.premium-global .serie-det svg{max-width:100%;height:auto}
body.premium-global .serie>summary .graf-mini{display:none!important}
body.premium-global .tabla-co-env{width:100%;max-width:100%;overflow-x:auto;scrollbar-width:auto}
body.premium-global .tabla-co{min-width:760px}
body.premium-global .tabla-co-env::before{content:attr(data-scroll-label);display:block;position:sticky;left:0;max-width:100%;font-size:12px;color:#526174;padding:5px 0}
body.premium-global .mobile-cards{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;background:transparent!important;border:0!important}
body.premium-global .mobile-cards>thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
body.premium-global .mobile-cards>tbody{display:block!important;width:100%!important}
body.premium-global .mobile-cards>tbody>tr{display:grid!important;grid-template-columns:minmax(0,1fr);margin:0 0 12px!important;padding:10px 12px!important;background:#fffcf5!important;border:1px solid #d5bc83!important;border-radius:12px;box-shadow:0 2px 6px #1024380a}
body.premium-global .mobile-cards>tbody>tr>td{display:block!important;width:auto!important;min-width:0!important;max-width:100%!important;padding:8px 0!important;text-align:start!important;border:0!important;border-bottom:1px solid #e8dfce!important;white-space:normal!important;overflow-wrap:anywhere;box-sizing:border-box}
body.premium-global .mobile-cards>tbody>tr>td:last-child{border-bottom:0!important}
body.premium-global .mobile-cards>tbody>tr>td[data-mobile-label]:not([data-mobile-label=""])::before{content:attr(data-mobile-label);display:block;color:#8a6428;font:700 11px/1.3 system-ui,sans-serif;letter-spacing:.25px;margin-bottom:4px}
body.premium-global .mobile-cards>tbody>tr>td:first-child{font-size:1rem}
body.premium-global .mobile-cards>tbody>tr>td:empty{display:none!important}
body.premium-global .mobile-cards>tbody>tr>td form{max-width:100%;min-width:0}
body.premium-global .mobile-cards>tbody>tr>td .enlinea,body.premium-global .mobile-cards>tbody>tr>td .acciones-plan{display:flex;flex-wrap:wrap;gap:6px;min-width:0;align-items:center}
body.premium-global .mobile-cards input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.premium-global .mobile-cards select,body.premium-global .mobile-cards textarea{min-width:0!important;max-width:100%!important;box-sizing:border-box}
body.premium-global .mobile-cards button,body.premium-global .mobile-cards .boton{white-space:normal!important;max-width:100%;overflow-wrap:anywhere}
body.premium-global .mobile-cards>tbody>tr.grupo-of,body.premium-global .mobile-cards>tbody>tr.grupo{display:flex!important;align-items:center;gap:8px;background:#102438!important;color:#fff4dc!important;padding:10px!important;border-radius:8px}
body.premium-global .mobile-cards>tbody>tr.grupo>td,body.premium-global .mobile-cards>tbody>tr.grupo-of>th{padding:0!important;border:0!important;background:transparent!important;color:#fff4dc!important}
body.premium-global .mobile-cards>tbody>tr.grupo>td::before{display:none!important}
body.premium-global .mobile-cards>tbody>tr.grupo .sub,body.premium-global .mobile-cards>tbody>tr.grupo a,body.premium-global .mobile-cards>tbody>tr.grupo-of .sub{color:#f2d394!important}
body.premium-global .mobile-cards .ficha-cat{flex-direction:column;max-width:100%;min-width:0}
body.premium-global .mobile-cards .ficha-cat>*{min-width:0;max-width:100%;width:100%}
body.premium-global .mobile-cards .ficha-cat .miniatura{width:100%;max-width:160px;height:80px}
body.premium-global .mobile-cards .ficha-cat input:not([type=checkbox]){width:100%!important}
body.premium-global .mobile-cards .cliente-avatar-link{min-width:0;white-space:normal}
body.premium-global .barra-lote{position:static!important;padding:10px;gap:6px;max-width:100%;box-sizing:border-box}
body.premium-global .barra-lote button{white-space:normal!important;max-width:100%}
body.premium-global .lote-com{max-width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:4px}
body.premium-global .mobile-nav-panel nav button.instalar-app{white-space:normal;max-width:100%}
}

@media(max-width:780px){
body.premium-global .fp-cabecera{flex-wrap:wrap!important;min-width:0!important;max-width:100%}
body.premium-global .fp-cabecera>*{min-width:0!important;max-width:100%;flex-shrink:1!important}
body.premium-global .fp-cabecera .filtro-cat{flex-wrap:wrap!important;overflow:visible!important;mask-image:none!important;-webkit-mask-image:none!important;padding-right:0!important}
body.premium-global .fp-cabecera .filtro-cat a{white-space:normal!important}
body.premium-global .demo-vista .tabla-inf{min-width:0;max-width:100%;overflow-x:auto}
body.premium-global .demo-vista .tabla-inf table{min-width:0;max-width:100%;width:100%;overflow-wrap:anywhere;white-space:normal}
body.premium-global .demo-vista .tabla-inf td,body.premium-global .demo-vista .tabla-inf th{white-space:normal!important}
}

/* V35: keep offer cards inside narrow viewports. */
@media(max-width:420px){
body.premium-global .of-tarjetas,body.premium-global .of-tarjetas.una{grid-template-columns:minmax(0,1fr)!important;max-width:100%}
body.premium-global .of-tarjetas>.of{min-width:0;max-width:100%;overflow-wrap:anywhere}
}
