@charset "utf-8";

.category-product-page {
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
}

.category-product-page .contents {
  width: 1200px;
  max-width: calc(100% - 30px);
  margin: 0 auto;
  padding: 0 0 80px;
}

.category-product-page .heading-lv1 {
  padding: 46px 0 35px;
  text-align: center;
}

.category-product-page .heading_title {
  margin: 0;
  color: #111;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.category-product-page .item-list-area {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 52px 34px;
}

.category-product-page .item-column {
  min-width: 0;
}

.category-product-page .item-box {
  position: relative;
}

.category-product-page .slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 274 / 346;
}

.category-product-page .slider-track {
  display: flex;
  direction: ltr;
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.category-product-page .slider-track > .item {
  flex: 0 0 100%;
  width: 100%;
}

.category-product-page .model-image {
  position: relative;
  width: 100%;
  aspect-ratio: 274 / 274;
  background: #fff;
}

.category-product-page .model-image a,
.category-product-page .slider-thumb .model-image,
.category-product-page .model-image img {
  display: block;
}

.category-product-page .model-image img {
  position: absolute;
  inset: 0;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
}

.category-product-page .detail-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.82);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.category-product-page .model-image a:hover .detail-wrap,
.category-product-page .model-image a:focus-visible .detail-wrap {
  opacity: 1;
}

.category-product-page .item-btn {
  min-width: 96px;
  margin: 0;
  padding: 11px 18px;
  border: 1px solid #111;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.category-product-page .model-num {
  margin: 14px 0 0;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.category-product-page .slider-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.category-product-page .thumb-list {
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  transition: transform 0.35s ease;
  will-change: transform;
}

.category-product-page .thumb-viewport {
  overflow: hidden;
  width: 156px;
}

.category-product-page .slider-thumb .item {
  flex: 0 0 48px;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: #fff;
  cursor: pointer;
  opacity: .7;
}

.category-product-page .slider-thumb .item.slick-current {
  border: none;
  opacity: 1;
}

.category-product-page .slider-thumb .model-image {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.category-product-page .slider-thumb .model-image img {
  max-width: calc(100% - 4px);
  max-height: calc(100% - 4px);
}

.category-product-page .slick-prev,
.category-product-page .slick-next {
  overflow: hidden;
  position: relative;
  width: 22px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

.category-product-page .slick-prev::before,
.category-product-page .slick-next::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid #111;
  border-left: 2px solid #111;
}

.category-product-page .slick-prev::before {
  left: 7px;
  transform: translateY(-50%) rotate(135deg);
}

.category-product-page .slick-next::before {
  right: 7px;
  transform: translateY(-50%) rotate(-45deg);
}

.category-product-page .slider-thumb.type-fix {
  gap: 0;
}

.category-product-page .empty-message {
  grid-column: 1 / -1;
  margin: 30px 0 0;
  color: #666;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 980px) {
  .category-product-page .item-list-area {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .category-product-page .contents {
    width: calc(100% - 30px);
    max-width: none;
    padding-bottom: 45px;
  }

  .category-product-page .heading-lv1 {
    padding: 33px 0 28px;
  }

  .category-product-page .heading_title {
    font-size: 23px;
  }

  .category-product-page .item-list-area {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 20px;
  }

  .category-product-page .slider {
    aspect-ratio: 1 / 1.36;
  }

  .category-product-page .model-num {
    min-height: 36px;
  }

  .category-product-page .slider-thumb {
    margin-top: 8px;
  }

  .category-product-page .slider-thumb .item {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .category-product-page .thumb-list {
    gap: 6px;
  }

  .category-product-page .thumb-viewport {
    width: 126px;
  }

  .category-product-page .slick-prev,
  .category-product-page .slick-next {
    width: 18px;
    height: 38px;
  }
}

@media (max-width: 420px) {
  .category-product-page .item-list-area {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
