.catalog-hero {
    background: linear-gradient(135deg, var(--primary-color), #2a2a2a);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.catalog-hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--white);
}

.catalog-hero p {
    font-size: 20px;
    opacity: 0.9;
}

.catalog-section {
    padding: 60px 0 100px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.filters {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.filters h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 15px;
}

.filter-group input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.btn-reset {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-reset:hover {
    background: var(--secondary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    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.12);
}

.product-image {
    width: 100%;
    height: 280px;
    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.1);
}

.product-info {
    padding: 25px;
}

.product-category {
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-name {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', 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);
    border-radius: 20px;
    max-width: 900px;
    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;
    border: none;
    background: var(--primary-color);
    color: var(--white);
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--secondary-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.modal-image {
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-light);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.modal-category {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
}

.modal-price {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.modal-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.modal-features {
    margin-bottom: 30px;
}

.modal-features h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.modal-features ul {
    list-style: none;
}

.modal-features li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.modal-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.modal-actions {
    display: flex;
    gap: 15px;
}

.btn-add-cart {
    flex: 1;
    padding: 16px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--secondary-color);
}

@media (max-width: 968px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .filters {
        position: static;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .catalog-hero h1 {
        font-size: 36px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}