﻿@font-face {
    font-family: "Helvetica-Neue";
    src: url('https://legalytributarioenlinea.co.pwc.com/utilidades/fonts/HelveticaNeueLTW15-75Bold.ttf') format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Helvetica-Neue";
    src: url('https://legalytributarioenlinea.co.pwc.com/utilidades/fonts/HelveticaNeueLTW15-55Roman.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "ITC-Charter";
    src: url('https://legalytributarioenlinea.co.pwc.com/utilidades/fonts/CharterITCW05-Regular.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica-Neue", Arial, Helvetica, sans-serif;
}

input, select {
    border: none;
}

main {
    overflow-x: hidden;
}

.seleccion-producto {
    padding-top: 40px;
    padding-bottom: 60px;
    background-color: #F2F2F2;
}

.container {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.f {
    display: flex;
}

.seleccion-et {
    width: 50%;
}

.visor-et {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

    .visor-et button {
        margin-top: 20px;
    }

.cont-imgs {
    height: 400px;
    max-width: 100%;
    overflow: hidden;
    padding: 20px;
}

.imgs {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    transition: 1s all ease;
}


    .imgs img {
        height: 100%;
        object-fit: contain;
        margin-bottom: 20px;
    }


.info-compra {
    width: 50%;
}

.versiones-et {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 40px;
}

.btn-atras {
    width: 30px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-adelante {
    width: 30px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-versiones {
    display: flex;
    width: 100%;
    margin: 0;
    transition: 1s all ease;
}

.version-et {
    min-width: 30%;
    max-width: 30%;
    margin-right: 5%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #DEDEDE;
}

.h2envio {
    font-family: "ITC-Charter";
    font-weight: 100;
}

.info-compra {
    padding: 20px;
}

    .info-compra h1 {
        font-size: 32px;
        font-family: "ITC-Charter";
        font-weight: 100;
    }

.descripcion-et {
    margin-top: 16px;
    margin-bottom: 8px;
}

.tabla-descripcion {
    width: 100%;
}

.tabla-descripcion {
    width: 100%;
}

.edicion {
    padding: 20px;
    border: 1px solid #000;
}

.versiones {
    padding: 20px;
    border: 1px solid #000;
    width: 100%;
}

.titulo-tabla {
    font-weight: bold;
    margin-bottom: 8px;
    display: inline-block;
}

.w-100 {
    width: 100%;
}

.desc-version {
    padding-left: 8px;
    padding-right: 8px;
}

.precio {
    margin-top: 8px;
    font-size: 24px;
}

.contador {
    margin-top: 20px;
    margin-bottom: 20px;
}

    .contador div {
        background-color: #FFF;
        height: 25px;
        width: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #707070;
        color: #707070;
        font-weight: bold;
    }

    .contador .cantidad {
        width: 40px;
    }

.comprar {
    width: fit-content;
    padding: 8px 40px;
    margin-bottom: 40px;
    transition: 0.2s all ease;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    font-family: "PwC Helvetica Neue", Arial, Sans-Serif;
    background-color: #fd5108;
    border-color: #fd5108;
    color: #000;
    border:none;
}

    .comprar:hover {
        background-color: #000;
        border-color: #000;
        color: #fff;
    }

    .comprar:disabled {
        background-color: #00000068;
        border: none;
        color: #FFF;
    }

.comprarAlt {
    width: fit-content;
    padding: 8px 40px;
    margin-bottom: 40px;
    transition: 0.2s all ease;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    font-family: "PwC Helvetica Neue", Arial, Sans-Serif;
    background-color: transparent;
    border-color: #000000;
    color: #000000;
    border: 1px solid #000;
}

    .comprarAlt:hover {
        background-color: #000000;
        border-color: #000000;
        color: #ffffff;
    }

    .comprarAlt:disabled {
        background-color: #00000068;
        border: none;
        color: #FFF;
    }

/*.regresar {
    color: #000;
    text-decoration: underline;
    font-weight: bold;
}*/
.regresar {
    font-family: "PwC Helvetica Neue", Arial, Sans-Serif;
    font-weight: bold;
    text-decoration-line: underline;
    color: #000;
}


    .regresar:hover {
        color: #c52b09;
        text-decoration-color: #c52b09;
        text-decoration-thickness: 2px;
    }

    .regresar img {
        width: 12px;
    }

.caracteristicas {
    width: 50%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

    .caracteristicas h2 {
        margin-bottom: 24px;
    }

.acordeon-caracteristicas {
    padding: 20px;
    width: 50%;
}

/* RESUMEN------------------------------ */
.resumen {
    justify-content: center;
}

.envio {
    background-color: #F2F2F2;
    width: 45%;
}

.informacion-envio {
    padding: 20px;
}

.mapa-contenedor {
    padding: 20px;
    background-color: #DEDEDE;
}

.resumen-compra {
    width: 55%;
}

.descuento-terminos {
    padding: 20px;
}

.nombre-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
}

.input-brand {
    border-color: #cbd1d6;
    color: #000;
    line-height: normal;
    padding: 12.5px 33px 12.5px 20px;
    text-align: left;
    font-family: "PwC Helvetica Neue", Arial, Sans-Serif;
    font-size: 1.142rem;
    height: auto;
    width: 100%;
    border-radius: 0;
    border: 1px solid #7d7d7d;
    box-shadow: none;
    transition: none;
    background-color: #fff;
    background-image: none;
    margin: 0;
    margin-bottom: 20px;
}

.nombre-label {
    font-family: "PwC ITC Charter", Georgia, Serif;
    font-size: 1.3rem;
    line-height: 1.3em;
    margin-bottom: 5px;
    font-weight: normal;
    display: block;
}

.direccion-titulo {
    font-family: "PwC ITC Charter", Georgia, Serif;
    font-size: 1.3rem;
    line-height: 1.3em;
    margin-bottom: 5px;
    font-weight: normal;
    display: block;
}

.cont-tipoEntrega {
    display: flex;
    align-items: center;
}

    .cont-tipoEntrega label {
        width: 40%;
    }

    .cont-tipoEntrega select {
        width: 60%;
        padding: 10px;
    }

.departamento {
    width: 48%;
    padding: 10px;
}

.municipio {
    padding: 10px;
    width: 48%;
}

.depa-muni {
    justify-content: space-between;
    margin-bottom: 8px;
}

.direccion {
    padding: 10px;
    width: 60%;
}

.direccion-descripcion {
    padding: 10px;
    width: 40%;
}

.check {
    width: 20px;
    height: 20px;
    border-radius: 0px;
    border: 1px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
    background-color: transparent;
}

    .check svg {
        display: none;
    }

.correo-descuento-input {
    margin-top: 4px;
    padding: 8px;
}

.terminos {
    margin-top: 12px;
    align-items: center;
}

    .terminos .spanTerminos {
        font-family: "Helvetica-Neue",Arial, Helvetica, sans-serif;
        color: #707070;
        margin-left: 12px;
    }

    .terminos a{
        font-family: "PwC Helvetica Neue", Arial, Sans-Serif;
        font-weight: bold;
        text-decoration-line: underline;
        color: #000;
    }


        .terminos a:hover {
            color: #c52b09;
            text-decoration-color: #c52b09;
            text-decoration-thickness: 2px;
        }

.cont-codigoAplicar {
    margin-top: 4px;
}

    .cont-codigoAplicar input {
        width: 50%;
        padding: 8px;
    }

    .cont-codigoAplicar button {
        width: 50%;
        background-color: #000;
        padding: 8px;
        color: #FFF;
    }

.cont-correo,
.cont-codigo {
    width: 48%;
}

.resumen-compra {
    padding: 20px;
}

.titulo-resumen-compra {
    margin-bottom: 20px;
}

.cuadro-resumen {
    border: 1px solid #707070;
    padding: 12px;
    padding-right: 40px;
}

.producto-imagen {
    width: 15%;
    padding: 5px;
    background-color: #DEDEDE;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .producto-imagen img {
        width: 100%;
    }

.descripcion-producto {
    padding-left: 8px;
    padding-right: 8px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

    .descripcion-producto .contador {
        margin: 0px;
        margin-top: 4px;
    }

.nombreProducto {
    font-weight: bold;
}

.descripcion-producto {
    width: 45%;
}

.precio-produdcto {
    display: flex;
    justify-content: end;
    align-items: end;
    width: 40%;
}

.espacio {
    width: 15%;
}

.precio-envio {
    width: 40%;
    display: flex;
    justify-content: end;
    align-self: end;
}

.precioEnvio {
    padding-top: 24px;
    padding-bottom: 24px;
}

.btn-adelante:hover, .btn-atras:hover, .version-et:hover, #sumarCantidad:hover, #restarCantidad:hover {
    cursor: pointer;
}

.precioFinal {
    display: flex;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
}

.precioFinalEnvio {
    display: none;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
}

.titulo-direccion {
    margin-top: 20px;
    margin-bottom: 8px;
}

.direccion-final {
    width: 100%;
    height: 80px;
    background-color: #DEDEDE;
    padding: 8px;
}

.boton-final {
    margin-top: 36px;
    display: flex;
    align-items: center;
}

    .boton-final .comprar {
        margin: 0;
        margin-right: 12px;
    }

/* acordeon--------------------------------------------------------------------- */
.accordion {
    background-color: #FFF;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: 1px solid #444;
    text-align: center;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

    .active,
    .accordion:hover {
        background-color: #ccc;
    }

.version-et:hover {
    background-color: #fff;
}

.version-et-selected {
    background-color: #000 !important;
    color: #FFF !important;
}

.flechaAbajo {
    appearance: none;
    background-image: url(../img/flechaAbajo.png);
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: 95%;
    position: relative;
}

.tooltip .comprar:disabled ~ .tooltiptext {
    visibility: hidden;
    font-weight: 100;
    font-size: 12px;
    width: 200px;
    background-color: #FFF;
    color: #707070;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    display: inline-block;
    z-index: 1;
    bottom: 150%;
    left: 64px;
    margin-left: -100px;
}

.boton-final.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #FFF transparent transparent transparent;
}

hr {
    margin-top: 12px;
    margin-bottom: 12px;
}

.tooltip:hover .comprar:disabled ~ .tooltiptext {
    visibility: visible;
}

.tooltip:hover .comprar ~ .tooltiptext {
    visibility: hidden;
}

#agotado {
    margin-top: 16px;
}

.accordion:after {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url(../img/downArrow.svg);
    background-size: contain;
    background-position: center;
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url(../img/downArrow.svg);
}

.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

    .panel p {
        padding: 10px 0px;
    }

#map {
    height: 100%;
    width: 100%;
    height: 200px;
}

.recoger-cont p {
    background-color: #FFF;
    padding: 8px;
}

.ico-info {
    width: 20px;
    height: 20px;
}
.ico-info img{
    width: 20px;
    height: 20px;
}

.ico-check {
    aspect-ratio: 1/1;
    min-width: 15px;
    width: 15px;
    max-width: 15px;
    height: 15px;
    min-height: 15px;
    max-height: 15px;
    border-radius: 15px;
    border: 2px solid #000;
    position: relative;
}

    .ico-check.active {
        background-color: transparent;
    }

.active::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: black;
    border-radius: 50%;
    /* Hace el punto redondo */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centra el punto */
}

.tooltip {
    position: relative;
}

    .tooltip .tooltiptext {
        font-weight: 100;
        visibility: hidden;
        width: 200px;
        background-color: #FFF;
        color: #707070;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        position: absolute;
        display: inline-block;
        z-index: 1;
        bottom: 150%;
        left: 50%;
        margin-left: -100px;
    }

        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: white transparent transparent transparent;
        }

    .tooltip:hover .tooltiptext {
        visibility: visible;
    }

.tituloModal {
    font-family: "ITC-Charter", Georgia, 'Times New Roman', Times, serif;
    font-weight: 100;
    margin-bottom: 10px;
}

/*#botonModal {
    color: #444;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 16px;
    display: inline-block;
}*/
#botonModal {
    font-family: "PwC Helvetica Neue", Arial, Sans-Serif;
    font-weight: bold;
    text-decoration-line: underline;
    margin-bottom: 16px;
    color: #000;
}


    #botonModal:hover {
        color: #c52b09;
        text-decoration-color: #c52b09;
        text-decoration-thickness: 2px;
    }

.contenedorModal {
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0000007a;
    position: fixed;
    z-index: 109;
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    display: none;
}

.modalPadre {
    justify-content: center;
    flex-direction: column;
    width: 95%;
    height: 90vh;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 19px 38px;
    background-color: #FFF;
    overflow-y: scroll;
}

    .modalPadre svg {
        width: 16px;
        position: absolute;
        top: 20px;
        right: 20px;
        background-color: transparent;
        pointer-events: fill;
    }

.modalCaracteriticas {
    columns: 2;
}

.btn_verCarrito {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: bold;
}

.botonesCompra {
    display: flex;
    gap: 8px;
}

.btn_verCarrito:hover {
    cursor: pointer;
}

.btn_verCarrito img {
    width: 25px;
    margin-right: 12px;
}

.carrito-compras-cont {
    justify-content: center;
    display: flex;
    max-height: 0;
    overflow-y: hidden;
}

.activado {
    max-height: fit-content;
}

.carrito-compras-cont .comprar {
    margin-top: 12px;
}

.carrito-compras-cont .producto {
    margin-bottom: 12px;
}

.carritoCompras {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

    .carritoCompras img {
        width: 45px;
    }

@media only screen and (max-width: 640px) {

    .seleccion-et,
    .info-compra,
    .caracteristicas,
    .acordeon-caracteristicas,
    .envio,
    .resumen-compra {
        width: 100%;
    }

    .modalCaracteriticas {
        columns: 1;
    }
}
/* Spinner overlay */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    visibility: hidden; /* Oculto por defecto */
    opacity: 0;
    transition: opacity 0.3s ease;
}

    /* Activar el spinner */
    .spinner-overlay.active {
        visibility: visible;
        opacity: 1;
    }

/* Estilos del spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animación del spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
