/* Widget Styles for Vremont Guzman - Scoped to avoid conflicts */

.vremont-guzman-widget-container {
    font-family: 'Montserrat', sans-serif;
    /* Asumiendo que la fuente se carga externamente o hereda */
    max-width: 1260px;
    margin: 0 auto;
}

.vremont-guzman-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.vremont-guzman-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: left;
    /* Reset alignment if needed */
}

.vremont-guzman-card:hover {
    transform: translateY(-5px);
}

.vremont-guzman-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.vremont-guzman-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vremont-guzman-no-image {
    width: 100%;
    height: 250px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.vremont-guzman-info {
    padding: 15px;
}

.vremont-guzman-title {
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.vremont-guzman-title a {
    font-size: 16px;
    /* Similar to original 0.7em relative to container, or hardcoded for consistency */
    font-weight: 700;
    color: #323B3B;
    text-decoration: none;
    transition: color 0.2s;
}

.vremont-guzman-title a:hover {
    color: #ED7600;
}

.vremont-guzman-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.vremont-guzman-price {
    font-size: 24px;
    font-weight: bold;
    color: #0042FF;
    margin: 10px 0;
}

.vremont-guzman-features {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.vremont-guzman-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .vremont-guzman-grid {
        grid-template-columns: 1fr;
    }
}

/* New styles for listing page */
.vremont-guzman-body {
    margin: 0;
    padding: 20px;
    background: #fff;
}

.vremont-guzman-container {
    max-width: 1200px;
    margin: 0 auto;
}

.vremont-guzman-filter-container {
    background: #104fff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.vremont-guzman-btn-filter {
    background-color: #ED7600 !important;
    border: none !important;
    font-weight: bold;
    color: white;
}

.vremont-guzman-load-more-container {
    text-align: center;
    margin: 40px 0;
}

.vremont-guzman-spinner {
    display: none;
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: text-bottom;
    margin-right: 8px;
}

/* Autocomplete styles */
.vremont-guzman-autocomplete-suggestions {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    width: 95%;
    margin-top: 5px;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vremont-guzman-suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.vremont-guzman-suggestion-item:hover {
    background-color: #f8f9fa;
}

.vremont-guzman-suggestion-item:last-child {
    border-bottom: none;
}

.vremont-guzman-relative {
    position: relative;
}