/* CrazyTatry homepage merchandising — hero categories, compact carousel rails */
body.in-index .hero-left.ct-hero-categories-shell {
  display: flex;
  position: relative;
  overflow: hidden;
  min-width: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(134, 115, 179, .34), transparent 48%),
    linear-gradient(145deg, #261f31 0%, #17131d 100%);
}

body.in-index .hero-left.ct-hero-categories-shell .hero-left-slide {
  display: none !important;
}

body.in-index .ct-hero-categories {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  height: 100%;
}

body.in-index .ct-hero-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding: 20px 26px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  background: transparent;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.015em;
  text-decoration: none;
  transition: background-color .2s ease, padding-left .2s ease, color .2s ease;
}

body.in-index .ct-hero-category:last-child {
  border-bottom: 0;
}

body.in-index .ct-hero-category::after {
  content: "→";
  flex: 0 0 auto;
  color: #b8a8de;
  font-size: 1.25em;
  line-height: 1;
  transition: transform .2s ease, color .2s ease;
}

body.in-index .ct-hero-category:hover,
body.in-index .ct-hero-category:focus-visible {
  color: #fff;
  background: #755fa6;
  padding-left: 32px;
  text-decoration: none;
}

body.in-index .ct-hero-category:hover::after,
body.in-index .ct-hero-category:focus-visible::after {
  color: #fff;
  transform: translateX(4px);
}

body.in-index .ct-hero-category:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}

/* Turn carousel dots into a compact, full-width progress rail. */
body.in-index .product-slider-holder.has-navigation {
  padding-bottom: 4px !important;
  margin-bottom: 16px !important;
}

body.in-index .product-slider-holder .product-slider-pagination {
  position: static !important;
  display: flex !important;
  align-items: center;
  gap: 3px;
  width: 100% !important;
  max-width: none !important;
  height: 5px;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  transform: none !important;
}

body.in-index .product-slider-holder .product-slider-pagination .pagination-button {
  flex: 1 1 0;
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  height: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: transparent !important;
  background: #ddd9e4 !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  opacity: 1 !important;
  transition: background-color .2s ease;
}

body.in-index .product-slider-holder .product-slider-pagination .pagination-button.active {
  background: #8673b3 !important;
}

body.in-index .product-slider-holder .product-slider-pagination .pagination-button:focus-visible {
  outline: 2px solid #67538f;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  body.in-index .hero-row {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.in-index .hero-row .hero-left.ct-hero-categories-shell {
    display: flex !important;
    order: 1;
    width: 100% !important;
    min-width: 0;
    height: 92px;
    min-height: 92px;
    flex: 0 0 92px;
  }

  body.in-index .hero-row .hero-right {
    order: 2;
    width: 100% !important;
    min-width: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.in-index .hero-row .hero-right .carousel {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.in-index .ct-hero-categories {
    grid-template-rows: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: 92px;
  }

  body.in-index .ct-hero-category {
    justify-content: center;
    gap: 7px;
    padding: 12px 8px;
    border-right: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 0;
    font-size: clamp(10px, 3vw, 13px);
    text-align: center;
  }

  body.in-index .ct-hero-category:last-child {
    border-right: 0;
  }

  body.in-index .ct-hero-category::after {
    font-size: 1em;
  }

  body.in-index .ct-hero-category:hover,
  body.in-index .ct-hero-category:focus-visible {
    padding-left: 8px;
  }

  body.in-index .product-slider-holder.has-navigation {
    padding-bottom: 2px !important;
    margin-bottom: 12px !important;
  }

  body.in-index .product-slider-holder .product-slider-pagination {
    gap: 2px;
    height: 4px;
    margin-top: 6px !important;
  }

  body.in-index .product-slider-holder .product-slider-pagination .pagination-button {
    height: 4px !important;
  }
}
