/* ===== VARIÁVEIS ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --accent: #f59e0b;
    --dark: #1e293b;
    --text: #475569;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0;
}

.tagline {
    font-size: 0.875rem;
    color: var(--secondary);
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* ===== HERO ===== */
.site-intro {
    text-align: center;
    padding: 3rem 0;
    background-image: url('../imagens/hero-principal.jpg');
    background-size: contain !important;
    background-color: #213870;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    position: relative;
    min-height: 600px;
    display: flex;
}

.site-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.site-intro .container {
    position: relative;
    z-index: 2;
}

.intro-title {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.intro-description {
    font-size: 1.2rem;
    color: var(--light);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* ===== BOTÕES DE CATEGORIA PEQUENOS ===== */
.category-buttons {
    padding: 2rem 0;
    background: var(--light);
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.category-buttons .intro-cta {
    margin: 0;
    gap: 1.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* BOTÕES PEQUENOS COM CORES CINZA */
.dog-btn, .cat-btn {
    background-color: var(--primary) !important;
    color: #1e293b !important;
    font-weight: 600;
    border: 1px solid var(--border) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    min-width: 160px;
    padding: 0 1.2rem !important;
    border-radius: 21px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* CINZA MENOS CLARO para Cães */
.dog-btn {
    background-color: #94a3b8 !important;
    border-color: #64748b !important;
}

/* CINZA MAIS CLARO para Gatos */
.cat-btn {
    background-color: #94a3b8 !important;
    border-color: #64748b !important;
}

/* Efeito hover */
.dog-btn:hover, .cat-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dog-btn:hover {
    background-color: #64748b !important;
    color: white !important;
}

.cat-btn:hover {
    background-color: #94a3b8 !important;
    color: white !important;
}

/* ===== ARTIGOS EM DESTAQUE ===== */
.featured-articles {
    padding: 3rem 0;
}

.section-title {
    font-size: 36px; 
    font-weight: 700;
    color: #1f2d3d; 
    text-align: center;
    margin-bottom: 30px;
}

.section-subtitle {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-badge {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-title a {
    color: var(--dark);
    text-decoration: none;
}

.article-title a:hover {
    color: var(--primary);
}

.article-excerpt {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.article-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.article-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
    transform: translateX(5px);
}

.no-articles {
    text-align: center;
    padding: 3rem;
    color: var(--text);
    grid-column: 1 / -1;
}

.no-articles p {
    margin-bottom: 1rem;
}

/* ===== PARCEIROS ===== */
.partners-section {
    padding: 3rem 0;
    background: var(--light);
    text-align: center;
}

.partners-title {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.partners-subtitle {
    color: var(--text);
    margin-bottom: 2rem;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.partner-logo {
    background: var(--white);
    padding: 1.8rem 2.7rem; /* +80% */
    border-radius: calc(var(--radius) + 2px); /* Bordas mais arredondadas */
    text-decoration: none;
    color: var(--text);
    font-weight: 600; /* Mais negrito */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* Sombra mais forte */
    transition: all 0.3s ease;
    border: 2px solid var(--border); /* Borda mais grossa */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px; /* +57% */
    min-height: 90px; /* +50% */
    background-color: var(--white);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70% auto; /* Logos um pouco menores dentro do botão maior */
    text-indent: -9999px;
    overflow: hidden;
    margin: 0.5rem;
}

.partner-logo[title="Amazon"] {
    background-image: url('../imagens/parceiro-amazon.png');
}
.partner-logo[title="Petz"] {
    background-image: url('../imagens/parceiro-petz.png');
}
.partner-logo[title="Cobasi"] {
    background-image: url('../imagens/parceiro-cobasi.png');
}
.partner-logo[title="Petlove"] {
    background-image: url('../imagens/parceiro-petlove.png');
}

.partner-logo:hover {
    transform: translateY(-5px); /* Mais movimento */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2); /* Sombra bem mais forte */
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.partners-disclosure {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    font-style: italic;
}

/* ===== FEEDS DE NOTÍCIAS ===== */
.news-feeds {
    padding: 3rem 0;
    background: var(--white);
}

.feeds-container {
    background: var(--light);
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid var(--border);
}

.feeds-fallback {
    text-align: center;
    padding: 2rem;
    color: var(--text);
}

.feeds-fallback p {
    margin-bottom: 1rem;
}

/* ===== ARTIGO INDIVIDUAL ===== */
.single-article {
    padding: 2rem 0;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-categories {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--secondary);
}

.article-categories a {
    color: var(--secondary);
    text-decoration: none;
}

.article-categories a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.article-title {
    font-size: 2.5rem;
    color: var(--dark);
    line-height: 1.2;
    margin: 1rem 0;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--secondary);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.author-name {
    font-weight: 500;
}

.author-name::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('../imagens/avatar-autor.png');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 8px;
}

.article-image {
    margin: 2rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: var(--secondary);
    margin-top: 0.5rem;
    font-size: 0.9rem;
    padding: 0 1rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-content h2 {
    margin: 2.5rem 0 1rem;
    color: var(--dark);
    font-size: 1.8rem;
}

.article-content h3 {
    margin: 2rem 0 1rem;
    color: var(--dark);
    font-size: 1.5rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* ===== RODAPÉ DO ARTIGO ===== */
.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.author-box {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
}

.author-box h4 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.author-box p {
    margin-bottom: 1rem;
}

.author-box strong {
    color: var(--dark);
}

.share-box {
    margin-top: 2rem;
}

.share-box h4 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.facebook { background: #1877f2; }
.twitter { background: #1da1f2; }
.whatsapp { background: #25d366; }
.linkedin { background: #0077b5; }

/* ===== ARTIGOS RELACIONADOS ===== */
.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.related-articles h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-item {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.related-item h4 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.related-item h4 a {
    color: var(--dark);
    text-decoration: none;
}

.related-item h4 a:hover {
    color: var(--primary);
}

.related-item p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== SIDEBAR ===== */
.article-sidebar {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.sidebar-widget {
    margin-bottom: 2rem;
}

.sidebar-widget h4 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.sidebar-categories {
    list-style: none;
    padding: 0;
}

.sidebar-categories li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-categories li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.sidebar-categories a {
    color: var(--text);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.sidebar-categories a:hover {
    color: var(--primary);
}

.sidebar-categories .count {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

.affiliate-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.affiliate-link {
    background: var(--light);
    color: var(--text);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    border: 1px solid var(--border);
    transition: var(--transition);
    font-size: 0.9rem;
}

.affiliate-link:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

/* ===== PÁGINA DE ARQUIVO ===== */
.archive-page {
    padding: 2rem 0;
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
}

.archive-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.archive-description {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text);
    line-height: 1.6;
    font-size: 1.1rem;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.archive-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.archive-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cat-badge {
    background: var(--secondary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.item-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.item-title a {
    color: var(--dark);
    text-decoration: none;
}

.item-title a:hover {
    color: var(--primary);
}

.item-excerpt {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary);
    font-size: 0.9rem;
}

.item-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.item-link:hover {
    text-decoration: underline;
}

.no-posts {
    text-align: center;
    padding: 3rem;
    color: var(--text);
    grid-column: 1 / -1;
}

/* ===== PAGINAÇÃO ===== */
.archive-pagination,
.pagination {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.page-numbers.current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.page-numbers:hover:not(.current) {
    background: var(--light);
    border-color: var(--primary);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 2.5rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-widget-area {
    padding: 0 1rem;
    text-align: center;
}

.footer-widget-area h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    display: inline-block;
    padding: 0.3rem 0;
}

.footer-nav a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* ===== AVISO IMPORTANTE ===== */
.footer-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #f39c12;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.15);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.warning-icon {
    font-size: 2rem;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.warning-content h5 {
    color: #d35400;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.warning-content p {
    color: #7d6608;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ===== COPYRIGHT ===== */
.site-info {
    text-align: center;
    color: #94a3b8;
    padding-top: 2rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.footer-credits {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-credits a {
    color: var(--accent);
}

/* ===== FOOTER RESPONSIVO ===== */
@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 500px;
    }
    
    .footer-widget-area {
        padding: 0;
    }
    
    .footer-nav li {
        margin-bottom: 1.2rem;
    }
    
    .footer-warning {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
        gap: 0.8rem;
    }
    
    .warning-icon {
        font-size: 1.8rem;
    }
    
    .warning-content h5 {
        font-size: 1rem;
    }
    
    .warning-content p {
        font-size: 0.9rem;
    }
}

/* CORREÇÕES PARA MELHORAR ESPACEJAMENTO */
.site-header { padding: 20px 0; }
.site-intro { padding: 60px 0; margin-bottom: 40px; }
.featured-articles { padding: 60px 0; }
.article-card { padding: 25px; margin-bottom: 20px; }
.site-footer { padding-top: 60px; margin-top: 60px; }
.footer-widgets { margin: 40px 0; }
.container { padding: 0 25px; }

/* ===== CENTRALIZAÇÃO ABSOLUTA DAS COLUNAS ===== */
.site-footer .footer-widgets {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.site-footer .footer-widget-area {
    text-align: center;
    flex: 0 0 auto;
}

.site-footer .footer-widget-area > h4 {
    text-align: center;
    margin: 0 auto 15px auto;
    display: block;
    width: 100%;
}

.site-footer .footer-nav {
    text-align: left;
    display: inline-block;
    padding: 0;
    margin: 0;
}

.site-footer .footer-nav li {
    text-align: left;
    list-style: none;
    margin-bottom: 10px;
    padding: 0;
}

/* Centralização perfeita */
.site-footer .container > .footer-widgets {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsivo */
@media (max-width: 768px) {
    .site-footer .footer-widgets {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
}

/* ===== PÁGINA DE PRODUTOS AMAZON - IMAGENS PRÓXIMAS ===== */

.affiliate-products-page {
    max-width: 900px; /* Reduzido */
    margin: 40px auto;
    padding: 0 20px;
}

.affiliate-products-page > p:first-of-type {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text);
    line-height: 1.6;
    padding: 0 10px;
}

/* CONTÊINER MAIS COMPACTO */
.affiliate-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important; /* Distribui igualmente */
    gap: 20px !important; /* Reduzido de 40px para 20px */
    margin: 0 auto 40px auto !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 850px !important;
}

/* PRODUTOS MAIS COMPACTOS */
.affiliate-grid > a {
    flex: 0 0 calc(50% - 10px) !important; /* Reduz gap interno */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    padding: 20px 15px !important; /* Reduzido de 35px 25px */
    background: var(--white) !important;
    border-radius: var(--radius) !important;
    border: 2px solid var(--border) !important;
    box-shadow: var(--shadow) !important;
    transition: var(--transition) !important;
    text-align: center !important;
    min-height: 280px !important; /* Reduzido de 320px */
    box-sizing: border-box !important;
}

.affiliate-grid > a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

/* IMAGENS COM MARGEM REDUZIDA */
.affiliate-grid img {
    width: 50%;
    max-width: 180px; /* Reduzido de 200px */
    min-width: 140px; /* Reduzido de 150px */
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* REMOVE QUALQUER TEXTO */
.affiliate-grid > a::after,
.affiliate-grid > a::before {
    content: none !important;
    display: none !important;
}

/* DISCLAIMER */
.affiliate-disclaimer {
    text-align: center;
    font-size: 14px;
    color: var(--secondary);
    font-style: italic;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
    .affiliate-grid {
        gap: 15px !important;
        padding: 0 10px;
    }
    
    .affiliate-grid > a {
        flex: 0 0 calc(50% - 8px) !important;
        padding: 18px 12px !important;
        min-height: 260px;
    }
    
    .affiliate-grid img {
        width: 55%;
        max-width: 160px;
    }
}

@media (max-width: 650px) {
    .affiliate-grid {
        justify-content: center !important;
        gap: 15px !important;
    }
    
    .affiliate-grid > a {
        flex: 0 0 100% !important;
        max-width: 400px;
        margin: 0 auto;
        min-height: 250px;
        padding: 15px 20px !important;
    }
    
    .affiliate-grid img {
        width: 50%;
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .affiliate-grid img {
        width: 60%;
    }
    
    .affiliate-products-page {
        padding: 0 10px;
    }
}

/* ============================================
   SOLUÇÃO "CANHÃO" PARA O GRID 2x2
   Especificidade máxima para evitar sobrescritas
   ============================================ */

/* 1. Container do Grid - FORÇA o layout */
body .affiliate-products-page .affiliate-grid,
html body .affiliate-products-page .affiliate-grid {
    /* DESTRÓI layouts conflitantes */
    all: initial !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: auto auto !important;
    gap: 20px !important;
    
    /* Dimensões e alinhamento */
    width: 100% !important;
    max-width: 900px !important;
    margin: 40px auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* 2. Itens do Grid - POSICIONAMENTO EXPLÍCITO */
body .affiliate-products-page .affiliate-grid > a,
html body .affiliate-products-page .affiliate-grid > a {
    /* Força cada item a ocupar uma célula específica */
    grid-column: auto !important;
    grid-row: auto !important;
    
    /* Layout interno */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Estilos visuais */
    text-decoration: none !important;
    padding: 20px 15px !important;
    background: var(--white, #fff) !important;
    border-radius: 12px !important;
    border: 2px solid var(--border, #e2e8f0) !important;
    box-shadow: var(--shadow, 0 4px 6px rgba(0,0,0,0.1)) !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    min-height: 280px !important;
    box-sizing: border-box !important;
    
    /* Mata flutuações e displays conflitantes */
    float: none !important;
    clear: none !important;
    position: relative !important;
    overflow: hidden !important;
}

/* 3. Efeito Hover */
body .affiliate-products-page .affiliate-grid > a:hover,
html body .affiliate-products-page .affiliate-grid > a:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--primary, #3b82f6) !important;
}

/* 4. Imagens - Tamanho FIXO e Igual */
body .affiliate-products-page .affiliate-grid img,
html body .affiliate-products-page .affiliate-grid img {
    width: 160px !important;
    height: 160px !important;
    max-width: 160px !important;
    max-height: 160px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto 15px auto !important;
    padding: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08) !important;
    background: #f8fafc !important;
}

/* 5. Responsividade */
@media (max-width: 768px) {
    body .affiliate-products-page .affiliate-grid,
    html body .affiliate-products-page .affiliate-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: repeat(4, auto) !important;
        max-width: 450px !important;
        gap: 15px !important;
    }
}

/* ESTILOS PARA OS BOTÕES DE PARCEIROS */
.partners-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 30px auto;
}

.partner-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    min-height: 120px;
}

/* Botão ATIVO (Amazon) */
.partner-btn.active {
    background: linear-gradient(135deg, #FF9900 0%, #FFCC00 100%);
    color: #000;
    border-color: #FF9900;
    cursor: pointer;
}

/* Hover global dos botões */
.partner-btn {
    display: inline-block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.partner-btn:active {
    transform: translateY(-2px);
}

/* Botões DESATIVADOS (Em breve) */
.partner-btn.disabled {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px dashed #dee2e6;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Ícones dos botões */
.btn-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.btn-text {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.btn-status {
    font-size: 0.85rem;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
}

/* Status específicos */
.partner-btn.active .btn-status {
    background: rgba(0, 0, 0, 0.1);
}

.partner-btn.disabled .btn-status {
    background: #e9ecef;
    color: #6c757d;
}

/* Texto explicativo */
.partners-disclosure {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    border-left: 4px solid #FF9900;
}

.partners-disclosure p {
    margin: 8px 0;
}

.disclaimer-note::before {
    content: none;
    display: none;
}

.partners-disclosure p {
    border-left: none !important;
    padding-left: 0 !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .partners-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .partner-btn {
        padding: 15px 10px;
        min-height: 100px;
    }
    
    .btn-icon {
        font-size: 2rem;
    }
    
    .btn-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .partners-buttons {
        grid-template-columns: 1fr;
    }
}

/* === BOTÃO PETZ ATIVO === */
.petz-btn {
    border-left: 4px solid #0072ce;
}

.petz-btn .btn-icon {
    background: linear-gradient(135deg, #0072ce, #00a0e4);
    box-shadow: 0 0 10px rgba(0,114,206,.45);
    transition: transform .3s ease, box-shadow .3s ease;
}

.petz-btn:hover .btn-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px rgba(255,204,0,.6);
}

/* === ÍCONE AMAZON COM FUNDO AZUL (PADRÃO PETZ) === */
.amazon-btn .btn-icon {
    background: linear-gradient(135deg, #0072ce, #00a0e4);
    box-shadow: 0 0 10px rgba(0,114,206,.45);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 0;
    width: 78px;
    height: 52px;
}

/* Centralizar grid principal */

.partners-grid {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
    margin: 0 auto 30px auto;
}

/* Seção Petlove separada */
.petlove-section {
    text-align: center;
    margin-top: 20px;
}

.petlove-button {
    display: flex;
    justify-content: center;
}

.partner-btn {
    width: 220px;
    padding: 18px 12px;
}

.partners-disclosure::before,
.partners-disclosure::after,
.partners-disclosure p::before,
.partners-disclosure p::after {
    content: none !important;
    display: none !important;
}

/* DESKTOP */
@media (min-width: 769px) {
    .busca-mobile {
        display: none !important;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .busca-hero {
        display: none !important;
    }
}

/* ===== SEÇÃO ARTIGOS ===== */

.psp-artigos{
max-width:1200px;
margin:60px auto;
padding:0 20px;
}

.psp-titulo-secao{
font-size:28px;
margin-bottom:25px;
text-align:center;
}

.psp-grid-posts{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;
}

/* CARD */

.psp-card-post{
background:#fff;
border-radius:14px;
overflow:hidden;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
transition:.3s;
}

.psp-card-post:hover{
transform:translateY(-6px);
}

.psp-thumb{
position:relative;
}

.psp-thumb img{
width:100%;
height:auto;
display:block;
}

/* CATEGORIA */

.psp-categoria{
position:absolute;
bottom:10px;
left:10px;
background:#19443C;
color:#fff;
padding:4px 10px;
border-radius:6px;
font-size:12px;
font-weight:600;
}

/* TÍTULO */

.psp-titulo-post{
font-size:18px;
padding:15px;
line-height:1.4;
}

/* ===== MOBILE ===== */

@media (max-width:768px){

.psp-artigos{
margin:40px auto;
}

.psp-titulo-secao{
font-size:22px;
}

}

.psp-card-post a{
text-decoration:none;
color:inherit;
display:block;
height:100%;
}

.psp-titulo-post{
color:#1f2937;
font-weight:600;
}

.psp-card-post:hover .psp-titulo-post{
color:#19443C;
}