/* Catalog Specific Styles */

.catalog-hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.catalog-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.catalog-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.catalog-nav {
    background: #f8fafc;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.catalog-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid #d1d5db;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    color: #6b7280;
}

.tab-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.tab-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.catalog-section {
    display: none;
    padding: 60px 0;
}

.catalog-section.active {
    display: block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.product-image {
    height: 200px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image::before {
    content: 'Изображение товара';
    position: absolute;
    color: #9ca3af;
    font-size: 14px;
}

.product-image img {
    position: relative;
    z-index: 1;
}

.product-info {
    padding: 25px;
}

.product-info h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
}

.product-info p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: #059669;
    margin-bottom: 20px;
}

.consumables-categories {
    display: grid;
    gap: 60px;
}

.consumable-category h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1f2937;
    text-align: center;
}

.consumables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.consumable-item {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    transition: transform 0.3s;
}

.consumable-item:hover {
    transform: translateY(-3px);
}

.consumable-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.consumable-item p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 15px;
}

.consumable-item .product-price {
    font-size: 16px;
    font-weight: 600;
    color: #059669;
}

.coming-soon {
    text-align: center;
    padding: 80px 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.coming-soon h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.coming-soon p {
    font-size: 16px;
    color: #6b7280;
}

/* Responsive Design for Catalog */
@media (max-width: 768px) {
    .catalog-title {
        font-size: 32px;
    }
    
    .catalog-subtitle {
        font-size: 16px;
    }
    
    .catalog-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .consumables-grid {
        grid-template-columns: 1fr;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .consumable-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .catalog-hero {
        padding: 100px 0 40px;
    }
    
    .catalog-title {
        font-size: 28px;
    }
    
    .catalog-section {
        padding: 40px 0;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .consumable-item {
        padding: 15px;
    }
}
