﻿.card_100 {
    width: 100%;
    background-color: white;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 2%;
    cursor: pointer;
}

.publicidad_card {
    width: 48%;
    margin: 1%;
    background-color: white;
    border-radius: 5px;
    text-align: center;
    float: left;
    box-shadow: 1px 1px 4px 3px #cbcbcb;
    align-content: center;
}

    .publicidad_card > a > img {
        width: 100%;
        border-radius: 5px;
        object-fit: contain;
        height: 100%;
    }

    .publicidad_card > a > label {
        position: absolute;
        background: #c1c1c173;
        right: 0;
        width: 92%;
        margin: 0 4%;
        color: black;
        font-size: x-large;
    }

.prod_card {
    width: 20%;
    background-color: white;
    border-radius: 5px;
    text-align: center;
    padding: 5px 0.5%;
    float: left;
}

    .prod_card > a > img {
        width: 100%;
        max-height: 16vw;
        cursor: pointer;
        object-fit: contain;
        min-height: 16vw;
    }

    .prod_card > div > h5 {
        font-size: medium;
        text-align: left;
        margin-bottom: 0;
        width: 100%;
        padding: 0 2%;
        color: #000000;
        font-family: var(--rw-sb);
        margin-top: 7px;
    }

    .prod_card > div > label {
        font-size: small;
        color: var(--grayligth-tr);
        text-align: left;
        width: 100%;
        font-weight: 600;
        padding: 0 2%;
        font-family: var(--rw-sb);
    }

.cont_opc_card_prod {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    color: var(--blueligth-tr);
    padding-top: 5px;
    font-family: var(--rw-sb);
    width: 100%;
}

.cont_buttons_comprar {
    display: flex;
    align-self: center;
    margin: 5px 0px 10px;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

    .cont_buttons_comprar > div {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

        .cont_buttons_comprar > div > a {
            margin: 0px 5px;
            text-decoration: none;
        }

            .cont_buttons_comprar > div > a > img {
                width: 45px;
                height: 45px;
                background-color: white;
                border-radius: 3px;
                object-fit: fill;
                box-shadow: 1px 1px 2px 1px #a3a3a3;
            }

                .cont_buttons_comprar > div > a > img::before {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: -20px;
                    width: 20px;
                    height: 100%;
                    background-color: #f0f0f0;
                    border-radius: 20px 0 0 20px;
                }

#hits > .prod_card, .cat_results > .prod_card {
    width: 24%;
    margin: 0.5%;
}

.prod_card > div > a {
    text-align: left;
    padding-left: 2%;
}

.prod_card > div > a,
.cont_buttons_comprar > a {
    float: left;
    color: var(--blueligth-tr);
    text-decoration: none;
    font-family: var(--rw-m);
    width: 100%;
}

    .prod_card > div > a:hover,
    .cont_buttons_comprar > a:hover {
        text-decoration: underline;
    }

.cont_opc_card_prod label {
    color: var(--blue-tr);
    font-family: var(--rw-sb);
}

.cont_opc_card_prod a.btn_opc_compra {
    display: flex;
    min-width: 150px;
    border-radius: 5px;
    cursor: pointer;
    align-items: center;
    text-decoration: none;
    margin: 5px 2% 7px;
}

    .cont_opc_card_prod a.btn_opc_compra > label {
        color: white;
        cursor: pointer;
        font-size: medium;
        height: 40px;
        background-color: var(--blueligth-tr);
        width: 100%;
        text-align: center;
        align-content: center;
        border-radius: 0px 5px 5px 0px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.card_pub {
    width: 49%;
    background-color: white;
    margin: 0.5%;
    border-radius: 5px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

    .card_pub > h4 {
        width: 100%;
        color: white;
        text-align: center;
        background-color: #00000091;
        align-self: flex-start;
        margin-top: 10px;
        margin-top: auto;
        padding: 5px 20px;
    }

    .card_pub > div {
        color: white;
        display: flex;
        color: white;
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-top: auto;
        margin-left: 5%;
        margin-right: 5%;
        margin-bottom: 3%;
    }

        .card_pub > div > label {
            display: flex;
            flex-direction: row;
            align-items: center;
            width: 100%;
        }

            .card_pub > div > label > img {
                border-radius: 10px;
                width: 50px;
                max-height: 50vh;
                padding: 0%;
                margin-right: -10px;
                z-index: 2;
            }

            .card_pub > div > label > i {
                background-color: white;
                color: black;
                padding: 8px 10px;
                border-radius: 10px;
                font-size: xx-large;
                border: 2px solid white;
                margin-right: -10px;
                z-index: 2;
            }

            .card_pub > div > label > a {
                background-color: var(--yellow-tr);
                border-radius: 0px 10px 10px 0;
                padding: 5px 15px 5px 20px;
                cursor: pointer;
                text-decoration: none;
                color: white;
                font-weight: 500;
            }

            .card_pub > div > label:nth-child(2n) {
                justify-content: end;
            }

.card_prod_fab,
.card_ubic_prod {
    display: flex;
    border-radius: 10px;
    align-items: center;
    color: var(--tr-blue-4);
    text-align: center;
    text-decoration: none;
}

.card_prod_fab {
    width: 30%;
    flex-direction: column;
    border-radius: 8%;
    box-shadow: 0px 0px 9px 0px #9f9f9f;
    padding: 15px 0px 0px;
}

.card_ubic_prod {
    width: 24%;
    flex-direction: column;
    text-decoration: none;
    align-self: center;
}

.card_prod_fab img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    border-radius: 0px 0px 8% 8%;
}

.card_prod_fab p {
    margin-bottom: 0px;
}

.card_ubic_prod img {
    width: 100%;
    border: 5px solid var(--tr-blue-9);
    border-radius: 5px;
    background-color: white;
}

.card_prod_fab h1,
.card_ubic_prod h1 {
    margin-bottom: 0px;
}

.card_ubic_prod a {
    text-decoration: none;
    border-radius: 5px;
    width: 95%;
    margin-bottom: 10px;
}

.card_ubic_prod label {
    width: 100%;
}

.card_prod_fab a,
.card_ubic_prod a {
    text-decoration: none;
    height: 100%;
    width: 100%;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.card_prod_fab label > span,
.cont_info_ubic label > span {
    color: var(--tr-blue-5);
}

.card_prod_fab a.pr_btn,
.card_prod_fab button.pr_btn,
.card_ubic_prod a.pr_btn {
    background-color: var(--tr-blue-6);
    color: var(--tr-blue-3);
    width: max-content;
    padding: 5px 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 100;
    z-index: 2;
    border: none;
}

.card_prod_fab a.pr_btn,
.card_ubic_prod a.pr_btn {
    width: 80%;
    font-weight: 100;
    font-family: var(--tr-font-rw-m);
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    place-items: center;
    align-items: center;
    text-align: center;
    justify-content: center;
    height: 38px;
}

    .card_prod_fab a.pr_btn > i,
    .card_ubic_prod a.pr_btn > i {
        font-size: xx-large;
        height: 38px;
        margin-top: -10px;
    }

.card_prod_fab > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 0px 5% 0px 10%;
    margin-bottom: 10px;
    cursor: pointer;
}

    .card_prod_fab > div > i {
        font-size: x-large;
        color: var(--tr-blue-3);
        width: 50px;
        transform: rotate(90deg);
    }

    .card_prod_fab > div > div {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        margin-top: 5px;
        font-size: smaller;
        place-content: center;
    }

.card_prod_fab:hover {
    transform: scale(1.02);
}

.cont_info_ubic {
    display: flex;
    flex-direction: column;
    width: 70%;
    padding: 0px 10px;
    cursor: pointer;
}

.cont_detll_ubic {
    display: flex;
    flex-direction: column;
}

@media (max-width: 1200px) {
    .prod_card > img {
        width: 17vw;
        height: 17vw;
    }
}

@media (max-width: 1080px) {
    #hits > .prod_card {
        width: 49%;
    }

    .prod_card > a > img {
        max-height: 25vw;
    }

    .card_ubic_prod {
        width: 32%;
    }
}

@media (max-width: 1024px) {
    .prod_card > img {
        width: 19vw;
        height: 19vw;
    }
}

@media (max-width: 820px) {
    .card_prod_fab {
        margin-bottom: 2%;
    }

    .cont_data_prods {
        padding: 0px
    }

        .cont_data_prods > h3 {
            padding: 0px 10px;
        }

    .prod_card > img {
        width: 23vw;
        height: 23vw;
    }

    .card_pub {
        width: 98%;
        min-height: 35vh;
        margin: 2%;
    }

        .card_pub > div > label > a {
            font-size: small
        }
}

@media (max-width: 650px) {
    .card_prod_fab {
        width: 47.5%;
    }

    .prod_card {
        display: flex;
        align-items: center;
    }

        .prod_card > img {
            width: 30vw;
            height: 30vw;
        }

        .prod_card > a {
            width: 50%;
            padding: 0px 10px;
        }

            .prod_card > a > img {
                max-height: 40vw;
            }

        .prod_card > div {
            width: 50%;
            padding-right: 2.5%;
        }

            .prod_card > div > label {
                font-size: x-small;
            }

    #container_more_serachs > .prod_card {
        width: 40vw !important;
    }

    .cont_opc_card_prod label, .cont_opc_card_prod a {
        font-size: small;
    }

        .cont_opc_card_prod a.ruta_con_data > span {
            margin: 0px 2px;
        }

    #hits > .prod_card {
        width: 96%;
        margin: 2%;
    }

    .prod_card > img {
        width: 35vw;
        height: 35vw;
    }

    #container_more_serachs > .prod_card {
        width: 50vw !important;
    }

    .prod_card > img {
        width: 45vw;
        height: 45vw;
    }

    #container_more_serachs > .prod_card {
        width: 60vw !important;
    }

    .cont_buttons_comprar {
        flex-direction: column;
        margin: 5px 0px 5px;
        width: 100%;
    }

    .publicidad_card {
        width: 96%;
        margin: 2%;
        max-height: 350px;
    }

    .cont_prods_comer a.btn_opc_compra {
        height: 25px;
        font-size: smaller;
        padding: 3px 15px;
    }

    .card_prod_fab a.pr_btn > i {
        font-size: x-large;
        height: 30px;
        margin-top: -6px;
    }

    .card_prod_fab a.pr_btn {
        width: 100%;
        font-size: 2.4vw;
    }

    .card_ubic_prod {
        width: 49%;
    }

        .card_ubic_prod a.pr_btn {
            width: 90%;
            font-size: small;
        }

            .card_ubic_prod a.pr_btn > i {
                font-size: x-large;
                height: 30px;
                margin-top: -6px;
            }
}

@media (max-width: 400px) {
}
