.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  padding: 0.75rem;
}

.cookie-consent__panel {
  max-width: 32rem;
  margin: 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 14px -8px rgba(0, 0, 0, 0.2);
  padding: 0.85rem;
  color: #1f2937;
}

.cookie-consent__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.cookie-consent__text {
  margin: 0.4rem 0 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.cookie-btn {
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 0.5rem 0.82rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-btn--primary {
  background: #8f5a16;
  color: #ffffff;
}

.cookie-btn--primary:hover {
  background: #74480f;
}

.cookie-btn--light {
  background: #f3f4f6;
  color: #111827;
  border-color: #e5e7eb;
}

.cookie-btn--light:hover {
  background: #e5e7eb;
}

.cookie-btn--dark {
  background: #2e3a59;
  color: #ffffff;
}

.cookie-btn--dark:hover {
  background: #1e2b47;
}

.cookie-link-btn {
  border: 0;
  background: transparent;
  color: #2e3a59;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  padding: 0.45rem 0.2rem;
}

.cookie-link-btn:hover {
  color: #1e2b47;
}

.cookie-settings {
  margin-top: 0.8rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
}

.cookie-toggle input {
  width: 1rem;
  height: 1rem;
}

.cookie-toggle--disabled {
  opacity: 0.8;
}

@media (max-width: 639px) {
  .cookie-consent {
    padding: 0;
  }

  .cookie-consent__panel {
    max-width: none;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 1rem 1rem 0 0;
    padding: 0.95rem 0.95rem 1rem;
  }

  .cookie-consent__actions {
    flex-direction: column;
  }

  .cookie-btn,
  .cookie-link-btn {
    width: 100%;
    text-align: center;
  }
}
