/* Absolute Stays cookie notice — two choices, not a vendor panel */

.hsm-cookies {
  position: fixed;
  z-index: 240;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px) + var(--hsm-tabbar-space, 0px));
  transform: translateX(-50%);
  width: min(34.5rem, calc(100vw - 1.5rem));
  padding: 1.2rem 1.25rem 1.15rem;
  background: #fff;
  color: #1a2332;
  border-radius: 1.25rem;
  box-shadow: 0 16px 48px rgba(12, 27, 51, 0.18);
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hsm-cookies[hidden] {
  display: none !important;
}

.hsm-cookies-title {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #0c1b33;
}

.hsm-cookies-body {
  margin: 0;
  color: #3d4a5c;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 500;
}

.hsm-cookies-body a {
  color: #0c1b33;
  font-weight: 700;
  text-underline-offset: 0.12em;
}

.hsm-cookies-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1.05rem;
}

.hsm-cookies-btn {
  min-height: 2.85rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid #0c1b33;
  background: #fff;
  color: #0c1b33;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.hsm-cookies-btn.is-solid {
  background: #0c1b33;
  color: #fff;
}

.hsm-cookies-btn:focus-visible {
  outline: 2px solid #0c1b33;
  outline-offset: 3px;
}

button.hsm-cookie-link {
  appearance: none;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.hsm-footer button.hsm-cookie-link,
.mp-footer button.hsm-cookie-link {
  color: inherit;
}

.hsm-footer button.hsm-cookie-link:hover,
.mp-footer button.hsm-cookie-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

@media (max-width: 419px) {
  .hsm-cookies-actions {
    grid-template-columns: 1fr;
  }
}

@media print {
  .hsm-cookies {
    display: none !important;
  }
}
