/* 商店頁（電腦版）：一個畫面顯示兩行、每行三件商品 */
@media (min-width: 922px) {
  html:root body.woocommerce.archive .ast-woocommerce-container {
    max-width: 730px;
    margin-left: auto;
    margin-right: auto;
  }
  html:root body.woocommerce.archive ul.products.columns-3 {
    column-gap: 20px;
  }
  html:root body.woocommerce.archive ul.products.columns-3 > li.product.type-product.type-product {
    margin-bottom: 16px !important;
    padding-bottom: 0 !important;
  }
  html:root body.woocommerce.archive ul.products li.product .astra-shop-summary-wrap {
    padding: 6px 4px 0 !important;
    margin-top: 0 !important;
  }
  html:root body.woocommerce.archive ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  html:root body.woocommerce.archive ul.products li.product .price {
    margin-bottom: 6px !important;
  }
  html:root body.woocommerce.archive ul.products li.product .button {
    margin: 0 !important;
  }
}

/* 頁首 CONTACT 按鈕：文字不換行 */
.ast-header-button-1 .ast-custom-button,
.ast-builder-button-wrap .ast-custom-button {
  white-space: nowrap;
}
/* mobile menu toggle visible on green header */
.ast-header-break-point .main-header-menu-toggle{color:#fff!important;border-color:rgba(255,255,255,.7)!important}
.ast-header-break-point .main-header-menu-toggle svg,.ast-header-break-point .main-header-menu-toggle .ast-mobile-svg{fill:#fff!important}

/* 全站字型統一：Noto Sans TC */
h6,.entry-content :where(h6),.ast-builder-menu-mobile .main-navigation .menu-item > .menu-link{font-family:'Noto Sans TC',sans-serif}

/* 介面優化：頁尾連結不要從中間斷行 */
.site-footer h5.wp-block-heading a{white-space:nowrap}
/* 介面優化：數量欄位與按鈕等高 */
.woocommerce .quantity{display:inline-flex!important;align-items:stretch}
.woocommerce .quantity .qty,.woocommerce .quantity .minus,.woocommerce .quantity .plus{min-height:44px;height:44px;margin:0!important}
/* 介面優化：按鈕最小高度 44px，方便手機點擊 */
.woocommerce a.button,.woocommerce button.button,.woocommerce .single_add_to_cart_button{min-height:44px;display:inline-flex!important;align-items:center;justify-content:center;font-size:15px!important;text-transform:none!important}
