.product-size-table { min-width: 0; width: 100%; font-variant-numeric: tabular-nums; }
.product-size-table th, .product-size-table td { padding: 9px clamp(10px, 2vw, 24px); white-space: normal; }
.product-size-table tbody th { font-weight: 600; }
.product-size-table tbody tr:last-child > * { border-bottom: 0; }

.product-detail-page .product-gallery .product-thumbs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 10px;
}
.product-detail-page .product-thumbs a { line-height: 1.45; padding: 6px; }
.product-gallery-count { display: block; margin-top: 8px; text-align: right; color: var(--ink-faint); font-size: .8125rem; line-height: 1.4; }

.detail-features { min-width: 0; }
.detail-feature-list { border-top: 1px solid var(--line-strong); }
.detail-feature-list > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-feature-list dt { color: var(--moss); font-weight: 700; line-height: 1.55; margin-bottom: 3px; }
.detail-feature-list dd, .detail-usage p { color: var(--ink-soft); font-size: .9375rem; line-height: 1.75; }
.detail-usage { margin-top: 20px; padding: clamp(14px, 2vw, 20px); background: var(--paper-warm); border-radius: 6px; }
.detail-usage h3 { margin-bottom: 5px; font-size: 1.125rem; }
.detail-use-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px 16px; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 11px; }
.detail-use-specs dt, .detail-spec-summary dt { color: var(--ink-faint); font-size: .8125rem; line-height: 1.5; }
.detail-use-specs dd, .detail-spec-summary dd { color: var(--moss); font-size: .9375rem; font-weight: 700; line-height: 1.65; }

.detail-content { min-width: 0; }
.detail-specs { margin-top: clamp(22px, 2.5vw, 34px); }
.detail-specs .detail-inquiry {
  margin-top: 16px;
  max-width: 100%;
  white-space: normal;
  text-align: start;
  line-height: 1.55;
}
.detail-inquiry > span { flex-shrink: 0; }
.detail-specs h2 { margin-bottom: 10px; }
.detail-specs h3 { font: 600 1rem/1.5 var(--sans); color: var(--ink-soft); margin-bottom: 10px; }
.detail-specs .product-size-table { border-block: 1px solid var(--line); table-layout: fixed; }
.detail-spec-summary { display: flex; flex-wrap: wrap; gap: 14px clamp(24px, 4vw, 56px); padding: 14px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 780px) {
  .product-detail-page .product-gallery .product-thumbs {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(86px, 24vw, 110px);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 2px 2px 8px;
    margin: 4px 0 0;
  }
  .product-detail-page .product-thumbs a { scroll-snap-align: start; min-height: 44px; }
  .product-detail-page .floating-contact {
    position: relative; inset: auto; transform: none;
    margin: 12px var(--gutter) 20px auto; width: max-content;
  }
  .product-detail-page .floating-contact > button {
    writing-mode: horizontal-tb; letter-spacing: normal;
    padding: 8px 14px; border-radius: 4px;
  }
  .product-detail-page #contact-panel { top: auto; right: 0; bottom: calc(100% + 8px); transform: none; }
}
.detail-spec-note { color: var(--ink-faint); margin-top: 12px; font-size: .875rem; line-height: 1.7; }
.detail-spec-summary dd { overflow-wrap: anywhere; }
.product-detail-page .product-gallery figcaption { margin-top: 10px; font-size: .8125rem; }
.product-detail-page .cta .btn { white-space: normal; }
