/* booking.css */

/* 地址欄位 */
.booking-address-city {
    width: 110px !important;
    display: inline-block !important;
    margin-right: 5px;
    margin-bottom: 5px;
}

.booking-address-district {
    width: 130px !important;
    display: inline-block !important;
    margin-right: 5px;
    margin-bottom: 5px;
}

.booking-address-detail {
    /*width: calc(100% - 270px) !important;
    min-width: 150px;*/
    display: inline-block !important;
}

/* 預約項目區塊標題 */
.booking-section-title {
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin: 20px 0 15px 0;
}

/* 預約項目容器 */
.booking-items-container {
    background: #fafafa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

/* 預約項目單列 */
.booking-item-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 15px;
}

.booking-item-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.booking-item-empty {
    text-align: center;
    color: #666;
    padding: 10px;
}

/* 預約項目詳情 (左側) */
.booking-item-details {
    flex: 1;
    min-width: 200px;
    padding-right: 15px;
}

.booking-item-title {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 2px;
}

.booking-item-desc {
    color: #666;
    font-size: 0.9em;
    line-height: 1.3;
    word-break: break-all;
}

.booking-item-desc p {
    margin: 0;
    line-height: 1.3;
}

/* 預約項目控制項 (右側) */
.booking-item-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 10px;
}

.booking-item-price-box {
    margin-right: 15px;
    text-align: right;
    min-width: 80px;
    line-height: 1.2;
}

.booking-item-original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85em;
    margin-bottom: 2px;
}

.booking-item-discount-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1em;
}

.booking-item-price {
    font-weight: bold;
    color: #333;
    font-size: 1em;
}

/* 數量按鈕與輸入框 */
.qty-btn {
    width: 35px;
    height: 35px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    transition: background-color 0.2s;
}

.qty-btn:hover {
    background: #e9ecef;
}

.item-qty {
    width: 35px;
    text-align: center;
    margin: 0 5px;
    border: 1px solid #ddd;
    height: 28px;
    border-radius: 4px;
    font-size: 1em;
    color: #333;
    padding: 3px;
}

/* 驗證碼區塊 */
.booking-captcha-label {
    line-height: 20px;
    word-break: normal;
}

.booking-captcha-code {
    font-weight: bold;
}

.booking-captcha-input {
    width: 100px;
    margin-left: 5px;
}

/* 響應式設計 (平板與手機) */
@media (max-width: 768px) {
    .booking-address-city, .booking-address-district {
        width: calc(50% - 5px) !important;
    }
    
    .booking-address-detail {
       /* width: 100% !important;
        margin-top: 5px;*/
    }
}

@media (max-width: 576px) {
    .booking-item-details {
        padding-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .booking-item-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .booking-item-price-box {
        text-align: left;
    }
}
.Bx-booking{
	clear: none;	
	float:left;
	display: block;
	margin: 1px 0 10px 0;	
	width: calc(99% - 30px);
}

.qty-wrapper {
    display: flex;
    align-items: center;
}
@media (max-width: 768px) {
    .qty-wrapper {
        justify-content: flex-end;
        margin-top: 10px; /* 增加與上方的間距，讓手機版排版更舒適 */
    }
}