/* Sticky "Do košíku" bar on the product page for phones (MOBIL-LEPIVE-TLACITKO, 22 Nov 2026).
   Rendered only when the store's theme setting is on (theme_default_eletur_sticky_cart); the script shows the bar only while
   the original #button-cart is off screen. The right 84 px stay empty for the WhatsApp and chat bubbles (56 px + 14 px gap),
   the bottom padding of the page is reserved up front so nothing moves when the bar appears.
   New file name 22 Nov 2026 (was sticky-cart-20261122.css), so Cloudflare and browsers cannot keep the old rules. */
.et-sticky-cart{display:none}
@media (max-width:768px){
  body.et-sticky-cart-ready{padding-bottom:calc(68px + env(safe-area-inset-bottom, 0px))}
  .et-sticky-cart{position:fixed;left:0;right:0;bottom:0;z-index:9980;display:flex;align-items:center;gap:10px;box-sizing:border-box;min-height:60px;padding:8px 84px calc(8px + env(safe-area-inset-bottom, 0px)) 12px;background:#fff;border-top:1px solid #e8dfe2;box-shadow:0 -2px 12px rgba(0,0,0,.12);transform:translateY(110%);visibility:hidden;transition:transform .2s ease,visibility 0s linear .2s}
  .et-sticky-cart[hidden]{display:none}
  .et-sticky-cart.is-visible{transform:none;visibility:visible;transition:transform .2s ease}
  .et-sticky-cart__info{display:flex;flex-direction:column;min-width:0;flex:1 1 auto;line-height:1.2}
  .et-sticky-cart__price{font-size:18px;font-weight:700;color:#2b2326;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .et-sticky-cart__stock{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .et-sticky-cart__stock.is-in{color:#1f7a3a}
  .et-sticky-cart__stock.is-out{color:#8a5a00}
  .et-sticky-cart__button.et-btn{flex:0 0 auto;min-height:44px;margin:0;padding:10px 16px;white-space:nowrap}
}
/* WHATSAPP-NAD-LISTOU (22 Nov 2026): the bubble used to sit 47 px deep in the bar; while the bar is shown it stands
   12 px above it (and still above the Smartsupp bubble where that chat runs). Only body.et-sticky-cart-shown, which the
   script sets on a phone product page with the bar on screen; everywhere else the footer rules stay in force. */
@media (max-width:768px){
  body.et-sticky-cart-ready .et-wa{transition:bottom .2s ease}
  body.et-sticky-cart-shown .et-wa{bottom:calc(var(--et-sticky-cart-h, 68px) + 12px)}
  body.et-sticky-cart-shown:has(#smartsupp-widget-container) .et-wa{bottom:max(96px, calc(var(--et-sticky-cart-h, 68px) + 12px))}
}
@media (max-width:767px){
  body.et-sticky-cart-shown:has(#smartsupp-widget-container) .et-wa{bottom:max(84px, calc(var(--et-sticky-cart-h, 68px) + 12px))}
}
@media (max-width:768px) and (prefers-reduced-motion:reduce){
  .et-sticky-cart,.et-sticky-cart.is-visible,body.et-sticky-cart-ready .et-wa{transition:none}
}
@media print{.et-sticky-cart{display:none!important}}
