/* ==========================================================================
   SPECIAL OFFERS HUB V4 - ORGANIZED STYLESHEET
   ========================================================================== */

/* ==========================================================================
   SECTION 1: ANIMATIONS
   ========================================================================== */
   @keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
        visibility: visible
    }

    to {
        transform: translateY(-16px);
        opacity: 1;
        visibility: visible
    }
}

@keyframes slideUpRight {
    from {
        transform: translateY(0);
        opacity: 1;
        visibility: visible translateX(calc((100vw - 1200px) / 2 - 10px))
    }

    to {
        transform: translateY(-16px);
        opacity: 1;
        visibility: visible translateX(calc((100vw - 1200px) / 2 - 10px))
    }
}


@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-down {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(100%);
    }
}

@keyframes fade-in-bottom {
    0% {
        transform: translateY(2.5rem);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}


/* ==========================================================================
   SECTION 2: PLATFORM OVERRIDES & BASE STYLES
   ========================================================================== */
/* airTRFX platform overrides */

button[data-test="more-filters-button"] {
    color: #fff !important;
}

#main .Campaign.w-full.max-w-full.lg\:max-w-6xl.self-center {
    max-width: 100%;
}

#main .Campaign.w-full.max-w-full.lg\:max-w-6xl.self-center .px-3.py-4 {
    padding: 0;
    position: relative;
}

#main>div.Campaign.w-full.max-w-full.lg\:max-w-6xl.self-center>div>div:nth-child(1)>article>section.__pfs.__intro.__customSection.__bss>div.__pfs.__fixedWidth.__bss>div.__pfs.header-img-container.__bss>img.__pfs.boxingDay-header-img.__bss {
    mask-image: linear-gradient(to left, #000 0%, #000 40%, transparent 100%);
    object-fit: cover;
    height: 300px;
    min-height: 300px;
    width: 100%;
}

p[data-test="disclaimer"] a.underline {
    font-weight: bold;
}

/* Hack to make booking popup show calendar */
@media (min-width: 579px) {
    .css-1i365sq {
        overflow: visible !important;
    }
}

/* SOHUB REVAMP START */

.__psc .__customSection {
    padding: 48px 0;
}

html.stickyMode {
    overflow-x: inherit !important;
}

html.popupMode {
    overflow: hidden !important;
}

.__psc .__topCutout {
    border-radius: 16px;
    margin-top: -90px;
    position: relative;
    padding: 30px;
}

.__psc .__content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.__psc .__fixedWidth {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.__pfs.__bss.travel-multiline div span {
    font-size: 14px;
}

@media only screen and (max-width: 1200px) {
    .hide-ui {
        width: 0 !important;
        height: 0 !important;
        overflow: hidden;
        opacity: 0;
        padding: 0 !important;
        margin: 0 !important;
    }

    .__psc .__fixedWidth {
        max-width: calc(100% - 40px);
    }
}

@media only screen and (max-width: 1025px) {
    html.stickyMode {
        overflow: inherit !important;
    }
}

/* ==========================================================================
   SECTION 3: BASE STYLES (Scrollbar, HTML/Body)
   ========================================================================== */
/* Scrollbar custom styling */
body::-webkit-scrollbar,
.__psc .__customModal.active .__scrollableSectionModal::-webkit-scrollbar,
.__psc .__customModal.active .__modalFooter .__modalFooterContainer::-webkit-scrollbar {
    background-color: #FAFAFA;
    width: 16px;
    height: 16px;
}

body::-webkit-scrollbar-track,
.__psc .__customModal.active .__scrollableSectionModal::-webkit-scrollbar-track,
.__psc .__customModal.active .__modalFooter .__modalFooterContainer::-webkit-scrollbar-track {
    background-color: #FAFAFA;
}

body::-webkit-scrollbar-thumb,
.__psc .__customModal.active .__scrollableSectionModal::-webkit-scrollbar-thumb,
.__psc .__customModal.active .__modalFooter .__modalFooterContainer::-webkit-scrollbar-thumb {
    background-color: #babac0;
    border-radius: 16px;
    border-left: 3px solid #FAFAFA;
    border-right: 3px solid #FAFAFA;
}

body::-webkit-scrollbar-track:hover,
.__psc .__customModal.active .__scrollableSectionModal::-webkit-scrollbar-track:hover,
.__psc .__customModal.active .__modalFooter .__modalFooterContainer::-webkit-scrollbar-track:hover {
    background-color: #f4f4f4
}

body::-webkit-scrollbar-thumb:hover,
.__psc .__customModal.active .__scrollableSectionModal::-webkit-scrollbar-thumb:hover,
.__psc .__customModal.active .__modalFooter .__modalFooterContainer::-webkit-scrollbar-thumb:hover {
    background-color: #a0a0a5;
    border-left: 3px solid #f4f4f4;
    border-right: 3px solid #f4f4f4;
}

/* ==========================================================================
   SECTION 4: TYPOGRAPHY & BASE ELEMENTS
   ========================================================================== */
/* Section: Typography, links and buttons */

.__psc .__customSection h1.__pfs,
.__psc .__customSection h2.__pfs,
.__psc .__customSection h3.__pfs,
.__psc .__customSection h4.__pfs,
.__psc .__customSection p.__pfs,
.__psc .__customSection li.__pfs,
.__psc .__customSection span.__pfs {
    font-family: 'Open Sans';
    font-weight: 400;
    text-align: left;
    color: #000;
}

.__psc .__customSection a.__pfs {
    font-family: 'Open Sans';
    font-weight: 600;
    text-align: left;
    color: #005078;
    font-weight: 600;
}

.__psc .__customSection p.__pfs a.__pfs,
.__psc .__customSection li.__pfs a.__pfs {
    text-decoration: underline;
    font-size: inherit;
    line-height: inherit;
}

.__psc .__customSection h1.__pfs {
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 8px;
}

.__psc .__customSection .h1-xl.__pfs {
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    margin-bottom: 16px;
    text-align: left;
}

.__psc .__customSection h2.__pfs,
.__psc .__customSection .h2.__pfs {
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
    margin-bottom: 32px;
}

.__psc .__customSection h3.__pfs,
.__psc .__customSection .h3.__pfs {
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px
}

.__psc .__customSection h2.__pfs+*.__pfs {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.__psc .__customSection p.__pfs,
.__psc .__customSection li.__pfs {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.__psc .__customSection p.__pfs strong,
.__psc .__customSection li.__pfs strong {
    font-weight: 700;
}

.__psc button.__primaryBtn,
.__psc a.__primaryBtn {
    border-radius: 16px;
    background-color: #005078;
    color: #fff;
    width: fit-content;
    min-height: 50px;
}

.__psc button.__primaryBtn:hover,
.__psc a.__primaryBtn:hover {
    background-color: #004060;
}

.__psc button.__primaryBtn a.__pfs,
.__psc a.__primaryBtn.__pfs {
    text-align: center;
    padding: 15px 60px;
    text-decoration: none;
    border-radius: 16px;
    z-index: 3;
    display: block;
}

.__psc button.__primaryBtn a,
.__psc button.__primaryBtn a.__pfs>*,
.__psc a.__primaryBtn {
    font-weight: 600;
    font-size: 14px;
    color: #fff !important;
    text-decoration: none;
}

.__psc .__customSection .__pill {
    border-radius: 17.5px;
    color: #fff;
    background-color: #000;
    padding: 6px 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.75px;
    text-align: left;
    line-height: 14px;
    text-transform: uppercase;
    margin: 0 0 25px;
    width: fit-content;
}

.__psc .__customSection .__pill.red {
    background-color: rgba(240, 20, 40, 1);
}

@media only screen and (max-width: 767px) {
    .__psc .__customSection h1.__pfs {
        font-size: 36px;
    }

    .__psc .__customSection .h1-xl.__pfs {
        font-size: 24px !important;
        line-height: 32px !important;
    }

    .__psc .__customSection h2.__pfs, .__psc .__customModal.active .__modalBody h2.__pfs {
        font-size: 24px !important;
        line-height: 32px !important;
    }

    .__psc .__customSection h3.__pfs, .__psc .__customSection .h3.__pfs {
        font-size: 20px !important;
        line-height: 28px !important;
    }

    .__psc .__customSection h2.__pfs, .__psc .__customSection .h2.__pfs, .__psc .__customModal.active .__modalBody h2.__pfs {
        margin-bottom: 16px !important;
    }
}

/* ==========================================================================
   SECTION 5: SECTIONS (Intro, Subheading, Sticky Anchors, etc.)
   ========================================================================== */
/* Section: Intro */
/* section.__intro.__customSection {
      padding-bottom: 35px;
      box-shadow: 0px 5px 15px -5px rgba(0,0,0, 0.15);
      background-image: linear-gradient(to bottom, #fff 0%, rgb(249 249 249) 100%);
  } */

.__pfs.__intro.__customSection.hero-fullWidth-bg.__bss {
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/specialOffersHub-v4/hero-v5.png);
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 400px;
    margin-bottom: -100px;
    padding-top: 0;
}

.__psc .__intro.__customSection .__fixedWidth {
    padding-top: 40px;
}

.__psc .__intro.__customSection h1.__pfs+p.__pfs {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 0;
}

/* section.__intro.__customSection .__fixedWidth {
      display: flex;
      align-items: center;
      gap: 8rem;
  }
  
  section.__intro.__customSection .__fixedWidth div+img {
      border-radius: 16px;
      max-width: 400px;
  }
*/
  
  @media only screen and (max-width: 1024px) {
      .__psc .__intro.__customSection .__fixedWidth {
          padding-top: 24px;
      }
  }

  /*
  
  @media only screen and (max-width: 1024px) {
      section.__intro.__customSection .__fixedWidth {
          flex-direction: column;
      }
  
      section.__intro.__customSection .__fixedWidth div+img {
          max-width: 100%;
      }
  } */

@media (max-width: 1024px) and (min-width: 768px) {
    .__pfs.__intro.__customSection.hero-fullWidth-bg.__bss {
        margin-bottom: -90px;
    }
    .__psc .__intro.__customSection .__fixedWidth div {
        z-index: 10;
    }

    .__psc .__intro.__customSection .__fixedWidth div+img {
        max-width: 350px;
        margin-right: -15px;
    }

    .__psc .__intro.__customSection .__fixedWidth {
        /* gap: 4rem; */
        margin-top: 0;
        /* margin-top: 20px; */
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 767px) and (min-width: 601px) {
    .__psc .__intro.__customSection .__fixedWidth div {
        z-index: 10;
    }

    .__psc .__intro.__customSection .__fixedWidth div+img {
        max-width: 350px;
        margin-right: -15px;
    }

    .__psc .__intro.__customSection .__fixedWidth {
        gap: 2rem;
        margin-top: 0px;
        /* margin-top: 20px; */
    }
}

@media only screen and (max-width: 767px){
    .__pfs.__intro.__customSection.hero-fullWidth-bg.__bss {
        background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/specialOffersHub-v4/hero-v5-mobile.png);
        width: 100%;
        height: 215px;
        margin-bottom: -80px;
        margin-top: 150px;
    }
}

@media only screen and (max-width: 600px) {
    .__psc .__intro.__customSection {
        overflow: hidden;
        padding: 0px;
        /* padding: 15px; */
    }

    .__psc .__intro.__customSection .__fixedWidth {
        gap: 30px;
        flex-direction: column;
        /* padding-right: 2rem; */
        position: relative;
    }

    .__psc .__intro.__customSection .__fixedWidth div+img {
        position: absolute;
        right: -68px;
        top: 10px;
        max-width: 195px;
        overflow-x: hidden;
    }
}

/* Section: H2 subheading

.__psc .__subheading {
    display: flex;
    align-items: center;
    margin: 15px auto;
}

.__psc .__subheading img {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    background-color: rgba(224, 228, 231, 1);
    width: 65px;
    height: 65px;
    align-self: start;
    margin-right: 20px;
}

.__psc .__subheading div p.__pfs {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 22px;
}

.__psc .__subheading div p.__pfs a.__pfs {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.__psc .__subheading div p.__pfs a.__pfs::after {
    content: '';
    display: block;
    background: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/prev-arrow.svg) no-repeat center center;
    background-size: 14px 14px;
    width: 14px;
    height: 14px;
    transform: rotate(-90deg);
    margin-left: 5px;
}

.__psc .__subheading div p.__pfs a.__pfs.active::after {
    transform: rotate(90deg);
}

.__psc .__subheading div p.__pfs a.__pfs>span {
    color: inherit;
    font-weight: inherit;
}


@media only screen and (max-width: 600px) {
    .__psc .__customSection h1.__pfs {
        font-size: 28px;
        padding-right: 8rem;
    }
} */

/* ==========================================================================
   SECTION 6: CAROUSELS & SCROLL CONTAINERS
   ========================================================================== */
/* Section: infinite scroll carousel */

.__psc .__infiniteCarousel {
    position: relative;
}

.__psc .__infiniteCarousel .__scrollContainer .__offerContainer {
    gap: 24px;
    width: 100%;
    vertical-align: top;
    display: inline-flex;
    padding-bottom: 10px;
}


.__psc .__infiniteCarousel .__offerContainer .__offerSnap {
    border-radius: 16px;
    display: inline-block;
    scroll-snap-coordinate: left;
    scroll-snap-align: start;
    padding: 20px 0;
}

.__psc .__infiniteCarousel::-webkit-scrollbar,
.__psc .__infiniteCarousel .__scrollContainer .__scrollContent::-webkit-scrollbar {
    display: none;
}

.__psc .__infiniteCarousel .__scrollContainer {
    overflow: hidden;
    height: 100%;
}

.__psc .__infiniteCarousel .__scrollContainer .__scrollContent {
    overflow-x: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
    position: relative;
    /* white-space: nowrap; */
    scroll-snap-type: mandatory;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.__psc .__infiniteCarousel.__offersContainer [data-card-type="default"].__offerContainer .__offerSnap .__offer {
    transform: none;
    width: 100%;
    transition: all .33s linear;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
    border-radius: 16px;
}

.__psc .__infiniteCarousel.__offersContainer [data-card-type="default"].__offerContainer .__offerSnap .__offer > img {
    border-radius: 16px;
}

.__psc .__infiniteCarousel.__offersContainer .__offerContainer .__offerSnap .__offer {
    transform: translateX(calc((100vw - 1200px)/2 - 10px));
    width: 100%;
    transition: all .33s linear;
}

/* .__psc .__infiniteCarousel .__offerContainer .__offerSnap:nth-of-type(1) .__offer .__content {
    animation: fade-in-bottom .75s ease-out both;
    animation-delay: .8s;
}

.__psc .__infiniteCarousel .__offerContainer .__offerSnap:nth-of-type(2) .__offer .__content {
    animation: fade-in-bottom .75s ease-out both;
    animation-delay: 1.1s;
}

.__psc .__infiniteCarousel .__offerContainer .__offerSnap:nth-of-type(3) .__offer .__content {
    animation: fade-in-bottom .75s ease-out both;
    animation-delay: 1.4s;
}

.__psc .__infiniteCarousel .__offerContainer .__offerSnap:nth-of-type(4) .__offer .__content {
    animation: fade-in-bottom .75s ease-out both;
    animation-delay: 1.7s;
}

.__psc .__infiniteCarousel .__offerContainer .__offerSnap:nth-of-type(5) .__offer .__content {
    animation: fade-in-bottom .75s ease-out both;
    animation-delay: 2s;
}

.__psc .__infiniteCarousel .__offerContainer .__offerSnap:nth-of-type(6) .__offer .__content {
    animation: fade-in-bottom .75s ease-out both;
    animation-delay: 2.3s;
} */

.__psc .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content {
    border-radius: 16px;
    /* background: #fff; */
    background: none;
    margin: 0;
    height: 100%;
}

.__psc .__infiniteCarousel.__offersContainer [data-card-type="display"].__offerContainer .__offerSnap .__offer {
    position: relative;
    width: 386px;
}

.__offerSnap .__offer .__content {
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
}

.__psc #discover-deals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content:hover,
.__psc #travel.__allDeals .__infiniteCarousel .__offerContainer .__offerSnap:hover {
    animation: slideUp .75s ease-out both !important;
}

.__offerSnap:not(#filler, .disabled) .__offer .__content:hover {
    /* transform: scale3d(1.01, 1.01, 1.01) !important; */
    /* box-shadow: 0px 0px 20px -5px rgba(0, 0, 0, 0.5); */
    cursor: pointer;
    /* margin-bottom: 8px; */
    /* margin-top: 0; */
    /* box-shadow: none;
      cursor: default;
      margin-bottom: 8px;
      margin-top: 0; */
    /* animation-delay: 1.1s; */
}

.__psc .__infiniteCarousel .__offerContainer .__offerSnap:first-child .__offer {
    margin-left: 0;
    width: 100%;
}

/* .__psc .__infiniteCarousel .__offerContainer .__offerSnap:last-child .__offer {
      padding-right: 100px;
  } */

.__psc .__infiniteCarousel .__leftArrow {
    background-image: linear-gradient(-90deg, rgba(249, 249, 249, 0) 0%, rgba(250, 250, 250, 1) 100%);
    backdrop-filter: blur(0.25px);
    height: 100%;
    width: 60px;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
    z-index: 2;
}

.__psc .__infiniteCarousel .__arrow span {
    background: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/branded/icons/icon-arrow-next.svg) no-repeat center center;
    background-size: 18px 18px !important;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-color: #005078;
    box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, .3);
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 4;
    top: 42%;
    color: #fff;
    font-size: 14px;
    width: 50px;
    height: 50px;
}

.__psc .__infiniteCarousel .__leftArrow span {
    transform: rotate(180deg);
    left: 20px;
}

.__psc .__infiniteCarousel .__rightArrow span {
    right: 20px;
}

.__psc .__infiniteCarousel .__rightArrow {
    background-image: linear-gradient(90deg, rgba(249, 249, 249, 0) 0%, rgba(250, 250, 250, 1) 100%);
    backdrop-filter: blur(0.25px);
    height: 100%;
    width: 60px;
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    z-index: 2;
    display: block;
}

@media only screen and (max-width: 1200px) {
    .__psc .__infiniteCarousel.__offersContainer .__offerContainer .__offerSnap .__offer {
        transform: translateX(20px);
    }

    /* .__psc .__infiniteCarousel .__offerContainer .__offerSnap:last-child .__offer {
          padding-right: 20px;
      } */
}

@media only screen and (min-width: 768px) and (max-width: 1025px) {
    .__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap {
        flex: 0 0 calc(50% - 20px);
        padding: 20px 0;
    }

    .__psc .__infiniteCarousel .__leftArrow,
    .__psc .__infiniteCarousel .__rightArrow {
        display: none !important;
    }
}

@media only screen and (max-width: 767px) {
    .__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap {
        flex: 0 0 100%;
        padding: 20px 0 0;
    }

    .__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap .__offer .__content img {
        width: 100%;
        max-height: 275px;
        object-fit: cover;
    }

    .__psc .__infiniteCarousel .__leftArrow,
    .__psc .__infiniteCarousel .__rightArrow {
        display: none !important;
    }

    /* .__psc .__collapsibleSection .__offerContainer  .__offerSnap#filler {
          display: none;
      } */
}

/* ==========================================================================
   SECTION 7: OFFER TILES / CARDS
   ========================================================================== */
/* Section: offer tiles */

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content div+p, .__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content div.ntp-tooltip+p {
    margin-top: auto;
    border-top: 1px solid #E0E4E7;
    padding-top: 15px;
    margin-bottom: 0;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p a,
.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap#filler .__offer .__content p a {
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 14px;
    height: 35px;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p a::after,
.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap#filler .__offer .__content p a::after {
    content: '';
    display: block;
    background: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/prev-arrow.svg) no-repeat center center;
    background-size: 14px 14px;
    width: 14px;
    height: 14px;
    transform: rotate(180deg);
    margin-left: 5px;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.ribbon.__bss:before,
.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.ribbon.__bss:after {
    position: absolute;
    content: '';
    display: block;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.ribbon.__bss:before {
    width: 0.469em;
    height: 100%;
    padding: 0 0 0.438em;
    top: 0px;
    left: -6px;
    background: inherit;
    border-radius: 0.313em 0 0 0;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.ribbon.__bss:after {
    width: 0.429em;
    height: 0.5em;
    background: #55070e;
    bottom: -7px;
    left: -6px;
    border-radius: 0 0 0 0.313em;
    box-shadow: inset -1px 2px 2px rgba(0, 0, 0, 0.3);
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.ribbon.__bss {
    position: relative;
    margin-left: -20px;
    margin-top: -18px;
    margin-bottom: 15px !important;
    width: fit-content;
    text-transform: uppercase;
    color: #fff;
    font-size: 14px !important;
    padding: 0px 15px;
    background: #ef1327;
    box-shadow: -1px 2px 3px rgba(0, 0, 0, 0.5);
    border-radius: 0 4px 4px 0;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px 20px 20px;
    margin-bottom: 0;
    margin-top: 0;
    transition: 0.5s;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.__bss.eyebrow {
    color: #6C6C6E;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0px;
    text-align: left;
    margin-bottom: 5px;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.__bss.eyebrow+p.__pfs.__bss,
.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.__bss:not(.eyebrow):nth-of-type(1) {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0px;
    text-align: left;
    line-height: 24px;
    /* margin-bottom: 10px; */
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.__bss:not(.eyebrow, .ribbon):nth-of-type(1) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -moz-line-clamp: 4;
    -ms-line-clamp: 4;
    -o-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 16px;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.__bss.eyebrow+p.__pfs.__bss {
    display: flex;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.__bss.eyebrow+p.__pfs.__bss:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: cover !important;
    color: #000;
    margin-right: 5px;
    margin-top: 3px;
    background: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/branded/icons/icon-pin.svg) no-repeat center center;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.__bss {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0px;
    text-align: left;
    line-height: 20px;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.__bss.hidden {
    display: none !important;
}

.__psc .__collapsibleSection:not(.__infiniteCarousel) {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

@media only screen and (min-width: 1025px) {
    .__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap {
        flex: 0 0 calc(33% - 20px);
        padding: 20px 0;
    }
}

.__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap .__offer {
    border-radius: 16px;
    height: 100%;
}

.__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap .__offer .__content img {
    border-radius: 14px 14px 0 0;
}

.__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap .__offer .__content div {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.__psc .__collapsibleSection:not(.__infiniteCarousel) .__navContainer {
    display: none;
}

/* Section: Limited time sale specific */

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap {
    max-width: 296px;
    width: 100%;
    flex-shrink: 0;
    display: flex;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap:last-child:not(:only-of-type) {
    width: 100%;
    max-width: calc(296px + 40px);
}

.__psc .__infiniteCarousel .__offerContainer .__offerSnap:last-child:not(:only-of-type) .__offer {
    padding-right: 40px;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
    border-radius: 14px 14px 0 0;
    width: 296px;
    max-width: 100%;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div {
    padding: 30px 30px 20px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div h3 {
    margin-bottom: 20px;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div p:last-child {
    margin: auto 0 0;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap#filler .__offer .__content {
    padding: 40px 20px 0;
    align-content: center;
    justify-content: end;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap#filler .__offer .__content img {
    width: 100%;
    margin-top: auto;
    /* margin-bottom: -3px; */
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap#filler .__offer .__content p {
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap.disabled .__offer .__content {
    filter: opacity(0.5);
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap.disabled,
.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap.disabled .__offer .__content:hover {
    cursor: not-allowed;
    pointer-events: none;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap.disabled .__offer .__content a.__openModal {
    pointer-events: none;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap.disabled .__offer .promoPill {
    background: #49494b;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap .__offer .promoPill {
    width: fit-content;
    height: 22px;
    padding: 2px 10px;
    background: #D8292F;
    display: flex;
    color: #fff;
    content: 'Limited quantities';
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 20px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    align-items: center;
    justify-content: center;
}

/* @media only screen and (min-width: 1650px) {
      .__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap,
      .__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
          max-width: 450px;
          width: 100%;
      }
  
      .__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap:last-child:not(:only-of-type) {
          width: calc(450px + 60px);
          max-width: calc(450px + 60px);
      }
      .__psc .__infiniteCarousel .__offerContainer .__offerSnap:last-child:not(:only-of-type) .__offer {
          padding-right: 60px;
      }
  } */

@media only screen and (max-width: 1024px) {
    .__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content div+img+p {
        margin-top: auto;
        border-top: 1px solid #E0E4E7;
        padding-top: 15px;
        margin-bottom: 0;
    }
    
}

@media only screen and (max-width: 767px) {

    .__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap,
    .__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
        width: 315px;
        /* MB: fix spacing issue of tiles on mobile might need to re-add later */
        /* max-width: 315px; */
    }

    .__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div {
        min-height: 245px;
    }

    .__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap:last-child:not(:only-of-type) {
        width: calc(315px + 20px);
        max-width: calc(315px + 20px);
    }

    .__psc .__infiniteCarousel .__offerContainer .__offerSnap:last-child:not(:only-of-type) .__offer {
        padding-right: 20px;
    }
}

/* Section: Limited time sale specific */

.__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
    border-radius: 14px 14px 0 0;
    width: 100%;
    max-width: 100%;
    height: 190px;
    max-height: 190px;
    object-fit: cover;
}

.__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer {
    position: relative;
    width: 386px;
}

.__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap:last-child:not(:only-of-type) .__offer {
    width: calc(386px + 40px);
    padding-right: 40px;
}

.__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div {
    max-width: 100%;
}

.__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div .__pill {
    position: absolute;
    top: 10px;
    left: 10px;
    /* hide pill for more dreams carousel */
    display: none;
}

.__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div {
    border-radius: 0 0 14px 14px;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 240px;
}

.__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 15px;
}

.__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div p {
    font-size: 14px;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -moz-line-clamp: 4;
    -ms-line-clamp: 4;
    -o-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    /* color: #ffffff;
      font-weight: 700; */
}

.__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div a {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #005078;
    font-size: 14px;
    font-weight: 600;
    padding: 0;
    margin: auto 0 0;
}

.__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div a::after {
    content: '';
    display: block;
    background: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/prev-arrow.svg) no-repeat center center;
    background-size: 14px 14px;
    width: 14px;
    height: 14px;
    transform: rotate(180deg);
    margin-left: 5px;
}

.__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div button.__primaryBtn,
.__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div a.__primaryBtn {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
}

/* @media only screen and (min-width: 1650px) {
      .__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer,
      .__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
          width: 1200px;
          height: 600px;
      }
  } */

@media only screen and (min-width: 768px) and (max-width: 1025px) {
    .__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
        width: 334px;
        height: 200px;
    }

    .__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer {
        width: 334px;
    }

    .__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap:last-child:not(:only-of-type) .__offer {
        width: calc(334px + 20px);
        padding-right: 20px;
    }

    .__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div .__pill {
        top: 25px;
    }

    .__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div {
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
        width: 315px;
        height: 190px;
    }

    .__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer,
    .__psc .__infiniteCarousel.__offersContainer [data-card-type="display"].__offerContainer .__offerSnap .__offer {
        width: 280px;
    }

    .__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap:last-child:not(:only-of-type) .__offer {
        width: calc(315px + 20px);
        padding-right: 20px;
    }

    .__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div {
        width: 100%;
    }

    .__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div .__pill {
        top: 10px;
    }

    .__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div {
        top: 100px;
        height: 250px;
        width: 100%;
        max-width: 100%;
    }

    .__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div h3 {
        font-size: 18px;
        line-height: 20px;
    }

    .__psc .__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div p {
        font-size: 14px;
    }
}

/* ==========================================================================
   SECTION 8: MODALS
   ========================================================================== */
/* Section: modal popup core styles */

.__psc .__customModal {
    display: none;
}

.__psc .__customModal.active {
    position: fixed;
    /* z-index: 99999; */
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 0;
}

.__psc .__customModal.active .__modalHeader {
    max-height: 415px;
    border-radius: 16px 16px 0 0;
}

.__psc .__customModal.active .__modalHeader img {
    width: 100%;
    max-height: 415px;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

/* @media only screen and (min-width: 1350px) {
      .__psc .__customModal.active .__modalHeader img {
          object-position: 0 -240px;
      }
  }
  
  @media only screen and (min-width: 1500px) {
      .__psc .__customModal.active .__modalHeader {
          max-height: 470px;
      }
      .__psc .__customModal.active .__modalHeader img {
          max-height: 470px;
          object-position: 0 -37vh;
      }
  }
  
  @media only screen and (min-width: 1800px) {
      .__psc .__customModal.active .__modalHeader {
          max-height: 500px;
      }
      .__psc .__customModal.active .__modalHeader img {
          max-height: 500px;
          object-position: 0 -39vh;
      }
  }
  
  @media only screen and (min-width: 2000px) {
      .__psc .__customModal.active .__modalHeader {
          max-height: 600px;
      }
      .__psc .__customModal.active .__modalHeader img {
          max-height: 600px;
          object-position: 0 -41vh;
      }
  } */

.__psc .__customModal.active a.__closeModal {
    position: fixed;
    top: 16px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.2);
    background-color: #fff; */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    z-index: 10;
}

.__psc .__customModal.premiumcabin.active .__modalBody a.__closeModal {
    background: #fff;
    box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.2);
    top: 16px;
    right: 24px;
}

.__psc .__customModal.active a.__closeModal::before {
    content: '';
    background: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/icon/icon-close.svg)no-repeat center center;
    display: block;
    background-size: 20px 20px;
    width: 24px;
    height: 24px;
    /* filter: invert(11%) sepia(75%) saturate(5894%) hue-rotate(189deg) brightness(93%) contrast(101%); */
}

/* Container wrapping __scrollableSectionModal + __modalFooter so they animate together */
.__psc .__customModal.active .__customModalContainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 100%;
    margin-top: 20px;
    background: #fff;
    border-radius: 15px 16px 0 0;
    position: relative;
    overflow: hidden;
    animation: slide-up 1s ease-in-out forwards;
}

.__psc .__customModal.slideDown .__customModalContainer {
    animation: slide-down 1s ease-in-out forwards;
}

.__psc .__customModal.active .__scrollableSectionModal {
    overflow-y: scroll;
    padding: 0 2px;
    height: 100vh;
    flex: 1;
    overflow-x: hidden;
}

/* Offset scrollbar track so it doesn't clip into the top border-radius */
.__psc .__customModal.active .__scrollableSectionModal::-webkit-scrollbar-track {
    border-top: 16px solid transparent;
    background-clip: padding-box;
}

.__psc .__customModal.active .__scrollableSectionModal::-webkit-scrollbar {
    border-top: 16px solid transparent;
    background-clip: padding-box;
}

.__psc .__customModal.active:not(.noTerms) .__scrollableSectionModal {
    height: calc(min(100%, 800px) - 76px);
    padding-bottom: 40px;
}

.__psc .__customModal.active .__modalBody + .__pfs.__accordionContainer.__bss {
    margin-bottom: -40px;
}

.__psc .__customModal.active .__modalSaleOffer > div > img {
    text-align: center;
    margin: 0 auto;
}

.__psc .__customModal.active .__modalBody {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 0;
    /* position: relative; */
    height: fit-content;
}

.__psc .__customModal.active .__modalFooter .__modalFooterContainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;

    /* Compass Effects/base-shadow */
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
    z-index: 4;
    /* position: absolute;
      bottom: 0; */
    min-height: 50px;
    padding: 24px 32px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    position: relative;
}

.__psc .__customModal.active .__modalFooter .__pfs.__accordionContainer.__bss,
.__psc .__customModal.active .__modalBody + .__pfs.__accordionContainer.__bss {
    width: 100%;
    background: #EFF0F2;
    /* max-height: 200px; */
    overflow-y: auto;
}

.__psc .__customModal.active .__modalFooter .__pfs.__accordionContainer.__bss {
    max-height: 500px;
}

.__psc .__customModal.active .__modalFooter .__pfs.__accordionContainer.__bss p.__pfs.__accordionTitle.__bss,
.__psc .__customModal.active .__modalFooter .__pfs.__accordionContainer.__bss .__pfs.__accordionContent.__bss,
.__psc .__customModal.active .__modalBody + .__pfs.__accordionContainer.__bss .__pfs.__accordionContent.__bss {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

.__psc .__customModal.active .__modalFooter .__pfs.__accordionContainer.__bss p.__pfs.__accordionTitle.__bss>a.__bss,
.__psc .__customModal.active .__modalBody + .__pfs.__accordionContainer.__bss p.__pfs.__accordionTitle.__bss>a.__bss{
    display: flex;
    padding: 24px 0;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    color: #000;

    /* Labels/L-Bold */
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    /* 125% */
    text-decoration: none;
}

.__psc .__customModal.active .__modalFooter .__closeModal,
.__psc .__customModal.active .__modalFooter .__bookingWidgetTrigger {
    display: flex;
    min-width: 120px;
    min-height: 40px;
    padding: 12px 32px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 24px;
    background: #1460AA;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    position: relative;
    top: 0;
    right: 0;
    margin: 0;
    margin-left: auto;
}

.__psc .__customModal.active .__modalFooter .__closeModal::before {
    display: none;
}

.__psc .__customModal.active .__modalBody h3 {
    padding: 40px 0 20px;
    font-size: 20px;
}

.__psc .__customModal.active .__modalBody .__modalTabContainer .__modalTabs {
    display: flex;
    gap: 10px;
    list-style: none;
    border-bottom: none;
    padding: 0;
    margin-bottom: 20px;
    padding: 0 0 15px;
}

.__psc .__customModal.active .__modalBody .__modalTabContainer .__modalTabs .__modalTab.active a {
    color: #005078;
}

.__psc .__customModal.active .__modalBody .__modalTabContainer .__modalTabs .__modalTab:hover a,
.__psc .__customModal.active .__modalBody .__modalTabContainer .__modalTabs .__modalTab.active a {
    color: #004060;
    border: 1px solid rgba(0, 80, 120, 1);
    text-decoration: none;
    cursor: pointer;
}

.__psc .__customModal.active .__modalBody .__modalTabContainer .__modalTabs .__modalTab.active a {
    border: 1px solid rgba(0, 80, 120, 1);
    color: #004060;
}

.__psc .__customModal.active .__modalBody .__modalTabContainer .__modalTabs .__modalTab a {
    border-radius: 16px;
    border: none;
    box-shadow: 0px 5px 20px -5px rgba(0, 0, 0, 0.2);
    background: #fff;
    padding: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    height: 60px;
    text-align: center;
}

.__psc .__customModal.active .__modalBody .__modalTabContainer .__modalTabs .__modalTab {
    flex: 1;
}

@media only screen and (max-width: 1200px) {
    .__psc .__customModal.active .__modalBody {
        padding: 48px;
        width: 100%;
    }

    .__psc .__customModal.active .__modalBody .__modalTabContainer .__modalTabs {
        padding: 0 15px 15px 0;
        margin-right: -40px;
        overflow-x: scroll;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        overscroll-behavior-x: contain;
        position: relative;
        /* white-space: nowrap; */
        scroll-snap-type: mandatory;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
}

@media only screen and (max-width: 1024px) {
    .__psc .__customModal.active .__modalBody {
        padding: 24px !important;
    }
}

@media only screen and (max-width: 767px) {
    .__psc .__customModal.active .__modalBody {
        padding: 16px !important;
    }

    .__psc div.__customModal.active p.__pfs.__modalTitle.__bss {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 16px;
    }

    div.__pfs.__aeofferModalHeader.__bss {
        margin-bottom: 8px;
    }

    .__pfs.__modalRegistrationBlock.__bss {
        margin-top: 0;
    }
}

/* Section: modal popup sale specific styles */

.__psc .__customModal.active .__modalSaleCountdown {
    /* background: #000; */
    background: white;
    border-radius: 14px 14px 0 0;
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 50px auto 0;
    position: relative;
    max-height: 14px;
    /* remove this and background: white if adding timer back */
    padding: 0;
}

.__psc .__customModal.active .__modalSaleCountdown>* {
    display: none !important;
}

.__psc .__customModal.active .__modalSaleCountdown p.__pfs {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    line-height: 21px;
    margin: 0 20px 0 0;
}

.__psc .__customModal.active .__modalSaleCountdown span {
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    line-height: 24px;
}

.__psc .__customModal.active .__modalSaleCountdown .timer {
    display: flex;
    gap: 10px;
}

.__psc .__customModal.active .__modalSaleCountdown .timer div.__pfs {
    flex: 1;
    text-align: center;
}

.__psc .__customModal.active .__modalSaleCountdown .timer div.__pfs.first {
    border-radius: 4px;
    border: 1px solid rgba(151, 151, 151, 1);
}

.__psc .__customModal.active .__modalSaleCountdown .timer div.__pfs .smalltext {
    color: #fff;
    font-size: 10px;
}

.__psc .__customModal.active .__modalSaleCountdown .timer div.__pfs:not(.smalltext, .dots) {
    padding: 3px 10px;
}

.__psc .__customModal.active .__modalSaleCountdown .timer div.__pfs.dots {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    line-height: 24px;
}

@media only screen and (min-width: 1280px) {
    .__pfs.__offerModalFares.__bss {
        width: 100vw;
        overflow: hidden;
        margin-left: calc(-1 * (100vw - 1180px)/2);
        padding: 0 calc((100vw - 1180px)/2);
        background: #F9F9F9;
    }
}

@media only screen and (max-width: 1280px) {
    .__pfs.__offerModalFares.__bss {
        width: 100vw;
        overflow: hidden;
        margin-left: calc(-1 * (100vw - 100%)/2);
        padding: 0 calc((100vw - 100%)/2);
        background: #F9F9F9;
    }
}

.__pfs.__customModalContainer.__bss p.__pfs.__fareTitle.__bss,
.__pfs.__customModalContainer.__bss div[data-em-cmp="em-price_widget"] h2 {
    color: #000;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    padding-top: 48px;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer {
    padding: 24px;
    margin: 48px 0;
    border-radius: 16px;
    background: #F9F9F9;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleOffer,
.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails,
.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleTnc {
    flex-wrap: wrap;
    display: flex;
    gap: 32px;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails {
    padding-bottom: 24px;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleOffer div.__pfs,
.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs,
.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleTnc div.__pfs {
    flex: calc(50% - 20px);
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleOffer div.__pfs p.__pfs,
.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs,
.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleTnc div.__pfs p.__pfs {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs {
    align-items: baseline;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs strong {
    white-space: pre;
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__pfs.__modalSaleContainer.__bss div.__pfs.__bss div.__pfs.__bss a.__pfs {
    color: #1460AA;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs {
    display: flex;
    align-items: baseline;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleTnc {
    border-top: 1px solid #c8c8c8;
    padding: 20px 0 0;
    margin-top: 10px;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleOffer div.__pfs p.__pfs span.__pfs:first-child,
.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs.ic {
    min-width: 160px;
    margin-right: 8px;
    align-items: baseline;
    white-space: nowrap;
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleOffer div.__pfs p.__pfs span.__pfs:not(:first-child),
.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs:not(.ic),
.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleTnc div.__pfs p.__pfs:not(.ic) {
    font-size: 14px;
    font-weight: 400;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .ic::before {
    filter: grayscale(1);
    width: 24px;
    height: 24px;
    background-repeat: no-repeat !important;
    background-size: 20px 20px !important;
    background-position: center center !important;
    content: '';
    margin-right: 8px;
    display: block;
    align-self: center;
    flex: none;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .ic.cabin::before {
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/branded/icons/icon-seat-blue.svg);
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .ic.destinations::before {
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/branded/icons/icon-map.svg);
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .ic.book::before {
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/branded/icons/icon-calendar.svg);
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .ic.travel::before {
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/branded/icons/icon-takeoff.svg);
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .ic.offer::before {
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/branded/icons/icon-plane-h.svg);
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .ic.code::before {
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/branded/icons/icon-tag.svg);
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .ic.tnc::before {
    display: none;
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/branded/icons/icon-info.svg);
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleTnc div.__pfs p.__pfs a.__pfs.__bss {
    color: #1460AA;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.__psc .__customModal.active p.__pfs.__modalTitle.__bss {
    color: #000;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    margin-bottom: 24px;
}

.__psc .__customModal.active p.__pfs.__modalTitle.__bss.leftAlign {
    text-align: left;
}

.__psc .__customModal.active p.__pfs.__modalTitle.__bss .red-eyebrow {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: #D8292F;
}

.__psc .__customModal.active p.__pfs.__modalSubtitle.__bss {
    margin-bottom: 24px;
    color: #000;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.__psc .__customModal.active .__modalFooter .__modalFooterContainer button.__primaryBtn,
.__psc .__customModal.active .__modalFooter .__modalFooterContainer a.__primaryBtn {
    height: 40px;
    min-height: 40px;
    align-self: flex-end;
}

.__psc .__customModal.active .__modalFooter .__modalFooterContainer button.__primaryBtn a.__pfs,
.__psc .__customModal.active .__modalFooter .__modalFooterContainer a.__primaryBtn {
    padding: 16px 32px;
}

.__psc .__customModal.active .__modalFooter .__modalFooterContainer .__accordionContainer .__accordionTitle {
    margin-bottom: 0;
}

.__psc .__customModal.active .__modalFooter .__modalFooterContainer .__accordionContainer .__accordionTitle a.__pfs {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.22px;
    text-align: left;
    line-height: 28px;
}

.__psc .__customModal.active .__modalFooter .__modalFooterContainer .__accordionContainer.active .__accordionContent {
    border: none;
    margin-top: 10px;
    background: #f6f6f6;
    border-radius: 16px;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs div.__pfs {
    flex-direction: column;
    align-items: baseline;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs.blackout,
.__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs.blackout small span.__pfs,
.__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs.blackout small a.__pfs {
    font-size: 90% !important;
}


.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleOffer {
    border-bottom: 1px solid #c8c8c8;
    margin-bottom: 10px;
    padding-bottom: 20px;
    padding-top: 30px;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleOffer div.__pfs:nth-of-type(2) {
    display: flex;
}

.__psc .__customModal.active .ntp-tooltip,
.__psc .__customSection .ntp-tooltip {
    margin-top: auto;
    justify-content: end;
    /* height: 40px; */
    flex-grow: 0;
}

.__psc .__customModal.active .ntp-tooltip button,
.__psc .__customSection .ntp-tooltip button {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    border-radius: 16px;
    padding: 12px 20px;
    min-width: 190px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.__psc .__customModal.active .ntp-tooltip button span.__pfs,
.__psc .__customSection .ntp-tooltip button span.__pfs {
    color: #005078;
    font-weight: 600;
}

.__psc .__customModal.active .ntp-tooltip button span.__pfs.copy-icon,
.__psc .__customSection .ntp-tooltip button span.__pfs.copy-icon {
    font-size: 14px;
}

.__psc .__customModal.active .ntp-tooltip button span.__pfs.copy-icon img,
.__psc .__customSection .ntp-tooltip button span.__pfs.copy-icon img {
    width: 11px;
    height: 11px;
    margin-right: 5px;
    display: inline;
    filter: hue-rotate(190deg);
}

.__psc .__customModal.active .ntp-tooltip span.__pfs.tooltiptext,
.__psc .__customSection .ntp-tooltip span.__pfs.tooltiptext {
    visibility: hidden;
    width: fit-content;
    font-size: 12px;
    background-color: #005078;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 15px;
    position: absolute;
    z-index: 1;
    bottom: 110%;
    right: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.__psc .__customModal.active .ntp-tooltip span.__pfs.tooltiptext::after,
.__psc .__customSection .ntp-tooltip span.__pfs.tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.__psc .__customModal.active .ntp-tooltip:hover span.__pfs.tooltiptext,
.__psc .__customSection .ntp-tooltip:hover span.__pfs.tooltiptext {
    visibility: visible;
    opacity: 1;
    color: #fff;
    font-size: 12px;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails .ic::before {
    margin-top: -3px;
}

.__psc .__customModal.active .__modalFooter .__modalFooterContainer {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    min-height: 90px;
    padding: 24px 32px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;

}

.__psc .__customModal.active .__modalFooter .__modalFooterContainer .__accordionContainer {
    flex: 1;
    max-height: 50vh;
}

.__psc .__customModal.active .__modalFooter .__pfs.__accordionContainer.__bss,
.__psc .__customModal.active .__modalBody + .__pfs.__accordionContainer.__bss {
    background: #EFF0F2;
}

.__psc .__customModal.active .__modalFooter .__pfs.__accordionContainer.__bss .__pfs.__accordionTitle.__bss,
.__psc .__customModal.active .__modalFooter .__pfs.__accordionContainer.__bss .__pfs.__accordionContent.__bss,
.__psc .__customModal.active .__modalBody + .__pfs.__accordionContainer.__bss .__pfs.__accordionTitle.__bss,
.__psc .__customModal.active .__modalBody + .__pfs.__accordionContainer.__bss .__pfs.__accordionContent.__bss {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.__psc .__customModal.active .__modalFooter .__pfs.__accordionContainer.__bss .__pfs.__accordionContent.__bss *,
.__psc .__customModal.active .__modalBody + .__pfs.__accordionContainer.__bss .__pfs.__accordionContent.__bss *{
    font-size: 14px;
    line-height: 20px;
}

.__psc .__customModal.active .__modalFooter .__pfs.__accordionContainer.__bss .__pfs.__accordionTitle.__bss a[role=button],
.__psc .__customModal.active .__modalBody + .__pfs.__accordionContainer.__bss .__pfs.__accordionTitle.__bss a[role=button] {
    display: flex;
    padding: 24px 0;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.__psc .__customModal.active .__modalFooter .__pfs.__accordionContainer.__bss .__pfs.__accordionTitle.__bss a[role=button] .terms-icon,
.__psc .__customModal.active .__modalBody + .__pfs.__accordionContainer.__bss .__pfs.__accordionTitle.__bss a[role=button] .terms-icon {
    width: 24px;
    height: 24px;
}

@media only screen and (max-width: 1200px) {
    .__psc .__collapsibleSection:not(.__infiniteCarousel) {
        max-width: 100%;
    }

    .__psc .__customModal.active .__modalSaleCountdown,
    .__psc .__customModal.active .__modalBody,
    .__psc .__customModal.active .__modalFooter .__modalFooterContainer {
        max-width: 100%;
        width: 100%;
    }

    .__psc .__customModal.active .__modalBody .__modalBodyContainer {
        max-width: 100%;
        margin: 0 auto;
    }

    .__psc .__customModal.active .__modalBody h3.__pfs {
        max-width: calc(100% - 40px);
        margin: 0 auto 15px;
        font-size: 20px;
    }

    .__psc .__customModal.active .__modalSaleCountdown {
        margin: 80px auto 0;
    }
}

@media only screen and (max-width: 1025px) {
    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleOffer div.__pfs:nth-of-type(2) {
        flex-direction: column;
    }

    .__psc .__customModal.active .ntp-tooltip {
        margin: 15px 0 10px;
    }

    .__psc .__customModal.active .ntp-tooltip button {
        width: 100%;
    }

    .__psc .__customModal.active .__modalHeader img {
        object-position: center;
    }

    .__psc .__customModal.active a.__closeModal {
        top: 16px;
        right: 8px;
    }

    .__psc .__customModal.active .__modalBody .__modalTabContainer .__modalTabs .__modalTab {
        flex: none;
        min-width: 150px;
    }
}

@media only screen and (max-width: 767px) {

    .__psc .__customModal.active .__modalHeader,
    .__psc .__customModal.active .__modalHeader img {
        max-height: 300px;
        object-position: 0 100%;
    }

    .__psc .__customModal.active .__modalSaleCountdown {
        flex-direction: column;
        gap: 4px;
        /* padding: 6px 10px; */
        /* remove if adding timer back */
        padding: 0px;
    }

    .__psc .__customModal.active .__modalSaleCountdown p.__pfs {
        font-size: 14px;
    }

    .__psc .__customModal.active .__modalSaleCountdown span {
        font-size: 20px;
    }

    .__psc .__customModal.active .__modalFooter .__modalFooterContainer .__accordionContainer {
        max-height: 88vh;
        max-width: 100%;
    }

    .__psc .__customModal.active .__modalFooter .__modalFooterContainer .__accordionContainer.active .__accordionContent ul {
        padding: 0 15px;
    }

    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .ic::before {
        align-self: flex-start;
    }

    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleOffer div.__pfs,
    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs,
    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleTnc div.__pfs {
        flex: 100%;
        flex-direction: column;
    }

    /* .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleOffer div.__pfs p.__pfs,
      .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs,
      .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleTnc div.__pfs p.__pfs {
          flex-wrap: wrap;
      } */

    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleOffer div.__pfs p.__pfs,
    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs,
    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleTnc div.__pfs p.__pfs {
        align-items: baseline;
    }

    .__psc .__customModal.active .ntp-tooltip {
        padding: 0;
        margin-bottom: 0;
    }

    /* .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs:not(.ic),
    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleTnc div.__pfs p.__pfs:not(.ic) {
        padding-left: 32px;
    } */

    .__psc .__customModal.active a.__closeModal {
        top: 16px;
        right: 8px;
    }
}

/* NTP specific modal styles */
.__psc .__customModal.active[data-modal-type="ntp"] .__customModalContainer {
    max-width: 712px;
    height: calc(100% - 40px);
    border-radius: 16px;
    width: 100%;
    margin: 0 auto;
}

@media only screen and (min-width: 768px) {
    .__psc .__customModal.active[data-modal-type="ntp"] .__customModalContainer {
        max-height: 800px;
        top: 40px;
    }
}

@media only screen and (max-width: 767px) {
    .__psc .__customModal.active[data-modal-type="ntp"] .__customModalContainer {
        max-height: 100%;
        height: 100%;
    }
    .__psc .__customModal.active[data-modal-type="ntp"] .__scrollableSectionModal .__modalBody a.__pfs.__closeModal.__bss {
        top: 18px !important;
        right: -8px !important;
    }
}

.__psc .__customModal.active[data-modal-type="ntp"] .__modalFooter .__modalFooterContainer {
    border-radius: 0 0 16px 16px;
}

.__psc .__customModal.active[data-modal-type="ntp"] .__scrollableSectionModal .__modalBody {
    padding: 16px 32px 0;
}

.__psc .__customModal.active[data-modal-type="ntp"] .__scrollableSectionModal .__modalBody p.__pfs.__modalTitle.__bss,
.__psc .__customModal.active[data-modal-type="ntp"] .__scrollableSectionModal .__modalBody p.__pfs.__modalSubtitle.__bss {
    text-align: left;
}

.__psc .__customModal.active[data-modal-type="ntp"] .__scrollableSectionModal .__modalBody a.__pfs.__closeModal.__bss {
    position: sticky;
    float: right;
    box-shadow: none;
    background: none;
    top: 24px;
    right: 0;
    margin-bottom: -24px;
    margin-right: -24px;
}

.__psc .__customModal.active[data-modal-type="ntp"] .__scrollableSectionModal .__modalBody a.__pfs.__closeModal.__bss::before {
    background-size: 24px 24px;
    filter: grayscale(1);
}

.__psc .__customModal.active[data-modal-type="ntp"] .__scrollableSectionModal .__modalBody .__pfs.__modalSaleDetails.__bss {
    flex-direction: column;
}

/* ==========================================================================
   SECTION 10: SPECIAL COMPONENTS (Accordions, Buttons, Copy Code, etc.)
   ========================================================================== */
/* Section: accordions */

section#topDestinations {
    margin: 60px auto;
}

.__psc .__customSection .__accordionContainer {
    margin-top: 30px;
    margin-bottom: 60px;
}

.__psc .__customSection .__accordionContainer .__accordionTitle {
    margin-bottom: 0;
    /* border-radius: 16px;
      box-shadow: 0px 6px 19px -7px rgba(0, 0, 0, 0.15);
      background-color: #fff; */
}

.__psc .__customSection .__accordionContainer .__accordionTitle a.__pfs {
    /* padding: 20px 30px; */
    /* display: block;
      text-decoration: none;
      color: #000;
      font-size: 16px;
      display: flex;
      align-items: center;
      width: 100%; */
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    letter-spacing: 0.22px;
    text-align: left;
    font-size: var(--font-type-size-labels-md, 14px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--font-line-height-labels-md, 20px);
}

.__psc .__accordionContainer .__accordionTitle a::after {
    content: '';
    display: block;
    background: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/prev-arrow.svg) no-repeat center center;
    background-size: 16px 16px;
    margin-left: auto;
    width: 16px;
    height: 16px;
    transform: rotate(-90deg);
    margin-left: auto;
}

.__psc .__accordionContainer.active .__accordionTitle a::after {
    transform: rotate(90deg);
}

.__psc .__accordionContainer .__accordionContent {
    display: none;
}

.__psc .__accordionContainer.active .__accordionContent {
    display: block;
    padding: 16px 0;
    margin-top: -5px;
}

/* .__psc .__accordionContainer.active .__accordionContent ul li a, .__psc .__accordionContainer.active .__accordionContent p a {
      text-decoration: underline;
      font-size: 14px;
  } */

.__psc .__pfs.__tcFooter.__bss .__accordionContainer.active .__accordionContent ul li a,
.__psc .__pfs.__tcFooter.__bss .__accordionContainer.active .__accordionContent p a {
    text-decoration: underline;
    font-size: 14px;
}

.__psc .__accordionContainer .__accordionContent h2 {
    display: none;
}

/* SOHUB REVAMP START */
.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnapSolid .__offer .__content img {
    width: 100%;
    margin-top: auto;
    margin-bottom: -3px;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnapSolid .__offer .__content div+p {
    border: 0;
}

.FlightsBooking .bg-center.bg-cover.bg-no-repeat {
    background-image: none !important;
}

@media only screen and (min-width: 1025px) {

    .FlightsBooking.w-full.max-w-full,
    .flex.flex-wrap.BookingMask.px-3 {
        padding: 0;
        max-width: 100%;
        width: 100%;
    }

    .flex.flex-wrap.BookingMask.px-3>.lg\:max-w-6xl {
        max-width: 1200px !important;
        width: 100% !important;
    }
}

div[data-em-cmp="flights-booking"] .css-1t3wwq9 {
    border-radius: 16px !important;
}

/* .__psc .__intro.__customSection .__fixedWidth img.__pfs.__pfs.__bss.__bss {
      display: none;
  } */

/* for nav tabs inside modal */
ul.__pfs.nav.nav-tabs li.__pfs.active a.__pfs,
ul.__pfs.nav.nav-tabs li.__pfs.active a.__pfs:focus,
ul.__pfs.nav.nav-tabs li.__pfs.active a.__pfs:active {
    border: 2px solid #1460AA;
    background: #fff;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
    color: #1460AA;
}

ul.__pfs.nav.nav-tabs li.__pfs a.__pfs {
    border-radius: 999px !important;
    border: 1px solid #C9CACC;
    background: #fff;
    text-decoration: none;
    max-width: 190px;
    text-wrap: wrap;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 16px !important;
    font-style: normal;
    font-weight: 500 !important;
    line-height: 20px !important;
    height: 40px;
    padding: 8px 16px;
}

.__psc .__intro.__customSection .__fixedWidth button.__pfs.__primaryBtn.__bss {
    display: none;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnapSolid .__offer .__content p {
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnapSolid .__offer .__content p {
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnapSolid .__offer .__content p a {
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 14px;
    height: auto;
    /* height: 35px; */
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnapSolid .__offer .__content p a::after {
    content: '';
    display: block;
    background: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/prev-arrow.svg) no-repeat center center;
    background-size: 14px 14px;
    width: 14px;
    height: 14px;
    transform: rotate(180deg);
    margin-left: 5px;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnapSolid .__offer .__content img {
    width: 100%;
    margin-top: auto;
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnapSolid .__offer .__content {
    padding: 25px 20px 0;
    align-content: center;
    justify-content: end;
}

@media only screen and (min-width: 1025px) {
    section.__discoverGrid.__customSection .__subheading {
        text-align: center;
        justify-content: center;
    }
}

.__discoverGrid.__customSection .__discoverGridFares,
.__modalTabContainer .__discoverGridFares {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    /* margin-top: 32px; */
}

.__discoverGrid.__customSection .__discoverGridFares .nav.nav-tabs,
.__modalTabContainer .__discoverGridFares .nav.nav-tabs {
    border-bottom: 0;
    display: flex;
    justify-content: center;
    padding: 0;
    gap: 16px;
}

.__discoverGrid.__customSection .__discoverGridFares .nav.nav-tabs li,
.__modalTabContainer .__discoverGridFares .nav.nav-tabs li {
    width: fit-content;
    display: flex;
    height: 40px;
    align-items: center;
    padding: 0;
    margin: 0;
}

.__psc .__customModal.active .__modalBody h2.__pfs {
    color: #000;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    margin-bottom: 24px;
}

.__psc .__customModal.active .__modalBody h2.__pfs+*.__pfs.__bss {
    color: #000;
    text-align: center !important;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 24px !important;
}

.__discoverGrid.__customSection #discoverGreatFares.__discoverGridFares .nav.nav-tabs li.__pfs a.__pfs,
.__modalTabContainer #discoverGreatFares.__discoverGridFares.__discoverGridFares .nav.nav-tabs li a {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500 !important;
    padding: 8px 16px;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    border: 1px solid #C9CACC;
    background-color: #fff;
}

.__discoverGrid.__customSection #discoverGreatFares.__discoverGridFares .nav.nav-tabs li.__pfs.active a.__pfs,
.__modalTabContainer #discoverGreatFares.__discoverGridFares .nav.nav-tabs li.active a {
    border: 2px solid #1460AA;
    background: #fff;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
    color: #1460AA;
    /* 125% */
}

ul.__pfs.nav.nav-tabs li.__pfs a.__pfs:hover {
    color: #005078 !important;
    border: 2px solid var(--Sem-brdr-colour-border-primary, #1460AA) !important;
}

.sticky-header a.__pfs.secondary-btn.__bss {
    border: 0;
    position: absolute;
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.sticky-banner-text::after {
    content: '';
    display: block;
    background: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/prev-arrow.svg) no-repeat center center;
    background-size: 14px 14px;
    width: 14px;
    height: 14px;
    transform: rotate(180deg);
    margin-left: 5px;
    filter: brightness(0) invert(1);
}

a.specialOfferLinkBox {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* #fromYYZ-modal > div > div > div > div > div > ul > li:nth-child(3) {
      display: none;
  } */

div#fromYYZ-modal .__modalBodyContainer .__discoverGridFares h2,
div#greatFaresCanada-modal .__modalBodyContainer .__discoverGridFares h2,
div#usFallFares-modal .__modalBodyContainer .__discoverGridFares h2 {
    text-align: center;
    margin: 32px;
}

p[data-test='disclaimer'], p[data-test='disclaimer'] *{
    font-size: 14px !important;
}

@media only screen and (max-width: 500px) {
    .sticky-header {
        max-width: 440px;
    }
}

@media only screen and (max-width: 767px) {
    .__pfs.__allSalesContainer.__bss {
        margin: 24px auto;
    }

    section#lastMinuteDiscounts {
        padding-top: 0px;
    }

    section.__pfs.__discoverGrid.__customSection.__bss {
        padding-top: 48px;
    }

    section#deals {
        padding-top: 0;
        padding-bottom: 10px;
    }

    section#destinations {
        padding-top: 0;
        margin-top: 0;
    }

    section#topDestinations {
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 1024px) {

    .__discoverGrid.__customSection .__discoverGridFares .nav.nav-tabs,
    .__modalTabContainer .__discoverGridFares .nav.nav-tabs {
        max-width: 100%;
        padding: 20px;
        background: transparent;
        margin: 0;
        display: flex;
        flex-wrap: nowrap;
        border: none;
        overflow-x: auto;
        overflow-y: hidden;
        align-items: flex-end;
        justify-content: start;
    }

    .__discoverGrid.__customSection .__discoverGridFares .nav.nav-tabs::-webkit-scrollbar,
    .__modalTabContainer .__discoverGridFares .nav.nav-tabs::-webkit-scrollbar {
        display: none;
    }

    .__discoverGrid.__customSection .__discoverGridFares .nav.nav-tabs li a,
    .__modalTabContainer .__discoverGridFares .nav.nav-tabs li a {
        max-width: 190px;
        width: max-content;
    }

    .__discoverGrid.__customSection .__discoverGridFares .tab-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .__modalTabContainer .__discoverGridFares .nav.nav-tabs {
        background-color: transparent;
        justify-content: center;
    }

    /* .__psc .__customModal.active .__scrollableSectionModal {
        padding-bottom: 100px;
    } */
}

/* SOHUB REVAMP END */

/* Test */
.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.ribbon.no-match-ribbon.__bss {
    margin-top: -9px;
    margin-bottom: 12px !important;
}

.__psc .__infiniteCarousel.__offersContainer [data-card-type="offer"].__offerContainer .__offerSnap .__offer {
    /* max-width: 280px; */
    /* max-height: 297px; */
    height: 297px;
}

#premiumcabinsale .dpa-table {
    border-radius: 14px 14px 0 0;
}

#premiumcabinsale .dpa-table {
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
}

#premiumcabinsale .dpa-table thead tr th {
    background: #000;
    color: #fff;
}

#premiumcabinsale .dpa-table thead {
    border-radius: 14px 14px 0 0;
}

.modalBannerHeader {
    background: radial-gradient(circle, #7e7164, #000000);
    min-height: 280px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.modalBannerHeader h1 {
    text-align: center;
    font: normal normal 700 36px/48px "Open Sans" !important;
}

#premiumcabinsale .__pfs.__modalSaleContainer.__bss {
    margin-top: -80px;
}

#premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    height: 190px;
    max-height: 190px;
    object-fit: cover;
}

#premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer {
    position: relative;
    width: 386px;
}

#premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap:last-child:not(:only-of-type) .__offer {
    width: calc(386px + 40px);
    padding-right: 40px;
}

#premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div {
    max-width: 100%;
}

#premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div .__pill {
    position: absolute;
    top: 10px;
    left: 10px;
}

#premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div {
    border-radius: 0 0 14px 14px;
    /* background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 1) 100%); */
    background-image: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: auto;
}

#premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 0;
    margin-left: 0;
    padding: 24px 0 16px 0;
}

#premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div p {
    font-size: 14px;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -moz-line-clamp: 4;
    -ms-line-clamp: 4;
    -o-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

#premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div a {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #005078;
    font-size: 14px;
    font-weight: 600;
    padding: 0;
    margin: auto 0 0;
}

#premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div a::after {
    content: "";
    display: block;
    background: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/prev-arrow.svg) no-repeat center center;
    background-size: 14px 14px;
    width: 14px;
    height: 14px;
    transform: rotate(180deg);
    margin-left: 5px;
}

#premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div button.__primaryBtn,
#premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div a.__primaryBtn {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
}

#premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content {
    background: transparent !important;
    box-shadow: none;
}

#premiumcabinsale .premiumCabinsCarouselHeader {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
}

#premiumcabinsale .premiumCabinsCarouselHeader:nth-of-type(1) {
    margin-top: 48px;
}

#premiumcabinsale .__infiniteCarousel {
    width: 100%;
    /* width: 100vw;
      transform: translate(-20%, 0); */
}

#premiumcabinsale .__offerSnap:not(#filler, .disabled) .__offer .__content:hover {
    box-shadow: none;
    cursor: initial;
    margin-bottom: 0;
}

.__psc #premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer {
    transform: none;
}

/* new */
/* #premiumcabinsale .__modalTabContainer .__discoverGridFares .nav.nav-tabs {
    margin-bottom: 0;
    border-bottom: 1px solid #C9CACB;
}

#premiumcabinsale .__modalTabContainer .__discoverGridFares .nav.nav-tabs li.active a {
    border-bottom: 3px solid #005078;
    border-radius: 0;
}

#premiumcabinsale .__modalTabContainer .__discoverGridFares .nav.nav-tabs li a {
    background: none;
    box-shadow: none;
    border: none;
    width: auto;
    min-width: 90px
}

#premiumcabinsale .__modalTabContainer .__discoverGridFares .nav.nav-tabs li {
    width: auto;
    min-width: 90px;
    margin-right: 0;
} */

#premiumcabinsale .__pfs.__discoverGridFares.gridBottom.__bss {
    margin-top: 0;
}

@media only screen and (min-width: 768px) and (max-width: 1025px) {
    #premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
        width: 334px;
        height: 200px;
    }

    #premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer {
        width: 334px;
    }

    #premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap:last-child:not(:only-of-type) .__offer {
        width: calc(334px + 20px);
        padding-right: 20px;
    }

    #premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div .__pill {
        top: 25px;
    }

    #premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div {
        width: 100%;
    }

    #premiumcabinsale .__infiniteCarousel {
        width: 100%;
        transform: none;
    }
}

@media only screen and (max-width: 1024px) {
    .__psc #premiumcabinsale.__customModal.active .__scrollableSectionModal {
        padding-bottom: 0;
    }

    /* #premiumcabinsale .__modalTabContainer .__discoverGridFares .nav.nav-tabs {
        padding-bottom: 0;
    } */
}

@media only screen and (max-width: 767px) {
    #premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
        width: 315px;
        height: 190px;
    }

    #premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer {
        width: 315px;
    }

    #premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap:last-child:not(:only-of-type) .__offer {
        width: calc(315px + 20px);
        padding-right: 20px;
    }

    #premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div {
        width: 100%;
    }

    #premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div .__pill {
        top: 10px;
    }

    #premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div {
        top: 100px;
        /* height: 250px; */
        height: auto;
        width: 100%;
        max-width: 100%;
    }

    #premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div h3 {
        font-size: 18px;
        line-height: 20px;
        text-align: left;
        margin-left: 0;
        margin-right: auto;
    }

    #premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div p {
        font-size: 14px;
    }

    #premiumcabinsale .__infiniteCarousel {
        width: 100%;
        transform: none;
    }

    .modalBannerHeader h1 {
        text-align: center;
        font: normal normal 700 28px / 42px "Open Sans" !important;
    }

    .modalBannerHeader {
        padding: 30px;
    }

    .__modalTabContainer .__discoverGridFares .nav.nav-tabs {
        background-color: transparent;
        justify-content: flex-start;
    }

    .__psc #premiumcabinsale .__infiniteCarousel .__offerContainer .__offerSnap {
        padding-bottom: 0;
    }
}

.flex.flex-wrap.flex-col.max-w-full.relative.justify-start.bg-center.bg-cover.bg-no-repeat.Bj.Bk {
    background-image: none !important;
    padding-top: 0 !important;
    margin-top: -48px;
}

/* revamp v2 */
.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.__bss.match-pill-red {
    border-radius: 16px;
    /*background: var(--Sem-object-fills-colour-bg-fill-brand-primary, #d8292f);*/
    color: var(--Sem-text-colour-text-inverse, #fff);
    /* Labels/S-Semi-bold */
    /* font-family: var(--font-family-AC-Nord-Text, "AC Nord Text"); */
    font-size: 14px !important;
    font-style: normal;
    font-weight: 500;
    line-height: var(--font-line-height-labels-sm, 16px);
    /* 133.333% */
    text-transform: uppercase;
    display: flex;
    padding: var(--spacing-spacing-050, 4px) var(--spacing-spacing-150, 12px);
    justify-content: center;
    align-items: center;
    gap: 4px;
    max-width: max-content;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.__bss:not(.eyebrow, .ribbon, .match-pill-red):nth-of-type(1) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -moz-line-clamp: 4;
    -ms-line-clamp: 4;
    -o-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px !important;
    color: #000;

    /* Labels/L-Bold */
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    /* 125% */
}

.__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnapSolid .__offer .__content {
    padding: 24px 24px 0;
    align-content: center;
    justify-content: end;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px;
    margin-bottom: 0;
    margin-top: 8px;
    transition: 0.5s;
}

@media only screen and (max-width: 992px) {
    .__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content {
        padding: 16px;
    }
}

.__psc .__infiniteCarousel .__offerContainer .__offerSnap:last-child:not(:only-of-type) .__offer {
    padding-right: 0;
}

.__psc .__infiniteCarousel.__offersContainer [data-card-type="offer"].__offerContainer .__offerSnap .__offer {
    /* max-width: 280px; */
    /* max-height: 297px; */
    height: 100%;
    width: 100%;
}

.__psc .__infiniteCarousel .__scrollContainer .__offerContainer {
    /* gap: 24px; */
    width: 100%;
    vertical-align: top;
    display: inline-flex;
    padding-bottom: 10px;
    gap: 24px;
}

img.__pfs.__pfs.wwss-header-img.__bss.__bss {
    width: 100%;
    min-height: 300px;
    height: 300px;
    /* min-width: 700px; */
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 40%, transparent 100%);
    mask-image: linear-gradient(to left, #000 0%, #000 40%, transparent 100%);
}

.__pfs.header-img-container.__bss {
    flex-grow: 1;
    position: relative;
}

img.__pfs.__pfs.sale-sticker.__bss.__bss {
    position: absolute;
    top: 24px;
    left: 0;
    z-index: 99;
    max-width: 180px;
}

/* .__pfs.header-img-container.__bss:after {
      content: '';
      background-image: linear-gradient(to left, rgba(255, 255, 255, 0) -57%, rgba(255, 255, 255, 1) 100%);
      backdrop-filter: blur(1px);
      position: absolute;
      height: 48px;
      top: 32%;
      left: -12%;
      display: block;
      transform: rotate(90deg);
      position: absolute;
      bottom: 0;
      left: -96px;
      width: 272px;
      height: 80px;
      z-index: 0;
      background: linear-gradient(#ffffff00, #ffffff8a, #ffffffff, #fafafa);
  } */

.__pfs.header-text-container.__bss {
    display: flex;
    min-height: 150px;
    max-height: 260px;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    max-width: 50%;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.90);

    /* Compass Effects/standard-blur */
    backdrop-filter: blur(8px);
}

.__psc #lastMinuteDiscounts .__infiniteCarousel .__scrollContainer .__offerContainer {
    gap: 0;
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .ic.wwss-destination::before {
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/specialOffers-hub/ic-destinations.svg);
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .ic.wwss-book::before {
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/specialOffers-hub/ic-book.svg);
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .ic.wwss-travel::before {
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/specialOffers-hub/ic-travel.svg);
}

.__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .ic.wwss-offer::before {
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/specialOffers-hub/ic-code.svg);
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__modalSaleContainer .ic::before {
    box-shadow: none;
    background-color: transparent;
    border-radius: 0;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat !important;
    background-size: 24px 24px !important;
    background-position: center center !important;
    content: '';
    margin-right: 8px;
    display: block;
    align-self: center;
    flex: none;
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__modalSaleContainer {
    border-radius: 16px;
    background: #F9F9F9;
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__pfs.__modalSaleContainer.__bss {
    border-radius: 16px;
    background: #F9F9F9;
    box-shadow: none;
    padding: 24px;
    margin-top: 0;
    max-width: calc(100% - 400px);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__pfs.__modalSaleContainer.__bss div.__pfs.__bss {
    flex: calc(50% - 16px);
    display: flex;
    gap: 16px;
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__pfs.__modalSaleContainer.__bss div.__pfs.__bss > p.__pfs.ic.__bss {
    display: flex;
    align-items: baseline;
    align-self: baseline;
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__pfs.__modalSaleContainer.__bss div.__pfs.__bss div.__pfs.__bss * {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__pfs.__modalSaleContainer.__bss div.__pfs.__bss div.__pfs.__bss a.__pfs.modal-tc-link.__bss {
    color: #1460AA;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__modalSaleContainer .ic::before {
    box-shadow: none;
    background-color: transparent;
    border-radius: 0;
    width: 21px;
    height: 21px;
    background-repeat: no-repeat !important;
    background-size: 21px 21px !important;
    background-position: center center !important;
    content: '';
    margin-right: 8px;
    display: block;
    align-self: center;
    flex: none;
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs:not(.ic) {
    color: #000;
    font-size: var(--font-type-size-paragraphs-lg, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--font-line-height-paragraphs-lg, 22px);
    /* 137.5% */
    flex-basis: inherit;
    width: 100%;
    flex-grow: 1;
}

.__psc #ae-offer-modal.__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs.ic {
    color: #000;
    font-size: var(--font-type-size-labels-lg, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--font-line-height-labels-lg, 20px);
    /* 125% */
    width: 150px;
    white-space: normal;
}

.__pfs.__aeofferModalHeader.__bss {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
    align-items: anchor-center;
}

.__pfs.__aeofferModalHeader.__bss img.__pfs.__bss {
    max-width: 220px;
    width: 100%;
}

.__pfs.__aeofferModalHeader.__bss h2.__pfs.__bss {
    color: #000;
    font-size: var(--font-type-size-headings-2xl, 28px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--font-line-height-headings-2xl, 36px);
    /* 128.571% */
}

.__psc .__customModal.active .__modalBody h3.ae-steps-header {
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    padding: 0;
    margin-bottom: 32px;
}

#ae-offer-modal .ae-steps {
    margin-top: 40px;
}

.ae-steps.steps-mobile {
    display: none;
}

.__customModal[data-modal-type="aeroplan-registration"] .__pfs.steps-container.__bss {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
}

.__customModal[data-modal-type="aeroplan-registration"] .__pfs.steps-container.__bss .step {
    width: 33%;
}

.__customModal[data-modal-type="aeroplan-registration"] span.__pfs.step-title.__bss {
    color: var(--Sem-text-colour-text-secondary, #6D6D6F);
    font-size: var(--font-type-size-labels-md, 14px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--font-line-height-labels-md, 20px);
    /* 142.857% */
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.__customModal[data-modal-type="aeroplan-registration"] span.__pfs.step-title.__bss p.__pfs.__bss {
    color: #000;
    font-size: var(--font-type-size-paragraphs-lg, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--font-line-height-paragraphs-lg, 22px);
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleTnc {
    padding: 24px 0 0;
    margin-top: 0;
    flex: 100% !important;
}

.__psc #discoverGreatFares {
    background-color: #F9F9F9;
    padding-bottom: 0px;
}

.__psc #travel.__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
    width: 80px;
    height: auto;
    max-height: none;
}

.__psc #travel.__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__pfs.__offer.__bss {
    border-radius: var(--radii-radius-16px, 16px);
    background: var(--Sem-page-bg-colour-bg-cool-light, #F1F7FB);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 379px;
    padding: 24px;
    z-index: 2;
}

.__psc #travel.__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__pfs.__offer.__bss .__pfs.__content.__bss {
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.__psc #travel.__allDeals .__infiniteCarousel .__offerContainer .__offerSnap {
    /* height: auto; */
    max-width: 379px;
    min-width: 379px;
    /* height: auto; */
    display: flex;
}

.__psc #travel.__allDeals .__infiniteCarousel .__scrollContainer .__offerContainer {
    gap: 32px;
    /* gap: 16px; */
}

.__psc #travel.__allDeals .__infiniteCarousel .__scrollContainer .__offerContainer .__pfs.__content.__bss h3.__pfs.__bss {
    color: #000;
    font-size: var(--font-type-size-headings-md, 18px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--font-line-height-headings-md, 24px);
    /* 133.333% */
    margin-bottom: 16px;
}

.__psc #travel.__allDeals .__infiniteCarousel .__scrollContainer .__offerContainer .__pfs.__content.__bss p.__pfs.__bss {
    color: #000;
    font-size: var(--font-type-size-paragraphs-md, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--font-line-height-paragraphs-md, 20px);
    /* 142.857% */
    margin-bottom: 24px;
}

.__psc #travel.__allDeals .__infiniteCarousel .__scrollContainer .__offerContainer .__pfs.__content.__bss a.__pfs.__bss {
    color: var(--Sem-text-colour-text-link, #1460AA);
    font-size: var(--font-type-size-labels-lg, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--font-line-height-labels-lg, 20px);
    /* 125% */
    display: flex;
    align-items: center;
}

.__psc #travel.__allDeals .__infiniteCarousel .__scrollContainer .__offerContainer .__pfs.__content.__bss a.__pfs.__bss::after {
    content: '';
    display: block;
    background: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/prev-arrow.svg) no-repeat center center;
    background-size: 14px 14px;
    width: 14px;
    height: 14px;
    transform: rotate(180deg);
    margin-left: 5px;
}

.__psc #travel.__allDeals .__pfs.__subheading.__fixedWidth.__bss {
    /* text-align: center; */
    /* margin: 0 auto; */
    justify-content: center;
}

.__psc #discover-deals.__allDeals .__pfs.__subheading.__fixedWidth.__bss {
    /* text-align: center; */
    /* margin: 0 auto; */
    justify-content: center;
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody div#acDbaasRegistered h3 {
    color: #000;
    text-align: center;
    font-size: var(--font-type-size-headings-lg, 20px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--font-line-height-headings-lg, 28px);
    /* 140% */
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody div#acDbaasRegistered {
    color: #000;
    text-align: center;
    font-size: var(--font-type-size-paragraphs-lg, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--font-line-height-paragraphs-lg, 22px);
    /* 137.5% */
}

.__psc #discover-deals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content {
    background: none;
    background-color: transparent;
    box-shadow: none;
}

.__psc #discover-deals.__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div h3 {
    margin-bottom: 0'

}

.__psc #discover-deals.__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div a {
    margin-top: 16px;
    color: var(--Sem-text-colour-text-label, #1460AA);
    text-align: center;
    font-size: var(--font-type-size-labels-lg, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--font-line-height-labels-lg, 20px);
    /* 125% */
}

.__psc #discover-deals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content {
    background: none;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
}

.__psc #discover-deals.__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div div {
    background: none;
    background-color: transparent;
    box-shadow: none;
    padding: 24px 0 0 0;
    height: auto;
}

.__psc #discover-deals.__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
    border-radius: 16px;
}

/* .__psc #discover-deals.__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content:hover img {
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.40);
} */

.__psc .__infiniteCarousel.__offersContainer [data-card-type="display"].__offerContainer .__offerSnap .__offer .__content:hover img {
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
    /* box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.40); */
}

.__pfs.__fixedWidth.__bss.booking-widgeth-legal {
    display: flex;
    justify-content: flex-start;
    /* max-width: 1200px; */
}

.__pfs.__fixedWidth.__bss.booking-widgeth-legal a {
    color: var(--Sem-text-colour-text-label, #1460AA);
    font-family: var(--font-family-AC-Nord-Text, "Open Sans");
    font-size: var(--font-type-size-paragraphs-sm, 12px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--font-line-height-paragraphs-sm, 16px);
    cursor: pointer;
}

/* footer close */
.__psc a.aeoffer-footer-close.__pfs {
    display: flex;
    min-width: 120px;
    padding: 12px 32px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 24px;
    background: var(--Sem-object-fills-colour-bg-fill-primary, #1460AA);
    margin: 24px 24px 24px auto;
    color: var(--Sem-text-colour-text-inverse, #FFF);
    text-align: center;
    font-size: var(--font-type-size-labels-lg, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--font-line-height-labels-lg, 20px);
    /* 125% */
}

.__psc a.aeoffer-footer-close.__pfs:hover,
.__psc a.aeoffer-footer-close.__pfs:visited {
    color: #fff;
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalFooter {
    max-height: 92px;
}

.__customModal[data-modal-type="aeroplan-registration"] .__pfs.__modalRegistrationItem.__bss:nth-child(1) {
    max-width: 100%;
    width: 100%;
    flex: 1;
    display: flex;
    gap: 32px;
}

@media only screen and (max-width: 1024px) {
    /* img.__pfs.wwss-header-img.__bss {
          display: none;
      } */

    .flex.flex-wrap.flex-col.max-w-full.relative.justify-start.bg-center.bg-cover.bg-no-repeat.Bj.Bk {
        background-image: none !important;
        padding-top: 0 !important;
        margin-top: auto;
    }

    img.__pfs.__pfs.sale-sticker.__bss.__bss {
        position: static;
        margin-left: auto;
    }

    .__pfs.__modalRegistrationBlock.__bss {
        flex-direction: column;
    }

    .__customModal[data-modal-type="aeroplan-registration"] .__pfs.steps-container.__bss {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 24px;
    }

    .__customModal[data-modal-type="aeroplan-registration"] .__pfs.steps-container.__bss .step {
        width: 100%;
    }

    .__psc .__customModal.active .__modalBody h3.ae-steps-header {
        text-align: left;
        margin-left: 0;
        /* margin-right: 0; */
        width: 100%;
        margin-top: 24px;
        margin-bottom: 24px;
    }

    /* .ae-steps {
        display: none !important;
    }

    .ae-steps.steps-mobile {
        display: block !important;
    } */

    /* .__pfs.header-img-container.__bss:after {
          content: none;
      } */

    .__psc #discover-deals.__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
        /* object-fit: contain; */
        object-fit: cover;
        width: 100%;
        height: auto;
    }

    .__psc #travel.__allDeals .__infiniteCarousel .__offerContainer .__offerSnap {
        max-width: 280px;
        min-width: 280px;
    }

    .__customModal[data-modal-type="aeroplan-registration"] .__pfs.__modalRegistrationItem.__bss:nth-child(1) {
        max-width: none;
    }


    .__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs {
        flex-direction: column;
    }

    .__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs:not(.ic) {
        padding-left: 0;
        margin-top: 8px;
    }

    section#termsandconditions {
        padding-left: 0;
        padding-right: 0;
    }

    .__pfs.header-text-container.__bss {
        width: 100%;
        max-width: none;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs:not(.ic) {
        flex-basis: auto;
    }

    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs p.__pfs.ic {
        width: fit-content;
        min-width: 160px;
        white-space: nowrap;
    }

    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleOffer div.__pfs,
    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails div.__pfs,
    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleTnc div.__pfs {
        flex: none;
    }

    div#__cloneBookingWindow {
        padding: 0 20px;
        margin-top: -40px;
        z-index: 10;
    }

    img.__pfs.__pfs.wwss-header-img.__bss.__bss {
        -webkit-mask-image: linear-gradient(to top, #000 0%, #000 40%, transparent 100%);
        mask-image: linear-gradient(to top, #000 0%, #000 40%, transparent 100%);
        min-height: 174px;
        height: 174px;
    }
}

@media only screen and (max-width: 768px) {
    .__psc .__intro.__customSection .__fixedWidth {
        /* flex-wrap: wrap-reverse; */
        flex-wrap: wrap;
        flex-direction: row !important;
        gap: 0;
    }

    img.__pfs.__pfs.sale-sticker.__bss.__bss {
        position: static;
        justify-self: flex-end;
        max-width: 100px;
    }

    .__psc #discover-deals.__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
        max-height: 140px;
    }

    .__pfs.__aeofferModalHeader.__bss {
        flex-direction: column;
    }

    .__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__pfs.__modalBodyContainer.__bss {
        max-width: 100%;
    }

    .__customModal[data-modal-type="aeroplan-registration"] .__pfs.__modalRegistrationItem.__bss:nth-child(1) {
        flex-direction: column;
    }

    .__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__pfs.__modalSaleContainer.__bss div.__pfs.__bss {
        flex: 100%;
        flex-direction: column;
        display: flex;
        gap: 0;
    }

    .__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__pfs.__modalSaleContainer.__bss {
        max-width: 100%;
        gap: 16px;
        margin: 0;
    }

    /* .__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__pfs.__modalSaleContainer.__bss div.__pfs.__bss > p.__pfs.ic.__bss + div.__pfs.__bss {
        padding-left: 32px;
    } */

    .__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__pfs.__modalSaleContainer.__bss div.__pfs.__bss div.__pfs.__bss ul {
        padding: 0 16px;
    }

    div.__pfs#ae-acc-offer div.__pfs.ae-flex-container .col-50.white-panel {
        padding: 16px;
    }

    .__psc #travel.__allDeals .__infiniteCarousel .__scrollContainer .__offerContainer {
        gap: 16px;
    }

    .__psc .__customSection .__fixedWidth .header-text-container h1.__pfs {
        color: #000;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 28px;
        margin-bottom: 16px;
    }

    .__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleTnc div.__pfs p.__pfs:not(.ic) {
        padding-left: 0;
    }

    img.__pfs.__pfs.wwss-header-img.__bss.__bss {
        min-height: 174px;
        height: 174px;
    }
}

@media only screen and (max-width: 600px) {
    .__psc .__customSection .__fixedWidth .header-text-container h1.__pfs {
        padding-right: 0
    }
}

/* AE REGISTRATION SECTION */
div.__pfs#ae-acc-offer div.__pfs.ae-flex-container .col-50 {
    /* width: calc(50% - 30px); */
    display: flex;
    flex-direction: column;
}

div.__pfs#ae-acc-offer .ae-content {
    padding: 0;
}

div.__pfs#ae-acc-offer div.__pfs.ae-flex-container .col-50.white-panel {
    border-radius: 20px;
    padding: 24px;
}

div.__pfs#ae-acc-offer div.__pfs.ae-flex-container .col-50.white-panel {
    margin: 0 0 0 auto;
    /* width: 40%; */
    background: #fff;
}

/* div.__pfs#ae-acc-offer div.__pfs.ae-flex-container .col-50 {
    width: calc(60% - 30px);
    display: flex;
    flex-direction: column;
  } */
div.__pfs#join-aeroplan {
    margin: 0 0 30px 3em;
    text-align: left;
}

.white-panel:nth-of-type(2),
.white-panel:nth-of-type(5) {
    margin: 30px;
}

/* .__bss * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  } */
.white-panel {
    background: #fff;
    color: #000;
    padding: 30px;
    margin: 30px 0px;
    -webkit-box-shadow: 0 6px 19px -7px rgba(0, 0, 0, 0.2);
    box-shadow: 0 6px 19px -7px rgba(0, 0, 0, 0.2);
}

.col-50 {
    /* width: calc(50% - 3px); */
    /* display: inline-block; */
    vertical-align: top;
}

.offer-panel {
    border-radius: 16px;
}

.offer-panel.white-panel {
    margin: 0;
}

div.__pfs#join-aeroplan form {
    margin: 0;
}

#ae-acc-offer .offer-panel ul.__pfs {
    list-style: none;
    padding: 0px;
    margin: 0;
}

#ae-acc-offer .offer-panel li.__pfs {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

/* for 2 rows */
#ae-acc-offer .offer-panel li.__pfs:nth-child(1) {
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 20px;
}

#ae-acc-offer .offer-panel li.__pfs:nth-child(2) {
    margin-bottom: 0;
}

/* for 3 rows  */
/* #ae-acc-offer .offer-panel li.__pfs:nth-child(1),
  #ae-acc-offer .offer-panel li.__pfs:nth-child(2) {
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 20px;
  } */
#ae-acc-offer .offer-panel img.__pfs {
    max-width: 50px;
}

#ae-acc-offer .offer-panel ul.__pfs li.__pfs p.__pfs {
    margin: 0px 0px 0px 16px;
    text-align: left !important;
}

#ae-acc-offer .offer-panel ul.__pfs li.__pfs p.__pfs span.__pfs {
    font-size: 18px;
}

.tc-panel-content a.__pfs {
    color: #005078;
    text-decoration: underline;
}

.aeroplan-logo {
    max-width: 210px !important;
    margin: 0 auto;
}

.dates-container {
    display: flex;
    padding-bottom: 25px;
    flex-direction: column;
}

.dates-container div.__pfs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin: 10px 0;
}

#ae-acc-offer .dates-container img.__pfs.__bss {
    margin: 0 10px 0 0;
}

/* .dates-container div.__pfs:nth-child(1) {
    margin-right: 10px;
  } */
/* .dates-container div.__pfs:nth-child(2) {
    border-left: 1px solid #c8c8c8;
    padding-left: 10px;
  } */
.dates-container div.__pfs img.__pfs {
    max-width: 25px !important;
    margin: 0 8px 16px 0;
}

div.__pfs#ae-acc-offer p.__pfs.__bss.grey-bg,
div.__pfs#ae-acc-offer p.__pfs.grey-bg {
    max-width: 675px;
    padding: 15px 0;
    background: none;
    margin: 0;
    /* border-radius: 15px;
      box-shadow: 0 6px 19px -7px rgba(0, 0, 0, 0.2); */
}

div.__pfs#ae-acc-offer div.__pfs.ae-flex-container .col-50.white-panel {
    border-radius: 20px;
}

span.__pfs.blue.bg-text.ae-text.__bss {
    color: #2a2a2a !important;
    font-weight: 700;
}

div.__pfs#join-aeroplan h3.__pfs,
div.__pfs#join-aeroplan h3.__pfs.__bss {
    font-weight: 700;
    color: #000;
    text-align: center;

    /* Headings/Desktop/H4 */
    /* font-family: var(--font-family-AC-Nord-Text, "AC Nord Text"); */
    font-size: var(--font-type-size-headings-lg, 20px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--font-line-height-headings-lg, 28px);
    /* 140% */
    padding-top: 0;
    max-width: 320px;
    margin: 8px auto 0 auto;
}

#ae-acc-offer>div.__pfs>div.__pfs>div.__pfs:nth-child(1)>div.__pfs>div.__pfs>div.__pfs>p.__pfs:nth-child(2) {
    text-align: start;
    margin-top: 25px;
    margin-bottom: 15px;
}

#ae-acc-offer>div.__pfs>div.__pfs>div.__pfs:nth-child(1)>div.__pfs>div.__pfs>div.__pfs>p.__pfs:nth-child(1) {
    text-align: start;
    margin-top: 15px;
}

.__pfs.item.item-ae.__bss {
    padding: 0px !important;
}

#ae-acc-offer .ae-flex-container.white-panel {
    padding: 0px;
    margin: 30px 0;
    display: flex;
}

#ae-acc-offer .ae-flex-container.white-panel div.__pfs.col-50 {
    padding: 30px;
    margin-right: auto;
}

#ae-acc-offer .ae-flex-container.white-panel div.__pfs.col-50 p.__pfs {
    text-align: left;
}

#ae-acc-offer .ae-flex-container.white-panel img.__pfs.col-50 {
    max-height: 220px;
    width: auto;
    max-width: 475px;
}

#ae-acc-offer {
    /* background: none !important; */
    /* margin: 30px 0; */
    /* min-width: 588px; */
    width: 400px;
    max-width: 400px;
}

#ae-acc-offer #acDbaasSubmit {
    width: auto;
    display: flex;
    min-width: 120px;
    padding: 12px 32px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 24px;
    background: var(--Sem-fill-colour-bg-fill-primary, #1460aa);
    color: var(--Sem-text-colour-text-inverse, #fff);
    text-align: center;
    font-family: var(--font-family-base, "Open Sans");
    font-size: var(--font-type-size-labels-lg, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--font-line-height-headings-xs, 20px);
    margin: 32px auto 24px auto;
}

#ae-flex-container {
    display: flex;
    flex-direction: row;
}

#join-aeroplan a.__pfs.__bss {
    font-size: 14px !important;
}

.error-check p.__pfs.__bss {
    color: #d8292f;
    font-size: 14px !important;
    font-weight: 700;
    text-align: left;
}

@media only screen and (max-width: 1024px) {
    #ae-acc-offer {
        margin: 0;
        width: 100%;
        width: 100%;
        max-width: 500px;
    }

    .ae-flex-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #ae-acc-offer div.__pfs.ae-flex-container .__pfs.col-50.__bss,
    #ae-acc-offer div.__pfs.ae-flex-container #join-aeroplan.__pfs.col-50.__bss.white-panel {
        /* width: calc(100% - 30px); */
        width: 100%;
        margin: 0;
    }
}

div.__pfs#join-aeroplan form .form-control {
    border: 0;
    border-bottom: 1px solid #e6e6e6;
    box-shadow: none;
    border-radius: 0;
    padding: 10px;
}

span.__pfs.form-element-wrapper.__bss {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

label#rules-check a {
    color: var(--colour-text-colour-text-link, #1460aa);
    font-family: var(--font-family-base, "Open Sans");
    font-size: var(--font-type-size-paragraphs-lg, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--font-line-height-paragraphs-lg, 22px);
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.__pfs.__modalRegistrationBlock.__bss {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    width: 100%;
}

span.__pfs.red-preheader.__bss {
    color: var(--Sem-text-colour-text-brand, #D8292F);
    text-align: center;
    font-size: var(--font-type-size-labels-md, 14px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--font-line-height-labels-md, 20px);
    /* 142.857% */
    display: block;
}

label#rules-check {
    color: #000;
    font-size: var(--font-type-size-labels-lg, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--font-line-height-labels-lg, 20px);
    /* 125% */
}

p.__pfs.conditional.__bss {
    color: #2a2a2a;
    text-align: center;
    font-family: var(--font-family-base, "Open Sans");
    font-size: var(--font-type-size-paragraphs-lg, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--font-line-height-paragraphs-lg, 22px);
    margin-top: 16px;
}

p.__pfs.conditional.__bss a {
    color: var(--Sem-text-colour-text-link, #1460aa);
    font-family: var(--font-family-base, "Open Sans");
    font-size: var(--font-type-size-paragraphs-lg, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--font-line-height-paragraphs-lg, 22px);
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody div#acDbaasRegistered h3 {
    color: #000;
    text-align: center;
    font-size: var(--font-type-size-headings-lg, 20px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--font-line-height-headings-lg, 28px);
    /* 140% */
}

.__psc .__customModal.active[data-modal-type="aeroplan-registration"]  .__modalBody div#acDbaasRegistered {
    color: #000;
    text-align: center;
    font-size: var(--font-type-size-paragraphs-lg, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--font-line-height-paragraphs-lg, 22px);
    /* 137.5% */
}

/* AE REGISTRATION SECTION END */

/* Terms */
section#termsandconditions {
    padding-bottom: 0;
}

div.__pfs.tc-panel-container h3.__pfs,
div.__pfs.tc-panel-container h3.__pfs.__bss {
    margin: 0;
    padding: 32px;
    position: relative;
    font-size: 18px;
    display: flex;
    align-items: center;
}

div.__pfs.tc-panel-container {
    box-shadow: 0px 0px 7px -3px rgb(84 84 84 / 75%);
    -webkit-box-shadow: 0px 0px 7px -3px rgb(84 84 84 / 75%);
    -moz-box-shadow: 0px 0px 7px -3px rgba(84, 84, 84, 0.75);
    margin-bottom: 50px;
    max-width: 1200px;
    width: 100%;
    margin: 0px auto;
    background: white !important;
    text-align: left;
    position: relative;
    cursor: pointer;
    background: #fff;
    border-radius: 16px;
}

.tc-panel-content {
    padding: 0px 32px 32px;
    text-align: left;
    border: 1px solid #e6e6e6;
    display: none;
    /* width: calc(100% - 30px); */
}

.__pfs.tc-panel-content.__bss.active {
    display: block;
    margin-left: 0;
    border-radius: 0 0 14px 14px;
}

#tc-panel-container>div {
    border: none;
}

#termsandconditions i.__pfs.material-icons.icon-down-arrow.__bss {
    margin-left: auto;
    position: static;
}

div.__pfs#tc-panel-container .tc-panel.active i {
    -webkit-transform: rotate(180deg) !important;
    transform: rotate(180deg) !important;
}

.__psc #tc-panel-container .tc-panel-content p.__pfs.__bss {
    font-size: 16px;
}

/* for button text color issue in booking widget, can maybe remove later */
button.block.cursor-pointer.flex.w-full.flex-nowrap.justify-center.items-center.css-2ct2qg {
    color: #fff;
}

/* for booking widget disclaimer, can remove once EM removes on their end */
p.pt-6.px-0\.5.rtl\:text-right.css-6yn61j {
    display: none;
}

.Campaign .px-3 article.__psc {
    margin-top: 0 !important;
}

.__psc #discover-deals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content:hover {
    animation: slideUp .5s ease-in-out both !important;
}

.__psc #travel.__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer:has(.__psc #travel.__allDeals .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content:hover) {
    animation: slideUpRight .5s ease-in-out both !important;
}

/* new tc modal */
.__pfs.__tcFooter.__bss {
    background: var(--Sem-page-bg-colour-bg-secondary, #EFF0F2);
    margin-bottom: -15px;
}

#termsandconditions p.__pfs.__accordionTitle.__bss img.terms-icon {
    margin-right: 16px;
}

.__psc .__tcFooter .__tcFooterContainer {
    display: flex;
    width: 100%;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 10px; */
    padding: 24px;
    align-items: center;
    overflow-y: auto;
}

.__psc .__tcFooter .__tcFooterContainer .__accordionContainer {
    flex: 1;
    max-height: 50vh;
    margin: 0;
}

#termsandconditions p.__pfs.__accordionTitle.__bss {
    margin-bottom: 0;
}

.__psc .__tcFooter .__tcFooterContainer .__accordionContainer.active .__accordionContent {
    border: none;
    margin-top: 10px;
    /* background: #f6f6f6; */
    background: var(--Sem-page-bg-colour-bg-secondary, #EFF0F2);
    border-radius: 16px;
}

/* new tc modal end */

/* ==========================================================================
   SECTION 9: FILTERS
   ========================================================================== */
/* Filters + offers section */
.__pfs.__allSalesContainer.__bss {
    display: flex;
    margin: 48px auto;
}

.__pfs.__allSalesContainer.__bss .__filtersContainer {
    flex: 25%;
    width: 25%;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
}

/* Filter Group Styles */
.__psc .__customSection .__filtersContainer .__filterGroup {
    margin-bottom: 24px;
}

.__psc .__customSection .__filtersContainer .__filterDivider {
    border: none;
    border-top: 1px solid #C9CACC;
    margin: 24px 0;
}

.__psc .__customSection .__filtersContainer .__checkboxGroup {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Checkbox Styles */
.__checkbox {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.__checkboxInput {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.__checkboxInput:checked+.__checkboxLabel::before {
    background-color: #002345;
    border-color: #002345 !important;
}

.__checkboxInput:checked+.__checkboxLabel::after {
    opacity: 1;
    transform: scale(1);
}

.__checkboxInput:disabled {
    cursor: not-allowed;
}

.__checkboxInput:disabled+.__checkboxLabel {
    opacity: 0.6;
    cursor: not-allowed;
}

.__checkboxInput:focus+.__checkboxLabel::before {
    outline: 2px solid #005078;
    outline-offset: 2px;
}

.__psc .__customSection .__filtersContainer .__checkboxGroup .__checkbox .__checkboxLabel {
    position: relative;
    padding-left: 28px;
    font-size: 14px !important;
    line-height: 20px !important;
    color: #000;
    font-weight: 500;
    cursor: pointer;
}

.__psc .__customSection .__filtersContainer .__checkboxGroup .__checkbox .__checkboxLabel:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #1460AA;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.__checkboxLabel::after {
    content: '';
    background: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/icon/icon-check.svg) no-repeat center center;
    object-fit: cover;
    filter: brightness(0)invert(1);
    position: absolute;
    left: 2px;
    top: 3px;
    transform: translateY(-50%) scale(0);
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    transition: all 0.2s ease;
    pointer-events: none;
}

/* Dropdown Styles */
.__dropdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    position: relative;
}

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownTrigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    height: 50px;
    border-bottom: 1px solid #C9CACC;
    transition: all 150ms;
}

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownTrigger:hover:not(:disabled) {
    border-color: #005078;
}

/* .__psc .__customSection .__filtersContainer .__filterGroup .__dropdownTrigger:focus {
    outline: 0;
    border-color: #005078;
    background: #F9F9F9;
} */

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownTrigger:disabled {
    background-color: #F5F5F5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownTrigger .__dropdownTriggerText {
    flex: 1;
    overflow: hidden;
    color: #000 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px !important;
    font-style: normal;
    font-weight: 500 !important;
    line-height: 20px !important;
}

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownTriggerIcon {
    font-size: 10px !important;
    transition: transform 0.2s ease;
}

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownMenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background-color: #fff;
    border: 1px solid #EFEFEF;
    border-radius: 4px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
    max-height: 240px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownMenu--open {
    display: block;
}

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownOption {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 32px;
    color: #000;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownOption:hover,
.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownOption:focus {
    outline: none;
    background: #f9f9f9;
}

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownOption--selected {
    color: #000;
    background: #eff0f2;
    font-weight: 600;
}

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownOption--selected:after {
    content: '';
    display: block;
    background: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/icon/icon-check.svg) no-repeat center center;
    filter: brightness(0) invert(0);
    margin-right: -16px;
    background-size: 14px 14px;
    width: 14px;
    height: 14px;
    /* transform: rotate(180deg); */
    margin-left: 5px;
}

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownOption--selected:hover,
.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownOption--selected:focus {
    background: #f9f9f9;
}

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownOption--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdownOption--disabled:hover {
    background-color: transparent;
}

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdown--open .__dropdownTriggerIcon {
    transform: rotate(180deg);
}

.__psc .__customSection .__filtersContainer .__filterGroup .__dropdown--open .__dropdownMenu {
    display: block;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .__psc .__customSection .__filtersContainer .__filterDivider {
        display: none;
    }
}
@media only screen and (min-width: 700px) and (max-width: 1024px) {
    .__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer.__collapsibleSection .__offerContainer div.__offerSnap {
        padding: 0;
        display: flex;
        width: 200px !important;
        min-width: 200px !important;
        height: 280px !important;
        max-height: 300px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        flex: 1;
        flex-grow: 0;
    }
}

@media only screen and (max-width: 1024px) {
    .__pfs.__allSalesContainer.__bss {
        flex-direction: column;
        margin: 24px auto;
    }

    .__pfs.__allSalesContainer.__bss .__filtersContainer {
        flex: 100%;
        width: 100%;
        padding-right: 0;
        margin-bottom: 24px;
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        justify-content: space-between;
    }

    .__psc .__customSection .__filtersContainer .__filterGroup {
        min-width: 160px;
    }

    .__pfs.__allSalesContainer.__bss .__filteredOffersContainer {
        flex: 100% !important;
        width: 100% !important;
        /* margin-bottom: 24px; */
    }

    .__psc .__collapsibleSection:not(.__infiniteCarousel).__offersContainer .__offerContainer .__offerSnap .__offer .__content img {
        display: none;
    }

    .__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.__bss:not(.eyebrow, .ribbon, .match-pill-red):nth-of-type(1) {
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px;
    }

    .__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p a.__openModal:not(.__primaryBtn) {
        font-size: 14px !important;
    }

    .__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap .__offer .__content div.ntp-tooltip button.copy-code .copy-icon {
        display: none !important;
    }

    .__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap .__offer .__content div.ntp-tooltip button.copy-code {
        background-color: #1460AA !important;
        justify-content: center !important;
    }

    .__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap .__offer .__content div.ntp-tooltip button.copy-code .code {
        color: #fff !important;
    }

    .__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap .__offer .__content div.ntp-tooltip button.copy-code .code::before {
        filter: brightness(0)invert(1);
    }

    .__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p a,
    .__psc .__allSales .__infiniteCarousel .__offerContainer .__offerSnap#filler .__offer .__content p a {
        height: 20px;
    }

    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails {
        padding-bottom: 8px;
        flex-direction: column;
    }

    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleOffer,
    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleDetails,
    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer .__modalSaleTnc {
        gap: 16px;
    }

    .__psc .__customModal.active .__modalFooter .__pfs.__accordionContainer.__bss p.__pfs.__accordionTitle.__bss>a.__bss,
    .__psc .__customModal.active .__modalBody + .__pfs.__accordionContainer.__bss p.__pfs.__accordionTitle.__bss>a.__bss {
        padding: 16px;
    }

    .__psc .__customModal.active .__modalFooter .__modalFooterContainer {
        min-height: 70px;
        padding: 16px;
    }

    .__psc .__customModal.active p.__pfs.__modalTitle.__bss {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 16px;
    }

    .__psc .__customModal.active p.__pfs.__modalSubtitle.__bss {
        font-size: 16px;
        line-height: 20px;
    }

    .__psc .__customModal.active .__modalBody .__modalBodyContainer .__modalSaleContainer {
        margin: 32px 0;
    }

    .__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offerContainer .__offerSnap .__offer .__content a.__pfs.__openModal.__primaryBtn.__bss {
        min-height: 30px;
        padding: 4px 4px 4px 8px !important;
        margin-top: 0 !important;
    }
}

/* Filter toggle button - hidden on desktop, visible on mobile */
.__filterToggleBtn {
    display: none;
    width: 100%;
    padding: 12px 24px;
    margin-bottom: 16px;
    background: #1460AA;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease;
}

.__filterToggleBtn:hover {
    background: #005078;
}

.__filterToggleBtn[aria-expanded="true"] {
    background: #005078;
}

@media only screen and (min-width: 700px) and (max-width: 992px) {
    .__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer .__offerContainer .__offerSnap {
        flex: calc(33% - 16px);
    }
}

/* Hide filters container on mobile by default */
@media only screen and (max-width: 767px) {
    .__psc .__customSection {
        padding: 24px 0;
    }

    .__filterToggleBtn {
        display: block;
    }

    .__pfs.__allSalesContainer.__bss .__filtersContainer {
        flex-direction: column;
        display: none;
    }

    /* Show filters when toggled */
    .__pfs.__allSalesContainer.__bss .__filtersContainer.__filtersVisible {
        display: flex;
        margin-top: 32px;
    }

    .__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer .__offerContainer .__offerSnap {
        width: 100% !important;
        min-width: 150px !important;
        height: 290px !important;
        flex: calc(50% - 16px);
        flex-grow: 0;
    }

    .__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p a.__openModal:not(.__primaryBtn) {
        font-size: 14px !important;
    }

    .__psc .__infiniteCarousel.__offersContainer [data-card-type="default"].__offerContainer .__offerSnap .__offer {
        height: 100%;
    }

    .__psc .__infiniteCarousel.__offersContainer [data-card-type="default"].__offerContainer .__offerSnap .__offer > img {
        height: 100%;
        object-fit: cover;
    }
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer {
    flex: 75%;
    width: 75%;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer h3 img {
    width: 48px;
    height: 48px;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer a.__pfs.__seeMoreLink.__bss span.__pfs {
    color: #1460AA;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer .__offerContainer {
    gap: 24px !important;
    margin-top: 24px;
}

@media only screen and (max-width: 1200px) {
    .__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer .__offerContainer {
        gap: 16px !important;
    }
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer .__offerContainer .__offerSnap {
    padding: 0;
    display: flex;
    width: 282px;
    min-width: 224px;
    max-width: 282px;
    height: 434px;
    max-height: 424px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__scrollContainer+h3 {
    margin-top: 48px;
    color: #000;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer.__infiniteCarousel .__offerContainer .__offerSnapSolid {
    position: relative;
    display: flex;
    width: 282px !important;
    min-width: 280px !important;
    gap: 24px;
    flex-shrink: 0;
    height: 340px;
    cursor: pointer;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer:nth-of-type(2) {
    margin-top: 48px;
    width: calc(100% + ((100vw - 100%)/2));
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer:nth-of-type(2) .__offerContainer .__offerSnapSolid .__content {
    position: absolute;
    bottom: 0;
    height: fit-content;
    display: flex;
    width: 100%;
    padding: 16px 16px 16px 24px;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.60);
    backdrop-filter: blur(4px);
    border-radius: 0 0 16px 16px;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer .__offerContainer .__offerSnapSolid .__content p {
    margin: 0 !important;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer.__infiniteCarousel .__offerContainer .__offerSnapSolid .__content p a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    text-align: left;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer.__infiniteCarousel .__offerContainer .__offerSnapSolid .__content p a::after {
    filter: brightness(0) invert(1);
}

/* .__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer .__offerContainer .__offerSnapSolid:hover {
    animation: slideUp .75s ease-out both !important;
} */

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offerContainer .__offerSnap .__offer .__content p.__pfs.filter-pill.__bss {
    display: flex;
    padding: 4px 12px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    border: 1px solid #000;
    background: #fff;
    width: fit-content;
    color: #000;
    font-size: 12px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 16px !important;
    margin-bottom: 16px !important;
    flex: none;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offerContainer .__offerSnap .__offer .__content p.__pfs.filter-pill.pill-green.__bss {
    border: 1px solid #20842F;
    background: #DFF0DB;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offerContainer .__offerSnap .__offer .__content p.__pfs.filter-pill.pill-blue.__bss {
    border: 1px solid #3B79A5;
    background: #CFE6FC;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offerContainer .__offerSnap .__offer .__content p.__pfs.filter-pill.pill-yellow.__bss {
    border: 1px solid #CC8800;
    background: #FFF7CC;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offerContainer .__offerSnap .__offer .__content p.__pfs.filter-pill.pill-red.__bss {
    border: 1px solid #E17000;
    background: #FBEADA;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.__bss:not(.eyebrow, .ribbon, .match-pill-red):nth-of-type(1) .red-eyebrow {
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    color: #D8292F;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.__bss.book-by {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 8px !important;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.__bss.book-by:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: cover !important;
    color: #000;
    filter: grayscale(1);
    margin-right: 5px;
    margin-bottom: -3px;
    background: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/branded/icons/icon-calendar.svg) no-repeat center center;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p.__pfs.__bss.footnote {
    color: #6D6D6F;
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 8px;
}

.__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap .__offer .__content div.ntp-tooltip button.copy-code,
.__psc .__customModal.active[data-modal-type="ntp"] .__scrollableSectionModal .__modalBody .__pfs.__modalSaleDetails.__bss div.ntp-tooltip button.copy-code {
    display: flex;
    width: 100%;
    padding: 4px 4px 4px 8px;
    align-items: center;
    gap: 16px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
    justify-content: space-between;
    min-width: fit-content;
}

.__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap .__offer .__content div.ntp-tooltip button.copy-code .code,
.__psc .__customModal.active[data-modal-type="ntp"] .__scrollableSectionModal .__modalBody .__pfs.__modalSaleDetails.__bss div.ntp-tooltip button.copy-code .code {
    overflow: hidden;
    color: #1460AA;
    text-overflow: ellipsis;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    white-space: nowrap;
}

.__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap .__offer .__content div.ntp-tooltip button.copy-code .copy-icon,
.__psc .__customModal.active[data-modal-type="ntp"] .__scrollableSectionModal .__modalBody .__pfs.__modalSaleDetails.__bss div.ntp-tooltip button.copy-code .copy-icon {
    display: flex;
    padding: 5px 16px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    gap: 6px;
    background: #1460AA;
    color: #fff;
    text-align: center;

    /* Labels/M-Bold */
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    /* 142.857% */
}

.__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap .__offer .__content div.ntp-tooltip,
.__psc .__customModal.active[data-modal-type="ntp"] .__scrollableSectionModal .__modalBody .__pfs.__modalSaleDetails.__bss div.ntp-tooltip {
    justify-content: end;
    /* height: 40px; */
    flex-grow: 0;
    position: relative;
}

.__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap .__offer .__content div.ntp-tooltip {
    margin-top: auto;
}

.__psc .__customModal.active[data-modal-type="ntp"] .__scrollableSectionModal .__modalBody .__pfs.__modalSaleDetails.__bss div.ntp-tooltip {
    margin-top: 0;
}

.__psc .__customModal.active[data-modal-type="ntp"] .__scrollableSectionModal .__modalBody .__pfs.__modalSaleDetails.__bss div.ntp-tooltip button.copy-code .copy-icon img {
    display: none;
}

.__filtersContainer .__filterGroup .__filterGroupTitle.__pfs.__bss {
    color: #000;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    margin-bottom: 16px !important;
}

.__filtersContainer .__checkboxGroup .__checkbox {
    margin-bottom: 0;
}

/* Copy code button fade animations */
.__offerSnap .ntp-tooltip {
    transition: opacity 3s ease-out;
}

.__offerSnap p.hidden {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 3s ease-in, visibility 0s 3s;
}

.__offerSnap p.hidden .__openModal {
    pointer-events: none;
}

.__offerSnap p:not(.hidden) {
    opacity: 1;
    visibility: visible;
    transition: opacity 3s ease-in, visibility 0s 0s;
}

.__offerSnap p:not(.hidden) .__openModal {
    pointer-events: auto;
}

/* .__psc .__infiniteCarousel.__offersContainer .__offerContainer .__offerSnap .__offer {
    transform: none;
} */

.__psc .__collapsibleSection:not(.__infiniteCarousel).__offersContainer .__offerContainer .__offerSnap .__offer .__content img {
    width: calc(100% + 48px);
    max-width: calc(100% + 48px);
    margin-left: -24px;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer .__offerContainer .__offerSnapSolid .__content p.hidden {
    display: none !important;
}

.__psc .__collapsibleSection:not(.__infiniteCarousel) .__offerContainer .__offerSnap .__offer .__content div.ntp-tooltip button.copy-code .code::before {
    content: '';
    width: 14px;
    height: 14px;
    display: inline-block;
    background: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/branded/icons/icon-tag.svg) no-repeat center center;
    background-size: contain;
    margin-right: 8px;
    margin-bottom: -2px;
}

@media only screen and (max-width: 1024px) {
    .__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer:nth-of-type(2) {
        margin-top: 24px;
    }
    .__filteredOffersContainer .__activeFiltersContainer {
        margin-top: 24px;
    }
}

/* ==========================================================================
   SECTION: ACTIVE FILTERS PILLS
   ========================================================================== */

/* Active filters container */
.__filteredOffersContainer .__activeFiltersContainer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.__filteredOffersContainer .__activeFiltersList {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Filter pills in active filters (same style as offer pills) */
.__filteredOffersContainer .__activeFiltersList .filter-pill {
    width: fit-content;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: flex;
    padding: 4px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid #1460AA;
    background: #F9F9F9;
    font-family: 'Open Sans';
}

.__filteredOffersContainer .__activeFiltersList .filter-pill:hover {
    opacity: 0.8;
}

/* Filter pill text */
.__filteredOffersContainer .__activeFiltersList .filter-pill .__filterPillText {
    display: inline-block;
    color: #000;
    text-align: center;

    /* Labels/M-Semi-bold */
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    /* 142.857% */
}

/* Filter pill close icon */
.__filteredOffersContainer .__activeFiltersList .filter-pill .__filterPillClose {
    background: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/icon/icon-close.svg) no-repeat center center;
    filter: brightness(0) saturate(100%) invert(27%) sepia(78%) saturate(1027%) hue-rotate(177deg) brightness(101%) contrast(92%);
    background-size: 16px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 0;
    transition: transform 0.2s ease;
}

.__filteredOffersContainer .__activeFiltersList .filter-pill:hover .__filterPillClose {
    transform: scale(1.1);
}

/* Clear filters button */
.__filteredOffersContainer .__clearFiltersBtn {
    background: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.__filteredOffersContainer .__clearFiltersBtn:hover {
    color: #005078;
}

.__filteredOffersContainer .__clearFiltersBtn .__clearFiltersText {
    color: #1460AA !important;
    font-size: 14px;
    font-weight: 700 !important;
    text-align: center;
    font-style: normal;
    line-height: 20px;
}

/* ==========================================================================
   SECTION: SEE MORE / SEE LESS FUNCTIONALITY
   ========================================================================== */

/* Style the See More container and link */
.__filteredOffersContainer .__seeMoreContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    padding: 20px 0;
}

.__filteredOffersContainer .__seeMoreLink {
    color: #1460AA;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.__filteredOffersContainer .__seeMoreLink:hover {
    color: #005078;
    text-decoration: underline;
}

.__filteredOffersContainer .__seeMoreLink::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/prev-arrow.svg) no-repeat center center;
    background-size: contain;
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
}

.__filteredOffersContainer .__offerContainer.__expanded~.__seeMoreContainer .__seeMoreLink::after {
    transform: rotate(90deg);
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offerContainer .__offerSnap .__offer .__content a.__pfs.__openModal.__primaryBtn.__bss {
    display: flex;
    min-width: 120px;
    width: 100%;
    padding: 5px 16px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    align-self: stretch;
    border-radius: 24px;
    background: #1460AA;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    height: fit-content;
    margin-top: 16px;
    min-height: 20px;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offerContainer .__offerSnap .__offer .__content a.__pfs.__openModal.__primaryBtn.__bss::after {
    display: none;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer .__offerContainer .__offerSnap#no-offers .__offer .__content {
    background: #CFE6FC;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
    gap: 8px;
}

.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer .__offerContainer .__offerSnap#no-offers .__offer .__content img.terms-icon {
    width: 24px;
    height: 24px;
    margin-left: 0;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p a.__openModal:not(.__primaryBtn) {
    color: #1460AA;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.__psc .__collapsibleSection .__offerContainer .__offerSnap .__offer .__content p a.__openModal:not(.__primaryBtn)::after {
    background-size: 12px 12px;
    content: '';
    display: block;
    background: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/prev-arrow.svg) no-repeat center center;
    background-size: 14px 14px;
    width: 14px;
    height: 14px;
    transform: rotate(180deg);
    margin-left: 5px;
}

.__filtersContainer .__filterGroup .__dropdownTrigger .__dropdownTriggerText::before {
    content: '';
    width: 20px;
    height: 20px;
    display: inline-block;
    background: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/branded/icons/icon-calendar.svg) no-repeat center center;
    background-size: contain;
    margin-right: 8px;
    margin-bottom: -5px;
}

.__psc .__customModal.active[data-modal-type="ntp"] .__scrollableSectionModal .__modalBody .__pfs.__modalSaleDetails.__bss div.ntp-tooltip button.copy-code .code::before {
    content: '';
    width: 14px;
    height: 14px;
    display: inline-block;
    background: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/branded/icons/icon-tag.svg) no-repeat center center;
    background-size: contain;
    margin-right: 8px;
    margin-bottom: -2px;
}


.__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer.__infiniteCarousel .__offerContainer .__offerSnapSolid {
    height: 340px !important;
}

button.__pfs.__filterToggleBtn.__bss {
    display: none;
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
    .__pfs.__allSalesContainer.__bss .__filtersContainer {
        display: none;
    }

    .__pfs.__allSalesContainer.__bss .__filtersContainer.__filtersVisible {
        display: flex;
    }

    button.__pfs.__filterToggleBtn.__bss {
        display: flex;
        height: 40px;
        min-width: 120px;
        padding: 12px 32px;
        justify-content: center;
        align-items: center;
        gap: 6px;
        align-self: stretch;
        border-radius: 24px;
        border: 1px solid #1460AA;
        background: #fff;
    }




    button.__pfs.__filterToggleBtn.__bss span.__pfs.__filterToggleText.__bss {
        color: #1460AA;
        text-align: center;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px;
    }


    button.__pfs.__filterToggleBtn.__bss {
        width: fit-content;
        margin: 0 auto 32px;
    }
}

@media only screen and (max-width: 767px) {
    .__pfs.__allSalesContainer.__bss .__filteredOffersContainer .__offersContainer h3 {
        margin: 32px 0 0;
    }

    .__psc .__customSection .__filtersContainer .__filterDivider {
        margin: 0 0 16px;
    }

    __pfs.__intro.__customSection.hero-fullWidth-bg.__bss {
        /* background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/specialOffersHub-v4/hero-v1.png); */
        background-repeat: no-repeat;
        width: 100%;
        height: 400px;
        padding-top: 150px;
        background-position-y: 150px;
        background-position-x: center;
        background-size: cover;
        margin-bottom: -80px;
    }

    .__psc .__intro.__customSection .__fixedWidth {
        position: inherit;
    }

    .__pfs.header-text-container.__bss {
        position: absolute;
        top: -150px;
        left: 0;
        border-radius: 0;
        gap: 0;
    }

    button.__pfs.__filterToggleBtn.__bss {
        display: flex;
        height: 40px;
        min-width: 120px;
        padding: 12px 32px;
        justify-content: center;
        align-items: center;
        gap: 6px;
        align-self: stretch;
        border-radius: 24px;
        border: 1px solid #1460AA;
        background: #fff;
    }


    button.__pfs.__filterToggleBtn.__bss span.__pfs.__filterToggleText.__bss {
        color: #1460AA;
        text-align: center;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px;
    }
}

div.__pfs.footnote.__bss * {
    color: #6D6D6F;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

/* Filter hidden class - used by JS filter functionality */
.__offerSnap.__filter-hidden {
    display: none !important;
}