/* ===== PAGE BACKGROUND ===== */
body {
    background-color: #f5f5f5;
}

/* ===== MAIN CONTENT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #000;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.product-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #FFD700;
    color: #000;
    padding: 5px 15px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 3px;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
    background-color: #fafafa;
    padding: 20px;
}

.product-title {
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 1px;
    margin-bottom: 10px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    justify-content:normal;
}

.product-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.price-current {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.btn-add-cart {
    background-color: #1a1a1a;
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    border-radius: 4px;
}

.btn-add-cart:hover {
    background-color: #333;
}

.rating {
    margin-top: 15px;
    margin-bottom: 15px;
    color: #FFD700;
    font-size: 14px;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 40px 0;
}

.pagination a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.pagination a:hover {
    color: #666;
}

.pagination .active {
    font-weight: bold;
    color: #000;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}
