.cookie-banner-visible {
  padding-bottom: 132px;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  background: rgba(245, 242, 238, 0.96);
  border: 1px solid rgba(184, 148, 90, 0.28);
  box-shadow: 0 20px 50px rgba(26, 23, 20, 0.14);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__text {
  margin: 0;
  max-width: 760px;
  color: var(--ink, #1a1714);
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
}

.cookie-banner__button {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  border: 1px solid transparent;
  background: var(--ink, #1a1714);
  color: var(--stone, #f5f2ee);
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 20px;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.cookie-banner__button:hover,
.cookie-banner__button:focus-visible {
  background: var(--gold, #b8945a);
  border-color: var(--gold, #b8945a);
  color: var(--white, #ffffff);
  outline: none;
}

.cookie-banner__button:focus-visible {
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .cookie-banner-visible {
    padding-bottom: 170px;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 14px;
  }

  .cookie-banner__text {
    font-size: 13px;
  }

  .cookie-banner__button {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }
}
