/* =========================================================
   LP RELATED PRODUCTS
   ========================================================= */

.lp-related-products {
    --lp-columns: 5;
    --lp-columns-tablet: 3;
    --lp-columns-mobile: 2;

    width: 100%;
    display: grid;
    grid-template-columns: repeat(var(--lp-columns), minmax(0, 1fr));
    gap: 30px;
    margin: 0;
    padding: 0;
}

.lp-product-card {
    position: relative;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid transparent;
    background: #fff;
}

.lp-product-image-wrapper {
    position: relative;
    width: 100%;
}

.lp-product-image-link {
    display: block;
    text-decoration: none;
}

.lp-product-image {
    width: 100%;
    line-height: 0;
}

.lp-product-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: cover;
}

.lp-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-block;
    padding: 5px 10px;
    background: #ff6600;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
}

.lp-product-content {
    width: 100%;
    box-sizing: border-box;
}

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

.lp-product-title a {
    color: inherit;
    text-decoration: none;
}

.lp-product-price {
    margin: 0;
}

.lp-product-price del {
    opacity: .65;
    margin-right: 6px;
}

.lp-product-price ins {
    text-decoration: none;
}

@media (max-width: 1024px) {
    .lp-related-products {
        grid-template-columns: repeat(var(--lp-columns-tablet), minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .lp-related-products {
        grid-template-columns: repeat(var(--lp-columns-mobile), minmax(0, 1fr));
    }
}

/* =========================================================
   BOUTON PRODUIT
   ========================================================= */

.lp-product-button {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    margin-top: 15px;
    padding: 10px 18px;
    background: #563d88;
    color: #fff;
    border: 0;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.3;
}

.lp-product-button:hover {
    background: #452b6b;
    color: #fff;
    text-decoration: none;
}

.lp-product-button-read-more {
    cursor: pointer;
}

