.m4l-cookie-banner {
  --m4l-ink: #1a1a1a;
  --m4l-cream: #faf8f5;
  --m4l-gold: #b8976a;
  --m4l-gold-light: #d4b896;
  position: fixed;
  z-index: 10000;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 max(1rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  pointer-events: none;
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.m4l-cookie-banner.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.m4l-cookie-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(26, 26, 26, 0.96);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(184, 151, 106, 0.35);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(14px);
  font-family: 'Jost', sans-serif;
}

.m4l-cookie-copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.m4l-cookie-title {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--m4l-gold-light);
}

.m4l-cookie-desc {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 40rem;
}

.m4l-cookie-link {
  color: var(--m4l-gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.m4l-cookie-link:hover {
  color: #fff;
}

.m4l-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.m4l-cookie-btn {
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.7rem 1.25rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.m4l-cookie-btn:active {
  transform: scale(0.98);
}

.m4l-cookie-btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.m4l-cookie-btn--ghost:hover {
  border-color: var(--m4l-gold);
  color: #fff;
}

.m4l-cookie-btn--primary {
  background: var(--m4l-gold);
  color: var(--m4l-ink);
}

.m4l-cookie-btn--primary:hover {
  background: var(--m4l-gold-light);
}

@media (max-width: 640px) {
  .m4l-cookie-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 1.1rem 1.15rem;
  }

  .m4l-cookie-actions {
    width: 100%;
  }

  .m4l-cookie-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
