/* ============================================================
   AIHVDC.com - 800V HVDC Power for AI Data Centers
   Main Stylesheet | Electric Teal + Deep Navy
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --color-primary: #0a3d62;
    --color-primary-light: #1e5f8a;
    --color-primary-dark: #051f33;
    --color-accent: #00d9a0;
    --color-accent-light: #4de8c0;
    --color-accent-dark: #00b386;
    --color-bg: #f0f4f8;
    --color-bg-dark: #e2e8f0;
    --color-surface: #ffffff;
    --color-text: #1a202c;
    --color-text-light: #4a5568;
    --color-text-lighter: #718096;
    --color-border: #cbd5e0;
    --color-success: #38a169;
    --color-warning: #d69e2e;
    --color-error: #e53e3e;
    --gradient-primary: linear-gradient(135deg, #0a3d62 0%, #1e5f8a 50%, #00d9a0 100%);
    --gradient-accent: linear-gradient(135deg, #00d9a0 0%, #00b386 100%);
    --gradient-dark: linear-gradient(180deg, #051f33 0%, #0a3d62 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --font-sans: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Consolas', 'Monaco', monospace;
    --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

ul, ol { list-style-position: inside; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary-dark);
    margin-bottom: 0.5em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

/* --- Page Header (breadcrumbs) --- */
.page-header {
    background: var(--gradient-dark);
    color: white;
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 217, 160, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header h1 { color: white; margin-bottom: 0.5rem; }

.page-header .breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.75rem;
}

.page-header .breadcrumb a { color: var(--color-accent); }

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 0;
}

/* --- Header & Navigation --- */
.site-header {
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.site-logo::before {
    content: "⚡";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 8px;
    font-size: 1.1rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
}

.main-nav a.active::after,
.main-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.lang-switcher {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.lang-switcher a {
    padding: 0.3rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid var(--color-border);
    color: var(--color-text-light);
}

.lang-switcher a.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.lang-switcher a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.lang-switcher a.active:hover {
    color: white;
}

/* --- Mobile Menu Toggle --- */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary);
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    position: relative;
    z-index: 1002;
    line-height: 1;
}

/* --- Mobile Language Switch (inside hamburger menu) --- */
.mobile-lang-switch {
    display: none;
}

/* --- Hero Section --- */
.hero {
    background: var(--gradient-dark);
    color: white;
    padding: 5.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 160, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 217, 160, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.75rem;
    color: white;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #00d9a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #051f33;
    box-shadow: 0 4px 15px rgba(0, 217, 160, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 160, 0.4);
    color: #051f33;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(0, 217, 160, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* --- Section Styling --- */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: white;
}

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

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-header p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* --- Category Grid (4 main categories) --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
}

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

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.category-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.category-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.category-subitems {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-subtag {
    padding: 0.2rem 0.6rem;
    background: var(--color-bg);
    color: var(--color-primary);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* --- Brand Grid --- */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
}

.brand-item {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    display: block;
}

.brand-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.brand-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
}

.brand-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.brand-country {
    font-size: 0.8rem;
    color: var(--color-text-lighter);
    margin-top: 0.25rem;
}

/* --- Product Cards --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-card-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    position: relative;
}

.product-card-header .brand-label {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.product-card-header h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.3;
}

.tech-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
    backdrop-filter: blur(10px);
    color: white;
}

.product-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-specs {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.product-specs li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.product-specs li:last-child { border-bottom: none; }

.product-specs .spec-label {
    color: var(--color-text-light);
}

.product-specs .spec-value {
    font-weight: 600;
    color: var(--color-text);
}

.product-card-actions {
    display: flex;
    gap: 0.5rem;
}

.product-card-actions .btn { flex: 1; }

/* --- Filter Sidebar --- */
.filter-bar {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.filter-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 217, 160, 0.1);
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
}

.results-count {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

/* --- Product Detail --- */
.product-detail {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.product-hero {
    background: var(--gradient-dark);
    color: white;
    padding: 3rem;
}

.product-hero .breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.product-hero .breadcrumb a { color: var(--color-accent); }

.product-hero h1 { color: white; margin-bottom: 0.5rem; }

.product-hero .product-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.product-hero-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-hero-badges .tech-badge {
    background: rgba(0, 217, 160, 0.2);
}

.product-detail-body {
    padding: 2rem 3rem;
}

.product-section {
    margin-bottom: 2.5rem;
}

.product-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-border);
}

.product-section ul {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.product-section li {
    margin-bottom: 0.5rem;
}

/* --- Spec Table --- */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.spec-table th {
    background: var(--color-bg);
    font-weight: 600;
    color: var(--color-primary);
    width: 250px;
}

.spec-table tr:hover { background: var(--color-bg); }

/* --- Compare Table --- */
.compare-section {
    overflow-x: auto;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.compare-table th,
.compare-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    background: var(--color-bg);
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 200px;
}

.compare-table th {
    background: var(--color-primary);
    color: white;
    font-size: 1rem;
}

.compare-table th:first-child {
    background: var(--color-primary-dark);
}

.compare-table tr:hover { background: rgba(0, 217, 160, 0.03); }

.compare-table .diff-row {
    background: rgba(255, 193, 7, 0.1);
}

.compare-table .diff-row:hover {
    background: rgba(255, 193, 7, 0.15);
}

.compare-product-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.compare-product-brand {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: normal;
}

.compare-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-text-light);
}

.compare-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* --- Manufacturer Cards --- */
.mfr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.mfr-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    gap: 1.5rem;
}

.mfr-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--color-accent);
}

.mfr-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 900;
    flex-shrink: 0;
}

.mfr-info { flex: 1; }

.mfr-info h3 {
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    font-size: 1.15rem;
}

.mfr-country {
    font-size: 0.85rem;
    color: var(--color-text-lighter);
    margin-bottom: 0.5rem;
}

.mfr-tech-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.mfr-tech-tag {
    padding: 0.15rem 0.5rem;
    background: var(--color-bg);
    color: var(--color-primary);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.mfr-info p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Manufacturer Detail --- */
.mfr-detail-hero {
    background: var(--gradient-dark);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.mfr-detail-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 217, 160, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.mfr-detail-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.mfr-detail-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: var(--shadow-xl);
}

.mfr-detail-info h1 { color: white; margin-bottom: 0.5rem; }
.mfr-detail-info .tagline { font-size: 1.1rem; opacity: 0.9; margin-bottom: 1rem; }

.mfr-detail-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.mfr-detail-stat {
    text-align: center;
}

.mfr-detail-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-accent);
}

.mfr-detail-stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.mfr-detail-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 20px;
}

/* --- Guides --- */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.guide-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    display: block;
}

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

.guide-card-header {
    background: var(--gradient-accent);
    padding: 2rem 1.5rem;
    color: var(--color-primary-dark);
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.guide-card-icon {
    font-size: 2.5rem;
}

.guide-card-body {
    padding: 1.5rem;
}

.guide-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-accent-dark);
    margin-bottom: 0.5rem;
}

.guide-card h3 {
    font-size: 1.1rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.guide-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guide-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-text-lighter);
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
}

/* --- Guide Detail --- */
.guide-detail {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.guide-detail .guide-category {
    margin-bottom: 1rem;
}

.guide-detail h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.guide-detail .guide-meta {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.guide-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.guide-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}

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

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

.guide-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.guide-content th,
.guide-content td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.guide-content th {
    background: var(--color-bg);
    font-weight: 600;
    color: var(--color-primary);
}

/* --- News Section --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.news-card-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
}

.news-category {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(0, 217, 160, 0.3);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.news-card-header h3 {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.news-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-body p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    flex: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-text-lighter);
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
}

.news-source {
    font-weight: 600;
    color: var(--color-primary);
}

/* --- News Detail --- */
.news-detail {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.news-detail .news-category {
    margin-bottom: 1rem;
    background: var(--color-bg);
    color: var(--color-primary);
}

.news-detail h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.news-detail-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--color-text-lighter);
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.news-detail-meta a {
    color: var(--color-primary);
    font-weight: 500;
}

.news-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.news-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}

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

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

/* --- About & Contact --- */
.about-section,
.contact-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin: 0 auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info-item {
    padding: 1.5rem;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    text-align: center;
}

.contact-info-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-info-item h4 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h4 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.footer-brand .site-logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    padding-left: 20px;
    padding-right: 20px;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* --- Compare Floating Bar --- */
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 1rem 20px;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.compare-bar.visible {
    transform: translateY(0);
}

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

.compare-bar-items {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.compare-bar-item {
    background: var(--color-bg);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.compare-bar-item .remove {
    cursor: pointer;
    color: var(--color-text-lighter);
    font-weight: bold;
}

.compare-bar-item .remove:hover {
    color: var(--color-error);
}

/* --- Responsive --- */
@media (max-width: 968px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    
    .hero h1 { font-size: 2rem; }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-md);
        padding: 1rem 20px;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .main-nav.open { display: block; }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid var(--color-border);
    }
    
    .main-nav li:last-child { border-bottom: none; }
    
    .main-nav a {
        display: block;
        padding: 0.75rem 0;
    }
    
    .mobile-toggle { display: block; }
    
    .lang-switcher { display: none; }
    
    .mobile-lang-switch {
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--color-border);
        margin-top: 0.5rem;
    }
    
    .mobile-lang-switch .mobile-lang-label {
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--color-text-lighter);
    }
    
    .mobile-lang-switch .mobile-lang-links {
        display: flex;
        gap: 0.4rem;
    }
    
    .mobile-lang-switch a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        font-weight: 600;
        border-radius: var(--radius-sm);
        border: 2px solid var(--color-border);
        color: var(--color-text-light);
    }
    
    .mobile-lang-switch a.active {
        background: var(--gradient-primary);
        color: white;
        border-color: transparent;
    }
    
    .mobile-lang-switch a:hover {
        border-color: var(--color-primary);
        color: var(--color-primary);
    }
    
    .mobile-lang-switch a.active:hover {
        color: white;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .mfr-detail-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .mfr-detail-stats {
        justify-content: center;
    }
    
    .product-detail-body {
        padding: 1.5rem;
    }
    
    .product-hero {
        padding: 2rem 1.5rem;
    }
    
    .guide-detail, .news-detail {
        padding: 2rem 1.5rem;
    }
    
    .about-section,
    .contact-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .hero { padding: 4rem 0 3rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero p { font-size: 1rem; }
    .hero-stats { gap: 1.5rem; }
    .hero-stat-value { font-size: 1.75rem; }
    
    .section { padding: 2.5rem 0; }
    
    .product-grid,
    .mfr-grid,
    .guide-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-row {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .mfr-card {
        flex-direction: column;
        text-align: center;
    }
    
    .mfr-logo { margin: 0 auto; }
    
    .compare-bar-inner {
        flex-direction: column;
        align-items: stretch;
    }
}


/* ============================================================
   GUIDES PAGE STYLING
   ============================================================ */
.page-header-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a5f 50%, var(--primary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.page-header-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}
.page-header-gradient h1,
.page-header-gradient p,
.page-header-gradient .breadcrumb a {
    color: white !important;
    position: relative;
    z-index: 1;
}
.page-header-gradient .breadcrumb {
    color: rgba(255,255,255,0.7);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.guide-grid-full {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.guide-card {
    display: block;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,30,80,0.12);
    border-color: var(--primary-color);
}
.guide-card:hover::before {
    transform: scaleX(1);
}
.guide-card-lg {
    padding: 2rem;
}
.guide-card-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.guide-card h3 {
    font-size: 1.15rem;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}
.guide-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}
.guide-card-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.guide-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.guide-cat-chip {
    padding: 0.4rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}
.guide-cat-chip:hover,
.guide-cat-chip.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Guide detail page */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-color);
    z-index: 1002;
}
.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 0%;
    transition: width 0.1s linear;
}

.guide-article {
    max-width: 900px;
    margin: 0 auto;
}
.guide-article-header {
    text-align: center;
    margin-bottom: 3rem;
}
.guide-article-header h1 {
    font-size: 2.25rem;
    margin: 1rem 0;
    color: var(--text-primary);
    line-height: 1.25;
}
.guide-article-header .tag {
    font-size: 0.85rem;
}
.article-detail-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 1rem 0;
}
.article-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 1.5rem auto 0;
    font-style: italic;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--primary-color);
    background: rgba(0,80,180,0.03);
    text-align: left;
}

.guide-article-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 900px) {
    .guide-article-layout {
        grid-template-columns: 1fr;
    }
    .guide-toc {
        position: static !important;
    }
}

.guide-toc {
    position: sticky;
    top: 80px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
}
.guide-toc h4 {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}
.guide-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.guide-toc li {
    margin: 0.35rem 0;
}
.guide-toc a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    display: block;
    padding: 0.25rem 0;
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
    transition: all 0.2s;
}
.guide-toc a:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.guide-content .article-body h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    scroll-margin-top: 80px;
}
.guide-content .article-body h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}
.guide-content .article-body p {
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 1rem 0;
}
.guide-content .article-body ul,
.guide-content .article-body ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.guide-content .article-body li {
    margin: 0.5rem 0;
}
.guide-content .article-body strong {
    color: var(--text-primary);
}
.guide-content .article-body code {
    background: var(--code-bg, #f0f2f5);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}
.guide-content .article-body pre {
    background: #1a2332;
    color: #e0e7ff;
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
    font-size: 0.85rem;
    line-height: 1.6;
}
.guide-content .article-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(0,80,180,0.05);
    color: var(--text-secondary);
    font-style: italic;
}

/* ============================================================
   NEWS CARDS WITH IMAGES
   ============================================================ */
.news-item.has-image {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
    align-items: start;
}
@media (max-width: 600px) {
    .news-item.has-image {
        grid-template-columns: 1fr;
    }
}

.news-image {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--card-bg);
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-featured-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    max-height: 400px;
}
.news-featured-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.news-list-full {
    max-width: 900px;
    margin: 0 auto;
}

.news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}
.news-cat-chip {
    padding: 0.4rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}
.news-cat-chip:hover,
.news-cat-chip.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.news-article {
    max-width: 800px;
    margin: 0 auto;
}
.news-article-header h1 {
    font-size: 2rem;
    margin: 1rem 0;
    line-height: 1.3;
}
.news-article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}
.news-article-content h2 {
    color: var(--text-primary);
    margin-top: 2rem;
}
.news-article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* ============================================================
   FORMS
   ============================================================ */
.contact-form, .vendor-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--input-bg, white);
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,80,180,0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.success-box, .error-box {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.success-box {
    border-color: #10b981;
    background: rgba(16,185,129,0.05);
}
.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.success-box h3 {
    margin: 0 0 0.5rem;
    color: #10b981;
}
.error-box {
    border-color: #ef4444;
    background: rgba(239,68,68,0.05);
    margin-bottom: 1.5rem;
    color: #ef4444;
}

.antispam-group {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.page-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.page-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.page-ellipsis {
    color: var(--text-muted);
    padding: 0 0.25rem;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}
.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}
.empty-state h3 {
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}
.empty-state p {
    color: var(--text-secondary);
    margin: 0 0 1.5rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-content h2 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.about-content p {
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0.75rem 0;
}
.about-content ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.about-content li {
    margin: 0.5rem 0;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error404 {
    text-align: center;
    padding: 5rem 2rem;
}
.error404-code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.2;
}
.error404 h1 {
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}
.error404 p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ============================================================
   FILTER BAR IMPROVEMENTS
   ============================================================ */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    align-items: flex-end;
}
.filter-group {
    flex: 1;
    min-width: 150px;
}
.filter-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}
.filter-group select,
.filter-group input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    background: var(--input-bg, white);
    color: var(--text-primary);
}
.search-input {
    width: 100%;
}

/* ============================================================
   MANUFACTURER DETAIL
   ============================================================ */
.manufacturer-detail-header h1 {
    font-size: 2rem;
    margin: 0 0 0.5rem;
}
.manufacturer-detail-header .tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0 0 1rem;
}
.manufacturer-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.manufacturer-description {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.manufacturer-description h2 {
    margin-top: 0;
}
.manufacturer-description p {
    line-height: 1.7;
    color: var(--text-secondary);
}
.manufacturer-products h2 {
    margin-bottom: 1.5rem;
}
