@charset "UTF-8";

@media screen and (max-width: 1440px) {
  html {
    font-size: 9px;
  }

  .wrap {
    width: 94%;
  }

  .product .wrap {
    display: flex;
    justify-content: center;
    gap: 10rem;
  }

  .product .leftbox img {
    max-width: 60rem;
  }

  .product .rightbox {
    margin-right: 0;
  }

  .product .btnbox button {
    min-width: 25rem;
  }

  .product .ctabtn {
    min-width: 25rem;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 8px;
  }

  .wrap {
    width: 92%;
  }

  /* product 섹션 */
  .product {
    height: auto;
    padding: 100px 0;
  }

  .product .leftbox img {
    max-width: 100rem;
  }

  .product .mo {
    display: block;
  }

  .product .wrap {
    flex-direction: column;
  }

  .price p {
    display: flex;
    align-items: center; /* 세로 중앙 정렬 */
    flex-wrap: nowrap; /* 줄바꿈 방지 */
    gap: 0.6rem;
    white-space: nowrap;
  }

  .product .price img {
    max-width: 1.5rem;
  }

  .product .btnbox button {
    width: 100%;
    /* min-width: 40rem; 제거 */
  }

  .product .ctabtn {
    width: 100%;
    margin-top: 2rem;
    /* min-width: 62rem; 제거 */
  }

  .product .rightbox {
    margin-right: 0;
  }

  /* 결제 / 배송 / 환불 정책 */
  .policy {
    gap: 4rem;
    flex-direction: column;
    overflow-y: auto;
  }

  .policy .close {
    max-width: 20px;
  }
}

@media (max-width: 480px) {
  .phone {
    flex: 1 1 30%;
    max-width: 100%;
  }
}
