/* Product Detail Layout */
.page-product-detail {
  --pd-sticky-top: 120px;
  background: radial-gradient(circle at 10% 10%, #eef8fb, #ffffff 60%);
}
.pd-detail-wrapper {
  max-width: 1600px;
  margin: 0 auto;
}
.pd-gallery-sticky { position: sticky; top: var(--pd-sticky-top); }
@media (max-width: 992px){
  .pd-gallery-sticky { position: static; }
}
.pd-related-track { scrollbar-width: thin; }
.pd-related-track::-webkit-scrollbar { height:8px; }
.pd-related-track::-webkit-scrollbar-thumb { background:#ccc; border-radius:4px; }

/* Responsive tuning for sticky offset and spacing */
@media (max-width: 1199.98px){
  .page-product-detail { --pd-sticky-top: 104px; }
}
@media (max-width: 991.98px){
  .page-product-detail { --pd-sticky-top: 0px; }
}

/* Sticky Cart Bar */
.pd-sticky-cart{ position: fixed; left:0; right:0; bottom:-120px; z-index: 1050; transition: bottom .35s ease, transform .35s ease; }
.pd-sticky-cart.show{ bottom:0; }
.pd-sticky-cart .psc-inner{ background: #fff; border-top:1px solid rgba(0,0,0,.06); box-shadow: 0 -10px 30px -12px rgba(0,0,0,.25); padding: 12px 18px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.psc-thumb{ width:64px; height:64px; object-fit:cover; border-radius:12px; background:#f6f7f9; }
.psc-title{ font-weight:800; line-height:1.2; }
.psc-price{ font-weight:800; color:var(--pink-700); font-size:1.15rem; }
.psc-add{ background: var(--brand-gradient); border:none; font-weight:700; border-radius:999px; padding:10px 18px; }
.psc-add:hover{ filter: brightness(1.05); }
@media (max-width: 575.98px){
  .pd-sticky-cart .psc-inner{ padding:10px 12px; }
  .psc-thumb{ width:52px; height:52px; }
  .psc-title{ font-size:.95rem; }
}
