.cookie-consent-open {
  overflow: hidden;
}

.cookie-consent-dialog {
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  color: #171717;
  margin: auto;
  max-height: min(90vh, 760px);
  max-width: 650px;
  overflow-y: auto;
  padding: 0;
  width: calc(100% - 32px);
  z-index: 2147483000;
}

.cookie-consent-dialog::backdrop {
  background: rgba(8, 13, 18, 0.72);
  backdrop-filter: blur(5px);
}

.cookie-consent-inner {
  border-top: 10px solid #00a88f;
  padding: clamp(25px, 5vw, 46px);
}

.cookie-consent-logo {
  height: 54px;
  margin: 0 0 26px;
  max-width: 210px;
  object-fit: contain;
  object-position: left center;
  width: auto;
}

.cookie-consent-kicker {
  color: #008b77;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.cookie-consent-dialog h2 {
  color: #171717;
  font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-style: normal;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 0 20px;
  text-transform: none;
}

.cookie-consent-copy {
  color: #4f565b;
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 12px;
}

.cookie-consent-actions,
.cookie-preference-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-top: 26px;
}

.cookie-button {
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 50px;
  padding: 12px 16px;
}

.cookie-button-primary {
  background: #00a88f;
  border: 2px solid #00a88f;
  color: #fff;
}

.cookie-button-secondary {
  background: #171717;
  border: 2px solid #171717;
  color: #fff;
}

.cookie-button-link {
  background: transparent;
  border: 2px solid #b7bfbd;
  color: #171717;
}

.cookie-consent-actions .cookie-button-link {
  grid-column: 1 / -1;
}

.cookie-policy-link {
  color: #006d5e;
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 800;
  margin-top: 20px;
  text-decoration: underline;
}

.cookie-preferences {
  border-top: 1px solid #dce1df;
  margin-top: 24px;
  padding-top: 8px;
}

.cookie-preference-row {
  align-items: center;
  border-bottom: 1px solid #dce1df;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 18px 0;
}

.cookie-preference-row div {
  display: grid;
  gap: 4px;
}

.cookie-preference-row strong {
  font-size: 1rem;
}

.cookie-preference-row span {
  color: #59615f;
  font-size: 0.84rem;
  line-height: 1.4;
}

.cookie-preference-row input {
  accent-color: #00a88f;
  flex: 0 0 auto;
  height: 24px;
  width: 24px;
}

.cookie-footer-links {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cookie-footer-links a,
.cookie-footer-links button {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: 0.82rem;
  padding: 0;
  text-decoration: underline;
}

.cookie-media-placeholder {
  align-content: center;
  background: #eef3f1;
  color: #173a35;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 300px;
  padding: 30px;
  text-align: center;
}

.cookie-media-placeholder span {
  color: #586663;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 360px;
}

.cookie-media-placeholder button {
  background: #173a35;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font: inherit;
  font-weight: 900;
  margin-top: 5px;
  min-height: 44px;
  padding: 10px 16px;
}

.cookie-policy-page {
  background: #f4f6f5;
  color: #171717;
  font-family: Arial, sans-serif;
  margin: 0;
}

.cookie-policy-shell {
  margin: 0 auto;
  max-width: 850px;
  padding: 45px 24px 80px;
}

.cookie-policy-shell > img {
  height: 60px;
  margin-bottom: 45px;
  object-fit: contain;
  object-position: left center;
  width: 220px;
}

.cookie-policy-shell h1 {
  color: #171717;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-style: normal;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0 0 25px;
  text-transform: none;
}

.cookie-policy-shell h2 {
  color: #006d5e;
  font-size: 1.4rem;
  font-style: normal;
  letter-spacing: 0;
  margin: 38px 0 10px;
  text-transform: none;
}

.cookie-policy-shell p,
.cookie-policy-shell li {
  line-height: 1.65;
}

.cookie-policy-shell table {
  border-collapse: collapse;
  margin: 20px 0;
  width: 100%;
}

.cookie-policy-shell th,
.cookie-policy-shell td {
  border: 1px solid #cad2cf;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.cookie-policy-back {
  color: #006d5e;
  display: inline-block;
  font-weight: 900;
  margin-top: 35px;
}

@media (max-width: 560px) {
  .cookie-consent-actions,
  .cookie-preference-actions {
    grid-template-columns: 1fr;
  }

  .cookie-consent-actions .cookie-button-link {
    grid-column: auto;
  }

  .cookie-policy-shell table,
  .cookie-policy-shell tbody,
  .cookie-policy-shell tr,
  .cookie-policy-shell th,
  .cookie-policy-shell td {
    display: block;
  }
}
