.product-page{
  padding:70px 0 50px;
  background:#fffaf9;
}

.product-container{
  width:min(1180px,92%);
  margin:0 auto;
  display:grid;
  grid-template-columns:520px 1fr;
  gap:60px;
  align-items:start;
}

.product-gallery{
  position:sticky;
  top:110px;
}

.product-main-image{
  background:#fff;
  border-radius:34px;
  overflow:hidden;
  box-shadow:0 28px 80px rgba(229,125,167,.16);
}

.product-main-image img{
  width:100%;
  height:520px;
  object-fit:contain;
  background:#fff;
  display:block;
}

.product-gallery-placeholder{
  height:520px;
  display:grid;
  place-items:center;
  font-family:var(--title);
  font-size:54px;
  color:var(--pink);
  background:linear-gradient(135deg,#fff0f7,#f6efff);
}

.product-thumbs{
  display:flex;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap;
}

.product-thumbs button{
  width:82px;
  height:82px;
  border:2px solid transparent;
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(229,125,167,.12);
}

.product-thumbs button:hover{
  border-color:var(--pink);
}

.product-thumbs img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.product-summary{
  background:#fff;
  border-radius:34px;
  padding:44px;
  box-shadow:0 28px 80px rgba(229,125,167,.13);
}

.product-label{
  display:inline-flex;
  padding:8px 16px;
  border-radius:999px;
  background:#ffe0ec;
  color:var(--pink-dark);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:18px;
}

.product-summary h1{
  font-family:var(--title);
  font-size:clamp(38px,4vw,58px);
  line-height:1.04;
  color:var(--text);
  margin-bottom:14px;
}

.product-short{
  color:var(--muted);
  font-size:17px;
  line-height:1.7;
  margin-bottom:24px;
}

.product-price-box{
  margin:18px 0 10px;
}

.product-price-box small{
  display:block;
  color:#999;
  text-decoration:line-through;
  font-size:18px;
  margin-bottom:4px;
}

.product-price-box strong{
  display:block;
  color:var(--pink);
  font-size:44px;
  font-weight:900;
}

.product-installment{
  color:var(--muted);
  margin:12px 0 28px;
  font-size:15px;
}

.product-buy-box{
  display:grid;
  grid-template-columns:96px 1fr;
  gap:14px;
  margin-bottom:18px;
}

.product-buy-box input{
  height:58px;
  border:1px solid var(--border);
  border-radius:18px;
  text-align:center;
  font-size:18px;
  font-weight:800;
  background:#fff;
}

.product-buy-box .btn{
  height:58px;
  border-radius:18px;
}

.product-back{
  display:inline-block;
  margin-top:8px;
  color:var(--pink-dark);
  font-weight:800;
}

.product-description{
  padding:20px 0 80px;
  background:#fffaf9;
}

.product-description .product-container{
  display:block;
  background:#fff;
  border-radius:34px;
  padding:44px;
  box-shadow:0 24px 70px rgba(229,125,167,.10);
}

.product-description h2{
  font-family:var(--title);
  font-size:38px;
  margin-bottom:16px;
}

.product-description p{
  color:var(--muted);
  font-size:17px;
  line-height:1.85;
}

@media(max-width:950px){
  .product-container{
    grid-template-columns:1fr;
  }

  .product-gallery{
    position:static;
  }

  .product-main-image img,
  .product-gallery-placeholder{
    height:430px;
  }
}

@media(max-width:560px){
  .product-page{
    padding:40px 0;
  }

  .product-main-image img,
  .product-gallery-placeholder{
    height:330px;
  }

  .product-summary{
    padding:28px;
  }

  .product-buy-box{
    grid-template-columns:1fr;
  }
}