.stbk-cookie-banner[hidden],
#stbk-cookie-settings[hidden] {
  display: none;
}

.stbk-cookie-banner {
  position: fixed;
  z-index: 1000;
  inset-inline: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(940px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin-inline: auto;
  padding: 20px 24px;
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, auto);
  align-items: center;
  gap: 18px 26px;
  border: 1px solid var(--line, #d5e0e9);
  border-radius: 12px;
  background: #fff;
  color: var(--ink, #172e44);
  box-shadow: 0 10px 36px rgba(13, 33, 55, .18);
  font-size: 14px;
  line-height: 1.5;
}

.stbk-cookie-banner h2 {
  margin: 0 0 7px;
  font-size: 19px;
}

.stbk-cookie-banner p {
  margin: 0 0 8px;
}

.stbk-cookie-actions {
  display: grid;
  gap: 9px;
}

.stbk-cookie-actions button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--navy, #0d2137);
  border-radius: 5px;
  background: var(--navy, #0d2137);
  color: #fff;
  cursor: pointer;
  font-weight: 650;
  line-height: 1.3;
}

.stbk-cookie-actions button:hover {
  background: #19476c;
}

@media (max-width: 620px) {
  .stbk-cookie-banner {
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stbk-cookie-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
