/* src/css/collection.css */

.collection-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 40px;
    min-height: 80vh;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.filter-tag {
    font-size: 11px;
    text-transform: uppercase;
    border: 1px solid #ddd;
    padding: 8px 15px;
    cursor: pointer;
    background: transparent;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.2s;
}

.filter-tag:hover {
    border-color: #000;
}

#collectionTitle {
    text-align: center;
    font-family: var(--font-head);
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
}

/* GRID */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px;
}

.collection-item {
    cursor: pointer;
    position: relative;
    animation: fadeIn 0.5s ease-out;
}

.collection-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f9f9f9;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.collection-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-item:hover .collection-img-wrapper img {
    transform: scale(1.03);
}

.wishlist-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 14px;
    color: #000;
}

/* Product Type Card Badges - PREMIUM */
.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.card-badge.bespoke {
    background: #000;
    color: #fff;
}

.card-badge.accessory {
    background: #fff;
    color: #000;
    border: 1px solid #000;
}

.card-badge.discount {
    background: #d32f2f;
    color: #fff;
}

.collection-info {
    text-align: left;
    margin-top: 10px;
}

.item-name {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
    color: #000;
}

.item-fabric {
    font-size: 10px;
    color: #777;
    text-transform: capitalize;
    margin-bottom: 5px;
}

.item-price {
    font-size: 11px;
    font-weight: 500;
    color: #000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .collection-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .collection-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .collection-container {
        padding: 20px;
    }
}