/* FRITTENEDGE v2.0.20 - Mobile filter breathing room and right-aligned menu. */
@media (max-width:1024px) {
  body .nexo-header .nexo-header-inner {
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:10px !important;
  }
  body .nexo-header .nexo-brand {
    order:1 !important;
    flex:0 1 auto !important;
    min-width:0 !important;
    margin-right:auto !important;
  }
  body .nexo-header .nexo-actions {
    order:2 !important;
    display:flex !important;
    align-items:center !important;
    flex:0 0 auto !important;
    margin:0 !important;
  }
  body .nexo-header .nexo-menu-toggle {
    order:3 !important;
    display:flex !important;
    flex:0 0 auto !important;
    margin:0 0 0 5px !important;
    padding:8px 2px 8px 6px !important;
    align-items:center !important;
    justify-content:center !important;
  }
}
@media (max-width:767px) {
  /* Filter is inside the shop's page container. Add actual inset without widening it. */
  body.post-type-archive-product .nexo-filter-toggle,
  body.tax-product_cat .nexo-filter-toggle,
  body.tax-product_tag .nexo-filter-toggle,
  body.tax-product_brand .nexo-filter-toggle {
    display:inline-flex !important;
    align-items:center !important;
    width:auto !important;
    max-width:calc(100% - 32px) !important;
    margin:28px 0 22px 16px !important;
    padding:12px 18px !important;
    box-sizing:border-box !important;
  }
  body.post-type-archive-product .nexo-shop-layout,
  body.tax-product_cat .nexo-shop-layout,
  body.tax-product_tag .nexo-shop-layout,
  body.tax-product_brand .nexo-shop-layout {
    padding-top:8px !important;
  }
}
@media (max-width:390px) {
  body .nexo-header .nexo-header-inner {gap:5px !important;}
  body .nexo-header .nexo-actions {gap:6px !important;}
  body .nexo-header .nexo-menu-toggle {margin-left:2px !important;}
}
