/* GemPages hides sections until its script removes .gps-lazy */
.gps-lazy,
.gpsil .gps-lazy {
  opacity: 1 !important;
}

/* Local homepage behavior without Shopify scripts */

img.lazyload,
img.gp_lazyload,
.lazyload,
.lazyloading {
  opacity: 1 !important;
  filter: none !important;
}

.dropdown_container.is-open {
  display: block !important;
}

#header .dropdown_container[data-dropdown="mobile_menu"].is-open,
#header .dropdown_container[data-dropdown="search"].is-open {
  position: relative;
  bottom: auto;
  background: #fff;
  z-index: 80;
}

#header .dropdown_container.is-open .dropdown {
  position: relative;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

#header .dropdown_container[data-dropdown="mobile_menu"] .menu {
  padding: 8px 0 16px;
}

#header .dropdown_container[data-dropdown="mobile_menu"] .menu a {
  display: block;
  padding: 12px 20px;
  font-size: 16px;
}

.video-wrapper.is-playing .video-thumb,
.video-wrapper.is-playing .play-btn {
  display: none;
}

.gem-marquee,
.gem-marquee > .gp-overflow-hidden {
  overflow: hidden;
}

.rfm-marquee-container {
  display: flex;
  width: max-content !important;
  min-width: 100%;
}

.rfm-marquee {
  animation-name: gp-merquee-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--duration, 40s);
  animation-direction: var(--direction, normal);
  animation-play-state: var(--play, running);
}

gp-product,
gp-product-title,
gp-product-price,
gp-button,
gp-marquee {
  display: block;
}

.product-dots {
  display: none;
}

.clinician-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  max-width: 560px;
}
.clinician-badge__mark {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}
.clinician-badge__mark svg {
  width: 26px;
  height: 58px;
  display: block;
}
.clinician-badge__mark span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.05;
  font-weight: 500;
  text-align: center;
}
.clinician-badge__copy p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.35;
}
.clinician-badge__copy em {
  font-style: italic;
}
.clinician-badge__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.clinician-badge__faces {
  display: flex;
}
.clinician-badge__faces img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #fff;
  margin-left: -6px;
}
.clinician-badge__faces img:first-child {
  margin-left: 0;
}
.clinician-badge a {
  color: #fff;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.clinician-reviews {
  max-width: 1080px;
  margin: 48px auto 24px;
  padding: 8px 24px 12px;
  color: #3d4d66;
  font-family: "Open Sans", sans-serif;
}
.cr-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #243056;
}
.cr-kicker span {
  flex: 1;
  height: 1px;
  background: #243056;
}
.cr-kicker p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  letter-spacing: 0.01em;
}
.cr-kicker svg {
  width: 14px;
  height: 22px;
}
.clinician-reviews h2 {
  margin: 28px 0 10px;
  text-align: center;
  color: #243056;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 500;
}
.cr-sub {
  margin: 0 0 36px;
  text-align: center;
  font-size: 16px;
}
.cr-sub em { font-style: italic; }
.cr-sub a,
.cr-who a,
.cr-more {
  color: #243056;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cr-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  padding: 22px 0;
  border-top: 1px solid #e4e4e4;
}
.cr-who img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  float: left;
  margin: 0 12px 8px 0;
}
.cr-who a {
  font-weight: 700;
  font-size: 16px;
}
.cr-who p {
  margin: 2px 0 0;
  font-size: 14px;
  color: #66758a;
  white-space: nowrap;
}
.cr-who p svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}
.cr-who dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 18px 0 0;
  clear: both;
  font-size: 15px;
}
.cr-who dt { color: #243056; white-space: nowrap; }
.cr-who dd {
  margin: 0;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cr-who dt:nth-of-type(2),
.cr-who dd:nth-of-type(2) {
  padding-top: 8px;
  border-top: 1px solid #ececec;
}
.cr-body h3 {
  margin: 0 0 8px;
  color: #243056;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}
.cr-msg {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cr-card.is-open .cr-msg {
  display: block;
  -webkit-line-clamp: unset;
}
.cr-pill {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 99px;
  background: #e7eef6;
  color: #4d627c;
  font-size: 12px;
}
.cr-more {
  display: block;
  margin: 4px 0 16px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.cr-highlights {
  margin: 0;
  color: #243056;
  font-size: 15px;
}
.cr-highlights span {
  margin-left: 14px;
  color: #66758a;
}
.cr-highlights span::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 13px;
  margin-right: 4px;
  vertical-align: -1px;
  border: 1.5px solid #9e9e9e;
  border-radius: 6px 6px 5px 5px;
}
.cr-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}
.cr-read {
  padding: 10px 22px;
  border: 1px solid #cfcfcf;
  border-radius: 24px;
  background: #fff;
  color: #243056;
  font: inherit;
  cursor: pointer;
}
.cr-foot p {
  margin: 0;
  color: #8b97a8;
  font-size: 14px;
}
@media (max-width: 767px) {
  .clinician-reviews { margin-top: 28px; padding: 0 16px; }
  .clinician-reviews h2 { font-size: 28px; }
  .cr-kicker p { font-size: 16px; }
  .cr-card { grid-template-columns: 1fr; gap: 14px; }
  .cr-foot { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 799px) {
  header.feature_image .header__logo {
    width: 100%;
    max-width: none;
    text-align: center;
  }
  header.feature_image .header__logo img.primary_logo {
    width: 260px;
    max-width: 260px;
    height: auto;
  }
}

@media (max-width: 798px) {
  .footer .newsletter_section {
    display: none;
  }
  .footer .footer_menu.is-open .toggle_content {
    display: block;
  }
  .footer .icon-down-arrow:before {
    font-weight: normal;
  }
  #shopify-section-header {
    background: #fff;
  }
  body.header-hidden #shopify-section-header {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 767px) {
  .clinician-badge {
    gap: 10px;
    padding: 4px 8px 8px;
    max-width: 100%;
  }
  .clinician-badge__mark {
    flex: 0 0 auto;
  }
  .clinician-badge__mark svg {
    width: 18px;
    height: 42px;
  }
  .clinician-badge__mark span {
    font-size: 12px;
  }
  .clinician-badge__copy p {
    font-size: 12px;
  }
  .clinician-badge a {
    font-size: 12px;
  }

  #gZAbXeh1AI .gem-slider {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  #gZAbXeh1AI .gem-slider::-webkit-scrollbar {
    display: none;
  }
  #gZAbXeh1AI .gem-slider-item {
    scroll-snap-align: start;
  }

  .product-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 28px;
  }
  .product-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 99px;
    padding: 0;
    background: #c8c8c8;
  }
  .product-dots button.is-on {
    background: #242424;
  }
}
