*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:#f3f6f8;color:#183448;font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.button{cursor:pointer;border:0;background:#143e5a;color:white;border-radius:9px;padding:12px 21px;display:inline-flex;align-items:center;justify-content:center;gap:22px;font-weight:650;text-decoration:none}button:hover,.button:hover{background:#194a67;text-decoration:none}.light{background:#eaf0f3;color:#143e5a}.light:hover{background:#dce8f0}.top{max-width:1240px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:24px 36px;border-bottom:1px solid #d9e4e9;gap:20px}.brand{display:flex;align-items:center;gap:10px;font-size:25px;line-height:1;font-weight:800}.brandmark{display:grid;place-items:center;background:#ffcb83;color:#143e5a;width:46px;height:46px;border-radius:13px;font-size:26px}.brand-sub{font-size:10px;font-weight:650;letter-spacing:3px;display:block;margin-top:8px}.top nav{display:flex;gap:24px;align-items:center;font-size:14px}.top form{margin:0}.wrap{max-width:1168px;margin:auto;padding:35px 24px 65px}h1,h2,h3,p{margin-top:0}h1{font-size:40px;line-height:1.15;letter-spacing:-1.7px;margin-bottom:20px}h2{font-size:29px;letter-spacing:-.8px;margin-bottom:16px}h3{font-size:21px;line-height:1.25;margin:10px 0}p{color:#617786}em{font-style:normal;color:#2868a8}.eyebrow{font-size:11px;font-weight:750;letter-spacing:1.8px;color:#26718a;display:block;margin-bottom:12px}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:75px;align-items:center;padding:30px 0 66px}.hero h1{font-size:52px;line-height:1.13;letter-spacing:-2px}.hero p{font-size:18px;max-width:520px;margin-bottom:28px}.hero-art{background:#e0edf6;border-radius:28px;min-height:355px;padding:29px 36px;display:flex;flex-direction:column;position:relative;overflow:hidden;justify-content:space-between}.hero-art:after{content:'';width:240px;height:240px;border:40px solid #bfd6e9;border-radius:50%;position:absolute;right:-120px;bottom:-20px}.pill{font-size:12px;padding:6px 12px;background:#f1f6fb;border-radius:20px;width:fit-content}.art-big{font-size:45px;line-height:1.12;letter-spacing:-1.4px;z-index:1}.art-big b{color:#2868a8}.art-bottom{font-size:9px;letter-spacing:2px;z-index:1}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:12px 0 20px}.section-heading h2,.section-heading h1{margin-bottom:0}.section-heading>span{font-size:13px;color:#617786}.searchbar{display:flex;align-items:center;gap:12px;padding:14px;background:white;border:1px solid #e0e9ed;border-radius:13px;margin-bottom:26px}.searchbar input:not([type=checkbox]){flex:1;min-width:0}.searchbar select{max-width:260px}.searchbar input,.searchbar select{border:0;background:#f3f6f8;padding:12px;border-radius:7px}.shops-grid,.admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.shop-tile{border:1px solid #e0e9ed;border-radius:16px;overflow:hidden;background:white;display:block}.shop-tile:hover{text-decoration:none;border-color:#7ba4c7}.tile-art{height:185px;background:#e7f0fb;display:grid;place-items:center}.tile-art>span{font-size:83px;font-weight:800;letter-spacing:-6px;color:#2868a8}.tile-art img{width:100%;height:100%;object-fit:contain;padding:20px}.tile-body{padding:24px}.tile-body p{font-size:14px}.tile-link{font-size:13px;font-weight:700}.card{background:white;border:1px solid #dce7eb;border-radius:16px;padding:28px}.narrow{max-width:520px;margin:25px auto}.back{display:inline-block;font-size:14px;color:#617786;margin-bottom:22px}.business-hero{display:flex;align-items:center;gap:34px;padding:40px;background:#eaf0f3;border:1px solid #dce7eb;border-radius:20px;margin-bottom:22px}.business-logo{width:170px;height:170px;flex-shrink:0;display:grid;place-items:center;background:#102e49;color:#f3f6f8;border-radius:23px}.business-logo>span{font-size:69px;font-weight:850;letter-spacing:-4px}.business-logo>span>span{color:#ffcb83}.business-logo img{width:100%;height:100%;object-fit:contain;border-radius:20px;padding:10px}.business-heading h1{font-size:43px}.business-heading p{max-width:700px;font-size:17px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.info-card{border:1px solid #dce7eb;background:white;border-radius:12px;padding:22px}.info-card p{font-size:14px;margin-bottom:5px}.info-card a{font-size:14px;font-weight:650}.socials{display:flex;flex-wrap:wrap;gap:10px}.services{margin:38px 0;padding:25px 0 35px;border-bottom:1px solid #d9e4e9}.service-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.service-grid div{font-size:15px}.service-grid span{color:#2868a8;margin-right:8px}.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.product{background:white;border:1px solid #e0e9ed;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}.product-image{position:relative;height:190px;background:#edf3f8}.product-image img{width:100%;height:100%;object-fit:contain}.product-body{padding:20px;display:flex;flex-direction:column;flex:1}.product-body .eyebrow{font-size:9px;letter-spacing:1.2px;margin-bottom:0}.product-body h3{font-size:19px}.product-body p{font-size:13px;flex:1}.badge{position:absolute;top:12px;left:12px;background:#dcecf8;color:#245f8a;padding:5px 9px;border-radius:5px;font-size:10px;letter-spacing:.8px;font-weight:800}.subtle{background:#f0f5fa;color:#506a79}.inline{position:static;display:inline-block}.price{display:flex;flex-direction:column;margin:5px 0 17px}.price del{font-size:13px;color:#8798a5}.price strong{font-size:21px}.product-link{font-size:12px;font-weight:650;border-top:1px solid #e0e9ed;padding-top:14px}label{display:block;font-size:14px;font-weight:600;margin-bottom:18px}input,textarea,select{width:100%;border:1px solid #bfd0d8;border-radius:7px;padding:11px;color:#213f52;background:white;margin-top:6px}input:focus,textarea:focus,select:focus{outline:2px solid #78acd2;outline-offset:1px}.check{display:flex;align-items:center;gap:8px;margin:0;white-space:nowrap}.check input{width:auto;margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.error,.notice{padding:14px 18px;border-radius:9px;background:#f8e4df;color:#8b3023}.notice{background:#e7f0fb;color:#245f8a}.link{padding:0;background:none;color:#286080;border:none;font-weight:500}.link:hover{background:none;text-decoration:underline}.table-wrap{overflow:auto;border:1px solid #dce7eb;border-radius:12px;background:white}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th,td{padding:16px;border-bottom:1px solid #e0e9ed}th{background:#eaf0f3;font-size:13px}.thumb{height:90px;width:90px;object-fit:contain;margin-bottom:16px}.qr-poster{max-width:550px;margin:20px auto;text-align:center}.qr-poster h2{font-size:34px}.qr-poster canvas{width:270px;max-width:100%;height:auto;image-rendering:pixelated}.qr-url{font-size:11px;overflow-wrap:anywhere}footer{border-top:1px solid #d9e4e9;text-align:center;padding:26px;color:#6d8390;font-size:12px}section{min-width:0}.admin-grid .actions{align-items:flex-start}.admin-grid h2{font-size:25px} @media(max-width:900px){.hero{gap:30px}.hero h1{font-size:43px}.hero-art{min-height:320px}.art-big{font-size:37px}.products-grid{grid-template-columns:repeat(2,1fr)}.shops-grid,.admin-grid{grid-template-columns:repeat(2,1fr)}.business-hero{padding:28px;gap:25px}.business-logo{width:135px;height:135px}.business-heading h1{font-size:35px}.searchbar{flex-wrap:wrap}.searchbar select{max-width:none;flex:1}.searchbar input:not([type=checkbox]){min-width:180px}}@media(max-width:600px){.top{padding:18px;gap:12px}.brand{font-size:21px}.brandmark{width:38px;height:38px}.top nav{font-size:12px;gap:12px;flex-wrap:wrap;justify-content:flex-end}.wrap{padding:22px 18px 40px}.hero{grid-template-columns:1fr;gap:28px;padding:15px 0 40px}.hero h1{font-size:41px}.hero p{font-size:16px}.hero-art{min-height:250px;padding:24px}.art-big{font-size:35px}.shops-grid,.admin-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start}.section-heading h2{font-size:25px}.searchbar{padding:10px;gap:8px}.searchbar input:not([type=checkbox]){flex-basis:100%;min-width:0}.searchbar select{width:100%;flex-basis:100%}.business-hero{flex-direction:column;align-items:flex-start;padding:24px}.business-logo{width:100px;height:100px}.business-logo>span{font-size:52px}.business-heading h1{font-size:34px}.business-heading p{font-size:15px}.info-grid,.form-grid,.service-grid{grid-template-columns:1fr}.info-grid{gap:10px}.info-card{padding:17px}.products-grid{gap:12px}.product-image{height:145px}.product-body{padding:14px}.product-body h3{font-size:17px}.price strong{font-size:18px}.product-link{font-size:11px}.card{padding:22px}.section-heading h1{font-size:29px}.section-heading .button{padding:10px 12px;font-size:12px}.actions .button{font-size:13px;padding:10px 14px}}@media print{body{background:white}.top,footer,.no-print{display:none!important}.wrap{padding:0}.qr-poster{border:none;margin:35mm auto}.qr-poster canvas{width:75mm}}

/* v1.0.2: logos contenidos, sin superponerse al nombre del comercio. */
.tile-art{display:flex;align-items:center;justify-content:center;height:185px;min-height:185px;max-height:185px;min-width:0;overflow:hidden;background:#fff;border-bottom:1px solid #e0e9ed}
.tile-art img{display:block;flex:none;width:calc(100% - 32px);height:153px;max-width:100%;max-height:153px;padding:0;object-fit:contain;object-position:center}
.tile-body{position:relative;background:#fff}
.business-logo{overflow:hidden;background:#fff;border:1px solid #dce7eb;color:#143e5a}
.business-logo img{display:block;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center;background:#fff}
.business-logo>span{color:#143e5a}

/* v1.0.4: paleta azul compartida con el portal Villegas. */

/* v1.0.5: encabezado público azul oscuro, siguiendo el estilo de SOS Villegas. */
body{overflow-x:hidden}
.public-view .top{max-width:none;background:linear-gradient(110deg,#12324a 0%,#153f57 55%,#28677a 100%);color:#fff;padding-left:max(24px,calc((100% - 1120px)/2));padding-right:max(24px,calc((100% - 1120px)/2));border-bottom:1px solid #ffffff26}
.public-view .top .brand{color:#fff}
.public-view .top .brandmark{background:#ffcb83;color:#143e5a}
.public-view .top nav a{color:#e6f0f6}
.public-view .hero{position:relative;isolation:isolate;gap:50px;padding:35px 0 58px;margin-bottom:38px}
.public-view .hero:before{content:'';position:absolute;z-index:-1;top:-35px;bottom:0;left:50%;width:100vw;transform:translateX(-50%);background:linear-gradient(110deg,#12324a 0%,#153f57 55%,#28677a 100%)}
.public-view .hero h1{color:#fff}
.public-view .hero h1 em{color:#ffcb83}
.public-view .hero .eyebrow{color:#ffcb83}
.public-view .hero p{color:#d6e5ed}
.public-view .hero .button{background:#ffcb83;color:#143e5a}
.public-view .hero .button:hover{background:#ffd99f}
.public-view .hero-art{min-height:270px;height:270px;padding:0;border-radius:0;background:transparent;display:grid;place-items:center}
.public-view .hero-art:after{content:'';position:static;width:240px;height:240px;border:0;border-radius:0;opacity:.12;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='white' stroke-width='4' stroke-linejoin='round'%3E%3Cpath d='M12 42h76M16 42v45h68V42M8 42l10-27h64l10 27M34 15v27M66 15v27M38 87V59h24v28'/%3E%3C/svg%3E")}
.public-view .hero-art .pill,.public-view .hero-art .art-big,.public-view .hero-art .art-bottom{display:none}
@media(max-width:900px){.public-view .hero{gap:25px}.public-view .hero-art:after{width:185px;height:185px}}
@media(max-width:600px){.public-view .top{padding:18px}.public-view .hero{grid-template-columns:1fr;padding:20px 0 35px;margin-bottom:30px}.public-view .hero:before{top:-22px}.public-view .hero h1{font-size:39px}.public-view .hero-art{display:none}}

/* v1.0.6: instalación de la app y regreso al portal. */
.install-panel{max-width:1120px;margin:0 auto 30px;padding:22px 24px;background:#eaf0f3;border:1px solid #dce7eb;border-radius:14px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;color:#183448}
.install-panel[hidden]{display:none!important}.install-panel>div{flex:1;min-width:180px}.install-panel p{font-size:14px;margin:5px 0 0}.install-panel details{flex-basis:100%;font-size:14px}.install-panel summary{cursor:pointer;color:#2868a8;font-weight:650}.portal-return{white-space:nowrap}footer a{display:inline-block;margin-top:9px;color:#2868a8}
@media(max-width:600px){.install-panel{margin:0 18px 25px;padding:18px}.install-panel button{width:100%}.public-view .top{align-items:flex-start}.top nav{gap:10px}.portal-return{font-size:11px}}
@media(display-mode:standalone){.install-panel{display:none}}
@media print{.install-panel{display:none}}
