.page-hero {
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.catalogue-section {
    padding: 4rem 0;
}

.catalogue-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.filters {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.filter-group label {
    display: block;
    margin-bottom: 0.8rem;
    cursor: pointer;
    color: var(--text-color);
}

.filter-group input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.results-count {
    font-weight: 500;
    color: var(--text-light);
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--bg-light);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin: 0.5rem 0;
    color: var(--primary-color);
}

.product-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.btn-view {
    flex: 1;
    padding: 0.8rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-view:hover {
    background: var(--accent-color);
}

.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: 2rem;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 1000px;
    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;
    background: var(--white);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.modal-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

.modal-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.modal-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.modal-features,
.modal-specs {
    margin-bottom: 2rem;
}

.modal-features h4,
.modal-specs h4 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-features ul,
.modal-specs ul {
    list-style: none;
}

.modal-features li,
.modal-specs li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color);
}

.modal-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.modal-specs li::before {
    content: '\f111';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 0.5rem;
    top: 1rem;
}

.btn-add-cart {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

@media (max-width: 968px) {
    .catalogue-layout {
        grid-template-columns: 1fr;
    }

    .filters {
        position: static;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image img {
        height: 300px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 640px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .products-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .modal {
        padding: 1rem;
    }

    .modal-body {
        padding: 2rem 1.5rem;
    }
}