/* Public vet pages: /vets/, a vet's page, the cards and the home slider. Uses the theme's colours when present. */
.vp, .pfvp-home { --vo: var(--o, #ff7a1a); --vod: var(--o-d, #e5620a); --vt: var(--t, #14b8a6); --vink: var(--ink, #2b2118); --vmut: var(--mut, #7a6a5c); --vline: var(--line, #f0e2cf); --vcream: var(--cream, #fff8ee); }
.vp-wrap { max-width: 1100px; margin: 0 auto; padding: 16px 16px 96px; color: var(--vink); }
.vp-crumbs { font-size: 13px; color: var(--vmut); margin: 0 0 10px; }
.vp-banner { padding: 11px 14px; margin: 0 0 12px; border-radius: 12px; background: #fff6e0; border: 1.5px solid #f6c453; font-weight: 700; }
.vp-card { background: #fff; border: 1.5px solid var(--vline); border-radius: 18px; padding: 18px; margin: 0 0 14px; box-shadow: 0 6px 18px rgba(120, 60, 0, .07); }
.vp-card h2 { font-size: 20px; margin: 0 0 8px; }
.vp-fine { font-size: 13px; color: var(--vmut); margin: 8px 0 0; }
.vp-disc { margin: 18px 0 0; text-align: center; }

/* buttons */
.vp-btn { display: inline-block; padding: 11px 18px; border: 0; border-radius: 999px; background: var(--vo); color: #fff; font-family: inherit; font-weight: 800; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; }
.vp-btn:hover { background: var(--vod); color: #fff; }
.vp-btn-sm { padding: 8px 14px; font-size: 14px; }
.vp-btn-ghost { background: #fff; color: var(--vink); border: 1.5px solid var(--vline); }
.vp-btn-ghost:hover { background: var(--vcream); color: var(--vink); }
.vp-btn-wa { background: #1faa59; }
.vp-btn-wa:hover { background: #178a47; }

/* hero */
.vp-hero { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: start; }
.vp-photo { position: relative; overflow: hidden; border-radius: 20px; background: linear-gradient(135deg, #c9f3ec, #ffe4c7); }
.vp-photo::before { content: ""; display: block; padding-top: 100%; }
.vp-photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.vp-initial { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: grid; place-items: center; font-size: 84px; font-weight: 800; color: #0b6b60; }
.vp-flags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.vp-pill { padding: 3px 11px; border-radius: 999px; background: #eee; font-family: inherit; font-weight: 800; font-size: 12px; line-height: 1.5; }
.vp-pill.is-on { background: #e1f6f3; color: #0b6b60; }
.vp-pill.is-ok { background: #e7f6e9; color: #1d6b2b; }
.vp-id h1 { font-size: clamp(26px, 4vw, 38px); margin: 2px 0 4px; }
.vp-qual { margin: 0 0 8px; font-weight: 700; color: var(--vmut); }
.vp-facts { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; font-weight: 700; }
.vp-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-warn { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff6e0; border: 1.5px solid #f6c453; font-weight: 700; }

/* trust, about, timeline, questions */
.vp-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; text-align: center; }
.vp-trust b { display: block; font-size: 26px; color: var(--vod); }
.vp-trust span { font-size: 13px; color: var(--vmut); font-weight: 700; }
.vp-about p { margin: 0 0 .8em; line-height: 1.6; }
.vp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; }
.vp-chips li { padding: 3px 10px; border-radius: 999px; background: var(--vcream); border: 1px solid var(--vline); font-family: inherit; font-weight: 800; font-size: 12px; line-height: 1.5; }
.vp-chips li.is-lang { background: #e8f0ff; border-color: #cddcff; color: #1f3f9a; }
.vp-chips li.is-pet { background: #fff0e0; border-color: #ffd9b0; color: #8a4a00; }
.vp-chips li.is-skill { background: #e1f6f3; border-color: #b6e8e1; color: #0b6b60; }
.vp-timeline { list-style: none; margin: 0 0 0 6px; padding: 0 0 0 16px; border-left: 3px solid var(--vline); display: grid; gap: 10px; }
.vp-timeline li { position: relative; font-weight: 700; }
.vp-timeline li::before { content: ""; position: absolute; left: -24px; top: .45em; width: 11px; height: 11px; border-radius: 50%; background: var(--vo); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--vline); }
.vp-faq details { border-top: 1px solid var(--vline); padding: 10px 0; }
.vp-faq details:first-of-type { border-top: 0; }
.vp-faq summary { cursor: pointer; font-weight: 800; }
.vp-faq p { margin: 8px 0 0; }
.vp-more h2 { font-size: 20px; margin: 18px 0 10px; }

/* directory */
.vp-head h1 { font-size: clamp(28px, 4.2vw, 40px); margin: 4px 0 6px; }
.vp-sub { margin: 0 0 14px; color: var(--vmut); max-width: 62ch; }
.vp-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.vp-filters select { padding: 10px 12px; border: 1.5px solid var(--vline); border-radius: 12px; background: #fff; font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; }
.vp-citylist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; }
.vp-citylist a { display: inline-block; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--vline); font-weight: 800; text-decoration: none; color: var(--vink); }
.vp-citylist b { color: var(--vod); }
.vp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.vp-empty { text-align: center; padding: 28px 12px; background: #fff; border: 1.5px dashed var(--vline); border-radius: 18px; }

/* the card (directory, related vets, home slider) */
.vp-vcard { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1.5px solid var(--vline); border-radius: 18px; box-shadow: 0 6px 18px rgba(120, 60, 0, .07); }
.vp-vphoto { position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, #c9f3ec, #ffe4c7); }
.vp-vphoto::before { content: ""; display: block; padding-top: 82%; }
.vp-vphoto img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; max-width: none; display: block; }
.vp-vphoto .vp-initial { font-size: 64px; }
.vp-live { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; background: #fff; color: #0b6b60; font-family: inherit; font-weight: 800; font-size: 12px; line-height: 1.5; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.vp-live::before { content: "●"; color: #1faa59; margin-right: 4px; }
.vp-vbody { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.vp-vbody h3 { font-size: 18px; margin: 0; }
.vp-vbody h3 a { color: inherit; text-decoration: none; }
.vp-tick { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--vt); color: #fff; font-size: 11px; vertical-align: middle; }
.vp-vbody .vp-qual { margin: 0; font-size: 13px; }
.vp-meta { margin: 0; font-size: 13px; font-weight: 800; }
.vp-vbody .vp-chips { margin: 2px 0 0; }
.vp-done { margin: 2px 0 0; font-size: 13px; font-weight: 800; color: var(--vt); }
.vp-acts { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.vp-acts .vp-btn { flex: 1; display: flex; align-items: center; justify-content: center; }

/* the "earn" box: shown to vets */
.vp-earn { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; margin: 22px 0 0; padding: 20px; border-radius: 20px; background: linear-gradient(135deg, #e1f6f3, #fff0e0); border: 1.5px solid #b6e8e1; }
.vp-earn-amt { text-align: center; }
.vp-earn-amt span { display: block; font-weight: 800; color: var(--vmut); }
.vp-earn-amt b { display: block; font-size: 54px; line-height: 1.1; color: var(--vod); }
.vp-earn-txt h2 { font-size: 20px; margin: 0 0 6px; }
.vp-earn-txt ul { margin: 0 0 10px; padding-left: 18px; display: grid; gap: 3px; }
.vp-earn-note { margin: 0 0 10px; font-weight: 800; color: #0b6b60; }

/* sticky "Book" bar on phones */
.vp-sticky { display: none; }

/* home slider */
.vp-railbox { position: relative; }
.vp-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.vp-rail::-webkit-scrollbar { display: none; }
.vp-rail > .vp-vcard { flex: 0 0 min(300px, 82%); scroll-snap-align: start; }
.vp-rail-btn { position: absolute; top: 34%; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--vline); background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); font-family: inherit; font-weight: 800; font-size: 22px; line-height: 1; color: var(--vink); cursor: pointer; display: none; }
.vp-rail-btn.is-prev { left: -14px; }
.vp-rail-btn.is-next { right: -14px; }
.vp-rail-btn[disabled] { opacity: .35; cursor: default; }
.vp-dots { display: flex; justify-content: center; gap: 2px; margin-top: 2px; }
.vp-dots button { box-sizing: content-box; width: 8px; height: 8px; padding: 7px 4px; border: 0; background: #e6cfae; background-clip: content-box; border-radius: 999px; cursor: pointer; transition: width .25s ease; }
.vp-dots button[aria-current="true"] { width: 24px; background-color: var(--vo); background-clip: content-box; }
@media (min-width: 720px) {
	.vp-rail > .vp-vcard { flex-basis: calc((100% - 28px) / 3); }
	.vp-rail-btn { display: grid; place-items: center; }
}
@media (min-width: 1100px) { .vp-rail > .vp-vcard { flex-basis: calc((100% - 42px) / 4); } }
@media (max-width: 720px) {
	.vp-hero { grid-template-columns: 1fr; }
	.vp-photo { max-width: 260px; }
	.vp-earn { grid-template-columns: 1fr; }
	.vp-sticky { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar, 0px) + env(safe-area-inset-bottom, 0px)); z-index: 65; padding: 10px 12px; background: rgba(255, 255, 255, .97); border-top: 1.5px solid var(--vline); box-shadow: 0 -6px 18px rgba(0, 0, 0, .06); }
	.vp-wrap { padding-bottom: calc(150px + var(--tabbar, 0px)); }
	.vp-sticky .vp-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .vp-rail { scroll-behavior: auto; } }
