/* PawSifted Guide Layout */
.entry-content {
	--psg-brand: #2f7f7a;
	--psg-brand-dark: #1f5d59;
	--psg-brand-soft: #e8f3f2;
	--psg-cream: #faf6ef;
	--psg-ink: #222;
	--psg-muted: #5f6b6a;
	--psg-line: #e6e1d8;
	--psg-cta: #f7b733;
	--psg-cta-hover: #f0a500;
	--psg-good: #2e7d4f;
	--psg-good-bg: #eef7f1;
	--psg-warn: #9a6200;
	--psg-warn-bg: #fff6e6;
	--psg-skip: #b4413a;
	--psg-skip-bg: #fcefee;
	--psg-radius: 14px;
	transition: opacity .15s ease;
}
.psg-sr {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

/* Meta pills */
.psg-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4em; }
.psg-pill {
	font-size: 13px; line-height: 1; padding: 7px 12px; border-radius: 999px;
	background: var(--psg-cream); border: 1px solid var(--psg-line); color: var(--psg-muted);
}
.psg-pill a { color: inherit; text-decoration: underline; }
.psg-pill--date { background: var(--psg-brand-soft); border-color: transparent; color: var(--psg-brand-dark); font-weight: 600; }

/* Table of contents */
.psg-toc { margin: 1.6em 0 2em; border: 1px solid var(--psg-line); border-radius: var(--psg-radius); background: var(--psg-cream); }
.psg-toc summary { cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; color: var(--psg-brand-dark); }
.psg-toc ol { list-style: none; margin: 0; padding: 0 18px 16px; columns: 2; column-gap: 32px; font-size: 15px; }
.psg-toc li { break-inside: avoid; margin: 0 0 6px; }
.psg-toc a { color: var(--psg-ink); text-decoration: none; }
.psg-toc a:hover { color: var(--psg-brand); text-decoration: underline; }

/* Badges */
.psg-badge {
	display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	padding: 5px 10px; border-radius: 6px; background: var(--psg-brand-soft); color: var(--psg-brand-dark);
}
.psg-badge--top { background: var(--psg-cta); color: #3a2a00; }

/* Amazon buttons */
.entry-content a.psg-btn-amazon.psg-btn-amazon,
.entry-content .psg-cta .wp-block-button__link.psg-btn-amazon {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	/* !important: the site's Additional CSS forces a teal background on every block button. */
	background: var(--psg-cta) !important; color: #1d1600 !important; font-weight: 700; font-size: 16px;
	padding: 14px 26px !important; border-radius: 10px !important; text-decoration: none; border: 0;
	box-shadow: 0 2px 0 rgba(0,0,0,.12); transition: background .15s, transform .15s;
}
.entry-content a.psg-btn-amazon.psg-btn-amazon:hover { background: var(--psg-cta-hover) !important; color: #1d1600 !important; transform: translateY(-1px); }
/* Narrow cards (older guides' "Top picks at a glance" grid): full-width, compact, one line. */
.entry-content .ps-card .wp-block-button { width: 100%; }
.entry-content .ps-card a.psg-btn-amazon.psg-btn-amazon { width: 100%; font-size: 15px; padding: 11px 12px !important; white-space: nowrap; gap: 8px; }
.psg-btn-amazon .psg-arrow { transition: transform .15s; }
.psg-btn-amazon:hover .psg-arrow { transform: translateX(3px); }
.entry-content a.psg-btn-amazon.psg-btn-amazon--sm { font-size: 14px; padding: 10px 16px !important; }

/* Quick-pick cards */
.psg-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin: 1.2em 0; }
.psg-pick {
	display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #fff;
	border: 1px solid var(--psg-line); border-radius: var(--psg-radius); transition: box-shadow .15s, transform .15s;
}
.psg-pick:hover { box-shadow: 0 8px 24px rgba(31, 93, 89, .12); transform: translateY(-2px); }
.psg-pick--top { border: 2px solid var(--psg-cta); }
.psg-pick .psg-badge { align-self: flex-start; font-size: 11px; }
.entry-content .psg-pick__name { font-weight: 700; font-size: 18px; line-height: 1.25; color: var(--psg-ink); text-decoration: none; }
.entry-content a.psg-pick__name:hover { color: var(--psg-brand); }
.psg-pick__facts { margin: 0; font-size: 14px; color: var(--psg-muted); flex: 1; }
.psg-pick__facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; color: var(--psg-ink); margin-top: 6px; }
.psg-pick__facts dd { margin: 2px 0 0; }
.psg-pick__actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.psg-link-more { font-size: 14px; text-align: center; color: var(--psg-brand); text-decoration: none; }
.psg-link-more:hover { text-decoration: underline; }

.psg-compare { margin: 0 0 2em; }
.psg-compare summary { cursor: pointer; font-size: 15px; color: var(--psg-brand); font-weight: 600; padding: 6px 0; }
.psg-compare figure { margin-top: 10px; overflow-x: auto; }

/* Product cards */
.psg-product {
	position: relative; margin: 2.4em 0; padding: 26px 28px 22px; background: #fff;
	border: 1px solid var(--psg-line); border-radius: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.04);
	scroll-margin-top: 20px;
}
.psg-product__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.psg-rank {
	flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
	background: var(--psg-brand); color: #fff; font-weight: 800; font-size: 20px;
}
.psg-product__titles { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.entry-content .psg-product__h { margin: 0; padding: 0; border: 0; font-size: 28px; font-weight: 700; line-height: 1.2; }
.psg-product > p:last-of-type { margin-bottom: 1em; }

/* Verdict boxes */
.psg-verdict { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 1.2em 0; }
.psg-verdict__box { border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.psg-verdict__box p { margin: 0; }
.psg-verdict__label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.psg-verdict__icon { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff; }
.psg-verdict__box--good { background: var(--psg-good-bg); }
.psg-verdict__box--good .psg-verdict__label { color: var(--psg-good); }
.psg-verdict__box--good .psg-verdict__icon { background: var(--psg-good); }
.psg-verdict__box--warn { background: var(--psg-warn-bg); }
.psg-verdict__box--warn .psg-verdict__label { color: var(--psg-warn); }
.psg-verdict__box--warn .psg-verdict__icon { background: #d98e04; }
.psg-verdict__box--skip { background: var(--psg-skip-bg); }
.psg-verdict__box--skip .psg-verdict__label { color: var(--psg-skip); }
.psg-verdict__box--skip .psg-verdict__icon { background: var(--psg-skip); }
.psg-verdict__box--info { background: var(--psg-cream); }
.psg-verdict__box--info .psg-verdict__icon { background: var(--psg-muted); }

.psg-cta { margin: 1.2em 0 0; padding-top: 18px; border-top: 1px dashed var(--psg-line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.psg-cta .wp-block-button { margin: 0; }
.psg-cta__note { flex: 1 1 200px; margin: 0 !important; font-size: 13px; color: var(--psg-muted); }

/* Buying-guide tip cards */
.psg-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 1.4em 0 2em; }
.psg-tip { position: relative; padding: 20px 20px 16px; background: var(--psg-cream); border-radius: var(--psg-radius); border: 1px solid var(--psg-line); }
.psg-tip__num {
	display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
	background: var(--psg-brand); color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 10px;
}
.entry-content .psg-tip h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.psg-tip p { font-size: 15px; line-height: 1.6; margin: 0 0 .6em; }
.psg-tip p:last-child { margin-bottom: 0; }

/* FAQ accordion */
.psg-faq { margin: 1.2em 0 2em; border-top: 1px solid var(--psg-line); }
.psg-faq__item { border-bottom: 1px solid var(--psg-line); }
.psg-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; }
.psg-faq__item summary::-webkit-details-marker { display: none; }
.psg-faq__item summary::after {
	content: "+"; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
	background: var(--psg-brand-soft); color: var(--psg-brand-dark); font-weight: 700; font-size: 18px; transition: transform .2s;
}
.psg-faq__item[open] summary::after { transform: rotate(45deg); }
.entry-content .psg-faq__item h3 { margin: 0; font-size: 18px; line-height: 1.4; }
.psg-faq__a { padding: 0 4px 16px; color: #3a3a3a; }
.psg-faq__a p:last-child { margin-bottom: 0; }

/* How we chose */
.psg-note { margin: 2.4em 0 1em; padding: 22px 24px; border-radius: var(--psg-radius); background: var(--psg-brand-soft); }
.entry-content .psg-note h2 { margin-top: 0; border: 0; padding: 0; font-size: 22px; }
.psg-note p { font-size: 15px; margin-bottom: 0; }

/* Sticky top-pick bar */
.psg-sticky {
	position: fixed; left: 50%; bottom: 16px; z-index: 50; transform: translate(-50%, 140%);
	display: flex; align-items: center; gap: 16px; width: min(640px, calc(100% - 24px));
	padding: 10px 10px 10px 18px; background: #fff; border: 1px solid var(--psg-line); border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0,0,0,.15); transition: transform .25s ease; font-size: 15px;
}
.psg-sticky.is-on { transform: translate(-50%, 0); }
.psg-sticky__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.psg-sticky__k { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--psg-muted); font-weight: 700; }
.psg-sticky__name { font-weight: 700; color: var(--psg-ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.psg-sticky .psg-btn-amazon { display: inline-flex; align-items: center; gap: 8px; background: var(--psg-cta); color: #1d1600; font-weight: 700; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-size: 14px; }
.psg-sticky__x { background: none; border: 0; color: var(--psg-muted); font-size: 22px; line-height: 1; padding: 4px 6px; cursor: pointer; }

@media (max-width: 767px) {
	.psg-toc ol { columns: 1; }
	.psg-product { padding: 20px 16px 16px; margin: 1.8em -4px; }
	.entry-content .psg-product__h { font-size: 22px; }
	.psg-rank { width: 36px; height: 36px; font-size: 17px; }
	.psg-cta .wp-block-button, .psg-cta .psg-btn-amazon { width: 100%; }
	/* Quick picks become a compact list: badge + name on the left, button on the right. */
	.psg-picks { grid-template-columns: 1fr; gap: 8px; }
	.psg-pick { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; padding: 12px 14px; }
	.psg-pick:hover { transform: none; }
	.psg-pick .psg-badge { grid-column: 1; font-size: 10px; padding: 4px 8px; }
	.entry-content .psg-pick__name { grid-column: 1; font-size: 16px; }
	.psg-pick__facts, .psg-link-more { display: none; }
	.psg-pick__actions { grid-column: 2; grid-row: 1 / span 2; }
}
@media (prefers-reduced-motion: reduce) {
	.psg-pick, .psg-btn-amazon, .psg-sticky, .psg-faq__item summary::after { transition: none; }
}
