/* EL PAPA'S: identidad visual ecommerce + bienvenida (2026-11-06)
   Capa de estilos cargada despues de vase-public y ecommerce-configurable.
   Nunca modifica carrito, cobro ni eventos del POS. */
:root { --papas-brown:var(--vase-accent-2,#6b2b12); --papas-yellow:var(--vase-accent,#efc45f); }
.ecommerce-body .ecommerce-storefront { padding-bottom:0; }
.ecommerce-body .ecommerce-storefront .store-header {position:relative;z-index:15;background:var(--ecom-surface,#fff)!important;border-bottom:1px solid rgba(96,52,24,.09)!important;}
.ecommerce-body .ecommerce-storefront .store-nav-clean {width:min(1170px,calc(100% - 40px))!important;min-height:90px;padding:7px 0!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;}
.ecommerce-body .ecommerce-storefront .store-brand {display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px;max-width:calc(100% - 15px);margin:0 auto 0 0!important;min-width:0;}
.ecommerce-body .ecommerce-storefront .store-brand img.store-brand-character {flex:0 0 62px;width:62px!important;height:65px!important;max-height:65px;padding:0!important;border-radius:0!important;box-shadow:none!important;object-fit:contain;background:transparent!important;}
.ecommerce-body .ecommerce-storefront .store-brand img.store-brand-lettering {flex:0 1 153px;width:153px!important;height:75px!important;max-height:75px;padding:0!important;border-radius:0!important;box-shadow:none!important;object-fit:contain;background:transparent!important;}
.ecommerce-body .ecommerce-storefront .store-brand .sr-only {position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
/* Portada corta: el menu comienza sin scroll gigante */
.ecommerce-body .ecommerce-storefront .store-feature {position:relative;isolation:isolate;overflow:hidden;width:min(1170px,calc(100% - 40px));min-height:270px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.7fr);align-items:center;gap:20px;margin:24px auto 38px;padding:34px clamp(25px,4.8vw,65px);background:var(--papas-yellow);border-radius:28px;box-shadow:0 14px 32px rgba(103,58,15,.11);color:var(--papas-brown);}
.ecommerce-body .ecommerce-storefront .store-feature::before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 86% 49%,rgba(255,255,255,.31),transparent 34%);pointer-events:none;}
.ecommerce-body .ecommerce-storefront .store-feature-content {position:relative;z-index:1;max-width:630px;}
.ecommerce-body .ecommerce-storefront .store-feature-eyebrow {display:inline-block;font-size:.73rem;font-weight:900;letter-spacing:.17em;text-transform:uppercase;opacity:.84;}
.ecommerce-body .ecommerce-storefront .store-feature h1 {color:var(--papas-brown);font-family:Georgia,serif;font-weight:900;font-style:italic;font-size:clamp(2rem,4.8vw,3.7rem);letter-spacing:-.045em;line-height:1.07;margin:10px 0 12px;}
.ecommerce-body .ecommerce-storefront .store-feature p {color:var(--papas-brown);font-size:clamp(.91rem,1.6vw,1.06rem);line-height:1.6;margin:0;max-width:480px;opacity:.92;}
.ecommerce-body .ecommerce-storefront .store-feature-actions {display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:22px;}
.ecommerce-body .ecommerce-storefront .store-feature-cta{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:11px 19px;border-radius:14px;background:var(--papas-brown);color:#fff;font-size:.9rem;font-weight:850;box-shadow:0 8px 18px rgba(95,43,17,.17);}
.ecommerce-body .ecommerce-storefront .store-feature-cta:hover{filter:brightness(1.16);}
.ecommerce-body .ecommerce-storefront .store-feature-link {font-size:.88rem;font-weight:850;border-bottom:1px solid currentColor;padding:2px;}
.ecommerce-body .ecommerce-storefront .store-feature-art {position:relative;display:grid;place-items:center;align-self:stretch;min-height:190px;}
.ecommerce-body .ecommerce-storefront .store-feature-ring {position:absolute;width:min(22vw,230px);aspect-ratio:1;border:1px solid rgba(95,43,17,.17);border-radius:50%;box-shadow:0 0 0 24px rgba(255,255,255,.11),0 0 0 60px rgba(255,255,255,.07);}
.ecommerce-body .ecommerce-storefront .store-feature-art img {position:relative;width:min(100%,185px);max-height:195px;object-fit:contain;filter:drop-shadow(0 8px 3px rgba(96,45,13,.08));}
.ecommerce-body .ecommerce-storefront .store-menu-heading {width:min(1100px,calc(100% - 40px));margin:0 auto 17px;scroll-margin-top:18px;}
.ecommerce-body .ecommerce-storefront .store-menu-heading span{color:var(--papas-brown);font-size:.73rem;letter-spacing:.18em;font-weight:900;}
.ecommerce-body .ecommerce-storefront .store-menu-heading h2{font-size:clamp(1.45rem,2.7vw,2.05rem);letter-spacing:-.04em;line-height:1.16;margin:5px 0 0;color:var(--ecom-ink,#572a19);}
.ecommerce-body .ecommerce-storefront .store-tools {width:min(1100px,calc(100% - 40px))!important;max-width:none!important;margin:0 auto 15px!important;}
.ecommerce-body .ecommerce-storefront .store-layout-clean {width:min(1100px,calc(100% - 40px))!important;display:block!important;}
.ecommerce-body .ecommerce-storefront .store-category-tabs{width:min(1100px,calc(100% - 40px));display:flex;gap:9px;overflow-x:auto;scrollbar-width:thin;margin:0 auto 29px;padding:2px 1px 9px;}
.ecommerce-body .ecommerce-storefront .store-tab{flex:none;border:1px solid rgba(94,52,25,.17);border-radius:999px;padding:9px 16px;background:var(--ecom-surface,#fff);color:var(--ecom-ink,#572a19);font-weight:800;cursor:pointer;transition:background .15s,color .15s;white-space:nowrap;}
.ecommerce-body .ecommerce-storefront .store-tab.active,.ecommerce-body .ecommerce-storefront .store-tab:hover{background:var(--papas-brown);border-color:var(--papas-brown);color:#fff;}
.ecommerce-body .ecommerce-storefront .store-products {gap:30px;}
.ecommerce-body .ecommerce-storefront .product-section h2{font-size:clamp(1.2rem,2vw,1.5rem);color:var(--ecom-ink,#572a19);margin:0 0 15px;}
.ecommerce-body .ecommerce-storefront .products-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.ecommerce-body .ecommerce-storefront .product-card{border-radius:18px!important;border:1px solid rgba(90,52,26,.075)!important;box-shadow:0 10px 28px rgba(66,43,25,.075)!important;min-height:0!important;transition:transform .2s,box-shadow .2s;}
.ecommerce-body .ecommerce-storefront .product-card:hover{transform:translateY(-3px);box-shadow:0 15px 34px rgba(66,43,25,.13)!important;}
.ecommerce-body .ecommerce-storefront .product-img{background:var(--ecom-surface,#fff)!important;height:240px!important;min-height:240px!important;max-height:240px!important;border-radius:18px 18px 0 0!important;}
.ecommerce-body .ecommerce-storefront .product-img img {object-fit:contain!important;background:var(--ecom-surface,#fff)!important;padding:6px!important;}
.ecommerce-body .ecommerce-storefront .product-info {padding:17px!important;}
.ecommerce-body .ecommerce-storefront .product-info h3{font-size:1.05rem;line-height:1.28;}
.ecommerce-body .ecommerce-storefront .product-add{border-radius:12px!important;}
/* Footer de informacion editable */
.ecommerce-body .ecommerce-storefront .store-footer{margin:85px 0 0;background:#4f291a;color:#fff3df;padding:52px 25px 16px;scroll-margin-top:12px;}
.ecommerce-body .ecommerce-storefront .store-footer-inner{width:min(1100px,100%);display:grid;grid-template-columns:1.3fr 1fr .9fr 1fr;gap:clamp(18px,3vw,44px);margin:0 auto 45px;}
.ecommerce-body .ecommerce-storefront .store-footer h2{font-size:1rem;font-weight:900;margin:0 0 15px;color:#ffe4ae;}
.ecommerce-body .ecommerce-storefront .store-footer h3{font-size:.9rem;font-weight:850;margin:19px 0 8px;color:#ffe4ae;}
.ecommerce-body .ecommerce-storefront .store-footer p{color:rgba(255,244,226,.76);font-size:.88rem;line-height:1.65;margin:0 0 9px;}
.ecommerce-body .ecommerce-storefront .store-footer a{display:block;width:fit-content;font-size:.88rem;line-height:1.55;overflow-wrap:anywhere;margin:0 0 12px;color:#ffe2a8;text-decoration:underline;text-decoration-color:rgba(255,226,168,.35);text-underline-offset:3px;}
.ecommerce-body .ecommerce-storefront .store-footer a:hover{color:#fff;}
.ecommerce-body .ecommerce-storefront .store-footer-about img{display:block;width:min(215px,100%);height:127px;object-fit:contain;object-position:left center;filter:brightness(0) invert(1);margin:-25px 0 0;}
.ecommerce-body .ecommerce-storefront .store-footer .store-hours{white-space:pre-line;}
.ecommerce-body .ecommerce-storefront .store-footer-bottom{width:min(1100px,100%);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:auto;padding:16px 0 0;border-top:1px solid rgba(255,255,255,.16);color:rgba(255,243,223,.65);font-size:.76rem;}
/* Splash 2D con imagenes originales separadas */
.ecommerce-body .store-splash{background:#f0c45e!important;isolation:isolate;overflow:hidden;}
.ecommerce-body .store-splash-circles {position:absolute;z-index:-1;width:min(78vmin,700px);aspect-ratio:1;border:1px solid rgba(116,68,22,.16);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.09),0 0 0 120px rgba(255,255,255,.06),0 0 0 190px rgba(255,255,255,.04);animation:papasHalo 2.8s ease-out both;}
.ecommerce-body .store-splash-inner{position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:6px;transform:none!important;width:min(440px,78vw);}
.ecommerce-body .store-splash-inner img.store-splash-character {width:min(170px,30vw)!important;height:min(170px,32vw)!important;max-height:none!important;max-width:none!important;border-radius:0!important;animation:papasFaceEnter .9s cubic-bezier(.15,.8,.2,1) both;object-fit:contain!important;}
.ecommerce-body .store-splash-inner img.store-splash-lettering {width:min(380px,78vw)!important;height:auto!important;max-height:230px!important;max-width:100%!important;border-radius:0!important;object-fit:contain!important;animation:papasLettersEnter 1.05s .38s cubic-bezier(.2,.7,.2,1) both;}
.ecommerce-body .store-splash-inner img.store-splash-full{width:min(440px,80vw)!important;height:auto!important;max-height:56vh!important;max-width:100%!important;object-fit:contain!important;animation:papasFaceEnter 1s ease both;}
.ecommerce-body .store-splash-caption{color:#783d18;font-size:.75rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase;animation:papasLettersEnter .8s 1s both;text-align:center;}
.ecommerce-body .store-splash-controls{position:absolute;z-index:2;right:clamp(15px,4vw,44px);top:clamp(17px,4vh,35px);display:flex;gap:10px;align-items:center;}
.ecommerce-body .store-splash-controls button {cursor:pointer;border:1px solid rgba(112,59,19,.28);background:rgba(255,249,224,.6);color:#713513;padding:10px 14px;font-weight:850;font-size:.78rem;border-radius:999px;}
.ecommerce-body .store-splash-controls button:hover{background:#fff1c4;}
@keyframes papasFaceEnter {from{opacity:0;transform:scale(.72) translateY(25px)}to{opacity:1;transform:scale(1) translateY(0)}}
@keyframes papasLettersEnter{from{opacity:0;transform:translateY(23px)}to{opacity:1;transform:translateY(0)}}
@keyframes papasHalo {from{transform:scale(.85);opacity:.6}to{transform:scale(1);opacity:1}}
@media(max-width:900px){
 .ecommerce-body .ecommerce-storefront .store-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));}
 .ecommerce-body .ecommerce-storefront .store-feature{grid-template-columns:1.5fr .7fr;}
}
@media(max-width:720px){
 .ecommerce-body .ecommerce-storefront .store-nav-clean {width:calc(100% - 26px)!important;min-height:70px!important;justify-content:flex-start!important;}
 .ecommerce-body .ecommerce-storefront .store-brand img.store-brand-character{width:44px!important;height:47px!important;flex-basis:44px;}
 .ecommerce-body .ecommerce-storefront .store-brand img.store-brand-lettering{width:103px!important;height:56px!important;flex-basis:103px;}
 .ecommerce-body .ecommerce-storefront .store-feature {width:calc(100% - 24px);min-height:0;grid-template-columns:1fr 105px;gap:9px;margin:12px auto 27px;padding:22px 18px;border-radius:21px;}
 .ecommerce-body .ecommerce-storefront .store-feature-art{min-height:140px;}
 .ecommerce-body .ecommerce-storefront .store-feature-art img{width:100%;max-height:136px;}
 .ecommerce-body .ecommerce-storefront .store-feature h1{font-size:clamp(1.7rem,6vw,2.35rem);}
 .ecommerce-body .ecommerce-storefront .store-feature-eyebrow{font-size:.59rem;letter-spacing:.09em;}
 .ecommerce-body .ecommerce-storefront .store-feature p{font-size:.81rem;line-height:1.5;}
 .ecommerce-body .ecommerce-storefront .store-feature-actions{margin-top:15px;gap:10px;}
 .ecommerce-body .ecommerce-storefront .store-feature-cta{padding:9px 13px;min-height:40px;font-size:.8rem;}
 .ecommerce-body .ecommerce-storefront .store-feature-link{font-size:.79rem;}
 .ecommerce-body .ecommerce-storefront .store-menu-heading,.ecommerce-body .ecommerce-storefront .store-category-tabs,.ecommerce-body .ecommerce-storefront .store-tools,.ecommerce-body .ecommerce-storefront .store-layout-clean{width:calc(100% - 24px)!important;}
 .ecommerce-body .ecommerce-storefront .store-category-tabs{gap:7px;margin-bottom:20px;}
 .ecommerce-body .ecommerce-storefront .store-tab{padding:8px 12px;font-size:.82rem;}
 .ecommerce-body .ecommerce-storefront .products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;}
 .ecommerce-body .ecommerce-storefront .product-img{height:170px!important;min-height:170px!important;max-height:170px!important;}
 .ecommerce-body .ecommerce-storefront .product-info{padding:11px!important;}
 .ecommerce-body .ecommerce-storefront .product-info h3{font-size:.94rem;}
 .ecommerce-body .ecommerce-storefront .store-footer{margin-top:60px;padding:37px 18px 16px;}
 .ecommerce-body .store-splash-controls{top:12px;right:12px;gap:6px;}
 .ecommerce-body .store-splash-controls button{padding:8px 10px;font-size:.68rem;}
}
@media(max-width:390px){
 .ecommerce-body .ecommerce-storefront .store-feature {grid-template-columns:1fr 75px;}
 .ecommerce-body .ecommerce-storefront .store-feature-art{min-height:90px;}
 .ecommerce-body .ecommerce-storefront .store-feature-art img{max-height:100px;}
 .ecommerce-body .ecommerce-storefront .store-footer-inner{grid-template-columns:1fr;}
}
@media(prefers-reduced-motion:reduce){
 .ecommerce-body .store-splash-inner img,.ecommerce-body .store-splash-circles,.ecommerce-body .store-splash-caption {animation:none!important;}
 .ecommerce-body .ecommerce-storefront .product-card {transition:none;}
}
