body {
    padding-bottom: 80px;
    background-color: #eef4f1;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.caja {
    width: 90%;
    margin: 0 auto;
    height: 160px;
    background-color: #f9fbf8;
    border-radius: 18px;
}
.tarjeta {
    display: flex;
    align-items: center;
    width: 70%;
max-width: 850px;
    margin: 0 auto;
    min-height: 160px;
    background-color: #f9fbf8;
    border: 1px solid #d6e6df;
    border-radius: 18px;
    gap: 18px;
    overflow: hidden;
    box-shadow: 0 5px 16px rgb(34 75 69 / 10%);
}
.encabezado{
    background-color: #4c8580;
    height: 90px;
    border-radius: 18px;
    width: 90%;
    margin: 0 auto;
    box-shadow: 0 5px 16px rgb(34 75 69 / 14%);
}


h1 {
    text-align: center;
    font-family: "trebuchet ms", sans-serif;
    color: #4c8580;
}
.caja.tarjeta h2 {
    text-align: left;
    color: #315f5b;
    margin: 0;
    font-family: "trebuchet ms", sans-serif;
    font-size: 18px;
}
.detalles-mercadillo {
    flex: 1;
    min-width: 0;
    padding-right: 12px;
}
.tarjeta-dalias .foto {
    flex-basis: 48%;
    width: 48%;
}

    
}
.tarjeta .foto {
    flex-basis: 48%;
    width: 48%;
}
.descripcion-mercadillo {
    margin: 5px 0 0;
    color: #557d77;
    font-family: "trebuchet ms", sans-serif;
    font-size: 11px;
    line-height: 1.3;
}
.ubicacion-mercadillo {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 6px 0 0;
    color: #6b9f96;
    font-family: "trebuchet ms", sans-serif;
    font-size: 12px;
    line-height: 1.3;
}
.ubicacion-mercadillo svg {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.titulo-mercadillos {
    text-align: center;
    font-family: "trebuchet ms", sans-serif;
    color: #f2fbf7;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.foto {
    flex: 0 0 58%;
    width: 58%;
    height: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px 0 0 16px;
}
.barra-inferior {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 64px;
    background-color: #4c8580;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #a8c9bd;
    box-shadow: 0 -4px 14px rgb(34 75 69 / 12%);
    z-index: 1000;
}

.elemento-navegacion {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #f2fbf7;
    font-family: "trebuchet ms", sans-serif;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
}

.elemento-navegacion img {
    display: block;
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}
.container{padding-bottom:80px;}

@media (max-width: 600px) {
    .tarjeta {
        height: auto;
    }
}