#main-header {
    /* z-index: 1 !important; */
}
.property-page h1 {
    color: black;
    font-weight: 600;
    font-size: 28px;
}
.all-properties.list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.all-properties.list .property-item {
    width: calc(33% - 25px);
    background: white;
}
.all-properties.list .property-item img {
    object-fit: cover;
    border-radius: 5px;
    aspect-ratio: 16 / 9;
    width: 100%;
}
.all-properties.list .property-item .image-container {
    position: relative;
}
.all-properties.list .property-item .image-container .tagline {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.all-properties.list .property-item .image-container .tagline .wrap {
    background: #ffffffa6;
    padding: 5px;
    border-radius: 5px;
    pointer-events: none;
    max-width: 90%;
    overflow: hidden;
    height: 30px;
    color: #505050;
}
.all-properties.list .property-item .property-wrap {
    padding-top: 10px
}
.all-properties.list .property-item .property-wrap .property-title {
    color: black;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 5px;
}
.all-properties.list .property-item .property-wrap .property-location,
.all-properties.list .property-item .property-wrap .property-meta {
    color: #747474;
    font-size: 16px;
}
.all-properties.list .property-item .property-wrap .property-price {
    color: black;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 5px;
}
/**********************************efecto hover property-item ***************/
.property-item:hover img{
    transform: scale(1.05); /* Pequeño zoom en la imagen al hover */
    transition: all ease 0.3s;
}
/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    right: -400px; /* Oculto por defecto */
    width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.3);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.sidebar.open {
    right: 0;
    z-index: 9999999;
}

.sidebar-header {
    display: flex;
    justify-content: flex-end;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.sidebar-content {
    margin-top: 20px;
}

.filter-summary label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.filter-summary input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ddd;
    background: #f9f9f9;
}

/* Ajustes para el botón en la search-bar */
.search-bar .btn-primary {
    background: #ffffff;
    color: #686868;
    border: 1px #686868 solid;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.search-bar .btn-primary:hover {
    background: #ffffff;
}

/* Ajustar la disposición de la search-bar para incluir el botón */
.search-bar .row {
    align-items: center;
}

.search-bar .col:last-child {
    border-right: none; /* Quitar borde si es necesario */
}

.d-flex {
    display: flex;
}

.justify-content-end {
    justify-content: end;
}

/********************************************/
.select-property-label {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 18px;
    cursor: pointer;
    transition: opacity 0.3s
    ease;
    z-index: 10;
    text-align: center;
    border: 1px silver solid;
    border-radius: 5px;
}
.property-item.selected .property-wrap {
    border-left: 2px #527e707d solid;
    padding-left: 15px;
}
.property-item.selected .select-property-label {
    opacity: 1;
    background: #527e707d;
}
/******************************************/
.selected-properties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.selected-properties-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

/* Estilos básicos para el formulario (añadir al final de all-properties.css) */
#contact-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ddd;
}
#contact-form textarea {
    height: 100px;
}
#contact-form button {
    margin-top: 15px;
    padding: 10px 20px;
    background: #007cba;
    color: white;
    border: none;
    cursor: pointer;
}
#contact-form button:hover {
    background: #005f8a;
}

/* Estilos para el checkbox redondo en la esquina superior izquierda */
.property-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px; /* Ajustar según diseño */
}

.select-property-label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

.select-property {
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
}

.select-property:checked {
    background-color: #4caf50; /* Verde para check */
    border-color: #4caf50;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"%3E%3Cpath fill="white" d="M0 11l2-2 5 5L18 3l2 2L7 18z"/%3E%3C/svg%3E');
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Estilos para el badge de licencia (arriba derecha, por ejemplo) */
.license-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    color: #333;
}

/* Estilos para info debajo de la imagen */
.property-info {
    padding: 10px;
    text-align: left;
}

.property-area {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
}

.property-title {
    font-size: 20px;
    margin: 5px 0;
}

.property-tagline {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.property-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.property-icons span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-price {
    margin-bottom: 10px;
}

.price-title {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
}

.price-value {
    font-size: 18px;
    font-weight: bold;
}

.property-link {
    color: #558174;
    text-decoration: none;
    font-size: 14px;
}
.properties-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.properties-list .property-item {
    width: calc(25% - 20px);
    background: white;
    box-shadow: 2px 1px 7px #00000021;
    transition: background ease 0.3s;
    border-radius: 5px;
}
.properties-list .property-item:hover {
    background: #558174;
    transition: background ease 0.3s;
}
.properties-list .property-item:hover .property-info,
.properties-list .property-item:hover .property-info * {
    color: white;
}
.pagination-wrapper {
    margin: 40px 0;
    text-align: center;
}
.pagination ul {
    display: inline-block;
    padding: 0;
    margin: 0;
}
.pagination li {
    display: inline;
    margin: 0 5px;
}
.pagination li a,
.pagination li span {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}
.pagination li a:hover,
.pagination .current span {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
}
