:root{--navy:#10263c;--ink:#182d43;--muted:#607287;--line:#dce6ee;--teal:#067e84;--cyan:#35dad5;--violet:#7551c8;--paper:#f4f7fb;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink)}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer}.topbar{height:74px;display:flex;align-items:center;gap:26px;padding:0 max(24px,calc((100vw - 1240px)/2));border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:30}.brand{width:210px;height:62px;overflow:hidden;display:block;flex:none}.brand img{width:210px;height:210px;object-fit:cover;object-position:center 59%;transform:scale(1.62)}nav{display:flex;gap:25px;flex:1;color:#52667b;font-size:14px}.top-actions{display:flex;gap:10px;align-items:center}.text-link{font-size:13px;color:#52667b}.cart-button,.account-button{padding:10px 13px;border-radius:7px;background:#edf7f7;color:var(--teal);font-size:13px;font-weight:750}.cart-button b{background:var(--teal);color:white;border-radius:20px;padding:2px 6px;margin-left:4px}.account-button{background:var(--navy);color:white}.menu-button{display:none;background:transparent;font-size:22px}.promo{min-height:44px;background:var(--navy);color:#d6e6ed;display:flex;justify-content:center;align-items:center;gap:12px;font-size:13px}.promo b{color:white}.promo .code{border:1px solid #587588;border-radius:20px;padding:3px 10px;font-size:11px}.hero{padding:74px max(24px,calc((100vw - 1240px)/2));background:linear-gradient(120deg,#f5fcfc,#fff 55%,#f2eefb);display:grid;grid-template-columns:1fr .96fr;gap:56px;align-items:center}.eyebrow{display:block;color:var(--teal);font-size:11px;font-weight:800;letter-spacing:1.8px;margin-bottom:16px}.hero h1,.page-head h1{font-size:clamp(39px,5vw,63px);line-height:1.03;letter-spacing:-2.5px;margin:0}.hero h1 em{color:var(--violet);font-style:normal}.hero p,.page-head p{color:var(--muted);line-height:1.65;font-size:17px;margin:23px 0 28px}.actions{display:flex;gap:10px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:7px;background:var(--teal);color:white;font-size:14px;font-weight:750}.button.secondary{background:white;color:var(--ink);border:1px solid #c6d5df}.hero-art{min-height:390px;border:1px solid #dbe7ec;border-radius:18px;position:relative;overflow:hidden;background:radial-gradient(circle at 56% 25%,#dff7f7,#fbfcfd 45%,#f0ecfa)}.hero-art:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#d7e2eb80 1px,transparent 1px),linear-gradient(90deg,#d7e2eb80 1px,transparent 1px);background-size:34px 34px}.vial,.mini-vial{position:relative;border:1px solid #b8c9d0;background:linear-gradient(100deg,#e4eef1,#fff 44%,#aac3ce);box-shadow:9px 15px 23px #1733482c;display:grid;place-items:center}.vial{position:absolute;bottom:30px;width:138px;height:250px;border-radius:19px 19px 28px 28px;z-index:2}.vial:before,.mini-vial:before{content:"";position:absolute;border:1px solid #89959a;background:linear-gradient(90deg,#929ea4,#edf1f2,#9ca8ad);border-radius:8px 8px 3px 3px}.vial:before{top:-24px;width:116px;height:39px}.vial label,.mini-vial label{background:white;border-radius:7px;width:86%;padding:15px 5px;text-align:center;color:var(--navy);font-weight:900;font-size:20px;line-height:1}.vial label small,.mini-vial label small{display:block;color:var(--violet);font-size:9px;letter-spacing:1px;margin-top:8px}.vial label em,.mini-vial label em{display:block;color:var(--teal);font-size:7px;font-style:normal;letter-spacing:1px;margin-top:9px}.v1{left:8%;height:218px;transform:rotate(-10deg)}.v2{left:37%}.v3{right:8%;height:232px;transform:rotate(9deg)}.trust-strip{background:var(--navy);color:#c8dce8;padding:16px max(24px,calc((100vw - 1240px)/2));display:grid;grid-template-columns:repeat(4,1fr);gap:20px;font-size:12px}.trust-strip strong{display:block;color:white;margin-bottom:3px}.section,.page{padding:74px max(24px,calc((100vw - 1240px)/2))}.paper{background:var(--paper)}.section-top{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:27px}.section h2{font-size:34px;letter-spacing:-1.3px;margin:0}.section p{color:var(--muted);line-height:1.6}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.product-art{height:192px;background:linear-gradient(135deg,#effafa,#f0edfb);display:grid;place-items:center}.mini-vial{width:86px;height:148px;border-radius:13px 13px 19px 19px}.mini-vial:before{top:-14px;width:71px;height:24px}.mini-vial label{font-size:12px;padding:10px 3px}.mini-vial label small{font-size:7px;margin-top:5px}.mini-vial label em{font-size:6px;margin-top:6px}.product-copy{padding:16px 17px 17px;display:flex;flex-direction:column;gap:7px;flex:1}.category{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#60738a}.product-copy h3{font-size:18px;margin:0}.product-copy p{font-size:13px;margin:0;color:var(--muted)}.rating,.stars{font-size:12px;color:#ad7618;letter-spacing:1px}.rating span{color:var(--muted);margin-left:5px}.price-row{margin-top:auto;padding-top:12px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.price-row b{font-size:19px}.price-row small{display:block;font-size:10px;color:var(--muted)}.add-button,.quick-view{padding:9px 10px;border-radius:6px;font-size:12px;font-weight:800}.add-button{background:#e9f7f7;color:var(--teal)}.quick-view{background:white;border:1px solid #cbd9e3}.steps,.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.step,.review{background:white;border:1px solid var(--line);border-radius:11px;padding:22px}.step b{display:grid;place-items:center;width:30px;height:30px;background:var(--teal);color:white;border-radius:50%;font-size:13px;margin-bottom:17px}.step h3,.review h3{margin:0 0 8px}.step p,.review p{font-size:14px;margin:0}.review small{color:var(--muted);display:block;margin-top:14px}.page-head{margin-bottom:27px}.page-head h1{font-size:42px}.market-grid{display:grid;grid-template-columns:230px 1fr;gap:25px}.catalog-side{height:max-content;background:white;border:1px solid var(--line);border-radius:11px;padding:17px}.catalog-side h3{font-size:14px;margin:0 0 11px}.catalog-side button{width:100%;text-align:left;background:transparent;padding:10px 9px;border-radius:6px;color:#53677b;font-size:13px}.catalog-side button.active{background:#e8f6f6;color:var(--teal);font-weight:800}.catalog-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:19px}.catalog-search{width:min(380px,100%);min-height:42px;border:1px solid #c8d7e1;border-radius:7px;padding:10px 12px}.empty-catalog{padding:40px;text-align:center;color:var(--muted);border:1px dashed #cbd9e3;border-radius:10px}.purchase{display:grid;grid-template-columns:1.13fr .87fr;gap:28px}.form-card,.summary-card{background:white;border:1px solid var(--line);border-radius:12px;padding:25px}.form-card h2,.summary-card h2{margin:0;font-size:22px}.field{display:flex;flex-direction:column;gap:7px;margin-top:15px;font-size:13px;font-weight:750}.field input,.field select,.field textarea{min-height:42px;padding:10px 11px;border:1px solid #c7d5df;border-radius:7px;color:var(--ink)}.field textarea{min-height:78px;resize:vertical}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:13px}.check{display:flex;gap:9px;margin-top:18px;color:#53677b;font-size:14px;line-height:1.45}.check input{accent-color:var(--teal)}.delivery-option,.invoice-choice,.notice{margin-top:16px;padding:13px;border-radius:7px;font-size:13px;line-height:1.5}.delivery-option,.invoice-choice{border:1px solid #d3e0e8}.notice{background:#edf8f8;color:#376472}.summary-card{height:max-content;position:sticky;top:93px}.summary-line{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.summary-line.total{font-size:19px;font-weight:900;border:0}.dialog-box{border:0;border-radius:13px;padding:0;width:min(510px,calc(100vw - 28px));box-shadow:0 22px 60px #071d3450}.dialog-box.product-dialog{width:min(850px,calc(100vw - 28px))}.dialog-box::backdrop{background:#081b307a}.dialog-head{padding:21px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.dialog-head h2{margin:0;font-size:22px}.dialog-body{padding:24px}.close{background:transparent;color:#62788c;font-size:20px}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:25px}.detail-art{height:310px}.product-detail h2{font-size:30px;margin:0 0 8px}.product-detail p{color:var(--muted);line-height:1.6}.large-price{font-size:27px;font-weight:900;margin:22px 0}#cart-drawer{position:fixed;z-index:50;inset:0 0 0 auto;width:min(410px,100%);background:white;box-shadow:-10px 0 42px #10263c28;padding:24px;overflow:auto;transform:translateX(103%);transition:.25s}#cart-drawer.open{transform:none}.cart-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:17px;border-bottom:1px solid var(--line)}.cart-head h2{margin:0}.cart-item{padding:16px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:10px}.cart-item small{display:block;color:var(--muted);margin-top:4px}.qty{display:flex;gap:8px;align-items:center;margin-top:7px}.qty button{width:26px;height:26px;border-radius:5px;background:#eaf4f6;color:var(--teal);font-weight:900}.drawer-foot{margin-top:20px}.drawer-foot .button{width:100%}footer{padding:31px max(24px,calc((100vw - 1240px)/2));background:#081d34;color:#b9ced9;display:flex;align-items:center;gap:25px;font-size:13px}footer p{flex:1}.footer-brand{width:164px;height:48px;background:white;border-radius:6px}.footer-brand img{width:180px;height:180px;transform:scale(1.48)}footer a{color:#79e3dd}#toast{position:fixed;z-index:70;right:24px;bottom:24px;background:var(--navy);color:white;padding:13px 16px;border-radius:7px;opacity:0;transform:translateY(12px);transition:.2s;pointer-events:none;font-size:14px}#toast.show{opacity:1;transform:none}@media(max-width:790px){.topbar{height:63px;padding:0 16px;gap:12px}.brand{width:152px;height:52px}.brand img{width:180px;height:180px;transform:scale(1.65)}nav{display:none;position:absolute;top:62px;left:0;right:0;padding:16px;background:#fff;border-bottom:1px solid var(--line)}nav.open{display:grid;gap:14px}.menu-button{display:block}.text-link{display:none}.hero{grid-template-columns:1fr;padding:51px 20px;gap:30px}.hero-art{min-height:320px}.vial{width:103px;height:188px;bottom:29px}.vial:before{width:87px;height:30px}.vial label{font-size:15px}.v1{height:166px;left:4%}.v2{left:35%}.v3{height:178px;right:3%}.trust-strip{padding:14px 20px;grid-template-columns:1fr 1fr;gap:13px;font-size:11px}.section,.page{padding:52px 20px}.section h2{font-size:29px}.section-top{display:grid;align-items:start}.product-grid,.steps,.review-grid,.market-grid,.purchase,.product-detail{grid-template-columns:1fr}.catalog-side{display:flex;gap:6px;overflow:auto;padding:9px}.catalog-side h3{display:none}.catalog-side button{width:auto;white-space:nowrap}.catalog-top{display:grid}.catalog-search{width:100%}.summary-card{position:static;order:-1}.two-cols{grid-template-columns:1fr}.product-detail .detail-art{height:235px}footer{display:grid;padding:27px 20px;gap:12px}footer p{margin:0}.footer-brand{width:150px}}
/* Mejoras de experiencia: categorías, POS y contacto. */
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.category-card{position:relative;min-height:100px;padding:19px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(135deg,#fff,#f4fbfb);text-align:left;color:var(--ink);transition:transform .18s,box-shadow .18s,border-color .18s}.category-card:hover{transform:translateY(-2px);border-color:#9ed8d8;box-shadow:0 10px 25px #13314a12}.category-card span{display:block;font-size:16px;font-weight:850;padding-right:28px}.category-card small{display:block;margin-top:8px;color:var(--muted)}.category-card b{position:absolute;right:18px;top:20px;color:var(--teal);font-size:20px}.featured-heading{margin-top:48px;margin-bottom:24px}.featured-heading h2{font-size:27px}.transfer-card{margin-top:22px;padding:19px;border:1px solid #a9dfe0;border-radius:10px;background:#f3fbfb}.transfer-card h3{margin:0;color:var(--navy);font-size:17px}.transfer-card ol{margin:12px 0 16px;padding-left:20px;color:#4d6578;font-size:13px;line-height:1.65}.receipt-upload{display:flex;align-items:center;gap:12px;padding:14px;border:1px dashed #5cb7b9;border-radius:8px;background:white;color:var(--ink);cursor:pointer}.receipt-upload:hover{background:#fbffff}.receipt-upload>span:first-child{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#e9f8f8;font-size:17px}.receipt-upload b,.receipt-upload small{display:block}.receipt-upload small{margin-top:3px;color:var(--muted);font-weight:500}.receipt-upload input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.file-status{margin:10px 0 0;color:#557084;font-size:12px}.file-status.error{color:#b34343;font-weight:750}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.muted-copy{color:var(--muted)}.site-footer{padding:27px max(24px,calc((100vw - 1240px)/2));background:#fff;border-top:1px solid var(--line);display:flex;align-items:center;gap:30px;color:#5b7082;font-size:13px}.site-footer p{flex:1;margin:0}.site-footer .footer-brand{display:block;width:178px;height:47px;overflow:hidden;flex:none}.site-footer .footer-brand img{display:block;width:178px;height:45px;object-fit:contain;margin:1px 0 0;transform:none}.whatsapp-link{display:flex;align-items:center;gap:10px;color:#117566;white-space:nowrap}.whatsapp-link:hover{color:#075a50}.whatsapp-link small,.whatsapp-link b{display:block}.whatsapp-link small{font-size:11px;color:#658092}.whatsapp-link b{font-size:13px}.whatsapp-icon{display:grid;place-items:center;width:36px;height:36px;background:#25d366;border-radius:50%;font-size:17px;box-shadow:0 4px 10px #25d36638}
@media(max-width:790px){.category-grid{grid-template-columns:1fr 1fr;gap:10px}.category-card{min-height:88px;padding:15px}.category-card span{font-size:14px}.featured-heading{margin-top:37px}.site-footer{display:grid;gap:15px;padding:24px 20px}.site-footer p{margin:0}.site-footer .footer-brand{width:164px}.whatsapp-link{white-space:normal}}
/* Navegación, tarjetas y detalle: consistencia entre todas las vistas. */
#dialog{border:0;padding:0;background:transparent;max-width:calc(100vw - 28px);max-height:calc(100vh - 28px);overflow:visible}nav{gap:8px}nav a{display:inline-flex;align-items:center;min-height:40px;padding:0 13px;border:1px solid transparent;border-radius:8px;color:#38546b;font-weight:750;transition:transform .18s,box-shadow .18s,background .18s,border-color .18s,color .18s}nav a:hover{background:#eef8f8;border-color:#b8dddd;color:var(--teal)}nav a.active{background:var(--navy);border-color:var(--navy);color:#fff;box-shadow:0 6px 14px #10263c24}.product-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));align-items:stretch}.product-card{min-width:0}.product-art{height:205px;padding:14px}.product-card .product-art.real-photo{overflow:hidden}.product-card .real-photo img{width:82%;height:82%;transform:none;transition:none}.product-card:hover .real-photo img{transform:none}.price-row .actions{flex-wrap:nowrap;gap:8px;margin-left:8px}.price-row .actions button{white-space:nowrap}.dialog-box{box-sizing:border-box;max-height:calc(100vh - 28px);overflow:auto;background:#fff}.dialog-box.product-dialog{max-width:calc(100vw - 28px);width:min(850px,calc(100vw - 28px))}.product-detail>*{min-width:0}.product-detail .product-art{min-width:0}.presentation-copy{margin:7px 0 17px!important;color:#557084!important}.product-description{margin:0 0 21px!important;color:#425d72!important;font-size:15px;line-height:1.65}.site-footer{background:#f5f7f8}.whatsapp-icon{padding:7px;background:#25d366}.whatsapp-icon svg{display:block;width:24px;height:24px}.whatsapp-icon{font-size:0}
@media(hover:hover){button,.button,.category-card,.whatsapp-link,nav a{transition:transform .18s,box-shadow .18s,background .18s,border-color .18s,color .18s}button:not(.close):hover,.button:hover,.category-card:hover,.whatsapp-link:hover{transform:translateY(-2px);box-shadow:0 8px 17px #10263c22}nav a:hover{transform:translateY(-1px);box-shadow:0 5px 12px #10263c16}.button.secondary:hover,.quick-view:hover{border-color:#87bfc1;background:#f7ffff}.add-button:hover{background:#d6f1f1}.cart-button:hover{background:#d8f1f1}.account-button:hover{background:#1b3b59}}
@media(max-width:940px){.product-detail{grid-template-columns:minmax(210px,.8fr) minmax(0,1.2fr);gap:20px}.dialog-head{padding:17px 19px}.dialog-body{padding:19px}.product-detail .detail-art{height:270px}}
@media(max-width:790px){nav{gap:7px}nav a{min-height:38px;padding:0 11px}.product-grid{grid-template-columns:1fr}.product-art{height:220px}.product-card .real-photo img{width:82%;height:82%;transform:none}#dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);padding:0;border:0;background:transparent}.dialog-box,.dialog-box.product-dialog{width:100%;max-width:100%;max-height:calc(100vh - 20px);border-radius:12px}.product-detail{grid-template-columns:1fr}.product-detail .detail-art{height:220px}.product-description{font-size:14px}.site-footer{background:#f5f7f8}}
/* LIPO-C conserva el encuadre original completo en la tarjeta. */
.product-card .product-art.photo-lipo-c{background:#edf4f5}
.product-card .product-art.photo-lipo-c img{width:150px!important;height:150px!important;max-width:150px!important;max-height:150px!important;object-fit:contain!important;transform:none!important;filter:drop-shadow(0 8px 9px rgba(16,38,60,.18))}
.favorites-button{display:inline-flex;align-items:center;gap:6px;padding:10px 11px;border-radius:7px;background:#fff4f7;color:#b73f60;font-size:13px;font-weight:750}.favorites-button>span:first-child{font-size:17px;line-height:1}.favorites-button b{background:#b73f60;color:#fff;border-radius:20px;padding:2px 6px}.product-art{position:relative}.favorite-toggle{display:grid;place-items:center;position:absolute;z-index:2;top:11px;right:11px;width:34px;height:34px;border:1px solid #d9e4eb;border-radius:50%;background:#fff;color:#8a9bae;font-size:18px;line-height:1;box-shadow:0 4px 10px #10263c14}.favorite-toggle.saved{background:#fff1f4;border-color:#efb6c4;color:#c33e60}.detail-actions{display:flex;align-items:center;gap:11px}.detail-actions .favorite-toggle{position:static;flex:none}.favorite-line{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid var(--line)}.favorite-line span{display:grid;gap:4px}.favorite-line small,.muted-copy{color:var(--muted)}@media(max-width:790px){.favorite-label{display:none}.favorites-button{padding:9px}.top-actions{gap:7px}}



@media(max-width:1050px){.topbar{gap:14px;padding:0 18px}nav{gap:4px}nav a{padding:0 9px}.top-actions{gap:7px}.text-link,.favorite-label{display:none}.favorites-button{padding:9px}}

/* Las fotografías conservan siempre el encuadre original dentro de una caja común. */
.product-card .product-art.real-photo{height:220px;padding:18px;overflow:hidden;background:#f8fafb}
.product-card .real-photo img{display:block;width:100%;height:100%;max-width:176px;max-height:176px;object-fit:contain!important;object-position:center center;transform:none!important}
.product-card .product-art.photo-lipo-c img{width:100%!important;height:100%!important;max-width:176px!important;max-height:176px!important;object-fit:contain!important}
.product-detail{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
.product-detail .product-art{height:310px;min-height:0;min-width:0;padding:20px;background:#f8fafb;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);overflow:hidden}
.product-detail .real-photo img{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center center;transform:none}
.product-detail>div:last-child{overflow-wrap:anywhere}
.product-detail .public-gallery{min-width:0;flex-wrap:wrap}
@media(max-width:790px){.product-detail{grid-template-columns:minmax(0,1fr)}.product-detail .product-art{height:240px}}
@media(max-width:790px){.product-card .product-art.real-photo{height:230px;padding:18px}.product-card .real-photo img{max-width:184px;max-height:184px}}


@media(max-width:1050px){.text-link{display:grid;width:36px;height:36px;place-items:center;border:1px solid #d9e5ee;border-radius:8px;background:#f4f8fc;color:#1877f2;font-size:0}.text-link::before{content:'f';font-family:Arial,sans-serif;font-size:22px;font-weight:800;line-height:1}}
@media(max-width:790px){.text-link{display:none}}

