.cookie-consent {
  position: fixed;
  z-index: 100000;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 22px 20px 26px;
  box-sizing: border-box;
  color: #936337;
  background: #eec980;
  border: 3px solid #a06f3d;
  border-radius: 20px;
  box-shadow:
    0 10px 0 #93633740,
    0 20px 42px #93633740;
  font-family: "TildaSans", Arial, sans-serif;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

.cookie-consent--visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-consent__text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.cookie-consent__link {
  color: #ef523d;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookie-consent__link:hover,
.cookie-consent__link:focus-visible {
  color: #936337;
}

.cookie-consent__button {
  flex: 0 0 auto;
  min-width: 150px;
  min-height: 50px;
  padding: 13px 26px;
  color: #ffffff;
  background: #ef523d;
  border: 0;
  border-bottom: 4px solid #936337;
  border-radius: 13px;
  box-sizing: border-box;
  cursor: pointer;
  font: 700 16px/1.2 "TildaSans", Arial, sans-serif;
  transition:
    background-color 150ms ease,
    transform 150ms ease,
    border-color 150ms ease;
}

.cookie-consent__button:hover {
  transform: translateY(-1px);
}

.cookie-consent__button:active {
  border-bottom-width: 2px;
  transform: translateY(2px);
}

.cookie-consent__button:focus-visible {
  outline: 3px solid #936337;
  outline-offset: 3px;
}

@media screen and (max-width: 720px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: block;
    width: calc(100% - 24px);
    padding: 17px;
    border-width: 2px;
    border-radius: 16px;
  }

  .cookie-consent__text {
    font-size: 13px;
    line-height: 1.4;
  }

  .cookie-consent__button {
    width: 100%;
    min-height: 48px;
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent,
  .cookie-consent__button {
    transition: none;
  }
}
