.page-hero {
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    text-align: center;
    margin-top: 80px;
}

.page-hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.catalogue-section {
    padding: 80px 20px;
}

.catalogue-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.filters {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 4px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.filter-group input {
    margin-right: 10px;
    cursor: pointer;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.products-count {
    font-size: 1.1rem;
    color: var(--text-light);
}

.sort-select {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 300px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-category {
    font-size: 0.85rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-name {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-view {
    flex: 1;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-view:hover {
    background: var(--secondary-color);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    padding: 20px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 4px;
    max-width: 1000px;
    width: 100%;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--secondary-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 60px;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.modal-image img {
    width: 100%;
    border-radius: 4px;
}

.modal-details h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-category {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.modal-price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.modal-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.modal-features {
    margin-bottom: 30px;
}

.modal-features h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-features ul {
    list-style: none;
    padding: 0;
}

.modal-features li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid #eee;
}

.modal-features li:last-child {
    border-bottom: none;
}

.modal-features i {
    color: var(--accent-color);
    margin-right: 10px;
}

.modal-actions {
    display: flex;
    gap: 15px;
}

.btn-add-cart {
    flex: 1;
    padding: 18px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .catalogue-layout {
        grid-template-columns: 1fr;
    }
    
    .filters {
        position: static;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .products-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    .modal-details h2 {
        font-size: 2rem;
    }
}
