/* Vest-only additions; the shared configurator owns navigation and option colors. */
.dmn-vest__native-size-hidden { display:none !important; }
[data-dmn-vest-mount].dmn-vest__wide { box-sizing:border-box; clear:both; display:block; width:100%; max-width:100%; padding:0 clamp(1rem,4vw,3rem); }
[data-dmn-vest-mount] button.dmn-config__choice { min-width:0; white-space:normal; text-align:left; }
[data-dmn-vest-mount] .dmn-config__choice > span { min-width:0; overflow-wrap:anywhere; }
[data-dmn-vest-mount] .dmn-config__preview { margin:0; }
[data-dmn-vest-mount] .dmn-config__preview > img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain; background:#fff; }
[data-dmn-vest-mount] [data-vest-image-status]:empty,
[data-dmn-vest-mount] [data-vest-error]:empty { display:none; }
[data-dmn-vest-mount] .dmn-vest__guide { margin:1rem 0 0; font-size:.78rem; }
[data-dmn-vest-mount] .dmn-vest__guide summary,
[data-dmn-vest-mount] .dmn-vest__summary summary { min-height:32px; padding:.35rem 0; cursor:pointer; }
[data-dmn-vest-mount] .dmn-vest__guide table { width:100%; margin:.5rem 0; border-collapse:collapse; font-size:.75rem; }
[data-dmn-vest-mount] .dmn-vest__guide th,
[data-dmn-vest-mount] .dmn-vest__guide td { padding:.4rem .3rem; text-align:left; border:0; border-bottom:1px solid #dfd8ca; }
[data-dmn-vest-mount] .dmn-vest__summary { border-top:1px solid #dfd8ca; margin-top:.5rem; }
[data-dmn-vest-mount] .dmn-vest__summary dl { margin:.5rem 0; }
[data-dmn-vest-mount] .dmn-config__result-heading { margin:0; }
[data-dmn-vest-mount] .dmn-config__purchase-price { font-size:1.25rem; }
@media (max-width:1024px) {
  [data-dmn-vest-mount] .dmn-config__layout { grid-template-columns:minmax(0,1fr); }
  [data-dmn-vest-mount] .dmn-config__preview { max-width:100%; }
}

/* The vest's only native variation row is managed by its size step. Keep the
   live WooCommerce select in the form while matching the suit purchase row. */
@media (min-width:761px) {
  .dmn-book[data-book-garment="vests"] .dmn-book__price-row:has(form.dmn-config__host-form .dmn-vest__native-size-hidden) {
    align-items:center;
    flex-wrap:nowrap;
  }
  .dmn-book[data-book-garment="vests"] .dmn-book__price-row:has(form.dmn-config__host-form .dmn-vest__native-size-hidden) .dmn-book__purchase-actions {
    flex:0 0 auto;
    width:auto;
    grid-template-columns:104px max-content;
  }
  .dmn-book[data-book-garment="vests"] form.dmn-config__host-form table.variations:has(.dmn-vest__native-size-hidden) {
    display:none;
  }
}
