:root {
  --ink: #141a20;
  --muted: #4d5a65;
  --accent: #0068c3;
  --soft: #f3f6f8;
  --header: 72px;
}

body.page-english { margin: 0; }
.page-english a { color: inherit; text-decoration: none; }
:where(.page-english) :where(h1, h2, h3, p, dl, dd) { margin: 0; }
.page-english .wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; padding-inline: 0; }
.page-english [id] { scroll-margin-top: calc(var(--header) + 12px); }
.page-english .section { padding-block: clamp(48px, 7vw, 100px); }
.page-english .skip-link { position: fixed; z-index: 45; top: 8px; left: 8px; padding: 12px; background: #fff; transform: translateY(-150%); }
.page-english .skip-link:focus { transform: none; }

.page-english .header .wrap.headinner { width: 100%; max-width: calc(var(--content-width) + 64px); }
.page-english .nav { display: flex; }
.page-english .headcta, .page-english .mobile-nav-phone { color: #fff; }
.page-english .menu { display: none; padding: 0; color: #232629; background: none; border: 0; }

.page-english #hero { overflow: hidden; }
.page-english #hero .wrap.hero-inner {
  position: relative;
  display: flex;
  width: 100%;
  max-width: none;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.page-english #hero .hero-copy { position: relative; z-index: 2; max-width: 810px; }
.page-english #hero .actions { display: flex; justify-content: center; flex-wrap: wrap; }
.page-english #hero .actions .btn { display: inline-flex; align-items: center; justify-content: center; }
.page-english #hero .hero-arrows {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.page-english #hero .hero-arrows button, .page-english #hero .slide-controls button { border: 0; cursor: pointer; }
.page-english #hero .slide-controls { position: absolute; z-index: 4; }
.page-english #hero .slide-controls button { overflow: hidden; }

.page-english .product-showcase-card > .en-product-cutout {
  width: 100%;
  height: clamp(216px, 25vw, 380px);
  margin-top: auto;
  padding: 8px 20px 28px;
}
.page-english .product-showcase-card .en-product-cutout img { width: auto; height: auto; margin: 0; padding: 0; }
.page-english #recommended-hardware .product-showcase-copy h2::target-text {
  background-color: transparent;
  color: inherit;
}
.page-english #recommended-hardware .en-product-cutout:is([data-product="1310"], [data-product="1093"]) {
  mix-blend-mode: normal;
  filter: drop-shadow(0 4px 7px rgb(30 42 54 / 0.16));
}
.page-english #recommended-hardware .en-product-cutout[data-product="1310"] img {
  clip-path: polygon(
    40.25% 18.13%, 43.13% 18.13%, 45.63% 18.88%, 47.63% 20.5%, 49.5% 22.5%,
    51.38% 22.38%, 87% 26%, 89.88% 27.13%, 92.13% 29.13%, 93.5% 31.5%,
    94.38% 34%, 94.25% 61.38%, 93.5% 63%, 93.13% 66.5%, 74.5% 92%,
    72.88% 94.63%, 71.13% 95.88%, 68.5% 96.38%, 8.88% 85.88%, 7.25% 84.88%,
    6.38% 83.13%, 6.25% 78.38%, 6.75% 62.13%, 7.13% 49.5%, 7.63% 41.25%,
    8.38% 40%, 10% 38.88%, 38.13% 19.13%
  );
}
.page-english #recommended-hardware .en-product-cutout[data-product="1093"] img {
  clip-path: polygon(
    40.63% 14.63%, 82.75% 24.13%, 84.13% 26.63%, 85.25% 27.25%, 85.63% 30.5%,
    85.38% 34.13%, 85.13% 45.25%, 91% 47.38%, 91% 55.5%, 89% 57.63%,
    88.5% 55.75%, 87.88% 55.63%, 86.75% 57%, 85.75% 60.13%, 85.13% 61.38%,
    83.63% 62.38%, 83.13% 61.75%, 82.25% 63.25%, 57.38% 86.5%, 56% 87.38%,
    54.25% 87.63%, 51.88% 87.13%, 15.5% 74.63%, 14.5% 74.13%, 13.75% 72.5%,
    13.25% 69.38%, 12.25% 40.88%, 12.38% 37.75%, 13.88% 34.63%, 19.5% 31.5%,
    19.88% 30.13%, 21.25% 29.75%, 23.63% 30.25%, 26% 27.63%, 26% 26.75%,
    29.5% 24.63%, 29.63% 22.88%, 30.25% 22.63%, 30.38% 20.13%
  );
}
.page-english .industry-copy p { color: #fff; }

.page-english .catalog-featured .en-product-cutout { width: min(100%, 68px); height: 44px; min-height: 0; }
.page-english .catalog-featured .en-product-cutout img { width: auto; height: auto; }
.page-english .catalog-card-visual .en-product-cutout { width: 100%; height: 100%; }
.page-english .catalog-card-visual .en-product-cutout img { width: auto; height: auto; }
.page-english .catalog-card-copy p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

.en-product-cutout { width: 100%; height: 100px; }
.page-english .preview-model .en-product-cutout img { width: auto; height: auto; }
.en-product-cutout {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  mix-blend-mode: multiply;
}
.en-product-cutout img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.en-product-cutout[data-product="1067"] img { clip-path: polygon(24% 19%, 26% 14%, 64% 17%, 66% 20%, 79% 61%, 62% 69%, 62% 73%, 72% 80%, 73% 83%, 54% 92%, 28% 84%, 30% 74%, 37% 71%, 37% 62%); }
.en-product-cutout[data-product="1075"] img { clip-path: polygon(12% 7%, 16% 3%, 75% 1%, 77% 4%, 98% 63%, 96% 66%, 52% 75%, 55% 78%, 71% 83%, 75% 87%, 73% 92%, 42% 98%, 37% 100%, 11% 94%, 6% 91%, 6% 84%, 10% 78%, 17% 46%); }
.en-product-cutout[data-product="1126"] img { clip-path: polygon(12% 19%, 15% 16%, 69% 12%, 87% 14%, 90% 16%, 90% 78%, 88% 82%, 47% 91%, 16% 86%, 13% 83%); }
.en-product-cutout[data-product="1120"] img { clip-path: polygon(31% 12%, 37% 8%, 49% 6%, 62% 8%, 69% 13%, 74% 21%, 76% 32%, 74% 48%, 71% 65%, 70% 69%, 74% 75%, 76% 83%, 75% 88%, 69% 92%, 56% 94%, 39% 93%, 29% 89%, 26% 84%, 28% 79%, 34% 75%, 40% 72%, 41% 66%, 27% 53%, 25% 42%); }
.en-product-cutout[data-product="1190"] img { clip-path: polygon(52% 14%, 56% 14%, 80% 20%, 82% 23%, 82% 26%, 48% 85%, 44% 88%, 22% 80%, 19% 77%, 19% 74%, 21% 68%); }
.en-product-cutout[data-product="1151"] img { clip-path: polygon(8% 44%, 10% 33%, 16% 25%, 25% 20%, 35% 20%, 85% 28%, 89% 31%, 94% 34%, 94% 41%, 91% 49%, 89% 60%, 60% 86%, 55% 89%, 17% 75%, 10% 71%, 8% 67%); }
.en-product-cutout[data-product="1310"] img { clip-path: polygon(7% 37%, 15% 27%, 38% 20%, 52% 20%, 90% 26%, 95% 30%, 96% 63%, 92% 78%, 75% 94%, 65% 97%, 15% 89%, 5% 86%, 6% 63%); }
.en-product-cutout[data-product="1210"] img { clip-path: polygon(3% 54%, 14% 48%, 17% 41%, 40% 19%, 49% 15%, 56% 15%, 89% 24%, 92% 28%, 93% 39%, 97% 42%, 98% 60%, 94% 65%, 58% 95%, 53% 94%, 5% 73%); }
.en-product-cutout[data-product="1215"] img { clip-path: polygon(3% 44%, 16% 36%, 35% 22%, 43% 16%, 48% 14%, 55% 14%, 92% 25%, 95% 28%, 96% 47%, 92% 61%, 56% 95%, 49% 94%, 2% 71%); }
.en-product-cutout[data-product="1080"] img { clip-path: polygon(3% 57%, 24% 16%, 78% 6%, 82% 9%, 80% 21%, 92% 19%, 95% 21%, 96% 75%, 94% 77%, 73% 70%, 73% 82%, 65% 89%, 54% 95%, 47% 94%, 27% 82%, 26% 78%, 30% 70%); }

.en-six-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.page-english .en-cookie-copy { padding-top: calc(var(--header) + clamp(40px, 5vw, 72px)); }
.page-english .text-link { color: var(--accent); font-weight: 550; }
.page-english .text-link:hover { text-decoration: underline; }

.en-detail-hero.product-detail-hero { aspect-ratio: auto; }
.en-detail-hero-inner { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: clamp(310px, 27vw, 455px); padding-block: 22px; }
.en-detail-hero-inner .en-product-cutout { height: clamp(220px, 23vw, 370px); }
.en-detail-photo { display: block; width: 100%; min-width: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.en-gallery { padding-block: clamp(30px, 5vw, 56px) 0; }
.page-english :is(.en-gallery, .product-specs) > h2 { margin: 0 0 18px; font-size: 25px; letter-spacing: -.02em; text-align: left; }
.en-gallery-card { display: block; width: 100%; aspect-ratio: 1 / 1; padding: 8px; border: 1px solid #e6e9ec; border-radius: 7px; background: #f7f8fa; cursor: zoom-in; }
.en-gallery-card:hover { border-color: #7899b4; }
.en-gallery-card img { width: 100%; height: 100%; object-fit: contain; }
.page-english .product-spec-group table.en-spec-multi th { width: auto; }
.page-english .product-spec-group th[colspan] { width: auto; }
.page-english .product-spec-group td:not(:last-child), .page-english .product-spec-group .en-spec-multi th:not(:last-child) { padding-inline-end: 12px; }
.page-english .product-spec-group td[colspan]:first-child { color: var(--ink); font-weight: 650; }
.en-related { display: grid; gap: 6px; margin-top: 18px; font-size: 14px; }
.en-cookie-copy { min-height: 52vh; }
.en-cookie-copy h1 { margin-bottom: 20px; font-size: clamp(34px, 5vw, 58px); }
.en-cookie-copy p { max-width: 65ch; }

.page-english .site-footer .wrap { width: 100%; }
.page-english .site-footer .site-footer-legal { border-top: 1px solid #ffffff24; align-items: center; }
.page-english .site-footer-legal a { color: inherit; }
.page-english .site-footer-legal a:hover { text-decoration: underline; }
.page-english .site-footer-contact .site-footer-phone { font-size: 16px; }
.page-english .site-footer-contact .site-footer-email { font-size: 14px; }

.en-photo-dialog { width: min(540px, calc(100% - 36px)); padding: 0; border: 0; border-radius: 10px; background: #fff; }
.en-photo-dialog::backdrop { background: #0d1622a8; }
.en-photo-dialog-frame { position: relative; padding: 52px 16px 16px; }
.en-photo-dialog-frame > img { width: auto; height: auto; max-width: 100%; max-height: min(54dvh, 420px); margin-inline: auto; object-fit: contain; }
.en-photo-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 3px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  font-size: 26px;
  cursor: pointer;
}
.en-photo-close:hover { background: #e4eaf0; }

@media (max-width: 1120px) {
  .en-six-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  :root { --header: 64px; }
  .page-english .wrap { width: calc(100% - 40px); }
  .page-english .header .nav { display: none; }
  .page-english .header .menu { display: grid; }
  .page-english .mobile-nav.open .nav-language { color: #232629; }
  .en-detail-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .en-detail-hero-inner .en-product-cutout { height: clamp(190px, 62vw, 350px); }
  .en-detail-hero .product-detail-copy h1 { font-size: clamp(26px, 5vw, 42px); }
  .en-detail-hero .product-detail-feature { font-size: 15px; }
  .en-six-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .page-english .catalog-card-copy p { -webkit-line-clamp: 2; }
}
@media (max-width: 560px) {
  .en-six-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-english :is(.en-gallery, .product-specs) > h2 { font-size: 21px; }
  .page-english .product-spec-group .en-spec-multi { font-size: 12px; line-height: 1.4; }
}

/* Keep the shared layout when translations take more space. */
html[data-localized] .page-english .site-footer-contact-card {
  flex-wrap: wrap;
}
html[data-localized] .page-english .site-footer-contact-card h2 {
  min-inline-size: 0;
  flex-shrink: 1;
  overflow-wrap: anywhere;
}
html[data-localized] .page-english .software-services {
  overflow-wrap: anywhere;
}

@media (min-width: 801px) and (max-width: 1100px) {
  html[data-localized] .page-english .site-header .wrap.headinner {
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    column-gap: 12px;
    padding-inline: 20px;
  }
  html[data-localized] .page-english .site-header .nav {
    justify-content: center;
    gap: clamp(5px, calc((100vw - 800px) / 18), 16px);
  }
  html[data-localized] .page-english .site-header .nav-link {
    font-size: clamp(11px, 1.35vw, 14px);
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}

html[data-localized] .page-english .product-showcase-copy h2 { text-wrap: balance; }
