/* MAN Print & Sign — megamenu-content
   Scoped op .mps-mm zodat het losstaat van Amasty-versies en Hyvä-updates. */

:root {
  --mps-navy: #04043A;
  --mps-navy-lift: #12124F;
  --mps-orange: #E24E1B;
  --mps-ink: #1A1A2E;
  --mps-grey: #6E6E82;
  --mps-line: #E3E4EA;
  --mps-surface: #F5F6F8;
}

.mps-mm {
  font-family: "Avenir", "Avenir Next", -apple-system, "Segoe UI", sans-serif;
  color: var(--mps-ink);
  max-width: 1360px;
  margin: 0 auto;
  padding: 34px 40px 0;
  line-height: 1.5;
}
.mps-mm a { text-decoration: none; color: inherit; }
.mps-mm a:focus-visible { outline: 2px solid var(--mps-orange); outline-offset: 3px; }

.mps-mm__cols {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.6fr;
  gap: 44px;
  padding-bottom: 30px;
}

.mps-mm__head {
  font-family: "Koppen", "Avenir", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--mps-navy);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mps-line);
}

.mps-mm__list { list-style: none; margin: 0; padding: 0; }
.mps-mm__list li + li { margin-top: 2px; }
.mps-mm__list a {
  display: block;
  padding: 6px 10px 6px 12px;
  margin-left: -12px;
  font-size: 15px;
  color: var(--mps-ink);
  border-left: 2px solid transparent;
  transition: border-color .12s ease, color .12s ease;
}
.mps-mm__list a:hover { color: var(--mps-navy); border-left-color: var(--mps-orange); }

.mps-mm__tag {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--mps-orange);
}

.mps-mm__promo {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
  background: var(--mps-navy);
  color: #fff;
  padding: 22px 26px;
  height: 100%;
  transition: background .15s ease;
}
.mps-mm__promo:hover { background: var(--mps-navy-lift); }
.mps-mm__promo img { width: 100%; height: auto; display: block; background: #fff; }
.mps-mm__promo-title {
  display: block;
  font-family: "Koppen", "Avenir", sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.mps-mm__promo-text { display: block; font-size: 14px; color: #C7C8D8; max-width: 46ch; }
.mps-mm__promo-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mps-orange);
  border-bottom: 1px solid var(--mps-orange);
  padding-bottom: 2px;
}

.mps-mm__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  border-top: 1px solid var(--mps-line);
  margin: 0 -40px;
  padding: 15px 40px;
  background: var(--mps-surface);
  font-size: 13.5px;
  color: var(--mps-grey);
}
.mps-mm__bar strong { color: var(--mps-ink); font-weight: 600; }
.mps-mm__bar a { color: var(--mps-navy); font-weight: 600; }
.mps-mm__bar a:hover { color: var(--mps-orange); }

.mps-mm--machines { background: var(--mps-navy); color: #fff; max-width: none; padding: 34px 0 0; }
.mps-mm--machines .mps-mm__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
}
.mps-mm__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-bottom: 34px; }
.mps-mm__tile {
  display: block;
  background: #0B0B4B;
  padding: 16px 16px 18px;
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color .15s ease, background .15s ease;
}
.mps-mm__tile:hover { background: var(--mps-navy-lift); border-color: var(--mps-orange); }
.mps-mm__tile-img { display: block; background: #fff; aspect-ratio: 4 / 3; margin-bottom: 14px; overflow: hidden; }
.mps-mm__tile-img img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.mps-mm__tile-name {
  display: block;
  font-family: "Koppen", "Avenir", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.mps-mm__tile-meta { display: block; font-size: 12.5px; color: #A9AACB; margin-top: 3px; }

.mps-mm__aside { border-left: 1px solid rgba(255,255,255,.14); padding: 4px 0 34px 34px; }
.mps-mm__aside-title {
  font-family: "Koppen", "Avenir", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.25;
}
.mps-mm__aside-text { font-size: 14px; color: #C7C8D8; margin: 0 0 20px; }
.mps-mm__cta {
  display: inline-block;
  background: var(--mps-orange);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 22px;
  transition: background .15s ease;
}
.mps-mm__cta:hover { background: #C8410F; }
.mps-mm__aside-alt { display: block; margin-top: 16px; font-size: 13.5px; color: #A9AACB; }
.mps-mm__aside-alt a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); }

.mps-mm--content .mps-mm__cols { grid-template-columns: repeat(3, 1fr); }
.mps-mm__card { display: block; border: 1px solid var(--mps-line); padding: 20px; height: 100%; transition: border-color .15s ease; }
.mps-mm__card:hover { border-color: var(--mps-navy); }
.mps-mm__card-title {
  display: block;
  font-family: "Koppen", "Avenir", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--mps-navy);
  margin-bottom: 6px;
}
.mps-mm__card-text { display: block; font-size: 14px; color: var(--mps-grey); margin-bottom: 14px; }

@media (max-width: 1100px) {
  .mps-mm { padding: 22px 20px 0; }
  .mps-mm__cols { grid-template-columns: 1fr; gap: 26px; }
  .mps-mm--machines .mps-mm__inner { grid-template-columns: 1fr; gap: 26px; padding: 0 20px; }
  .mps-mm__tiles { grid-template-columns: repeat(2, 1fr); padding-bottom: 20px; }
  .mps-mm__aside { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 28px; }
  .mps-mm__promo { grid-template-columns: 110px 1fr; }
  .mps-mm__bar { margin: 0 -20px; padding: 14px 20px; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .mps-mm * { transition: none !important; }
}

/* =========================================================
   HEADER — MAN Print & Sign
   Witte, sticky header. Alle oude hacks die het logo probeerden
   te verplaatsen zijn verwijderd; dat is nu in header.phtml opgelost.
   ========================================================= */

/* Logo begrenzen zodat de balk compact blijft */
.mps-header__logo img { max-height: 52px; width: auto; display: block; }
.mps-header__mobile-logo img { max-height: 36px; width: auto; display: block; }

/* Zoekveld: geen dubbele focusring */
.mps-header [type="search"]:focus { box-shadow: none; border-color: var(--mps-navy); }

/* Amasty megamenu binnen de witte balk */
.mps-header__nav { background: #fff; }
.mps-header__nav a { text-transform: none; }

/* Dropdownpaneel altijd dekkend wit */
.mps-header [class*="ammenu-submenu"],
.mps-header [class*="am-submenu"],
.mps-header .amasty-megamenu-list { background: #fff !important; opacity: 1 !important; }

/* Tekstkleuren binnen het megamenu-paneel (.mps-mm blijft leidend) */
.mps-header .mps-mm a { color: var(--mps-ink); }
.mps-header .mps-mm__head,
.mps-header .mps-mm__card-title { color: var(--mps-navy); }
.mps-header .mps-mm__promo a,
.mps-header .mps-mm--machines a { color: #fff; }
.mps-header .mps-mm__promo-link,
.mps-header .mps-mm__bar a { color: var(--mps-orange); }

/* Sticky header mag niet onder het megamenu-paneel vallen */
.mps-header { isolation: isolate; }

.mps-header__logo a{display:block;line-height:0}
.mps-header__logo img{max-height:56px!important;width:auto!important;height:auto!important}
.mps-header__mobile-logo img{max-height:34px!important;width:auto!important;height:auto!important}

.ammenu-header-container.page-header{position:sticky!important;top:0;z-index:40;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.08)}
#header.mps-header{position:static!important;box-shadow:none}

.mps-topbar__links a{color:#fff!important}
.mps-topbar__links a:hover{color:#E24E1B!important}

/* Productkaarten */
.product-item button[title^="Bestelling"]{background:#E24E1B!important;color:#fff!important;border:1px solid #E24E1B!important}
.product-item button[title^="Bestelling"]:hover{background:#B63F16!important;border-color:#B63F16!important}
.product-item button[title^="Toevoegen aan offerte"]{background:#fff!important;color:#04043A!important;border:1px solid #04043A!important}
.product-item button[title^="Toevoegen aan offerte"]:hover{background:#04043A!important;color:#fff!important}
.product-item .price-label{color:#6E6E82;font-size:12px}

/* Bestelknop op productkaarten, nieuw label */
.product-item button[title^="In winkelwagen"]{background:#E24E1B!important;color:#fff!important;border:1px solid #E24E1B!important}
.product-item button[title^="In winkelwagen"]:hover{background:#B63F16!important;border-color:#B63F16!important}
