/* THR full width repair. This intentionally runs late after Flatsome and THR plugins.
   Box backgrounds span the viewport; interior layouts have responsive side gutters. */
html {overflow-x:clip;}
body.thr-unboxed {width:100%; max-width:none!important; margin:0!important; overflow-x:clip;}
body.thr-unboxed #wrapper,
body.thr-unboxed.boxed #wrapper,
body.thr-unboxed.framed #wrapper,
body.thr-unboxed #main,
body.thr-unboxed #content,
body.thr-unboxed .site,
body.thr-unboxed .site-content,
body.thr-unboxed .page-wrapper,
body.thr-unboxed .shop-container,
body.thr-unboxed .product-main,
body.thr-unboxed .product-footer,
body.thr-unboxed .blog-wrapper,
body.thr-unboxed .archive-page-header,
body.thr-unboxed .shop-page-title {
  width:100%!important;
  max-width:none!important;
  min-width:0;
  margin-left:0!important;
  margin-right:0!important;
}
/* Main Flatsome content containers, not individual nested components. */
body.thr-unboxed #main > .container,
body.thr-unboxed #main > .container-width,
body.thr-unboxed #main > .row,
body.thr-unboxed #main > .page-wrapper > .row,
body.thr-unboxed #main > .page-wrapper > .container,
body.thr-unboxed #main .shop-container > .container,
body.thr-unboxed #main .shop-page-title > .container,
body.thr-unboxed #main .product-main > .row,
body.thr-unboxed #main .product-main > .container,
body.thr-unboxed #main .product-footer > .container,
body.thr-unboxed #main .blog-wrapper > .row,
body.thr-unboxed #main .blog-wrapper > .container,
body.thr-unboxed #main .archive-page-header > .row,
body.thr-unboxed #main .archive-page-header > .container,
body.thr-unboxed #main .page-inner > .row {
  width:calc(100% - 80px)!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
/* Catalog pages already use .thrc; avoid double side gutters. */
body.thr-unboxed #main.thrc,
body.thr-unboxed #main > .thrc,
body.thr-unboxed .thrc {
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.thr-unboxed .thrc .thrc-shell {
  width:calc(100% - 80px)!important;
  max-width:none!important;
  margin-inline:auto!important;
}
body.thr-unboxed .thrc .thrc-breadcrumb {padding-left:40px;padding-right:40px;}
body.thr-unboxed .thrc .thrc-hero-inner {padding-left:40px;}
/* Homepage: edge-to-edge section backgrounds, generous interior text gutters. */
body.thr-unboxed .thr-home {width:100%!important;max-width:none!important;}
body.thr-unboxed .thr-home > section {width:100%;max-width:none;}
body.thr-unboxed .thr-home .thr-container {max-width:none!important;width:100%!important;padding-inline:40px!important;}
/* The previous home design uses a special Flatsome page template. */
body.thr-unboxed.thr-using-home #main > .page-wrapper > .row,
body.thr-unboxed.thr-using-home #main .page-wrapper > .container {width:100%!important;margin:0!important;}
body.thr-unboxed.thr-using-home #main .page-wrapper > .row > .col {padding:0!important;}
/* Header: break out of any constrained parent and fill the viewport even on inner pages. */
body.thr-unboxed .thr-site-header.thr-header-v4 {
  position:relative!important;
  width:100vw!important;
  max-width:100vw!important;
  min-width:0!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  margin:0!important;
  box-sizing:border-box!important;
  overflow:visible;
}
body.thr-unboxed .thr-header-v4 .thr-v4-utility,
body.thr-unboxed .thr-header-v4 .thr-v4-main {width:100%!important;max-width:none!important;}
body.thr-unboxed .thr-header-v4 .thr-v4-shell {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding-left:40px!important;
  padding-right:40px!important;
  margin:0 auto!important;
}
body.thr-unboxed .thr-header-v4 .thr-v4-main-inner {
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:30px!important;
  min-height:88px;
}
body.thr-unboxed .thr-header-v4 .thr-v4-logo {flex:0 0 auto!important;margin-right:auto!important;max-width:195px;}
body.thr-unboxed .thr-header-v4 .thr-v4-nav {
  flex:0 1 auto!important;
  min-width:0!important;
  margin-left:auto!important;
  gap:clamp(12px,1.5vw,25px)!important;
}
body.thr-unboxed .thr-header-v4 .thr-v4-nav > * {flex-shrink:0!important;}
body.thr-unboxed .thr-header-v4 .thr-v4-nav a,
body.thr-unboxed .thr-header-v4 .thr-v4-nav button {white-space:nowrap;}
/* Responsive collapse BEFORE logo and links can collide. */
@media (max-width:1399px) {
 body.thr-unboxed .thr-header-v4 .thr-v4-mobile-toggle {display:block!important;flex:0 0 auto;margin-left:auto!important;}
 body.thr-unboxed .thr-header-v4 .thr-v4-main-inner {flex-wrap:wrap!important;gap:0!important;}
 body.thr-unboxed .thr-header-v4 .thr-v4-nav {display:none!important;flex:0 0 100%!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:12px 0 22px!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;max-height:calc(100dvh - 105px);overflow-y:auto;}
 body.thr-unboxed .thr-header-v4 .thr-v4-nav.is-open {display:flex!important;}
 body.thr-unboxed .thr-header-v4 .thr-v4-nav > * {width:100%;}
 body.thr-unboxed .thr-header-v4 .thr-v4-nav a,
 body.thr-unboxed .thr-header-v4 .thr-v4-nav .thr-drop-toggle {display:flex!important;justify-content:space-between!important;align-items:center!important;min-height:44px;padding:13px 7px!important;font-size:14px!important;}
 body.thr-unboxed .thr-header-v4 .thr-dropdown {position:static!important;min-width:0!important;box-shadow:none!important;background:#34465c!important;}
 body.thr-unboxed .thr-header-v4 .thr-dropdown a {color:#fff!important;}
 body.thr-unboxed .thr-header-v4 .thr-v4-search {width:100%!important;flex:0 0 44px!important;}
 body.thr-unboxed .thr-header-v4 .thr-v4-search input[type=search] {position:static!important;width:100%!important;opacity:1!important;}
 body.thr-unboxed .thr-header-v4 .thr-v4-search button {position:absolute;right:4px;color:#243248!important;width:auto!important;}
 body.thr-unboxed .thr-header-v4 .thr-v4-contact {border:0;padding:12px 7px!important;}
}
@media (min-width:1400px) {
 body.thr-unboxed .thr-header-v4 .thr-v4-mobile-toggle {display:none!important;}
 body.thr-unboxed .thr-header-v4 .thr-v4-nav {display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;}
}
@media (max-width:767px) {
 body.thr-unboxed #main > .container,
 body.thr-unboxed #main > .container-width,
 body.thr-unboxed #main > .row,
 body.thr-unboxed #main > .page-wrapper > .row,
 body.thr-unboxed #main > .page-wrapper > .container,
 body.thr-unboxed #main .shop-container > .container,
 body.thr-unboxed #main .shop-page-title > .container,
 body.thr-unboxed #main .product-main > .row,
 body.thr-unboxed #main .product-main > .container,
 body.thr-unboxed #main .product-footer > .container,
 body.thr-unboxed #main .blog-wrapper > .row,
 body.thr-unboxed #main .blog-wrapper > .container,
 body.thr-unboxed #main .page-inner > .row {width:calc(100% - 32px)!important;}
 body.thr-unboxed .thrc .thrc-shell {width:calc(100% - 32px)!important;}
 body.thr-unboxed .thrc .thrc-breadcrumb {padding-inline:16px;}
 body.thr-unboxed .thrc .thrc-hero-inner {padding-left:16px;}
 body.thr-unboxed .thr-home .thr-container {padding-inline:16px!important;}
 body.thr-unboxed .thr-header-v4 .thr-v4-shell {padding-inline:18px!important;}
}
