/* Colores de la paleta de Inversiones Caracas. */
body{background:linear-gradient(160deg,#e8edf5 0%,#e1eaf3 45%,#dbe5f1 100%)}
.top{background:linear-gradient(100deg,#535eae,#5e8db4)}
.search{background:#e4f0f4;border-color:#a3c4d7}
.search button{background:#543c7d;color:#fff;border-radius:0 7px 7px 0}
.navborder{background:#535eae;border-color:#535eae;color:#fff}
nav a:first-child{color:#b1d7ce}
nav a:hover{color:#b1d7ce}
nav .rate{color:#e9e1f3}
.banner-caption{background:linear-gradient(105deg,#e0e2f3,#ccdfed)}
.banner-caption strong{color:#253d52}
.benefits{background:#d3e2f0;border:1px solid #afc8de;border-radius:10px;margin-top:20px;padding:22px 16px}
.benefit{color:#3e3453}
.benefit small{color:#475f74}
.section-title h2{color:#2d4363}
.filter{border-color:#cec2e0;background:#f0eaf7;color:#543c7d}
.filter:nth-child(3){background:#e7edf7;border-color:#cbd5ec;color:#3c477f}
.filter:nth-child(4){background:#e4eef6;border-color:#c7ddeb;color:#315c7a}
.filter:nth-child(5){background:#dcefe9;border-color:#bedbd2;color:#305e51}
.filter[aria-pressed=true]{background:#543c7d;border-color:#543c7d;color:#fff}
.card{border-color:#bed2df;box-shadow:0 5px 18px #395c7810;border-top:3px solid #543c7d;background:linear-gradient(180deg,#fff 0%,#fff 55%,#e8f0f5 100%)}
.card:nth-child(2){border-top-color:#535eae}
.card:nth-child(3){border-top-color:#5e8db4}
.card:nth-child(4){border-top-color:#b1d7ce}
.category{color:#4a668e}
.price strong{color:#543c7d}
.add{background:#543c7d;border-color:#543c7d;color:white}
.add:hover{background:#535eae;border-color:#535eae}
.support{background:linear-gradient(110deg,#8ba7d1,#b4cce1);border-color:#86adbf;color:#172c40;box-shadow:0 10px 28px #355b7815}
.support p{color:#213d4f}
.support .primary{background:#543c7d;color:#fff}
.footer{background:#5e8db4;border-top:4px solid #535eae;color:#142538}
.footer p{color:#172d40}
.footer a:hover{color:#152339;text-decoration:underline}
.payment-list span{background:#d8e5f2;border-color:#b8cde1;color:#213b4b}
.floating{background:linear-gradient(135deg,#543c7d,#535eae)}
@media(max-width:700px){.benefits{padding:17px 13px;gap:12px;margin-top:16px}.benefit{align-items:flex-start}.benefit svg{margin-top:3px}}
site-footer{display:block}
.footer-map{width:100%;margin-top:18px;overflow:hidden;border-radius:10px;border:1px solid #b9cfdf;background:#dce5f1}
.footer-map iframe{display:block;width:100%;height:220px;border:0}
.footer-location{min-width:0}
@media(max-width:700px){.footer-map iframe{height:210px}}
.terms-actions{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0 30px}
.terms-actions a{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 18px;border-radius:8px;font-size:14px;font-weight:600;min-height:48px}
.terms-whatsapp{background:#25d366;color:#073b20}.terms-map{background:#b1d7ce;color:#263e4e}.terms-instagram{background:#535eae;color:white}.terms-email{background:#d0e0ef;color:#263e4e;border:1px solid #afc8de}
.terms-actions a:hover{box-shadow:0 4px 15px #263e4e20}
.terms-document{max-width:940px;padding:35px 42px;background:#f8fafc;border:1px solid #bdcede;border-top:4px solid #5e8db4;border-radius:12px;box-shadow:0 8px 25px #2d43630a}
.terms-store{font-size:26px;letter-spacing:-.5px;color:#2d4363;margin:0 0 28px}
.terms-document section+section{margin-top:30px;padding-top:24px;border-top:1px solid #d4dfeb}
.terms-document h3{font-size:15px;letter-spacing:1.4px;color:#535eae;margin:0 0 15px}
.terms-document p{font-size:16px;line-height:1.8;color:#2d3f51;margin:0 0 19px}
.terms-document .terms-copyright{font-size:13px;color:#526778;border-top:1px solid #d4dfeb;padding-top:22px;margin:28px 0 0}
@media(max-width:700px){.terms-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.terms-actions a{padding:11px 8px;font-size:13px}.terms-document{padding:24px 20px}.terms-store{font-size:23px}.terms-document p{line-height:1.7}}
.conditions-link{font-weight:600}
.conditions-link[aria-current=page]{text-decoration:underline;text-underline-offset:5px}
.conditions-back{margin-left:auto;color:#543c7d;font-size:14px;font-weight:600}
.conditions-page{padding-block:38px 42px}
.conditions-kicker{color:#535eae;font-size:12px;letter-spacing:1.6px;font-weight:700}
.conditions-page h1{font-size:36px;line-height:1.2;color:#2d4363;margin:10px 0}
.conditions-intro{font-size:17px;color:#455a69}
.conditions-draft{padding:13px 18px;background:#d3e2f0;border-radius:8px;color:#334960;font-size:14px;margin:24px 0}
.conditions-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.conditions-grid section{padding:24px;background:#f9fbfd;border:1px solid #bdcede;border-radius:10px}
.conditions-grid h2{font-size:20px;color:#535eae;margin:0 0 13px}
.conditions-grid p{font-size:16px;line-height:1.65;margin:10px 0;color:#2d3f51}
.conditions-grid a{color:#543c7d;text-decoration:underline;overflow-wrap:anywhere}
.conditions-pending{background:#d9e4f0;border-left:3px solid #5e8db4;padding:20px;margin-top:24px;border-radius:0 8px 8px 0;color:#334960;font-size:14px}
.conditions-pending p{margin:8px 0 0}
@media(max-width:700px){.conditions-grid{grid-template-columns:1fr;gap:14px}.conditions-page{padding-block:25px}.conditions-page h1{font-size:29px}.conditions-grid section{padding:20px}.conditions-back{font-size:13px;margin-left:0}.conditions-page+.footer{margin-top:0}}
.footer-email{display:inline-block;font-size:14px;color:#142538;overflow-wrap:anywhere;padding-block:4px}
.footer .footer-shipping{display:block;margin-top:28px;padding-top:22px;border-top:1px solid #406889}
.footer-shipping h2{margin-bottom:10px}.footer .footer-shipping p{font-size:14px;line-height:1.6}
/* WhatsApp usa su verde propio; Instagram conserva un acento de la paleta. */
.floating,.support .primary,.footer .footer-whatsapp{background:#25d366;color:#073b20}
.floating:hover,.support .primary:hover,.footer .footer-whatsapp:hover{background:#20bd5a;color:#073b20;text-decoration:none}
.footer .footer-whatsapp{display:inline-flex;padding:11px 15px;border-radius:7px}
.footer .footer-instagram{display:inline-flex;align-items:center;gap:9px;padding:11px 15px;background:#535eae;border:1px solid #535eae;border-radius:7px;color:white;font-weight:600}
.footer .footer-instagram:hover{background:#543c7d;border-color:#543c7d;color:white;text-decoration:none}
.footer{padding:24px 0 16px}
.footer .footer-grid{display:grid;grid-template-columns:1fr 1.65fr 1fr;gap:28px;align-items:start}
.footer .footer-logo{width:80px;height:80px}
.footer .payments{margin:18px 0 0;font-size:14px}
.footer .payments p{line-height:1.5;margin-top:8px}
.footer .footer-map{margin-top:12px}
.footer .footer-map iframe{height:180px}
.footer h2{font-size:17px;font-weight:650;color:#142538;margin:4px 0 12px}
.footer address{font-size:14px;line-height:1.6;font-style:normal;color:#142538}
.footer .footer-instagram{display:inline-block;font-size:14px;color:#142538;padding-block:7px;overflow-wrap:anywhere}
.map-button{display:inline-flex;align-items:center;gap:9px;padding:11px 15px;background:#b1d7ce;border-radius:7px;color:#302440;font-size:14px;font-weight:600;margin-top:18px}
.footer .map-button:hover{background:#c4e5dd;color:#302440}
.footer .phone-label{font-size:13px;margin:17px 0 3px;color:#20374b}
.footer .phone{display:inline-block;font-size:17px;color:#142538;padding-block:4px}
.footer-whatsapp{display:flex;align-items:center;gap:10px;color:#142538;font-size:14px;font-weight:600;margin-top:20px;padding-block:5px}
.footer .footer-bottom{display:flex;justify-content:flex-start;align-items:center;border-top:1px solid #406889;padding-top:12px;margin-top:18px}
.footer .footer-signature{display:flex;flex-wrap:wrap;gap:4px 16px;text-align:left;font-size:14px;color:#142538;line-height:1.8;margin:0}
.footer-signature span{color:#142538;font-size:13px}
@media(max-width:900px){.footer .footer-grid{grid-template-columns:1fr 1.6fr;gap:30px}.footer-contact{grid-column:2}.footer-brand{grid-row:1 / span 2}}
@media(max-width:700px){.footer .footer-grid{grid-template-columns:1fr;gap:22px}.footer-brand{grid-row:auto}.footer-contact{grid-column:auto}.footer .footer-bottom{display:block}.footer .payments{margin:16px 0 0}.footer .footer-signature{text-align:left;padding-bottom:45px}.map-button{font-size:13px}.footer address{font-size:14px}}

.mainhead{background:#fff;border-radius:0 0 12px 12px;padding-inline:20px}.preview{background:#dce5f1;color:#263e4e}.banner-caption p{color:#354f5f}.section-title p,.section-title>span,.notice{color:#455a69}.product-open{background:transparent}

.footer .footer-instagram{display:inline-flex;align-items:center;gap:9px;padding:11px 15px;color:#fff}.footer .footer-whatsapp{display:flex;width:fit-content;max-width:100%}


.whatsapp-logo{display:inline-block;width:28px;height:28px;object-fit:contain;vertical-align:middle;flex-shrink:0}.floating .whatsapp-logo{width:40px;height:40px}.head-actions .whatsapp-logo{width:26px;height:26px}.benefit .whatsapp-logo{width:30px;height:30px}


.shipping-strip{background:#d2e1ef;border-bottom:1px solid #b1c9df;color:#263d58}.shipping-strip .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-block:12px;font-size:14px}.shipping-carriers{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.shipping-carriers svg{color:#535eae;flex-shrink:0}.shipping-local{padding-left:18px;border-left:1px solid #a7bfd6}@media(max-width:700px){.shipping-strip .wrap{display:block;font-size:12px;padding-block:10px}.shipping-carriers{gap:6px}.shipping-local{display:block;margin-top:6px;padding-left:27px;border:0}}


.catalog-more{text-align:center;padding-top:20px;min-height:70px}.catalog-more p{font-size:14px;color:#455a69;margin:0 0 12px}.catalog-more button{font-size:14px}.catalog-more button[hidden]{display:none}.catalog-more button:disabled{cursor:wait;opacity:.7}#catalog-sentinel{height:1px}.card{content-visibility:auto;contain-intrinsic-size:auto 470px}@media(min-width:701px) and (max-width:1000px){.products{grid-template-columns:repeat(3,minmax(0,1fr))}}


.product-description{margin:18px 0;color:#24394d}.product-description h3{font-size:17px;margin:0 0 10px}.product-description div{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:15px}

.search-related{font-size:12px;color:#535eae;margin:0 16px 8px}.section-title #result-count{max-width:300px}
@media(max-width:700px){.catalog .section-title{flex-direction:column;align-items:flex-start;gap:10px}.catalog .section-title #result-count{max-width:100%}}

.category-select{display:flex;align-items:center;gap:12px;font-size:14px;max-width:100%}.category-select select{padding:10px 14px;border:1px solid #a7bfd6;border-radius:8px;background:#eef3f8;color:#24394d;max-width:100%}

.quantity-control{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0;font-weight:600}.quantity-stepper{display:inline-flex;align-items:center;border:1px solid #5E8DB4;border-radius:10px;overflow:hidden;background:#fff}.quantity-stepper button{width:44px;height:44px;border:0;background:#e6eef7;color:#344580;font-size:24px;cursor:pointer}.quantity-stepper button:hover:not(:disabled){background:#cddfec}.quantity-stepper button:disabled{color:#8c96a6;background:#f1f4f8;cursor:default}.quantity-stepper button:focus-visible{outline:2px solid #535EAE;outline-offset:-3px}.quantity-stepper input{width:44px;height:44px;padding:0;border:0;text-align:center;background:#fff;color:#202840;font:inherit}.cart-row .info{min-width:0}

.quantity-limit-message{flex-basis:100%;color:#543C7D;font-size:12px;line-height:1.5;font-weight:500}.quantity-limit-message[hidden]{display:none}

.payment-choice{padding:16px;background:#e6eef7;border-radius:12px;margin:16px 0}.payment-choice label{display:block;font-weight:700;margin-bottom:8px}.payment-choice select{width:100%;min-height:44px;padding:8px;border:1px solid #5E8DB4;border-radius:8px;background:white;color:#202840;font:inherit}.payment-choice p,#quote-summary small{font-size:12px;line-height:1.5}.quote-totals{margin:16px 0}.quote-totals>div{display:flex;justify-content:space-between;gap:12px;margin:8px 0}.quote-totals dd{margin:0;white-space:nowrap}.quote-total{font-weight:700;border-top:1px solid #cddfec;padding-top:10px}

.payment-choice select+label{margin-top:16px}.quote-totals dt{min-width:0}.quote-totals dd{white-space:normal;text-align:right;flex-shrink:0;max-width:52%}

/* Company RIF document viewer */
#legal-documents[hidden]{display:none}
#legal-documents{padding:14px;background:#eaf0f7;border-radius:12px;margin:14px 0}
#legal-documents h4{margin:0 0 10px}
#legal-documents p{font-size:.9rem;line-height:1.5}
#company-rif-dialog{box-sizing:border-box;width:min(850px,94vw);max-height:92dvh;border:0;border-radius:16px;padding:20px;color:#26364b;background:#f4f7fb}
#company-rif-dialog::backdrop{background:rgba(20,30,45,.65)}
#company-rif-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px}
#company-rif-dialog h3{margin:0}
#company-rif-dialog iframe{width:100%;height:58dvh;border:1px solid #b8c9dc;background:white;margin-top:14px}
#company-rif-dialog img{display:block;width:100%;height:auto}
.rif-actions{display:flex;gap:20px;flex-wrap:wrap}
#company-rif-dialog summary{padding:12px 0;cursor:pointer}

#pickup-details[hidden]{display:none}#pickup-details{padding:14px;background:#eaf0f7;border-radius:12px;margin-top:14px}#pickup-details iframe{display:block;width:100%;border:0;border-radius:10px;margin-top:12px}#pickup-details h4{margin:0 0 10px}.checkout-form label[hidden]{display:none}

#cash-photos[hidden]{display:none}#cash-photos{background:#eaf0f7;padding:14px;border-radius:12px;margin:12px 0}#cash-photos input[type=file]{max-width:100%;box-sizing:border-box}

/* Four equally sized benefits, aligned in one desktop row. */
.benefits{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch;padding:22px 20px}
.benefits .benefit{display:flex;min-width:0;align-items:flex-start;justify-content:flex-start;gap:12px;font-size:14px;line-height:1.45}
.benefits .benefit svg,.benefits .benefit .whatsapp-logo{width:26px;height:26px;flex:0 0 26px;margin:0}
.benefits .benefit small{font-size:12px;line-height:1.45;margin-top:3px}
@media(max-width:900px){.benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:20px}}
@media(max-width:440px){.benefits{gap:18px 12px;padding:17px 13px}.benefits .benefit{font-size:12px;gap:8px}.benefits .benefit small{font-size:11px}.benefits .benefit svg,.benefits .benefit .whatsapp-logo{width:23px;height:23px;flex-basis:23px}}

.cart-unit-prices{display:flex;flex-wrap:wrap;gap:4px 12px;margin:9px 0;color:#3e3453;font-size:14px;line-height:1.45}.cart-unit-prices>span{white-space:nowrap}.cart-unit-prices small{flex-basis:100%;font-size:11px;color:#59667c}

.quote-totals dd{display:flex;flex-wrap:wrap;justify-content:flex-end;column-gap:12px;row-gap:2px}.quote-totals dd>span{white-space:nowrap}

/* Compact shared header: identity/search, navigation and delivery. */
.head-actions .header-whatsapp{display:flex;align-items:center;gap:8px;white-space:nowrap}
.header-whatsapp span{font-size:12px;line-height:1.4}.header-whatsapp small{display:block;font-size:12px;color:#455a69}
@media(max-width:1100px){.mainhead{gap:22px}.head-actions{gap:15px}}
@media(max-width:700px){.header-whatsapp span{display:none}}

.cart-unit-prices .cart-regular-price{color:#697382;font-size:13px;text-decoration-thickness:1.5px;white-space:nowrap}.cart-unit-prices .cart-discount-price{color:#453774;font-size:16px}.cart-unit-prices .cart-payment-price-label{color:#3f527a;font-weight:600}

/* Align product information and purchase controls within each catalog row. */
.products{align-items:stretch}
.products .card{display:flex;flex-direction:column;min-width:0}
.products .product-open{display:flex;flex-direction:column;align-items:stretch;flex:1 0 auto}
.products .product-image{align-self:center;flex-shrink:0}
.products .sku{flex-shrink:0}
.products .price{flex-shrink:0;min-height:100px;margin-top:0}
.products .add{flex-shrink:0;min-height:44px;margin-top:auto}
@media(max-width:700px){.products .price{min-height:95px}}

.payment-destination{margin:14px 0 20px;padding:16px;border:1px solid #9ebfda;border-radius:10px;background:#f6faff;color:#142840}.payment-destination h4{margin:0 0 12px;font-size:1rem}.payment-destination dl{margin:0;display:grid;gap:9px}.payment-destination dl>div{display:grid;grid-template-columns:115px minmax(0,1fr);gap:10px}.payment-destination dt{font-size:.85rem;color:#4b627c}.payment-destination dd{margin:0;font-weight:600;overflow-wrap:anywhere;user-select:text}.payment-destination p{line-height:1.5}.payment-destination .payment-help{font-size:.82rem}.payment-destination img{display:block;object-fit:contain;max-width:100%;height:auto;margin:12px auto}.payment-destination summary{cursor:pointer;color:#543c7d}@media(max-width:440px){.payment-destination dl>div{grid-template-columns:1fr;gap:3px}}

.card-purchase{margin-top:auto;flex-shrink:0;min-height:44px}.card-purchase>.add{width:100%;margin:0}.card-selected{display:flex;align-items:center;justify-content:space-between;min-height:44px;background:#6091b5;color:#102538;border-radius:6px;overflow:hidden}.card-selected button{flex:0 0 44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;color:#102538;font-size:25px;font-weight:700;cursor:pointer}.card-selected button:hover{background:#b4d8d1}.card-selected button:disabled{opacity:.4;cursor:default}.card-selected button:focus-visible{outline:2px solid #102538;outline-offset:-3px}.card-cart-count{display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;line-height:1.2}.card-cart-count svg{width:20px;height:20px;flex-shrink:0}.card-cart-count strong{font-size:16px}.card-limit{display:block;margin:6px 0 0;font-size:11px;color:#384e68}

.cart-unit-prices .cart-line-subtotal{display:block;flex-basis:100%;width:100%;margin-top:5px;font-size:14px;color:#162e49}.cart-line-subtotal b{margin-left:3px}.cart-line-subtotal>span{display:inline-block;margin-left:8px}

.sticky-store-header{position:sticky;top:0;z-index:30;background:#e5edf5;box-shadow:0 3px 12px #25364d18}
#catalogo{scroll-margin-top:180px}
#floating-cart{position:fixed;right:24px;bottom:94px;z-index:35;display:flex;align-items:center;gap:12px;width:290px;padding:13px 16px;border:2px solid #fff;border-radius:14px;background:#535eae;color:#fff;box-shadow:0 4px 20px #25364d40;text-align:left;cursor:pointer;font:inherit}
#floating-cart:hover{background:#543c7d}#floating-cart svg{width:30px;height:30px;flex-shrink:0}#floating-cart strong{display:block;font-size:16px}#floating-cart small{display:block;font-size:12px;line-height:1.4;margin-top:4px}#floating-cart [data-cart-count]{display:inline-block;border-radius:20px;background:#fff;color:#543c7d;padding:1px 8px;margin-left:5px}
.store-hours{margin-top:15px;font-size:13px;line-height:1.5}.footer .store-hours p{margin:4px 0 0;font-size:13px}.zelle-qr img{display:block;max-width:100%;width:240px;height:auto;margin:12px auto}
body:has(#floating-cart){padding-bottom:115px}
@media(max-width:700px){#floating-cart{left:12px;right:78px;bottom:max(12px,env(safe-area-inset-bottom));width:auto;gap:8px;padding:9px 11px}#floating-cart small{font-size:11px}#floating-cart strong{font-size:14px}.sticky-store-header .brand-image{height:48px;width:145px}.sticky-store-header .mainhead{gap:8px;padding-block:7px}#catalogo{scroll-margin-top:140px}}

/* Keep checkout fields inside a bounded, independently scrolling modal. */
#cart-dialog{box-sizing:border-box;position:fixed;inset:16px;margin:auto;width:min(640px,calc(100vw - 32px));height:min(900px,calc(100vh - 32px));height:min(900px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);padding:20px;overflow:hidden}
#cart-dialog[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr)}
#cart-dialog>#cart-content{min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding-block:20px;padding-right:8px;-webkit-overflow-scrolling:touch}
#cart-dialog .checkout-form{min-width:0;overflow-wrap:anywhere}#cart-dialog input,#cart-dialog select{max-width:100%;box-sizing:border-box}
html:has(#cart-dialog[open]),body:has(#cart-dialog[open]){overflow:hidden}
@media(max-width:700px){#cart-dialog{inset:8px;width:calc(100vw - 16px);height:calc(100vh - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:14px}#cart-dialog>.dialog-note{margin-block:10px;font-size:12px}#cart-dialog>#cart-content{padding-right:4px}}

.quote-exempt{display:flex;align-items:center;gap:10px;margin:18px 0 10px;font-size:14px;cursor:pointer}.quote-exempt input{width:19px;height:19px;accent-color:#535eae}
