/* Section wrapper */
.cat3-section {
  margin-bottom: 32px;
}
.cat3-swiper {
  padding: 8px 0 4px;
}

.cat3-swiper .swiper-button-prev,
.cat3-swiper .swiper-button-next {
  width: 28px;
  height: 28px;
  padding: 6px;
  background: var(--color-primary);
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  transition: all 0.2s ease;
}

.cat3-swiper .swiper-button-prev::after,
.cat3-swiper .swiper-button-next::after {
  font-size: 12px;
  font-weight: 600;
}

.cat3-swiper .swiper-button-prev:hover,
.cat3-swiper .swiper-button-next:hover {
  transform: translateY(-1px) scale(1.02);
  background: #111827;
}

/* Card */
.cat3-card {
  width: 132px;
  height: 150px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  text-align: center;
  text-decoration: none;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, background 0.18s ease;
}

.cat3-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  border-color: color-mix(in srgb, var(--color-primary) 55%, #e5e7eb);
}

/* Thumbnail wrapper */
.cat3-thumb {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
}

.cat3-thumb::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
}

.cat3-thumb-inner {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  overflow: hidden;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.cat3-card:hover .cat3-thumb-inner {
  transform: scale(1.06) translateY(-2px);
}

.cat3-thumb-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat3-name {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* --------- Responsive --------- */
@media (max-width: 992px) {
  .cat3-card {
    width: 120px;
    height: 140px;
  }
  .cat3-thumb {
    width: 78px;
    height: 78px;
  }
  .cat3-thumb-inner {
    width: 60px;
    height: 60px;
  }
  .cat3-name {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .cat3-card {
    width: 112px;
    height: 132px;
  }
  .cat3-thumb {
    width: 74px;
    height: 74px;
  }
  .cat3-thumb-inner {
    width: 56px;
    height: 56px;
  }
  .cat3-name {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .cat3-section {
    margin-bottom: 24px;
  }
  .cat3-swiper {
    padding-inline: 4px;
  }

  .cat3-card {
    width: 100px;
    height: 120px;
    padding: 10px 6px;
  }

  .cat3-thumb {
    width: 70px;
    height: 70px;
    margin-bottom: 8px;
  }

  .cat3-thumb-inner {
    width: 52px;
    height: 52px;
  }

  .cat3-name {
    font-size: 11px;
  }

  .cat3-swiper .swiper-button-prev,
  .cat3-swiper .swiper-button-next {
    width: 24px;
    height: 24px;
  }
}
