/* LevELLance Product Detail UX Enhancement */
.product-detail-unified{
  display:grid !important;
  grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr) !important;
  gap:32px !important;
  align-items:start !important;
}
.product-hero-copy .btn,
.product-demo-direct .btn,
.pricing-card .btn{
  border:1px solid transparent !important;
  font-weight:700 !important;
}
.product-hero-copy .btn-primary,
.product-demo-direct .btn-primary,
.pricing-card .btn-primary{
  background:#1d4ed8 !important;
  color:#fff !important;
  border-color:#1d4ed8 !important;
}
.product-hero-copy .btn-primary:hover,
.product-demo-direct .btn-primary:hover,
.pricing-card .btn-primary:hover{
  background:#1e40af !important;
  color:#fff !important;
  border-color:#1e40af !important;
}
.product-hero-copy .btn-light,
.product-demo-direct .btn-light{
  background:#fff !important;
  color:#172554 !important;
  border-color:#cbd5e1 !important;
}
.product-hero-copy .btn-light:hover,
.product-demo-direct .btn-light:hover{
  background:#f1f5f9 !important;
  color:#0f172a !important;
  border-color:#94a3b8 !important;
}

/* Cover and gallery are one visual unit. */
.product-gallery-hero{
  width:100% !important;
  margin:0 !important;
}
.product-gallery-hero .gallery-stage{
  width:100% !important;
}
.product-gallery-hero .gallery-thumbs{
  display:flex !important;
  width:100% !important;
  max-width:100% !important;
  gap:10px !important;
  overflow-x:auto !important;
  justify-content:flex-start !important;
  padding:2px 0 4px !important;
}
.product-gallery-hero .gallery-thumbs[hidden]{display:none !important;}
.product-gallery-hero .gallery-thumbs button{
  flex:0 0 82px !important;
  width:82px !important;
  height:64px !important;
}

/* Demo follows gallery and stays left aligned. */
.product-demo-direct{
  width:100% !important;
  margin:14px 0 0 !important;
  text-align:left !important;
}
.product-demo-direct-head{
  justify-content:flex-start !important;
  flex-wrap:wrap !important;
}
.product-demo-direct-row{
  justify-content:flex-start !important;
}
.product-demo-direct-info{
  flex:1 1 260px !important;
  text-align:left !important;
}
.product-demo-direct-actions{
  justify-content:flex-start !important;
}

/* Features must use the full content width, not a half-width legacy grid. */
.product-feature-grid{
  width:100% !important;
  max-width:none !important;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px !important;
}
.product-feature-card{
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box !important;
}

@media(max-width:900px){
  .product-detail-unified{grid-template-columns:1fr !important;}
}
@media(max-width:700px){
  .product-feature-grid{grid-template-columns:1fr !important;}
}
