.category-slider-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 2.5rem auto;
  overflow: hidden;
  padding: 0.5rem 3rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.category-slider-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  align-items: center;
  touch-action: auto;
}
.category-slider-track {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  padding: 24px 0px;
}
.category-slider-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.category-slider-track::-webkit-scrollbar {
  display: none;
}

.category-card {
  flex: 0 0 auto;
  text-align: center;
  width: 180px;
}

.category-card img {
  width: 180px;
  height: 180px;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 12%;
  border: 3px solid #ddd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.category-card img:hover {
  transform: scale(1.05);
}

.category-card-title {
  margin-top: 0.5rem;
  font-size: 16px;
  color: #333;
}
.slider-arrow {
  position: absolute;
  top: 35%;
  color: #fff;
  border: none;
  padding: 0.4rem;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 1;
  border-radius: 4px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25); */
}
.slider-arrow.left {
  left: 0;
}

.slider-arrow.right {
  right: 0;
}
.slider-arrow svg {
  width: 40px;
  vertical-align: middle;
  height: 40px;
}
.banner-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 2.5rem auto;
  overflow: hidden;
  padding: 1.5rem 3rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.banner-title {
  font-size: 2.5rem;
  text-align: left;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
}
.banner-carousel-track {
  display: flex;
  gap: 2rem;
  align-items: center;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 3rem;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;
}
.banner-carousel-track::-webkit-scrollbar {
  display: none;
}
.banner-card {
  flex: 0 0 auto;
  width: 190px;
  text-align: center;
  transition: transform 0.3s ease;
}
.banner-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-card img:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.banner-card-title {
  margin-top: 0.75rem;
  font-size: clamp(1.3rem, 1.2vw + 0.5rem, 1.75rem);
  font-weight: 500;
  color: #2b2b2b;
}

.next-to-carousel-banners {
  margin-top: 0px !important;
}

.type-index .content-wrapper.hp-content > .next-to-carousel-banners {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  max-width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.type-index .next-to-carousel-banners.cols-2 > .col1,
.type-index .next-to-carousel-banners.cols-2 > .col2 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

.type-index .next-to-carousel-banners .category-grid-wrapper,
.type-index .next-to-carousel-banners .ahome-banner-grid {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.category-slider-title {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 0px;
  margin-top: 2.5rem;
}

/*mobil menu*/
@media (min-width: 768px) {
  #navigation {
    background: transparent !important;
  }

  .mobile-category-menu {
    display: none !important;
  }
}

@media (max-width: 767px) {
.mobile-category-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 24px 12px;
  background: linear-gradient(to top, #fadfcb 0%, #fbefe6 100%);
}

.mobile-category-card {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mobile-category-card .card-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.mobile-category-card .card-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.mobile-category-card .card-title {
  flex: 1;
  font-size: 14px;
  color: #333;
}

.mobile-category-card .card-arrow {
  width: 16px;
  height: 16px;
}

.mobile-category-section-title {
  grid-column: span 2;
  font-size: 22px;
  font-weight: 600;
  margin: 16px 0 8px;
  text-align: center;
  color: #333;
}
}

@media (max-width: 767px) {
  body.navigation-window-visible #navigation {
    background: #fff !important;
    overflow: visible !important;
  }

  body.navigation-window-visible
    .navigation-in:has(> .mobile-category-menu)
    > .menu-level-1.hu-mobile-native-menu {
    display: none !important;
  }

  body.navigation-window-visible .navigation-in .mobile-category-menu {
    display: grid !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .navigation-in {
    background: #fff !important;
  }
}

@media (max-width: 768px) {
  .banner-title {
    width: 100%;
    text-align: center;
  }
  .category-slider-container,
  .banner-carousel-container {
    padding: 0rem 1rem;
    margin: 1.2rem auto;
  }
  .next-to-carousel-banners {
    margin-top: 0px !important;
  }
  .category-slider-track,
  .banner-carousel-track {
    gap: 0.6rem;
    padding: 0.5rem 1rem 0.5rem 1rem;
    padding-right: 2rem;
  }

  .banner-title.category-slider-title {
    margin-top: 2rem;
  }

  .banner-title {
    margin: 0.75rem 0 0.4rem;
    font-size: 2.3rem;
    text-align: center;
  }

  .banner-card,
  .category-card {
    width: 130px;
  }

  .banner-card img,
  .category-card img {
    width: 110px;
    height: 110px;
  }

  .slider-arrow svg {
    width: 25px;
    height: 25px;
  }

  .slider-arrow {
    padding: 0.3rem;
    transform: unset !important;
  }
}
