.club-zest-section .icon-bullets-container h2 {
    text-align: center;
}

.club-zest-section .icon-bullets-container .button {
    margin: 0 auto;
}

.club-zest-section .icon-bullets {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tiers.grid-container {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.mobile-title {
    display: none
}

.tiers .greyed-out {
    opacity: 0.5;
    cursor: not-allowed;
}

.tiers .button {
    max-width: 100%;
}

.tiers .greyed-out .button {
    pointer-events: none;
    cursor: not-allowed;
}

.ref-container {
    border: 1px solid #f2f2f2;
}

.ref-container:nth-child(even) {
    background-color: #f2f2f2;
}

.ref-col-one {
    width: 25%;
    min-width: 135px
}

.ref-col-two {
    width: 75%;
    min-width: 135px
}

.ref-container .cell.icon {
    width: 65px;
    margin-right: 0;
}

.cell a {
    text-decoration: underline;
}


/*Bullets*/


.icon-bullet:nth-child(1) {
    animation-delay: 0.4s;
}

.icon-bullet:nth-child(2) {
    animation-delay: 0.8s;
}

.icon-bullet:nth-child(3) {
    animation-delay: 1.2s;
}

.icon-bullet:nth-child(4) {
    animation-delay: 1.6s;
}

.icon-bullet {
    opacity: 0;
    animation: fade-in 1.6s ease forwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/*Referral link*/

.referral-link {
    position: relative;
    display: flex;
    border: 1px solid var(--zest-purple);
    border-radius: 4px;
    padding: 24px 82px 24px 16px;
    align-items: center;
    justify-content: space-between;
    max-width: fit-content;

}

.referral-link button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    background-color: var(--zest-purple);
    border: 0;
    padding: 8px;
    position: absolute;
    right: 0;
    height: 100%;
    border-radius: 0 2px 2px 0
}

.referral-link button img {
    width: 16px;
}


/*Modal*/

dialog.modal.club-zest {
    background-color: var(--zest-purple);
    color: white;
    border: 4px solid var(--club-zest-yellow)
}

.icons-container .center::after {
    border-top: 12px dotted white;
    content: "";
    display: inline-block;
    width: 97%;
    position: absolute;
    top: 35px;
    z-index: 0;
}

.icons-container .center:first-child::after {
    width: 50%;
    z-index: 0;
    right: 0;
}

.icons-container .center:last-child::after {
    width: 50%;
    z-index: 0;
    left: 0;
}

.icons-container.three-col-layout {
    grid-gap: 6px;
}

.icons-container.three-col-layout p {
    max-width: 300px;
}

.points-heading {

    flex-direction: column-reverse;
}

.club-zest-terms ol {
    list-style-type: none;
}

.club-zest-terms > ol {
    padding: 0;
}

.club-zest-terms > ol ol {
    padding: 0 42px;
    margin-bottom: var(--large);
}

.club-zest-terms li {
    margin: 20px 0 32px 0;
}

.club-zest-terms table {
    margin-top: 10px;
    border-collapse: collapse;
}

.club-zest-terms table th,
.club-zest-terms table td {
    border: 1px solid #000;
    padding: 5px;
}


@media screen and (max-width: 768px) {

    .icons-container {
        display: flex;
        flex-direction: column
    }

    .icons-container .center::after {
        display: none;
    }

    .icons-container.three-col-layout {
        grid-gap: 40px;
    }


    .clubzest .two-one-col-layout {
        display: flex;
    }

    .clubzest .two-one-col-layout > div:last-child {
        display: none;
    }


    .clubzest .two-col-layout {
        display: flex;
    }

    .clubzest .two-col-layout > div:last-child {
        display: none;
    }

    .ref-col-one {
        flex-direction: column;
        flex: 1;
        min-width: 100px;
    }

    .ref-col-two {
        flex-direction: column;
        flex: 3;
    }

    .ref-container.titles {
        display: none;
    }

    .ref-container .ref-col-one .cell {

        align-items: center;
        justify-content: center;
    }

    .mobile-title {
        font-weight: bold;
        display: block
    }

    .points-container {
        flex-direction: column;
    }


}

@media (max-width: 480px) {
    .mobile-title {
        display: block
    }
}
