*{box-sizing:border-box}body{margin:0;background:#f4f6f9;font-family:Arial,sans-serif;color:#172033;padding-bottom:82px}.app-header{position:sticky;top:0;z-index:20;background:#071b3a;padding:10px 15px 14px}.header-row{height:44px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center}.icon-btn{width:40px;height:40px;border:0;background:transparent;color:#fff;display:grid;place-items:center}.ui{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.brand{text-align:center}.brand img{max-width:140px;max-height:38px}.search{height:44px;background:#fff;border-radius:14px;display:flex;align-items:center;padding:0 12px;margin-top:9px}.search input{border:0;outline:0;width:100%;font-size:14px;padding-left:8px}.hero{background:linear-gradient(120deg,#071b3a,#123568);color:#fff;padding:28px 18px 30px}.hero small{font-size:10px;letter-spacing:1px;opacity:.8}.hero h1{font-size:30px;line-height:1.05;margin:10px 0}.hero p{color:#dbe5f6;font-size:13px;line-height:1.5}.wa{border:0;background:#25d366;color:#07351c;border-radius:13px;padding:13px 16px;font-weight:800}.section{padding:22px 15px}.section h2{margin:0;color:#071b3a;font-size:21px}.section p{font-size:12px;color:#687386}.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cat{background:#fff;border:1px solid #e5e9f0;border-radius:16px;padding:15px;text-align:left;min-height:112px}.cat .ci{width:38px;height:38px;background:#eef3fb;color:#0d2a58;border-radius:11px;display:grid;place-items:center;margin-bottom:14px}.cat strong{font-size:14px}.cat small{display:block;color:#687386;margin-top:4px;line-height:1.3}.catalog{display:none}.catalog.on{display:block}.back{display:flex;gap:10px;align-items:center}.back button{width:40px;height:40px;border:1px solid #e5e9f0;background:#fff;border-radius:11px}.title h1{margin:0;color:#071b3a;font-size:24px}.title p{margin:4px 0 0;color:#687386;font-size:12px}.filters{display:flex;gap:7px;overflow:auto;padding:14px 0}.filter{border:1px solid #e5e9f0;background:#fff;border-radius:99px;padding:8px 11px;font-size:11px;white-space:nowrap}.filter.active{background:#071b3a;color:#fff}.list{display:grid;gap:8px}.product{background:#fff;border:1px solid #e5e9f0;border-radius:13px;padding:13px;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.product strong{font-size:12px;line-height:1.35}.product small{display:block;color:#687386;font-size:10px;margin-top:5px}.quote{border:0;background:#eaf9ef;color:#168244;border-radius:9px;padding:8px;font-size:9px;font-weight:800}.footer{background:#071b3a;color:#fff;padding:28px 17px}.footer p{color:#cdd8e8;font-size:12px;line-height:1.5}.foot{display:grid;gap:9px}.foot div{border:1px solid #ffffff18;background:#ffffff08;border-radius:12px;padding:12px;font-size:12px;color:#cdd8e8}.bottom{position:fixed;z-index:50;bottom:0;left:0;right:0;height:72px;background:#fff;border-top:1px solid #e5e9f0;display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr}.nav{border:0;background:transparent;color:#667085;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:9px;gap:3px}.nav.active{color:#071b3a}.wac{position:relative;top:-15px;width:55px;height:55px;border-radius:50%;background:#25d366;border:5px solid #fff;color:#fff;display:grid;place-items:center;box-shadow:0 6px 18px #25d36666}.wac i{font-size:26px}.wal{margin-top:-13px;color:#168244;font-size:9px;font-weight:700}@media(min-width:800px){.grid{grid-template-columns:repeat(4,1fr)}.list{grid-template-columns:1fr 1fr}.bottom{max-width:760px;left:50%;right:auto;transform:translateX(-50%);border-radius:18px 18px 0 0}}
/* V14 - Ubicación T&J */
.contact-address{display:block;margin-top:6px;line-height:1.5}.map-link{display:inline-block;margin-top:10px;color:#d71920;font-weight:800;text-decoration:none}.location-section{display:grid;grid-template-columns:minmax(0,0.85fr) minmax(0,1.15fr);gap:20px;margin:28px 0 22px;padding:20px;border:1px solid rgba(15,39,71,.10);border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(15,39,71,.08)}.location-copy{display:flex;flex-direction:column;justify-content:center}.location-copy .eyebrow{font-size:11px;font-weight:900;letter-spacing:.14em;color:#d71920}.location-copy h2{margin:6px 0 8px;font-size:25px;color:#0b2545}.location-copy p{margin:0 0 16px;line-height:1.55;color:#596579}.map-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:max-content;padding:11px 15px;border-radius:12px;background:#0b2545;color:#fff;text-decoration:none;font-weight:800}.map-card{min-height:250px;overflow:hidden;border-radius:17px;background:#e9edf2}.map-card iframe{display:block;width:100%;height:100%;min-height:250px;border:0}.contact-block{line-height:1.5}@media(max-width:700px){.location-section{grid-template-columns:1fr;padding:14px;margin-top:22px;border-radius:18px}.location-copy h2{font-size:21px}.map-card,.map-card iframe{min-height:220px}.map-cta{width:100%}}


/* Ventana flotante de productos por categoría */
body.modal-open{overflow:hidden}
.product-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:18px}
.product-modal.show{display:flex}
.modal-overlay{position:absolute;inset:0;background:rgba(8,20,43,.62);backdrop-filter:blur(3px)}
.modal-box{position:relative;width:min(720px,100%);max-height:min(82vh,760px);background:#fff;border-radius:22px;box-shadow:0 24px 70px rgba(0,0,0,.28);overflow:hidden;display:flex;flex-direction:column;animation:modalIn .18s ease-out}
@keyframes modalIn{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 14px;border-bottom:1px solid #e7ebf0;background:#fff;flex-shrink:0}
.modal-head h2{margin:0;color:#0b2347;font-size:20px}
.modal-head p{margin:4px 0 0;color:#7a8595;font-size:13px}
.modal-close{width:40px;height:40px;border:0;border-radius:50%;background:#f1f3f6;color:#26364d;font-size:18px;cursor:pointer;display:grid;place-items:center}
.modal-close:hover{background:#e6eaf0}
.modal-list{padding:12px 14px 18px;overflow:auto;display:flex;flex-direction:column;gap:9px}
.modal-product{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid #e5e9ef;border-radius:14px;background:#fff;box-shadow:0 2px 8px rgba(10,30,60,.04)}
.modal-product>div{min-width:0}
.modal-product strong{display:block;color:#172b46;font-size:14px;line-height:1.35}
.modal-product small{display:block;margin-top:4px;color:#8a94a3;font-size:11px}
.modal-product .quote{flex-shrink:0}
@media(max-width:600px){.product-modal{padding:10px}.modal-box{max-height:86vh;border-radius:18px}.modal-head{padding:15px}.modal-head h2{font-size:18px}.modal-list{padding:10px 10px 14px}.modal-product{padding:12px}.modal-product strong{font-size:13px}.modal-product .quote{padding:9px 11px;font-size:10px}}

.type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}.type-card{position:relative;min-height:130px;border:1px solid #e1e6ed;border-radius:14px;background:#fff;color:#102c4d;padding:14px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;gap:10px}.type-visual{height:72px;border-radius:10px;background:#eef3f8;display:grid;place-items:center;font-size:54px;font-weight:700;color:#12385f}.type-arrow{position:absolute;right:14px;bottom:12px;font-size:24px}.modal-back{border:0;background:#edf2f7;color:#12385f;border-radius:8px;padding:9px 12px;margin:10px;font-weight:600}.modal-product>div{flex:1;min-width:0}.modal-product strong{display:block;line-height:1.35}.modal-product small{display:none}@media(max-width:480px){.type-card{min-height:112px}.type-visual{height:58px;font-size:44px}}

/* Imágenes de referencia en categorías y tipos */
.cat .ci{width:100%;height:112px;margin:0 0 12px;border-radius:11px;overflow:hidden;background:#f1f4f8}.cat .ci img{width:100%;height:100%;object-fit:cover;display:block}.cat{display:flex;flex-direction:column;align-items:stretch}.type-visual{overflow:hidden;background:#f3f5f7}.type-visual img{width:100%;height:100%;object-fit:cover;display:block;border-radius:10px}


/* Portada con fotografía real de la tienda T&J */
.hero{
  position:relative;
  isolation:isolate;
  min-height:clamp(300px,38vw,440px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(28px,5vw,58px) clamp(22px,5.5vw,70px);
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(4,19,42,.94) 0%,rgba(4,19,42,.82) 43%,rgba(4,19,42,.25) 100%),
    linear-gradient(0deg,rgba(4,19,42,.38),rgba(4,19,42,.10)),
    url("assets/fondo-tienda.webp") center 48%/cover no-repeat;
  color:#fff;
}
.hero small{font-size:clamp(10px,1.2vw,13px);letter-spacing:1.4px;font-weight:700;color:#e8eef8;opacity:1}
.hero h1{font-size:clamp(27px,3.7vw,46px);line-height:1.12;max-width:570px;margin:13px 0 12px;font-weight:800;letter-spacing:-.65px;text-shadow:0 2px 12px rgba(0,0,0,.22)}
.hero p{max-width:470px;color:#f0f4fa;font-size:clamp(13px,1.25vw,16px);line-height:1.65;margin:0;text-shadow:0 2px 8px rgba(0,0,0,.3)}
.hero .wa{align-self:flex-start;margin-top:18px;background:#25d366;color:#07351c;border-radius:9px;padding:12px 17px;font-size:13px;box-shadow:0 5px 16px rgba(0,0,0,.18)}
@media(max-width:600px){
 .hero{min-height:350px;background-position:57% center;padding:30px 20px}
 .hero h1{max-width:330px;font-size:clamp(27px,7vw,32px);line-height:1.12;letter-spacing:-.35px}
 .hero p{max-width:330px;font-size:14px}
}

/* Redes sociales centradas en el pie de página */
.social-block{text-align:center!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.social-links{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}.social-links a{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid #ffffff30;border-radius:999px;color:#fff;text-decoration:none;font-weight:700;transition:background .2s,transform .2s}.social-links a:hover{background:#ffffff18;transform:translateY(-2px)}.social-links i{font-size:18px}.empty-search{padding:22px;text-align:center;color:#667085;background:#f5f7fb;border-radius:12px;line-height:1.5}

/* Ajuste visual refinado: portada más ligera y elegante */
.hero{min-height:clamp(290px,34vw,390px);padding:clamp(30px,5vw,54px) clamp(22px,5.5vw,68px);background:linear-gradient(90deg,rgba(4,19,42,.88) 0%,rgba(4,19,42,.70) 45%,rgba(4,19,42,.18) 100%),linear-gradient(0deg,rgba(4,19,42,.20),rgba(4,19,42,.04)),url("assets/fondo-tienda.webp") center 48%/cover no-repeat}
.hero small{font-size:10px;letter-spacing:1.8px;font-weight:600;color:#e4eaf3}
.hero h1{font-size:clamp(25px,3vw,37px);line-height:1.2;max-width:500px;margin:15px 0 14px;font-weight:650;letter-spacing:-.45px;text-shadow:none}
.hero p{max-width:430px;color:#e2e8f0;font-size:clamp(13px,1.1vw,15px);line-height:1.75;margin:0;text-shadow:none}
.hero .wa{align-self:flex-start;margin-top:22px;background:#25b95b;color:#fff;border-radius:7px;padding:11px 16px;font-size:12px;font-weight:700;letter-spacing:.25px;box-shadow:none}
.hero .wa:hover{background:#1da34f}
@media(max-width:600px){.hero{min-height:320px;background-position:58% center;padding:30px 22px}.hero h1{max-width:310px;font-size:26px;line-height:1.22;letter-spacing:-.3px}.hero p{max-width:310px;font-size:13px;line-height:1.65}.hero .wa{margin-top:18px;padding:11px 14px;font-size:11px}}

/* Encabezado simplificado y navegación sin búsqueda */
.app-header{padding:10px 16px;background:#071b3a}
.header-row{height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1180px;margin:0 auto}
.brand{display:flex;align-items:center;justify-content:flex-start;flex:0 0 auto}
.brand img{display:block;width:54px;height:48px;max-width:none;max-height:none;object-fit:contain;background:transparent}
.header-name{color:#fff;font-size:clamp(13px,2vw,18px);letter-spacing:.5px;margin-right:auto}
.header-quote{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:9px;background:#25b95b;color:#fff;padding:10px 14px;font-size:12px;font-weight:800;cursor:pointer}
.header-quote i{font-size:17px}
.bottom{grid-template-columns:repeat(4,1fr)}
@media(max-width:380px){.brand img{width:45px}.header-name{font-size:12px}.header-quote{padding:9px 10px}}

/* Logo centrado en el espacio que ocupaba la búsqueda; encabezado intacto */
.home-logo-band{display:flex;align-items:center;justify-content:center;min-height:76px;padding:10px 16px;background:#071b3a}
.home-logo-band img{display:block;width:76px;height:60px;object-fit:contain;object-position:center}
.bottom{grid-template-columns:repeat(3,minmax(0,1fr))}
.bottom .nav-center{position:relative}
.bottom .nav-center .wac{width:48px;height:48px;border-radius:50%;background:#20bd62;display:flex;align-items:center;justify-content:center;color:#fff;margin-top:-20px;box-shadow:0 3px 10px rgba(0,0,0,.18)}
.bottom .nav-center .wac i{font-size:22px}
.bottom .nav-center .wal{font-weight:700}

/* Encabezado simplificado: solo permanece el logo central de la portada */
.app-header{display:none!important}
.home-logo-band{min-height:76px}

/* Corrección responsive móvil: logo central compacto y sin desbordes */
html,body{width:100%;max-width:100%;overflow-x:hidden}
.home-logo-band{width:100%;height:104px;min-height:104px;padding:10px 0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#071b3a}
.home-logo-band img{display:block!important;width:82px!important;height:82px!important;max-width:82px!important;max-height:82px!important;object-fit:contain!important;object-position:center!important}
.hero{width:100%;min-height:clamp(360px,76vh,540px);padding:30px 22px;overflow:hidden}
.hero small{display:block;max-width:100%;font-size:10px;line-height:1.6;letter-spacing:1px;overflow-wrap:anywhere}
.hero h1{width:100%;max-width:100%;font-size:clamp(25px,7vw,34px);line-height:1.12;overflow-wrap:break-word}
.hero p{width:100%;max-width:100%;font-size:14px;line-height:1.55}
.hero .wa{max-width:100%;white-space:normal}
@media(max-width:600px){
  .home-logo-band{height:96px;min-height:96px}
  .home-logo-band img{width:74px!important;height:74px!important;max-width:74px!important;max-height:74px!important}
  .hero{min-height:390px;padding:28px 20px;background-position:58% center}
  .hero h1{font-size:clamp(24px,7vw,31px);max-width:100%}
  .bottom{left:0;right:0;width:100%;max-width:none;border-radius:0;transform:none}
}

/* Ajuste definitivo: logo central pequeño y contenido en móvil */
.home-logo-band{height:72px!important;min-height:72px!important;padding:8px 0!important;overflow:hidden!important;box-sizing:border-box!important}
.home-logo-band img{width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important;min-width:0!important;min-height:0!important;object-fit:contain!important;flex:0 0 48px!important}
@media(max-width:600px){.home-logo-band{height:72px!important;min-height:72px!important}.home-logo-band img{width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important}}

/* Ajuste de encuadre de imágenes en las tarjetas de tipos de tubos */
.type-card{min-width:0;overflow:hidden}
.type-visual{display:flex;align-items:center;justify-content:center;width:100%;height:72px;min-width:0;overflow:hidden;border-radius:11px;background:#f7f8fa}
.type-visual img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;background:transparent}
.type-card strong{min-width:0;overflow-wrap:anywhere}
.type-arrow{flex:0 0 auto}
@media(max-width:480px){.type-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.type-card{padding:12px;min-height:124px}.type-visual{height:68px}.type-card strong{font-size:13px;line-height:1.25}}

/* Corrección reforzada: mostrar la imagen completa, sin recorte */
.type-card .type-visual{height:86px!important;min-height:86px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
.type-card .type-visual img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important;border-radius:8px!important;flex:0 1 auto!important}
@media(max-width:480px){.type-card .type-visual{height:78px!important;min-height:78px!important}.type-card .type-visual img{max-width:100%!important;max-height:100%!important}}

/* Carrito de cotización T&J */
.add-cart{border:0;border-radius:10px;padding:10px 13px;background:#c51f2b;color:#fff;font-size:11px;font-weight:800;letter-spacing:.25px;white-space:nowrap;cursor:pointer;box-shadow:0 4px 10px rgba(197,31,43,.15);transition:transform .15s,background .15s}
.add-cart:hover{background:#a91621;transform:translateY(-1px)}.add-cart.added{background:#16834a}
.cart-fab{position:fixed;right:18px;bottom:82px;z-index:9000;display:flex;align-items:center;gap:10px;padding:13px 16px;border:0;border-radius:999px;background:#102b4d;color:#fff;box-shadow:0 10px 28px rgba(8,25,48,.24);font-weight:750;cursor:pointer}
.cart-fab>i{font-size:17px}.cart-fab b{display:grid;place-items:center;min-width:23px;height:23px;padding:0 5px;border-radius:99px;background:#d52a35;color:#fff;font-size:12px}
.cart-overlay{position:fixed;inset:0;z-index:10020;display:none;align-items:flex-end;justify-content:flex-end;padding:18px;background:rgba(9,22,39,.52);backdrop-filter:blur(3px)}.cart-overlay.show{display:flex}
.cart-panel{width:min(470px,100%);max-height:min(84vh,760px);display:flex;flex-direction:column;overflow:hidden;border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.25);animation:cartIn .18s ease-out}
@keyframes cartIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.cart-header{display:flex;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid #e8edf2}.cart-header h2{margin:0;color:#102b4d;font-size:21px}.cart-header h2 i{color:#c51f2b;margin-right:6px}.cart-header p{margin:5px 0 0;color:#718096;font-size:13px}
.cart-close{width:38px;height:38px;border:0;border-radius:50%;background:#f1f4f7;color:#26364d;font-size:18px;cursor:pointer}
.cart-items{overflow:auto;padding:14px 18px;min-height:120px}.cart-item{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #edf0f4}
.cart-item-copy{flex:1;min-width:0}.cart-item-copy strong{display:block;color:#1b3049;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.cart-item-copy small{display:block;margin-top:4px;color:#8a94a3;font-size:11px}
.qty-control{display:flex;align-items:center;gap:9px;flex:0 0 auto}.qty-control button{width:28px;height:28px;border:1px solid #dfe5ec;border-radius:8px;background:#f8fafc;color:#163352;font-size:18px;cursor:pointer}.qty-control b{min-width:16px;text-align:center;font-size:13px}
.remove-item{border:0;background:transparent;color:#9aa4b2;padding:7px;cursor:pointer}.remove-item:hover{color:#c51f2b}
.cart-empty{text-align:center;padding:28px 12px;color:#718096}.cart-empty>i{font-size:30px;color:#bdc7d3}.cart-empty h3{margin:12px 0 6px;color:#183451}.cart-empty p{font-size:13px;line-height:1.5;max-width:290px;margin:auto}
.cart-footer{padding:15px 18px 18px;border-top:1px solid #e8edf2;background:#fbfcfe}.cart-footer label{display:block;margin-bottom:7px;color:#334155;font-size:12px;font-weight:700}.cart-footer textarea{width:100%;resize:vertical;min-height:58px;padding:10px 12px;border:1px solid #dbe2ea;border-radius:10px;font:inherit;font-size:13px;outline-color:#9db3ca}
.send-quote{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;margin-top:12px;padding:14px;border:0;border-radius:12px;background:#16834a;color:white;font-weight:800;font-size:14px;cursor:pointer}.send-quote:hover{background:#116d3d}.cart-footer>small{display:block;margin-top:8px;text-align:center;color:#8793a2;font-size:11px}
body.cart-open{overflow:hidden}
@media(max-width:600px){.cart-fab{right:12px;bottom:78px;padding:12px 14px;font-size:13px}.cart-overlay{padding:0;align-items:flex-end}.cart-panel{width:100%;max-height:88vh;border-radius:22px 22px 0 0}.cart-header{padding:17px}.cart-items{padding:10px 15px}.cart-footer{padding:13px 15px calc(14px + env(safe-area-inset-bottom))}.cart-item-copy strong{font-size:12px}.qty-control{gap:6px}}

/* Contador visible en acceso Mi lista */
.nav-center .wac{position:relative}
.nav-center .wac b{position:absolute;top:-7px;right:-11px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:20px;background:#c51f2b;color:#fff;font-size:10px;line-height:1}

/* Rediseño moderno del carrito T&J */
.cart-overlay{background:rgba(8,18,35,.58);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);padding:16px;align-items:flex-end}
.cart-panel{width:min(100%,560px);max-height:min(86dvh,780px);border:1px solid rgba(255,255,255,.7);border-radius:24px 24px 18px 18px;box-shadow:0 24px 70px rgba(8,18,35,.28);overflow:hidden}
.cart-header{padding:20px 22px 16px;background:linear-gradient(135deg,#102b4e,#173e68);color:#fff}
.cart-header h2{font-size:20px;font-weight:750;letter-spacing:-.35px}
.cart-header p{color:rgba(255,255,255,.72);font-size:13px}
.cart-close{background:rgba(255,255,255,.13);color:#fff;border:1px solid rgba(255,255,255,.15);border-radius:12px;width:38px;height:38px}
.cart-items{padding:14px 18px;gap:10px}
.cart-item{border:1px solid #e8edf3;border-radius:16px;padding:14px;background:#fff;box-shadow:0 3px 12px rgba(17,39,67,.04)}
.cart-footer{padding:16px 20px calc(18px + env(safe-area-inset-bottom));background:#f8fafc;border-top:1px solid #e9eef4}
.cart-footer button{border-radius:14px;min-height:50px;font-weight:700}
.nav-center .wac{position:relative}
.nav-center .wac i{font-size:19px}
.nav-center .wac b{font-size:10px}
@media(max-width:600px){.cart-overlay{padding:8px;align-items:flex-end}.cart-panel{width:100%;max-height:88dvh;border-radius:23px 23px 12px 12px}.cart-header{padding:18px 18px 14px}.cart-items{padding:12px}.cart-footer{padding:12px 14px calc(14px + env(safe-area-inset-bottom))}}


/* T&J · pulido visual Industrial Premium */
:root{--tyj-navy:#102b4e;--tyj-red:#c92d35;--tyj-ink:#17283c;--tyj-muted:#718096;--tyj-line:#e8edf3;--tyj-surface:#fff}
body{color:var(--tyj-ink);-webkit-font-smoothing:antialiased}
button{transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease}
button:active{transform:scale(.975)}
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#102b4e 0%,#173e68 62%,#24517a 100%);box-shadow:0 16px 38px rgba(16,43,78,.16)}
.hero:after{content:"";position:absolute;width:240px;height:240px;border:1px solid rgba(255,255,255,.09);border-radius:50%;right:-85px;top:-115px;box-shadow:0 0 0 28px rgba(255,255,255,.025),0 0 0 58px rgba(255,255,255,.018);pointer-events:none}
.hero>*{position:relative;z-index:1}
.section h2{letter-spacing:-.35px}
.type-card,.product-card,.category-card{border:1px solid var(--tyj-line);border-radius:18px;box-shadow:0 5px 18px rgba(18,39,65,.055);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.type-card:hover,.product-card:hover,.category-card:hover{transform:translateY(-3px);border-color:#d5dfeb;box-shadow:0 14px 30px rgba(18,39,65,.11)}
.type-visual{overflow:hidden;border-radius:14px}
.type-visual img{transition:transform .35s ease}
.type-card:hover .type-visual img{transform:scale(1.035)}
.add-cart{border-radius:12px;box-shadow:0 4px 10px rgba(16,43,78,.10);font-weight:700}
.add-cart:hover{box-shadow:0 8px 18px rgba(16,43,78,.18);filter:brightness(1.04)}
.nav-center{border-radius:16px;transition:background .2s ease,transform .2s ease}
.cart-panel{animation:tyjCartIn .24s cubic-bezier(.2,.8,.2,1) both}
@keyframes tyjCartIn{from{opacity:.75;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.cart-item{transition:border-color .2s ease,box-shadow .2s ease}
.cart-item:hover{border-color:#d5dfeb;box-shadow:0 7px 18px rgba(17,39,67,.07)}
.send-quote{box-shadow:0 8px 18px rgba(28,145,82,.18);transition:transform .18s ease,box-shadow .18s ease}
.send-quote:hover{box-shadow:0 12px 24px rgba(28,145,82,.24);transform:translateY(-1px)}
:focus-visible{outline:3px solid rgba(201,45,53,.38);outline-offset:3px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(max-width:600px){.hero{box-shadow:0 10px 24px rgba(16,43,78,.13)}.type-card,.product-card,.category-card{border-radius:15px;box-shadow:0 4px 13px rgba(18,39,65,.05)}}

/* REDISEÑO DE ESTRUCTURA VISUAL · T&J Metálicas */
:root{--ink:#14263b;--navy:#0d2747;--blue:#173e68;--red:#c82e36;--paper:#f3f6fa;--line:#e1e8f0}
html{scroll-behavior:smooth}
body{background:var(--paper);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif}
main{max-width:1240px;margin:0 auto;padding:0 24px}
.home-logo-band{display:flex;align-items:center;justify-content:center;padding:22px 0 14px;background:transparent}
.home-logo-band img{width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important;filter:drop-shadow(0 5px 9px rgba(12,34,59,.13))}
.hero{margin:10px 0 38px;padding:clamp(30px,6vw,76px);min-height:300px;border-radius:28px;background:radial-gradient(ellipse at 92% 15%,rgba(255,255,255,.12),transparent 38%),linear-gradient(118deg,#0b2340 0%,#153b65 58%,#1b4a76 100%);box-shadow:0 24px 55px rgba(12,35,62,.19);display:flex;flex-direction:column;justify-content:center;isolation:isolate}
.hero:before{content:"";position:absolute;z-index:-1;right:7%;bottom:-85px;width:280px;height:280px;border:1px solid rgba(255,255,255,.11);border-radius:50%;box-shadow:0 0 0 34px rgba(255,255,255,.025),0 0 0 70px rgba(255,255,255,.018)}
.hero small{display:inline-flex;align-self:flex-start;padding:9px 13px;border:1px solid rgba(255,255,255,.2);border-radius:30px;background:rgba(255,255,255,.08);color:#dce8f5;font-size:11px;font-weight:750;letter-spacing:1.15px}
.hero h1{max-width:760px;margin:22px 0 14px;font-size:clamp(29px,5.2vw,58px);line-height:1.04;letter-spacing:-1.6px;font-weight:800;color:#fff}
.hero p{max-width:590px;margin:0;color:#d5e1ed;font-size:clamp(14px,1.6vw,17px);line-height:1.75}
.section{margin:0 0 42px}
.section h2{font-size:clamp(23px,3vw,31px);font-weight:800;letter-spacing:-.7px;color:#142b46;margin-bottom:7px}
.section>p{color:#718096;font-size:14px;margin-bottom:22px}
.grid{gap:18px}
.cat{position:relative;display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:13px;border:1px solid #e4eaf1;border-radius:20px;background:#fff;box-shadow:0 7px 22px rgba(17,39,65,.055);overflow:hidden;min-height:205px;transition:transform .22s,border-color .22s,box-shadow .22s}
.cat:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:3px;background:linear-gradient(90deg,var(--red),#e66a70);transform:scaleX(0);transform-origin:left;transition:transform .22s}
.cat:hover{transform:translateY(-5px);border-color:#cbd8e6;box-shadow:0 18px 34px rgba(17,39,65,.12)}
.cat:hover:after{transform:scaleX(1)}
.cat .ci{width:100%;height:125px;display:grid;place-items:center;overflow:hidden;border-radius:13px;background:linear-gradient(145deg,#f5f8fb,#e9eff5);margin:0 0 14px}
.cat .ci img{width:100%;height:100%;object-fit:contain;padding:8px;transition:transform .3s}
.cat:hover .ci img{transform:scale(1.055)}
.cat strong{font-size:15px;font-weight:750;color:#193653;line-height:1.3}
.cat small{font-size:12px;color:#8290a0;margin-top:5px}
.catalog{background:transparent}
.back{margin:10px 0 22px;gap:14px}
.back>button{width:44px;height:44px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 4px 12px rgba(17,39,65,.06)}
.title h1{font-size:clamp(23px,3vw,32px);font-weight:800;letter-spacing:-.7px;color:#142b46}
.filters{gap:9px;margin-bottom:20px}
.filter{border:1px solid #dce5ef;border-radius:30px;background:#fff;padding:10px 15px;font-weight:650;color:#52657a}
.filter.active{background:var(--navy);color:#fff;border-color:var(--navy);box-shadow:0 5px 13px rgba(13,39,71,.18)}
.modal-box{border-radius:24px 24px 0 0;box-shadow:0 -20px 70px rgba(8,25,45,.2);border:1px solid #e8edf3;overflow:hidden}
.modal-head{background:#f8fafc;padding:20px 22px;border-bottom:1px solid #e8edf3}
.modal-head h2{font-weight:800;color:#163451}
.modal-list{padding:12px 18px;background:#f6f8fb;gap:10px}
.modal-product{background:#fff;border:1px solid #e6ecf2;border-radius:15px;padding:15px;box-shadow:0 3px 10px rgba(17,39,65,.035);transition:border-color .2s,transform .2s}
.modal-product:hover{border-color:#cbd9e8;transform:translateY(-1px)}
.modal-product strong{font-size:14px;line-height:1.45;color:#1a334e}
.modal-product small{color:#8794a3}
.add-cart{min-height:39px;padding:0 13px;border-radius:11px;background:#12385f;color:#fff;font-size:11px;letter-spacing:.25px}
.add-cart.added{background:#eaf5ee;color:#217346;border:1px solid #cde8d6;box-shadow:none}
.bottom{background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-top:1px solid rgba(211,222,233,.9);box-shadow:0 -8px 30px rgba(14,34,56,.07);padding:9px 16px calc(9px + env(safe-area-inset-bottom))}
.bottom .nav{color:#8190a0;font-weight:650;font-size:11px;gap:5px}
.bottom .nav.active{color:#173e68}
.bottom .nav-center{background:#102e50;color:#fff;border-radius:16px;box-shadow:0 7px 18px rgba(16,46,80,.22);min-width:92px;padding:9px 14px;margin-top:-20px;border:4px solid var(--paper)}
.bottom .nav-center .wal{color:#fff}
.footer{margin:55px -24px 0;padding:44px max(24px,calc((100vw - 1192px)/2)) 100px;background:#0c223c;color:#d7e1eb}
.footer h3{color:#fff;letter-spacing:1px}
.footer p,.footer .foot{color:#b6c6d7;line-height:1.75}
.footer b{color:#fff}
.footer a{color:#fff}
.location-section{border-top:1px solid rgba(255,255,255,.13);padding-top:28px;margin-top:28px}
@media(min-width:900px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.modal-box{width:min(760px,calc(100vw - 32px));border-radius:24px}.modal-overlay{background:rgba(6,20,36,.62);backdrop-filter:blur(5px)}}
@media(max-width:700px){main{padding:0 14px}.home-logo-band{padding:13px 0 10px}.home-logo-band img{width:50px!important;height:50px!important}.hero{min-height:0;padding:30px 23px 34px;margin:8px 0 30px;border-radius:21px}.hero h1{font-size:31px;letter-spacing:-.8px;line-height:1.08;margin-top:18px}.hero p{font-size:14px;line-height:1.65}.hero:before{width:170px;height:170px;right:-70px;bottom:-65px}.section{margin-bottom:30px}.grid{gap:11px}.cat{min-height:160px;padding:9px;border-radius:15px}.cat .ci{height:90px;margin-bottom:10px}.cat strong{font-size:13px}.cat small{font-size:11px}.footer{margin:38px -14px 0;padding:32px 18px 100px}.bottom{padding-left:9px;padding-right:9px}}


/* Fondo original de la tienda: se conserva el diseño y solo cambia el fondo del hero */
.hero{
  background-image:
    linear-gradient(90deg,rgba(5,20,42,.88) 0%,rgba(5,20,42,.70) 48%,rgba(5,20,42,.24) 100%),
    linear-gradient(0deg,rgba(5,20,42,.30),rgba(5,20,42,.08)),
    url("assets/fondo-tienda.webp") !important;
  background-position:center 48% !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
}
@media(max-width:700px){
  .hero{background-position:58% center !important;}
}


/* Franja superior del inicio en azul, como el diseño anterior */
.home-logo-band{
  background:#071b3a !important;
  width:100%;
  margin:0;
  padding:13px 0 10px !important;
}


/* Encabezado superior azul con remate redondeado, conservando el fondo de tienda */
.home-logo-band{
  position:relative;
  z-index:2;
  background:#071b3a !important;
  width:100%;
  margin:0 0 12px;
  padding:13px 0 16px !important;
  border-radius:0 0 26px 26px;
  box-shadow:0 8px 20px rgba(7,27,58,.14);
  overflow:hidden;
}
@media(max-width:700px){
  .home-logo-band{
    border-radius:0 0 22px 22px;
    margin-bottom:10px;
    padding:12px 0 15px !important;
  }
}


/* Datos corporativos del pie de página */
.company-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0;padding:22px 0;border-top:1px solid rgba(255,255,255,.16);border-bottom:1px solid rgba(255,255,255,.16)}.company-data b{display:block;margin-bottom:10px;color:#fff}.company-data p{margin:5px 0;color:rgba(255,255,255,.76);font-size:14px;line-height:1.6}.company-data a{color:inherit;text-decoration:underline;text-underline-offset:3px}@media(max-width:640px){.company-data{grid-template-columns:1fr;gap:18px;margin:18px 0;padding:18px 0}}


/* Presentación y cierre comercial del footer */
.footer-intro{max-width:760px;margin:28px 0 8px}.footer-intro .eyebrow{display:block;margin-bottom:9px}.footer-intro p{max-width:700px;margin:0;color:rgba(255,255,255,.78);font-size:14px;line-height:1.75}.footer-quote-cta{display:inline-flex;align-items:center;gap:9px;margin-top:16px;padding:11px 16px;border:1px solid rgba(255,255,255,.28);border-radius:999px;color:#fff;text-decoration:none;font-size:13px;font-weight:650;transition:background .2s,border-color .2s}.footer-quote-cta:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.55)}.footer-legal{display:flex;flex-wrap:wrap;gap:8px 24px;margin:20px 0 10px;color:rgba(255,255,255,.58);font-size:11px;line-height:1.6}.footer-legal span{max-width:100%}@media(max-width:640px){.footer-intro{margin-top:22px}.footer-quote-cta{max-width:100%;font-size:12px}.footer-legal{display:grid;gap:5px}}


/* Botón flotante de WhatsApp */
.floating-whatsapp{position:fixed;right:22px;bottom:24px;z-index:9999;width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#25d366;color:#fff;text-decoration:none;box-shadow:0 5px 18px rgba(0,0,0,.24);font-size:32px;transition:transform .18s,box-shadow .18s}.floating-whatsapp:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(0,0,0,.28)}.floating-whatsapp:focus-visible{outline:3px solid #173e68;outline-offset:4px}@media(max-width:640px){.floating-whatsapp{right:16px;bottom:18px;width:54px;height:54px;font-size:30px}}


/* WhatsApp flotante: acompaña el desplazamiento y queda por encima de la barra inferior, sin cubrirla */
.floating-whatsapp{position:fixed!important;right:18px!important;bottom:calc(75px + env(safe-area-inset-bottom))!important;z-index:9500!important;width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#25d366;color:#fff;text-decoration:none;box-shadow:0 5px 18px rgba(0,0,0,.24);font-size:30px}
@media(max-width:640px){.floating-whatsapp{right:14px!important;bottom:calc(72px + env(safe-area-inset-bottom))!important;width:52px;height:52px;font-size:28px}}


/* Banner principal actualizado: categorías + tienda física */
.hero{position:relative;isolation:isolate;display:block;min-height:390px;padding:clamp(26px,4vw,48px);border-radius:22px;overflow:hidden;background-image:linear-gradient(90deg,rgba(5,20,42,.82) 0%,rgba(5,20,42,.68) 48%,rgba(5,20,42,.16) 100%),linear-gradient(0deg,rgba(5,20,42,.18),rgba(5,20,42,.03)),url("assets/fondo-tienda.webp");background-position:58% center;background-size:cover;background-repeat:no-repeat;color:#fff;}
.hero-copy{position:relative;z-index:2;max-width:680px}
.hero small{display:inline-flex;align-self:flex-start;padding:7px 12px;border:1px solid rgba(255,255,255,.28);border-radius:30px;background:rgba(8,29,55,.48);color:#fff;font-size:11px;font-weight:800;letter-spacing:1.1px}
.hero h1{max-width:650px;margin:15px 0 8px;font-size:clamp(29px,4.2vw,48px);line-height:1.08;letter-spacing:-.8px;font-weight:850;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.24)}
.hero .hero-tagline{margin:0 0 8px;max-width:600px;color:#fff;font-size:clamp(18px,2.3vw,25px);line-height:1.25;font-weight:750}
.hero .hero-intro{max-width:550px;margin:0;color:#eef4fb;font-size:14px;line-height:1.55}
.hero-products{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0 16px;max-width:600px}
.hero-products span{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.35);border-radius:7px;padding:6px 10px;background:rgba(7,25,48,.53);color:#fff;font-size:12px;font-weight:650;line-height:1.2}
.hero-store{display:flex;align-items:flex-start;gap:10px;max-width:570px;margin-top:5px;padding:11px 13px;border-left:3px solid #df2938;border-radius:0 9px 9px 0;background:rgba(4,18,37,.67)}
.hero-store>i{color:#ff6b75;font-size:20px;margin-top:2px}
.hero-store div{display:flex;flex-direction:column;gap:3px}
.hero-store strong{font-size:16px;line-height:1.35;color:#fff}
.hero-store span{font-size:12px;line-height:1.4;color:#e2eaf4}
.hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}
.hero-actions a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 18px;border:1px solid rgba(148,190,255,.62);border-radius:12px;text-decoration:none;font-size:13px;font-weight:800;letter-spacing:.2px;transition:transform .22s ease,filter .22s ease,box-shadow .22s ease;position:relative;overflow:hidden}
.hero-actions a:hover{transform:translateY(-2px);filter:brightness(1.12);box-shadow:0 9px 24px rgba(21,93,180,.35)}
.hero-map{background:linear-gradient(120deg,#071a35 0%,#123c75 48%,#1e5aa2 100%);color:#fff;box-shadow:0 5px 18px rgba(0,12,35,.32),inset 0 1px 0 rgba(255,255,255,.18);animation:heroMapPulse 2.8s ease-in-out infinite}
.hero-map:before{content:"";position:absolute;top:-30%;left:-70%;width:45%;height:160%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);transform:skewX(-22deg);animation:heroMapShine 4s ease-in-out infinite}
.hero-map>*{position:relative;z-index:1}
@keyframes heroMapPulse{0%,100%{box-shadow:0 5px 18px rgba(0,12,35,.32),inset 0 1px 0 rgba(255,255,255,.18)}50%{box-shadow:0 7px 23px rgba(30,90,162,.43),inset 0 1px 0 rgba(255,255,255,.25)}}
@keyframes heroMapShine{0%,45%{left:-70%}75%,100%{left:140%}}
@media(prefers-reduced-motion:reduce){.hero-map,.hero-map:before{animation:none}}
.hero-whatsapp{background:#20c965;color:#06391d;box-shadow:0 4px 12px rgba(0,0,0,.15)}
@media(max-width:600px){.hero{min-height:0;padding:25px 18px 27px;border-radius:17px;background-image:linear-gradient(90deg,rgba(5,20,42,.80) 0%,rgba(5,20,42,.65) 100%),linear-gradient(0deg,rgba(5,20,42,.18),rgba(5,20,42,.08)),url("assets/fondo-tienda.webp");background-position:58% center}.hero h1{font-size:clamp(27px,7.4vw,34px);line-height:1.08;margin:14px 0 9px}.hero .hero-tagline{font-size:19px}.hero .hero-intro{font-size:13px}.hero-products{gap:6px;margin:14px 0}.hero-products span{font-size:11px;padding:6px 8px}.hero-store{padding:10px}.hero-store strong{font-size:14px}.hero-store span{font-size:11px}.hero-actions{gap:8px}.hero-actions a{flex:0 1 190px;min-height:44px;padding:11px 14px;font-size:12px}}


/* Ajuste solicitado: botón Cómo llegar centrado y sin animaciones */
.hero-actions{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  width:100%;
}
.hero-actions .hero-map{
  animation:none !important;
  background:linear-gradient(135deg,#0b2342 0%,#174985 55%,#2865a8 100%) !important;
  color:#fff !important;
  box-shadow:0 5px 14px rgba(5,24,55,.25), inset 0 1px 0 rgba(255,255,255,.16) !important;
  transition:none !important;
}
.hero-actions .hero-map:before{
  display:none !important;
  animation:none !important;
}
.hero-actions .hero-map:hover,
.hero-actions .hero-map:active{
  transform:none !important;
  filter:none !important;
  box-shadow:0 5px 14px rgba(5,24,55,.25), inset 0 1px 0 rgba(255,255,255,.16) !important;
}
@media(max-width:600px){
  .hero-actions{justify-content:center !important;}
  .hero-actions .hero-map{flex:0 1 220px; width:220px; max-width:100%;}
}


/* Ajuste solicitado: fondo azul marino para la sección de categorías */
.section:has(#cats){
  background: linear-gradient(135deg,#071b3a 0%,#10345d 58%,#174985 100%);
  border-radius: 22px;
  padding: 26px 18px 22px;
  margin: 0 0 30px;
  box-shadow: 0 12px 28px rgba(7,27,58,.14);
}
.section:has(#cats) h2{color:#fff !important;}
.section:has(#cats)>p{color:#d7e5f5 !important;}
.section:has(#cats) .cat{background:#fff;color:#102b4d;border-color:rgba(255,255,255,.35);}
.section:has(#cats) .cat strong{color:#102b4d;}
.section:has(#cats) .cat small{color:#5e6e81;}
@media(max-width:700px){
  .section:has(#cats){padding:22px 12px 16px;border-radius:18px;margin-bottom:26px;}
}


/* Ajuste solicitado: fondo azul en toda la web */
:root{color-scheme: dark;}
html, body{background:#071b3a !important;}
body{background:linear-gradient(135deg,#06162e 0%,#0b2b50 48%,#123f70 100%) fixed !important;color:#f4f8ff !important;}
main, .main, .container, .page, .content, .site-content, .catalog, .products-section, .section{background:transparent !important;}
header, .site-header, .topbar, footer, .site-footer{background:linear-gradient(135deg,#06162e 0%,#0b2b50 60%,#123f70 100%) !important;color:#fff !important;}
.section h2, .section h3, .section p, main h1, main h2, main h3, main p, .section-title{color:#f4f8ff;}
.section:has(#cats){background:linear-gradient(135deg,#06162e 0%,#0b2b50 55%,#174985 100%) !important;}
/* Superficies de lectura y producto en azul claro para conservar contraste */
.product-card, .producto, .product, .item-card, .cart, .cart-panel, .search-box, .filter, .modal-content, .quote-box{background:#eaf2fb !important;color:#102b4d !important;border-color:rgba(255,255,255,.28) !important;}
.product-card h2, .product-card h3, .product-card p, .producto h2, .producto h3, .producto p, .product h2, .product h3, .product p, .item-card h2, .item-card h3, .item-card p{color:#102b4d !important;}
input, select, textarea{background:#f5f8fc !important;color:#102b4d !important;}
@media(max-width:700px){body{background:linear-gradient(160deg,#06162e 0%,#0b2b50 55%,#123f70 100%) fixed !important;}}


/* Corrección: mostrar completas las imágenes de las tarjetas de categorías */
.section:has(#cats) .cat .ci{
  height:150px !important;
  min-height:150px !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
  padding:8px !important;
  background:#eef4fa !important;
}
.section:has(#cats) .cat .ci img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  padding:0 !important;
  margin:0 auto !important;
  box-sizing:border-box !important;
  transform:none !important;
}


/* Opción 3: tarjetas azul oscuro SOLO en categorías */
.section:has(#cats) .cat{
  background:#15395F !important;
  color:#FFFFFF !important;
  border:1px solid #315579 !important;
  box-shadow:0 7px 18px rgba(0,0,0,.18) !important;
}
.section:has(#cats) .cat strong,
.section:has(#cats) .cat h3,
.section:has(#cats) .cat .title{
  color:#FFFFFF !important;
}
.section:has(#cats) .cat small,
.section:has(#cats) .cat p{
  color:#D0DFEF !important;
}
.section:has(#cats) .cat .ci{
  background:#EAF0F7 !important;
  border-radius:10px !important;
}
.section:has(#cats) .cat .ci img{
  object-fit:contain !important;
  object-position:center center !important;
}


/* Ajuste de identidad visual: azul uniforme, sin múltiples degradados */
html, body{
  background:#0B2B50 !important;
  background-image:none !important;
}
body{
  background:#0B2B50 !important;
  background-image:none !important;
}
header, .site-header, .topbar, footer, .site-footer{
  background:#0B2B50 !important;
  background-image:none !important;
}
.section:has(#cats){
  background:#0B2B50 !important;
  background-image:none !important;
}
.section:has(#cats) .cat{
  background:#15395F !important;
  background-image:none !important;
  color:#FFFFFF !important;
  border:1px solid #315579 !important;
}
.section:has(#cats) .cat strong,
.section:has(#cats) .cat h3,
.section:has(#cats) .cat .title{
  color:#FFFFFF !important;
}
.section:has(#cats) .cat small,
.section:has(#cats) .cat p{
  color:#FFFFFF !important;
  opacity:.88;
}


/* Uniformar el azul del encabezado y la parte superior */
html, body, body::before, body::after{
  background-color:#0B2B50 !important;
}
header, .site-header, .topbar, .header, .navbar, .nav-bar,
.brand, .brand-area, .logo-area, .header-inner, .header-content,
footer, .site-footer{
  background-color:#0B2B50 !important;
  background-image:none !important;
}
/* Mantener el logo y el contenido del encabezado sin alterar sus dimensiones */
header, .site-header, .topbar, .header, .navbar, .nav-bar{
  border-color:rgba(255,255,255,.08) !important;
}
/* Fondo principal y sección de categorías en el mismo azul */
main, .main, .container, .page, .content, .site-content, .catalog,
.products-section, .section, .section:has(#cats){
  background-color:#0B2B50 !important;
  background-image:none !important;
}
/* Las tarjetas de categorías conservan el azul oscuro elegido */
.section:has(#cats) .cat{
  background-color:#15395F !important;
  background-image:none !important;
}


/* Solicitud: tarjetas de categorías blancas, manteniendo el fondo azul marino */
.section:has(#cats) .cat{
  background:#FFFFFF !important;
  background-image:none !important;
  color:#102B4D !important;
  border:1px solid #D8E1EC !important;
  box-shadow:0 7px 18px rgba(0,0,0,.14) !important;
}
.section:has(#cats) .cat strong,
.section:has(#cats) .cat h3,
.section:has(#cats) .cat .title{
  color:#102B4D !important;
}
.section:has(#cats) .cat small,
.section:has(#cats) .cat p{
  color:#52657A !important;
  opacity:1 !important;
}
.section:has(#cats) .cat .ci{
  background:#F2F5F9 !important;
}


/* Ajuste puntual: solo el marco/fondo alrededor de la imagen de categoría en blanco */
.section:has(#cats) .cat .ci{
  background:#FFFFFF !important;
  background-color:#FFFFFF !important;
  border-color:#FFFFFF !important;
}
.section:has(#cats) .cat .ci img{
  background:#FFFFFF !important;
}


/* Restaurar títulos de categorías en azul oscuro; marco de imagen permanece blanco */
.section:has(#cats) .cat strong,
.section:has(#cats) .cat h3,
.section:has(#cats) .cat .title{
  color:#102B4D !important;
}
.section:has(#cats) .cat small,
.section:has(#cats) .cat p{
  color:#52657A !important;
  opacity:1 !important;
}


/* Corrección solicitada: azul detrás de los textos; marco de imagen blanco */
.section:has(#cats) .cat{
  background:#15395F !important;
  background-image:none !important;
  border:1px solid #315579 !important;
  color:#FFFFFF !important;
}
.section:has(#cats) .cat strong,
.section:has(#cats) .cat h3,
.section:has(#cats) .cat .title{
  color:#FFFFFF !important;
}
.section:has(#cats) .cat small,
.section:has(#cats) .cat p{
  color:#E0EAF5 !important;
  opacity:1 !important;
}
.section:has(#cats) .cat .ci{
  background:#FFFFFF !important;
  background-color:#FFFFFF !important;
  border-color:#FFFFFF !important;
}
.section:has(#cats) .cat .ci img{
  background:#FFFFFF !important;
  object-fit:contain !important;
  object-position:center center !important;
}


/* Opción 1: degradado azul del botón aplicado a contenedores y redes sociales */
:root{
  --tyj-blue-start:#0b2342;
  --tyj-blue-mid:#174985;
  --tyj-blue-end:#2865a8;
}
.section:has(#cats) .cat,
.category-card, .social-card, .social-link, .social-links a,
.facebook-card, .instagram-card, .contact-card, .info-card,
.location-card, .feature-card, .service-card{
  background:linear-gradient(135deg,#0b2342 0%,#174985 55%,#2865a8 100%) !important;
  color:#FFFFFF !important;
  border-color:rgba(117,167,223,.75) !important;
}
.section:has(#cats) .cat strong,
.section:has(#cats) .cat h3,
.section:has(#cats) .cat .title,
.section:has(#cats) .cat small,
.section:has(#cats) .cat p{
  color:#FFFFFF !important;
}
.section:has(#cats) .cat .ci{
  background:#FFFFFF !important;
  background-color:#FFFFFF !important;
  border-color:#FFFFFF !important;
}
.section:has(#cats) .cat .ci img{
  background:#FFFFFF !important;
  object-fit:contain !important;
  object-position:center center !important;
}
/* Enlaces e iconos de redes con contraste sobre el degradado */
.social-links a, .social-link, .facebook-card, .instagram-card{
  color:#FFFFFF !important;
}
/* Mantener el botón Cómo llegar con el degradado azul original */
.hero-actions .hero-map{
  background:linear-gradient(135deg,#0b2342 0%,#174985 55%,#2865a8 100%) !important;
}


/* PROTOTIPO visual inspirado en la referencia MetalMark: categorías fotográficas */
.section:has(#cats){
  background:#0B2B50 !important;
  background-image:none !important;
  padding:24px 16px 28px !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
.section:has(#cats) h2{
  color:#FFFFFF !important;
  text-transform:uppercase;
  letter-spacing:.02em;
}
.section:has(#cats)>p{color:#D9E7F6 !important;}
.section:has(#cats) #cats{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
}
.section:has(#cats) .cat{
  position:relative !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-end !important;
  align-items:stretch !important;
  text-align:left !important;
  isolation:isolate !important;
  overflow:hidden !important;
  min-height:150px !important;
  height:150px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:18px !important;
  background:#102B4D !important;
  background-image:none !important;
  color:#FFFFFF !important;
  box-shadow:0 4px 12px rgba(0,0,0,.22) !important;
}
.section:has(#cats) .cat::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  pointer-events:none !important;
  background:linear-gradient(180deg,rgba(4,17,35,.03) 12%,rgba(4,17,35,.25) 48%,rgba(4,17,35,.88) 100%) !important;
}
.section:has(#cats) .cat .ci{
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  overflow:hidden !important;
  background:#102B4D !important;
}
.section:has(#cats) .cat .ci img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:0 !important;
  object-fit:cover !important;
  object-position:center !important;
  background:transparent !important;
  transition:transform .25s ease !important;
}
.section:has(#cats) .cat strong{
  position:relative !important;
  z-index:2 !important;
  display:block !important;
  margin:0 !important;
  padding:0 12px 5px !important;
  color:#FFFFFF !important;
  font-size:14px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  text-transform:uppercase !important;
  text-shadow:0 1px 4px rgba(0,0,0,.45) !important;
}
.section:has(#cats) .cat small{
  position:relative !important;
  z-index:2 !important;
  display:block !important;
  padding:0 12px 12px !important;
  color:#F0F5FC !important;
  font-size:11px !important;
  line-height:1.3 !important;
  text-shadow:0 1px 4px rgba(0,0,0,.6) !important;
}
.section:has(#cats) .cat:hover .ci img{transform:scale(1.04) !important;}
/* Mantener el resto del catálogo funcional y coherente con la marca */
.social-links a, .social-link, .facebook-card, .instagram-card{
  background:linear-gradient(135deg,#0b2342 0%,#174985 55%,#2865a8 100%) !important;
  color:#FFFFFF !important;
}
@media(max-width:600px){
  .section:has(#cats){padding:22px 12px 26px !important;}
  .section:has(#cats) #cats{grid-template-columns:1fr !important;gap:10px !important;}
  .section:has(#cats) .cat{height:112px !important;min-height:112px !important;border-radius:16px !important;}
  .section:has(#cats) .cat strong{font-size:12px !important;padding:0 11px 4px !important;}
  .section:has(#cats) .cat small{font-size:10px !important;padding:0 11px 10px !important;max-width:90%;}
}

/* Afinado estilo MetalMark: sombreado oscuro abajo y rotulos blancos mas grandes */
.section:has(#cats) .cat::after{
  background:linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,.05) 28%,rgba(0,0,0,.38) 55%,rgba(0,0,0,.88) 100%) !important;
}
.section:has(#cats) .cat strong{
  font-size:16px !important;font-weight:800 !important;line-height:1.15 !important;
  padding:0 14px 7px !important;color:#FFFFFF !important;
  text-shadow:0 1px 3px rgba(0,0,0,.9),0 2px 7px rgba(0,0,0,.8) !important;
}
.section:has(#cats) .cat small{
  font-size:12px !important;line-height:1.25 !important;padding:0 14px 13px !important;
  color:#FFFFFF !important;text-shadow:0 1px 3px rgba(0,0,0,.95),0 2px 7px rgba(0,0,0,.8) !important;
}
@media(max-width:600px){
 .section:has(#cats) .cat strong{font-size:15px !important;padding:0 12px 6px !important;}
 .section:has(#cats) .cat small{font-size:11px !important;padding:0 12px 11px !important;}
}

/* Correccion exacta: degradado negro SOBRE la imagen, mas fuerte en la parte inferior */
.section:has(#cats) .cat{
  position:relative !important;
  isolation:isolate !important;
  overflow:hidden !important;
}
.section:has(#cats) .cat .ci{
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
}
.section:has(#cats) .cat::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  z-index:2 !important;
  pointer-events:none !important;
  background:linear-gradient(
    180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.06) 30%,
    rgba(0,0,0,.40) 58%,
    rgba(0,0,0,.88) 100%
  ) !important;
}
.section:has(#cats) .cat strong,
.section:has(#cats) .cat small{
  position:relative !important;
  z-index:3 !important;
  color:#fff !important;
  text-shadow:0 1px 2px rgba(0,0,0,.45) !important;
}

/* FIX DEFINITIVO: overlay aplicado directamente al contenedor de la foto */
.section:has(#cats) #cats .cat{
  position:relative !important;
  display:flex !important;
  overflow:hidden !important;
  isolation:isolate !important;
  background:#101820 !important;
}
.section:has(#cats) #cats .cat .ci{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  display:block !important;
  overflow:hidden !important;
  z-index:0 !important;
}
.section:has(#cats) #cats .cat .ci img{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
  z-index:0 !important;
}
.section:has(#cats) #cats .cat .ci::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  z-index:1 !important;
  pointer-events:none !important;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.04) 25%,
    rgba(0,0,0,.25) 48%,
    rgba(0,0,0,.62) 72%,
    rgba(0,0,0,.90) 100%
  ) !important;
}
.section:has(#cats) #cats .cat::after{
  display:none !important;
}
.section:has(#cats) #cats .cat strong,
.section:has(#cats) #cats .cat small{
  position:relative !important;
  z-index:3 !important;
  color:#fff !important;
}

/* Logo flotante WhatsApp con diseño "Chatea con un asesor" */
a.floating-whatsapp{
  width:280px !important;
  height:auto !important;
  aspect-ratio:1464 / 305 !important;
  border-radius:0 !important;
  padding:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  display:block !important;
  overflow:visible !important;
  line-height:0 !important;
}
a.floating-whatsapp img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  object-fit:contain !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
a.floating-whatsapp:hover{
  transform:translateY(-2px) !important;
  box-shadow:none !important;
}
@media(max-width:640px){
  a.floating-whatsapp{
    width:220px !important;
    right:8px !important;
    bottom:calc(88px + env(safe-area-inset-bottom)) !important;
  }
}


/* Ajuste fino: botón un poco más abajo y ligeramente más pequeño */
a.floating-whatsapp{
  bottom: calc(125px + env(safe-area-inset-bottom)) !important;
  width: 260px !important;
}
@media(max-width:640px){
  a.floating-whatsapp{
    bottom: calc(118px + env(safe-area-inset-bottom)) !important;
    width: 205px !important;
  }
}


/* Encabezado móvil: logo horizontal grande y proporcionado */
.home-logo-band{
  box-sizing:border-box !important;
  width:100% !important;
  min-height:190px !important;
  padding:28px 16px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}
.home-logo-band img{
  display:block !important;
  width:min(82vw, 460px) !important;
  height:auto !important;
  max-width:100% !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center !important;
}
@media(max-width:480px){
  .home-logo-band{min-height:165px !important;padding:24px 14px !important;}
  .home-logo-band img{width:86vw !important;max-width:430px !important;}
}


/* CORRECCION FINAL ENCABEZADO MOVIL: logo horizontal visible y banda compacta */
.home-logo-band{
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:0 !important;
  height:auto !important;
  padding:18px 12px !important;
  margin:0 0 10px !important;
  overflow:hidden !important;
}
.home-logo-band img{
  display:block !important;
  width:min(90vw, 620px) !important;
  height:auto !important;
  max-width:100% !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center !important;
  flex:0 1 auto !important;
}
@media(max-width:480px){
  .home-logo-band{padding:16px 10px !important; margin-bottom:8px !important;}
  .home-logo-band img{width:92vw !important; max-width:620px !important;}
}
/* Evitar que el banner de WhatsApp se cruce con el boton Como llegar */
a.floating-whatsapp{
  width:230px !important;
  right:10px !important;
  bottom:calc(88px + env(safe-area-inset-bottom)) !important;
}
@media(max-width:640px){
  a.floating-whatsapp{width:185px !important; right:8px !important; bottom:calc(76px + env(safe-area-inset-bottom)) !important;}
}


/* Ajuste solicitado: logo un poco mas pequeno y encabezado proporcionado */
.home-logo-band{
  min-height:0 !important;
  height:auto !important;
  padding:14px 12px !important;
  box-sizing:border-box !important;
}
.home-logo-band img{
  width:min(82vw, 540px) !important;
  height:auto !important;
  max-width:100% !important;
  max-height:none !important;
  object-fit:contain !important;
  flex:0 1 auto !important;
}
@media(max-width:480px){
  .home-logo-band{padding:12px 10px !important;}
  .home-logo-band img{width:82vw !important;max-width:540px !important;}
}


/* Ajuste solicitado: banner de WhatsApp un poco mas pequeno y ligeramente mas arriba */
a.floating-whatsapp{
  width:210px !important;
  right:12px !important;
  bottom:calc(135px + env(safe-area-inset-bottom)) !important;
}
a.floating-whatsapp img{width:100% !important;height:auto !important;}
@media(max-width:640px){
  a.floating-whatsapp{
    width:160px !important;
    right:8px !important;
    bottom:calc(88px + env(safe-area-inset-bottom)) !important;
  }
}


/* Ajuste final: logo del encabezado un poco mas pequeno, conservando proporcion */
.home-logo-band{
  width:100% !important;
  min-height:0 !important;
  height:auto !important;
  padding:12px 12px !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}
.home-logo-band img{
  display:block !important;
  width:min(76vw, 500px) !important;
  height:auto !important;
  max-width:100% !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center !important;
  flex:0 1 auto !important;
}
@media(max-width:480px){
  .home-logo-band{padding:10px 10px !important;}
  .home-logo-band img{width:76vw !important;max-width:500px !important;}
}


/* Ajuste fino solicitado: logo del encabezado un poquito mas pequeno */
.home-logo-band img{width:min(70vw,460px) !important;max-width:100% !important;height:auto !important;}
@media(max-width:480px){.home-logo-band img{width:70vw !important;max-width:460px !important;height:auto !important;}}


/* Ajuste solicitado: logo del encabezado a un tercio del tamaño anterior */
.home-logo-band img{width: min(23.3vw, 153px) !important; max-width:153px !important; height:auto !important; max-height: none !important; object-fit:contain !important;}
@media(max-width:480px){.home-logo-band img{width:23.3vw !important; max-width:100px !important; height:auto !important; max-height:none !important;}}
