.patches-page {
    min-height: 100vh;
    background-color: #D9DD7C;
}

.patches-main {
    padding: 20px 40px 80px;
}

.patches-title {
    text-align: center;
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 40px;
    transition: color 0.2s ease;
    cursor: default;
}

.patches-title:hover {
    color: #9BDAE9;
}

/* Grid */
.patches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
}

.grid-img:hover {
    transform: scale(1.04);
    box-shadow: 0 0 20px 8px rgba(255,255,255,0.85);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.6);
    cursor: default;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    font-family: 'Cooper Black', serif;
    transition: color 0.15s;
}

.lightbox-close:hover {
    color: #D9DD7C;
}

@media (max-width: 600px) {
    .patches-main {
        padding: 10px 10px 60px;
    }
    .patches-title {
        font-size: 1.6rem;
        margin-bottom: 16px;
        white-space: nowrap;
    }
    .patches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}
