/* Zero Bloatware CSS */
:root {
    --primary-color: #0056b3;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --amazon-color: #FF9900;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

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

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}
.main-nav a {
    text-decoration: none;
    color: var(--text-color);
}

/* Hero */
.hero {
    text-align: center;
    padding: 60px 0;
    background: #fff;
}
.search-compare-box {
    margin-top: 30px;
    background: #f1f1f1;
    padding: 30px;
    border-radius: 8px;
    display: inline-block;
}
.live-search {
    width: 300px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.quick-compare {
    margin-top: 15px;
}
.quick-compare select {
    padding: 10px;
    margin: 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}
.btn-primary {
    background: var(--primary-color);
    color: #fff;
}
.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    margin-top: 10px;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 40px 0;
    background: #fff;
    margin-top: 40px;
    border-top: 1px solid #eee;
}
.affiliate-disclosure {
    font-size: 0.9em;
    color: #666;
}

/* Grids */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Tables & Comparison */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}
.specs-table th, .specs-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.specs-table th {
    background: #f8f9fa;
    font-weight: bold;
    width: 30%;
}
.compare-table th {
    background: #fff;
}
.compare-table .section-header {
    background: #f1f1f1;
    text-align: center;
    font-size: 1.1em;
    color: #555;
}
.compare-table td {
    text-align: center;
}
.spec-winner {
    background-color: #e8f5e9;
    color: #2e7d32;
    font-weight: bold;
    position: relative;
}
.spec-winner::after {
    content: "✓";
    position: absolute;
    right: 10px;
    color: #4caf50;
}

/* Amazon Button */
.btn-amazon {
    background: var(--amazon-color);
    color: #111;
}
.btn-small {
    padding: 6px 12px;
    font-size: 0.9em;
}

/* Sticky Box */
.sticky-buy-box {
    display: flex;
    justify-content: space-between;
    background: white;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-radius: 8px;
    margin-bottom: 20px;
}
