/* Layout */
.product-detail{
  display:grid; gap:24px;
  grid-template-columns: 1.2fr 1fr;
  align-items:start;
  margin: 22px 0 60px;
}
@media (max-width: 900px){
  .product-detail{ grid-template-columns: 1fr; }
}

/* Gallery */
.pd-gallery{ position: relative; }
.pd-main-wrap{
  width:100%; border:none; background:#fff; padding:0; cursor:zoom-in;
  display:block; border-radius:16px; overflow:hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.pd-main-wrap img{ width:100%; display:block; }

.pd-thumbs{
  display:flex; gap:10px; margin-top:10px; flex-wrap:wrap;
}
.pd-thumb{
  width:84px; height:84px; border:none; padding:0; cursor:pointer;
  border-radius:10px; overflow:hidden; background:#fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  outline: 2px solid transparent;
}
.pd-thumb.is-active{ outline-color: #FF7373; }
.pd-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

/* Info */
.pd-info{}
.pd-title{
  margin:0 0 6px; font-family:"Almendra Display", serif;
  font-size: clamp(22px, 3.6vw, 34px);
}
.pd-price-row{ display:flex; align-items:center; gap:14px; margin:10px 0 14px; }
.pd-price{ font-weight:800; font-size: 22px; }

.pd-desc{ margin: 8px 0 10px; line-height:1.6; }
.pd-specs{ margin: 10px 0 0 18px; line-height:1.6; }

/* Lightbox */
.pd-lightbox{
  position: fixed; inset:0; display:grid; place-items:center;
  background: rgba(0,0,0,.8); z-index: 9999;
}
.pd-lightbox[hidden]{ display:none; }
#pd-big{ max-width: 92vw; max-height: 90vh; border-radius: 10px; }

.pd-close{
  position:absolute; top:18px; right:18px;
  width:40px; height:40px; border-radius:999px; border:none; cursor:pointer;
  background:#fff; font-size:26px; line-height:1;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.pd-nav{
  position:absolute; top:50%; transform: translateY(-50%);
  width:42px; height:42px; border-radius:999px; border:none; cursor:pointer;
  background:#fff; font-size:28px; line-height:1;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.pd-prev{ left:18px; }
.pd-next{ right:18px; }
