html.has-cookie-banner body {
  padding-bottom: var(--cookie-banner-offset, 0px);
}

#cookie-consent-banner.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 14px clamp(14px, 4vw, 18px);
  background: linear-gradient(135deg, #e84393, #fd79a8);
  color: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: Fredoka, ui-sans-serif, system-ui, sans-serif;
}

#cookie-consent-banner.cookie-banner-visible {
  transform: translateY(0);
}

#cookie-consent-banner .cookie-banner-content {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

#cookie-consent-banner .cookie-banner-text {
  flex: 1;
  min-width: 0;
}

#cookie-consent-banner .cookie-banner-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  font-family: Fredoka, ui-sans-serif, system-ui, sans-serif;
}

#cookie-consent-banner .cookie-banner-description {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #fff;
  opacity: 0.92;
  font-family: Fredoka, ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
}

#cookie-consent-banner .cookie-banner-link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#cookie-consent-banner .cookie-banner-link:hover {
  opacity: 0.85;
}

#cookie-consent-banner .cookie-banner-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

#cookie-consent-banner .cookie-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-family: Fredoka, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
  white-space: nowrap;
}

#cookie-consent-banner .cookie-btn-decline {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

#cookie-consent-banner .cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.3);
}

#cookie-consent-banner .cookie-btn-accept {
  background: #fff;
  color: #e84393;
  border: 1px solid #fff;
}

#cookie-consent-banner .cookie-btn-accept:hover {
  background: #fff7fb;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  #cookie-consent-banner.cookie-banner {
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  #cookie-consent-banner .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  #cookie-consent-banner .cookie-banner-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #cookie-consent-banner .cookie-btn {
    width: 100%;
    min-height: 44px;
  }
}
