/* 2026-barra-movil — barra fija para móvil */
#jjjbm{display:none;position:fixed;left:0;right:0;bottom:0;z-index:99990;font-family:inherit;-webkit-tap-highlight-color:transparent;transition:transform .2s ease}
#jjjbm *{box-sizing:border-box}
#jjjbm.kb-open{transform:translateY(110%)}
#jjjbm .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* Barra */
#jjjbm .jjjbm-bar{background:var(--jjjbm-bg);color:var(--jjjbm-color);border-top:1px solid rgba(0,0,0,.08);box-shadow:0 -6px 18px rgba(60,40,10,.08);padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:8px}
#jjjbm .jjjbm-row{display:flex;align-items:stretch;gap:6px}
#jjjbm a{text-decoration:none}

/* Botones normales */
#jjjbm .jjjbm-item,#jjjbm .jjjbm-back{flex:1 1 0;min-width:0;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--jjjbm-color);font-size:13px;font-weight:500;line-height:1.15;text-align:center;border-radius:12px}
#jjjbm .jjjbm-item:active,#jjjbm .jjjbm-back:active{background:rgba(0,0,0,.05)}
#jjjbm .jjjbm-label{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#jjjbm .jjjbm-ico{position:relative;display:inline-flex}
#jjjbm .jjjbm-type-whatsapp .jjjbm-ico{color:#2f7d32}
#jjjbm .jjjbm-badge{position:absolute;top:-6px;right:-12px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--jjjbm-badge);color:#fff;font-size:12px;font-weight:700;line-height:20px;text-align:center;display:none}
#jjjbm.has-items .jjjbm-badge{display:block}
#jjjbm.has-items .jjjbm-hide-with-cart{display:none}

/* Pagar */
#jjjbm .jjjbm-pay{flex:1.7 1 0;min-width:0;min-height:58px;display:none;align-items:center;justify-content:center;gap:8px;border-radius:16px;background:var(--jjjbm-pay);color:var(--jjjbm-pay-color);padding:0 10px}
#jjjbm.has-items .jjjbm-pay{display:flex}
#jjjbm .jjjbm-pay:hover,#jjjbm .jjjbm-pay:focus{color:var(--jjjbm-pay-color)}
#jjjbm .jjjbm-pay-lock,#jjjbm .jjjbm-pay-arrow{display:inline-flex;flex:none}
#jjjbm .jjjbm-pay-arrow{display:none}
#jjjbm .jjjbm-pay-txt{display:flex;flex-direction:column;line-height:1.1;min-width:0}
#jjjbm .jjjbm-pay-label{font-size:20px;font-weight:700}
#jjjbm .jjjbm-total{font-size:13px;font-weight:600;white-space:nowrap}
#jjjbm.no-total .jjjbm-total{display:none}

/* Latido */
@keyframes jjjbmSuave{0%,24%,48%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(0,0,0,.25)}12%,36%{transform:scale(1.06);box-shadow:0 0 0 10px rgba(0,0,0,0)}}
@keyframes jjjbmFuerte{0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(0,0,0,.3)}50%{transform:scale(1.09);box-shadow:0 0 0 14px rgba(0,0,0,0)}}
#jjjbm.pulse-suave .jjjbm-pay{animation:jjjbmSuave 5s ease-in-out infinite}
#jjjbm.pulse-fuerte .jjjbm-pay{animation:jjjbmSuave 3s ease-in-out infinite}
#jjjbm.no-pulse-here .jjjbm-pay{animation:none}
#jjjbm.strong .jjjbm-pay{animation:jjjbmFuerte 1s ease-in-out infinite}

/* Página del carrito: Seguir mirando + Pagar grande */
#jjjbm .jjjbm-back{display:none}
#jjjbm.cart-big.has-items .jjjbm-item{display:none}
#jjjbm.cart-big.has-items .jjjbm-back{display:flex;flex:0 0 76px;font-size:12px;white-space:normal}
#jjjbm.cart-big.has-items .jjjbm-pay{flex:1 1 0;min-height:62px;gap:10px}
#jjjbm.cart-big .jjjbm-pay-txt{flex-direction:row;align-items:baseline;gap:6px}
#jjjbm.cart-big .jjjbm-pay-label{font-size:21px}
#jjjbm.cart-big .jjjbm-total{font-size:21px;font-weight:700}
#jjjbm.cart-big .jjjbm-pay-arrow{display:inline-flex}

/* Línea de regalo */
#jjjbm .jjjbm-gift{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:12px;background:#f1f4e6;color:#3f5418;font-size:13px;line-height:1.3}
#jjjbm .jjjbm-gift[hidden]{display:none}
#jjjbm .jjjbm-gift-ico{display:inline-flex;color:#C63A1F;flex:none}

/* Aviso al añadir */
#jjjbm .jjjbm-toast{margin:0 12px 10px;padding:12px 14px;border-radius:14px;background:var(--jjjbm-toast);color:#fff;display:flex;align-items:center;gap:12px;box-shadow:0 6px 18px rgba(30,40,10,.25);animation:jjjbmIn .25s ease-out}
#jjjbm .jjjbm-toast[hidden]{display:none}
#jjjbm .jjjbm-toast-ico{flex:none;width:34px;height:34px;border-radius:17px;background:#fff;color:var(--jjjbm-toast);display:flex;align-items:center;justify-content:center}
#jjjbm .jjjbm-toast-txt{display:flex;flex-direction:column;line-height:1.3;font-size:13px}
#jjjbm .jjjbm-toast-txt strong{font-size:16px;font-weight:700}
@keyframes jjjbmIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){
	#jjjbm .jjjbm-pay,#jjjbm.strong .jjjbm-pay,#jjjbm .jjjbm-toast{animation:none!important}
	#jjjbm{transition:none}
}

/* Emojis */
#jjjbm .jjjbm-emoji{display:inline-block;font-size:var(--jjjbm-emoji,26px);line-height:1;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji","Segoe UI Symbol",sans-serif;font-style:normal;font-weight:400}
#jjjbm .jjjbm-emoji-btn{font-size:20px}
#jjjbm .jjjbm-emoji img.emoji,#jjjbm img.emoji{width:1em!important;height:1em!important;margin:0!important;vertical-align:-.1em}
#jjjbm .jjjbm-back .jjjbm-emoji{font-size:calc(var(--jjjbm-emoji,26px) - 4px)}

/* Foto o emoji del regalo */
#jjjbm .jjjbm-gift-ico{width:32px;height:32px;align-items:center;justify-content:center}
#jjjbm .jjjbm-gift-img{width:32px;height:32px;border-radius:8px;object-fit:cover;background:#fff;border:1px solid #dce8cc;display:block;margin:0}
#jjjbm .jjjbm-gift-img[hidden]{display:none}
#jjjbm .jjjbm-gift-emoji{font-size:20px;line-height:1}
#jjjbm .jjjbm-gift-emoji[hidden]{display:none}
#jjjbm .jjjbm-gift-txt strong{font-weight:700}
