/* Cookie consent banner — Ethereal Minimalist.
   Full-width bar pinned to the bottom edge of the viewport; rendered from inside
   the (sticky) Header but pinned independently, so it sits on every page until
   the visitor accepts or declines. Stays below modals/drawers (--z-overlay). */

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 980;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 30px rgba(26, 28, 28, 0.08);
  animation: cc_pSmp65GtZr_mmIUqdFydM_ethm-cookie-rise 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-sm) var(--container-pad);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-body-lg);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: 1.5;
  opacity: 0.74;
}

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__policy {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  white-space: nowrap;
}

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__policy:hover {
  opacity: 0.7;
}

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__actions {
  display: flex;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__btn {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: opacity 180ms ease, background 180ms ease, color 180ms ease;
}

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__btn:hover {
  opacity: 0.85;
}

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__btn--ghost {
  background: transparent;
}

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__btn--ghost:hover {
  opacity: 1;
  background: rgba(26, 28, 28, 0.06);
}

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 160ms ease;
}

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__close:hover {
  opacity: 1;
}

.cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__close:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Stack text above the buttons once the single row gets too tight. */
@media (max-width: 760px) {
  .cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--container-pad) calc(var(--space-sm) + 2px);
  }
  .cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__actions {
    width: 100%;
  }
  .cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__btn {
    flex: 1 1 0;
  }
}

@media (max-width: 480px) {
  .cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__inner {
    padding-right: 44px;
  }
  .cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie__actions {
    flex-direction: column-reverse;
  }
}

@keyframes cc_pSmp65GtZr_mmIUqdFydM_ethm-cookie-rise {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_pSmp65GtZr_mmIUqdFydM .ethm-cookie {
    animation: none;
  }
}
