/* WPUF Pricing Fields Styles */

/* Price Field */
.wpuf-price-currency-label {
    color: #666;
    font-weight: 400;
    font-size: 0.95em;
}

.wpuf-price-label {
    color: #000000;
    font-weight: 600;
}

/* Pricing Checkbox/Radio Items */
.wpuf-pricing-checkbox-item,
.wpuf-pricing-radio-item {
    margin-bottom: 8px;
}

.wpuf-pricing-quantity {
    margin-left: 10px;
    width: 60px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

/* Cart Total */
.wpuf-cart-summary {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 15px;
}

.wpuf-cart-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.wpuf-cart-table thead th {
    text-align: left;
    padding: 10px;
    border-bottom: 2px solid #ddd;
    background: #f5f5f5;
    font-weight: 600;
}

.wpuf-cart-table tbody td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.wpuf-cart-table tfoot td {
    padding: 12px 10px;
    border-top: 2px solid #ddd;
    font-weight: bold;
    font-size: 16px;
}

.wpuf-cart-total-display {
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

/* Multiselect Quantities */
.wpuf-multiselect-quantities {
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.wpuf-qty-row {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.wpuf-qty-row label {
    display: inline-block;
    width: 200px;
    margin-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .wpuf-cart-table {
        font-size: 14px;
    }

    .wpuf-cart-table thead th,
    .wpuf-cart-table tbody td,
    .wpuf-cart-table tfoot td {
        padding: 8px;
    }

    .wpuf-qty-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .wpuf-qty-row label {
        width: 100%;
        margin-bottom: 5px;
    }
}
/* Hidden Field setting: the field div gets .wpuf-hidden-field but no rule
   ever hid it. Hide the field and, where :has() is available, its row. */
.wpuf-fields.wpuf-hidden-field {
    display: none !important;
}
ul.wpuf-form li:has(> .wpuf-fields.wpuf-hidden-field) {
    display: none !important;
}
