/* Site Metrics & SEO — cookie banner */
.sms-cookie-root {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  background: transparent;
}

.sms-cookie-root:not([hidden]) {
  pointer-events: auto;
  background: rgba(10, 10, 10, 0.35);
}

.sms-cookie {
  width: min(640px, 100%);
  margin-bottom: 0.5rem;
}

.sms-cookie__panel {
  background: #111;
  color: #f7f3ee;
  border: 1px solid #2e2e2e;
  border-top: 3px solid #bf9b4e;
  padding: 1.25rem 1.35rem 1.4rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  font-family: Montserrat, Arial, sans-serif;
}

.sms-cookie__title {
  margin: 0 0 0.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
}

.sms-cookie__text {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(247, 243, 238, 0.85);
}

.sms-cookie__policies {
  margin: 0 0 1rem;
  font-size: 0.8rem;
}

.sms-cookie__policies a {
  color: #d4b06a;
  text-decoration: underline;
}

.sms-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.sms-cookie__btn {
  appearance: none;
  border: 1px solid #3a3a3a;
  background: transparent;
  color: #f7f3ee;
  padding: 0.55rem 0.95rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sms-cookie__btn:hover,
.sms-cookie__btn:focus-visible {
  border-color: #bf9b4e;
  outline: none;
}

.sms-cookie__btn--primary {
  background: #bf9b4e;
  border-color: #bf9b4e;
  color: #111;
  font-weight: 600;
}

.sms-cookie__btn--primary:hover,
.sms-cookie__btn--primary:focus-visible {
  background: #d4b06a;
}

.sms-cookie__btn--link {
  border-color: transparent;
  text-decoration: underline;
  text-transform: none;
  letter-spacing: 0;
}

.sms-cookie__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #2e2e2e;
  display: grid;
  gap: 0.75rem;
}

.sms-cookie__opt {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.85rem;
  cursor: pointer;
}

.sms-cookie__opt small {
  display: block;
  margin-top: 0.15rem;
  color: rgba(247, 243, 238, 0.65);
  font-size: 0.75rem;
}

.sms-cookie__opt input {
  margin-top: 0.2rem;
}

.sms-cookie-manage-wrap {
  margin: 0;
  text-align: center;
  padding: 0.35rem 0 0.75rem;
}

.sms-cookie-manage {
  appearance: none;
  background: none;
  border: none;
  color: rgba(247, 243, 238, 0.7);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.75rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.sms-cookie-manage:hover,
.sms-cookie-manage:focus-visible {
  color: #d4b06a;
  outline: none;
}

@media (max-width: 600px) {
  .sms-cookie__actions {
    flex-direction: column;
  }
  .sms-cookie__btn {
    width: 100%;
  }
}
