/* Сброс и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light-blue: #ecf0f1;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --gray: #95a5a6;
    --success: #27ae60;
    --warning: #f39c12;
    --gradient: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    --shadow: 0 8px 30px rgba(0,0,0,0.08);
    --radius: 12px;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Верхняя панель */
.top-bar {
    background: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-bar-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.top-bar-links a:hover {
    color: var(--secondary);
}

/* Основной хедер */
.main-header {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    background: var(--gradient);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.logo-text h1 {
    font-family: 'Source Code Pro', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.tagline {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 300;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a:hover, .main-nav a.active {
    background: var(--light-blue);
    color: var(--secondary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    display: flex;
    background: var(--light);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.search-box input {
    padding: 12px 20px;
    border: none;
    background: transparent;
    min-width: 250px;
    font-family: inherit;
}

.search-box button {
    padding: 12px 20px;
    background: var(--secondary);
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: var(--primary);
}

.cart {
    position: relative;
    font-size: 1.3rem;
    color: var(--dark);
    cursor: pointer;
    padding: 10px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.btn-login {
    background: var(--light);
    border: 1px solid #e0e0e0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

/* Герой секция */
.hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(52, 152, 219, 0.9) 100%),
    url('/static/images/science-bg.jpg') center/cover;
    color: white;
    padding: 80px 0;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: #4cd137;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(76, 209, 55, 0.3);
    z-index: -1;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 500px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    position: relative;
}

.science-animation {
    position: relative;
    width: 200px;
    height: 200px;
}

.molecule {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.molecule::before, .molecule::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.molecule::after {
    width: 15px;
    height: 15px;
    background: #4cd137;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

.wave {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: pulse 3s ease-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Основной контент */
.main-content {
    flex: 1;
    padding: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-blue);
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1rem;
    margin-top: 5px;
}

.view-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.view-btn {
    width: 44px;
    height: 44px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.view-btn.active, .view-btn:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.sort-select {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    background: white;
    font-family: inherit;
    font-size: 0.9rem;
    min-width: 180px;
}

/* Категории */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.category-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: var(--secondary);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--secondary);
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.category-card p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.category-count {
    display: inline-block;
    background: var(--light-blue);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Каталог товаров */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--light-blue);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.quick-view {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.product-card:hover .quick-view {
    opacity: 1;
    transform: translateY(0);
}

.quick-view:hover {
    background: white;
    color: var(--secondary);
}

.product-info {
    padding: 25px;
}

.product-category {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
    line-height: 1.4;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.product-specs span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--gray);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price .current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price .old-price {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    text-decoration: line-through;
}

.add-to-cart {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.add-to-cart:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

/* Особенности */
.features-section {
    background: white;
    border-radius: var(--radius);
    padding: 50px;
    margin-top: 60px;
    box-shadow: var(--shadow);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius);
    transition: all 0.3s;
}

.feature:hover {
    background: var(--light-blue);
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.feature p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Футер */
.main-footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--secondary);
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-section h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-list i {
    color: var(--secondary);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.logo-footer {
    max-width: 70%;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .hero-visual {
        order: -1;
        height: 200px;
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .search-box input {
        min-width: 200px;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-info span {
        margin-right: 10px;
        margin-bottom: 5px;
    }

    .top-bar-links a {
        margin: 0 10px;
    }

    .section-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .search-box {
        width: 100%;
    }

    .search-box input {
        min-width: auto;
        flex: 1;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }

    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .category-card,
    .product-card {
        padding: 20px;
    }
}

/* Хлебные крошки */
.breadcrumbs {
    background: var(--light);
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumbs a {
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
    color: var(--gray);
}

/* Заголовок категории */
.category-header {
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 30px;
}

.category-icon-large {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.category-title h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.category-description {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 15px;
    max-width: 800px;
}

.category-meta {
    display: flex;
    gap: 20px;
    color: var(--secondary);
    font-weight: 500;
}

.category-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Фильтры категории */
.category-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.filter-group {
    position: relative;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.filter-toggle:hover {
    background: var(--primary);
}

.filter-content {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 25px;
    min-width: 300px;
    z-index: 100;
    display: none;
}

.filter-group:hover .filter-content {
    display: block;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section h4 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1rem;
}

.price-range {
    margin-bottom: 15px;
}

.range-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary);
    cursor: pointer;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.price-inputs input {
    width: 120px;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    font-family: inherit;
    text-align: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--dark);
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--secondary);
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-reset {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--light);
    color: var(--dark);
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-reset:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

/* Пустая категория */
.empty-category {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.empty-category i {
    font-size: 4rem;
    color: var(--light-blue);
    margin-bottom: 30px;
    display: inline-block;
}

.empty-category h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.empty-category p {
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
    padding: 30px 0;
}

.page-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.page-btn:hover:not(:disabled) {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: white;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.page-number:hover {
    background: var(--light-blue);
}

.page-number.active {
    background: var(--secondary);
    color: white;
}

.page-dots {
    color: var(--gray);
    padding: 0 5px;
}

/* Адаптивность для страницы категории */
@media (max-width: 768px) {
    .category-title {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .category-filters {
        flex-direction: column;
        gap: 20px;
    }

    .filter-content {
        position: static;
        display: none;
        width: 100%;
    }

    .filter-group:hover .filter-content {
        display: none;
    }

    .filter-group.active .filter-content {
        display: block;
    }

    .pagination {
        flex-wrap: wrap;
    }
}