
/* 預約模組按鈕顏色 */
.wc-bookings-booking-form-button {
    background-color: #3F341F !important; /* 按鈕背景顏色 */
    color: #FFFFFF !important; /* 按鈕文字顏色 */
    border: none !important; /* 移除邊框 */
    padding: 15px 30px !important; /* 內邊距（變大） */
    font-size: 16px !important; /* 字體變大 */
    cursor: pointer !important; /* 鼠標指標 */
    font-weight: bold !important; /* 加粗字體 */
    text-transform: uppercase !important; /* 文字轉大寫 */
    letter-spacing: 1px !important; /* 增加字母間距，提升可讀性 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important; /* 添加文字陰影，增強對比 */

}
.wc-bookings-booking-form-button:hover {
    background-color: #2E2616 !important; /* 滑鼠懸停時的顏色 */
    transform: scale(1.05); /* 微放大效果 */
    transition: all 0.2s ease-in-out;
}



/*場地預約費用靠右*/
.wc-bookings-booking-cost {
    text-align: right; /* 讓費用靠右對齊 */
    color: #000000 !important; /* 設定文字顏色為黑色 */
    font-weight: bold; /* 讓字體更明顯 */
    font-size: 18px; /* 調整字體大小 */
}


/*預約場地按鈕顏色*/

.wc-block-components-product-button__button {
    background-color: #3F341F !important; /* 按鈕背景色 */
    color: #ffffff !important; /* 文字顏色 */
    border: 2px solid #FFFFFF !important; /* 按鈕邊框 */
    padding: 10px 20px; /* 按鈕內邊距 */
    border-radius: 5px; /* 圓角 */
    font-weight: bold; /* 文字加粗 */
}
.wc-block-components-product-button__button:hover {
    background-color: #5D4A2E !important; /* 滑鼠懸停時的顏色 */
    color: #5D4A2E !important; /* 滑鼠懸停時的文字顏色 */
}



/*刪除場地預約排序選單*/
.woocommerce-ordering {
    display: none;
}
.woocommerce-product-details__short-description {
    white-space: pre-line;
}

/* 場地預約標題置中 */
.alignwide.wp-block-query-title {
    text-align: center;
}


/*商品預約提示訊息字體顏色*/
/* 設定通知文字與連結為黑色 */
.woocommerce-notices-wrapper .wc-block-components-notice-banner,
.woocommerce-notices-wrapper .wc-block-components-notice-banner__content,
.woocommerce-notices-wrapper .wc-block-components-notice-banner__content a,
.woocommerce-notices-wrapper .wc-block-components-notice-banner__content * {
	color: #000 !important;
	fill: #000 !important; /* SVG 圖示也一併變黑 */
}






/*調整場地預約價格文字大小*/
body.term-96987513 .wp-block-woocommerce-product-price .woocommerce-Price-amount bdi {
    font-size: 16px !important;
}









/* 修改可預約時段的背景顏色 */
.picker .ui-datepicker-calendar td:not(.ui-state-disabled) a {
    background-color: #5D4A2E !important; /* 深棕色 */
    color: white !important;
    border-radius: 5px;
}

/* 當滑鼠懸停時改變顏色 */
.picker .ui-datepicker-calendar td:not(.ui-state-disabled) a:hover {
    background-color: #CD9037 !important; /* 黃金色 */
}




/*新增未稅字眼*/
/* 只在商品頁顯示"未稅" */
body.single-product .wc-block-components-product-price .woocommerce-Price-amount:after {
    content: "（未稅）" !important;
    font-size: 14px !important;
    color: #666 !important;
    margin-left: 5px !important;
}

/* 下方相關商品區塊，清除 .woocommerce-Price-amount 的 after 內容 */
ul.wp-block-woocommerce-product-template .woocommerce-Price-amount::after {
    display: none !important;
    content: "" !important;
}











/* 在訂單頁隱藏"未稅" */
body.page-id-XX .wc-block-components-product-price .woocommerce-Price-amount:after {
    content: none !important;
}




/*取消放大鏡*/
.woocommerce-product-gallery .woocommerce-product-gallery__image:hover {
    pointer-events: none !important;
}
.woocommerce-product-gallery .zoomImg {
    display: none !important;
}
.woocommerce-product-gallery img {
    cursor: default !important;
}





/*刪除商品分類*/
.wp-block-post-terms, .taxonomy-product_cat {
    display: none !important;
}







/*內文分類場地預約頁首與下文空間調整*/
.wc-block-breadcrumbs {
  padding-top: 30px;
}
/* 購物車頁面標題與頁首距離調整 */
.page-id-1915 h1.alignwide.wp-block-post-title {
  margin-top: 50px;
}







/* 零金額隱藏綠界發票欄位 */
body.free-booking .ecpay_invoice_fields {
    display: none !important;
}





/*結帳頁面_隱藏資訊預定類型*/
/* 針對 Checkout Block 頁面：隱藏「實際錄音人數」與「預訂類型」 */
.page-id-1916 .wc-block-components-product-details li:nth-child(3),
.page-id-1916 .wc-block-components-product-details li:nth-child(5) {
  display: none !important;
}
/* 隱藏 WooCommerce Checkout 商品說明（short description） */
.page-id-1916 .wc-block-components-product-metadata__description {
  display: none !important;
}
/* 調整「預訂日期」字體大小 */
.page-id-1916 .wc-block-components-product-details li:nth-child(1) .wc-block-components-product-details__value {
  font-size: 15px !important;
}
/* 隱藏 WooCommerce Cart 預訂類型 */
.page-id-1915 .wc-block-components-product-details li:nth-child(5) {
  display: none !important;
}

/* 隱藏 WooCommerce Cart 商品說明（short description） */
.page-id-1915 .wc-block-components-product-metadata__description {
  display: none !important;
}

#billing-country,
label[for="billing-country"],
.wc-blocks-components-select__container {
    display: none !important;
}








/* WooCommerce 商品簡短說明 - 強制換行顯示所有內容 */
.woocommerce-product-details__short-description {
    white-space: normal !important;       /* 允許換行 */
    display: block !important;
    overflow: visible !important;
    text-overflow: unset !important;
    line-height: 1.8 !important;          /* 增加行距讓內容更好讀 */
    max-height: none !important;
    word-break: break-word !important;
    padding-bottom: 1rem;
}



/*商品內文頁面隱藏其中的商品說明*/
.woocommerce-Tabs-panel--description h2 {
  display: none;!important;
}
/*隱藏重複文字說明*/
.single-product .wp-block-post-excerpt {
  display: none !important;
}






/*懸浮購物車隱藏商品說明文字*/
.wc-block-components-product-metadata__description {
    display: none !important;
}






/* 懸浮購物車_縮小「開始預約」按鈕尺寸，移除白色邊框 */
.wc-block-mini-cart__shopping-button.contained {
    background-color: #3F341F;
    color: #ffffff;
    font-size: 14px;        /* 字體大小 */
    padding: 8px 16px;      /* 上下左右的內距 */
    width: auto;            /* 自動調整寬度 */
    border-radius: 4px;     /* 圓角 */
    border: none;           /* 移除邊框 */
}

/* 滑鼠懸停樣式 */
.wc-block-mini-cart__shopping-button.contained:hover {
    background-color: #2e2716;
    color: #ffffff;
    border: none;
}







/*懸浮購物車_按鈕改成開始預約*/
.wc-block-mini-cart__shopping-button.contained .wc-block-components-button__text::after {
    content: "開始預約";
}

.wc-block-mini-cart__shopping-button.contained .wc-block-components-button__text {
    font-size: 0; /* 隱藏原字 */
}

.wc-block-mini-cart__shopping-button.contained .wc-block-components-button__text::after {
    font-size: 14px;
    color: #ffffff;
}
/*懸浮購物車下方多空格*/
.wc-block-mini-cart__empty-cart-wrapper p {
    margin-bottom: 16px; /* 或你喜歡的數值，例如 24px */
}



/*場地預約_商品總數移除*/
.woocommerce .woocommerce-result-count {
    display: none !important;
}







/*預約系統下拉選單色塊*/
/* 針對預約時間與結束時間的下拉選單 */
#wc-bookings-form-start-time,
#wc-bookings-form-end-time {
    background-color: #1B2227 !important;
    color: #ffffff !important;
}








.woocommerce-password-hint {
  font-size: 0 !important; /* 把原本文字消失 */
  position: relative;
}

.woocommerce-password-hint::after {
  content: "提示: 密碼至少 8 個字元，建議包含英文大小寫、數字與符號以提升安全性。";
  font-size: 14px; /* 原始大小 */
  color: #666;
  position: absolute;
  left: 0;
}






/* 1. 放大「實際錄音人數(不含陪同人員):」的文字 */
label[for="wc_bookings_field_persons"] {
    font-size: 16px;
}

/* 2. 放大「時間格式為 Asia/Taipei」 */
.wc-bookings-date-picker-timezone-block {
    font-size: 14px;
}

/* 3.調整預約提醒*/
.block-picker p {
  font-size: 14px;  /* 或你想要的大小 */
}







/*移除訂單頁面重複備註欄位*/
.woocommerce-table tfoot tr:last-child th,
.woocommerce-table tfoot tr:last-child td {
    display: none !important;
}


/*訂單新增備註按鈕與填寫區塊距離*/
.mv-button-space {
    margin-top: 20px; /* 根據需要調整空間大小 */
}








/* 結帳帳單填寫提示文字的大小 */
.wc-block-components-text-input label,
.wc-blocks-components-select__label {
    font-size: 14px !important; /* 強制設定較小的字體 */
    color: #666 !important; /* 設置顏色 */
}








/*移除結帳頁面帳單填寫欄位*/
.wc-block-components-text-input.wc-block-components-address-form__postcode {
    display: none !important;
}

label[for="billing-postcode"] {
    display: none !important;
}
#billing .wc-block-components-text-input, 
#billing .wc-block-components-address-form__company, 
#billing .wc-block-components-text-input #billing-first_name, 
#billing .wc-block-components-text-input #billing-company {
    display: none !important;
}







/* 只在單篇文章頁隱藏作者（精準命中 Post Author 區塊） */
.single-post .wp-block-post-author {
    display: none !important;
}
				