/* Catalog Specific Styles */

.page-header {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Catalog Navigation */
.catalog-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.catalog-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 15px 0;
}

.catalog-tab {
    padding: 10px 20px;
    border-radius: 5px;
    background: var(--bg-light);
    color: var(--text-color);
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.catalog-tab:hover,
.catalog-tab.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Catalog Content */
.catalog-content {
    padding: 60px 0;
}

.catalog-category {
    margin-bottom: 80px;
}

.category-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.category-desc {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 18px;
}

.subcategory-title {
    font-size: 24px;
    margin: 40px 0 25px;
    color: var(--text-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

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

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.product-image {
    position: relative;
    height: 220px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

.badge-available {
    background: #28a745;
}

.badge-order {
    background: #ffc107;
    color: var(--text-color);
}

.badge-premium {
    background: var(--secondary-color);
    top: 45px;
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-color);
    min-height: 44px;
}

.product-link {
    color: var(--text-color);
    transition: color 0.3s ease;
}

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

.product-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
    min-height: 40px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.product-features span {
    font-size: 12px;
    padding: 4px 10px;
    background: var(--bg-light);
    border-radius: 15px;
    color: var(--text-color);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-order {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-order:hover {
    background: #ff7700;
    transform: scale(1.05);
}

/* Product Details Page */
.product-details {
    padding: 40px 0 80px;
}

.breadcrumbs {
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.product-gallery {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-info-block h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.product-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
}

.product-code {
    color: var(--text-light);
    font-size: 14px;
}

.product-price-block {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.product-price-large {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price-note {
    color: var(--text-light);
    font-size: 14px;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
    width: 100%;
}

.product-features-list {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
}

.product-features-list h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-features-list ul {
    list-style: none;
}

.product-features-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

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

.product-description {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 40px;
}

.product-description h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.product-description h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--text-color);
}

.product-description ul {
    list-style: disc;
    padding-left: 25px;
    margin: 15px 0;
}

.product-description li {
    margin: 8px 0;
    color: var(--text-color);
    line-height: 1.6;
}

.product-contact {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: var(--white);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
}

.product-contact h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.product-contact p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.contact-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    color: var(--white);
    transition: all 0.3s ease;
}

.contact-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.contact-option strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 28px;
    }

    .catalog-tabs {
        gap: 5px;
    }

    .catalog-tab {
        padding: 8px 15px;
        font-size: 14px;
    }

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

    .category-title {
        font-size: 24px;
    }

    .subcategory-title {
        font-size: 20px;
    }

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

    .product-info-block h1 {
        font-size: 24px;
    }

    .product-price-large {
        font-size: 28px;
    }

    .product-description {
        padding: 25px;
    }

    .product-description h2 {
        font-size: 22px;
    }

    .product-description h3 {
        font-size: 18px;
    }

    .product-contact {
        padding: 30px 20px;
    }

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