﻿:root {
    --tr-z2-radius: 15px;
    --tr-z2-border: #8D8F90;
    --tr-z2-blue: #28529E;
    --tr-z2-bg: #6C7487;
    --tr-z2-bg-2: #546174;
    --tr-z2-shadow: 2px 3px 10px #565656;
}

.main_content {
    height: 100vh;
    display: flex;
    align-items: center;
    place-items: center;
}

#cont_blur {
    position: absolute;
    width: 100%;
    height: 100vh;
    z-index: 8;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.cont_indic_lbl {
    position: absolute;
    right: 5%;
    top: 2%;
    z-index: 7;
    background-color: var(--tr-z2-blue);
    display: flex;
    flex-direction: column;
    padding: 10px 15px;
    border-radius: var(--tr-z2-radius);
    box-shadow: var(--tr-z2-shadow);
    color: #FFFFFF;
    text-align: center;
}

    .cont_indic_lbl h4 {
        font-size: smaller;
        margin-bottom: 0px;
        font-weight: 300;
    }

#mapPerfil {
    height: 100vh;
    width: 100%;
}

#cont_perfil {
    margin: 0% calc(50% - 320px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    z-index: 9;
    width: 640px;
}

    #cont_perfil.view_mode {
        left: 1%;
        top: 1%;
        margin: 0;
        max-width: 40%;
        width: 500px;
    }

.section_active {
    opacity: 1;
    height: auto;
    z-index: 99;
}

.section_inactive {
    opacity: 0;
    height: 0px;
    display: none;
}

.cliente_card, .prod_card {
    border: 1px solid var(--tr-z2-border);
    border-radius: var(--tr-z2-radius);
    background-color: var(--tr-z2-bg);
}

.cliente_card, .prod_card, #cont_detalle_prod {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.prod_card {
    display: flex;
    flex-direction: column;
}

    .cliente_card > header,
    .prod_card > header {
        display: flex;
        flex-direction: row;
        border-radius: var(--tr-z2-radius);
        background-color: white;
        box-shadow: var( --tr-z2-shadow);
        padding: 10px;
        gap: 6%;
        overflow: hidden;
        padding-left: 6%;
    }

        .cliente_card > header > div,
        .prod_card > header > div {
            display: flex;
            flex-direction: column;
            align-self: center;
            z-index: 2;
            width: calc(94% - 120px);
        }

    .cliente_card h1,
    .prod_card h1 {
        font-size: x-large;
        font-weight: bold;
        line-height: 1;
        margin-bottom: 5px;
    }

.cliente_card address {
    margin-bottom: 0px;
}

    .cliente_card address a {
        font-weight: normal;
        color: var(--tr-blue-3);
    }

.cliente_card figure img,
.prod_card figure img {
    width: 120px;
    height: 120px;
    border-radius: 100%;
    border: 2px solid var(--tr-z2-border);
    box-shadow: var(--tr-z2-shadow);
    object-fit: contain;
}

.prod_card > header label {
    line-height: 1.1;
    font-size: medium;
    font-weight: 300;
}

.cliente_card footer {
    padding: 0px;
    color: #ffffff;
    font-weight: normal;
    border-radius: 0px 0px var(--tr-z2-radius) var(--tr-z2-radius);
}

    .cliente_card footer address {
        width: 100%;
        text-align: center;
        margin-bottom: 0px;
    }

    .cliente_card footer ul,
    .prod_card footer ul {
        list-style: none;
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 0px;
        margin: 0px;
        justify-content: center;
        max-height: 40px;
        align-items: center;
    }

        .cliente_card footer ul a,
        .prod_card footer ul a {
            color: #ffffff;
            font-size: 35px;
            border-radius: 100%;
        }

    .cliente_card footer span,
    .prod_card footer span {
        background: linear-gradient(to right, transparent, var(--tr-z2-bg-2), transparent);
        width: 90%;
        display: block;
        text-align: center;
        margin: 0px 5% 5px;
        color: #ffffff;
        font-weight: 300;
    }

.prod_card footer img {
    height: 30px;
    width: 30px;
    object-fit: contain;
}

.cont_extra_data_prod {
    background-color: #ffffff;
    margin-top: 15px;
    padding: 10px;
    border-radius: var(--tr-z2-radius);
    display: flex;
    flex-direction: row;
    gap: 7.5%;
    justify-content: center;
    border: 3px solid #3045A8;
    align-items: center;
}

    .cont_extra_data_prod > div {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

        .cont_extra_data_prod > div > div {
            background: linear-gradient(217deg, rgba(46, 89, 162, 1) 0%, rgba(84, 137, 192, 1) 31%, rgba(127, 192, 227, 1) 56%, rgba(46, 89, 162, 1) 82%);
            height: 90px;
            width: 90px;
            border-radius: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            box-shadow: var( --tr-z2-shadow);
        }

    .cont_extra_data_prod button {
        border-radius: 100%;
        color: #FFFFFF;
        width: 70px;
        height: 70px;
        border: none;
        background-color: var(--tr-z2-blue);
        font-size: 45px;
        padding: 0px;
    }

    .cont_extra_data_prod > div:nth-child(2) > div {
        height: 110px;
        width: 110px;
    }

    .cont_extra_data_prod > div:nth-child(2) button {
        width: 90px;
        height: 90px;
    }

    .cont_extra_data_prod span {
        font-weight: 400;
        margin-top: 5px;
    }

#cont_data_prods {
    background-color: var(--tr-z2-bg);
    border-radius: var(--tr-z2-radius);
    padding-top: 10px;
}

    #cont_data_prods h3 {
        color: #ffffff;
        margin-bottom: 0px;
        font-size: large;
    }

#listado_productos_fab {
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 15px;
    margin-top: 10px;
    padding: 10px;
    border-radius: var(--tr-z2-radius);
    border: 2px solid var(--tr-z2-border);
    overflow: auto;
    max-height: 400px;
}

    #listado_productos_fab article {
        border: 1px solid var(--tr-z2-border);
        padding: 10px;
        border-radius: var(--tr-z2-radius);
        width: calc(33.33% - 10px);
        box-shadow: var( --tr-z2-shadow);
    }

    #listado_productos_fab button {
        background-color: #FFFFFF;
        border: none;
        max-width: 100%;
        width: 100%;
    }

    #listado_productos_fab img {
        object-fit: contain;
        width: 100%;
        height: auto;
        max-width: 150px;
        max-height: 150px;
    }

    #listado_productos_fab h3 {
        color: var(--tr-blue-3);
        font-weight: bold;
        font-size: small;
        margin-bottom: 5px;
    }

    #listado_productos_fab p {
        margin-bottom: 0px;
    }

.cliente_card figure,
.prod_card figure {
    position: relative;
    width: 120px;
    height: 120px;
    min-width: 120px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin-bottom: 0px;
}

.wave {
    position: absolute;
    border: 2px solid #b7bac070;
    border-radius: 50%;
    border-left: none;
    border-top: none;
    border-bottom: none;
    z-index: 1;
    pointer-events: none;
}

.wave1 {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wave2 {
    width: 240px;
    height: 240px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wave3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wave-left {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #b7bac070;
}

.section_inactive article,
.section_inactive div {
    display: none;
}

@media (max-width: 1080px) {
    .cont_extra_data_prod > div > div {
        height: 75px;
        width: 75px;
    }

    .cont_extra_data_prod button {
        width: 60px;
        height: 60px;
    }

    .cont_extra_data_prod > div:nth-child(2) > div {
        height: 95px;
        width: 95px;
    }

    .cont_extra_data_prod > div:nth-child(2) button {
        width: 75px;
        height: 75px;
    }

    .cont_extra_data_prod span {
        font-size: 1.5vw;
    }
}

@media (max-width: 820px) {
    #cont_perfil {
        margin: 0% calc(50% - 260px);
        max-width: 520px;
    }

        #cont_perfil.view_mode {
            left: auto;
            top: auto;
            max-width: 95%;
            width: 500px;
            bottom: 1%;
            margin: 0% calc(50% - 250px);
        }

    #cont_blur.not_show ~ #cont_perfil.view_mode {
        bottom: 55px;
    }

    #listado_productos_fab article {
        width: calc(50% - 8px);
    }

    .cont_extra_data_prod {
        margin-top: 5px;
    }

        .cont_extra_data_prod span {
            font-size: 2.5vw;
        }

    .cliente_card > header,
    .prod_card > header {
        gap: 3%;
        padding-left: 4%;
    }

    .cliente_card figure,
    .prod_card figure {
        height: auto;
    }

        .cliente_card figure img,
        .prod_card figure img {
            width: 85px;
            height: 85px;
        }

    .wave-left {
        width: 140px;
        height: 140px;
    }

    .wave1 {
        width: 140px;
        height: 140px;
    }

    .wave2 {
        width: 200px;
        height: 200px;
    }

    .wave3 {
        width: 260px;
        height: 260px;
    }

    .cliente_card h1, .prod_card h1 {
        font-size: large;
    }

    .prod_card > header label {
        font-size: smaller;
    }

    .prod_card {
        flex-direction: column-reverse;
    }

    #cont_sltd_tiendasLinea > div {
        display: flex;
        flex-direction: column-reverse;
    }

    .prod_card footer span {
        margin: 0px 5% 0px;
    }
}

@media (max-width: 600px) {

    #cont_perfil {
        margin: 0 2.5%;
        max-width: 95%;
    }

        #cont_perfil.view_mode {
            margin: 0px 2.5%;
        }

    #cont_blur.not_show ~ #cont_perfil.view_mode {
        bottom: 50px;
    }

    .cont_extra_data_prod span {
        font-size: 3.5vw;
    }
}

@media (max-width: 425px) {
    #cont_blur.not_show ~ #cont_perfil.view_mode {
        bottom: 45px;
    }
}
