.category-item {
  max-width: 100%;
  margin: 48px auto 0;
  padding: 0 64px;
}

.category-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.category-item__header h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
}

.category-item__nav {
  display: flex;
  gap: 8px;
}

.category-item__nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #2b2b2b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.category-item__nav svg {
  width: 16px;
  height: 16px;
}

.category-item__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.category-item__card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.category-item__image {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: 12px;
  background: #f0eee9;
  overflow: hidden;
}

.category-item__image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-item__wish {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: #2b2b2b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.category-item__wish svg {
  width: 16px;
  height: 16px;
}

.category-item__info {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-item__name {
  font-size: 15px;
  color: #2b2b2b;
}

.category-item__price {
  font-size: 15px;
  font-weight: 700;
  color: #2b2b2b;
}

.category-item__zoom {
  margin-top: 4px;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
}

.category-item__zoom svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 860px) {
  .category-item {
    padding: 0 20px;
  }

  .category-item__header h2 {
    font-size: 22px;
  }

  .category-item__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    gap: 14px;
  }

  .category-item__grid::-webkit-scrollbar {
    display: none;
  }

  .category-item__grid .category-item__card {
    flex: 0 0 44vw;
  }
}
