/* Cookie consent — bottom-left card (not centered modal) */
.cookie-consent {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 10000;
  width: min(340px, calc(100vw - 32px));
  padding: 14px 14px 12px;
  border-radius: 10px;
  background: var(--panel-bg, #fff);
  color: var(--text-color, #776e65);
  border: 1px solid var(--panel-border, rgba(119, 110, 101, 0.18));
  box-shadow: var(--panel-shadow, 0 12px 40px rgba(60, 50, 40, 0.18));
  font-size: 13px;
  line-height: 1.45;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-consent-title {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.cookie-consent p {
  margin: 0 0 10px;
}

.cookie-consent a {
  color: inherit;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-consent-actions button {
  appearance: none;
  border: 0;
  border-radius: 6px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
}

.cookie-consent-accept {
  background: var(--button-bg, #8f7a66);
  color: var(--button-text, #f9f6f2);
}

.cookie-consent-reject {
  background: transparent;
  color: inherit;
  border: 1px solid var(--panel-border, rgba(119, 110, 101, 0.35)) !important;
}

.cookie-consent-accept:hover,
.cookie-consent-reject:hover {
  filter: brightness(1.06);
}

.cookie-settings-link {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 520px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}
