/* BestLab WooCommerce Price Customization Styles */

/* Price Table Styling */
.wapo-total-price-table,
#wapo-total-price-table {
    margin: 20px 0;
}

.wapo-total-price-table table,
#wapo-total-price-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.wapo-total-price-table table tr,
#wapo-total-price-table table tr {
    display: table-row;
}

.wapo-total-price-table table th,
.wapo-total-price-table table td,
#wapo-total-price-table table th,
#wapo-total-price-table table td {
    padding: 12px 15px;
    text-align: left;
    border-right: 1px solid #ddd;
}

.wapo-total-price-table table th:last-child,
.wapo-total-price-table table td:last-child,
#wapo-total-price-table table th:last-child,
#wapo-total-price-table table td:last-child {
    border-right: none;
}

.wapo-total-price-table table th,
#wapo-total-price-table table th {
    font-weight: 600;
    color: #333;
    width: 50%;
    background-color: #f5f5f5;
}

.wapo-total-price-table table td,
#wapo-total-price-table table td {
    font-weight: 600;
    color: #333;
}

/* Only show the total row */
.wapo-total-order {
    background-color: #ffffff;
}

.wapo-product-price,
.wapo-total-options {
    display: none !important;
}

/* Add to Cart Button Styling */
.single_add_to_cart_button {
    background-color: #0066cc;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.single_add_to_cart_button:hover {
    background-color: #0052a3;
}

.single_add_to_cart_button:active {
    background-color: #003d7a;
}

/* Quantity Input Styling */
input.qty,
.quantity .qty {
    min-width: 50px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

input.qty:focus,
.quantity .qty:focus {
    border-color: #0066cc;
    outline: none;
}

/* Cart Form Layout */
.cart {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

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

.quantity input.qty {
    margin: 0;
}

/* Price amount styling */
.woocommerce-Price-amount {
    font-weight: 600;
}

.woocommerce-Price-currencySymbol {
    margin-left: 4px;
}
