/* Same-SKU material evidence and honest strand-layout preview. */
:root body :is(.material-popover, .product-inline-detail) .realshot-material-proof :is(.popover-strand-proof, .popover-source-proof) {
  display: grid;
  gap: 7px;
  min-width: 0;
}

:root body :is(.material-popover, .product-inline-detail) .realshot-material-proof .popover-source-proof {
  padding-top: 11px;
  border-top: 1px solid rgba(23, 63, 45, 0.12);
}

:root body :is(.material-popover, .product-inline-detail) .realshot-material-proof .popover-proof-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

:root body :is(.material-popover, .product-inline-detail) .realshot-material-proof .popover-proof-heading > strong {
  min-width: 0;
  color: #234f37;
  font-size: 12px;
  line-height: 1.3;
}

:root body :is(.material-popover, .product-inline-detail) .realshot-material-proof .popover-proof-heading > span {
  flex: 0 0 auto;
  max-width: 58%;
  padding: 3px 6px;
  border: 1px solid rgba(142, 103, 32, 0.2);
  border-radius: 4px;
  background: #fffaf0;
  color: #735617;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
}

:root body :is(.material-popover, .product-inline-detail) .realshot-material-proof .popover-strand-preview {
  --strand-size: clamp(30px, 9vw, 42px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 10px 8px;
  overflow: hidden;
  border: 1px solid rgba(23, 63, 45, 0.1);
  border-radius: 6px;
  background: #eee9de;
}

:root body :is(.material-popover, .product-inline-detail) .realshot-material-proof .popover-strand-preview::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 1px;
  background: rgba(84, 73, 53, 0.32);
  transform: translateY(-50%);
}

:root body :is(.material-popover, .product-inline-detail) .realshot-material-proof .popover-strand-bead {
  position: relative;
  z-index: var(--z-local-content);
  flex: 0 0 var(--strand-size);
  width: var(--strand-size);
  height: var(--strand-size);
  margin-left: calc(var(--strand-size) * -0.16);
  border-radius: 50%;
  background-color: transparent;
  background-image: var(--strand-bead);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 106% 106%;
  box-shadow: 0 4px 9px rgba(43, 30, 20, 0.16);
  filter: none;
  transform: translateY(var(--strand-y, 0)) scale(var(--strand-scale, 1)) rotate(var(--strand-rotation, 0));
}

:root body :is(.material-popover, .product-inline-detail) .realshot-material-proof .popover-strand-bead:first-child {
  margin-left: 0;
}

@media (max-width: 540px) {
  :root body .material-popover .realshot-material-proof .popover-proof-heading {
    align-items: flex-start;
  }

  :root body .material-popover .realshot-material-proof .popover-proof-heading > span {
    max-width: 62%;
  }

  :root body .material-popover .realshot-material-proof .popover-strand-preview {
    min-height: 66px;
    padding-inline: 5px;
  }
}
