.ajax_block_product.tebimplistingbanner {
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ajax_block_product.tebimplistingbanner .content-wrapper {
    position: relative;
    text-align: center;
    padding: 10px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #F4F4F4;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;

    @media (767px < width < 1200px) {
        padding-block: 30px;
    }
}

.ajax_block_product.tebimplistingbanner .content-wrapper:has(.lo-listingBanner-link:hover){
     background-color: #D2D2D2;
}

/* .ajax_block_product.tebimplistingbanner .content-wrapper:hover {
    background-color: #ff4d1c;
} */

.lo-listingBanner-icon {
    width: 76px;
    height: auto;
}

.ajax_block_product.tebimplistingbanner .content-wrapper h2 {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
    color: #1E1E20;
    transition: all 0.3s ease-in-out;
}

/* .ajax_block_product.tebimplistingbanner .content-wrapper:hover h2 {
    color: #EBE5E1;
} */

.ajax_block_product.tebimplistingbanner .content-wrapper p {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    color: #1E1E20;
    padding-inline: 20px;
    text-wrap: balance;
    transition: all 0.3s ease-in-out;

    @media (width < 1200px) {
        width: min(550px, 100%);
    }
}

/* .ajax_block_product.tebimplistingbanner .content-wrapper:hover p {
    color: #EBE5E1;
} */

.ajax_block_product.tebimplistingbanner .content-wrapper .learn-more {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    text-wrap: nowrap;
    font-size: 16px;
    line-height: normal;
    font-weight: 600;
    color: #ff4d1c;
    padding-right: 20px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;

    @media (width < 1200px) {
        position: relative;
        left: unset;
        bottom: unset;
        transform: none;
    }
}

.ajax_block_product.tebimplistingbanner .content-wrapper .lo-listingBanner-link {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    cursor: pointer;
}

/* .ajax_block_product.tebimplistingbanner .content-wrapper:hover .learn-more {
    color: #EBE5E1;
} */

/* .ajax_block_product.tebimplistingbanner .content-wrapper .learn-more::after {
    content: url('../img/chevron_right.svg');
    display: block;
    width: 6px;
    height: 20px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
} */

/* .ajax_block_product.tebimplistingbanner .content-wrapper:hover .learn-more::after {
    filter: invert(100%) sepia(0%) saturate(5409%) hue-rotate(112deg) brightness(134%) contrast(80%);
} */

.ajax_block_product.tebimplistingbanner-product .product-image {
    aspect-ratio: 646/442;
}

.ajax_block_product.tebimplistingbanner-product-full {
    background-color: #EBE5E1;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 19px;
}

.ajax_block_product.tebimplistingbanner-product-full .product-miniature .product-image {
    border-radius: 15px;
}

.ajax_block_product.tebimplistingbanner-product-full .product-meta {
    background-color: #EBE5E1;
    width: 46%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
}

.ajax_block_product.tebimplistingbanner-product-full .thumbnail-container {
    width: 54%;
    margin-bottom: 0;
}

.ajax_block_product.tebimplistingbanner-product-full .product-miniature {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.ajax_block_product.tebimplistingbanner-product-full .product-image {
    aspect-ratio: 1.4;
}

.ajax_block_product.tebimplistingbanner-product-full .learn-more {
    position: relative;
    padding-right: 20px;
    font-size: 14px;
    color: #1E1E20;
    font-weight: 600;
    text-decoration: underline;
}

.ajax_block_product.tebimplistingbanner-product-full .learn-more::after {
    content: url('../img/chevron_right_black.svg');
    display: block;
    width: 6px;
    height: 20px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.ajax_block_product.tebimplistingbanner-product-full .product_description_extra,
.ajax_block_product.tebimplistingbanner-product-full .product-description-short,
.ajax_block_product.tebimplistingbanner-product-full .banner-content {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    color: #1E1E20;
}

.ajax_block_product.tebimplistingbanner-product-full .product_description_extra {
    font-weight: 400;
}

.ajax_block_product.tebimplistingbanner-product-full .product-title a {
    font-size: 48px;
    color: #ff4d1c;
    font-weight: 600;
    line-height: 1;
}

.ajax_block_product.tebimplistingbanner-product-full .product_name_wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ajax_block_product.tebimplistingbanner-product-full .gain-discount {
    font-size: 20px;
    font-weight: 600;
    color: #ff4d1c;
    line-height: 1.5;
}

.ajax_block_product.tebimplistingbanner-product-full .price {
    font-size: 20px;
    font-weight: 600;
    color: #1E1E20;
    margin-right: 10px;
}

.ajax_block_product.tebimplistingbanner-product-full .price.discounted {
    color: #ff4d1c;
}

.ajax_block_product.tebimplistingbanner-product-full .regular-price {
    text-decoration: line-through;
    color: #95928D;
    font-size: 14px;
    font-weight: 600;
}

.ajax_block_product.tebimplistingbanner-product-full .product-add-to-cart {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.ajax_block_product.tebimplistingbanner-product-full .add-to-cart {
    height: 37px;
    padding: 0 20px !important;
    text-transform: none;
    font-weight: 600;
    margin: 0;
    letter-spacing: normal;
    min-width: 265px;
    background-color: #ff4d1c;
    font-style: 14px !important;
}

@media (max-width: 767px) {
    .ajax_block_product.tebimplistingbanner {
        min-height: 304px;
    }

    /* .ajax_block_product.tebimplistingbanner .content-wrapper h2 {
        font-size: 40px;
    } */

    /* .ajax_block_product.tebimplistingbanner .content-wrapper p {
        font-size: 14px;
    } */

    .ajax_block_product.tebimplistingbanner-product .product-image {
        aspect-ratio: 306 / 201;
    }

    .ajax_block_product.tebimplistingbanner-product-full .product-miniature {
        flex-direction: column;
        overflow: hidden;
    }

    .ajax_block_product.tebimplistingbanner-product-full {
        background-color: #EBE5E1;
        border-radius: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .ajax_block_product.tebimplistingbanner-product-full .product-meta {
        background-color: #EBE5E1;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-top: 10px;
        padding-bottom: 20px;
        padding-left: 20px;
        padding-right: 20px;
        gap: 20px;
    }

    .ajax_block_product.tebimplistingbanner-product-full .thumbnail-container {
        width: 100%;
        margin-bottom: 0;
    }

    .ajax_block_product.tebimplistingbanner-product-full .product-miniature .product-image {
        border-radius: 0;
    }

    .ajax_block_product.tebimplistingbanner-product-full .product_description_extra,
    .ajax_block_product.tebimplistingbanner-product-full .product-description-short,
    .ajax_block_product.tebimplistingbanner-product-full .banner-content {
        font-size: 14px;
    }

    .ajax_block_product.tebimplistingbanner-product-full .banner-content {
        font-weight: 400;
    }

    .ajax_block_product.tebimplistingbanner-product-full .product-title a {
        font-size: 40px;
    }

    .ajax_block_product.tebimplistingbanner-product-full .gain-discount {
        font-size: 16px;
    }

    .ajax_block_product.tebimplistingbanner-product-full .price {
        font-size: 18px;
    }

    .ajax_block_product.tebimplistingbanner-product-full .regular-price {
        font-size: 12px;
    }

    .ajax_block_product.tebimplistingbanner-product-full .add-to-cart {
        min-width: 127px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .product_list.grid .ajax_block_product {
        width: 50% !important;
    }
}

@media (min-width: 401px) and (max-width: 1199px) {

    .product_list.grid .ajax_block_product.tebimplistingbanner,
    .product_list.grid .ajax_block_product.tebimplistingbanner-product,
    .product_list.grid .ajax_block_product.tebimplistingbanner-product-full,
    body#category .product_list.grid .ajax_block_product.tebimplistingbanner,
    body#category .product_list.grid .ajax_block_product.tebimplistingbanner-product,
    body#category .product_list.grid .ajax_block_product.tebimplistingbanner-product-full {
        width: 100% !important;
    }
}