.catigory {
  padding-block: 36px;
  overflow: hidden;
  background: transparent;
}

.catigory .shared_header {
  align-items: flex-end;
  margin-bottom: 18px;
}

.catigory .component_title {
  min-width: 0;
  gap: 6px;
}

.catigory .component_title h2 {
  margin: 0;
  color: var(--category-heading-color, var(--text-color-primary-bg, #111));
  font-size: clamp(1.25rem, 1.16rem + 0.38vw, 1.5rem);
  font-weight: var(--font-weight-bold, 700);
  line-height: 1.3;
}

.catigory .component_description {
  width: min(100%, 560px);
  color: var(--text-color-primary-bg, #111);
  font-size: clamp(0.9375rem, 0.9rem + 0.16vw, 1.0625rem);
  line-height: 1.5;
}

.catigory .btns-cat {
  flex: 0 0 auto;
  gap: 8px;
}

.catigory .nav-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--text-color-primary-bg, #111) 10%, transparent);
  border-radius: 50%;
  background: var(--secondary-color-alt15, rgb(217 217 217 / 40%));
  color: var(--text-color-primary-bg, #111);
  font-size: 0.875rem;
  transition: background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.catigory .nav-btn:hover:not(.swiper-button-disabled) {
  background: var(--secondary-color-hover-alt15, rgb(217 217 217 / 80%));
  transform: translateY(-1px);
}

.catigory .nav-btn:focus-visible,
.catigory .btn-shop:focus-visible {
  outline: 3px solid #fff;
  outline: 3px solid color-mix(in srgb, var(--primary-color, #ecb365) 65%, #fff);
  outline-offset: 3px;
}

.catigory .nav-btn.swiper-button-disabled {
  cursor: default;
  opacity: 0.38;
}

[dir="ltr"] .catigory .nav-btn i {
  transform: rotate(180deg);
}

.catigory .all_catigories {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.catigory .swiper-wrapper {
  align-items: stretch;
}

.catigory .category_content {
  position: relative;
  height: auto;
  aspect-ratio: 592 / 386;
  overflow: hidden;
  border-radius: 6px;
  background: var(--secondary-color-alt2, #efefef);
}

.catigory .catigory_img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.catigory .catigory_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

@media (hover: hover) {
  .catigory .category_content:hover .catigory_img img {
    transform: scale(1.045);
  }
}

.catigory .catigory_txt {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 36%;
  gap: 16px;
  padding: 42px 20px 18px;
  background: linear-gradient(to top, rgb(0 0 0 / 82%) 0%, rgb(0 0 0 / 56%) 58%, transparent 100%);
  color: var(--header-text-color-primary-bg-dark, #fff);
}

.catigory .catigory_txt h3 {
  min-width: 0;
  margin: 0;
  color: inherit;
  font-size: clamp(1.25rem, 1.08rem + 0.7vw, 1.625rem);
  font-weight: var(--font-weight-semibold, 600);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.catigory .btn-shop {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 24px;
  border-radius: 8px;
  background: var(--category-btn-bg, var(--primary-color, #ecb365));
  color: var(--category-btn-color, #064663);
  font-size: 0.9375rem;
  font-weight: var(--font-weight-bold, 700);
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 180ms ease, transform 180ms ease;
}

.catigory .btn-shop:hover {
  color: var(--category-btn-color, #064663);
  text-decoration: none;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

@media (max-width: 767.98px) {
  .catigory {
    padding-block: 28px;
  }

  .catigory .shared_header {
    align-items: center;
    margin-bottom: 14px;
  }

  .catigory .component_title {
    gap: 4px;
  }

  .catigory .component_title h2 {
    font-size: 1.25rem;
  }

  .catigory .component_description {
    width: 100%;
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .catigory .nav-btn {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
  }

  .catigory .catigory_txt {
    min-height: 38%;
    gap: 10px;
    padding: 36px 14px 13px;
  }

  .catigory .catigory_txt h3 {
    font-size: 1.25rem;
  }

  .catigory .btn-shop {
    min-height: 38px;
    padding: 8px 18px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 380px) {
  .catigory .catigory_txt {
    padding-inline: 12px;
  }

  .catigory .btn-shop {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catigory .catigory_img img,
  .catigory .nav-btn,
  .catigory .btn-shop {
    transition: none;
  }
}
