/* ============================================
   Aufaster V2 - Elite Industrial Design
   Inspired by: Dracula + Nord + Industrial Metal
   ============================================ */

/* CSS Variables - Industrial Dark Theme */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-card-hover: #1a1a1a;
    
    --accent: #c9a227;
    --accent-light: #e6bc3a;
    --accent-glow: rgba(201, 162, 39, 0.3);
    
    --steel-blue: #4a90d9;
    --steel-blue-muted: rgba(74, 144, 217, 0.2);
    
    --text: #f5f5f5;
    --text-muted: #888888;
    --text-dim: #555555;
    
    --border: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(201, 162, 39, 0.3);
    
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 16px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    
    --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Grotesk', 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.6;
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Multi-layer Background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(201, 162, 39, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(74, 144, 217, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.01) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-mono);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { font-size: 56px; }
h2 { font-size: clamp(32px, 5vw, 48px); }
h3 { font-size: clamp(20px, 3vw, 28px); }

/* ============================================
   Header - Minimal Dark
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--bg-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 0 20px var(--accent-glow);
}

.logo-text {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.05em;
}

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

.nav-link {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition-fast);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

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

.lang-switch select {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    font-family: var(--font-sans);
    transition: var(--transition-fast);
}

.lang-switch select:hover {
    border-color: var(--accent);
}

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

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

/* ============================================
   Hero Section - Dramatic
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 50%, rgba(201, 162, 39, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 100% 80%, rgba(74, 144, 217, 0.06) 0%, transparent 40%);
    animation: heroGlow 15s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 100%;
    margin-bottom: 60px;
}

.hero-title {
    color: var(--text);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards;
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 0.15s forwards;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 0.3s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background: var(--accent-light);
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 0.45s forwards;
}

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

.stat-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 8px;
}

/* ============================================
   Products Section - Bento Grid
   ============================================ */
.products {
    padding: 60px 0 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--steel-blue-muted);
    color: var(--steel-blue);
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.section-title {
    color: var(--text);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 700px;
}

/* Homepage Products Grid - Bento Grid Layout */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(240px, auto);
    gap: 24px;
    margin-top: 48px;
}

/* Make first product larger (span 2x2) */
.products-grid .product-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

/* Make every 5th product span 2 columns */
.products-grid .product-card:nth-child(5) {
    grid-column: span 2;
}

.products-grid .product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeSlideUp 0.6s ease forwards;
}

/* Staggered entrance animation */
.products-grid .product-card:nth-child(1) { animation-delay: 0.1s; }
.products-grid .product-card:nth-child(2) { animation-delay: 0.15s; }
.products-grid .product-card:nth-child(3) { animation-delay: 0.2s; }
.products-grid .product-card:nth-child(4) { animation-delay: 0.25s; }
.products-grid .product-card:nth-child(5) { animation-delay: 0.3s; }
.products-grid .product-card:nth-child(6) { animation-delay: 0.35s; }
.products-grid .product-card:nth-child(7) { animation-delay: 0.4s; }
.products-grid .product-card:nth-child(8) { animation-delay: 0.45s; }
.products-grid .product-card:nth-child(9) { animation-delay: 0.5s; }
.products-grid .product-card:nth-child(10) { animation-delay: 0.55s; }
.products-grid .product-card:nth-child(11) { animation-delay: 0.6s; }
.products-grid .product-card:nth-child(12) { animation-delay: 0.65s; }
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.product-card:hover::before {
    opacity: 1;
}

.product-img {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-img img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-name {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.product-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-feature:hover {
    border-color: var(--accent);
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
    font-size: 14px;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-img-main {
    height: 320px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.about-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-img-small {
    height: 150px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.img-placeholder {
    font-size: 64px;
    opacity: 0.3;
}

/* ============================================
   Quality Section
   ============================================ */
.quality {
    padding: 100px 0;
    position: relative;
}

.quality::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.quality-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.quality-card:hover {
    border-color: var(--steel-blue);
    background: var(--bg-card-hover);
}

.quality-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.quality-title {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.quality-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--accent);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-details p {
    color: var(--text);
    font-weight: 500;
}

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--font-sans);
    color: var(--text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
    transition: var(--transition);
    background: var(--bg-secondary);
    padding: 0 4px;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    font-size: 11px;
    color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-primary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
}

.footer-logo .logo-text {
    color: var(--text);
    font-size: 16px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.footer-title {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    /* Homepage Products Grid */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Product Category Pages - maintain auto-fill */
    .product-list .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav.active {
        display: flex;
    }

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

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

    /* Homepage Products Grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Product Category Pages */
    .product-list .products-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }
}

/* ============================================
   Product Detail Page Styles
   ============================================ */
.product-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.product-hero h1 {
    color: var(--text);
    margin-bottom: 12px;
}

.product-hero p {
    font-size: 18px;
    color: var(--text-muted);
}

.product-list {
    padding: 60px 0;
}

.product-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.product-detail-card:hover {
    border-color: var(--accent);
}

.product-detail-img {
    font-size: 48px;
    margin-bottom: 12px;
}

.product-detail-card h3 {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.product-detail-card .spec {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.product-detail-img img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* ============================================
   Product Category Pages
   ============================================ */
/* Product list pages use auto-fill grid */
.product-list .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    margin: 40px 0;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.product-card-link .product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    opacity: 1;  /* Override homepage animation */
    animation: none;  /* Override homepage animation */
}

.product-card-link .product-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.product-image {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 0 8px;
}

.product-info h3 {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.product-standard {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 6px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-fast);
}

.pagination a {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}

.pagination a:hover {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

.pagination .current {
    background: var(--accent);
    color: var(--bg-primary);
    border: 1px solid var(--accent);
}

.pagination .disabled {
    color: var(--text-dim);
    cursor: not-allowed;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

/* ============================================
   Product Filter Bar
   ============================================ */
.product-filter-bar {
    padding: 16px 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 70px;
    z-index: 100;
}
.filter-bar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.product-search-input {
    flex: 1;
    min-width: 200px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}
.product-search-input:focus {
    outline: none;
    border-color: var(--primary);
}
.product-sort-select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
}
select option {
    background: var(--bg-card);
    color: var(--text);
}
.product-count {
    font-size: 13px;
    color: var(--text-dim);
    white-space: nowrap;
}
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
    font-size: 16px;
}
