/* TEXTILIA Dashboard Redesign — inspirado en la referencia FinDash */
:root{--tx-ink:#102650;--tx-blue:#2465d8;--tx-blue2:#4d83e7;--tx-sky:#eaf3ff;--tx-glass:rgba(255,255,255,.78);--tx-line:rgba(255,255,255,.88);--tx-shadow:0 14px 36px rgba(20,57,111,.12)}
html{scroll-behavior:smooth;background:#dceafa}
body{color:var(--tx-ink);background:radial-gradient(ellipse at 90% 10%,rgba(255,255,255,.9),transparent 32%),radial-gradient(ellipse at 5% 85%,rgba(75,139,234,.22),transparent 35%),linear-gradient(135deg,#dceafa 0%,#eef5ff 44%,#d7e8ff 100%);font-family:Inter,system-ui,sans-serif}
body:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(120deg,transparent 45%,rgba(67,129,226,.10) 46%,transparent 70%);}
header{position:sticky;top:0;z-index:100;background:rgba(239,246,255,.82)!important;backdrop-filter:blur(22px);border:1px solid rgba(255,255,255,.88);box-shadow:0 8px 28px rgba(25,58,105,.10);border-radius:0 0 22px 22px}
.wrap{width:min(1500px,calc(100% - 44px));max-width:1500px}
.topbar{min-height:78px;gap:18px;padding:12px 0;display:flex;align-items:center}
.wordmark{font-size:clamp(24px,2.2vw,34px);font-weight:800;letter-spacing:-1.4px;color:#102650!important}
.wordmark em{color:#2465d8}
.header-search{background:rgba(255,255,255,.82)!important;border:1px solid #d4e3fa!important;border-radius:16px!important;box-shadow:inset 0 1px 0 #fff;min-height:44px}
.header-search input{color:#102650!important}
.mainnav{gap:5px;align-items:center;flex-wrap:wrap}
.mainnav a{font-size:12px!important;font-weight:650!important;color:#27466f!important;padding:8px 10px!important;border-radius:10px;white-space:nowrap}
.mainnav a:hover,.mainnav a:focus-visible{background:#dceaff;color:#174da9!important}
.headicons{gap:8px}
.iconbtn{border:1px solid #d7e4f6!important;background:rgba(255,255,255,.8)!important;border-radius:13px!important;color:#1c4e9e!important}
.trustbar{background:rgba(214,231,255,.65)!important;border-top:1px solid rgba(255,255,255,.8)!important;color:#355477!important}
.trustbar p{margin:0;padding:8px 0;font-size:12px}
main{padding:22px 0 60px!important}
.hero.tx-reference-hero{margin:0 auto 18px!important;padding:28px 0!important;background:linear-gradient(115deg,rgba(255,255,255,.86),rgba(225,239,255,.72))!important;border:1px solid var(--tx-line)!important;border-radius:24px!important;box-shadow:var(--tx-shadow);backdrop-filter:blur(18px);overflow:hidden;position:relative}
.hero.tx-reference-hero:after{content:"";position:absolute;width:280px;height:280px;right:-60px;top:-110px;border-radius:50%;background:radial-gradient(circle,rgba(60,123,226,.19),rgba(60,123,226,0) 70%);pointer-events:none}
.tx-reference-hero-copy{max-width:none!important;position:relative;z-index:1}
.tx-reference-hero h1{font-size:clamp(28px,3vw,42px)!important;letter-spacing:-1.5px!important;color:#102650!important;margin:0 0 5px!important}
.tx-reference-hero .lead{font-size:15px!important;color:#526783!important;margin:0 0 18px!important}
.searchbox{max-width:850px!important;background:rgba(255,255,255,.9)!important;border:1px solid #cfdef4!important;border-radius:15px!important;box-shadow:0 5px 18px rgba(31,75,137,.08);min-height:54px!important}
.searchbox input{color:#132e56!important}
.camera-search{border-radius:10px!important;background:#e2edff!important;color:#225fc6!important}
.tx-dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 22px}
.tx-dashboard-stat{padding:20px 21px;border-radius:20px;border:1px solid var(--tx-line);background:var(--tx-glass);box-shadow:var(--tx-shadow);backdrop-filter:blur(16px);min-width:0}
.tx-dashboard-stat .stat-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#dceaff;color:#2465d8;font-size:21px;margin-bottom:12px}
.tx-dashboard-stat .stat-label{font-size:13px;color:#536984;margin-bottom:4px}
.tx-dashboard-stat strong{display:block;font-size:clamp(19px,2vw,27px);letter-spacing:-.8px;color:#102650;line-height:1.15}
.tx-dashboard-stat small{display:block;color:#25856d;font-size:12px;margin-top:8px;font-weight:650}
.visual-categories,.discovery-hub,.animalista-banner,.promo-editorial article,.linen-guide,.filtros,.smart-catalog,.espacio-personal,.calc,.tx-tools-hub,main>div>section[aria-labelledby="faqTitulo"]{background:var(--tx-glass)!important;border:1px solid var(--tx-line)!important;border-radius:22px!important;box-shadow:var(--tx-shadow);backdrop-filter:blur(18px)}
.visual-categories{padding:22px!important;margin-bottom:20px!important}
.tx-reference-section-heading h2,.h-title,.smart-catalog h2,.espacio-personal h2,.calc h2,.tx-tools-hub h2{color:#102650!important;letter-spacing:-.7px}
.trapezoid-grid{gap:12px!important}
.trapezoid{border-radius:15px!important;min-height:90px!important;overflow:hidden;border:1px solid rgba(255,255,255,.75);box-shadow:0 8px 18px rgba(25,61,117,.10)}
.trapezoid span{background:linear-gradient(transparent,rgba(9,30,66,.78))!important;font-weight:700}
#catalogo{padding-top:8px}
.section-nav{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 16px}
.section-nav button,.section-nav a{border-radius:13px!important;background:rgba(255,255,255,.78)!important;border:1px solid #d4e2f7!important;color:#23456f!important;padding:11px 16px!important}
.section-nav .active,.section-nav [aria-current="page"]{background:#2867d6!important;color:white!important}
.h-title{font-size:clamp(25px,2.5vw,34px)!important;margin:20px 0 5px!important}
.h-sub{color:#5a6f8b!important}
.catgrid{gap:15px!important}
.cat-card,.category-card,.product-card,.product,.product-tile,.tx-product-card{border:1px solid rgba(255,255,255,.92)!important;border-radius:18px!important;background:rgba(255,255,255,.82)!important;box-shadow:0 9px 26px rgba(21,57,109,.10)!important;overflow:hidden}
.product-card img,.product img,.product-tile img,.tx-product-card img{background:#f2f7ff;object-fit:contain!important}
button,.cta,.btn{border-radius:12px}
.cta,.button-primary,.btn-primary{background:linear-gradient(135deg,#2867d6,#4a85e8)!important;box-shadow:0 6px 14px rgba(36,101,216,.2);color:white!important}
input,select,textarea{border-radius:12px}
input:focus,select:focus,textarea:focus{outline:3px solid rgba(53,116,220,.18)!important;border-color:#6a9be9!important}
.discovery-hub,.filtros,.smart-catalog,.espacio-personal,.calc,.tx-tools-hub{padding:22px!important;margin:22px 0!important}
.discovery-tags a{background:#e8f1ff!important;border:1px solid #d2e2fb!important;color:#2456a0!important;border-radius:12px!important}
.promo-editorial{gap:16px!important}
.promo-editorial article{overflow:hidden}
.promo-editorial article img{max-height:220px;object-fit:cover}
.animalista-banner{margin:22px 0!important;padding:26px!important;background:linear-gradient(120deg,rgba(255,255,255,.88),rgba(206,226,255,.85))!important}
footer{background:#102650!important;color:#edf4ff!important;border-radius:24px 24px 0 0;margin-top:28px}
footer a{color:#c6dcff!important}
/* Dialogs, drawers and overlays remain readable over the glass theme */
.modal,.dialog,.drawer,.cart-drawer,.account-modal{background:#f7faff!important;color:#102650!important;border:1px solid #fff!important;box-shadow:0 24px 70px rgba(10,35,75,.25)!important;border-radius:22px!important}
@media(min-width:1200px){.topbar{flex-wrap:wrap}.wordmark{margin-right:12px}.header-search{flex:1;min-width:230px;max-width:420px}.mainnav{order:4;width:100%;justify-content:flex-start;border-top:1px solid rgba(125,157,203,.22);padding-top:8px}.headicons{margin-left:auto}}
@media(max-width:900px){.wrap{width:min(100% - 28px,720px)}.topbar{gap:10px;flex-wrap:wrap}.header-search{order:3;flex:1 1 100%;width:100%}.mainnav{order:5;max-width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.mainnav a{flex:0 0 auto}.tx-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.tx-dashboard-stat{padding:16px}.tx-dashboard-stat strong{font-size:23px}.hero.tx-reference-hero{padding:24px 0!important}.visual-categories{padding:16px!important}}
@media(max-width:520px){.wrap{width:calc(100% - 20px)}main{padding-top:12px!important}.tx-dashboard-stats{gap:9px}.tx-dashboard-stat{padding:13px;border-radius:15px}.tx-dashboard-stat .stat-icon{width:34px;height:34px;font-size:18px;margin-bottom:8px}.tx-dashboard-stat .stat-label{font-size:11px}.tx-dashboard-stat strong{font-size:19px}.tx-dashboard-stat small{font-size:10px}.tx-reference-hero h1{font-size:27px!important}.tx-reference-hero .lead{font-size:13px!important}.hero.tx-reference-hero{border-radius:18px!important}.visual-categories,.discovery-hub,.filtros,.smart-catalog,.espacio-personal,.calc,.tx-tools-hub{border-radius:17px!important}.promo-editorial{grid-template-columns:1fr!important}.headicons{margin-left:auto}.language-select{max-width:55px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
