:root{--dark:#04111F;--blue:#075BFF;--cyan:#00B8D9;--soft:#F4F8FC;--border:#DDE8F3;--text:#081525;--red:#B12704;--green:#16A34A}
*{box-sizing:border-box}
body{margin:0;background:var(--soft);font-family:Inter,Arial,Helvetica,sans-serif;color:var(--text)}
a{text-decoration:none}
.product-page{
  width:min(1180px,94%);
  margin:34px auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.product-gallery,.product-info{
  background:white;
  border:1px solid var(--border);
  border-radius:28px;
  box-shadow:0 18px 46px rgba(15,23,42,.10);
}
.product-gallery{
  min-height:440px;
  display:grid;
  place-items:center;
  padding:28px;
}
.product-gallery img{
  max-width:100%;
  max-height:390px;
  object-fit:contain;
}
.product-info{
  padding:34px;
}
.crumb{
  color:var(--blue);
  font-weight:950;
  letter-spacing:.4px;
  margin-bottom:8px;
}
.product-info h1{
  font-size:32px;
  line-height:1.1;
  margin:0 0 14px;
  font-weight:950;
}
.rating{
  color:#FF9900;
  font-weight:950;
  margin-bottom:18px;
}
.rating span{
  color:#334155;
}
.description{
  color:#243247;
  line-height:1.65;
  margin-bottom:20px;
}
.spec-box{
  background:#F8FBFF;
  border:1px solid var(--border);
  border-radius:22px;
  padding:18px;
  margin:18px 0;
}
.spec-box h2{
  font-size:20px;
  margin:0 0 12px;
}
.spec-box ul{
  margin:0;
  padding-left:20px;
  display:grid;
  gap:8px;
}
.spec-box li{
  line-height:1.45;
}
.price{
  color:var(--red);
  font-size:38px;
  font-weight:950;
  margin:20px 0;
}
.price span{
  color:#94A3B8;
  font-size:18px;
  text-decoration:line-through;
  margin-left:8px;
}
.buy-box{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
.qty{
  display:flex;
  align-items:center;
  border:1px solid var(--border);
  border-radius:15px;
  overflow:hidden;
  background:white;
}
.qty button{
  width:42px;
  height:42px;
  border:0;
  background:#F8FBFF;
  font-size:20px;
  font-weight:950;
  cursor:pointer;
}
.qty input{
  width:70px;
  height:42px;
  border:0;
  text-align:center;
  outline:0;
}
.add,.back{
  border:0;
  border-radius:15px;
  padding:13px 18px;
  font-weight:950;
  color:white;
  background:linear-gradient(135deg,var(--blue),var(--cyan));
  cursor:pointer;
}
.back{
  background:var(--dark);
}
@media(max-width:800px){
  .product-page{
    grid-template-columns:1fr;
    margin:18px auto;
  }
  .product-gallery{
    min-height:280px;
  }
  .product-gallery img{
    max-height:240px;
  }
  .product-info{
    padding:22px;
  }
  .product-info h1{
    font-size:26px;
  }
  .price{
    font-size:32px;
  }
  .buy-box{
    display:grid;
    grid-template-columns:1fr;
  }
  .qty,.add,.back{
    width:100%;
  }
}
