/* El Papa's · Identidad web elegante · 2026-11-07
   Capa final de estilos: corrige bordes heredados, tarjetas y botones.
   No cambia la semántica de pedidos, extras, caja ni pasarela de pagos. */
.ecommerce-body .ecommerce-storefront{
  --papas-cream:#fcf8f1;
  --papas-ink:var(--ecom-ink,#642d16);
  --papas-caramel:#eaa630;
  --papas-dark:#6c2f14;
  background:var(--ecom-bg,#faf5ed);
}
.ecommerce-body .ecommerce-storefront .store-header{
  position:relative;overflow:hidden;z-index:8;
  background:radial-gradient(ellipse 45% 70% at 50% 10%,rgba(247,181,73,.28),transparent 90%),linear-gradient(180deg,#fff2d9 0%,var(--ecom-bg,#faf5ed) 100%)!important;
  border-bottom:0!important;
}
.ecommerce-body .ecommerce-storefront .store-header-glow{
  pointer-events:none;position:absolute;left:50%;top:-200px;transform:translateX(-50%);width:min(820px,120vw);aspect-ratio:1;border-radius:50%;
  border:1px solid rgba(215,154,67,.10);box-shadow:0 0 0 70px rgba(243,191,102,.055),0 0 0 150px rgba(241,179,78,.045);opacity:.92;
}
.ecommerce-body .ecommerce-storefront .store-nav-clean{
  position:relative;width:min(1200px,calc(100% - 36px))!important;
  min-height:198px!important;padding:28px 0 25px!important;
  display:flex!important;justify-content:center!important;align-items:center!important;gap:15px!important;
}
.ecommerce-body .ecommerce-storefront a.store-brand{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:15px!important;
  max-width:calc(100% - 120px);width:auto;margin:0 auto!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;text-decoration:none;
}
/* El borde cuadrado venía de vase-public.css, no del PNG. */
.ecommerce-body .ecommerce-storefront .store-brand img,
.ecommerce-body .ecommerce-storefront .store-brand img.store-brand-character,
.ecommerce-body .ecommerce-storefront .store-brand img.store-brand-lettering{
  display:block!important;border:0!important;outline:0!important;box-shadow:none!important;
  padding:0!important;margin:0!important;border-radius:0!important;background:transparent!important;
  object-fit:contain!important;max-width:none!important;max-height:none!important;
}
.ecommerce-body .ecommerce-storefront .store-brand img.store-brand-character{
  flex:0 0 auto;width:118px!important;height:125px!important;
}
.ecommerce-body .ecommerce-storefront .store-brand img.store-brand-lettering{
  flex:0 1 auto;width:min(295px,30vw)!important;height:155px!important;
}
.ecommerce-body .ecommerce-storefront .cart-floating-clean{
  position:absolute;top:27px;right:0;z-index:2;display:inline-flex;align-items:center;gap:9px;
  padding:10px 14px!important;min-height:48px;border-radius:17px!important;
  border:1px solid rgba(110,55,22,.12)!important;background:rgba(255,255,255,.84)!important;
  color:var(--papas-dark)!important;box-shadow:0 8px 25px rgba(118,73,29,.09)!important;
  transition:transform .18s,box-shadow .18s!important;
}
.ecommerce-body .ecommerce-storefront .cart-floating-clean:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(118,73,29,.16)!important;}
.ecommerce-body .ecommerce-storefront .cart-floating-clean .cart-icon{display:block!important;width:24px;height:24px;flex:none;}
.ecommerce-body .ecommerce-storefront .cart-floating-clean .cart-label{font-size:.88rem;font-weight:800;}
.ecommerce-body .ecommerce-storefront .cart-floating-clean strong{
  display:grid;place-items:center;min-width:23px;height:23px;padding:0 4px;border-radius:50%;
  background:#f5b841!important;color:#5c260e!important;font-size:.78rem;
}
/* La portada antigua duplicaba el logotipo; se conserva su contenido para
   configuración, pero se prioriza la marca original y el menú inmediato. */
.ecommerce-body .ecommerce-storefront .store-feature{display:none!important;}
.ecommerce-body .ecommerce-storefront .store-menu-heading{display:none!important;}
.ecommerce-body .ecommerce-storefront .store-menu-bar{
  width:min(1200px,calc(100% - 36px));margin:0 auto 25px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.ecommerce-body .ecommerce-storefront .store-category-tabs{
  width:auto!important;min-width:0;flex:1 1 auto;margin:0!important;padding:6px 3px 12px!important;
  display:flex;gap:12px;overflow-x:auto;scrollbar-width:thin;
}
.ecommerce-body .ecommerce-storefront .store-tab{
  display:inline-flex;justify-content:center;align-items:center;min-height:48px;
  border-radius:999px!important;padding:11px 21px!important;white-space:nowrap;
  background:#fffaf3!important;color:var(--papas-dark)!important;
  border:1px solid #edd7bd!important;box-shadow:0 3px 10px rgba(106,56,20,.035);
  font-size:.93rem;font-weight:850;transition:transform .16s,background .16s,box-shadow .16s;
}
.ecommerce-body .ecommerce-storefront .store-tab:is(:hover,:focus-visible){
  background:#fff1d6!important;transform:translateY(-1px);box-shadow:0 7px 18px rgba(106,56,20,.10);
}
.ecommerce-body .ecommerce-storefront .store-tab.active{
  background:var(--papas-dark)!important;border-color:var(--papas-dark)!important;color:#fff!important;
  box-shadow:0 7px 20px rgba(108,47,20,.14);
}
.ecommerce-body .ecommerce-storefront .store-tools{
  width:260px!important;max-width:260px!important;flex:0 0 260px;
  margin:0!important;display:flex;align-items:center;gap:0;
}
.ecommerce-body .ecommerce-storefront .store-category-picker{display:none!important;}
.ecommerce-body .ecommerce-storefront .store-search{
  width:100%;min-height:48px!important;display:flex;align-items:center;gap:10px;
  padding:9px 15px!important;border-radius:999px!important;
  background:#fffdf9!important;border:1px solid #ead9c4!important;
  box-shadow:0 3px 12px rgba(78,44,23,.035)!important;color:#8a634f;
}
.ecommerce-body .ecommerce-storefront .store-search input{
  min-width:0;width:100%;background:transparent!important;border:0!important;outline:0!important;
  box-shadow:none!important;color:var(--papas-dark)!important;font-size:.87rem!important;
}
.ecommerce-body .ecommerce-storefront .store-search:focus-within{border-color:#c58349!important;box-shadow:0 0 0 4px rgba(232,165,67,.13)!important;}
.ecommerce-body .ecommerce-storefront .store-layout-clean{width:min(1200px,calc(100% - 36px))!important;}
.ecommerce-body .ecommerce-storefront .store-products{gap:45px!important;}
.ecommerce-body .ecommerce-storefront .product-section h2{
  display:flex;align-items:center;gap:15px;margin:0 0 22px!important;
  font-family:Georgia,serif;font-size:clamp(1.6rem,2.5vw,2.15rem)!important;
  letter-spacing:-.035em!important;color:var(--papas-dark)!important;
}
.ecommerce-body .ecommerce-storefront .product-section h2::before{
  content:"";display:inline-block;width:9px;height:28px;flex:none;border-radius:10px;
  background:#f3b33e;box-shadow:5px 0 0 -2px #f8d08a;
}
.ecommerce-body .ecommerce-storefront .product-section h2::after{
  content:"";height:1px;background:#ead6be;flex:1 1 auto;margin-left:7px;
}
.ecommerce-body .ecommerce-storefront .products-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;align-items:stretch;
}
.ecommerce-body .ecommerce-storefront .product-card{
  display:flex!important;flex-direction:column!important;min-width:0!important;height:100%!important;
  padding:14px!important;min-height:0!important;border-radius:24px!important;
  border:1px solid #f1e4d6!important;background:var(--ecom-surface,#fff)!important;
  box-shadow:0 12px 27px rgba(105,65,34,.09)!important;
  transition:transform .18s,box-shadow .18s!important;
}
.ecommerce-body .ecommerce-storefront .product-card:hover{transform:translateY(-4px)!important;box-shadow:0 20px 34px rgba(105,65,34,.16)!important;}
.ecommerce-body .ecommerce-storefront .product-card:focus-visible{outline:3px solid var(--papas-caramel)!important;outline-offset:3px!important;}
/* Fotografias de productos: una sola imagen, sin capas duplicadas ni fondo difuminado. */
.ecommerce-body .ecommerce-storefront .product-img{
  position:relative!important;isolation:isolate;display:flex!important;
  align-items:center!important;justify-content:center!important;
  width:100%!important;height:215px!important;min-height:215px!important;max-height:215px!important;
  aspect-ratio:auto!important;overflow:hidden!important;border-radius:17px!important;
  padding:0!important;background:#fff8f1!important;background-image:none!important;
  box-shadow:none!important;
}
.ecommerce-body .ecommerce-storefront .product-img::before,
.ecommerce-body .ecommerce-storefront .product-img::after{
  content:none!important;display:none!important;
}
.ecommerce-body .ecommerce-storefront .product-img img{
  position:relative!important;inset:auto!important;z-index:auto!important;
  display:block!important;width:100%!important;height:100%!important;
  min-width:0!important;max-width:100%!important;max-height:100%!important;
  margin:0!important;padding:6px!important;
  object-fit:contain!important;object-position:center center!important;
  transform:none!important;background:transparent!important;background-image:none!important;
  border:0!important;box-shadow:none!important;filter:none!important;
}
.ecommerce-body .ecommerce-storefront .product-info{
  display:flex!important;flex:1 1 auto;flex-direction:column;align-items:stretch;gap:8px!important;
  min-height:0!important;padding:17px 7px 6px!important;
}
.ecommerce-body .ecommerce-storefront .product-info h3{
  font-size:1.24rem!important;line-height:1.22!important;font-weight:900;color:var(--papas-dark)!important;
  letter-spacing:-.025em;margin:0!important;
}
.ecommerce-body .ecommerce-storefront .product-info p{
  display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;min-height:2.9em!important;color:#87695a!important;
  margin:0!important;font-size:.9rem!important;line-height:1.45!important;
}
.ecommerce-body .ecommerce-storefront .product-price-row{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  flex-wrap:nowrap!important;gap:8px;margin-top:auto!important;padding-top:17px!important;
}
.ecommerce-body .ecommerce-storefront .product-price{
  font-size:clamp(1.05rem,1.5vw,1.31rem)!important;line-height:1.2!important;
  white-space:nowrap;color:var(--papas-dark)!important;font-weight:950!important;
}
.ecommerce-body .ecommerce-storefront .product-add{
  display:inline-flex!important;align-items:center;justify-content:center;gap:7px;
  flex:0 0 auto;min-height:43px!important;padding:9px 16px!important;
  border:0!important;border-radius:999px!important;
  background:linear-gradient(180deg,#f9bd51,#f3a929)!important;color:#532709!important;
  box-shadow:0 4px 0 rgba(127,64,13,.055)!important;
  font-size:.88rem!important;font-weight:900!important;line-height:1!important;
}
.ecommerce-body .ecommerce-storefront .product-add svg{width:18px;height:18px;flex:none;}
.ecommerce-body .ecommerce-storefront .product-card:hover .product-add{filter:brightness(1.04);}
/* Franja informativa cálida. Todos los datos siguen siendo editables en admin. */
.ecommerce-body .ecommerce-storefront .store-footer{
  background:radial-gradient(circle at 9% 90%,rgba(235,161,45,.24),transparent 30%),radial-gradient(circle at 85% 6%,rgba(255,247,210,.44),transparent 39%),linear-gradient(135deg,#f6c978,#ffdda0)!important;
  margin:85px auto 0!important;color:var(--papas-dark)!important;
  padding:48px 25px 20px!important;border-top:1px solid rgba(162,86,22,.10);
}
.ecommerce-body .ecommerce-storefront .store-footer-inner{
  width:min(1200px,100%)!important;gap:30px!important;grid-template-columns:1.2fr 1fr .9fr 1fr!important;
}
.ecommerce-body .ecommerce-storefront .store-footer :is(h2,h3){color:var(--papas-dark)!important;}
.ecommerce-body .ecommerce-storefront .store-footer p{
  color:#794c2f!important;font-size:.9rem;line-height:1.7;
}
.ecommerce-body .ecommerce-storefront .store-footer a{
  color:#643116!important;text-decoration-color:rgba(99,49,22,.28)!important;
}
.ecommerce-body .ecommerce-storefront .store-footer-about img{
  filter:none!important;margin:-20px 0 -7px!important;object-fit:contain!important;
}
.ecommerce-body .ecommerce-storefront .store-footer-bottom{
  border-top-color:rgba(108,47,20,.18)!important;color:#885e3d!important;
}
@media(max-width:960px){
 .ecommerce-body .ecommerce-storefront .store-nav-clean{min-height:180px!important;}
 .ecommerce-body .ecommerce-storefront .store-brand img.store-brand-character{width:95px!important;height:108px!important;}
 .ecommerce-body .ecommerce-storefront .store-brand img.store-brand-lettering{width:235px!important;height:136px!important;}
 .ecommerce-body .ecommerce-storefront .products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 .ecommerce-body .ecommerce-storefront .store-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:710px){
 .ecommerce-body .ecommerce-storefront .store-nav-clean{width:calc(100% - 24px)!important;min-height:136px!important;padding:15px 0!important;}
 .ecommerce-body .ecommerce-storefront a.store-brand{max-width:calc(100% - 86px)!important;gap:8px!important;}
 .ecommerce-body .ecommerce-storefront .store-brand img.store-brand-character{width:60px!important;height:71px!important;}
 .ecommerce-body .ecommerce-storefront .store-brand img.store-brand-lettering{width:143px!important;height:85px!important;}
 .ecommerce-body .ecommerce-storefront .cart-floating-clean{right:0;top:17px;padding:10px!important;min-height:44px;}
 .ecommerce-body .ecommerce-storefront .cart-floating-clean .cart-label{display:none!important;}
 .ecommerce-body .ecommerce-storefront .store-menu-bar{width:calc(100% - 24px)!important;flex-wrap:wrap;gap:8px;margin-bottom:20px;}
 .ecommerce-body .ecommerce-storefront .store-category-tabs{width:100%!important;flex:1 1 100%;}
 .ecommerce-body .ecommerce-storefront .store-tab{min-height:43px!important;padding:9px 16px!important;font-size:.84rem;}
 .ecommerce-body .ecommerce-storefront .store-tools{width:100%!important;max-width:none!important;flex:1 1 100%;}
 .ecommerce-body .ecommerce-storefront .store-layout-clean{width:calc(100% - 24px)!important;}
 .ecommerce-body .ecommerce-storefront .products-grid{gap:13px!important;}
 .ecommerce-body .ecommerce-storefront .product-card{border-radius:19px!important;padding:10px!important;}
 .ecommerce-body .ecommerce-storefront .product-img{height:190px!important;min-height:190px!important;max-height:190px!important;border-radius:13px!important;}
 .ecommerce-body .ecommerce-storefront .product-info{padding:13px 5px 5px!important;}
 .ecommerce-body .ecommerce-storefront .product-add{padding:8px 12px!important;min-height:40px!important;font-size:.83rem!important;}
 .ecommerce-body .ecommerce-storefront .store-footer{margin-top:56px!important;padding:38px 18px 20px!important;}
}
@media(max-width:510px){
 .ecommerce-body .ecommerce-storefront .store-header-glow{top:-300px;}
 .ecommerce-body .ecommerce-storefront .store-nav-clean{min-height:119px!important;}
 .ecommerce-body .ecommerce-storefront .store-brand img.store-brand-character{width:53px!important;height:61px!important;}
 .ecommerce-body .ecommerce-storefront .store-brand img.store-brand-lettering{width:min(127px,32vw)!important;height:74px!important;}
 .ecommerce-body .ecommerce-storefront .products-grid{grid-template-columns:1fr!important;gap:15px!important;}
 .ecommerce-body .ecommerce-storefront .product-card{padding:12px!important;}
 .ecommerce-body .ecommerce-storefront .product-img{height:225px!important;min-height:225px!important;max-height:225px!important;}
 .ecommerce-body .ecommerce-storefront .product-price{font-size:1.25rem!important;}
 .ecommerce-body .ecommerce-storefront .product-add{padding:10px 19px!important;}
 .ecommerce-body .ecommerce-storefront .store-footer-inner{grid-template-columns:1fr!important;gap:18px!important;}
}
@media(prefers-reduced-motion:reduce){
 .ecommerce-body .ecommerce-storefront .product-card,.ecommerce-body .ecommerce-storefront .store-tab,
 .ecommerce-body .ecommerce-storefront .cart-floating-clean{transition:none!important;}
}
