/* Baldai Figma Core v2.4.2 — tik katalogo / kategorijų puslapių pataisos */
body.sbh-woo-design-active.post-type-archive-product,
body.sbh-woo-design-active.tax-product_cat,
body.sbh-woo-design-active.tax-product_tag {
  overflow-x: clip !important;
}

body.sbh-woo-design-active.post-type-archive-product .site-main,
body.sbh-woo-design-active.tax-product_cat .site-main,
body.sbh-woo-design-active.post-type-archive-product #primary,
body.sbh-woo-design-active.tax-product_cat #primary,
body.sbh-woo-design-active.post-type-archive-product .content-area,
body.sbh-woo-design-active.tax-product_cat .content-area {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  overflow: visible !important;
}

html body.sbh-woo-design-active .sbh-shop-page.sbh-shop-v22 {
  display: block !important;
  width: min(1344px, calc(100% - 48px)) !important;
  max-width: 1344px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: 36px 0 88px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
  overflow: visible !important;
}

html body .sbh-shop-v22 .sbh-shop-hero {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 52px !important;
  padding: 0 !important;
  text-align: center !important;
}

html body .sbh-shop-v22 .sbh-shop-hero h1 {
  margin: 0 0 14px !important;
  color: #2B2927 !important;
  font-size: 40px !important;
  line-height: 48px !important;
  font-weight: 800 !important;
}

html body .sbh-shop-v22 .sbh-shop-hero p {
  width: min(100%, 720px) !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  color: #2B2927 !important;
  font-size: 18px !important;
  line-height: 26px !important;
  font-weight: 400 !important;
}

html body .sbh-shop-v22 .sbh-shop-cat-strip {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 150px)) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: 22px !important;
  width: 100% !important;
  max-width: 1030px !important;
  margin: 42px auto 0 !important;
  padding: 0 !important;
}

html body .sbh-shop-v22 .sbh-shop-cat-tile {
  display: block !important;
  width: 150px !important;
  min-width: 0 !important;
  color: #2B2927 !important;
  text-decoration: none !important;
}

html body .sbh-shop-v22 .sbh-shop-cat-tile > span {
  display: block !important;
  width: 150px !important;
  height: 150px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #F4F2EF !important;
  overflow: hidden !important;
}

html body .sbh-shop-v22 .sbh-shop-cat-tile img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: scale(1.08) !important;
  transform-origin: center !important;
}

html body .sbh-shop-v22 .sbh-shop-cat-tile strong {
  display: block !important;
  margin: 12px 0 0 !important;
  color: #2B2927 !important;
  font-size: 15px !important;
  line-height: 21px !important;
  font-weight: 500 !important;
  text-align: left !important;
}

html body .sbh-shop-v22 .sbh-shop-layout {
  display: grid !important;
  grid-template-columns: 292px minmax(0, 1fr) !important;
  gap: 44px !important;
  align-items: start !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .sbh-shop-v22 .sbh-shop-filter,
html body .sbh-shop-v22 .sbh-shop-results,
html body .sbh-shop-v22 .sbh-shop-grid,
html body .sbh-shop-v22 .sbh-shop-grid-item {
  min-width: 0 !important;
}

html body .sbh-shop-v22 .sbh-shop-filter {
  position: sticky !important;
  top: 20px !important;
  width: 292px !important;
  max-width: 292px !important;
}

html body .sbh-shop-v22 .sbh-filter-head {
  min-height: 46px !important;
  margin: 0 0 8px !important;
}

html body .sbh-shop-v22 .sbh-filter-head strong {
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 800 !important;
}

html body .sbh-shop-v22 .sbh-filter-group {
  padding: 18px 0 !important;
  border-bottom: 1px solid #E8E5E2 !important;
}

html body .sbh-shop-v22 .sbh-filter-group > .sbh-filter-toggle {
  min-height: 28px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #2B2927 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
  text-align: left !important;
}

html body .sbh-shop-v22 .sbh-filter-group > .sbh-filter-toggle:hover {
  background: transparent !important;
  color: #2B2927 !important;
}

html body .sbh-shop-v22 .sbh-filter-body {
  gap: 12px !important;
  margin-top: 16px !important;
}

html body .sbh-shop-v22 .sbh-filter-body label {
  min-height: 28px !important;
  margin: 0 !important;
  color: #2B2927 !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
}

html body .sbh-shop-v22 .sbh-filter-body input[type="checkbox"] {
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  margin: 0 !important;
}

html body .sbh-shop-v22 .sbh-price-inputs {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: center !important;
  width: 100% !important;
}

html body .sbh-shop-v22 .sbh-price-inputs input {
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 12px !important;
  border: 1px solid #C8C4BF !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #2B2927 !important;
  font-size: 14px !important;
}

html body .sbh-shop-v22 .sbh-filter-submit {
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 20px 0 0 !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #E38130 !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

html body .sbh-shop-v22 .sbh-shop-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 22px !important;
}

html body .sbh-shop-v22 .sbh-shop-toolbar-left {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-width: 0 !important;
}

html body .sbh-shop-v22 .sbh-sort-form {
  display: grid !important;
  grid-template-columns: auto 240px !important;
  gap: 12px !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}

html body .sbh-shop-v22 .sbh-sort-form label {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
}

html body .sbh-shop-v22 .sbh-sort-form select {
  width: 240px !important;
  min-width: 240px !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
}

html body .sbh-shop-v22 .sbh-shop-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 62px 24px !important;
  width: 100% !important;
  max-width: 100% !important;
}

html body .sbh-shop-v22 .sbh-card-image {
  height: 330px !important;
  min-height: 330px !important;
}

html body .sbh-shop-v22 .sbh-promo-card {
  min-height: 430px !important;
  height: 100% !important;
  align-self: stretch !important;
}

/* Paieškos komponentas negali išplėsti atskiro Elementor headerio už ekrano. */
.sb-header-main-row .sb-header-search {
  min-width: 0 !important;
}
.sb-header-main-row .sb-header-search .sbh-live-search,
.sb-header-main-row .sb-header-search .sbh-live-search-form,
.sb-header-main-row .sb-header-search .sbh-live-search-input {
  min-width: 0 !important;
  max-width: 100% !important;
}

@media (min-width: 1025px) and (max-width: 1540px) {
  .sb-header-main-row .sb-header-search {
    width: auto !important;
    max-width: clamp(340px, 40vw, 560px) !important;
    flex: 1 1 clamp(340px, 40vw, 560px) !important;
  }

  html body.sbh-woo-design-active .sbh-shop-page.sbh-shop-v22 {
    width: min(1344px, calc(100% - 48px)) !important;
  }

  html body .sbh-shop-v22 .sbh-shop-layout {
    grid-template-columns: 270px minmax(0, 1fr) !important;
    gap: 32px !important;
  }

  html body .sbh-shop-v22 .sbh-shop-filter {
    width: 270px !important;
    max-width: 270px !important;
  }

  html body .sbh-shop-v22 .sbh-card-image {
    height: 300px !important;
    min-height: 300px !important;
  }
}

@media (max-width: 1100px) {
  html body.sbh-woo-design-active .sbh-shop-page.sbh-shop-v22 {
    width: calc(100% - 32px) !important;
    padding-top: 28px !important;
  }

  html body .sbh-shop-v22 .sbh-shop-cat-strip {
    grid-template-columns: repeat(3, minmax(0, 150px)) !important;
  }

  html body .sbh-shop-v22 .sbh-shop-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  html body .sbh-shop-v22 .sbh-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body .sbh-shop-v22 .sbh-shop-toolbar {
    align-items: flex-end !important;
  }

  html body .sbh-shop-v22 .sbh-shop-filter {
    width: 400px !important;
    max-width: calc(100vw - 28px) !important;
  }
}

@media (max-width: 767px) {
  html body .sbh-shop-v22 .sbh-shop-hero {
    margin-bottom: 36px !important;
    text-align: left !important;
  }

  html body .sbh-shop-v22 .sbh-shop-hero h1 {
    font-size: 30px !important;
    line-height: 38px !important;
  }

  html body .sbh-shop-v22 .sbh-shop-hero p {
    margin-left: 0 !important;
    font-size: 16px !important;
    line-height: 24px !important;
  }

  html body .sbh-shop-v22 .sbh-shop-cat-strip {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    max-width: none !important;
    margin-top: 28px !important;
    overflow-x: auto !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: none !important;
  }

  html body .sbh-shop-v22 .sbh-shop-cat-strip::-webkit-scrollbar {
    display: none !important;
  }

  html body .sbh-shop-v22 .sbh-shop-cat-tile {
    flex: 0 0 132px !important;
    width: 132px !important;
    scroll-snap-align: start !important;
  }

  html body .sbh-shop-v22 .sbh-shop-cat-tile > span {
    width: 132px !important;
    height: 132px !important;
  }

  html body .sbh-shop-v22 .sbh-shop-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  html body .sbh-shop-v22 .sbh-shop-toolbar-left {
    justify-content: space-between !important;
  }

  html body .sbh-shop-v22 .sbh-sort-form {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  html body .sbh-shop-v22 .sbh-sort-form select {
    width: 100% !important;
    min-width: 0 !important;
  }

  html body .sbh-shop-v22 .sbh-shop-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 42px !important;
  }

  html body .sbh-shop-v22 .sbh-card-image {
    height: 340px !important;
    min-height: 340px !important;
  }
}


/* v2.4.3 – category SEO content */
html body .sbh-category-seo{
  width:min(100%,1344px)!important;
  margin:72px auto 0!important;
  padding:48px 56px!important;
  border-radius:4px!important;
  background:#F4F2EF!important;
  color:#2B2927!important;
}
html body .sbh-category-seo h2{
  margin:0 0 18px!important;
  font-size:28px!important;
  line-height:1.25!important;
  font-weight:800!important;
}
html body .sbh-category-seo-content{
  max-width:980px!important;
  font-size:16px!important;
  line-height:1.65!important;
}
html body .sbh-category-seo-content p{margin:0!important;}
@media(max-width:1380px){html body .sbh-category-seo{width:calc(100% - 96px)!important;}}
@media(max-width:767px){html body .sbh-category-seo{width:calc(100% - 32px)!important;margin-top:48px!important;padding:28px 22px!important;}html body .sbh-category-seo h2{font-size:24px!important;}}
