/*
 * Material Handling USA product detail
 * Layout direction: information architecture first — a quiet, high-contrast
 * buying workspace with one clear decision path. Keep product data authoritative.
 */
:root {
  --mh-blue: #0062fe;
  --mh-blue-dark: #004dcc;
  --mh-ink: #172033;
  --mh-copy: #283449;
  --mh-muted: #667085;
  --mh-line: #dfe5ed;
  --mh-soft: #f5f8fc;
  --mh-orange: #f58b00;
  --mh-red: #c9362b;
  --mh-green: #19734a;
  --mh-radius: 8px;
}

.pd-outer {
  max-width: 1600px;
  color: var(--mh-copy);
  background: #fff;
}

.breadcrumb-row {
  max-width: 1440px;
  margin: 0 auto;
  padding: 15px 40px 13px;
  border-bottom: 1px solid var(--mh-line);
}
.pd-breadcrumb {
  font-size: 11px;
  letter-spacing: .01em;
  color: var(--mh-muted);
}
.pd-breadcrumb a { color: #52657f; }
.pd-breadcrumb .current {
  display: inline-block;
  max-width: 520px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
  color: var(--mh-copy);
}
.action-links { gap: 10px; }
.action-links span {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid var(--mh-line);
  border-radius: 5px;
  background: #fff;
  font-size: 11px;
  letter-spacing: .02em;
}

.product-main {
  max-width: 1440px;
  margin: 0 auto;
  grid-template-columns: minmax(380px, 0.95fr) minmax(360px, 1.15fr) 316px;
  gap: 42px;
  padding: 34px 40px 54px;
}

.gallery-col { min-width: 0; }
.gallery-inner { gap: 16px; }
.thumb-strip {
  width: 58px;
  gap: 9px;
  max-height: 480px;
}
.thumb {
  width: 58px;
  height: 58px;
  border-color: #d7dee8;
  border-radius: 5px;
}
.thumb.active { border: 2px solid var(--mh-blue); }
.main-image-wrap {
  min-height: 425px;
  max-height: 500px;
  border: 1px solid var(--mh-line);
  border-radius: var(--mh-radius);
  background: #fbfcfe;
}
.main-image-wrap img { max-height: 440px; }
.img-badges { top: 14px; left: 14px; }
.img-badge {
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: .05em;
}
.click-hint {
  margin-top: 9px;
  color: #7a8799;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.info-col { min-width: 0; }
.brand-row {
  margin: 2px 0 11px;
  color: var(--mh-muted);
  font-size: 11px;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.brand-row a { color: var(--mh-blue); }
.model-num {
  display: inline-block;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--mh-line);
  color: var(--mh-muted);
}
.model-num strong { color: var(--mh-copy); }
h1.product-title {
  max-width: 680px;
  margin-bottom: 13px;
  color: var(--mh-ink);
  font-size: clamp(25px, 2.15vw, 36px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.rating-row {
  min-height: 0;
  margin-bottom: 17px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mh-line);
}
.rating-row a {
  color: var(--mh-blue);
  font-size: 12px;
}

.info-price-area {
  margin-bottom: 19px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--mh-line);
}
.info-price-label,
.bb-qty-label {
  color: var(--mh-muted);
  font-size: 10px;
  letter-spacing: .1em;
  font-weight: 700;
}
.info-price-main { gap: 3px; }
.info-price-dollars {
  color: var(--mh-ink);
  font-size: 42px;
  letter-spacing: -.045em;
}
.info-price-cents { font-size: 23px; }
.info-price-pkg {
  color: var(--mh-muted);
  font-size: 12px;
}
.price-was { margin-top: 7px; color: var(--mh-muted); }
.price-save-badge, .bb-save-badge {
  border-radius: 3px;
  background: var(--mh-red);
  font-size: 11px;
  letter-spacing: .02em;
}

.variant-area {
  margin-bottom: 18px;
  padding: 0 0 19px;
  border-bottom: 1px solid var(--mh-line);
}
.pd-option-label {
  margin-bottom: 9px !important;
  color: var(--mh-ink);
  font-size: 12px;
}
.pd-swatches { gap: 9px; margin-bottom: 17px; }
.pd-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #d4dce7;
}
.pd-swatch.grey, .pd-swatch.gray { background: #9a9a9a; }
.pd-swatch.medium-grey, .pd-swatch.medium-gray { background: #777b80; }
.pd-swatch.light-grey, .pd-swatch.light-gray { background: #bfc2c6; }
.pd-swatch.dark-grey, .pd-swatch.dark-gray { background: #4c5158; }
.pd-swatch.champagne-putty { background: #c5bba7; }
.pd-swatch.selected {
  border-color: var(--mh-blue);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--mh-blue);
}
.v-selector-wrap { margin-top: 15px !important; }
.v-attr-section { margin-bottom: 14px; }
.v-attr-label { color: var(--mh-muted); letter-spacing: .1em; }
.v-attr-select, .qty-select {
  min-height: 42px;
  border: 1px solid #bfc9d8;
  border-radius: 5px;
  color: var(--mh-ink);
  background: #fff;
}
.v-attr-select:focus, .qty-select:focus {
  outline: 2px solid rgba(0, 98, 254, .2);
  border-color: var(--mh-blue);
}
.attr-list { gap: 7px; margin-top: 12px; }
.attr-pill {
  border-color: #dce3ec;
  border-radius: 4px;
  background: var(--mh-soft);
  color: var(--mh-muted);
  font-size: 11px;
}

.pd-short-desc-label {
  margin-top: 5px;
  color: var(--mh-muted);
  letter-spacing: .1em;
}
.pd-short-desc {
  margin: 7px 0 20px;
  color: var(--mh-copy);
  font-size: 14px;
  line-height: 1.65;
}
.acc-item { border-color: var(--mh-line); }
.acc-trigger {
  padding: 16px 0;
  color: var(--mh-ink);
  font-size: 14px;
}
.acc-trigger:hover { color: var(--mh-blue); }
.highlights-list { line-height: 1.8; }
.highlights-list li::before { color: var(--mh-blue); }
.spec-table-inline td { padding: 10px 12px; }

.buybox {
  top: 22px;
  border: 1px solid #cdd7e4;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(26, 52, 83, .09);
}
.buybox-inner { padding: 22px 22px 20px; }
.bb-price-main { gap: 3px; }
.bb-price-dollars {
  color: var(--mh-ink);
  font-size: 35px;
  letter-spacing: -.04em;
}
.bb-price-was { margin-top: 6px; }
.bb-instock {
  margin: 15px 0;
  color: var(--mh-green);
  font-size: 14px;
}
.bb-qty-row { margin-bottom: 12px; }
.qty-select { width: 100%; }
.add-cart-btn, .buy-now-btn {
  min-height: 46px;
  border-radius: 5px;
  font-size: 14px;
  letter-spacing: .01em;
}
.add-cart-btn { background: var(--mh-blue); }
.add-cart-btn:hover { background: var(--mh-blue-dark); }
.buy-now-btn { background: var(--mh-orange); }
.buy-now-btn:hover { background: #dc7900; }
.bb-sep { margin: 17px 0; border-color: var(--mh-line); }
.bb-trust { gap: 10px; }
.bb-trust-row { color: var(--mh-copy); }
.bb-secure { padding-top: 3px; }
.zip-row { padding: 17px 22px 20px; border-top: 1px solid var(--mh-line); }
.zip-row label { margin-bottom: 8px; color: var(--mh-ink); font-size: 12px; }
.zip-input-row input { min-height: 40px; border-color: #bfc9d8; }
.zip-save-btn {
  min-width: 54px;
  background: var(--mh-blue);
}
.bulk-header { padding: 14px 22px; color: var(--mh-ink); }
.return-note { padding: 13px 22px 17px; border-color: var(--mh-line); }

.related-section {
  max-width: 1440px;
  margin: 0 auto !important;
  padding: 10px 40px 64px;
}
.related-header {
  margin-bottom: 20px;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--mh-blue);
  border-radius: 0;
  background: transparent;
  color: var(--mh-ink);
  font-size: 16px;
}
.related-grid { gap: 16px; }
.related-card {
  border-color: var(--mh-line);
  border-radius: 6px;
}
.related-card:hover { box-shadow: 0 7px 18px rgba(26, 52, 83, .09); }
.related-cart-row button { background: var(--mh-blue); }

.top-btn { border-color: #cdd7e4; color: var(--mh-copy); }

@media (max-width: 1200px) {
  .product-main { gap: 28px; padding-left: 28px; padding-right: 28px; }
  .breadcrumb-row, .related-section { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 1024px) {
  .product-main {
    grid-template-columns: minmax(320px, .9fr) minmax(320px, 1fr);
    gap: 28px;
  }
  .buybox { max-width: none; }
}
@media (max-width: 720px) {
  .breadcrumb-row { padding: 11px 16px; }
  .pd-breadcrumb .current { max-width: 210px; }
  .action-links { display: none; }
  .product-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "gallery" "info" "buybox";
    gap: 24px;
    padding: 20px 16px 38px;
  }
  .main-image-wrap { min-height: 300px; max-height: 360px; }
  .main-image-wrap img { max-height: 325px; }
  h1.product-title { font-size: 27px; }
  .info-price-dollars { font-size: 36px; }
  .buybox { position: static; }
  .buybox-inner { padding: 20px 18px 18px; }
  .zip-row { padding-left: 18px; padding-right: 18px; }
  .related-section { padding: 5px 16px 42px; }
}
@media (max-width: 480px) {
  .product-main { padding: 14px 14px 30px; }
  .gallery-inner { display: block; }
  .thumb-strip { display: flex; flex-direction: row; width: 100%; max-height: none; overflow-x: auto; margin-bottom: 9px; }
  .thumb { width: 48px; height: 48px; }
  .main-image-wrap { min-height: 260px; max-height: 320px; }
  .main-image-wrap img { max-height: 285px; }
  h1.product-title { font-size: 24px; }
  .model-num { display: block; width: fit-content; margin: 8px 0 0; padding: 0; border: 0; }
  .info-price-dollars { font-size: 34px; }
  .add-cart-btn, .buy-now-btn { min-height: 48px; }
  .spec-table-inline { table-layout: fixed; }
  .spec-table-inline td { overflow-wrap: anywhere; }
}