.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
}

.wpcf7 .hidden-fields-container {
	display: none;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: .2em .8em;
	width: 24em;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: '';
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 [inert] {
	opacity: 0.5;
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

.wpcf7-reflection > output {
	display: list-item;
	list-style: none;
}

.wpcf7-reflection > output[hidden] {
	display: none;
}
/**
 * Home Tech - Estilos Frontend MEJORADO
 * Version: 1.0
 */

/* Variables CSS */
:root {
    --ht-primary-color: #2563eb;
    --ht-button-color: #10b981;
    --ht-price-color: #f59e0b;
    --ht-tag-color: #ef4444;
    --ht-border-radius: 12px;
    --ht-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --ht-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Grid de Propiedades */
.ht-properties-grid {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

.ht-columns-2 { grid-template-columns: repeat(2, 1fr); }
.ht-columns-3 { grid-template-columns: repeat(3, 1fr); }
.ht-columns-4 { grid-template-columns: repeat(4, 1fr); }
.ht-columns-6 { grid-template-columns: repeat(6, 1fr); }
.ht-columns-8 { grid-template-columns: repeat(8, 1fr); }

/* Tarjeta de Propiedad */
.ht-property-card {
    background: white;
    border-radius: var(--ht-border-radius);
    overflow: hidden;
    box-shadow: var(--ht-shadow);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ht-property-card:hover {
    box-shadow: var(--ht-shadow-hover);
    transform: translateY(-5px);
}

.ht-property-card.ht-featured {
    border: 2px solid var(--ht-tag-color);
}

/* Imagen de la Propiedad */
.ht-property-image {
    position: relative;
    overflow: hidden;
}

.ht-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ht-property-card:hover .ht-property-image img {
    transform: scale(1.1);
}

.ht-property-image a {
    display: block;
    height: 100%;
}

/* Etiquetas */
.ht-property-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--ht-tag-color);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.ht-tag-venta { background: #10b981; }
.ht-tag-alquiler { background: #3b82f6; }

.ht-featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #f59e0b;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    z-index: 10;
}

/* Contenido de la Tarjeta */
.ht-property-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ht-property-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.ht-property-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ht-property-title a:hover {
    color: var(--ht-primary-color);
}

/* Ubicación */
.ht-property-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}

.ht-property-location svg {
    flex-shrink: 0;
}

/* Características */
.ht-property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.ht-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4b5563;
    font-size: 14px;
}

.ht-feature svg {
    color: var(--ht-primary-color);
    flex-shrink: 0;
}

/* Precio */
.ht-property-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--ht-price-color);
    margin-bottom: 15px;
    margin-top: auto;
}

/* Botones de Acción */
.ht-property-actions {
    display: flex;
    gap: 10px;
}

.ht-property-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.ht-btn-details {
    background: var(--ht-button-color);
    color: white;
}

.ht-btn-details:hover {
    background: #059669;
    color: white;
    transform: translateY(-2px);
}

.ht-btn-whatsapp {
    background: #25D366;
    color: white;
}

.ht-btn-whatsapp:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-2px);
}

.ht-btn-whatsapp svg {
    width: 18px;
    height: 18px;
}

/* Sin resultados */
.ht-no-properties,
.ht-no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: var(--ht-border-radius);
    color: #6b7280;
}

.ht-no-results p {
    margin: 10px 0;
}

/* ====== FILTROS COMPACTOS ====== */
.ht-filter-container-compact {
    margin: 30px 0;
}

.ht-filter-form-compact {
    background: white;
    padding: 20px;
    border-radius: var(--ht-border-radius);
    box-shadow: var(--ht-shadow);
    margin-bottom: 30px;
}

.ht-filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.ht-filter-field input,
.ht-filter-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.ht-filter-field input:focus,
.ht-filter-field select:focus {
    outline: none;
    border-color: var(--ht-primary-color);
}

.ht-filter-advanced-toggle {
    margin: 12px 0;
}

.ht-filter-advanced-toggle button {
    background: transparent;
    border: 1px dashed #d1d5db;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    color: #6b7280;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.ht-filter-advanced-toggle button:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
}

.ht-filter-advanced {
    margin-top: 12px;
}

.ht-filter-advanced label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 5px;
}

.ht-filter-actions-compact {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.ht-filter-submit,
.ht-filter-reset {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ht-filter-submit {
    background: var(--ht-primary-color);
    color: white;
    flex: 1;
}

.ht-filter-submit:hover {
    background: #1d4ed8;
}

.ht-filter-reset {
    background: #e5e7eb;
    color: #374151;
}

.ht-filter-reset:hover {
    background: #d1d5db;
}

/* Loading */
.ht-loading {
    text-align: center;
    padding: 40px;
}

.ht-spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid var(--ht-primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: ht-spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes ht-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .ht-columns-4,
    .ht-columns-6,
    .ht-columns-8 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ht-columns-3,
    .ht-columns-4,
    .ht-columns-6,
    .ht-columns-8 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ht-filter-row {
        grid-template-columns: 1fr;
    }
    
    .ht-filter-actions-compact {
        flex-direction: column;
    }
    
    .ht-property-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .ht-properties-grid {
        grid-template-columns: 1fr;
    }
    
    .ht-property-card.size-small .ht-property-image { height: 200px; }
    .ht-property-card.size-medium .ht-property-image { height: 220px; }
    .ht-property-card.size-large .ht-property-image { height: 250px; }
}