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

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

.ucs-cart-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.ucs-cart-table tfoot {
    font-weight: bold;
}

.ucs-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.ucs-product {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.ucs-product:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.ucs-product img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
}

.ucs-product h3 {
    margin: 0 0 10px;
    font-size: 1.2em;
    color: #333;
}

.ucs-product p {
    margin: 0 0 15px;
    color: #666;
}

.ucs-add-to-cart {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.ucs-add-to-cart:hover {
    background-color: #45a049;
}

.ucs-view-product {
    margin-top: 10px;
    color: #4CAF50;
    text-decoration: none;
}

.ucs-view-product:hover {
    text-decoration: underline;
}

.ucs-remove-from-cart {
    background-color: #f44336;
    color: white;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ucs-remove-from-cart:hover {
    background-color: #d32f2f;
}

.ucs-quantity-input {
    width: 50px;
    padding: 5px;
    text-align: center;
}

#ucs-proceed-to-checkout {
    display: block;
    margin-top: 20px;
    font-size: 1.1em;
}

.ucs-error-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #f44336;
    color: white;
    padding: 15px;
    border-radius: 5px;
    z-index: 1000;
    display: none;
}

.ucs-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 9999;
    display: none;
}

.ucs-success-message {
    background-color: #4CAF50;
    color: white;
}

.ucs-error-message {
    background-color: #f44336;
    color: white;
}