/* ==========================================================================
   PawGadgetHub: main stylesheet
   Palette: Navy / Teal / Tangerine.  Fonts: Plus Jakarta Sans (headings) + Inter (body)
   ========================================================================== */

@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/plus-jakarta-sans-latin-var.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/inter-latin-var.woff2') format('woff2');
}

:root {
	--pgh-navy: #12264a;
	--pgh-navy-dark: #0d1d3a;
	--pgh-teal: #0b7f7a;
	--pgh-teal-light: #4fd1c5;
	--pgh-orange: #cf4208;
	--pgh-orange-dark: #b53a06;
	--pgh-orange-light: #ff8a4c;
	--pgh-ink: #14213d;
	--pgh-muted: #55627a;
	--pgh-soft: #eef6f7;
	--pgh-line: #dce4ea;
	--pgh-white: #fff;
	--pgh-gold: #f59e0b;

	--pgh-font-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--pgh-font-body: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--pgh-radius: 14px;
	--pgh-radius-sm: 10px;
	--pgh-shadow: 0 1px 2px rgba(18, 38, 74, 0.06), 0 8px 24px rgba(18, 38, 74, 0.07);
	--pgh-shadow-hover: 0 2px 4px rgba(18, 38, 74, 0.08), 0 14px 34px rgba(18, 38, 74, 0.13);
	--pgh-header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	background: var(--pgh-white);
	color: var(--pgh-ink);
	font-family: var(--pgh-font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--pgh-teal); text-underline-offset: 3px; }
a:hover { color: var(--pgh-navy); }
:focus-visible { outline: 3px solid var(--pgh-orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4, h5 {
	font-family: var(--pgh-font-head);
	font-weight: 800;
	color: var(--pgh-navy);
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 0.6em;
}
p { margin: 0 0 1.1em; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	position: fixed; top: 8px; left: 8px; z-index: 1000;
	background: var(--pgh-white); color: var(--pgh-navy); padding: 12px 18px; border-radius: 8px; font-weight: 700; box-shadow: var(--pgh-shadow);
}
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.container--wide { max-width: 1100px; }
.container--narrow { max-width: 800px; }
.pgh-icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }

/* ---------- Buttons ---------- */
.pgh-btn, .wp-block-button.is-style-pgh-buy .wp-block-button__link, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--pgh-orange); color: #fff; text-decoration: none;
	font-family: var(--pgh-font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
	padding: 14px 24px; border: 2px solid var(--pgh-orange); border-radius: var(--pgh-radius-sm);
	cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.pgh-btn:hover, .wp-block-button__link:hover { background: var(--pgh-orange-dark); border-color: var(--pgh-orange-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(207, 66, 8, 0.28); }
.pgh-btn .pgh-icon { width: 1.15em; height: 1.15em; }
.pgh-btn--ghost { background: transparent; color: var(--pgh-navy); border-color: var(--pgh-navy); }
.pgh-btn--ghost:hover { background: var(--pgh-navy); border-color: var(--pgh-navy); color: #fff; box-shadow: none; }
.pgh-btn--sm { padding: 8px 14px; font-size: 0.875rem; white-space: nowrap; }
.pgh-chip {
	display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	color: var(--pgh-teal); background: var(--pgh-soft); padding: 4px 10px; border-radius: 999px; text-decoration: none; margin-bottom: 10px;
}
.pgh-chip:hover { background: var(--pgh-teal); color: #fff; }
.pgh-card__body .pgh-chip { align-self: flex-start; }
.pgh-badge {
	display: inline-block; background: var(--pgh-teal); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
	text-transform: uppercase; padding: 4px 10px; border-radius: 999px; line-height: 1.3;
}
.pgh-badge--sm { font-size: 0.6875rem; padding: 2px 8px; margin-left: 4px; vertical-align: 2px; }
.pgh-notice { background: #fff7ed; border: 1px dashed var(--pgh-orange); color: #7c2d12; padding: 14px 18px; border-radius: var(--pgh-radius-sm); font-size: 0.9375rem; }

/* ---------- Header ---------- */
.site-header {
	--paw-1: #fff; --paw-2: var(--pgh-teal-light); --paw-3: var(--pgh-orange-light);
	position: sticky; top: 0; z-index: 100; background: var(--pgh-navy); color: #fff;
	transition: box-shadow 0.2s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(8, 16, 36, 0.35); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--pgh-header-h); }
.site-branding { flex: none; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.site-logo__mark { width: 38px; height: 38px; flex: none; }
.site-logo__text { font-family: var(--pgh-font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1; color: #fff; }
.site-logo__text em { font-style: normal; color: var(--pgh-teal-light); }
.custom-logo-link img { max-height: 44px; width: auto; display: block; }
.pgh-paw .pgh-paw__toes { fill: var(--paw-1, var(--pgh-navy)); }
.pgh-paw .pgh-paw__pad { fill: var(--paw-2, var(--pgh-teal)); }
.pgh-paw .pgh-paw__dot { fill: var(--paw-3, var(--pgh-orange)); }

.primary-nav { margin-left: auto; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.primary-nav a {
	display: block; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9375rem;
	padding: 10px 14px; border-radius: 8px; opacity: 0.92; transition: background 0.15s, opacity 0.15s;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-cat > a { background: rgba(255, 255, 255, 0.12); opacity: 1; color: #fff; }
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .sub-menu {
	display: none; position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px;
	background: var(--pgh-navy-dark); border-radius: 12px; box-shadow: var(--pgh-shadow-hover);
}
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.site-header__tools { display: flex; align-items: center; gap: 4px; }
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
	background: transparent; border: 0; border-radius: 10px; color: #fff; cursor: pointer;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.12); }
.icon-btn .pgh-icon { width: 24px; height: 24px; }
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__close { display: inline-flex; }
.header-search { background: var(--pgh-navy-dark); padding: 14px 0; }

@media (max-width: 920px) {
	.nav-toggle { display: inline-flex; }
	.site-header__tools { margin-left: auto; }
	.primary-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
		background: var(--pgh-navy); padding: 8px 20px 20px; border-top: 1px solid rgba(255, 255, 255, 0.12);
		box-shadow: 0 16px 24px rgba(8, 16, 36, 0.3);
	}
	.primary-nav.is-open { display: block; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav a { padding: 14px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0; font-size: 1rem; }
	.primary-nav .sub-menu { display: block; position: static; background: transparent; box-shadow: none; padding: 0 0 0 14px; }
}

/* ---------- Search form ---------- */
.pgh-search { display: flex; max-width: 640px; margin-inline: auto; background: #fff; border-radius: 12px; overflow: hidden; border: 2px solid var(--pgh-line); }
.pgh-search:focus-within { border-color: var(--pgh-teal); }
.pgh-search__input { flex: 1; min-width: 0; border: 0; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--pgh-ink); background: transparent; outline: none; }
.pgh-search__btn { background: var(--pgh-orange); color: #fff; border: 0; padding: 0 18px; cursor: pointer; display: inline-flex; align-items: center; }
.pgh-search__btn:hover { background: var(--pgh-orange-dark); }

/* ---------- Homepage ---------- */
.pgh-hero { background: linear-gradient(135deg, var(--pgh-soft) 0%, #fff 70%); padding: 64px 0 56px; overflow: hidden; }
.pgh-hero__inner { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center; }
.pgh-eyebrow { font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pgh-teal); margin-bottom: 14px; }
.pgh-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 18px; }
.pgh-hero__sub { font-size: 1.2rem; color: var(--pgh-muted); max-width: 54ch; margin-bottom: 28px; }
.pgh-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pgh-hero__art { position: relative; display: grid; place-items: center; min-height: 280px; }
.pgh-hero__blob { position: absolute; width: 100%; max-width: 340px; aspect-ratio: 1; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background: #fff; box-shadow: var(--pgh-shadow); }
.pgh-hero__paw { position: relative; width: 62%; max-width: 220px; }
@media (max-width: 820px) {
	.pgh-hero { padding: 40px 0; }
	.pgh-hero__inner { grid-template-columns: 1fr; }
	.pgh-hero__art { display: none; }
}

.pgh-section { padding: 64px 0; }
.pgh-section--soft { background: var(--pgh-soft); }
.pgh-section__title { font-size: clamp(1.6rem, 3vw, 2.1rem); text-align: center; margin-bottom: 36px; }
.pgh-section__more { text-align: center; margin: 32px 0 0; }
@media (max-width: 640px) { .pgh-section { padding: 44px 0; } }

.pgh-catgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pgh-catcard {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pgh-line); border-radius: var(--pgh-radius);
	padding: 24px 20px; text-decoration: none; color: var(--pgh-ink); transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.pgh-catcard:hover { transform: translateY(-4px); box-shadow: var(--pgh-shadow-hover); border-color: var(--pgh-teal); color: var(--pgh-ink); }
.pgh-catcard__icon, .pgh-pillar__icon, .pgh-archive-head__icon {
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--pgh-soft); color: var(--pgh-teal); margin-bottom: 16px;
}
.pgh-catcard__icon .pgh-icon, .pgh-pillar__icon .pgh-icon, .pgh-archive-head__icon .pgh-icon { width: 28px; height: 28px; }
.pgh-catcard h3 { font-size: 1.1rem; margin-bottom: 6px; }
.pgh-catcard p { font-size: 0.9rem; color: var(--pgh-muted); line-height: 1.5; flex: 1; margin-bottom: 14px; }
.pgh-catcard__more { font-weight: 700; font-size: 0.875rem; color: var(--pgh-orange); display: inline-flex; align-items: center; gap: 6px; font-family: var(--pgh-font-head); }
@media (max-width: 1020px) { .pgh-catgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .pgh-catgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .pgh-catgrid { grid-template-columns: 1fr; } }

.pgh-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pgh-pillar { text-align: center; padding: 8px 12px; }
.pgh-pillar__icon { margin: 0 auto 16px; width: 60px; height: 60px; border-radius: 50%; }
.pgh-pillar h3 { font-size: 1.15rem; }
.pgh-pillar p { color: var(--pgh-muted); margin: 0 auto; max-width: 34ch; }
@media (max-width: 760px) { .pgh-pillars { grid-template-columns: 1fr; } }

/* ---------- Cards & grids ---------- */
.pgh-grid { display: grid; gap: 24px; }
.pgh-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pgh-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .pgh-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .pgh-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pgh-grid--3, .pgh-grid--4 { grid-template-columns: 1fr; } }

.pgh-card { background: #fff; border: 1px solid var(--pgh-line); border-radius: var(--pgh-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.18s, box-shadow 0.18s; }
.pgh-card:hover { transform: translateY(-4px); box-shadow: var(--pgh-shadow-hover); }
.pgh-card__media { display: block; aspect-ratio: 16 / 10; background: var(--pgh-soft); overflow: hidden; }
.pgh-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.pgh-card:hover .pgh-card__media img { transform: scale(1.04); }
.pgh-card__ph { display: grid; place-items: center; width: 100%; height: 100%; }
.pgh-card__ph .pgh-paw, .pgh-product__ph .pgh-paw { width: 56px; opacity: 0.9; }
.pgh-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pgh-card__title { font-size: 1.1rem; line-height: 1.3; margin-bottom: 8px; }
.pgh-card__title a { color: var(--pgh-navy); text-decoration: none; }
.pgh-card__title a:hover { color: var(--pgh-teal); text-decoration: underline; }
.pgh-card__excerpt { font-size: 0.9375rem; color: var(--pgh-muted); line-height: 1.55; flex: 1; margin-bottom: 14px; }
.pgh-card__meta { font-size: 0.8125rem; color: var(--pgh-muted); display: flex; gap: 8px; align-items: center; }

/* ---------- Archive ---------- */
.site-main { min-height: 50vh; }
.pgh-archive-head { padding: 36px 0 28px; max-width: 760px; }
.pgh-archive-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.pgh-archive-head h1 span { color: var(--pgh-teal); }
.pgh-archive-head__icon { margin-bottom: 14px; }
.pgh-archive-head__desc { color: var(--pgh-muted); font-size: 1.1rem; }
.pgh-archive-head__desc p:last-child { margin-bottom: 0; }
.site-main > .container { padding-bottom: 64px; }
.pgh-none { text-align: center; padding: 48px 0; }
.navigation.pagination { margin-top: 40px; }
.navigation.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.page-numbers { display: inline-block; min-width: 42px; padding: 9px 14px; text-align: center; border: 1px solid var(--pgh-line); border-radius: 10px; text-decoration: none; color: var(--pgh-navy); font-weight: 600; }
a.page-numbers:hover { border-color: var(--pgh-teal); color: var(--pgh-teal); }
.page-numbers.current { background: var(--pgh-navy); border-color: var(--pgh-navy); color: #fff; }

/* ---------- Breadcrumbs ---------- */
.pgh-breadcrumbs { padding: 20px 0 0; font-size: 0.875rem; }
.pgh-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--pgh-muted); }
.pgh-breadcrumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.pgh-breadcrumbs a { color: var(--pgh-muted); text-decoration: none; }
.pgh-breadcrumbs a:hover { color: var(--pgh-teal); text-decoration: underline; }

/* ---------- Single article ---------- */
.pgh-article__head { padding: 18px 0 8px; }
.pgh-article__title { font-size: clamp(1.9rem, 4.5vw, 2.9rem); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 16px; }
.pgh-article__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; color: var(--pgh-muted); font-size: 0.9rem; }
.pgh-article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.pgh-article__meta img { border-radius: 50%; }
.pgh-article__image { margin: 24px 0 8px; }
.pgh-article__image img { width: 100%; border-radius: var(--pgh-radius); display: block; }
.pgh-article--page .pgh-article__head { padding-bottom: 20px; }

.pgh-disclosure {
	display: flex; gap: 12px; align-items: flex-start; background: var(--pgh-soft); border: 1px solid #cfe3e5; border-left: 4px solid var(--pgh-teal);
	border-radius: var(--pgh-radius-sm); padding: 14px 16px; margin: 18px 0 8px; font-size: 0.9rem; line-height: 1.55; color: var(--pgh-ink);
}
.pgh-disclosure .pgh-icon { color: var(--pgh-teal); margin-top: 2px; width: 22px; height: 22px; }
.pgh-disclosure p { margin: 0; }

.entry-content { padding: 18px 0 28px; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); margin-top: 2.1em; scroll-margin-top: calc(var(--pgh-header-h) + 24px); }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.7em; scroll-margin-top: calc(var(--pgh-header-h) + 24px); }
.entry-content h4 { font-size: 1.1rem; margin-top: 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content img { border-radius: var(--pgh-radius-sm); }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: 0.875rem; color: var(--pgh-muted); text-align: center; margin-top: 8px; }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--pgh-teal); color: var(--pgh-navy); font-size: 1.1rem; }
.entry-content blockquote cite { font-size: 0.9rem; color: var(--pgh-muted); }
.entry-content hr { border: 0; border-top: 1px solid var(--pgh-line); margin: 2.2em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1.6em 0; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid var(--pgh-line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--pgh-navy); color: #fff; font-family: var(--pgh-font-head); font-weight: 700; }
.entry-content .alignwide { margin-inline: auto; }
.entry-content--full { padding: 0; }
.pgh-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.pgh-tags a { font-size: 0.8125rem; padding: 4px 12px; border-radius: 999px; background: var(--pgh-soft); color: var(--pgh-navy); text-decoration: none; }
.pgh-tags a:hover { background: var(--pgh-navy); color: #fff; }
.pgh-page-links { margin: 1em 0; font-weight: 600; }

/* Block styles */
.wp-block-group.is-style-pgh-callout { background: #fff7ed; border: 1px solid #fed7aa; border-left: 5px solid var(--pgh-orange); border-radius: var(--pgh-radius-sm); padding: 18px 22px; margin: 1.6em 0; }
.wp-block-group.is-style-pgh-verdict { background: var(--pgh-navy); color: #fff; border-radius: var(--pgh-radius); padding: 22px 26px; margin: 1.6em 0; }
.wp-block-group.is-style-pgh-verdict * { color: #fff; }
.wp-block-group > :last-child { margin-bottom: 0; }
.wp-block-table.is-style-pgh-compare { overflow-x: auto; }
.wp-block-table.is-style-pgh-compare table { min-width: 560px; }
.wp-block-table.is-style-pgh-compare tbody tr:nth-child(even) td { background: var(--pgh-soft); }
.wp-block-table.is-style-pgh-compare td:first-child { font-weight: 700; color: var(--pgh-navy); }
.wp-block-table.is-style-pgh-compare figcaption { text-align: left; }

/* ---------- Table of contents ---------- */
.pgh-toc { background: var(--pgh-soft); border: 1px solid #cfe3e5; border-radius: var(--pgh-radius); padding: 4px 20px; margin: 1.8em 0; }
.pgh-toc summary { cursor: pointer; font-family: var(--pgh-font-head); font-weight: 800; color: var(--pgh-navy); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.pgh-toc summary::-webkit-details-marker { display: none; }
.pgh-toc summary::after { content: '−'; font-size: 1.4rem; line-height: 1; color: var(--pgh-teal); }
.pgh-toc details:not([open]) summary::after { content: '+'; }
.pgh-toc ol { list-style: none; margin: 0 0 14px; padding: 0; counter-reset: toc; }
.pgh-toc__item { margin: 0; }
.pgh-toc__item--h2 { counter-increment: toc; }
.pgh-toc__item a { display: block; padding: 6px 0; text-decoration: none; color: var(--pgh-ink); font-weight: 500; font-size: 0.975rem; }
.pgh-toc__item a:hover { color: var(--pgh-teal); text-decoration: underline; }
.pgh-toc__item--h2 a::before { content: counter(toc) '. '; color: var(--pgh-teal); font-weight: 700; }
.pgh-toc__item--h3 { padding-left: 22px; }
.pgh-toc__item--h3 a { font-size: 0.9rem; color: var(--pgh-muted); }

/* ---------- Product box ---------- */
.pgh-product {
	display: grid; grid-template-columns: 240px 1fr; gap: 24px; background: #fff; border: 2px solid var(--pgh-line); border-radius: var(--pgh-radius);
	padding: 22px; margin: 2em 0; box-shadow: var(--pgh-shadow);
}
.pgh-product__media { position: relative; display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.pgh-product__media > a, .pgh-product__media > img { display: block; }
.pgh-product__media img { width: 100%; height: auto; border-radius: var(--pgh-radius-sm); aspect-ratio: 4 / 3; object-fit: cover; background: var(--pgh-soft); }
.pgh-product__ph { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--pgh-soft); border-radius: var(--pgh-radius-sm); }
.pgh-product__media .pgh-badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--pgh-orange); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); }
.pgh-product__rank { position: absolute; top: 8px; right: 8px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--pgh-navy); color: #fff; font-family: var(--pgh-font-head); font-weight: 800; display: grid; place-items: center; font-size: 0.95rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
.pgh-product__title { margin: 0 0 8px; font-size: 1.4rem; }
.pgh-product__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 12px; }
.pgh-product__score { font-weight: 700; color: var(--pgh-navy); }
.pgh-product__price { font-weight: 700; color: var(--pgh-ink); background: var(--pgh-soft); padding: 2px 12px; border-radius: 999px; font-size: 0.9rem; }
.pgh-product__summary { margin-bottom: 14px; }
.pgh-product__summary > :last-child { margin-bottom: 0; }
.pgh-product__actions { margin-top: 18px; }
.pgh-stars { display: inline-block; font-size: 1.15rem; letter-spacing: 2px; line-height: 1; white-space: nowrap; }
.pgh-stars::before {
	content: '★★★★★'; background: linear-gradient(90deg, var(--pgh-gold) var(--pgh-rating, 0%), #cbd5e1 var(--pgh-rating, 0%));
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
@media (max-width: 640px) { .pgh-product { grid-template-columns: 1fr; padding: 16px; } .pgh-product__media { max-width: 320px; } }

/* Pros & cons */
.pgh-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 0; }
.pgh-proscons--standalone { margin: 1.6em 0; }
.pgh-proscons__col { border-radius: var(--pgh-radius-sm); padding: 14px 16px; font-size: 0.95rem; }
.pgh-proscons__col strong { display: block; font-family: var(--pgh-font-head); margin-bottom: 6px; }
.pgh-proscons__col ul { list-style: none; margin: 0; padding: 0; }
.pgh-proscons__col li { position: relative; padding-left: 24px; margin: 0 0 6px; line-height: 1.5; }
.pgh-proscons__col li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.pgh-proscons__col--pros { background: #e8f6ef; }
.pgh-proscons__col--pros strong { color: #14633f; }
.pgh-proscons__col--pros li::before { content: '✓'; color: #14633f; }
.pgh-proscons__col--cons { background: #fdeceb; }
.pgh-proscons__col--cons strong { color: #9b1c1c; }
.pgh-proscons__col--cons li::before { content: '✕'; color: #9b1c1c; }
@media (max-width: 560px) { .pgh-proscons { grid-template-columns: 1fr; } }

.pgh-cta { text-align: center; margin: 1.8em 0; }

/* ---------- Comparison table ---------- */
.pgh-compare { overflow-x: auto; margin: 2em 0; border: 1px solid var(--pgh-line); border-radius: var(--pgh-radius); background: #fff; -webkit-overflow-scrolling: touch; }
.pgh-compare:focus-visible { outline-offset: 0; }
.pgh-compare .pgh-compare__table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.95rem; margin: 0; }
.pgh-compare .pgh-compare__table th, .pgh-compare .pgh-compare__table td { padding: 14px 16px; text-align: left; vertical-align: middle; border: 0; border-bottom: 1px solid var(--pgh-line); }
.pgh-compare .pgh-compare__table thead th { background: var(--pgh-navy); color: #fff; font-family: var(--pgh-font-head); font-weight: 700; font-size: 0.875rem; white-space: nowrap; }
.pgh-compare .pgh-compare__table tbody th { font-family: var(--pgh-font-head); font-weight: 700; color: var(--pgh-navy); background: #fff; position: sticky; left: 0; z-index: 1; min-width: 170px; box-shadow: 1px 0 0 var(--pgh-line); }
.pgh-compare .pgh-compare__table tbody tr:last-child th, .pgh-compare .pgh-compare__table tbody tr:last-child td { border-bottom: 0; }
.pgh-compare .pgh-compare__table tbody tr:nth-child(even) td { background: #f8fbfc; }
.pgh-compare .pgh-compare__table tbody tr:nth-child(even) th { background: #f8fbfc; }
.pgh-compare .pgh-compare__table tr.is-top td, .pgh-compare .pgh-compare__table tr.is-top th { background: #fff4ec; }
.pgh-compare .pgh-compare__table tr.is-top th { box-shadow: inset 4px 0 0 var(--pgh-orange), 1px 0 0 var(--pgh-line); }
.pgh-compare .pgh-compare__table .pgh-badge--sm { background: var(--pgh-orange); display: inline-block; margin: 4px 0 0; }

/* ---------- Author box ---------- */
.pgh-authorbox { display: flex; gap: 18px; align-items: flex-start; background: var(--pgh-soft); border-radius: var(--pgh-radius); padding: 22px; margin: 28px 0; }
.pgh-authorbox__avatar img { border-radius: 50%; display: block; }
.pgh-authorbox__name { font-family: var(--pgh-font-head); font-weight: 800; color: var(--pgh-navy); margin: 0 0 4px; }
.pgh-authorbox p:last-child { margin: 0; font-size: 0.95rem; color: var(--pgh-muted); }

.pgh-related { background: var(--pgh-soft); padding: 56px 0 64px; margin-top: 24px; }

/* ---------- Newsletter ---------- */
.pgh-newsletter { padding: 8px 0 72px; }
.pgh-newsletter__box {
	display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
	background: linear-gradient(135deg, var(--pgh-navy) 0%, #0f3a5f 100%); color: #fff; border-radius: 22px; padding: 44px 48px;
}
.pgh-newsletter__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, 0.12); color: var(--pgh-teal-light); margin-bottom: 14px; }
.pgh-newsletter__icon .pgh-icon { width: 28px; height: 28px; }
.pgh-newsletter h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 8px; }
.pgh-newsletter p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.pgh-nl-form { display: flex; gap: 10px; }
.pgh-nl-form input[type='email'] { flex: 1; min-width: 0; padding: 14px 16px; border: 2px solid transparent; border-radius: var(--pgh-radius-sm); font: inherit; background: #fff; color: var(--pgh-ink); }
.pgh-nl-form input[type='email']:focus { border-color: var(--pgh-teal-light); outline: none; }
.pgh-newsletter__fine { font-size: 0.8125rem; margin-top: 10px !important; opacity: 0.8; }
.pgh-newsletter .pgh-notice { background: rgba(255, 255, 255, 0.95); }
@media (max-width: 820px) { .pgh-newsletter__box { grid-template-columns: 1fr; padding: 32px 24px; } }
@media (max-width: 480px) { .pgh-nl-form { flex-direction: column; } }

/* ---------- Footer ---------- */
.site-footer { --paw-1: #fff; --paw-2: var(--pgh-teal-light); --paw-3: var(--pgh-orange-light); background: var(--pgh-navy-dark); color: rgba(255, 255, 255, 0.82); margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.site-footer__brand p { margin: 16px 0 0; max-width: 42ch; font-size: 0.95rem; }
.site-footer__title { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-family: var(--pgh-font-head); }
.site-footer .menu { list-style: none; margin: 0; padding: 0; }
.site-footer .menu li { margin: 0 0 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 22px 0 28px; font-size: 0.8125rem; }
.site-footer__bottom p { margin: 0 0 6px; }
.site-footer__disclosure { color: #fff; font-weight: 600; }
.site-footer__copy { opacity: 0.8; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; } }

/* ---------- 404 ---------- */
.pgh-404 { text-align: center; padding: 64px 20px 80px; }
.pgh-404__paw { width: 96px; margin-bottom: 12px; }
.pgh-404 .pgh-search { margin-bottom: 24px; }

/* ---------- Comments ---------- */
.pgh-comments { margin: 32px 0 56px; }
.pgh-comments__title { font-size: 1.4rem; }
.pgh-comments__list { list-style: none; padding: 0; }
.pgh-comments__list .comment-body { background: var(--pgh-soft); border-radius: var(--pgh-radius-sm); padding: 16px 18px; margin-bottom: 14px; }
.pgh-comments__list .children { list-style: none; padding-left: 20px; }
.pgh-comments__list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type='text'], .comment-form input[type='email'], .comment-form input[type='url'], .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 2px solid var(--pgh-line); border-radius: var(--pgh-radius-sm); font: inherit;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--pgh-teal); outline: none; }
.comment-form .submit { background: var(--pgh-orange); color: #fff; border: 0; border-radius: var(--pgh-radius-sm); padding: 14px 24px; font-weight: 700; font-family: var(--pgh-font-head); cursor: pointer; }
.comment-form .submit:hover { background: var(--pgh-orange-dark); }

/* ---------- WordPress alignment helpers ---------- */
.alignleft { float: left; margin: 0.3em 1.4em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: var(--pgh-muted); text-align: center; }
.sticky, .bypostauthor { display: block; }
.gallery-caption { display: block; }

@media print {
	.site-header, .site-footer, .pgh-newsletter, .pgh-related, .pgh-disclosure { display: none; }
}
