/*
 Theme Name: Storefront Child
 Template: storefront
 Version: 1.0
 */

/* Product Page: Force the map to appear below the gallery */
.woocommerce-product-gallery {
    display: flex;
    flex-direction: column; /* Stack children vertically */
}

.tour-map {
    order: 1; 
    width: 100% !important;
    margin: 20px 0;
}

/* Checkout Page: Style for items / product groups in the cart */
.product-group {	
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
	overflow: auto;
}

.product-group h4 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 17px;
    color: #333;
}

.product-group .tour-date {
    font-size: 10px;
    color: #333;
}

.product-group .form-row-wide {
    margin-top: 20px;
    margin-bottom: 0px;
}

/* Check Page: Ensure hotel options layout */
.hotel-flight-select-heading {
    margin-top: 10px;
	margin-bottom: 0px;
}

.woocommerce p.form-row {
	margin-top: 10px;
	margin-bottom: 1; 
}

.woocommerce .product-group p.form-row .input-text::placeholder {
    color: #bbb;
    opacity: 1;
    font-weight: 100;
}

.woocommerce .product-group .tour-hotel-options-list {	
    margin-top: 1px;
    margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.1;
    padding-left: 0px; 
    list-style: none; 
}

.woocommerce .product-group .tour-hotel-options-list .tour-option-item {	
    display: block; 
    margin-bottom: 1px; 
    padding-left: 0; 
}

/* 1. Ensure Checkbox Input and Label are Inline */
.woocommerce .product-group .tour-hotel-options-list .tour-checkbox-option {	
    width: auto; 
    display: inline-block;
    vertical-align: middle;
    margin-right: 2px; 
    box-sizing: border-box;
    padding: 0; 
}

.woocommerce .product-group .tour-hotel-options-list .tour-checkbox-label {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0; 
    width: auto; 
    margin-right: 5px; 
    cursor: pointer; 
}

.woocommerce .product-group .tour-hotel-options-list .tour-checkbox-label img.emoji {	
    height: 1em !important;
    width: 1em !important;
}

/* 3. Styling the Link within the Label */
.woocommerce .product-group .tour-hotel-options-list .tour-option-item .tour-checkbox-label a {
    color: #0073e6 !important;
    text-decoration: underline !important;
    font-weight: 300 !important;
}

.woocommerce p.form-row::after {	
    content: "";
    display: table;
    clear: both;
}

.woocommerce .product-group .form-row .optional {	/* Remove the default (Optional) text */
    display: none;
}

/* Check Page: Custom CSS for WooCommerce Checkout Review Order Table */
.woocommerce-checkout-review-order-table {
    width: 100%;
    table-layout: fixed;
}

.woocommerce-checkout-review-order-table .product-name {
    width: 80%; 
}

.woocommerce-checkout-review-order-table .product-total {	
    width: 20%;
    text-align: right;
}

.woocommerce-checkout-review-order-table tfoot .product-total,
.woocommerce-checkout-review-order-table tfoot td {	
    text-align: right;
}

.woocommerce-checkout-review-order-table .woocommerce-Price-amount bdi {
    display: inline-block;
    width: 100%; 
    text-align: right;
}
