/*
Theme Name: Tomcaat Theme
Author: You
Version: 1.0
*/
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO */
.hero {
    padding: 100px 0;
    background: #0b1d2a;
    color: #fff;
}

/* BUTTON */
.btn {
    background: #5F8575;
    color: #fff;
    padding: 12px 25px;
    display: inline-block;
}

/* GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* CARDS */
.card img {
    width: 100%;
    border-radius: 10px;
}

/* SEARCH */
.search-section {
    margin-top: -40px;
    padding: 40px;
    text-align: center;
}

/* Archive Hero */
.archive-hero {
    background: #0b1d2a;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

/* Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

/* CARD CONTAINER */
.scan-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.scan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* REMOVE LINK STYLE */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* IMAGE */
.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ZOOM EFFECT */
.scan-card:hover img {
    transform: scale(1.05);
}

/* OVERLAY */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

/* BADGE */
.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #5F8575;
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 50px;
}

/* CONTENT */
 .card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* GRID IMPROVEMENT */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* MOBILE */
@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-image {
        height: 200px;
    }

    .card-content {
        padding: 15px;
    }
}

/* PAGE */
.single-scan {
    padding: 40px 0;
}

/* HERO */
.single-hero img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 30px;
}

/* WRAPPER (MAIN + SIDEBAR) */
.single-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* CONTENT */
.single-content {
    max-width: 100%;
}

.single-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.single-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

/* BODY */
.single-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.single-body h2,
.single-body h3 {
    margin-top: 25px;
    margin-bottom: 15px;
}

/* SIDEBAR */
.single-sidebar {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 12px;
}

/* CTA SECTION */
.single-cta {
    text-align: center;
    background: #5F8575;
    color: #fff;
    padding: 40px 20px;
    border-radius: 16px;
    margin: 50px 0;
}

.single-cta h2 {
    margin-bottom: 10px;
}

.single-cta p {
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #5F8575;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.cta-button:hover {
    background: #eee;
}

/* RELATED */
.related-scans h2 {
    margin-bottom: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
    .single-wrapper {
        grid-template-columns: 1fr;
    }

    .single-title {
        font-size: 26px;
    }
}
/* VARIABLES */
/* --- UNIFIED DESIGN SYSTEM --- */
:root {
    --navy: #051121;
    --deep-navy: #0a1b2e;
    --green: #5F8575;
    --white: #FFFFFF;
    --text: #d6e2f0;
}

body { background: var(--navy); color: var(--text); font-family: 'Inter', sans-serif; margin: 0; }
.container { width: 90%; max-width: 1200px; margin: auto; }

/* --- HERO SECTION --- */
.tc-hero { text-align: center; padding: 120px 0 60px; background: var(--navy); }
.tc-title { font-size: 52px; font-weight: 900; color: var(--white); margin: 0; letter-spacing: -2px; }
.tc-subtitle { color: var(--green); font-weight: 600; margin-top: 10px; font-size: 18px; }

/* --- PILL SEARCH ENGINE --- */
.tc-search-pill { margin-top: 40px; display: flex; justify-content: center; }
#tc-search-engine .pill-container {
    background: var(--white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
    padding: 5px 5px 5px 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
#tc-search-engine .pill-input-field {
    flex: 1; border: none !important; outline: none !important;
    background: transparent !important; font-size: 16px; color: #333;
}
#tc-search-engine .pill-submit-trigger {
    background: var(--green); color: var(--white); border: none;
    border-radius: 50px; padding: 12px 30px; font-weight: 800; cursor: pointer;
}

/* --- STATS BAR --- */
.tc-stats { background: var(--deep-navy); padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.stats-grid { display: flex; justify-content: space-around; }
.stat h3 { color: var(--white); font-size: 28px; margin: 0; }
.stat p { color: var(--green); font-size: 12px; text-transform: uppercase; margin: 5px 0 0; }

/* --- SCAN CARDS --- */
.tc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; padding: 40px 0; }
.tc-card { background: var(--deep-navy); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; }
.tc-card:hover { transform: translateY(-5px); border-color: var(--green); }
.tc-card-image img { width: 100%; height: 220px; object-fit: cover; }
.tc-card-content { padding: 20px; }
.tc-card-content h3 { color: var(--white); margin: 0 0 15px; font-size: 18px; }

/* MOBILE */
@media (max-width: 768px) {
    .tc-title {
        font-size: 28px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 15px;
    }
}
.tc-categories {
    padding: 80px 0;
    text-align: center;
    background: var(--navy);
}

.section-heading {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 10px;
}

.section-subheading {
    color: var(--green);
    margin-bottom: 40px;
    font-size: 16px;
}

.tc-category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.tc-category {
    background: var(--deep-navy);
    border: 1px solid rgba(95, 133, 117, 0.3); /* Subdued Green Border */
    padding: 15px 30px;
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tc-category:hover {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(95, 133, 117, 0.2);
}

.cat-icon {
    font-size: 18px;
}
/* --- LAYOUT RESET --- */
.tc-home section {
    width: 100%;
    clear: both;
}

/* --- STATS FIX --- */
.tc-stats .stats-grid {
    display: flex;
    justify-content: space-around;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- CATEGORIES FIX --- */
.tc-category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.tc-category {
    background: var(--deep-navy);
    border: 1px solid var(--green);
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.tc-category:hover {
    background: var(--green);
}
/* SCAN CARD ENHANCEMENTS */
.tc-card {
    position: relative;
    background: #0d1e32; /* Slightly lighter navy for depth */
    border: 1px solid rgba(255,255,255,0.05);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--green);
    color: white;
    font-size: 10px;
    font-weight: 900;
    padding: 5px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.card-meta {
    font-size: 11px;
    color: var(--green);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.tc-card-content p {
    font-size: 14px;
    color: #9fb3c8;
    line-height: 1.5;
    margin-bottom: 15px;
}
.card-rating {
    color: #ffb400;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
}

.tc-card-content h3 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 10px;
    min-height: 48px; /* Keeps cards aligned */
}

.tc-btn {
    width: 100%;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* --- TOMCAAT INTELLIGENCE TABLE --- */

/* 1. Container & Wrapper */
.tc-table-wrapper {
    margin: 40px 0;
    padding: 2px;
    background: linear-gradient(135deg, #1a2a3a 0%, #0d1e32 100%);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow-x: auto; /* Mobile responsive */
}

.tc-auto-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(13, 30, 50, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #e0e6ed;
    font-family: 'Inter', sans-serif;
    border-radius: 14px;
    overflow: hidden;
}

/* 2. Header Styling */
.tc-auto-table thead th {
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.5px;
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 3. Row & Cell Styling */
.tc-auto-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tc-auto-table tbody tr:hover {
    background: rgba(95, 133, 117, 0.1); /* Subtle green glow */
}

.tc-auto-table td {
    padding: 22px 20px;
    vertical-align: middle;
}

/* 4. Typography & Accents */
.tc-model-name strong {
    font-size: 17px;
    color: #ffffff;
    display: block;
}

.tc-feature-cell {
    font-size: 14px;
    color: #94a3b8;
}

/* Glowing Price Logic */
.tc-live-price {
    font-weight: 800;
    color: #00ff88; /* High-visibility green */
    font-size: 18px;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.tc-gated-price {
    font-size: 13px;
    color: #64748b;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* 5. The "Action" Button */
.tc-table-btn {
    display: inline-block;
    background: #5f8575;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tc-table-btn:hover {
    background: #00ff88;
    color: #0d1e32 !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.2);
}

/* 6. Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .tc-auto-table thead { display: none; }
    .tc-auto-table tr { display: block; padding: 20px; }
    .tc-auto-table td { display: block; padding: 10px 0; border: none; }
    .tc-price-cell { font-size: 22px; }
    .tc-table-btn { width: 100%; text-align: center; }
}
.tc-product-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tc-product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.tc-product-image {
    position: relative;
    text-align: center;
    padding: 15px;
}

.tc-product-image img {
    max-width: 100%;
    height: auto;
}

.tc-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4d4d;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 6px;
}

.tc-product-content {
    padding: 15px;
}

.tc-product-title {
    font-size: 16px;
    margin-bottom: 8px;
}

.tc-product-title a {
    text-decoration: none;
    color: #222;
}

.tc-best-for {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.tc-price-wrap {
    margin-bottom: 12px;
}

.tc-price {
    font-size: 18px;
    font-weight: bold;
}

.tc-price-discount {
    font-size: 18px;
    font-weight: bold;
    color: #27ae60;
}

.tc-price-old {
    font-size: 14px;
    color: #aaa;
    text-decoration: line-through;
    margin-left: 6px;
}

.tc-btn {
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.tc-btn:hover {
    background: #333;
}
.tc-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.tc-product-top {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tc-product-image img {
    max-width: 100%;
    border-radius: 10px;
}

.tc-product-info {
    flex: 1;
}

.tc-product-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.tc-best-for {
    color: #666;
    margin-bottom: 10px;
}

.tc-price-wrap {
    margin: 15px 0;
}

.tc-price,
.tc-price-discount {
    font-size: 24px;
    font-weight: bold;
}

.tc-price-discount {
    color: #27ae60;
}

.tc-price-old {
    margin-left: 10px;
    text-decoration: line-through;
    color: #aaa;
}

.tc-btn-large {
    display: inline-block;
    background: #111;
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
}

.tc-product-section {
    margin-bottom: 30px;
}

.tc-pros-cons {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.tc-pros, .tc-cons {
    flex: 1;
}

.tc-pros ul {
    color: #2ecc71;
}

.tc-cons ul {
    color: #e74c3c;
}

.tc-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.tc-specs-table td {
    border: 1px solid #eee;
    padding: 10px;
}
.tc-category-header {
    text-align: center;
    margin-bottom: 30px;
}

.tc-category-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.tc-category-header p {
    color: #666;
    max-width: 600px;
    margin: auto;
}

.tc-section {
    margin-bottom: 40px;
}

.tc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tc-pagination {
    margin-top: 20px;
    text-align: center;
}
.tc-bestof-header {
    text-align: center;
    margin-bottom: 30px;
}

.tc-table-wrap {
    overflow-x: auto;
}

.tc-compare-table {
    width: 100%;
    border-collapse: collapse;
}

.tc-compare-table th,
.tc-compare-table td {
    border: 1px solid #eee;
    padding: 10px;
}

.tc-bestof-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tc-bestof-left img {
    max-width: 200px;
}

.tc-bestof-right {
    flex: 1;
}

.tc-btn-small {
    background: #111;
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
}

.tc-btn {
    display: inline-block;
    margin-top: 10px;
}
.tc-compare-header {
    text-align: center;
    margin-bottom: 30px;
}

.tc-compare-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tc-compare-card {
    flex: 1;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.tc-winner {
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #111;
}

.tc-compare-table {
    width: 100%;
    border-collapse: collapse;
}

.tc-compare-table td {
    border: 1px solid #eee;
    padding: 10px;
}