.cpap__main-search__breadcrumbs-container {
  margin: 19px 0 4px 0;

  @media (max-width: 767px) {
    margin: 16px 0 0;
  }
}

.cpap__main-search__container {
  &.template-search--empty {
    .cpap__main-search__guide-cta--mobile {
      display: none;

      @media (max-width: 767px) {
        display: flex;
        margin: 0 auto 13px auto;
      }
    }

    .cpap__main-search__guide-cta-empty {
      margin: 0 auto;

      h3 {
        font-family: var(--bs-body-font-rand);
        font-size: 24px;
        font-style: normal;
        font-weight: var(--bs-body-font-weight);
        line-height: 32px;
        color: var(--cpap-primary-soft-black);
        text-align: center;
        margin: 0;
      }

      p {
        font-family: var(--bs-body-font-rand);
        font-size: 16px;
        font-style: normal;
        font-weight: var(--bs-body-font-weight);
        line-height: 24px;
        color: var(--cpap-text-text-gray);
        text-align: center;
        max-width: 535px;
        margin: 8px auto 20px auto;
      }

      .cpap__main-search__guide-cta {
        display: flex;
        flex-direction: row;
        gap: 20px;

        .cpap__main-search__guide-cta-header {
          figure {
            margin: 0;
            width: 118px;

            &::before {
              width: 118px;
              height: 118px;
            }

            span {
              width: 118px;
              height: 118px;
            }
          }
        }

        .cpap__main-search__guide-cta-footer {
          text-align: left;

          h3 {
            text-align: left;
            font-family: var(--bs-body-font-rand);
            font-size: 24px;
            font-style: normal;
            font-weight: var(--bs-body-font-weight);
            line-height: 32px;
            color: var(--cpap-primary-white);
            margin: 0 0 12px 0;
          }

          p {
            text-align: left;
            font-family: var(--bs-body-font-rand);
            font-size: 16px;
            font-style: normal;
            font-weight: var(--bs-body-font-weight);
            line-height: 24px;
            color: var(--cpap-primary-white);
            margin: 0 0 20px 0;

            &:last-child {
              margin-bottom: 0;
            }
          }
        }
      }
    }

    /* 👇 The following are native Dawn style overrides and therefore can't utilize the BEM naming convention */
    .template-search__header {
      display: none;
    }

    .facets-vertical {
      .search-results-value {
        font-family: var(--bs-body-font-rand);
        font-size: 24px;
        font-style: normal;
        font-weight: var(--bs-body-font-weight);
        line-height: 32px;
        color: var(--cpap-primary-soft-black);
        margin-bottom: 40px;

        span {
          font-family: var(--bs-body-font-rand);
          font-size: var(--bs-body-font-size);
          font-style: normal;
          font-weight: var(--bs-body-font-weight);
          line-height: var(--bs-body-line-height-17);
          color: var(--cpap-text-text-gray);
          margin-bottom: 8px;
          display: block;
        }
      }
    }
  }

  .facets-vertical {
    .search-results-value {
      font-family: var(--bs-body-font-rand);
      font-size: 24px;
      font-style: normal;
      font-weight: var(--bs-body-font-weight);
      line-height: 32px;
      color: var(--cpap-primary-soft-black);

      span {
        font-family: var(--bs-body-font-rand);
        font-size: var(--bs-body-font-size);
        font-style: normal;
        font-weight: var(--bs-body-font-weight);
        line-height: var(--bs-body-line-height-17);
        color: var(--cpap-text-text-gray);
        display: block;
        margin-bottom: 8px;
      }
    }
  }

  /* 👇 The following are native Dawn facet style overrides and therefore can't utilize the BEM naming convention */
  @media (max-width: 749px) {
    .mobile-facets__header {
      position: initial !important;
    }

    .mobile-facets {
      padding-top: 34px;
      padding-bottom: 40px;
      background: var(--cpap-primary-white) !important;
    }

    .mobile-facets__footer,
    .mobile-facets__header {
      position: static;
    }

    .js .mobile-facets .submenu-open {
      visibility: visible !important;
    }

    .facets-container {
      padding: 0;
      width: 100%;
      display: block;
      margin-bottom: 20px;
    }

    .active-facets,
    .product-count {
      display: none !important;
    }

    .mobile-facets__wrapper {
      .mobile-facets__disclosure {
        width: 100%;

        summary {
          border: 1px solid var(--cpap-stroke-gray);
          border-radius: 28px;
          padding: 10.5px 10px;

          width: 100%;

          &:before {
            display: none !important;
          }

          .mobile-facets__open {
            justify-content: center;
            padding: 0;
          }

          span {
            font-weight: var(--bs-body-font-weight);
            font-size: var(--bs-body-font-size);
            line-height: var(--bs-body-line-height-17);
            color: var(--cpap-primary-soft-black);
            letter-spacing: 0;
            margin: 0;
          }

          svg {
            display: none;
          }

          .mobile-facets__open {
            &:before {
              content: '';
              display: block;
              width: 13px;
              height: 12px;
              background-image: url('./Filter-Icon.svg');
              background-repeat: no-repeat;
              background-position: center;
              background-size: contain;
              margin-right: 10px;
            }
          }
        }
      }
    }

    .mobile-facets__details {
      width: 100%;
    }

    .mobile-facets__summary {
      width: 100%;
      display: block;
      border: 1px solid var(--cpap-stroke-gray);
      padding: 4.5px 15px;
      border-radius: 8px;
      margin-bottom: 32px;

      .mobile-facets__sort {
        justify-content: flex-start;

        * {
          font-size: 14px !important;
          line-height: 17px !important;
          font-family: var(--cpap-typography-font-family);
          font-weight: var(--bs-body-font-weight);
          color: var(--cpap-primary-soft-black);
        }

        h2 {
          margin: 0;
          color: var(--cpap-text-text-gray);
        }

        label {
          width: 51px;
        }

        .select {
          width: calc(100% - 51px);
        }

        select {
          width: 100%;
          padding: 0;
          margin: 0;
          color: var(--cpap-primary-soft-black);
          border: none !important;
          outline: none !important;
          box-shadow: none !important;
          padding-right: 10px;
        }
      }
    }

    .filter-title-row {
      display: flex;
      justify-content: space-between;
      width: 100%;
      align-items: flex-end;

      h2 {
        color: var(--cpap-primary-soft-black);
        font: 500 var(--cpap-typography-font-md);
      }

      p {
        color: var(--cpap-text-text-gray);
        font: var(--cpap-typography-font-s-bold);
        font-weight: 400;
      }
    }

    facet-filters-form {
      .mobile-facets__inner {
        width: 100%;
        max-width: 100%;
        border: none;
        padding: 0 20px;

        .mobile-facets__header {
          padding: 0;
          border: none;
          text-align: left;
          h2 {
            color: var(--cpap-primary-soft-black);
            font: 500 var(--cpap-typography-font-xl);
          }
          .mobile-facets__count {
            display: none;
            @media (max-width: 749px) {
              display: block;
            }
          }

          .mobile-facets__header-inner {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            .mobile-facets__heading {
              width: 100%;
              margin-bottom: 30px;
            }
            .small-hide {
              width: auto;
              display: block !important;
              font-size: 16px;
              line-height: 24px;
              margin-bottom: 0;
            }
            .mobile-facets__count {
              flex-grow: initial;
            }
          }
        }
        .mobile-facets__main {
          padding: 0;
          padding-top: 16px;
          display: flex;
          visibility: visible;
          border-top: 1px solid var(--cpap-stroke-gray);
          margin-top: 16px;
          .mobile-facets__details {
            order: 1;
            width: 100%;
            .mobile-facets__footer {
              display: none;
            }
          }
          details.mobile-facets__details {
            order: 2;
            width: 100%;
            margin-bottom: 16px;
            summary.mobile-facets__summary {
              margin: 0;
              padding: 0;
              margin: 0;
              position: relative;
              border: none;
              &:before {
                content: '\e909';
                font-family: 'icomoon' !important;
                speak: never;
                font-style: normal;
                font-weight: normal;
                font-variant: normal;
                text-transform: none;
                line-height: 1;
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
                color: inherit;
                font-size: 12px;
                transition: transform 0.2s;
                z-index: 1;
                transform: translate(0, -50%) rotate(90deg);
                display: inline-block;
                position: absolute;
                top: 50%;
                right: 0;
              }
              span {
                font-size: 16px;
                line-height: 24px;
              }
            }
            .mobile-facets__info {
              padding: 16px 0 18px;
              margin: 0;
            }
            .facets__price {
              padding: 0;
              font: var(--cpap-typography-font-s-bold);
            }
          }
          details.mobile-facets__details[open] {
            summary.mobile-facets__summary {
              &:before {
                transform: translate(0, -50%) rotate(-90deg);
              }
            }
          }
          .mobile-facets__submenu {
            position: static;
            visibility: visible;
            transform: none;
            .mobile-facets__close-button {
              display: none;
            }
            svg {
              display: none;
            }
            span {
              background-color: transparent !important;
            }
            ul {
              list-style: none;
              padding: 0;
              margin: 0;
              padding: 16px 0 16px 0;
              li {
                padding: 0;
                font: var(--cpap-typography-font-s-bold);
                color: var(--cpap-text-text-gray);
                margin-bottom: 16px;
                &:before {
                  display: none;
                }
                &:last-child {
                  margin-bottom: 0;
                }
                * {
                  text-decoration: none !important;
                }
                label {
                  padding: 0;
                  margin: 0;
                  transition: all 0.2s;
                  &:hover {
                    @media (min-width: 768.5px) {
                      opacity: 0.7;
                    }
                  }
                  &:active {
                    opacity: 0.7;
                  }
                  .facet-checkbox__text {
                    display: block;
                    position: relative;
                    padding-left: 22px;
                    &:before {
                      content: '';
                      width: 16px;
                      height: 16px;
                      border: 1px solid var(--cpap-text-text-gray);
                      border-radius: 4px;
                      position: absolute;
                      top: 50%;
                      left: 0;
                      transform: translate(0, -50%);
                      z-index: 1;
                    }
                    &:after {
                      content: '';
                      background-image: url('./Checkmark-3.svg');
                      width: 10px;
                      height: 8px;
                      position: absolute;
                      top: 50%;
                      left: 3px;
                      transform: translate(0, -50%);
                      z-index: 1;
                      opacity: 0;
                    }
                  }

                  span {
                    color: var(--cpap-text-text-gray);
                  }

                  input[type='checkbox']:checked {
                    & + span {
                      & + svg {
                        & + svg {
                          & + .facet-checkbox__text {
                            color: var(--cpap-primary-soft-black);
                            &:after {
                              opacity: 1;
                            }
                            &:before {
                              border-color: var(--cpap-primary-orange);
                            }
                          }
                        }
                      }
                    }
                  }
                }

                input {
                  display: none;
                }

                .facet-checkbox > svg {
                  margin-right: 6px;
                  border-radius: 4px;
                  display: none !important;
                }
              }
            }
          }

          .mobile-facets__footer {
            order: 3;
            width: 100%;
            border: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-wrap: wrap;
            margin-top: 36px;
            button {
              width: 100%;
              order: 1;
              display: inline-block;
              text-align: center;
              font: 700 var(--cpap-typography-font-lg);
              color: var(--cpap-primary-white);
              background: var(--cpap-primary-orange);
              border: 1px solid var(--cpap-primary-orange);
              border-radius: 28px;
              transition: all 0.2s;
              min-width: 250px;
              margin-bottom: 16px;
              padding: 15px 23px;
              &:hover {
                @media (min-width: 768.5px) {
                  background: var(--cpap-overlay-utility-orange);
                  color: var(--cpap-primary-soft-black);
                }
              }
              &:active {
                background: var(--cpap-overlay-utility-orange);
                color: var(--cpap-primary-soft-black);
              }
              &:after {
                display: none !important;
              }
            }
            .mobile-facets__clear-wrapper {
              order: 2;
              width: 100%;
              a {
                font: var(--cpap-typography-font-s-bold);
                color: var(--cpap-text-text-gray);
                text-decoration: underline;
                text-underline-offset: inherit;
              }
            }
          }
        }
      }
    }

    .close-filter-btn {
      position: absolute;
      top: -3px;
      right: 0;

      width: 40px;
      height: 40px;
      display: block;
      background: var(--cpap-primary-white);
      border-radius: 50%;
      box-shadow: 0px -4.44444px 73.3333px rgba(0, 0, 0, 0.08);

      &:before,
      &:after {
        content: '';
        width: 9px;
        height: 1px;
        background: var(--cpap-primary-soft-black);
        position: absolute;
        top: 50%;
        left: 50%;
      }

      &:before {
        transform: translate(-50%, -50%) rotate(45deg);
      }

      &:after {
        transform: translate(-50%, -50%) rotate(-45deg);
      }
    }
  }
}

.cpap__main-search__guide-cta {
  background: #371726;
  border-radius: 16px;
  padding: 20px;
  color: var(--cpap-primary-white);
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;

  @media (max-width: 749px) {
    display: none;
  }

  h3 {
    font-family: var(--bs-body-font-rand);
    font-size: 18px;
    font-style: normal;
    font-weight: var(--bs-body-font-weight);
    line-height: 24px;
    margin: 0;
  }

  p {
    font-family: var(--bs-body-font-rand);
    font-size: var(--bs-body-font-size);
    font-style: normal;
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height-17);
    color: var(--cpap-primary-white);
    margin: 0;

    a {
      position: relative;
      font-weight: var(--bs-body-font-weight-700);

      &::before {
        content: '';
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 1px;
        background: var(--cpap-primary-orange);
      }
    }
  }
}

.cpap__main-search__guide-cta-header {
  display: flex;
  align-items: center;

  figure {
    margin: 0 20px 0 0;
    width: 69px;
    position: relative;

    &::before {
      content: '';
      position: absolute;
      top: 3px;
      right: -4px;
      width: 69px;
      height: 69px;
      border-radius: 50%;
      background: linear-gradient(90deg, #ffaa8f 27.15%, #f0c6ff 70.37%);
      opacity: 0.6;
      filter: blur(3.94065px);
      transform: rotate(-135deg);
    }

    span {
      width: 69px;
      height: 69px;
      border-radius: 50%;
      overflow: hidden;
      display: block;
      z-index: 1;
      position: relative;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  h3 {
    flex: 1;
  }
}

.cpap__main-search__facets-vertical {
  display: flex;
  gap: 32px;

  @media (max-width: 749px) {
    gap: 0;
    flex-wrap: wrap;
  }
}

.cpap__main-search__search-filters {
  width: 308px;
  padding: 0 !important;

  @media (max-width: 1024px) {
    width: 250px;
  }

  @media (max-width: 749px) {
    width: 100%;
  }

  /* 👇 The following are native Dawn facet style overrides and therefore can't utilize the BEM naming convention */
  .facets-container {
    padding-top: 8px;

    .facets__form-vertical {
      width: 100%;

      .active-facets__button-clear {
        justify-content: flex-start;

        a {
          text-decoration: underline;
          font-family: var(--bs-body-font-rand);
          font-size: var(--bs-body-font-size);
          font-style: normal;
          font-weight: var(--bs-body-font-weight);
          line-height: var(--bs-body-line-height-17);
          color: var(--cpap-text-text-gray);
        }
      }
    }

    .active-facets.active-facets-desktop {
      display: none;
    }

    .field__input {
      border: 1px solid #eaeaea;
      border-radius: 8px;
    }

    .facets__summary {
      padding-top: 8px;
      padding-bottom: 8px;

      .facets__summary-label,
      span {
        font-family: var(--bs-body-font-rand);
        font-size: 16px;
        font-style: normal;
        font-weight: var(--bs-body-font-weight);
        line-height: 24px;
        color: var(--cpap-primary-soft-black);
      }

      &:hover {
        .facets__summary-label {
          text-decoration: none;
        }
      }
    }

    .facet-checkbox {
      font-family: var(--bs-body-font-rand);
      font-size: var(--bs-body-font-size);
      font-style: normal;
      font-weight: var(--bs-body-font-weight);
      line-height: var(--bs-body-line-height-17);
      color: var(--cpap-text-text-gray);
      padding-top: 8px;
      padding-bottom: 8px;

      svg {
        margin-right: 6px;
        width: 16px;
        height: 16px;
        display: none !important;
      }

      .icon-checkmark {
        left: -2px;
        top: 6px;
        width: 20px;
        height: 20px;
      }

      .facet-checkbox__text {
        font-family: var(--bs-body-font-rand);
        font-size: var(--bs-body-font-size);
        font-style: normal;
        font-weight: var(--bs-body-font-weight);
        line-height: var(--bs-body-line-height-17);
        color: var(--cpap-text-text-gray);
      }

      &.active {
        .facet-checkbox__text {
          color: var(--cpap-primary-soft-black);
        }
      }

      &:hover {
        .facet-checkbox__text {
          text-decoration: none;
        }
      }

      .facet-checkbox__text {
        display: block;
        position: relative;
        padding-left: 22px;

        &:before {
          content: '';
          width: 16px;
          height: 16px;
          border: 1px solid var(--cpap-text-text-gray);
          border-radius: 4px;
          position: absolute;
          top: 1px;
          left: 0;
          z-index: 1;
        }

        &:after {
          content: '';
          background-image: url('./Checkmark-3.svg');
          width: 10px;
          height: 8px;
          position: absolute;
          top: 5px;
          left: 3px;
          z-index: 1;
          opacity: 0;
        }
      }
    }

    @media (max-width: 749px) {
      display: flex;
      flex-wrap: wrap;

      .mobile-facets__wrapper {
        width: 100%;
        margin: 40px 0 19px 0;
      }

      .product-count {
        width: 100%;
        text-align: center;
        opacity: 1;

        .product-count__text {
          letter-spacing: 0;

          span {
            font-family: var(--bs-body-font-rand);
            font-size: var(--bs-body-font-size);
            font-style: normal;
            font-weight: var(--bs-body-font-weight);
            line-height: var(--bs-body-line-height-17);
            color: var(--cpap-primary-soft-black);
          }
        }
      }
    }
  }
}

.cpap__main-search__product-grid-container {
  flex: 1;

  .product-card-box-box {
    .right-rail {
      .product-vars {
        margin-top: 24px;

        .product-option {
          margin-bottom: 24px;
          position: relative;

          @media (max-width: 992px) {
            margin-bottom: 16px;
          }

          &:before {
            content: '\e909';
            font-size: 12px;
            transition: transform 0.2s;
            z-index: 1;
            transform: rotate(90deg);
            display: inline-block;
            pointer-events: none;
            position: absolute;
            bottom: 22px;
            right: 21px;
          }

          .cpap__main-search__selection-label-container {
            margin-bottom: 8px;

            label {
              font: var(--cpap-typography-font-s-bold);
              color: var(--cpap-primary-soft-black);
              display: block;
              margin-bottom: 8px;
            }

            .error-tips {
              transition: all 0.2s;
              opacity: 0;
              visibility: hidden;
              display: none;

              &.is-show {
                opacity: 1;
                visibility: visible;
                display: block;
              }

              p {
                font: var(--cpap-typography-font-s-bold);
                color: rgba(205, 56, 36, 1);
                margin: 0;
                display: block;
                margin-bottom: 8px;
              }
            }
          }

          select {
            color: var(--cpap-text-text-gray);
            font: var(--cpap-typography-font-s-bold);
            line-height: 24px;
            border: 1px solid var(--cpap-stroke-gray);
            border-radius: 8px;
            padding: 15px 35px 15px 15px;
            width: 100%;

            option {
              &:first-child {
                display: none;
              }
            }
          }
        }
      }

      .price-row {
        text-align: center;
        margin-bottom: 12px;

        div {
          margin: 0 !important;
        }

        span {
          margin: 0 !important;
          font: 500 var(--cpap-typography-font-lg);
          color: var(--cpap-primary-soft-black);
        }

        .price-item {
          &.price-item--sale.price-item--last {
            margin-right: 6px !important;
          }
        }
      }

      .cpap__buy-buttons-row {
        position: relative;

        .cpap__buy-buttons__select-option-button {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          z-index: 2;
        }

        &.cpap__buy-buttons-column--visible {
          .cpap__buy-buttons__select-option-button {
            opacity: 0;
            visibility: hidden;
          }
        }

        button {
          color: var(--cpap-primary-white);
          font: 700 var(--cpap-typography-font-lg);
          border: 1px solid var(--cpap-primary-orange);
          border-radius: 28px;
          letter-spacing: 0;
          height: auto;
          padding: 15px;
          display: block;
          width: 100%;
          text-align: center;
          transition: all 0.2s;
          margin: 0;
          background: var(--cpap-primary-orange);

          &:hover {
            @media (min-width: 768.5px) {
              background: var(--cpap-overlay-utility-orange);
              border-color: var(--cpap-primary-orange);
              color: var(--cpap-primary-soft-black);
            }
          }

          &:active {
            background: var(--cpap-overlay-utility-orange);
            border-color: var(--cpap-primary-orange);
            color: var(--cpap-primary-soft-black);
          }

          &:before,
          &:after {
            box-shadow: none !important;
          }

          .loading__spinner {
            display: none !important;
          }

          &.out-of-stock {
            cursor: no-drop;
            background: var(--cpap-primary-white);
            color: var(--cpap-primary-soft-black);

            &:hover {
              @media (min-width: 768.5px) {
                background: var(--cpap-overlay-utility-orange);
              }
            }

            &:active {
              background: var(--cpap-overlay-utility-orange);
            }
          }

          span {
            display: block;
          }
        }
      }
    }
  }

  @media (max-width: 749px) {
    .grid-heading {
      .list-and-sort {
        .facets-container {
          display: none;
        }
      }
    }
  }

  /* 👇 The following are native Dawn product grid layout style overrides and therefore can't utilize the BEM naming convention */
  .product-grid {
    gap: 32px;
    margin-top: 24px;
    margin-bottom: 0;

    .grid__item {
      width: 100%;
      max-width: initial;
      .card {
        flex-direction: row;
      }
    }

    &.style-is-grid {
      .grid__item {
        width: calc(33.33% - 22px);
        max-width: initial;
        flex-grow: initial;

        @media (max-width: 1150px) {
          width: calc(50% - 16px);
        }

        .card {
          flex-direction: column;
        }
      }
    }
  }

  &.article-container {
    /* 👇 The following are native Dawn facet style overrides and therefore can't utilize the BEM naming convention */
    .grid-heading {
      display: none;
    }

    .grid {
      gap: 16px;

      .grid__item {
        width: calc(25% - 24px);
        max-width: 25%;

        @media (max-width: 1024px) {
          width: calc(33.33% - 24px) !important;
          max-width: 33.33%;
        }

        @media (max-width: 820px) {
          width: calc(50% - 24px) !important;
          max-width: 50%;
        }

        @media (max-width: 560px) {
          width: 100% !important;
          max-width: 100%;
          margin-bottom: 12px;
        }

        .article-card-wrapper {
          .article-card {
            flex-direction: column;
            gap: 32px;
            padding: 24px 16px;
            border: none;
            margin-bottom: 24px;
            border-radius: 16px;

            @media (max-width: 820px) {
              gap: 24px;
            }

            @media (max-width: 560px) {
              margin-bottom: 0;
              padding: 0;
            }

            &:hover {
              box-shadow: 0 -4px 30px #00000014;

              @media (max-width: 820px) {
                box-shadow: none;
              }
            }

            .article-card__image-wrapper {
              width: 100%;
              height: 150px;
              border-radius: 5.853px;
              overflow: hidden;
              background: var(--cpap-primary-beige)
                url(/cdn/shop/files/cpap.com_Wordmark_RGB_White.png?v=1715695544)
                no-repeat;
              background-position: center;
              background-size: 50%;

              img {
                width: 100%;
                height: 100%;
                object-fit: cover;
              }
            }

            .card__content {
              padding: 0;

              .card__information {
                padding: 0;
                display: flex;
                flex-direction: column;
                gap: 8px;
              }

              .card__badge {
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                gap: 8px;
                align-self: flex-start;

                span {
                  font-family: var(--bs-body-font-rand);
                  font-size: var(--bs-body-font-size);
                  font-style: normal;
                  font-weight: var(--bs-body-font-weight);
                  line-height: var(--bs-body-line-height-17);
                  color: var(--cpap-text-text-gray);
                }
              }

              .card__heading {
                a {
                  font-family: var(--bs-body-font-rand);
                  font-size: 24px;
                  font-style: normal;
                  font-weight: var(--bs-body-font-weight);
                  line-height: 32px;
                  color: var(--cpap-primary-soft-black);

                  &::after {
                    display: none;
                  }
                }
              }

              p {
                margin: 0;
                font-family: var(--bs-body-font-rand);
                font-size: 16px;
                font-style: normal;
                font-weight: var(--bs-body-font-weight);
                line-height: 24px;
                color: var(--cpap-text-text-gray);
              }
            }
          }
        }
      }
    }
  }

  .cpap__pagination {
    margin-top: 0;
  }

  .cpap__pagination ul li a.cpap__pagination__item--next {
    ul {
      li {
        a {
          &.cpap__pagination__item--next {
            margin-right: 0;
          }
        }
      }
    }
  }
}

.cpap__main-search__product-grid {
  row-gap: 0 !important;
  transition: all 0.4s;

  @media (max-width: 992px) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }

  @media (max-width: 749px) {
    .product-card-box-box {
      .left-rail {
        .product-img {
          display: flex;
          align-items: center;
          justify-content: center;
        }
      }

      .middle-rail {
        .cpap__card-product-search__key-features {
          display: none;
        }
      }
    }
  }

  .grid__item {
    @media (max-width: 992px) {
      width: calc(50% - 10px);
    }

    @media (max-width: 749px) {
      width: 100%;
    }
  }

  .product-card {
    width: 100%;
  }

  .product-card-box-box {
    border-radius: 16px;
    border: 1px solid var(--cpap-stroke-gray);
    margin-bottom: 24px;
    padding: 24px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: relative;
    transition: border-color 0.2s;

    @media (max-width: 1300px) {
      padding: 24px 15px;
    }

    @media (max-width: 992px) {
      display: block;
      padding: 10px 16px 24px 16px;
    }

    @media (max-width: 600px) {
      border: none;
      background: none;
      margin-bottom: 16px;
    }

    &:hover {
      @media (min-width: 768.5px) {
        border-color: var(--cpap-primary-orange);
      }
    }

    &:active {
      border-color: var(--cpap-primary-orange);
    }

    .left-rail {
      width: 283px;
      padding: 55px 27px 55px 26px;
      position: relative;

      @media (max-width: 1300px) {
        width: 183px;
      }

      @media (max-width: 992px) {
        width: 100%;
        padding: 22px 10px 20px 10px;
        display: flex;
        justify-content: center;

        img {
          max-width: 233px;
          margin: 0 auto;
        }
      }

      .product-img {
        width: 100%;

        img {
          width: 100%;
          height: 100%;
        }
      }
    }

    .middle-rail {
      width: calc(100% - 458px);
      padding: 0 20px;
      max-width: 394px;

      @media (max-width: 1300px) {
        width: calc(100% - 383px);
      }

      @media (max-width: 992px) {
        width: 100%;
        padding: 0;
        max-width: 100%;
      }

      h3 {
        color: var(--cpap-primary-soft-black);
        font: 500 var(--cpap-typography-font-lg);
        margin-bottom: 16px;

        @media (max-width: 992px) {
          font: var(--cpap-typography-font-s-bold);
          margin-bottom: 8px;
        }
      }

      .cpap__brand-badge {
        margin-bottom: 8px;

        @media (max-width: 768px) {
          padding-left: 0;

          .cpap__brand-badge__checkmark-icon {
            display: none !important;
          }
        }
      }
      .price-row {
        display: none;
        font: var(--cpap-typography-font-s-bold);
        color: var(--cpap-primary-soft-black);
        margin-bottom: 16px;

        @media (max-width: 992px) {
          display: block;
        }

        * {
          font: var(--cpap-typography-font-s-bold);
          color: var(--cpap-primary-soft-black);
        }

        s {
          color: var(--cpap-text-text-gray);
        }

        .cpap__price-overrides__discount-tag-container {
          display: none;
        }

        .price__sale {
          @media (max-width: 992px) {
            margin-bottom: 0;
          }
        }
      }

      .cpap__card-product-search__key-features {
        margin-top: 24px;

        column-count: initial;

        @media (max-width: 992px) {
          margin-top: 16px;
          margin-bottom: 16px;
        }

        span {
          margin-bottom: 0;

          @media (max-width: 992px) {
            cursor: pointer;
            position: relative;

            &:before {
              content: '\e909';
              font-family: 'icomoon' !important;
              speak: never;
              font-style: normal;
              font-weight: normal;
              font-variant: normal;
              text-transform: none;
              line-height: 1;
              -webkit-font-smoothing: antialiased;
              -moz-osx-font-smoothing: grayscale;
              color: inherit;
              font-size: 12px;
              position: absolute;
              top: 50%;
              right: 0;
              transform: translate(0%, -50%) rotate(90deg);
              transition: all 0.2s;
              color: var(--cpap-primary-soft-black);
            }

            &.is-active {
              &:before {
                transform: translate(0%, -50%) rotate(270deg);
              }
            }
          }
        }

        .key-features-box {
          padding-top: 16px;

          @media (max-width: 992px) {
            display: none;
          }
        }

        .cpap__card-product-search__key-feature-item {
          margin-bottom: 15px;

          @media (max-width: 992px) {
            margin-bottom: 12px;
          }
        }
      }
    }

    .right-rail {
      width: 225px;
      padding-left: 25px;
      border-left: 1px solid var(--cpap-primary-beige);

      @media (max-width: 992px) {
        width: 100%;
        padding-left: 0;
        border: none;
      }

      .cpap__card-product-search__selling-points {
        padding-bottom: 1px;
        margin-bottom: 24px;
        position: relative;

        @media (max-width: 992px) {
          display: none;
        }

        &:before {
          content: '';
          width: calc(100% - 21px);
          height: 1px;
          background: var(--cpap-primary-beige);
          position: absolute;
          bottom: 0;
          left: 50%;
          transform: translate(-50%, 0);
        }

        .cpap__card-product-search__selling-point-item {
          font: var(--cpap-typography-font-s-bold);
          color: var(--cpap-text-text-gray);
          padding: 0;
          padding-left: 34px;
          margin-bottom: 26px;
          border: none;

          .cpap__card-product-search__selling-point-image {
            width: 22px;
            height: auto;
            left: 0;
          }
        }
      }

      .price-row {
        @media (max-width: 992px) {
          display: none !important;
        }

        .cpap__price-overrides__discount-tag-container {
          display: none;
        }
      }
    }

    .compare {
      position: absolute;
      bottom: 20px;
      left: 24px;

      @media (max-width: 992px) {
        position: static;

        img {
          max-width: 85px;
        }
      }
    }
  }

  .snack-card {
    width: 100%;
    margin-bottom: 24px;

    @media (max-width: 992px) {
      width: calc(50% - 20px);
      margin-bottom: 16px;
    }

    @media (max-width: 600px) {
      width: 100%;
    }
  }

  .snack-card-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--cpap-primary-beige);
    border-radius: 16px;
    overflow: hidden;
    padding: 32px 39.5px;
    position: relative;

    @media (max-width: 992px) {
      display: block;
      height: 100%;
    }

    @media (max-width: 600px) {
      height: auto;
      padding: 40px;
    }

    &:before {
      content: '';
      width: 100%;
      height: 20px;
      position: absolute;
      bottom: 0;
      left: 0;
      z-index: 1;
      background: linear-gradient(90deg, #aeff92 27.15%, #bff1fc 70.37%);
      opacity: 0.8;
      filter: blur(30px);
    }

    .snack-card-title {
      width: calc(100% - 248px);
      padding-right: 30px;
      max-width: 617px;
      padding-top: 20px;
      text-align: center;
      position: relative;
      z-index: 2;

      @media (max-width: 992px) {
        width: 100%;
        padding: 0;
      }

      @media (max-width: 600px) {
        text-align: left;
      }

      &.style-2 {
        padding-right: 14px;
        max-width: 676px;
        padding-top: 0;
        padding-bottom: 14px;

        h3,
        p {
          max-width: 365px;
        }
      }

      h3,
      p {
        color: var(--cpap-primary-soft-black);
        font: 500 var(--cpap-typography-font-xl);
        max-width: 337px;
        margin: 0 auto;
        margin-bottom: 20px;

        @media (max-width: 600px) {
          margin-bottom: 86px;
        }
      }
    }

    .inner-video-box {
      transform: translateZ(0px);
      width: 248px;
      position: relative;
      z-index: 2;

      @media (max-width: 992px) {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
      }

      .inner-video-box-box {
        transform: translateZ(0px);

        .text-box {
          height: 100%;

          &:before {
            display: none;
          }

          .text-and-link {
            padding: 26px 9px;

            @media (max-width: 600px) {
              padding: 16px;
            }

            p {
              color: var(--cpap-primary-white);
              opacity: 0;
              visibility: hidden;

              @media (max-width: 600px) {
                display: none !important;
              }
            }
          }
        }
      }
    }

    .snack-card-testimonials {
      max-width: 421px;
      margin: 0 auto;
      text-align: center;
      padding: 30px 0;

      @media (max-width: 600px) {
        margin: -40px;
        padding: 32px 24px;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .testimonials-title {
          margin-bottom: 122px;

          span {
            margin-bottom: 16px;
          }
        }

        .testimonials-attribution {
          display: flex !important;
          align-items: center !important;

          .attribution-img {
            width: 46px !important;
            transform: translate(0, 5px) !important;
          }

          .attribution-text {
            width: calc(100% - 46px) !important;
            padding-left: 17px !important;
            span {
              font-family: var(--cpap-typography-font-family) !important;
              margin-bottom: -2px !important;
              font-weight: var(--bs-body-font-weight);
            }
          }
        }
      }

      .testimonials-title {
        span {
          display: block;
          font: 500 var(--cpap-typography-font-lg);
          color: var(--cpap-primary-soft-black);
          margin-bottom: 8px;
          @media (max-width: 600px) {
            margin-bottom: 16px;
          }
        }
        p {
          display: block;
          font: 500 var(--cpap-typography-font-xl);
          color: var(--cpap-primary-soft-black);
          margin-bottom: 8px;
        }
      }

      .testimonials-attribution {
        .attribution-img {
          width: 70px;
          margin: 0 auto;
          margin-bottom: 4px;
          position: relative;

          &:before {
            content: '';
            width: 100%;
            height: 100%;
            position: absolute;
            top: 2px;
            left: 2px;
            z-index: 1;
            background: linear-gradient(90deg, #aeff92 27.15%, #bff1fc 70.37%);
            filter: blur(2.16501px);
            transform: rotate(90deg);
            border-radius: 50%;
          }

          img {
            border-radius: 50%;
            position: relative;
            z-index: 1;
          }
        }

        .attribution-text {
          span {
            display: block;
            font: 700 var(--cpap-typography-font-lg);
            color: var(--cpap-primary-soft-black);
            margin-bottom: 4px;

            @media (max-width: 992px) {
              font-weight: var(--bs-body-font-weight);
            }
          }

          p {
            font: 500 var(--cpap-typography-font-lg);
            color: var(--cpap-primary-soft-black);
            margin-bottom: 0px;
          }
        }
      }
    }
  }

  &.is-active {
    opacity: 0;
    transform: translate(0, 40px);
  }

  &.style-is-grid {
    @media (min-width: 992.5px) {
      display: flex;
      flex-wrap: wrap;
      gap: 0 32px;

      .product-card {
        &:hover {
          @media (min-width: 768.5px) {
            position: relative;
            z-index: 4;
          }
        }

        &:active {
          position: relative;
          z-index: 4;
        }
      }

      .product-card-box {
        overflow: hidden;
        height: 483px;

        &:hover {
          @media (min-width: 768.5px) {
            overflow: initial;
          }
        }

        &:active {
          overflow: initial;
        }
      }

      .snack-card {
        width: calc(33.3333% - 22px);

        margin-bottom: 0;
      }

      .product-card-box-box {
        display: block;
        border-radius: 8px;
        border: none;
        margin-bottom: 0;
        padding: 16px 24px 16px 24px;

        &:hover {
          @media (min-width: 768.5px) {
            background: var(--cpap-primary-white);
            box-shadow: 0 0px 66px rgba(0, 0, 0, 0.08);
            position: relative;
            z-index: 3;
            height: auto;

            .right-rail {
              opacity: 1;
              visibility: visible;
            }
          }
        }

        &:active {
          background: var(--cpap-primary-white);
          box-shadow: 0 0px 66px rgba(0, 0, 0, 0.08);
          position: relative;
          z-index: 3;

          .right-rail {
            opacity: 1;
            visibility: visible;
          }
        }

        .left-rail {
          width: 100%;
          padding: 33px 14px 16px 14px;

          .cpap__product-badges {
            left: -8px;
            top: 10px;
          }
        }

        .middle-rail {
          width: 100%;
          max-width: 100%;
          padding: 0;

          h3 {
            color: var(--cpap-primary-soft-black);
            font: var(--cpap-typography-font-s-bold);
            margin-bottom: 8px;
          }

          .cpap__brand-badge {
            padding-left: 0;

            .cpap__brand-badge__checkmark-icon {
              display: none;
            }
          }

          .price-row {
            display: block;
          }

          .cpap__card-product-search__key-features {
            display: none;
          }
        }

        .right-rail {
          width: 100%;
          padding-left: 0;
          border: none;
          opacity: 0;
          visibility: hidden;
          transition: all 0.2s;
          min-height: 113px;

          .right-rail-box {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
          }

          .cpap__card-product-search__selling-points {
            display: none;
          }

          .price-row {
            display: none;
          }
        }

        .compare {
          position: static;

          img {
            max-width: 85px;
          }
        }
      }

      .snack-card-box {
        padding: 0;
        display: block;
        border-radius: 8px;
        height: calc(100% - 34px);
        margin: 0;

        .snack-card-title {
          display: none;
        }

        .inner-video-box {
          width: 100%;
          height: 100%;

          .inner-video-box-box {
            height: 100%;
          }

          .inner-video-box-box {
            .text-box {
              &:before {
                display: block;
              }

              .text-and-link {
                padding: 19px 16px;

                p {
                  max-width: 190px;
                  opacity: 1;
                  visibility: visible;
                }
              }
            }
          }
        }

        .snack-card-testimonials {
          height: 100%;
          text-align: left;
          padding: 18px 22px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;

          .testimonials-title {
            span {
              margin-bottom: 16px;
            }
          }

          .testimonials-attribution {
            display: flex;
            align-items: center;

            .attribution-img {
              width: 46px;
              transform: translate(0, 5px);
            }

            .attribution-text {
              width: calc(100% - 46px);
              padding-left: 17px;

              span {
                font-family: var(--cpap-typography-font-family);
                font-weight: var(--bs-body-font-weight);
                margin-bottom: -2px;
              }
            }
          }
        }
      }
    }
  }

  @media (max-width: 749px) {
    .product-card-box-box {
      .middle-rail {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 23px;

        .yotpo {
          order: 1;
          margin: 0;
        }

        .cpap__brand-badge {
          order: 2;
          margin: 0;
        }

        h3 {
          order: 3;
          margin: 0;
        }

        .price-row {
          order: 4;
          margin: 0;
        }
      }
    }
  }
}

.cpap__main-search__search-term {
  font-family: var(--bs-body-font-rand);
  font-size: 24px;
  font-style: normal;
  font-weight: var(--bs-body-font-weight);
  line-height: 32px;
  color: var(--cpap-primary-soft-black);

  span {
    font-family: var(--bs-body-font-rand);
    font-size: var(--bs-body-font-size);
    font-style: normal;
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height-17);
    color: var(--cpap-text-text-gray);
    display: block;
    margin-bottom: 8px;
  }
}

.cpap__main-search__type-tabs {
  margin-bottom: 20px;

  ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 20px;

    @media (max-width: 749px) {
      justify-content: center;
    }

    li {
      a {
        font-family: var(--bs-body-font-rand);
        font-size: var(--bs-body-font-size);
        font-style: normal;
        font-weight: var(--bs-body-font-weight);
        line-height: var(--bs-body-line-height-17);
        color: var(--cpap-primary-soft-black);
        padding-bottom: 8px;
      }

      .active {
        position: relative;
        font-weight: var(--bs-body-font-weight-700);

        &::before {
          content: '';
          position: absolute;
          bottom: 0;
          width: 100%;
          height: 1px;
          background-color: var(--cpap-primary-orange);
        }
      }
    }
  }
}

.cpap__main-search__grid-header {
  /* 👇 The following are native Dawn facet style overrides and therefore can't utilize the BEM naming convention */
  .facets-container {
    flex-grow: 1;
    padding: 0;

    .facets__form-vertical {
      width: 100%;

      .active-facets {
        gap: 8px;
      }

      .active-facets__button {
        padding: 0;
        margin: 0;

        .active-facets__button-inner {
          background-color: rgba(46, 46, 46, 0.05);
          padding: 8px 16px;
          border-radius: 23px;
          font-family: var(--bs-body-font-rand);
          font-size: 16px;
          font-style: normal;
          font-weight: var(--bs-body-font-weight);
          line-height: 24px;
          color: var(--cpap-primary-soft-black);

          svg {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background-color: var(--cpap-primary-white);
            padding: 3px;
            margin: 0 0 0 10px;
          }
        }
      }
    }
  }

  .facet-filters {
    .facet-filters__field {
      padding: 19px 16px 20px 16px;
      border-radius: 8px;
      border: 1px solid #eaeaea;

      .facet-filters__label {
        margin-right: 3px;
        font-family: var(--bs-body-font-rand);
        font-size: var(--bs-body-font-size);
        font-style: normal;
        font-weight: var(--bs-body-font-weight);
        line-height: var(--bs-body-line-height-17);
        color: var(--cpap-text-text-gray) !important;

        label {
          font-family: var(--bs-body-font-rand);
          font-size: var(--bs-body-font-size);
          font-style: normal;
          font-weight: var(--bs-body-font-weight);
          line-height: var(--bs-body-line-height-17);
          color: var(--cpap-text-text-gray);
        }
      }

      .facet-filters__sort {
        font-family: var(--bs-body-font-rand);
        font-size: var(--bs-body-font-size);
        font-style: normal;
        font-weight: var(--bs-body-font-weight);
        line-height: var(--bs-body-line-height-17);
        color: var(--cpap-primary-soft-black);

        option {
          font-family: var(--bs-body-font-rand);
          font-size: var(--bs-body-font-size);
          font-style: normal;
          font-weight: var(--bs-body-font-weight);
          line-height: var(--bs-body-line-height-17);
          color: var(--cpap-primary-soft-black);
        }
      }
    }
  }
}

.cpap__main-search__facets_container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;

  @media screen and (max-width: 1200px) {
    flex-wrap: wrap;
  }
}

.cpap__main-search__facets {
  max-width: 60%;

  @media screen and (max-width: 1200px) {
    width: 100%;
    order: 2;
    max-width: 100%;
    margin-top: 24px;
  }
}

.cpap__main-search__active-facets {
  @media (max-width: 749px) {
    display: none;
  }
}

.cpap__main-search__facet-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eaeaea;

  /* 👇 The following are native Dawn facet style overrides and therefore can't utilize the BEM naming convention */
  .facets__heading {
    margin: 0;
    font-family: var(--bs-body-font-rand);
    font-size: 16px;
    font-style: normal;
    font-weight: var(--bs-body-font-weight);
    line-height: 24px;
    color: var(--cpap-primary-soft-black);
  }

  .product-count__text {
    span {
      font-family: var(--bs-body-font-rand);
      font-size: var(--bs-body-font-size);
      font-style: normal;
      font-weight: 400;
      line-height: var(--bs-body-line-height-17);
      color: var(--cpap-text-text-gray);
    }
  }
}

.cpap__main-search__view-type-container {
  display: flex;
  margin-left: auto;

  @media screen and (max-width: 1200px) {
    width: 100%;
    order: 1;
    justify-content: flex-end;
  }
}

.cpap__main-search__view-type {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;

  @media (max-width: 992px) {
    display: none;
  }

  > div {
    cursor: pointer;
  }

  .active {
    svg {
      path {
        fill: var(--cpap-primary-soft-black);
      }
    }
  }
}

.cpap__main-search__guide-cta--desktop {
  .cpap__main-search__guide-cta {
    @media (max-width: 767px) {
      display: none;
    }
  }
}

.cpap__main-search__guide-cta-mobile-product-list {
  display: none;

  @media (max-width: 749px) {
    display: flex;
    margin: 0 0 24px 0;
  }
}
