.gallery-header {
    text-align: center;
    padding: 60px 20px 35px;
}

.gallery-header h1 {
    color: #0f1f4d;
    font-size: 40px;
    margin-bottom: 12px;
}

.gallery-header p {
    color: #666;
    max-width: 600px;
    margin: auto;
}


.gallery-container {
    width: 90%;
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

    padding-bottom: 70px;
}


.style-card {
    background: white;

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.1);

    text-decoration: none;

    color: inherit;

    transition: 0.3s;
}


.style-card:hover {
    transform: translateY(-5px);
}


.style-card img {
    width: 100%;

    height: 380px;

    object-fit: cover;

    display: block;
}


.style-info {
    padding: 18px;
}


.style-info h3 {
    color: #0f1f4d;

    margin-bottom: 5px;
}


.style-info p {
    color: #777;

    margin: 0;
}


.back-collection {
    display: block;

    width: 90%;
    max-width: 1200px;

    margin: 20px auto 0;

    color: #0f1f4d;

    text-decoration: none;

    font-weight: bold;
}


@media (max-width: 900px) {

    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .gallery-container {
        grid-template-columns: 1fr;
    }

}