*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f6f9f9;color:#173944;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}.ribbon{background:#075b56;color:#fff;text-align:center;padding:9px 12px;font-size:11px;letter-spacing:2px}.site-header{background:white;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:13px max(24px,calc((100vw - 1180px)/2));box-shadow:0 2px 15px #183e4010}.brand{display:flex;align-items:center;gap:12px}.brand img{width:66px;height:66px;object-fit:contain}.brand strong{display:block;color:#095b65;font-size:20px}.brand small{color:#64817e}.main-nav{display:flex;flex-wrap:wrap;gap:22px;font-size:14px;font-weight:600;color:#31585a}.main-nav a:hover,.category-links a:hover{color:#008c78}main{max-width:1180px;margin:auto;padding:30px 22px 56px}.welcome{display:grid;grid-template-columns:1.5fr .75fr;gap:30px;align-items:center;background:linear-gradient(115deg,#e8f6f1,#eaf5fb);border-radius:23px;padding:52px 56px}.eyebrow{color:#08796d;font-weight:800;font-size:12px;letter-spacing:2px}.welcome h1{font-size:clamp(30px,4vw,50px);color:#0a4f59;line-height:1.12;margin:14px 0}.welcome p,.section-head p,.catalog-intro p{line-height:1.7;color:#4e6870;font-size:16px}.welcome-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.btn{display:inline-block;background:#087767;color:white;border:1px solid #087767;padding:13px 19px;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;text-align:center}.btn-light{background:#fff;color:#087767}.welcome-art{background:#ffffffbb;border-radius:50%;aspect-ratio:1;display:grid;place-items:center;padding:22px}.welcome-art img{width:100%;height:100%;object-fit:contain}.section{padding-top:54px}.section-head{text-align:center;max-width:700px;margin:0 auto 30px}.section-head h2{font-size:32px;color:#0a5057;margin:10px 0}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.category-tile{display:flex;align-items:center;gap:14px;background:white;border:1px solid #e0ebea;border-radius:14px;padding:20px;min-height:94px;box-shadow:0 4px 14px #0a3b4208}.category-tile:hover{border-color:#4fb4a5;transform:translateY(-2px)}.tile-symbol{color:#087767;background:#e7f6f0;padding:12px;border-radius:10px}.category-tile strong{display:block;font-size:15px}.category-tile small{display:block;font-size:12px;color:#71838a;margin-top:5px}.tile-arrow{margin-left:auto;color:#087767;font-size:28px}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:48px 0 24px}.info-grid article{background:#fff;padding:25px;border-radius:14px;border:1px solid #e0ebea}.info-grid h2{color:#0a555a;font-size:22px}.info-grid p{color:#4d686b;line-height:1.65}.info-grid a{color:#087767;font-weight:700}.notice{background:#fff8e9;border:1px solid #e8d7ac;color:#725d35;padding:14px;border-radius:10px;font-size:13px;line-height:1.6}.crumb{font-size:13px;color:#627c80;margin:5px 0 25px}.crumb a{color:#087767}.catalog-intro{background:linear-gradient(110deg,#e7f6f0,#edf6fc);padding:32px;border-radius:16px}.catalog-intro h1{color:#0b5960;margin:10px 0;font-size:clamp(27px,4vw,38px)}.category-links{display:flex;gap:9px;overflow:auto;padding:18px 0 12px;scrollbar-width:thin}.category-links a{white-space:nowrap;background:#fff;border:1px solid #dce8e7;border-radius:100px;padding:10px 14px;font-size:12px;color:#3c6668}.tools{display:flex;gap:16px;align-items:end;margin:20px 0}.tools label{display:grid;gap:8px;font-size:13px;font-weight:700;color:#365a60}.search-wrap{flex:1}.tools input,.tools select{width:100%;padding:13px;border:1px solid #cbdcdb;border-radius:10px;font-size:15px;background:white}.count{color:#687c7e;font-size:13px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.product{background:white;border:1px solid #e2ebee;border-radius:13px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 4px 14px #0c35350b}.photo{aspect-ratio:1;display:grid;place-items:center;background:#fff}.photo img{width:100%;height:100%;object-fit:contain}.product-body{padding:15px;display:flex;flex-direction:column;gap:10px;flex:1}.product-body h3{font-size:16px;line-height:1.35;margin:0}.product-body p{font-size:12px;color:#64747a;margin:0;line-height:1.5}.product-category{color:#087767;font-size:11px;font-weight:700}.review-flag{font-size:11px;color:#8d6a27}.product-body label{font-size:12px;color:#527177}.product-body select,.product-body input{border:1px solid #cfdfdc;padding:9px;border-radius:8px;min-width:0;width:100%}.quantity-line{display:flex;align-items:center;gap:12px}.quantity-line input{width:65px}.product-total{font-size:13px;color:#345d58;margin-top:auto}.order{background:#087767;color:#fff;border:0;border-radius:8px;padding:11px;font-weight:700;cursor:pointer;text-align:center;font-size:13px}.order:hover{background:#075f52}.no-results{padding:25px;background:white;border-radius:12px;grid-column:1/-1}footer{background:#0a4851;color:#fff;padding:38px 22px}.foot-inner{max-width:1180px;margin:auto;display:flex;justify-content:space-between;gap:24px}.foot-inner p{font-size:13px;line-height:1.6;color:#d0e7e7}.foot-inner a{color:#a9f8d7;font-weight:700}.foot-note{text-align:center;font-size:11px;color:#bdd1d1;margin-top:25px}dialog{border:0;border-radius:16px;width:min(94vw,470px);padding:24px;box-shadow:0 20px 70px #0004}dialog::backdrop{background:#001b2880}dialog form{display:grid;gap:13px}dialog .close{position:absolute;right:14px;top:8px;font-size:28px;background:none;border:0;cursor:pointer}.line{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #eee}.line button{border:0;background:#f4e8e8;border-radius:6px;cursor:pointer}#floating{position:fixed;bottom:20px;right:20px;border:0;border-radius:50px;background:#087767;color:white;padding:15px 22px;font-weight:800;box-shadow:0 8px 30px #0003;cursor:pointer}#floating[hidden]{display:none}@media(max-width:950px){.category-grid{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(3,1fr)}.welcome{padding:35px}.site-header{padding:14px 22px}}@media(max-width:650px){.site-header{flex-direction:column;gap:12px}.main-nav{justify-content:center;gap:15px}.brand img{width:55px;height:55px}.welcome{grid-template-columns:1fr;padding:28px}.welcome-art{display:none}.category-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-body{padding:11px}.product-body h3{font-size:14px}.tools{flex-direction:column;align-items:stretch}.tools label{width:100%}.info-grid{grid-template-columns:1fr}.foot-inner{flex-direction:column}.catalog-intro{padding:24px}.section-head h2{font-size:27px}}@media(max-width:370px){.product-grid{grid-template-columns:1fr}}
/* Renovación visual Farmacia Nurse Shop */
:root{--brand:#087a70}body{background:linear-gradient(180deg,#f6fbfa 0%,#f8fbfc 65%,#fff 100%)}
#categorias{padding:38px 0 25px}.section-head{text-align:center;margin-bottom:22px}.section-head h2{font-size:clamp(29px,3.5vw,43px);letter-spacing:-.8px;color:#07545b;margin:8px 0 10px}.section-head p{font-size:16px;color:#55757a}.section-head .eyebrow{color:#008477;font-weight:800;letter-spacing:2px}
.catalog-search-cta{display:flex;align-items:center;gap:13px;max-width:680px;margin:0 auto 30px;padding:16px 19px;border-radius:18px;background:#fff;border:1px solid #dcece8;box-shadow:0 7px 24px #12544b0a;color:#49686a}.catalog-search-cta .search-ico{font-size:32px;line-height:1;color:#16887a}.catalog-search-cta strong{margin-left:auto;color:#087a70;font-size:13px}
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.category-tile{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:13px;min-height:202px;padding:23px 24px 19px;border-radius:22px;background:#fff;border:1px solid #e1ecea;box-shadow:0 9px 26px #13504c0a;position:relative;transition:transform .2s,box-shadow .2s,border-color .2s}.category-tile:hover{transform:translateY(-5px);box-shadow:0 17px 34px #13504c16;border-color:#a4d7cd}.category-tile .tile-symbol{width:84px;height:84px;flex:none;display:flex;align-items:center;justify-content:center;border-radius:23px;background:var(--tile-bg);color:var(--tile-color);font-size:inherit}.category-tile .tile-symbol svg{width:45px;height:45px}.category-tile strong{font-size:17px;line-height:1.3;color:#153e47}.category-tile small{font-size:13px;color:#6c8587;margin-top:6px}.category-tile .tile-arrow{position:absolute;right:23px;bottom:22px;display:flex;align-items:center;justify-content:center;background:#f0f8f5;color:#087a70;border-radius:50%;width:32px;height:32px;font-size:26px;line-height:1}.category-tile.peach{--tile-bg:#ffe6d9;--tile-color:#bb5b35}.category-tile.sky{--tile-bg:#dff1ff;--tile-color:#277cb0}.category-tile.orange{--tile-bg:#ffebd7;--tile-color:#c27837}.category-tile.gold{--tile-bg:#fff2c7;--tile-color:#b38715}.category-tile.rose{--tile-bg:#fce3eb;--tile-color:#bf5275}.category-tile.mint{--tile-bg:#dcf5e7;--tile-color:#28845d}.category-tile.lavender{--tile-bg:#eee5ff;--tile-color:#7955b9}.category-tile.aqua{--tile-bg:#ddf4f4;--tile-color:#238c94}.category-tile.slate{--tile-bg:#e8eef7;--tile-color:#64768d}
@media(max-width:900px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-tile{min-height:185px}}@media(max-width:600px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.category-tile{min-height:175px;padding:17px 13px 16px;border-radius:17px;gap:11px}.category-tile .tile-symbol{width:65px;height:65px;border-radius:18px}.category-tile .tile-symbol svg{width:37px;height:37px}.category-tile strong{font-size:14px}.category-tile .tile-arrow{right:12px;bottom:12px;width:25px;height:25px;font-size:20px}.category-tile small{font-size:11px}.catalog-search-cta{flex-wrap:wrap;padding:13px}.catalog-search-cta strong{margin-left:0}.section-head h2{font-size:30px}}

.photo.zoom-trigger{width:100%;border:0;cursor:zoom-in;position:relative;padding:8px;min-height:0}.zoom-hint{position:absolute;bottom:8px;right:8px;background:#ffffffed;color:#087767;padding:5px 8px;border-radius:30px;font-size:11px;box-shadow:0 1px 6px #0002}.zoom-dialog{width:min(96vw,850px);max-height:94vh;text-align:center}.zoom-dialog h2{font-size:18px;margin:0 35px 14px}.zoom-close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:30px;cursor:pointer}.zoom-view{height:min(65vh,650px);overflow:auto;display:grid;place-items:center;touch-action:pan-x pan-y;background:white}.zoom-view img{max-width:90%;max-height:90%;object-fit:contain;transition:transform .15s;transform-origin:center}.zoom-controls{display:flex;justify-content:center;gap:12px;margin-top:12px}.zoom-controls button{padding:9px 15px;border:1px solid #cde0da;border-radius:9px;background:#f0f8f5;cursor:pointer}
/* Corrección responsive: fotografía contenida, sin invadir nombre ni descripción */
.product{min-width:0;min-height:0;overflow:hidden}
.product .photo.zoom-trigger{display:block;position:relative;flex:none;width:100%;height:auto;aspect-ratio:1 / 1;min-height:0;max-height:none;margin:0;padding:8px;overflow:hidden;line-height:0;background:#fff;box-sizing:border-box}
.product .photo.zoom-trigger img{display:block;position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);max-width:none;max-height:none;object-fit:contain;object-position:center}
.product .photo .zoom-hint{position:absolute;z-index:1;bottom:12px;right:12px;line-height:1.4}
.product .product-body{position:relative;z-index:0;flex:1 0 auto;min-width:0;height:auto;overflow:visible}
.product .product-body h3,.product .product-body p{position:static;overflow-wrap:anywhere}
@media(max-width:650px){.product .photo.zoom-trigger{aspect-ratio:1 / 1}.product .product-body{padding:12px;gap:9px}.product .product-body h3{font-size:15px;line-height:1.4}}

/* Sección de contacto renovada */
.help-section{margin:60px 0 4px;padding:36px 38px 40px;background:linear-gradient(120deg,#e5f6ef 0%,#eff9f6 55%,#eaf4fb 100%);border:1px solid #d8ece5;border-radius:26px}
.help-heading{text-align:center;max-width:650px;margin:0 auto 25px}
.help-heading h2{color:#084e52;font-size:clamp(25px,3.2vw,35px);margin:7px 0 8px}
.help-heading p{color:#547477;line-height:1.6;margin:0}
.help-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.help-card{display:flex;align-items:flex-start;gap:18px;background:#fff;border:1px solid #d9ece6;border-radius:19px;padding:25px 23px;box-shadow:0 12px 28px #0b5d5110}
.help-icon{display:grid;place-items:center;flex:none;width:55px;height:55px;border-radius:16px;background:#dcf5e9;color:#07816d;font-size:33px;font-weight:600}
.help-visit .help-icon{background:#e4f0ff;color:#317eaa}
.help-card h3{margin:0 0 9px;font-size:20px;color:#07545b}
.help-card p{margin:0 0 15px;font-size:14px;color:#527078;line-height:1.65}
.help-link{display:inline-flex;align-items:center;gap:10px;color:#087b69;font-size:14px;font-weight:800}
.help-link:hover{text-decoration:underline}
.wa-float{position:fixed;right:19px;bottom:20px;z-index:1000;display:inline-flex;align-items:center;gap:9px;padding:12px 17px;background:#19a767;color:#fff;border-radius:100px;font-weight:750;font-size:14px;box-shadow:0 7px 24px #063d2c40;border:2px solid #fff;transition:transform .18s,background .18s}
.wa-float:hover{background:#128451;transform:translateY(-3px)}
body:has(#floating:not([hidden])) .wa-float{bottom:86px}
/* Fotografías más anchas sin solapar el texto */
.product .photo.zoom-trigger{aspect-ratio:1 / 1;overflow:hidden}
.product .photo.zoom-trigger img{object-fit:contain}
@media(max-width:650px){.help-section{margin:34px 0 0;padding:25px 17px;border-radius:20px}.help-cards{grid-template-columns:1fr;gap:12px}.help-card{padding:18px;gap:13px}.help-icon{width:46px;height:46px;font-size:28px}.help-card h3{font-size:17px}.wa-float{right:13px;bottom:13px;padding:12px}.wa-float span{display:none}body:has(#floating:not([hidden])) .wa-float{bottom:77px}}

/* Ajustes solicitados: franja inferior única y rejilla responsive */
.ribbon, footer {display:none!important}
.bottom-ribbon{background:#0b5b54;color:#fff;text-align:center;padding:12px 18px;letter-spacing:.13em;font-size:11px;font-weight:700}
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media (min-width:651px) and (max-width:1024px){
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:650px){
 .product-grid{grid-template-columns:minmax(0,1fr)!important}
}

/* Encuadre individual: miniatura centrada, caja de imagen independiente del texto */
.product .photo.zoom-trigger{aspect-ratio:4/3!important;min-height:0!important;overflow:hidden!important}
.product .photo.zoom-trigger img{object-fit:contain!important;object-position:center!important}
.product .product-body{position:relative!important;z-index:2!important;background:#fff!important}
@media(max-width:650px){.product .photo.zoom-trigger{aspect-ratio:4/3!important}}

/* Encuadre adaptativo definitivo: la tarjeta sigue la proporción real de cada fotografía. */
.product .photo.zoom-trigger{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  line-height:0;
  background:#fff;
  flex:0 0 auto;
}
.product .photo.zoom-trigger img{
  display:block!important;
  position:static!important;
  inset:auto!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:initial!important;
  object-position:initial!important;
}
.product .photo .zoom-hint{position:absolute;bottom:12px;right:12px;z-index:1;line-height:1.4}
.product .product-body{position:relative!important;z-index:1!important;flex:1 0 auto!important}

/* Cuadrícula editorial: área de fotografía vertical consistente */
.product-grid{align-items:stretch!important;gap:20px!important}
.product{display:flex!important;flex-direction:column!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 8px 26px rgba(17,61,62,.07)!important}
.product .photo.zoom-trigger{display:block!important;position:relative!important;width:100%!important;aspect-ratio:3/4!important;height:auto!important;overflow:hidden!important;flex:0 0 auto!important;background:#f4f8f7!important;padding:0!important;margin:0!important}
.product .photo.zoom-trigger img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:100%!important;object-fit:cover!important;object-position:center!important}
.product .photo .zoom-hint{position:absolute!important;right:12px!important;bottom:12px!important;line-height:1.3!important;z-index:2!important}
.product .product-body{position:relative!important;z-index:1!important;flex:1 1 auto!important;padding:18px!important;gap:11px!important}
.product .product-body h3{font-size:18px!important;line-height:1.35!important}
.product .product-body p{font-size:13px!important;line-height:1.6!important}
.product .order{margin-top:8px}
@media(max-width:650px){.product .photo.zoom-trigger{aspect-ratio:3/4!important}.product .product-body{padding:16px!important}}

/* Actualización 337 productos */
.promo-strip{background:#e8f6f0;color:#075a4f;text-align:center;font-weight:700;font-size:.9rem;padding:12px 16px;border-bottom:1px solid #c8e8dc}
.product-grid .product{display:flex;flex-direction:column;min-width:0}
.product-grid .photo{width:100%;aspect-ratio:3/4;overflow:hidden;flex:none;display:block}
.product-grid .photo img{width:100%;height:100%;object-fit:cover;display:block}
.product-grid .product-body{display:flex;flex-direction:column;flex:1;min-width:0}
.product-grid .product-body .order{margin-top:auto}

/* Logos oficiales en tarjetas de proveedores */
.category-tile .tile-symbol .provider-logo{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;}
.category-tile .tile-symbol:has(.provider-logo){background:#fff;padding:8px;overflow:hidden;}
.category-tile .tile-symbol .provider-logo-pioir{border-radius:5px;}
