.cookie-consent-banner[hidden],
.cookie-settings-button[hidden] {
  display: none !important;
}

.cookie-consent-banner {
  align-items: center;
  background: #fff;
  border-top: 4px solid #cf372d;
  bottom: 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  color: #1e1c1c;
  display: grid;
  font-family: Rajdhani, Arial, sans-serif;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 0;
  padding: 1.25rem max(1.25rem, calc((100vw - 60rem) / 2));
  position: fixed;
  right: 0;
  z-index: 1000100;
}

.cookie-consent-copy h2 {
  color: #cf372d;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}

.cookie-consent-copy p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  max-width: 46rem;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-button,
.cookie-settings-button,
.cookie-media-enable {
  border: 2px solid #cf372d;
  border-radius: 3px;
  cursor: pointer;
  font-family: Rajdhani, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 2.75rem;
  padding: 0.6rem 1.1rem;
}

.cookie-button-primary,
.cookie-media-enable {
  background: #cf372d;
  color: #fff;
}

.cookie-button-secondary {
  background: #fff;
  color: #9d211a;
}

.cookie-button:hover,
.cookie-button:focus-visible,
.cookie-settings-button:hover,
.cookie-settings-button:focus-visible,
.cookie-media-enable:hover,
.cookie-media-enable:focus-visible {
  box-shadow: 0 0 0 3px rgba(207, 55, 45, 0.25);
  outline: none;
}

.cookie-settings-button {
  background: #fff;
  bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  color: #9d211a;
  left: 1rem;
  min-height: 2.25rem;
  padding: 0.4rem 0.75rem;
  position: fixed;
  z-index: 1000090;
}

.cookie-media-host {
  min-height: 100%;
  position: relative !important;
}

.cookie-blocked-frame {
  opacity: 0;
}

.cookie-media-placeholder {
  align-items: center;
  background: #1e1c1c;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: absolute;
  text-align: center;
  z-index: 5;
}

.cookie-media-placeholder p {
  font-size: 0.9rem;
  line-height: 1.3;
  margin: 0;
  max-width: 22rem;
}

.cookie-media-enable {
  min-height: 2.25rem;
  padding: 0.4rem 0.75rem;
}

@media screen and (max-width: 767px) {
  .cookie-consent-banner {
    gap: 1rem;
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-button {
    width: 100%;
  }

  .cookie-settings-button {
    bottom: 0.75rem;
    left: 0.75rem;
  }
}
