/* Encuadre completo y adaptación a pantallas pequeñas. */
html body .card.catalog-uniform .beverage-flip,
html body .card.catalog-uniform .beverage-face {border-radius:16px!important;overflow:hidden!important;background:#fff!important;box-sizing:border-box!important}
html body #categorySections .card.catalog-uniform .beverage-face>img,
html body #catalogModal #modalProducts .card.catalog-uniform .beverage-face>img {
 position:absolute!important;inset:0!important;left:0!important;top:0!important;
 width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
 padding:12px!important;box-sizing:border-box!important;object-fit:contain!important;object-position:center!important;
 transform:none!important;animation:none!important;filter:none!important;mix-blend-mode:normal!important;
}
html body #productModal #productDetail .product-main-image {display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;overflow:hidden!important;background:#fff!important}
html body #productModal.open #productDetail .product-main-image img,
html body #productModal #productDetail .product-main-image img {
 position:static!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
 padding:14px!important;box-sizing:border-box!important;object-fit:contain!important;object-position:center!important;
 transform:none!important;animation:none!important;filter:none!important;mix-blend-mode:normal!important;
}
/* Fotos guardadas horizontalmente: espacio suficiente para el giro completo. */
html body #categorySections .card.catalog-uniform[data-product="162"] .beverage-face>img,
html body #catalogModal #modalProducts .card.catalog-uniform[data-product="162"] .beverage-face>img {transform:rotate(-90deg)!important}
html body #productModal.open #productDetail img[src*="Tostitos%20Crispy%20Rounds"],
html body #productModal #productDetail img[src*="Tostitos%20Crispy%20Rounds"],
html body #productModal #productDetail img[src*="Hostess%20Twinkies%20Pumpkin%20Spice-reverso"] {
 width:70%!important;height:70%!important;transform:rotate(-90deg)!important;animation:none!important;
}
html body .card h3,html body .card .card-name {white-space:normal!important;overflow:visible!important;text-overflow:clip!important;display:block!important;-webkit-line-clamp:unset!important;height:auto!important;overflow-wrap:anywhere!important}
html body #productModal .product-info h2{overflow-wrap:normal!important;word-break:normal!important;hyphens:auto;line-height:1.14!important}
html body #productModal .product-info,html body #productModal .detail-fact{min-width:0!important}
html body #productModal .product-close{position:sticky!important;top:10px!important;float:right;align-self:flex-end;flex:none;margin:10px 10px -52px 0!important;z-index:20!important}
html body #productModal .product-thumbs{flex-wrap:wrap!important}
html body #productModal .detail-add,html body #productModal .detail-wa{white-space:normal!important;min-height:48px!important;height:auto!important}
@media(max-width:760px){
 html body .header{grid-template-columns:64px minmax(0,1fr) auto!important;gap:8px!important;padding-inline:10px!important}
 html body .header .search{width:100%!important;min-width:0!important}
 html body .header .search input{width:100%!important;min-width:0!important;box-sizing:border-box!important}
 html body .brand.brand-candy{width:64px!important;min-width:64px!important}
 html body #productModal #productDetail .product-main-image{height:clamp(205px,62vw,330px)!important}
 html body #productModal #productDetail>.product-info{padding-top:24px!important}
 html body #productModal .detail-feature-grid,html body #productModal .detail-facts{grid-template-columns:minmax(0,1fr)!important}
 html body #productModal .product-info h2{font-size:clamp(25px,7vw,36px)!important}
}
@media(hover:none){
 html body .card.catalog-uniform:hover .beverage-front{opacity:1!important}
 html body .card.catalog-uniform:hover .beverage-back{opacity:0!important}
 html body .card.catalog-uniform .beverage-media.show-reverse .beverage-front{opacity:0!important}
 html body .card.catalog-uniform .beverage-media.show-reverse .beverage-back{opacity:1!important}
}
