#magic {

}

#magic * {
  font-family: "Pretendard";
}

#magic .w-500 {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

#magic .section {
  overflow: hidden;
}

#magic .color-red {
  color: #DA3023;
}




/* 축하합니다 */
#magic .section.congrats {
  background: #DA3023;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: #FFF;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
}

#magic .section.congrats .emoji {

}




/* 상품이미지 */
#magic .section.product-img {
  position: relative;
}

#magic .section.product-img .img-block {
  height: auto;
  aspect-ratio: 393 / 373;
  overflow: hidden;
}

#magic .section.product-img .img-block .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#magic .section.product-img .now-watching {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 1;
  height: 30px;
  border-radius: 46px;
  background: #FFF;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  padding: 0 12px;
  color: #000;
  font-size: 12px;
  font-weight: 500;
  filter: drop-shadow(0px 3px 10px rgba(0, 0, 0, 0.04));
}

#magic .section.product-img .flag {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1;
  width: 30px;
}

#magic .section.product-img .stock {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  z-index: 1;
  border-radius: 16px;
  border: 1px solid rgba(218, 48, 35, 0.26);
  background: #FFF;
  padding: 8px 14px 7px;
  color: #DA3023;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.28px;
}

#magic .section.product-img .stock span {}




/* 남은시간 */
#magic .section.timer {
  height: 88px;
  background: url("../images/magic/bg-timer.png") no-repeat center center / cover;
  text-align: center;
  padding: 18px 0;
}

#magic .section.timer .title {
  color: #FFF;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.28px;
  margin-bottom: 9px;
}

#magic .section.timer .text-wrap {
  color: #DA3023;
  font-weight: 700;
  line-height: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 119px;
  padding-left: 5px;
}

#magic .section.timer .text {
  font-size: 22px;
  letter-spacing: -0.44px;
}

#magic .section.timer .time {
  font-size: 24px;
  width: 103px;
  letter-spacing: -0.48px;
}

#magic .review-loading {
  display: none;
  padding: 40px 0 80px 0;
  text-align: center;
}
#magic .load-modal-loading {
  display: none;
  padding: 10px 0 40px 0;
  text-align: center;
}
#magic .review-modal-loading {
  display: none;
  padding: 0px 0 50px 0;
  text-align: center;
}
#magic .review-modal-all-loading {
  display: none;
  padding: 0px 0 50px 0;
  text-align: center;
}
#magic .load-all-modal-loading {
  display: none;
  padding: 10px 0 40px 0;
  text-align: center;
}




/* 상품정보 */
#magic .section.product-info {
}

#magic .section.product-info .info-block {
  padding: 29px 0 30px;
  margin: 0 16px;
  border-bottom: 1px solid #D2D2D7;
}

#magic .section.product-info .info-block .rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 21px;
}

#magic .section.product-info .info-block .rating .stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

#magic .section.product-info .info-block .rating .star {
  width: 14px;
}

#magic .section.product-info .info-block .rating .review-count {
  color: #666;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  text-decoration-line: underline;
  text-underline-offset: 3px;
}

#magic .section.product-info .info-block .today-purchase {
  width: fit-content;
  border: 1px solid rgba(0, 0, 0, 0.30);
  background-color: #fff;
  border-radius: 20px;
  padding: 6px 12px 5px;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#magic .section.product-info .info-block .today-purchase::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 100%;
  border-left: 5px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid #fff;
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.3));
  transform: rotate(180deg);
}

#magic .section.product-info .info-block .today-purchase p {
  color: #000;
  font-size: 12px;
  font-weight: 500;
  line-height: 140%;
}

#magic .section.product-info .info-block .today-purchase p .color-red {
  font-weight: 700;
}

#magic .section.product-info .info-block .product-name {
  color: #111;
  font-size: 22px;
  font-weight: 700;
  line-height: 160%;
  margin-bottom: 20px;
}

#magic .section.product-info .info-block .features {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

#magic .section.product-info .info-block .features li {
  padding-left: 18px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -0.28px;
  position: relative;
}

#magic .section.product-info .info-block .features li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 11px;
}
#magic .section.product-info .info-block .features li .color-red {
  font-weight: 600;
}



#magic .section.product-info .step-block {
  padding: 26px 0 30px;
  margin: 0 16px;
}

#magic .section.product-info .step-block .block-title {
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 160%;
  margin-bottom: 12px;
}

#magic .section.product-info .step-block .bar {
  border-radius: 20px;
  background: linear-gradient(90deg, #F6F6F6 0%, #DA3023 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  margin-bottom: 10px;
}

#magic .section.product-info .step-block .bar .text {
  font-size: 12px;
  font-weight: 600;
  line-height: 160%;
}

#magic .section.product-info .step-block .bar .text.left {
  color: #DA3023;
}

#magic .section.product-info .step-block .bar .text.right {
  color: #fff;
}

#magic .section.product-info .step-block .option-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

#magic .section.product-info .step-block .option-item {
  cursor: pointer;
}

#magic .section.product-info .step-block .option-item input {
  display: none;
}

#magic .section.product-info .step-block .option-item label {
  width: 100%;
  height: 56px;
  border-radius: 8px;
  background: #F6F6F6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#magic .section.product-info .step-block .option-item input:checked+label {
  background: #000;
}

#magic .section.product-info .step-block .option-item .label-title {
  color: #111;
  font-size: 14px;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: -0.28px;
}

#magic .section.product-info .step-block .option-item .label-desc {
  color: #666;
  font-size: 12px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.24px;
}

#magic .section.product-info .step-block .option-item input:checked+label * {
  color: #fff;
}



#magic .section.product-info .period-block {
  padding-bottom: 30px;
  margin: 0 16px;
  position: relative;
  border-bottom: 1px solid #D2D2D7;
}

#magic .section.product-info .period-block .block-title {
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 160%;
  margin-bottom: 12px;
}

#magic .section.product-info .period-block .bubble {
  position: absolute;
  right: 0;
  top: 2px;
  border-radius: 12px;
  background: #DA3023;
  color: #FFF;
  font-size: 11px;
  font-weight: 500;
  line-height: 140%;
  padding: 4.5px 11px;
  letter-spacing: -0.44px;
}

#magic .section.product-info .period-block .bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: 8px;
  height: auto;
  aspect-ratio: 2 / 1;
  background: url("../images/magic/img-red-tri.png") no-repeat center center / contain;
}

#magic .section.product-info .period-block .option-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

#magic .section.product-info .period-block .option-item {
  width: 100%;
  cursor: pointer;
}

#magic .section.product-info .period-block .option-item input {
  display: none;
}

#magic .section.product-info .period-block .option-item label {
  width: 100%;
  height: 56px;
  border-radius: 8px;
  background: #F6F6F6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  cursor: pointer;
}

#magic .section.product-info .period-block .option-item input:checked+label {
  background: #000;
}

#magic .section.product-info .period-block .option-item i {
  font-style: normal;
}

#magic .section.product-info .period-block .option-item .left,
#magic .section.product-info .period-block .option-item .right {
  display: flex;
  align-items: center;
}

#magic .section.product-info .period-block .option-item .left {
  justify-content: flex-start;
  gap: 3px;
}

#magic .section.product-info .period-block .option-item .right {
  justify-content: flex-end;
}

#magic .section.product-info .period-block .option-item .title {
  color: #111;
  font-size: 14px;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: -0.28px;
}

#magic .section.product-info .period-block .option-item .desc {
  color: #666;
  font-size: 12px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.24px;
}

#magic .section.product-info .period-block .option-item .tag {
  display: inline-block;
  height: 24px;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(218, 48, 35, 0.26);
  color: #DA3023;
  font-size: 11px;
  font-weight: 500;
  line-height: 140%;
  margin-right: 6px;
}

#magic .section.product-info .period-block .option-item .sale {
  color: #DA3023;
  font-size: 14px;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: -0.28px;
  margin-right: 2px;
}

#magic .section.product-info .period-block .option-item .price {
  color: #111;
  font-size: 14px;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: -0.28px;
}

#magic .section.product-info .period-block .option-item input:checked+label * {
  color: #fff;
}

#magic .section.product-info .period-block .option-item input:checked+label .tag {
  background-color: #fff;
  border-color: #fff;
  color: #000;
}


#magic .section.product-info .price-block {
  padding: 30px 0;
  margin: 0 16px;
}

#magic .section.product-info .price-block .price-wrap-1 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
}

#magic .section.product-info .price-block .price-wrap-1 .label {
  color: #000;
  font-size: 13px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.26px;
}

#magic .section.product-info .price-block .price-wrap-1 .value {
  color: rgba(0, 0, 0, 0.4);
  font-size: 14px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.28px;
  text-decoration-line: line-through;
}

#magic .section.product-info .price-block .price-wrap-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

#magic .section.product-info .price-block .price-wrap-2 .left {
  display: flex;
  align-items: center;
  gap: 6px;
}

#magic .section.product-info .price-block .price-wrap-2 .price {
  color: #000;
  font-size: 24px;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.48px;
}

#magic .section.product-info .price-block .price-wrap-2 .quantity {
  color: #000;
  font-family: Pretendard;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 19.2px */
  letter-spacing: -0.32px;
}

#magic .section.product-info .price-block .price-wrap-2 .desc {
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.32px;
}

#magic .section.product-info .price-block .price-wrap-2 .sale {
  color: #DA3023;
  font-size: 24px;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.48px;
}

#magic .section.product-info .price-block .btn-purchase {
  width: 100%;
  height: 54px;
  line-height: 53px;
  border-radius: 500px;
  background: #000;
  text-align: center;
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  border: none;
}



/* 리뷰 섹션 */
#magic .section.review {
  padding: 30px 0 40px;
  margin: 0 16px;
  border-top: 4px solid #F7F7F7;
}

#magic .section.review .tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

#magic .section.review .tab {
  color: rgba(0, 0, 0, 0.3);
  font-size: 20px;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: -0.4px;
}

#magic .section.review .tab p {
  display: inline-block;
  margin-left: 2px;
}

#magic .section.review .tab.active {
  color: #000;
  font-weight: 700;
}

#magic .section.review .tab.active p {
  color: #DA3023;
}

#magic .section.review .all-rv {
  display: none;
}

#magic .section.review .empty {
    display: none;
}

#magic .section.review .empty {
    padding: 80px 0 120px 0;
    text-align: center;
    border-bottom: 1px solid #EEE;
    margin-bottom: 30px;
}

#magic .section.review .empty svg {
    text-align: center;
    margin-bottom: 14px;
}

#magic .section.review .empty p {
  color: #888;
  text-align: center;
  font-family: Pretendard;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 19.2px */
}

#magic .section.review .all-rv {
    display: none;
}
 
#magic .section.review .review-ai {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

#magic .section.review .review-ai .text {
  display: flex;
  align-items: center;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin-right: 15px;
}

#magic .section.review .review-ai .text img {
  width: 32px;
  margin-right: 8px;
}

#magic .section.review .review-ai ul {
  opacity: 0;
  visibility: hidden;
  width: 0px;
  height: 0px;
  flex-wrap: wrap;
  gap: 12px 8px;
}

#magic .section.review .review-ai ul.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  width: auto;
  height: auto;
}

#magic .section.review .review-ai ul li {
  display: flex;
  height: 34px;
  padding: 8.5px 14px 9px 16px;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background: #F7F7F7;
  color: #000;
  text-align: center;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.28px;
  gap: 2px;
  cursor: pointer;
}

#magic .section.review .review-ai ul li.txt {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
}

#magic .section.review .review-ai ul li.al {
  padding: 8.5px 16px 9px 16px;
}

#magic .section.review .review-ai ul li:not(.txt).active {
  background: linear-gradient(99deg, #AE00FF 11.5%, #71D9FF 94.9%);
  color: #fff !important;
}

#magic .section.review .review-ai ul li:not(.txt).active svg path {
  fill: #fff;
}

#magic .section.review .review-ai-text {
  color: #757575;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  padding-left: 4px;
  margin-bottom: 20px;
}

#magic .section.review .review {
  opacity: 0;
  height: 0;
  visibility: hidden;
}

#magic .section.review .slick-track {
  width: 100%;
}

#magic .section.review .content-tab {
  margin: 0 0 10px 0;
  padding-top: 30px;
  border-top: 6px solid #F6F6F6;
}

#magic .section.review .review .slick-arrow {
  /*	top: -17px;*/
  width: 34px;
  height: 34px;
  background-repeat: no-repeat;
  background-size: 80%;
  background-position: center;
  border: 1px solid #ebebeb;
  border-radius: 50%;
  background-color: #fff;
  z-index: 10;
  display: none !important;
}

#magic .section.review .review .slick-arrow:before {
  display: none;
}

#magic .section.review .review .slick-prev {
  left: -17px;
  transform: translate(0, -50%) rotate(-180deg);
  background-image: url(../images/arrow-right.svg);
}

#magic .section.review .review .slick-next {
  right: -17px;
  background-image: url(../images/arrow-right.svg);
}

#magic .section.review .review .slick-dots li {
  width: 13px;
  margin: 0;
}

#magic .section.review .review .slick-dots li button {
  width: 13px;
  padding: 0;
}

#magic .section.review .review .slick-dots li button:before {
  width: 13px;
}

#magic .section.review .review .slick-dotted.slick-slider {
  margin-bottom: 54px;
}

#magic .section.review .review .slick-dots {
  bottom: -40px;
}

#magic .section.review .bottom-sheet-button {
  text-align: center;
  padding-top: 11px;
  height: 46px;
  border-radius: 6px;
  background: #F7F7F7;
  color: #666;
  font-size: 15px;
  font-weight: 500;
  line-height: 160%; /* 24px */
  cursor: pointer;
}

#magic .section.review .swiper-horizontal>.swiper-scrollbar, .swiper-scrollbar.swiper-scrollbar-horizontal {
  width: 100%;
  left: 0;
}

#magic .section.review .swiper-scrollbar {
  position: absolute;
  bottom: 0;  /* 스크롤바를 맨 아래에 배치 */
  left: 0;
  width: 100%; /* 전체 너비로 설정 */
  height: 2px; /* 스크롤바의 높이 */
  background-color: #eee; /* 스크롤바의 배경색 */
  border-radius: 5px; /* 둥근 모서리 */
  cursor: pointer;
}

#magic .section.review .swiper-scrollbar-drag {
  background-color: #000; /* 드래그 요소의 색상 */
  border-radius: 5px; /* 드래그 요소 둥글게 */
  height: 100%; /* 스크롤바의 높이에 맞추어 드래그 요소가 채워짐 */
  transition: background-color 0.3s ease; /* 드래그 요소의 색상 변경 애니메이션 */
}

#magic .section.review .swiper-scrollbar-drag:hover {
  opacity: 0.7;
}

#magic .section.review .swiper-scrollbar.swiper-scrollbar-horizontal {
  height: 2px; /* 가로 스크롤바 높이 */
  bottom: 0;
}  #magic .section.review .swiper-pagination-bullet {

}

#magic .section.review .scrollbar {
  position: relative;
  padding-bottom: 19px;
  margin-bottom: 40px;
  border-bottom: 2px solid #eee;
  overflow: hidden;
}

#magic .section.review .scrollbar .card {
  position: relative;
  flex: 0 0 160px;
  height: 208px;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#magic .section.review .scrollbar .card .dim {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

#magic .section.review .scrollbar .card .dim span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: calc(100% - 28px);
  overflow: hidden;
  color: #FFF;
  text-overflow: ellipsis;
  display: -webkit-box;
  word-break: break-all;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 22.4px */
}

#magic .section.review .scrollbar::-webkit-scrollbar {
  width: 6px; /* 세로축 스크롤바의 두께 */
  height: 6px; /* 가로축 스크롤바의 높이 */
}

#magic .section.review .scrollbar::-webkit-scrollbar-track {
  background-color: transparent; /* 스크롤바의 트랙 색상 */
}

#magic .section.review .scrollbar::-webkit-scrollbar-thumb {
  border-radius: 3px; /* 스크롤바의 손잡이 모양 */
  background-color: rgba(0, 0, 0, 0.2); /* 스크롤바의 손잡이 색상 */
}

#magic .section.review .scrollbar::-webkit-scrollbar-button {
  display: none; /* 스크롤바의 버튼을 숨김 */
}

#magic .section.review .list {
  margin-bottom: 30px;
}

#magic .section.review .review_item {
  padding: 20px 0 20px 0;
}

#magic .section.review .review_item .star {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

#magic .section.review .review_item .star i {
  display:inline-block;
  width:17px;
  height:17px;
  background-image:url(../images/icon-star.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

#magic .section.review .review_item .star span {
  color: #000;
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
  margin-left: 4px;
}

#magic .section.review .review_item .review-image {
  display: inline-block;
  vertical-align: top;
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  background-color: #eee;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  margin-left: auto;
}

#magic .section.review .review_item .review-image img {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  object-fit: cover;
  transform-origin: center;
}

#magic .section.review .review_item .io {
  cursor: default;
}

#magic .section.review .review_item .io span {
  color: #000;
  font-family: 'Pretendard';
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px; /* 176.923% */
  cursor: auto;
}

#magic .section.review .review_item .io i {
  color: #999;
  font-family: 'Pretendard';
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px; /* 176.923% */
  padding: 0 2px;
}

#magic .section.review .review_item .io {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#magic .section.review .review_item .io svg {
  /*  vertical-align: middle;*/
  /*  margin: 0 6px;*/
}

#magic .section.review .review_item .io .rank {
  display: flex;
  color: #000;
  text-align: right;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  height: fit-content;
}

#magic .section.review .review_item .io .rank p {
  width: 16px;
  height: 16px;
  color: #FFF;
  text-align: center;
  font-family: Pretendard;
  font-size: 9.412px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 15.059px */
  margin-left: 5px;
  background: #7E858A;
  border-radius: 50%;
  padding-top: 0.7px;
  margin: 0 0 0 5px;
}

#magic .section.review .review_item .io .rank span {
  color: #7E858A;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.28px;
  padding-left: 4px;
}

#magic .section.review .review_item .io.silver .rank p {
  background: #7E858A;
}

#magic .section.review .review_item .io.gold .rank p {
  background: #DCAB29;
}

#magic .section.review .review_item .io.vip .rank p {
  background: #B40C0C;
}

#magic .section.review .review_item .io.vvip .rank p {
  background: #721D9E;
}

#magic .section.review .review_item .io.silver .rank span {
  color: #7E858A;
}

#magic .section.review .review_item .io.gold .rank span {
  color: #DCAB29;
}

#magic .section.review .review_item .io.vip .rank span {
  color: #B40C0C;
}

#magic .section.review .review_item .io.vvip .rank span {
  color: #721D9E;
}

#magic .section.review .review_item .io .button {
  display: flex;
  gap: 8px;
}

#magic .section.review .review_item .io .button div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 32px;
  border-radius: 70px;
  border: 1px solid #EEE;
  background: #FFF;
  gap: 2px;
  color: #000;
  font-family: Pretendard;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

#magic .section.review .review_item .io .button .comment {
  cursor: pointer;
}

#magic .section.review .review_item .io .button .like {
  cursor: pointer;
}

#magic .section.review .review_item .io .button .like.active {
  background: #DA3023;
}

#magic .section.review .review_item .io .button .like.active span {
  color: #fff;
  cursor: pointer;
}

#magic .section.review .review_item .io .button .like.active svg path {
  fill: #fff;
}

#magic .section.review .review_item .content {
  margin-bottom: 1px;
  display: flex;
  cursor: pointer;
  min-height: 100px;
}

#magic .section.review .review_item .content .inner {
  display: inline-block;
  width: calc(100% - 95px);
}

#magic .section.review .review_item .post_date {
  color: #999;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 21px */
  padding-left: 10px;
  margin: 0;
}

#magic .section.review .review_item .product_name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
}

#magic .section.review .review_item .product_name p {
  width: fit-content;
  max-width: 7em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #999;
  font-size: 14px;
  font-weight: 600;
  line-height: 150%;
}

#magic .section.review .review_item .product_name span {
  display: inline-block;
  color: #4FC5B9;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
}

#magic .section.review .review_item .post_content {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  word-break: break-all;
  -webkit-box-orient: vertical;
  color: #000;
  font-size: 15px;
  font-weight: 500;
  line-height: 160%;
}

#magic .section.review .slick-initialized .slick-slide {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
}

#magic .section.review .slick-initialized .slick-slide .review_item {
  flex: 100%;
  width: 10%;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  border-radius: 10px;
  border: 1px solid #EEE;
  background: #FFF;
  padding: 20px;
}

#magic .section.review .slick-initialized .slick-slide .review_item > div {
  width: -webkit-fill-available;
}

#magic .section.review .content.active,
#magic .section.review .review.active {
/*  display: block;*/
  opacity: 1;
  height: auto;
  visibility: visible;
}

#magic .section.review .all-review.active {
  margin-bottom: 20px;
}




/* 리뷰 목록 모달 */
#magic .review-overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  top: 0;
  left: 0;
  z-index: 100;
}

#magic .review-overlay.active {
  display: block;
}

#magic .review-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50% , 100%);
  max-width: 500px;
  /*max-width: 393px;*/
  width: 100%;
  height: 705px;
  max-height: calc(100vh - 120px);
  border-radius: 30px 30px 0px 0px;
  background: #fff;
  transition: 0.4s ease;
  padding: 30px 6px 0 24px;
  z-index: 101;
}

#magic .review-modal.active {
  transform: translate(-50%, 0%);
/*  max-width: 100%;*/
}

#magic .review-modal .review-modal-close {
  position: absolute;
  top: 22px;
  right: 20px;
  cursor: pointer;
}

#magic .review-modal .tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

#magic .review-modal .tab {
  color: rgba(0, 0, 0, 0.3);
  font-size: 20px;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: -0.4px;
  cursor: pointer;
}

#magic .review-modal .tab p {
  display: inline-block;
  margin-left: 2px;
}

#magic .review-modal .tab.active {
  color: #000;
  font-weight: 700;
}

#magic .review-modal .tab.active p {
  color: #DA3023;
}

#magic .review-modal .all-rv {
  display: none;
}

#magic .review-modal .empty {
  display: none;
}

#magic .review-modal .empty {
  padding: 80px 0 120px 0;
  text-align: center;
  border-bottom: 1px solid #EEE;
  margin-bottom: 30px;
}

#magic .review-modal .empty svg {
  text-align: center;
  margin-bottom: 14px;
}

#magic .review-modal .empty p {
  color: #888;
  text-align: center;
  font-family: Pretendard;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 19.2px */
}

#magic .review-modal .all-rv {
  display: none;
}

#magic .review-modal .review-ai {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

#magic .review-modal .review-ai .text {
  display: flex;
  align-items: center;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin-right: 3px;
}

#magic .review-modal .review-ai .text img {
  width: 32px;
  margin-right: 8px;
}

#magic .review-modal .review-ai ul {
  flex-wrap: wrap;
  gap: 12px 8px;
  display: flex;
  opacity: 1;
  visibility: visible;
  width: auto;
  height: auto;
}

#magic .review-modal .review-ai ul li {
  display: flex;
  height: 34px;
  padding: 8.5px 14px 9px 16px;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background: #F7F7F7;
  color: #000;
  text-align: center;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.28px;
  gap: 2px;
  cursor: pointer;
}

#magic .review-modal .review-ai ul li.txt {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
}

#magic .review-modal .review-ai ul li.al {
  padding: 8.5px 16px 9px 16px;
}

#magic .review-modal .review-ai ul li:not(.txt).active {
  background: linear-gradient(99deg, #AE00FF 11.5%, #71D9FF 94.9%);
  color: #fff !important;
}

#magic .review-modal .review-ai ul li:not(.txt).active svg path {
  fill: #fff;
}

#magic .review-modal .review-ai-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #757575;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

#magic .review-modal .review-ai-text select {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border: none;
  cursor: pointer;
}

#magic .review-modal .scroll {
  display: none;
  overflow-y: auto;
  padding-right: 18px;
  height: calc(100% - 54px);
}

#magic .review-modal .scroll.active {
  display: block;
}

#magic .review-modal .review_item {
  padding: 19px 20px 20px 20px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid #EEE;
  background: #FFF;
}

#magic .review-modal .review_item .star {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

#magic .review-modal .review_item .star i {
  display:inline-block;
  width:17px;
  height:17px;
  background-image:url(../images/icon-star.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

#magic .review-modal .review_item .star span {
  color: #000;
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
  margin-left: 4px;
}

#magic .review-modal .review_item .review-image {
  display: inline-block;
  vertical-align: top;
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  background-color: #eee;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  margin-left: auto;
}

#magic .review-modal .review_item .review-image img {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  object-fit: cover;
  transform-origin: center;
}

#magic .review-modal .review_item .io {
  cursor: default;
}

#magic .review-modal .review_item .io span {
  color: #000;
  font-family: 'Pretendard';
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px; /* 176.923% */
  cursor: auto;
}

#magic .review-modal .review_item .io i {
  color: #999;
  font-family: 'Pretendard';
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px; /* 176.923% */
  padding: 0 2px;
}

#magic .review-modal .review_item .io {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#magic .review-modal .review_item .io svg {
  /*  vertical-align: middle;*/
  /*  margin: 0 6px;*/
}

#magic .review-modal .review_item .io .rank {
  display: flex;
  color: #000;
  text-align: right;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  height: fit-content;
}

#magic .review-modal .review_item .io .rank p {
  width: 16px;
  height: 16px;
  color: #FFF;
  text-align: center;
  font-family: Pretendard;
  font-size: 9.412px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 15.059px */
  margin-left: 5px;
  background: #7E858A;
  border-radius: 50%;
  padding-top: 0.7px;
  margin: 0 0 0 5px;
}

#magic .review-modal .review_item .io .rank span {
  color: #7E858A;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.28px;
  padding-left: 4px;
}

#magic .review-modal .review_item .io.silver .rank p {
  background: #7E858A;
}

#magic .review-modal .review_item .io.gold .rank p {
  background: #DCAB29;
}

#magic .review-modal .review_item .io.vip .rank p {
  background: #B40C0C;
}

#magic .review-modal .review_item .io.vvip .rank p {
  background: #721D9E;
}

#magic .review-modal .review_item .io.silver .rank span {
  color: #7E858A;
}

#magic .review-modal .review_item .io.gold .rank span {
  color: #DCAB29;
}

#magic .review-modal .review_item .io.vip .rank span {
  color: #B40C0C;
}

#magic .review-modal .review_item .io.vvip .rank span {
  color: #721D9E;
}

#magic .review-modal .review_item .io .button {
  display: flex;
  gap: 8px;
}

#magic .review-modal .review_item .io .button div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 32px;
  border-radius: 70px;
  border: 1px solid #EEE;
  background: #FFF;
  gap: 2px;
  color: #000;
  font-family: Pretendard;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

#magic .review-modal .review_item .io .button .comment {
  cursor: pointer;
}

#magic .review-modal .review_item .io .button .like {
  cursor: pointer;
}

#magic .review-modal .review_item .io .button .like.active {
  background: #DA3023;
}

#magic .review-modal .review_item .io .button .like.active span {
  color: #fff;
  cursor: pointer;
}

#magic .review-modal .review_item .io .button .like.active svg path {
  fill: #fff;
}

#magic .review-modal .review_item .content {
  margin-bottom: 1px;
  display: flex;
  cursor: pointer;
  min-height: 100px;
}

#magic .review-modal .review_item .content .inner {
  display: inline-block;
  width: calc(100% - 95px);
}

#magic .review-modal .review_item .post_date {
  color: #999;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 21px */
  padding-left: 10px;
  margin: 0;
}

#magic .review-modal .review_item .product_name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
}

#magic .review-modal .review_item .product_name p {
  width: fit-content;
  max-width: 7em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #999;
  font-size: 14px;
  font-weight: 600;
  line-height: 150%;
}

#magic .review-modal .review_item .product_name span {
  display: inline-block;
  color: #4FC5B9;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
}

#magic .review-modal .review_item .post_content {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  word-break: break-all;
  -webkit-box-orient: vertical;
  color: #000;
  font-size: 15px;
  font-weight: 500;
  line-height: 160%;
}








/* 리뷰 싱글 모달 */
#magic .review-single-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50% , 100%);
  max-width: 500px;
  /*max-width: 393px;*/
  width: 100%;
  height: 705px;
  max-height: calc(100vh - 120px);
  border-radius: 30px 30px 0px 0px;
  background: #fff;
  transition: 0.4s ease;
  padding: 30px 6px 0 24px;
  z-index: 101;
}

#magic .review-single-modal.active {
  transform: translate(-50% , 0%);
}

#magic .review-single-overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  top: 0;
  left: 0;
  z-index: 100;
}

#magic .review-modal.active + .review-single-overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  top: 0;
  left: 0;
  z-index: 100;
}

#magic .review-single-overlay.active {
  display: block;
}

#magic .review-single-modal .product_name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 20px;
}

#magic .review-single-modal .product_name p {
  width: fit-content;
  word-break: break-all;
}

#magic .review-single-modal .author {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding-bottom: 10px;
}

#magic .review-single-modal .author .avatar {
  width: 30px;
  height: 30px;
  border: 1px solid #eee;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#magic .review-single-modal .author .star {
  padding-top: 9px;
}

#magic .review-single-modal .author .user-name {
  color: #000;
  font-family: Pretendard;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%; /* 25.6px */
}

#magic .review-single-modal .close-btn {
  position: absolute;
  top: 22px;
  right: 20px;
  cursor: pointer;
}

#magic .review-single-modal .modal-inner {
  overflow-y: auto;
  height: calc(100% - 54px);
  padding-bottom: 55px;
  padding-right: 18px;
}

#magic .review-single-modal .modal-inner .star {
  display: flex;
  padding-top: 9px;
  align-items: center;
  margin-bottom: 10px;
}

#magic .review-single-modal .modal-inner .star i {
  display:inline-block;
  width:17px;
  height:17px;
  background-image:url(../images/icon-star.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

#magic .review-single-modal .modal-inner .star span {
  color: #000;
  font-family: Pretendard;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding-left: 4px;
  text-decoration: none;
  margin-left: 4px;
}

#magic .review-single-modal .modal-inner .star .post_date {
  color: #999;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 21px */
  padding-left: 10px;
}

#magic .review-single-modal .modal-inner .content p {
  margin: 0;
}

#magic .review-single-modal .modal-inner .product_name p {
  color: #999;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 21px */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 30px);
}

#magic .review-single-modal .modal-inner .review-image {
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

#magic .review-single-modal .modal-inner .review-image img {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  object-fit: cover;
  transform-origin: center;
}

#magic .review-single-modal .modal-inner .post_content {
  color: #666;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 22.4px */
  margin-bottom: 10px;
}

#magic .review-single-modal .modal-inner .row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

#magic .review-single-modal .modal-inner .row .member {
  display: none;
  gap: 6px;
  align-items: center;
  width: calc(100% - 58px);
  height: 32px;
  border-radius: 57px;
  background: #F7F7F7;
  color: #555;
  font-family: Pretendard;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}

#magic .review-single-modal .like {
  /*	display: none;*/
}

#magic .review-single-modal .modal-inner .row .member.active {
  display: flex;
}

#magic .review-single-modal .modal-inner .row .member {
  padding: 0 11px;
  margin: 0;
}

#magic .review-single-modal .modal-inner .row .member img {
  width: 14px;
  height: 14px;
}

#magic .review-single-modal .modal-inner .row .member strong {
  color: #000;
  font-family: Pretendard;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 18px */
}

#magic .review-single-modal .modal-inner .row .like-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: auto;
  height: 32px;
  padding: 7px 12px;
  border-radius: 70px;
  border: 1px solid #EEE;
  background: #FFF;
  color: #000;
  font-family: Pretendard;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-left: auto;
  cursor: pointer;
}

#magic .review-single-modal .modal-inner .row .like-btn.active {
  background: #DA3023;
}

#magic .review-single-modal .modal-inner .row .like-btn.active span {
  color: #fff;
  cursor: pointer;
}

#magic .review-single-modal .modal-inner .row .like-btn.active svg path {
  fill: #fff;
}

#magic .review-single-modal .modal-inner .row .like-btn span {
  color: #000;
  font-family: Pretendard;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
}

#magic .review-single-modal .modal-inner .comment {
  border-top: 1px solid #eee;
  padding-top: 24px;
}

#magic .review-single-modal .modal-inner .comment-title {
  color: #000;
  font-family: Pretendard;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 25.6px */
  letter-spacing: -0.32px;
  margin-bottom: 10px;
}

#magic .review-single-modal .modal-inner .comment-title span {
  color: #DA3023;
  font-family: Pretendard;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 160%; /* 25.6px */
  letter-spacing: -0.32px;
  padding-left: 2px;
}

#magic .review-single-modal .modal-inner .comment-content {
  display: flex;
  gap: 10px;
}

#magic .review-single-modal .modal-inner .right {
  position: relative;
  border-radius: 0px 12px 12px 12px;
  background: #F7F7F7;
  padding: 18px 18px 18px 18px;
}

#magic .review-single-modal .modal-inner .right p {
  color: #000;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 8px;
}

#magic .review-single-modal .modal-inner .right div {
  color: #666;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  word-break: keep-all;
  line-height: 160%; /* 22.4px */
}

#magic .review-single-modal .modal-inner .right svg {
  position: absolute;
  left: -11px;
  top: 0;
}





/* 상세정보 */
#magic .section.detail {

}

#magic .section.detail img {
  width: 100%;
}




/* 남은수량 */
#magic .section.stock-timer {
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
}

#magic .section.stock-timer .stock {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

#magic .section.stock-timer .text {
  color: #FFF;
  font-size: 20px;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: -0.8px;
}

#magic .section.stock-timer .number-box {
  width: 22px;
  height: 29px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: #FFF;
  text-align: center;
}

#magic .section.stock-timer .number-box.big {
  width: 38px;
}

#magic .section.stock-timer .number-box .number {
  color: #DA3023;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.8px;
}

#magic .section.stock-timer .timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

#magic .section.stock-timer .timer .set {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
}




/* 사은품 선택 모달 */
#magic #btn-modal {
  position: fixed;
  max-width: 500px;
  /*max-width: 393px;*/
  width: 100%;
  height: 323px;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  transition: 0.3s;
  background: #fff;
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  z-index: 9999999;
  padding-top: 26px;
}

#magic #btn-modal.active {
  transform: translate(-50%, 0);
}

#magic #btn-modal-overlay {
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  transition: 0.2s;
}

#magic #btn-modal-overlay.active {
  display: block;
}

#magic #btn-modal .cont {
  padding: 0 20px;
}

#magic #btn-modal .btn-modal-close {
  position: absolute;
  right: 20px;
  top: 22px;
  cursor: pointer;
}

#magic #btn-modal .btn-modal-top {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 20px;
}

#magic #btn-modal .btn-modal-top strong {
  color: #111;
  font-family: Pretendard;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 28px */
}

#magic #btn-modal .btn-modal-top span {
  color: #111;
  font-family: Pretendard;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%; /* 18.2px */
  padding-top: 2px;
}

#magic #btn-modal .text-p {
  color: #666;
  font-family: Pretendard;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

#magic #btn-modal .btn-modal-total {
  display: flex;
  justify-content: space-between;
  color: #000;
  font-family: Pretendard;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%; /* 24px */
  margin-bottom: 20px;
}

#magic #btn-modal .btn-flex {
  border: none;
}

#magic #btn-modal .btn-flex .btn {
  display: block;
  width: 100%;
  height: 54px;
  line-height: 53px;
  background: #000;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
}

#magic #btn-modal .swiper-gift {
  margin-bottom: 20px;
}

#magic #btn-modal .swiper-gift .swiper-slide {
  color: #000;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

#magic #btn-modal .swiper-gift .swiper-slide.active {
  border: 1px solid #000;
}

#magic #btn-modal .swiper-gift .swiper-slide {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: fit-content;
  height: 66px;
  border-radius: 12px;
  border: 1px solid #EEE;
  background: #FFF;
  padding: 0 14px;
  cursor: pointer;
}

#magic #btn-modal .swiper-gift .swiper-slide div {
  width: 100%;
  color: #000;
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

#magic #btn-modal .swiper-gift .swiper-slide div p {
  color: #888;
  font-family: Pretendard;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 16.8px */
  margin-top: 3px;
}




#magic .review-loading {
  display: none;
  padding: 40px 0 80px 0;
  text-align: center;
}
#magic .load-modal-loading {
  display: none;
  padding: 10px 0 40px 0;
  text-align: center;
}
#magic .review-modal-loading {
  display: none;
  padding: 0px 0 50px 0;
  text-align: center;
}
#magic .review-modal-all-loading {
  display: none;
  padding: 0px 0 50px 0;
  text-align: center;
}
#magic .load-all-modal-loading {
  display: none;
  padding: 10px 0 40px 0;
  text-align: center;
}




/* 자주묻는질문 */
#magic .section.faq {
  /*padding: 80px 24px;*/
}

#magic .section.faq img {
  width: 100%;
}



/* 섭취 시 주의사항 */
#magic .section.caution {
  padding: 80px 20px;
}

#magic .section.caution .section-title {
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

#magic .section.caution .box {
  border-radius: 8px;
  background: #F3F5F7;
  padding: 16px 18px;
}

#magic .section.caution .box li {
  color: #333;
  font-size: 13px;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: -0.26px;
  position: relative;
  padding-left: 0.7em;
}

#magic .section.caution .box>ul>li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background-color: #333;
}

#magic .section.caution .box li ul li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
}




/* 상품 정보 고시 */
#magic .section.more-info {
  padding: 0 20px 100px;
}

#magic .section.more-info .section-title {
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.4px;
  margin-bottom: 20px;
}

#magic .section.more-info ul {
  border-top: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  margin-bottom: 20px;
}

#magic .section.more-info ul li {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

#magic .section.more-info ul li .left {
  width: 133px;
  flex-shrink: 0;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -0.26px;
  padding-right: 20px;
}

#magic .section.more-info ul li .right {
  flex: 1;
  color: #555;
  font-size: 13px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.26px;
}

#magic .section.more-info .notice {
  color: #999;
  font-size: 14px;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: -0.28px;
}



/* 하단바 */
#magic .bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  filter: drop-shadow(0px -4px 14px rgba(0, 0, 0, 0.05));
}

#magic .bottom-bar .btn-wrap {
  display: flex;
  align-items: center;
}

#magic .bottom-bar .btn-wrap .btn {
  width: 50%;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  outline: none;
  border: none;
}

#magic .bottom-bar .btn-wrap .btn-white {
  background-color: #fff;
  color: #000;
}

#magic .bottom-bar .btn-wrap .btn-black {
  background-color: #000;
  color: #fff;
}

#magic .bottom-bar .btn-wrap .btn span {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

#magic .bottom-bar .btn-wrap .btn .review-count {
  position: absolute;
  right: 12px;
  top: -12px;
  border-radius: 12px;
  background: #DA3023;
  padding: 4.5px 10px;
  color: #FFF;
  font-size: 11px;
  font-weight: 500;
  line-height: 140%;
  font-style: normal;
  letter-spacing: -0.44px;
}



/* 상품 옵션 모달 */
#magic .option-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;
}

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

#magic .option-modal .dim {
  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;
}

#magic .option-modal.active .dim {
  opacity: 1;
  visibility: visible;
  z-index: 50;
}

#magic .option-modal .container {
  position: absolute;
  left: 50%;
  height: 600px;
  top: unset;
  bottom: -600px;
  transform: translate(-50%, 0);
  width: 100%;
  max-width: 500px;
  /*max-width: 393px;*/
  z-index: 100;
  background: #fff;
  border-radius: 30px 30px 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s;
}

#magic .option-modal.active .container {
  transform: translate(-50%, -600px);
}

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

#magic .option-modal .container .modal-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 16px 20px;
}

#magic .option-modal .container .modal-title {
  color: #111;
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  padding-left: 4px;
}

#magic .option-modal .container .btn-close {
  width: 24px;
  position: absolute;
  right: 20px;
  top: 22px;
  outline: none;
  border: none;
  background: transparent;
  padding: 0;
}

#magic .option-modal .container .modal-cont {
  flex: 1;
  /*overflow-y: auto;*/
}

#magic .option-modal .container .modal-cont .section.product-info .step-block{
  padding-top: 0;
  padding-bottom: 25px;
}

#magic .option-modal .container .modal-cont .section.product-info .period-block {
  padding-bottom: 32px;
  border-bottom: none;
}

#magic .option-modal .container .modal-cont .section.product-info .step-block .block-title,
#magic .option-modal .container .modal-cont .section.product-info .period-block .block-title {
  font-size: 16px;
}

#magic .option-modal .container .modal-footer {
  width: 100%;
  flex-shrink: 0;
}

#magic .option-modal .container .modal-footer .btn {
  display: block;
  width: 100%;
  height: 54px;
  line-height: 53px;
  background: #000;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
}