@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
    --main-color: #f8be19;
    --second-color: #0050ff;
    --third-color: #ffe395;
}
.new_product_aside_container {
    position: relative;
    font-family: "Poppins", sans-serif;
}

.new_product_aside_container .card {
    position: relative;
    width: 100%;
    height: 450px;
    background: #232323;
    border-radius: 20px;
    overflow: hidden;
    border-width: 0 !important;
}

.new_product_aside_container .card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    clip-path: circle(150px at 80% 20%);
    transition: 0.5s ease-in-out;
}

.new_product_aside_container .card:hover:before {
    clip-path: circle(300px at 80% -20%);
}

.new_product_aside_container .card:after {
    content: "Ecwat";
    position: absolute;
    top: 60%;
    left: 3%;
    font-size: 5em;
    font-weight: 800;
    font-style: italic;
    color: rgba(255, 255, 25, 0.05);
}

.new_product_aside_container .card .imgBx {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    width: 100%;
    height: 220px;
    transition: 0.5s;
}

.new_product_aside_container .card:hover .imgBx {
    top: 0%;
    transform: translateY(0%);
}

.new_product_aside_container .card .imgBx img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(6deg);
    width: 270px;
}

.new_product_aside_container .card .contentBx {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    text-align: center;
    transition: 1s;
    z-index: 10;
}

.new_product_aside_container .card:hover .contentBx {
    height: 210px;
}

.new_product_aside_container .card .contentBx h3 {
    position: relative;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
}

.new_product_aside_container .card .contentBx .mini-desc {
    padding: 8px;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

.new_product_aside_container .card:hover .contentBx .mini-desc {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.5s;
}
.new_product_aside_container .card .contentBx a {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    border-radius: 4px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 600;
    color: #111;
    opacity: 0;
    transform: translateY(50px);
    transition: 0.5s;
    margin-top: 0;
}

.new_product_aside_container .card:hover .contentBx a {
    opacity: 1;
    transform: translateY(0px);
    transition-delay: 0.75s;
}
/* Relevent product */
.relevant-holder {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
@media only screen and (min-width: 992px) {
    .relevant-holder {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}
.relevant-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}
.relevant-item:first-of-type {
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px;
}
@media only screen and (min-width: 768px) {
    .relevant-item:first-of-type {
        padding: 50px 55px 33px 55px;
    }
}
@media only screen and (min-width: 992px) {
    .relevant-item:first-of-type {
        width: calc(100% - 380px);
    }
}
.relevant-item .button::before {
    background-color: #fff;
    color: #25272a;
}
.relevant-item:last-of-type {
    background-color: #f8be19;
    padding: 30px;
}
@media only screen and (min-width: 768px) {
    .relevant-item:last-of-type {
        padding: 50px 50px 32px 50px;
    }
}
@media only screen and (min-width: 992px) {
    .relevant-item:last-of-type {
        width: 100%;
        max-width: 380px;
    }
}
.relevant-item .ribbon {
    display: inline-block;
    background-color: #fff;
    font-size: 10px;
    font-weight: 500;
    padding: 4px 10px 6px 10px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.relevant-item .ribbon.event {
    color: #f8be19;
}
.relevant-item .ribbon.custom-badge {
    color: #333;
}
.relevant-item .title {
    font-size: 32px;
    text-transform: uppercase;
}
@media only screen and (min-width: 768px) {
    .relevant-item .title {
        font-size: 35px;
        font-weight: 900;
    }
}
@media only screen and (min-width: 992px) {
    .relevant-item .inner-text {
        min-height: 106px;
        font-size: 14px;
    }
}
.relevant-item:first-of-type .title {
    color: #f8be19;
}
.relevant-item:first-of-type p {
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
}
@media only screen and (min-width: 768px) {
    .relevant-item:first-of-type p {
        font-size: 25px;
    }
}
.relevant-item:first-of-type .button span,
.relevant-item:first-of-type .button::before {
    padding: 13px 40px;
}
@media only screen and (min-width: 992px) {
    .relevant-item:first-of-type .button span,
    .relevant-item:first-of-type .button::before {
        padding: 13px 50px;
    }
}
@media only screen and (min-width: 1200px) {
    .relevant-item:first-of-type .button span,
    .relevant-item:first-of-type .button::before {
        padding: 13px 67px;
    }
}
.relevant-item:first-of-type .text-holder {
    width: calc(100% - 40px);
}
@media only screen and (min-width: 992px) {
    .relevant-item:first-of-type .text-holder {
        width: calc(100% - 200px);
    }
}
@media only screen and (min-width: 1200px) {
    .relevant-item:first-of-type .text-holder {
        width: calc(100% - 280px);
    }
}
.relevant-item:first-of-type .img-holder {
    width: 100%;
    max-width: 160px;
    text-align: center;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    top: 50%;
    right: -100px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
@media only screen and (min-width: 576px) {
    .relevant-item:first-of-type .img-holder {
        position: static;
        -webkit-transform: translate(0);
        -ms-transform: translate(0);
        transform: translate(0);
    }
}
@media only screen and (min-width: 992px) {
    .relevant-item:first-of-type .img-holder {
        max-width: 160px;
    }
}
@media only screen and (min-width: 1200px) {
    .relevant-item:first-of-type .img-holder {
        max-width: 240px;
    }
}
.relevant-item:first-of-type .img-holder img {
    display: inline-block;
    width: 100%;
    max-height: 305px;
}
.relevant-item:last-of-type .title {
    color: #fff;
}
.relevant-item:last-of-type p {
    line-height: 21px;
    color: #fff;
    opacity: 0.5;
}
.relevant-item:last-of-type .button span {
    background-color: #25272a;
}
.relevant-item:last-of-type .button span,
.relevant-item:last-of-type .button::before {
    padding: 13px 54px;
}
.relevant-item:last-of-type img {
    position: absolute;
    top: 25px;
    right: 0;
}
