.back-button {
  display: inline-block;
  margin: 10px 0;
  font-size: 16px;
  cursor: pointer;
}
/* FIX homepage horizontal scroll */
body.home {
  overflow-x: hidden !important;
}

/* Fix Elementor sections */
body.home .elementor-section,
body.home .elementor-container,
body.home .elementor-column,
body.home .elementor-widget-wrap {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Fix category buttons row */
body.home .elementor-button-wrapper,
body.home .elementor-button {
  max-width: 100% !important;
}

/* Fix footer overflow */
body.home footer,
body.home .site-footer {
  max-width: 100% !important;
  overflow-x: hidden !important;
}/* HARD STOP horizontal scroll on homepage */
body.home,
body.home html {
  overflow-x: hidden !important;
}

/* Force all Elementor elements to stay inside screen */
body.home .elementor *,
body.home .elementor-section,
body.home .elementor-container,
body.home .elementor-column {
  max-width: 100% !important;
  box-sizing: border-box !important;
}/* Shoptimizer - Mobile Mini Cart Drawer: remove huge white space */
@media (max-width: 768px){

  /* Drawer container */
  .site-header-cart .widget_shopping_cart,
  .site-header-cart .widget_shopping_cart_content{
    max-height: 80vh !important;
    height: auto !important;
    overflow: auto !important;
  }

  /* Make mini cart layout stack naturally */
  .woocommerce-mini-cart{
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 12px !important;
  }

  /* Remove extra spacing pushing totals down */
  .woocommerce-mini-cart__total{
    margin-top: 12px !important;
    padding-top: 10px !important;
  }

  /* Buttons area */
  .woocommerce-mini-cart__buttons{
    margin-top: 10px !important;
    padding-bottom: 10px !important;
  }

  /* Reduce item spacing */
  .woocommerce-mini-cart-item{
    margin-bottom: 10px !important;
  }
}/* ================================
   Shoptimizer Mobile Cart + Bottom Bar FIX
   ================================ */
@media (max-width: 768px){

  /* Push cart above bottom mobile bar */
  .site-header-cart .widget_shopping_cart{
    padding-bottom: 80px !important;
  }

  /* Remove forced height */
  .site-header-cart .widget_shopping_cart_content{
    height: auto !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
  }

  /* Mini cart natural flow */
  .woocommerce-mini-cart{
    min-height: unset !important;
    height: auto !important;
  }

  /* Tighten spacing */
  .woocommerce-mini-cart__total,
  .woocommerce-mini-cart__buttons{
    margin-top: 10px !important;
  }
}


  

