﻿:root {
    --naranja: #fd3231;
}

.card .card-image .btn-add-product {
    position: absolute;
    z-index: 1;
    bottom: -17.5px;
    left: 50%;
    transform: translateX(-50%);
    border: 0;
    color: #fff;
    background-color: #28a745;
    transition: 0.3s ease all;
    -webkit-transition: 0.3s ease all;
    -moz-transition: 0.3s ease all;
    -o-transition: 0.3s ease all;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -23px;
    border-radius: 100%;
}

    .card .card-image .btn-add-product:hover {
        background-color: #088a2c;
    }

    .card .card-image .btn-add-product:hover,
    .card .card-image .btn-add-product:focus,
    .card .card-image .btn-add-product:active {
        border: 0;
        outline: 0;
        box-shadow: none;
    }

.card .card-image {
    position: relative;
    width: 145px;
    height: 220px;
    margin: 0 auto;
}

    .card .card-image .membresia {
        position: absolute;
        top: 0;
        left: -20px;
        z-index: 1;
        background-color: #fff;
        color: #28a745;
        line-height: 100%;
        padding: 8px;
        font-weight: 500;
        font-size: 12px;
        border-radius: 4px;
        text-align: center;
        border: 1px solid #28a745;
        width: 20px;
        height: 20px;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .card .card-image .etiquetas {
        position: absolute;
        right: -41px;
        top: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
        border: 1.5px solid var(--naranja);
        border-radius: 8px;
        padding: 4px;
        background-color: #fff;
        min-width: 41px;
    }

        .card .card-image .etiquetas::after {
            position: absolute;
            top: 3px;
            left: -7px;
            display: inline-block;
            margin-left: 0;
            vertical-align: 0;
            content: "";
            border-top: 7px solid transparent;
            border-right: 7px solid var(--naranja);
            border-bottom: 7px solid transparent;
            border-left: 0
        }


        .card .card-image .etiquetas .item p {
            margin-bottom: 0;
            font-size: 14px;
            color: var(--naranja);
            line-height: 100%;
            text-align: center;
        }

            .card .card-image .etiquetas .item p.value {
                font-size: 16px;
                font-weight: bold;
            }


        .card .card-image .etiquetas .item.mas p {
            color: #525351;
            font-weight: normal;
            font-size: 14px;
        }


    .card .card-image .descuento-percent > div {
        display: flex;
        flex-direction: column;
        min-height: 32px;
        justify-content: center;
        align-items: center;
        font-size: 13px;
    }

.splide-slider {
    margin-bottom: 24px;
}

    .splide-slider .splide__slide {
        height: max-content;
    }

    .splide-slider .splide__arrow--prev {
        left: -16px;
    }

    .splide-slider .splide__arrow--next {
        right: -16px;
    }

    .splide-slider .splide__pagination {
        position: relative;
        bottom: 0;
        padding: 0;
        gap: 8px;
        margin: 16px 0;
    }

    .splide-slider .splide__pagination__page {
        margin: 0;
    }

        .splide-slider .splide__pagination__page.is-active {
            background-color: #191919;
            transform: none;
        }

    .splide-slider .card {
        border: 0;
        gap: 28px;
    }


        .splide-slider .card .card-body {
            padding: 0;
        }

        .splide-slider .card .product-image {
            /*border: 1px solid;*/
            object-fit: cover;
            object-position: top;
            display: block;
            width: 100%;
            height: 100%;
        }

        .splide-slider .card .product-price-del {
            font-weight: 400;
            color: #6c757d;
            text-align: center;
            text-decoration: line-through;
            margin-bottom: 0;
            font-size: 12.8px;
            line-height: 100%;
        }

        .splide-slider .card .product-price {
            font-weight: bold;
            color: #088a2c;
            text-align: center;
            margin-bottom: 0;
            font-size: 20px;
            line-height: 125%;
        }

        .splide-slider .card .product-author {
            font-weight: bold;
            font-size: 16px;
            text-transform: uppercase;
            color: #6c757d;
            text-align: center;
            margin-bottom: 8px;
            line-height: 125%;
        }

        .splide-slider .card .product-link {
            text-decoration: none;
        }

        .splide-slider .card .product-name {
            font-weight: bold;
            font-size: 20px;
            line-height: 125%;
            color: #191919;
            text-align: center;
            margin-bottom: 4px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

            .splide-slider .card .product-name a:has(.product-name):hover {
                color: #6c757d;
            }

        .splide-slider .card .product-membresia {
            font-weight: bold;
            font-size: 16px;
            text-transform: uppercase;
            color: #088a2c;
            margin-bottom: 0;
            text-align: center;
            line-height: 125%;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
        }

@media(max-width: 575px) {
    .splide-slider .card {
        gap: 24px;
        padding-bottom: 16px;
        align-items: center;
    }


        .splide-slider .card .card-image .oferta {
            right: -23px;
        }

        .splide-slider .card .card-image {
            width: 110px;
            height: 165px;
        }
}
