/* Companion garments share the existing monochrome merchandising language. */
.evolved .recommendations { padding-block: 44px; border-top: 1px solid #d4d4d4; }
.evolved .recommendations .section-head { align-items: center; gap: 24px; margin-bottom: 26px; }
.evolved .recommendations .section-head h2 { font-size: clamp(25px, 2.5vw, 34px); line-height: 1.3; }
.evolved .recommendations .section-head h2 br { display: none; }
.evolved .recommendations .section-head > p { font-size: 14px; }
.evolved .related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.evolved .related-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 18px; min-width: 0; }
.evolved .related-card > figure { margin: 0; overflow: hidden; background: #ecebea; border-radius: 9px; }
.evolved .related-card img { display: block; width: 100%; height: 170px; object-fit: cover; object-position: center 22%; }
.evolved .related-card-copy { min-width: 0; padding: 0; }
.evolved .related-card h3 { color: #111; font-size: 18px; line-height: 1.45; letter-spacing: -.025em; word-break: keep-all; overflow-wrap: anywhere; }
.evolved .related-card-copy > p { margin-top: 5px; color: #515151; font-size: 13px; line-height: 1.6; }
.evolved .related-card-copy > strong { display: block; margin-top: 8px; color: #111; font-size: 21px; font-variant-numeric: tabular-nums; line-height: 1.4; }
.evolved .related-card-copy .text-action { min-height: 44px; margin-top: 4px; gap: 12px; font-size: 13px; }
.evolved #related-product-dialog { width: min(900px, calc(100% - 48px)); max-height: 90dvh; padding: 0; border: 0; border-radius: 14px; background: #fff; color: #111; }
.evolved #related-product-dialog::backdrop { background: rgb(0 0 0 / .5); }
.evolved #related-product-dialog .dialog-header { position: sticky; top: 0; z-index: 1; background: #fff; }
.evolved .related-product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 30px; padding: 30px; }
.evolved .related-product-photo { min-width: 0; margin: 0; overflow: hidden; border-radius: 12px; background: #ecebea; }
.evolved .related-product-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.evolved .related-product-form { min-width: 0; margin: 0; }
.evolved .related-product-description { color: #515151; font-size: 14px; line-height: 1.8; }
.evolved .related-product-price { display: block; margin: 17px 0 25px; color: #111; font-size: 28px; font-variant-numeric: tabular-nums; line-height: 1.4; }
.evolved .related-product-form > label { display: grid; gap: 9px; margin-top: 20px; color: #111; font-size: 13px; font-weight: 600; line-height: 1.6; }
.evolved .related-product-form select { width: 100%; min-height: 46px; padding: 11px 36px 11px 12px; border: 1px solid #bcbcbc; border-radius: 0; background: #fff; color: #111; font: inherit; font-size: 14px; font-weight: 400; }
.evolved .related-quantity { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 25px; }
.evolved .related-quantity > label { color: #111; font-size: 13px; font-weight: 600; }
.evolved .related-quantity .quantity-stepper { display: grid; grid-template-columns: 44px 58px 44px; min-height: 46px; }
.evolved .related-quantity .quantity-stepper :is(input, button) { min-width: 0; min-height: 46px; margin: 0; padding: 8px; border: 1px solid #ccc; border-radius: 0; background: #fff; color: #111; font: inherit; font-size: 14px; text-align: center; }
.evolved .related-quantity .quantity-stepper input { width: 100%; border-inline: 0; appearance: textfield; }
.evolved .related-quantity input::-webkit-inner-spin-button, .evolved .related-quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.evolved .related-quantity button:disabled { color: #9a9a9a; cursor: default; }
.evolved .related-totals { margin: 27px 0 0; padding-top: 20px; border-top: 1px solid #d4d4d4; }
.evolved .related-totals > div { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: #515151; font-size: 13px; line-height: 1.7; }
.evolved .related-totals > div:first-child { margin-top: 0; }
.evolved .related-totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.evolved .related-totals .related-total { align-items: baseline; margin-top: 21px; padding-top: 18px; border-top: 1px solid #111; color: #111; font-weight: 600; }
.evolved .related-total dd { font-size: 25px; line-height: 1.3; }
.evolved .related-shipping-note { margin-top: 14px; color: #515151; font-size: 12px; line-height: 1.7; }
.evolved .related-error { margin-top: 15px; color: #111; font-size: 13px; font-weight: 600; line-height: 1.7; }
.evolved .related-error[hidden], .evolved .recommendations[hidden] { display: none; }
.evolved .related-checkout { width: 100%; min-height: 50px; margin-top: 23px; }
.evolved :is(.recommendations button, #related-product-dialog button, #related-product-dialog select, #related-product-dialog input):focus-visible { outline: 2px solid #111; outline-offset: 4px; }
@media (hover: hover) { .evolved .related-card-copy .text-action:hover { color: #5c5c5c; } }
@media (max-width: 760px) {
  .evolved .recommendations { padding-block: 32px; }
  .evolved .recommendations .section-head { margin-bottom: 22px; }
  .evolved .recommendations .section-head h2 { font-size: 25px; }
  .evolved .recommendations .section-head > p { margin-top: 9px; font-size: 14px; }
  .evolved .recommendations .section-head > p br { display: none; }
  .evolved .related-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .evolved .related-card { grid-template-columns: 104px minmax(0, 1fr); gap: 18px; }
  .evolved .related-card img { height: 138px; object-position: center 24%; }
  .evolved .related-card h3 { font-size: 18px; }
  .evolved .related-card-copy > strong { margin-top: 7px; font-size: 21px; }
  .evolved #related-product-dialog { top: auto; bottom: 0; width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .evolved .related-product-layout { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
  .evolved .related-product-layout > :is(figure, form) { flex: none; width: 100%; }
  .evolved .related-product-photo img { aspect-ratio: 5 / 4; object-position: center 27%; }
  .evolved .related-product-price { margin: 14px 0 22px; font-size: 27px; }
  .evolved .related-total dd { font-size: 25px; }
}
