/* CSS Variables */
:root {
    --primary: #0066cc;
    --primary-dark: #0052a3;
    --primary-light: #e6f2ff;
    --secondary: #00a86b;
    --accent: #ff6b35;
    --dark: #1a1a2e;
    --gray-900: #212529;
    --gray-800: #343a40;
    --gray-700: #495057;
    --gray-600: #6c757d;
    --gray-500: #adb5bd;
    --gray-400: #ced4da;
    --gray-300: #dee2e6;
    --gray-200: #e9ecef;
    --gray-100: #f8f9fa;
    --white: #ffffff;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-800);
}

.btn-success {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-success:hover {
    background: #008c59;
    border-color: #008c59;
    color: var(--white);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo:hover {
    color: var(--primary);
}

.logo-icon {
    font-size: 1.75rem;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 50%, #e8f5e9 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* AC Visual Animation */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ac-visual {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.ac-unit {
    position: relative;
    width: 100%;
    padding-top: 40%;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-lg), inset 0 2px 0 rgba(255,255,255,0.8);
}

.ac-body {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    overflow: hidden;
}

.ac-body::before {
    content: '';
    position: absolute;
    top: 60%;
    left: 5%;
    right: 5%;
    bottom: 10%;
    background: repeating-linear-gradient(
        180deg,
        var(--gray-300) 0px,
        var(--gray-300) 2px,
        transparent 2px,
        transparent 8px
    );
    border-radius: 8px;
}

.ac-display {
    position: absolute;
    top: 20%;
    right: 10%;
    background: #001a33;
    color: #00ff88;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 1.25rem;
    font-weight: bold;
    box-shadow: inset 0 0 10px rgba(0, 255, 136, 0.3);
}

.cool-air {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.cool-air span {
    width: 40px;
    height: 60px;
    background: linear-gradient(180deg, rgba(0, 102, 204, 0.3) 0%, transparent 100%);
    border-radius: 0 0 20px 20px;
    animation: coolAir 2s ease-in-out infinite;
}

.cool-air span:nth-child(2) {
    animation-delay: 0.3s;
    height: 80px;
}

.cool-air span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes coolAir {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 0.8;
        transform: translateY(10px);
    }
}

/* Section Styling */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 48px;
}

/* Product Types */
.product-types {
    padding: 80px 0;
    background: var(--white);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.type-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.type-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.type-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.type-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.type-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.type-features {
    text-align: left;
    margin-bottom: 24px;
}

.type-features li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.type-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Quiz Section */
.quiz-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
}

.quiz-progress {
    margin-bottom: 32px;
}

.progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 20%;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.quiz-question {
    display: none;
}

.quiz-question.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quiz-question h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 24px;
    text-align: center;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.quiz-options.multi {
    grid-template-columns: repeat(2, 1fr);
}

.quiz-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.quiz-option:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.quiz-option.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.option-icon {
    font-size: 2rem;
}

.option-text {
    font-weight: 500;
    color: var(--gray-800);
    text-align: center;
}

.quiz-submit {
    margin-top: 24px;
    width: 100%;
}

.quiz-results {
    display: none;
    text-align: center;
}

.quiz-results.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.quiz-results h3 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.results-intro {
    color: var(--gray-600);
    margin-bottom: 32px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: var(--white);
}

.products-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--border-radius);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.filter-group select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-sm);
    background: var(--white);
    font-size: 0.875rem;
    color: var(--gray-800);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.view-toggle {
    margin-left: auto;
    display: flex;
    gap: 4px;
    background: var(--white);
    padding: 4px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gray-300);
}

.view-btn {
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: var(--gray-500);
    transition: var(--transition);
}

.view-btn:hover {
    color: var(--gray-700);
}

.view-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    padding-top: 75%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--gray-400);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
}

.product-badge.best-seller {
    background: var(--secondary);
}

.product-badge.energy-star {
    background: var(--primary);
}

.product-compare-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1rem;
}

.product-compare-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.product-compare-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.product-content {
    padding: 20px;
}

.product-brand {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.product-spec {
    font-size: 0.75rem;
    padding: 4px 8px;
    background: var(--gray-100);
    border-radius: 4px;
    color: var(--gray-700);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.stars {
    color: #ffc107;
    font-size: 0.875rem;
}

.rating-count {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.price-original {
    font-size: 1rem;
    color: var(--gray-500);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.product-actions .btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.875rem;
}

/* Products Table */
.products-table-container {
    overflow-x: auto;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.products-table th,
.products-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.products-table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
}

.products-table tbody tr {
    transition: var(--transition);
}

.products-table tbody tr:hover {
    background: var(--gray-50);
}

.table-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-product-image {
    width: 60px;
    height: 60px;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.table-product-name {
    font-weight: 600;
    color: var(--dark);
}

.table-product-brand {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.energy-stars {
    color: var(--secondary);
}

.products-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-600);
}

.hidden {
    display: none !important;
}

/* Compare Section */
.compare-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.compare-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.compare-slot {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 2px dashed var(--gray-300);
    min-height: 200px;
}

.compare-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius-sm);
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.compare-product {
    text-align: center;
}

.compare-product-image {
    font-size: 3rem;
    margin-bottom: 12px;
}

.compare-product-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.compare-product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.compare-table-container {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.compare-table th {
    background: var(--gray-800);
    color: var(--white);
    font-weight: 600;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    background: var(--gray-100);
    font-weight: 500;
}

.compare-table tbody tr:hover {
    background: var(--gray-50);
}

.compare-check {
    color: var(--secondary);
    font-size: 1.25rem;
}

.compare-cross {
    color: var(--gray-400);
    font-size: 1.25rem;
}

/* Guide Section */
.guide-section {
    padding: 80px 0;
    background: var(--white);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.guide-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
}

.guide-card:hover {
    box-shadow: var(--shadow);
}

.guide-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.guide-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.guide-card p {
    color: var(--gray-600);
    margin-bottom: 12px;
}

.guide-card ul {
    margin-left: 0;
}

.guide-card li {
    padding: 6px 0;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

/* Brands Section */
.brands-section {
    padding: 60px 0;
    background: var(--gray-100);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.brand-item {
    background: var(--white);
    border-radius: var(--border-radius-sm);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.brand-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.brand-name {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.brand-origin {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* SEO Section */
.seo-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.seo-section h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 32px;
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
}

.seo-content p {
    margin-bottom: 20px;
    color: var(--gray-700);
    line-height: 1.8;
}

.seo-content h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-top: 32px;
    margin-bottom: 16px;
}

.seo-content ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.seo-content li {
    margin-bottom: 8px;
    color: var(--gray-700);
    list-style: disc;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.footer-col p {
    line-height: 1.7;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--gray-400);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 30px;
    text-align: center;
    font-size: 0.875rem;
}

.affiliate-disclosure {
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .ac-visual {
        max-width: 300px;
    }

    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .compare-selector {
        grid-template-columns: 1fr;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-top: 1px solid var(--gray-200);
        box-shadow: var(--shadow);
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .types-grid {
        grid-template-columns: 1fr;
    }

    .quiz-options {
        grid-template-columns: 1fr;
    }

    .products-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        justify-content: space-between;
    }

    .filter-group select {
        flex: 1;
    }

    .view-toggle {
        margin-left: 0;
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .quiz-container {
        padding: 24px;
    }

    .quiz-question h3 {
        font-size: 1.25rem;
    }

    .quiz-option {
        padding: 16px;
    }

    .option-icon {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero,
    .quiz-section,
    .compare-section,
    .footer {
        display: none;
    }

    .products-section {
        padding: 20px 0;
    }

    .product-card {
        break-inside: avoid;
    }
}
