
/* MSP IMPORT EC 2.1 — rediseño real de la experiencia de tienda y fichas. */
:root{--navy:#132c4e;--blue:#2267be;--bg:#fff;--muted:#647489;--line:#e7ebf1}
html{scroll-behavior:smooth}
body{background:#fff}
.topbar{background:#e9f3ff;color:#183e6c}.top-promo,.top-promo-detail{color:#22547e}.topbar-in{justify-content:center;min-height:32px}
.top{background:#fff;box-shadow:none;border-bottom:1px solid #eef0f4}.top-in{min-height:70px}
.nav a{color:#25394f}.brand-name{font-size:1.09rem}.cart-btn{background:#142d4f;border-radius:999px}
.store-intro{background:linear-gradient(170deg,#f9fbfe 0%,#f2f7ff 73%,#fff 100%);padding:22px 0 13px}
.store-search{display:flex;align-items:center;gap:12px;width:100%;max-width:780px;margin:2px auto 29px;border:1px solid #d9e4f1;box-shadow:0 12px 35px rgba(21,55,100,.055);border-radius:999px;background:#fff;padding:7px 8px 7px 20px;color:#5b7190}
.store-search input{flex:1;min-width:0;background:transparent;border:0;outline:0;font:500 15px var(--font-body,inherit);color:#153250}.store-search input:focus-visible{outline:none}
.store-search:focus-within{border-color:#3f8bd4;box-shadow:0 0 0 3px #d8eafd}
.store-search button{border:0;background:#174c88;color:#fff;border-radius:999px;min-height:43px;padding:0 26px;font-weight:800;cursor:pointer}
.store-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:35px;align-items:center;min-height:420px;padding:0 0 22px}
.store-hero-copy{padding:20px 0 22px}.store-overline{display:inline-flex;align-items:center;gap:9px;font-size:11px;letter-spacing:.14em;font-weight:800;color:#2763a2;margin-bottom:18px}
.pulse-dot{width:8px;height:8px;border-radius:50%;background:#2fa77b}
.store-hero h1{color:#142b46;font:800 clamp(3rem,5.2vw,5rem)/1.07 var(--font-display);letter-spacing:-.066em;max-width:710px;margin:0 0 20px}
.store-hero h1 em{font-style:normal;color:#2674c7}.store-hero-copy p{font-size:16px;line-height:1.7;max-width:480px;color:#596c84;margin:0 0 25px}
.store-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.store-cta{background:#143f75;color:white;text-decoration:none;padding:16px 27px;border-radius:14px;font-size:14px;font-weight:800;box-shadow:0 12px 20px rgba(20,63,117,.11)}
.store-hero-actions>span{font-size:12px;font-weight:700;color:#67809d}
.store-hero-products{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 32%;align-items:end;gap:14px;min-height:342px}
.feature-main,.feature-mini{min-width:0;border:1px solid #e0e8f1;border-radius:28px;padding:14px;background:#fff;box-shadow:0 16px 55px rgba(15,43,82,.075);text-align:left;cursor:pointer;color:#173b68}
.feature-main{position:relative;display:flex;flex-direction:column}.feature-main>img{width:100%;height:275px;object-fit:contain;border-radius:17px;background:#f5f8fc}.feature-tag{position:absolute;z-index:1;top:25px;left:24px;background:#e9f3ff;color:#174c81;padding:7px 12px;border-radius:999px;font-size:10px;font-weight:800}
.feature-caption{padding:12px 5px 3px;display:flex;gap:7px;flex-direction:column}.feature-caption b{font-size:14px}.feature-caption small{font-size:11px;color:#367bb9;font-weight:750}
.feature-mini{padding:9px;border-radius:23px;margin-bottom:13px}.feature-mini img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#f6f8fb;border-radius:15px}.feature-mini span{font-size:11px;font-weight:800;line-height:1.4;display:block;padding:10px 5px 3px}.feature-mini b{color:#3982cb}
.store-assurances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:8px 0 23px}
.store-assurances>div{display:grid;grid-template-columns:35px 1fr;grid-template-rows:auto auto;column-gap:10px;padding:16px 17px;background:#fff;border:1px solid #e9edf2;border-radius:15px}
.store-assurances span{grid-row:1/3;width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#eef6ff;color:#236cb7;font-weight:800}
.store-assurances strong{font-size:12px;color:#203955}.store-assurances small{font-size:11px;color:#708197;margin-top:1px}
.category-shop{padding-top:26px;padding-bottom:28px}.category-shop .title{font-size:clamp(1.7rem,3vw,2.35rem);color:#1c334c}
.category-picture-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.picture-cat{padding:10px;background:#f7f9fc;border:1px solid #edf0f4;border-radius:21px;cursor:pointer;text-align:left;transition:transform .2s,box-shadow .2s}
.picture-cat:hover{transform:translateY(-4px);box-shadow:0 12px 24px rgba(13,43,77,.1)}
.picture-cat img{width:100%;height:145px;object-fit:contain;background:#fff;border-radius:15px}.picture-cat span{display:flex;align-items:center;justify-content:space-between;font-weight:800;font-size:13px;color:#173451;padding:12px 6px 5px}.picture-cat b{color:#3675b4}
.store-promo-wrap{padding-block:22px 12px}.store-promo{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:28px 34px;background:#142f50;border-radius:24px;color:#fff}
.store-promo-kicker{font-size:10px;letter-spacing:.18em;color:#a8d4ff;font-weight:850}.store-promo h2{font:800 clamp(1.3rem,2vw,1.9rem)/1.25 var(--font-display);margin:8px 0}.store-promo p{color:#c2d6ed;font-size:13px;margin:0;line-height:1.5}.store-promo>a{white-space:nowrap;text-decoration:none;border-radius:999px;background:#fff;padding:13px 21px;color:#194b81;font-weight:800;font-size:12px}
#catalogo .tools{background:#fff;box-shadow:none;border:1px solid #e8edf4}
#catalogo .grid{gap:16px}.card{box-shadow:none;border:1px solid #e8ecf1;border-radius:18px;overflow:hidden}.card:hover{border-color:#aac9e9}
.card-media{background:#f8fafc}.card-body{background:#fff}.card .card-title{font-size:13px;color:#223954}.card .price{font-size:1.4rem;color:#15324f}
.card .card-foot .btn{background:#173f74;border-radius:12px}.card .card-foot .btn:hover{background:#236cb7}
#novedades .card{background:#fff}#novedades .new-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Ficha de producto completamente renovada */
#dlgProducto{width:min(1130px,calc(100% - 34px));max-height:calc(100dvh - 34px);border:0;border-radius:26px;padding:0;background:#fff}
#dlgProducto::backdrop{background:rgba(10,29,53,.68);backdrop-filter:blur(3px)}
.pm{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:38px;padding:38px}
.pm-close{position:sticky;top:0;float:right;margin:-22px -22px 0 0;z-index:5;background:#fff;border:1px solid #d9e2ed}
.pm-visual{min-width:0}.pm-main{aspect-ratio:1.1/1;background:#f7f9fc;border:1px solid #ecf0f4;border-radius:22px}.pm-main img{object-fit:contain}
.pm-info h2{font-size:clamp(1.6rem,2.8vw,2.25rem);color:#152b43;line-height:1.18;padding-right:24px}
.pm-info .price{font-size:2.3rem}.pm-info .code{font-size:11px;color:#69819a}.pm-info .price-box{align-items:center}
.pm-shipping{display:grid;gap:9px;padding:14px 16px;background:#edf8f3;border:1px solid #d7ede2;border-radius:15px;font-size:12px;font-weight:750;color:#246044}
.pm-desc{font-size:14px;line-height:1.7;max-height:175px;overflow:auto;padding:2px 1px}
.pm-buy{display:grid;grid-template-columns:auto 1fr;gap:9px}.pm-buy .qty{grid-row:1/3}.pm-buy .btn{min-height:46px;border-radius:12px;font-size:13px}.pm-buy .pm-buy-now{background:#154a87;grid-column:2;grid-row:1}.pm-buy [data-pm-add]{background:#eff5fd;color:#1e5d9c;grid-column:2;grid-row:2}
.thumbs{gap:9px;margin-top:12px;scrollbar-width:thin}.thumb{width:72px;height:72px;border-radius:13px;border:1px solid #e0e7f0}.thumb[aria-current="true"]{border:2px solid #327bc5}.thumb-info{font-size:11px;font-weight:800;color:#205d9c;background:#ebf5ff;padding:8px}
.pm-photo-note{color:#8491a2;font-size:11px;line-height:1.5;margin-top:11px}
.pm-info-slide{height:100%;width:100%;min-height:270px;display:flex;flex-direction:column;justify-content:center;gap:13px;padding:clamp(25px,5vw,48px);background:linear-gradient(145deg,#e9f5ff,#f7fbff);color:#1b3d60;text-align:left}
.pm-info-slide h3{font:800 clamp(1.5rem,2.6vw,2.2rem)/1.13 var(--font-display);color:#12385e;margin:0}
.pm-info-slide p{max-height:200px;overflow:auto;font-size:14px;line-height:1.75;color:#355d81;white-space:pre-line}.pm-slide-kicker{font-size:10px;font-weight:800;letter-spacing:.2em;color:#2776bb}
.pm-accordions{border-top:1px solid #e5ecf2;border-bottom:1px solid #e5ecf2}.pm-accordions details{padding:13px 0;border-bottom:1px solid #eaf0f5}.pm-accordions details:last-child{border-bottom:0}.pm-accordions summary{font-size:13px;color:#1d3957;font-weight:800;cursor:pointer}.pm-accordions p{font-size:12px;color:#5a6b7f;line-height:1.7;padding-top:9px;white-space:pre-line}
/* Responsive */
@media(max-width:1000px){.store-hero{gap:16px;min-height:340px}.store-hero h1{font-size:clamp(2.45rem,5.3vw,3.7rem)}.store-hero-products{min-height:295px}.feature-main>img{height:220px}.picture-cat img{height:120px}}
@media(max-width:700px){
 .topbar-in{min-height:31px}.top{position:sticky;top:0;z-index:25}.top-in{min-height:57px}
 .store-intro{padding:15px 0 7px;background:linear-gradient(160deg,#f3f8ff,#fff 82%)}
 .store-search{margin:0 auto 20px;min-height:49px;border-radius:13px;padding:4px 5px 4px 13px;gap:9px;box-shadow:0 7px 18px rgba(23,68,113,.05)}
 .store-search input{font-size:13px}.store-search button{min-height:38px;border-radius:10px;padding:0 13px;font-size:11px}
 .store-hero{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:0 0 15px;min-height:0}
 .store-hero-copy{padding:0}.store-overline{font-size:9px;margin-bottom:11px}
 .store-hero h1{font-size:clamp(2rem,8.2vw,3.3rem);letter-spacing:-.055em;line-height:1.09;margin-bottom:10px}
 .store-hero-copy p{font-size:12px;line-height:1.55;margin-bottom:14px}
 .store-cta{border-radius:11px;padding:13px 17px;font-size:12px}.store-hero-actions{gap:12px}.store-hero-actions>span{font-size:10px}
 .store-hero-products{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:8px;min-height:0}
 .feature-main,.feature-mini{border-radius:16px;padding:7px;box-shadow:0 6px 18px rgba(19,60,101,.06)}.feature-main>img{height:120px;border-radius:10px}.feature-tag{top:13px;left:13px;font-size:8px;padding:4px 7px}.feature-caption{padding:6px 4px 2px;gap:2px}.feature-caption b{font-size:10px}.feature-caption small{font-size:9px}
 .feature-mini{margin:0}.feature-mini img{height:120px;object-fit:contain}.feature-mini span{font-size:10px;padding:7px 2px 1px}
 .store-assurances{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:2px 0 10px}
 .store-assurances>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;padding:8px 3px;border-radius:11px}.store-assurances span{width:25px;height:25px;font-size:13px;border-radius:8px}.store-assurances strong{font-size:9px;line-height:1.2}.store-assurances small{display:none}
 .category-shop{padding-top:19px;padding-bottom:15px}.category-shop .title{font-size:1.45rem}.category-shop .sec-head{margin-bottom:14px}
 .category-picture-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:10px;margin:0 -15px;padding:0 15px 6px}.picture-cat{flex:0 0 122px;scroll-snap-align:start;border-radius:15px;padding:6px}.picture-cat img{height:92px;border-radius:11px}.picture-cat span{font-size:11px;padding:8px 3px 4px}
 .store-promo-wrap{padding-block:12px 5px}.store-promo{display:block;padding:19px 19px;border-radius:17px}.store-promo h2{font-size:1.15rem;line-height:1.25}.store-promo p{font-size:11px;margin:0 0 15px}.store-promo>a{display:inline-flex;padding:10px 15px;font-size:11px}
 #novedades{padding-top:17px}#catalogo{padding-top:20px}#catalogo .grid{gap:9px}
 .pm{grid-template-columns:minmax(0,1fr);padding:0;gap:0}
 #dlgProducto{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;overflow:auto;overscroll-behavior:contain}
 .pm-close{position:fixed;top:max(13px,env(safe-area-inset-top));right:13px;float:none;margin:0;width:39px;height:39px;border-radius:50%;box-shadow:0 4px 16px rgba(21,50,85,.13)}
 .pm-visual{padding:14px 15px 0}.pm-main{aspect-ratio:1.25/1;border-radius:15px}.pm-main img{object-fit:contain}.thumbs{margin-top:9px}.thumb{width:58px;height:58px;border-radius:9px}.thumb-info{font-size:9px}.pm-photo-note{font-size:10px;margin:8px 0}
 .pm-info{padding:13px 17px 108px;gap:12px}.pm-info h2{font-size:1.42rem;line-height:1.23;padding:0}.pm-info .price{font-size:2rem}.pm-info .code{font-size:10px}
 .pm-shipping{gap:7px;padding:12px;font-size:11px}.pm-desc{font-size:12px;line-height:1.6;max-height:none}
 .pm-buy{position:fixed;z-index:7;bottom:0;left:0;right:0;display:flex;align-items:center;background:#fff;border-top:1px solid #e5ecf2;box-shadow:0 -6px 24px rgba(19,47,84,.06);padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:8px}
 .pm-buy .qty{margin:0}.pm-buy .qty button{width:30px;height:40px}.pm-buy .btn{flex:1;min-height:44px}.pm-buy .pm-buy-now{background:#164c87}.pm-buy [data-pm-add]{display:none}
 .pm-info-slide{min-height:245px;padding:24px}.pm-info-slide h3{font-size:1.5rem}.pm-info-slide p{font-size:12px;max-height:145px}
 .pm-accordions details{padding:14px 0}
}
@media(prefers-reduced-motion:reduce){.picture-cat{transition:none}}
