:root{--azul:#2f556f;--azul2:#07162a;--gris:#64748b;--rojo:#dc2626;--verde:#22c55e;--bg:#f1f5f9;--ink:#0f172a}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--ink)}button,a,input,select{font-family:inherit}button{cursor:pointer;border:0}a{text-decoration:none}.wrap{max-width:1280px;margin:auto;padding-left:24px;padding-right:24px}.loading-card{grid-column:1/-1;background:white;border-radius:24px;padding:28px;font-weight:900;text-align:center;color:#64748b;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.header{background:linear-gradient(120deg,#07162a,#2f556f 55%,#718196);color:#fff;box-shadow:0 18px 35px rgba(15,23,42,.18)}.header-wrap{padding-top:26px}.header-top{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:0 0 28px}.brand-left{background:transparent;color:white;display:flex;align-items:center;gap:28px;text-align:left}.logoBox{width:170px;height:105px;display:flex;align-items:center;justify-content:center}.logoBox img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 12px 20px rgba(0,0,0,.25))}.brand-copy{display:block}.brand-title{display:block;font-size:40px;line-height:1;font-weight:900;letter-spacing:-.04em;text-shadow:0 3px 0 rgba(0,0,0,.18)}.brand-sub{display:block;margin-top:12px;color:rgba(255,255,255,.82);font-weight:900}.header-side{text-align:right;font-weight:900;font-size:18px}.header-side span{display:block;color:rgba(255,255,255,.72);font-weight:500;margin-top:4px;font-size:16px}.nav{border-top:1px solid rgba(255,255,255,.18);padding:18px 20px 20px;display:flex;justify-content:center;gap:34px;flex-wrap:wrap;background:linear-gradient(90deg,rgba(255,255,255,.02),rgba(255,255,255,.08));border-radius:0 0 18px 18px}.nav button{background:transparent;color:white;font-weight:900;position:relative;padding:7px 4px}.nav button:after{content:"";position:absolute;left:0;bottom:-7px;width:0;height:3px;background:#ef2329;border-radius:999px;transition:.25s}.nav button:hover{color:#fff}.nav button:hover:after{width:100%}
.kicker{font-size:11px;text-transform:uppercase;letter-spacing:.42em;font-weight:900;color:#64748b}.section{margin-top:52px}.section h2{font-size:40px;font-weight:900;margin:12px 0 24px;letter-spacing:-.03em}.btn{border-radius:999px;padding:13px 20px;font-weight:900;color:white;background:#0f172a;display:inline-flex;align-items:center;justify-content:center}.btn-red{background:#dc2626}.btn-blue{background:#2f556f}.btn-green{background:#22c55e}.btn-light{background:white;color:#0f172a}.btn-small{padding:10px 16px;font-size:13px}.btn[disabled]{background:#e2e8f0;color:#94a3b8;cursor:not-allowed}
.promo-showcase{margin-top:34px;margin-bottom:18px}.promo-shell{display:grid;grid-template-columns:1.45fr .85fr;gap:18px;align-items:stretch}.promo-main,.promo-tile{position:relative;overflow:hidden;border-radius:30px;background:#0f172a;box-shadow:0 18px 42px rgba(15,23,42,.16);min-height:360px;color:white;isolation:isolate}.promo-main:before,.promo-tile:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,6,23,.86),rgba(15,23,42,.42),rgba(15,23,42,.08));z-index:1}.promo-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.92;transform:scale(1.02);transition:.6s}.promo-main:hover .promo-img,.promo-tile:hover .promo-img{transform:scale(1.07);opacity:1}.promo-content{position:relative;z-index:2;height:100%;padding:42px;display:flex;flex-direction:column;justify-content:center;max-width:590px}.promo-badge{display:inline-flex;width:max-content;border-radius:999px;background:rgba(255,255,255,.88);color:#0f172a;padding:10px 16px;font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}.promo-badge.red{background:#fee2e2;color:#dc2626}.promo-badge.green{background:#dcfce7;color:#15803d}.promo-title{font-size:48px;line-height:.98;font-weight:900;letter-spacing:-.04em;margin:22px 0 14px;text-shadow:0 6px 18px rgba(0,0,0,.2)}.promo-text{font-size:17px;line-height:1.45;color:rgba(255,255,255,.88);font-weight:700;margin:0 0 26px;max-width:520px}.promo-actions{display:flex;gap:12px;flex-wrap:wrap}.promo-side{display:grid;gap:18px}.promo-tile{min-height:171px;border-radius:26px}.promo-tile .promo-content{padding:24px;justify-content:flex-end}.promo-tile .promo-title{font-size:28px;margin:10px 0 6px}.promo-tile .promo-text{font-size:13px;margin-bottom:12px}.promo-tile .promo-badge{font-size:10px;padding:7px 11px}.promo-mini-btn{display:inline-flex;width:max-content;border-radius:999px;background:white;color:#0f172a;padding:9px 13px;font-size:12px;font-weight:900}.promo-dots{display:flex;justify-content:center;gap:8px;margin-top:16px}.promo-dot{width:9px;height:9px;border-radius:999px;background:#cbd5e1;transition:.25s}.promo-dot.active{width:32px;background:#dc2626}
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.info-card{min-height:245px;border-radius:32px;padding:34px;text-align:left;color:white;box-shadow:0 18px 35px rgba(15,23,42,.16);position:relative;overflow:hidden;background:#07162a;border:6px solid white}.info-card:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,6,23,.88),rgba(15,23,42,.54),rgba(15,23,42,.08));z-index:1}.info-card>*{position:relative;z-index:2}.info-card h3{font-size:38px;margin:22px 0 8px;font-weight:900;line-height:1.1;text-shadow:0 4px 14px rgba(0,0,0,.28)}.info-card p{font-weight:900;text-shadow:0 4px 12px rgba(0,0,0,.28)}.info-condiciones{background-image:url('/images/story/clientes.png'),url('/images/story/clientes.png');background-size:cover;background-position:center}.info-despacho{background-image:url('/images/story/despacho.png'),url('/images/story/despacho.png');background-size:cover;background-position:center}.pill{display:inline-block;border-radius:999px;padding:8px 14px;font-size:11px;font-weight:900;letter-spacing:.28em;text-transform:uppercase;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.38)}
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.cat-card{background:white;border-radius:28px;overflow:hidden;text-align:center;padding-bottom:20px;border:1px solid #e2e8f0;box-shadow:0 12px 28px rgba(15,23,42,.10);transition:.28s;opacity:0;transform:translateY(18px);animation:catFadeUp .45s ease forwards}.cat-card:hover{transform:translateY(-6px);box-shadow:0 22px 45px rgba(15,23,42,.16)}.cat-card.active{border:3px solid #2f556f;box-shadow:0 18px 35px rgba(47,85,111,.22)}.cat-img{height:145px;background:#e5e7eb;display:flex;align-items:center;justify-content:center;overflow:hidden;border-bottom:1px solid #e2e8f0}.cat-img img{width:100%;height:100%;object-fit:cover}.cat-card h3{font-size:22px;font-weight:900;margin:16px 10px 6px}.cat-card p{font-size:13px;color:#64748b;margin:0 15px;min-height:40px}.cat-card span{display:inline-flex;margin-top:14px;padding:10px 18px;border-radius:999px;background:#0f172a;color:white;font-weight:800;font-size:13px}@keyframes catFadeUp{to{opacity:1;transform:translateY(0)}}
.product-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.product-head h2{font-size:38px;font-weight:900;margin:8px 0 10px;letter-spacing:-.03em}.category-controls{display:grid;grid-template-columns:1fr 190px 190px 100px;gap:12px;margin:8px 0 28px;background:white;border-radius:18px;padding:10px;box-shadow:0 12px 28px rgba(15,23,42,.06)}.category-controls input,.category-controls select{border:1px solid #dbe4ef;border-radius:14px;padding:13px 14px;font-weight:800;color:#0f172a}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.product{position:relative;min-height:520px;display:flex;flex-direction:column;background:white;border-radius:32px;padding:55px 20px 20px;box-shadow:0 12px 28px rgba(15,23,42,.12);transition:.25s}.product:hover{transform:translateY(-6px);box-shadow:0 24px 50px rgba(15,23,42,.18)}.tag{position:absolute;right:18px;top:18px;background:#ef4444;color:white;border-radius:999px;padding:6px 12px;font-size:11px;font-weight:900}.compare-label{position:absolute;left:18px;top:-12px;background:white;border-radius:999px;padding:10px 14px;font-size:13px;font-weight:900;box-shadow:0 12px 22px rgba(15,23,42,.16)}.compare-label.active{background:#2f556f;color:white}.product-img{height:190px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:18px}.product-img img{max-width:100%;max-height:100%;object-fit:contain;transition:.25s}.product:hover .product-img img{transform:scale(1.06)}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.brand{font-size:10px;text-transform:uppercase;letter-spacing:.28em;font-weight:900;color:#94a3b8}.sku{background:#f1f5f9;color:#64748b;border-radius:999px;padding:8px 10px;font-size:11px;font-weight:900}.product h3{font-size:20px;line-height:1.12;min-height:68px;margin:16px 0;font-weight:900}.pricebox{margin-top:auto;text-align:center;background:#f1f5f9;border-radius:22px;padding:18px}.pricebox small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.25em;color:#64748b;font-weight:900}.pricebox b{display:block;margin-top:8px;font-size:24px}.stock{display:inline-block;margin-top:12px;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900}.stock-ok{background:#dcfce7;color:#15803d}.stock-low{background:#fef3c7;color:#92400e}.stock-critical{background:#fee2e2;color:#991b1b}.actions2{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.actions2 .btn{text-align:center;padding:12px 10px}
.contact-card{display:grid;grid-template-columns:1fr 1fr;gap:24px;background:white;border-radius:26px;padding:24px;box-shadow:0 16px 35px rgba(15,23,42,.10)}.map-box{border-radius:18px;overflow:hidden;min-height:260px;background:#e2e8f0}.map-box iframe{width:100%;height:100%;border:0}.contact-copy h3{font-size:26px;margin:0 0 20px}.footer{margin-top:40px;background:radial-gradient(circle at 20% 0%,rgba(47,85,111,.38),transparent 32%),linear-gradient(90deg,#020617,#10263d,#2f556f);color:white}.footer-pro-grid{display:grid;grid-template-columns:1.05fr .95fr 1.15fr 1.35fr;gap:32px;padding:34px 0 28px;align-items:start}.footer h3{text-transform:uppercase;letter-spacing:.28em;font-size:13px;color:#9fc1df;margin:0 0 18px;font-weight:900}.footer-logo{width:152px;height:92px;background:rgba(255,255,255,.94);border-radius:22px;display:flex;align-items:center;justify-content:center}.footer-logo.compact{width:132px;height:78px;border-radius:20px;margin-bottom:18px;box-shadow:0 18px 32px rgba(0,0,0,.18)}.footer-logo img{max-width:100%;max-height:100%;object-fit:contain;padding:12px}.footer p,.footer a{color:rgba(255,255,255,.78)}.footer-about p,.footer-policy p,.footer-contact p{font-size:14px;line-height:1.45;margin:0 0 12px}.footer-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:360px}.footer-links button{background:rgba(255,255,255,.12);color:white;border-radius:12px;padding:12px;text-align:left;font-weight:900;transition:.2s}.footer-links-pro button{position:relative;padding-left:26px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.08)}.footer-links-pro button:before{content:"›";position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#9fc1df;font-size:18px}.footer-links button:hover{background:white;color:#0f172a;transform:translateY(-1px)}.footer-icon-line{display:grid;grid-template-columns:24px 1fr;gap:10px;align-items:start}.policy-box{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:14px 16px;margin-top:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.policy-box p{margin:0 0 9px}.policy-box p:last-child{margin-bottom:0}.copy{border-top:1px solid rgba(255,255,255,.12);padding:16px 0 18px;text-align:center;color:rgba(255,255,255,.62);font-size:12px}
.modal{position:fixed;inset:0;z-index:50;background:rgba(2,6,23,.72);backdrop-filter:blur(6px);padding:24px;overflow:auto;display:none}.modal.show{display:flex;align-items:flex-start;justify-content:center}.modal-card{width:100%;max-width:940px;margin-top:28px;background:white;border-radius:32px;padding:28px;box-shadow:0 28px 80px rgba(0,0,0,.3)}.modal-wide{max-width:1180px}.modal-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:22px}.x{border-radius:999px;background:#f1f5f9;color:#0f172a;width:44px;height:44px;font-size:24px;font-weight:900}.login-grid{display:grid;gap:12px}.login-grid input{width:100%;border:1px solid #cbd5e1;border-radius:14px;padding:12px;font-weight:700}.info-letter-card{max-width:760px}.info-letter-head{display:flex;gap:16px;align-items:center;border-bottom:1px solid #e2e8f0;padding-bottom:16px}.info-letter-icon{width:64px;height:64px;border-radius:18px;background:#fff1f2;display:flex;align-items:center;justify-content:center;font-size:28px}.info-letter-badge{display:inline-block;border-radius:999px;background:#fee2e2;color:#dc2626;padding:7px 13px;font-size:11px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}.info-letter-head h2{font-size:34px;margin:8px 0 0}.info-list{margin-top:16px}.info-line,.info-saludo{display:grid;grid-template-columns:44px 1fr;gap:16px;padding:16px 0;border-bottom:1px solid #e2e8f0;line-height:1.55}.info-line.feature{background:#fff7f7;border:1px solid #fecaca;border-radius:18px;padding:16px}.info-line-ico{width:44px;height:44px;border-radius:14px;background:#eff6ff;display:flex;align-items:center;justify-content:center}.info-sign{margin-top:18px;padding:14px;border:1px solid #fecaca;border-radius:18px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff7f7}.info-understood{margin:18px auto 0;display:flex;width:max-content}.ficha-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px}.big-img{height:380px;background:#f1f5f9;border-radius:28px;padding:22px;display:flex;align-items:center;justify-content:center}.big-img img{max-width:100%;max-height:100%;object-fit:contain}.spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.spec{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:14px}.spec small{display:block;text-transform:uppercase;letter-spacing:.18em;font-size:10px;color:#94a3b8;font-weight:900}.spec b{display:block;margin-top:6px}.compare-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.compare-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:26px;padding:18px}.compare-img{height:160px;background:white;border-radius:20px;display:flex;align-items:center;justify-content:center}.compare-img img{max-height:140px;max-width:100%;object-fit:contain}.pdf-modal .modal-card{max-width:1280px;padding:0;overflow:hidden}.pdf-bar{position:sticky;top:0;z-index:2;background:#0f172a;color:white;padding:15px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px}.pdf-frame{width:100%;height:82vh;border:0;background:white}
@media(max-width:1050px){.product-grid,.cat-grid{grid-template-columns:repeat(3,1fr)}.promo-shell{grid-template-columns:1fr}.promo-side{grid-template-columns:1fr 1fr}.category-controls{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.wrap{padding-left:16px;padding-right:16px}.header-wrap{padding-top:14px}.header-top{flex-direction:column;text-align:center;gap:10px;padding-bottom:18px}.brand-left{flex-direction:column;text-align:center;gap:4px}.logoBox{width:220px;height:130px}.brand-title{font-size:31px;line-height:1.02;margin-top:-20px}.brand-sub{font-size:14px;line-height:1.25}.header-side{text-align:center;width:100%;font-size:17px}.header-side span{font-size:18px}.nav{gap:12px 24px;padding:16px 0 19px}.nav button{font-size:16px}.section h2,.product-head h2{font-size:30px}.promo-main{min-height:420px}.promo-side{grid-template-columns:1fr}.promo-title{font-size:36px}.promo-content{padding:28px}.info-grid,.cat-grid,.product-grid,.contact-card,.footer-grid,.footer-pro-grid,.ficha-grid,.compare-grid,.spec-grid{grid-template-columns:1fr}.category-controls{grid-template-columns:1fr;padding:14px;border-radius:24px}.category-controls input,.category-controls select,.category-controls .btn{width:100%;height:54px;border-radius:18px}.info-card{min-height:230px}.product{min-height:auto}.product-head{align-items:flex-start;flex-direction:column}.footer-logo{margin:auto}.footer-grid{text-align:left}.footer-pro-grid{text-align:left;gap:24px;padding:30px 0}.footer-logo.compact{margin-left:auto;margin-right:auto}.footer-about{text-align:center}.footer-links{max-width:none}.modal{padding:12px}.modal-card{padding:18px;border-radius:24px}.info-letter-head h2{font-size:26px}.info-line,.info-saludo{font-size:13px}.info-sign{display:grid;text-align:center}.info-sign .btn{width:100%}.pdf-frame{height:72vh}}


/* === IBSA FIX DEFINITIVO HEADER/CATEGORIAS/BANNERS === */
.header{background:linear-gradient(115deg,#07162a 0%,#26495f 48%,#718196 100%)!important;box-shadow:0 14px 30px rgba(15,23,42,.14)!important}.header-wrap{padding-top:18px!important}.header-top{padding:0 0 18px!important;gap:24px!important}.logoBox{width:132px!important;height:82px!important}.brand-title{font-size:36px!important;line-height:1!important}.brand-sub{margin-top:8px!important;font-size:15px!important}.header-side{font-size:17px!important}.header-side span{font-size:15px!important}.nav{max-width:860px!important;margin:0 auto!important;background:transparent!important;border-left:0!important;border-right:0!important;border-bottom:0!important;border-top:1px solid rgba(255,255,255,.22)!important;border-radius:0!important;box-shadow:none!important;padding:18px 0 20px!important;gap:38px!important}.info-card{background-size:cover!important;background-position:center!important}.info-condiciones{background-image:linear-gradient(90deg,rgba(2,6,23,.86),rgba(15,23,42,.42),rgba(15,23,42,.05)),url('/images/story/clientes.png')!important}.info-despacho{background-image:linear-gradient(90deg,rgba(2,6,23,.88),rgba(15,23,42,.48),rgba(15,23,42,.10)),url('/images/story/despacho.png')!important}.cat-card{border:8px solid #fff!important;border-radius:32px!important;background:#fff!important;box-shadow:0 12px 28px rgba(15,23,42,.12)!important;outline:none!important}.cat-card.active{border-color:#fff!important;outline:3px solid #2f556f!important;outline-offset:-3px!important}.cat-img{height:160px!important;background:#e9eef4!important;border-bottom:0!important}.cat-img img{width:100%!important;height:100%!important;object-fit:cover!important}@media(max-width:760px){.logoBox{width:185px!important;height:108px!important}.brand-title{font-size:29px!important;margin-top:-14px!important}.nav{max-width:100%!important}.info-card{min-height:230px!important}.info-grid{grid-template-columns:1fr!important}}


/* === AJUSTE HEADER IBSA: logo más grande + header compacto === */
.header{background:linear-gradient(115deg,#07162a 0%,#2f556f 54%,#718196 100%)!important;}
.header-wrap{padding-top:14px!important;}
.header-top{padding:0 0 12px!important;gap:26px!important;}
.logoBox{width:178px!important;height:100px!important;}
.logoBox img{max-width:100%!important;max-height:100%!important;object-fit:contain!important;}
.brand-title{font-size:38px!important;line-height:.98!important;}
.brand-sub{margin-top:7px!important;font-size:15px!important;}
.header-side{font-size:17px!important;}
.header-side span{font-size:15px!important;margin-top:3px!important;}
.nav{max-width:900px!important;margin:0 auto!important;padding:13px 0 15px!important;gap:40px!important;border-top:1px solid rgba(255,255,255,.20)!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;}
.nav button{padding:7px 0!important;font-size:15px!important;}
@media(max-width:760px){
  .header-wrap{padding-top:12px!important;}
  .header-top{gap:6px!important;padding-bottom:12px!important;}
  .logoBox{width:230px!important;height:132px!important;}
  .brand-title{font-size:30px!important;margin-top:-20px!important;line-height:1!important;}
  .brand-sub{font-size:13px!important;line-height:1.22!important;margin-top:8px!important;}
  .header-side{font-size:16px!important;margin-top:6px!important;}
  .header-side span{font-size:17px!important;}
  .nav{padding:13px 0 15px!important;gap:12px 22px!important;}
  .nav button{font-size:16px!important;}
}


/* AJUSTE SLIDER: menos texto, botones más abajo */
.promo-main .promo-content{
  justify-content:flex-end !important;
  padding:46px 42px 58px !important;
}
.promo-main .promo-title{
  margin:20px 0 28px !important;
  max-width:560px;
}
.promo-main .promo-actions{
  margin-top:10px !important;
}
.promo-tile .promo-content{
  justify-content:flex-end !important;
  padding:22px 24px 26px !important;
}
.promo-tile .promo-title{
  margin:10px 0 16px !important;
}
.promo-text{display:none !important;}
@media(max-width:760px){
  .promo-main .promo-content{padding:34px 28px 42px !important;}
  .promo-main .promo-title{font-size:34px;margin-bottom:24px !important;}
  .promo-actions{gap:10px;}
}


/* === FIX DEFINITIVO SLIDER: sin texto descriptivo y botones más abajo === */
.promo-text{display:none!important;}
.promo-main .promo-content{
  justify-content:flex-end!important;
  padding:42px 42px 62px!important;
}
.promo-main .promo-title{
  margin:18px 0 46px!important;
  max-width:520px;
}
.promo-main .promo-actions{
  margin-top:0!important;
  transform:translateY(8px);
}
.promo-tile .promo-content{
  justify-content:flex-end!important;
  padding:22px!important;
}
.promo-tile .promo-title{
  margin:10px 0 22px!important;
}
.promo-tile .promo-mini-btn{
  margin-top:0!important;
}
@media(max-width:760px){
  .promo-main .promo-content{padding:30px 26px 50px!important;}
  .promo-main .promo-title{margin-bottom:34px!important;}
  .promo-main .promo-actions{transform:none;}
}


/* === CATEGORIAS PRO: hover recuperado + borde premium === */
.cat-grid{
  gap:24px!important;
}
.cat-card{
  position:relative!important;
  border:8px solid #fff!important;
  border-radius:32px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 12px 26px rgba(15,23,42,.11)!important;
  outline:none!important;
  transform:translateY(0)!important;
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease, outline-color .28s ease!important;
  will-change:transform!important;
}
.cat-card:hover{
  transform:translateY(-8px)!important;
  box-shadow:0 24px 50px rgba(15,23,42,.20)!important;
  border-color:#fff!important;
}
.cat-card.active{
  border-color:#fff!important;
  outline:4px solid #2f556f!important;
  outline-offset:-4px!important;
  box-shadow:0 20px 42px rgba(47,85,111,.25)!important;
}
.cat-card.active::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:24px;
  pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.9);
}
.cat-img{
  height:160px!important;
  background:linear-gradient(135deg,#e9eef4,#d9e2ec)!important;
  overflow:hidden!important;
  border-bottom:0!important;
}
.cat-img img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  transform:scale(1)!important;
  transition:transform .35s ease, filter .35s ease!important;
}
.cat-card:hover .cat-img img{
  transform:scale(1.07)!important;
  filter:saturate(1.08) contrast(1.03)!important;
}
.cat-card h3{
  margin-top:18px!important;
  font-size:24px!important;
  line-height:1.05!important;
}
.cat-card p{
  color:#475569!important;
  min-height:42px!important;
}
.cat-card span{
  background:#07162a!important;
  color:#fff!important;
  padding:11px 22px!important;
  border-radius:999px!important;
  transition:background .25s ease, transform .25s ease!important;
}
.cat-card:hover span,
.cat-card.active span{
  background:#2f556f!important;
  transform:translateY(-1px)!important;
}
@media(max-width:760px){
  .cat-card:hover{transform:none!important;}
  .cat-img{height:150px!important;}
}


/* === IBSA CATEGORIAS FINAL: curvas limpias + hover visible === */
#categorias .cat-grid{
  gap:26px!important;
  align-items:stretch!important;
}
#categorias .cat-card{
  appearance:none!important;
  -webkit-appearance:none!important;
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  min-height:356px!important;
  padding:8px 8px 24px!important;
  border:0!important;
  border-radius:34px!important;
  background:#fff!important;
  overflow:hidden!important;
  outline:0!important;
  opacity:1!important;
  transform:translateY(0) scale(1)!important;
  animation:none!important;
  box-shadow:0 14px 30px rgba(15,23,42,.10)!important;
  transition:transform .30s cubic-bezier(.2,.8,.2,1), box-shadow .30s ease, filter .30s ease!important;
  cursor:pointer!important;
}
#categorias .cat-card::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  border-radius:34px!important;
  pointer-events:none!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.95)!important;
  z-index:2!important;
}
#categorias .cat-card:hover,
#categorias .cat-card:focus-visible{
  transform:translateY(-9px) scale(1.012)!important;
  box-shadow:0 26px 55px rgba(15,23,42,.18)!important;
}
#categorias .cat-card.active{
  transform:translateY(0) scale(1)!important;
  box-shadow:0 0 0 3px #2f556f, 0 22px 48px rgba(47,85,111,.26)!important;
}
#categorias .cat-card.active:hover{
  transform:translateY(-7px) scale(1.01)!important;
  box-shadow:0 0 0 3px #2f556f, 0 30px 60px rgba(47,85,111,.30)!important;
}
#categorias .cat-img{
  height:168px!important;
  width:100%!important;
  margin:0!important;
  border-radius:26px 26px 10px 10px!important;
  background:linear-gradient(135deg,#eef3f8,#dbe5ee)!important;
  overflow:hidden!important;
  border:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
#categorias .cat-img img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  transform:scale(1)!important;
  transition:transform .38s cubic-bezier(.2,.8,.2,1), filter .38s ease!important;
}
#categorias .cat-card:hover .cat-img img,
#categorias .cat-card:focus-visible .cat-img img{
  transform:scale(1.075)!important;
  filter:saturate(1.08) contrast(1.04)!important;
}
#categorias .cat-card h3{
  margin:20px 10px 8px!important;
  font-size:24px!important;
  line-height:1.05!important;
  letter-spacing:-.03em!important;
  color:#07162a!important;
  font-weight:900!important;
}
#categorias .cat-card p{
  margin:0 16px!important;
  min-height:46px!important;
  color:#475569!important;
  font-size:13px!important;
  line-height:1.45!important;
}
#categorias .cat-card span{
  margin:auto auto 0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:142px!important;
  padding:11px 22px!important;
  border-radius:999px!important;
  background:#07162a!important;
  color:#fff!important;
  font-weight:900!important;
  font-size:13px!important;
  box-shadow:0 10px 20px rgba(7,22,42,.12)!important;
  transition:background .25s ease, transform .25s ease, box-shadow .25s ease!important;
}
#categorias .cat-card:hover span,
#categorias .cat-card:focus-visible span,
#categorias .cat-card.active span{
  background:#2f556f!important;
  transform:translateY(-2px)!important;
  box-shadow:0 14px 26px rgba(47,85,111,.22)!important;
}
@media(max-width:760px){
  #categorias .cat-grid{gap:20px!important;}
  #categorias .cat-card{min-height:330px!important;border-radius:30px!important;}
  #categorias .cat-card:hover,#categorias .cat-card:focus-visible{transform:translateY(-4px)!important;}
  #categorias .cat-img{height:155px!important;border-radius:22px 22px 10px 10px!important;}
  #categorias .cat-card h3{font-size:23px!important;}
}


/* Vista previa inicial: evita cargar visualmente todo el catálogo */
.catalog-preview-note{grid-column:1/-1;background:#ffffff;border:1px solid #dbe4ef;border-left:6px solid #2f556f;border-radius:22px;padding:18px 22px;box-shadow:0 12px 30px rgba(15,23,42,.08);display:flex;align-items:center;justify-content:space-between;gap:14px;color:#0f172a}
.catalog-preview-note b{font-size:15px;font-weight:900}
.catalog-preview-note span{font-size:14px;font-weight:700;color:#64748b}
@media(max-width:900px){.catalog-preview-note{display:block}.catalog-preview-note span{display:block;margin-top:6px}}


/* === FIX FINAL GUIA RAPIDA: usar nombres reales en FTP === */
.info-condiciones{
  background-image:linear-gradient(90deg,rgba(2,6,23,.86),rgba(15,23,42,.42),rgba(15,23,42,.05)),url('/images/story/clientes.png')!important;
  background-size:cover!important;
  background-position:center!important;
}
.info-despacho{
  background-image:linear-gradient(90deg,rgba(2,6,23,.88),rgba(15,23,42,.48),rgba(15,23,42,.10)),url('/images/story/despacho.png')!important;
  background-size:cover!important;
  background-position:center!important;
}

/* RESULTADOS / PREVIEW COMO FICHA DE PRODUCTO */
.result-info-card{
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%) !important;
  border:1px solid rgba(219,228,239,.95) !important;
  min-height:520px !important;
  justify-content:flex-start !important;
  padding:34px 22px 22px !important;
  overflow:hidden;
}
.result-info-card::after{
  content:"";
  position:absolute;
  right:-70px;
  top:-70px;
  width:190px;
  height:190px;
  background:radial-gradient(circle,rgba(47,85,111,.18),rgba(47,85,111,0) 70%);
  pointer-events:none;
}
.result-info-icon{
  width:72px;
  height:72px;
  border-radius:24px;
  background:#f1f5f9;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:34px;
  margin:6px auto 22px;
  box-shadow:inset 0 0 0 1px rgba(203,213,225,.7);
}
.result-info-kicker{
  text-align:center;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.28em;
  color:#64748b;
  font-weight:900;
  margin-bottom:16px;
}
.result-info-card h3{
  text-align:center;
  min-height:auto !important;
  margin:0 0 14px !important;
  font-size:24px !important;
  line-height:1.08 !important;
}
.result-info-card p{
  text-align:center;
  color:#475569;
  font-size:14px;
  line-height:1.45;
  font-weight:750;
  margin:0 0 18px;
}
.result-info-box{
  margin-top:auto;
  background:#f1f5f9;
  border-radius:22px;
  padding:18px;
  text-align:center;
  border:1px solid #e2e8f0;
}
.result-info-box b{
  display:block;
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#2f556f;
  font-weight:900;
  margin-bottom:8px;
}
.result-info-box span{
  display:block;
  color:#64748b;
  font-size:13px;
  font-weight:800;
  line-height:1.35;
}
.result-info-btn{
  margin-top:14px;
  width:100%;
  text-align:center;
  padding:13px 10px !important;
}
@media(max-width:760px){
  .result-info-card{min-height:auto !important;padding:28px 20px 20px !important;}
  .result-info-icon{margin-top:0;}
}


/* AJUSTE FINAL FICHA INFORMATIVA DE RESULTADOS */
.result-info-card{
  padding:42px 22px 24px !important;
}
.result-info-card p{
  text-align:left !important;
  line-height:1.55 !important;
  margin-bottom:24px !important;
}
.result-info-box{
  margin-top:26px !important;
  padding:20px 18px !important;
  text-align:left !important;
}
.result-info-box p{
  margin:0 !important;
  text-align:justify !important;
  color:#0f172a !important;
  font-size:14px !important;
  font-weight:800 !important;
  line-height:1.55 !important;
}
.result-info-btn{
  margin-top:30px !important;
}
@media(max-width:760px){
  .result-info-box p{text-align:left !important;}
  .result-info-btn{margin-top:22px !important;}
}


/* IBSA V20 FIX2 - Widgets públicos seguros */
.ibsa-smart-wsp{position:fixed;right:22px;bottom:22px;width:min(330px,calc(100vw - 34px));z-index:9998;background:#fff;border:1px solid rgba(15,23,42,.12);border-radius:24px;box-shadow:0 24px 60px rgba(15,23,42,.24);overflow:hidden;font-family:Arial,Helvetica,sans-serif}
.ibsa-smart-wsp.closed{display:none}.ibsa-wsp-close{position:absolute;top:10px;right:12px;width:28px;height:28px;border-radius:999px;background:#f1f5f9;color:#334155;font-weight:900}.ibsa-wsp-head{background:linear-gradient(135deg,#07162a,#2f556f);color:#fff;padding:16px 18px 14px}.ibsa-wsp-head span{display:block;font-size:10px;letter-spacing:.18em;text-transform:uppercase;opacity:.82;font-weight:900}.ibsa-wsp-head b{display:block;margin-top:4px;font-size:17px}.ibsa-wsp-body{padding:16px 18px 18px}.ibsa-wsp-body strong{display:block;color:#07162a;font-size:16px}.ibsa-wsp-body small{display:block;color:#64748b;font-weight:850;margin-top:3px}.ibsa-wsp-body p{margin:12px 0;color:#334155;font-weight:700;line-height:1.35}.ibsa-wsp-body a{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:999px;background:#22c55e;color:#fff!important;font-weight:950;text-decoration:none;box-shadow:0 12px 24px rgba(34,197,94,.22)}
.ibsa-social-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.ibsa-social-links a{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.20);color:#fff!important;background:rgba(255,255,255,.08);border-radius:999px;padding:9px 13px;font-weight:900;text-decoration:none}.ibsa-social-links a:hover{background:#ff6b21;border-color:#ff6b21;color:#fff!important}
.ibsa-seller-trace{max-width:1280px;margin:18px auto 0;padding:14px 22px;border-radius:22px;background:linear-gradient(135deg,#fff7ed,#fff);border:1px solid #fed7aa;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 12px 28px rgba(15,23,42,.08)}.ibsa-seller-trace span{display:block;text-transform:uppercase;letter-spacing:.16em;color:#9a3412;font-size:10px;font-weight:950}.ibsa-seller-trace strong{display:block;color:#07162a;font-size:20px;margin-top:3px}.ibsa-seller-trace small{display:block;color:#64748b;font-weight:850;margin-top:2px}.ibsa-seller-trace a{background:#2f556f;color:#fff!important;border-radius:999px;padding:12px 18px;font-weight:950;text-decoration:none;white-space:nowrap}
@media(max-width:760px){.ibsa-smart-wsp{right:12px;bottom:12px}.ibsa-seller-trace{margin:12px 16px 0;display:block}.ibsa-seller-trace a{display:inline-flex;margin-top:12px}}


/* IBSA V20 FIX5 - limpieza visual WhatsApp + RRSS + SEO */
.seo-h1{
  position:absolute!important;
  left:-9999px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}
#ibsaSmartWhatsapp.ibsa-wsp-direct{
  position:fixed!important;
  right:22px!important;
  bottom:22px!important;
  width:62px!important;
  height:62px!important;
  border-radius:999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#22c55e!important;
  color:#fff!important;
  border:4px solid #fff!important;
  box-shadow:0 18px 40px rgba(15,23,42,.28)!important;
  z-index:9998!important;
  text-decoration:none!important;
  transition:transform .18s ease, box-shadow .18s ease!important;
}
#ibsaSmartWhatsapp.ibsa-wsp-direct:hover{
  transform:translateY(-2px) scale(1.03)!important;
  box-shadow:0 22px 48px rgba(15,23,42,.34)!important;
}
#ibsaSmartWhatsapp.ibsa-wsp-direct svg{
  width:31px!important;
  height:31px!important;
  fill:currentColor!important;
}
.ibsa-smart-wsp:not(.ibsa-wsp-direct),
.ibsa-wsp-card,
.ibsa-wsp-head,
.ibsa-wsp-body{
  display:none!important;
}
.ibsa-social-icons{
  display:flex!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  margin-top:18px!important;
  align-items:center!important;
}
.ibsa-social-icons .ibsa-social-btn{
  width:42px!important;
  height:42px!important;
  border-radius:999px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(255,255,255,.24)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(0,0,0,.12)!important;
  transition:transform .18s ease, background .18s ease, border-color .18s ease!important;
  text-decoration:none!important;
}
.ibsa-social-icons .ibsa-social-btn svg{
  width:21px!important;
  height:21px!important;
  fill:currentColor!important;
  display:block!important;
}
.ibsa-social-icons .ibsa-social-btn span{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
}
.ibsa-social-icons .ibsa-social-btn:hover{
  transform:translateY(-2px)!important;
  color:#fff!important;
}
.ibsa-social-icons .ibsa-social-btn.facebook:hover{
  background:#1877f2!important;
  border-color:#1877f2!important;
}
.ibsa-social-icons .ibsa-social-btn.instagram:hover{
  background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4)!important;
  border-color:rgba(255,255,255,.32)!important;
}
@media(max-width:760px){
  #ibsaSmartWhatsapp.ibsa-wsp-direct{
    right:14px!important;
    bottom:14px!important;
    width:58px!important;
    height:58px!important;
  }
  #ibsaSmartWhatsapp.ibsa-wsp-direct svg{
    width:29px!important;
    height:29px!important;
  }
  .ibsa-social-icons{
    justify-content:flex-start!important;
    margin-top:18px!important;
  }
  .ibsa-social-icons .ibsa-social-btn{
    width:48px!important;
    height:48px!important;
  }
  .ibsa-social-icons .ibsa-social-btn svg{
    width:24px!important;
    height:24px!important;
  }
}
