/*sidebar widget title sizes*/
#secondary .widget-title {
	font-size: 18px;
}
/*sidebar widget text size*/
#secondary .widget {
	font-size: .800rem;
}
#secondary .widget a {
	font-size: .800rem;
}
.woocommerce-demo-store .demo_store {
  padding: .18em 1em;
	background-color: #fbcc48;
	color: white;
	font-size: 22px;
	font-weight: bold
}

.woocommerce-MyAccount-navigation {
display:none;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
}
.single-product .product_title {
    font-size: 28px !important;
	font-weight: 700 !important;
}
/* Force the Calculated Fields Form to fit the mobile screen width */
@media screen and (max-width: 768px) {
    .cp_cff_14, 
    .cff-form, 
    div[id^="calculatedfieldsform_"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure multi-column fields stack vertically on mobile */
    .cff-form .fields, 
    .cff-form .dfield {
        float: none !important;
        width: 100% !important;
        clear: both !important;
    }
}
/* ========================================================
   僅針對「組合商品（Grouped Product）」頁面進行樣式調整
   ======================================================== */

/* 1. 將組合商品表格的 tbody 和 tr 轉化為 Flexbox 彈性佈局 */
.product-type-grouped table.woocommerce-grouped-product-list tbody,
.product-type-grouped table.woocommerce-grouped-product-list tr {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    align-items: center !important;
}

/* 2. 為每個子產品行數加上上下邊距與分界線 */
.product-type-grouped table.woocommerce-grouped-product-list tr {
    padding: 15px 0 !important;
    border-bottom: 1px solid #eeeeee !important;
}

/* 3. 隱藏組合商品表格的標題行 */
.product-type-grouped table.woocommerce-grouped-product-list thead {
    display: none !important;
}

/* 4. 移除欄位的預設邊框與內邊距 */
.product-type-grouped table.woocommerce-grouped-product-list td {
    border: none !important;
    padding: 4px 0 !important;
}

/* 5. 完全隱藏圖片欄位 */
.product-type-grouped td.woocommerce-grouped-product-list-item__image {
    display: none !important;
}

/* ========================================================
   核心位置調整：提示獨立一行，名稱（加粗）與價格在下一行並排
   ======================================================== */

/* 購買提示 / 數量欄位：獨立佔滿第一行 */
.product-type-grouped td.woocommerce-grouped-product-list-item__quantity {
    order: 1 !important;
    width: 100% !important;      
    margin-bottom: 8px !important; 
}

/* 產品名稱：排在第二行左側，並將字體加粗 */
.product-type-grouped td.woocommerce-grouped-product-list-item__label {
    order: 2 !important;
    flex: 1 !important;          
    padding-left: 0 !important;   
    font-size: 15px !important;
    font-weight: bold !important; /* 子產品名稱加粗 */
}

/* 價格：排在第二行右側 */
.product-type-grouped td.woocommerce-grouped-product-list-item__price {
    order: 3 !important;
    width: auto !important;
    text-align: right !important;  
    font-weight: bold !important; 
    padding-left: 15px !important; 
}