* {
    font-family: 'Montserrat', sans-serif;
}



body {
    position: relative;
    margin: 0;
    background-image: url("imagenes/chincha-fondo1.webp");
    background-repeat: no-repeat;
    background-position: center center;
    /* centra en vertical y horizontal */
    background-size: cover;
    /* la imagen cubre toda la pantalla */
}


.mapa-lotes {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    width: fit-content;
}

#contenedores-manzanas {
    width: 88%;
    display: flex;
    flex-direction: row;
    background-image: url(./imagenes/mapa100.webp);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    padding: 400px 95px 130px 0px;
    /* min-height: 100vh; */
    transform: scale(1.2);
    zoom: 52%;
    margin-top: 200px;
    align-items: center;
    flex-direction: column;
}





.lote {
    width: 28px;
    height: 16px;
    border: 1px solid #fff;
    background: #f2f2f2;
    color: #fff;
    font-weight: 500;
    text-align: center;
    align-items: center;
    font-size: 4px;
    cursor: pointer;
    text-shadow: -0.5px -0.5px 0 black, 0.5px -0.5px 0 black, -0.5px 0.5px 0 black, 0.5px 0.5px 0 black;
}

.lote[data-estado="vendido"] {
    background-color: #cc2026;
}

.lote[data-estado="separado"] {
    background-color: #19578a;
}

.lote[data-estado="estrategico"] {
    background-color: #e99c01;
}

.lote[data-estado="disponible"] {
    background-color: #fcc48c;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 2px solid #444;
    padding: 20px;
    z-index: 999;
    width: 400px;
    border-radius: 8px;
    display: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}


#cerrar-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.tabs {
    margin-top: 10px;
    display: flex;
    gap: 5px;
}

.tab {
    flex: 1;
    padding: 5px;
    cursor: pointer;
    background: #9f9f9f;
    border: 1px solid #aaa;
    text-align: center;
    padding: 10px 25px;
    border-radius: 10px;
    font-size: 15PX;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.tab.active {
    background-image: linear-gradient(180deg, #2C94D1 0%, #2455A7 100%);

}

.tab-content {
    display: none;
    margin-top: 10px;
}

.tab-content.active {
    display: block;
}

.btn-tab {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background: #2c7;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.content-precio {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.dinero {
    color: #000;
    font-weight: 700;
    font-size: 38px;
    font-family: 'Montserrat', sans-serif;
}

.contado {
    color: #C3C2C8;
    font-size: 11px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    margin-top: 30px;
}

.content-check {
    display: flex;
    align-items: center;
    gap: 6px;
    /* Espacio entre el ��cono y el texto */
}

.icono-check {
    width: 30px;
    height: 30px;
}

.text-lotes {
    color: #000;
    font-weight: 800;
    font-size: 16px;
}

.text-plazo {
    font-size: 16px;
    font-weight: 800;
    color: #A5A5A8;
    text-align: center;
}

.content-btn-what {
    display: flex;
    justify-content: center;

}

.btn-wha {
    background-image: linear-gradient(180deg, #2C94D1 0%, #2455A7 100%);
    border-radius: 20px;
    padding: 15px;
    color: #FFF;
    font-weight: 800;
    text-decoration: none;
}

/* aqui damos el estilo circular de cada manzana con su respectivo color  */
.fila-lotes {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-bottom: 5px;
}

.manzana-label-centrado {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 10px;
}





/* le damos estilos a la manzana A */
/* Manzana A*/
.manzana-a {
    width: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    padding: 20px;
}

.manzana-a .lote {
    width: 20px;
    height: 35px;
    font-size: 8px;
    text-align: center;
}

/* manzana b */

.manzana-b {
    width: 50%;
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    padding: 20px;
}

.manzana-b .lote {
    width: 20px;
    height: 35px;
    font-size: 8px;
    text-align: center;
}

/* manzana c */
.manzana-c {
    width: 50%;
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    padding: 20px;
}

.manzana-c .lote {
    width: 20px;
    height: 35px;
    font-size: 8px;
    text-align: center;
}

/* manzana d */
.manzana-d {
    width: 40%;
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    padding: 20px;
}

.manzana-d .lote {
    width: 20px;
    height: 35px;
    font-size: 8px;
    text-align: center;
}

/* manzana e */

.manzana-e {
    width: 60%;
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    padding: 20px;
}

.manzana-e .lote {
    width: 20px;
    height: 35px;
    font-size: 8px;
    text-align: center;
}

/* manzana f */

.manzana-f {
    width: 60%;
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    padding: 20px;
}

.manzana-f .lote {
    width: 20px;
    height: 35px;
    font-size: 8px;
    text-align: center;
}

.content-fila1 {
    width: 7%;
    height: auto;
    display: flex;
    display: flex;
    flex-direction: column;
}

.content-fila2 {
    width: 44%;
    height: auto;
    flex-direction: column;
    display: flex;
    gap: 5px;
}

.content-fila3 {
    width: 31%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding-left: 32px;
}

/* container lotes vacios  */
.container-lotes-vacios {
    width: auto;
    height: 200px;
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.conten-vacio-blanco {
    width: auto;
    height: 180px;
}

.content-fila-vacio {
    background-color: #f5f5f5;
    width: 20%;
    height: auto;
    border: 5px solid red;
    display: flex;
    flex-direction: row;
    padding-top: 100px;
    text-align: center;
    justify-content: center;
    gap: 10px;
}

.number1 {
    font-weight: 900;
    font-size: 46px;
    color: #000;
    margin-top: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.etapa {
    color: #000;
    font-weight: 900;
    font-size: 22px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.content-columna-vacio {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 500px;
}


/* manzana a- b  */
.content-ab {
    display: flex;
    flex-direction: column;
}

.content-gh {
    /*  color pista */
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.btn-whatsapp {
    display: inline-flex;
    height: 26px;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.2s;
}

.btn-whatsapp:hover {
    background-color: #25D366;
    transform: scale(1.05);
}

.icono-whatsapp {
    width: 24px;
    height: 24px;
}

.bn632-hover {
    width: 160px;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    margin: 20px;
    text-align: center;
    border: none;
    background-size: 300% 100%;
    border-radius: 50px;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    margin-top: -2px;
}

.bn632-hover:hover {
    background-position: 100% 0;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.bn632-hover:focus {
    outline: none;
}

.bn632-hover.bn19 {
    background-image: linear-gradient(to right,
            #f5ce62,
            #e43603,
            #fa7199,
            #e85a19);
    box-shadow: 0 4px 15px 0 rgba(229, 66, 10, 0.75);
}


.container-btn-form {
    display: flex;
    align-items: center;
    justify-content: center;
}



.btn-55 {
    background: linear-gradient(90deg, blue, red);
    border-radius: 999px;
    box-sizing: border-box;
    color: #fff;
    display: block;
    font-weight: 900;
    overflow: hidden;
    padding: 20px 30px;
    position: relative;
    text-transform: uppercase;
    font-size: 16px;

}


.text-devoluciones {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
}

.logo-paracas-lote {
    margin-top: 60px;
}

.boton-rojo {
    background-color: #e53935;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.boton-rojo::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-45deg);
    transition: left 0.5s ease;
}

.boton-rojo:hover {
    background-color: #c62828;
    box-shadow: 0 6px 16px rgba(229, 57, 53, 0.6);
}

.boton-rojo:hover::before {
    left: 200%;
}

/* Modal */
.modal-pago-inicial {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-contenido-pago {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Botón cerrar */
.cerrar-pago {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}

.cerrar-pago:hover {
    color: #000;
}

/* Tabs */
.tabs-pago {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
    gap: 10px;
}

.tab-pago {
    flex: 1;
    padding: 10px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

.tab-pago.active {
    background-color: #e53935;
    color: white;
}

/* Contenido de cada tab */
.contenido-tab-pago {
    text-align: center;
    font-size: 16px;
    padding: 15px;
    border-top: 1px solid #ccc;
}



.fila1-grupo2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.container-fila1 {
    width: 12.2%;
    height: auto;
    display: flex;
    flex-direction: column;
    background-color: #04dcdc;
}

.container-segundaetap-primera {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: row;
}

.fila1-grupo-k-i {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    margin: 0px 15px;
    gap: 20px;
}

.grupo1-content-segunda-etapa-q-r {
    display: flex;
    flex-direction: column;
    padding: 0px 19px;
}

.parque-segunda-etapa {
    width: 130px;
    height: 100px;
    margin-top: -102px;
    margin-bottom: 20px;
}

.container-lotesv {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    gap: 15px;
}


/* segundo recuadro de los lotes  */


.container-fila2-grupo1 {
    width: auto;
    height: 84.4%;
    background-color: #25D366;
}

.container-fila2-grupo24 {
    width: auto;
    height: auto;
    background-color: #888;
    padding: 0px 0px 0px 55px;
}

.fila1-grupo {
    display: flex;
    flex-direction: column;
    margin-top: 22px;
    gap: 15px;
}

/* contenedores fila 3 */


.container-fila3-grupo1 {
    width: auto;
    height: 80%;
    background-color: red;
    display: flex;
    flex-direction: row;
}

.container-fila3-grupo2 {
    width: auto;
    height: auto;
    background-color: #9c1434;
}

.club-house {
    width: 220px;
    height: 324px;
    margin-top: -172px;
    margin-left: -50px;
    transform: rotate(-11deg);
}

.container-fila3-grupo3-2 {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.container-rotonda {
    width: auto;
    display: flex;
    flex-direction: row;
}

.container-filas-lotes {
    width: auto;
    display: flex;
    flex-direction: column;
    background-color: #f1f1f1;
    margin-left: 30px;
}

.container-filas-lotes2 {
    width: auto;
    display: flex;
    flex-direction: column;
    background-color: #f1f1f1;
    margin-left: 10px;
}

.rotonda {
    width: 49px;
    height: 62px;
    margin-left: -36px;
    margin-top: -33px;
}

.container-f1 {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 40px;
}


.container-u1 {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.container-filas-lotes3 {
    display: flex;
    flex-direction: column;
}

.container-filas-lotes3-1 {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
    margin-left: -85px;
    transform: rotate(-10deg);
}

.container-fila1-d1 {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}

.container-columna-primera-chincha {
    width: 15%;
    display: flex;
    flex-direction: column;

    padding-top: 25px;
}

/* nuevo */


.container-fila-map {
    display: flex;
    flex-direction: column;
    height: 300px;
    margin-top: -654px;
    transform: rotate(-10deg);
    margin-left: 56px;
}

.fila1-grupo1 {
    display: flex;
    flex-direction: row;
    gap: 25px;
}

.fila-grupo2 {
    margin-top: 246px;
    margin-left: 49px;
}

.container-fila2 {
    width: 45%;
    margin-top: 80px;
    display: flex;
    justify-content: flex-end;
    align-items: end;
    flex-direction: column;
    /*     background-color: red;
 */
}

.container-fila3 {
    width: 3%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    margin-left: -690px;
    margin-bottom: 163px;
    transform: rotate(10deg);
    align-items: flex-end;
}

.container-fila4 {
    margin-bottom: -95px;
    transform: rotate(-8deg);
    margin-left: 30px;
}

.primera-etapa {
    display: flex;
    flex-direction: row;
    transform: rotate(-16deg);
    justify-content: flex-end;
    gap: 32px;
    width: 34%;
    margin-left: -49px;
    margin-top: 42px;
}



.container-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-chincha {
    width: 240px;
    height: 120px;
}

.container-primer-etapa1 {
    display: flex;
    flex-direction: row;
    transform: rotate(6deg);
    gap: 43px;
    margin-top: -256px;
    margin-left: 46px;
    padding-left: 0px;

}

.lote-vertical {
    display: flex;
    flex-direction: row;
    transform: rotate(-21deg);
    margin-left: -7px;
    gap: 37px;
    justify-content: flex-end;
    margin-top: -13px;
    margin-left: -280px;
}

#popup-lote {
    zoom: 80%;
}

.container-lote-l {
    margin-top: -6px;
    transform: rotate(2deg);
    margin-left: -13px;
    padding-right: 48px;
}

.container-lotes-o {
    display: flex;
    flex-direction: row;
    width: 36%;
    justify-content: flex-end;
    transform: rotate(-16deg);
    align-items: flex-start;
    margin-top: 26px;
}


.container-lote-vacio {
    width: 42px;
}

.container-lote-a {
    margin-top: 16px;
    margin-right: -25px;
}

.container-lote-j {
    margin-right: 5px;
    margin-top: 4px;
}

.container-lote-f {
    transform: rotate(-16deg);
    width: 710px;
    height: 70px;
    display: flex;
    justify-content: flex-end;
    margin-right: -78px;
    margin-top: -18px;
    margin-bottom: 10px;
    gap: 20px;
}


.zoom-controls {
    display: flex;
    justify-content: center;
    z-index: 100;
    position: relative;
    margin-top: 25PX;
    gap: 10px;
}

button#zoomOut,
button#zoomIn {
    background-image: linear-gradient(to right, #f83600 0%, #f9d423 100%);
    color: #fff;
    font-size: 16px;
    border: none;
    padding: 5px 10px;
    border-radius: 50%;
}

button#resetZoom {
    background-image: linear-gradient(to right, #f83600 0%, #f9d423 100%);
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 50%;
}

div#contenedor-lotes-d {
    margin-left: 100px;
    margin-right: 358px;
    margin-top: -18px;
}

/* responsive 2025 */
.manzana-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
}

.manzana-label-centrado {
    margin-bottom: 5px;
    font-weight: bold;
    text-align: center;
}

.manzana-fila {
    display: flex;
    gap: 0px;
    flex-wrap: wrap;
    justify-content: center;
}

/* --- Lote base --- */
.lote-div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    font-size: 6px;
    text-shadow: -0.5px -0.5px 0 black, 0.5px -0.5px 0 black, -0.5px 0.5px 0 black, 0.5px 0.5px 0 black;

}

.manzana-O .lote-div {
    width: 23px;
    height: 40px;
}

div#contenedor-lotes-o {
    margin-top: -40px;
}

.manzana-G .lote-div {
    width: 20px;
    height: 35px;
}

/* Fila 1 de la manzana F */
.manzana-F .fila-1 .lote-div {
    width: 17px;
    height: 35px;
}

/* Fila 2 de la manzana F */
.manzana-F .fila-2 .lote-div {
    width: 20px;
    height: 35px;
}


/* Contenedor principal de la manzana M */
.manzana-M {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 6px;
    margin-right: -10px;
}

.manzana-M .manzana-label-centrado {
    margin-bottom: 5px;
}

/* Filas de la manzana */
.manzana-M .fila-M {
    display: flex;
}

/* Estilos generales de todos los lotes de la manzana M */
.manzana-M .lote-M {
    width: 34px;
    height: 20px;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

/* 🎯 Estilos especiales por número de lote */
.manzana-M .lote-13 {
    height: 24px;
    /* fila izquierda */
}

.manzana-M .lote-2 {
    width: 40px;
    height: 21px;
    margin-left: -60px;
    margin-top: -17px;
}

.manzana-M .lote-20 {
    height: 23px;
}

.manzana-M .lote-21 {
    margin-top: -6px;
    height: 23px;
}

/* Casos especiales cuando está a la derecha */
.manzana-M .lote-13.derecha {
    height: 18px;
}

.manzana-M .lote-14 {
    height: 25px;
    margin-top: -10px;
}

/* Contenedor general */
.manzana-L {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    margin-top: 157px;
    margin-left: 17px;
    margin-right: 8px;
    transform: rotate(-1deg);
    position: relative;
    /* necesario para el label */
}

/* Label centrado */
.manzana-L .label-L {
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

/* Filas */
.manzana-L .fila-L {
    display: flex;
    justify-content: center;
}

/* Lotes generales */
.manzana-L .lote-L {
    width: 38px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

/* Imagenes especiales */
.manzana-L .img-L {
    height: 20px;
    margin-top: -1px;
}

.manzana-L .img-L-1 {
    width: 18px;
}

.manzana-L .img-L-2 {
    width: 15px;
    margin-left: -3px;
}

/* Contenedor general */
.manzana-J {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -12px;
    margin-right: -24px;
}

/* Label */
.manzana-J .label-J {
    margin-bottom: 5px;
}

.container-lote-i {
    margin-right: -15px;
    margin-left: 13px;
}

/* Fila base */
.manzana-J .fila-J {
    display: flex;
}

/* Lotes generales */
.manzana-J .lote-J {
    width: 37px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

/* Ajustes especiales por número */
.manzana-J .lote-4 {
    margin-left: -60px;
    margin-top: -30px;
    height: 16px;
}

.manzana-J .lote-2 {
    margin-left: -60px;
    margin-top: -12px;
    height: 19px;
}

.manzana-J .lote-21 {
    height: 18px;
    margin-top: -21px;
}

.manzana-J .lote-22 {
    height: 25px;
}

.manzana-J .lote-23 {
    height: 18px;
    margin-top: -16px;
}

.manzana-J .lote-24 {
    height: 16px;
}


/* Wrapper de la manzana I */
.manzana-i-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -5px;
}

/* Label de la manzana */
.manzana-i-label {
    margin-bottom: 5px;
}

/* Cada fila de lotes */
.manzana-i-fila {
    display: flex;
}

/* Estilo base de cada lote */
.manzana-i-lote {
    width: 33px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

/* 🔹 Wrapper de la manzana H */

.container-lotes-h {
    MARGIN-TOP: 2PX;
        margin-right: -16px;
    margin-left: 10px;
}

.manzana-h-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin-top: -14px;
}

/* 🔹 Label */
.manzana-h-label {
    margin-bottom: 5px;
}

/* 🔹 Cada fila */
.manzana-h-fila {
    display: flex;
    justify-content: center;
}

/* 🔹 Lotes de la manzana H */
.manzana-h-lote {
    width: 34px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

/* 🔹 Imagenes especiales dentro de la manzana H */
.manzana-h-img {
    width: 38px;
    height: 60px;
    margin-top: -1px;
}

.manzana-h-img+.manzana-h-img {
    margin-left: -3px;
}


/* 🔹 Wrapper de la manzana E */
.container-lote-e {
    margin-top: 11px;
    margin-left: 11px;
    margin-right: -2px;
}

.manzana-e-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -20px;
    margin-right: 13px;
}

/* 🔹 Label */
.manzana-e-label {
    margin-bottom: 5px;
}

/* 🔹 Cada fila */
.manzana-e-fila {
    display: flex;
}

/* 🔹 Lotes generales */
.manzana-e-lote {
    width: 40px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

/* 🔹 Ajustes especiales */
.manzana-e-lote.lote-9,
.manzana-e-lote.lote-10 {
    margin-left: -65px;
}

.manzana-e-lote.lote-15 {
    margin-top: -47px;
    height: 22px;
}

.manzana-e-lote.lote-16 {
    margin-top: -23px;
    height: 22px;
}

/* 🔹 Lotes derechos un poco más anchos */
.manzana-e-lote-derecho {
    width: 32px;
    height: 17px;
}

/* 🔹 Wrapper de la manzana CH */
.manzana-ch-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin-top: -30px;
}

/* 🔹 Label */
.manzana-ch-label {
    margin-bottom: 5px;
}

/* 🔹 Cada fila */
.manzana-ch-fila {
    display: flex;
    justify-content: center;
}

div#contenedor-lotes-ch {
    margin-top: -65px;
    margin-left: -67px;
}

/* 🔹 Lotes generales */
.manzana-ch-lote {
    width: 35px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

/* 🔹 Lote especial 1 */
.manzana-ch-lote.lote-1 {
    margin-top: -18px;
    margin-left: -36px;
}

/* 🔹 Lote especial 23 */
.manzana-ch-lote.lote-22,
.manzana-ch-lote.lote-23 {
    height: 21px;
}

.lote.manzana-ch-lote.lote-2 {
    margin-top: -8px;
}



/* 🔹 Imágenes especiales */
.manzana-ch-img1 {
    width: 40px;
    height: 24px;
    margin-top: -1px;
}

.manzana-ch-img2 {
    width: 40px;
    height: 24px;
    margin-left: -3px;
    margin-top: -1px;
}


/* Contenedor de la manzana A */
.manzana-A-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin-top: 10px;
    margin-left: 55px;
    margin-right: -30px;
    margin-bottom: 8px;
}

/* Etiqueta del nombre de la manzana */
.manzana-label-centrado {
    margin-bottom: 5px;
    font-weight: bold;
    text-align: center;
}

/* Cada fila de lotes dentro de la manzana A */
.manzana-A-fila {
    display: flex;
    justify-content: center;
}

/* Estilos de los lotes de la manzana A */
.manzana-A-lote {
    width: 30px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

/* Contenedor general de la manzana C */
.manzana-C-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin-top: -73px;
}

/* Cada fila de lotes */
.manzana-C-fila {
    display: flex;
    justify-content: center;
}

/* Estilo base para los lotes */
.manzana-C-lote {
    width: 34px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

/* Ajustes especiales por lote */
.manzana-C-lote.lote-3 {
    width: 32px;
    height: 18px;
    margin-top: -20px;
}

.manzana-C-lote.lote-4 {
    margin-top: -10px;
}

.manzana-C-lote.lote-2 {
    width: 32px;
    height: 15px;
    margin-top: -33px;
    margin-left: -30px;
}

.manzana-C-lote.lote-1 {
    width: 28px;
    height: 16px;
    margin-top: -19px;
    margin-left: -30px;
}

.manzana-C-lote.lote-23 {
    height: 28px;
}

.manzana-C-lote.lote-24 {
    width: 30px;
    height: 30px;
}

.manzana-C-lote.lote-22 {
    width: 30px;
    height: 28px;
}

/* 🔹 Contenedor general de la manzana B */
.manzana-b-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -20px;
    /* ajusta según lo necesites */

    margin-right: -60px;
}

/* 🔹 Etiqueta centrada con la letra de la manzana */
.manzana-b-wrapper .manzana-label-centrado {
    font-weight: bold;
    margin-bottom: 5px;
}

/* 🔹 Contenedor de las dos columnas */
.manzana-b-columnas {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* 🔹 Cada columna */
.manzana-b-columna {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 🔹 Estilo general de los lotes de la manzana B */
/* Lotes generales de la manzana B */
.manzana-B-lote {
    width: 33px;
    height: 16px;
}

.manzana-B-lote.lote-15 {
    margin-top: 5px;
    height: 23px;
}

/* Lote 16 con altura especial */
.manzana-B-lote.lote-16 {
    height: 22px;
    margin-top: -5px;
}

/* Lote 17 con altura especial */
.manzana-B-lote.lote-17 {
    height: 22px;
}

img.manzana-b-imagen {
    width: 30px;
}

/* Contenedor general */
.wrapper-manzana-d {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -10px;
    margin-right: 20px;
}

/* Etiqueta del nombre de la manzana */
.manzana-label-centrado {
    margin-bottom: 5px;
    font-weight: bold;
}

/* Filas */
.fila1-d,
.fila2-d {
    display: flex;
    gap: 2px;
}

.fila2-d {
    margin-top: 10px;
}

.fila3-d {
    display: flex;
    justify-content: start;
    margin-top: -13px;
    margin-left: -184px;
}

/* Lotes generales */
.lote-d {
    width: 20px;
    height: 27px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Casos especiales */
.lote-d-16 {
    margin-right: 6px;
}

.lote-d-15 {
    margin-left: -7px;
    margin-top: -11px;
    margin-right: 4px;
}

.lote-d-14 {
    width: 16px;
    height: 27px;
}










/* medida responsive */

@media (min-width: 1281px) and (max-width: 1399px) {


    .container-primer-etapa1 {
        display: flex;
        flex-direction: row;
        transform: rotate(6deg);
        gap: 43px;
        margin-top: -326px;
        padding-left: 85px;
    }

    .container-lote-f {
        transform: rotate(-16deg);
        width: 523px;
        height: 70px;
        display: flex;
        justify-content: flex-end;
        margin-right: -43px;
        margin-top: 3px;
        gap: 12px;
    }

    .container-lote-a {
        margin-left: 0px;
    }

    .container-lotes-o {
        margin-top: -6px;
    }
}

@media (min-width: 1400px) and (max-width: 1727px) {
    #contenedores-manzanas {
        width: 86%;
        zoom: 42%;
        padding: 400px 95px 111px 0px;
    }

    .lote-vertical {
        display: flex;
        flex-direction: row;
        transform: rotate(-21deg);
        margin-left: -7px;
        gap: 20px;
        justify-content: flex-end;
        margin-top: -3px;
        width: 65%;
        margin-right: -52px;
    }

    .container-lote-f {
        width: 620px;
        margin-top: -6px;
        margin-bottom: 44px;

    }

    .primera-etapa {
        width: 35%;
        margin-left: -52px;
        margin-top: 28px;
    }

    .container-lotes-o {
        width: 36%;
        margin-top: 0px;
    }

    .container-lote-e {
        margin-right: -8px;
        margin-top: -5px;
    }

    .container-lote-vacio {
        width: 30px;
    }

    .container-lote-i {
        margin-top: -15px;
        margin-right: -9px;
        margin-left: 24px;
    }

    .container-lotes-h {
        margin-right: -15px;
    }

    div#contenedor-lotes-d {
        margin-left: 41px;
        margin-right: 72px;
        margin-top: -11px;
    }

    .container-lote-j {
        margin-top: -17px;
        margin-right: -8px;
    }

    div#contenedor-lotes-m {
        margin-right: 7px;
    }

    div#contenedor-lotes-o {
        margin-top: -25px;
    }

    .manzana-G .lote-div {
        width: 17px;
    }

    .manzana-F .fila-1 .lote-div {
        width: 15px;
    }

    .manzana-F .fila-2 .lote-div {
        width: 17px;
    }

    .manzana-O .lote-div {
        height: 36px;
    }

    .manzana-h-img {
        height: 45px;
    }

    .manzana-h-lote {
        height: 17px;
    }

    .manzana-e-lote {
        height: 16.7px
    }

    .manzana-J .lote-J {
        height: 18px;
    }

    .manzana-M .lote-M {
        height: 21px;
    }

    .manzana-ch-lote {
        height: 15px;
    }

    .manzana-C-lote {
        height: 13px;
    }

    .manzana-B-lote {
        height: 14px;
    }

    .manzana-A-lote {
        height: 15px;
    }

    .manzana-i-lote {
        height: 14px;
    }

    .manzana-A-wrapper {
        margin-top: -15px;
    }


    .manzana-M {
        margin-right: -24px;
        margin-top: -20px;
    }



}

@media (min-width: 360px) and (max-width: 375px) {

    body {
        background-image: url("imagenes/primera.webp");
        background-position: top center;
    }

    #contenedores-manzanas {
        zoom: 35%;
        margin-top: 300px;
        margin-left: 0px;
        width: 82%;
    }

    .primera-etapa {
        width: 100%;
        margin-top: -22px;
        margin-bottom: 18px;
    }

    .container-lotes-o {
        width: 106%;
        margin-top: 0px;
    }

    .container-primer-etapa1 {
        margin-top: -216px;
    }

    .container-lote-f {
        margin-top: 3px;
        width: 560px;
        margin-bottom: 31px;
    }

    .container-lote-l {
        margin-left: -8px;
        padding-right: 99px;
    }

    .container-lote-i {
        margin-right: -19px;
        margin-left: 0px;
        margin-top: 29px;
    }

    .container-lotes-h {
        margin-right: -41px;
        margin-top: 33px;
    }

    .container-lote-j {
        margin-top: 27px;
        margin-right: 12px;
    }

    .zoom-controls {
        display: none;
    }

    .container-lote-vacio {
        width: -60px;
    }

    div#contenedor-lotes-o {
        margin-top: -42px;
    }

    .manzana-O .lote-div {
        width: 16px;
        height: 30px;
    }

    .manzana-G .lote-div {
        width: 12px;
        height: 22px;
    }

    .manzana-F .fila-1 .lote-div {
        width: 12px;
        height: 22px;
    }

    .manzana-F .fila-2 .lote-div {
        width: 14px;
        height: 22px;
    }

    .manzana-A-lote {
        width: 26px;
        height: 13px;
    }

    .manzana-e-lote,
    .manzana-h-lote,
    .manzana-J .lote-J,
    .manzana-L .lote-L,
    .manzana-M .lote-M,
    .manzana-C-lote,
    .manzana-B-lote .lote {
        width: 25px;
        height: 11.5px;
    }

    .manzana-ch-lote {
        width: 28px;
        height: 9px;
    }

    .manzana-i-lote {
        width: 25px;
        height: 9px;
    }

    .manzana-h-img {
        width: 30px;
        height: 30px;
    }

    .manzana-e-lote.lote-9,
    .manzana-e-lote.lote-10 {
        margin-left: -48px;
    }

    .container-lote-e {
        margin-top: 32px;
        margin-left: 52px;
        margin-right: -9px;
    }

    .manzana-J {
        margin-top: -24px;
    }

    .manzana-J .lote-2 {
        margin-left: -50px;
    }

    .manzana-J .lote-4 {
        margin-left: -50px;
    }

    .manzana-J .lote-J {
        height: 12px;
    }

    .container-lote-vacio {
        width: 0px;
    }

    .manzana-L {
        margin-top: 134px;
        margin-left: 8px;
        margin-right: -39px;
    }

    .manzana-M {
        margin-top: 16px;
        margin-right: -22px;
    }

    .manzana-M .lote-M {
        height: 14.5px;
    }

    .manzana-M .lote-2 {
        margin-left: -45px;
    }

    .container-fila3 {
        margin-left: -407px;
    }

    .manzana-C-lote {
        height: 9px;
    }

    .manzana-C-lote.lote-22,
    .manzana-C-lote.lote-24 {
        height: 18px;
    }

    .manzana-ch-img1,
    .manzana-ch-img2 {
        width: 30px;
        height: 20px;
    }

    .lote-vertical {
        gap: 10px;
    }

    div#contenedor-lotes-d {
        margin-top: 44px;
        margin-left: 120px;
    }

    div#contenedor-lotes-ch {
        margin-left: -169px;
    }

    .manzana-B-lote {
        width: 28px;
        height: 13px;
    }

    .manzana-ch-lote.lote-23 {
        height: 20px;
    }

    .manzana-ch-lote.lote-1 {
        margin-top: -12px;
    }

    .manzana-ch-wrapper {
        margin-top: 58px;
        margin-left: -44px;
    }

    .manzana-C-wrapper {
        margin-top: -7px;
    }
}

@media (max-width: 360px) and (max-height: 740px) {
    body {
        background-image: url("imagenes/primera.webp");
        background-position: top center;
    }

    #contenedores-manzanas {
        zoom: 41%;
        margin-top: 300px;
        margin-left: 0px;
        width: 82%;
    }

    .primera-etapa {
        width: 108%;
        margin-top: -5px;
        margin-bottom: 18px;
    }

    .container-lotes-o {
        width: 100%;
        margin-top: 0px;
    }

    .container-primer-etapa1 {
        margin-top: -216px;
    }

    .container-lote-f {
        margin-top: 3px;
        width: 560px;
        margin-bottom: 0px;
        margin-left: -45px;
        gap: 5px;
        margin-top: 13px;

    }

    .container-lote-l {
        margin-left: -17px;
        padding-right: 74px;
        margin-top: -21px;
    }

    .container-lote-i {
        margin-right: -19px;
        margin-left: 0px;
        margin-top: 14px;
    }

    .container-lotes-h {
        margin-right: -41px;
        margin-top: 33px;
    }

    .container-lote-j {
        margin-top: 33px;
        margin-right: 18px;
    }

    .zoom-controls {
        display: none;
    }

    .container-lote-vacio {
        width: -60px;
    }

    div#contenedor-lotes-o {
        margin-top: -42px;
    }

    .manzana-O .lote-div {
        width: 12px;
        height: 24px;
    }

    .manzana-G .lote-div {
        width: 10px;
        height: 24px;
    }

    .manzana-F .fila-1 .lote-div {
        width: 10px;
        height: 24px;
    }

    .manzana-F .fila-2 .lote-div {
        width: 14px;
        height: 22px;
    }

    .manzana-A-lote {
        width: 26px;
        height: 13px;
    }

    .manzana-e-lote,
    .manzana-h-lote,
    .manzana-J .lote-J,
    .manzana-L .lote-L,
    .manzana-M .lote-M,
    .manzana-C-lote,
    .manzana-B-lote .lote {
        width: 21px;
        height: 8px;
    }

    .manzana-ch-lote {
        width: 28px;
        height: 9px;
    }

    .manzana-i-lote {
        width: 25px;
        height: 9px;
    }

    .manzana-h-img {
        width: 30px;
        height: 30px;
    }

    .manzana-e-lote.lote-9,
    .manzana-e-lote.lote-10 {
        margin-left: -48px;
    }

    .container-lote-e {
        margin-top: 32px;
        margin-left: 52px;
        margin-right: -9px;
    }

    .manzana-J {
        margin-top: -24px;
    }

    .manzana-J .lote-2 {
        margin-left: -41px;
    }

    .manzana-J .lote-4 {
        margin-left: -42px;
    }

    .manzana-J .lote-J {
        height: 10px;
    }

    .container-lote-vacio {
        width: 0px;
    }

    .manzana-L {
        margin-top: 134px;
        margin-left: 8px;
        margin-right: -39px;
    }

    .manzana-M {
        margin-top: 17px;
        margin-right: -7px;
    }

    .manzana-M .lote-M {
        height: 12.2px;
    }

    .manzana-e-lote.lote-15 {
        height: 18px;
    }

    .manzana-M .lote-2 {
        margin-left: -41px;
    }

    .container-fila3 {
        margin-left: -407px;
    }

    .manzana-C-lote {
        height: 9px;
    }

    .manzana-C-lote.lote-22,
    .manzana-C-lote.lote-24 {
        height: 10px;
    }

    .manzana-ch-img1,
    .manzana-ch-img2 {
        width: 23px;
        height: 14px;
    }

    .lote-vertical {
        gap: 6px;
        margin-left: -150px;
    }

    div#contenedor-lotes-d {
        margin-top: 33px;
        margin-left: 66px;
    }

    div#contenedor-lotes-ch {
        margin-left: -110px;
        margin-right: -35px;
    }

    .div#contenedor-lotes-c {
        margin-right: 15px;
    }

    .manzana-B-lote {
        width: 26px;
        height: 12px;
    }

    .manzana-ch-lote.lote-23 {
        height: 20px;
    }

    .manzana-ch-lote.lote-1 {
        margin-top: -12px;
    }

    .manzana-ch-wrapper {
        margin-top: 22px;
        margin-left: -86px;
    }

    .manzana-C-wrapper {
        margin-top: -7px;
    }

    .lote {
        width: 18px;
        height: 10px;
        font-size: 4px;
    }

    div#contenedor-lotes-f1 {
        margin-top: -72px;
        margin-right: 9px;
    }

    .wrapper-manzana-d {
        margin-top: 10px;
        margin-right: -30px;
    }

    .lote-d {
        width: 13px;
        height: 18px;
    }


    .fila2-d {
        margin-right: -6px;
    }

    .fila3-d {
        margin-left: -144px;
    }
    .manzana-C-lote.lote-23 {
    height: 18px;
    width: 20px;
}

.manzana-A-lote{
    width: 18px;
    height: 9px;
}

.manzana-i-lote{
    width: 22px;
    height: 8px;
}

}


@media (min-width: 376px) and (max-width: 399px) {

    body {
        background-image: url("imagenes/primera.webp");
        background-position: top center;
    }

    .primera-etapa {
        width: 96%;
        margin-top: 26px;
    }

    .container-lote-vacio {
        width: 35px;
    }

    .container-lotes-o {
        width: 95%;
        margin-top: -13px;
    }

    #contenedores-manzanas {
        zoom: 28%;
        margin-top: 500px;
        WIDTH: 77%;
        margin-left: 100px;
    }

    .container-lote-j {
        margin-top: -32px;
        margin-right: -17px;
    }

    .container-lote-a {
        margin-left: 0px;
        margin-top: -7px;
    }

    .zoom-controls {
        display: none;
    }


    .container-lote-i {
        margin-right: -14px;
    }

    .container-primer-etapa1 {
        margin-top: -186px;
        margin-left: 159px;
    }

    div#contenedor-lotes-d {
        margin-left: 28px;
        margin-right: 412px;
        margin-top: -7px;
    }

    .lote-vertical {
        gap: 20px;
        margin-top: -13px;
        margin-left: -447px;
    }


}

@media (min-width: 400px) and (max-width: 411px) {

    body {
        background-image: url("imagenes/primera.webp");
        background-position: top center;
    }

    #contenedores-manzanas {
        zoom: 33%;
        margin-top: 450px;
    }

    .primera-etapa {
        width: 78%;
        margin-top: 18px;
    }

    .container-lotes-o {
        width: 80%;
    }

}

@media (width: 412px) {

    body {
        background-image: url("imagenes/primera.webp");
        background-position: top center;
    }

    #contenedores-manzanas {
        width: 85%;
        height: 80%;
        zoom: 28%;
        margin-top: 550px;
        margin-left: -4px;

    }

    .container-primer-etapa1 {
        margin-top: -209px;
    }


    #popup-lote {
        zoom: 60%;
    }

    .primera-etapa {
        width: 93%;
        margin-top: 35px;

    }

    .container-lotes-o {
        width: 90%;
        margin-top: 10px;
    }

    .container-lote-f {
        margin-top: 90px;
        width: 690px;
    }

    .container-lote-l {
        margin-left: -8px;
        padding-right: 87px;
    }

    .container-lote-j {
        margin-top: -38px;
        margin-right: 6px;
    }

    .container-lote-vacio {
        width: 11px;
    }

    .container-fila3 {
        margin-left: -744px;
        margin-top: 25px;
    }

    .lote-vertical {
        margin-left: -5px;
        width: 23%;
    }

    div#contenedor-lotes-d {
        margin-left: 236px;
        margin-right: 120px;
        margin-top: 8px;
    }

    .container-lote-a {
        margin-left: -52px;
        margin-top: -7px;
    }

    .zoom-controls {
        display: none;
    }


}

@media (min-width: 769px) and (max-width: 1024px) {
    body {

        background-image: url("imagenes/table1.webp");
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        height: 90vh;
        /*  zoom: 50%; */
    }

    #contenedores-manzanas {
        margin-top: 600px;
    }

    .primera-etapa {
        display: flex;
        flex-direction: row;
        transform: rotate(-16deg);
        justify-content: flex-end;
        gap: 32px;
        width: 82%;
        margin-top: 45px;
        margin-left: -44px;
    }

    .container-lotes-o {
        width: 76%;
        margin-top: 3px;
    }

    .container-lote-j {
        margin-top: -17px;
        margin-right: 12px;
    }

    .container-lote-vacio {
        width: 60px;
    }

    .container-fila3 {
        margin-left: -633px;
    }

    .container-lote-f {
        margin-top: 43px;
    }

}

@media (width: 768px) {
    .primera-etapa {
        width: 72%;
        margin-top: 36px;
    }

    .container-lotes-o {
        width: 75%;
    }

}