:root {
  --bg: #f79516;
  --paper: rgba(255, 255, 255, 0.86);
  --cream: #fff8e8;
  --teal: #0f5960;
  --teal-dark: #0a3f46;
  --teal-2: #36b9ad;
  --orange: #f79516;
  --yellow: #ffc02d;
  --green: #35b85f;
  --text: #173f44;
  --muted-text: #607377;
  --border: #dbe9e7;
  --shadow: 0 20px 60px rgba(15, 89, 96, 0.12);
  --page-bg-image: url("../img/orange-pic-1.png");
  --nav-pill-height: 38px;
  --nav-pill-pad-x: 12px;
  --nav-pill-radius: 999px;
  /* Обрезка только под надписью fit4business (нижний отступ файла), не трогаем иконку и слова */
  --logo-navbar-bottom-trim: 10px;
}

* { box-sizing: border-box; }

html {
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background:
    linear-gradient(rgba(247, 149, 22, 0.18), rgba(247, 149, 22, 0.22)),
    var(--page-bg-image) center top / cover fixed;
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(255, 248, 232, 0.28);
  pointer-events: none;
}

.mainPageImg
{
   border-radius: 20px;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 63, 70, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 30px rgba(15, 89, 96, 0.06);
}

.navbar .row,
.navbar .nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 12px 20px;
  padding: 1px 0;
  min-height: 64px;
}

.navbar .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 22px);
  row-gap: 8px;
  text-align: center;
  width: 100%;
}

.navbar .nav-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
  min-width: 0;
  min-height: var(--nav-pill-height);
}


.logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  text-decoration: none;
  font-size: 0;
}
.logo img {
  width: 96px;
  max-width: 30vw;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}
.logo small { display: none; }

.nav-links a {
  color: #fff8e8;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.82rem, 1.15vw, 0.96rem);
}
.nav-links a:hover { color: var(--orange); }
.lang-switch {
  display: inline-flex;
  flex-shrink: 0;
  gap: 2px;
  padding: 4px 6px;
  border-radius: var(--nav-pill-radius);
  background: rgba(255, 248, 232, 0.12);
  border: 1px solid rgba(255, 248, 232, 0.22);
  min-height: var(--nav-pill-height);
  align-items: center;
  box-sizing: border-box;
}
.lang-switch button {
  border: 0;
  border-radius: var(--nav-pill-radius);
  padding: 0 12px;
  min-height: calc(var(--nav-pill-height) - 10px);
  cursor: pointer;
  background: transparent;
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
}
.lang-switch button.active {
  background: transparent;
  color: var(--orange);
  box-shadow: inset 0 0 0 2px var(--orange);
}
.partner-link {
  color: var(--yellow);
  font-weight: 900;
  text-decoration: none;
}
.partner-link:hover { color: #fff; }
.partner-link-btn {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

/* Navbar: Partner Login / Logout — прозрачная «пилюля», белый текст, как стиль корзины без заливки */
.navbar .partner-link,
.navbar .partner-link.partner-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--nav-pill-height);
  padding: 0 var(--nav-pill-pad-x);
  border-radius: var(--nav-pill-radius);
  box-sizing: border-box;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 248, 232, 0.45);
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
}
.navbar .partner-link:hover,
.navbar .partner-link.partner-link-btn:hover {
  color: #fff;
  background: rgba(255, 248, 232, 0.12);
  border-color: rgba(255, 248, 232, 0.65);
}

/* Navbar: корзина — оранжевая, белый текст и иконка; единая высота с языком и Partner */
.navbar .btn-cart.btn.ghost {
  min-height: var(--nav-pill-height);
  padding: 0 var(--nav-pill-pad-x);
  border-radius: var(--nav-pill-radius);
  background: var(--orange);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
  font-size: 0.88rem;
  font-weight: 800;
}
.navbar .btn-cart .nav-cart-icon {
  filter: brightness(0) invert(1);
}
.navbar .btn-cart.btn.ghost:hover {
  background: #ff9f2e;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(247, 149, 22, 0.35);
}
.navbar .btn-cart.btn.ghost:hover .nav-cart-icon {
  filter: brightness(0) invert(1);
}

/* Доп. кнопка в nav (напр. «Warenkorb leeren» на kontakt) — та же высота ряда */
.navbar .nav-end > .btn.ghost:not(.btn-cart) {
  min-height: var(--nav-pill-height);
  padding: 0 var(--nav-pill-pad-x);
  border-radius: var(--nav-pill-radius);
  font-size: 0.88rem;
  font-weight: 800;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(247, 149, 22, 0.24);
}
.btn.secondary { background: var(--teal); color: #fff; box-shadow: 0 12px 30px rgba(15, 89, 96, 0.18); }
.btn.ghost {
  background: rgba(255, 248, 232, 0.9);
  color: var(--teal);
  box-shadow: none;
  border: 1px solid rgba(15, 89, 96, 0.14);
}
.btn-cart {
  gap: 8px;
}
.btn-cart .nav-cart-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.btn-cart:hover .nav-cart-icon,
.btn:hover .nav-cart-icon {
  filter: brightness(0) invert(1);
}
.btn:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 12px 30px rgba(247, 149, 22, 0.28);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.78), rgba(238, 247, 246, 0.68)),
    var(--page-bg-image) center / cover;
  padding: 64px 0;
  border-bottom: 1px solid rgba(15, 89, 96, 0.08);
}
.page-hero.compact { padding: 48px 0; }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 24px;
  align-items: center;
}
.page-hero h1 { margin: 0 0 14px; font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -0.06em; line-height: 1; }
.page-hero .muted { max-width: 760px; font-size: 1.08rem; }
.lead { color: var(--muted-text); font-size: 1.1rem; line-height: 1.7; }
.hero-panel {
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 248, 232, 0.78);
  border: 1px solid rgba(15, 89, 96, 0.08);
  box-shadow: var(--shadow);
}

.section { padding: 70px 0; border-bottom: 1px solid rgba(15, 89, 96, 0.08); }
.section-soft { background: rgba(238, 247, 246, 0.72); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 78px;
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.82), rgba(238, 247, 246, 0.66)),
    var(--page-bg-image) center / cover;
  color: var(--teal);
  border-radius: 0 0 48px 48px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -110px;
  top: 62px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(247, 149, 22, 0.2), rgba(255, 192, 45, 0.1));
  border: 18px solid rgba(247, 149, 22, 0.08);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: center;
}
.hero-copy h1 {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: clamp(2.5rem, 6vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}
.hero-copy p { max-width: 680px; color: var(--muted-text); font-size: 1.15rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-card,
.hero-logo-card {
  background: rgba(10, 63, 70, 0.72);
  border: 1px solid rgba(15, 89, 96, 0.08);
  border-radius: 34px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.hero-card img,
.hero-logo-card img { width: 100%; display: block; }
.hero-card-note {
  display: grid;
  gap: 6px;
  margin: 16px 0;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 248, 232, 0.9);
  color: var(--teal);
}
.hero-card-note strong {
  font-weight: 700;
  line-height: 1.35;
}
.hero-card-note span {
  color: var(--muted-text);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.45;
}
.hero-bullets {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.hero-bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--teal);
  font-weight: 800;
}
.hero-bullets li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.8rem;
}
.eyebrow_small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(297px, 1fr));
  gap: 24px;
}
.machine-cards {
  grid-template-columns: repeat(auto-fit, minmax(297px, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 89, 96, 0.08);
}
.card img {
  width: 100%;
  height: 198px;
  object-fit: contain;
  background: rgba(255, 248, 232, 0.72);
}
.machine-cards .card img {
  height: 198px;
  object-fit: contain;
  padding: 10px;
}

.machine-gallery {
  position: relative;
  background: rgba(255, 248, 232, 0.72);
}
.machine-gallery-frame {
  position: relative;
  height: 198px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.machine-gallery-img {
  width: 100%;
  height: 198px;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  background: transparent;
}
.machine-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal);
  box-shadow: 0 2px 10px rgba(15, 89, 96, 0.15);
  z-index: 2;
}
.machine-gallery-arrow:hover {
  background: #fff;
}
.machine-gallery-prev { left: 8px; }
.machine-gallery-next { right: 8px; }
.machine-gallery-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 8px 10px 12px;
  flex-wrap: wrap;
}
.machine-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(23, 63, 68, 0.28);
  transition: background 0.15s ease, transform 0.15s ease;
}
.machine-gallery-dot.is-active {
  background: var(--teal);
  transform: scale(1.15);
}

#machines-grid article.card > img,
.machine-detail-gallery-host img,
#machines-grid .machine-gallery-img {
  cursor: zoom-in;
}

.machine-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.92);
  cursor: zoom-out;
}
.machine-image-lightbox.is-open {
  display: flex;
}
.machine-image-lightbox-img {
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}
.machine-image-lightbox-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--teal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  z-index: 1;
}
.machine-image-lightbox-close:hover {
  background: #fff;
}

.card .content { padding: 18px; }
.price { color: var(--orange); font-weight: 800; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 26px; }
.chips-subgroups { margin-top: -10px; }
.chip {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  background: rgba(234, 245, 243, 0.9);
  color: var(--teal);
  font-weight: 800;
}
.chip.active { background: var(--teal); color: #fff; }

.products-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  margin: 18px 0 8px;
}
.products-brand-filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: min(100%, 280px);
}
.products-brand-label {
  font-weight: 800;
  color: var(--teal);
  font-size: 0.92rem;
}
.products-brand-select {
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font: inherit;
  font-weight: 600;
}
.products-brand-select:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.products-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 8px 0 28px;
}
.products-pagination-info {
  font-weight: 700;
  color: var(--teal);
}
.products-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.product-card-placeholder {
  width: 100%;
  height: 198px;
  background: rgba(234, 245, 243, 0.9);
}
.product-card-media {
  cursor: pointer;
  display: block;
}
.product-card-media:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.product-card-media .machine-gallery-arrow,
.product-card-media .machine-gallery-dot {
  cursor: pointer;
}
.product-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}
.product-detail-tab {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  background: rgba(234, 245, 243, 0.9);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
}
.product-detail-tab.is-active {
  background: var(--teal);
  color: #fff;
}
.product-detail-tab-panel {
  display: none;
}
.product-detail-tab-panel.is-active {
  display: block;
}
.product-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.product-detail-modal.is-open {
  display: flex;
}
.product-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}
.product-detail-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 32px));
  max-height: min(92vh, 900px);
  overflow: auto;
  background: var(--paper);
  border-radius: 24px;
  padding: 20px 24px 24px;
  box-shadow: 0 24px 60px rgba(15, 89, 96, 0.2);
}
.product-detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  background: rgba(234, 245, 243, 0.95);
  color: var(--teal);
}
.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
  min-height: min(72vh, 640px);
}
.product-detail-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(68vh, 600px);
  background: rgba(255, 248, 232, 0.72);
  border-radius: 20px;
  overflow: hidden;
}
.product-detail-media .machine-gallery {
  width: 100%;
  height: 100%;
  min-height: min(68vh, 600px);
  background: transparent;
}
.product-detail-media .machine-gallery-frame {
  height: min(68vh, 600px);
  min-height: 360px;
}
.product-detail-media .machine-gallery-img {
  max-height: min(64vh, 560px);
  height: auto;
  width: 100%;
  object-fit: contain;
  cursor: default;
}
.product-detail-media > .machine-gallery-img {
  max-height: min(68vh, 600px);
  padding: 16px;
  box-sizing: border-box;
}
.product-detail-media-placeholder {
  width: 100%;
  min-height: min(68vh, 600px);
  background: rgba(234, 245, 243, 0.9);
}
.product-detail-info {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-top: 4px;
  padding-right: 36px;
}
.product-detail-title {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--teal);
}
.product-detail-tab-panels {
  flex: 1;
  overflow: auto;
  max-height: min(58vh, 520px);
  padding-right: 4px;
}
.product-detail-dl {
  display: grid;
  grid-template-columns: minmax(120px, 36%) 1fr;
  gap: 10px 14px;
  margin: 0;
}
.product-detail-dl dt {
  font-weight: 700;
  color: var(--teal);
  margin: 0;
  font-size: 0.92rem;
}
.product-detail-dl dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
}
@media (max-width: 860px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .product-detail-media {
    min-height: 280px;
  }
  .product-detail-media .machine-gallery,
  .product-detail-media .machine-gallery-frame {
    min-height: 280px;
    height: 280px;
  }
  .product-detail-info {
    padding-right: 0;
  }
  .product-detail-tab-panels {
    max-height: none;
  }
}

.layout-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.layout-2--leasing {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.leasing-points {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.leasing-points li {
  position: relative;
  margin: 0 0 0.65em;
  padding-left: 1.2em;
  line-height: 1.5;
}

.leasing-points li:last-child {
  margin-bottom: 0;
}

.leasing-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--teal);
}

/****** Slavik Adds ********/
.class_small_icon
{
  height:16px;
  width: 16px;
  margin-right: 8px;
}

/***************************/

.leasing-visual {
  position: relative;
  margin: 0;
  min-width: 0;
  min-height: 0;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(15, 89, 96, 0.07);
  overflow: hidden;
}

.leasing-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.ablauf-process-strip {
  margin: 22px 0 0;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(220, 232, 236, 0.55);
  border: 1px solid rgba(15, 89, 96, 0.1);
}
.box--automaten-panel .ablauf-process-strip {
  margin: 12px 0 18px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(220, 232, 236, 0.72);
}
.ablauf-process-strip img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

.cart-total-bar {
  margin-bottom: 16px;
  padding: 16px 14px 18px;
  border-radius: 20px;
  background: rgba(255, 248, 232, 0.92);
  border: 1px solid rgba(247, 149, 22, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  min-height: 88px;
}
.cart-total-bar .cart-total-label {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.85;
}
.cart-total-bar .cart-total-value {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  line-height: 1.05;
  color: var(--orange);
}
.cart-total-bar .cart-total-number {
  font-size: clamp(1.55rem, 4.2vw, 2.05rem);
  font-weight: 950;
  letter-spacing: -0.03em;
}
.cart-total-bar .cart-total-currency {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(23, 63, 68, 0.75);
}
.cart-total-bar .cart-total-hint {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(23, 63, 68, 0.65);
}
.cart-total-bar .cart-total-priceword {
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.box {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(15, 89, 96, 0.07);
}

/* Kontakt: формы в одном темном блоке как в макете */
.box--contact-forms {
  background: var(--teal);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(15, 55, 60, 0.24);
}

.box--contact-forms h2 {
  margin-top: 0;
  color: var(--orange);
}

.box--contact-forms .muted {
  color: rgba(255, 255, 255, 0.78);
}

.box--contact-forms label {
  color: rgba(255, 255, 255, 0.92);
}

.box--contact-forms input,
.box--contact-forms textarea,
.box--contact-forms select {
  background: #fff;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}

.box--contact-forms .checkbox-line a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
}

.contact-forms-sep {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 18px 0;
}

.box--contact-forms .option-group {
  margin: 10px 0 14px;
}

.box--contact-forms .option-group__label {
  font-weight: 700;
  margin: 2px 0 8px;
}

.box--contact-forms .option-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.box--contact-forms .option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.box--contact-forms .option-group__label {
  flex-basis: 100%;
}

/* Index „Wie es funktioniert?“ — rechte Spalte, dunkles Teal wie Layout-Vorlage */
.box--automaten-panel {
  background: #4a6d73;
  border-color: rgba(15, 55, 60, 0.45);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(15, 55, 60, 0.2);
}
.box--automaten-panel h3.automaten-panel-heading {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  letter-spacing: -0.04em;
  line-height: 1.25;
  color: inherit;
}
.box--automaten-panel .automaten-panel-heading__lede {
  color: #fff;
  font-weight: 800;
}
.box--automaten-panel .automaten-panel-heading__accent {
  color: var(--orange);
  font-weight: 800;
}
.box--automaten-panel > p:not(.muted) {
  color: rgba(255, 255, 255, 0.9);
}
.box--automaten-panel .muted {
  color: rgba(255, 255, 255, 0.72);
}
.box--automaten-panel .btn.ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: none;
}
.box--automaten-panel .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.box h2, .box h3, h1, h2, h3 { color: var(--teal); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -0.05em; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.benefit-card {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  padding: 22px;
  border-radius: 30px;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(15, 89, 96, 0.07);
}
.benefit-card::before {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(247, 149, 22, 0.12);
}
.vorteile-banner {
  margin: 32px 0 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 89, 96, 0.08);
  border: 1px solid var(--border);
}
.vorteile-banner img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}
.steps-list { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 20px;
  background: rgba(243, 251, 250, 0.86);
}
.steps-list li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
}

.advantage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 14px;
}
.advantage {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 248, 232, 0.84);
  border: 1px solid var(--border);
}
.advantage strong { color: var(--orange); }
.machine-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: center;
}
.machine-preview img {
  width: 100%;
  border-radius: 28px;
  background: rgba(255, 248, 232, 0.82);
  box-shadow: var(--shadow);
}
.machine-strip {
  padding: 34px;
  border-radius: 34px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 248, 232, 0.78)),
    var(--page-bg-image) center / cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.page-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.products-pdf-cta { margin: 14px 0 20px; }

/* Produkte page — all action buttons: dark green / white, hover orange / white */
body.page-produkte main .btn,
body.page-produkte main .chip,
body.page-produkte main .products-pagination button,
body.page-produkte #product-detail-modal button {
  background: var(--teal-dark);
  color: #fff;
  border: 1px solid var(--teal-dark);
  box-shadow: 0 12px 30px rgba(10, 63, 70, 0.18);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body.page-produkte main .btn.ghost,
body.page-produkte #products-grid .btn.ghost {
  background: var(--teal-dark);
  color: #fff;
  border-color: var(--teal-dark);
}

body.page-produkte #products-grid button.btn.ghost:hover,
body.page-produkte #products-grid button.btn.ghost:focus-visible {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 12px 30px rgba(247, 149, 22, 0.24);
}

body.page-produkte main .btn:hover,
body.page-produkte main .chip:hover,
body.page-produkte main .products-pagination button:not(:disabled):hover,
body.page-produkte #product-detail-modal button:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 12px 30px rgba(247, 149, 22, 0.24);
}

body.page-produkte main .chip.active,
body.page-produkte #product-detail-modal .product-detail-tab.is-active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

body.page-produkte main .products-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.page-produkte main .products-pagination button:disabled:hover {
  background: var(--teal-dark);
  color: #fff;
  border-color: var(--teal-dark);
  box-shadow: none;
}

body.page-produkte #product-detail-modal .machine-gallery-arrow,
body.page-produkte #products-grid .machine-gallery-arrow {
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 2px 10px rgba(10, 63, 70, 0.22);
}

body.page-produkte #product-detail-modal .machine-gallery-arrow:hover,
body.page-produkte #products-grid .machine-gallery-arrow:hover {
  background: var(--orange);
  color: #fff;
}

body.page-produkte #product-detail-modal .machine-gallery-dot,
body.page-produkte #products-grid .machine-gallery-dot {
  background: var(--teal-dark);
}

body.page-produkte #product-detail-modal .machine-gallery-dot:hover,
body.page-produkte #products-grid .machine-gallery-dot:hover {
  background: var(--orange);
}

body.page-produkte #product-detail-modal .machine-gallery-dot.is-active,
body.page-produkte #products-grid .machine-gallery-dot.is-active {
  background: var(--orange);
  transform: scale(1.15);
}

body.page-produkte #product-detail-modal .product-detail-close {
  background: var(--teal-dark);
  color: #fff;
}

body.page-produkte #product-detail-modal .product-detail-close:hover {
  background: var(--orange);
  color: #fff;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  font: inherit;
  margin-top: 6px;
  margin-bottom: 10px;
}

label.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
label.checkbox-line input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  flex-shrink: 0;
}

.muted { color: var(--muted-text); font-size: 0.95rem; line-height: 1.6; }

.footer {
  background: var(--teal);
  color: #e9fbf8;
  padding: 42px 0;
}
.footer a { color: #e9fbf8; }
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
}
/* Как в навбаре: тот же край контейнера и те же 96px / срез снизу */
.footer-brand {
  flex-shrink: 0;
  justify-self: start;
  align-self: center;
  margin-left: 0;
  line-height: 0;
}
.footer-logo-link {
  display: inline-block;
  line-height: 0;
}
.footer-logo {
  display: block;
  width: 96px;
  max-width: 30vw;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: top center;
}
.footer-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 28px;
  min-height: 48px;
  padding: 6px 8px;
}
.footer-meta {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(14px, 2.2vw, 28px);
  justify-self: end;
  justify-items: start;
  text-align: left;
  margin-left: auto;
  width: max-content;
  max-width: 100%;
}
.footer-meta .footer-col h3 {
  margin-top: 0;
  margin-bottom: 0.2em;
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.footer-meta .footer-col p {
  margin: 3px 0;
  font-size: clamp(0.65rem, 0.82vw, 0.74rem);
  line-height: 1.4;
  color: rgba(233, 251, 248, 0.92);
}
.footer-meta .footer-col a {
  font-size: clamp(0.65rem, 0.82vw, 0.74rem);
  line-height: 1.4;
}
.footer h3 { color: #fff; margin-top: 0; }
.footer p { margin: 7px 0; }

@media (min-width: 901px) {
  .footer-brand {
    width: 96px;
    max-width: 30vw;
    overflow: hidden;
    height: calc(min(96px, 30vw) - var(--logo-navbar-bottom-trim));
  }
  .footer-logo-link {
    display: block;
    width: 100%;
  }
  .footer-logo {
    width: 100%;
    max-width: none;
    height: auto;
  }
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 28px;
  }
  .footer-brand {
    justify-self: center;
    width: auto;
    max-width: none;
    height: auto;
    overflow: visible;
  }
  .footer-logo-link {
    display: inline-block;
    width: auto;
  }
  .footer-logo {
    width: 96px;
    max-width: 30vw;
  }
  .footer-meta {
    justify-self: center;
    margin-left: 0;
    width: 100%;
    max-width: 22rem;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-meta .footer-col {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .footer-meta {
    max-width: 100%;
  }
}

.cart-list { display: grid; gap: 12px; }
.cart-item { border: 1px solid var(--border); border-radius: 16px; padding: 12px; background: rgba(255, 248, 232, 0.86); }
.cart-clear-btn {
  width: 100%;
  justify-content: center;
  margin: 10px 0 12px;
}
.cart-item-media,
.cart-product-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
}
.cart-product-row {
  grid-template-columns: 72px 1fr auto;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.cart-product-row:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-thumb {
  width: 72px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 248, 232, 0.7);
}
.cart-product-main {
  display: grid;
  gap: 4px;
  min-width: 0;
  font-weight: 800;
  color: var(--teal);
}

.cart-entry {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.cart-entry:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-entry-title {
  font-weight: 900;
  color: var(--teal);
  margin: 0 0 8px;
}
.cart-entry-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
}
.cart-entry-meta {
  margin-top: 8px;
  display: grid;
  gap: 4px;
}
.cart-entry-price {
  font-weight: 950;
  color: var(--teal);
}
.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.82);
}
.quantity-control button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}
.quantity-control button:hover { background: var(--orange); }
.quantity-control strong { min-width: 24px; text-align: center; font-weight: 900; color: var(--teal); }
.small { font-size: 0.86rem; color: var(--muted-text); }

.machine-pitch {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  margin: 10px 0 12px;
}

/* Automaten-Details: шире контент, таблица без горизонтального скролла на типичных экранах */
.section-soft:has(.machine-details-table-wrap) .container {
  max-width: min(1480px, 100%);
}

.machine-details-table-wrap {
  overflow-x: visible;
  margin-top: 12px;
  -webkit-overflow-scrolling: touch;
}
.machine-details-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.machine-details-table th,
.machine-details-table td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  vertical-align: top;
  text-align: left;
}
.machine-details-table thead th {
  background: rgba(13, 107, 77, 0.08);
  font-weight: 600;
}
.machine-details-table .machine-detail-col-num {
  width: 2.5%;
  min-width: 2.25rem;
}
.machine-details-table .machine-detail-col-name {
  width: 14%;
  min-width: 220px;
  vertical-align: top;
}
.machine-details-table .machine-detail-gallery-host {
  margin-top: 10px;
  width: 100%;
  max-width: 280px;
}
.machine-details-table .machine-detail-gallery-host .machine-gallery {
  border-radius: 14px;
  overflow: hidden;
}
.machine-details-table .machine-detail-gallery-host .machine-gallery-frame {
  min-height: 198px;
}
.machine-details-table .machine-detail-gallery-host .machine-gallery-img {
  width: 100%;
  max-height: 198px;
  height: auto;
  object-fit: contain;
}
.machine-details-table .machine-detail-gallery-host > img:only-child {
  display: block;
  width: 100%;
  height: 198px;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  background: rgba(255, 248, 232, 0.72);
  border-radius: 14px;
}
.machine-details-table .detail-cell {
  white-space: pre-wrap;
  word-break: break-word;
}
.machine-details-table .machine-detail-col-product,
.machine-details-table .machine-detail-col-desc {
  min-width: 0;
  width: 28%;
}
.machine-details-table .machine-detail-col-summary {
  width: 30.5%;
  min-width: 0;
}
.machine-details-table .machine-spec-price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.machine-details-table .machine-spec-price-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.machine-details-table .machine-spec-price-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.machine-details-table .machine-spec-price-value .price-net-hint {
  font-size: 0.62em;
  font-weight: 600;
  color: var(--muted-text);
  margin-left: 0.15em;
}
.machine-details-table .machine-spec-lines {
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  white-space: pre;
  margin: 0;
  overflow-x: auto;
  max-width: 100%;
}
.machine-details-table .machine-spec-price-block + .machine-spec-lines {
  margin-top: 4px;
}
.machine-details-table tr.machine-detail-row {
  scroll-margin-top: 96px;
}
.machine-details-table tbody tr:target {
  background: rgba(13, 107, 77, 0.1);
  outline: 2px solid rgba(13, 107, 77, 0.35);
}

.status {
  display: inline-block;
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.86);
  color: var(--teal);
  padding: 5px 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.modal {
  width: min(640px, 100%);
  background: rgba(255, 248, 232, 0.94);
  border-radius: 18px;
  padding: 16px;
}

@media (min-width: 901px) {
  .navbar .row,
  .navbar .nav-shell {
    grid-template-columns: auto minmax(0, 1fr) auto;
    justify-items: stretch;
    align-items: end;
    column-gap: clamp(14px, 2.2vw, 28px);
    padding-bottom: 10px;
    padding-top: 10px;
    min-height: 0;
  }

  /*
   * Полный логотип (иконка + fit4business). Срезается только полоса *под* словами
   * (пустой фон / отступ в PNG), сверху ничего не отрезаем.
   */
  .navbar .logo {
    justify-self: start;
    grid-column: 1;
    align-self: end;
    display: block;
    line-height: 0;
    width: 96px;
    max-width: 30vw;
    overflow: hidden;
    flex-shrink: 0;
    height: calc(min(96px, 30vw) - var(--logo-navbar-bottom-trim));
  }

  .navbar .logo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: top center;
  }

  .navbar .nav-links {
    grid-column: 2;
    justify-self: start;
    align-self: end;
    align-items: flex-end;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
    min-width: 0;
    text-align: left;
    gap: clamp(8px, 1.05vw, 16px);
    padding-bottom: 0;
  }

  .navbar .nav-end {
    grid-column: 3;
    justify-self: end;
    align-self: end;
    flex-wrap: wrap;
    max-width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 72px; }

  .section { padding: 48px 0; }
  .page-hero { padding: 44px 0; }
  .page-hero.compact { padding: 36px 0; }
  .hero { padding: 56px 0 48px; }

  /* Kontakt (и др. compact hero): на мобильном — текст на всю ширину сверху, картинка снизу */
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
  }
  .page-hero-grid .lead {
    max-width: 100%;
  }

  .layout-2 { grid-template-columns: 1fr; }

  .layout-2--leasing .leasing-visual {
    min-height: min(52vw, 400px);
  }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo-card { max-width: 520px; }
  .machine-preview { grid-template-columns: 1fr; }

  .navbar .row,
  .navbar .nav-shell {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 0;
    padding-bottom: 14px;
  }

  .navbar .nav-links {
    position: static;
    transform: none;
    max-width: 100%;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    order: 2;
  }

  .navbar .logo { order: 1; }

  /* Логотип в мобильной шапке — слева, а не по центру строки */
  .navbar .nav-shell .logo,
  .navbar .row .logo {
    justify-self: start;
  }

  /* automaten-details: вместо сжатых колонок — блоки друг под другом: №/имя → фото → Produktdetails → … */
  .section-soft:has(.machine-details-table-wrap) .container {
    max-width: 100%;
  }

  .machine-details-table-wrap {
    overflow-x: visible;
    margin-top: 8px;
  }

  .machine-details-table {
    display: block;
    width: 100%;
    border: 0;
    font-size: 0.95rem;
    table-layout: auto;
  }

  .machine-details-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .machine-details-table tbody {
    display: block;
  }

  .machine-details-table tr.machine-detail-row {
    display: block;
    margin-bottom: 1.15rem;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: var(--paper);
    border: 1px solid var(--border);
    box-shadow: 0 14px 36px rgba(15, 89, 96, 0.08);
    scroll-margin-top: 84px;
  }

  .machine-details-table tr.machine-detail-row > td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: none !important;
    padding: 0.75rem 0 !important;
  }

  .machine-details-table tr.machine-detail-row > td:not(:last-child) {
    border-bottom: 1px solid rgba(15, 89, 96, 0.12) !important;
  }

  .machine-details-table .machine-detail-col-num {
    width: auto;
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--orange);
    padding-top: 0 !important;
    padding-bottom: 0.35rem !important;
  }

  .machine-details-table .machine-detail-col-name {
    width: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--teal);
    padding-top: 0.25rem !important;
  }

  .machine-details-table .machine-detail-col-name > .machine-detail-gallery-host {
    order: 1;
  }

  .machine-details-table .machine-detail-col-name > strong {
    order: 2;
  }

  .machine-details-table .machine-detail-col-product::before,
  .machine-details-table .machine-detail-col-desc::before,
  .machine-details-table .machine-detail-col-summary::before {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.45rem;
    line-height: 1.2;
  }

  .machine-details-table .machine-detail-col-product::before {
    content: "Produktdetails";
  }

  .machine-details-table .machine-detail-col-desc::before {
    content: "Zusätzliche Beschreibung";
  }

  .machine-details-table .machine-detail-col-summary::before {
    content: "Technische Übersicht";
  }

  .machine-details-table td.machine-detail-col-desc:empty {
    display: none !important;
  }

  .machine-details-table .machine-spec-lines {
    white-space: pre-wrap;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .machine-details-table .machine-detail-gallery-host > img:only-child {
    height: auto;
    min-height: 140px;
    max-height: 280px;
  }

  .navbar .nav-end {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .cart-product-row { grid-template-columns: 58px 1fr; }
  .cart-product-row .quantity-control { grid-column: 2; justify-self: start; }
  .cart-thumb { width: 58px; height: 50px; }
  
}
