/* ------- Container ------- */
.all_catigories {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Fix gap between slides */
.all_catigories .swiper-slide {
  margin-left: 20px !important;
}

/* Make slides take full height */
.swiper-wrapper {
  align-items: stretch;
}

/* ------- Category Card ------- */
.category_content {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* Image */
.catigory_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.category_content:hover .catigory_img img {
  transform: scale(1.1);
}

/* ------- Text Overlay ------- */
.catigory_txt {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}

.light {
  
  .catigory_txt {
    background: rgb(255 255 255 / 50%);
  }


  .catigory_txt h3{
    color: var(--black);
  }
}

.dark {

  .catigory_txt {
    background: rgba(0, 0, 0, 0.5);
  }

  .catigory_txt h3{
    color: var(--white);
  }
}



.catigory_txt h3 {
  font-size: 32px;
  font-weight: 400;
  margin: 0;
  z-index: 5;
}

/* ------- Button ------- */
.catigory_txt .button {
  padding: 10px 40px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
  opacity: 0.9;
}

.catigory_txt .button:hover {
  opacity: 1;
}

/* ------- Navigation Buttons ------- */
.catigory .swiper-button-next,
.catigory .swiper-button-prev {
  background: var(--arrows-bg-color);
  border-radius: 50%;
  width: 43px;
  height: 43px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s ease;
}

.catigory .swiper-button-next {
  right: 20px;
}

.catigory .swiper-button-prev {
  left: 20px;
}

/* ------- Section Header ------- */
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--home-text-color-secondary);
}

.section-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted-color);
  margin: 0 auto;
  max-width: 70%;
}

/* ------- Responsive ------- */
@media (max-width: 768px) {
  .all_catigories .swiper-slide {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .catigory_txt h3 {
    font-size: 24px;
  }

  .catigory_txt .button {
    padding: 8px 20px;
    font-size: 14px;
  }

  .section-title {
    font-size: 20px;
  }

  .section-subtitle {
    font-size: 14px;
    max-width: 100%;
  }
}

.component_title {
  text-align: right;
  flex: 1;
}
.btns-cat {
  display: flex;
  gap: 10px;
}
.btns-cat div {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary-color-alt13);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
  color: var(--white-color);
  font-size: 1.25rem;
  background-color: #d9d9d966;
}

/* .light .btns-cat div{
  background: var(--secondary-color-alt13);
} */

/* .dark .btns-cat div{
  background: var(--secondary-color-alt13);
} */

.btns-cat div i{
  color: var(--text-color-primary-bg) !important;
}

.btns-cat div:hover {
  background: #ddd;
}

.catigory_img {
  width: 100%;
  aspect-ratio: 592 / 386;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}
.catigory_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.catigory_txt {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .component_title h1 {
    font-size: 20px !important;
  }
  .component_description {
    font-size: 16px !important;
    width: 100% !important;
  }
}
