.cookieBanner {
  position: fixed;
  z-index: 10000;
  left: 20px;
  right: 20px;
  bottom: 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid #d8cfbe;
  border-radius: 16px;
  background: #fff;
  color: #2b2b2b;
  box-shadow: 0 20px 60px rgba(18, 24, 30, .22);
}

.cookieBanner[hidden],
.cookieModal[hidden] {
  display: none !important
}

.cookieBanner h2,
.cookieModal h2 {
  margin: 0 0 8px;
  font-size: 24px;
  text-align: left !important
}

.cookieBanner p,
.cookieChoice p {
  margin: 0;
  line-height: 1.55;
  text-align: left !important
}

.cookieBanner a {
  color: #8d6f12;
  font-weight: 800
}

.cookieBanner__actions,
.cookieModal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end
}

.cookieBtn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid #d8cfbe;
  font-weight: 800;
  cursor: pointer
}

.cookieBtn--primary {
  background: linear-gradient(135deg, #f0c84b, #d4af37);
  color: #1f332d;
  border-color: #d4af37
}

.cookieBtn--secondary {
  background: #fff;
  color: #2b2b2b
}

.cookieModal {
  position: fixed;
  z-index: 10001;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(18, 24, 30, .62)
}

.cookieModal__panel {
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 26px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28)
}

.cookieChoice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #e7e2d7;
  text-align: left !important
}

.cookieChoice strong {
  display: block;
  margin-bottom: 4px;
  text-align: left !important
}

.cookieChoice>span {
  white-space: nowrap;
  color: #6b6b6b;
  font-size: 14px;
  font-weight: 800
}

.cookieChoice input {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  accent-color: #b8962e
}

.cookieMediaPlaceholder {
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #f8f4eb;
  color: #444;
  text-align: center !important
}

.cookieMediaPlaceholder[hidden] {
  display: none !important
}

.cookieMediaPlaceholder p {
  max-width: 420px;
  margin: 0;
  text-align: center !important
}

@media(max-width:760px) {
  .cookieBanner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 18px;
    align-items: stretch;
    flex-direction: column
  }

  .cookieBanner__actions {
    display: grid;
    grid-template-columns: 1fr
  }

  .cookieBtn {
    width: 100%
  }

  .cookieChoice {
    align-items: flex-start
  }
}