﻿.catalog-page {
    padding: 24px 28px 32px;
    width: 100%;
    box-sizing: border-box;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e2330;
    margin: 0 0 6px;
    text-align: center;
}

.catalog-divider {
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, #17a5df, #e3008c);
    margin: 0 auto 24px;
    border-radius: 4px;
}

.album-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 220px));
    gap: 20px;
    justify-content: center;
    padding: 0;
}

.album-card {
    width: 220px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(20, 28, 50, 0.09);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    border: 1px solid #eaeff8;
}

.album-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(20, 28, 50, 0.15);
}

.album-cover {
    height: 200px;
    overflow: hidden;
    background: #f3f5f9;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.album-card:hover .album-cover img {
    transform: scale(1.04);
}

.album-title {
    padding: 10px 12px 12px;
    text-align: center;
}

.album-title h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e2330;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .catalog-page {
        padding: 16px;
    }

    .album-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .album-card {
        width: 100%;
    }

    .album-cover {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .album-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .album-cover {
        height: 140px;
    }
}
