/*
Theme Name: Critter Cove
Theme URI: https://thecrittercove.com
Description: Child theme của GeneratePress cho site review sản phẩm thú cưng. Dùng kèm Cove Kit + GenerateBlocks.
Author: The Critter Cove
Template: generatepress
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: crittercove
*/
/* 1. Token (map Global Colors của GP) */
:root {
	--cc-ink: var(--contrast, #2b2420);
	--cc-muted: var(--contrast-2, #6b5d52);
	--cc-line-strong: var(--contrast-3, #8f7a66);
	--cc-line: var(--base, #e6d5bf);
	--cc-soft: var(--base-2, #f3e9da);
	--cc-bg: var(--base-3, #fbf6ee);
	--cc-primary: var(--accent, #a9542d);
	--cc-primary-hover: var(--accent-hover, #8c4423);
	--cc-link: var(--link, #9a4a27);
	--cc-decor: var(--accent-2, #d9824f);
	--cc-pros: var(--pros, #5e8b65);
	--cc-pros-ink: var(--pros-ink, #4a7351);
	--cc-cons: var(--cons, #b5473a);
	--cc-cons-ink: var(--cons-ink, #a33f33);
	--cc-star: var(--star, #e8a33d);
	--cc-white: #fff;
	--cc-radius: 14px;
	--cc-radius-sm: 10px;
	--cc-shadow: 0 1px 2px rgba(43, 36, 32, .05), 0 6px 18px rgba(43, 36, 32, .05);
	--cc-measure: 720px;
	--cc-wide: 880px;
	--cc-head: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
}
/* 2. Base */
body { background: var(--cc-bg); color: var(--cc-ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6, .main-title, .cc-section-title { font-family: var(--cc-head); color: var(--cc-ink); letter-spacing: -.01em; text-wrap: balance; }
.entry-content :is(p:not(.cc-author__name), li, td, dd) a:not(.cc-btn):not([class*="coveaff-"]), .cc-link { color: var(--cc-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.entry-content :is(p, li, td, dd) a:not(.cc-btn):not([class*="coveaff-"]):hover, .cc-link:hover { color: var(--cc-primary-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cc-primary); outline-offset: 2px; border-radius: 4px; }
img { height: auto; }
::selection { background: #f2d3bd; }
.cc-icon { flex: none; vertical-align: middle; }
.cc-reading .entry-header, .cc-reading .entry-content > *, .cc-reading .cc-author, .cc-reading .cc-disclosure { max-width: var(--cc-measure); margin-left: auto; margin-right: auto; }
.cc-reading .entry-content > .cc-wide, .cc-reading .entry-content > .alignwide, .cc-reading .entry-content > .coveaff, .cc-reading .cc-related { max-width: var(--cc-wide); margin-left: auto; margin-right: auto; }
.cc-reading .entry-content > * + * { margin-top: 1.25em; }
.entry-content > :is(h2, h3) { margin-top: 1.8em; scroll-margin-top: 90px; }
@media (max-width: 1024px) { .is-right-sidebar, .is-left-sidebar { display: none; } .site-content .content-area { width: 100%; } }
.cc-sticky { position: sticky; top: 90px; }
/* 3. Header */
.site-header { border-bottom: 1px solid var(--cc-line); }
.main-title a { font-weight: 800; }
.main-navigation .main-nav ul li a { font-weight: 600; }
.main-navigation .main-nav ul ul { border-radius: var(--cc-radius-sm); box-shadow: var(--cc-shadow); overflow: hidden; }
.navigation-search input[type="search"] { border-radius: 999px; }
/* 4. Đầu bài */
.cc-breadcrumbs { font-size: .85rem; color: var(--cc-muted); margin-bottom: .6rem; }
.cc-breadcrumbs a { color: var(--cc-muted); }
.cc-breadcrumbs a:hover { color: var(--cc-link); }
.cc-byline { display: flex; align-items: center; gap: .75rem; margin-top: .9rem; font-size: .9rem; color: var(--cc-muted); }
.cc-byline__avatar { border-radius: 50%; width: 40px; height: 40px; }
.cc-byline__text { display: flex; flex-wrap: wrap; gap: .15rem 1rem; }
.cc-byline a { color: var(--cc-ink); font-weight: 600; text-decoration: none; }
.cc-byline a:hover { color: var(--cc-link); text-decoration: underline; }
.cc-byline__reviewer { display: inline-flex; align-items: center; gap: .3rem; }
.cc-byline__reviewer .cc-icon { color: var(--cc-pros); }
.cc-disclosure { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.25rem; margin-bottom: 1.5rem; padding: .75rem 1rem; background: var(--cc-soft); border-radius: var(--cc-radius-sm); font-size: .85rem; line-height: 1.55; color: var(--cc-muted); }
.cc-disclosure p { margin: 0; }
.cc-disclosure .cc-icon { color: var(--cc-decor); margin-top: .1rem; }
.cc-disclosure a { color: var(--cc-link); }
/* 5. Nút */
.cc-btn, .entry-content .cc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
	min-height: 46px; padding: .6rem 1.15rem; border-radius: 10px; border: 2px solid transparent;
	background: var(--cc-primary); color: var(--cc-white); font-weight: 700; font-size: .95rem; line-height: 1.2;
	text-decoration: none; text-align: center; transition: background-color .15s, transform .15s;
}
.cc-btn:hover, .cc-btn:focus-visible { background: var(--cc-primary-hover); color: var(--cc-white); transform: translateY(-1px); }
.cc-btn::after { content: "\2197"; font-weight: 400; opacity: .8; }
.cc-btn[data-cc-merchant="amazon"] { background: #f0b44c; color: var(--cc-ink); }
.cc-btn[data-cc-merchant="amazon"]:hover { background: #e9a02a; color: var(--cc-ink); }
.cc-btn[data-cc-merchant="chewy"] { background: #1f5fa8; }
.cc-btn[data-cc-merchant="chewy"]:hover { background: #184c87; }
.cc-btn[data-cc-merchant="petco"] { background: #2c5e8a; }
.cc-btn[data-cc-merchant="petco"]:hover { background: #224a6d; }
.cc-btn[data-cc-merchant="petsmart"] { background: #b5473a; }
.cc-btn[data-cc-merchant="petsmart"]:hover { background: #8f3529; }
.cc-sellers { display: flex; flex-wrap: wrap; gap: .6rem; }
.cc-sellers .cc-btn { flex: 1 1 200px; }
.cc-badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; background: var(--cc-soft); color: var(--cc-primary-hover); font: 800 .72rem/1.4 var(--cc-head); letter-spacing: .04em; text-transform: uppercase; }
.cc-badge--hot { background: var(--cc-primary); color: var(--cc-white); }
/* 6. Điểm */
.cc-stars { --cc-fill: 0%; display: inline-block; width: 5.6em; height: 1.05em; vertical-align: -.12em;
	background: linear-gradient(90deg, var(--cc-star) var(--cc-fill), var(--cc-line) var(--cc-fill));
	-webkit-mask: var(--i-star) 0 0 / 1.12em 1.05em repeat-x; mask: var(--i-star) 0 0 / 1.12em 1.05em repeat-x; }
.cc-rating__total { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .5rem; }
.cc-rating__num { font: 800 2.4rem/1 var(--cc-head); color: var(--cc-ink); }
.cc-rating__max { font-weight: 700; color: var(--cc-muted); margin-right: .25rem; }
.cc-rating--sm .cc-rating__num { font-size: 1.35rem; }
.cc-rating--sm .cc-stars { font-size: .85rem; }
.cc-rating__criteria { margin: .9rem 0 0; display: grid; gap: .45rem; }
.cc-crit { display: grid; grid-template-columns: minmax(90px, 9rem) 1fr; align-items: center; gap: .75rem; font-size: .88rem; }
.cc-crit dt { font-weight: 600; }
.cc-crit dd { margin: 0; display: flex; align-items: center; gap: .5rem; }
.cc-crit__bar { --cc-fill: 0%; flex: 1; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--cc-decor) var(--cc-fill), var(--cc-line) var(--cc-fill)); }
.cc-crit__val { min-width: 2.2em; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
/* 7. Review Box */
.cc-box { background: var(--cc-white); border: 1px solid var(--cc-line); border-radius: var(--cc-radius); box-shadow: var(--cc-shadow); }
.cc-review-box { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 1.25rem 1.75rem; padding: 1.5rem; }
.cc-review-box__media { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: .75rem; background: var(--cc-white); border-radius: var(--cc-radius-sm); }
.cc-review-box__media img, .cc-pcard__media img, .cc-pick__media img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: 1; }
.cc-review-box__name { margin: 0 0 .4rem; font-size: 1.45rem; }
.cc-review-box__bestfor { margin: .9rem 0 0; padding-left: .8rem; border-left: 4px solid var(--cc-decor); font-weight: 600; }
.cc-review-box > .cc-pros-cons, .cc-review-box > .cc-sellers { grid-column: 1 / -1; }
@media (max-width: 680px) { .cc-review-box { grid-template-columns: 1fr; padding: 1.1rem; } .cc-review-box__media { max-width: 240px; width: 100%; margin: 0 auto; } }
/* 8. Pros/Cons */
.cc-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cc-pros, .cc-cons { padding: 1rem 1.1rem; border-radius: var(--cc-radius-sm); background: var(--cc-bg); border-top: 4px solid; }
.cc-pros { border-color: var(--cc-pros); }
.cc-cons { border-color: var(--cc-cons); }
.cc-pros__title, .cc-cons__title { margin: 0 0 .5rem; font: 800 1rem var(--cc-head); }
.cc-pros__title { color: var(--cc-pros-ink); }
.cc-cons__title { color: var(--cc-cons-ink); }
.cc-pros ul, .cc-cons ul { list-style: none; margin: 0; padding: 0; }
.cc-pros li, .cc-cons li { position: relative; padding-left: 1.7rem; margin: .35rem 0; line-height: 1.5; }
.cc-pros li::before, .cc-cons li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.15em; height: 1.15em; -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; background: var(--cc-pros); }
.cc-cons li::before { -webkit-mask-image: var(--i-x); mask-image: var(--i-x); background: var(--cc-cons); }
@media (max-width: 600px) { .cc-pros-cons { grid-template-columns: 1fr; } }
/* 9. Top Picks (bảng → thẻ trên mobile) */
.cc-picks { overflow: hidden; }
.cc-picks__title { margin: 0; padding: 1rem 1.25rem; font-size: 1.2rem; border-bottom: 1px solid var(--cc-line); }
.cc-picks__head, .cc-pick { display: grid; grid-template-columns: 96px minmax(0, 1.6fr) minmax(110px, .8fr) minmax(170px, 1fr); gap: 1rem; align-items: center; padding: .9rem 1.25rem; }
.cc-picks__head { padding-block: .55rem; background: var(--cc-soft); font: 800 .72rem var(--cc-head); text-transform: uppercase; letter-spacing: .05em; color: var(--cc-muted); }
.cc-pick + .cc-pick { border-top: 1px solid var(--cc-line); }
.cc-pick__media { aspect-ratio: 1; width: 96px; }
.cc-pick__name { margin: .3rem 0 0; font-size: 1rem; line-height: 1.35; }
.cc-pick__name a { color: inherit; text-decoration: none; }
.cc-pick .cc-btn { width: 100%; }
@media (max-width: 760px) {
	.cc-picks__head { display: none; }
	.cc-pick { grid-template-columns: 84px 1fr; grid-template-areas: "img info" "img score" "btn btn"; gap: .4rem .9rem; }
	.cc-pick__media { grid-area: img; width: 84px; align-self: start; }
	.cc-pick__info { grid-area: info; }
	.cc-pick__score { grid-area: score; }
	.cc-pick__buy { grid-area: btn; margin-top: .4rem; }
}
/* 10. Product Card (tự đánh số) */
.entry-content { counter-reset: cc-pcard; }
.cc-pcard { counter-increment: cc-pcard; position: relative; padding: 1.5rem; margin-top: 2rem; }
.cc-pcard__head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.cc-pcard__head::before { content: counter(cc-pcard); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--cc-primary); color: var(--cc-white); font: 800 1.1rem var(--cc-head); }
.cc-pcard__name { margin: 0; font-size: 1.35rem; flex: 1 1 100%; }
.cc-pcard__top { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 1.25rem; align-items: start; margin-bottom: 1rem; }
.cc-pcard__media { aspect-ratio: 1; background: var(--cc-white); border-radius: var(--cc-radius-sm); padding: .5rem; }
.cc-pcard > * + * { margin-top: 1rem; }
@media (max-width: 600px) { .cc-pcard { padding: 1.1rem; } .cc-pcard__top { grid-template-columns: 1fr; } .cc-pcard__media { max-width: 240px; } }
/* 11. Callout */
.cc-callout { --c: var(--cc-decor); --c-bg: #fdf1e7; position: relative; padding: 1rem 1.15rem 1rem 3.4rem; border-radius: var(--cc-radius-sm); background: var(--c-bg); border-left: 4px solid var(--c); }
.cc-callout::before { content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 1.5rem; height: 1.5rem; background: var(--c); -webkit-mask: var(--i-tip) center / contain no-repeat; mask: var(--i-tip) center / contain no-repeat; }
.cc-callout__title { margin: 0 0 .25rem; font: 800 1rem var(--cc-head); }
.cc-callout > :last-child { margin-bottom: 0; }
.cc-callout--warning { --c: var(--cc-cons); --c-bg: #fbeae6; }
.cc-callout--warning::before { -webkit-mask-image: var(--i-warn); mask-image: var(--i-warn); }
.cc-callout--warning .cc-callout__title { color: var(--cc-cons-ink); }
.cc-callout--vet { --c: var(--cc-pros); --c-bg: #ebf2ea; }
.cc-callout--vet::before { -webkit-mask-image: var(--i-vet); mask-image: var(--i-vet); }
.cc-callout--vet .cc-callout__title { color: var(--cc-pros-ink); }
.cc-callout--tip .cc-callout__title { color: var(--cc-primary-hover); }
/* 12. Mục lục & FAQ (không JS) */
.cc-toc details { background: var(--cc-soft); border-radius: var(--cc-radius-sm); padding: .9rem 1.15rem; }
.cc-toc summary, .cc-faq summary { cursor: pointer; font: 800 1rem var(--cc-head); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cc-toc summary::-webkit-details-marker, .cc-faq summary::-webkit-details-marker { display: none; }
.cc-toc summary::after, .cc-faq summary::after { content: "+"; font: 400 1.4rem/1 var(--cc-head); color: var(--cc-primary); transition: transform .2s; }
.cc-toc details[open] summary::after, .cc-faq details[open] summary::after { transform: rotate(45deg); }
.cc-toc ol { list-style: none; counter-reset: cc-toc; margin: .7rem 0 0; padding: 0; font-size: .95rem; columns: 2 16rem; column-gap: 2rem; }
.cc-toc li { margin: .3rem 0; break-inside: avoid; padding-left: 1.6em; text-indent: -1.6em; }
.cc-toc .cc-toc__l2::before { counter-increment: cc-toc; content: counter(cc-toc) ". "; display: inline-block; min-width: 1.6em; text-indent: 0; color: var(--cc-muted); }
.cc-toc .cc-toc__l3 { margin-left: 1.6em; font-size: .9rem; }
.cc-toc .cc-toc__l3::before { content: "–"; display: inline-block; min-width: 1.6em; text-indent: 0; color: var(--cc-muted); }
.cc-toc a { color: var(--cc-ink); text-decoration: none; }
.cc-toc a:hover { color: var(--cc-link); text-decoration: underline; }
.cc-faq details { border-bottom: 1px solid var(--cc-line); padding: 1rem 0; margin: 0; }
.cc-faq details:first-of-type { border-top: 1px solid var(--cc-line); }
.cc-faq details > :not(summary) { margin: .6rem 0 0; color: var(--cc-muted); }
/* 13. Author & liên quan */
.cc-author { display: flex; gap: 1.25rem; margin-top: 2.5rem; padding: 1.4rem; background: var(--cc-soft); border-radius: var(--cc-radius); }
.cc-author + .cc-author { margin-top: 1rem; }
.cc-author__avatar { border-radius: 50%; width: 88px; height: 88px; flex: none; }
.cc-author__body p { margin: 0; }
.cc-author__eyebrow { font: 800 .72rem var(--cc-head); text-transform: uppercase; letter-spacing: .06em; color: var(--cc-muted); }
.cc-author__name { font: 800 1.2rem var(--cc-head); margin-top: .1rem !important; }
.cc-author__name a { color: var(--cc-ink); text-decoration: none; }
.cc-author__role { color: var(--cc-pros-ink); font-weight: 600; font-size: .9rem; }
.cc-author__bio { margin-top: .5rem !important; font-size: .95rem; line-height: 1.6; }
.cc-author__more { display: inline-flex; align-items: center; gap: .3rem; margin-top: .6rem; font-weight: 700; font-size: .9rem; color: var(--cc-link); }
@media (max-width: 520px) { .cc-author { flex-direction: column; } }
.cc-related { margin-top: 3rem; }
.cc-section-title { font-size: 1.5rem; margin: 0 0 1rem; }
.cc-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.cc-card { display: flex; flex-direction: column; background: var(--cc-white); border: 1px solid var(--cc-line); border-radius: var(--cc-radius); overflow: hidden; box-shadow: var(--cc-shadow); transition: transform .2s, box-shadow .2s; }
.cc-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(43, 36, 32, .1); }
.cc-card__media { display: block; aspect-ratio: 16 / 10; background: var(--cc-soft); }
.cc-card__img, .cc-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-card__body { display: flex; flex-direction: column; gap: .4rem; padding: 1rem 1.1rem 1.15rem; flex: 1; }
.cc-card__body .cc-badge { align-self: flex-start; }
.cc-card__title { margin: 0; font-size: 1.08rem; line-height: 1.35; }
.cc-card__title a { color: var(--cc-ink); text-decoration: none; }
.cc-card__title a:hover { color: var(--cc-link); }
.cc-card__title a::after { content: ""; position: absolute; inset: 0; }
.cc-card { position: relative; }
.cc-card__meta { margin: auto 0 0; font-size: .82rem; color: var(--cc-muted); }
.blog .inside-article, .archive .inside-article, .search .inside-article { background: var(--cc-white); border: 1px solid var(--cc-line); border-radius: var(--cc-radius); overflow: hidden; box-shadow: var(--cc-shadow); padding: 0 0 1.1rem; }
:is(.blog, .archive, .search) .post-image { margin: 0 0 1rem !important; }
:is(.blog, .archive, .search) .post-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
:is(.blog, .archive, .search) .inside-article > :not(.post-image) { padding-inline: 1.1rem; }
:is(.blog, .archive, .search) .entry-title { font-size: 1.15rem; }
:is(.blog, .archive, .search) .entry-title a { color: var(--cc-ink); }
.page-header { margin-bottom: 1.5rem; }
.page-header .taxonomy-description { color: var(--cc-muted); max-width: 70ch; }
.cc-top-guides { margin-bottom: 2.5rem; padding: 1.4rem; background: var(--cc-soft); border-radius: var(--cc-radius); }
/* 14. Trang chủ */
.cc-hero { position: relative; padding: clamp(2.5rem, 7vw, 5rem) 1.25rem; text-align: center; background: var(--cc-soft); border-radius: 0 0 28px 28px; overflow: hidden; isolation: isolate; }
.cc-hero::before, .cc-hero::after { content: ""; position: absolute; z-index: -1; width: 160px; height: 160px; background: var(--cc-decor); opacity: .08; -webkit-mask: var(--i-paw) center / contain no-repeat; mask: var(--i-paw) center / contain no-repeat; transform: rotate(-18deg); }
.cc-hero::before { left: 4%; top: 12%; }
.cc-hero::after { right: 5%; bottom: 6%; transform: rotate(22deg); width: 120px; height: 120px; }
.cc-hero__title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin: 0 auto .6rem; max-width: 18ch; }
.cc-hero__text { font-size: 1.15rem; color: var(--cc-muted); max-width: 52ch; margin: 0 auto 1.6rem; }
.cc-hero .wp-block-search { max-width: 560px; margin: 0 auto; }
.wp-block-search__inside-wrapper { background: var(--cc-white); border: 2px solid var(--cc-line-strong) !important; border-radius: 999px !important; padding: 4px !important; }
.wp-block-search__input { border: 0 !important; background: transparent !important; padding: .6rem 1.1rem !important; font-size: 1rem; }
.wp-block-search__button { margin: 0 !important; border-radius: 999px !important; background: var(--cc-primary) !important; color: var(--cc-white) !important; padding: .6rem 1.3rem !important; font-weight: 700; border: 0 !important; }
.cc-section { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.cc-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.cc-section__head h2 { margin: 0; }
.cc-pets { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1rem; }
.cc-pet { display: flex; flex-direction: column; align-items: center; gap: .6rem; color: var(--cc-ink) !important; font: 800 1rem var(--cc-head); text-decoration: none !important; }
.cc-pet::before { content: ""; width: 92px; height: 92px; border-radius: 50%; background: var(--cc-white) var(--pet-img, none) center / 54px no-repeat; border: 2px solid var(--cc-line); transition: border-color .2s, transform .2s; }
.cc-pet:hover::before { border-color: var(--cc-decor); transform: translateY(-3px); }
.cc-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--cc-ink); color: #f3e9da; border-radius: var(--cc-radius); }
.cc-trust :is(h2, h3) { color: var(--cc-white); margin: 0 0 .4rem; }
.cc-trust p { margin: 0; color: #e4d6c3; }
.cc-trust a { color: #f6c89f; }
.cc-trust__item { padding-left: 2.6rem; position: relative; }
.cc-trust__item::before { content: ""; position: absolute; left: 0; top: .1rem; width: 1.8rem; height: 1.8rem; background: var(--cc-decor); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
/* 15. Newsletter */
.cc-newsletter { padding: clamp(1.4rem, 4vw, 2.2rem); background: var(--cc-soft); border-radius: var(--cc-radius); text-align: center; }
.cc-newsletter__title { font: 800 1.35rem var(--cc-head); margin: 0 0 .35rem; }
.cc-newsletter__text { color: var(--cc-muted); margin: 0 auto 1rem; max-width: 46ch; }
.cc-newsletter__form { display: flex; gap: .5rem; max-width: 460px; margin: 0 auto; }
.cc-newsletter__form input[type="email"] { flex: 1; min-width: 0; min-height: 46px; padding: .6rem 1rem; border: 2px solid var(--cc-line-strong); border-radius: 10px; background: var(--cc-white); color: var(--cc-ink); }
.cc-newsletter__form button { min-height: 46px; padding: .6rem 1.2rem; border-radius: 10px; background: var(--cc-primary); color: var(--cc-white); font-weight: 700; border: 0; cursor: pointer; }
.cc-newsletter__form button:hover { background: var(--cc-primary-hover); }
.cc-newsletter__form button[disabled] { opacity: .6; cursor: not-allowed; }
.cc-newsletter__note { font-size: .8rem; color: var(--cc-muted); margin: .7rem 0 0; }
.cc-newsletter--compact { text-align: left; background: transparent; padding: 0; }
.cc-newsletter--compact .cc-newsletter__form { margin: 0; }
@media (max-width: 480px) { .cc-newsletter__form { flex-direction: column; } }
/* 16. Footer */
.cc-footer { background: var(--cc-ink); color: #e4d6c3; padding: clamp(2.5rem, 6vw, 4rem) 1.25rem 1.5rem; position: relative; overflow: hidden; }
.cc-footer__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) 1.4fr; gap: 2rem; }
.cc-footer a { color: #f3e9da; text-decoration: none; }
.cc-footer a:hover { color: #f6c89f; text-decoration: underline; }
.cc-footer__brand { font: 800 1.35rem var(--cc-head); color: var(--cc-white); margin: 0 0 .5rem; }
.cc-footer__title { font: 800 .8rem var(--cc-head); text-transform: uppercase; letter-spacing: .07em; color: #cdbba5; margin: 0 0 .75rem; }
.cc-footer ul { list-style: none; margin: 0; padding: 0; }
.cc-footer li { margin: .4rem 0; }
.cc-footer p { font-size: .9rem; line-height: 1.6; }
.cc-footer .cc-newsletter { background: transparent; padding: 0; text-align: left; }
.cc-footer .cc-newsletter__title { color: var(--cc-white); font-size: 1.05rem; }
.cc-footer .cc-newsletter__text, .cc-footer .cc-newsletter__note { color: #cdbba5; }
.cc-footer .cc-newsletter__form { margin: 0; }
.cc-footer__bottom { max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgba(243, 233, 218, .18); font-size: .82rem; color: #cdbba5; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.cc-footer__bottom p { margin: 0; font-size: inherit; }
@media (max-width: 1000px) { .cc-footer__inner { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 560px) { .cc-footer__inner { grid-template-columns: 1fr; } }
/* 17. Quảng cáo (giữ chỗ chống CLS) */
.cc-ad { display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 2rem auto; min-height: 300px; width: 100%; background: var(--cc-soft); border-radius: var(--cc-radius-sm); overflow: hidden; contain: layout; }
.cc-ad__label { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cc-muted); margin: .35rem 0; }
.cc-ad--sidebar { min-height: 620px; margin-top: 0; }
.cc-ad--footer { min-height: 120px; max-width: 980px; }
@media (min-width: 769px) { .cc-ad--incontent { min-height: 280px; } }
/* 18. Cove Affiliate */
.coveaff { --coveaff-accent: var(--cc-primary); --coveaff-ink: var(--cc-ink); --coveaff-muted: var(--cc-muted); --coveaff-line: var(--cc-line); --coveaff-soft: var(--cc-soft); --coveaff-good: var(--cc-pros-ink); --coveaff-star: var(--cc-star); --coveaff-radius: var(--cc-radius); --coveaff-surface: var(--cc-white); }
.coveaff .coveaff-btn { border-radius: 10px; }
.coveaff :is(.coveaff-heading, .coveaff-title) { font-family: var(--cc-head); }
/* 19. Reduced motion */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.cc-pet--dogs { --pet-img: url(assets/img/pets/dog.svg); }
.cc-pet--cats { --pet-img: url(assets/img/pets/cat.svg); }
.cc-pet--small-pets { --pet-img: url(assets/img/pets/small-pets.svg); }
.cc-pet--birds { --pet-img: url(assets/img/pets/birds.svg); }
.cc-pet--fish { --pet-img: url(assets/img/pets/fish.svg); }
.cc-pet--reptiles { --pet-img: url(assets/img/pets/reptiles.svg); }
.cc-container { max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.cc-review-box--live { display: block; }
.cc-review-box--live > * + * { margin-top: 1.25rem; }
.cc-review-box--live .coveaff { margin: 0; }
.cc-review-box--live .coveaff-card { border: 0; padding: 0; }
.cc-newsletter--compact :is(.cc-newsletter__text, .cc-newsletter__note) { margin-left: 0; }
.main-navigation .menu-toggle, .main-navigation .menu-toggle:hover, .main-navigation .menu-toggle:focus { background: transparent; color: var(--cc-ink); }
.cc-side { display: flex; flex-direction: column; gap: 1.25rem; }
.cc-side__box { padding: 1.1rem 1.2rem; background: var(--cc-white); border: 1px solid var(--cc-line); border-radius: var(--cc-radius); font-size: .92rem; }
.cc-side__box p { margin: 0 0 .6rem; line-height: 1.55; }
.cc-side__title { font: 800 1.05rem var(--cc-head); color: var(--cc-ink); }
.cc-side__trust { background: var(--cc-soft); border-color: transparent; }
.cc-side .cc-link { font-weight: 700; }
.cc-side .cc-sticky { display: flex; flex-direction: column; gap: 1.25rem; }
.cc-side .cc-newsletter { padding: 0; background: none; }
.cc-side .cc-newsletter__form { flex-direction: column; }
.cc-mini-list { display: grid; gap: .85rem; }
.cc-mini { display: grid; grid-template-columns: 64px 1fr; gap: .75rem; align-items: center; position: relative; }
.cc-mini__img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--cc-soft); }
.cc-mini p { margin: 0; }
.cc-mini__title { font: 700 .9rem/1.35 var(--cc-head); }
.cc-mini__title a { color: var(--cc-ink); text-decoration: none; }
.cc-mini__title a::after { content: ""; position: absolute; inset: 0; }
.cc-mini__title a:hover { color: var(--cc-link); }
.cc-mini__meta { font-size: .75rem; color: var(--cc-muted); }
.is-right-sidebar :is(.inside-right-sidebar, .cove-element), .cc-side { height: 100%; }
.is-right-sidebar .inside-right-sidebar { padding-top: 32px; }
.cc-topics { list-style: none; margin: 0; padding: 0; }
.cc-topics li { display: flex; justify-content: space-between; gap: .5rem; padding: .45rem 0; border-top: 1px solid var(--cc-line); }
.cc-topics a { color: var(--cc-ink); text-decoration: none; font-weight: 600; }
.cc-topics a:hover, .cc-topics .is-current a { color: var(--cc-link); }
.cc-topics span { color: var(--cc-muted); font-size: .8rem; }
.cc-side__avatar { border-radius: 50%; margin-bottom: .6rem; }
.cc-side__author .cc-badge { display: inline-flex; align-items: center; gap: .3rem; }
@media (min-width: 900px) { .cc-top-guides .cc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cc-muted { color: var(--cc-muted); font-size: .9rem; }
.cc-team { display: grid; gap: 1rem; }
.cc-team .cc-author { margin: 0; }
.cc-contact { display: grid; gap: .2rem; max-width: 560px; }
.cc-contact label { display: block; font-weight: 600; margin-bottom: .3rem; }
.cc-contact :is(input[type=text], input[type=email], select, textarea) { width: 100%; padding: .65rem .9rem; border: 2px solid var(--cc-line-strong); border-radius: 10px; background: var(--cc-white); }
.cc-contact__consent label { font-weight: 400; font-size: .9rem; }
.cc-contact__hp { position: absolute; left: -9999px; }
.cc-form-msg { padding: .75rem 1rem; border-radius: 10px; background: #ebf2ea; color: var(--cc-pros-ink); }
.cc-form-msg--err { background: #fbeae6; color: var(--cc-cons-ink); }
.cc-contact .cc-btn::after { content: none; }
.entry-content .wp-block-table table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-sm); overflow: hidden; background: var(--cc-white); font-size: .95rem; }
.entry-content .wp-block-table :is(th, td) { border: 0; border-bottom: 1px solid var(--cc-line); padding: .6rem .85rem; text-align: left; }
.entry-content .wp-block-table th { background: var(--cc-soft); font-family: var(--cc-head); }
.entry-content .wp-block-table tr:last-child td { border-bottom: 0; }
.cc-method { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; margin: -.75rem auto 1.5rem; padding: .7rem 1rem; border: 1px dashed var(--cc-line-strong); border-radius: var(--cc-radius-sm); font-size: .85rem; color: var(--cc-muted); }
.cc-method p { margin: 0; flex: 1 1 260px; }
.cc-reading .cc-method { max-width: var(--cc-measure); }
.cc-pick__rank { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cc-primary); color: var(--cc-white); font: 800 1.1rem var(--cc-head); }
.cc-pick__why p { margin: 0; font-size: .88rem; color: var(--cc-muted); }

/* Image credits page */
.cc-credits { list-style: none; padding: 0; display: grid; gap: 1rem; }
.cc-credits__item { display: flex; gap: .75rem; align-items: center; font-size: .9rem; }
.cc-credits__thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; flex: none; }
