@import url("https://cdn.shopify.com/extensions/abc4c382-817b-4f6f-88c0-5d90196315b8/joy-loyalty-program-273/assets/joy-way-to-redeem.css");

.Joy__Way-To-Earn {
    width: calc(100vw);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 65px 24px;
}

.Joy__Way-To-Earn--Summary {
    margin: 30px auto;
    padding: 18px 40px;
    display: block;
    width: fit-content;
    border-top: var(--joy-way-to-earn-desc-border-color);
    border-bottom: var(--joy-way-to-earn-desc-border-color);
}

.Joy-WayEarn__List {
    margin: 0 auto 30px;
    display: flex;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.Joy-WayEarn__Item {
    background: #fff;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.Joy-WayEarn__Item:hover {
    transform: scale(1.005);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 1px 6px rgba(0, 0, 0, 0.1);
}

.Joy-Earn__Item-Icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.Joy-Earn__Item-Icon .Avada-Joy_ColorTRigger {
    fill: var(--joy-way-to-earn-icon-color);
}

.Joy-Earn__Item-Icon svg {
    width: 56px;
    height: 56px;
}

.Joy-Earn__ItemIcon-CustomImg {
    height: auto;
    max-height: 80px;
    margin-bottom: 8px;
}

.Joy-Earn__Item-Title {
    font-style: normal;
    font-size: 16px;
    font-weight: 650;
    margin: 0;
    text-align: left;
}

.Joy-Earn__Item-SubTitle {
    font-size: 14px;
    font-weight: 450;
    line-height: 20px;
    opacity: 0.7;
    margin: 0;
}

.Joy-Earn__Item-Text {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
}

.Joy-WayEarn__ShowMore {
    display: none;
}

@media only screen and (max-width: 460px) {
    .Joy__Way-To-Earn {
        padding: 24px;
    }

    .Joy__Way-To-Earn--Summary {
        display: none;
    }

    .Joy-WayEarn__List {
        gap: 16px;
        margin: 0 auto;
    }

    .Joy-WayEarn__Item {
        flex: 0 0 100%;
        transform: scale(1.005);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 1px 6px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: start;
        gap: 12px;
        justify-content: start;
    }

    .Joy-Earn__Item-Title {
        font-size: 14px;
    }

    .Joy-Earn__Item-Icon {
        align-items: start;
        height: fit-content;
        margin-top: 3px;
    }

    .Joy-Earn__Item-Icon div {
        width: 24px;
        height: 24px;
    }

    .Joy-Earn__Item-Icon svg {
        width: 24px;
        height: auto;
    }

    .Joy-Earn__ItemIcon-CustomImg {
        width: 24px;
        height: 24px;
        margin-bottom: 0;
    }

    .Joy-WayEarn__ShowMore {
        text-align: center;
        display: unset;
    }

    .Joy-WayEarn__ShowMore button {
        background: transparent;
        font-size: 14px;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        color: var(--joy-way-to-earn-show-more-color, '#000000');
    }
}