.sd-cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateY(12px);
  width: min(520px, calc(100vw - 24px));
  margin: 0 auto;
  background: rgba(19, 47, 64, 0.96);
  color: #eaf4fa;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 16px 34px rgba(6, 16, 24, 0.35);
  z-index: 12050;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.sd-cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.sd-cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sd-cookie-banner__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #d8e8f1;
  max-width: 40ch;
}

.sd-cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.sd-cookie-btn {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.sd-cookie-btn--accept {
  background: #41b3bf;
  border-color: #41b3bf;
  color: #0f2c3b;
}

.sd-cookie-btn--accept:hover {
  background: #50f2e2;
  border-color: #50f2e2;
}

.sd-cookie-btn--reject {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  color: #eaf4fa;
}

.sd-cookie-btn--reject:hover {
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 767px) {
  .sd-cookie-banner {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: min(420px, calc(100vw - 20px));
    border-radius: 12px;
    padding: 10px 12px;
  }

  .sd-cookie-banner__inner {
    display: grid;
    gap: 10px;
  }

  .sd-cookie-banner__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .sd-cookie-btn {
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 12.5px;
  }
}

@media (max-width: 480px) {
  .sd-cookie-banner {
    width: min(360px, calc(100vw - 16px));
    padding: 10px 10px;
    border-radius: 12px;
  }

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

@media (max-height: 700px) and (max-width: 767px) {
  .sd-cookie-banner {
    bottom: env(safe-area-inset-bottom);
  }

  .sd-cookie-banner__text {
    font-size: 12.5px;
    line-height: 1.38;
  }

  body.sd-cookie-open .sd-hero-execoore {
    padding-top: 94px;
    padding-bottom: 132px;
  }

  body.sd-cookie-open .sd-hero-execoore .sd-hero-copy h1 {
    margin-bottom: 14px;
    font-size: clamp(1.92rem, 8vw, 2.7rem);
    line-height: 0.96;
  }

  body.sd-cookie-open .sd-hero-execoore .sd-hero-copy p {
    margin-bottom: 18px;
    font-size: 0.9rem;
    line-height: 1.56;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
  }

  body.sd-cookie-open .sd-hero-execoore .sd-hero-cta {
    gap: 10px !important;
  }

  body.sd-cookie-open .sd-hero-execoore .sd-hero-cta .default-btn {
    min-height: 46px;
    padding-top: 11px;
    padding-bottom: 11px;
  }
}
