/* SECTION */
.product-section {
    padding: 50px 20px;
    background: #f4f4f4;
}

/* HEADER */
.product-header {
    max-width: 1200px;
    margin: auto;
}

    .product-header h2 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .product-header p {
        color: #555;
        font-size: 14px;
        margin-bottom: 20px;
    }

/* FILTERS */
.filters {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

    .filters button {
        border: 1px solid #ccc;
        background: #fff;
        padding: 6px 12px;
        cursor: pointer;
        border-radius: 1px;
    }

        .filters button.active {
            background: #000;
            color: #fff;
        }

    .filters select {
        padding: 6px 10px;
    }

/* GRID */
.product-grid {
    max-width: 1200px;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* CARD */
.product-card {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    position: relative;
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
}

    .product-card:hover {
        transform: translateY(-5px);
    }

    /* IMAGE */
    .product-card img {
        width: 100%;
        height: 254px;
        object-fit: contain;
        border-radius: 10px;
    }

/* BADGE */
.badge-custom {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000;
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
}

/* TEXT */
.product-card h3 {
    font-size: 16px;
    margin: 10px 0 5px;
}

.product-card p {
    font-size: 13px;
    color: #666;
}

/* FOOTER */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

/* BUTTON */
.btn {
    background: #000;
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    text-decoration: none;
    border-radius: 20px;
}

/* WISHLIST */
.wishlist {
    font-size: 18px;
    cursor: pointer;
}

/* PAGINATION */
.pagination {
    display: flex;
    justify-content: center; /* centers horizontally */
    align-items: center;
    margin-top: 30px;
    gap: 5px; /* cleaner spacing */
}

    .pagination span {
        display: inline-block;
        padding: 6px 12px;
        border: 1px solid #ccc;
        cursor: pointer;
    }

    .pagination .active {
        background: #000;
        color: #fff;
    }

/* RESPONSIVE */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        flex-direction: column;
    }
}
