/*
 * Home Page Featured Products (RP-974)
 * All fp / weekly-deals CSS pulled from home.css and scoped to #weekly-deals
 * (the class added to the partial's <section> in home_fps.blade.php) so this
 * file is self-contained and portable across themes — it no longer depends on
 * the theme-specific #weekly-deals id.
 */

#weekly-deals {
    padding-top: 35px;
    padding-bottom: 46px;
}

#weekly-deals .container {
    width: 1035px;
}

#weekly-deals .blocktitle {
    padding: 15px 50px 5px 50px;
}

#weekly-deals .blocktitle p,
#weekly-deals .blocktitle .p {
    font-size: 45px;
    top: -27px;
}

#weekly-deals .blocktitle dotlottie-player {
    right: -37px;
    top: -4px;
    width: 55px;
}

#weekly-deals .blocktitle h3,
#weekly-deals .blocktitle .h3 {
    font-size: 54px;
}

#weekly-deals .title {
    font-size: 64px;
    line-height: 1.421875em;
}

#weekly-deals .box h2,
#weekly-deals .box .h2 {
    font-size: 30px;
}

#weekly-deals .box h3,
#weekly-deals .box .h3 {
    font-size: 17px;
    line-height: 1.12em;
    position: relative;
}

#weekly-deals .fp-price {
    font-size: 21px;
}

#weekly-deals .fp-price span {
    font-size: 36px;
}

#weekly-deals .fp-price sup {
    font-size: 60%;
    top: -0.4em;
}

#weekly-deals .items {
    margin: 40px auto 0 auto;
}

#weekly-deals .item {
    height: 205px;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.15);
}

#weekly-deals .box .button {
    font-size: 17px;
    height: 37px;
    line-height: 37px;
    width: 152px;
}

#weekly-deals .fp-text {
    flex-grow: 1;
    flex-shrink: 1;
    padding-left: 27px;
    padding-top: 22px;
    padding-bottom: 18px;
}

#weekly-deals .fp-text h2 .weekly,
#weekly-deals .fp-text .h2 .weekly {
    font-size: 21px;
}

#weekly-deals .fp-image.full-image {
    flex-grow: 1;
    overflow: hidden;
}

#weekly-deals .fp-image.full-image>img {
    width: auto;
    height: auto;
}

#weekly-deals .fp-image.full-image>img.contain {
    -o-object-fit: contain;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

#weekly-deals .fp-image.full-image>img.cover {
    -o-object-fit: cover;
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
}

#weekly-deals .fp-image img {
    max-height: 100%;
    width: auto;
}

#weekly-deals .fp-image a {
    max-height: 100%;
    height: 100%;
}

@media screen and (max-width: 768px) {
    #weekly-deals .blocktitle {
        padding: 10px 25px 5px 25px;
    }

    #weekly-deals .blocktitle p,
    #weekly-deals .blocktitle .p {
        font-size: 28px;
        top: -18px;
    }

    #weekly-deals .blocktitle dotlottie-player {
        right: -24px;
        top: -2px;
        width: 36px;
    }

    #weekly-deals .blocktitle h3,
    #weekly-deals .blocktitle .h3 {
        font-size: 34px;
    }

    #weekly-deals .box {
        flex-direction: column;
        align-items: center;
    }

    #weekly-deals .fp-text {
        order: 1;
    }

    #weekly-deals .item {
        height: auto;
        min-width: 230px;
        margin-right: 30px !important;
    }

    #weekly-deals .fp-image {
        margin: 0;
        padding: 0 !important;
        width: 100%;
        height: 187px !important;
        overflow: hidden;
        align-items: flex-start;
    }

    #weekly-deals .fp-image img {
        width: auto;
        max-height: unset !important;
    }

    #weekly-deals .box .h3 br {
        display: none;
    }

    #weekly-deals .fp-image a {
        align-items: flex-start;
    }
}

@media screen and (max-width: 567px) {
    #weekly-deals .blocktitle dotlottie-player {
        right: -14px;
    }

    #weekly-deals .fp-price {
        font-size: 18px;
    }

    #weekly-deals .fp-price span {
        font-size: 30px;
    }

    #weekly-deals .box h3,
    #weekly-deals .box .h3 {
        font-size: 15px;
        margin-bottom: 1.5rem;
    }

    #weekly-deals .box .button {
        font-size: 15px;
        height: 31px;
        line-height: 31px;
        width: 120px;
        margin-top: auto;
        margin-bottom: 0;
    }

    #weekly-deals .fp-text {
        padding-left: 17px;
        padding-top: 15px;
        padding-bottom: 30px;
        width: 90%;
        flex-direction: column;
        justify-content: flex-start;
    }
}

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

    #weekly-deals .blocktitle h3,
    #weekly-deals .blocktitle .h3 {
        font-size: 9vw;
    }

    #weekly-deals .blocktitle dotlottie-player {
        right: -17px;
    }
}