/* ALLKemicals structure focus v1 - product detail, 2026-11-12.
   Visual-only enhancement; no molecular connectivity, supplier source or DB changes. */
.product-v512 .pv512-commerce-card {
  grid-template-columns:minmax(340px,370px) minmax(0,1fr);
}
.product-v512 .pv512-structure { padding:18px 18px 22px; min-width:0; }
.product-v512 .pv512-structure-image {
  height:355px;
  background:#fff;
  cursor:zoom-in;
}
.product-v512 .pv512-structure-image .structure-primary-image {
  width:auto; height:auto; max-width:96%; max-height:94%;
  object-fit:contain; image-rendering:auto;
}
.product-v512 .pv512-structure-image .structure-rdkit-fallback {
  inset:8px;
}
.product-v512 .pv512-structure-image .structure-rdkit-fallback svg {
  width:96%!important; height:92%!important;
  max-width:96%!important; max-height:92%!important;
}
.product-v512 .pv512-structure-image .pv5133-structure-overlay { cursor:zoom-in; }
.product-v512 .ak-product-ruo {
  text-align:center; margin:13px 0 4px;
  color:#65258a; font-weight:800; font-size:14px; letter-spacing:.025em;
}
.product-v512 .pv512-structure-caption { margin:8px 0; }
.product-v512 .ak-product-zoom-row {
  display:flex; justify-content:center; margin:4px 0 13px;
}
.product-v512 .ak-product-zoom-button {
  border:1px solid #d5b9e3; border-radius:999px; padding:7px 12px;
  background:#faf5fd; color:#632188; font-size:12px; font-weight:800;
  cursor:pointer;
}
.product-v512 .ak-product-zoom-button:hover,
.product-v512 .ak-product-zoom-button:focus-visible {
  background:#eee1f6; outline-offset:2px;
}
.product-v512 .ak-availability-state {
  display:inline-flex; align-items:center; gap:9px;
  white-space:nowrap; vertical-align:middle;
}
.product-v512 .ak-availability-state .availability-dot {
  flex:0 0 8px; width:8px; height:8px; margin:0;
}
.ak-structure-hover-zoom {
  position:fixed; z-index:10020; width:400px; height:400px;
  border:1px solid #dbc5e7; background:#fff; border-radius:18px;
  box-shadow:0 22px 55px rgba(38,13,53,.2); padding:14px;
  pointer-events:none; display:none; box-sizing:border-box;
}
.ak-structure-hover-zoom.is-open { display:flex; flex-direction:column; }
.ak-structure-hover-zoom .ak-structure-zoom-art,
.ak-structure-lightbox .ak-structure-zoom-art {
  flex:1 1 auto; min-height:0; display:flex;
  align-items:center; justify-content:center; overflow:hidden;
}
.ak-structure-hover-zoom img,
.ak-structure-lightbox img {
  display:block; max-width:100%; max-height:100%; object-fit:contain;
}
.ak-structure-hover-zoom svg,
.ak-structure-lightbox svg {
  width:98%; height:98%; max-width:100%; max-height:100%;
}
.ak-structure-zoom-note { color:#632188; font-size:13px; font-weight:800;
  text-align:center; padding:7px 0 2px; }
.ak-structure-lightbox[hidden] { display:none!important; }
.ak-structure-lightbox {
  position:fixed; z-index:10030; inset:0;
  background:rgba(27,17,36,.76);
  display:flex; align-items:center; justify-content:center; padding:18px;
  box-sizing:border-box;
}
.ak-structure-lightbox-panel {
  position:relative; display:flex; flex-direction:column;
  width:min(90vw,740px); height:min(88vh,740px); box-sizing:border-box;
  background:#fff; border-radius:22px; padding:24px; overflow:hidden;
}
.ak-structure-lightbox-close {
  position:absolute; right:13px; top:12px;
  width:39px; height:39px; border:1px solid #dbc5e7;
  border-radius:50%; background:#fff; color:#4b2460;
  font-size:25px; line-height:1; cursor:pointer; z-index:1;
}
.ak-structure-lightbox-title {
  text-align:center; font-weight:800; padding:8px 48px 12px;
  color:#361946;
}
@media(max-width:1030px) {
  .product-v512 .pv512-commerce-card { grid-template-columns:320px minmax(0,1fr); }
}
@media(max-width:760px) {
  .product-v512 .pv512-commerce-card { display:block; }
  .product-v512 .pv512-structure-image { height:330px; }
  .ak-structure-hover-zoom { display:none!important; }
  .ak-structure-lightbox-panel { width:96vw; height:min(82vh,650px); padding:16px; }
}

/* Readability refinements for the screenshot examples. */
.product-v512 .breadcrumb,
.product-v512 .breadcrumb a,
.product-v512 .breadcrumb > span {
  font-size:15px;
  line-height:1.55;
}
.product-v512 #pv512-selected-inquiry {
  color:#692591;
  border-color:#d5b9e3;
  font-weight:800;
}
.product-v512 #pv512-selected-inquiry:hover,
.product-v512 #pv512-selected-inquiry:focus-visible {
  color:#542075;
  background:#f7eefb;
}
