@font-face {
    font-family: "Yati Sans";
    src: url("../fonts/YatiSansVariation.ttf") format("truetype");
    font-style: normal;
}

.a-member-privileges-container {
    background-image: var(--a-membership-background);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 20px;
    padding-bottom: 50px;
}

.a-member-privileges-title {
    font-family: "Yati Sans";
    color: #1b141f;
    order: 0;
    text-align: left;
    font-size: 2.16666667rem;
    /* width: 420px !important; */
}

.a-member-privileges-line {
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: calc(100% - (420px + 156px)) !important; */
}

.a-member-privileges-line div {
    border: 1px solid #c4c4c4;
    width: 100%;
}

.a-member-privileges-prevNext {
    display: flex;
    justify-content: end;
    align-items: center;
    order: 1;
    /* width: 156px !important; */
}

.a-member-privileges-prevNext .prevButton,
.a-member-privileges-prevNext .nextButton {
    border: none;
    box-shadow: none;
    background: transparent;
    color: #9a9a9a;
}

.a-member-privileges-prevNext .icon {
    width: 40px;
    height: auto;
    color: #ffffff;
}

.a-member-privileges-prevNext .prevButton:hover,
.a-member-privileges-prevNext .nextButton:hover {
    opacity: 0.8;
}

.a-member-privileges-prevNext .slick-disabled {
    opacity: 0.4;
}

.a-member-privileges-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 0 !important; */
    margin: 0;
    order: 2;
    margin-top: 15px;
}

.a-member-privileges-tabs .slick-slide {
    margin: 0 0.938rem;
}

.a-member-privileges-tabs .slick-list {
    margin-left: -0.938rem;
    margin-right: -0.938rem;
}

.a-member-privileges-tab {
    background: #ffffff;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.18);
    border-radius: 13px;
    /* height: 412px !important; */

    display: flex !important;
    flex-direction: column;
    /* gap: 12px; */
    /* padding: 35px; */
    /* width: 21.4583333rem !important; */

    /* margin: 1.25rem 0.8rem 1.25rem 0.8rem; */
    padding: 0 1.458333333333333rem 1.458333333333333rem 1.458333333333333rem;
}

.a-member-privileges-tab .images {
    /* height: 5.20833333rem; */
    display: flex;
    justify-content: space-between;

    align-items: center;
    position: relative;
}

.a-member-privileges-tab .images .image,
.a-member-privileges-tab .images svg {
    width: 4.38791667rem;
    height: 3.875rem;
    object-fit: contain;
}

.a-member-privileges-tab .images .percentageImage {
    /* margin-top: -1.875rem; */
    max-height: 6.29166667rem;
    width: 4.66666667rem;
    height: 6.29166667rem;
    object-fit: cover;
    opacity: 0;
    animation: slideInFromTop 1s ease-out forwards;
    will-change: transform, opacity;
    transform: translateY(-100%);
    transition: transform 1s ease-out, opacity 1s ease-out;
    position: relative;
}

.discount {
    position: absolute;
    left: 0;
    top: -2rem;
    color: white;
    opacity: 0;
    width: 100%;
    height: 100%;
    /* bottom: 22px; */
    animation: slideInFromTop 1s ease-out forwards;
    will-change: transform, opacity;
    transform: translateY(-100%);
    transition: transform 1s ease-out, opacity 1s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upto {
    /* padding-right: 8px; */
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 400px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
    color: var(--primary-text-color);
}

.percent {
    color: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    /* padding-right: 8px; */
    line-height: 1.2;
}

.benefit {
    color: var(--primary-text-color);
    font-size: 0.7rem;
    text-align: center;
    /* padding-right: 8px; */
    font-weight: 500px;
    /* line-height: 18px; */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
}

.benefit1 {
    color: var(--primary-text-color);
    font-size: 0.7rem;
    /* padding-right: 4px;   */
    font-weight: 500px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
}

.scroll-container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

.a-member-privileges-tab .images {
    scroll-snap-align: start;
}

.a-member-privileges-tab .images svg.cls-1 {
    fill: var(--primary-color);
    stroke: var(--primary-color);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 0.25px;
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.a-member-privileges-tab .title {
    font-family: "Yati Sans";
    color: var(--primary-color);
    font-size: 1.66666667rem;
}

.a-member-privileges-tab .description {
    font-family: "Yati Sans";
    color: #7c8ba6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 2.8rem;
    text-overflow: ellipsis;
    overflow: hidden;
}

.a-member-privileges-tab .images .percentageImage .animate {
    transform: translateY(0);
    opacity: 1;
}

.a-member-privileges-tab .find-out-more-container a {
    text-decoration: none;
}

.find-out-more {
    background: linear-gradient(90deg, #8464ba 0%, var(--primary-color) 100%);
    color: #ffffff;
    border-radius: 1.66666667rem;
    width: fit-content;
    /* padding: 0.41666667rem 0.41666667rem 0.41666667rem 0.83333333rem; */

    font-family: "Yati Sans";

    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 10px; */

    border: 2px solid transparent;
    transition: background-color 1s, color 0.5s;

    padding: 0.75rem 1.25rem;
    gap: 1rem;
}

#go-to-care {
    bottom: 10px;
    scroll-margin-top: 80px;
}

.find-out-more .arrow-image {
    width: 1.6875rem;
    height: 1.6875rem;
    object-fit: contain;
    position: relative;
    fill: var(--primary-color);
}

.find-out-more:hover .arrow-image {
    fill: #fff;
}

@media screen and (max-width: 1200px) {
    .a-member-privileges-tabs .slick-slide {
        margin: 0 1.071428571428571rem;
    }
}

@media screen and (max-width: 820px) {
    .a-member-privileges-tabs .slick-slide {
        margin: 0 1.153846153846154rem;
    }
}

@media (min-width: 1400px) {
    .discount {
        top: -0.25rem;
    }
}

@media (max-width: 1400px) {
    .a-member-privileges-tab .images {
        position: relative;
        top: 2.75rem;
        margin-bottom: 4rem;
    }
}

@media (max-width: 992px) {
    .a-member-privileges-title,
    .a-member-privileges-line,
    .a-member-privileges-prevNext {
        width: 100% !important;
    }

    .a-member-privileges-line {
        display: none;
    }

    .a-member-privileges-title {
        text-align: center;
        /* margin-bottom: 20px; */
    }

    .a-member-privileges-prevNext {
        order: 2;
        margin-top: 30px;
        margin-bottom: -30px;
    }

    .a-member-privileges-tabs {
        order: 1;
    }

    .a-member-privileges-tab .images {
        height: auto;
    }

    .a-member-privileges-tab .images .image,
    .a-member-privileges-tab .images svg {
        width: 55px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .a-member-privileges-title {
    }

    .a-member-privileges-prevNext .icon {
        height: 35px;
        width: auto;
    }

    .a-member-privileges-tab {
        max-width: 100% !important;
    }

    .find-out-more .arrow-image {
        width: 2.076923076rem;
        height: 2.076923076rem;
    }
}

@media screen and (max-width: 1200px) {
    .a-member-privileges-tab .images .percentageImage {
        width: 5.357rem;
        height: 7.143rem;
        max-height: none;
        margin-top: -2.857rem !important;
    }
}

@media screen and (max-width: 820px) {
    .a-member-privileges-tab .images .percentageImage {
        width: 5.769rem;
        height: 7.692rem;
    }
}
