:root {
  --xcat-sand: #f4d8a4;
  --xcat-hero-image: url("https://www.xcarp.sk/user/documents/upload/hero-banner-home-page.jpg");
  --xcat-hero-height: 610px;
  --xcat-hero-position: center center;
  --xcat-hero-position-mobile: 75% center;
}

/* OBRÁZKY PODĽA KATEGÓRIE */

body.type-category.in-rybarske-potreby-podla-znacky {
  --xcat-hero-image: url(""https://www.xcarp.sk/user/documents/upload/hero-rybarske-default.jpg");
  --xcat-hero-position: center center;
  --xcat-hero-position-mobile: 75% center;
}

body.type-category.in-rybarske-stolicky {
  --xcat-hero-image: url("https://www.xcarp.sk/user/documents/upload/hero-rybarske-stolicky.jpg");
  --xcat-hero-position: center center;
  --xcat-hero-position-mobile: 82% center;
}

body.type-category.in-boilies {
  --xcat-hero-image: url("https://www.xcarp.sk/user/documents/upload/hero-boilies.jpg");
  --xcat-hero-position: center center;
  --xcat-hero-position-mobile: 35% center;
}

html,
body {
  overflow-x: hidden !important;
}

.type-category .content-wrapper,
.type-category .content-wrapper-in,
.type-category .content-inner,
.type-category .content,
.type-category .columns,
.type-category .row {
  overflow: visible !important;
}

/* HERO HNEĎ POD MENU */

.type-category .category-top {
  position: relative;
  width: auto !important;
  max-width: none !important;
  margin: 0 0 40px !important;
  padding: 0 0 34px !important;
  overflow: visible;
  isolation: isolate;
}

.type-category .category-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  height: var(--xcat-hero-height);
  z-index: 1;
  background-image: var(--xcat-hero-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.type-category .category-top::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  height: var(--xcat-hero-height);
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(8, 12, 10, 0.72) 0%,
      rgba(8, 12, 10, 0.52) 30%,
      rgba(8, 12, 10, 0.22) 55%,
      rgba(8, 12, 10, 0.04) 78%,
      rgba(8, 12, 10, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 12, 10, 0) 62%,
      rgba(8, 12, 10, 0.62) 100%
    );
}

/* BREADCRUMBS V HERO */

.type-category .breadcrumbs.navigation-home-icon-wrapper {
  position: absolute !important;
  z-index: 10;
  margin: 0 !important;
  padding: 0 !important;
  top: 200px;
  left: max(20px, calc((100vw - 1320px) / 2));
  color: rgba(255,255,255,.78) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);background-color:transparent !important;
}

.type-category .breadcrumbs.navigation-home-icon-wrapper a,
.type-category .breadcrumbs.navigation-home-icon-wrapper span {
  color: rgba(255,255,255,.78) !important;
  text-decoration: none;
}

.type-category .breadcrumbs.navigation-home-icon-wrapper [data-testid="breadcrumbsLastLevel"] span,
.type-category .breadcrumbs.navigation-home-icon-wrapper #navigation-2 span {
  color: var(--xcat-sand) !important;
}

.type-category .breadcrumbs.navigation-home-icon-wrapper .navigation-bullet {
  margin: 0 8px;
  color: rgba(255,255,255,.55) !important;
}

/* NADPIS */

.type-category .category-top .category-title {
  position: relative;
  z-index: 3;
  max-width: 980px;
  margin: 0 !important;
  padding-top: 190px;
  color: #ffffff;
  font-size: clamp(42px, 5vw, 40px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.055em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.48);
}

/* PEREX */

.type-category .category-top .category-perex {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin-top: 24px;
  color: #ffffff;
  min-height: 445px;
}

.type-category .category-top .category-perex p {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 16px;
  line-height: 1.38;
  font-weight: 600;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

.type-category .category-top .category-perex strong {
  color: #ffffff;
  font-weight: 900;
}

.type-category .category-top .category-perex a {
  color: var(--xcat-sand);
  font-weight: 900;
}

/* DLAŽDICE A PRODUKTY OSTÁVAJÚ V HLAVNOM BLOKU */

.type-category .category-top .subcategories,
.type-category .category-top .products-top-wrapper {
  position: relative;
  z-index: 4;
  clear: both;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* MOBIL */

@media (max-width: 768px) {
  :root {
    --xcat-hero-height: 560px;
  }

  .type-category .category-top {
    padding-bottom: 28px !important;
  }

  .type-category .category-top::before {
    background-position: 75% center;
  }

  .type-category .breadcrumbs.navigation-home-icon-wrapper {
    top: 100px;
    left: 20px;
    right: 20px;
    font-size: 13px;
  }

  .type-category .category-top .category-title {
    max-width: calc(100% - 48px);
    padding-top: 150px;
    font-size: 40px;
  }

  .type-category .category-top .category-perex {
    max-width: calc(100% - 48px);
    margin-top: 20px;
    min-height: 445px !important;
  }

  .type-category .category-top .category-perex p {
    font-size: 16px;
    line-height: 1.45;
  }
}

/* MALÉ MOBILY */

@media (max-width: 420px) {
  :root {
    --xcat-hero-height: 590px;
  }

  .type-category .breadcrumbs.navigation-home-icon-wrapper {
    top: 100px;
  }

  .type-category .category-top .category-title {
    padding-top: 130px;
    font-size: 34px;
  }

  .type-category .category-top .category-perex {
    min-height: 480px !important;
  }
}
@media (min-width: 768px) {
   .type-category #content {
        padding-top: 0px;
    }
}