/* OMT AI Tile Expert — búsqueda aumentada + franja inline */

/* ---- bloque de respuesta (compartido) ---- */
.omt-ai-inline {
	margin: 18px 0 26px;
	border: 1px solid var(--wp--preset--color--border, #e5e2dd);
	border-left: 3px solid var(--wp--preset--color--accent, #2f6b4f);
	border-radius: 10px;
	background: var(--wp--preset--color--base, #fff);
	padding: 16px 20px;
}

.omt-ai-label {
	font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--wp--preset--color--accent, #2f6b4f); margin-bottom: 10px;
}

.omt-ai-offer {
	background: none; border: 1.5px solid var(--wp--preset--color--accent, #2f6b4f);
	color: var(--wp--preset--color--accent, #2f6b4f);
	border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600;
	cursor: pointer; font-family: inherit;
	transition: background 0.15s, color 0.15s;
}
.omt-ai-offer:hover { background: var(--wp--preset--color--accent, #2f6b4f); color: #fff; }

.omt-ai-thread { display: flex; flex-direction: column; gap: 12px; }

.omt-ai-q {
	align-self: flex-end; background: var(--wp--preset--color--accent, #2f6b4f); color: #fff;
	border-radius: 12px 12px 4px 12px; padding: 8px 14px; font-size: 14px; max-width: 75%;
}

.omt-ai-a-text { margin: 0 0 4px; font-size: 15px; line-height: 1.55; max-width: 70ch; }

.omt-ai-loading {
	color: var(--wp--preset--color--muted, #777); font-size: 14px;
	animation: omtai-pulse 1.1s infinite ease-in-out;
}

.omt-ai-cards { display: flex; gap: 10px; overflow-x: auto; padding: 8px 0 6px; }
.omt-ai-card {
	flex: 0 0 138px; background: var(--wp--preset--color--base, #fff);
	border: 1px solid var(--wp--preset--color--border, #e5e2dd);
	border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit;
	transition: transform 0.15s, box-shadow 0.15s;
}
.omt-ai-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
.omt-ai-card-img { height: 116px; background: #f1efe9; }
.omt-ai-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.omt-ai-card-name { display: block; font-size: 12.5px; font-weight: 600; padding: 8px 10px 2px; }
.omt-ai-card-price { display: block; font-size: 11px; color: var(--wp--preset--color--muted, #777); padding: 0 10px 10px; }

.omt-ai-follow { display: flex; gap: 8px; margin-top: 14px; max-width: 480px; }
.omt-ai-follow[hidden] { display: none; }
.omt-ai-follow-input {
	flex: 1; border: 1.5px solid var(--wp--preset--color--border, #ddd);
	border-radius: 999px; padding: 9px 16px; font-size: 14px; font-family: inherit;
}
.omt-ai-follow-input:focus { outline: 2px solid var(--wp--preset--color--accent, #2f6b4f); outline-offset: -1px; }
.omt-ai-follow-btn {
	background: var(--wp--preset--color--terracotta, #b05c3a); color: #fff;
	border: 0; border-radius: 999px; padding: 9px 20px; font-size: 14px; font-weight: 600;
	cursor: pointer; font-family: inherit; transition: filter 0.15s;
}
.omt-ai-follow-btn:hover { filter: brightness(1.08); }

/* ---- franja del home ---- */
.omt-ai-strip {
	background: var(--wp--preset--color--accent-soft, #eef4f0);
	padding: 40px 24px;
}
.omt-ai-strip-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.omt-ai-strip-title {
	font-family: var(--omt-font-display, 'Iowan Old Style', Georgia, serif);
	font-size: clamp(24px, 3vw, 32px); font-weight: 400; margin: 0 0 6px;
}
.omt-ai-strip-sub { color: var(--wp--preset--color--muted, #666); font-size: 15px; margin: 0 0 18px; }
.omt-ai-strip-form { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; }
.omt-ai-strip-input {
	flex: 1; border: 1.5px solid var(--wp--preset--color--border, #ddd);
	border-radius: 999px; padding: 12px 20px; font-size: 15px; font-family: inherit;
	background: var(--wp--preset--color--base, #fff);
}
.omt-ai-strip-input:focus { outline: 2px solid var(--wp--preset--color--accent, #2f6b4f); outline-offset: -1px; }
.omt-ai-strip-btn {
	background: var(--wp--preset--color--accent, #2f6b4f); color: #fff;
	border: 0; border-radius: 999px; padding: 12px 24px; font-size: 15px; font-weight: 600;
	cursor: pointer; font-family: inherit; white-space: nowrap;
	transition: transform 0.15s, filter 0.15s;
}
.omt-ai-strip-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.omt-ai-strip-answers { text-align: left; margin-top: 8px; }
.omt-ai-strip-answers .omt-ai-thread:not(:empty) { margin-top: 18px; }

/* ---- CTA de asesor (lead) ---- */
.omt-ai-cta {
	margin-top: 14px; padding: 14px 18px;
	background: var(--wp--preset--color--accent-soft, #eef4f0);
	border: 1px solid var(--wp--preset--color--accent, #2f6b4f);
	border-radius: 10px; max-width: 520px;
}
.omt-ai-cta-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.omt-ai-cta-head strong { font-size: 15px; }
.omt-ai-cta-head span { font-size: 13px; color: var(--wp--preset--color--muted, #666); }
.omt-ai-cta-open {
	background: var(--wp--preset--color--accent, #2f6b4f); color: #fff;
	border: 0; border-radius: 999px; padding: 9px 22px; font-size: 14px; font-weight: 600;
	cursor: pointer; font-family: inherit; transition: filter 0.15s;
}
.omt-ai-cta-open:hover { filter: brightness(1.08); }
.omt-ai-cta-form { display: flex; gap: 8px; flex-wrap: wrap; }
.omt-ai-cta-form[hidden] { display: none; }
.omt-ai-cta-input {
	flex: 1; min-width: 150px; border: 1.5px solid var(--wp--preset--color--border, #ddd);
	border-radius: 999px; padding: 9px 16px; font-size: 14px; font-family: inherit;
}
.omt-ai-cta-input:focus { outline: 2px solid var(--wp--preset--color--accent, #2f6b4f); outline-offset: -1px; }
.omt-ai-cta-send {
	background: var(--wp--preset--color--terracotta, #b05c3a); color: #fff;
	border: 0; border-radius: 999px; padding: 9px 22px; font-size: 14px; font-weight: 600;
	cursor: pointer; font-family: inherit;
}
.omt-ai-cta-send:disabled { opacity: 0.7; cursor: default; }
.omt-ai-cta-done { font-size: 14.5px; font-weight: 600; color: var(--wp--preset--color--accent, #2f6b4f); }

@keyframes omtai-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

@media (prefers-reduced-motion: reduce) {
	.omt-ai-card, .omt-ai-offer, .omt-ai-strip-btn, .omt-ai-loading { transition: none; animation: none; }
}

@media (max-width: 600px) {
	.omt-ai-strip-form { flex-direction: column; }
	.omt-ai-q { max-width: 100%; }
}
