/* =========================================================
   PetoFast theme — shares its design tokens with the
   PetoFast Partner plugin's store pages.
   ========================================================= */
:root {
	--o: #ff7a1a;        /* awning orange — primary actions */
	--o-d: #e5620a;
	--pk: #ff5c8a;       /* sale / highlights */
	--t: #14b8a6;        /* trust, success */
	--y: #ffc93c;        /* sunny accent */
	--cream: #fff8ee;    /* page */
	--card: #ffffff;
	--ink: #2b2118;      /* warm dark brown text */
	--mut: #7a6a5c;
	--line: #f0e2cf;
	--r-sm: 10px;
	--r: 16px;
	--r-lg: 28px;
	--shadow: 0 6px 18px rgba(120, 60, 0, .08);
	--head: "Baloo 2", "Nunito", system-ui, sans-serif;
	--body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1200px;
	--tabbar: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--o-d); }
a:hover { color: var(--o); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
:focus-visible { outline: 3px solid var(--o); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.pf-skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.pf-skip:focus { left: 8px; }
.pf-container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.pf-ico { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* ---------- Buttons (incl. WooCommerce buttons) ---------- */
.pf-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: 800 15px/1.2 var(--body); text-decoration: none; text-align: center;
	color: #fff; background: var(--o); border: 0; border-radius: 999px;
	padding: 12px 22px; cursor: pointer; transition: background .15s, transform .15s;
}
.pf-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
	background: var(--o-d); color: #fff;
}
.pf-btn:active, .woocommerce .button:active { transform: scale(.97); }
.woocommerce button.button:disabled, .woocommerce button.button.disabled, .woocommerce a.button.disabled { opacity: .5; background: var(--o); }
.pf-btn-lg { padding: 16px 30px; font-size: 17px; }
.pf-btn-light { background: #fff; color: var(--o-d); }
.pf-btn-light:hover { background: var(--cream); color: var(--o-d); }
.pf-link { font-weight: 800; text-decoration: none; }
.pf-icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; position: relative; text-decoration: none; }
.pf-icon-btn:hover { background: rgba(255, 122, 26, .1); color: var(--ink); }

/* ---------- Announcement + header ---------- */
.pf-announce { background: var(--ink); color: #fff; text-align: center; font-size: 13px; font-weight: 700; padding: 7px 12px; }
.pf-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 248, 238, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.pf-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 16px rgba(120, 60, 0, .06); }
.pf-header-in { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.pf-menu-toggle { display: none; }
.pf-logo a { display: inline-flex; align-items: center; gap: 6px; font: 800 26px/1 var(--head); color: var(--o); text-decoration: none; }
.pf-logo img { max-height: 48px; width: auto; }
.pf-logo-paw { font-size: 22px; }
.pf-search { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 0 16px; transition: border-color .15s; }
.pf-search:focus-within { border-color: var(--o); }
.pf-search .pf-ico { color: var(--mut); width: 20px; }
.pf-search input { flex: 1; border: 0; background: transparent; font: 600 15px var(--body); padding: 11px 0; color: var(--ink); min-width: 0; }
.pf-search input:focus { outline: none; }
.pf-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.pf-nav a { display: block; padding: 8px 12px; border-radius: 999px; font-weight: 800; color: var(--ink); text-decoration: none; }
.pf-nav a:hover, .pf-nav .current-menu-item > a { background: rgba(255, 122, 26, .12); color: var(--o-d); }
.pf-header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.pf-cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--pk); color: #fff; font: 800 11px/19px var(--body); text-align: center; }
.pf-cart-count.is-empty { display: none; }
.pf-cart-count.bump { animation: pf-bump .45s ease; }

/* Drawer */
.pf-drawer { position: fixed; inset: 0; z-index: 90; background: rgba(43, 33, 24, .45); }
.pf-drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(330px, 86vw); background: var(--cream); padding: 16px 18px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; animation: pf-slide-in .22s ease-out; }
.pf-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-family: var(--head); font-size: 22px; color: var(--o); }
.pf-drawer-menu { list-style: none; margin: 0 0 12px; padding: 0; }
.pf-drawer-menu a { display: block; padding: 12px 6px; border-bottom: 1px solid var(--line); font-weight: 800; color: var(--ink); text-decoration: none; }
.pf-drawer-label { margin: 18px 0 2px; font-size: 13px; color: var(--mut); font-weight: 800; }
.pf-drawer-join { display: block; margin-top: 18px; padding: 14px; border-radius: var(--r); background: var(--o); color: #fff; font-weight: 800; text-decoration: none; text-align: center; }

/* ---------- Sections ---------- */
.pf-section { padding: 48px 0; }
.pf-h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; }
.pf-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.pf-section-head .pf-h2 { margin: 0; }

/* Shop by pet */
.pf-pet-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 16px; }
.pf-pet { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; text-align: center; }
.pf-pet-circle { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #fff; border: 3px solid var(--line); transition: border-color .15s, transform .15s; }
.pf-pet:nth-child(4n+1) .pf-pet-circle { background: #ffe9d2; }
.pf-pet:nth-child(4n+2) .pf-pet-circle { background: #ffe1ea; }
.pf-pet:nth-child(4n+3) .pf-pet-circle { background: #dff6f2; }
.pf-pet:nth-child(4n+4) .pf-pet-circle { background: #fff1c7; }
.pf-pet-circle img { width: 100%; height: 100%; object-fit: cover; }
.pf-pet-emoji { font-size: 52px; }
.pf-pet:hover .pf-pet-circle { border-color: var(--o); transform: translateY(-3px); }
.pf-pet:hover { color: var(--o-d); }

/* How it works */
.pf-how { background: #fff; }
.pf-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: none; }
.pf-steps li { position: relative; }
.pf-step-n { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--o); color: #fff; font: 800 24px/1 var(--head); margin-bottom: 12px; }
.pf-steps li:nth-child(2) .pf-step-n { background: var(--pk); }
.pf-steps li:nth-child(3) .pf-step-n { background: var(--t); }
.pf-steps h3 { font-size: 22px; margin-bottom: 6px; }
.pf-steps p { margin: 0; color: var(--mut); }

/* Partner stores */
.pf-store-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.pf-store { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.pf-store:hover { border-color: var(--o); color: var(--ink); }
.pf-store-logo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--y), var(--o)); color: #fff; font: 800 28px var(--head); }
.pf-store-logo img { width: 100%; height: 100%; object-fit: cover; }
.pf-store-name { font-weight: 800; line-height: 1.3; }
.pf-store-area { font-size: 13px; color: var(--mut); }

/* Join banner */
.pf-join-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.pf-join-in h2 { color: var(--y); font-size: clamp(26px, 3.4vw, 34px); }
.pf-join-in p { margin: 0; max-width: 46em; color: #f3e6d6; }

/* ---------- Product grid & cards ---------- */
.woocommerce ul.products, .woocommerce-page ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0 0 24px !important; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0; }
.pf-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.pf-card:hover { border-color: #ffc9a0; box-shadow: var(--shadow); }
.pf-card-media { position: relative; display: block; aspect-ratio: 1; background: #fff; }
.pf-card-media img { width: 100% !important; height: 100% !important; object-fit: contain; padding: 12px; margin: 0 !important; }
.woocommerce span.onsale { position: absolute; top: 10px; left: 10px; right: auto; min-width: 0; min-height: 0; margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--pk); color: #fff; font: 800 13px/1.4 var(--body); z-index: 2; }
.pf-card-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.pf-card-title { text-decoration: none; color: var(--ink); }
.pf-card-title h3.woocommerce-loop-product__title { font: 700 15px/1.35 var(--body) !important; padding: 0 !important; margin: 0 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pf-card .price { color: var(--ink) !important; font: 800 17px/1.3 var(--body) !important; margin-top: auto !important; }
.pf-card .price del { color: var(--mut); font-weight: 600; font-size: 14px; opacity: 1; }
.pf-card .price ins { text-decoration: none; color: var(--o-d); }
.pf-card .star-rating { font-size: 12px; margin: 0 !important; color: var(--y); }
.pf-card a.button { width: 100%; margin-top: 6px !important; padding: 11px 12px; font-size: 14px; }
.pf-card a.button.loading { opacity: .7; }
.pf-card a.added_to_cart { display: block; text-align: center; font-weight: 800; font-size: 13px; padding-top: 6px; text-decoration: none; }

/* ---------- Shop page ---------- */
.pf-main { padding-top: 24px; padding-bottom: 48px; }
.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--mut); margin: 0 0 10px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--mut); }
.woocommerce-products-header__title.page-title, .pf-page-title { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; margin: 0 0 14px; }
.term-description { color: var(--mut); max-width: 60em; }
.pf-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; margin-bottom: 4px; scrollbar-width: none; }
.pf-chips::-webkit-scrollbar { display: none; }
.pf-chip { flex: none; padding: 8px 16px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-weight: 800; font-size: 14px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.pf-chip:hover { border-color: var(--o); color: var(--ink); }
.pf-chip.is-active { background: var(--o); border-color: var(--o); color: #fff; }
.pf-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.woocommerce .woocommerce-result-count { margin: 0; color: var(--mut); font-size: 14px; float: none; }
.woocommerce .woocommerce-ordering { margin: 0; float: none; }
.woocommerce .woocommerce-ordering select { appearance: none; -webkit-appearance: none; padding: 9px 36px 9px 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%237a6a5c' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 10px center / 20px; font: 700 14px var(--body); color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; justify-content: center; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; padding: 10px 12px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-weight: 800; color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--o); border-color: var(--o); color: #fff; }

/* ---------- Single product ---------- */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto !important; float: none !important; margin: 0 !important; }
.single-product div.product .woocommerce-tabs, .single-product div.product .related, .single-product div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.woocommerce div.product div.images img { object-fit: contain; }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 72px !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: var(--r-sm); border: 2px solid var(--line); opacity: .7; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active { border-color: var(--o); opacity: 1; }
.woocommerce div.product .product_title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font: 800 30px/1.2 var(--body); }
.woocommerce div.product p.price del { color: var(--mut); font-size: 20px; opacity: 1; }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--o-d); }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--mut); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0 !important; }
.woocommerce div.product form.cart .button { flex: 1; min-width: 180px; padding: 16px 26px; font-size: 17px; }
.woocommerce div.product form.cart div.quantity { margin: 0 !important; float: none; }
.woocommerce div.product form.variations_form { display: block; }
.woocommerce div.product form.cart .variations { margin-bottom: 10px; }
.woocommerce div.product form.cart .variations select { border-radius: var(--r-sm); border: 2px solid var(--line); padding: 10px; font: 700 15px var(--body); }
.woocommerce .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; gap: 12px; flex-wrap: wrap; }
.woocommerce div.product .stock { font-weight: 800; }
.woocommerce div.product .stock.in-stock { color: var(--t); }
.woocommerce div.product .stock.out-of-stock { color: #c2410c; }
.product_meta { font-size: 14px; color: var(--mut); display: grid; gap: 4px; }

/* Quantity +/- */
.quantity { display: inline-flex; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; }
.quantity .qty { width: 48px !important; border: 0 !important; background: transparent; text-align: center; font: 800 16px var(--body); padding: 12px 0 !important; -moz-appearance: textfield; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pf-qty-btn { width: 42px; height: 48px; border: 0; background: transparent; font: 800 22px var(--body); color: var(--o-d); cursor: pointer; }
.pf-qty-btn:hover { background: var(--cream); }

/* Delivery promise */
.pf-promise { list-style: none; padding: 16px; margin: 0 0 20px; display: grid; gap: 10px; background: #fff; border: 1px dashed #ffc9a0; border-radius: var(--r); }
.pf-promise li { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.pf-promise .pf-ico { color: var(--o); }

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 16px !important; display: flex; gap: 8px; overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 2px solid var(--line) !important; background: #fff !important; border-radius: 999px !important; margin: 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 9px 18px !important; font-weight: 800 !important; color: var(--ink) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--ink) !important; border-color: var(--ink) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.woocommerce div.product .woocommerce-tabs .panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { font-size: 22px; }
.related > h2, .upsells > h2 { font-size: 28px; margin-top: 20px; }

/* Sticky buy bar (mobile) */
.pf-sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(120, 60, 0, .1); transform: translateY(110%); transition: transform .25s; }
.pf-sticky-buy.is-visible { transform: none; }
.pf-sticky-buy img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: var(--cream); }
.pf-sticky-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pf-sticky-name { font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-sticky-price { font-weight: 800; color: var(--o-d); font-size: 15px; }
.pf-sticky-price del { color: var(--mut); font-size: 12px; }
.pf-sticky-price ins { text-decoration: none; }

/* ---------- Notices, forms, cart, checkout, account ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notices-wrapper .wc-block-components-notice-banner {
	border: 0 !important; border-radius: var(--r) !important; background: #fff !important; box-shadow: var(--shadow); padding: 16px 18px 16px 52px !important; font-weight: 700;
}
.woocommerce-message { border-left: 6px solid var(--t) !important; }
.woocommerce-info { border-left: 6px solid var(--y) !important; }
.woocommerce-error { border-left: 6px solid #e11d48 !important; }
.woocommerce-message::before { color: var(--t) !important; }
.woocommerce-info::before { color: #d79b00 !important; }
.woocommerce-message .button, .woocommerce-info .button { float: right; padding: 8px 16px; font-size: 13px; }

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection, .pf-searchform input[type=search], .comment-form input, .comment-form textarea {
	border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; padding: 12px 14px; font: 600 15px var(--body); color: var(--ink); width: 100%;
}
.woocommerce .select2-container .select2-selection--single { height: auto; }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 1.6; padding: 0; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { top: 50%; transform: translateY(-50%); }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce form .form-row select:focus { border-color: var(--o); outline: none; }
.woocommerce form .form-row label { font-weight: 800; font-size: 14px; }
.woocommerce form .form-row .required { color: var(--pk); }

.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--r); background: #fff; border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { font-weight: 800; background: #fffaf2; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-top-color: var(--line); padding: 14px; }
.woocommerce table.cart img { width: 72px; border-radius: var(--r-sm); background: var(--cream); }
.woocommerce table.cart td.actions .coupon .input-text { width: 160px; border: 2px solid var(--line); border-radius: 999px; padding: 10px 14px; margin-right: 6px; }
.woocommerce a.remove { color: var(--mut) !important; font-size: 22px; }
.woocommerce a.remove:hover { background: #ffe1ea; color: #e11d48 !important; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout-review-order { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.woocommerce .cart-collaterals .cart_totals table { border: 0; }
.woocommerce .cart-collaterals .cart_totals h2, #order_review_heading { font-size: 24px; }
.wc-proceed-to-checkout a.checkout-button { width: 100%; padding: 18px !important; font-size: 18px !important; }
.woocommerce-checkout #payment { background: #fffaf2 !important; border-radius: var(--r) !important; }
.woocommerce-checkout #payment div.payment_box { background: #fff !important; border-radius: var(--r-sm); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff !important; }
#place_order { width: 100%; padding: 18px !important; font-size: 18px !important; }
.woocommerce-checkout h3 { font-size: 24px; }

/* Block-based cart/checkout (if used) */
.wc-block-cart, .wc-block-checkout { font-family: var(--body); }
.wc-block-components-totals-wrapper, .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block { border-color: var(--line) !important; }

/* ---------- Content pages & blog ---------- */
.pf-page .pf-content { max-width: 760px; }
.pf-content p, .pf-content li { font-size: 17px; }
.pf-meta { color: var(--mut); margin-top: -6px; }
.pf-featured img { border-radius: var(--r-lg); margin-bottom: 20px; }
.pf-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.pf-post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pf-post-thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pf-post-body { padding: 16px; }
.pf-post-body h2 { font-size: 22px; }
.pf-post-body h2 a { color: var(--ink); text-decoration: none; }
.pf-post-body p { margin: 0; color: var(--mut); }
.pf-searchform { display: flex; gap: 8px; max-width: 520px; margin: 16px 0; }
.pf-404 { text-align: center; padding-top: 60px; }
.pf-404 .pf-searchform { margin: 20px auto; }
.pf-404-dog { font-size: 96px; animation: pf-sniff 2.4s ease-in-out infinite; }

/* ---------- Footer & tab bar ---------- */
.pf-footer { background: var(--ink); color: #f3e6d6; margin-top: 40px; padding: 48px 0 calc(24px + var(--tabbar)); }
.pf-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.pf-footer-logo { font: 800 26px var(--head); color: #fff; text-decoration: none; }
.pf-footer p { color: #d9c8b4; font-size: 15px; }
.pf-footer h3, .pf-widget-title { color: #fff; font-size: 20px; }
.pf-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pf-footer a { color: #f3e6d6; text-decoration: none; }
.pf-footer a:hover { color: var(--y); }
.pf-footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #b9a690; }
.pf-tabbar { display: none; }

/* ---------- Motion ---------- */
@keyframes pf-bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes pf-slide-in { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes pf-sniff { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(14px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.pf-nav { display: none; }
	.pf-menu-toggle { display: inline-grid; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pf-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
	.pf-header-in { flex-wrap: wrap; min-height: 0; padding-top: 8px; padding-bottom: 10px; gap: 6px 8px; }
	.pf-logo { flex: 1; }
	.pf-logo a { font-size: 22px; }
	.pf-search { order: 5; flex-basis: 100%; max-width: none; }
	.pf-hide-sm { display: none; }
	.pf-section { padding: 34px 0; }
	.pf-pet-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 92px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
	.pf-pet-row::-webkit-scrollbar { display: none; }
	.pf-pet-circle { width: 84px; height: 84px; }
	.pf-pet-emoji { font-size: 42px; }
	.pf-steps { grid-template-columns: 1fr; gap: 20px; }
	.pf-join-in { flex-direction: column; align-items: flex-start; padding: 26px; }
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.pf-card-body { padding: 10px; }
	.pf-card-title h3.woocommerce-loop-product__title { font-size: 14px !important; }
	.pf-card .price { font-size: 15px !important; }
	.pf-card a.button { padding: 10px 8px; font-size: 13px; }
	.single-product div.product { grid-template-columns: 1fr; gap: 20px; }
	.pf-sticky-buy { display: flex; bottom: var(--tabbar); padding-bottom: 10px; }
	.single-product .pf-tabbar { display: none !important; }
	.single-product .pf-sticky-buy { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
	.pf-toolbar { flex-wrap: wrap; }
	.woocommerce table.shop_table_responsive tr td { padding: 10px 14px; }
	.pf-footer-grid { grid-template-columns: 1fr; gap: 24px; }

	.pf-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; height: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(120, 60, 0, .06); }
	.pf-tabbar a, .pf-tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; position: relative; border: 0; background: none; font: 800 11px var(--body); color: var(--mut); text-decoration: none; cursor: pointer; }
	.pf-tabbar .is-active { color: var(--o); }
	.pf-tabbar .pf-cart-count { top: 6px; right: calc(50% - 22px); }
	body { padding-bottom: 0; }
	.single-product .pf-footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   v1.1 — customer-first home, account & pets
   ========================================================= */
.pf-btn-sm { padding: 8px 14px; font-size: 13px; }
.pf-danger { color: #c2410c; background: none; border: 0; cursor: pointer; font: 800 14px var(--body); padding: 0; }

/* Vet card */
.pf-vet-sec { padding-top: 8px; }
.pf-vet { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--t); color: #fff; text-decoration: none; }
.pf-vet:hover { color: #fff; background: #0f9e8f; }
.pf-vet-ico { flex: none; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 34px; }
.pf-vet-copy { flex: 1; display: flex; flex-direction: column; }
.pf-vet-copy strong { font: 800 24px/1.15 var(--head); }
.pf-vet-copy span { opacity: .92; }
.pf-vet .pf-btn-light { color: #0f8a7e; }

/* Product rails: grid on desktop, swipe on mobile */
.pf-rail ul.products { margin-bottom: 0 !important; }

/* Shop by need */
.pf-need-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.pf-need { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 800; text-align: center; transition: border-color .15s; }
.pf-need:hover { border-color: var(--o); color: var(--ink); }
.pf-need-img { width: 72px; height: 72px; border-radius: var(--r); overflow: hidden; display: grid; place-items: center; background: var(--cream); font-size: 38px; }
.pf-need-img img { width: 100%; height: 100%; object-fit: cover; }

/* Services */
.pf-srv-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pf-srv { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 2px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 800; }
.pf-srv:hover { border-color: var(--t); color: var(--ink); }
.pf-srv-ico { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #dff6f2; font-size: 19px; }

/* Deals */
.pf-deal-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.pf-deal { display: flex; flex-direction: column; padding: 20px 22px; border-radius: var(--r-lg); text-decoration: none; color: #fff; }
.pf-deal small { font-weight: 800; opacity: .9; }
.pf-deal strong { font: 800 clamp(26px, 4vw, 38px)/1.05 var(--head); }
.pf-deal-a { background: var(--pk); }
.pf-deal-b { background: var(--o); }
.pf-deal:hover { color: #fff; filter: brightness(.96); }

/* Brands */
.pf-brand-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.pf-brand { height: 76px; display: grid; place-items: center; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 800; text-align: center; line-height: 1.2; }
.pf-brand img { max-height: 52px; width: auto; object-fit: contain; }
.pf-brand:hover { border-color: var(--o); color: var(--ink); }

/* Why choose us */
.pf-why { background: #fff; }
.pf-why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.pf-why-grid li { display: flex; flex-direction: column; gap: 4px; }
.pf-why-ico { font-size: 30px; line-height: 1; margin-bottom: 6px; }
.pf-why-grid strong { font: 800 20px/1.2 var(--head); }
.pf-why-grid span:not(.pf-why-ico) { color: var(--mut); }
.pf-why-grid a { font-weight: 800; }

/* Free delivery progress */
.pf-free-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 18px; }
.pf-free-bar p { margin: 0 0 8px; font-weight: 700; }
.pf-free-track { height: 10px; border-radius: 999px; background: var(--cream); overflow: hidden; }
.pf-free-track span { display: block; height: 100%; border-radius: 999px; background: var(--o); transition: width .4s; }
.pf-free-bar.is-done .pf-free-track span { background: var(--t); }

/* Footer bottom */
.pf-footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pf-footer-bottom a { color: #b9a690; }

/* ---------- My Account ---------- */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: auto !important; float: none !important; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }

.pf-dash { display: grid; gap: 18px; }
.pf-dash-hello h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 2px; }
.pf-dash-hello p { margin: 0; color: var(--mut); }
.pf-dash-order { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--ink); color: #fff; border-radius: var(--r); text-decoration: none; }
.pf-dash-order:hover { color: #fff; }
.pf-dash-order-ico { font-size: 28px; }
.pf-dash-order > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.pf-dash-order small { color: #e9dccb; }
.pf-dash-go { padding: 8px 16px; border-radius: 999px; background: var(--o); font-weight: 800; }
.pf-dash-tiles a { display: flex; flex-direction: column; gap: 2px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.pf-dash-tiles a:hover { border-color: var(--o); color: var(--ink); }
.pf-dash-tiles span { font-size: 26px; margin-bottom: 4px; }
.pf-dash-tiles small { color: var(--mut); }
.pf-dash-pets { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.pf-dash-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.pf-dash-head h3 { margin: 0; font-size: 22px; }
.pf-dash-head a { font-weight: 800; text-decoration: none; }
.pf-dash-empty { margin: 0; color: var(--mut); }
.pf-dash-petrow { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.pf-mini-pet { flex: none; width: 160px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 10px; border-radius: var(--r); background: var(--cream); }
.pf-pet-ava { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #fff; font-size: 34px; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.pf-pet-ava img { width: 100%; height: 100%; object-fit: cover; }
.pf-pet-ava-lg { width: 96px; height: 96px; font-size: 50px; flex: none; }
.pf-bday { color: var(--pk); font-weight: 800; }
.pf-dash-care { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf-dash-care a { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r); background: #dff6f2; text-decoration: none; color: var(--ink); }
.pf-dash-care a:hover { background: #ccefe9; color: var(--ink); }
.pf-dash-care span { font-size: 26px; }

/* My pets */
.pf-pets-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.pf-pets-head p { margin: 0; color: var(--mut); }
.pf-pet-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pf-pet-card { display: flex; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.pf-pet-info { flex: 1; min-width: 0; }
.pf-pet-info h3 { margin: 0; font-size: 24px; }
.pf-pet-sub { margin: 0 0 8px; color: var(--mut); }
.pf-pet-facts { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pf-pet-facts li { padding: 3px 10px; border-radius: 999px; background: var(--cream); font-weight: 700; font-size: 13px; }
.pf-pet-notes { font-size: 14px; color: var(--mut); margin: 0 0 10px; }
.pf-pet-actions { display: flex; align-items: center; gap: 14px; }
.pf-pet-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.pf-pet-form h3 { font-size: 26px; }
.pf-type-pick { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.pf-type-pick legend { font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.pf-type-pick label { cursor: pointer; }
.pf-type-pick input { position: absolute; opacity: 0; }
.pf-type-pick span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--line); font-weight: 800; background: #fff; }
.pf-type-pick b { font-size: 20px; }
.pf-type-pick input:checked + span { border-color: var(--o); background: #fff1df; }
.pf-type-pick input:focus-visible + span { outline: 3px solid var(--o); outline-offset: 2px; }
.pf-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.pf-form-grid .form-row { margin: 0 0 14px; display: flex; flex-direction: column; gap: 4px; }
.pf-form-grid label { font-weight: 800; font-size: 14px; }
.pf-form-grid .input-text, .pf-form-grid select { border: 2px solid var(--line); border-radius: var(--r-sm); padding: 11px 12px; font: 600 15px var(--body); background: #fff; color: var(--ink); width: 100%; }
.pf-form-grid .input-text:focus, .pf-form-grid select:focus { border-color: var(--o); outline: none; }
.pf-wide { grid-column: 1 / -1; }
.pf-pet-form-actions { display: flex; align-items: center; gap: 16px; }
.pf-pet-delete { margin-top: 14px; }

@media (max-width: 1024px) {
}
@media (max-width: 782px) {
	.pf-vet { flex-wrap: wrap; padding: 18px; }
	.pf-vet .pf-btn { width: 100%; }
	.pf-rail ul.products { display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
	.pf-rail ul.products::-webkit-scrollbar { display: none; }
	.pf-rail ul.products li.product { scroll-snap-align: start; }
	.pf-need-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.pf-need { padding: 12px 6px; font-size: 14px; }
	.pf-need-img { width: 56px; height: 56px; font-size: 30px; }
	.pf-srv-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
	.pf-srv-row::-webkit-scrollbar { display: none; }
	.pf-brand-row { grid-template-columns: repeat(3, 1fr); }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 14px; }
	.pf-dash-care { grid-template-columns: 1fr; }
	.pf-form-grid { grid-template-columns: 1fr; }
	.pf-pets-head { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   v1.2 — illustrated pets banner + reviews
   ========================================================= */
.pf-hero { padding: 20px 0 8px; }
.pf-stage {
	position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: 12px;
	min-height: 440px; padding: 48px 0 0 52px; border-radius: 36px;
	background: radial-gradient(120% 90% at 85% 100%, #ffd27a 0%, #ffe7bf 42%, #fff3df 70%);
}
.pf-stage::after { /* soft ground the pets stand on */
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
	background: linear-gradient(180deg, transparent, rgba(255, 186, 92, .35));
	pointer-events: none;
}
.pf-hero-copy { align-self: center; padding-bottom: 48px; position: relative; z-index: 2; }
.pf-hero h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; letter-spacing: -.01em; margin: 0 0 14px; max-width: 13ch; }
.pf-hero-copy p { font-size: 19px; color: #6b5a4b; max-width: 30em; margin: 0 0 26px; }
.pf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pf-hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 22px 0 0; font-weight: 800; font-size: 15px; }
.pf-hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.pf-hero-points .pf-ico { color: var(--t); }

.pf-hero-art { position: relative; align-self: end; height: 100%; min-height: 360px; display: flex; align-items: flex-end; justify-content: center; }
.pf-sun { position: absolute; width: 78%; aspect-ratio: 1; right: 6%; bottom: 8%; border-radius: 50%; background: #fff; opacity: .55; }
.pf-pets-art { position: relative; z-index: 1; width: 100%; max-width: 560px; height: auto; display: block; margin-bottom: -4px; }
.pf-hero-photo-wrap { position: relative; z-index: 1; width: 100%; max-width: 520px; }
.pf-hero-photo { display: block; width: 100%; height: auto; }

/* pets: entrance, then small life-like loops */
.pf-pets-art g { transform-box: fill-box; }
.pf-rabbit, .pf-dog, .pf-cat { animation: pf-popup .7s cubic-bezier(.3, 1.5, .5, 1) both; transform-origin: 50% 100%; }
.pf-rabbit { animation-delay: .15s; }
.pf-dog { animation-delay: .3s; }
.pf-cat { animation-delay: .45s; }
.pf-dog-tail { transform-box: fill-box; transform-origin: 0% 100%; animation: pf-wag .5s ease-in-out 1.1s infinite alternate; }
.pf-cat-tail { transform-box: fill-box; transform-origin: 0% 100%; animation: pf-sway 2.6s ease-in-out 1.2s infinite alternate; }
.pf-rabbit-ears { transform-origin: 50% 100%; animation: pf-twitch 4s ease-in-out 2s infinite; }
.pf-dog-head { transform-origin: 50% 90%; animation: pf-tilt 6s ease-in-out 2.5s infinite; }
.pf-blink { transform-box: fill-box; transform-origin: 50% 50%; animation: pf-blink 4.5s ease-in-out 1.5s infinite; }
.pf-cat .pf-blink { animation-delay: 3.2s; }

.pf-bubble { position: absolute; z-index: 2; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: 0 8px 20px rgba(120, 60, 0, .14); font-weight: 800; font-size: 14px; white-space: nowrap; animation: pf-float 4s ease-in-out infinite alternate; }
.pf-b1 { left: 4%; top: 18%; }
.pf-b2 { right: 6%; top: 8%; animation-delay: -1.3s; }
.pf-b3 { right: 2%; top: 46%; animation-delay: -2.6s; }

/* pet picker under the banner */
.pf-picker { display: flex; gap: 10px; overflow-x: auto; padding: 16px 2px 6px; scrollbar-width: none; }
.pf-picker::-webkit-scrollbar { display: none; }
.pf-pick { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-weight: 800; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.pf-pick:hover { border-color: var(--o); color: var(--ink); }
.pf-pick-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); font-size: 21px; }
.pf-pick-mine { background: var(--ink); border-color: var(--ink); color: #fff; }
.pf-pick-mine:hover { color: #fff; }
.pf-pick-mine .pf-pick-ico { background: rgba(255, 255, 255, .15); }

/* Reviews */
.pf-reviews { background: linear-gradient(180deg, var(--cream), #fff3e3); }
.pf-rev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.pf-rev-head .pf-h2 { margin-bottom: 6px; }
.pf-rev-score { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 700; color: var(--mut); }
.pf-rev-avg { font: 800 34px/1 var(--head); color: var(--ink); }
.pf-rev-stars { position: relative; display: inline-block; font-size: 20px; letter-spacing: 3px; color: #e8d9c5; line-height: 1; }
.pf-rev-stars::before { content: "★★★★★"; }
.pf-rev-stars span { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #f59e0b; }
.pf-rev-stars span::before { content: "★★★★★"; }
.pf-rev-nav { display: flex; gap: 8px; }
.pf-rev-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: #fff; font: 800 24px/1 var(--body); color: var(--ink); cursor: pointer; }
.pf-rev-btn:hover { border-color: var(--o); color: var(--o-d); }
.pf-rev-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 10px; scrollbar-width: none; }
.pf-rev-track::-webkit-scrollbar { display: none; }
.pf-review { scroll-snap-align: start; margin: 0; padding: 22px; background: #fff; border-radius: 24px; display: flex; flex-direction: column; gap: 14px; position: relative; box-shadow: 0 6px 18px rgba(120, 60, 0, .06); }
.pf-review::before { content: "\201C"; position: absolute; right: 18px; top: 2px; font: 800 72px/1 Georgia, serif; color: #ffe1c4; }
.pf-review-top { display: flex; align-items: center; gap: 10px; position: relative; }
.pf-review-ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 800 20px var(--head); flex: none; }
.pf-review-who { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.pf-verified { color: var(--t); font-weight: 800; font-size: 12px; }
.pf-review-rating { padding: 4px 10px; border-radius: 999px; background: #fff4d6; color: #a86b00; font-weight: 800; font-size: 13px; white-space: nowrap; }
.pf-review blockquote { margin: 0; font-size: 16px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.pf-review figcaption { margin-top: auto; }
.pf-review-product { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: var(--cream); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; }
.pf-review-product img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: #fff; flex: none; }
.pf-review-product span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-review-product:hover { color: var(--o-d); }

@keyframes pf-popup { from { transform: translateY(40%) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pf-wag { from { transform: rotate(-10deg); } to { transform: rotate(14deg); } }
@keyframes pf-sway { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }
@keyframes pf-twitch { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-6deg); } 94% { transform: rotate(5deg); } }
@keyframes pf-tilt { 0%, 80%, 100% { transform: rotate(0); } 86%, 94% { transform: rotate(-5deg); } }
@keyframes pf-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes pf-float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

@media (max-width: 1024px) {
	.pf-rev-track { grid-auto-columns: calc((100% - 16px) / 2); }
}
@media (max-width: 782px) {
	.pf-hero { padding-top: 12px; }
	.pf-stage { grid-template-columns: 1fr; padding: 28px 22px 0; border-radius: 28px; min-height: 0; }
	.pf-hero-copy { padding-bottom: 6px; }
	.pf-hero h1 { max-width: none; font-size: clamp(32px, 8.6vw, 42px); }
	.pf-hero-copy p { font-size: 17px; margin-bottom: 20px; }
	.pf-hero-art { min-height: 0; margin: 0 -22px; }
	.pf-pets-art { max-width: 420px; }
	.pf-bubble { font-size: 12px; padding: 6px 10px; }
	.pf-b1 { top: 4%; }
	.pf-b3 { top: 30%; }
	.pf-rev-head { align-items: flex-start; flex-direction: column; }
	.pf-rev-nav { display: none; }
	.pf-rev-track { grid-auto-columns: 86%; }
}

/* =========================================================
   v1.3 — organised My Account menu
   ========================================================= */
.woocommerce-account .woocommerce { grid-template-columns: 290px minmax(0, 1fr); }
.pf-acc-nav { position: sticky; top: 88px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 14px; }
.pf-acc-back { display: none; }
.pf-acc-user { display: flex; align-items: center; gap: 12px; padding: 6px 6px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.pf-acc-ava { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--o); color: #fff; font: 800 22px var(--head); }
.pf-acc-id { min-width: 0; display: flex; flex-direction: column; }
.pf-acc-id strong { font: 800 20px/1.2 var(--head); }
.pf-acc-id small { color: var(--mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-acc-group { padding: 8px 0 4px; }
.pf-acc-group + .pf-acc-group { border-top: 1px dashed var(--line); }
.pf-acc-title { margin: 4px 8px 6px; font-size: 13px; font-weight: 800; color: var(--mut); }
.pf-acc-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pf-acc-nav li a { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.pf-acc-nav li a:hover { background: var(--cream); color: var(--ink); }
.pf-acc-ico { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--cream); font-size: 19px; }
.pf-acc-pets .pf-acc-ico { background: #dff6f2; }
.pf-acc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pf-acc-txt span { font-weight: 800; }
.pf-acc-txt small { color: var(--mut); font-size: 12.5px; }
.pf-acc-chev { color: #c9b7a3; font-size: 22px; line-height: 1; }
.pf-acc-nav li.is-active a { background: #fff1df; }
.pf-acc-nav li.is-active .pf-acc-ico { background: var(--o); }
.pf-acc-nav li.is-active .pf-acc-chev { color: var(--o); }
.pf-acc-logout { display: block; margin-top: 8px; padding: 10px 8px; border-top: 1px solid var(--line); color: var(--mut); font-weight: 800; text-decoration: none; text-align: center; }
.pf-acc-logout:hover { color: #c2410c; }
.pf-dash-first { background: var(--o); }
.pf-dash-first .pf-dash-go { background: #fff; color: var(--o-d); }

@media (max-width: 782px) {
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
	.pf-acc-nav { position: static; border-radius: 20px; }
	/* Inner pages: just a way back, the page itself gets the screen. */
	.pf-acc-nav.is-inner { background: none; border: 0; padding: 0; }
	.pf-acc-nav.is-inner > :not(.pf-acc-back) { display: none; }
	.pf-acc-nav.is-inner .pf-acc-back { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-weight: 800; color: var(--ink); text-decoration: none; }
}

/* ---------------------------------------------------------
   v1.3.1 — My Account: make the layout immune to WooCommerce's
   own stylesheet (floats + clearfix pseudo-elements), which the
   static preview did not load.
   --------------------------------------------------------- */
.woocommerce-account.logged-in .woocommerce::before,
.woocommerce-account.logged-in .woocommerce::after { content: none !important; display: none !important; }
.woocommerce-account.logged-in .woocommerce { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 1 / span 20; width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce-account.logged-in .woocommerce > :not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content) { grid-column: 2; }

/* Theme content styles must not resize the menu */
.pf-acc-nav ul, .pf-acc-nav li { font-size: 15px; margin: 0; padding: 0; list-style: none; }
.pf-acc-nav li::marker { content: none; }
.pf-acc-nav .pf-acc-title { margin: 4px 8px 6px; font-size: 13px; line-height: 1.3; }
.pf-acc-nav .pf-acc-txt span { font-size: 15px; }
.pf-acc-nav .pf-acc-txt small { font-size: 12.5px; }
.pf-acc-nav a { box-shadow: none; }

@media (max-width: 782px) {
	.woocommerce-account.logged-in .woocommerce { grid-template-columns: 1fr; gap: 14px; }
	.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-navigation,
	.woocommerce-account.logged-in .woocommerce > .woocommerce-MyAccount-content,
	.woocommerce-account.logged-in .woocommerce > * { grid-column: 1; grid-row: auto; }
}

/* v1.4 — vet booking & AI chat links */
.pf-btn-teal { background: var(--t); }
.pf-btn-teal:hover { background: #0f9e8f; }
.pf-vet-ai { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink); text-decoration: none; }
.pf-vet-ai:hover { border-color: var(--t); color: var(--ink); }
.pf-vet-ai b { margin-left: auto; color: var(--t); font-size: 20px; }

/* =========================================================
   v1.5 — footer columns, live search, checkout, tips slider
   ========================================================= */
/* Footer */
.pf-footer-grid.pf-cols-4 { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
.pf-footer-grid.pf-cols-3 { grid-template-columns: 1.6fr 1fr 1fr; }
.pf-footer-col h3 { margin-bottom: 14px; }
.pf-social { display: flex; gap: 10px; margin-top: 14px; }
.pf-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.pf-social a:hover { background: var(--o); color: #fff; }
.pf-social .pf-ico { width: 20px; height: 20px; }
.pf-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.pf-contact .pf-ico { width: 18px; height: 18px; margin-top: 3px; color: var(--y); }
.pf-contact-hours { color: #b9a690; font-size: 14px; }

/* Live search */
.pf-search { position: relative; }
.pf-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 80; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 40px rgba(80, 40, 0, .16); padding: 6px; max-height: 70vh; overflow-y: auto; }
.pf-sg-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.pf-sg-item:hover, .pf-sg-item.is-active { background: var(--cream); color: var(--ink); }
.pf-sg-item img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: var(--cream); flex: none; }
.pf-sg-name { flex: 1; min-width: 0; font-weight: 700; font-size: 14.5px; line-height: 1.3; display: flex; flex-direction: column; }
.pf-sg-item b { font-size: 14px; white-space: nowrap; color: var(--o-d); }
.pf-sg-item mark { background: #ffe1c4; color: inherit; border-radius: 3px; padding: 0 1px; }
.pf-sg-cat { font-weight: 800; }
.pf-sg-cat small { margin-left: auto; color: var(--mut); font-weight: 700; }
.pf-sg-oos { color: #c2410c; font-size: 12px; }
.pf-sg-all { justify-content: center; font-weight: 800; color: var(--o-d); border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 4px; }
.pf-sg-empty { margin: 0; padding: 12px; color: var(--mut); font-weight: 700; }

/* Checkout: same delivery address */
.pf-same-addr { display: flex; align-items: center; gap: 10px; padding: 14px 16px; margin: 6px 0 16px; background: #fff; border: 2px solid var(--line); border-radius: var(--r); font-weight: 800; cursor: pointer; }
.pf-same-addr input { width: 20px; height: 20px; accent-color: var(--o); }

/* Pet care tips slider */
.pf-kicker { display: inline-block; font-weight: 800; color: var(--pk); background: #ffe8ef; padding: 4px 12px; border-radius: 999px; font-size: 13px; margin-bottom: 6px; }
.pf-tips-all { margin-right: 6px; align-self: center; }
.pf-rev-nav { align-items: center; }
.pf-tip-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 12px; scrollbar-width: none; }
.pf-tip-track::-webkit-scrollbar { display: none; }
.pf-tip { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 6px 18px rgba(120, 60, 0, .06); transition: transform .2s, box-shadow .2s; }
.pf-tip:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(120, 60, 0, .12); }
.pf-tip-img { position: relative; display: block; aspect-ratio: 16 / 11; background: var(--tone, var(--cream)); overflow: hidden; }
.pf-tip-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pf-tip:hover .pf-tip-img img { transform: scale(1.05); }
.pf-tip-emoji { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; }
.pf-tip-cat { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-weight: 800; font-size: 12px; color: var(--ink); }
.pf-tip-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pf-tip-body h3 { font-size: 19px; line-height: 1.25; margin: 0; }
.pf-tip-body h3 a { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-tip-body h3 a:hover { color: var(--o-d); }
.pf-tip-body p { margin: 0; color: var(--mut); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pf-tip-meta { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--mut); }
.pf-tip-meta a { font-weight: 800; text-decoration: none; }

@media (max-width: 1024px) {
	.pf-footer-grid.pf-cols-4, .pf-footer-grid.pf-cols-3 { grid-template-columns: 1fr 1fr; }
	.pf-tip-track { grid-auto-columns: calc((100% - 32px) / 3); }
}
@media (max-width: 782px) {
	.pf-footer-grid.pf-cols-4, .pf-footer-grid.pf-cols-3 { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
	.pf-footer-brand { grid-column: 1 / -1; }
	.pf-tip-track { grid-auto-columns: 78%; }
	.pf-tips .pf-rev-btn { display: none; }
	.pf-tips .pf-rev-nav { display: flex; }
}

/* =========================================================
   v1.6 — vet care sections (from petofast.com content)
   ========================================================= */
/* Service cards */
.pf-vc { padding-top: 12px; }
.pf-vc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf-vc-cards.is-single { grid-template-columns: 1fr; }
.pf-vc-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px; border-radius: 28px; color: #fff; text-decoration: none; overflow: hidden; transition: transform .2s; }
.pf-vc-card:hover { color: #fff; transform: translateY(-3px); }
.pf-vc-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.pf-vc-online { background: linear-gradient(135deg, #14b8a6, #0f8a7e); }
.pf-vc-home { background: linear-gradient(135deg, #ff7a1a, #ff5c8a); }
.pf-vc-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); font-size: 28px; }
.pf-vc-price { position: absolute; top: 22px; right: 22px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--ink); font: 800 18px var(--head); }
.pf-vc-card h2 { color: #fff; font-size: clamp(24px, 3vw, 30px); margin: 8px 0 0; }
.pf-vc-card p { margin: 0 0 12px; opacity: .95; max-width: 34em; }
.pf-vc-card .pf-btn { position: relative; z-index: 1; margin-top: auto; }
.pf-vc-online .pf-btn-light { color: #0f8a7e; }
.pf-vc-steps { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 14px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.pf-vc-steps h3 { margin: 0; font-size: 20px; flex-basis: 100%; }
.pf-vc-steps ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex: 1; flex-wrap: wrap; }
.pf-vc-steps li { display: flex; gap: 10px; align-items: flex-start; min-width: 200px; flex: 1; }
.pf-vc-steps li div { display: flex; flex-direction: column; }
.pf-vc-steps li span:not(.pf-vc-n) { color: var(--mut); font-size: 14px; }
.pf-vc-n { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--t); color: #fff; display: grid; place-items: center; font: 800 17px var(--head); }

/* What our vets help with */
.pf-topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pf-topic { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 22px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.pf-topic:hover { border-color: var(--t); color: var(--ink); transform: translateY(-3px); }
.pf-topic-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #dff6f2; font-size: 26px; margin-bottom: 4px; }
.pf-topic h3 { font-size: 20px; margin: 0; }
.pf-topic p { margin: 0; color: var(--mut); font-size: 14.5px; flex: 1; }
.pf-topic-go { font-weight: 800; color: #0f8a7e; font-size: 14px; margin-top: 4px; }

/* Why choose our online vet consultation */
.pf-vetwhy { background: linear-gradient(180deg, #dff6f2, #effbf9); }
.pf-vetwhy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf-vetwhy-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: #fff; border-radius: 22px; }
.pf-vetwhy-ico { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff1df; font-size: 26px; }
.pf-vetwhy-item h3 { font-size: 19px; margin: 0 0 4px; }
.pf-vetwhy-item p { margin: 0; color: var(--mut); font-size: 15px; }

/* Happy pet parents (reuses the review carousel) */
.pf-testimonials { background: linear-gradient(180deg, #fff3e3, var(--cream)); }
.pf-testimonials .pf-review { gap: 10px; }
.pf-testi-head { font: 800 18px/1.3 var(--head); color: var(--ink); position: relative; padding-right: 40px; }
.pf-testimonials .pf-review figcaption { margin-top: auto; }
.pf-testi-city { color: var(--mut); font-size: 13px; font-weight: 700; }
.pf-testimonials .pf-review-rating { letter-spacing: 1px; }

/* Meet our vets */
.pf-vet-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; scrollbar-width: none; }
.pf-vet-row::-webkit-scrollbar { display: none; }
.pf-vet-card { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 24px 18px; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.pf-vet-photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #14b8a6, #0f8a7e); color: #fff; font: 800 38px var(--head); border: 4px solid #fff; box-shadow: 0 0 0 3px #dff6f2; margin-bottom: 6px; }
.pf-vet-photo img { width: 100%; height: 100%; object-fit: cover; }
.pf-vet-card h3 { font-size: 21px; margin: 0; }
.pf-vet-deg { padding: 3px 12px; border-radius: 999px; background: #dff6f2; color: #0f766e; font-weight: 800; font-size: 13px; }
.pf-vet-card p { margin: 4px 0 0; color: var(--mut); font-size: 14.5px; }

/* Article (SEO text) */
.pf-seo-box { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 30px; }
.pf-seo-text { color: #4a3d31; font-size: 16.5px; line-height: 1.75; max-width: 75ch; }
.pf-seo-text p { margin: 0 0 14px; }
.pf-seo-text h3 { font-size: 22px; margin: 18px 0 10px; }
.pf-checks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.pf-checks li { position: relative; padding-left: 30px; font-weight: 700; color: var(--ink); }
.pf-checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--t); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.pf-seo-more summary { list-style: none; cursor: pointer; display: inline-flex; font-weight: 800; color: var(--o-d); margin: 0 0 14px; }
.pf-seo-more summary::-webkit-details-marker { display: none; }
.pf-seo-more summary::after { content: "⌄"; margin-left: 6px; transition: transform .2s; }
.pf-seo-more[open] summary { order: 2; margin-top: 4px; }
.pf-seo-more[open] summary::after { transform: rotate(180deg); }
.pf-seo-more { display: flex; flex-direction: column; }
.pf-more-close, .pf-seo-more[open] .pf-more-open { display: none; }
.pf-seo-more[open] .pf-more-close { display: inline; }
.pf-seo-box > .pf-btn { margin-top: 8px; }

@media (max-width: 1024px) {
	.pf-topic-grid { grid-template-columns: 1fr 1fr; }
	.pf-vet-row { grid-auto-columns: calc((100% - 32px) / 3); }
}
@media (max-width: 782px) {
	.pf-vc-cards { grid-template-columns: 1fr; gap: 12px; }
	.pf-vc-card { padding: 22px; border-radius: 24px; }
	.pf-vc-steps { padding: 16px; }
	.pf-vc-steps .pf-btn { width: 100%; }
	.pf-topic-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
	.pf-topic-grid::-webkit-scrollbar { display: none; }
	.pf-topic { scroll-snap-align: start; }
	.pf-vetwhy-grid { grid-template-columns: 1fr; }
	.pf-vet-row { grid-auto-columns: 70%; }
	.pf-ourvets .pf-rev-nav { display: flex; }
	.pf-seo-box { padding: 20px; border-radius: 22px; }
	.pf-checks { grid-template-columns: 1fr; }
}

/* =========================================================
   v1.7 — AI vet chat card (home)
   ========================================================= */
.pf-aic { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; margin-top: 16px; padding: 30px 34px; border-radius: 30px; color: #fff;
	background: radial-gradient(110% 120% at 100% 0%, #5b4bd6 0%, transparent 55%), radial-gradient(90% 90% at 0% 100%, #0f8a7e 0%, transparent 60%), #2a2350; }
.pf-aic::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 18px 18px; pointer-events: none; }
.pf-aic > * { position: relative; }
.pf-aic-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-weight: 800; font-size: 13px; }
.pf-aic-live { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pf-live 1.8s infinite; }
.pf-aic h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin: 12px 0 8px; }
.pf-aic-copy > p { margin: 0 0 18px; color: #ddd8ff; max-width: 34em; }
.pf-aic-ask { display: flex; gap: 6px; padding: 6px; background: #fff; border-radius: 999px; max-width: 520px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.pf-aic-ask input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 14px; font: 600 15.5px var(--body); color: var(--ink); }
.pf-aic-ask input:focus { outline: none; }
.pf-aic-ask button { border: 0; border-radius: 999px; padding: 11px 20px; background: var(--o); color: #fff; font: 800 15px var(--body); cursor: pointer; white-space: nowrap; }
.pf-aic-ask button:hover { background: var(--o-d); }
.pf-aic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pf-aic-chips a { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.pf-aic-chips a:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* Phone-style chat preview */
.pf-aic-phone { display: flex; flex-direction: column; justify-self: center; width: 100%; max-width: 330px; border-radius: 28px; background: #fff; color: var(--ink); text-decoration: none; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); transform: rotate(2deg); transition: transform .3s; }
.pf-aic-phone:hover { transform: rotate(0) translateY(-4px); color: var(--ink); }
.pf-aic-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pf-aic-top span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.pf-aic-top small { color: #10b981; font-weight: 700; font-size: 12px; }
.pf-aic-ava { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #dff6f2; font-size: 20px; }
.pf-aic-msgs { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: linear-gradient(180deg, #fffdf9, var(--cream)); min-height: 210px; }
.pf-aic-b { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; opacity: 0; transform: translateY(8px); animation: pf-msg .45s ease forwards; }
.pf-aic-me { align-self: flex-end; background: var(--o); color: #fff; border-bottom-right-radius: 5px; }
.pf-aic-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.pf-aic-b:nth-child(1) { animation-delay: .4s; }
.pf-aic-b:nth-child(2) { animation-delay: 1.4s; }
.pf-aic-b:nth-child(3) { animation-delay: 2.4s; }
.pf-aic-b:nth-child(4) { animation-delay: 3.2s; }
.pf-aic-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.pf-aic-typing i { width: 7px; height: 7px; border-radius: 50%; background: #c9b7a3; animation: pf-dot 1s infinite ease-in-out; }
.pf-aic-typing i:nth-child(2) { animation-delay: .15s; }
.pf-aic-typing i:nth-child(3) { animation-delay: .3s; }
.pf-aic-input { display: flex; align-items: center; justify-content: space-between; margin: 10px; padding: 10px 10px 10px 16px; border-radius: 999px; border: 2px solid var(--line); color: var(--mut); font-weight: 700; font-size: 14px; }
.pf-aic-input b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--o); color: #fff; font-size: 14px; }
@keyframes pf-live { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
@keyframes pf-msg { to { opacity: 1; transform: none; } }
@keyframes pf-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }

@media (max-width: 900px) {
	.pf-aic { grid-template-columns: 1fr; padding: 24px 20px; border-radius: 24px; }
	.pf-aic-phone { max-width: 100%; transform: none; }
	.pf-aic-msgs { min-height: 0; }
}
@media (max-width: 480px) {
	.pf-aic-ask button { padding: 11px 14px; }
	.pf-aic-chips a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.pf-aic-b { opacity: 1; transform: none; }
}
