/* Keep rollout content wrappers from overriding the original category design. */
.tax-product_cat #products-section-products-column .zc-toolbar,
.single-et_body_layout #products-section-products-column .zc-toolbar {
  min-height: 0 !important;
  background: #fff !important;
}

.tax-product_cat .zc-category-promo .second-section-new span,
.single-et_body_layout .zc-category-promo .second-section-new span {
  letter-spacing: 0;
}

.tax-product_cat .zc-category-promo .promo-banner-title,
.single-et_body_layout .zc-category-promo .promo-banner-title {
  max-width: 720px;
}

.tax-product_cat .zc-category-seo-content,
.single-et_body_layout .zc-category-seo-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 34px;
  border: 1px solid rgba(18, 54, 66, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 54, 66, 0.07);
}

.tax-product_cat .zc-category-seo-content .zc-category-seo-copy,
.single-et_body_layout .zc-category-seo-content .zc-category-seo-copy {
  color: #314d56;
  font-size: 16px;
  line-height: 1.78;
}

.tax-product_cat .zc-category-seo-content h2,
.single-et_body_layout .zc-category-seo-content h2 {
  color: #219ebc;
  font-size: 28px;
  line-height: 1.22;
  margin: 30px 0 12px;
}

.tax-product_cat .zc-category-seo-content h3,
.single-et_body_layout .zc-category-seo-content h3 {
  color: #123642;
  font-size: 22px;
  line-height: 1.28;
  margin: 24px 0 10px;
}

.tax-product_cat .zc-category-seo-content h2:first-child,
.single-et_body_layout .zc-category-seo-content h2:first-child {
  margin-top: 0;
}

.tax-product_cat .zc-category-seo-content p,
.single-et_body_layout .zc-category-seo-content p {
  margin: 0 0 16px;
}

.tax-product_cat .zc-category-seo-content p:last-child,
.single-et_body_layout .zc-category-seo-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .tax-product_cat .zc-category-seo-content h2,
  .single-et_body_layout .zc-category-seo-content h2 {
    font-size: 24px;
  }

  .tax-product_cat .zc-category-seo-content,
  .single-et_body_layout .zc-category-seo-content {
    padding: 24px 20px;
  }
}

/* Generated category image crop and card polish. */
.tax-product_cat .cat-hero-image-container img,
.single-et_body_layout .cat-hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--zc-category-hero-focus, center center);
}

.tax-product_cat .cat-hero-image-container img[src*="kucheta-suhi-hrani-01-hero.webp"],
.single-et_body_layout .cat-hero-image-container img[src*="kucheta-suhi-hrani-01-hero.webp"] {
  --zc-category-hero-focus: left center;
}

.tax-product_cat .zc-category-related-cards .cat-info-container2,
.single-et_body_layout .zc-category-related-cards .cat-info-container2 {
  align-items: flex-start;
}

.tax-product_cat .zc-category-related-cards .cat-info-card,
.single-et_body_layout .zc-category-related-cards .cat-info-card {
  align-items: flex-start;
  text-align: left;
}

.tax-product_cat .zc-category-related-cards .cat-info-card img,
.single-et_body_layout .zc-category-related-cards .cat-info-card img {
  display: block;
  width: 100%;
  height: clamp(180px, 10.6vw, 215px);
  margin: 0 0 18px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center center;
}

.tax-product_cat .zc-category-related-cards .cat-info-card h3,
.single-et_body_layout .zc-category-related-cards .cat-info-card h3 {
  color: #219ebc;
  font-size: clamp(20px, 1.2vw, 24px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0;
  text-align: left;
  padding: 0 0 8px;
  margin: 0;
}

.tax-product_cat .zc-category-related-cards .cat-info-card p,
.single-et_body_layout .zc-category-related-cards .cat-info-card p {
  width: 100%;
  margin: 0;
  color: #314d56;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.tax-product_cat .zc-category-promo .second-section-image-1,
.single-et_body_layout .zc-category-promo .second-section-image-1 {
  overflow: hidden;
}

.tax-product_cat .zc-category-promo .second-section-image-1 img,
.single-et_body_layout .zc-category-promo .second-section-image-1 img {
  object-fit: cover;
  object-position: center center;
}

.tax-product_cat .zc-category-promo .second-section-imae-2 img,
.single-et_body_layout .zc-category-promo .second-section-imae-2 img {
  object-position: var(--zc-category-promo-arch-focus, center center);
}

.tax-product_cat .zc-category-promo img[src*="-07-alt.webp"],
.single-et_body_layout .zc-category-promo img[src*="-07-alt.webp"] {
  --zc-category-promo-arch-focus: center center;
}

@media (min-width: 981px) {
  .tax-product_cat .cat-hero-image-container,
  .single-et_body_layout .cat-hero-image-container {
    height: 500px;
  }

  .tax-product_cat .cat-hero-image-container img,
  .single-et_body_layout .cat-hero-image-container img {
    min-height: 500px;
  }
}

@media (max-width: 980px) {
  .tax-product_cat .zc-category-related-cards .cat-info-card img,
  .single-et_body_layout .zc-category-related-cards .cat-info-card img {
    height: clamp(180px, 27vw, 230px);
  }
}

@media (max-width: 767px) {
  .tax-product_cat .zc-category-related-cards .cat-info-card img,
  .single-et_body_layout .zc-category-related-cards .cat-info-card img {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .tax-product_cat .zc-category-related-cards .cat-info-card h3,
  .single-et_body_layout .zc-category-related-cards .cat-info-card h3 {
    font-size: 22px;
  }

  .tax-product_cat .zc-category-promo,
  .single-et_body_layout .zc-category-promo {
    overflow: hidden;
  }

  .tax-product_cat .zc-category-promo .second-section-images,
  .single-et_body_layout .zc-category-promo .second-section-images {
    display: block !important;
    position: relative;
    isolation: isolate;
    width: calc(100% - 20px);
    max-width: none;
    height: 222px;
    margin: 22px 10px -18px;
  }

  .tax-product_cat .zc-category-promo .second-section-image-1,
  .single-et_body_layout .zc-category-promo .second-section-image-1 {
    position: absolute;
    left: 0;
    bottom: 30px;
    z-index: 3;
    width: 146px;
    height: 146px !important;
    padding: 7px;
    border: 6px solid #fff;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(7, 59, 70, 0.24);
  }

  .tax-product_cat .zc-category-promo .second-section-imae-2,
  .single-et_body_layout .zc-category-promo .second-section-imae-2 {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 268px;
    height: 198px;
    max-height: none;
    border-radius: 38px 0 0 76px;
    overflow: hidden;
  }

  .tax-product_cat .zc-category-promo .second-section-image-1 img,
  .tax-product_cat .zc-category-promo .second-section-imae-2 img,
  .single-et_body_layout .zc-category-promo .second-section-image-1 img,
  .single-et_body_layout .zc-category-promo .second-section-imae-2 img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .tax-product_cat .zc-category-promo .second-section-image-1 img,
  .single-et_body_layout .zc-category-promo .second-section-image-1 img {
    border-radius: 50%;
  }

  .tax-product_cat .zc-category-promo .second-section-imae-2 img,
  .single-et_body_layout .zc-category-promo .second-section-imae-2 img {
    border-radius: inherit;
  }
}

/* Mobile/tablet alignment for category hero content and catalogue controls. */
@media (max-width: 980px) {
  body.tax-product_cat #category-hero-section .cat-hero-text {
    align-items: flex-start;
    text-align: left;
  }

  body.tax-product_cat #category-hero-section .cat-hero-links {
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
  }

  body.tax-product_cat #category-hero-section h1.cat-hero-title,
  body.tax-product_cat .zc-category-intro,
  body.tax-product_cat .zc-category-intro p {
    text-align: left !important;
  }

  body.tax-product_cat #category-hero-section .cat-hero-button {
    align-self: flex-start;
  }

}
