/* PetoFast AI vet chat page */
.pfv-ai { --ai-o: #ff7a1a; --ai-od: #e5620a; --ai-t: #14b8a6; --ai-ink: #2b2118; --ai-mut: #7a6a5c; --ai-line: #f0e2cf; --ai-cream: #fff8ee; color: var(--ai-ink); font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding: 22px 0 40px; }
.pfv-ai-wrap { max-width: 780px; margin: 0 auto; padding: 0 16px; }
.pfv-ai-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.pfv-ai-badge { width: 60px; height: 60px; flex: none; border-radius: 18px; display: grid; place-items: center; font-size: 32px; background: #dff6f2; }
.pfv-ai-head h1 { font-family: "Baloo 2", "Nunito", sans-serif; font-size: clamp(26px, 4.6vw, 38px); line-height: 1.1; margin: 0 0 4px; }
.pfv-ai-head p { margin: 0; color: var(--ai-mut); }

.pfv-ai-box { position: relative; background: #fff; border: 1px solid var(--ai-line); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; height: min(68vh, 640px); min-height: 420px; box-shadow: 0 10px 30px rgba(120, 60, 0, .07); }
.pfv-ai-new { position: absolute; top: 10px; right: 12px; z-index: 2; border: 0; background: var(--ai-cream); border-radius: 999px; padding: 6px 12px; font: 800 12px "Nunito", sans-serif; color: var(--ai-mut); cursor: pointer; }
.pfv-ai-new:hover { color: var(--ai-ink); }
.pfv-ai-pet { display: flex; gap: 6px; align-items: center; overflow-x: auto; padding: 12px 110px 10px 14px; border-bottom: 1px solid var(--ai-line); scrollbar-width: none; }
.pfv-ai-pet::-webkit-scrollbar { display: none; }
.pfv-ai-pet-label { flex: none; font-size: 13px; font-weight: 800; color: var(--ai-mut); margin-right: 2px; }
.pfv-ai-chip { flex: none; border: 2px solid var(--ai-line); background: #fff; border-radius: 999px; padding: 5px 12px; font: 800 13px "Nunito", sans-serif; color: inherit; cursor: pointer; }
.pfv-ai-chip.is-on { border-color: var(--ai-o); background: #fff6ec; }

.pfv-ai-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, #fffdf9, var(--ai-cream)); }
.pfv-ai-msg { display: flex; }
.pfv-ai-me { justify-content: flex-end; }
.pfv-ai-bubble { max-width: 82%; padding: 11px 14px; border-radius: 18px; font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; }
.pfv-ai-bubble p { margin: 0 0 6px; }
.pfv-ai-bubble p:last-child { margin-bottom: 0; }
.pfv-ai-bubble ul { margin: 4px 0 6px; padding-left: 18px; }
.pfv-ai-bot .pfv-ai-bubble { background: #fff; border: 1px solid var(--ai-line); border-bottom-left-radius: 6px; }
.pfv-ai-me .pfv-ai-bubble { background: var(--ai-o); color: #fff; border-bottom-right-radius: 6px; }
.pfv-ai-tips { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 2px; }
.pfv-ai-tip { border: 2px dashed #ffc9a0; background: #fff; border-radius: 999px; padding: 7px 12px; font: 700 13.5px "Nunito", sans-serif; color: var(--ai-ink); cursor: pointer; }
.pfv-ai-tip:hover { border-style: solid; border-color: var(--ai-o); }
.pfv-ai-dots { display: inline-flex; gap: 5px; align-items: center; }
.pfv-ai-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d9c6b2; animation: pfvDot 1s infinite ease-in-out; }
.pfv-ai-dots i:nth-child(2) { animation-delay: .15s; }
.pfv-ai-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes pfvDot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-5px); opacity: 1; } }

.pfv-ai-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: #dff6f2; border: 1px solid #b8ebe3; margin: 2px 0 4px; }
.pfv-ai-card p { margin: 2px 0 0; font-size: 13.5px; color: #3d5f5a; }
.pfv-ai-card > div { flex: 1; }
.pfv-ai-card-ico { font-size: 30px; }
.pfv-ai-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 999px; background: var(--ai-o); color: #fff !important; font: 800 14px "Nunito", sans-serif; text-decoration: none; white-space: nowrap; }
.pfv-ai-btn:hover { background: var(--ai-od); }
.pfv-ai-sos { flex-direction: column; align-items: stretch; background: #fff1f2; border-color: #fecdd3; }
.pfv-ai-sos strong { color: #be123c; }
.pfv-ai-sos p { color: #7f1d1d; }
.pfv-ai-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pfv-ai-btn-red { background: #e11d48; }
.pfv-ai-btn-red:hover { background: #be123c; }

.pfv-ai-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px; border-top: 1px solid var(--ai-line); background: #fff; }
.pfv-ai-form textarea { flex: 1; resize: none; border: 2px solid var(--ai-line); border-radius: 18px; padding: 11px 14px; font: 600 15.5px "Nunito", sans-serif; color: var(--ai-ink); max-height: 140px; line-height: 1.4; }
.pfv-ai-form textarea:focus { outline: none; border-color: var(--ai-o); }
.pfv-ai-send { width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%; background: var(--ai-o); color: #fff; font-size: 18px; cursor: pointer; }
.pfv-ai-send:hover { background: var(--ai-od); }

.pfv-ai-cta { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 20px; background: var(--ai-ink); color: #fff !important; text-decoration: none; }
.pfv-ai-cta > span:first-child { font-size: 28px; }
.pfv-ai-cta > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.pfv-ai-cta small { color: #e9dccb; }
.pfv-ai-cta em { font-style: normal; font-weight: 800; padding: 9px 16px; border-radius: 999px; background: var(--ai-o); }
.pfv-ai-disclaimer { margin: 12px 4px 0; font-size: 12.5px; color: var(--ai-mut); text-align: center; }

@media (max-width: 600px) {
	.pfv-ai { padding-top: 12px; }
	.pfv-ai-head { gap: 10px; }
	.pfv-ai-badge { width: 48px; height: 48px; font-size: 26px; border-radius: 14px; }
	.pfv-ai-head p { font-size: 14px; }
	.pfv-ai-box { height: calc(100vh - 290px); min-height: 380px; border-radius: 20px; }
	.pfv-ai-bubble { max-width: 90%; }
	.pfv-ai-card { flex-wrap: wrap; }
	.pfv-ai-card .pfv-ai-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pfv-ai-dots i { animation: none; } }

/* SEO article + FAQ */
.pfv-seo { margin-top: 34px; color: #4a3d31; font-size: 16px; line-height: 1.75; }
.pfv-seo-article { background: #fff; border: 1px solid #f0e2cf; border-radius: 24px; padding: 26px; }
.pfv-seo h2 { font-family: "Baloo 2", "Nunito", sans-serif; color: #2b2118; font-size: 24px; line-height: 1.2; margin: 22px 0 10px; }
.pfv-seo-article > h2:first-child { margin-top: 0; font-size: 28px; }
.pfv-seo p { margin: 0 0 12px; }
.pfv-seo-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.pfv-seo-list li { position: relative; padding-left: 30px; }
.pfv-seo-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%; background: #14b8a6; color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.pfv-seo-steps { margin: 0 0 14px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.pfv-seo-steps li { counter-increment: s; position: relative; padding-left: 40px; min-height: 28px; }
.pfv-seo-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #ff7a1a; color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.pfv-seo-faq { margin-top: 18px; }
.pfv-seo-faq h2 { margin-top: 0; }
.pfv-seo-faq details { background: #fff; border: 1px solid #f0e2cf; border-radius: 16px; margin-bottom: 8px; }
.pfv-seo-faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 800; color: #2b2118; position: relative; }
.pfv-seo-faq summary::-webkit-details-marker { display: none; }
.pfv-seo-faq summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 22px; color: #ff7a1a; }
.pfv-seo-faq details[open] summary::after { content: "–"; }
.pfv-seo-faq details p { padding: 0 16px 14px; margin: 0; }
@media (max-width: 600px) { .pfv-seo-article { padding: 18px; border-radius: 18px; } .pfv-seo h2 { font-size: 21px; } }
