.product-detail-page{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
  padding:46px 0 70px;
}

.product-detail{
  display:grid;
  grid-template-columns:minmax(0,520px) minmax(0,1fr);
  gap:48px;
  align-items:start;
}

.product-gallery{
  width:100%;
  min-width:0;
}

.product-main-image{
  width:100%;
  aspect-ratio:1/1;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:24px;
  overflow:hidden;

  background:#f5f8f6;
  border:1px solid rgba(88,211,155,.18);
  border-radius:20px;
}

.product-main-image img{
  width:100%;
  height:100%;
  max-width:470px;
  max-height:470px;

  display:block;
  object-fit:contain;
}

.product-thumbnails{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.product-thumb{
  width:72px;
  height:72px;

  padding:5px;
  overflow:hidden;

  background:#f5f8f6;
  border:1px solid rgba(88,211,155,.22);
  border-radius:10px;

  cursor:pointer;
}

.product-thumb.active{
  border-color:#ffb85c;
  box-shadow:0 0 0 1px #ffb85c;
}

.product-thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
}

.product-detail-info{
  min-width:0;
  padding:12px 0;
}

.product-detail-info .tag{
  display:inline-block;
  margin-bottom:14px;
}

.product-detail-info h1{
  max-width:650px;

  margin:0 0 18px;

  color:#fff;

  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(28px,3vw,42px);
  line-height:1.12;
  letter-spacing:-.5px;
}

.product-description{
  max-width:640px;

  margin:0 0 24px;

  color:#b9c6bf;

  font-size:16px;
  line-height:1.7;
}

.product-detail-info .store{
  margin:0 0 12px;
  color:#b9c6bf;
  font-size:14px;
}

.product-detail-info .price{
  margin:0 0 24px;

  color:#fff;

  font-size:38px;
  font-weight:900;
}

.product-detail-info .offer{
  max-width:420px;
  padding:15px 18px;
  font-size:15px;
}

@media(max-width:950px){

  .product-detail{
    grid-template-columns:minmax(0,46%) minmax(0,54%);
    gap:30px;
  }

  .product-main-image{
    padding:18px;
  }
}

@media(max-width:800px){

  .product-detail-page{
    width:calc(100% - 24px);
    padding:24px 0 50px;
  }

  .product-detail{
    grid-template-columns:1fr;
    gap:26px;
  }

  .product-gallery{
    max-width:520px;
    margin:0 auto;
  }

  .product-main-image{
    padding:18px;
    border-radius:16px;
  }

  .product-detail-info{
    padding:0;
  }

  .product-detail-info h1{
    font-size:28px;
  }

  .product-description{
    font-size:15px;
  }

  .product-detail-info .price{
    font-size:30px;
  }

  .product-detail-info .offer{
    max-width:100%;
  }
}

@media(max-width:480px){

  .product-detail-page{
    width:calc(100% - 20px);
  }

  .product-main-image{
    padding:12px;
  }

  .product-thumb{
    width:62px;
    height:62px;
  }

  .product-detail-info h1{
    font-size:25px;
  }

  .product-detail-info .price{
    font-size:27px;
  }
}