/* Add custom CSS styles below */ 


/* Sleep Happy: continuous rightward benefits strip. */
.sh-trust-marquee { display: none; }

@media (width < 1024px) {
  .trust-bar[role="note"] {
    flex-wrap: wrap;
    height: auto;
    min-height: 36px;
    gap: 2px 14px;
    padding: 4px 12px;
  }
  .trust-bar[role="note"] > span:nth-child(n) {
    display: flex;
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .trust-bar[role="note"]:has(+ .sh-trust-marquee) {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .sh-trust-marquee {
    display: flex;
    direction: ltr;
    align-items: center;
    min-height: 36px;
    overflow: hidden;
  }
  .sh-trust-marquee-track {
    display: flex;
    flex: none;
    width: max-content;
    animation: sh-trust-right 24s linear infinite;
  }
  .sh-trust-marquee-group {
    display: flex;
    flex: none;
    direction: rtl;
    align-items: center;
    justify-content: space-around;
    min-width: 100vw;
    gap: 24px;
    padding: 4px 12px;
    box-sizing: border-box;
  }
  .sh-trust-marquee-group > span {
    display: inline-flex;
    flex: none;
    align-items: center;
    max-width: calc(100vw - 32px);
    gap: 8px;
    line-height: 1.3;
  }
  .sh-trust-marquee-group > span::before {
    content: "";
    flex: none;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--sh-trust-dot);
  }
}

@keyframes sh-trust-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}