:root {
  --pdp-green-dark: #073526;
  --pdp-green: #0b4a34;
  --pdp-green-mid: #1e7a4e;
  --pdp-green-accent: #58b86b;
  --pdp-navy: var(--pdp-green-dark);
  --pdp-navy-2: var(--pdp-green);
  --pdp-orange: var(--pdp-green-accent);
  --pdp-orange-dark: var(--pdp-green-mid);
  --pdp-ink: #0b3b2b;
  --pdp-muted: #587363;
  --pdp-line: #cfe2d6;
  --pdp-pale: #f5faf6;
  --pdp-white: #fff;
  --pdp-success: #256029;
  --pdp-success-bg: #e2f0d9;
  --pdp-error: #8f1d16;
  --pdp-error-bg: #fce8e6;
  --pdp-radius: 10px;
  --pdp-shadow: 0 12px 34px rgba(7, 53, 38, 0.1);
}

.pdp-form-shell,
.pdp-product-quote {
  color: var(--pdp-ink);
  font: inherit;
}

.pdp-form-shell {
  width: min(100%, 980px);
  margin-inline: auto;
  border: 1px solid var(--pdp-line);
  border-radius: calc(var(--pdp-radius) + 4px);
  background: var(--pdp-white);
  box-shadow: var(--pdp-shadow);
  overflow: hidden;
}

.pdp-form-shell--compact {
  max-width: 760px;
}

.pdp-form-intro {
  padding: clamp(24px, 5vw, 48px);
  color: var(--pdp-white);
  background: linear-gradient(135deg, var(--pdp-navy), var(--pdp-navy-2));
}

.pdp-form-intro h2 {
  margin: 0 0 10px;
  color: inherit;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.08;
}

.pdp-form-intro p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.pdp-eyebrow {
  margin: 0 0 8px;
  color: #bfe8c8 !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pdp-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--pdp-pale);
  border-bottom: 1px solid var(--pdp-line);
}

.pdp-progress li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 64px;
  padding: 12px;
  color: var(--pdp-muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.pdp-progress li + li {
  border-left: 1px solid var(--pdp-line);
}

.pdp-progress span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.8rem;
}

.pdp-progress .is-current,
.pdp-progress .is-complete {
  color: var(--pdp-navy);
  background: #e8f5eb;
}

.pdp-progress .is-current span,
.pdp-progress .is-complete span {
  border-color: var(--pdp-orange);
  color: var(--pdp-white);
  background: var(--pdp-orange);
}

.pdp-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(24px, 5vw, 48px);
}

.pdp-step {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.pdp-js .pdp-step:not(.is-active) {
  display: none;
}

.pdp-step legend {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 0 4px;
  padding: 0 0 14px;
  border-bottom: 2px solid var(--pdp-orange);
  color: var(--pdp-navy);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 800;
}

.pdp-field {
  min-width: 0;
}

.pdp-field--wide,
.pdp-delivery-fields,
.pdp-step-actions {
  grid-column: 1 / -1;
}

.pdp-delivery-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--pdp-line);
  border-radius: var(--pdp-radius);
  background: var(--pdp-pale);
}

.pdp-delivery-fields[hidden] {
  display: none;
}

.pdp-field label,
.pdp-label {
  display: block;
  margin-bottom: 7px;
  color: var(--pdp-navy);
  font-size: 0.93rem;
  font-weight: 750;
}

.pdp-field input:not([type="radio"]):not([type="checkbox"]),
.pdp-field select,
.pdp-field textarea {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #9dbbaa;
  border-radius: 7px;
  color: var(--pdp-ink);
  background: var(--pdp-white);
  box-shadow: none;
  font: inherit;
  line-height: 1.4;
}

.pdp-field textarea {
  resize: vertical;
}

.pdp-field input:focus,
.pdp-field select:focus,
.pdp-field textarea:focus,
.pdp-choice:focus-within {
  border-color: var(--pdp-orange);
  outline: 3px solid rgba(88, 184, 107, 0.25);
  outline-offset: 1px;
}

.pdp-field small {
  display: block;
  margin-top: 7px;
  color: var(--pdp-muted);
  font-size: 0.82rem;
}

.pdp-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pdp-choice {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  min-height: 92px;
  margin: 0 !important;
  padding: 17px;
  border: 1px solid var(--pdp-line);
  border-radius: var(--pdp-radius);
  background: var(--pdp-white);
  cursor: pointer;
}

.pdp-choice:has(input:checked) {
  border-color: var(--pdp-orange);
  background: #e8f5eb;
  box-shadow: inset 0 0 0 1px var(--pdp-orange);
}

.pdp-choice input {
  flex: 0 0 auto;
  margin-top: 5px;
  accent-color: var(--pdp-orange);
}

.pdp-choice span,
.pdp-choice strong {
  display: block;
}

.pdp-choice strong {
  margin-bottom: 4px;
  color: var(--pdp-navy);
}

.pdp-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  border-radius: 7px;
  background: var(--pdp-pale);
  font-weight: 500;
}

.pdp-consent input {
  flex: 0 0 auto;
  margin-top: 4px;
  accent-color: var(--pdp-orange);
}

.pdp-step-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px solid var(--pdp-line);
}

.pdp-step-actions .button,
.pdp-quote-button {
  min-height: 48px;
  padding: 12px 22px !important;
  border: 2px solid var(--pdp-orange) !important;
  border-radius: 7px !important;
  color: var(--pdp-white) !important;
  background: var(--pdp-orange) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
}

.pdp-step-actions .button:hover,
.pdp-step-actions .button:focus,
.pdp-quote-button:hover,
.pdp-quote-button:focus {
  border-color: var(--pdp-orange-dark) !important;
  background: var(--pdp-orange-dark) !important;
}

.pdp-step-actions .button--ghost {
  color: var(--pdp-navy) !important;
  border-color: var(--pdp-line) !important;
  background: var(--pdp-white) !important;
}

.pdp-submit[aria-busy="true"] {
  opacity: 0.7;
  cursor: wait;
}

.pdp-notice {
  margin: 24px clamp(24px, 5vw, 48px) 0;
  padding: 16px 18px;
  border-left: 4px solid currentColor;
  border-radius: 6px;
  font-weight: 700;
}

.pdp-notice--success {
  color: var(--pdp-success);
  background: var(--pdp-success-bg);
}

.pdp-notice--error {
  color: var(--pdp-error);
  background: var(--pdp-error-bg);
}

.pdp-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.pdp-product-quote {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--pdp-line);
  border-left: 5px solid var(--pdp-orange);
  border-radius: var(--pdp-radius);
  background: var(--pdp-pale);
}

.pdp-product-quote p {
  margin: 0 0 8px;
}

.pdp-product-quote__availability {
  color: var(--pdp-navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.pdp-product-quote__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.pdp-text-link {
  color: var(--pdp-navy);
  font-weight: 800;
}

.pdp-price {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.pdp-price__incl {
  color: var(--pdp-navy);
  font-size: 1.12em;
  font-weight: 850;
}

.pdp-price__excl {
  color: var(--pdp-muted);
  font-size: 0.72em;
  font-weight: 600;
}

.pdp-contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pdp-contact-actions a {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--pdp-line);
  border-radius: var(--pdp-radius);
  color: var(--pdp-navy);
  background: var(--pdp-white);
  text-decoration: none;
}

.pdp-contact-actions a:hover,
.pdp-contact-actions a:focus {
  border-color: var(--pdp-orange);
  box-shadow: var(--pdp-shadow);
}

.pdp-contact-actions span {
  margin-bottom: 3px;
  color: var(--pdp-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pdp-contact-actions strong {
  overflow-wrap: anywhere;
}

.pdp-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pdp-social-links a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--pdp-white);
  background: var(--pdp-navy-2);
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: none;
}

.pdp-social-links a:hover,
.pdp-social-links a:focus {
  color: var(--pdp-white);
  border-color: var(--pdp-orange);
  background: var(--pdp-orange);
}

.pdp-review {
  display: grid;
  gap: 0;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--pdp-line);
  border-radius: var(--pdp-radius);
}

.pdp-review > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) 1fr;
  gap: 14px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--pdp-line);
}

.pdp-review > div:last-child { border-bottom: 0; }
.pdp-review strong { color: var(--pdp-navy); }
.pdp-review span { white-space: pre-wrap; overflow-wrap: anywhere; }

.pdp-catalogue {
  color: var(--pdp-ink);
}

.pdp-catalogue__tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
  gap: 8px 18px;
  margin-bottom: 18px;
}

.pdp-catalogue__tools label {
  grid-column: 1 / -1;
  color: var(--pdp-navy);
  font-weight: 800;
}

.pdp-catalogue__tools input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #9dbbaa;
  border-radius: 7px;
  background: var(--pdp-white);
}

.pdp-catalogue__tools input:focus {
  border-color: var(--pdp-orange);
  outline: 3px solid rgba(88, 184, 107, 0.25);
}

.pdp-catalogue__tools p { margin: 0; color: var(--pdp-muted); font-size: .9rem; }
.pdp-catalogue__scroll { overflow-x: auto; border: 1px solid var(--pdp-line); border-radius: var(--pdp-radius); background: #fff; }
.pdp-catalogue__table { width: 100%; min-width: 760px; border-collapse: collapse; }
.pdp-catalogue__table th { padding: 13px 15px; color: var(--pdp-navy); background: var(--pdp-pale); font-size: .78rem; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
.pdp-catalogue__table td { padding: 15px; border-top: 1px solid var(--pdp-line); vertical-align: middle; }
.pdp-catalogue__table td:first-child { min-width: 280px; }
.pdp-catalogue__table td:nth-child(3) { min-width: 155px; }
.pdp-catalogue__table strong,
.pdp-catalogue__table small,
.pdp-catalogue__availability { display: block; }
.pdp-catalogue__table small { margin-top: 4px; color: var(--pdp-muted); }
.pdp-catalogue__availability { margin-top: 7px; color: var(--pdp-orange-dark); font-size: .78rem; font-weight: 800; }
.pdp-catalogue__table code { white-space: nowrap; }
.pdp-catalogue__table .pdp-quote-button { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 16px !important; }
.pdp-catalogue__empty { margin-top: 15px; padding: 16px; border-radius: 7px; background: var(--pdp-pale); }
.pdp-catalogue__footnote { margin: 15px 0 0; color: var(--pdp-muted); font-size: .88rem; }

.pdp-all-products {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}

.pdp-all-products__nav {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 4px 4px 13px;
  border-bottom: 1px solid var(--pdp-line);
  scrollbar-width: thin;
}

.pdp-all-products__nav a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--pdp-line);
  border-radius: 999px;
  color: var(--pdp-navy);
  background: #fff;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.pdp-all-products__nav a:hover,
.pdp-all-products__nav a:focus {
  border-color: var(--pdp-orange);
  color: var(--pdp-white);
  background: var(--pdp-orange);
}

.pdp-all-products__family {
  scroll-margin-top: 110px;
  border-top: 3px solid var(--pdp-navy);
}

.pdp-all-products__family + .pdp-all-products__family { margin-top: 0; }

.pdp-all-products__heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 24px 40px;
  align-items: end;
  position: relative;
  padding: clamp(18px, 2.7vw, 28px) 56px clamp(18px, 2.7vw, 28px) 0;
  list-style: none;
  cursor: pointer;
}

.pdp-all-products__heading::-webkit-details-marker { display: none; }

.pdp-all-products__heading::after {
  content: "+";
  display: grid;
  position: absolute;
  top: 50%;
  right: 4px;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--pdp-line);
  border-radius: 50%;
  color: var(--pdp-navy);
  background: var(--pdp-white);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
}

.pdp-all-products__family[open] > .pdp-all-products__heading::after { content: "−"; }
.pdp-all-products__heading:hover::after,
.pdp-all-products__heading:focus-visible::after { border-color: var(--pdp-orange); color: var(--pdp-white); background: var(--pdp-orange); }
.pdp-all-products__heading:focus-visible { outline: 3px solid rgba(88, 184, 107, 0.25); outline-offset: 5px; }

.pdp-all-products__heading h2 {
  margin: 0;
  color: var(--pdp-navy);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.pdp-all-products__heading .pdp-eyebrow { color: var(--pdp-orange-dark) !important; }
.pdp-all-products__heading > p { margin: 0; color: var(--pdp-muted); }
.pdp-all-products__body { padding: 0 0 clamp(24px, 3.5vw, 42px); }
.pdp-all-products__family--quote { padding-inline: clamp(22px, 5vw, 48px); border: 0; border-left: 6px solid var(--pdp-orange); border-radius: var(--pdp-radius); background: var(--pdp-pale); }

@media (max-width: 720px) {
  .pdp-progress li {
    min-height: 58px;
    gap: 5px;
    padding: 8px 4px;
    font-size: 0.68rem;
  }

  .pdp-progress span {
    width: 24px;
    height: 24px;
  }

  .pdp-form,
  .pdp-step,
  .pdp-delivery-fields,
  .pdp-choice-grid,
  .pdp-contact-actions {
    grid-template-columns: 1fr;
  }

  .pdp-form,
  .pdp-form-intro {
    padding: 24px 18px;
  }

  .pdp-notice {
    margin-inline: 18px;
  }

  .pdp-step-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .pdp-step-actions .button {
    width: 100%;
    text-align: center;
  }

  .pdp-review > div { grid-template-columns: 1fr; gap: 2px; }
  .pdp-catalogue__tools { grid-template-columns: 1fr; align-items: stretch; }
  .pdp-catalogue__tools label { grid-column: auto; }

  .pdp-catalogue__scroll { overflow: visible; border: 0; background: transparent; }
  .pdp-catalogue__table { min-width: 0; }
  .pdp-catalogue__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .pdp-catalogue__table,
  .pdp-catalogue__table tbody,
  .pdp-catalogue__table tr,
  .pdp-catalogue__table td { display: block; width: 100%; }
  .pdp-catalogue__table tr { margin-bottom: 14px; padding: 14px; border: 1px solid var(--pdp-line); border-radius: var(--pdp-radius); background: #fff; box-shadow: 0 8px 22px rgba(7, 53, 38, .07); }
  .pdp-catalogue__table td { display: grid; grid-template-columns: 7rem 1fr; gap: 10px; min-width: 0 !important; padding: 9px 0; border: 0; border-bottom: 1px solid var(--pdp-line); }
  .pdp-catalogue__table td::before { content: attr(data-label); color: var(--pdp-muted); font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  .pdp-catalogue__table td:last-child { border-bottom: 0; }
  .pdp-all-products__heading { grid-template-columns: 1fr; align-items: start; padding-right: 48px; }
  .pdp-all-products__family { scroll-margin-top: 80px; }
  .pdp-all-products__family--quote { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .pdp-form-shell *,
  .pdp-product-quote * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* v2.4: size tables. The family name is shown once in the heading, so each row shows the size only. */
.pdp-catalogue__family { display: none; }
.pdp-step legend:focus { outline: none; }

/* Phones: one compact two-line row per size instead of a tall card. */
@media (max-width: 47.99rem) {
  .pdp-catalogue__table tbody { overflow: hidden; border: 1px solid var(--pdp-line); border-radius: var(--pdp-radius); background: #fff; }
  .pdp-catalogue__table tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "name name incl" "sku excl btn";
    align-items: center;
    column-gap: .75rem;
    row-gap: .3rem;
    margin: 0;
    padding: .8rem .85rem;
    border: 0;
    border-bottom: 1px solid var(--pdp-line);
    border-radius: 0;
    box-shadow: none;
  }
  .pdp-catalogue__table tr:last-child { border-bottom: 0; }
  .pdp-catalogue__table tr[hidden] { display: none; }
  .pdp-catalogue__table td { display: block; width: auto; min-width: 0 !important; padding: 0; border: 0; }
  .pdp-catalogue__table td::before { content: none; }
  .pdp-catalogue__table td:nth-child(1) { grid-area: name; }
  .pdp-catalogue__table td:nth-child(1) strong { margin: 0; font-size: 1rem; line-height: 1.3; }
  .pdp-catalogue__table td:nth-child(1) small { display: none; }
  .pdp-catalogue__table td:nth-child(2) { grid-area: sku; }
  .pdp-catalogue__table td:nth-child(2) code { color: var(--pdp-muted); font-size: .8125rem; }
  .pdp-catalogue__table td:nth-child(3),
  .pdp-catalogue__table td:nth-child(3) .pdp-price { display: contents; }
  .pdp-catalogue__table .pdp-price__incl { grid-area: incl; justify-self: end; font-weight: 700; text-align: right; white-space: nowrap; }
  .pdp-catalogue__table .pdp-price__excl { grid-area: excl; justify-self: end; text-align: right; }
  .pdp-catalogue__table td:nth-child(4) { grid-area: btn; justify-self: end; }
  .pdp-catalogue__table td .pdp-quote-button,
  .pdp-catalogue__table td .pdp-quote-button[data-pdp-add] { min-height: 44px; min-width: 0; padding: 8px 12px !important; font-size: .875rem; }
}
