/* =========================================================
   COLLECTION BLOCK
========================================================= */

.collection-block {
    position: relative;
    padding: 80px 24px;
}

.collection-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

.collection-header {
    text-align: center;
    margin-bottom: 48px;
}

.collection-header h2 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.collection-header p {
    font-size: 18px;
    opacity: 0.7;
    max-width: 800px;
    margin: 0 auto;
}

/* =========================================================
   FILTERS
========================================================= */

.collection-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.collection-filter {
    border: none;
    background: #f2f2f2;
    padding: 12px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 14px;
    font-weight: 600;
}

.collection-filter:hover {
    transform: translateY(-2px);
}

.collection-filter.active {
    background: #111111;
    color: white;
}

/* =========================================================
   SEARCH
========================================================= */

.collection-search {
    max-width: 500px;
    margin: 0 auto 48px auto;
}

.collection-search input {
    width: 100%;
    height: 58px;
    border: 1px solid #dddddd;
    border-radius: 18px;
    padding: 0 20px;
    font-size: 16px;
    outline: none;
}

/* =========================================================
   GRID
========================================================= */

.collection-grid {
    display: grid;
    gap: 32px;
}

.collection-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.collection-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.collection-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* =========================================================
   CARD
========================================================= */

.collection-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.06);
}

.collection-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.12);
}

/* =========================================================
   IMAGE
========================================================= */

.collection-image {
    position: relative;
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.collection-card:hover .collection-image img {
    transform: scale(1.05);
}

/* =========================================================
   BADGE
========================================================= */

.collection-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: white;
    color: black;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   CONTENT
========================================================= */

.collection-content {
    padding: 28px;
}

.collection-content h3 {
    font-size: 24px;
    margin-bottom: 14px;
}

.collection-content p {
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* =========================================================
   PRICE
========================================================= */

.collection-price {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* =========================================================
   BUTTON
========================================================= */

.collection-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    background: #111111;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.collection-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .collection-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .collection-grid.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .collection-header h2 {
        font-size: 36px;
    }

    .collection-grid.columns-2,
    .collection-grid.columns-3,
    .collection-grid.columns-4 {
        grid-template-columns: 1fr;
    }

    .collection-block {
        padding: 60px 20px;
    }
}