/* Osda Life shared additions: cookie notice, sticky phone button, cookie settings link */

/* Cookie notice */
.osda-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 10050;
  max-width: 640px;
  margin: 0 auto;
  background: #2A2A2A;
  border: 1px solid #3D3D3D;
  border-top: 2px solid #FFA800;
  color: #C9C2B6;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.osda-consent[hidden] { display: none; }
.osda-consent h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #F4F1EA;
  margin: 0 0 0.5rem;
}
.osda-consent p { margin: 0 0 1rem; }
.osda-consent a { color: #FFA800; text-decoration: underline; text-underline-offset: 2px; }
.osda-consent-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.osda-consent-buttons button {
  flex: 1 1 140px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  cursor: pointer;
  border: 1px solid #FFA800;
  background: transparent;
  color: #F4F1EA;
}
.osda-consent-buttons button:hover,
.osda-consent-buttons button:focus-visible { background: #FFA800; color: #2A2A2A; outline: none; }

/* Sticky phone button */
.osda-sticky-cta { display: none; }
@media (max-width: 768px) {
  .osda-sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10040;
    background: #FFA800;
    color: #2A2A2A;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
  }
  .osda-sticky-cta:focus-visible { outline: 2px solid #F4F1EA; outline-offset: -4px; }
  body.osda-has-cta { padding-bottom: 3.5rem; }
  body.osda-consent-open .osda-sticky-cta { display: none; }
}

/* Cookie settings link in the footer */
.osda-cookie-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
