/* B&M Trade identity: the supplied logo uses orange (#f18b17) and graphite. */
:root {
  --lime: #f18b17;
  --brand-orange: #f18b17;
  --brand-orange-dark: #a64e00;
  --brand-orange-pale: #fff1e4;
}

/* Local landing: Kazan */
.local-hero {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.local-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  min-height: 680px;
}

.local-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px 72px 0;
}

.local-hero-copy h1 {
  max-width: 820px;
  margin: 18px 0 24px;
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.local-hero-copy > p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 1.08rem;
  line-height: 1.72;
}

.local-hero-copy .hero-actions {
  margin-top: 28px;
}

.local-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 54px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.16);
}

.local-hero-facts span {
  min-height: 94px;
  padding: 20px;
  background: var(--ink);
  color: rgba(255,255,255,.62);
  font-size: .82rem;
}

.local-hero-facts b {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: 1rem;
}

.local-hero-media {
  position: relative;
  min-height: 680px;
  background: #e7ecec;
  overflow: hidden;
}

.local-hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px 18px 88px;
}

.local-hero-media > div {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  background: rgba(17,38,49,.9);
  backdrop-filter: blur(8px);
}

.local-hero-media span {
  color: var(--lime);
  font-weight: 800;
}

.local-hero-media strong {
  font-size: .75rem;
  letter-spacing: .09em;
}

.local-answer {
  display: grid;
  grid-template-columns: minmax(180px, .34fr) minmax(0, 1.66fr);
  gap: 64px;
  align-items: start;
}

.local-answer h2 {
  margin-top: 0;
}

.local-answer p {
  max-width: 920px;
  margin-bottom: 0;
  font-size: 1.17rem;
  line-height: 1.8;
}

.local-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.local-catalog-grid article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 22px 24px;
  background: #fff;
}

.local-card-media {
  position: relative;
  flex: none;
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
  overflow: hidden;
  background: #f4f5f2;
}

.local-catalog-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.local-catalog-grid article:first-child img {
  transform: scale(1.25) translateY(-5%);
}

.local-catalog-grid span {
  color: var(--brand-orange-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.local-catalog-grid h3 {
  margin: 10px 0 12px;
  font-size: 1.35rem;
}

.local-catalog-grid p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.55;
}

.local-catalog-grid a {
  margin-top: auto;
  color: var(--ink);
  font-weight: 800;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.local-proof-section {
  background: #172e38;
  color: #fff;
}

.local-proof-section .section-top p {
  color: rgba(255,255,255,.68);
}

.local-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.14);
}

.local-proof-grid figure {
  margin: 0;
  background: #fff;
  color: var(--ink);
}

.local-proof-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f5f5f2;
}

.local-proof-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-top: 1px solid var(--line);
}

.local-proof-grid figcaption span {
  color: var(--muted);
  font-size: .82rem;
  text-align: right;
}

.local-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 72px;
  align-items: center;
}

.local-contact h2 {
  margin: 16px 0 20px;
}

.local-contact p {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.local-contact-note {
  color: var(--muted);
  font-size: .88rem !important;
}

.local-contact > div:last-child {
  display: grid;
  gap: 14px;
  padding: 30px;
  border: 1px solid var(--line);
}

.local-contact > div:last-child > a {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
}

.local-faq {
  max-width: 980px;
}

.local-request-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(480px, 1.15fr);
  gap: 76px;
  align-items: start;
  scroll-margin-top: 24px;
}

.local-request-grid > div,
.local-contact > div {
  min-width: 0;
}

.local-request-grid textarea {
  resize: vertical;
}

.local-request-grid > div:first-child {
  position: sticky;
  top: 110px;
}

.local-request-grid h2 {
  margin: 16px 0 20px;
}

.local-request-grid > div:first-child p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.local-request-grid ul {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.local-request-grid li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 980px) {
  .local-hero-grid,
  .local-request-grid {
    grid-template-columns: 1fr;
  }

  .local-hero-copy {
    padding-right: 0;
  }

  .local-hero-media {
    min-height: 520px;
    margin: 0;
  }

  .local-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-answer,
  .local-contact {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .local-request-grid > div:first-child {
    position: static;
  }

  .local-proof-grid figcaption {
    display: block;
  }

  .local-proof-grid figcaption span {
    display: block;
    margin-top: 7px;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .local-hero-copy {
    padding: 48px 0 38px;
  }

  .local-hero-copy h1 {
    font-size: clamp(2.4rem, 10vw, 3rem);
  }

  .local-catalog-grid,
  .local-proof-grid {
    grid-template-columns: 1fr;
  }

  .local-hero-media {
    min-height: 0;
    aspect-ratio: 1 / 1;
    margin: 0 -18px;
  }

  .local-hero-facts {
    margin-top: 28px;
  }

  .local-hero-facts span {
    min-height: 82px;
    padding: 14px 9px;
    font-size: .72rem;
  }

  .local-hero-facts b {
    font-size: .88rem;
  }

  .local-hero-copy .hero-actions,
  .local-hero-copy .button {
    width: 100%;
  }

  .local-hero-media > div {
    inset: auto 18px 18px;
    padding: 12px 16px;
  }

  .local-answer {
    gap: 12px;
  }

  .local-contact > div:last-child {
    padding: 24px;
  }

  .local-request-grid .request-panel {
    padding: 24px 18px;
  }

  .local-request-grid input,
  .local-request-grid textarea {
    font-size: 16px;
  }

  .local-request-grid .button {
    padding: 0 16px;
    gap: 12px;
  }

  body:has(.local-hero) .max-float {
    width: 52px;
    height: 52px;
    padding: 10px;
    gap: 0;
    font-size: 0;
    justify-content: center;
  }

  body:has(.local-hero) .max-float img {
    width: 32px;
    height: 32px;
  }

  .local-hero-media > div,
  .local-proof-grid figcaption {
    display: block;
  }

  .local-hero-media strong,
  .local-proof-grid figcaption span {
    display: block;
    margin-top: 7px;
    text-align: left;
  }

  .local-request-grid {
    gap: 38px;
  }
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--brand-orange-dark);
}

.button-lime:hover {
  background: #ffa437;
}

.quick-nav {
  background: var(--brand-orange-pale);
}

.quick-nav a {
  border-color: #edc9a4;
}

.quick-nav a:hover {
  background: #ffe2c2;
}

.use-number,
.card-kicker,
.steps span,
.check-list b,
.compare-grid span,
.selection-row b,
.info-grid span {
  color: var(--brand-orange-dark);
}

.feature-panel {
  background: var(--brand-orange-pale);
  border-top: 4px solid var(--brand-orange);
}

.notice {
  background: #fff2e4;
}

.product-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 269px;
  max-width: none;
  transform: translate(-50%, -55%);
}

.product-photo-wide {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  transform: none;
  object-fit: cover;
  object-position: center;
}

.pallet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pallet-grid article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  padding: 28px;
  background: #f6f8f7;
  border: 1px solid #e3e8e5;
}

.pallet-grid span {
  color: var(--brand-orange-dark);
  font-size: .85rem;
  font-weight: 800;
}

.pallet-grid h3 {
  margin: 0;
}

.ground-feature {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  color: #fff;
  background: var(--navy);
}

.ground-feature .eyebrow {
  color: var(--brand-orange);
}

.ground-feature p {
  max-width: 760px;
  margin-bottom: 0;
  color: #d2e0e3;
}

.ground-feature .text-link {
  flex: none;
  color: var(--brand-orange);
}

.configurator {
  padding: 32px;
  background: #f6f8f7;
  border: 1px solid #e3e8e5;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.config-grid label {
  display: block;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.3;
}

.config-grid select {
  display: block;
  width: 100%;
  min-height: 50px;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid #cbd7d3;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
}

.config-grid select:focus-visible {
  outline: 2px solid var(--brand-orange-dark);
  outline-offset: 2px;
}

.config-note {
  max-width: 760px;
  margin: 28px 0;
  color: var(--muted);
  font-size: .94rem;
}

.contact-max {
  border-top-color: var(--brand-orange) !important;
}

.contact-max a {
  color: var(--brand-orange-dark);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-actions .button {
  min-height: 56px;
}

.button-max {
  background: var(--brand-orange);
  color: #171315;
}

.button-max:hover {
  background: #ffa437;
}

.button-max {
  justify-content: flex-start;
  gap: 13px;
}

.max-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.max-link-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: none;
}

.max-nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.max-contact-link {
  display: inline-flex !important;
  align-items: center;
  gap: 16px;
  width: fit-content;
}

.max-full-logo {
  width: 142px;
  height: auto;
}

.max-contact-link b {
  font-size: 1.05rem;
  white-space: nowrap;
}

.form-status {
  min-height: 1.5em;
  margin: 15px 0 0;
  color: var(--brand-orange-dark);
  font-size: .86rem;
  font-weight: 800;
}

.form-status[data-state="success"] {
  color: #246b42;
}

.form-status[data-state="error"] {
  color: #a12b1d;
}

.button:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

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

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.requirements-grid article {
  min-height: 165px;
  padding: 25px;
  background: #fff;
}

.requirements-grid b,
.requirements-grid span {
  display: block;
}

.requirements-grid b {
  margin-bottom: 34px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.requirements-grid span {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

.category-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.category-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  table-layout: fixed;
}

.category-table th,
.category-table td {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.category-table tr:last-child th,
.category-table tr:last-child td {
  border-bottom: 0;
}

.category-table th:last-child,
.category-table td:last-child {
  border-right: 0;
}

.category-table thead th {
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
}

.category-table thead th:first-child,
.category-table tbody th {
  width: 150px;
}

.category-table thead span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-orange);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.category-table tbody th {
  background: var(--brand-orange-pale);
  font-size: 1rem;
}

.category-table td {
  color: #42575f;
  font-size: .92rem;
}

.category-note {
  margin: 24px 0 0;
  padding: 20px 24px;
  background: var(--brand-orange-pale);
  color: #42575f;
}

.product-photo-used {
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 10px;
  object-fit: contain;
}

.used1-hero {
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.used1-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  min-height: 690px;
}

.used1-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 72px clamp(34px, 5vw, 76px) 54px 0;
}

.used1-back {
  margin-bottom: 62px;
  color: #b9c9ce;
  font-size: .82rem;
  font-weight: 700;
}

.used1-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 5.3vw, 5.7rem);
}

.used1-hero-copy > p {
  max-width: 640px;
  margin-bottom: 32px;
  color: #c5d4d8;
  font-size: 1.08rem;
  line-height: 1.65;
}

.used1-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.used1-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  margin-top: auto;
  padding-top: 38px;
  border-top: 1px solid #3d5863;
}

.used1-facts span {
  color: #9eb1b7;
  font-size: .72rem;
  line-height: 1.4;
}

.used1-facts b {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: .95rem;
}

.used1-hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 76px 24px 44px;
  background: radial-gradient(circle at 50% 44%, #fff 0, #f1f4f3 48%, #dce4e2 100%);
}

.used1-hero-media img {
  width: min(100%, 650px);
  height: auto;
  object-fit: contain;
}

.used1-photo-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 8px 11px;
  background: var(--brand-orange);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.used1-hero-media small {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  color: #62757c;
  font-size: .72rem;
  text-align: center;
}

.used1-section-top h2 {
  max-width: 820px;
}

.pallet-selector {
  border: 1px solid var(--line);
  background: #fff;
}

.pallet-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #f3f6f5;
}

.pallet-tabs button {
  min-height: 66px;
  padding: 12px 18px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #4b6068;
  font-weight: 800;
}

.pallet-tabs button:last-child {
  border-right: 0;
}

.pallet-tabs button.active {
  background: var(--navy);
  color: #fff;
}

.pallet-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(310px, .62fr);
}

.pallet-panel[hidden] {
  display: none !important;
}

.pallet-panel-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.pallet-panel-gallery a {
  position: relative;
  display: flex;
  aspect-ratio: 1;
  min-width: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f1f4f3 100%);
}

.pallet-panel-gallery img {
  width: 100%;
  height: 100%;
  padding: clamp(12px, 2.2vw, 28px);
  object-fit: contain;
  transition: transform .3s ease;
}

.pallet-panel-gallery a:hover img {
  transform: scale(1.025);
}

.pallet-panel-gallery span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 9px;
  background: rgba(11, 29, 37, .87);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}

.pallet-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(30px, 4vw, 52px);
  background: var(--brand-orange-pale);
}

.pallet-panel-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.pallet-panel-copy > p {
  color: #42575f;
  line-height: 1.6;
}

.pallet-panel-copy ul {
  margin: 5px 0 30px;
  padding: 0;
  list-style: none;
}

.pallet-panel-copy li {
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid #edcfb2;
  color: #42575f;
  font-size: .9rem;
}

.pallet-panel-copy li::before {
  content: "✓";
  float: left;
  margin-left: -22px;
  color: var(--brand-orange-dark);
  font-weight: 900;
}

.pallet-panel-copy .button {
  align-self: flex-start;
  margin-top: auto;
}

.pallet-availability {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 18px;
  padding: 22px 25px;
  border-left: 4px solid var(--brand-orange);
  background: var(--brand-orange-pale);
}

.pallet-availability > span {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .07em;
}

.pallet-availability p {
  margin: 0;
  color: #42575f;
}

.used1-criteria {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.used1-criteria article {
  min-height: 245px;
  padding: 28px;
  background: #fff;
}

.used1-criteria span {
  color: var(--brand-orange-dark);
  font-size: .78rem;
  font-weight: 800;
}

.used1-criteria h3 {
  margin: 56px 0 12px;
}

.used1-criteria p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.used1-extra {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 34px;
  background: var(--navy);
  color: #fff;
}

.used1-extra .eyebrow {
  margin-bottom: 10px;
  color: var(--brand-orange);
}

.used1-extra h3 {
  margin-bottom: 9px;
  font-size: 1.9rem;
}

.used1-extra p {
  max-width: 720px;
  margin: 0;
  color: #c0d0d4;
}

.used1-extra .button {
  flex: none;
  border-color: #78909a;
}

.used1-configurator {
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
}

.used1-config-footer {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.used1-config-footer p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.used1-config-footer .button {
  flex: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
  color: #71848b;
  font-size: .78rem;
}

.breadcrumbs a {
  color: #42575f;
}

.category-hero {
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.category-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  min-height: 700px;
}

.category-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 72px clamp(34px, 5vw, 76px) 54px 0;
}

.category-hero-copy h1 {
  max-width: 820px;
  margin: 12px 0 28px;
  font-size: clamp(3rem, 5vw, 5.35rem);
}

.category-answer {
  max-width: 760px;
  padding: 24px 26px;
  border-left: 4px solid var(--brand-orange);
  background: #173541;
}

.category-answer b {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-orange);
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.category-answer p {
  margin: 0;
  color: #e8eff1;
  font-size: 1.05rem;
  line-height: 1.65;
}

.category-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
}

.category-rule {
  max-width: 720px;
  margin: auto 0 0;
  padding-top: 34px;
  color: #9fb2b8;
  font-size: .8rem;
  line-height: 1.55;
}

.category-hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 70px 24px 42px;
  background: radial-gradient(circle at 50% 42%, #fff 0, #f1f4f3 50%, #dbe3e1 100%);
}

.category-hero-media > span {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  padding: 8px 11px;
  background: var(--brand-orange);
  color: #fff;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.category-hero-media img {
  width: min(100%, 630px);
  height: auto;
  object-fit: contain;
}

.category-hero-media small {
  position: absolute;
  right: 24px;
  bottom: 18px;
  left: 24px;
  color: #62757c;
  font-size: .72rem;
  text-align: center;
}

.category-section-top h2 {
  max-width: 840px;
}

.category-criteria {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.category-criteria article {
  min-height: 285px;
  padding: 26px;
  background: #fff;
}

.category-criteria span,
.category-options b {
  color: var(--brand-orange-dark);
  font-size: .76rem;
}

.category-criteria h3 {
  margin: 50px 0 12px;
}

.category-criteria p,
.category-options p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}

.category-decisions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.category-decisions article {
  padding: clamp(28px, 4vw, 48px);
  border-top: 4px solid var(--brand-orange);
  background: #fff;
}

.category-decisions article:last-child {
  border-top-color: var(--navy);
}

.category-decisions h2 {
  margin: 12px 0 24px;
}

.category-decisions ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.category-decisions li {
  padding: 13px 0 13px 25px;
  border-bottom: 1px solid var(--line);
  color: #42575f;
}

.category-decisions li::before {
  content: "✓";
  float: left;
  margin-left: -25px;
  color: var(--brand-orange-dark);
  font-weight: 900;
}

.category-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-options article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
}

.category-options h3 {
  margin: 44px 0 10px;
}

.category-gallery-section {
  background: #eef2f1;
}

.category-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.category-gallery a {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.category-gallery img {
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  transition: transform .25s ease;
}

.category-gallery a:hover img {
  transform: scale(1.025);
}

.category-gallery span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  padding: 9px 10px;
  background: rgba(11, 29, 37, .88);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
}

.category-faq {
  border-top: 1px solid var(--line);
}

.category-faq details {
  border-bottom: 1px solid var(--line);
}

.category-faq summary {
  position: relative;
  padding: 24px 52px 24px 0;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
  list-style: none;
}

.category-faq summary::-webkit-details-marker {
  display: none;
}

.category-faq summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 4px;
  color: var(--brand-orange-dark);
  font-size: 1.55rem;
}

.category-faq details[open] summary::after {
  content: "−";
}

.category-faq p {
  max-width: 900px;
  margin: -4px 0 24px;
  color: var(--muted);
  line-height: 1.65;
}

.category-configurator {
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
}

.pallet-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pallet-photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.pallet-photo-set {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f2f4f3;
}

.pallet-photo-set > a:first-child {
  display: block;
  height: 100%;
}

.pallet-photo-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.pallet-photo-set:hover .pallet-photo-main {
  transform: scale(1.025);
}

.pallet-photo-set > a:last-child {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 31%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 3px solid #fff;
  background: #fff;
  box-shadow: 0 8px 26px rgba(11, 29, 37, .2);
}

.pallet-photo-detail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pallet-photo-copy {
  padding: 24px;
}

.pallet-photo-copy > span {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-orange-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pallet-photo-copy h3 {
  margin: 0 0 10px;
}

.pallet-photo-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.pallet-showcase {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f4f6f5;
}

.pallet-showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(30px, 4vw, 54px);
}

.pallet-showcase-copy .eyebrow,
.pallet-showcase-copy .text-link {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.pallet-showcase-copy .text-link {
  align-self: flex-start;
}

.pallet-showcase-copy h3 {
  margin: 14px 0 16px;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.pallet-showcase-copy p {
  margin: 0 0 28px;
  color: #42575f;
  line-height: 1.65;
}

.pallet-showcase-views {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
}

.pallet-showcase-views a {
  position: relative;
  display: flex;
  min-width: 0;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f4f6f5 100%);
}

.pallet-showcase-views img {
  width: 100%;
  height: 100%;
  padding: 20px;
  object-fit: contain;
  transition: transform .3s ease;
}

.pallet-showcase-views a:hover img {
  transform: scale(1.025);
}

.pallet-showcase-views span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 9px;
  background: rgba(11, 29, 37, .86);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}

.pallet-request-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 22px 24px;
  border-left: 4px solid var(--brand-orange);
  background: var(--brand-orange-pale);
}

.pallet-request-note strong {
  color: var(--ink);
}

.pallet-request-note span {
  color: #42575f;
  line-height: 1.5;
}

.inside-proof {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
}

.inside-proof-photo {
  position: relative;
  max-width: 500px;
  overflow: hidden;
  background: #dfe4e5;
}

.inside-proof-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
}

.inside-proof-photo span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  background: rgba(11, 29, 37, .86);
  color: #fff;
  font-size: .78rem;
  line-height: 1.35;
}

.inside-proof-copy h2 {
  margin-top: 0;
}

.inside-proof-copy > p {
  color: #42575f;
  font-size: 1.04rem;
  line-height: 1.65;
}

.inside-proof-copy small {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.steps.steps-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.max-float {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 16px 8px 9px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 28px;
  background: #171315;
  box-shadow: 0 10px 30px rgba(11, 29, 37, .25);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
}

.max-float img {
  width: 32px;
  height: 32px;
  flex: none;
}

.max-float:hover {
  transform: translateY(-2px);
}

@media (max-width: 920px) {
  .category-hero-grid {
    grid-template-columns: 1fr;
  }

  .category-hero-copy {
    min-height: 650px;
    padding-right: 0;
  }

  .category-hero-media {
    min-height: 540px;
    margin: 0 -18px;
  }

  .category-criteria {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-options,
  .category-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pallet-grid,
  .config-grid,
  .requirements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps.steps-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pallet-photo-grid {
    grid-template-columns: 1fr;
  }

  .pallet-photo-card {
    display: grid;
    grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
  }

  .pallet-showcase {
    grid-template-columns: 1fr;
  }

  .pallet-showcase-views a:first-child {
    border-left: 0;
  }

  .inside-proof {
    grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
    gap: 32px;
  }

  .used1-hero-grid {
    grid-template-columns: 1fr;
  }

  .used1-hero-copy {
    min-height: 610px;
    padding-right: 0;
  }

  .used1-hero-media {
    min-height: 560px;
    margin: 0 -18px;
  }

  .pallet-panel {
    grid-template-columns: 1fr;
  }

  .pallet-panel-gallery a:last-child {
    border-right: 0;
  }

  .used1-criteria {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .breadcrumbs {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .category-hero-copy {
    min-height: 0;
    padding: 46px 0 38px;
  }

  .category-hero-copy h1 {
    font-size: 2.8rem;
  }

  .category-hero-actions,
  .category-hero-actions .button {
    width: 100%;
  }

  .category-rule {
    margin-top: 36px;
  }

  .category-hero-media {
    min-height: 390px;
    padding: 58px 12px 38px;
  }

  .category-criteria,
  .category-decisions,
  .category-options,
  .category-gallery {
    grid-template-columns: 1fr;
  }

  .category-criteria article,
  .category-options article {
    min-height: 0;
  }

  .category-criteria h3,
  .category-options h3 {
    margin-top: 24px;
  }

  .pallet-grid,
  .config-grid,
  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .steps.steps-four {
    grid-template-columns: 1fr;
  }

  .pallet-photo-card,
  .inside-proof {
    grid-template-columns: 1fr;
  }

  .pallet-showcase-copy {
    padding: 28px 22px;
  }

  .pallet-showcase-views img {
    padding: 8px;
  }

  .pallet-photo-copy {
    padding: 22px;
  }

  .pallet-request-note {
    display: block;
  }

  .pallet-request-note span,
  .pallet-request-note .text-link {
    display: block;
    margin-top: 10px;
  }

  .inside-proof-photo {
    width: min(100%, 420px);
  }

  .used1-hero-copy {
    min-height: 0;
    padding: 46px 0 38px;
  }

  .used1-back {
    margin-bottom: 42px;
  }

  .used1-hero-copy h1 {
    font-size: 3rem;
  }

  .used1-hero-actions,
  .used1-hero-actions .button {
    width: 100%;
  }

  .used1-facts {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .used1-hero-media {
    min-height: 390px;
    padding: 62px 12px 38px;
  }

  .pallet-tabs {
    grid-template-columns: 1fr;
  }

  .pallet-tabs button {
    min-height: 52px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pallet-tabs button:last-child {
    border-bottom: 0;
  }

  .pallet-panel-copy {
    padding: 26px 22px;
  }

  .pallet-panel-copy .button {
    width: 100%;
  }

  .pallet-panel-gallery img {
    padding: 6px;
  }

  .pallet-panel-gallery span {
    right: 7px;
    bottom: 7px;
    font-size: .65rem;
  }

  .pallet-availability {
    display: block;
  }

  .pallet-availability p,
  .pallet-availability .text-link {
    display: block;
    margin-top: 12px;
  }

  .used1-criteria {
    grid-template-columns: 1fr;
  }

  .used1-criteria article {
    min-height: 0;
  }

  .used1-criteria h3 {
    margin-top: 24px;
  }

  .used1-extra,
  .used1-config-footer {
    display: block;
  }

  .used1-extra .button,
  .used1-config-footer .button {
    width: 100%;
    margin-top: 24px;
  }

  .requirements-grid article {
    min-height: 0;
  }

  .requirements-grid b {
    margin-bottom: 12px;
  }

  .pallet-grid article {
    min-height: 135px;
    padding: 23px;
  }

  .ground-feature {
    display: block;
    padding: 28px;
  }

  .ground-feature .text-link {
    display: inline-block;
    margin-top: 24px;
  }

  .configurator {
    padding: 20px;
  }

  .form-actions,
  .form-actions .button {
    width: 100%;
  }

  .max-float {
    right: 14px;
    bottom: 14px;
  }
}
