body {
    background-color: #f8f9fa;
}

.product-card {
    transition: transform 0.2s;
    height: 100%;
}

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

.product-image {
    height: 150px;
    object-fit: contain;
    padding: 10px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0d6efd;
}

.product-stock {
    font-size: 0.9rem;
}

.stock-high {
    color: #198754;
}

.stock-medium {
    color: #fd7e14;
}

.stock-low {
    color: #dc3545;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.cart-item-price {
    font-size: 0.8rem;
    color: #6c757d;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.cart-item-quantity button {
    width: 28px;
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-quantity span {
    width: 30px;
    text-align: center;
}

.cart-item-total {
    font-weight: bold;
    min-width: 70px;
    text-align: right;
}

.cart-item-remove {
    margin-left: 8px;
    color: #dc3545;
    cursor: pointer;
}

/* Print styles */
@media print {
    body * {
        visibility: hidden;
    }
    
    #printTemplate, #printTemplate * {
        visibility: visible !important;
    }
    
    #printTemplate {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
        padding: 20px !important;
        background-color: white !important;
    }
    
    .print-logo {
        display: block !important;
        margin: 0 auto 10px !important;
        max-width: 200px !important;
    }
}

.print-header {
    text-align: center;
    margin-bottom: 20px;
}

.print-logo {
    display: block;
    margin: 0 auto 10px;
    max-width: 200px;
}

.print-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.print-table th, .print-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.print-table th {
    background-color: #f2f2f2;
}

.print-table tfoot {
    font-weight: bold;
}
