/* Mobile product shortcut; the native options, prices and cart remain authoritative. */
#ec27-mobile-buybar { display: none; }
@media (max-width: 767px) {
  #product.ec27-mobile-buybar-space {
    padding-bottom: calc(var(--ec27-buybar-original-padding, 0px) + var(--ec27-buybar-height, 57px));
  }
  #product #ec27-mobile-buybar {
    position: fixed;
    z-index: 1000;
    inset: auto 0 0;
    display: block;
    padding: 6px max(12px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    border-top: 1px solid #e0e4e8;
    background: #fff;
    box-shadow: 0 -4px 18px rgba(17, 21, 26, .08);
    box-sizing: border-box;
    color: #24282d;
    font-family: inherit;
  }
  #product #ec27-mobile-buybar[hidden] { display: none; }
  #ec27-mobile-buybar .ec27-buybar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
  }
  #ec27-mobile-buybar .ec27-buybar-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
  #ec27-mobile-buybar .ec27-buybar-price-block { flex: 1 1 auto; min-width: 0; }
  #ec27-mobile-buybar .ec27-buybar-price {
    display: block;
    color: #f80823;
    font-size: clamp(18px, 5.4vw, 23px);
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
  }
  #ec27-mobile-buybar .ec27-buybar-caption {
    display: block;
    margin-top: 3px;
    color: #626c78;
    font-size: 11px;
    line-height: 1.25;
  }
  #ec27-mobile-buybar .ec27-buybar-action,
  #ec27-mobile-buybar .ec27-buybar-cart {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 142px;
    min-height: 44px;
    margin: 0;
    padding: 11px 14px;
    border: 1px solid #f80823;
    border-radius: 7px;
    background: #f80823;
    box-shadow: none;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    cursor: pointer;
  }
  #ec27-mobile-buybar .ec27-buybar-cart { flex-basis: 44px; width: 44px; min-width: 44px; height: 44px; padding: 0; }
  #ec27-mobile-buybar .ec27-buybar-cart[hidden] { display: none; }
  #ec27-mobile-buybar .ec27-buybar-cart svg { width: 23px; height: 23px; }
  #ec27-mobile-buybar .ec27-buybar-cart:disabled { border-color: #d9dde3; background: #e9edf1; color: #747d89; cursor: not-allowed; }
  #ec27-mobile-buybar.ec27-buybar-with-cart .ec27-buybar-inner { gap: 8px; }
  #ec27-mobile-buybar.ec27-buybar-with-cart .ec27-buybar-action { min-width: 124px; padding-inline: 10px; }
  #ec27-mobile-buybar .ec27-buybar-action svg { flex: 0 0 18px; width: 18px; height: 18px; }
  #ec27-mobile-buybar .ec27-buybar-action:hover,
  #ec27-mobile-buybar .ec27-buybar-cart:not(:disabled):hover { border-color: #d90020; background: #d90020; }
  #ec27-mobile-buybar .ec27-buybar-action:focus-visible,
  #ec27-mobile-buybar .ec27-buybar-cart:focus-visible { outline: 2px solid #24282d; outline-offset: 3px; }
  #product.ec27-mobile-buybar-visible:not(:has(.ec-chatbot__panel--open)) .ec-chatbot {
    bottom: max(75px, calc(var(--ec27-buybar-height, 57px) + 12px));
  }
  html.ec27-menu-open #ec27-mobile-buybar,
  html.fancybox-lock #ec27-mobile-buybar,
  #product.fancybox-active #ec27-mobile-buybar,
  #product.ec27-cart-drawer-open #ec27-mobile-buybar,
  #product:has(.fancybox-opened, .fancybox-container.fancybox-is-open, .ec-chatbot__panel--open) #ec27-mobile-buybar,
  #product:has(.cconsent-nb-interstitial-overlay:not(.cconsent-is-hidden)) #ec27-mobile-buybar,
  #product:has(.cconsent-pc-overlay.cconsent-is-visible) #ec27-mobile-buybar {
    visibility: hidden;
    pointer-events: none;
  }
}
@media (max-width: 359px) {
  #ec27-mobile-buybar .ec27-buybar-action { min-width: 132px; padding-inline: 11px; font-size: 13px; }
  #ec27-mobile-buybar.ec27-buybar-with-cart .ec27-buybar-action { min-width: 104px; padding-inline: 8px; }
  #ec27-mobile-buybar.ec27-buybar-with-cart .ec27-buybar-action svg { display: none; }
}
@media print {
  #ec27-mobile-buybar { display: none !important; }
  #product.ec27-mobile-buybar-space { padding-bottom: 0; }
}
