@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

body {
  font-family: "Pretendard Variable", sans-serif;
  color: #333;
  /* width: 100vw; */
  overflow-x: hidden;
}


a {
  text-decoration: none;
  color: #333;
}


main {
  padding: 80px 0px;
  margin: 0 auto;
  max-width: 1480px;
  width: calc(100% - 40px);
  display: flex;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
}

main .detail-Descrip {
  max-width: 979px;
  width: 66%;
}

main .detail-Descrip .Thumbnail img {
  width: 100%;
}


main .detail-Descrip .gallery {
  margin: 0 auto;
  width: 89%;
  margin-bottom: 48px;
}

main .detail-Descrip .gallery ul {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  grid-gap: 24px;
}

main .detail-Descrip .gallery ul li {
  width: 100%;
  /* border: 3px solid #000; */
  position: relative;
  overflow: hidden;
}

main .detail-Descrip .gallery ul li img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

main .detail-Descrip .description,
main .detail-Descrip .product_info {
  width: 89%;
  margin: 50px auto;
}

main .detail-Descrip .description h4,
main .detail-Descrip .product_info h4 {
  font-size: 1.5rem;
  color: #333;
  padding-bottom: 24px;
}

/*main .detail-Descrip .description {
   border: 1px solid #efefef; 
  background: #efefef; 
}*/

main .detail-Descrip .description .ment01 {
  margin-bottom: 20px;
}

main .detail-Descrip .description .ment01 p {
  padding-bottom: 16px;
  font-size: 14px;
  line-height: 20px;
}

main .detail-Descrip .description .ment02 ul {
  font-weight: 500;
  line-height: 40px;
}

main .detail-Descrip .description .ment02 ul li {
  padding-bottom: 16px;
  font-size: 14px;
  line-height: 20px;
  color: #777;
}

main .detail-Descrip .product_info {
  margin-bottom: 100px;
  background: #efefef;
  padding: 24px;
}

main .detail-Descrip .product_info img {
  width: 150px;
}

main .detail-Descrip .product_info .info-disc {
  font-size: 14px;
  line-height: 20px;
  background: #efefef;
}

main .detail-Descrip .product_info .info-disc dt {
  font-weight: 500;
  padding-bottom: 16px;
}

main .detail-Descrip .product_info .info-disc dd {
  color: #777;
  padding-left: 20px;
  padding-bottom: 16px;
}

main .detail-Descrip .product_info .info-disc p {
  font-size: 13px;
  color: #aaa;
  padding-top: 24px;
}

main .detail-Aside {
  position: sticky;
  top: 0;
  /* right: 11.5vw; */
  right: 0;
  width: 30%;
  /* 1480 일때 444px */
  background: #fff;
  height: 100vh;
  overflow-y: auto;
  padding: 24px;
  border: 1px solid #777;
}

main .detail-Aside .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
}

main .detail-Aside .title h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #333;
}

main .detail-Aside .title i.fa-share-nodes {
  cursor: pointer;
}

main .detail-Aside .price {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
}

main .detail-Aside .price>span {
  color: #f00;
  font-weight: 400;
}
main .detail-Aside .price>p {
  font-weight: 600;
 }
main .detail-Aside .price del {
  color: #777;
  font-size: 0.875rem;
}

main .detail-Aside .review {
  font-size: 0.875rem;
  color: #333;
  padding-bottom: 36px;
}

main .detail-Aside .review i.fa-solid {
  font-weight: 600;
}

main .detail-Aside .review span:first-of-type {
  font-weight: 600;
}

main .detail-Aside .review span:last-child {
  font-weight: 400;
  color: #777;
}

main .detail-Aside .color {
  font-size: 1rem;
  padding-bottom: 30px;
}

main .detail-Aside .color h4 {
  color: #777;
  padding-bottom: 10px;
}

main .detail-Aside .color h4 span {
  color: #333;
  padding-left: 16px;
}

main .detail-Aside .color .beige {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: beige;
}

main .detail-Aside .color .black {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #000;
}

main .detail-Aside .color .skyblue {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #87CEEB;
}

main .detail-Aside .color .skyblue {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: skyblue;
}

main .detail-Aside .color .white {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #ddd;
}

/* 색상 선택 상호작용 */
main .detail-Aside .color span.beige,
main .detail-Aside .color span.black {
  cursor: pointer;
  margin-right: 10px;
  box-sizing: border-box;
  border: 2px solid transparent;
}

main .detail-Aside .color span.skyblue {
  cursor: pointer;
  margin-right: 10px;
  box-sizing: border-box;
  border: 2px solid transparent;
}

main .detail-Aside .color span.white {
  cursor: pointer;
  margin-right: 10px;
  box-sizing: border-box;
  border: 1px solid #ddd;
}

main .detail-Aside .color span.selected {
  border-color: #00BAC6;
  box-shadow: 0 0 0 3px #e6f7fa;
}

main .detail-Aside .color span:focus-visible {
  outline: 3px solid #00BAC6;
  outline-offset: 2px;
}

main .detail-Aside .sizecheck {
  width: 100%;
  height: 52px;
  border: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.25s ease;
  margin-bottom: 36px;
}

main .detail-Aside .sizecheck a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  font-weight: 600;
}

main .detail-Aside .sizecheck:hover {
  background-color: #ddd;
}

main .detail-Aside .size {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 80px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
  cursor: pointer;
}

main .detail-Aside .size span {
  width: 20%;
  height: 50px;
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  font-size: 0.875rem;
}

main .detail-Aside .size span.selected {
  background-color: #333;
  color: #fff;
}

main .detail-Aside .count_btn {
  display: flex;
  width: 120px;
  height: 35px;
  border: 1px solid #ccc;
  overflow: hidden;
  margin-bottom: 36px;
}

main .detail-Aside .count_btn button {
  flex: 1;
  background-color: #f5f5f5;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 500;
  transition: background 0.2s;
}

main .detail-Aside .count_btn button:hover {
  background-color: #e0e0e0;
}

main .detail-Aside .count_btn input.count {
  width: 55px;
  text-align: center;
  border: none;
  border-left: 1px solid #ccc;
  font-size: 1rem;
  outline: none;
}

main .detail-Aside .count_btn .plus {
  border-left: 1px solid #ccc;
}

main .detail-Aside .cart_btn {
  position: sticky;
  bottom: 0px;
  right: 11.5vw;
  background: #fff;
  /* background: #4e4e4e; */
  display: flex;
  gap: 8px;
  /* padding: 16px; */
  margin: 24px 0px;
  z-index: 99;
  width: 100%;
}

main .detail-Aside .cart_btn .cart,
main .detail-Aside .cart_btn .buy {
  width: calc((100% - 50px - 16px) / 2);
  height: 50px;
  font-size: 1rem;
  box-sizing: border-box;
  cursor: pointer;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.5s ease;
}

main .detail-Aside .cart {
  background-color: #fff;
  color: #333;
  border: 1px solid #333;
}

main .detail-Aside .cart:hover {
  color: #aaa;
  border-color: #aaa;
}

main .detail-Aside .buy {
  background-color: #333;
  color: #fff;
  border: 1px solid #333;
}

main .detail-Aside .buy:hover {
  background-color: #fff;
  color: #333;
  border-color: #333;
}

main .detail-Aside .wish {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  background-color: #fff;
  border: 1px solid #333;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

main .detail-Aside .wish i {
  color: #777;
  font-size: 1.5em;
  transition: color 0.2s ease, transform 0.2s ease;
}

main .detail-Aside .wish:hover i {
  transform: scale(1.1);
}

main .detail-Aside .wish.active i {
  color: #00BAC6;
}

main .detail-Aside .client {
  text-align: right;
  text-decoration: underline;
  font-size: 0.875rem;
  transform: translateY(-50px);
}

main .detail-Aside .client a {
  padding-right: 6px;
}

main .detail-Aside .free {
  margin-bottom: 30px;
}

main .detail-Aside .free ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-weight: 1rem;
  width: 100%;
  padding: 24px;
  background-color: #ddd;
}

main .detail-Aside .free ul .freeitem {
  font-weight: 600;
  color: #333;
}

main .detail-Aside .free ul .item {
  color: #777;
}


/* 반응형 */
@media (min-width: 1520px) {
  main {
    width: 1480px;
  }
}

/* 기본: 모바일 전용 요소 숨김, PC 전용 요소 표시 */
.mo-only {
  display: none !important;
}

.pc-only {
  display: block !important;
}

/* 모바일 기준: 0 ~ 767px */
@media (max-width: 767px) {
  .mo-only {
    display: block !important;
  }

  .pc-only {
    display: none !important;
  }

  .mobile-slide {
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 390 / 497;
    height: auto;
  }

  .mobile-slide .swiper-wrapper {
    width: 100%;
    height: 100%;
  }

  .mobile-slide .swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mobile-slide .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-header {
    display: none !important;
  }

  main {
    flex-direction: column;
    align-items: stretch;
  }

  main .detail-Descrip {
    width: 100%;
    max-width: none;
  }

  main .detail-Aside {
    position: static;
    width: 100%;
    height: auto;
    right: auto;
  }

  main .detail-Descrip,
  main .detail-Aside {
    display: contents;
  }

  main .detail-Aside form {
    display: contents;
  }

  main .detail-Aside>* {
    order: 10;
  }

  main .detail-Aside .title {
    display: flex !important;
    order: 1;
    padding-top: 24px;
    padding-bottom: 8px;
  }

  main .detail-Aside .price {
    display: flex !important;
    order: 2;
    padding-bottom: 12px;
  }

  main .detail-Descrip .mobile-slide {
    order: 3;
  }

  main .detail-Descrip>* {
    order: 4;
  }

  main .detail-Aside .review,
  main .detail-Aside .color,
  main .detail-Aside .sizecheck,
  main .detail-Aside .size,
  main .detail-Aside .count_btn,
  main .detail-Aside .client,
  main .detail-Aside .free,
  main .detail-Aside .cart_btn {
    order: 4;
  }

  main .detail-Descrip .description,
  main .detail-Descrip .product_info {
    order: 5;
  }

  .cart_btn {
    position: fixed !important;
    width: 96.5% !important;
    bottom: 0;
    left: 2%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  main .detail-Aside {
    width: 444px;
    flex: 0 0 444px;
  }

  main .detail-Descrip {
    width: calc(100% - 444px - 24px);
    flex: 1 1 auto;
  }
}