.stb-consent,
.stb-consent__manage {
  font-family: Inter, system-ui, sans-serif;
  box-sizing: border-box;
}

.stb-consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  max-width: 720px;
  max-height: min(50vh, 420px);
  overflow: auto;
  margin: 0 auto;
  padding: 16px;
  background: #fff;
  color: #1c1917;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(28, 25, 23, 0.16);
}

.stb-consent__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.stb-consent__body,
.stb-consent__policy {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.stb-consent__actions,
.stb-consent__custom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stb-consent__custom {
  flex-direction: column;
  margin-bottom: 12px;
}

.stb-consent__btn,
.stb-consent__manage {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #44403c;
  background: #fff;
  color: #1c1917;
  cursor: pointer;
}

.stb-consent__btn--primary {
  background: #1c1917;
  color: #fff;
}

.stb-consent__manage {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 70;
}

.stb-consent__row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.stb-consent__row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stb-consent__row small {
  color: #57534e;
}

@media (max-width: 640px) {
  .stb-consent {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .stb-consent__actions,
  .stb-consent__btn {
    width: 100%;
  }
}
