/*
Theme Name: PawValu
Theme URI: http://localhost:8147/
Author: PawValu
Description: 现代化宠物用品电商主题，深藏青 + 蓝 + 奶油米配色，深度集成 WooCommerce，全站可在「主题设置」中自定义。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pawvalu
Tags: e-commerce, woocommerce, custom-colors, custom-menu, custom-logo, featured-images, responsive-layout
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--pv-navy: #243746;
	--pv-navy-deep: #172027;
	--pv-navy-soft: #2f4557;
	--pv-blue: #0075c7;
	--pv-blue-dark: #005a9b;
	--pv-blue-soft: #dfedf6;
	--pv-blue-mist: #c3deee;
	--pv-red: #c2363d;
	--pv-red-soft: #fbeaeb;
	--pv-butter: #f7e3a1;
	--pv-butter-soft: #fbf3d8;
	--pv-cream: #f5f1e7;
	--pv-cream-soft: #fcfaf7;
	--pv-sand: #eae0d7;
	--pv-text: #23303a;
	--pv-muted: #5c6b77;
	--pv-border: #e4e7ea;
	--pv-white: #ffffff;

	--pv-font-head: "Source Sans 3", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
	--pv-font-body: "Source Sans 3", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
	--pv-fs-base: 16px;
	--pv-lh-base: 1.65;

	--pv-radius: 16px;
	--pv-radius-sm: 10px;
	--pv-radius-lg: 26px;
	--pv-radius-pill: 999px;
	--pv-shadow: 0 2px 6px rgba(23, 32, 39, .05), 0 12px 30px rgba(23, 32, 39, .07);
	--pv-shadow-sm: 0 1px 3px rgba(23, 32, 39, .06), 0 6px 16px rgba(23, 32, 39, .05);
	--pv-shadow-lg: 0 8px 20px rgba(23, 32, 39, .08), 0 28px 60px rgba(23, 32, 39, .12);

	--pv-container: 1320px;
	--pv-gutter: 24px;
	--pv-section-y: 72px;
	--pv-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--pv-font-body);
	font-size: var(--pv-fs-base);
	line-height: var(--pv-lh-base);
	color: var(--pv-text);
	background: var(--pv-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

/* Inline icons default to text size; component rules below override as needed.
   Without this an icon dropped into new markup expands to fill its container. */
.pv-icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

a { color: var(--pv-blue); text-decoration: none; transition: color .2s var(--pv-ease); }
a:hover { color: var(--pv-blue-dark); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--pv-font-head);
	color: var(--pv-navy);
	margin: 0 0 .5em;
	line-height: 1.18;
	font-weight: 700;
	letter-spacing: -.015em;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--pv-blue); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--pv-navy); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
.pv-container {
	width: 100%;
	max-width: var(--pv-container);
	margin-inline: auto;
	padding-inline: var(--pv-gutter);
}
.pv-section { padding-block: var(--pv-section-y); }
.pv-section--tight { padding-block: calc(var(--pv-section-y) * .6); }
.pv-section--loose { padding-block: calc(var(--pv-section-y) * 1.3); }
.pv-section--cream { background: var(--pv-cream-soft); }
.pv-section--sand { background: var(--pv-cream); }
.pv-section--navy { background: var(--pv-navy); color: #fff; }
.pv-section--navy h2, .pv-section--navy h3 { color: #fff; }

.pv-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.pv-head--left { margin-inline: 0; text-align: left; max-width: none; }
.pv-head__eyebrow {
	display: inline-block;
	font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--pv-blue); margin-bottom: 10px;
}
.pv-head__title { margin-bottom: 10px; }
.pv-head__sub { color: var(--pv-muted); font-size: 1.06rem; margin: 0; }

.pv-head-row {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 20px; margin-bottom: 32px; flex-wrap: wrap;
}
.pv-head-row .pv-head { margin: 0; text-align: left; }
.pv-head-row__link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pv-head-row__link svg { width: 16px; height: 16px; transition: transform .2s var(--pv-ease); }
.pv-head-row__link:hover svg { transform: translateX(3px); }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.pv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 28px;
	border: 2px solid transparent;
	border-radius: var(--pv-radius-pill);
	font-weight: 700; font-size: .98rem; line-height: 1.2;
	background: var(--pv-navy); color: #fff;
	transition: transform .18s var(--pv-ease), box-shadow .18s var(--pv-ease), background .18s var(--pv-ease), color .18s var(--pv-ease), border-color .18s var(--pv-ease);
	box-shadow: 0 4px 12px rgba(36, 55, 70, .18);
}
.pv-btn:hover { background: var(--pv-navy-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(36, 55, 70, .26); }
.pv-btn--primary { background: var(--pv-blue); box-shadow: 0 4px 12px rgba(0, 117, 199, .25); }
.pv-btn--primary:hover { background: var(--pv-blue-dark); box-shadow: 0 8px 22px rgba(0, 117, 199, .34); }
.pv-btn--outline { background: transparent; color: var(--pv-navy); border-color: currentColor; box-shadow: none; }
.pv-btn--outline:hover { background: var(--pv-navy); color: #fff; border-color: var(--pv-navy); }
.pv-btn--light { background: #fff; color: var(--pv-navy); }
.pv-btn--light:hover { background: var(--pv-cream); color: var(--pv-navy); }
.pv-btn--text { background: none; color: var(--pv-blue); box-shadow: none; padding: 6px 0; border-radius: 0; }
.pv-btn--text:hover { background: none; color: var(--pv-blue-dark); transform: none; box-shadow: none; text-decoration: underline; }
.pv-btn--sm { padding: 9px 20px; font-size: .9rem; }
.pv-btn--lg { padding: 16px 36px; font-size: 1.06rem; }
.pv-btn--block { display: flex; width: 100%; }

/* ==========================================================================
   5. Promo bar
   ========================================================================== */
.pv-promo {
	position: relative;
	background: var(--pv-blue-soft);
	color: var(--pv-navy);
	font-size: .92rem;
	font-weight: 600;
}
.pv-promo__inner {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 44px; padding: 8px 46px; text-align: center;
}
.pv-promo a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.pv-promo__close {
	position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
	background: none; border: 0; padding: 6px; line-height: 0; color: inherit; opacity: .6;
	border-radius: 50%;
}
.pv-promo__close:hover { opacity: 1; background: rgba(0, 0, 0, .06); }
.pv-promo__close svg { width: 14px; height: 14px; }

/* ==========================================================================
   6. Header
   ========================================================================== */
.pv-header { position: relative; z-index: 60; background: var(--pv-navy); color: #fff; }
.pv-header a { color: #fff; }

.pv-header__utility {
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	font-size: .86rem;
}
.pv-header__utility .pv-container {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 40px; flex-wrap: wrap;
}
.pv-header__store { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.pv-header__store svg { width: 15px; height: 15px; opacity: .85; }
.pv-header__sep { opacity: .35; }
.pv-header__hours { color: var(--pv-blue-mist); }

.pv-header__main { padding-block: 18px; }
.pv-header__main .pv-container {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
}

.pv-brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.pv-brand__logo { max-height: var(--pv-logo-h, 44px); width: auto; }
.pv-brand__text {
	font-family: var(--pv-font-head);
	font-size: 1.85rem; font-weight: 800; letter-spacing: -.04em; line-height: 1;
	color: #fff;
}
.pv-brand__text em { font-style: normal; color: var(--pv-blue-mist); }
.pv-brand__tag {
	display: block; font-size: .68rem; font-weight: 600; letter-spacing: .16em;
	text-transform: uppercase; color: var(--pv-blue-mist); margin-top: 4px;
}

.pv-search { position: relative; width: 100%; }
.pv-search input[type="search"], .pv-search input[type="text"] {
	width: 100%; height: 48px;
	padding: 0 54px 0 20px;
	border: 2px solid transparent; border-radius: var(--pv-radius-pill);
	background: #fff; color: var(--pv-text);
	transition: box-shadow .2s var(--pv-ease), border-color .2s var(--pv-ease);
}
.pv-search input::placeholder { color: #8b979f; }
.pv-search input:focus { outline: none; border-color: var(--pv-blue); box-shadow: 0 0 0 4px rgba(0, 117, 199, .2); }
.pv-search__btn {
	position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
	width: 38px; height: 38px; border: 0; border-radius: 50%;
	background: var(--pv-blue); color: #fff;
	display: grid; place-items: center;
	transition: background .2s var(--pv-ease);
}
.pv-search__btn:hover { background: var(--pv-blue-dark); }
.pv-search__btn svg { width: 17px; height: 17px; }

.pv-header__tools { display: flex; align-items: center; gap: 8px; }
.pv-tool {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 14px; border-radius: var(--pv-radius-pill);
	font-size: .93rem; font-weight: 600;
	transition: background .2s var(--pv-ease);
}
.pv-tool:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.pv-tool svg { width: 21px; height: 21px; }
.pv-tool--cart { position: relative; }
.pv-cart-count {
	position: absolute; top: 2px; right: 4px;
	min-width: 19px; height: 19px; padding: 0 5px;
	border-radius: var(--pv-radius-pill);
	background: var(--pv-red); color: #fff;
	font-size: .68rem; font-weight: 800; line-height: 19px; text-align: center;
}

.pv-burger { display: none; background: none; border: 0; padding: 8px; color: #fff; }
.pv-burger svg { width: 26px; height: 26px; }

/* Nav */
.pv-nav { border-top: 1px solid rgba(255, 255, 255, .1); }
.pv-nav .pv-container { display: flex; align-items: center; gap: 6px; }
.pv-nav__menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.pv-nav__menu > li { position: relative; }
.pv-nav__menu > li > a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 15px 16px; font-weight: 700; font-size: 1rem;
	border-radius: var(--pv-radius-sm);
	transition: background .2s var(--pv-ease), color .2s var(--pv-ease);
}
.pv-nav__menu > li > a::after { content: ""; }
.pv-nav__menu > li.menu-item-has-children > a::after {
	content: ""; width: 8px; height: 8px; margin-left: 2px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--pv-ease);
}
.pv-nav__menu > li:hover > a { background: rgba(255, 255, 255, .12); }
.pv-nav__menu > li:hover.menu-item-has-children > a::after { transform: translateY(1px) rotate(225deg); }
.pv-nav__menu > li.current-menu-item > a,
.pv-nav__menu > li.current-menu-parent > a,
.pv-nav__menu > li.current-product-ancestor > a { color: var(--pv-blue-mist); }

.pv-nav__menu .sub-menu {
	position: absolute; top: calc(100% + 2px); left: 0; z-index: 70;
	min-width: 250px; margin: 0; padding: 10px;
	list-style: none;
	background: #fff; border-radius: var(--pv-radius);
	box-shadow: var(--pv-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .18s var(--pv-ease), transform .18s var(--pv-ease), visibility .18s;
}
.pv-nav__menu li:hover > .sub-menu,
.pv-nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.pv-nav__menu .sub-menu li { position: relative; }
.pv-nav__menu .sub-menu a {
	display: block; padding: 10px 14px; border-radius: var(--pv-radius-sm);
	color: var(--pv-text); font-size: .96rem; font-weight: 600;
}
.pv-nav__menu .sub-menu a:hover { background: var(--pv-blue-soft); color: var(--pv-blue-dark); }
.pv-nav__menu .sub-menu .sub-menu { top: -10px; left: calc(100% + 6px); }

.pv-nav__cta { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }

/* Trending strip */
.pv-trending { background: #fff; border-bottom: 1px solid var(--pv-border); }
.pv-trending .pv-container {
	display: flex; align-items: center; gap: 10px;
	padding-block: 12px; overflow-x: auto; scrollbar-width: none;
}
.pv-trending .pv-container::-webkit-scrollbar { display: none; }
.pv-trending__label {
	font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
	color: var(--pv-navy); white-space: nowrap; padding-right: 6px;
}
.pv-chip {
	display: inline-flex; align-items: center; white-space: nowrap;
	padding: 7px 18px; border: 1px solid var(--pv-border); border-radius: var(--pv-radius-pill);
	font-size: .9rem; font-weight: 600; color: var(--pv-text); background: #fff;
	transition: all .2s var(--pv-ease);
}
.pv-chip:hover { border-color: var(--pv-blue); color: var(--pv-blue); background: var(--pv-blue-soft); transform: translateY(-1px); }

/* Sticky */
.pv-header.is-sticky {
	position: fixed; top: 0; left: 0; right: 0;
	background: var(--pv-sticky-bg, var(--pv-navy));
	box-shadow: 0 6px 24px rgba(23, 32, 39, .18);
	animation: pvSlideDown .28s var(--pv-ease);
}
.pv-header.is-sticky .pv-header__utility { display: none; }
.pv-header.is-sticky .pv-header__main { padding-block: 10px; }
@keyframes pvSlideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* Mobile drawer */
.pv-drawer {
	position: fixed; inset: 0 auto 0 0; z-index: 200;
	width: min(360px, 88vw);
	background: #fff; color: var(--pv-text);
	transform: translateX(-100%); transition: transform .3s var(--pv-ease);
	display: flex; flex-direction: column;
	box-shadow: var(--pv-shadow-lg);
}
.pv-drawer.is-open { transform: translateX(0); }
.pv-drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 18px 20px; background: var(--pv-navy); color: #fff;
}
.pv-drawer__head .pv-brand__text { font-size: 1.4rem; }
.pv-drawer__close { background: none; border: 0; color: #fff; padding: 6px; }
.pv-drawer__close svg { width: 22px; height: 22px; }
.pv-drawer__body { flex: 1; overflow-y: auto; padding: 14px 12px 30px; }
.pv-drawer__menu, .pv-drawer__menu ul { list-style: none; margin: 0; padding: 0; }
.pv-drawer__menu a {
	display: block; padding: 13px 14px; border-radius: var(--pv-radius-sm);
	color: var(--pv-navy); font-weight: 700;
}
.pv-drawer__menu a:hover { background: var(--pv-blue-soft); }
.pv-drawer__menu .sub-menu { margin-left: 10px; border-left: 2px solid var(--pv-border); padding-left: 6px; }
.pv-drawer__menu .sub-menu a { font-weight: 600; font-size: .95rem; color: var(--pv-muted); }
.pv-overlay {
	position: fixed; inset: 0; z-index: 190;
	background: rgba(23, 32, 39, .5); backdrop-filter: blur(2px);
	opacity: 0; visibility: hidden; transition: opacity .3s var(--pv-ease), visibility .3s;
}
.pv-overlay.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   7. Hero
   ========================================================================== */
.pv-hero { padding-block: 26px 0; }
.pv-hero__inner {
	position: relative; overflow: hidden;
	border-radius: var(--pv-radius-lg);
	min-height: 470px;
	display: flex; align-items: center;
	background: var(--pv-cream);
	box-shadow: var(--pv-shadow);
}
.pv-hero__bg { position: absolute; inset: 0; }
.pv-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.pv-hero__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(255, 253, 247, .97) 0%, rgba(255, 253, 247, .9) 34%, rgba(255, 253, 247, .35) 56%, rgba(255, 253, 247, 0) 74%);
}
.pv-hero__content { position: relative; z-index: 2; max-width: 560px; padding: 60px 8px 60px 52px; }
.pv-hero__badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 16px; margin-bottom: 18px;
	border-radius: var(--pv-radius-pill);
	background: var(--pv-red); color: #fff;
	font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.pv-hero__title { font-size: clamp(2.3rem, 4.4vw, 3.7rem); font-weight: 900; letter-spacing: -.03em; margin-bottom: 16px; }
.pv-hero__title span { color: var(--pv-blue); }
.pv-hero__text { font-size: 1.12rem; color: var(--pv-muted); max-width: 460px; margin-bottom: 28px; }
.pv-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pv-hero__note { margin-top: 20px; font-size: .87rem; color: var(--pv-muted); }

/* Quick links strip */
.pv-quick { border-block: 1px solid var(--pv-border); background: var(--pv-cream-soft); margin-top: 26px; }
.pv-quick__grid {
	display: grid;
	grid-template-columns: repeat(var(--pv-cols, 3), 1fr);
	padding-block: 22px;
}
.pv-quick__item {
	display: flex; align-items: center; gap: 14px;
	padding-inline: 22px;
	border-right: 1px solid var(--pv-border);
}
.pv-quick__item:last-child { border-right: 0; }
.pv-quick__icon {
	flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
	background: var(--pv-blue-soft); color: var(--pv-blue);
	display: grid; place-items: center;
}
.pv-quick__icon svg { width: 21px; height: 21px; }
.pv-quick__title { font-weight: 800; color: var(--pv-navy); line-height: 1.3; }
.pv-quick__sub { font-size: .92rem; color: var(--pv-muted); }
.pv-quick__sub a { font-weight: 700; }

/* ==========================================================================
   8. Deals grid (butter tiles)
   ========================================================================== */
.pv-deals__grid { display: grid; grid-template-columns: repeat(var(--pv-cols, 6), 1fr); gap: 16px; }
.pv-deal {
	display: flex; flex-direction: column; justify-content: space-between;
	min-height: 160px; padding: 20px 18px;
	border-radius: var(--pv-radius);
	background: var(--pv-butter); color: var(--pv-navy);
	transition: transform .22s var(--pv-ease), box-shadow .22s var(--pv-ease);
	overflow: hidden; position: relative;
}
.pv-deal::after {
	content: ""; position: absolute; right: -30px; bottom: -30px;
	width: 110px; height: 110px; border-radius: 50%;
	background: rgba(255, 255, 255, .38);
	transition: transform .35s var(--pv-ease);
}
.pv-deal:hover { transform: translateY(-4px); box-shadow: var(--pv-shadow); color: var(--pv-navy); }
.pv-deal:hover::after { transform: scale(1.35); }
.pv-deal__amount {
	position: relative; z-index: 1;
	font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 900; letter-spacing: -.03em;
	color: var(--pv-red); line-height: 1.05;
}
.pv-deal__amount small { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--pv-navy); font-weight: 800; }
.pv-deal__label { position: relative; z-index: 1; font-weight: 700; font-size: 1.02rem; margin-top: 10px; }
.pv-deal__cta { position: relative; z-index: 1; margin-top: 6px; font-size: .86rem; font-weight: 700; color: var(--pv-blue-dark); }

/* ==========================================================================
   9. Shop by pet
   ========================================================================== */
.pv-pets__grid { display: grid; grid-template-columns: repeat(var(--pv-cols, 6), 1fr); gap: 20px; }
.pv-pet { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.pv-pet__disc {
	width: 128px; height: 128px; border-radius: 50%;
	background: var(--pv-blue-soft); color: var(--pv-navy);
	display: grid; place-items: center;
	border: 3px solid transparent;
	transition: transform .25s var(--pv-ease), background .25s var(--pv-ease), border-color .25s var(--pv-ease), box-shadow .25s var(--pv-ease);
}
.pv-pet__disc svg { width: 66px; height: 66px; }
.pv-pet:nth-child(6n+2) .pv-pet__disc { background: var(--pv-butter-soft); }
.pv-pet:nth-child(6n+3) .pv-pet__disc { background: var(--pv-cream); }
.pv-pet:nth-child(6n+4) .pv-pet__disc { background: var(--pv-red-soft); }
.pv-pet:nth-child(6n+5) .pv-pet__disc { background: var(--pv-blue-mist); }
.pv-pet:nth-child(6n) .pv-pet__disc { background: var(--pv-sand); }
.pv-pet:hover .pv-pet__disc {
	transform: translateY(-6px) scale(1.04);
	border-color: var(--pv-blue); box-shadow: var(--pv-shadow);
}
.pv-pet__name { font-weight: 800; color: var(--pv-navy); font-size: 1.05rem; }
.pv-pet:hover .pv-pet__name { color: var(--pv-blue); }

/* ==========================================================================
   10. Category tiles
   ========================================================================== */
.pv-cats__grid { display: grid; grid-template-columns: repeat(var(--pv-cols, 3), 1fr); gap: 24px; }
.pv-cat {
	display: block; overflow: hidden;
	border-radius: var(--pv-radius);
	background: var(--pv-butter-soft);
	box-shadow: var(--pv-shadow-sm);
	transition: transform .25s var(--pv-ease), box-shadow .25s var(--pv-ease);
}
.pv-cat:hover { transform: translateY(-5px); box-shadow: var(--pv-shadow-lg); }
.pv-cat__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--pv-butter-soft); }
.pv-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--pv-ease); }
.pv-cat:hover .pv-cat__media img { transform: scale(1.06); }
.pv-cat__body { padding: 20px 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; }
.pv-cat__title { font-size: 1.18rem; font-weight: 800; color: var(--pv-navy); margin: 0; }
.pv-cat__count { font-size: .88rem; color: var(--pv-muted); }
.pv-cat__arrow {
	flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
	background: var(--pv-blue-soft); color: var(--pv-blue);
	display: grid; place-items: center;
	transition: background .25s var(--pv-ease), color .25s var(--pv-ease), transform .25s var(--pv-ease);
}
.pv-cat__arrow svg { width: 16px; height: 16px; }
.pv-cat:hover .pv-cat__arrow { background: var(--pv-blue); color: #fff; transform: translateX(3px); }

/* ==========================================================================
   11. Promo band (secondary banner)
   ========================================================================== */
.pv-band__inner {
	position: relative; overflow: hidden;
	border-radius: var(--pv-radius-lg);
	min-height: 340px;
	display: flex; align-items: center; justify-content: flex-end;
	background: var(--pv-navy);
}
.pv-band__bg { position: absolute; inset: 0; }
.pv-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center left; }
.pv-band__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(260deg, rgba(36, 55, 70, .95) 0%, rgba(36, 55, 70, .82) 32%, rgba(36, 55, 70, .1) 68%, rgba(36, 55, 70, 0) 100%);
}
.pv-band__content { position: relative; z-index: 2; max-width: 480px; padding: 52px; color: #fff; text-align: left; }
.pv-band__content h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 900; }
.pv-band__content p { color: rgba(255, 255, 255, .88); font-size: 1.06rem; margin-bottom: 24px; }

/* ==========================================================================
   12. Services
   ========================================================================== */
.pv-services__grid { display: grid; grid-template-columns: repeat(var(--pv-cols, 3), 1fr); gap: 26px; }
.pv-service {
	background: #fff; border: 1px solid var(--pv-border); border-radius: var(--pv-radius);
	padding: 34px 30px; text-align: center;
	transition: transform .25s var(--pv-ease), box-shadow .25s var(--pv-ease), border-color .25s var(--pv-ease);
}
.pv-service:hover { transform: translateY(-5px); box-shadow: var(--pv-shadow); border-color: transparent; }
.pv-service__icon {
	width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%;
	background: var(--pv-blue-soft); color: var(--pv-blue);
	display: grid; place-items: center;
}
.pv-service__icon svg { width: 32px; height: 32px; }
.pv-service h3 { font-size: 1.24rem; margin-bottom: 10px; }
.pv-service p { color: var(--pv-muted); margin-bottom: 16px; }

/* ==========================================================================
   13. Features / trust band
   ========================================================================== */
.pv-trust__grid { display: grid; grid-template-columns: repeat(var(--pv-cols, 4), 1fr); gap: 26px; }
.pv-trust__item { display: flex; gap: 16px; align-items: flex-start; }
.pv-trust__icon {
	flex-shrink: 0; width: 50px; height: 50px; border-radius: var(--pv-radius-sm);
	background: rgba(255, 255, 255, .1); color: #fff;
	display: grid; place-items: center;
}
.pv-section--cream .pv-trust__icon, .pv-section--sand .pv-trust__icon { background: var(--pv-blue-soft); color: var(--pv-blue); }
.pv-trust__icon svg { width: 24px; height: 24px; }
.pv-trust__title { font-weight: 800; margin-bottom: 3px; }
.pv-trust__text { font-size: .93rem; opacity: .82; margin: 0; }

/* ==========================================================================
   14. Testimonials
   ========================================================================== */
.pv-quotes__grid { display: grid; grid-template-columns: repeat(var(--pv-cols, 3), 1fr); gap: 26px; }
.pv-quote {
	background: #fff; border-radius: var(--pv-radius); padding: 30px 28px;
	box-shadow: var(--pv-shadow-sm);
	display: flex; flex-direction: column; gap: 16px;
	border-top: 4px solid var(--pv-blue);
}
.pv-quote__stars { display: flex; gap: 3px; color: #f0a828; }
.pv-quote__stars svg { width: 18px; height: 18px; }
.pv-quote__text { font-size: 1.04rem; color: var(--pv-text); margin: 0; flex: 1; }
.pv-quote__who { display: flex; align-items: center; gap: 12px; }
.pv-quote__avatar {
	width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
	background: var(--pv-blue-soft); color: var(--pv-blue);
	display: grid; place-items: center; font-weight: 800;
}
.pv-quote__name { font-weight: 800; color: var(--pv-navy); line-height: 1.2; }
.pv-quote__meta { font-size: .87rem; color: var(--pv-muted); }

/* ==========================================================================
   15. Blog cards
   ========================================================================== */
.pv-posts__grid { display: grid; grid-template-columns: repeat(var(--pv-cols, 4), 1fr); gap: 26px; }
.pv-post {
	background: #fff; border-radius: var(--pv-radius); overflow: hidden;
	border: 1px solid var(--pv-border);
	display: flex; flex-direction: column;
	transition: transform .25s var(--pv-ease), box-shadow .25s var(--pv-ease), border-color .25s var(--pv-ease);
}
.pv-post:hover { transform: translateY(-5px); box-shadow: var(--pv-shadow); border-color: transparent; }
.pv-post__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--pv-cream); }
.pv-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--pv-ease); }
.pv-post:hover .pv-post__media img { transform: scale(1.05); }
.pv-post__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pv-post__cat { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pv-blue); }
.pv-post__title { font-size: 1.1rem; margin: 0; line-height: 1.32; }
.pv-post__title a { color: var(--pv-navy); }
.pv-post__title a:hover { color: var(--pv-blue); }
.pv-post__excerpt { font-size: .95rem; color: var(--pv-muted); margin: 0; flex: 1; }
.pv-post__more { font-weight: 700; font-size: .93rem; display: inline-flex; align-items: center; gap: 6px; }
.pv-post__more svg { width: 14px; height: 14px; transition: transform .2s var(--pv-ease); }
.pv-post:hover .pv-post__more svg { transform: translateX(3px); }

/* ==========================================================================
   16. FAQ
   ========================================================================== */
.pv-faq { max-width: 860px; margin-inline: auto; }
.pv-faq__item {
	border: 1px solid var(--pv-border); border-radius: var(--pv-radius);
	background: #fff; margin-bottom: 14px; overflow: hidden;
	transition: border-color .2s var(--pv-ease), box-shadow .2s var(--pv-ease);
}
.pv-faq__item.is-open { border-color: var(--pv-blue); box-shadow: var(--pv-shadow-sm); }
.pv-faq__q {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 24px; background: none; border: 0; text-align: left;
	font-size: 1.06rem; font-weight: 700; color: var(--pv-navy);
}
.pv-faq__q span:last-child {
	flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
	background: var(--pv-blue-soft); color: var(--pv-blue);
	display: grid; place-items: center; font-size: 1.2rem; line-height: 1;
	transition: transform .25s var(--pv-ease), background .25s var(--pv-ease), color .25s var(--pv-ease);
}
.pv-faq__item.is-open .pv-faq__q span:last-child { transform: rotate(45deg); background: var(--pv-blue); color: #fff; }
.pv-faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--pv-ease); }
.pv-faq__a > div { padding: 0 24px 22px; color: var(--pv-muted); }

/* ==========================================================================
   17. CTA
   ========================================================================== */
.pv-cta__inner {
	position: relative; overflow: hidden;
	border-radius: var(--pv-radius-lg);
	padding: 60px 52px;
	background: linear-gradient(120deg, var(--pv-navy) 0%, var(--pv-navy-soft) 60%, var(--pv-blue-dark) 130%);
	color: #fff;
	display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap;
}
.pv-cta__inner::before, .pv-cta__inner::after {
	content: ""; position: absolute; border-radius: 50%;
	background: rgba(255, 255, 255, .06);
}
.pv-cta__inner::before { width: 320px; height: 320px; right: -80px; top: -140px; }
.pv-cta__inner::after { width: 200px; height: 200px; right: 160px; bottom: -120px; }
.pv-cta__text { position: relative; z-index: 1; max-width: 620px; }
.pv-cta__text h2 { color: #fff; margin-bottom: 10px; }
.pv-cta__text p { color: rgba(255, 255, 255, .85); font-size: 1.06rem; margin: 0; }
.pv-cta__actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   18. Footer
   ========================================================================== */
.pv-footer { background: var(--pv-navy); color: rgba(255, 255, 255, .8); }
.pv-footer a { color: rgba(255, 255, 255, .8); }
.pv-footer a:hover { color: #fff; }
.pv-footer__top { padding-block: 62px 44px; }
.pv-footer__grid { display: grid; grid-template-columns: repeat(var(--pv-cols, 4), minmax(0, 1fr)) 1.2fr; gap: 34px; }
.pv-footer__title {
	color: #fff; font-size: 1.06rem; font-weight: 800; margin-bottom: 18px;
}
.pv-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.pv-footer__list a { font-size: .96rem; }
.pv-footer__contact { display: grid; gap: 14px; font-size: .96rem; }
.pv-footer__phone { color: #fff; font-size: 1.24rem; font-weight: 800; letter-spacing: -.02em; }
.pv-footer__social { display: flex; gap: 10px; margin-top: 6px; }
.pv-footer__social a {
	width: 40px; height: 40px; border-radius: 50%;
	background: rgba(255, 255, 255, .1); color: #fff;
	display: grid; place-items: center;
	transition: background .2s var(--pv-ease), transform .2s var(--pv-ease);
}
.pv-footer__social a:hover { background: var(--pv-blue); transform: translateY(-3px); }
.pv-footer__social svg { width: 19px; height: 19px; }
.pv-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding-block: 22px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	font-size: .9rem;
}
.pv-footer__legal { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; flex-wrap: wrap; }
.pv-footer__legal li + li::before { content: "•"; margin-right: 8px; opacity: .5; }

/* Back to top */
.pv-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 120;
	width: 46px; height: 46px; border: 0; border-radius: 50%;
	background: var(--pv-navy); color: #fff;
	display: grid; place-items: center;
	box-shadow: var(--pv-shadow);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: all .25s var(--pv-ease);
}
.pv-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.pv-top:hover { background: var(--pv-blue); }
.pv-top svg { width: 18px; height: 18px; }

/* Floating social */
.pv-float {
	position: fixed; z-index: 130; top: 50%; transform: translateY(-50%);
	display: flex; flex-direction: column; gap: 10px;
}
.pv-float--right { right: 18px; }
.pv-float--left { left: 18px; }
.pv-float__item {
	position: relative;
	width: 46px; height: 46px;
	background: var(--pv-float-bg, var(--pv-navy)); color: var(--pv-float-icon, #fff);
	display: grid; place-items: center;
	box-shadow: var(--pv-shadow);
	transition: transform .2s var(--pv-ease), filter .2s var(--pv-ease);
	border: 0;
}
.pv-float--circle .pv-float__item { border-radius: 50%; }
.pv-float--square .pv-float__item { border-radius: 12px; }
.pv-float__item:hover { transform: scale(1.09); filter: brightness(1.12); color: var(--pv-float-icon, #fff); }
.pv-float__item svg { width: 22px; height: 22px; }
.pv-float__tip {
	position: absolute; top: 50%; transform: translateY(-50%);
	white-space: nowrap; padding: 6px 12px; border-radius: 8px;
	background: var(--pv-navy-deep); color: #fff; font-size: .84rem; font-weight: 600;
	opacity: 0; visibility: hidden; transition: opacity .2s var(--pv-ease), visibility .2s;
	pointer-events: none;
}
.pv-float--right .pv-float__tip { right: calc(100% + 12px); }
.pv-float--left .pv-float__tip { left: calc(100% + 12px); }
.pv-float__item:hover .pv-float__tip { opacity: 1; visibility: visible; }
.pv-float__qr {
	position: absolute; top: 50%; transform: translateY(-50%) scale(.9);
	width: 168px; padding: 10px; border-radius: 12px; background: #fff;
	box-shadow: var(--pv-shadow-lg);
	opacity: 0; visibility: hidden; transition: all .22s var(--pv-ease);
}
.pv-float--right .pv-float__qr { right: calc(100% + 12px); }
.pv-float--left .pv-float__qr { left: calc(100% + 12px); }
.pv-float__item:hover .pv-float__qr { opacity: 1; visibility: visible; transform: translateY(-50%) scale(1); }

/* ==========================================================================
   19. Page / post content
   ========================================================================== */
.pv-page-hero {
	background: var(--pv-cream-soft);
	border-bottom: 1px solid var(--pv-border);
	padding-block: 46px 42px;
}
.pv-page-hero__title { margin-bottom: 8px; }
.pv-page-hero__sub { color: var(--pv-muted); margin: 0; font-size: 1.05rem; }
.pv-breadcrumb { font-size: .88rem; color: var(--pv-muted); margin-bottom: 12px; }
.pv-breadcrumb a { color: var(--pv-muted); }
.pv-breadcrumb a:hover { color: var(--pv-blue); }

.pv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 46px; }
.pv-layout--full { grid-template-columns: minmax(0, 1fr); }

.pv-entry { font-size: 1.05rem; }
.pv-entry img { border-radius: var(--pv-radius); }
.pv-entry h2, .pv-entry h3, .pv-entry h4 { margin-top: 1.6em; }
.pv-entry blockquote {
	margin: 1.6em 0; padding: 18px 26px;
	border-left: 4px solid var(--pv-blue); background: var(--pv-blue-soft);
	border-radius: 0 var(--pv-radius-sm) var(--pv-radius-sm) 0;
	font-size: 1.08rem;
}
.pv-entry blockquote p:last-child { margin-bottom: 0; }
.pv-entry table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; }
.pv-entry th, .pv-entry td { border: 1px solid var(--pv-border); padding: 10px 14px; text-align: left; }
.pv-entry th { background: var(--pv-cream); }
.pv-entry code { background: var(--pv-cream); padding: 2px 6px; border-radius: 5px; font-size: .92em; }
.pv-entry pre { background: var(--pv-navy); color: #eaf2f8; padding: 18px; border-radius: var(--pv-radius-sm); overflow: auto; }

.pv-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--pv-muted); font-size: .92rem; margin-bottom: 20px; }
.pv-meta__dot { opacity: .5; }

.pv-widget { margin-bottom: 34px; }
.pv-widget__title { font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; color: var(--pv-navy); }
.pv-widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pv-widget ul a { color: var(--pv-text); font-weight: 600; }
.pv-widget ul a:hover { color: var(--pv-blue); }

.pv-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }
.pv-pagination .page-numbers {
	min-width: 42px; height: 42px; padding: 0 12px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--pv-border); border-radius: var(--pv-radius-pill);
	font-weight: 700; color: var(--pv-navy); background: #fff;
	transition: all .2s var(--pv-ease);
}
.pv-pagination .page-numbers:hover { border-color: var(--pv-blue); color: var(--pv-blue); }
.pv-pagination .page-numbers.current { background: var(--pv-navy); border-color: var(--pv-navy); color: #fff; }

.pv-404 { text-align: center; padding-block: 90px; }
.pv-404__code { font-size: clamp(5rem, 14vw, 10rem); font-weight: 900; color: var(--pv-blue-soft); line-height: .9; letter-spacing: -.05em; }

/* Comments */
.pv-comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--pv-border); }
.pv-comments ol.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.pv-comments .comment-body { padding: 20px 0; border-bottom: 1px solid var(--pv-border); }
.pv-comments .children { list-style: none; padding-left: 30px; }
.pv-comments input[type="text"], .pv-comments input[type="email"], .pv-comments input[type="url"], .pv-comments textarea {
	width: 100%; padding: 12px 16px; border: 1px solid var(--pv-border);
	border-radius: var(--pv-radius-sm); background: #fff;
}
.pv-comments .submit {
	display: inline-flex; padding: 13px 28px; border: 0;
	border-radius: var(--pv-radius-pill); background: var(--pv-navy); color: #fff; font-weight: 700;
}

/* ==========================================================================
   20. Animations
   ========================================================================== */
[data-pv-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--pv-ease), transform .6s var(--pv-ease); }
[data-pv-reveal].is-in { opacity: 1; transform: none; }
/* If scripting never runs, nothing should stay invisible. */
.no-js [data-pv-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	[data-pv-reveal] { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}

/* ==========================================================================
   21. Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	:root { --pv-section-y: 60px; }
	.pv-deals__grid { --pv-cols: 3 !important; }
	.pv-pets__grid { --pv-cols: 3 !important; }
	.pv-posts__grid { --pv-cols: 2 !important; }
	.pv-footer__grid { --pv-cols: 2 !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
	.pv-header__utility { display: none; }
	.pv-nav { display: none; }
	.pv-burger { display: inline-flex; }
	.pv-header__main .pv-container {
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "burger brand tools" "search search search";
		gap: 12px 14px;
	}
	.pv-burger { grid-area: burger; }
	.pv-brand { grid-area: brand; }
	.pv-search { grid-area: search; }
	.pv-header__tools { grid-area: tools; justify-self: end; }
	.pv-tool span { display: none; }
	.pv-tool { padding: 9px 10px; }
	.pv-hero__inner { min-height: 0; }
	.pv-hero__content { padding: 46px 28px; max-width: none; }
	.pv-hero__scrim { background: linear-gradient(180deg, rgba(255, 253, 247, .96) 0%, rgba(255, 253, 247, .9) 52%, rgba(255, 253, 247, .55) 100%); }
	.pv-hero__bg img { object-position: center 30%; }
	.pv-quick__grid { --pv-cols: 1 !important; gap: 18px; }
	.pv-quick__item { border-right: 0; border-bottom: 1px solid var(--pv-border); padding-bottom: 16px; }
	.pv-quick__item:last-child { border-bottom: 0; padding-bottom: 0; }
	.pv-cats__grid { --pv-cols: 2 !important; }
	.pv-services__grid { --pv-cols: 1 !important; }
	.pv-quotes__grid { --pv-cols: 1 !important; }
	.pv-trust__grid { --pv-cols: 2 !important; }
	.pv-band__inner { min-height: 0; }
	.pv-band__content { padding: 40px 28px; max-width: none; }
	.pv-band__scrim { background: linear-gradient(180deg, rgba(36, 55, 70, .3) 0%, rgba(36, 55, 70, .92) 55%); }
	.pv-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.pv-cta__inner { padding: 42px 28px; }
	.pv-float { top: auto; bottom: 84px; transform: none; }
}

@media (max-width: 768px) {
	:root { --pv-section-y: 48px; --pv-gutter: 18px; --pv-radius-lg: 20px; }
	.pv-brand__text { font-size: 1.5rem; }
	.pv-deals__grid { --pv-cols: 2 !important; gap: 12px; }
	.pv-pets__grid { --pv-cols: 3 !important; gap: 14px; }
	.pv-pet__disc { width: 86px; height: 86px; }
	.pv-pet__disc svg { width: 46px; height: 46px; }
	.pv-pet__name { font-size: .92rem; }
	.pv-posts__grid { --pv-cols: 1 !important; }
	.pv-footer__grid { --pv-cols: 1 !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
	.pv-footer__bottom { justify-content: center; text-align: center; }
	.pv-cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 576px) {
	.pv-cats__grid { --pv-cols: 1 !important; }
	.pv-trust__grid { --pv-cols: 1 !important; }
	.pv-footer__grid { --pv-cols: 1 !important; grid-template-columns: minmax(0, 1fr); }
	.pv-hero__actions .pv-btn { width: 100%; }
	.pv-float__item { width: 40px; height: 40px; }
	.pv-float__item svg { width: 19px; height: 19px; }
}
