.page-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.catalogue-section {
    padding: 80px 0;
}

.catalogue-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}

.filters {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.filters h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.filter-group {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e0e0e0;
}

.filter-group:last-of-type {
    border-bottom: none;
}

.filter-group h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

.filter-group label:hover {
    color: var(--primary-color);
}

.filter-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.btn-reset {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-reset:hover {
    background: var(--primary-color);
    color: var(--white);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.products-count {
    font-size: 15px;
    color: var(--text-light);
}

.products-count span {
    font-weight: 600;
    color: var(--primary-color);
}

.sort-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: var(--white);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.sort-select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    cursor: pointer;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    margin-bottom: 20px;
    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-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-info h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.product-collection {
    font-size: 13px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.product-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-color);
    font-family: 'Cormorant Garamond', serif;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
    padding: 40px 20px;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    max-width: 1100px;
    width: 100%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image {
    height: 600px;
    background: var(--bg-light);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 60px 50px;
}

.modal-info h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.modal-collection {
    font-size: 14px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.modal-price {
    font-size: 32px;
    font-weight: 600;
    color: var(--accent-color);
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 30px;
}

.modal-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-features {
    margin-bottom: 40px;
}

.modal-features h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.modal-features ul {
    list-style: none;
}

.modal-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-features li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
}

.btn-add-cart {
    width: 100%;
    padding: 18px;
    font-size: 15px;
}

@media (max-width: 1024px) {
    .catalogue-layout {
        grid-template-columns: 1fr;
    }
    
    .filters {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .filter-group {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    
    .btn-reset {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 38px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .products-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-image {
        height: 400px;
    }
    
    .modal-info {
        padding: 40px 30px;
    }
    
    .filters {
        grid-template-columns: 1fr;
    }
}
