/* BWG Custom CSS - Cache-busting active */
/* Hide all default RnB variations */
.variation-SelectedRental,
.variation-TotalDays,
.variation-PickupLocation,
.variation-ReturnLocation,
.variation-InstantPayAmount,
.variation-SecurityDeposit,
.variation-PaymentDue,
.variation-OutstandingAmount
.variation-ReservationDeposit {
    display: none !important;
}

/* Security deposit visibility is controlled by JavaScript toggleSecurityDepositUI() */
/* Deposits show for PICKUP orders, hidden for DELIVERY orders */
/* DO NOT add display:none rules here - they will prevent pickup deposits from showing */

/* Style price and variation displays */
.rental-price-info {
    margin-top: 10px;
}

.rental-price-info p {
    margin: 2px 0;
}

/* Hide only duplicate variations */
dl.variation dt.variation-Fulfillment,
dl.variation dd.variation-Fulfillment,
dl.variation dt.variation-AmountDueNow:not(:first-of-type),
dl.variation dd.variation-AmountDueNow:not(:first-of-type),
dl.variation dt.variation-DueatPickup:not(:first-of-type),
dl.variation dd.variation-DueatPickup:not(:first-of-type) {
    display: none !important;
}

/* Show only the price in the subtotal column */
.product-subtotal .amount {
    display: inline !important;
}

/* Hide any duplicate prices in product name column */
.product-name .amount {
    display: none !important;
}

/* Keep our custom formatted variations visible */
.cart-custom-variations {
    display: block !important;
    margin-top: 10px;
}

.cart-custom-variations dt {
    float: left;
    clear: left;
    margin-right: 5px;
    font-weight: normal;
}

.cart-custom-variations dd {
    margin-bottom: 5px;
}

/* Hide unnecessary RnB pricing items */
.booking-pricing-info .duration,
.booking-pricing-info .pickup_location,
.booking-pricing-info .return_location,
.booking-pricing-info .deposit_free_total,
.booking-pricing-info .total {
    display: none !important;
}

/* Keep only the necessary pricing items visible (deposit hidden above) */
.booking-pricing-info .instant_pay_amount,
.booking-pricing-info .due_payment {
    display: list-item !important;
}

/* Customize the display of remaining pricing items */
.booking-pricing-info .instant_pay_amount .name::after {
    content: " (Due Now)";
}

/* Payment due text is now handled dynamically by JavaScript */

/* Deposit styling removed - deposit is now completely hidden from customer view */

/* Removed the hardcoded Fulfillment Method text */
.booking-pricing-info::before {
    display: none;
}

/* Hide deposit fee row in cart totals - handled via JavaScript in bwg-custom.js */

/* Style the security deposit notice */
.security-deposit-notice td {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.security-deposit-notice strong {
    color: #333;
}
/* Auto-hide pickup location dropdown when only one location exists */
.redq-pick-up-location.single-location-only,
.rnb-component-wrapper.single-location-only {
    display: none !important;
}

/* Rental Policy Checkbox Styling */
label[for="rental_policy_checkbox"] {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 15px 0 !important;
}

label[for="rental_policy_checkbox"] input[type="checkbox"] {
    margin: 4px 0 0 0 !important;
    flex-shrink: 0 !important;
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
}

label[for="rental_policy_checkbox"] span {
    flex: 1 !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
}
