/* ==========================================================================
   BEST CAT WATER FOUNTAIN - MAIN THEME STYLES
   ========================================================================== */

/* --- TYPOGRAPHY & BASE --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 800;
}

p {
    margin-bottom: 1.25rem;
}

p:last-child {
    margin-bottom: 0;
}

/* --- TOP EDITORIAL BAR --- */
.top-editorial-bar {
    background: #0f172a;
    color: #94a3b8;
    font-size: 12.5px;
    padding: 8px 20px;
    text-align: center;
    border-bottom: 1px solid #1e293b;
    position: relative;
    z-index: 1001;
}

.top-editorial-bar strong {
    color: #38bdf8;
}

.top-editorial-bar a {
    color: #38bdf8;
    text-decoration: underline;
}

/* --- SITE HEADER & NAVIGATION --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 24px;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo span.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0284c7, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-links, .main-navigation ul {
    display: flex;
    gap: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    list-style: none;
}

.nav-links a, .main-navigation ul a {
    color: var(--text-main);
    transition: color 0.2s ease;
}

.nav-links a:hover, .main-navigation ul a:hover {
    color: var(--brand);
}

.header-cta-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header-cta {
    background: #0284c7;
    color: #fff !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-header-cta:hover {
    background: var(--brand-hover);
    transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-dark);
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* --- HERO SECTION --- */
.hero-section {
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
    padding: 60px 20px 65px 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.hero-inner {
    max-width: 880px;
    margin: 0 auto;
}

.badge-editorial {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 18px;
    letter-spacing: -0.8px;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 28px;
}

.kpi-metric-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px 24px;
    box-shadow: var(--shadow-sm);
    max-width: 820px;
    margin: 0 auto;
}

.kpi-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.kpi-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--brand);
    font-family: var(--font-heading);
}

.kpi-lbl {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

/* --- SECTION WRAPPERS --- */
.section-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px auto;
}

.section-tag {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand);
    margin-bottom: 8px;
    display: block;
}

.section-h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.4px;
}

.section-desc {
    font-size: 15.5px;
    color: var(--text-muted);
}

/* --- TOP PICKS GRID --- */
.top-picks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 50px;
}

.pick-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.pick-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand);
}

.pick-card.winner {
    border: 2px solid #0284c7;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 40%);
}

.badge-category {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 6px;
    align-self: flex-start;
    margin-bottom: 10px;
}

.badge-gold {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge-blue {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.pick-icon {
    font-size: 40px;
    margin: 10px 0;
    text-align: center;
}

.pick-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 8px;
}

.pick-score {
    font-size: 13px;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 14px;
}

.btn-pick-link {
    background: #0284c7;
    color: #fff !important;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: block;
}

.btn-pick-link:hover {
    background: #0369a1;
    transform: translateY(-1px);
}

/* --- COMPARISON TABLE --- */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    margin: 20px 0 60px 0;
}

table.fountain-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

table.fountain-table th {
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    padding: 14px 18px;
    white-space: nowrap;
}

table.fountain-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

table.fountain-table tr:last-child td {
    border-bottom: none;
}

.col-highlight {
    background-color: rgba(2, 132, 199, 0.05);
    font-weight: 700;
}

.btn-table-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    margin-right: 4px;
    margin-bottom: 4px;
    text-decoration: none !important;
}

.btn-amazon {
    background: #ff9900;
    color: #111 !important;
}

.btn-amazon:hover {
    background: #e68a00;
}

.btn-chewy {
    background: #1c49c2;
    color: #fff !important;
}

.btn-chewy:hover {
    background: #163ba0;
}

/* --- DEEP DIVE REVIEW CARDS --- */
.deep-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.deep-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 14px;
}

.deep-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
}

.deep-score-badge {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 18px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #bae6fd;
}

.pro-con-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.pro-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 20px;
}

.pro-box h4 {
    color: #15803d;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 10px;
}

.con-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 20px;
}

.con-box h4 {
    color: #dc2626;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 10px;
}

.pro-con-grid ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
    padding: 0;
}

.pro-box li::before {
    content: '✓ ';
    color: #16a34a;
    font-weight: 900;
}

.con-box li::before {
    content: '✕ ';
    color: #dc2626;
    font-weight: 900;
}

.test-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.test-metric-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}

.metric-val {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.metric-desc {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 4px;
}

/* --- AUTHOR BIO / EXPERT BOX --- */
.author-box {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 40px 0;
}

.author-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.author-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.author-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 6px;
}

.author-quote {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    font-style: italic;
}

/* --- FAQ ACCORDION --- */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-question {
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    font-weight: 700;
    color: var(--brand);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 24px 20px 24px;
    font-size: 14.5px;
    color: var(--text-main);
    line-height: 1.65;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* --- BLOG & POST LAYOUT --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin: 30px 0;
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-category {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.post-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.post-meta {
    font-size: 12.5px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
}

/* Single Post Specifics */
.post-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    margin-top: 40px;
}

.single-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.single-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.single-title {
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.single-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13.5px;
    color: var(--text-muted);
}

.affiliate-disclaimer-notice {
    background: #f8fafc;
    border-left: 4px solid var(--brand);
    padding: 12px 18px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    border-radius: 0 8px 8px 0;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--brand-light);
    color: var(--text-dark);
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}

.sidebar-widget li:last-child {
    border-bottom: none;
}

/* --- FOOTER --- */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 50px 20px 30px 20px;
    font-size: 13.5px;
    border-top: 1px solid #1e293b;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid #334155;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.footer-links h4 {
    color: #fff;
    font-size: 14.5px;
    margin-bottom: 12px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: #38bdf8;
}

.footer-bottom {
    text-align: center;
    padding-top: 22px;
    font-size: 12.5px;
    color: #64748b;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .post-layout-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .main-navigation {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .mobile-nav-active .main-navigation {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
    .mobile-nav-active .nav-links,
    .mobile-nav-active .main-navigation ul {
        flex-direction: column;
        gap: 14px;
        display: flex;
    }
    .hero-title {
        font-size: 30px;
    }
    .kpi-metric-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .pro-con-grid {
        grid-template-columns: 1fr;
    }
    .test-metric-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}
