/* 공통 */
#exhibition {
  font-family: Pretendard;
}

#exhibition *,
#exhibition *::before,
#exhibition *::after {
  font-family: Pretendard;
}

/* 컨테이너 */
#exhibition .exhibition-container {
  /*overflow-x: hidden;*/
  margin-top: -40px;
}

#exhibition .w-1200 {
  width: 100%;
  max-width: 1136px;
  margin: 0 auto;
}



/* 배너 */
#exhibition .section.banner {
  width: 100%;
  height: 614px;
  background: linear-gradient(180deg, #BA95FF 13.02%, #9686FF 52.16%, #5C6FFF 100%);
  position: relative;
}

#exhibition .section.banner .img {
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
}

#exhibition .section.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

#exhibition .section.banner .text {
  position: absolute;
  bottom: 141px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

#exhibition .section.banner .text li {
  color: #FFF;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  margin-bottom: 2px;
}

#exhibition .section.banner .text li:last-child {
  margin-bottom: 0;
}

#exhibition .section.banner .btn {
  position: absolute;
  bottom: 58px;
  left: 50%;
  transform: translateX(-50%);
  width: 376px;
  height: 56px;
  line-height: 55px;
  border-radius: 51px;
  background: #000;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.15));
  color: #FFF;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  z-index: 1;
}

#exhibition .section.banner .btn:disabled {
  color: rgba(255, 255, 255, 0.3);
}



/* 상품 */
#exhibition .section.product {
  overflow-x: hidden;
  padding: 60px 0 100px;
}

#exhibition .section.product .section-title-block {}

#exhibition .section.product .section-title-block .bubble {
  display: block;
  width: 69px;
  margin: 0 auto 12px;
}

#exhibition .section.product .section-title {
  color: #000;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: -0.02em;
  margin: 0 auto 34px;
}


#exhibition .section.product .category-block {
  position: relative;
  margin-bottom: 28px;
}

#exhibition .section.product .category-block::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: #eee;
}

#exhibition .section.product .category-block .swiper {}
#exhibition .section.product .category-block .swiper-wrapper {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
}

#exhibition .section.product .category-block .swiper.swiper-initialized .swiper-wrapper {
  gap: 0;
}

#exhibition .section.product .category-block .swiper-slide {
  width: auto !important;
  height: auto !important;
}

#exhibition .section.product .category-block .category {
  display: block;
  color: #A0A0A0;
  font-size: 16px;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: -0.32px;
  padding-bottom: 12px;
  position: relative;
}

#exhibition .section.product .category-block .category::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: #000;
  transition: 0.3s;
  z-index: 1;
  opacity: 0;
}

#exhibition .section.product .category-block .category.active {
  color: #000;
  font-weight: 600;
}

#exhibition .section.product .category-block .category.active::after {
  opacity: 1;
}


#exhibition .section.product .product-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 48px 19px;
}

#exhibition .section.product .product-item {
  display: block;
  width: 100%;
}

#exhibition .section.product .product-item .img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #E9E9E9;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 16px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

#exhibition .section.product .product-item .img .badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
}

#exhibition .section.product .product-item .img .badge.todaySale {
  width: 34px;
  height: auto;
  aspect-ratio: 1 / 1;
  background: url('../images/renewal/home/badge-today-sale.svg') no-repeat center center / contain;
}

#exhibition .section.product .product-item .img img {
  display: block;
}

#exhibition .section.product .product-item .category {
  color: rgba(136, 136, 136, 0.9);
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: normal;
  margin-bottom: 8px;
}

#exhibition .section.product .product-item .product-name {
  color: #000;
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: normal;
  margin-bottom: 8px;
}

#exhibition .section.product .product-item .regular-price-block {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 6px;
}

#exhibition .section.product .product-item .regular-price-block .text {
  color: #F9463D;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
}

#exhibition .section.product .product-item .regular-price {
  color: #999;
  font-family: Inter;
  font-size: 13px;
  font-weight: 400;
  text-decoration-line: line-through;
}

#exhibition .section.product .product-item .price-block {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 8px;
}

#exhibition .section.product .product-item .price-block .percent {
  color: #F9463D;
  font-family: Inter;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
}

#exhibition .section.product .product-item .price {
  color: #000;
  font-family: Inter;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
}

#exhibition .section.product .product-item .soldout {
  font-size: 13px;
  margin-bottom: 8px;
}

#exhibition .section.product .product-item .point-block {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  margin-bottom: 10px;
}

#exhibition .section.product .product-item .point-block .text {
  color: #1351F6;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
}

#exhibition .section.product .product-item .point-block .point {
  color: #888;
  font-family: Inter;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
}

#exhibition .section.product .product-item .etc-block {
  display: flex;
  align-items: center;
  gap: 20px;
}

#exhibition .section.product .product-item .brand-block {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

#exhibition .section.product .product-item .brand-block::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background-color: #e9e9e9;
}

#exhibition .section.product .product-item .brand-img {
  flex-shrink: 0;
  width: 14px;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid #eee;
}

#exhibition .section.product .product-item .brand-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#exhibition .section.product .product-item .brand-name {
  color: #444;
  font-family: "Noto Sans KR";
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: normal;
}

#exhibition .section.product .product-item .ranking-block {
  display: flex;
  align-items: center;
}

#exhibition .section.product .product-item .star {
  width: 12px;
  margin-right: 4px;
}

#exhibition .section.product .product-item .ranking {
  color: #444;
  font-family: Inter;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  margin-right: 2px;
}

#exhibition .section.product .product-item .review-count {
  color: #888;
  font-family: Inter;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
}





  /* 모달 공통 */
#exhibition .modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.2s;
}

#exhibition .modal.active {
  opacity: 1;
  visibility: visible;
  z-index: 9999999999;
}

#exhibition .modal .overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  transition: 0.2s;
}

#exhibition .modal.active .overlay {
  opacity: 1;
  visibility: visible;
  z-index: 50;
}

#exhibition .modal .container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 424px;
  padding: 45px 20px 20px;
  border-radius: 18px;
  max-width: 410px;
  z-index: 100;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s;
}

#exhibition .modal .container .modal-header,
#exhibition .modal .container .modal-cont,
#exhibition .modal .container .modal-footer {
  width: 100%;
}

#exhibition .modal .container .btn-close {
  position: absolute;
  right: 24px;
  top: 28px;
  width: 18px;
  z-index: 1;
  cursor: pointer;
}

#exhibition .modal .container .btn-close img {
  width: 100%;
}

#exhibition .modal .container .modal-cont {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#exhibition .modal .container .modal-cont .title {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: -0.44px;
  margin-bottom: 16px;
}

#exhibition .modal .container .modal-cont .desc {
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.28px;
  margin-bottom: 60px;
}

#exhibition .modal .container .modal-cont img {
  display: block;
  margin: 0 auto;
  width: 136px;
}

#exhibition .modal .container .modal-footer .btn-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-top: 24px;
}

#exhibition .modal .container .modal-footer .btn {
  display: block;
  border-radius: 4px;
  width: 100%;
  height: 52px;
  line-height: 51px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: normal;
}

#exhibition .modal .container .modal-footer .btn-white {
  border: 1px solid #EEE;
  flex: 1;
  min-width: 0;
}

#exhibition .modal .container .modal-footer .btn-black {
  background: #000;
  color: #fff;
  width: 64.86%;
}





@media screen and (max-width: 1300px) {
  #exhibition .section.product .product-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1100px) {
  #exhibition .section.product .product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1176px) {
  #exhibition .w-1200 {
    max-width: 100%;
    padding: 0 20px;
  }
}

@media screen and (max-width: 768px) {
  #exhibition .mo-block {
    display: block;
  }

  #exhibition .mo-none {
    display: none;
  }

  #exhibition .exhibition-container {
    margin-top: -20px;
  }


  #exhibition .section.banner .btn {
    width: calc(100% - 80px);
    max-width: 376px;
  }

  #exhibition .section.product .section-title-block .bubble {
    margin-bottom: 10px;
  }


  #exhibition .section.product .section-title {
    font-size: 28px;
    margin-bottom: 24px;
  }
  
  #exhibition .section.product .category-block {
    margin-bottom: 24px;
  }

  #exhibition .section.product .category-block .swiper {
    overflow: visible;
  }

  #exhibition .section.product .category-block .swiper-wrapper {
    gap: 24px;
  }

  #exhibition .section.product .category-block .swiper.swiper-initialized .swiper-wrapper {
    gap: 0;
    justify-content: unset;
  }

  #exhibition .section.product .category-block .category {
    font-size: 14px;
    letter-spacing: -0.28px;
    padding-bottom: 10px;
  }

  #exhibition .section.product .product-list {
    gap: 28px 11px;
  }

  #exhibition .section.product .product-item .img {
    padding: 13px;
  }



  #exhibition .modal .container {
    max-width: 100%;
    border-radius: 22px 22px 0 0;
    top: unset;
    transform: translate(-50%, 0);
    height: 398px;
    bottom: -398px;
    padding-top: 45px;
  }

  #exhibition .modal.active .container {
    transform: translate(-50%, -398px);
  }
}

@media screen and (max-width: 600px) {
  #exhibition .section.product .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}