/* ===== PAGE TITLE ===== */
.page-title {
    width: calc(100% - 24px);
    max-width: 1500px;
    margin: 30px auto;
    text-align: center;
}

.page-title h1 {
    font-size: 42px;
    color: #845b7b;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    width: calc(100% - 24px);
    max-width: 1200px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.product {
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    width: 100%;
    max-width: 280px;
    transition: .3s;
    display: flex;
    flex-direction: column;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}

.product img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 15px;
}

.product h3 {
    color: #845b7b;
    margin-bottom: 10px;
    font-size: 18px;
}

.product .price {
    font-size: 22px;
    font-weight: bold;
    color: #b86ca3;
    margin-bottom: 15px;
}

/* ===== BUTTONS ===== */
.product-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: .3s;
    flex: 1;
}

.btn.view {
    background: #f6d6c9;
    color: #6b4b45;
}

.btn.view:hover {
    background: #eec1af;
}

.btn.cart {
    background: #dcb6d6;
    color: white;
}

.btn.cart:hover {
    background: #c79ac0;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .page-title h1 {
        font-size: 30px;
    }

    .products-grid {
        gap: 20px;
        padding: 0 10px;
    }

    .product {
        max-width: 100%;
    }

    .product img {
        height: 200px;
    }

    .product-buttons {
        flex-direction: row;
        gap: 8px;
    }

    .btn {
        flex: 1;
        padding: 10px 15px;
        font-size: 13px;
        min-width: 0;
    }
}