.durame-card .product-card-content {
    border-top: 1px #877162 solid;
    color: #7F7D7B;
}

.durame-card .elementor-widget-image .elementor-widget-container img {
    aspect-ratio: 16 / 9;
}

.durame-card .custom-title-3 h3 {
    font-family: var(--font-stack-text);
}

.durame-card .custom-title-3 h3 {
    color: #7F7D7B;
    font-size: 21px;
}

.durame-card:hover .product-card-content {
    border-top: 1px var(--e-global-color-f8bd203) solid;
}

.durame-card:hover .product-card-content h3 {
    color: var(--e-global-color-f8bd203);
}

.pellizzoni-card .custom-title-3 {
    color: black;
    padding-bottom: 30px;
    display: flex;
    margin: 0 auto;
}

.pellizzoni-card .custom-title-3 h3 {
    border-bottom: 1px black solid;
    padding-left: 10px;
    padding-right: 10px;
    font-family: var(--font-stack-text);
    font-weight: 300;
    font-size: 21px;
}

.pellizzoni-card:hover .custom-title-3 {
    color: var(--e-global-color-f8bd203);
}

.pellizzoni-card:hover .custom-title-3 h3 {
    border-color: var(--e-global-color-f8bd203);
}

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

    .pellizzoni-card .custom-title-3 h3,
    .durame-card .custom-title-3 h3 {
        font-size: 17px;
    }
}

/* Apply only to screens 1366px and wider */
@media (min-width: 1366px) {

    /* Base styles for the loop items */
    .e-loop-item:has(.pellizzoni-card) {
        position: relative;
    }

    .e-loop-item:has(.pellizzoni-card)::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-bottom: 1px dashed #000;
        border-right: 1px dashed #000;
        pointer-events: none;
    }

    .e-loop-item:has(.pellizzoni-card)::after {
        content: "";
        width: 80px;
        height: 80px;
        position: absolute;
        right: -40px;
        bottom: -40px;
        background: white;
        z-index: 10;
    }

    /* need to refactor to make this work with other amount of products */
    .e-loop-item:nth-child(5):has(.pellizzoni-card)::before,
    .e-loop-item:nth-child(9):has(.pellizzoni-card)::before,
    .e-loop-item:nth-child(13):has(.pellizzoni-card)::before {
        border-right: none;
    }

    .e-loop-item:nth-child(10):has(.pellizzoni-card)::before,
    .e-loop-item:nth-child(11):has(.pellizzoni-card)::before,
    .e-loop-item:nth-child(12):has(.pellizzoni-card)::before,
    .e-loop-item:nth-child(13):has(.pellizzoni-card)::before {
        border-bottom: none;
    }
}