
/* R11 — ajustes solicitados: portada sin catálogo repetido, móvil y retorno al inicio. */
html{scroll-behavior:smooth;scroll-padding-top:88px}
.tx-home-float{position:fixed;z-index:1200;right:max(14px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:8px;border:1px solid #d4e4f5;border-radius:999px;background:#fff;color:#174c86;padding:11px 15px;box-shadow:0 5px 22px rgba(20,55,90,.16);font:600 14px/1.2 system-ui,sans-serif;text-decoration:none}
.tx-home-float:hover,.tx-home-float:focus-visible{background:#edf6ff;outline:2px solid #2877c7;outline-offset:2px}
/* Las categorías y tarjetas de catálogo siguen disponibles en sus páginas; no se duplican en portada. */
body[data-page="inicio"] .visual-categories,
body[data-page="inicio"] #catalogo .section-nav,
body[data-page="inicio"] #catalogo #sectionTitle,
body[data-page="inicio"] #catalogo #sectionSub,
body[data-page="inicio"] #catalogo #catGrid,
body[data-page="inicio"] #catalogo #filtrosTitulo,
body[data-page="inicio"] #catalogo .filtros,
body[data-page="inicio"] #catalogo #productGrid,
body[data-page="inicio"] #catalogo .productgrid,
body[data-page="inicio"] #catalogo .discovery-hub,
body[data-page="inicio"] #catalogo .animalista-banner,
body[data-page="inicio"] #catalogo .promo-editorial,
body[data-page="inicio"] #catalogo .linen-guide{display:none!important}
body[data-page="inicio"] #catalogo{padding-top:0!important;margin-top:0!important}
/* Mantener controles utilizables en pantallas estrechas sin depender del zoom al 50 %. */
@media(max-width:620px){
 html{font-size:16px}
 body{overflow-x:hidden}
 .wrap{width:min(100% - 24px,100%)!important}
 header .topbar{display:flex;flex-wrap:wrap;gap:8px;padding:8px 0!important}
 header .wordmark{flex:0 0 auto}
 header .header-search{order:5;flex:1 0 100%;width:100%;max-width:100%;min-width:0}
 header .mainnav{max-width:100%;overflow-x:auto}
 header .headicons{margin-left:auto;gap:4px}
 #textiliaCapsuleNav{width:100%;max-width:100%;overflow:visible}
 #textiliaCapsuleNav .tx-capsule-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;transform:none!important;width:100%!important;margin:0!important}
 #textiliaCapsuleNav .tx-capsule{min-width:0!important;width:100%!important}
 #textiliaCapsuleNav .tx-capsule-button{width:100%!important;min-height:48px!important;white-space:normal!important;justify-content:flex-start!important;padding:8px!important;font-size:12px!important;gap:6px!important}
 #textiliaCapsuleNav .tx-capsule-label{overflow-wrap:anywhere;line-height:1.2}
 #textiliaCapsuleNav .tx-capsule-menu{position:fixed!important;left:12px!important;right:12px!important;top:18vh!important;bottom:auto!important;width:auto!important;max-height:64vh!important;overflow:auto!important;z-index:1500!important}
 .tx-home-float{right:12px;bottom:14px;padding:10px 12px;font-size:13px}
 .modal-card,.drawer{max-width:calc(100vw - 20px)!important;width:calc(100vw - 20px)!important;max-height:88dvh;overflow:auto}
 input,select,textarea,button{max-width:100%}
}
@media(min-width:621px) and (max-width:900px){
 #textiliaCapsuleNav .tx-capsule-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;transform:none!important;width:100%!important}
 #textiliaCapsuleNav .tx-capsule-button{width:100%!important;white-space:normal!important;min-height:46px!important}
}
