/* RESPONSIVE FIXES 2026 */

/* 1. Cart flyout - prevent horizontal overflow */
.cart-flyout {
  position: fixed !important;
  right: -100% !important;
  overflow: hidden !important;
  visibility: hidden;
}
.cart-flyout.open {
  right: 0 !important;
  visibility: visible;
}

/* 2. Body overflow prevention */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* 3. RevSlider containment */
.rev_slider_wrapper,
.tp-banner-container,
rs-module-wrap {
  overflow: hidden !important;
  max-width: 100vw !important;
}

/* 4. Header aside panel */
.header--aside,
.header-aside-wrapper {
  position: fixed !important;
  right: -100% !important;
  overflow: hidden !important;
}
.header--aside.open {
  right: 0 !important;
}

/* 5. Images responsive */
img {
  max-width: 100%;
  height: auto;
}

/* 6. Mobile fixes */
@media (max-width: 767px) {
  .main-navigation a,
  .nav-menu a,
  .primary-menu a,
  .widget a,
  .entry-meta a,
  .btn, button,
  input[type="submit"],
  .la-btn {
    min-height: 40px;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    line-height: 1.5;
  }
  .sub-menu, ul.sub-menu {
    position: relative !important;
    left: 0 !important;
    width: 100% !important;
  }
  .vc_col-sm-4, .vc_col-sm-3,
  .vc_col-sm-6, .wpb_column {
    width: 100% !important;
    max-width: 100% !important;
  }
  .wpb_single_image img,
  .vc_single_image-wrapper img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* 7. Tablet fixes */
@media (min-width: 768px) and (max-width: 1024px) {
  .sub-menu {
    max-width: 100vw;
  }
  .wpb_single_image img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Sticky header logo spacing */
.site-header-inner.sticky--pinned .header-main,
.site-header-inner.sticky--unpinned .header-main {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
.site-header-inner.sticky--pinned .site-branding img,
.site-header-inner.sticky--unpinned .site-branding img {
  max-height: 55px !important;
  width: auto;
}
