/* Cookie consent — standalone from CMS / backend */
.kangoo-cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

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

.kangoo-cookie-consent[hidden] {
  display: none !important;
}

.kangoo-cookie-consent__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 24px;
  padding: 22px 24px;
  background: var(--kangoo-navy, #112B44);
  color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(17, 43, 68, 0.35);
  border-left: 4px solid var(--kangoo-lime, #CBF23D);
}

.kangoo-cookie-consent__content {
  flex: 1 1 280px;
  min-width: 0;
}

.kangoo-cookie-consent__title {
  margin: 0 0 10px;
  font-family: "Rubik", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
}

.kangoo-cookie-consent__text {
  margin: 0 0 8px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.kangoo-cookie-consent__text:last-of-type {
  margin-bottom: 0;
}

.kangoo-cookie-consent__links {
  margin: 12px 0 0;
  font-size: 14px;
}

.kangoo-cookie-consent__links a {
  color: var(--kangoo-lime, #CBF23D);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.kangoo-cookie-consent__links a:hover,
.kangoo-cookie-consent__links a:focus {
  color: #18BFC0;
}

.kangoo-cookie-consent__actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  justify-content: flex-end;
}

.kangoo-cookie-consent__btn {
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  padding: 12px 20px;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.kangoo-cookie-consent__btn:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.kangoo-cookie-consent__btn--primary {
  background: var(--kangoo-orange, #FF5A24);
  color: #112B44;
  border-color: var(--kangoo-orange, #FF5A24);
}

.kangoo-cookie-consent__btn--primary:hover {
  background: #E04818;
  border-color: #E04818;
  color: #FFFFFF;
}

.kangoo-cookie-consent__btn--secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.kangoo-cookie-consent__btn--secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

body.kangoo-cookie-banner-open {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 767px) {
  .kangoo-cookie-consent {
    padding: 12px;
  }

  .kangoo-cookie-consent__inner {
    padding: 18px 16px;
  }

  .kangoo-cookie-consent__actions {
    width: 100%;
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .kangoo-cookie-consent__btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kangoo-cookie-consent {
    transition: none;
  }
}
