



[data-mm-header] { position: relative; }

[data-mm-toggle] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

[data-mm-toggle] span {
  display: block;
  width: 24px;
  height: 2px;
  background: #042f2e;
  transition: 0.3s ease;
}

[data-mm-menu] {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1100;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  padding: 60px 24px 24px;
}

[data-mm-menu].mm-open { transform: translateX(0); }

[data-mm-menu] ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

[data-mm-menu] ul li a {
  display: block;
  padding: 14px 0;
  color: #042f2e;
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid rgba(4, 47, 46, 0.08);
  transition: color 0.3s ease;
}

[data-mm-menu] ul li a:hover { color: #0f766e; }

[data-mm-close] {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #042f2e;
  padding: 4px 8px;
}

[data-mm-overlay] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 47, 46, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1050;
}

[data-mm-overlay].mm-visible {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  [data-mm-toggle] { display: none !important; }
  [data-mm-menu] {
    position: static !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    background: transparent !important;
    transform: none !important;
    padding: 0 !important;
    overflow: visible !important;
    flex-direction: row !important;
  }
  [data-mm-menu] ul {
    flex-direction: row;
    gap: 0;
    align-items: center;
  }
  [data-mm-menu] ul li a {
    padding: 8px 16px;
    border-bottom: none;
    font-size: inherit;
  }
  [data-mm-close] { display: none !important; }
  [data-mm-overlay] { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  [data-mm-menu],
  [data-mm-overlay],
  [data-mm-toggle] span { transition: none !important; }
}



.cookie-banner {
  position: fixed;
  left: 1em;
  right: 1em;
  bottom: 1em;
  z-index: 1200;
  background: #ffffff;
  color: #042f2e;
  border: 1px solid #ccfbf1;
  border-radius: 0.5em;
  box-shadow: 0 12px 40px rgba(4, 47, 46, 0.22);
  padding: 1.5em;
  max-width: 46em;
  margin: 0 auto;
  transform: translateY(140%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}

.cookie-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25em;
  margin: 0 0 0.5em;
}

.cookie-text {
  font-size: 0.95em;
  color: #334e4c;
  margin: 0 0 1em;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
}

.cookie-button {
  border: 1px solid #0d9488;
  border-radius: 0.5em;
  padding: 0.7em 1.4em;
  cursor: pointer;
  font-weight: 600;
  background: #ffffff;
  color: #0f766e;
}

.cookie-button:hover { background: #f0fdfa; }

.cookie-button.is-solid {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
}

.cookie-button.is-solid:hover { background: #115e59; }

.cookie-panel {
  display: none;
  padding: 1em 0 0;
  margin: 1em 0 0;
  border-top: 1px solid #ccfbf1;
}

.cookie-row {
  display: flex;
  gap: 1em;
  padding: 0.75em 0;
  border-bottom: 1px solid #f0fdfa;
}

.cookie-row p {
  margin: 0;
  font-size: 0.85em;
}

.cookie-row h4 { margin: 0 0 0.25em; }

.cookie-settings-link {
  background: none;
  border: none;
  padding: 0;
  color: #ccfbf1;
  cursor: pointer;
  font-size: 1em;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .cookie-banner { padding: 1.25em; }
  .cookie-actions .cookie-button { width: 100%; }
}
