/* PlugPet — Conectando você com o mundo Pet
   Mobile-first; breakpoints: 600px, 900px, 1200px */

:root {
  --orange: #F2612B;
  --orange-2: #FF9A5A;
  --orange-soft: #FFF0E6;
  --teal: #0F4C5C;
  --teal-2: #13707F;
  --teal-soft: #E6F3F4;
  --ink: #1D2B33;
  --ink-2: #4A5D66;
  --muted: #6B7F88;
  --line: #EADFD5;
  --bg: #FFFAF5;
  --card: #FFFFFF;
  --ok: #15803D;
  --warn: #B45309;
  --err: #B91C1C;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(29, 43, 51, .05), 0 8px 24px rgba(29, 43, 51, .06);
  --shadow-lg: 0 18px 40px rgba(29, 43, 51, .12);
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-2); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); font-weight: 900; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange-2); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 820px; }
.section { padding-top: 32px; padding-bottom: 32px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; line-height: 1.2; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-primary { background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #fff; box-shadow: 0 6px 16px rgba(242, 97, 43, .28); }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 22px rgba(242, 97, 43, .35); }
.btn-dark { background: var(--teal); color: #fff; }
.btn-dark:hover { color: #fff; background: var(--teal-2); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-danger { background: var(--err); color: #fff; }
.link-btn { background: none; border: 0; padding: 0; color: var(--teal-2); font-weight: 700; cursor: pointer; font-size: .9rem; }
.link-btn:hover { color: var(--orange); }
.link-btn.danger { color: var(--err); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--orange-soft); color: var(--orange); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 245, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.logo-icon { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 4px 10px rgba(242, 97, 43, .28)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 900; font-size: 1.45rem; letter-spacing: -.03em; }
.brand-name .b1 { color: var(--teal); }
.brand-name .b2 { color: var(--orange); }
.brand-tagline { font-size: .68rem; font-weight: 700; color: var(--muted); display: none; }
.brand-light .brand-name .b1 { color: #fff; }
.brand-light .brand-tagline { color: rgba(255, 255, 255, .7); display: block; }

.main-nav { position: fixed; inset: 68px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; padding: 8px 16px 20px; gap: 2px; transform: translateY(-10px); opacity: 0; visibility: hidden; transition: transform .2s ease, opacity .2s ease, visibility .2s; max-height: calc(100vh - 68px); overflow-y: auto; box-shadow: var(--shadow-lg); }
.main-nav.open { transform: none; opacity: 1; visibility: visible; }
.main-nav > a, .nav-drop-btn { padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 800; background: none; border: 0; text-align: left; cursor: pointer; width: 100%; }
.main-nav > a:hover, .main-nav > a.active, .nav-drop-btn:hover { background: var(--orange-soft); color: var(--orange); }
.nav-drop-menu { display: none; grid-template-columns: 1fr 1fr; gap: 2px; padding: 4px 0 8px 8px; }
.nav-dropdown.open .nav-drop-menu { display: grid; }
.nav-drop-menu a { padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: .95rem; }
.nav-drop-menu a:hover { background: var(--orange-soft); color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 4px; }
.menu-toggle { flex-direction: column; gap: 4px; display: inline-flex; justify-content: center; align-items: center; }
.menu-toggle span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.header-actions .btn-sm { padding: 8px 14px; }

.user-menu { position: relative; }
.avatar-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--orange-2); padding: 0; overflow: hidden; cursor: pointer; background: var(--teal); color: #fff; font-weight: 800; }
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
.user-drop { position: absolute; right: 0; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px; min-width: 210px; display: none; flex-direction: column; }
.user-menu.open .user-drop { display: flex; }
.user-drop strong { padding: 6px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.user-drop a, .user-drop button { padding: 9px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 700; background: none; border: 0; text-align: left; cursor: pointer; width: 100%; }
.user-drop a:hover, .user-drop button:hover { background: var(--orange-soft); color: var(--orange); }

.search-bar { border-top: 1px solid var(--line); padding: 12px 0; background: var(--bg); }
.search-bar form { display: flex; gap: 8px; }
.search-bar input, .hero-search input { flex: 1; min-width: 0; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; outline: none; }
.search-bar input:focus, .hero-search input:focus { border-color: var(--orange-2); }

/* Alertas */
.alert { padding: 14px 18px; border-radius: 14px; margin: 16px 0; font-weight: 700; border: 1px solid; }
.alert-success { background: #ECFDF3; border-color: #B7EBC8; color: var(--ok); }
.alert-error { background: #FEF2F2; border-color: #FCCACA; color: var(--err); }
.alert-info { background: var(--teal-soft); border-color: #BFE0E3; color: var(--teal); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; background: var(--teal-soft); color: var(--teal); }
.pill-warn { background: #FEF3C7; color: var(--warn); }
.pill-ok { background: #DCFCE7; color: var(--ok); }
.pill-err { background: #FEE2E2; color: var(--err); }

/* Hero */
.hero { background: radial-gradient(1200px 400px at 85% -10%, #FFE2CF 0, transparent 60%), radial-gradient(800px 400px at -10% 110%, #DDF0F2 0, transparent 60%); padding: 36px 0 28px; }
.hero-inner { display: grid; gap: 28px; }
.eyebrow { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: .85rem; color: var(--orange); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin-bottom: 12px; background: linear-gradient(120deg, var(--teal) 30%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.08rem; color: var(--ink-2); max-width: 560px; }
.hero-search { display: flex; gap: 8px; max-width: 560px; background: #fff; padding: 6px; border-radius: 999px; box-shadow: var(--shadow); }
.hero-search input { border: 0; padding: 10px 14px; }
.hero-search.compact { margin-top: 16px; }
.hero-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero-cat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); font-weight: 800; font-size: .88rem; text-align: center; transition: transform .15s, box-shadow .15s; border: 2px solid transparent; }
.hero-cat:hover { transform: translateY(-3px); border-color: var(--cat); color: var(--ink); }
.hero-cat-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: color-mix(in srgb, var(--cat) 14%, white); }

/* Seções */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; }
.link-more { font-weight: 800; text-decoration: none; white-space: nowrap; }

/* Cards de post */
.post-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.post-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-thumb, .product-img { text-decoration: none; }
.post-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--orange-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.thumb-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--cat, #F2612B) 30%, white), color-mix(in srgb, var(--cat, #F2612B) 60%, white)); }
.thumb-fallback span { font-size: 3.4rem; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .15)); }
.post-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-title { margin: 0; font-size: 1.12rem; }
.post-title a { color: var(--ink); text-decoration: none; }
.post-title a:hover { color: var(--orange); }
.post-excerpt { color: var(--ink-2); margin: 0; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { color: var(--muted); font-size: .82rem; margin: auto 0 0; font-weight: 600; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; text-decoration: none; background: color-mix(in srgb, var(--cat, #F2612B) 13%, white); color: color-mix(in srgb, var(--cat, #F2612B) 75%, black); }
.chip:hover { color: var(--ink); }
.post-card-lg .post-title { font-size: clamp(1.3rem, 3vw, 1.75rem); }
.featured-grid { display: grid; gap: 20px; }
.featured-side { display: grid; gap: 20px; }
.grid-ad { grid-column: 1 / -1; }

/* Categorias */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border-left: 5px solid var(--cat); transition: transform .15s; }
.cat-card:hover { transform: translateY(-3px); color: var(--ink); }
.cat-card-ico { font-size: 1.8rem; }
.cat-card small { color: var(--muted); font-weight: 700; }

/* Produtos */
.products-band { background: linear-gradient(180deg, var(--teal-soft), transparent); }
.product-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.product-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.product-img { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--line); }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--orange); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; z-index: 1; }
.product-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h3 { margin: 0; font-size: 1.02rem; }
.product-body h3 a { color: var(--ink); text-decoration: none; }
.product-body p { color: var(--ink-2); font-size: .9rem; margin: 0; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.price { font-weight: 900; color: var(--teal); font-size: 1.1rem; }
.price.lg { font-size: 1.8rem; }
.stars { --pct: calc(var(--rating) / 5 * 100%); display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 2px; }
.stars::before { content: '★★★★★'; background: linear-gradient(90deg, #F5A524 var(--pct), #E5DDD5 var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars.lg { font-size: 1.4rem; }
.disclosure { font-size: .82rem; color: var(--muted); margin-top: 16px; }
.filter-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 2px; margin-top: 12px; scrollbar-width: none; }
.filter-chips a { flex: none; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: .9rem; }
.filter-chips a.active, .filter-chips a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.product-detail { display: grid; gap: 24px; margin: 16px 0 32px; }
.product-detail-img { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1; overflow: hidden; }
.product-detail-img img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.rating-row { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); margin-bottom: 12px; }
.buy-box { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* Página / listagens */
.page-head { padding: 28px 0 8px; background: linear-gradient(180deg, var(--orange-soft), transparent); }
.page-head p { color: var(--ink-2); font-size: 1.05rem; max-width: 680px; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 10px; font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.crumb-current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.layout-sidebar { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.widget h3 { font-size: 1rem; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget-cats a { display: flex; justify-content: space-between; padding: 8px 6px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .93rem; }
.widget-cats a:hover { background: var(--orange-soft); color: var(--orange); }
.widget-cats .count { color: var(--muted); font-size: .82rem; }
.sticky-ad { position: sticky; top: 90px; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 32px 0 8px; }
.pagination a, .pagination span { min-width: 42px; padding: 9px 14px; border-radius: 12px; text-align: center; font-weight: 800; text-decoration: none; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pagination .current { background: var(--orange); border-color: var(--orange); color: #fff; }
.empty-state { text-align: center; padding: 48px 16px; }
.empty-ico { font-size: 3.5rem; margin-bottom: 8px; }
.error-code { font-size: 4rem; font-weight: 900; color: var(--orange); margin: 0; line-height: 1; }
.error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 20px 0; }
.error-page .hero-search { margin: 20px auto 0; }

/* Artigo */
.article-head { padding: 24px 0 12px; }
.article-head h1 { margin-top: 12px; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.byline strong { color: var(--ink); }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; display: inline-grid; place-items: center; background: var(--teal); color: #fff; font-weight: 800; overflow: hidden; font-size: .9rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 32px; height: 32px; font-size: .75rem; }
.avatar.lg { width: 72px; height: 72px; font-size: 1.4rem; }
.cover { margin: 8px auto 24px; }
.cover img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 8; object-fit: cover; box-shadow: var(--shadow); }
.prose { font-size: 1.08rem; line-height: 1.8; color: #24343C; overflow-wrap: break-word; }
.prose h2 { margin-top: 1.8em; font-size: 1.55rem; }
.prose h3 { margin-top: 1.5em; font-size: 1.25rem; }
.prose img { border-radius: var(--radius-sm); margin: 1.5em auto; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--orange); font-weight: 800; }
.prose blockquote { margin: 1.5em 0; padding: 16px 20px; border-left: 5px solid var(--orange); background: var(--orange-soft); border-radius: 0 14px 14px 0; color: var(--ink); }
.prose blockquote p:last-child { margin: 0; }
.prose hr { border: 0; border-top: 2px dashed var(--line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose code { background: var(--teal-soft); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.prose pre { background: var(--ink); color: #fff; padding: 16px; border-radius: 12px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 16px; }
.tags a { padding: 6px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); text-decoration: none; font-weight: 700; font-size: .88rem; }
.tags a:hover { background: var(--teal); color: #fff; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 700; font-size: .92rem; }
.share a { text-decoration: none; }
.post-products { margin: 32px 0; }
.vet-note { background: var(--teal-soft); color: var(--teal); padding: 14px 18px; border-radius: 14px; font-weight: 700; font-size: .92rem; margin: 24px 0; }

/* Anúncios */
.ad-wrap { margin: 24px auto; text-align: center; min-height: 100px; overflow: hidden; }
.ad-label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 4px; }

/* Comentários */
.comments { margin-top: 40px; }
.count-pill { display: inline-block; background: var(--orange); color: #fff; border-radius: 999px; padding: 0 10px; font-size: .9rem; vertical-align: middle; }
.comment-form { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); margin-bottom: 24px; }
.comment-form-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .92rem; }
.comment-form textarea, .stack input, .form-card input, .form-card select, .form-card textarea, .inline-form input { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; outline: none; resize: vertical; }
.comment-form textarea:focus, .stack input:focus, .form-card :is(input, select, textarea):focus, .inline-form input:focus { border-color: var(--orange-2); }
.comment-form-foot { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.login-to-comment { background: linear-gradient(135deg, var(--orange-soft), var(--teal-soft)); border-radius: var(--radius); padding: 22px; text-align: center; margin-bottom: 24px; }
.comment-list, .comment-replies { list-style: none; margin: 0; padding: 0; }
.comment { display: flex; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.comment-replies { margin-top: 8px; }
.comment-replies .comment { border-top: 0; padding: 12px 0 0; }
.comment-content { flex: 1; min-width: 0; }
.comment-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.comment-head time { color: var(--muted); font-size: .8rem; }
.comment-body { margin-top: 4px; overflow-wrap: anywhere; }
.comment-body p { margin: 0 0 .5em; }
.comment-actions { display: flex; gap: 14px; align-items: center; }
.comment.highlight { animation: hl 2s ease; }
@keyframes hl { from { background: var(--orange-soft); } to { background: transparent; } }

/* Formulários / autenticação */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.form-card, .stack { display: flex; flex-direction: column; gap: 14px; }
.form-card label, .stack label, .inline-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: .92rem; }
.form-row { display: grid; gap: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.auth-wrap { min-height: 70vh; display: grid; place-items: center; padding: 32px 16px; background: radial-gradient(600px 300px at 50% 0, #FFE2CF, transparent); }
.auth-card { width: 100%; max-width: 420px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 24px; }
.auth-card.wide { max-width: 520px; }
.auth-card .logo-icon { width: 64px; height: 64px; margin-bottom: 8px; }
.auth-card .stack { width: 100%; text-align: left; margin: 12px 0; }
.social-buttons { display: flex; flex-direction: column; gap: 10px; width: 100%; margin: 16px 0; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 18px; border-radius: 12px; font-weight: 800; text-decoration: none; border: 2px solid var(--line); transition: transform .15s; }
.social-btn:hover { transform: translateY(-1px); }
.social-google { background: #fff; color: #1F1F1F; }
.social-google:hover { color: #1F1F1F; border-color: #c7c7c7; }
.social-facebook { background: #1877F2; border-color: #1877F2; color: #fff; }
.social-facebook:hover { color: #fff; }
.social-linkedin { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.social-linkedin:hover { color: #fff; }
.account-card { margin-bottom: 28px; }
.account-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.inline-form { display: flex; flex-direction: column; gap: 10px; }
.my-comments { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.my-comments p { margin: 6px 0 0; }
.danger-zone { border: 2px solid #FCCACA; }

/* Newsletter + rodapé */
.newsletter { background: linear-gradient(135deg, var(--orange-2), var(--orange)); color: #fff; padding: 36px 0; margin-top: 40px; }
.newsletter h2 { color: #fff; }
.newsletter p { opacity: .92; }
.newsletter-inner { display: grid; gap: 18px; align-items: center; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.nl-row { display: flex; flex-direction: column; gap: 8px; }
.nl-row input { flex: 1; padding: 13px 18px; border-radius: 999px; border: 0; outline: none; color: var(--ink); min-width: 0; }
.nl-consent { font-size: .82rem; display: flex; gap: 8px; align-items: flex-start; }
.nl-consent a { color: #fff; }
.site-footer { background: var(--teal); color: rgba(255, 255, 255, .82); padding: 40px 0 20px; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: var(--orange-2); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { margin-top: 12px; max-width: 360px; font-size: .92rem; }
.social { display: flex; flex-wrap: wrap; gap: 12px; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 28px; padding-top: 18px; font-size: .82rem; }
.footer-bottom p { margin: 0 0 4px; }
.footer-bottom .muted { color: rgba(255, 255, 255, .55); }

/* Cookies */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; background: var(--ink); color: #fff; padding: 16px 18px; border-radius: 16px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; font-size: .92rem; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--orange-2); }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
.cookie-banner .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }

/* ≥ 600px */
@media (min-width: 600px) {
  .container { padding: 0 24px; }
  .post-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-cats { grid-template-columns: repeat(6, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .nl-row { flex-direction: row; }
  .comment-form-foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .inline-form { flex-direction: row; align-items: flex-end; }
  .inline-form label { flex: 1; }
  .cookie-banner { flex-direction: row; align-items: center; }
  .cookie-actions { flex: none; }
  .brand-tagline { display: block; }
  .product-detail { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ≥ 900px */
@media (min-width: 900px) {
  .section { padding-top: 48px; padding-bottom: 48px; }
  .menu-toggle { display: none; }
  .main-nav { position: static; transform: none; flex-direction: row; background: none; border: 0; padding: 0; box-shadow: none; max-height: none; overflow: visible; opacity: 1; visibility: visible; align-items: center; gap: 2px; }
  .main-nav > a, .nav-drop-btn { padding: 8px 12px; width: auto; font-size: .95rem; }
  .nav-dropdown { position: relative; }
  .nav-drop-menu { position: absolute; top: calc(100% + 8px); left: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px; min-width: 380px; }
  .nav-dropdown:hover .nav-drop-menu, .nav-dropdown:focus-within .nav-drop-menu { display: grid; }
  .nav-dropdown::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
  .hero { padding: 64px 0 48px; }
  .hero-inner { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .hero-cats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-cat { padding: 20px 10px; font-size: .95rem; }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .post-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1.4fr 1fr; }
  .post-card-lg .post-thumb { aspect-ratio: 16 / 10; }
  .featured-side .post-card { flex-direction: row; }
  .featured-side .post-thumb { flex: 0 0 42%; aspect-ratio: auto; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .layout-sidebar { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .newsletter-inner { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .page-head { padding: 44px 0 12px; }
}

/* ≥ 1200px */
@media (min-width: 1200px) {
  .logo-icon { width: 46px; height: 46px; }
  .main-nav > a, .nav-drop-btn { padding: 8px 14px; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .newsletter, .sidebar, .ad-wrap, .comments, .share, .cookie-banner { display: none !important; }
}
.auth-divider { display: flex; align-items: center; gap: 10px; width: 100%; color: var(--muted); font-size: .82rem; font-weight: 700; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ── Melhorias v2 ─────────────────────────────────── */
.preview-bar { background: var(--ink); color: #fff; text-align: center; padding: 10px 16px; font-weight: 700; font-size: .92rem; }
.preview-bar a { color: var(--orange-2); }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 24px; box-shadow: var(--shadow); }
.toc summary { cursor: pointer; font-weight: 900; font-size: 1.02rem; }
.toc ol { margin: 10px 0 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 4px; }
.toc li::marker { color: var(--orange); font-weight: 800; }
.toc .toc-l3 { margin-left: 1em; list-style: circle; font-size: .94rem; }
.toc a { text-decoration: none; font-weight: 700; color: var(--ink-2); }
.toc a:hover { color: var(--orange); }
.prose h2[id], .prose h3[id] { scroll-margin-top: 90px; }
.faq { margin: 36px 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }
.author-box { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin: 28px 0; }
.author-box p { margin: 6px 0 0; color: var(--ink-2); font-size: .94rem; }
.author-box a { text-decoration: none; }
.author-head { display: flex; gap: 18px; align-items: center; margin-top: 8px; }
.author-head h1 { margin: 0; }
.author-title { font-weight: 800; color: var(--teal-2); margin: 4px 0; }
.author-bio { margin-top: 16px; max-width: 760px; }
.avatar.xl { width: 96px; height: 96px; font-size: 1.8rem; border: 4px solid #fff; box-shadow: var(--shadow); }
.sub-head { font-size: 1.2rem; margin: 8px 0 14px; }
.cat-intro { margin-bottom: 28px; }
.cat-featured { margin-bottom: 28px; }
.popular { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: .93rem; }
.popular a { text-decoration: none; color: var(--ink); }
.popular a:hover { color: var(--orange); }
.popular li::marker { color: var(--orange); font-weight: 900; }

/* Comparativo de produtos */
.comparison { margin: 28px 0; }
.cmp-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.cmp-col { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; scroll-snap-align: start; font-size: .92rem; }
.cmp-col p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.cmp-img { display: grid; place-items: center; width: 100%; height: 170px; background: #fff; border-radius: 12px; overflow: hidden; font-size: 2.5rem; text-decoration: none; }
.cmp-img img { width: 100%; height: 100%; object-fit: contain; margin: 0; border-radius: 0; }
.cmp-name a { color: var(--ink); text-decoration: none; }
.cmp-price s, .old-price { color: var(--muted); font-size: .85rem; margin-right: 4px; }
.cmp-col .btn { margin-top: auto; }
.price-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.badge-deal { background: #15803D; }

/* Comunidade */
.like-form { display: inline; }
.like-btn { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: .82rem; font-weight: 800; color: var(--muted); cursor: pointer; }
.like-btn:hover, .like-btn.liked { color: #E11D48; border-color: #FBCFE8; background: #FFF1F5; }
.pet-tag { font-size: .75rem; font-weight: 700; color: var(--teal-2); background: var(--teal-soft); padding: 1px 8px; border-radius: 999px; }
.pet-grid { display: grid; gap: 12px; margin-bottom: 12px; }
.pet-card { display: flex; gap: 14px; align-items: center; padding: 14px 16px; }
.pet-card > div { flex: 1; display: flex; flex-direction: column; }
.pet-photo { width: 56px; height: 56px; border-radius: 16px; background: var(--orange-soft); display: grid; place-items: center; font-size: 1.8rem; overflow: hidden; flex: none; }
.pet-photo img { width: 100%; height: 100%; object-fit: cover; }
.add-pet { margin-bottom: 32px; }
.add-pet summary { cursor: pointer; color: var(--teal-2); }
.add-pet form { margin-top: 14px; }
.check-inline { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 700 !important; }
.check-inline input { width: auto !important; }
.pet-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; background: linear-gradient(135deg, var(--orange-soft), var(--teal-soft)); border-radius: var(--radius); padding: 16px 20px; margin-top: 24px; }
.pet-cta > span { font-size: 1.8rem; }
.pet-cta > div { flex: 1; min-width: 200px; }
@media (min-width: 600px) { .pet-grid { grid-template-columns: 1fr 1fr; } }
.cover-credit { font-size: .75rem; color: var(--muted); text-align: right; margin-top: 6px; }
.cover-credit a { color: var(--muted); text-decoration: none; }

/* ── Ferramentas: calculadoras, quiz ─────────────── */
.tool-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 24px; }
.tool-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.tool-card .link-more { margin-top: auto; padding-top: 6px; }
.tool-card-alt { background: linear-gradient(135deg, var(--orange-soft), var(--teal-soft)); }
.tool-ico { font-size: 2rem; line-height: 1; }
.tool-grid-sm .tool-card { flex-direction: row; align-items: center; gap: 10px; padding: 14px 16px; }
.tool-grid-sm .tool-ico { font-size: 1.5rem; }
.tool-text { margin: 32px 0; }
.calc-form { display: flex; flex-direction: column; gap: 16px; padding: 22px; }
.calc-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: .92rem; }
.calc-form input, .calc-form select { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font: inherit; }
.calc-form input:focus, .calc-form select:focus { border-color: var(--orange-2); outline: none; }
.calc-form label[hidden] { display: none; }
.opt-group { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.opt-group legend { font-weight: 800; font-size: .92rem; margin-bottom: 8px; width: 100%; }
.opt { position: relative; cursor: pointer; font-weight: 700 !important; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100% !important; height: 100%; cursor: pointer; margin: 0; }
.opt span { display: inline-block; padding: 10px 16px; border: 2px solid var(--line); border-radius: 999px; background: #fff; transition: all .15s; }
.opt input:checked + span { border-color: var(--orange); background: var(--orange-soft); color: var(--orange); }
.opt input:focus-visible + span { outline: 3px solid var(--orange-2); outline-offset: 2px; }
.calc-result { margin: 20px 0; padding: 24px; border-top: 5px solid var(--orange); scroll-margin-top: 90px; }
.calc-result h2 { margin-top: 0; }
.big-number { font-size: clamp(2.6rem, 8vw, 3.6rem); font-weight: 900; color: var(--orange); margin: 4px 0 10px; line-height: 1.05; }
.big-number small { font-size: 1.1rem; color: var(--ink-2); font-weight: 800; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: .95rem; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.data-table th { background: var(--teal-soft); color: var(--teal); }
.data-table td:first-child, .data-table th:first-child { text-align: left; }
.schedule { list-style: none; margin: 16px 0; padding: 0; border-left: 3px solid var(--orange-soft); }
.schedule li { display: flex; gap: 14px; padding: 10px 0 10px 16px; position: relative; }
.schedule li::before { content: ''; position: absolute; left: -8px; top: 16px; width: 13px; height: 13px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; }
.schedule li.is-past { opacity: .6; }
.schedule li.is-past::before { background: var(--muted); }
.schedule li.is-optional::before { background: var(--teal-2); }
.sch-date { flex: none; width: 92px; font-weight: 900; color: var(--teal); }
.sch-body { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.reminder-cta { background: var(--teal-soft); border-radius: 14px; padding: 18px; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.reminder-cta p { margin: 0; }
.reminder-cta .inline-form { width: 100%; }
.reminder-cta select { width: 100%; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; font: inherit; }
.quiz { padding: 22px; display: flex; flex-direction: column; gap: 22px; }
.quiz-q { padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.quiz-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-size: .85rem; margin-right: 6px; }
.quiz-results { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.quiz-result { display: flex; gap: 16px; align-items: flex-start; }
.quiz-result h3 { margin: 6px 0 4px; }
.quiz-result h3 a { color: var(--ink); text-decoration: none; }
.quiz-result p { margin: 0 0 6px; }
.quiz-photo { flex: none; width: 96px; height: 96px; border-radius: 16px; overflow: hidden; background: var(--orange-soft); display: grid; place-items: center; font-size: 2.4rem; text-decoration: none; }
.quiz-photo img { width: 100%; height: 100%; object-fit: cover; }
.quiz-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--radius); background: linear-gradient(135deg, var(--teal-soft), var(--orange-soft)); color: var(--ink); text-decoration: none; margin-bottom: 24px; }
.quiz-banner > span:first-child { font-size: 1.8rem; }
.quiz-banner > div { flex: 1; min-width: 200px; }
.quiz-banner.vertical { flex-direction: column; align-items: flex-start; text-align: left; margin: 16px 0; }
.quiz-banner:hover { color: var(--ink); box-shadow: var(--shadow); }

/* ── Guia de raças ───────────────────────────────── */
.breed-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.breed-filter input, .breed-filter select { flex: 1; min-width: 150px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 999px; font: inherit; background: #fff; }
.breed-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-bottom: 28px; }
.breed-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s; }
.breed-card:hover { transform: translateY(-3px); color: var(--ink); }
.breed-photo { display: grid; place-items: center; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--orange-soft), var(--teal-soft)); font-size: 2.6rem; overflow: hidden; }
.breed-photo img { width: 100%; height: 100%; object-fit: cover; }
.breed-photo.sm { width: 48px; height: 48px; aspect-ratio: auto; border-radius: 12px; font-size: 1.4rem; flex: none; }
.breed-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.breed-facts { padding: 20px 22px; margin-bottom: 24px; }
.breed-facts h2 { margin-top: 0; font-size: 1.2rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 16px; }
.facts div { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.facts dt { font-size: .8rem; color: var(--muted); font-weight: 800; }
.facts dd { margin: 2px 0 0; font-weight: 800; }
.traits { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.traits li { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: .93rem; }
.meter { display: inline-flex; gap: 4px; flex: none; }
.meter i { width: 22px; height: 10px; border-radius: 999px; background: var(--line); }
.meter i.on { background: var(--orange); }
.tool-links { padding: 16px 20px; margin: 24px 0; }
.tool-links ul { margin: 8px 0 0; padding-left: 20px; }
.tool-links li { margin: 4px 0; }
.mini-breeds li a { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 800; }
.mini-breeds li a:hover { background: var(--orange-soft); }
.mini-breeds small { display: block; font-weight: 600; }

/* ── Lembretes (Minha conta) ─────────────────────── */
.pet-list { display: grid; gap: 14px; margin-bottom: 12px; }
.pet-box { padding: 0; overflow: hidden; }
.pet-box .pet-card { border-bottom: 1px solid var(--line); }
.pet-box .pet-card > div a { color: var(--teal-2); }
.reminders { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.reminders-title { font-size: .95rem; }
.reminders p { margin: 0; }
.reminder-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.reminder-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; background: var(--bg); border-radius: 10px; }
.reminder-list li.is-late { background: #FEF3C7; }
.rem-date { font-weight: 900; color: var(--teal); width: 88px; flex: none; }
.rem-body { flex: 1; min-width: 150px; font-weight: 700; font-size: .93rem; }
.reminder-list form { margin: 0; }
.reminders .btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.reminders .inline-form label { font-size: .85rem; }
.reminders .inline-form input { padding: 8px 10px; }
.add-reminder summary { cursor: pointer; color: var(--teal-2); font-weight: 800; }
.add-reminder form { margin-top: 12px; }

@media (min-width: 600px) {
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .breed-grid { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .tool-grid-home { grid-template-columns: repeat(5, 1fr); }
  .tool-grid-sm { grid-template-columns: repeat(4, 1fr); }
  .breed-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Mural: adoção e perdidos ────────────────────── */
.head-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.listing-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s; }
.listing-card:hover { transform: translateY(-3px); color: var(--ink); }
.listing-photo { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: linear-gradient(135deg, var(--orange-soft), var(--teal-soft)); font-size: 2.6rem; overflow: hidden; }
.listing-photo img { width: 100%; height: 100%; object-fit: cover; }
.listing-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.listing-badge { position: absolute; left: 10px; top: 10px; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.listing-badge.static { position: static; display: inline-block; box-shadow: none; }
.kind-adocao { background: var(--teal-soft); color: var(--teal); }
.kind-perdido { background: #FEE2E2; color: #991B1B; }
.kind-encontrado { background: #DCFCE7; color: #166534; }
.listing-layout { display: grid; gap: 24px; margin-top: 16px; }
.listing-gallery { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-main { width: 100%; max-height: 560px; object-fit: contain; background: #111; display: block; }
.gallery-thumbs { display: flex; gap: 8px; padding: 10px; }
.gallery-thumbs button { width: 72px; height: 72px; padding: 0; border: 3px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.gallery-thumbs button.active { border-color: var(--orange); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-empty { aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 5rem; background: linear-gradient(135deg, var(--orange-soft), var(--teal-soft)); }
.listing-desc { padding: 18px 20px; white-space: pre-line; line-height: 1.7; }
.listing-side { display: flex; flex-direction: column; gap: 14px; }
.listing-side .card { padding: 18px 20px; }
.listing-side h3 { margin: 0 0 10px; font-size: 1.05rem; }
.listing-info h1 { font-size: 1.45rem; margin: 10px 0 14px; }
.facts-2 { grid-template-columns: 1fr 1fr !important; }
.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn-whatsapp:hover { background: #1EBE5A; color: #fff; }
.btn.full { width: 100%; justify-content: center; margin-bottom: 8px; }
.listing-side .btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.report-box summary { cursor: pointer; color: var(--muted); font-size: .88rem; font-weight: 700; }
.report-box form { margin-top: 10px; }
.my-listings .btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: center; }
.my-listings form { margin: 0; }
.listing-form .form-row-3 { grid-template-columns: 1fr; }
.listing-form fieldset.photo-field, .listing-form fieldset.contact-field { border: 2px dashed var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.listing-form legend { font-weight: 800; font-size: .92rem; padding: 0 6px; }
.listing-form textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; font: inherit; resize: vertical; }
.check-row { display: flex; gap: 18px; flex-wrap: wrap; }
.keep-photos { display: flex; gap: 10px; flex-wrap: wrap; }
.keep-photo { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .8rem !important; }
.keep-photo img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.keep-photo input { width: auto !important; }
.print-poster { display: none; }
@media (min-width: 600px) { .listing-form .form-row-3 { grid-template-columns: 100px 1fr 1fr; } }
@media (min-width: 900px) { .listing-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
@media print {
  body.printing > *:not(.print-poster) { display: none !important; }
  body.printing .print-poster { display: block !important; text-align: center; font-family: Arial, sans-serif; color: #000; }
  .print-poster h1 { font-size: 64px; margin: 0 0 12px; letter-spacing: 2px; }
  .print-poster img { max-width: 100%; max-height: 55vh; object-fit: contain; }
  .print-poster h2 { font-size: 40px; margin: 12px 0 4px; }
  .print-poster p { font-size: 20px; margin: 6px 0; }
  .print-poster .poster-phone { font-size: 40px; font-weight: 900; }
  .print-poster .poster-url { font-size: 13px; color: #444; }
}

/* Menu com 8 itens: sem quebra de linha; "Início" fica só no menu mobile (o logo leva à home) */
.main-nav > a, .nav-drop-btn { white-space: nowrap; }
@media (min-width: 900px) { .nav-home { display: none; } .main-nav > a, .nav-drop-btn { padding: 8px 9px; font-size: .92rem; } }
@media (min-width: 1200px) { .main-nav > a, .nav-drop-btn { padding: 8px 11px; font-size: .97rem; } }
