/* Pedidos Vilte · tarjetas compactas y contador superior 1.2.99.
   La cantidad pertenece a cada producto; el importe se calcula en el carrito. */
#products .product{position:relative;isolation:isolate}
/* Reservar una hilera mínima sobre la fotografía para no tapar la tapa de la botella. */
#products .product .product-image{margin-top:27px!important}
#products .product .qty-control{
  position:absolute!important;z-index:5;top:7px;right:7px;left:auto;bottom:auto;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:82px!important;max-width:94px!important;height:31px!important;
  margin:0!important;padding:2px 3px!important;gap:1px!important;
  border:1px solid #ebc49a!important;border-radius:999px!important;
  background:rgba(255,251,245,.96)!important;
  color:#874219!important;box-shadow:0 3px 12px #45220e29,0 1px 0 #fff inset!important;
  backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);
  touch-action:manipulation;
}
#products .product.selected .qty-control{
  background:rgba(255,245,228,.98)!important;
  border-color:#eaa05c!important;
  box-shadow:0 4px 13px #b66e342e!important;
}
#products .product .qty-control button{
  display:grid!important;place-items:center!important;flex:0 0 24px!important;
  width:24px!important;min-width:24px!important;height:25px!important;
  margin:0!important;padding:0!important;border:0!important;
  background:transparent!important;border-radius:50%!important;
  color:#bd632c!important;font-size:19px!important;line-height:1!important;
  font-weight:850!important;touch-action:manipulation;
}
#products .product .qty-control .plus{
  color:#dc682a!important;
}
#products .product .qty-control .minus:disabled{
  color:#ceb8a4!important;opacity:.48!important;
}
#products .product .qty-control button:active{
  background:#ffead4!important;transform:scale(.88);
}
#products .product .qty-number{
  display:inline-grid!important;place-items:center!important;flex:0 0 23px!important;
  width:23px!important;min-width:23px!important;
  color:#8b3c19!important;font-size:15px!important;line-height:1.15!important;
  font-weight:950!important;font-variant-numeric:tabular-nums;transform-origin:center;
}
#products .product.selected .qty-number{color:#c14e19!important}
#products .product .qty-number.bump-add{animation:pvQtyRise .29s cubic-bezier(.2,1.3,.4,1) both!important}
#products .product .qty-number.bump-sub{animation:pvQtyFall .26s ease-out both!important}
@keyframes pvQtyRise{
  0%{transform:scale(1)}48%{transform:scale(1.28)}75%{transform:scale(.94)}
  100%{transform:scale(1)}
}
@keyframes pvQtyFall{
  0%{transform:scale(1)}45%{transform:scale(.84)}78%{transform:scale(1.07)}
  100%{transform:scale(1)}
}
#products .product .product-foot{
  display:flex!important;justify-content:center!important;align-items:center!important;
  gap:0!important;text-align:center!important;margin-top:auto!important;padding-top:5px!important;
}
#products .product .product-foot>div:first-child{
  width:100%!important;min-width:0!important;text-align:center!important;
}
#products .product .product-total{display:none!important}
@media(max-width:390px){
  #products .product .qty-control{top:5px;right:5px;min-width:77px!important;height:28px!important}
  #products .product .qty-control button{flex-basis:22px!important;min-width:22px!important;width:22px!important;height:23px!important}
  #products .product .qty-number{flex-basis:20px!important;width:20px!important;min-width:20px!important;font-size:14px!important}
}
@media(prefers-reduced-motion:reduce){
  #products .product .qty-number.bump-add,#products .product .qty-number.bump-sub{animation:none!important}
}

/* v1.2 · grilla de altura natural: los productos sin sabores no se estiran. */
#products.products{align-items:start!important;grid-auto-rows:min-content!important}
#products .product,#products .product.selected{
 align-self:start!important;height:auto!important;min-height:0!important;
 transition:border-color .12s ease,box-shadow .12s ease!important;
}
#products .product:active{transform:none!important}
#products .product .product-foot{margin-top:5px!important}
#products .product .product-image{
 position:relative!important;
 /* La etiqueta de sabor queda superpuesta, sin crear otra fila. */
}
#products .product .variant-chip,
#products .product .variant-single{
 position:absolute!important;z-index:2;bottom:4px!important;right:4px!important;
 left:auto!important;top:auto!important;display:inline-flex!important;
 align-items:center!important;justify-content:center!important;
 width:auto!important;max-width:calc(100% - 8px)!important;
 min-height:23px!important;margin:0!important;padding:3px 6px!important;
 border-radius:999px!important;white-space:nowrap!important;
 overflow:hidden!important;text-overflow:ellipsis!important;
 font-size:10px!important;line-height:1!important;font-weight:850!important;
 background:rgba(255,250,246,.97)!important;
 border:1px solid #e8b7ab!important;color:#8d3f52!important;
 box-shadow:0 2px 6px #3a201b24!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
#products .product .variant-chip:active{transform:scale(.97)}
#products .product .variant-chip:focus-visible{outline:2px solid #b83b62;outline-offset:1px}
html.pv-native-android{scroll-behavior:auto!important}
html.pv-native-android #products .qty-control,
html.pv-native-android #products .variant-chip{
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html.pv-native-android #products .product{
 will-change:auto!important;
 -webkit-tap-highlight-color:transparent;
}

/* Diseño de fichas conservado, movimientos exactamente como en la 1.2.106/107. */
#products .product .product-image{margin-top:33px!important}
#products .product .qty-control{
 top:7px!important;right:5px!important;left:auto!important;
 width:84px!important;min-width:84px!important;max-width:84px!important;
 height:37px!important;padding:0!important;gap:1px!important;
 border:0!important;background:transparent!important;box-shadow:none!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
#products .product.selected .qty-control{
 background:transparent!important;border:0!important;box-shadow:none!important;
}
#products .product .qty-control button{
 flex:0 0 23px!important;width:23px!important;min-width:23px!important;height:23px!important;
 font-size:16px!important;font-weight:950!important;
 border:1px solid #e9ceae!important;background:#fffaf2!important;
 color:#a75928!important;box-shadow:0 2px 5px #5b321622!important;
}
#products .product .qty-control .qty-number{
 flex:0 0 34px!important;width:34px!important;min-width:34px!important;
 height:34px!important;line-height:1!important;border-radius:50%!important;
 background:linear-gradient(150deg,#fff7df,#ffdf9a)!important;
 border:1px solid #ecbc72!important;
 box-shadow:0 3px 9px #a65b292e,0 1px 0 #fff inset!important;
 font-size:16px!important;font-weight:1000!important;
}
#products .product.selected .qty-control .qty-number{
 background:linear-gradient(145deg,#ffbc65,#ff802d)!important;
 color:#6f2916!important;border-color:#f7a24c!important;
 box-shadow:0 3px 11px #d77e3b51,0 1px 1px #fff8 inset!important;
}
#products .pv-product-facts{
 display:flex!important;width:100%!important;max-width:100%;
 gap:4px!important;margin:5px 0 3px!important;align-items:stretch;
}
#products .pv-product-facts .pv-fact{
 flex:1 1 0;min-width:0;min-height:26px;
 padding:3px 3px!important;border-radius:8px!important;
 display:flex;align-items:center;justify-content:center;gap:2px;
 text-align:center;white-space:nowrap;
 font-weight:900;font-size:clamp(8px,2.3vw,10px);line-height:1.1;
 box-shadow:0 2px 5px #98653416;
}
#products .pv-product-facts .pv-fact-size{
 background:#fff5e8;border:1px solid #edcaab;color:#8f4b29;
}
#products .pv-product-facts .pv-fact-units{
 background:#ebf7e8;border:1px solid #c6dfb7;color:#3d713b;
}
#products .product .product-foot{
 margin-top:4px!important;padding-top:0!important;
 width:100%!important;align-items:stretch!important;
}
#products .pv-price-label{
 display:block;text-align:center;font-size:clamp(9px,2.7vw,11px)!important;
 letter-spacing:.055em;font-weight:1000;color:#9b542e!important;
 margin:1px 0 4px;line-height:1.2;
}
#products .product-foot .product-price{
 display:block!important;width:100%!important;
 font-size:clamp(15px,3.8vw,18px)!important;
 font-weight:950!important;line-height:1.2!important;
 padding:6px 3px!important;border-radius:10px!important;
 text-align:center!important;letter-spacing:-.015em!important;
 box-shadow:0 2px 6px #e49b5226,0 1px 1px #fff inset!important;
}
#products .product .product-unit{display:none!important}
@media(max-width:390px){
 #products .product .qty-control{top:5px!important;right:3px!important}
 #products .pv-product-facts{gap:3px!important}
 #products .pv-product-facts .pv-fact{font-size:8px!important}
}

/* 1.2.110 · control superior al estilo BROXITO (badge cuadrado, no circular).
   El toque de la tarjeta suma, una pulsación larga resta y los botones siguen
   disponibles, sin tapar la fotografía ni bloquear el desplazamiento. */
#products .product .qty-control{
  top:3px!important;right:3px!important;bottom:auto!important;left:auto!important;
  width:48px!important;min-width:48px!important;max-width:48px!important;
  height:48px!important;margin:0!important;padding:0!important;display:block!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  overflow:visible!important;z-index:7!important;
}
#products .product .qty-control .qty-number{
  position:absolute!important;top:0!important;right:0!important;
  width:35px!important;min-width:35px!important;height:35px!important;
  display:grid!important;place-items:center!important;border-radius:11px!important;
  background:linear-gradient(145deg,#20b6bb,#168c9d)!important;
  border:1px solid #79ddd7!important;color:#fff!important;
  box-shadow:0 3px 9px #128d9f50,0 1px 0 #ffffff5e inset!important;
  font-size:16px!important;font-weight:950!important;line-height:1!important;
  font-variant-numeric:tabular-nums;
}
#products .product:not(.selected) .qty-control .qty-number{display:none!important}
#products .product .qty-control .plus,
#products .product .qty-control .minus{
  position:absolute!important;z-index:3!important;display:grid!important;place-items:center!important;
  padding:0!important;margin:0!important;border-radius:9px!important;
  font-weight:950!important;line-height:1!important;
  background:#fffffff2!important;border:1px solid #dfd6ea!important;color:#6958a6!important;
  box-shadow:0 2px 6px #503d722a!important;touch-action:manipulation;
}
#products .product:not(.selected) .qty-control .plus{
  top:0!important;right:0!important;width:34px!important;min-width:34px!important;height:34px!important;
  font-size:24px!important;
}
#products .product:not(.selected) .qty-control .minus{display:none!important}
#products .product.selected .qty-control .plus,
#products .product.selected .qty-control .minus{
  top:31px!important;width:20px!important;min-width:20px!important;height:19px!important;
  font-size:14px!important;border-radius:7px!important;
}
#products .product.selected .qty-control .minus{left:0!important;right:auto!important}
#products .product.selected .qty-control .plus{right:0!important;left:auto!important}
#products .product .qty-control .plus:active,
#products .product .qty-control .minus:active{transform:scale(.9)}
#products .product .qty-number.bump-add,
#products .product .qty-number.bump-sub{
  animation-duration:.28s!important;
}
/* Precio centrado y leyenda debajo, manteniendo las tarjetas compactas. */
#products .product .product-foot{margin-top:4px!important;padding-top:2px!important}
#products .product .product-foot>div:first-child{width:100%!important;text-align:center!important}
#products .product .product-price{display:block!important;width:100%!important;text-align:center!important}
#products .product .pv-price-label{
  display:block!important;margin:4px 0 0!important;
  text-align:center!important;font-size:10px!important;
  letter-spacing:.02em!important;font-weight:750!important;
  line-height:1.1!important;color:#ab755b!important;text-transform:none!important;
}
#products .product .product-title{overflow-wrap:anywhere}
@media(max-width:390px){
 #products .product .qty-control{top:2px!important;right:2px!important}
 #products .product .qty-control .qty-number{width:32px!important;min-width:32px!important;height:32px!important;font-size:15px!important}
 #products .product.selected .qty-control .plus,
 #products .product.selected .qty-control .minus{top:29px!important}
 #products .product .pv-price-label{font-size:9px!important}
}

/* 1.2.111 · presentación visible sin ensanchar las fichas. */
#products .pv-product-facts .pv-fact-size{
 background:#ffebca!important;border:1.5px solid #e6a95a!important;
 color:#79360d!important;font-weight:1000!important;
 box-shadow:0 2px 7px #ac723b23!important;
}
#products .product .pv-price-label{
 font-size:9.5px!important;line-height:1.12!important;
 font-weight:800!important;text-align:center!important;
 margin:3px auto 0!important;letter-spacing:.01em!important;
 width:100%!important;
}
@media(max-width:390px){#products .product .pv-price-label{font-size:9px!important}}

/* 1.2.113 — DISEÑO ACORDADO: sin botón más, dos bandas verticales y descuento anclado.
   Se coloca al final para reemplazar las reglas antiguas, sin alterar las
   animaciones actuales, la selección de sabor ni la grilla de 3 columnas. */
#products .product .qty-control,
#products .product.selected .qty-control{
 display:flex!important;align-items:center!important;justify-content:flex-end!important;
 gap:5px!important;position:absolute!important;top:3px!important;right:3px!important;
 left:auto!important;bottom:auto!important;width:66px!important;min-width:66px!important;
 max-width:66px!important;height:36px!important;min-height:36px!important;
 padding:0!important;margin:0!important;background:transparent!important;
 border:0!important;box-shadow:none!important;backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;pointer-events:none!important;
 z-index:7!important;overflow:visible!important;
}
#products .product:not(.selected) .qty-control{visibility:hidden!important}
#products .product .qty-control .plus{display:none!important}
#products .product .qty-control .minus,
#products .product.selected .qty-control .minus{
 position:static!important;top:auto!important;right:auto!important;
 bottom:auto!important;left:auto!important;flex:0 0 23px!important;
 width:23px!important;min-width:23px!important;height:24px!important;
 min-height:24px!important;display:grid!important;place-items:center!important;
 padding:0!important;margin:0!important;opacity:1!important;
 border:1px solid #e8d7cd!important;border-radius:8px!important;
 background:#fffdfa!important;color:#925b63!important;
 box-shadow:0 2px 6px #573e4a20!important;
 font-size:18px!important;font-weight:950!important;
 pointer-events:auto!important;touch-action:manipulation!important;
}
#products .product .qty-control .qty-number,
#products .product.selected .qty-control .qty-number{
 position:relative!important;top:auto!important;right:auto!important;
 bottom:auto!important;left:auto!important;flex:0 0 36px!important;
 width:36px!important;min-width:36px!important;height:36px!important;
 margin:0!important;border-radius:10px!important;display:grid!important;
 place-items:center!important;font-size:16px!important;font-weight:1000!important;
 line-height:1!important;
}
#products .product .qty-control .minus:active{transform:scale(.91)!important}
#products .product .product-title{
 margin-bottom:2px!important;
}
#products .pv-product-facts{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 flex-direction:column!important;gap:4px!important;
 width:100%!important;max-width:100%!important;margin:3px 0 7px!important;
 align-items:stretch!important;
}
#products .pv-product-facts .pv-fact,
#products .pv-product-facts .pv-fact-size,
#products .pv-product-facts .pv-fact-units{
 display:flex!important;justify-content:center!important;align-items:center!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 flex:none!important;border-radius:9px!important;
 padding:4px 3px!important;line-height:1.15!important;
 text-align:center!important;white-space:normal!important;
}
#products .pv-product-facts .pv-fact-size{
 min-height:28px!important;font-size:clamp(11px,2.8vw,13px)!important;
 font-weight:1000!important;color:#783509!important;
 background:linear-gradient(110deg,#ffebcb,#ffdda6)!important;
 border:1.5px solid #eab16c!important;
}
#products .pv-product-facts .pv-fact-units{
 min-height:25px!important;font-size:clamp(9px,2.35vw,11px)!important;
 font-weight:850!important;color:#356939!important;
 background:#edf8eb!important;border:1px solid #c4dec1!important;
 gap:2px!important;
}
#products .product .pv-price-label{
 display:block!important;width:100%!important;text-align:center!important;
 font-size:9px!important;font-weight:800!important;
 margin:3px auto 0!important;line-height:1.2!important;
}
/* Barra fija y compacta: sustituye visualmente el banner grande solo cuando
   éste ya pasó detrás de la cabecera. Se oculta al salir de Catálogo. */
#discountSticky.pv-sticky-discount{
 position:fixed!important;z-index:46!important;display:flex!important;
 align-items:center!important;gap:9px!important;
 max-width:650px!important;min-height:53px!important;
 padding:8px 11px!important;margin:0!important;
 background:linear-gradient(115deg,#fff8e8,#ffedc7)!important;
 border:1px solid #ecc48b!important;border-radius:14px!important;
 box-shadow:0 7px 19px #895c3060,0 1px 2px #ffffffa0 inset!important;
 pointer-events:none!important;box-sizing:border-box;
 animation:pvStickyAppear .2s ease-out both;
}
#discountSticky[hidden]{display:none!important}
#discountSticky .pv-sticky-gift{
 flex:0 0 31px!important;font-size:26px!important;line-height:1!important;
}
#discountSticky .pv-sticky-copy{
 flex:1!important;min-width:0!important;display:grid!important;gap:5px!important;
}
#discountSticky .pv-sticky-copy strong{
 display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;
 white-space:nowrap!important;font-size:11.5px!important;font-weight:950!important;
 color:#85441b!important;line-height:1.2!important;
}
#discountSticky .pv-sticky-meter{
 display:block!important;height:5px!important;width:100%!important;
 border-radius:99px!important;overflow:hidden!important;background:#f0c99b!important;
}
#discountSticky .pv-sticky-meter span{
 display:block!important;height:100%!important;min-width:0!important;
 border-radius:99px!important;background:linear-gradient(90deg,#ee8427,#ffbf3f)!important;
 transition:width .24s ease-out!important;
}
#discountSticky .pv-sticky-gift{animation:none!important}
#discountSticky #discountStickyCount{
 flex:0 0 auto!important;min-width:43px!important;
 padding:7px 8px!important;background:#fffef1!important;
 border-radius:999px!important;text-align:center!important;
 color:#9b571e!important;font-size:12px!important;font-weight:950!important;
 font-variant-numeric:tabular-nums!important;white-space:nowrap!important;
}
#discountSticky.discount-won{background:linear-gradient(110deg,#f0ffe9,#dff3d5)!important;border-color:#83cf94!important}
#discountSticky.discount-won .pv-sticky-meter span{background:#31a96b!important}
#discountSticky.discount-won .pv-sticky-copy strong{color:#26794a!important}
@keyframes pvStickyAppear{
 from{opacity:.2;transform:translateY(-5px)}
 to{opacity:1;transform:translateY(0)}
}
@media(max-width:390px){
 #products .product .qty-control,#products .product.selected .qty-control{
  top:2px!important;right:2px!important;width:61px!important;min-width:61px!important;max-width:61px!important
 }
 #products .product .qty-control .qty-number,#products .product.selected .qty-control .qty-number{
  width:33px!important;min-width:33px!important;flex-basis:33px!important;height:33px!important;
 }
 #products .pv-product-facts .pv-fact-size{font-size:11px!important}
 #products .pv-product-facts .pv-fact-units{font-size:9px!important}
 #discountSticky .pv-sticky-copy strong{font-size:10.5px!important}
}
@media(prefers-reduced-motion:reduce){
 #discountSticky.pv-sticky-discount{animation:none!important}
 #discountSticky .pv-sticky-meter span{transition:none!important}
}

/* 1.2.114 · indicador de suma para productos todavía sin seleccionar.
   La cantidad 0 no queda vacía: aparece un '+' elegante y accesible.
   Al sumar, el mismo espacio vuelve a mostrar exactamente «− [cantidad]». */
#products .product:not(.selected) .qty-control{
 visibility:visible!important;display:flex!important;
 align-items:flex-start!important;justify-content:flex-end!important;
 pointer-events:none!important;
}
#products .product:not(.selected) .qty-control .minus,
#products .product:not(.selected) .qty-control .qty-number{
 display:none!important;
}
#products .product:not(.selected) .qty-control .plus{
 display:grid!important;position:static!important;place-items:center!important;
 top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
 flex:0 0 35px!important;width:35px!important;min-width:35px!important;
 height:35px!important;min-height:35px!important;margin:0!important;padding:0!important;
 border:1px solid #ddd1e7!important;border-radius:11px!important;
 background:linear-gradient(140deg,#ffffff,#f7f0ff)!important;
 color:#755ca7!important;
 box-shadow:0 3px 10px #58416b29,0 1px 0 #ffffff inset!important;
 font-size:26px!important;line-height:1!important;font-weight:800!important;
 cursor:pointer!important;pointer-events:auto!important;touch-action:manipulation!important;
}
#products .product:not(.selected) .qty-control .plus:active{
 transform:scale(.91)!important;
 background:linear-gradient(140deg,#f1e7fd,#e6d7f7)!important;
}
#products .product.selected .qty-control .plus{
 display:none!important;pointer-events:none!important;
}
@media(max-width:390px){
 #products .product:not(.selected) .qty-control .plus{
  flex-basis:33px!important;width:33px!important;min-width:33px!important;
  height:33px!important;min-height:33px!important;font-size:24px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 #products .product:not(.selected) .qty-control .plus{animation:none!important;transition:none!important}
}
