/* ==========================================================================
   D&R Electronics — Main Stylesheet
   Stack: HTML / CSS (BEM) / jQuery
   Fonts: Hind, DM Sans (Google Fonts)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-corporate-primary: #084C82;
  --color-corporate-secondary: #092A46;
  --color-lighter-primary: #0068D0;
  --color-lighter-secondary: #BEBDC3;
  --color-dark-blue: #0F1C3E;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-gray-3: #979696;
  --color-gray-4: #C1C1C1;
  --color-gray-5: #DDDDDD;
  --color-accent: #F40000;
  --color-bg-light: #F4F4F4;

  /* Typography — Headings (DM Sans) */
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Hind', sans-serif;

  /* Font sizes */
  --fs-heading-l: 40px;
  --fs-heading-m: 42px;
  --fs-heading-s: 36px;
  --fs-content-l: 22px;
  --fs-body: 16px;
  --fs-content-s: 14px;
  --fs-content-xs: 12px;
  --fs-uppercase: 18px;

  /* Layout — container & spacing */
  --container-max: 1920px;
  --section-padding-x: 60px;
  --section-padding-y: 60px;

  /* Transition */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

/* Responsive overrides */
@media (max-width: 1600px) {
  :root {
    --section-padding-x: 5%;
  }
}

@media (max-width: 1200px) {
  :root {
    --section-padding-y: 48px;
    --fs-heading-l: 34px;
    --fs-heading-m: 36px;
    --fs-heading-s: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding-y: 40px;
    --fs-heading-l: 28px;
    --fs-heading-m: 30px;
    --fs-heading-s: 24px;
    --fs-content-l: 18px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding-y: 32px;
    --fs-heading-l: 24px;
    --fs-heading-m: 26px;
    --fs-heading-s: 22px;
  }
}

/* --------------------------------------------------------------------------
   Reset / Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  background-color: var(--color-white);
  min-width: 320px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.heading-l {
  font-family: var(--font-heading);
  font-size: var(--fs-heading-l);
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0;
}

.heading-m {
  font-family: var(--font-heading);
  font-size: var(--fs-heading-m);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -1.68px;
}

.heading-s {
  font-family: var(--font-body);
  font-size: var(--fs-heading-s);
  font-weight: 300;
  line-height: 1;
}

.content-l {
  font-family: var(--font-body);
  font-size: var(--fs-content-l);
  font-weight: 600;
  line-height: 1.5;
}

.content-l--emphasis {
  font-family: var(--font-body);
  font-size: var(--fs-content-l);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.5;
}

.body-text {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
}

.body-text--emphasis {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.5;
}

.content-s {
  font-family: var(--font-body);
  font-size: var(--fs-content-s);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.28px;
}

.content-s--emphasis {
  font-family: var(--font-body);
  font-size: var(--fs-content-s);
  font-weight: 600;
  line-height: 1;
}

.content-xs {
  font-family: var(--font-body);
  font-size: var(--fs-content-xs);
  font-weight: 400;
}

.content-xs--emphasis {
  font-family: var(--font-body);
  font-size: var(--fs-content-xs);
  font-weight: 600;
}

.uppercase-text {
  font-family: var(--font-body);
  font-size: var(--fs-uppercase);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3.6px;
}

.uppercase-text--emphasis {
  font-family: var(--font-body);
  font-size: var(--fs-uppercase);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3.6px;
}

/* --------------------------------------------------------------------------
   Layout — Section container
   --------------------------------------------------------------------------
   No .container class. Each section applies max-width + consistent paddings
   via these shared properties. Use .section as a base or apply the vars
   directly on BEM blocks.
   -------------------------------------------------------------------------- */
.section {
  width: 100%;
}

.section__container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding: var(--section-padding-y) var(--section-padding-x);
}

/* --------------------------------------------------------------------------
   Buttons — Base + Modifiers
   --------------------------------------------------------------------------
   Usage:
     <a class="btn btn--big" href="#">Label <span class="btn__arrow"></span></a>
     <button class="btn btn--small">Learn More →</button>
     <button class="btn btn--medium">View All ›</button>
     <button class="btn btn--big btn--loading">Loading…</button>
   -------------------------------------------------------------------------- */

/* Base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base),
              opacity var(--transition-base);
  position: relative;
  white-space: nowrap;
  line-height: 1;
}

/* ---- Big: dark filled, arrow ---- */
.btn--big {
  padding: 18px 30px;
  background-color: var(--color-corporate-secondary);
  color: var(--color-white);
  font-size: 16px;
  letter-spacing: 3.2px;
  border-color: var(--color-corporate-secondary);
}

.btn--big:hover {
  background-color: var(--color-lighter-primary);
  border-color: var(--color-lighter-primary);
}

/* ---- Small: compact filled blue ---- */
.btn--small {
  padding: 6px 10px;
  gap: 5px;
  background-color: var(--color-lighter-primary);
  border-color: var(--color-lighter-primary);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24px;
}

.btn--small:hover {
  background-color: var(--color-corporate-primary);
  border-color: var(--color-corporate-primary);
}

.btn--small .btn__arrow {
  width: 9px;
  height: 9px;
  background: none;
  transform: rotate(90deg);
}

.btn--small .btn__arrow::after {
  display: none;
}

.btn--small .btn__arrow::before {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  background: url('/img/misc/btn-arrow-white.svg') no-repeat center / contain;
}

/* ---- Medium: outlined ---- */
.btn--medium {
  padding: 10px 25px;
  background-color: transparent;
  color: var(--color-corporate-secondary);
  font-size: 14px;
  letter-spacing: 2.8px;
  border: 1px solid var(--color-corporate-secondary);
}

.btn--medium:hover {
  background-color: var(--color-corporate-secondary);
  color: var(--color-white);
}

/* ---- Arrow element (used inside btn--big) ---- */
.btn__arrow {
  display: inline-block;
  width: 23px;
  height: 13px;
  position: relative;
  background: url('/img/misc/btn-arrow-white.svg') no-repeat center / contain;
}

/* ---- Loading state ---- */
.btn--loading,
.js-formSubmit.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.65;
  color: transparent !important;
}

.btn--loading::after,
.js-formSubmit.is-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-white);
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
}

/* When loading on an outlined / small button, spinner uses dark color */
.btn--medium.btn--loading::after,
.btn--small.btn--loading::after {
  border-color: var(--color-corporate-secondary);
  border-top-color: transparent;
}

.btn--loading .btn__arrow,
.js-formSubmit.is-loading .btn__arrow,
.js-formSubmit.is-loading .cta-bar__btn-arrow,
.js-formSubmit.is-loading .products__search-submit-arrow {
  opacity: 0;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- White / outline on dark bg ---- */
.btn--white {
  color: var(--color-white);
  border-color: var(--color-white);
  background: transparent;
}

.btn--white:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* ---- Disabled state ---- */
.btn--disabled,
.btn:disabled {
  pointer-events: none;
  opacity: 0.4;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   Responsive button adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .btn--big {
    padding: 14px 22px;
    font-size: 14px;
    letter-spacing: 2px;
  }

  .btn--medium {
    padding: 8px 18px;
    font-size: 13px;
    letter-spacing: 2px;
  }
}

@media (max-width: 480px) {
  .btn--big {
    padding: 12px 18px;
    font-size: 13px;
    letter-spacing: 1.5px;
    width: 100%;
    justify-content: center;
  }

  .btn--medium {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero-slider {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-slider__swiper {
  width: 100%;
  height: 450px;
}

/* ---------- Individual slide ---------- */
.hero-slider__slide {
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* ---------- Background image ---------- */
.hero-slider__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
}

.hero-slider__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- Gradient overlay ---------- */
.hero-slider__overlay {
  position: absolute;
  inset: 0 50% 0 0;
  width: 55%;
  z-index: 1;
}

.hero-slider__overlay--blue {
  background: linear-gradient(
    -79deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgb(222, 231, 244) 37%
  );
}

.hero-slider__overlay--gray {
  background: linear-gradient(
    -79deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgb(229, 229, 229) 37%
  );
}

/* ---------- Content block ---------- */
.hero-slider__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 40px 30px 40px 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* ---------- Text elements ---------- */
.hero-slider__pretitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1;
  color: var(--color-corporate-secondary);
  margin-bottom: 2px;
}

.hero-slider__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(34px, 3.5vw, 55px);
  line-height: 1.1;
  color: var(--color-corporate-secondary);
  margin-bottom: 10px;
}

.hero-slider__subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1;
  color: var(--color-black);
  margin-bottom: 16px;
}

.hero-slider__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.1vw, 20px);
  line-height: 1.5;
  color: var(--color-black);
  margin-bottom: 24px;
}

/* ---------- Button ---------- */
.hero-slider__btn {
  background-color: var(--color-lighter-primary);
  border-color: var(--color-lighter-primary);
  align-self: flex-start;
  flex-shrink: 0;
}

.hero-slider__btn:hover {
  background-color: var(--color-corporate-primary);
  border-color: var(--color-corporate-primary);
}

/* ---------- Navigation arrows ---------- */
.hero-slider__prev,
.hero-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--color-gray-3);
  transition: color var(--transition-fast);
}

.hero-slider__prev:hover,
.hero-slider__next:hover {
  color: var(--color-corporate-secondary);
}

.hero-slider__prev {
  left: 55px;
}

.hero-slider__next {
  right: 55px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1600px) {
  .hero-slider__content {
    padding-left: 120px;
  }

  .hero-slider__prev {
    left: 30px;
  }

  .hero-slider__next {
    right: 30px;
  }
}

@media (max-width: 1200px) {
  .hero-slider__swiper {
    height: 400px;
  }

  .hero-slider__content {
    padding-left: 80px;
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .hero-slider__swiper {
    height: 380px;
  }

  .hero-slider__bg {
    width: 100%;
    height: 100%;
    opacity: 0.25;
  }

  .hero-slider__overlay {
    display: none;
  }

  .hero-slider__content {
    padding: 40px var(--section-padding-x);
    max-width: 100%;
  }

  .hero-slider__prev {
    left: 10px;
  }

  .hero-slider__next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .hero-slider__swiper {
    height: 360px;
  }

  .hero-slider__text {
    margin-bottom: 20px;
  }
}

/* ==========================================================================
   HEADER
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header — wrapper
   -------------------------------------------------------------------------- */
.header {
  width: 100%;
  position: relative;
  z-index: 100;
}

/* Spacer pushed into the page flow so content doesn't hide behind sticky */
body.has-sticky-header {
  padding-top: 210px;
}

/* --------------------------------------------------------------------------
   Sticky state
   -------------------------------------------------------------------------- */
.header--sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.header--sticky .header__top {
  height: 55px;
}

.header--sticky .header__top-rows {
  padding: 0;
  justify-content: center;
}

/* Hide utility row in sticky — only nav row remains */
.header--sticky .header__top-row {
  display: none;
}

.header--sticky .header__logo-img {
  width: 120px;
  height: auto;
}

.header--sticky .header__logo-badge {
  display: none;
}

/* --------------------------------------------------------------------------
   Row 1 — Top bar
   -------------------------------------------------------------------------- */
.header__top {
  background-color: var(--color-bg-light);
  height: 160px;
  position: relative;
  z-index: 2; /* above header__nav so dropdowns overlay blue bar */
}

.header__top-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Rows container (stacks utility row + nav row) */
.header__top-rows {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  height: 100%;
  padding: 14px 0 10px;
}

/* Row 1: Info, utility links, actions — right-aligned */
.header__top-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
}

/* Row 2: Main nav + Search — right-aligned */
.header__top-nav-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
}

/* ---------- Logo ---------- */
.header__logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

.header__logo-img {
  width: 264px;
  height: auto;
}

/* Celebrating 50 Years badge */
.header__logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 219px;
  height: 34px;
  margin-left: 33px;
  margin-top: -8px;
  position: relative;
}

.header__logo-badge-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--color-black);
  line-height: 1;
  letter-spacing: 0.3px;
}

.header__logo-badge-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -1.5px;
  background: linear-gradient(60deg, #B78C34 15%, #E4D39E 54%, #896426 92%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 2px;
}

.header__logo-badge-line {
  position: absolute;
  height: 2px;
}

.header__logo-badge-line--tl {
  top: 6px;
  left: 0;
  width: 67px;
  background: linear-gradient(to right, rgba(254, 247, 225, 0), #B78C34 60%);
}

.header__logo-badge-line--bl {
  bottom: 4px;
  left: 0;
  width: 119px;
  background: linear-gradient(to right, rgba(254, 247, 225, 0), #B78C34 57%);
}

.header__logo-badge-line--tr {
  top: 6px;
  right: 0;
  width: 59px;
  background: linear-gradient(to left, rgba(254, 247, 225, 0), #B78C34 46%);
}

.header__logo-badge-line--br {
  bottom: 4px;
  right: 0;
  width: 59px;
  background: linear-gradient(to left, rgba(254, 247, 225, 0), #B78C34 53%);
}

/* ---------- Canadian badge + Phone ---------- */
.header__info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.header__canadian {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header__canadian-flag {
  width: 44px;
  height: auto;
  transform: rotate(-12deg);
}

.header__canadian-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
  color: var(--color-corporate-secondary);
  text-transform: uppercase;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header__phone-icon {
  color: var(--color-corporate-primary);
  flex-shrink: 0;
}

.header__phone-numbers {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-corporate-secondary);
  line-height: 1.3;
}

/* ---------- Secondary nav ---------- */
.header__secondary-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.header__secondary-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-lighter-primary);
  padding: 0 12px;
  white-space: nowrap;
}

.header__secondary-link:hover {
  color: var(--color-corporate-primary);
}

.header__secondary-link--active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header__secondary-divider {
  width: 1px;
  height: 14px;
  background-color: var(--color-gray-4);
}

/* ---------- Find a Distributor button ---------- */
.header__distributor-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-lighter-primary);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  padding: 10px 20px;
  border-radius: 0;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color var(--transition-fast);
}

.header__distributor-btn:hover {
  background-color: var(--color-corporate-primary);
  color: var(--color-white);
}

.header__distributor-icon {
  flex-shrink: 0;
  width: 20px;
  height: 29px;
}

/* ---------- Account + Cart ---------- */
.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  padding-right: 8px; /* room for cart badge overhang */
}

.header__account-wrap {
  position: relative;
}

.header__account {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-corporate-secondary);
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header__account:hover {
  color: var(--color-lighter-primary);
}

.header__account-icon {
  flex-shrink: 0;
  width: 18px;
  height: 16px;
}

/* Account dropdown */
.header__account-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  list-style: none;
  padding: 8px 0;
  min-width: 180px;
  z-index: 200;
}

/* Invisible bridge so cursor can travel from button to dropdown */
.header__account-wrap::after {
  content: '';
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 12px;
}

.header__account-wrap:hover::after {
  display: block;
}

.header__account-wrap:hover .header__account-dropdown,
.header__account-wrap.is-open .header__account-dropdown {
  display: block;
}

.header__account-dropdown-link {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-corporate-secondary);
  white-space: nowrap;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.header__account-dropdown-link:hover {
  background-color: #f0f4f8;
  color: var(--color-lighter-primary);
}

.header__account-dropdown-link--logout {
  border-top: 1px solid var(--color-gray-5);
  margin-top: 4px;
  padding-top: 14px;
}

.header__actions-divider {
  width: 1px;
  height: 24px;
  background-color: var(--color-gray-4);
}

.header__cart {
  display: flex;
  align-items: center;
  position: relative;
  color: var(--color-corporate-secondary);
}

.header__cart:hover {
  color: var(--color-lighter-primary);
}

.header__cart-icon {
  flex-shrink: 0;
  width: 28px;
  height: 24px;
}

.header__cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  width: 20px;
  height: 20px;
  background-color: #E53935;
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
}

/* ---------- Mobile hamburger ---------- */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-left: auto;
}

.header__hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-corporate-secondary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Hamburger active (X) state */
.header__hamburger--active .header__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger--active .header__hamburger-line:nth-child(2) {
  opacity: 0;
}

.header__hamburger--active .header__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Row 2 — Blue bar (Sitemap + Marquee)
   -------------------------------------------------------------------------- */
.header__nav {
  background-color: var(--color-corporate-primary);
  height: 50px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.header__nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

/* ---------- Sitemap button ---------- */
.header__sitemap-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--color-lighter-primary);
  color: var(--color-white);
  flex-shrink: 0;
  margin-left: calc(-1 * var(--section-padding-x));
  transition: background-color var(--transition-fast);
}

.header__sitemap-btn:hover {
  background-color: #0055AA;
}

/* ---------- Marquee / moving message ---------- */
.marquee {
  flex: 1;
  overflow: hidden;
  margin-left: 16px;
  margin-right: 16px;
}

.marquee__track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
}

.marquee__item {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 3.2px;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---------- Main menu ---------- */
.nav-main {
  flex-shrink: 0;
}

.nav-main__list {
  display: flex;
  align-items: center;
  gap: 60px;
}

.nav-main__item {
  position: relative;
}

.nav-main__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-black);
  white-space: nowrap;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-main__link:hover {
  color: var(--color-lighter-primary);
}

/* Active page indicator */
.nav-main__item--active > .nav-main__link {
  background-color: var(--color-corporate-secondary);
  color: var(--color-white);
  padding: 8px 10px;
}

.nav-main__item--active > .nav-main__link:hover {
  color: var(--color-white);
}

.nav-main__item--active > .nav-main__link .nav-main__arrow {
  color: var(--color-white);
}

.nav-main__arrow {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.nav-main__item.is-open .nav-main__arrow {
  transform: rotate(180deg);
}

/* ---------- Search bar ---------- */
.header__search {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__search-input {
  width: 380px;
  height: 37px;
  padding: 0 10px;
  border: 1px solid var(--color-gray-4);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--color-black);
  border-radius: 0;
}

.header__search-input::placeholder {
  color: var(--color-gray-3);
}

.header__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-4);
  border-left: none;
}

.header__search-btn:hover {
  background-color: var(--color-bg-light);
}

/* --------------------------------------------------------------------------
   Dropdown menus
   -------------------------------------------------------------------------- */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #E2E2E2;
  padding: 28px 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.nav-main__item.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
}

/* -- Small dropdown (Industry / Support) -- */
.dropdown--small {
  min-width: 260px;
}

/* -- Wide dropdown (Products) — two columns -- */
.dropdown--wide {
  min-width: 600px;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown__columns {
  display: flex;
  gap: 40px;
}

.dropdown__col {
  flex: 1;
  min-width: 0;
}

.dropdown__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--color-corporate-secondary);
  margin-bottom: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

.dropdown__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dropdown__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dropdown__item:last-child {
  border-bottom: none;
}

.dropdown__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  color: var(--color-corporate-secondary);
  padding: 10px 0;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.dropdown__link:hover {
  color: var(--color-lighter-primary);
}

.dropdown__chevron {
  font-size: 20px;
  line-height: 1;
  color: var(--color-lighter-primary);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Sitemap panel
   -------------------------------------------------------------------------- */
.sitemap {
  position: fixed;
  top: 0;
  left: 0;
  width: 546px;
  max-width: 90vw;
  height: 100vh;
  background-color: #EEEEEE;
  z-index: 1100;
  box-shadow: 0 4px 50px rgba(0, 0, 0, 0.25);
  transform: translateX(-100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
  padding: 30px 57px 40px;
}

.sitemap--open {
  transform: translateX(0);
}

.sitemap__inner {
  position: relative;
}

/* ---------- Sitemap header (icon + title + close) ---------- */
.sitemap__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.sitemap__icon {
  flex-shrink: 0;
  color: var(--color-corporate-secondary);
}

.sitemap__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.78px;
  color: var(--color-corporate-secondary);
}

.sitemap__close {
  margin-left: auto;
  color: var(--color-corporate-secondary);
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.sitemap__close:hover {
  color: var(--color-lighter-primary);
}

/* ---------- Main item list ---------- */
.sitemap__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Level 1 — main items (DM Sans Medium 18px) */
.sitemap__link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-black);
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.sitemap__link:hover {
  color: var(--color-lighter-primary);
}

/* Chevron for main items with children */
.sitemap__chevron {
  flex-shrink: 0;
  color: var(--color-lighter-primary);
  transition: transform var(--transition-fast);
}

.sitemap__item--has-sub.is-open > .sitemap__link .sitemap__chevron {
  transform: rotate(180deg);
}

/* Level 2 — sub-menu items (Hind Regular 16px) */
.sitemap__sublist {
  display: none;
  padding-left: 20px;
  margin-top: 2px;
}

.sitemap__item--has-sub.is-open > .sitemap__sublist {
  display: block;
}

.sitemap__sublink-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sitemap__sublink {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
  padding: 2px 0;
  display: block;
  transition: color var(--transition-fast);
}

.sitemap__sublink:hover {
  color: var(--color-lighter-primary);
}

/* +/- toggle button for sub-items with children */
.sitemap__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background-color: #DBDDE2;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--transition-fast);
}

.sitemap__toggle:hover {
  background-color: var(--color-gray-4);
}

.sitemap__toggle-icon {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1;
  color: var(--color-black);
}

/* Level 3 — sub-sub items */
.sitemap__subsublist {
  display: none;
  padding-left: 22px;
  margin-top: 2px;
}

.sitemap__subitem--has-sub.is-open > .sitemap__subsublist {
  display: block;
}

.sitemap__subsublink {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
  padding: 2px 0;
  display: block;
  transition: color var(--transition-fast);
}

.sitemap__subsublink:hover {
  color: var(--color-lighter-primary);
}

/* --------------------------------------------------------------------------
   Overlay (sitemap + mobile nav)
   -------------------------------------------------------------------------- */
.header__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.header__overlay--active {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   Mobile nav
   -------------------------------------------------------------------------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 90vw;
  height: 100vh;
  background-color: var(--color-white);
  z-index: 1100;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  padding: 80px 24px 40px;
}

.mobile-nav--open {
  transform: translateX(0);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-corporate-secondary);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-gray-5);
}

.mobile-nav__link:hover {
  color: var(--color-lighter-primary);
}

.mobile-nav__toggle {
  font-size: 20px;
  font-weight: 300;
  color: var(--color-gray-3);
  cursor: pointer;
  user-select: none;
}

.mobile-nav__sublist {
  display: none;
  padding-left: 16px;
  padding-bottom: 8px;
}

.mobile-nav__sublist--open {
  display: block;
}

.mobile-nav__sublink {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-corporate-secondary);
  padding: 8px 0;
}

.mobile-nav__sublink:hover {
  color: var(--color-lighter-primary);
}

/* --------------------------------------------------------------------------
   Mobile nav close button
   -------------------------------------------------------------------------- */
.mobile-nav__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-corporate-secondary);
  padding: 0;
  z-index: 10;
}

.mobile-nav__close:hover {
  color: var(--color-lighter-primary);
}

/* Mobile nav search */
.mobile-nav__search {
  display: flex;
  margin-bottom: 20px;
}

.mobile-nav__search-input {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--color-gray-4);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--color-black);
  border-radius: 0;
}

.mobile-nav__search-input::placeholder {
  color: var(--color-gray-3);
}

.mobile-nav__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-4);
  border-left: none;
  cursor: pointer;
}

.mobile-nav__search-btn:hover {
  background-color: var(--color-bg-light);
}

/* Mobile nav phone */
.mobile-nav__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-gray-5);
  color: var(--color-corporate-secondary);
}

.mobile-nav__phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav__phone-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-corporate-secondary);
}

.mobile-nav__phone-link:hover {
  color: var(--color-lighter-primary);
}

/* --------------------------------------------------------------------------
   Header responsive — 1600px: hide phone, tighten gaps
   -------------------------------------------------------------------------- */
@media (max-width: 1600px) {
  .header__phone {
    display: none;
  }

  .header__top-row {
    gap: 24px;
  }

  .header__secondary-link {
    font-size: 14px;
    padding: 0 8px;
  }

  .header__search-input {
    width: 280px;
  }

  .nav-main__list {
    gap: 40px;
  }

  .marquee {
    margin-right: var(--section-padding-x);
  }
}

/* --------------------------------------------------------------------------
   Header responsive — 1400px: hide Canadian badge
   -------------------------------------------------------------------------- */
@media (max-width: 1400px) {
  .header__top {
    height: 130px;
  }

  .header__canadian {
    display: none;
  }

  .header__top-row {
    gap: 20px;
  }

  .header__secondary-link {
    font-size: 13px;
    padding: 0 6px;
  }

  .header__distributor-btn {
    font-size: 14px;
    padding: 7px 12px;
  }

  .header__search-input {
    width: 220px;
  }

  .nav-main__list {
    gap: 32px;
  }

  body.has-sticky-header {
    padding-top: 180px;
  }
}

/* --------------------------------------------------------------------------
   Header responsive — 1200px: hide secondary nav, show burger
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .header__top {
    height: 110px;
  }

  .header__top-inner {
    gap: 16px;
  }

  .header__logo-img {
    width: 200px;
  }

  .header__logo-badge {
    width: 166px;
    height: 26px;
    margin-left: 25px;
    margin-top: -6px;
  }

  .header__logo-badge-text {
    font-size: 10px;
  }

  .header__logo-badge-number {
    font-size: 23px;
  }

  .header__logo-badge-line--tl {
    width: 50px;
  }

  .header__logo-badge-line--bl {
    width: 90px;
  }

  .header__secondary-nav {
    display: none;
  }

  .header__top-row {
    gap: 16px;
  }

  .header__distributor-btn {
    font-size: 13px;
    padding: 6px 10px;
  }

  .header__top-nav-row {
    gap: 24px;
  }

  .header__search-input {
    width: 200px;
  }

  .nav-main__list {
    gap: 28px;
  }

  .nav-main__link {
    font-size: 16px;
  }

  body.has-sticky-header {
    padding-top: 160px;
  }

  /* Show hamburger and mobile nav starting at 1200px */
  .header__hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  /* Hide items still visible in the desktop header */
  .mobile-nav__item--main,
  .mobile-nav__item--distributor,
  .mobile-nav__item--account,
  .mobile-nav__search,
  .mobile-nav__phone {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Header responsive — 1080px: hide distributor btn
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .header__top {
    height: 100px;
  }

  .header__logo-img {
    width: 180px;
  }

  .header__logo-badge {
    width: 149px;
    height: 24px;
    margin-left: 22px;
    margin-top: -5px;
  }

  .header__logo-badge-text {
    font-size: 9px;
  }

  .header__logo-badge-number {
    font-size: 20px;
  }

  .header__logo-badge-line--tl {
    width: 45px;
  }

  .header__logo-badge-line--bl {
    width: 80px;
  }

  .header__distributor-btn {
    display: none;
  }

  .header__top-nav-row {
    gap: 20px;
  }

  .header__search-input {
    width: 180px;
  }

  .nav-main__list {
    gap: 20px;
  }

  .nav-main__link {
    font-size: 15px;
  }

  body.has-sticky-header {
    padding-top: 150px;
  }

  /* Show distributor in burger now that desktop btn is hidden */
  .mobile-nav__item--distributor {
    display: list-item;
  }
}

/* --------------------------------------------------------------------------
   Header responsive — 992px: switch to mobile layout
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .header__top {
    height: 70px;
  }

  .header__top-rows {
    padding: 0;
    gap: 0;
    justify-content: center;
  }

  /* Hide nav row — use hamburger menu instead */
  .header__top-nav-row {
    display: none;
  }

  .header__logo-img {
    width: 150px;
  }

  .header__logo-badge {
    display: none;
  }

  /* Hide all utility items — they live in mobile nav */
  .header__info,
  .header__secondary-nav,
  .header__distributor-btn {
    display: none;
  }

  .header__account-text {
    display: none;
  }

  /* Hide account dropdown on mobile — items live in burger menu */
  .header__account-dropdown {
    display: none !important;
  }

  /* Show account items in mobile nav */
  .mobile-nav__item--account {
    display: list-item;
  }

  .header__nav {
    height: 44px;
  }

  .header__sitemap-btn {
    width: 44px;
    height: 44px;
    margin-left: calc(-1 * var(--section-padding-x));
  }

  /* Hide desktop dropdowns */
  .dropdown {
    display: none;
  }

  /* Show all remaining burger items now that desktop nav/search are hidden */
  .mobile-nav__item--main {
    display: list-item;
  }

  .mobile-nav__search {
    display: flex;
  }

  .mobile-nav__phone {
    display: flex;
  }

  body.has-sticky-header {
    padding-top: 114px;
  }

  .header--sticky .header__top {
    height: 50px;
  }

  /* On mobile sticky, keep the utility row visible (account/cart) */
  .header--sticky .header__top-row {
    display: flex;
  }

  .header--sticky .header__logo-img {
    width: 110px;
  }
}

/* --------------------------------------------------------------------------
   Header responsive — 768px (small tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .header__top {
    height: 64px;
  }

  .header__logo-img {
    width: 130px;
  }

  body.has-sticky-header {
    padding-top: 108px;
  }
}

/* --------------------------------------------------------------------------
   Header responsive — 480px (mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .header__top {
    height: 56px;
  }

  .header__top-inner {
    gap: 12px;
  }

  .header__logo-img {
    width: 110px;
  }

  .header__cart-icon {
    width: 24px;
    height: 24px;
  }

  .header__hamburger {
    width: 28px;
    height: 28px;
  }

  body.has-sticky-header {
    padding-top: 100px;
  }

  .header--sticky .header__top {
    height: 48px;
  }

  .header--sticky .header__logo-img {
    width: 90px;
  }
}

/* ==========================================================================
   PAGE INTRO — Reusable title + description block for inner pages
   Alignment: .page-intro--center | .page-intro--left | .page-intro--right
   ========================================================================== */
.page-intro__container {
  padding-bottom: 0;
}

.page-intro__title {
  margin: 0 0 20px;
}

.page-intro__text {
  margin: 0;
  max-width: 1430px;
}

/* Alignment modifiers */
.page-intro--center {
  text-align: center;
}

.page-intro--center .page-intro__text {
  margin-left: auto;
  margin-right: auto;
}

.page-intro--left {
  text-align: left;
}

.page-intro--right {
  text-align: right;
}

.page-intro--right .page-intro__text {
  margin-left: auto;
}

.page-intro__contact {
  margin: 20px 0 0;
}

/* ---------- Page Intro — Category nav links ---------- */
.page-intro__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.page-intro__nav-link {
  display: inline-block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-lighter-primary);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.page-intro__nav-link:hover {
  color: var(--color-corporate-primary);
}

.page-intro__nav-link--active {
  font-weight: 600;
  color: var(--color-black);
  text-decoration: none;
}

.page-intro__nav-link--active:hover {
  color: var(--color-black);
}

.page-intro__nav-divider {
  width: 1px;
  height: 18px;
  background-color: var(--color-gray-4);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Page Intro responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .page-intro__title {
    margin-bottom: 16px;
  }

  .page-intro__nav-link {
    font-size: 15px;
    padding: 8px 14px;
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  .page-intro__nav-link {
    font-size: 13px;
    padding: 6px 10px;
  }
}

/* ==========================================================================
   INDUSTRIES WE SERVE
   ========================================================================== */
.industries {
  text-align: center;
}

/* Page variant — no top padding since page-intro already has spacing */
.industries--page .industries__container {
  padding-top: 20px;
}

.industries__title {
  margin-bottom: 20px;
}

.industries__grid {
  display: flex;
  gap: 60px;
  justify-content: center;
}

/* Card — each card is a clickable <a> */
.industries__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 550px;
  text-decoration: none;
  color: var(--color-black);
}

.industries__card:hover .industries__card-image img {
  transform: scale(1.05);
}

.industries__card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.industries__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.industries__card-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  text-transform: uppercase;
  color: var(--color-black);
}

.industries__card-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
  max-width: 520px;
}

/* --------------------------------------------------------------------------
   Industries responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1400px) {
  .industries__grid {
    gap: 40px;
  }

  .industries__card {
    width: auto;
    flex: 1;
  }
}

@media (max-width: 992px) {
  .industries__grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .industries__card {
    max-width: 550px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .industries__card-image {
    height: 220px;
  }

  .industries__card-name {
    font-size: 20px;
    line-height: 28px;
  }

  .industries__card-text {
    font-size: 15px;
  }
}

/* ==========================================================================
   BREADCRUMB — Reusable breadcrumb bar for inner pages
   ========================================================================== */
.breadcrumb {
  background-color: var(--color-white);
  padding: 10px var(--section-padding-x);
  max-width: var(--container-max);
  margin: 0 auto;
}

.breadcrumb__text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #696767;
  margin: 0;
}

.breadcrumb__link {
  color: #696767;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb__link:hover {
  color: var(--color-corporate-primary);
  text-decoration: underline;
}

.breadcrumb__separator {
  margin: 0 4px;
}

/* ==========================================================================
   FILTER SIDEBAR — Vehicle filter panel for Products-by-car page
   ========================================================================== */
.filter-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.filter-layout__sidebar {
  width: 320px;
  flex-shrink: 0;
  border: 1px solid var(--color-corporate-primary);
  padding: 30px 25px;
}

.filter-layout__content {
  flex: 1;
  min-width: 0;
}

.filter-layout__title {
  margin: 0 0 20px;
}

/* ---------- Filter panel header ---------- */
.filter-sidebar__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  text-transform: uppercase;
  color: var(--color-black);
  margin: 0 0 19px;
}

/* ---------- Filter group (collapsible) ---------- */
.filter-group {
  margin-bottom: 5px;
}

.filter-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #EEEEEE;
  border-left: 3px solid var(--color-corporate-primary);
  padding: 10px 10px 10px 20px;
  cursor: pointer;
  user-select: none;
}

.filter-group__label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  text-transform: uppercase;
  color: var(--color-black);
  margin: 0;
}

.filter-group__toggle {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  color: var(--color-black);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.filter-group__options {
  padding: 5px 0 10px 20px;
}

.filter-group__options.is-collapsed {
  display: none;
}

/* ---------- Checkbox items ---------- */
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  cursor: pointer;
}

.filter-option__checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color-gray-4);
  border-radius: 2px;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  background-color: var(--color-white);
}

.filter-option__checkbox:checked {
  background-color: var(--color-corporate-primary);
  border-color: var(--color-corporate-primary);
}

.filter-option__checkbox:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-option__label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: var(--color-black);
  cursor: pointer;
}

/* ---------- Filter action buttons ---------- */
.filter-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.filter-actions .btn--filter {
  background-color: var(--color-lighter-primary);
  color: var(--color-white);
  border: none;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color var(--transition-fast);
}

.filter-actions .btn--filter:hover {
  background-color: var(--color-corporate-primary);
}

.filter-actions .btn--reset {
  background-color: transparent;
  color: #333;
  border: 1px solid var(--color-black);
  padding: 14px 20px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.filter-actions .btn--reset:hover {
  background-color: #f0f0f0;
}

/* ---------- Mobile filter trigger button (hidden on desktop) ---------- */
.filter-layout__mobile-trigger {
  display: none;
}

/* ---------- Sidebar close button (hidden on desktop) ---------- */
.filter-layout__sidebar-close {
  display: none;
}

/* ---------- Filter drawer overlay (hidden on desktop) ---------- */
.filter-layout__overlay {
  display: none;
}

/* --------------------------------------------------------------------------
   Filter Sidebar responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .filter-layout {
    gap: 30px;
  }

  .filter-layout__sidebar {
    width: 280px;
  }
}

@media (max-width: 992px) {
  /* Layout stays row — sidebar becomes off-canvas drawer */
  .filter-layout {
    display: block;
  }

  /* Mobile trigger button — visible */
  .filter-layout__mobile-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-corporate-primary);
    color: var(--color-white);
    border: none;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color var(--transition-fast);
  }

  .filter-layout__mobile-trigger:hover {
    background-color: var(--color-lighter-primary);
  }

  .filter-layout__mobile-trigger-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  /* Sidebar becomes fixed off-canvas drawer */
  .filter-layout__sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 340px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    z-index: 1100;
    background-color: var(--color-white);
    border: none;
    padding: 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
  }

  .filter-layout__sidebar.is-open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  }

  .filter-layout__sidebar-inner {
    padding: 25px;
  }

  /* Close button — visible inside drawer */
  .filter-layout__sidebar-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: var(--color-corporate-secondary);
    color: var(--color-white);
    border: none;
    padding: 16px 20px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 20px;
    text-transform: uppercase;
    cursor: pointer;
  }

  .filter-layout__sidebar-close-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  /* Overlay — visible when drawer is open */
  .filter-layout__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1099;
    opacity: 0;
    transition: opacity 0.35s ease;
  }

  .filter-layout__overlay.is-visible {
    display: block;
    opacity: 1;
  }

  /* Content area takes full width */
  .filter-layout__content {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .filter-layout__sidebar {
    width: 100vw;
    max-width: 100vw;
  }

  .filter-layout__mobile-trigger {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   VEHICLE SEARCH — Standalone By Vehicle page
   ========================================================================== */
.vehicle-search {
  padding-top: 0;
  padding-bottom: 80px;
}

/* Tighter spacing between page-intro and vehicle search form */
.page-intro + .vehicle-search {
  margin-top: -20px;
}

.vehicle-search__form-wrapper {
  padding: 20px 40px 40px;
}

.vehicle-search__fields {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.vehicle-search__select {
  width: 302px;
  padding: 10px;
  border: 1px solid var(--color-gray-4);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #4F4F4F;
  line-height: 1.3;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23696767' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
}

.vehicle-search__select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.vehicle-search__actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.vehicle-search__submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 25px;
  border: none;
  background-color: var(--color-lighter-primary);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 1.26px;
  text-transform: uppercase;
  color: var(--color-white);
  transition: background-color var(--transition-fast);
}

.vehicle-search__submit:hover {
  background-color: var(--color-corporate-primary);
}

.vehicle-search__submit-arrow {
  width: 23px;
  height: 13px;
}

/* --------------------------------------------------------------------------
   Vehicle Search responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .vehicle-search__fields {
    flex-wrap: wrap;
    justify-content: center;
  }

  .vehicle-search__select {
    width: calc(50% - 13px);
  }
}

@media (max-width: 768px) {
  .vehicle-search {
    padding-bottom: 50px;
  }

  .vehicle-search__form-wrapper {
    padding: 30px 20px;
  }

  .vehicle-search__select {
    width: 100%;
  }

  .vehicle-search__submit {
    width: 100%;
    justify-content: center;
  }

  .vehicle-search__fields {
    gap: 15px;
  }
}

/* ==========================================================================
   PRODUCT THUMBNAILS — Products page grid of category thumbnails
   ========================================================================== */
.product-grid__container {
  padding-top: 20px;
}

.product-grid__items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* ---------- Thumbnail card ---------- */
.product-thumb {
  background-color: var(--color-white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.product-thumb__image {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.product-thumb__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-thumb:hover .product-thumb__image img {
  transform: scale(1.05);
}

.product-thumb__info {
  padding: 8px 0 0;
  text-align: center;
}

.product-thumb__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 23px;
  text-transform: uppercase;
  color: var(--color-corporate-secondary);
  margin: 0;
}

.product-thumb__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-lighter-primary);
  text-decoration: none;
  margin-top: 2px;
  transition: color var(--transition-fast);
}

.product-thumb__link:hover {
  color: var(--color-corporate-primary);
}

.product-thumb__link-arrow {
  width: 9px;
  height: 9px;
}

/* Filter layout grid — fewer columns due to sidebar */
.filter-layout__content .product-grid__items {
  grid-template-columns: repeat(4, 1fr);
}

/* --------------------------------------------------------------------------
   Product Thumbnails responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1400px) {
  .product-grid__items {
    grid-template-columns: repeat(4, 1fr);
  }

  .filter-layout__content .product-grid__items {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1200px) {
  .product-grid__items {
    grid-template-columns: repeat(3, 1fr);
  }

  .filter-layout__content .product-grid__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-thumb__image {
    height: 220px;
  }
}

@media (max-width: 992px) {
  /* Sidebar is now off-canvas drawer, grid gets full width */
  .filter-layout__content .product-grid__items {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-layout__content .product-grid__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-thumb__image {
    height: 200px;
  }

  .product-thumb__title {
    font-size: 15px;
    line-height: 20px;
  }
}

@media (max-width: 480px) {
  .product-grid__items {
    grid-template-columns: 1fr;
  }

  .filter-layout__content .product-grid__items {
    grid-template-columns: 1fr;
  }

  .product-thumb__image {
    height: 240px;
  }
}

/* ==========================================================================
   OUR PRODUCTS
   ========================================================================== */
.products {
  text-align: center;
  background-color: #EEEEEE;
}

.products__title {
  margin-bottom: 10px;
}

.products__description {
  max-width: 900px;
  margin: 0 auto 30px;
  color: var(--color-gray-3);
}

/* ---------- Tabs ---------- */
.products__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
}

.products__tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 20px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-lighter-primary);
  text-decoration: underline;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.products__tab:hover {
  color: var(--color-corporate-primary);
}

.products__tab--active {
  font-weight: 600;
  color: var(--color-black);
  text-decoration: none;
}

.products__tab--search {
  color: var(--color-accent);
  text-decoration: none;
}

.products__tab--search:hover {
  color: #D10000;
}

.products__tab--search.products__tab--active {
  font-weight: 600;
}

.products__tab-divider {
  width: 1px;
  height: 18px;
  background-color: var(--color-gray-4);
  flex-shrink: 0;
}

.products__tab-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- Product Grid ---------- */
.products__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
}

/* ---------- Product Card ---------- */
.products__card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  aspect-ratio: 295 / 261;
}

.products__card-image {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.products__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.products__card:hover .products__card-image img {
  transform: scale(1.05);
}

.products__card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-black);
  opacity: 0.2;
  pointer-events: none;
}

.products__card-label {
  background-color: var(--color-corporate-secondary);
  padding: 8px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  flex-shrink: 0;
}

.products__card-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 22.5px;
  text-transform: uppercase;
  color: var(--color-white);
  text-align: center;
}

/* ---------- CTA Card ---------- */
.products__card--cta {
  background-color: var(--color-lighter-primary);
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.products__card-cta-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 22.5px;
  text-transform: uppercase;
  color: var(--color-white);
  text-align: center;
}

/* ---------- Search by Car Panel ---------- */
.products__search-panel {
  display: none;
  position: relative;
  height: 570px;
  overflow: hidden;
}

.products__search-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.products__search-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px var(--section-padding-x);
}

.products__search-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 36px;
  line-height: 50px;
  text-transform: uppercase;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 7px;
}

.products__search-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-white);
  text-align: center;
  max-width: 1100px;
  margin-bottom: 30px;
}

.products__search-form {
  width: 100%;
  max-width: 1520px;
}

.products__search-fields {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.products__search-select {
  width: 302px;
  padding: 10px;
  border: 1px solid var(--color-gray-4);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #4F4F4F;
  line-height: 1.3;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23696767' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
}

.products__search-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.products__search-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 25px;
  border: none;
  background-color: var(--color-accent);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 1.26px;
  text-transform: uppercase;
  color: var(--color-white);
  transition: background-color var(--transition-fast);
  flex-shrink: 0;
}

.products__search-submit:hover {
  background-color: #D10000;
}

.products__search-submit-arrow {
  width: 23px;
  height: 13px;
}

/* --------------------------------------------------------------------------
   Products responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1400px) {
  .products__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1200px) {
  .products__search-fields {
    flex-wrap: wrap;
    justify-content: center;
  }

  .products__search-select {
    width: calc(50% - 13px);
  }
}

@media (max-width: 992px) {
  .products__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .products__tabs {
    flex-wrap: wrap;
    gap: 5px;
  }

  .products__tab-divider {
    display: none;
  }

  .products__search-panel {
    height: auto;
    min-height: 450px;
  }
}

@media (max-width: 768px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products__tab {
    font-size: 14px;
    padding: 8px 12px;
    letter-spacing: 1px;
  }

  .products__search-title {
    font-size: 28px;
    line-height: 38px;
  }

  .products__search-select {
    width: 100%;
  }

  .products__search-submit {
    width: 100%;
    justify-content: center;
  }

  .products__search-fields {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .products__card-name {
    font-size: 14px;
    line-height: 18px;
  }

  .products__card-label {
    min-height: 60px;
    padding: 6px 10px;
  }
}

/* ==========================================================================
   NEWS & UPDATES
   ========================================================================== */
.news__title {
  margin-bottom: 10px;
  text-align: center;
}

.news__description {
  margin-bottom: 20px;
  text-align: center;
}

/* ---------- Article Grid ---------- */
.news__grid {
  display: flex;
  gap: 60px;
}

/* ---------- Article Card ---------- */
.news__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 550px;
  flex: 1;
  text-decoration: none;
  color: var(--color-black);
}

.news__card:hover .news__card-image img {
  transform: scale(1.05);
}

.news__card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.news__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news__card-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  background-color: var(--color-gray-5);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--color-black);
}

.news__card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  text-transform: uppercase;
  color: var(--color-black);
}

.news__card-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
}

.news__card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: #3C3C3C;
}

.news__card-link-arrow {
  width: 9px;
  height: 9px;
  transform: rotate(90deg);
}

.news__actions {
  margin-top: 40px;
  text-align: center;
}

/* ---------- News responsive ---------- */
@media (max-width: 1200px) {
  .news__grid {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .news__grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .news__card {
    max-width: 550px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .news__card-image {
    height: 220px;
  }

  .news__card-title {
    font-size: 20px;
    line-height: 28px;
  }
}

/* ==========================================================================
   NEWSLETTER + FIND A DEALER (CTA BAR)
   ========================================================================== */
.cta-bar {
  overflow: hidden;
  background-color: var(--color-corporate-primary);
}

.cta-bar__inner {
  display: flex;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ---------- Newsletter (left half) ---------- */
.cta-bar__newsletter {
  flex: 1;
  background-color: var(--color-corporate-primary);
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 258px;
  position: relative;
}

.cta-bar__newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 100vw;
  background-color: var(--color-corporate-primary);
}

.cta-bar__newsletter-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 36px;
  line-height: normal;
  color: var(--color-white);
  margin-bottom: 25px;
}

.cta-bar__newsletter-form {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 520px;
}

.cta-bar__input {
  padding: 10px;
  border: 1px solid var(--color-gray-4);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #4F4F4F;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

.cta-bar__input::placeholder {
  color: #4F4F4F;
}

/* ---------- CTA Buttons ---------- */
.cta-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 25px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 1.26px;
  text-transform: uppercase;
  color: var(--color-white);
  white-space: nowrap;
  transition: background-color var(--transition-fast);
}

.cta-bar__btn--subscribe {
  background-color: var(--color-corporate-secondary);
}

.cta-bar__btn--subscribe:hover {
  background-color: var(--color-dark-blue);
}

.cta-bar__btn--find,
.cta-bar__btn--locate {
  background-color: var(--color-corporate-primary);
}

.cta-bar__btn--find:hover,
.cta-bar__btn--locate:hover {
  background-color: var(--color-corporate-secondary);
}

.cta-bar__btn-arrow {
  width: 23px;
  height: 13px;
}

.cta-bar__btn-icon {
  width: 20px;
  height: 20px;
}

/* ---------- Find a Dealer (right half) ---------- */
.cta-bar__dealer {
  flex: 1;
  position: relative;
  background-color: #EEEEEE;
  min-height: 259px;
  overflow: hidden;
}

.cta-bar__dealer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.cta-bar__dealer-map {
  position: absolute;
  width: 250%;
  height: 250%;
  top: -80%;
  right: -30%;
  object-fit: contain;
}

.cta-bar__dealer-content {
  position: relative;
  z-index: 1;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.cta-bar__dealer-title {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 32px;
  line-height: normal;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 25px;
}

.cta-bar__dealer-pin {
  width: 30px;
  height: auto;
}

.cta-bar__dealer-form {
  display: flex;
  align-items: center;
  gap: 0;
}

.cta-bar__dealer-or {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 24px;
  color: var(--color-white);
  padding: 0 15px;
}

/* ---------- CTA Bar responsive ---------- */
@media (max-width: 1200px) {
  .cta-bar__newsletter,
  .cta-bar__dealer-content {
    padding: 40px 50px;
  }
}

@media (max-width: 992px) {
  .cta-bar__inner {
    flex-direction: column;
  }

  .cta-bar__newsletter-form,
  .cta-bar__dealer-form {
    flex-wrap: wrap;
    gap: 10px;
  }

  .cta-bar__input {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .cta-bar__newsletter,
  .cta-bar__dealer-content {
    padding: 30px 20px;
  }

  .cta-bar__newsletter-title {
    font-size: 28px;
  }

  .cta-bar__dealer-title {
    font-size: 24px;
  }

  .cta-bar__btn {
    font-size: 14px;
    padding: 10px 18px;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--color-corporate-secondary);
}

.footer__main {
  display: flex;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px var(--section-padding-x) 50px;
}

/* ---------- Brand (logo + socials) ---------- */
.footer__brand {
  flex-shrink: 0;
  width: 34.3%;
}

.footer__logo {
  display: block;
  width: 216px;
  height: 119px;
  overflow: hidden;
  margin-bottom: 20px;
}

.footer__logo-img {
  width: 302%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.footer__socials {
  display: flex;
  gap: 8px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  transition: opacity 0.2s;
}

.footer__social-link:hover {
  opacity: 0.7;
}

.footer__social-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* ---------- Information ---------- */
.footer__info {
  flex-shrink: 0;
  width: 19.1%;
}

.footer__section-title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.footer__info-columns {
  display: flex;
  gap: 56px;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  line-height: 1.5;
}

.footer__links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--color-gray-4);
}

/* ---------- Contact Us ---------- */
.footer__contact {
  flex: 1;
}

.footer__contact-row {
  display: flex;
  gap: 50px;
}

.footer__contact-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}

.footer__contact-icon {
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-icon--marker {
  width: 35px;
  height: 35px;
}

.footer__contact-details {
  display: flex;
  flex-direction: column;
}

.footer__contact-label {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  color: #fff;
  margin: 0;
}

.footer__contact-label--gap {
  margin-top: 10px;
}

.footer__contact-value {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  margin: 0;
}

/* ---------- Bottom bar ---------- */
.footer__bottom {
  background-color: #061D31;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 25px var(--section-padding-x);
}

.footer__copyright,
.footer__credit {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  color: #696767;
  margin: 0;
}

/* ---------- Footer responsive ---------- */

/* Below design width: let brand + info share top row,
   contact wraps to full-width second row */
@media (max-width: 1750px) {
  .footer__main {
    flex-wrap: wrap;
  }

  .footer__brand {
    width: auto;
    margin-right: 60px;
  }

  .footer__info {
    width: auto;
    flex: 1;
  }

  .footer__contact {
    flex-basis: 100%;
    margin-top: 10px;
  }
}

/* Tablet landscape: tighten contact row gaps */
@media (max-width: 1200px) {
  .footer__contact-row {
    gap: 30px;
  }

  .footer__main {
    gap: 30px;
  }
}

/* Tablet portrait: stack everything */
@media (max-width: 992px) {
  .footer__main {
    flex-direction: column;
    gap: 35px;
  }

  .footer__brand {
    margin-right: 0;
  }

  .footer__contact-row {
    flex-wrap: wrap;
  }
}

/* Small tablet */
@media (max-width: 768px) {
  .footer__contact-row {
    flex-direction: column;
    gap: 25px;
  }

  .footer__info-columns {
    gap: 40px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .footer__main {
    padding: 30px var(--section-padding-x) 40px;
  }
}

/* ==========================================================================
   AUTH MODALS (Login / Register / Forgot Password)
   ========================================================================== */

.auth-modal {
  background: #FDFDFD;
  padding: 50px 60px;
  width: 988px;
  max-width: 100%;
  border-radius: 0;
}

/* FancyBox overrides for auth modals */
.fancybox__content:has(.auth-modal) {
  padding: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.auth-modal__form {
  display: flex;
  flex-direction: column;
}

.auth-modal__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 42px;
  line-height: 1.2;
  color: var(--color-corporate-primary);
  margin: 0 0 30px;
}

.auth-modal__description {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-gray-3);
  margin: 0 0 24px;
}

/* --- Fields layout --- */
.auth-modal__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

/* Two-column grid for Register */
.auth-modal__fields--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Row for city / postal / province */
.auth-modal__row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.auth-modal__fields--grid > .auth-modal__input:nth-child(7),
.auth-modal__fields--grid > .auth-modal__input:nth-child(8) {
  /* User Name + Password — each in own column (default) */
}

/* --- Input --- */
.auth-modal__input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-corporate-secondary);
  background: var(--color-white);
  border: 1px solid var(--color-gray-4);
  border-radius: 6px;
  outline: none;
  transition: border-color var(--transition-fast);
  box-sizing: border-box;
}

.auth-modal__input::placeholder {
  color: #4F4F4F;
  opacity: 1;
}

.auth-modal__input:focus {
  border-color: var(--color-corporate-primary);
}

/* --- Error state (generic + auth-modal) --- */
input.error,
select.error,
textarea.error {
  border-color: var(--color-accent) !important;
  background-color: #FFF5F5 !important;
}

input.error::placeholder,
textarea.error::placeholder {
  color: var(--color-accent);
}

.auth-modal__error-msg {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-accent);
  margin: -8px 0 0;
  display: none;
}

.auth-modal__error-msg.is-visible {
  display: block;
}

.notyf__toast {
  border-radius: 0;
  max-width: 420px;
  font-family: var(--font-body);
}

.notyf__message {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.2px;
}

/* --- Helper / links --- */
.auth-modal__helper {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-gray-3);
  margin: 0;
}

.auth-modal__helper--right {
  text-align: right;
}

.auth-modal__helper--center {
  text-align: center;
  margin-top: 16px;
}

.auth-modal__link {
  color: var(--color-lighter-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.auth-modal__link:hover {
  color: var(--color-corporate-primary);
  text-decoration: underline;
}

/* --- Actions (submit button) --- */
.auth-modal__actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.auth-modal__actions .btn {
  min-width: 200px;
}

/* --- Wide modifier for Register --- */
.auth-modal--wide {
  width: 988px;
}

/* --------------------------------------------------------------------------
   Auth Modals — Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .auth-modal {
    padding: 36px 28px;
  }

  .auth-modal__title {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .auth-modal__fields--grid {
    grid-template-columns: 1fr;
  }

  .auth-modal__row {
    grid-column: 1;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .auth-modal {
    padding: 28px 20px;
  }

  .auth-modal__title {
    font-size: 28px;
  }

  .auth-modal__actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   PRODUCT PAGE — Product Header (name + action buttons row)
   ========================================================================== */
.product-header {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px var(--section-padding-x) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.product-header__name {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 42px;
  line-height: 50px;
  letter-spacing: -1.68px;
  color: var(--color-corporate-secondary);
  margin: 0;
}

.product-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.product-header__action-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #EEEEEE;
  border: none;
  padding: 5px 15px;
  height: 49px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.12px;
  color: var(--color-black);
  transition: background-color var(--transition-fast);
}

.product-header__action-btn:hover {
  background-color: #E0E0E0;
}

.product-header__action-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.product-header__action-icon--pdf {
  width: 27px;
  height: 39px;
}

.product-header__cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-lighter-primary);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.26px;
  color: var(--color-white);
  transition: background-color var(--transition-fast);
}

.product-header__cart-btn:hover {
  background-color: var(--color-corporate-primary);
}

.product-header__cart-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 1200px) {
  .product-header {
    flex-wrap: wrap;
  }

  .product-header__name {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 768px) {
  .product-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .product-header__name {
    font-size: 30px;
    line-height: 38px;
  }

  .product-header__actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .product-header__action-btn {
    font-size: 14px;
    padding: 5px 12px;
    height: 44px;
  }

  .product-header__cart-btn {
    font-size: 16px;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .product-header__name {
    font-size: 26px;
    line-height: 34px;
  }

  .product-header__actions {
    width: 100%;
  }

  .product-header__cart-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   PRODUCT PAGE — Divider line below header
   ========================================================================== */
.product-divider {
  max-width: var(--container-max);
  margin: 20px auto 0;
  padding: 0 var(--section-padding-x);
}

.product-divider__line {
  border: none;
  border-top: 1px solid var(--color-gray-4);
  margin: 0;
}

/* ==========================================================================
   PRODUCT PAGE — Detail Section (Description + Gallery side by side)
   ========================================================================== */
.product-detail {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 30px var(--section-padding-x) 60px;
  display: grid;
  grid-template-columns: calc(50% - 30px) calc(50% - 30px);
  gap: 60px;
}

.product-detail__left {
  padding-left: 60px;
  min-width: 0;
}

.product-detail__right {
  min-width: 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .product-detail {
    grid-template-columns: calc(45% - 20px) calc(55% - 20px);
    gap: 40px;
  }

  .product-detail__left {
    padding-left: 20px;
  }
}

@media (max-width: 992px) {
  .product-detail {
    grid-template-columns: 100%;
    gap: 40px;
  }

  .product-detail__left {
    padding-left: 0;
    order: 1;
  }

  .product-detail__right {
    order: -1;
  }
}

/* ==========================================================================
   PRODUCT PAGE — Description Block (with read more / read less)
   ========================================================================== */
.product-desc__label {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-black);
  margin: 0 0 26px;
}

.product-desc__content {
  position: relative;
  max-height: 170px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.product-desc__content.is-expanded {
  max-height: 2000px;
}

/* Gradient fade overlay when collapsed */
.product-desc__content:not(.is-expanded)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
}

/* Support for rich content from CMS */
.product-desc__content p {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

.product-desc__content ul,
.product-desc__content ol {
  list-style: disc;
  padding-left: 24px;
  margin: 0 0 12px;
}

.product-desc__content ol {
  list-style: decimal;
}

.product-desc__content li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 0;
}

.product-desc__content h3,
.product-desc__content h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  margin: 16px 0 8px;
}

.product-desc__content img {
  max-width: 100%;
  height: auto;
  margin: 12px 0;
}

.product-desc__toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  margin-top: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24px;
  color: var(--color-lighter-primary);
  transition: color var(--transition-fast);
}

.product-desc__toggle:hover {
  color: var(--color-corporate-primary);
}

.product-desc__toggle-arrow {
  width: 9px;
  height: 9px;
  transition: transform 0.3s ease;
}

.product-desc__toggle.is-expanded .product-desc__toggle-arrow {
  transform: rotate(180deg);
}

/* ==========================================================================
   PRODUCT PAGE — Gallery Block (Images / Video / Audio tabs + Swiper)
   ========================================================================== */
.product-gallery__label {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-black);
  margin: 0 0 11px;
}

/* Shared tab style (reused in gallery + info tabs) */
.product-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border: 1px solid var(--color-gray-4);
  background-color: var(--color-white);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--color-black);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.product-tab:hover {
  background-color: var(--color-bg-light);
}

.product-tab--active {
  background-color: var(--color-corporate-secondary);
  border-color: var(--color-corporate-secondary);
  color: var(--color-white);
  font-weight: 400;
  cursor: default;
}

.product-tab--active:hover {
  background-color: var(--color-corporate-secondary);
}

.product-gallery__tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 11px;
}

.product-gallery__viewer {
  display: grid;
  grid-template-columns: calc(100% - 125px) 115px;
  gap: 10px;
  align-items: stretch;
}

/* Tab panels */
.product-gallery__panel {
  display: none;
}

.product-gallery__panel.is-active {
  display: block;
}

/* Main image Swiper */
.product-gallery__main {
  min-width: 0;
  position: relative;
  border: 1px solid var(--color-gray-4);
  aspect-ratio: 626 / 474;
  overflow: hidden;
}

.product-gallery__main .swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-gallery__main .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Prev/Next arrows on main image */
.product-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 28px;
  height: 44px;
  background: rgba(0,0,0,0.5);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.product-gallery__nav:hover {
  background: rgba(0,0,0,0.7);
}

.product-gallery__nav--prev {
  left: 12px;
}

.product-gallery__nav--next {
  right: 12px;
}

.product-gallery__nav svg {
  width: 12px;
  height: 20px;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2;
}

/* Vertical thumbnails Swiper */
.product-gallery__thumbs-wrap {
  position: relative;
  overflow: hidden;
  /* Height is driven by grid row (matches main image via align-items: stretch) */
}

.product-gallery__thumbs-swiper,
.product-gallery__video-thumbs-swiper {
  position: absolute;
  inset: 0;
  height: 100%;
}

.product-gallery__thumbs-swiper .swiper-slide,
.product-gallery__video-thumbs-swiper .swiper-slide {
  width: 115px !important;
  height: 115px !important;
  border: 1px solid var(--color-gray-4);
  cursor: pointer;
  overflow: hidden;
  opacity: 0.7;
  transition: opacity var(--transition-fast), border-color var(--transition-fast);
}

.product-gallery__thumbs-swiper .swiper-slide-thumb-active,
.product-gallery__video-thumbs-swiper .swiper-slide-thumb-active {
  border: 2px solid var(--color-corporate-primary);
  opacity: 1;
}

.product-gallery__thumbs-swiper .swiper-slide img,
.product-gallery__video-thumbs-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Thumb scroll buttons (visible on hover) */
.product-gallery__thumb-nav {
  position: absolute;
  left: 0;
  right: 0;
  height: 28px;
  z-index: 10;
  background: rgba(0,0,0,0.4);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.product-gallery__thumbs-wrap:hover .product-gallery__thumb-nav {
  opacity: 1;
}

.product-gallery__thumb-nav--up {
  top: 0;
}

.product-gallery__thumb-nav--down {
  bottom: 0;
}

.product-gallery__thumb-nav svg {
  width: 14px;
  height: 8px;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2;
}

/* Video tab — play button overlay */
.product-gallery__video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  cursor: pointer;
  z-index: 5;
}

.product-gallery__play-btn {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.product-gallery__video-overlay:hover .product-gallery__play-btn {
  transform: scale(1.1);
}

.product-gallery__play-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--color-corporate-secondary);
  margin-left: 3px;
}

/* Audio tab — waveform player with track thumbnails (matches Figma) */
.product-gallery__audio-main {
  position: relative;
  border: 1px solid var(--color-gray-4);
  background-color: #EAEAEA;
  aspect-ratio: 626 / 474;
  overflow: hidden;
  min-width: 0;
}

.product-gallery__audio-track-name {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.5;
  z-index: 2;
  margin: 0;
}

.product-gallery__audio-waveform {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  bottom: 12%;
  width: 100%;
}

.product-gallery__audio-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 3;
}

.product-gallery__audio-play-circle {
  width: 161px;
  height: 161px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.product-gallery__audio-play:hover .product-gallery__audio-play-circle {
  background: rgba(255, 255, 255, 0.5);
}

.product-gallery__audio-play-circle svg {
  width: 50px;
  height: 50px;
  margin-left: 6px;
}

.product-gallery__audio-listen {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.product-gallery__audio-listen-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-black);
}

.product-gallery__audio-listen-icon {
  width: 21px;
  height: 18px;
}

/* Audio track thumbnails */
.product-gallery__audio-thumbs {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.product-gallery__audio-thumb {
  width: 115px;
  height: 115px;
  background: var(--color-gray-4);
  border: 1px solid var(--color-gray-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  transition: border-color var(--transition-fast), opacity var(--transition-fast);
  opacity: 0.7;
}

.product-gallery__audio-thumb:hover {
  opacity: 0.9;
}

.product-gallery__audio-thumb--active {
  border: 2px solid var(--color-corporate-primary);
  opacity: 1;
}

.product-gallery__audio-thumb-icon {
  width: 60px;
  height: 60px;
}

.product-gallery__audio-thumb-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-black);
  letter-spacing: 0.2px;
}

@media (max-width: 1200px) {
  .product-gallery__audio-thumb {
    width: 100px;
    height: 100px;
  }

  .product-gallery__audio-thumb-icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .product-gallery__audio-thumbs {
    flex-direction: row;
    gap: 10px;
  }

  .product-gallery__audio-thumb {
    width: 80px;
    height: 80px;
  }

  .product-gallery__audio-thumb-icon {
    width: 40px;
    height: 40px;
  }

  .product-gallery__audio-thumb-label {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .product-gallery__audio-main {
    aspect-ratio: 4 / 3;
  }

  .product-gallery__audio-play-circle {
    width: 100px;
    height: 100px;
  }

  .product-gallery__audio-play-circle svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
  }

  .product-gallery__audio-thumb {
    width: 70px;
    height: 70px;
  }

  .product-gallery__audio-thumb-icon {
    width: 32px;
    height: 32px;
  }

  .product-gallery__audio-thumb-label {
    font-size: 10px;
  }
}

/* Gallery responsive */
@media (max-width: 1200px) {
  .product-gallery__viewer {
    grid-template-columns: calc(100% - 110px) 100px;
  }

  .product-gallery__thumbs-swiper .swiper-slide,
  .product-gallery__video-thumbs-swiper .swiper-slide {
    width: 100px !important;
    height: 100px !important;
  }
}

@media (max-width: 768px) {
  .product-gallery__viewer {
    grid-template-columns: 100%;
  }

  .product-gallery__thumbs-wrap {
    aspect-ratio: auto;
    height: auto;
  }

  .product-gallery__thumbs-swiper,
  .product-gallery__video-thumbs-swiper {
    position: relative;
    height: auto;
  }

  .product-gallery__thumbs-swiper .swiper-wrapper,
  .product-gallery__video-thumbs-swiper .swiper-wrapper {
    flex-direction: row !important;
  }

  .product-gallery__thumbs-swiper .swiper-slide,
  .product-gallery__video-thumbs-swiper .swiper-slide {
    width: 80px !important;
    height: 80px !important;
  }

  .product-gallery__thumb-nav {
    display: none;
  }

  .product-gallery__tabs {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .product-gallery__main {
    aspect-ratio: 4 / 3;
  }

  .product-gallery__thumbs-swiper .swiper-slide,
  .product-gallery__video-thumbs-swiper .swiper-slide {
    width: 70px !important;
    height: 70px !important;
  }
}

/* ==========================================================================
   PRODUCT PAGE — Info Tabs (Features / Tech Specs / Documents / Fits)
   ========================================================================== */
.product-info {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-padding-x) 60px;
}

.product-info__tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.product-info__divider {
  border: none;
  border-top: 4px solid var(--color-corporate-secondary);
  margin: -20px 0 30px;
}

.product-info__panel {
  display: none;
}

.product-info__panel.is-active {
  display: block;
}

/* Features panel */
.product-info__panel-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-black);
  margin: 0 0 30px;
}

.product-info__features {
  list-style: disc;
  padding-left: 24px;
}

.product-info__features li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Tech Specs panel — striped table */
.product-info__specs-table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
}

.product-info__specs-table tr:nth-child(even) {
  background-color: var(--color-bg-light);
}

.product-info__specs-table td {
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  vertical-align: top;
}

.product-info__specs-table td:first-child {
  font-weight: 600;
  width: 40%;
  color: var(--color-corporate-secondary);
}

/* Documents panel — sub-filter tabs + PDF items */
.product-info__doc-filters {
  display: flex;
  gap: 5px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.product-info__doc-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-lighter-primary);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.product-info__doc-filter:hover {
  color: var(--color-corporate-primary);
}

.product-info__doc-filter--active {
  text-decoration: underline;
}

.product-info__doc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.product-info__doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--color-gray-5);
  text-decoration: none;
  color: var(--color-black);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.product-info__doc-item:hover {
  border-color: var(--color-lighter-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-info__doc-icon {
  width: 40px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.product-info__doc-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-corporate-secondary);
}

.product-info__doc-size {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-gray-3);
  margin-top: 2px;
}

/* Fits on Vehicle panel */
.product-info__vehicle-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px;
}

.product-info__vehicle-item {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-gray-5);
}

/* Info tabs responsive */
@media (max-width: 768px) {
  .product-info__tabs {
    flex-wrap: wrap;
  }

  .product-info__doc-list {
    grid-template-columns: 1fr;
  }

  .product-info__vehicle-list {
    grid-template-columns: 1fr;
  }

  .product-info__specs-table td:first-child {
    width: 50%;
  }
}

@media (max-width: 480px) {
  .product-tab {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* ==========================================================================
   PRODUCT PAGE — Related Products Section
   ========================================================================== */
.related-products {
  background-color: rgba(190, 189, 195, 0.2);
  padding: 44px 0 80px;
}

.related-products__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.related-products__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 42px;
  line-height: 50px;
  letter-spacing: -1.68px;
  color: var(--color-corporate-secondary);
  margin: 0 0 36px;
}

.related-products__carousel {
  overflow: hidden;
  position: relative;
}

.related-products__carousel .swiper-slide {
  width: 330px;
  height: auto;
}

/* Reuse .product-thumb styles for cards inside carousel */
.related-products .product-thumb {
  height: 375px;
}

.related-products .product-thumb__image {
  height: 260px;
}

/* Carousel navigation arrows */
.related-products__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: var(--color-corporate-secondary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  opacity: 0.8;
}

.related-products__nav:hover {
  opacity: 1;
  background: var(--color-corporate-primary);
}

.related-products__nav--prev {
  left: 10px;
}

.related-products__nav--next {
  right: 10px;
}

.related-products__nav svg {
  width: 12px;
  height: 20px;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2;
}

.related-products__nav.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}

/* Related products responsive */
@media (max-width: 1200px) {
  .related-products__title {
    font-size: 36px;
    line-height: 44px;
  }

  .related-products__carousel .swiper-slide {
    width: 280px;
  }

  .related-products .product-thumb {
    height: 340px;
  }

  .related-products .product-thumb__image {
    height: 230px;
  }
}

@media (max-width: 768px) {
  .related-products {
    padding: 30px 0 50px;
  }

  .related-products__title {
    font-size: 30px;
    line-height: 38px;
    margin-bottom: 24px;
  }

  .related-products__carousel .swiper-slide {
    width: 260px;
  }

  .related-products .product-thumb {
    height: 320px;
  }

  .related-products .product-thumb__image {
    height: 210px;
  }
}

@media (max-width: 480px) {
  .related-products__title {
    font-size: 26px;
    line-height: 34px;
  }

  .related-products__carousel .swiper-slide {
    width: 240px;
  }

  .related-products .product-thumb {
    height: 300px;
  }

  .related-products .product-thumb__image {
    height: 190px;
  }
}

/* ==========================================================================
   NEWS PAGE
   ========================================================================== */
.news-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 20px;
}

.news-page__grid .news__card {
  width: auto;
}

/* ---------- News page responsive ---------- */
@media (max-width: 768px) {
  .news-page__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 16px;
  }
}

@media (max-width: 480px) {
  .news-page__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   LITERATURE PAGE — Catalog grid (PDF download cards)
   ========================================================================== */
.literature__container {
  padding-top: 20px;
}

.literature__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 280px));
  gap: 40px 45px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Card link — wraps the entire card (image + title + action) */
.literature__card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.literature__card-image {
  width: 100%;
  aspect-ratio: 280 / 362;
  overflow: hidden;
}

.literature__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.literature__card-link:hover .literature__card-img {
  transform: scale(1.03);
}

.literature__card-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-corporate-secondary);
  margin: 0;
  padding: 8px 0;
}

.literature__card-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-lighter-primary);
  transition: color var(--transition-fast);
}

.literature__card-link:hover .literature__card-action {
  color: var(--color-corporate-primary);
}

.literature__card-action-arrow {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
}

/* ---------- Literature responsive ---------- */
@media (max-width: 1200px) {
  .literature__grid {
    grid-template-columns: repeat(3, minmax(0, 280px));
    gap: 40px 30px;
  }
}

@media (max-width: 768px) {
  .literature__grid {
    grid-template-columns: repeat(2, minmax(0, 280px));
    gap: 32px 24px;
  }

  .literature__card-title {
    font-size: 17px;
    line-height: 22px;
  }
}

@media (max-width: 480px) {
  .literature__grid {
    grid-template-columns: minmax(0, 280px);
    gap: 28px;
  }
}

/* ==========================================================================
   ARTICLE PAGE — Header (back link, title, intro)
   ========================================================================== */
.article .article__container {
  padding-bottom: 0;
}

.article__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-black);
  text-decoration: none;
  margin-bottom: 16px;
}

.article__back:hover {
  color: var(--color-lighter-primary);
}

.article__back-icon {
  width: 7px;
  height: 12px;
  flex-shrink: 0;
}

.article__title {
  margin: 0 0 24px;
}

/* ==========================================================================
   ARTICLE SECTION — Reusable content section with image + rich text
   Place modifier on .article-section__container:
     .article-section--img-left    — image floats left, text wraps right
     .article-section--img-right   — image floats right, text wraps left
     .article-section--img-center  — image centred above text (no float)
   ========================================================================== */
.article-section__container {
  padding-top: 0;
}

/* Clearfix for floated images */
.article-section__container::after {
  content: "";
  display: table;
  clear: both;
}

/* --- Image ---
   Capped at 50% of the article width when floated left/right.
   Absolute cap of 700px prevents it from becoming huge on wide screens. */
.article-section__image {
  max-width: min(50%, 700px);
  width: 100%;
}

.article-section__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* --- Rich-text body --- */
.article-section__body p,
.article-section__body li,
.article-section__body blockquote {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-black);
}

.article-section__body p {
  margin: 0 0 20px;
}

.article-section__body h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  text-transform: uppercase;
  color: var(--color-black);
  margin: 0 0 16px;
}

.article-section__body h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  color: var(--color-black);
  margin: 0 0 12px;
}

/* Unordered lists */
.article-section__body ul {
  list-style: disc;
  padding-left: 24px;
  margin: 0 0 20px;
}

/* Ordered lists */
.article-section__body ol {
  list-style: decimal;
  padding-left: 24px;
  margin: 0 0 20px;
}

.article-section__body li {
  margin-bottom: 8px;
}

.article-section__body li:last-child {
  margin-bottom: 0;
}

/* Blockquote */
.article-section__body blockquote {
  border-left: 4px solid var(--color-corporate-primary);
  padding: 16px 24px;
  margin: 0 0 20px;
  background-color: #f5f7fa;
  font-style: italic;
}

/* Bold / emphasis */
.article-section__body strong {
  font-weight: 600;
}

.article-section__body em {
  font-style: italic;
}

/* Links inside body */
.article-section__body a {
  color: var(--color-lighter-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-section__body a:hover {
  color: var(--color-corporate-primary);
}

/* Last child in body — no bottom margin */
.article-section__body > *:last-child {
  margin-bottom: 0;
}

/* --- Modifier: image LEFT --- */
.article-section--img-left .article-section__image {
  float: left;
  margin: 0 30px 16px 0;
}

/* --- Modifier: image RIGHT --- */
.article-section--img-right .article-section__image {
  float: right;
  margin: 0 0 16px 30px;
}

/* --- Modifier: image CENTER --- */
.article-section--img-center .article-section__image {
  float: none;
  max-width: 700px;
  margin: 0 auto 24px;
}

/* ---------- Article responsive ---------- */
@media (max-width: 1200px) {
  .article-section__body h2 {
    font-size: 22px;
    line-height: 30px;
  }
}

@media (max-width: 768px) {
  .article-section--img-left .article-section__image {
    margin-right: 20px;
  }

  .article-section--img-right .article-section__image {
    margin-left: 20px;
  }

  .article-section__body h2 {
    font-size: 20px;
    line-height: 28px;
  }

  .article-section__body h3 {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 480px) {
  .article__title {
    font-size: 22px;
    line-height: 30px;
  }

  /* On mobile, all images stack full-width above text — no float */
  .article-section--img-left .article-section__image,
  .article-section--img-right .article-section__image {
    float: none;
    max-width: 100%;
    margin: 0 0 20px 0;
  }

  .article-section--img-center .article-section__image {
    max-width: 100%;
  }

  .article-section__body ul,
  .article-section__body ol {
    padding-left: 20px;
  }

  .article-section__body blockquote {
    padding: 12px 16px;
  }
}

/* ==========================================================================
   CALLOUT — Accent-bordered block (Vision / Mission / etc.)
   Used inside .article-section__body, but standalone too.
   Variants set the left border colour:
     .callout--vision    — corporate light blue accent
     .callout--mission   — corporate dark navy accent
   ========================================================================== */
.callout {
  border-left: 5px solid var(--color-corporate-primary);
  padding: 4px 0 4px 30px;
  margin: 0 0 28px;
}

.callout:last-child {
  margin-bottom: 0;
}

.callout__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  text-transform: uppercase;
  color: var(--color-black);
  margin: 0 0 10px;
}

.callout__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-black);
  margin: 0;
}

.callout--vision {
  border-left-color: var(--color-lighter-primary);
}

.callout--mission {
  border-left-color: var(--color-corporate-secondary);
}

@media (max-width: 768px) {
  .callout {
    padding-left: 20px;
    margin-bottom: 22px;
  }

  .callout__title {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 480px) {
  .callout {
    padding-left: 16px;
  }

  .callout__title {
    font-size: 18px;
    line-height: 26px;
  }
}

/* ==========================================================================
   CERTIFICATIONS STRIP — Full-width gray bar; content is left-aligned and
   sits at its natural width (does not stretch to fill). Matches Figma frame
   946:8987: text block ~695px + gap ~53px + logos ~552px = ~1300px total.
   ========================================================================== */
.certifications {
  background-color: #EEE;
  padding: 48px var(--section-padding-x);
}

.certifications__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 53px;
}

.certifications__text {
  flex: 0 1 auto;
  min-width: 0;
}

.certifications__title {
  margin: 0 0 12px;
}

.certifications__description {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-black);
  margin: 0;
  max-width: 695px;
}

.certifications__logos {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.certifications__logo {
  display: block;
  max-height: 130px;
  width: auto;
  mix-blend-mode: darken;
}

@media (max-width: 1200px) {
  .certifications__inner {
    gap: 40px;
  }

  .certifications__logos {
    gap: 24px;
  }

  .certifications__logo {
    max-height: 110px;
  }
}

@media (max-width: 768px) {
  .certifications {
    padding: 36px var(--section-padding-x);
  }

  .certifications__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .certifications__logos {
    gap: 24px;
  }

  .certifications__logo {
    max-height: 90px;
  }
}

@media (max-width: 480px) {
  .certifications__logos {
    gap: 16px;
  }

  .certifications__logo {
    max-height: 70px;
  }
}

/* ==========================================================================
   GALLERY — Flexible row-by-row layout for mixed image/text cells
   Each row is a .gallery__row with a layout modifier defining its columns.
   Cells are either images or text blocks. Text blocks come in colour variants.

   Layout modifiers (column proportions, left → right):
     .gallery__row--2-1-1   large + small + small
     .gallery__row--1-1-2   small + small + large
     .gallery__row--1-1     two equal columns
     .gallery__row--1-2-1   small + large + small
     .gallery__row--2-1     large + small
     .gallery__row--1-2     small + large

   Cell text colour variants:
     .gallery__cell--primary    corporate blue bg, white text
     .gallery__cell--secondary  corporate navy bg, white text
     .gallery__cell--lighter    lighter blue bg, white text
     .gallery__cell--light      light gray bg, dark text

   Text overflow: long text scrolls inside the cell (no block stretching).
   ========================================================================== */
.gallery__container {
  padding-top: 0;
}

.gallery__row {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
  /* All cells in a row share the same height (grid stretch) — no per-cell
     aspect ratio, so small cells fill the row height too. Scales with vw. */
  grid-auto-rows: clamp(260px, 24vw, 440px);
}

.gallery__row:last-child {
  margin-bottom: 0;
}

/* Row layout modifiers — column proportions */
.gallery__row--2-1-1 {
  grid-template-columns: 2fr 1fr 1fr;
}

.gallery__row--1-1-2 {
  grid-template-columns: 1fr 1fr 2fr;
}

.gallery__row--1-1 {
  grid-template-columns: 1fr 1fr;
}

.gallery__row--1-2-1 {
  grid-template-columns: 1fr 2fr 1fr;
}

.gallery__row--2-1 {
  grid-template-columns: 2fr 1fr;
}

.gallery__row--1-2 {
  grid-template-columns: 1fr 2fr;
}

/* Generic cell — no aspect ratio; row height is authoritative */
.gallery__cell {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 2px;
}

/* Image cells: img fills cell completely, cropped with object-fit */
.gallery__cell--image img,
.gallery__cell > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text cells: inner fills the full cell height so no sub-pixel false overflow
   triggers a phantom scrollbar. Content is vertically centred via nested flex.
   When real content is taller than the cell, overflow-y: auto scrolls. */
.gallery__cell--text {
  display: flex;
  padding: 40px 50px;
}

.gallery__cell-text-inner {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: inherit;

  /* Nested flex to centre the text vertically when it fits */
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* Slim scrollbar that only shows when scrolling is actually needed */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

.gallery__cell--light .gallery__cell-text-inner {
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

.gallery__cell-text-inner::-webkit-scrollbar {
  width: 4px;
}

.gallery__cell-text-inner::-webkit-scrollbar-track {
  background: transparent;
}

.gallery__cell-text-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.gallery__cell-text-inner::-webkit-scrollbar-button {
  display: none;
}

.gallery__cell--light .gallery__cell-text-inner::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
}

.gallery__cell-text-inner p {
  margin: 0 0 14px;
}

.gallery__cell-text-inner p:last-child {
  margin-bottom: 0;
}

/* Colour variants for text cells */
.gallery__cell--primary {
  background-color: var(--color-corporate-primary);
  color: var(--color-white);
}

.gallery__cell--secondary {
  background-color: var(--color-corporate-secondary);
  color: var(--color-white);
}

.gallery__cell--lighter {
  background-color: var(--color-lighter-primary);
  color: var(--color-white);
}

.gallery__cell--light {
  background-color: #EEE;
  color: var(--color-black);
}

/* ---------- Gallery responsive ---------- */
@media (max-width: 1200px) {
  .gallery__cell--text {
    padding: 28px 32px;
  }

  .gallery__cell-text-inner {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .gallery__row {
    gap: 14px;
    margin-bottom: 14px;
    grid-auto-rows: clamp(200px, 34vw, 320px);
  }

  /* 3-col rows collapse to 2-col on tablets — the wrapped 3rd cell
     spans both columns so it becomes a full-width banner rather than
     an awkward half-width orphan. */
  .gallery__row--2-1-1,
  .gallery__row--1-1-2,
  .gallery__row--1-2-1 {
    grid-template-columns: 1fr 1fr;
  }

  .gallery__row--2-1-1 > :nth-child(3),
  .gallery__row--1-1-2 > :nth-child(3),
  .gallery__row--1-2-1 > :nth-child(3) {
    grid-column: 1 / -1;
  }

  .gallery__cell--text {
    padding: 24px 26px;
  }
}

@media (max-width: 480px) {
  .gallery__row,
  .gallery__row--2-1-1,
  .gallery__row--1-1-2,
  .gallery__row--1-1,
  .gallery__row--1-2-1,
  .gallery__row--2-1,
  .gallery__row--1-2 {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
    grid-auto-rows: auto;
  }

  /* Reset full-width span from tablet — already single column */
  .gallery__row--2-1-1 > :nth-child(3),
  .gallery__row--1-1-2 > :nth-child(3),
  .gallery__row--1-2-1 > :nth-child(3) {
    grid-column: auto;
  }

  /* Each image cell keeps a sensible landscape aspect on mobile */
  .gallery__cell--image {
    aspect-ratio: 16 / 9;
  }

  .gallery__cell--text {
    padding: 22px 22px;
    min-height: 180px;
  }

  .gallery__cell-text-inner {
    font-size: 14px;
  }
}

/* ==========================================================================
   ACCOUNT PAGE — Profile form with label + input rows
   Figma frame: 721:14624 — two-column grid with label/input pairs,
   special City/Province/Postal row. Labels are Hind 16px #222.
   ========================================================================== */
.account-form__container {
  padding-top: 20px;
}

.account-form__form {
  max-width: 1100px;
  margin: 0 auto;
}

/* 2-column grid of label+input field pairs */
.account-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  margin-bottom: 40px;
}

/* Each field: label + input stacked, or label beside input */
.account-form__field {
  display: flex;
  align-items: center;
  gap: 16px;
}

.account-form__label {
  flex-shrink: 0;
  width: 120px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #222;
}

.account-form__input,
.account-form__select {
  flex: 1;
  min-width: 0;
  padding: 15px 20px;
  border: 1px solid var(--color-gray-4);
  border-radius: 0;
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: #4F4F4F;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.account-form__input:focus,
.account-form__select:focus {
  border-color: var(--color-corporate-primary);
}

/* Full-width row — Address spans both columns */
.account-form__field--full {
  grid-column: 1 / -1;
}

/* City / Province / Postal — 3-part sub-row spanning both grid columns */
.account-form__location-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 20px;
  align-items: center;
}

.account-form__field--city {
  flex: 1;
}

.account-form__field--province .account-form__label,
.account-form__field--postal .account-form__label {
  width: auto;
}

.account-form__field--province .account-form__select-wrap,
.account-form__field--province .account-form__select {
  width: 110px;
}

.account-form__field--postal .account-form__input {
  width: 120px;
  flex: none;
}

/* Custom select wrapper */
.account-form__select-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
}

.account-form__select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

.account-form__select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Submit button — centred */
.account-form__actions {
  text-align: center;
}

/* ---------- Account form responsive ---------- */
@media (max-width: 768px) {
  .account-form__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .account-form__field--full {
    grid-column: auto;
  }

  .account-form__location-row {
    flex-wrap: wrap;
  }

  .account-form__field--city {
    flex: 1 1 100%;
  }

  .account-form__label {
    width: 110px;
  }
}

@media (max-width: 480px) {
  .account-form__field {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .account-form__label {
    width: auto;
  }

  .account-form__location-row {
    flex-direction: column;
    align-items: stretch;
  }

  .account-form__field--province .account-form__select-wrap,
  .account-form__field--province .account-form__select {
    width: 100%;
  }

  .account-form__field--postal .account-form__input {
    width: 100%;
    flex: 1;
  }
}

/* ==========================================================================
   TECHNICAL SUPPORT — Form page
   Figma frame: 977:7695 — centered form with 2-column grid,
   max-width 860px, 6px border-radius inputs, #C1C1C1 borders.
   ========================================================================== */
.support-form__container {
  padding-top: 20px;
}

.support-form__form {
  max-width: 860px;
  margin: 0 auto;
}

.support-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* Shared input / select / textarea base styles */
.support-form__input,
.support-form__select,
.support-form__textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--color-gray-4);
  border-radius: 6px;
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: var(--color-black);
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.support-form__input::placeholder,
.support-form__textarea::placeholder {
  color: #4F4F4F;
}

.support-form__input:focus,
.support-form__select:focus,
.support-form__textarea:focus {
  border-color: var(--color-corporate-primary);
}

/* Full-width modifier — spans both grid columns */
.support-form__input--full {
  grid-column: 1 / -1;
}

/* Custom select wrapper — positions the chevron arrow */
.support-form__select-wrap {
  position: relative;
}

.support-form__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 45px;
}

/* Placeholder colour for unselected <select> */
.support-form__select:invalid,
.support-form__select option[value=""][disabled] {
  color: #4F4F4F;
}

.support-form__select option {
  color: var(--color-black);
}

.support-form__select-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Textarea — outside the grid, full width */
.support-form__textarea {
  width: 100%;
  min-height: 155px;
  resize: vertical;
  margin-bottom: 30px;
}

/* Submit button — centred */
.support-form__actions {
  text-align: center;
}

/* ---------- Support form responsive ---------- */
@media (max-width: 768px) {
  .support-form__form {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .support-form__grid {
    grid-template-columns: 1fr;
  }

  .support-form__input--full {
    grid-column: auto;
  }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact {
  width: 100%;
  margin-top: 60px;
  background-color: rgba(238, 238, 238, 0.5);
}

.contact__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  min-height: 700px;
}

/* ---------- Left side: info + map ---------- */
.contact__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* Gray background inherited from .contact (spans full screen width) */
}

.contact__details {
  display: flex;
  gap: 60px;
  padding: 60px 86px 40px;
}

.contact__group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-black);
  margin: 0 0 16px;
}

.contact__group-icon--pin {
  width: 20px;
  height: 28px;
  flex-shrink: 0;
}

.contact__group-icon--phone {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contact__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-black);
  margin: 0 0 4px;
  font-style: italic;
}

.contact__value {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-black);
  margin: 0;
}

/* Address — clickable link wrapping the two value lines */
.contact__address-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact__address-link:hover {
  color: var(--color-lighter-primary);
}

/* Phone table */
.contact__phone-table {
  border-collapse: collapse;
}

.contact__phone-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-black);
  padding: 3px 16px 3px 0;
  white-space: nowrap;
}

.contact__phone-value {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--color-black);
  padding: 3px 0;
}

.contact__phone-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact__phone-link:hover {
  color: var(--color-lighter-primary);
}

/* Map — single linked image */
.contact__map {
  display: block;
  flex: 1;
  min-height: 400px;
  overflow: hidden;
}

.contact__map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.contact__map:hover .contact__map-img {
  opacity: 0.85;
}

/* ---------- Right side: form panel ---------- */
.contact__right {
  width: 52%;
  flex-shrink: 0;
  background-color: var(--color-lighter-primary);
  padding: 65px 105px 65px 105px;
}

.contact__form-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 42px;
  line-height: 50px;
  letter-spacing: -1.68px;
  color: #fff;
  margin: 0 0 18px;
}

.contact__form-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  margin: 0 0 50px;
}

.contact__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.contact__input,
.contact__textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--color-gray-4);
  border-radius: 0;
  background: #fff;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: var(--color-black);
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.contact__input::placeholder,
.contact__textarea::placeholder {
  color: #4F4F4F;
}

.contact__input:focus,
.contact__textarea:focus {
  border-color: var(--color-corporate-primary);
}

.contact__textarea {
  resize: vertical;
  min-height: 110px;
  margin-bottom: 30px;
}

.contact__form .btn--white {
  border-color: #fff;
  color: #fff;
}

/* ---------- Contact responsive ---------- */
@media (max-width: 1200px) {
  .contact__right {
    width: 50%;
    padding: 50px 50px;
  }

  .contact__form-title {
    font-size: 34px;
    line-height: 42px;
  }

  .contact__details {
    gap: 40px;
    padding: 50px 50px 30px;
  }
}

@media (max-width: 768px) {
  .contact {
    margin-top: 40px;
  }

  .contact__inner {
    flex-direction: column;
  }

  .contact__right {
    width: 100%;
    padding: 40px var(--section-padding-x);
  }

  .contact__details {
    flex-direction: column;
    gap: 30px;
    padding: 40px var(--section-padding-x) 30px;
  }

  .contact__map {
    min-height: 350px;
  }

  .contact__form-title {
    font-size: 28px;
    line-height: 36px;
  }

  .contact__form-text {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .contact__form-grid {
    grid-template-columns: 1fr;
  }

  .contact__right {
    padding: 30px 20px;
  }

  .contact__details {
    padding: 30px 20px 24px;
  }

  .contact__form-title {
    font-size: 24px;
    line-height: 32px;
  }

  .contact__map {
    min-height: 250px;
  }
}

/* ==========================================================================
   QUOTE CART / QUOTE TABLE
   --------------------------------------------------------------------------
   .quote-table is a generic, reusable product-line table. It is used on the
   quote-cart page but is safe to drop into any page that needs an editable
   line-item table (quantity +/-, delete, comments).

   Columns (per Figma node 716:13318):
     TITLE | IMAGE | COMMENTS | QTY | DELETE

   .quote-cart wraps page-level chrome around the table: actions row
   (centered Send For Quote button) and empty state.
   ========================================================================== */

/* Visually hidden helper (for screen-reader-only labels) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Quote cart wrapper ---------- */
.quote-cart__container {
  padding-top: 20px;
}

.quote-cart__form {
  display: block;
}

.quote-table__wrap {
  width: 100%;
}

/* ---------- Generic table (.quote-table) ---------- */
.quote-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background-color: var(--color-white);
  table-layout: fixed;
}

.quote-table__head {
  background-color: var(--color-corporate-primary);
  color: var(--color-white);
}

.quote-table__head-cell {
  height: 62px;
  padding: 0 30px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 24px;
  text-transform: uppercase;
  text-align: left;
  vertical-align: middle;
  color: var(--color-white);
}

.quote-table__head-cell--title {
  width: 13%;
  padding-left: 40px;
}

.quote-table__head-cell--image {
  width: 195px;
}

.quote-table__head-cell--comments {
  width: auto;
}

.quote-table__head-cell--qty {
  width: 15%;
}

.quote-table__head-cell--delete {
  width: 11%;
  padding-right: 40px;
}

/* ---------- Body rows ---------- */
.quote-table__row {
  border-bottom: 1px solid #dde1ee;
  background-color: var(--color-white);
}

.quote-table__cell {
  padding: 16px 30px;
  vertical-align: middle;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-black);
}

/* Title cell */
.quote-table__cell--title {
  padding-left: 40px;
}

.quote-table__title {
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-black);
  line-height: 1.3;
}

/* Image cell */
.quote-table__cell--image {
  padding: 16px 20px;
}

.quote-table__image-link {
  display: block;
  width: 153px;
  max-width: 100%;
  height: 115px;
  border: 1px solid var(--color-gray-4);
  background-color: var(--color-white);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.quote-table__image-link:hover {
  border-color: var(--color-lighter-primary);
}

.quote-table__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Comments cell */
.quote-table__cell--comments {
  padding: 16px 20px;
}

.quote-table__comments {
  display: block;
  width: 100%;
  min-height: 112px;
  padding: 10px;
  border: 1px solid var(--color-gray-5);
  border-radius: 0;
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.quote-table__comments:focus {
  border-color: var(--color-corporate-primary);
}

/* Qty cell — +/- controls */
.quote-table__cell--qty {
  text-align: left;
  padding: 16px 20px;
}

.quote-table__qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #dde1ee;
  background-color: var(--color-white);
  overflow: hidden;
}

.quote-table__qty-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.quote-table__qty-btn:hover {
  background-color: var(--color-corporate-primary);
  color: var(--color-white);
}

.quote-table__qty-btn:focus-visible {
  outline: 2px solid var(--color-lighter-primary);
  outline-offset: -2px;
}

.quote-table__qty-btn--minus {
  border-right: 1px solid #dde1ee;
}

.quote-table__qty-btn--plus {
  border-left: 1px solid #dde1ee;
}

.quote-table__qty-icon {
  display: inline-block;
  pointer-events: none;
}

.quote-table__qty-input {
  width: 46px;
  height: 34px;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
  -moz-appearance: textfield;
  appearance: textfield;
}

.quote-table__qty-input::-webkit-outer-spin-button,
.quote-table__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quote-table__qty-input:focus {
  outline: none;
  background-color: rgba(0, 104, 208, 0.08);
}

/* Loading state on a single row while qty/delete AJAX is in flight */
.quote-table__row--loading {
  pointer-events: none;
  opacity: 0.55;
}

/* Delete cell — small [x] button */
.quote-table__cell--delete {
  padding: 16px 30px;
  padding-right: 40px;
  text-align: left;
}

.quote-table__delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  background-color: #f9f9f9;
  color: var(--color-gray-3);
  border: 1px solid #bdbdbd;
  border-radius: 3px;
  cursor: pointer;
  transition: color var(--transition-fast), background-color var(--transition-fast),
    border-color var(--transition-fast);
}

.quote-table__delete:hover {
  color: var(--color-white);
  background-color: var(--color-corporate-primary);
  border-color: var(--color-corporate-primary);
}

.quote-table__delete:focus-visible {
  outline: 2px solid var(--color-lighter-primary);
  outline-offset: 2px;
}

.quote-table__delete-icon {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

/* ---------- Quote cart actions row ---------- */
.quote-cart__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.quote-cart__submit {
  flex-shrink: 0;
}

/* ---------- Empty state ---------- */
.quote-cart__empty {
  padding: 80px 20px;
  text-align: center;
  border: 1px dashed var(--color-gray-4);
  background-color: rgba(238, 238, 238, 0.4);
}

.quote-cart__empty[hidden] {
  display: none;
}

.quote-cart__empty-title {
  margin-bottom: 14px;
  color: var(--color-corporate-secondary);
}

.quote-cart__empty-text {
  margin-bottom: 30px;
  color: var(--color-gray-3);
}

/* --------------------------------------------------------------------------
   Quote cart — responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .quote-table__head-cell,
  .quote-table__cell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .quote-table__head-cell--title,
  .quote-table__cell--title {
    padding-left: 24px;
  }

  .quote-table__head-cell--delete,
  .quote-table__cell--delete {
    padding-right: 24px;
  }

  .quote-table__head-cell {
    font-size: 16px;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 900px) {
  /* Collapse real <table> into card rows once the layout can't breathe */
  .quote-table,
  .quote-table__head,
  .quote-table__head-row,
  .quote-table__head-cell,
  .quote-table__body,
  .quote-table__row,
  .quote-table__cell {
    display: block;
    width: 100%;
  }

  .quote-table__head {
    /* Hide the header visually on card layout — labels come from data-label */
    position: absolute;
    left: -9999px;
    top: -9999px;
  }

  .quote-table__row {
    position: relative;
    display: grid;
    grid-template-columns: 153px 1fr auto;
    grid-template-areas:
      'title    title    delete'
      'image    comments comments'
      'qty      qty      qty';
    column-gap: 20px;
    row-gap: 12px;
    padding: 20px;
    border: 1px solid var(--color-gray-5);
    margin-bottom: 16px;
    background-color: var(--color-white);
  }

  .quote-table__cell {
    padding: 0;
    border: 0;
    font-size: 15px;
  }

  .quote-table__cell--title {
    grid-area: title;
    padding-left: 0;
  }

  .quote-table__cell--image {
    grid-area: image;
    padding: 0;
  }

  .quote-table__cell--comments {
    grid-area: comments;
    padding: 0;
  }

  .quote-table__cell--qty {
    grid-area: qty;
    padding: 0;
    text-align: left;
  }

  .quote-table__cell--delete {
    grid-area: delete;
    padding: 0;
    justify-self: end;
    align-self: center;
  }

  .quote-table__image-link {
    width: 153px;
    height: 115px;
  }

  .quote-table__comments {
    min-height: 100px;
  }
}

@media (max-width: 768px) {
  .quote-cart__container {
    padding-top: 10px;
  }

  .quote-cart__actions {
    margin-top: 30px;
  }

  .quote-cart__submit {
    width: 100%;
    justify-content: center;
  }

  .quote-cart__empty {
    padding: 60px 16px;
  }
}

@media (max-width: 560px) {
  .quote-table__row {
    grid-template-columns: 120px 1fr auto;
    column-gap: 14px;
    row-gap: 10px;
    padding: 16px;
  }

  .quote-table__image-link {
    width: 120px;
    height: 90px;
  }

  .quote-table__title {
    font-size: 15px;
  }

  .quote-table__comments {
    font-size: 14px;
    min-height: 80px;
  }
}

@media (max-width: 420px) {
  .quote-cart__container {
    padding-top: 8px;
  }

  .quote-table__row {
    grid-template-columns: 100px 1fr auto;
    padding: 14px;
    column-gap: 12px;
  }

  .quote-table__image-link {
    width: 100px;
    height: 76px;
  }

  .quote-table__title {
    font-size: 14px;
  }

  .quote-table__comments {
    font-size: 13px;
    min-height: 72px;
  }

  .quote-table__qty-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .quote-table__qty-input {
    width: 42px;
    height: 32px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .quote-table__row {
    grid-template-columns: 86px 1fr auto;
    padding: 12px;
    column-gap: 10px;
  }

  .quote-table__image-link {
    width: 86px;
    height: 68px;
  }

  .quote-table__qty-btn {
    width: 30px;
    height: 30px;
  }

  .quote-table__qty-input {
    width: 38px;
    height: 30px;
  }
}

/* ==========================================================================
   MY QUOTES PAGE — Responsive quote list table
   ========================================================================== */
.quotes-list__container {
  padding-top: 20px;
}

.quotes-list__wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.quotes-list__table {
  width: 100%;
  border-collapse: collapse;
}

.quotes-list__thead {
  background-color: var(--color-corporate-secondary);
}

.quotes-list__th {
  padding: 14px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-white);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.quotes-list__th--actions {
  text-align: center;
}

.quotes-list__row {
  border-bottom: 1px solid var(--color-gray-5);
  transition: background-color 0.15s ease;
}

.quotes-list__row:hover {
  background-color: rgba(190, 189, 195, 0.12);
}

.quotes-list__td {
  padding: 16px 20px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  vertical-align: middle;
}

.quotes-list__td--actions {
  text-align: center;
}

/* Status badges */
.quotes-list__badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

.quotes-list__badge--pending {
  background-color: #FFF3CD;
  color: #856404;
}

.quotes-list__badge--approved {
  background-color: #D4EDDA;
  color: #155724;
}

.quotes-list__badge--expired {
  background-color: #F8D7DA;
  color: #721C24;
}

/* Action link */
.quotes-list__action-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-lighter-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.quotes-list__action-link:hover {
  color: var(--color-corporate-primary);
  text-decoration: underline;
}

/* ---------- Quotes list responsive ---------- */
@media (max-width: 768px) {
  /* Hide table header, stack rows as cards */
  .quotes-list__thead {
    display: none;
  }

  .quotes-list__table,
  .quotes-list__tbody {
    display: block;
  }

  .quotes-list__row {
    display: block;
    padding: 16px 20px;
    margin-bottom: 12px;
    border: 1px solid var(--color-gray-5);
    border-radius: 6px;
    background-color: var(--color-white);
  }

  .quotes-list__row:hover {
    background-color: var(--color-white);
  }

  .quotes-list__td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(221, 221, 221, 0.5);
  }

  .quotes-list__td:last-child {
    border-bottom: none;
    padding-top: 12px;
  }

  .quotes-list__td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-right: 16px;
    flex-shrink: 0;
  }

  .quotes-list__td--actions {
    text-align: right;
    justify-content: flex-end;
  }

  .quotes-list__td--actions::before {
    content: none;
  }

  .quotes-list__action-link {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--color-corporate-primary);
    color: var(--color-white);
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
  }

  .quotes-list__action-link:hover {
    background-color: var(--color-corporate-secondary);
    color: var(--color-white);
    text-decoration: none;
  }
}

@media (max-width: 480px) {
  .quotes-list__wrapper {
    margin: 0 -10px;
  }

  .quotes-list__row {
    padding: 14px 16px;
  }

  .quotes-list__td {
    font-size: 14px;
  }

  .quotes-list__badge {
    font-size: 12px;
    padding: 3px 10px;
  }
}

/* ==========================================================================
   FIND A DEALER — Landing page (map illustration + search form)
   Figma frame: 706:10189
   ========================================================================== */
.find-dealer__container {
  padding-top: 0;
  padding-bottom: 0;
}

.find-dealer__inner {
  display: flex;
  align-items: stretch;
  gap: 40px;
  /* Consistent ~600px hero height on desktop. The map (background image)
     fills the right side and the intro (title + form) centres vertically. */
  height: 600px;
}

/* Left: intro + locator form */
.find-dealer__intro {
  flex: 0 0 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.find-dealer__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -1.6px;
  text-transform: uppercase;
  color: var(--color-black);
}

.find-dealer__title-pin {
  flex-shrink: 0;
  width: 26px;
  height: 34px;
  fill: #DA291C;
}

/* Right: map illustration — single PNG with pins already baked in,
   rendered as a background image so it scales to fill the area. */
.find-dealer__map-wrap {
  flex: 1 1 auto;
  min-width: 0;
  align-self: stretch;
  max-height: 600px;
  background-image: url("../img/misc/Agent-locator.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ---------- Find dealer responsive ---------- */
@media (max-width: 1200px) {
  .find-dealer__intro {
    flex-basis: 340px;
  }

  .find-dealer__title {
    font-size: 32px;
  }
}

@media (max-width: 900px) {
  .find-dealer__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    height: auto;
  }

  .find-dealer__intro {
    flex-basis: auto;
  }

  .find-dealer__title {
    justify-content: center;
    text-align: center;
  }

  .find-dealer__map-wrap {
    order: -1;
    min-height: 320px;
  }
}

@media (max-width: 480px) {
  .find-dealer__container {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .find-dealer__title {
    font-size: 26px;
  }

  .find-dealer__map-wrap {
    min-height: 240px;
  }
}

/* ==========================================================================
   LOCATOR FORM — "Find my Location" button + or + postal code input
   The button and "or" sit on the SAME line; the postal-code input is on
   its own row below (grid places it across both columns).
   Reusable inside .find-dealer and other places.
   ========================================================================== */
.locator-form {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: center;
  column-gap: 16px;
  row-gap: 16px;
}

.locator-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background-color: var(--color-corporate-primary);
  color: var(--color-white);
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.locator-form__btn:hover {
  background-color: var(--color-corporate-secondary);
}

.locator-form__btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.locator-form__or {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  color: var(--color-black);
  margin: 0;
}

.locator-form__input-wrap {
  grid-column: 1 / -1;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 360px;
}

.locator-form__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--color-gray-4);
  background-color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.3;
  color: var(--color-black);
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.locator-form__input:focus {
  border-color: var(--color-corporate-primary);
}

.locator-form__submit {
  flex-shrink: 0;
  width: 40px;
  background-color: var(--color-corporate-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.locator-form__submit:hover {
  background-color: var(--color-corporate-secondary);
}

.locator-form__submit svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2;
}

@media (max-width: 900px) {
  .locator-form {
    justify-content: center;
  }
}

/* ==========================================================================
   DEALER RESULTS — Two-column sidebar + map layout
   Figma frame: 712:11336
   ========================================================================== */
.dealer-results {
  padding: 0;
}

.dealer-results__inner {
  display: flex;
  align-items: stretch;
  height: 840px;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Sidebar: gray panel with scrollable card list */
.dealer-results__sidebar {
  flex: 0 0 420px;
  background-color: #EEEEEE;
  padding: 30px 24px 30px 36px;
  overflow-y: auto;

  /* Custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--color-gray-4) #DDDDDD;
}

.dealer-results__sidebar::-webkit-scrollbar {
  width: 12px;
}

.dealer-results__sidebar::-webkit-scrollbar-track {
  background: #DDDDDD;
}

.dealer-results__sidebar::-webkit-scrollbar-thumb {
  background: var(--color-gray-4);
}

.dealer-results__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Map area on the right */
.dealer-results__map {
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
  background-color: #E6E6E6;
}

.dealer-results__map-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pins overlaid on map — absolutely positioned */
.dealer-results__pin {
  position: absolute;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -100%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-corporate-primary);
  border-radius: 50%;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--color-white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.dealer-results__pin:hover {
  background-color: var(--color-corporate-secondary);
  transform: translate(-50%, -100%) scale(1.08);
}

.dealer-results__pin--marker {
  background-color: var(--color-lighter-primary);
}

.dealer-results__pin-label {
  position: absolute;
  background-color: var(--color-white);
  padding: 8px 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.7px;
  text-transform: uppercase;
  color: var(--color-black);
  white-space: nowrap;
  transform: translate(-50%, calc(-100% - 56px));
}

.dealer-results__pin-label-brand {
  color: var(--color-corporate-primary);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  text-transform: none;
  margin-right: 4px;
}

/* ---------- Dealer results responsive ---------- */
@media (max-width: 1200px) {
  .dealer-results__sidebar {
    flex-basis: 360px;
    padding: 24px 20px 24px 28px;
  }

  .dealer-results__inner {
    height: 720px;
  }
}

@media (max-width: 900px) {
  .dealer-results__inner {
    flex-direction: column;
    height: auto;
  }

  .dealer-results__sidebar {
    flex-basis: auto;
    max-height: 400px;
    padding: 20px;
  }

  .dealer-results__map {
    height: 500px;
  }
}

@media (max-width: 480px) {
  .dealer-results__sidebar {
    max-height: 360px;
    padding: 16px;
  }

  .dealer-results__map {
    height: 360px;
  }

  .dealer-results__pin {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .dealer-results__pin-label {
    font-size: 12px;
    padding: 6px 10px;
  }
}

/* ==========================================================================
   DEALER CARD — individual result entry inside sidebar
   ========================================================================== */
.dealer-card {
  background-color: var(--color-white);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dealer-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-corporate-primary);
}

.dealer-card__address,
.dealer-card__phones {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-black);
}

.dealer-card__phones p {
  margin: 0;
}

.dealer-card__email {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: #162B72;
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.2s ease;
}

.dealer-card__email:hover {
  color: var(--color-corporate-primary);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .dealer-card {
    padding: 14px 16px;
  }

  .dealer-card__title {
    font-size: 18px;
  }

  .dealer-card__address,
  .dealer-card__phones,
  .dealer-card__email {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   jquery-confirm — tweaks (no Bootstrap; ensure box stays responsive)
   -------------------------------------------------------------------------- */
.jconfirm .jconfirm-box {
  max-width: calc(100% - 32px);
}

@media (max-width: 480px) {
  .jconfirm .jconfirm-box {
    width: calc(100% - 24px) !important;
  }
}


#map {
  min-height: 600px;
  margin-left: 400px;
  z-index: 0;
}

@media (max-width: 900px) {
  #map {
    margin-left: 0;
  }
}

.map-popup {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  color: #000;
  text-align: center;
  font-size: 16px;
}
.map-popup__title {
  color: var(--accent-color-2, #001a53);
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 110%;
  /* 15.4px */
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.map-popup__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  -moz-column-gap: 5px;
  column-gap: 5px;
}
.map-popup__phone a {
  color: #000;
  text-decoration: none;
}
.map-popup__logo {
  display: flex;
  justify-content: center;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}
.map-popup__logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.map-popup__link,
.map-popup__link a {
  color: var(--accent-color, #003da6);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.28px;
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
}

.map-container {
  min-height: 400px;
  min-height: 80vh;
  max-width: 1920px;
  margin: 0 auto;
}

.contact-us-btn {
  text-transform: uppercase;
  padding: 2px 5px;
  color: white;
  background-color: #117c75;
  border-radius: 5px;
  height: 20px;
  text-align: center;
}

.rma-row {
  display: flex;
  padding: 10px 0;
  flex-wrap: wrap;
}

.rma-row-pr {
  padding-right: 10px;
}

.rma-row-pt {
  padding-top: 20px;
}

.rma-col {
  padding-right: 10px;
}

.rma-col-50 {
  width: calc(50% - 10px);
}

.rma-row label {
  text-align: right;
  padding-right: 10px;
  color: #757575;
  align-self: flex-end;
}

.rma-input {
  box-sizing: border-box;
  border: 0;
  border-bottom: 2px solid #d2d2d2;
  font-size: 18px;
  outline: 0;
}

.rma-col-50 label {
  width: 155px;
}

.rma-col-50 .rma-input {
  width: calc(100% - 165px);
}

label.rma-company {
  width: 138px;
  text-align: left;
  padding-left: 17px;
}

.rma-input.rma-company {
  width: calc(100% - 165px);
}

.rma-return {
  padding-top: 14px;
}

.rma-return label {
  width: 200px;
}

.rma-return div {
  width: calc(100% - 230px);
  padding-left: 20px;
  color: #757575;
}

.rma-tbl {
  padding-top: 50px;
}

.rma-tbl .rma-row {
  justify-content: space-between;
}

.rma-tbl-col {
  width: calc(20% - 20px);
  padding: 0 10px;
}

.rma-tbl-col label {
  display: none;
  padding-top: 20px;
  text-align: left;
  font-size: 8pt;
}

.rma-tbl-col .rma-input {
  width: 100%;
}

.rma-notes {
  padding-top: 20px;
  font-size: 10pt;
  text-transform: uppercase;
  color: #ff0000;
}

.rma-notes div {
  padding-top: 10px;
}
