
/* HEDA SHELVES | DRIVE-IN RACKING PRODUCT DESCRIPTION */
/* Scoped styles - will not affect the website header or footer */

.hd-drivein {
  --hd-navy: #142b43;
  --hd-blue: #24547c;
  --hd-orange: #e77832;
  --hd-ink: #263849;
  --hd-muted: #617183;
  --hd-line: #e1e8ef;
  --hd-light: #f5f8fb;
  --hd-white: #ffffff;
  width: 100%;
  margin: 0 auto;
  color: var(--hd-ink);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.hd-drivein,
.hd-drivein * {
  box-sizing: border-box;
}

.hd-drivein h2,
.hd-drivein h3,
.hd-drivein h4,
.hd-drivein p {
  margin: 0;
  padding: 0;
}

.hd-drivein img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hd-drivein a {
  text-decoration: none;
}

.hd-drivein .hd-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.hd-drivein .hd-section {
  padding: 88px 0;
}

.hd-drivein .hd-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 19px;
  color: var(--hd-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.1px;
  line-height: 1.5;
  text-transform: uppercase;
}

.hd-drivein .hd-eyebrow::before {
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  flex-shrink: 0;
  background: var(--hd-orange);
}

.hd-drivein .hd-heading {
  color: var(--hd-navy);
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 750;
  line-height: 1.23;
  letter-spacing: -0.8px;
}

.hd-drivein .hd-lead {
  max-width: 690px;
  margin-top: 20px;
  color: var(--hd-muted);
  font-size: 16px;
  line-height: 1.9;
}

.hd-drivein .hd-small-heading {
  color: var(--hd-navy);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.hd-drivein .hd-photo {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--hd-line);
  border-radius: 8px;
}

.hd-drivein .hd-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hd-drivein .hd-photo-caption {
  margin-top: 12px;
  color: #798795;
  font-size: 12px;
  line-height: 1.6;
}

/* 01 HERO */

.hd-drivein .hd-hero {
  overflow: hidden;
  border: 1px solid var(--hd-line);
  border-radius: 12px;
  background: #f4f7fa;
}

.hd-drivein .hd-hero-grid {
  display: grid;
  grid-template-columns: 49% 51%;
  align-items: center;
  min-height: 520px;
}

.hd-drivein .hd-hero-copy {
  padding: 64px 12px 64px 56px;
  position: relative;
  z-index: 1;
}

.hd-drivein .hd-hero-title {
  max-width: 510px;
  color: var(--hd-navy);
  font-size: clamp(34px, 3.7vw, 50px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -1.4px;
}

.hd-drivein .hd-hero-description {
  max-width: 480px;
  margin-top: 24px;
  color: #586b7c;
  font-size: 16px;
  line-height: 1.9;
}

.hd-drivein .hd-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 29px;
}

.hd-drivein .hd-hero-tags span {
  padding: 8px 13px;
  border: 1px solid #d9e2eb;
  border-radius: 4px;
  background: #ffffff;
  color: #35536c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.hd-drivein .hd-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 26px 22px;
}

.hd-drivein .hd-hero-visual img {
  width: 100%;
  max-width: 550px;
  max-height: 490px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* 02 BENEFITS */

.hd-drivein .hd-intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.hd-drivein .hd-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--hd-line);
  border-radius: 9px;
  overflow: hidden;
  background: #ffffff;
}

.hd-drivein .hd-benefit {
  padding: 35px 31px 37px;
  min-width: 0;
}

.hd-drivein .hd-benefit + .hd-benefit {
  border-left: 1px solid var(--hd-line);
}

.hd-drivein .hd-benefit-number {
  display: block;
  margin-bottom: 25px;
  color: var(--hd-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}

.hd-drivein .hd-benefit h3 {
  margin-bottom: 12px;
  color: var(--hd-navy);
  font-size: 20px;
  line-height: 1.4;
}

.hd-drivein .hd-benefit p {
  color: var(--hd-muted);
  font-size: 14px;
  line-height: 1.85;
}

/* 03 HOW IT WORKS */

.hd-drivein .hd-operation {
  background: var(--hd-light);
}

.hd-drivein .hd-operation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 62px;
  align-items: center;
}

.hd-drivein .hd-operation-visual {
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--hd-line);
  border-radius: 9px;
}

.hd-drivein .hd-operation-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.hd-drivein .hd-steps {
  margin-top: 32px;
}

.hd-drivein .hd-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #dce5ed;
}

.hd-drivein .hd-step:last-child {
  border-bottom: 0;
}

.hd-drivein .hd-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #bdcedc;
  border-radius: 50%;
  color: var(--hd-blue);
  font-size: 12px;
  font-weight: 800;
}

.hd-drivein .hd-step h3 {
  margin-bottom: 5px;
  color: var(--hd-navy);
  font-size: 16px;
  line-height: 1.45;
}

.hd-drivein .hd-step p {
  color: var(--hd-muted);
  font-size: 14px;
  line-height: 1.8;
}

.hd-drivein .hd-operation-note {
  margin-top: 24px;
  padding: 15px 18px;
  border-left: 3px solid var(--hd-orange);
  background: #eaf0f6;
  color: #42586d;
  font-size: 13px;
  line-height: 1.8;
}

/* 04 STRUCTURE */

.hd-drivein .hd-structure-heading {
  max-width: 750px;
  margin-bottom: 39px;
}

.hd-drivein .hd-structure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
}

.hd-drivein .hd-structure-card {
  min-width: 0;
  border: 1px solid var(--hd-line);
  border-radius: 9px;
  overflow: hidden;
  background: #ffffff;
}

.hd-drivein .hd-structure-image {
  height: 350px;
  padding: 14px;
  background: #f5f7f9;
}

.hd-drivein .hd-structure-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hd-drivein .hd-structure-content {
  padding: 27px 30px 30px;
}

.hd-drivein .hd-structure-label {
  margin-bottom: 9px;
  color: var(--hd-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.hd-drivein .hd-structure-content h3 {
  margin-bottom: 10px;
  color: var(--hd-navy);
  font-size: 19px;
  line-height: 1.4;
}

.hd-drivein .hd-structure-content p {
  color: var(--hd-muted);
  font-size: 14px;
  line-height: 1.85;
}

.hd-drivein .hd-component-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 23px;
}

.hd-drivein .hd-component-item {
  padding: 21px 23px;
  border-radius: 6px;
  background: var(--hd-light);
}

.hd-drivein .hd-component-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--hd-navy);
  font-size: 14px;
}

.hd-drivein .hd-component-item p {
  color: var(--hd-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* 05 APPLICATIONS */

.hd-drivein .hd-applications {
  background: #f5f8fb;
}

.hd-drivein .hd-application-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.hd-drivein .hd-application-top .hd-lead {
  max-width: 420px;
  margin: 0;
}

.hd-drivein .hd-application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hd-drivein .hd-application-card {
  min-width: 0;
  padding: 31px 28px 35px;
  border: 1px solid var(--hd-line);
  border-radius: 8px;
  background: #ffffff;
}

.hd-drivein .hd-application-index {
  display: block;
  margin-bottom: 36px;
  color: #aab8c5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.hd-drivein .hd-application-card h3 {
  margin-bottom: 11px;
  color: var(--hd-navy);
  font-size: 20px;
  line-height: 1.4;
}

.hd-drivein .hd-application-card p {
  color: var(--hd-muted);
  font-size: 14px;
  line-height: 1.85;
}

/* 06 PROJECT REFERENCE */

.hd-drivein .hd-project {
  display: grid;
  grid-template-columns: 37% 63%;
  overflow: hidden;
  border: 1px solid var(--hd-line);
  border-radius: 10px;
  background: #ffffff;
}

.hd-drivein .hd-project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 37px;
  background: var(--hd-navy);
}

.hd-drivein .hd-project-copy .hd-eyebrow {
  color: #b8d4e8;
}

.hd-drivein .hd-project-copy h2 {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(25px, 2.5vw, 33px);
  line-height: 1.25;
}

.hd-drivein .hd-project-copy p {
  color: #c3d0dd;
  font-size: 14px;
  line-height: 1.9;
}

.hd-drivein .hd-project-meta {
  margin-top: 24px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hd-drivein .hd-project-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 345px;
  padding: 18px;
  background: #f5f7fa;
}

.hd-drivein .hd-project-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 07 PLANNING */

.hd-drivein .hd-planning {
  background: #ffffff;
}

.hd-drivein .hd-planning-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 75px;
  align-items: start;
}

.hd-drivein .hd-planning-intro {
  padding-right: 5px;
}

.hd-drivein .hd-planning-panel {
  padding: 33px 36px;
  border: 1px solid var(--hd-line);
  border-radius: 9px;
  background: #f8fafc;
}

.hd-drivein .hd-planning-panel h3 {
  margin-bottom: 21px;
  color: var(--hd-navy);
  font-size: 19px;
}

.hd-drivein .hd-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hd-drivein .hd-checklist li {
  position: relative;
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid #e0e7ee;
  color: #43576a;
  font-size: 14px;
  line-height: 1.65;
}

.hd-drivein .hd-checklist li:last-child {
  border-bottom: 0;
}

.hd-drivein .hd-checklist li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--hd-orange);
}

.hd-drivein .hd-planning-footnote {
  margin-top: 17px;
  color: #7b8995;
  font-size: 12px;
  line-height: 1.8;
}

/* 08 CTA */

.hd-drivein .hd-cta {
  position: relative;
  overflow: hidden;
  padding: 57px 65px;
  border-radius: 10px;
  background: var(--hd-navy);
  color: #ffffff;
}

.hd-drivein .hd-cta::after {
  content: "";
  position: absolute;
  right: -85px;
  top: -135px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hd-drivein .hd-cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  position: relative;
  z-index: 1;
}

.hd-drivein .hd-cta-copy {
  max-width: 660px;
}

.hd-drivein .hd-cta-eyebrow {
  margin-bottom: 12px;
  color: #a9c7db;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.9px;
  text-transform: uppercase;
}

.hd-drivein .hd-cta h2 {
  color: #ffffff;
  font-size: clamp(25px, 2.7vw, 35px);
  line-height: 1.3;
}

.hd-drivein .hd-cta p {
  margin-top: 15px;
  color: #c9d4df;
  font-size: 14px;
  line-height: 1.9;
}

.hd-drivein .hd-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 52px;
  padding: 15px 27px;
  border-radius: 4px;
  background: var(--hd-orange);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.5;
  text-align: center;
  transition: background 0.2s ease;
}

.hd-drivein .hd-cta-button:hover {
  background: #c86122;
  color: #ffffff !important;
}

.hd-drivein .hd-bottom-space {
  height: 35px;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .hd-drivein .hd-hero-grid {
    grid-template-columns: 50% 50%;
  }

  .hd-drivein .hd-hero-copy {
    padding: 43px 5px 43px 35px;
  }

  .hd-drivein .hd-operation-grid {
    gap: 35px;
  }

  .hd-drivein .hd-planning-grid {
    gap: 35px;
  }
}

@media (max-width: 768px) {
  .hd-drivein .hd-container {
    width: min(100% - 32px, 1200px);
  }

  .hd-drivein .hd-section {
    padding: 58px 0;
  }

  .hd-drivein .hd-heading {
    font-size: 30px;
  }

  .hd-drivein .hd-lead {
    font-size: 15px;
  }

  .hd-drivein .hd-hero-grid,
  .hd-drivein .hd-operation-grid,
  .hd-drivein .hd-structure-grid,
  .hd-drivein .hd-planning-grid,
  .hd-drivein .hd-project {
    grid-template-columns: 1fr;
  }

  .hd-drivein .hd-hero-copy {
    padding: 36px 28px 15px;
  }

  .hd-drivein .hd-hero-title {
    font-size: clamp(32px, 7vw, 43px);
  }

  .hd-drivein .hd-hero-visual {
    min-height: 0;
    padding: 10px 22px 27px;
  }

  .hd-drivein .hd-benefits,
  .hd-drivein .hd-application-grid {
    grid-template-columns: 1fr;
  }

  .hd-drivein .hd-benefit {
    padding: 27px;
  }

  .hd-drivein .hd-benefit + .hd-benefit {
    border-left: 0;
    border-top: 1px solid var(--hd-line);
  }

  .hd-drivein .hd-benefit-number {
    margin-bottom: 12px;
  }

  .hd-drivein .hd-operation-grid {
    gap: 27px;
  }

  .hd-drivein .hd-operation-visual {
    order: 2;
  }

  .hd-drivein .hd-operation-copy {
    order: 1;
  }

  .hd-drivein .hd-structure-image {
    height: 330px;
  }

  .hd-drivein .hd-component-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hd-drivein .hd-application-top {
    display: block;
  }

  .hd-drivein .hd-application-top .hd-lead {
    margin-top: 17px;
  }

  .hd-drivein .hd-application-card {
    padding: 27px;
  }

  .hd-drivein .hd-application-index {
    margin-bottom: 15px;
  }

  .hd-drivein .hd-project-copy {
    padding: 36px 29px;
  }

  .hd-drivein .hd-project-image {
    min-height: 0;
  }

  .hd-drivein .hd-planning-panel {
    padding: 25px 24px;
  }

  .hd-drivein .hd-cta {
    padding: 38px 28px;
  }

  .hd-drivein .hd-cta-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .hd-drivein .hd-container {
    width: calc(100% - 26px);
  }

  .hd-drivein .hd-hero-copy {
    padding: 30px 23px 10px;
  }

  .hd-drivein .hd-hero-title {
    font-size: 32px;
  }

  .hd-drivein .hd-hero-description {
    font-size: 14px;
  }

  .hd-drivein .hd-hero-tags span {
    font-size: 11px;
  }

  .hd-drivein .hd-structure-image {
    height: 285px;
  }

  .hd-drivein .hd-structure-content {
    padding: 23px;
  }

  .hd-drivein .hd-cta-button {
    width: 100%;
  }
}

/* Keep the original product-page button appearance when using the native popup trigger. */
.hd-drivein .hd-cta a.hd-cta-button.themes_box_inquiry_button_alert.themes_box_button.trans3 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-height: 52px !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 15px 27px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: var(--hd-orange) !important;
  background-image: none !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  line-height: 1.5 !important;
  text-align: center !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background 0.2s ease !important;
}
.hd-drivein .hd-cta a.hd-cta-button.themes_box_inquiry_button_alert.themes_box_button.trans3:hover {
  background: #c86122 !important;
  background-image: none !important;
  color: #ffffff !important;
}
.hd-drivein .hd-cta a.hd-cta-button.themes_box_inquiry_button_alert.themes_box_button.trans3::before,
.hd-drivein .hd-cta a.hd-cta-button.themes_box_inquiry_button_alert.themes_box_button.trans3::after {
  content: none !important;
  display: none !important;
}
@media (max-width: 480px) {
  .hd-drivein .hd-cta a.hd-cta-button.themes_box_inquiry_button_alert.themes_box_button.trans3 {
    width: 100% !important;
  }
}
