:root {
  --oralis-ink: #0b2b3b;
  --oralis-muted: #526d78;
  --oralis-teal: #00777d;
  --oralis-teal-dark: #006f76;
  --oralis-line: #d9e9eb;
  --oralis-pale: #effafa;
}

.oralis-shell {
  width: min(1296px, calc(100% - 144px));
  margin-inline: auto;
}

.oralis-header {
  position: relative;
  z-index: 40;
  height: 72px;
  border-bottom: 1px solid #e5eff0;
  background: rgba(255, 255, 255, .98);
  color: var(--oralis-ink);
}

.oralis-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}

.oralis-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: #0d536a;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.oralis-brand img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.oralis-brand small {
  display: block;
  margin-top: 4px;
  color: #426675;
  font-size: 10px;
  font-weight: 650;
}

.oralis-header .oralis-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  height: 100%;
  margin: 0 auto;
  color: #4f6d7a;
  font-size: 15px;
  font-weight: 600;
}

.oralis-header .oralis-nav a {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.oralis-header .oralis-nav a:hover,
.oralis-header .oralis-nav a:focus-visible {
  color: var(--oralis-teal-dark);
}

.oralis-header__search,
.oralis-header .menu-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin: 0;
  border: 1px solid var(--oralis-line);
  border-radius: 50%;
  background: #fff;
  color: var(--oralis-teal-dark);
}

.oralis-header__search svg,
.oralis-header .menu-button svg {
  width: 19px;
  height: 19px;
}

.oralis-header__ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 148px;
  height: 42px;
  padding: 0 17px;
  border-radius: 7px;
  background: var(--oralis-teal);
  box-shadow: 0 7px 17px rgba(0, 164, 172, .18);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.oralis-ai-glyph {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
}

.oralis-header .menu-button {
  display: none;
}

.oralis-header a:focus-visible,
.oralis-footer a:focus-visible,
.oralis-header button:focus-visible,
.search-popup a:focus-visible,
.search-popup button:focus-visible,
.mobile-drawer a:focus-visible,
.mobile-drawer button:focus-visible,
.cookie-banner button:focus-visible,
.cookie-banner a:focus-visible {
  outline: 3px solid rgba(4, 174, 179, .3);
  outline-offset: 3px;
}

.overlay {
  background: rgba(11, 43, 59, .68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.search-popup {
  border: 1px solid var(--oralis-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(8, 42, 55, .24);
}

.popup-head h2,
.popup-label {
  color: #526f7b;
  letter-spacing: 0;
}

.close-button {
  border-radius: 50%;
  background: var(--oralis-pale);
  color: #466773;
}

.popup-field {
  border-color: var(--oralis-line);
  border-radius: 8px;
}

.popup-field:focus-within {
  border-color: var(--oralis-teal);
  box-shadow: 0 0 0 4px rgba(4, 174, 179, .1);
}

.popup-field:focus-within svg,
.mini-result svg {
  color: var(--oralis-teal-dark);
}

.popup-field .button,
.search-popup-results-link {
  border-radius: 6px;
  background: var(--oralis-teal);
  color: #fff;
}

.suggestion,
.quick-chip,
.mini-result {
  border-radius: 6px;
}

.suggestion:hover,
.suggestion:focus-visible,
.quick-chip:hover,
.quick-chip:focus-visible,
.mini-result:hover,
.mini-result:focus-visible {
  border-color: #8bd9db;
  background: #effafa;
  color: var(--oralis-ink);
}

.mobile-drawer {
  border-left: 1px solid var(--oralis-line);
  background: #fff;
  color: var(--oralis-ink);
}

.drawer-search,
.drawer-item,
.drawer-group summary,
.drawer-sublist a {
  border-radius: 6px;
}

.drawer-search {
  border-color: var(--oralis-line);
  color: var(--oralis-ink);
}

.drawer-item,
.drawer-group summary {
  background: #f4fbfb;
  color: #244a58;
}

.drawer-item svg,
.drawer-search svg,
.drawer-sublist svg {
  color: var(--oralis-teal-dark);
}

.oralis-footer {
  padding: 24px 0 30px;
  border-top: 1px solid #e5eff0;
  background: #fff;
  color: var(--oralis-muted);
}

.oralis-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr .75fr .75fr 1.2fr;
  gap: 32px;
}

.oralis-brand--footer {
  font-size: 17px;
}

.oralis-brand--footer img {
  width: 31px;
  height: 31px;
  flex-basis: 31px;
}

.oralis-brand--footer small {
  font-size: 8px;
}

.oralis-footer p {
  max-width: 320px;
  margin: 14px 0 10px;
  font-size: 13px;
  line-height: 1.55;
}

.oralis-footer small {
  font-size: 11px;
  line-height: 1.45;
}

.oralis-footer nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.oralis-footer nav strong {
  margin-bottom: 3px;
  color: #294b59;
  font-size: 13px;
}

.oralis-footer nav a {
  color: var(--oralis-muted);
  font-size: 12px;
  line-height: 1.4;
}

.oralis-footer nav a:hover {
  color: var(--oralis-teal-dark);
}

.oralis-footer__cookie-button {
  width: fit-content;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed #8ba1aa;
  background: transparent;
  color: var(--oralis-muted);
  font: inherit;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.oralis-footer__cookie-button:hover {
  border-color: var(--oralis-teal-dark);
  color: var(--oralis-teal-dark);
}

.cookie-banner {
  border-color: rgba(114, 210, 214, .35);
  border-radius: 8px;
  background: #0b2b3b;
}

.cookie-banner__copy h2 {
  color: #fff;
}

.cookie-banner__eyebrow,
.cookie-banner__link {
  color: #7de0e1;
  letter-spacing: 0;
}

.cookie-banner__button {
  border-radius: 6px;
  background: var(--oralis-teal);
}

.cookie-banner__button--secondary {
  background: #fff;
  color: #17485a;
}

@media (max-width: 1120px) {
  .oralis-shell {
    width: min(688px, calc(100% - 40px));
  }

  .oralis-header {
    height: 68px;
  }

  .oralis-header .oralis-nav,
  .oralis-header__ai {
    display: none;
  }

  .oralis-header__search {
    margin-left: auto;
  }

  .oralis-header .menu-button {
    display: grid;
  }

  .oralis-footer__grid {
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .oralis-shell {
    width: calc(100% - 32px);
  }

  .oralis-header {
    height: 62px;
  }

  .oralis-header__inner {
    gap: 9px;
  }

  .oralis-brand {
    font-size: 20px;
  }

  .oralis-brand img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .oralis-brand small {
    font-size: 8px;
  }

  .oralis-header__search,
  .oralis-header .menu-button {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .search-popup {
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .oralis-footer {
    padding-block: 24px 30px;
  }

  .oralis-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 18px;
  }

  .oralis-footer__grid > div,
  .oralis-footer__grid nav:last-child {
    grid-column: 1 / -1;
  }

  .oralis-footer p {
    font-size: 12px;
  }

  .oralis-footer nav strong {
    font-size: 12px;
  }

  .oralis-footer nav a,
  .oralis-footer__cookie-button,
  .oralis-footer small {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
