/* Babachic mobile purchase improvements. Disable the module to revert. */
#bbc-mobile-buy { display: none; }
#bbc-mobile-buy[hidden] { display: none !important; }
@media (max-width: 767px) {
  body:not(#index) #header .h-logo {
    padding: 12px 0 8px !important;
    min-height: 0 !important;
  }
  body:not(#index) #header .h-logo img {
    width: 210px !important;
    max-width: 75vw !important;
    height: auto !important;
  }
  body#index #header .h-logo { padding: 8px 12px 5px !important; gap: 6px !important; }
  body#index #header .h-logo img { width: clamp(150px, 49vw, 200px) !important; }
  body #header .box-top, body #header .col-info,
  body #header .leo-megamenu, body #header .navbar-header {
    height: 48px !important; min-height: 48px !important;
  }
  body #header .col-info .popup-title,
  body #header .col-info .cart-preview .header,
  body #header .navbar-header { line-height: 48px !important; }
  body#index #header .col-info > #leo_block_top,
  body#index #header .col-info > .wislish-button,
  body#index #header .col-info > #_desktop_cart,
  body#index #header .col-info > .ApRawHtml,
  body#index #header .col-info #leo_block_top > .popup-title,
  body#index #header .col-info .ap-btn-wishlist,
  body#index #header .col-info .cart-preview > .header,
  body#index #header .col-info .cart-preview,
  body#index #header .col-info .cus-btnmenu { height: 48px !important; }
  body#index #header .col-info .cus-btnmenu:before { top: 16px !important; }
  body#index #header .col-info .cart-products-count,
  body#index #header .col-info .ap-total-wishlist { top: 29px !important; }
  body#product .breadcrumb { margin-bottom: 12px; }
  body#product .product-detail-name { font-size: 23px; line-height: 1.3; }
  body.bbc-mobile-buy-ready { padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important; }
  body.bbc-mobile-buy-ready .leo-fly-cart-icon-wrapper { bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important; }
  #bbc-mobile-buy {
    position: fixed; inset: auto 0 0; z-index: 990;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #fffaf3; border-top: 1px solid #e3d7c8;
    box-shadow: 0 -3px 16px rgba(52, 47, 40, .1);
    font-family: inherit; color: #342f28;
  }
  #bbc-mobile-buy .bbc-mobile-buy__price { flex: 0 0 auto; font-size: 20px; font-weight: 700; line-height: 1.2; }
  #bbc-mobile-buy .bbc-mobile-buy__button {
    flex: 1; min-height: 46px; padding: 10px 12px; border: 0;
    border-radius: 2px; background: #964a32; color: #fff;
    font: inherit; font-size: 14px; font-weight: 600; line-height: 1.3;
    cursor: pointer; text-align: center;
  }
  #bbc-mobile-buy .bbc-mobile-buy__button:disabled { opacity: .55; cursor: default; }
  #bbc-mobile-buy .bbc-mobile-buy__button:focus-visible { outline: 3px solid #342f28; outline-offset: 3px; }
  body.modal-open #bbc-mobile-buy { display: none; }
  body#checkout #checkout-personal-information-step .nav-link { font-size: 13px; white-space: normal; }
}
@media print { #bbc-mobile-buy { display: none !important; } }
