body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f7f7;
}

/* SECTION */
.product-section {
    padding: 50px;
    text-align: center;
}

/* CATEGORY */
.category-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cat-btn {
    padding: 8px 18px;
    border: 1px solid #e91e63;
    background: white;
    color: #e91e63;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.cat-btn.active,
.cat-btn:hover {
    background: #e91e63;
    color: white;
}

/* GRID (4 PER ROW) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* CARD */
.product-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    /* height: 453px; */
    /* width: 319.33px; */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card {
    width: 100%;
    max-width: 320px;
}

.product-card:hover {
    transform: translateY(-6px);
}

/* IMAGE ZOOM */
.img-box {
    overflow: hidden;
    border-radius: 10px;
}

.product-card img {
    width: 293.33px;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.15);
}

/* TEXT */
.product-card h3 {
    margin: 10px 0 5px;
}

.price {
    color: #e91e63;
    font-weight: bold;
}

/* ACTIONS */
.actions {
    display: flex;
    gap: 8px;
}

.actions button {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.cart-btn {
    background: #e91e63;
    color: white;
}

.wish-btn {
    background: #eee;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        justify-items: center;   /* centers card horizontally */
    }
}
