/* 🚧 WIP 🚧: BEM naming convention needs to be completed for these styles */
.cpap__product-features-showcase {
  .cpap__product-features-showcase__container {
    background: var(--cpap-accent-plum);
    padding-top: 120px;
    padding-bottom: 60px;
  }
  .cpap__product-features-showcase__header-container {
    max-width: 650px;
    margin-bottom: 16px;
  }
  .cpap__product-features-showcase__header {
    color: var(--cpap-primary-white);
  }
  .cpap__product-features-showcase__media-container {
    max-width: 476px;
    height: 295px;
  }
  .cpap__product-features-showcase__media-primary {
    height: 100%;
    img {
      height: 100%;
      margin: 0 auto;
    }
  }
  .cpap__product-features-showcase__media-secondary {
    max-width: 108px;
  }
  .cpap__product-features-showcase__media-secondary .figure-right {
    max-width: 108px;
    max-height: 107px;
  }
  .cpap__product-features-showcase__media-secondary span {
    font-size: 10px;
    line-height: 150%;
    color: var(--cpap-primary-white);
    margin-top: 6px;
  }
  .cpap__product-features-showcase__media-secondary {
    position: absolute;
    bottom: 10px;
    right: -135.8px;
  }
  .cpap__product-features-showcase__list {
    margin-top: 72.34px;
  }
  .cpap__product-features-showcase__feature h3 {
    color: var(--cpap-primary-white);
  }
  .cpap__product-features-showcase__feature p {
    color: var(--cpap-primary-white);
  }
  .cpap__product-features-showcase__list-item {
    border-right: 1px solid var(--cpap-overlay-light);
    padding: 10px 22px 11px 22px;
  }
  .cpap__product-features-showcase__list-item:first-child {
    padding-left: 0;
  }
  .cpap__product-features-showcase__list-item:last-child {
    border: none;
    padding-right: 0;
  }
  .cpap__product-features-showcase__feature-container {
    max-width: 226px;
    min-width: 226px;
  }
  .cpap__product-features-showcase__feature-button {
    gap: 10px;
    white-space: normal;
  }
  .cpap__product-features-showcase__feature-button span {
    width: 100%;
  }
  .cpap__product-features-showcase__feature {
    flex-grow: 1;
  }
  .cpap__product-features-showcase__feature h3 {
    margin-bottom: 12px;
  }
  .cpap__product-features-showcase__feature p {
    margin-bottom: 16px;
  }
  .features-callout-body {
    max-width: 100%;
  }
  .features-callout-body .features-callout-body-contain .features-callout-body-main p {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    color: var(--cpap-primary-soft-black);
    margin: 0 0 24px 0;
  }
  .cpap__product-features-showcase__inner-container .contain-box-list p {
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
  }
  .cpap__product-features-showcase__feature-button svg {
    width: 12px;
  }
  .cpap__product-features-showcase__modal-video-container {
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
  }
  .features-callout-drawer .features-callout-body-main-full::-webkit-scrollbar {
    width: 0px;
  }
  .features-callout-body .features-callout-body-contain .offcanvas-header {
    background: var(--cpap-primary-beige);
    height: 64px;
  }
  .features-callout-body .features-callout-body-contain .offcanvas-header h3 {
    max-width: 310px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .features-callout-body .features-callout-body-contain .offcanvas-header button {
    position: absolute;
    top: 50%;
  }
  .features-callout-body .features-callout-body-contain .features-callout-body-main {
    padding: 32px 40px;
  }
  .features-callout-body .features-callout-body-video {
    width: 256px;
    height: 344px;
    border-radius: 8px;
    cursor: pointer;
  }
  .features-callout-body .features-callout-body-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
  }
  .features-callout-body
    .features-callout-body-video
    .cpap__product-features-showcase__flyout-video-play-button {
    padding: 9px 16px 9px 8px;
    background: var(--cpap-overlay-black);
    color: var(--cpap-primary-white);
    border-radius: 30px;
    margin: 16px;
    gap: 8px;
  }
  .features-callout-body [class^='swiper-button'] {
    position: absolute;
    top: 34px;
    z-index: 1;
    font-size: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--cpap-stroke-gray);
    background: transparent;
  }
  .features-callout-body [class^='swiper-button'].swiper-button-disabled {
    display: none !important;
  }
  .cpap__offcanvas-flyout .features-callout-body [class^='swiper-button'].swiper-button-prev {
    left: 24px;
  }
  .cpap__offcanvas-flyout .features-callout-body [class^='swiper-button'].swiper-button-next {
    right: 24px;
  }
  .features-callout-body .features-callout-body-main ul {
    list-style-type: none;
    margin-bottom: 32px;
  }
  .features-callout-body .features-callout-body-main ul li {
    padding-bottom: 16px;
  }
  .features-callout-body .features-callout-body-main ul li:last-child {
    padding-bottom: 0;
  }
  .features-callout-body .features-callout-body-main ul svg {
    margin-right: 12px;
    width: 20px;
    height: 20px;
  }
  .features-callout-body [class^='swiper-button']:before {
    content: '';
    width: 6px;
    height: 6px;
    background: transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    border-top: 1px solid var(--cpap-primary-soft-black);
    border-left: 1px solid var(--cpap-primary-soft-black);
    transition: all 0.2s linear;
  }
  .features-callout-body [class^='swiper-button'].swiper-button-prev:before {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .features-callout-body [class^='swiper-button'].swiper-button-next:before {
    transform: translate(-50%, -50%) rotate(135deg);
  }
  .features-callout-body [class^='swiper-button'] {
    background: transparent;
    transition: all 0.2s linear;
  }
  .cpap__product-features-showcase__modal video {
    width: 100%;
  }
  .cpap__product-features-showcase__modal {
    background: var(--cpap-overlay-black);
  }
  .cpap__product-features-showcase__modal-close-button {
    z-index: 1;
  }
  @media only screen and (min-width: 1199px) {
    .features-callout-body [class^='swiper-button']:hover:before {
      border-color: var(--cpap-primary-white);
    }
    .cpap__offcanvas-flyout .features-callout-body [class^='swiper-button']:hover {
      background: var(--cpap-primary-orange);
      border-color: var(--cpap-primary-orange);
    }
  }
  .features-callout-body [class^='swiper-button']:active:before {
    border-color: var(--cpap-primary-white);
  }
  .cpap__offcanvas-flyout .features-callout-body [class^='swiper-button']:active {
    background: var(--cpap-primary-orange);
    border-color: var(--cpap-primary-orange);
  }
  .features-callout-body-contain .features-callout-body-bottom {
    padding: 20px 40px;
    margin-top: auto;
  }
  .features-callout-body-contain .features-callout-body-bottom .btn {
    max-width: 350px;
    height: 56px;
  }
  .features-callout-body-main-full {
    height: calc(100vh - 60px);
  }
  @media screen and (max-width: 580px) {
    .features-callout-body-main-full {
      height: calc(100vh - 120px);
    }
  }
  @media only screen and (max-width: 820px) {
    .cpap__product-features-showcase__media-container {
      max-width: initial;
      max-height: initial;
      height: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 13px 0 17px;
    }
    .cpap__product-features-showcase__media-primary {
      max-width: 476px;
      max-height: 295px;
      margin: 0 !important;
    }
    .cpap__product-features-showcase__media-secondary {
      position: initial;
    }
    .cpap__product-features-showcase__media-secondary {
      margin-left: 9.25px;
    }
    .cpap__product-features-showcase__container {
      padding-top: 72px;
    }
    .cpap__product-features-showcase__header-container {
      margin-bottom: 40px;
    }
    .cpap__product-features-showcase__list {
      margin-top: 64.3px;
    }
  }
  @media only screen and (max-width: 767.98px) {
    .cpap__product-features-showcase__list-item {
      border-right: none;
      border-bottom: 1px solid var(--cpap-overlay-light);
      width: 100%;
    }
    .cpap__product-features-showcase__feature-container {
      max-width: 100%;
      width: 100%;
    }
    .cpap__product-features-showcase__list-item {
      padding: 44px 0;
    }
    .cpap__product-features-showcase__list-item:first-child {
      padding-top: 0;
    }
    .cpap__product-features-showcase__list-item:last-child {
      padding-bottom: 0;
    }
    .cpap__product-features-showcase__inner-container
      .callout-contain-box-wrap
      .contain-box-list
      p {
      margin-bottom: 20px;
      font-size: 16px;
      line-height: 24px;
    }
    .cpap__product-features-showcase__media-secondary span {
      font-size: 12px;
      margin-top: 7.5px;
    }
    .features-callout-body .features-callout-body-video {
      width: 100%;
      max-width: 335px;
      height: 450px;
      margin: 0 auto;
    }
    .features-callout-body .features-callout-body-contain .features-callout-body-main {
      padding: 32px 20px;
    }
    .cpap__product-features-showcase__media-secondary .figure-right {
      max-width: 58px;
      max-height: 57px;
    }
    .cpap__product-features-showcase__container {
      padding-bottom: 30px;
    }
  }

  .cpap__product-features-showcase__modal-close-icon {
    padding: 8px;
    display: block;
    line-height: 10px;

    @media (max-width: 767px) {
      padding: 4px;
      width: 30px;
      height: 30px;
      display: flex !important;
      justify-content: center;
      align-items: center;
      font-size: 26px;
      line-height: normal;
    }
  }
}
