.textile-pdp .pdp-gallery-stage { aspect-ratio: 1.15; max-height: 440px; }
.textile-pdp .pdp-gallery-stage img { padding: 8px 26px; }
.textile-sku span { color: var(--pdp-muted); }
.textile-sku strong { overflow-wrap: anywhere; }
.textile-specifications { display: grid; gap: 5px; }
.textile-specifications div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 10px; }
.textile-specifications dt { color: var(--pdp-muted); }
.textile-specifications dd { min-width: 0; overflow-wrap: anywhere; }
.textile-info h2 { margin-top: 12px; font-size: 15px; }
.textile-documents { margin: 8px 0 0; padding-inline-start: 18px; }
.textile-documents a { color: var(--pdp-focus); text-decoration: underline; }

.textile-configurator, .textile-colors, .textile-color-panel, .textile-marking { display: grid; gap: 10px; }
.textile-palette { display: grid; min-width: 0; gap: 8px; }
.textile-color-panel { min-width: 0; margin: 0; padding: 10px; border: 1px solid var(--pdp-line); border-radius: 8px; }
.textile-color-panel legend { max-width: 100%; padding-inline: 5px; font-weight: 650; overflow-wrap: anywhere; }
.textile-marking select {
  width: 100%; min-width: 0; max-width: 100%; min-height: 39px;
  padding: 5px; border: 1px solid var(--pdp-line); border-radius: 5px; background: white; color: inherit; font: inherit;
}
.textile-sizes { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: left; }
.textile-sizes th, .textile-sizes td { min-width: 0; padding: 7px 3px; vertical-align: middle; overflow-wrap: anywhere; }
.textile-sizes thead th { color: var(--pdp-muted); font-weight: 650; }
.textile-sizes tbody tr { border-top: 1px solid var(--pdp-line); }
.textile-sizes th:nth-child(1) { width: 24%; }
.textile-sizes th:nth-child(2) { width: 25%; }
.textile-sizes th:nth-child(3) { width: 26%; }
.textile-sizes th:nth-child(4) { width: 25%; }
.textile-sizes .pdp-number { display: block; padding-inline: 4px; }
.textile-size-select {
  display: inline-block; padding: 2px; border: 0; background: transparent;
  color: var(--pdp-focus); font: inherit; font-weight: 700; text-align: start;
}
.textile-size-select[aria-pressed="true"] { text-decoration: underline; }
.textile-size-sku, .textile-order-note { display: block; margin-top: 1px; color: var(--pdp-muted); font-size: .79em; font-weight: 400; }
.textile-stock { align-items: baseline; gap: 4px; margin-top: 0; font-size: inherit; }
.textile-stock .pdp-stock-dot { width: 7px; height: 7px; flex-basis: 7px; }
.textile-order-note[data-warning] { color: #85430d; }
.textile-marking { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--pdp-line); }
.textile-marking-option { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; padding-block: 4px; }
.textile-marking-option select { width: auto; }
.textile-marking-option .textile-artwork { display: inline-flex; align-items: center; gap: 7px; flex: 1 1 100%; }
.textile-artwork input {
  min-width: 0; width: min(100%, 14rem); min-height: 36px; border: 1px solid var(--pdp-line);
  border-radius: 5px; background: #fff; padding: 5px; color: inherit; font: inherit;
}
.textile-marking-option small { color: var(--pdp-muted); }
.textile-pdp .pdp-marking-help:empty { display: none; }
.textile-pdp .pdp-total-key { grid-template-columns: minmax(0, 1fr); }
.textile-pdp .pdp-totals dd { flex-shrink: 1; min-width: 0; white-space: normal; overflow-wrap: anywhere; text-align: right; }
.textile-pdp .pdp-total-key [data-textile-lead] { font-size: 14px; letter-spacing: normal; white-space: normal; }
.textile-pdp .pdp-totals[aria-busy="true"] { opacity: .7; }

@media (min-width: 1200px) {
  .pdp-layout.textile-pdp { grid-template-columns: minmax(0, 1.06fr) minmax(0, 1.42fr) minmax(0, .9fr); }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .textile-pdp .pdp-summary-column { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .pdp-layout.textile-pdp { padding-inline: 10px; }
  .textile-pdp .pdp-panel { padding-inline: 12px; }
  .textile-sizes { font-size: .84em; }
}
.textile-pdp [hidden] { display: none !important; }
