.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px;
  pointer-events: none;
}

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

.cookie-consent-inner {
  pointer-events: auto;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border, #e8e0e4);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(74, 18, 40, 0.12);
}

.cookie-consent-text {
  flex: 1 1 240px;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted, #5c4a52);
}

.cookie-consent-text a {
  color: var(--primary, #6b1d3a);
  font-weight: 600;
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-consent-actions .btn {
  white-space: nowrap;
}

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

  .cookie-consent-inner {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 8px 12px;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
    box-shadow: 0 -4px 16px rgba(74, 18, 40, 0.08);
  }

  .cookie-consent-text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.6875rem;
    line-height: 1.3;
  }

  .cookie-consent-actions .btn-primary {
    min-height: 32px;
    padding: 5px 12px;
    font-size: 0.6875rem;
    border-radius: 999px;
  }
}

@media (max-width: 380px) {
  .cookie-consent-text {
    font-size: 0.625rem;
  }
}
