.custom-product-cards {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    height: calc(16.875vw - 10px + 5.25rem + 60px);
}

.custom-product-cards .swiper-slide {
    background-color: white !important;
    widht: 100% !important;
}

.swiper-button-prev,
.swiper-button-next {
    height: 2.5rem;
    width: 2.5rem;
    background-color: white;
    border-radius: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 1.5rem;
    color: #46545e;
}

.swiper.custom-product-cards {
    height: calc(16.875vw - 10px + 5.25rem + 60px) !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: -75px;
}

.custom-product-cards .swiper-wrapper {
    height: calc(16.875vw - 10px + 5.25rem + 60px);
}

.swiper.custom-product-cards {
    height: calc(16.875vw - 10px + 5.25rem + 60px);
}

img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    height: calc(16.875vw - 10px);
    width: calc(16.875vw - 10px);
    object-fit: cover;
    border-radius: 20px 20px 0px 0px;
}

.product-card.swiper-slide,
.product-card {
    width: calc(16.875vw - 12.5px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    background-color: white;
    border-radius: 20px;
    position: relative;
    /* border: 1px solid #c0c0c0; */
    box-shadow: 0px 0px 4px 0px #c0c0c0 !important;
}

h3.product-title {
    font-size: 1.75rem;
    font-weight: normal;
    color: #46545f;
    text-align: left;
}


h3.product-title {
    padding: 10px 10px 0px 10px;
    margin-bottom: 0px;
}

.product-price {
    padding: 10px 10px 0px 10px;
    font-size: 1.75rem;
    color: #dee8e7;
    text-align: left;
}

td.product-thumbnail {
    width: 220px !important;
    height: 200px !important;
}

td.product-thumbnail img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    height: 200px;
    width: 200px;
    min-width: 200px;
    border-radius: 20px;
}

li.entry.has-media.has-product-nav.col.span_1_of_3 {
    width: calc(25% - 20px);
    border-radius: 20px;
    padding: 0px;
}

.product-card .product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limits the text to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Adds '...' at the end of the second line */
}


.latest-arrivals .row {
    display: flex;
    gap: 20px;
    height: calc(16.875vw - 10px + 5.25rem + 60px);
}

.latest-arrivals .row:nth-child(3) {
    padding-right: 24.5%;
    gap: 20px;
}


.latest-arrivals .row:nth-child(3) {
    /* padding-right: 24.5%; */
    gap: 20px;
}


.latest-arrivals .row:nth-child(n+5) {
    padding-left: 24.5%;
    gap: 20px;
}

.product-card.custom-item {
    min-width: calc(22.5vw - 30px);
    height: calc((16.875vw - 10px + 5.25rem + 60px) * 2 + 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background-color: #f095b9;
    color: white;
    padding: 20px;
    padding-bottom: 0px;
    font-size: 4rem;
    line-height: 4rem;
    text-align: center;
    gap: 20px;
    border: none;
    box-shadow: none !important;
    cursor: default;
    border-radius: 20px 20px 0px 0px;
}

.custom-banner-overlay {
    border-radius: 10px;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 20px;
    text-align: left;
    background: linear-gradient(45deg, #242424, transparent);
    font-size: 2rem;
    color: white;
}

.lastrowsupport {
    position: absolute;
    height: 20px;
    width: 30px;
    bottom: -20px;
    display: flex
;
    left: calc(24.5% - 29px);
    background: #f095b9;
    flex-direction: row;
    justify-content: flex-end;
}

.lastrowsupport>div {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 0px 0px 0px 20px;
}

.product-card.custom-item:hover {
    transform: none;
    transition: none;
}

.custom-banner {
    border-radius: 10px;
    height: 100%;
    width: 100%;
    background: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: black;
    background-size: cover;
}

.custom-banner:hover {
    transform: scale(1.025);
    transition: transform 0.3s ease;
}



.latest-arrivals {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.latest-arrivals .row:nth-child(1) .product-card:nth-child(1) {
    min-width: calc(22.5vw - 30px);
    height: calc(16.875vw - 10px + 5.25rem + 60px + 10rem + 20px);
    transform: translateY(calc(-10rem - 20px));
}

.latest-arrivals .row:nth-child(1) .product-card:nth-child(1) img {
    width: calc(22.5vw - 30px);
    height: calc(22.5vw - 30px);
}

.product-card.see-more-card {
    min-width: calc(22.5vw - 30px);
    height: calc((16.875vw - 10px + 5.25rem + 60px)* 2 + 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background-color: #f095b9;
    color: white;
    padding: 20px;
    font-size: 4rem;
    line-height: 4rem;
    text-align: center;
    gap: 40px;
}

.gallery-row img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    border-radius: 20px;
}

.gallery-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-row .gallery-item {
    width: calc(50% - 10px);
    max-width: 50%;
    margin-bottom: 0px;
}


.gallery-row .gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;

}


.gallery-row .gallery-item img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.custom-recently-viewed-products .product-card.swiper-slide {
    max-width: calc(16.875vw - 10px);
    height: calc(16.875vw - 10px + 5.25rem + 60px);
}

.video-swiper .swiper-pagination {
    position: relative;
    padding-top: 20px;
}




@media screen and (max-width : 1024px) {
    .swiper.custom-product-cards {
        margin-top: 0px;
    }

    .see-more-card img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
        height: calc(20vw - 20px) !important;
        width: calc(20vw - 20px) !important;
    }

    img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
        height: calc(25vw - 20px) !important;
        width: calc(25vw - 20px) !important;
    }

    .custom-product-cards {
        height: calc(25% - 20px + 7rem + 60px);
        overflow: hidden;
    }

    .swiper.custom-product-cards {
        min-height: calc(25vw - 20px + 7rem + 60px);
        margin-top: 0px;
    }

    .custom-product-cards .swiper-wrapper {
        height: calc(25vw - 20px + 7rem + 60px);
    }

    .product-card {
        width: calc(25% - 20px);
        height: fit-content;
    }


    .latest-arrivals .row:nth-child(1) .product-card:nth-child(1) {
        min-width: calc(25% - 20px);
        height: calc(25vw - 20px + 7rem + 60px);
        transform: none;
    }

    .latest-arrivals .row .product-card {
        min-width: calc(25% - 20px);
        height: calc(25vw - 20px + 7rem + 60px);
        transform: none;
    }

    .latest-arrivals .row:nth-child(1) .product-card:nth-child(1) img {
        width: calc(25% - 20px);
        height: calc(25vw - 20px);
    }

    .latest-arrivals .row .product-card img {
        width: calc(25vw - 20px);
        height: calc(25vw - 20px);
    }

    .latest-arrivals .row {
        gap: 20px;
        height: calc(25vw - 20px + 7rem + 60px);
    }

    .latest-arrivals .row:nth-child(3) {
        padding-right: 0%;
    }

    .product-card.see-more-card {
        min-width: 0px;
        height: calc(25vw - 20px + 7rem + 60px);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        background-color: #f095b9;
        color: white;
        padding: 20px;
    }

}


.latest-arrivals img.product-thumbnail {
    border-radius: 20px 20px 0px 0px;
}


@media screen and (max-width: 1024px) {
    a.see-more-btn.product-card.see-more-card img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
        width: calc(25vw - 45px) !important;
        height: calc(25vw - 45px) !important;
    }

    .category-products-grid .product-card.swiper-slide,
    .product-card {
        width: 25%;
    }

    .testimonials-header {
        width: 30%;
    }

    .testimonials-content {
        width: 70%;
    }
}



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

    /* For mobile phones: */
    li.entry.has-media.has-product-nav.col.span_1_of_3 {
        width: calc(50% - 20px);
        border-radius: 20px;
        padding: 0px;
    }

    a.see-more-btn.product-card.see-more-card {
        width: 100%;
    }

    .testimonials-wrapper {
        flex-direction: column !important;
    }

    .testimonials-header {
        width: 100% !important;
        padding: 0px;
        padding-bottom: 20px;
    }

    .testimonials-content {
        width: 91% !important;
        padding: 0px;
    }

    a.see-more-btn.product-card.see-more-card img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
        width: calc(50vw - 45px) !important;
        height: calc(50vw - 45px) !important;
    }

    img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
        height: calc(50vw - 20px) !important;
        width: calc(50vw - 20px) !important;
    }

    .custom-product-cards {
        height: calc(50vw - 20px + 7rem + 60px);
        overflow: hidden;
    }

    .swiper.custom-product-cards {
        min-height: calc(50vw - 20px + 7rem + 60px);
        margin-top: 0px;
    }

    .custom-product-cards .swiper-wrapper {
        height: calc(50vw - 20px + 7rem + 60px);
    }

    .product-card {
        width: calc(50vw - 20px);
        height: fit-content;
    }


    .latest-arrivals .row:nth-child(1) .product-card:nth-child(1) {
        min-width: calc(50vw - 20px);
        height: calc(50vw - 20px + 7rem + 60px);
        transform: none;
    }

    .latest-arrivals .row .product-card {
        min-width: calc(50vw - 20px);
        height: calc(50vw - 20px + 7rem + 60px);
        transform: none;
    }

    .latest-arrivals .row:nth-child(1) .product-card:nth-child(1) img {
        width: calc(50vw - 20px);
        height: calc(50vw - 20px);
    }

    .latest-arrivals .row .product-card img {
        width: calc(50vw - 20px);
        height: calc(50vw - 20px);
    }

    .latest-arrivals .row {
        gap: 20px;
        height: calc(50vw - 20px + 7rem + 60px);
    }

    .latest-arrivals .row:nth-child(3) {
        padding-right: 0%;
    }

    .product-card.see-more-card {
        min-width: 0px;
        height: calc(50vw - 20px + 7rem + 60px);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        background-color: #f095b9;
        color: white;
        padding: 20px;
    }

    .custom-recently-viewed-products .product-card.swiper-slide {
        max-width: calc(50vw - 10px);
    }

    img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
        height: auto;
        width: 100%;
        border-radius: 20px !important;
    }

    .product-thumbnail {
        min-width: 100%;
        padding: 0px;
    }


    .swiper.custom-recently-viewed-products .swiper-wrapper {
        height: calc(50vw - 20px + 7rem + 60px);
    }


    ul.shop_table.cart.wishlist_table.wishlist_view.responsive.mobile li {
        width: calc(50% - 10px);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    ul.shop_table.cart.wishlist_table.wishlist_view.responsive.mobile {
        display: flex;
    }

    .item-details {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0px 5px 0px 5px;
    }

    table.item-details-table {
        width: fit-content;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
    }

    table.additional-info {
        width: fit-content;
    }

    .additional-info-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0px 5px 0px 5px;
    }

    .wishlist_table.mobile li .item-wrapper {
        width: calc(100% - 10px);
    }

}

