@charset "UTF-8";
/* =====================================================================
   Desktop mega-menu + mobile accordion for the WP-rendered header.
   Ported from mdmnext src/components/Header/Navigation.module.css
   (pixel-matched to Figma: Uhren 4543:1754, Portrait 4446:6730, Bänder 4545:1856).
   Markup is emitted by includes/mega-menu.php.
   ===================================================================== */
/* ---------- Desktop ---------- */
.mdm-mm__list {
  position: static; /* panels are position:fixed, so this can stay as the flex row */
}

.mdm-mm__item {
  position: relative;
}

.mdm-mm__top {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  color: #000;
  transition: color 0.15s ease;
}

.mdm-mm__item:hover > .mdm-mm__top,
.mdm-mm__item:focus-within > .mdm-mm__top {
  color: rgba(0, 0, 0, 0.5);
}

.mdm-mm__caret {
  flex: none;
  margin-bottom: 1px;
  transition: transform 0.2s ease;
}

.mdm-mm__item--mega:hover > .mdm-mm__top .mdm-mm__caret,
.mdm-mm__item--mega:focus-within > .mdm-mm__top .mdm-mm__caret {
  transform: rotate(180deg);
}

/* Mega panel — Figma spans x:343→1250 of 1512 ≈ left 22.7% / right 17.3%.
   position:fixed so it spans the full-width fixed header regardless of the
   narrow .header-menu container it lives in. */
.mdm-mm__panel {
  position: fixed;
  top: 50px; /* header height */
  left: 22.7%;
  right: 17.3%;
  background: #ededed;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.mdm-mm__item--mega:hover > .mdm-mm__panel,
.mdm-mm__item--mega:focus-within > .mdm-mm__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mdm-mm__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 6px;
  row-gap: 14px;
  padding: 6px;
}

.mdm-mm__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #000;
  text-decoration: none;
}

.mdm-mm__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 219.25/231;
  background: #f1f1f1;
  overflow: hidden;
}

.mdm-mm__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mdm-mm__media--text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 12px;
  background: #fff;
}

.mdm-mm__textlink {
  font-size: 14px;
  line-height: 20px;
  color: #000;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}

.mdm-mm__textlink:hover {
  text-decoration: underline;
}

.mdm-mm__label {
  display: flex;
  align-self: flex-start;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-transform: uppercase;
  color: #000;
  text-align: left;
  white-space: nowrap;
  text-decoration: none;
}

/* ---------- Mobile accordion (inside the hamburger drawer) ---------- */
.mdm-mmm__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.mdm-mmm__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mdm-mmm__link {
  display: block;
  padding: 12px 0;
  font-size: 18px;
  color: #000;
  text-decoration: none;
  flex: 1 1 auto;
}

.mdm-mmm__toggle {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.mdm-mmm__toggle::before,
.mdm-mmm__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #000;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.mdm-mmm__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.mdm-mmm__item.is-open > .mdm-mmm__row .mdm-mmm__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.mdm-mmm__sub {
  display: none;
}

.mdm-mmm__item.is-open > .mdm-mmm__sub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 6px 0 16px;
}

.mdm-mmm__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #000;
  text-decoration: none;
}

.mdm-mmm__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 219.25/231;
  background: #f1f1f1;
  overflow: hidden;
}

.mdm-mmm__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mdm-mmm__cardlabel {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

.mdm-mmm__group {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mdm-mmm__grouplabel {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0.6;
}

.mdm-mmm__sublink {
  grid-column: 1/-1;
  font-size: 15px;
  color: #000;
  text-decoration: none;
  padding: 2px 0;
}

/*# sourceMappingURL=mega-menu.css.map */
