.cookie-consent-banner {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 1200;
  width: min(calc(100% - 72px), 980px);
  transform: translateX(-50%);
  border-radius: 20px;
  border: 1px solid rgba(96, 64, 24, 0.14);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96) 0%, rgba(245, 233, 209, 0.94) 100%);
  box-shadow: 0 16px 48px rgba(20, 14, 8, 0.2);
  backdrop-filter: blur(14px);
}

.cookie-consent-banner.hidden {
  display: none;
}

.cookie-consent-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: 18px;
  align-items: center;
  padding: 10px 12px;
}

.cookie-consent-copy {
  display: grid;
  gap: 5px;
}

.cookie-consent-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(36, 23, 13, 0.08);
  color: rgba(36, 23, 13, 0.78);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cookie-consent-title {
  margin: 0;
  color: #24170d;
  font-size: clamp(0.84rem, 0.92vw, 0.96rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.cookie-consent-text {
  margin: 0;
  max-width: none;
  width: 100%;
  color: rgba(53, 38, 21, 0.82);
  font-size: 0.74rem;
  line-height: 1.32;
}

.cookie-consent-text a,
.cookie-consent-manage {
  color: #7b5015;
  font-weight: 800;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  justify-content: end;
  justify-items: stretch;
  align-items: center;
  gap: 8px 8px;
  min-width: 320px;
}

.cookie-consent-btn {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.cookie-consent-btn:hover,
.cookie-consent-btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.cookie-consent-btn-primary {
  color: #fff9ef;
  background: linear-gradient(135deg, #1f8f59 0%, #13623b 100%);
  box-shadow: 0 10px 24px rgba(18, 74, 46, 0.2);
}

.cookie-consent-btn-secondary {
  color: #24170d;
  background: rgba(36, 23, 13, 0.08);
  border: 1px solid rgba(36, 23, 13, 0.1);
}

.cookie-consent-manage {
  grid-column: 1 / -1;
  justify-self: center;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.74rem;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .cookie-consent-banner {
    bottom: 8px;
    width: min(calc(100% - 16px), 1120px);
    border-radius: 18px;
  }

  .cookie-consent-inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    align-items: start;
    gap: 12px;
    padding: 12px 13px;
  }
}

@media (max-width: 720px) {
  .cookie-consent-inner {
    grid-template-columns: 1fr;
  }

  .cookie-consent-actions {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .cookie-consent-btn {
    width: 100%;
  }

  .cookie-consent-manage {
    grid-column: 1 / -1;
    justify-self: center;
  }
}
