.garment-detail {
  margin: 0;
  color: var(--graphite, #171916);
  border-block: 1px solid var(--hairline, #d4d5d1);
  background: var(--surface, #fff);
}
.garment-detail summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 5px 8px;
  cursor: pointer;
  list-style: none;
}
.garment-detail summary::-webkit-details-marker { display: none; }
.garment-detail summary:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.garment-detail summary strong { font-size: 14px; font-weight: 850; }
.garment-detail-icon {
  width: 17px;
  height: 17px;
  flex: none;
  background:
    linear-gradient(currentColor, currentColor) left top / 6px 1px,
    linear-gradient(currentColor, currentColor) left top / 1px 6px,
    linear-gradient(currentColor, currentColor) right bottom / 6px 1px,
    linear-gradient(currentColor, currentColor) right bottom / 1px 6px,
    radial-gradient(circle, currentColor 2px, transparent 2.5px);
  background-repeat: no-repeat;
}
.garment-detail-label { color: var(--muted-ink, #555); font-size: 12px; }
.garment-detail-chevron {
  margin-inline-start: auto;
  width: 7px;
  height: 7px;
  margin-inline-end: 3px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.garment-detail[open] .garment-detail-chevron { transform: rotate(225deg); }
.garment-detail-figure { margin: 0; }
.garment-detail-photos {
  display: grid;
  grid-template-columns: 31% minmax(0, 1fr);
  gap: 3px;
  align-items: stretch;
  overflow: hidden;
  background: var(--surface, #fff);
}
.garment-detail-map { position: relative; align-self: center; }
.garment-detail-map img { display: block; width: 100%; height: auto; }
.garment-detail-crop { display: block; width: 100%; height: 100%; min-height: 0; }
.garment-detail-leader {
  position: absolute;
  left: var(--detail-x);
  right: 0;
  top: var(--detail-y);
  height: 2px;
  background: var(--seam, #b9e527);
  box-shadow: 0 1px 0 #141414;
}
.garment-detail-leader::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -4px;
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  border: 2px solid var(--seam, #b9e527);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #141414;
}
.garment-detail-figure figcaption {
  margin: 0;
  padding: 9px 8px 12px;
  font-size: 13px;
  line-height: 1.75;
}
.product-shop .item-info > .garment-detail { margin-block: 0 16px; }
@media (prefers-reduced-motion: no-preference) {
  .garment-detail[open] .garment-detail-figure { animation: detail-photo-in .25s ease-out; }
  .garment-detail-chevron { transition: transform .2s ease-out; }
  @keyframes detail-photo-in { from { opacity: .5; transform: translateY(3px); } }
}
