.elementor-291 .elementor-element.elementor-element-61c1cde{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:50px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for container, class: .elementor-element-61c1cde *//* =========================================
   XINARTS 單一商品頁面 (Single Product) 優化
   ========================================= */

/* --- 1. 全域設定 (字體與顏色) --- */
.single-product .entry-summary,
.single-product .product_title,
.single-product .woocommerce-tabs {
    font-family: 'Noto Sans TC', sans-serif;
    color: #3E3A39; /* 深炭灰 */
}

/* --- 2. 產品資訊區塊 (右側) --- */

/* 麵包屑與分類標籤 - 雜誌感的小字 */
.woocommerce-breadcrumb, 
.product_meta .posted_in, 
.product_meta .tagged_as {
    font-size: 12px !important;
    color: #888888 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.woocommerce-breadcrumb a, 
.product_meta a {
    color: #888888 !important;
    text-decoration: none;
}

/* 產品主標題 (H1) */
.product_title.entry-title {
    font-size: 28px !important; /* 電腦版大氣一點 */
    font-weight: 500 !important;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #3E3A39;
}

/* 價格 (Price) */
.single-product .summary .price {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #D95F42 !important; /* 品牌赤陶紅 */
    margin-bottom: 20px;
}

/* 短描述 (Short Description) - 增加閱讀舒適度 */
.woocommerce-product-details__short-description {
    font-size: 15px;
    line-height: 1.8; /* 增加行高，空氣感 */
    color: #555;
    margin-bottom: 30px;
    border-left: 3px solid #F4F1EA; /* 左側加一條淡淡的品牌線裝飾 */
    padding-left: 15px;
}

/* --- 3. 加入購物車區塊 --- */

/* 數量輸入框 */
.quantity .input-text.qty {
    border: 1px solid #ddd !important;
    border-radius: 0 !important; /* 方形 */
    height: 46px;
}

/* 加入購物車按鈕 */
.single_add_to_cart_button.button {
    background-color: #3E3A39 !important; /* 深色按鈕，穩重 */
    color: #fff !important;
    height: 46px;
    border-radius: 2px !important; /* 微圓角 */
    padding: 0 40px !important;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.single_add_to_cart_button.button:hover {
    background-color: #D95F42 !important; /* 懸停變赤陶紅 */
    transform: translateY(-2px); /* 微微浮起 */
}

/* --- 4. 頁籤區塊 (Tabs) --- */
.woocommerce-tabs ul.tabs {
    border-bottom: 1px solid #eee !important;
    padding: 0 !important;
    margin-bottom: 30px !important;
}

.woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    margin-right: 20px !important;
}

.woocommerce-tabs ul.tabs li a {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #aaa !important;
    padding: 10px 0 !important;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #3E3A39 !important;
    border-bottom: 2px solid #D95F42 !important; /* 選中時底部紅線 */
}

/* --- 5. 相關商品 (Related Products) 優化 --- */
.related.products > h2 {
    font-size: 22px !important;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

/* --- 📱 6. 手機版專屬優化 (Mobile Responsive) --- */
@media (max-width: 767px) {
    
    /* 標題縮小，避免換行太醜 */
    .product_title.entry-title {
        font-size: 22px !important;
    }

    /* 價格字體調整 */
    .single-product .summary .price {
        font-size: 20px !important;
    }

    /* 購物車按鈕全寬，方便手指點擊 */
    .single_add_to_cart_button.button {
        width: 100%; 
        margin-top: 10px;
    }

    /* ★關鍵優化：手機版相關商品改成「雙欄併排」★ */
    /* 原本是單欄很佔空間，改成 grid 雙欄 */
    .related.products ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* 強制兩欄 */
        gap: 15px !important; /* 欄位間距 */
    }

    .related.products ul.products li.product {
        width: 100% !important; /* 覆蓋原本的 100% 寬度設定 */
        margin-bottom: 0 !important;
    }

    /* 手機版相關商品圖片與標題 */
    .related.products .woocommerce-loop-product__title {
        font-size: 13px !important; /* 縮小標題 */
    }
    
    .related.products .price {
        font-size: 14px !important;
    }
}/* End custom CSS */