/*  手機商品頁 header ＆ 標題 */
body.single-product .ast-above-header-wrap {
    position: fixed !important;
    top: 0px !important;
    left: 0;
    width: 100%;
}

/*  手機商城頁 header */
body.woocommerce-page.woocommerce-shop #ast-mobile-header .ast-above-header-wrap {
	position: fixed !important;
	top: 50px!important;
	left: 0;
	width: 100%;
}

/* 關閉 WooCommerce 商品頁下方的「相關商品」區塊 */
.related.products {
  display: none !important;
}

body.single-product .ast-woocommerce-container .product h1{ margin-top:106px !important;}body.single-product .woocommerce-product-gallery__image a img{ webkit-transform:translatex(0px) translatey(0px); ms-transform:translatex(0px) translatey(0px); transform:translatex(0px) translatey(0px); margin-top:120px;}body.single-product #ast-mobile-header .ast-above-header-wrap .site-header-above-section-right{ margin-top:0px !important; webkit-transform:translatex(0px) translatey(0px); ms-transform:translatex(0px) translatey(0px); transform:translatex(0px) translatey(0px); padding-top:20%; padding-left:10%;}body.single-product #ast-mobile-header .ast-above-header-wrap .site-header-above-section-left{ margin-top:20% !important;}



/* WPForms fixes /
/ Initial field looks /
.wpforms-container input[type=date],
.wpforms-container input[type=datetime],
.wpforms-container input[type=datetime-local],
.wpforms-container input[type=email],
.wpforms-container input[type=month],
.wpforms-container input[type=number],
.wpforms-container input[type=password],
.wpforms-container input[type=range],
.wpforms-container input[type=search],
.wpforms-container input[type=tel],
.wpforms-container input[type=text],
.wpforms-container input[type=time],
.wpforms-container input[type=url],
.wpforms-container input[type=week],
.wpforms-container select,
.wpforms-container textarea {
background: #fff;
border-width: 0 0 1px 0;
color: var(--ast-global-color-2);
opacity: 0.5;
}
/ On focus /
.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
outline: none;
opacity: 1;
border-color: var(--ast-global-color-0);
}
/ Don't allow resizing the Message box /
.wpforms-container textarea {
resize: none;
}
/ Message box fixed height /
.wpforms-container .wpforms-field-textarea textarea.wpforms-field-medium {
height: 136px;
}
/ Button size & font size /
.wpforms-container button {
padding: 15px 34px;
font-size: 15px;
}
/ WPForms done /
/ Footer 2 big columns on sides and 1 small one in the middle */
.ast-builder-grid-row-3-equal .ast-builder-grid-row {
grid-template-columns: 3fr 1fr 3fr;
}
/* 修正商店頁面內容邊界被吃掉的問題 */
/* 針對主要的容器增加左右內邊距 */
.ast-container {
    padding-left: 30px; /* 左側間距 */
    padding-right: 30px; /* 右側間距 */
}

/* 針對 WooCommerce 商店頁面 (Shop Page) 的內容區塊優化 */
/* 增加內邊距，確保內容不會頂到邊緣 */
.woocommerce-page .entry-content {
    padding-left: 20px;
    padding-right: 20px;
}