:root {
  --products-max-width: 1200px;
  --products-section-gap: 88px;
  --products-row-height: 520px;
  --products-copy-size: 17px;
  --products-title-size: clamp(40px, 3.6vw, 52px);
}

.products-page-hero {
  padding: 146px 0 68px;
  background: #fff;
}

.products-page-hero .container,
.products-free-section .container,
.products-contact-section .container {
  width: min(var(--products-max-width), calc(100% - 40px));
}

.products-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 40px 72px;
  align-items: center;
}

.products-hero-copy {
  max-width: 585px;
}

.products-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.products-hero-copy h1 {
  max-width: 620px;
  margin: 0 0 25px;
  color: #333;
  font-size: clamp(50px, 5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.99;
  text-transform: uppercase;
}

.products-hero-copy p,
.products-hero-summary {
  color: #4d4d4d;
  font-size: 18px;
  line-height: 1.72;
}

.products-hero-media {
  margin: 0;
  min-height: 405px;
  overflow: hidden;
  background: #ececec;
}

.products-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 405px;
  object-fit: cover;
}

.products-hero-summary {
  grid-column: 1 / -1;
  max-width: 1130px;
  margin: 0;
}

.products-benefit-strip {
  background: #f7c4ad;
}

.products-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.products-benefit {
  min-height: 145px;
  padding: 32px 38px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.3);
}

.products-benefit:last-child {
  border-inline-end: 0;
}

.products-benefit-mark {
  position: relative;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
}

.products-benefit-mark::before,
.products-benefit-mark::after,
.products-benefit-mark i {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  background: #f45120;
  transform: rotate(45deg);
}

.products-benefit-mark::before {
  top: 0;
  left: 0;
}

.products-benefit-mark::after {
  right: 0;
  bottom: 0;
  opacity: 0.78;
}

.products-benefit-mark i {
  left: 8px;
  top: 8px;
  opacity: 0.52;
}

.products-benefit h2 {
  margin: 0 0 4px;
  font-size: clamp(24px, 2.15vw, 32px);
  line-height: 1.05;
}

.products-benefit p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
}

/* Partnership / cost-free section: two balanced columns like the reference page. */
.products-free-section {
  padding: 92px 0 96px;
  background: #f2f2f2;
}

.products-free-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.84fr) minmax(0, 1.16fr);
  gap: 76px;
  align-items: start;
}

.products-free-heading {
  max-width: 455px;
}

.products-free-heading .products-eyebrow {
  margin-bottom: 22px;
}

.products-free-heading h2 {
  margin: 0;
  color: #333;
  font-size: clamp(44px, 4.1vw, 58px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.products-free-copy {
  max-width: 690px;
  padding-top: 2px;
}

.products-free-copy p {
  margin: 0 0 22px;
  color: #3f3f3f;
  font-size: 17px;
  line-height: 1.78;
}

.products-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  color: #303030;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.products-inline-link span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #4b4b4b;
  border-radius: 50%;
  transition: 0.2s ease;
}

.products-inline-link:hover span,
.products-inline-link:focus-visible span {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
  transform: translateX(3px);
}

.products-catalog {
  background: #fff;
}

.products-catalog-inner {
  width: min(var(--products-max-width), calc(100% - 40px));
  margin-inline: auto;
}

.products-detail {
  min-height: var(--products-row-height);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  border-bottom: 1px solid #e4e4e4;
}

.products-detail.is-reversed .products-detail-media {
  order: 2;
}

.products-detail.is-reversed .products-detail-copy {
  order: 1;
}

.products-detail-media {
  min-width: 0;
  min-height: var(--products-row-height);
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f2f2f2;
}

.products-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Product assets with white backgrounds must stay fully visible and never be cropped. */
.products-detail-media--sensor,
.products-detail-media--payment,
.products-detail-media--rental,
.products-detail-media--portal {
  padding: 34px;
  background: linear-gradient(145deg, #fafafa, #eeeeee);
}

.products-detail-media--sensor img,
.products-detail-media--payment img,
.products-detail-media--rental img,
.products-detail-media--portal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.products-detail-media--payment img,
.products-detail-media--rental img,
.products-detail-media--portal img {
  filter: drop-shadow(0 25px 28px rgba(25, 25, 25, 0.1));
}

.products-detail:first-child {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.products-detail-media--sensor {
  padding: 10px;
}

.products-detail:first-child .products-detail-copy {
  padding-inline: 50px;
}

.products-detail:first-child .products-detail-copy h2 {
  font-size: clamp(39px, 3.1vw, 45px);
  white-space: nowrap;
}

.products-detail-copy {
  padding-inline: 50px;
}

.products-detail:first-child .products-detail-copy h2 {
  font-size: clamp(39px, 3.1vw, 45px);
  white-space: nowrap;
}

.products-detail-media--payment img,
.products-detail-media--rental img,
.products-detail-media--portal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}


.products-detail:first-child {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.products-detail-media--sensor {
  padding: 0;
}

.products-detail-media--sensor img {
  width: 100%;
  height: 100%;
  max-width: 100%;
}

.products-detail:first-child .products-detail-copy {
  padding-inline: 50px;
}

.products-detail:first-child .products-detail-copy h2 {
  font-size: clamp(39px, 3.1vw, 45px);
  white-space: nowrap;
}

.products-detail-media--payment img,
.products-detail-media--rental img,
.products-detail-media--portal img {
  filter: drop-shadow(0 25px 28px rgba(25, 25, 25, 0.1));
}

.products-detail-copy {
  min-width: 0;
  padding: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.products-detail-number {
  margin-bottom: 21px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.products-detail-copy h2 {
  max-width: 540px;
  margin: 0 0 23px;
  color: #333;
  font-size: var(--products-title-size);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.03;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

.products-detail-copy p {
  max-width: 560px;
  margin: 0 0 17px;
  color: #454545;
  font-size: var(--products-copy-size);
  line-height: 1.72;
}

.products-more-button {
  width: fit-content;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #333;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.products-more-button b {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid #444;
  border-radius: 50%;
  font-size: 17px;
  transition: 0.2s ease;
}

.products-more-button:hover b,
.products-more-button:focus-visible b {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
  transform: translateX(4px);
}

.products-contact-section {
  padding: 92px 0;
  background: #f6bba5;
}

.products-contact-card {
  text-align: center;
}

.products-contact-heading {
  max-width: 920px;
  margin-inline: auto;
}

.products-contact-heading h2 {
  margin: 0 0 17px;
  color: #333;
  font-size: clamp(42px, 4.6vw, 62px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.products-contact-heading p {
  margin: 0;
  color: #3e3e3e;
  font-size: 17px;
}

.products-contact-actions {
  max-width: 900px;
  margin: 46px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.products-audience-card {
  min-height: 82px;
  padding: 15px 22px;
  display: grid;
  grid-template-columns: 48px 1fr 36px;
  gap: 15px;
  align-items: center;
  text-align: start;
  color: #333;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #343434;
  transition: 0.2s ease;
}

.products-audience-card:hover,
.products-audience-card:focus-visible {
  color: #fff;
  background: #333;
  transform: translateY(-3px);
}

.products-audience-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 20px;
}

.products-audience-card strong {
  font-size: 18px;
  line-height: 1.25;
}

.products-audience-card b {
  font-size: 24px;
  text-align: center;
}


@media (max-width: 1180px) {
  .products-detail:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-detail:first-child .products-detail-copy h2 {
    white-space: normal;
  }
}

@media (max-width: 1080px) {
  .products-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .products-hero-copy {
    max-width: 760px;
  }

  .products-hero-media {
    min-height: 450px;
  }

  .products-free-grid {
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    gap: 50px;
  }

  .products-detail-copy {
    padding: 56px 48px;
  }
}

@media (max-width: 860px) {
  .products-benefit-grid,
  .products-free-grid,
  .products-detail,
  .products-detail.is-reversed {
    grid-template-columns: 1fr;
  }

  .products-benefit {
    border-inline-end: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .products-benefit:last-child {
    border-bottom: 0;
  }

  .products-free-heading {
    max-width: 620px;
  }

  .products-free-copy {
    max-width: 760px;
  }

  .products-detail.is-reversed .products-detail-media,
  .products-detail.is-reversed .products-detail-copy {
    order: initial;
  }

  .products-detail,
  .products-detail-media {
    min-height: auto;
  }

  .products-detail-media {
    height: 470px;
  }
}

@media (max-width: 760px) {
  :root {
    --products-copy-size: 16px;
  }

  .products-page-hero {
    padding: 116px 0 52px;
  }

  .products-hero-copy h1 {
    font-size: 47px;
  }

  .products-hero-copy p,
  .products-hero-summary {
    font-size: 17px;
  }

  .products-hero-media,
  .products-hero-media img {
    min-height: 320px;
  }

  .products-free-section {
    padding: 70px 0;
  }

  .products-free-heading h2 {
    font-size: 43px;
  }

  .products-detail-media {
    height: 400px;
  }

  .products-detail-media--sensor,
  .products-detail-media--payment,
  .products-detail-media--rental,
  .products-detail-media--portal {
    padding: 24px;
  }

  .products-detail-copy {
    padding: 48px 24px 60px;
  }

  .products-contact-actions {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .products-page-hero .container,
  .products-free-section .container,
  .products-contact-section .container,
  .products-catalog-inner {
    width: min(100%, calc(100% - 28px));
  }

  .products-hero-copy h1 {
    font-size: 40px;
  }

  .products-hero-media,
  .products-hero-media img {
    min-height: 255px;
  }

  .products-benefit {
    padding: 26px 20px;
  }

  .products-detail-media {
    height: 310px;
  }

  .products-detail-copy h2 {
    font-size: 38px;
  }

  .products-audience-card {
    grid-template-columns: 42px 1fr 26px;
    padding-inline: 15px;
  }
}

html[dir="rtl"] .products-more-button b,
html[dir="rtl"] .products-inline-link span,
html[dir="rtl"] .products-audience-card b {
  transform: scaleX(-1);
}

html[dir="rtl"] .products-more-button:hover b,
html[dir="rtl"] .products-more-button:focus-visible b,
html[dir="rtl"] .products-inline-link:hover span,
html[dir="rtl"] .products-inline-link:focus-visible span {
  transform: scaleX(-1) translateX(4px);
}

/* Dark product-page header, matching the page hierarchy while keeping BM branding. */
.products-page .site-header {
  background: rgba(52, 52, 52, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.products-page .site-header .brand,
.products-page .main-navigation,
.products-page .nav-products-trigger > button {
  color: #fff;
}

.products-page .site-header.scrolled {
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.24);
}

.products-page .header-login-button {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.products-page .header-login-button:hover,
.products-page .header-login-button:focus-visible {
  color: #333;
  background: #fff;
  border-color: #fff;
}

.products-page .language-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.products-page .menu-toggle span {
  background: #fff;
}

.products-page .menu-toggle em {
  color: #fff;
}

@media (max-width: 1080px) {
  .products-page .main-navigation {
    color: #2f3338;
  }
}
