/**
 * Checkout Page Styling
 *
 * @package IGD_Booking
 */

/* =====================================================
   Booking Details on Checkout/Order Pages
   ===================================================== */

/* Make booking date and time display inline with product name */
.woocommerce-checkout-review-order-table .product-name dl.variation,
.woocommerce-table--order-details .product-name dl.variation,
.order_details .product-name dl.variation {
    display: inline;
    margin: 0;
    padding: 0;
}

.woocommerce-checkout-review-order-table .product-name dl.variation dt,
.woocommerce-table--order-details .product-name dl.variation dt,
.order_details .product-name dl.variation dt {
    display: inline;
    margin: 0 4px 0 0;
    padding: 0;
    font-weight: 400;
    float: none;
}

.woocommerce-checkout-review-order-table .product-name dl.variation dt::after,
.woocommerce-table--order-details .product-name dl.variation dt::after,
.order_details .product-name dl.variation dt::after {
    content: '';
}

.woocommerce-checkout-review-order-table .product-name dl.variation dd,
.woocommerce-table--order-details .product-name dl.variation dd,
.order_details .product-name dl.variation dd {
    display: inline;
    margin: 0 8px 0 0;
    padding: 0;
    float: none;
}

.woocommerce-checkout-review-order-table .product-name dl.variation dd::after,
.woocommerce-table--order-details .product-name dl.variation dd::after,
.order_details .product-name dl.variation dd::after {
    content: ' • ';
    margin-left: 8px;
    color: #999;
}

.woocommerce-checkout-review-order-table .product-name dl.variation dd:last-child::after,
.woocommerce-table--order-details .product-name dl.variation dd:last-child::after,
.order_details .product-name dl.variation dd:last-child::after {
    content: '';
}

/* Style the booking details */
.woocommerce-checkout-review-order-table .product-name dl.variation p,
.woocommerce-table--order-details .product-name dl.variation p,
.order_details .product-name dl.variation p {
    display: inline;
    margin: 0;
}

/* Add separator before date/time info */
.woocommerce-checkout-review-order-table .product-name strong::after,
.woocommerce-table--order-details .product-name strong::after,
.order_details .product-name strong::after {
    content: ' - ';
    font-weight: 400;
    color: #666;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .woocommerce-checkout-review-order-table .product-name,
    .woocommerce-table--order-details .product-name,
    .order_details .product-name {
        font-size: 14px;
    }
}
