/* NovaCommerce 432: header + cart layout stability */
@media (min-width:1025px) {
  body.nc-front-397.nc-theme-builder-402 .nc-header .nc-nav {
    display:grid!important;
    grid-template-columns:max-content minmax(170px,1fr) max-content max-content!important;
    grid-template-rows:minmax(52px,auto)!important;
    align-items:center!important;
    justify-content:stretch!important;
    column-gap:clamp(10px,1.1vw,22px)!important;
    row-gap:0!important;
    flex-wrap:nowrap!important;
    padding-top:0!important;
    padding-bottom:0!important;
  }
  body.nc-front-397 .nc-header .nc-nav>.nc-brand {
    grid-column:1!important;
    grid-row:1!important;
    justify-self:start!important;
    min-width:0!important;
    margin:0!important;
  }
  body.nc-front-397 .nc-header .nc-nav>.nc-search {
    display:flex!important;
    grid-column:2!important;
    grid-row:1!important;
    justify-self:stretch!important;
    width:100%!important;
    max-width:min(100%,var(--search-width,600px))!important;
    min-width:0!important;
    margin:0!important;
  }
  body.nc-front-397.nc-theme-builder-402:not(.h402-search-d) .nc-header .nc-nav>.nc-search {
    display:none!important;
  }
  body.nc-front-397 .nc-header .nc-nav>.h402-menu {
    grid-column:3!important;
    grid-row:1!important;
    justify-self:end!important;
    align-self:center!important;
    display:flex;
    min-width:0!important;
    width:max-content!important;
    max-width:100%!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
    overflow:visible!important;
    margin:0!important;
    padding:0!important;
    gap:clamp(8px,.85vw,17px)!important;
  }
  body.nc-front-397.nc-theme-builder-402:not(.h402-nav-d) .nc-header .nc-nav>.h402-menu {
    display:none!important;
  }
  body.nc-front-397 .nc-header .nc-nav>.nc431-header-cart {
    grid-column:4!important;
    grid-row:1!important;
    position:static!important;
    justify-self:end!important;
    align-self:center!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    width:max-content!important;
    min-width:104px!important;
    max-width:none!important;
    min-height:44px!important;
    margin:0!important;
    padding:9px 13px!important;
    border-radius:999px!important;
    white-space:nowrap!important;
    flex:0 0 auto!important;
  }
  body.nc-front-397 .nc-header .nc-nav>.nc-mobile-menu-btn,
  body.nc-front-397 .nc-header .nc-nav>.nc-mobile-cart {display:none!important}
}
@media (min-width:1025px) and (max-width:1230px) {
  body.nc-front-397 .nc-header .nc-nav>.h402-menu {gap:8px!important}
  body.nc-front-397 .nc-header .nc-nav>.h402-menu a {font-size:12px!important}
  body.nc-front-397 .nc-header .nc-nav>.nc431-header-cart {min-width:90px!important;padding-inline:10px!important}
}
@media (max-width:1024px) {
  body.nc-front-397 .nc-header .nc-nav>.nc431-header-cart {display:none!important}
}
body.nc-front-397 .t400-cart-qty,
body.nc-front-397 .t400-cart-qty * {box-sizing:border-box!important}
body.nc-front-397 .t400-cart-qty {min-width:0!important}
body.nc-front-397 .t400-cart-qty .t400-cart-update {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:92px!important;
  max-width:none!important;
  min-height:40px!important;
  padding:0 12px!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.2!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
@media (min-width:761px) {
  body.nc-front-397 .t400-cart-qty {
    display:grid!important;
    grid-template-columns:38px 54px 38px 100px!important;
    align-items:center!important;
    gap:6px!important;
    width:max-content!important;
    max-width:100%!important;
    margin-top:10px!important;
  }
  body.nc-front-397 .t400-cart-qty>button:not(.t400-cart-update) {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:38px!important;
    width:38px!important;
    height:40px!important;
    padding:0!important;
  }
  body.nc-front-397 .t400-cart-qty>input[name="quantity"] {
    min-width:54px!important;
    width:54px!important;
    max-width:54px!important;
    height:40px!important;
    padding:0 3px!important;
    text-align:center!important;
  }
}
@media (min-width:761px) and (max-width:1024px) {
  body.nc-front-397 .t400-cart-qty {grid-template-columns:36px 48px 36px 94px!important;gap:5px!important}
  body.nc-front-397 .t400-cart-qty>input[name="quantity"] {width:48px!important;min-width:48px!important;max-width:48px!important}
  body.nc-front-397 .t400-cart-qty .t400-cart-update {min-width:94px!important;padding-inline:8px!important}
}
@media (max-width:760px) {
  body.nc-front-397 .t400-cart-qty {
    display:grid!important;
    grid-template-columns:38px 46px 38px minmax(84px,1fr)!important;
    gap:5px!important;
    width:100%!important;
    max-width:100%!important;
    align-items:center!important;
  }
  body.nc-front-397 .t400-cart-qty>button:not(.t400-cart-update) {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:38px!important;
    width:38px!important;
    height:40px!important;
    padding:0!important;
  }
  body.nc-front-397 .t400-cart-qty>input[name="quantity"] {
    width:46px!important;
    min-width:46px!important;
    max-width:46px!important;
    height:40px!important;
    text-align:center!important;
    padding:0 2px!important;
  }
  body.nc-front-397 .t400-cart-qty>.t400-cart-update {
    width:100%!important;
    min-width:84px!important;
    max-width:100%!important;
    height:40px!important;
    padding-inline:6px!important;
    font-size:12px!important;
  }
}
@media (max-width:370px) {
  body.nc-front-397 .t400-cart-qty {
    grid-template-columns:repeat(3,38px)!important;
    grid-template-areas:"minus qty plus" "update update update"!important;
    width:100%!important;
    justify-content:start!important;
  }
  body.nc-front-397 .t400-cart-qty [data-t400-cart-minus] {grid-area:minus!important}
  body.nc-front-397 .t400-cart-qty>input[name="quantity"] {grid-area:qty!important;width:38px!important;min-width:38px!important;max-width:38px!important}
  body.nc-front-397 .t400-cart-qty [data-t400-cart-plus] {grid-area:plus!important}
  body.nc-front-397 .t400-cart-qty>.t400-cart-update {grid-area:update!important;width:100%!important;min-width:0!important}
}
