.fpimg {
width:100%;
height:100%;
min-width: 1000px;
      object-fit: contain;
    }
.woocommerce div.product form.cart div.quantity{
	display:none !important
}
.wp-block-woocommerce-add-to-cart-form .variations_button, .wp-block-woocommerce-add-to-cart-form form.cart{
	margin-bottom:10px
}
.wp-site-blocks .products{
	padding-left: var(--wp--preset--spacing--50);
   padding-right: var(--wp--preset--spacing--50);
}

.goPremoum{
	font-size:var(--wp--preset--font-size--medium) !important;
	padding:3px 1em;
	border-left:2px solid #3b3b3b;
	margin-bottom:16px;
	line-height:24px;
	font-weight:700;
}
.goPremiumTitle{
	width:50%;
		margin-top:-10px !important;
	
}
.goPremiumTitle a{
	text-decoration: none; 

}

.goPremiumTitle span{
	display:block;
	margin-top: 10px;
}
pre{
	 white-space: pre-wrap;      /* 保留空白符但允许换行 */
    word-break: break-all;      /* 允许在任意字符间断行 */
    overflow-wrap: break-word;  /* 确保长单词或URL能换行 */
    width: 100%;
}


@media (max-width: 768px) {
	.wp-block-template-part .wp-container-core-group-is-layout-3{
		flex-direction:row-reverse;
	}
}

[data-block-name="woocommerce/mini-cart"] {
  font-size:14px !important;
}

.wp-block-woocommerce-add-to-cart-form .variations_button, .wp-block-woocommerce-add-to-cart-form form.cart{
	display:flex !important;
}
.single_add_to_cart_button{
	width:100%
}

@media only screen and (min-width: 75px) {
.wp-block-woocommerce-add-to-cart-form .variations_button, .wp-block-woocommerce-add-to-cart-form form.cart{          height: 25px;
        min-height: 25px;
        max-height: 30px;
    }
}
@media only screen and (min-width: 150px) {
.wp-block-woocommerce-add-to-cart-form .variations_button, .wp-block-woocommerce-add-to-cart-form form.cart{          height: 25px;
        min-height: 25px;
        max-height: 55px;
    }
}
@media only screen and (min-width: 200px) {
.wp-block-woocommerce-add-to-cart-form .variations_button, .wp-block-woocommerce-add-to-cart-form form.cart{          height: 35px;
        min-height: 35px;
        max-height: 55px;
    }
}

@media only screen and (min-width: 300px) {
.wp-block-woocommerce-add-to-cart-form .variations_button, .wp-block-woocommerce-add-to-cart-form form.cart{          height: 45px;
        min-height: 30px;
        max-height: 55px;
    }
}



@media only screen and (min-width: 768px) {
.wp-block-woocommerce-add-to-cart-form .variations_button, .wp-block-woocommerce-add-to-cart-form form.cart{        					height: 55px;
        min-height: 40px;
        max-height: 55px;
    }
}
@media only screen and (max-width: 768px) {
/* 购物车 */
/* 隐藏描述内容 */
	.wc-block-mini-cart__template-part .wc-block-components-product-metadata__description{
		display:none;
	}
/* 	11隐藏数量选择框 */
		.wc-block-mini-cart__template-part .wc-block-components-quantity-selector{
		display:none;
	}
	.wc-block-cart-item__wrap{
		position:relative;
	}
	.wc-block-cart-item__quantity{
		    position: absolute;
    right: 20px;
    top: 30px;
		transform:translatex(-50%);
	}
	.wc-block-components-drawer__screen-overlay .wc-block-cart-item__quantity{
		 right: 0px;
	}
/* 	1以上是针对购物车弹出框；以下隐藏购物车页面 */
	.wp-block-woocommerce-cart .wc-block-components-product-metadata__description{
		display:none;
	}
	.wp-block-woocommerce-cart .wc-block-components-quantity-selector{
		display:none;
	}
		.wp-block-woocommerce-cart .wc-block-cart-item__remove-link{
		 position: absolute;
    right: 0px;
    top: 50%;
		transform:translatex(50%);
	}
:where(.wp-site-blocks) > :first-child{	
		border-color: hsl(0 0% 7% / .11) !important;
	}
	.wp-block-woocommerce-checkout{
		padding-top:0px;
	}
	.wc-block-components-product-metadata__description{
		display:none;
	}
/* 	 商品详情页下面小图片展示*/
	.gallery-navigation-carousel .wcgs-thumb{
		width:45px !important
	}
/* 	 商品详情左上角的sale标签*/
	.onsale{
		display:none;
	}
/* 商品详情左上角的new标签	 */
	.woosticker_new{
		display:none;
	}
/* 	 购物车图标大小*/
	.wc-block-mini-cart__button{
		font-size:16px;
	}
	.wp-container-core-group-is-layout-c1740a5a,.wp-container-core-group-is-layout-fc054d2d{
		gap:0px;
	}
	#wpgs-gallery{
		margin-bottom:10px;
	}
/* 1尺寸 */
	.wp-container-core-columns-is-layout-28f84493 .sku{
		font-weight:bold;
		color:red;
	}
	
	.wc-block-components-product-price .woocommerce-Price-amount{
		padding-right:10px;
	}
	
/* 	 buy 按钮*/
	#floating-buy-btn{
		position:absolute !important;
		padding: 8px 60px;
   width: auto !important;;
    height: auto !important;;
/*     top: 60% !important;; */
    font-size: 14px !important;;
    font-weight: bold !important;;
    background: #1e1e1e !important;;
		box-shadow:0 4px 12px rgb(0 0 0 / 60%) !important;
		bottom:120px !important;
	}
	
	.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name, table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name{
		    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: calc(100vw - 160px);
	}
	.wc-block-cart-item__total {
		display:none;
	}
/* 	1商品详情Description模块 */
	html body .wp-block-woocommerce-product-details.is-style-minimal ul.tabs.wc-tabs li a{
		padding:0px 1em;
	}
	body, p, .entry-content{
		padding-top:0px;
	}
	.wp-block-woocommerce-product-details{
		margin-block-start:0px;
	}
	.sd-sharing{
		margin-bottom:0px;
	}
	.woocommerce-tabs{
		padding-top:0px;
	}
	footer .alignwide{
		padding-top:0px !important;
		padding-bottom:0px !important;
	}
	
/* 	1checkout页面 */
	:root :where(.is-layout-constrained) > *{
		margin-block-start:0px;
	}
	.wc-block-components-sidebar{
		margin-top:0px;
	}
	h1{
		font-size:24px !important;
	}
	h2{
		font-size:20px !important;

	}
	.wp-block-site-title{
				font-weight:bold;
	}
	footer .wp-block-heading{
		font-size: var(--wp--preset--font-size--large) !important;
	}
	
	.product{
	margin-block-start:0px!important
	}
	.product .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid{
		grid-template-columns: 1fr 1fr;
	}
	
	.product .wp-block-group-is-layout-constrained{
	margin-top:0px !important
}
.product .wp-block-woocommerce-product-button{
	padding:0px !important
}
	.product .wp-block-post-title a , .woocommerce ul.products li.product h2.woocommerce-loop-product__title{
width: 100%; /* 或固定宽度（如300px）*/
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important; /* 关键：限制行数 */
  -webkit-box-orient: vertical !important; /* 关键：垂直排列 */
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: break-word !important;
  line-height: 1.5; /* 明确行高（根据设计调整）*/
  max-height: calc(1.5em * 2); /* 备用：行高 × 行数 */
		font-size:12px !important;
	}
	.woocommerce ul.products{
		display:grid;
		gap:50px;
		grid-template-columns: 1fr 1fr;
	}
	.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product{
		        width: 100%;
		float:none;
		margin:0px!important
	}
	.woocommerce ul.products::after, .woocommerce ul.products::before, .woocommerce-page ul.products::after, .woocommerce-page ul.products::before{
		display:none;
	}
	
	.archive .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid{
		grid-template-columns:1fr 1fr;
	}
	.archive .has-global-padding{
		margin-top:0px!important
	}
	.archive .wp-block-query-title{
		margin:10px 0px;
	}
}

	.archive  .wp-block-button.wc-block-components-product-button{
	padding-left:0px!important;
		padding-right:0px !important;
}

.product-template-default .wcpay-express-checkout-wrapper{
	margin:1em 0;
}

/* 强制容器变为纵向排列 */
.single-product .cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

/* Add to Cart 按钮占整行 */
.single_add_to_cart_button {
    width: 100% !important;
    display: block !important;
    margin-bottom: 10px !important;
}

/* Express Checkout 区块占整行 */
#cpsw-payment-request-wrapper,
#cpsw-payment-request-custom-button {
    width: 100% !important;
    display: block !important;
    clear: both !important;
    margin-top: 10px !important;
}
.wp-block-woocommerce-product-details {
    position: relative;
    z-index: 1;
}


/*  隐藏商品通知条*/
.woocommerce-store-notice {
	display:none !important;
}

/* 整个 Related Products 区块 */
[data-collection="woocommerce/product-collection/related"] .sp-wqv-woocommerce-loop-product-buttons, .sp-wqv-woocommerce-loop-product-buttons{
align-items: stretch;
	gap:10px;
	flex:1;
}
[data-collection="woocommerce/product-collection/related"] .sp-wqv-view-button , .sp-wqv-woocommerce-loop-product-buttons .sp-wqv-view-button{
	background-color: var(--wp--preset--color--primary) !important;
	
	background-color: var(--wp--preset--color--primary) !important;
	margin:0px !important;
	  display: flex !important;
  align-items: center;     /* 垂直居中 */
  justify-content: center;
}
a[data-wp-on--click="woocommerce/product-collection::actions.viewProduct"] {
 display: -webkit-box; /* 旧版 Flexbox 兼容模式 */
  -webkit-box-orient: vertical; /* 垂直方向排列 */
  -webkit-line-clamp: 2; /* 限制显示 2 行 */
  overflow: hidden; /* 超出部分隐藏 */
  text-overflow: ellipsis; /* 超出部分显示省略号 */
  word-break: break-word; /* 防止长单词溢出 */
}
[data-collection="woocommerce/product-collection/best-sellers"] .wp-block-woocommerce-product-button{
	flex:1;
}
[data-collection="woocommerce/product-collection/best-sellers"] .wp-block-woocommerce-product-button button{
	padding:0px;
	width:100% !important;
}


.relatedProductsDiv{ gap:10px;}
.relatedProductsDiv a{
	flex:0 0 calc((100% - 20px) / 3)
}
.relatedProductsDiv a img{
	width:100% !important;
}

div[data-block-name="woocommerce/customer-account"][data-display-style="icon_only"] {
  display: none !important;
}