/*
Theme Name: Worly Theme 022
Theme URI: 
Description: 
Version: 1.1
Author: 
Author URI: 
Tags: 
*/



/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	font-family: 'PT Sans';
	font-weight: 400; 
	font-size: 14px;
}
ol, ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
h1,h2,h3,h4,h5,p { margin: 10px 0; }
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.container { width: 990px; margin: 0 auto; }
/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
	display: block;
}



header { padding-top: 16px; }
.logo { width: 235px; float: left; text-align: center; padding-top: 12px; }
.logo img { max-width: 100%; display: inline-block; height: auto; }
.top_right_cont { width: 735px; float: right; }
.banner_top img { max-width: 100%; display: block; height: auto; }
.main_menu { float: left; padding: 10px 0 0; margin-left: 20px; }
.main_menu li { display: inline-block; }
.main_menu li::after { content: ' | '; color: #dc545a; font-weight: 700; margin: 0 24px; }
.main_menu li a { font-size: 16px; color: #00377b; text-transform: uppercase; text-decoration: none; font-family: 'PT Sans Narrow'; }
.main_menu li a:hover, .acc_cart a:hover  { color: #25aae1; }


.mobile_menu { display: none; float: left; }
.mobile_menu i { font-size: 32px; color: #ED1C24; cursor: pointer; }
.mobile_menu i:hover, .mobile_menu i:focus { color: #fbaa28; }
.stopper { position: relative; }
.stopper .slicknav_menu { display: none; background: #212B41; padding: 0; position: absolute; width: 100%; left: 0; }
.stopper .slicknav_btn { display: none; }
.stopper .slicknav_nav li a { padding: 12px 18px; margin: 0; }
.stopper .slicknav_nav li a:hover { border: none; border-radius: 0; background: #81A9FF; color: #fff; }



.acc_cart { float: right; text-align: right; }
.acc_cart a { text-decoration: none; color: #00377b; display: block; font-size: 16px; font-family: 'PT Sans Narrow'; }
.link_cart { position: relative; }
.link_cart::before { position: absolute; content: ''; left: -25px; background: url('images/cart.png')no-repeat top center; min-height: 16px; width: 16px; }



.home_content { margin-top: 5px;  margin-bottom: 15px;  }
.slider img { max-width: 100%; display: block; height: auto; }
.left_sidebar { width: 235px; float: left; }
.side_box { margin-bottom: 10px; }
.side_box.last { margin-bottom: 0;  margin-top: 15px; }
.quick_search { background: #cf171f; padding: 10px 12px; }
.quick_search h3 { font-weight: 700; font-size: 28px; color: #fff200; text-align: center; text-transform: uppercase; }
.sc_box_half { float: left; width: 99px; background: #fff; border-radius: 5px; padding: 10px; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
.sc_box_half.last { float: right; }
.sc_box { margin-top: 8px; }
.sc_box label {
  color: #00377b;
  display: inline-block;
  font-family: "PT Sans Narrow";
  font-size: 16px;
  vertical-align: middle;
}
.chckbx-btn {
  color: #06377b;
  display: inline-block;
  font-size: 26px;
  margin-left: 10px;
  vertical-align: middle;
}
.sc_box select, .sc_box option { font-size: 15px; color: #00377b; font-family: 'PT Sans Narrow'; }
.sc_box_half input { margin-left: 10px; }
.sc_box select { width: 100%; padding: 0 8px; font-family: 'PT Sans Narrow'; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; height: 38px; border: none; border-radius: 5px; }
.quick_search input[type="submit"] {
  background: #06377b none repeat scroll 0 0;
  border: medium none;
  border-radius: 5px;
  color: #fff200;
  cursor: pointer;
  display: block;
  font-family: "PT Sans Narrow";
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  margin: 0 auto;
  padding: 5px;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}
.side_box img { max-width: 100%; display: block; height: auto; }


.part_categories { background: #f8dcde; cursor:pointer;}
.part_categories h3 {
  background: #cf171f none repeat scroll 0 0;
  color: #fff;
  font-family: "PT Sans Narrow";
  font-weight: 700;
  line-height: 1;
  margin: 0;
  padding: 5px 10px;
}
.side_box li a { text-decoration: none; display: block; color: #06377b;  padding: 3px 10px 2px; position: relative; font-family: 'PT Sans Narrow'; }
.side_box li a::after { background: url('images/list-blue.png')no-repeat top center; width: 11px; height: 11px; content: ''; font-family: 'FontAwesome'; position: absolute; right: 15px; }
.side_box li a:hover, .side_box li a:focus { color: #ed1c24; }
.side_box li { border-bottom: 1px solid #06377b; }
.side_box li .sub-cat { margin-left: 25px; display: none; }
.side_box li .sub-cat li { border: none; list-style-image: url('images/red-arr.png');  }
.side_box li .sub-cat li a { padding: 3px 0; }
.side_box li .sub-cat li a:after { display: none; }
.side_box li a.active::after { background: url('images/blue-active.png')no-repeat top center; }


.manufacturer_categories { background: #dae1eb;cursor:pointer; }
.manufacturer_categories h3 { background: #06377b; font-weight: 700; color: #fff; margin: 0; /*padding: 1px 15px 3px 10px;*/   padding: 5px 10px; font-family: 'PT Sans Narrow'; }



.right_content { width: 735px; float: right; }
.featured_prod { overflow: hidden; margin-top: 10px; }
.ft_col, .sc_col { border: 1px solid #d2d3d5; width: 168px; text-align: center; float: left; margin-right: 18px; margin-bottom: 18px; }
.ft_col:nth-child(4n), .sc_col:nth-child(4n)  { margin-right: 0; }
.ft_col h3, .sc_col h3, .products .product h3 { margin: 0; font-weight: 700; color: #231f20;  }
.ft_col h3 a, .products .product a { color: #231f20; text-decoration: none;  }
.ft_col p, .sc_col p, .products .product p { margin: 0 0 12px; line-height: 1.5em; }
.ft_inner, .sc_inner { padding: 10px 10px 8px;  }
.ft_img, .sc_img { height: 120px; display: table; width: 100%; }
.ft_img a, .sc_img span { vertical-align: middle; display: table-cell; }
.ft_img img, .sc_img img { display: block; height: auto; margin: 0 0 15px; max-width: 100%; width: 100%; }
.buy_now {
    margin: 12px 0 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.buy_now a { vertical-align: bottom; color: #fff; font-size: 27px; background: #ed1c24; font-family: 'Luckiest Guy'; text-decoration: none; padding: 10px 12px; display: inline-block; transition: 0.3s all ease 0s; -moz-transition: 0.3s all ease 0s; -webkit-transition: 0.3s all ease 0s; }
.buy_now a:hover { background: #fbaa28; transition: 0.3s all ease 0s; -moz-transition: 0.3s all ease 0s; -webkit-transition: 0.3s all ease 0s; }
.buy_now a span { font-size: 15px; color: #fff200; position: relative; /*top: -3px;*/ vertical-align: middle; }
.buy_now a span.amount { color: #fff; display: inline-block; font-size: 27px; line-height: 1; vertical-align: middle; }
.view_item a { color: #231f20; text-decoration: none; font-size: 12px; font-weight: 700; }
.view_item a:hover { color: #06377b; }

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { position: relative; margin: 0 2% 18px 0; padding: 10px 10px 50px 10px; width: 20.5%; box-sizing: border-box; clear: none; }
.woocommerce ul.products li.last, .woocommerce-page ul.products li.last { margin-right: 0; }
.woocommerce ul.products li.product h3 { padding: 0; }
h2.search-title { color: #cf171f; font-size: 24px; margin: 50px 0 25px; }
h2.search-title small { color: #06377b; }
.select2-container .select2-choice {   border-color: #06377b; }
.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current {
    background: #ed1c24;
    color: #fff;
}

.budget_price { min-height: 244px; }
.budget_price img { max-width: 100%; display: block; height: auto; }
.bp_col { width: 220px; float: left; margin-left: 36px; }
.bp_col.first { margin-left: 0; }
.bp_col .widget-box h3 { color: #231f20; font-weight: 700; font-size: 18px; }
.bp_col p, .bp_col .widget-box { font-size: 15px; color: #231f20; line-height: 1.5em; margin-bottom: 0; }
.bp_col a { text-decoration: none; color: #1b75bc; font-size: 15px; margin: 3px 0 0; display: inline-block; }
.bp_col a:hover { color: #06377b; font-weight: 700; }


.advert { margin: 23px 0 5px; }
.advert img { max-width: 100%; display: block; height: auto; }



.footer { background: #06377b; min-height: 119px; }
.footer_cont { padding: 8px 10px 6px 35px }
.footer_col { float: left; width: 152px; color: #fff200; margin-left: 20px; }
.footer_menu li a { text-decoration: none; color: #fff200; font-weight: 700; font-size: 12px; text-transform: uppercase; }
.footer_menu li, .footer_col li { margin-top: 3px; }
.footer_col li a { text-decoration: none; color: #fff200; font-size: 12px;  }
.footer_col h3 { font-weight: 700;  font-size: 12px; color: #fff200; text-transform: uppercase; margin: 3px 0 0; }
.footer_col p { font-size: 12px; color: #fff200; margin: 0; line-height: 1.5em; }
.footer_menu li a:hover, .footer_col li a:hover { color: #fbaa28; }


/*page*/
h1.page_title { color: #00377b; text-transform: uppercase; font-family: 'PT Sans Narrow'; font-weight: 700; font-size: 24px; }
.page_cont { margin-top: 10px; }
.page_cont h2 { font-weight: 700; color: #231f20; font-size: 29px; margin: 20px 0 15px; }
.page_cont img { max-width: 100%; display: block; height: auto; }
.page_cont p { font-size: 15px; line-height: 1.5em; color: #231f20; }
.page_cont a { color: #00377b; }



/*contact*/
.contact_cont { border-top: 1px solid #d1d1d1; border-bottom: 1px solid #d1d1d1; padding: 25px 0 45px; position: relative; }
.contact_form { border: 1px solid #ccccca; }
.fc_box label { display: block; margin-bottom: 5px; color: #626264; font-family: 'PT Sans Narrow'; font-size: 14px; }
.fc_box label sup { color: #cf171f; }
.c_title { font-weight: 700; background: #000; color: #fff; display: inline-block; padding: 2px 8px 3px; margin: 0 0 0 20px; position: relative; top: -10px; }
.form_cont { width: 500px; padding: 10px 30px 50px; }
.fc_box.half { width: 240px; float: left; }
.fc_box.last { float: right; }
.fc_box input[type=text], .fc_box input[type=email] { padding: 0 10px; width: 100%; color: #626264; font-family: 'PT Sans Narrow'; font-size: 14px; height: 24px; border: 1px solid #c7c7c5; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
.fc_box { margin-bottom: 10px; }
.fc_box textarea { width: 100%; padding: 10px; height: 110px; color: #626264; font-family: 'PT Sans Narrow'; font-size: 14px; border: 1px solid #c7c7c5; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
.fc_box input[type="submit"] { background: #000; color: #fff; border: none; font-weight: 700; height: 22px;	width: 65px; cursor: pointer; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
.fc_box input[type="submit"]:focus { background: #666666; }
#cc_btn,.wpcf7-submit {
	margin: 15px 0px 0px 20px;
    padding: 7px 40px 7px 40px;
    font-size: 20px;
    text-transform: uppercase;
    color: #ffe400;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    background-color: #08387a;
    border: medium none;
    font-family: 'PT Sans';
}
.spacer20 { height: 20px; }
span.phone_num { display: block; text-align: center; padding: 10px 0 0; font-size: 41px; font-family: 'PT Sans Narrow';	font-weight: 700; color: #cf171f; }
span.phone_num a { color: #cf171f; text-decoration: none; }
span.phone_num a:hover { color: #fbaa28; }
.wpcf7-recaptcha {
    float: left;
}



/*category*/
h3.cat_title, .sub_category h1  { font-size: 31px; color: #00377b; font-family: 'PT Sans Narrow'; font-weight: 700; margin: 8px 0; }
.num_items { font-family: 'PT Sans Narrow'; font-size: 18px; color: #00377b; }
.sub_cont { margin: 10px 0 35px; overflow: hidden; }
.sub_category { margin-top: 50px; }
.sub_banner img { max-width: 100%; display: block; height: auto; }

ul.products li { border: 1px solid #d2d3d5; display: inline-block; margin-bottom: 18px; margin-right: 18px; padding: 10px 10px 8px; text-align: center; width: 168px; }
ul.products li img { max-width: 100%; display: block; height: auto; }



/*single product*/
.single_prod_cont { margin-top: 10px; }
.single_prod_img { width: 333px; border: 2px solid #d7d8da;  float: left; }
.single_prod_wrap { text-align: center; padding: 10px 10px 15px; }
.single_prod_wrap img { max-width: 100%; display: block; height: auto; }
.single_prod_title h1 { font-size: 27px; color: #231f20; margin: 0; font-weight: 700; }
.single_prod_title p { font-size: 27px; color: #231f20; margin: 0; line-height: 1.3em; }



.home_content .summary.entry-summary { width: 375px; float: right; padding-top: 10px; }
.single_prod_text h1 {  font-size: 31px; color: #00377b; font-family: 'PT Sans Narrow'; font-weight: 700; }
.product_code, .product_type { color: #00377b; font-size: 18px; color: #00377b; font-family: 'PT Sans Narrow'; line-height: 1.2em; }
.single_prod_buy_now { margin: 20px 0; }
.single_prod_buy_now a  { background: #ed1c24; text-decoration: none; font-family: 'Luckiest Guy'; font-weight: 400; width: 100%; display: inline-block; text-align: center; padding: 8px 0; transition: 0.3s all ease 0s; -webkit-transition: 0.3s all ease 0s; -moz-transition: 0.3s all ease 0s; }
.single_prod_buy_now a span { color: #fff200; font-size: 73px;  }
.single_prod_buy_now a:hover { background: #fbaa28; transition: 0.3s all ease 0s; -webkit-transition: 0.3s all ease 0s; -moz-transition: 0.3s all ease 0s; }
.single_prod_buy_now a span.bn_btn { font-size: 40px; color: #fff; position: relative;	top: -10px; margin-right: 10px; }
.save_direct { font-size: 30px; color: #00377b; font-family: 'Luckiest Guy'; text-align: center; line-height: 1.2em; }
.prod_img { height: 250px; display: table; width: 100%; }
.prod_img span { display: table-cell; vertical-align: middle; }



.woocommerce ul.products li.product:nth-child(2n), .woocommerce-page ul.products li.product:nth-child(2n) {
	float: left;	
}
.woocommerce div.product div.images { display: block; float: none; width: auto; }


.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { border: 1px solid; border-radius: 5px; color: #06377b; font-size: 14px; padding: 10px; }
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: #1E5DA0; color: #fff; }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: #06377b none repeat scroll 0 0; color: #fff; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { background: #cf171f none repeat scroll 0 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: #ed1c24 none repeat scroll 0 0; }
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: #cf171f; }
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: #ed1c24; }
#order_comments { height: 150px; }

.c_title-conatct{
    color: #06377b;
    padding: 15px 0px 0px 30px;
    font-size: 25px;
}

.telephone-box-contact-form{
	clear:both;	
}

.wpcf7-text{
    width: 235px;
    margin-right: 10px;
}
.wpcf7-textarea{
	width: 485px;
}
.arrow-parts{
	float:right;
}
.arrow-cars{
	float:right;
}
.hide{
	display:none;	
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
.manufacturer_categories h3{
	font-size:14px;
}
.part_categories h3{
	font-size:14px;
}
}

@media only screen and (min-width: 768px) and (max-width: 989px) {

	.container { width: 748px; }
	.main_menu { display: none; }
	.mobile_menu { display: block;clear:both; }
	.stopper .slicknav_menu { display: block; }

	.top_right_cont, .right_content { width: 540px; }
	.logo, .left_sidebar { width: 190px; }
	.sc_box_half { width: 78px; }

	.ft_col, .sc_col { margin-right: 14px; width: 122px; }

	.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .woocommerce-page[class*=columns-] ul.products li.product { width: 44%; margin-right: 0; }
	.ft_col, .sc_col { margin-right: 5%; width: 45%; }
	.ft_col:nth-child(2n), .sc_col:nth-child(2n) { margin-right: 0; }
	.ft_col:nth-child(2n+3), .sc_col:nth-child(2n+3) { clear: left; }


	.bp_col { width: 162px; margin-left: 27px; }
	.footer_col { width: 100px; }
	.footer_cont { padding: 8px 10px 6px 0; }


	.form_cont { width: auto; }
	.fc_box.half { width: 230px; }
	span.phone_num { font-size: 30px; }


	.single_prod_img { width: 235px; }
	.home_content .summary.entry-summary { width: 290px; }
	.prod_img { height: 205px; }
	.single_prod_title p, .single_prod_title h1 { font-size: 20px; }
	.single_prod_buy_now a span { font-size: 50px; }
	.single_prod_buy_now a span.bn_btn { font-size: 32px; top: -5px; }
	.save_direct { font-size: 24px; }
/*	.arrow-parts {
		position: relative;
		right: -45px;
	}
	.arrow-cars {
		position: relative;
		right: -52px;
	}
*/
}

@media only screen and (max-width: 767px) {
	.container { width: auto; padding: 0 10px; }
	.main_menu { display: none; }
	.mobile_menu { display: block; }
	.stopper .slicknav_menu { display: block; }
	.menu_cont { padding: 10px 0; }
	.logo { float: none; padding: 0; margin: 0 auto; }
	.top_right_cont { width: auto; float: none; }	
	.left_sidebar { float: none; margin: 0 auto 50px; }
	.search_cont { width: 210px; margin: 0 auto; }
	.side_ad { text-align: center; }
	.side_box img { display: inline-block; }
	.right_content { width: auto; float: none; }
	.ft_col, .sc_col  { width: 48%; margin: 0 0 20px; }
	.ft_col:nth-child(2n), .sc_col:nth-child(2n) { float: right; clear: right; }
	.ft_col:nth-child(2n+1), .sc_col:nth-child(2n+1) { clear: left; }
	.ft_img, .sc_img { text-align: center; }
	.ft_img img, .sc_img img { display: inline-block; }
	.bp_col { width: auto; float: none; margin: 0 auto 30px; }
	.footer_col { float: none; width: auto; margin: 0 auto 30px; }
	.footer_cont { padding: 20px 30px 10px; }
	.footer_col h3 { margin: 10px 0; }
	.footer_col li a, .footer_col h3, .footer_col p { font-size: 14px; }
	.footer_menu li, .footer_col li { margin-bottom: 10px; }
	.footer_col li a, .footer_menu li a { display: block; }

	.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .woocommerce-page[class*=columns-] ul.products li.product, .woocommerce[class*=columns-] ul.products li.product { width: 100%; margin: 0 0 20px; box-sizing: border-box; }


	.form_cont { width: auto; padding: 10px 20px; }
	.fc_box.half { width: auto; float: none; }
	#cc_btn { position: static; } 
	span.phone_num { font-size: 30px; }
	h3.cat_title, .sub_category h1 { font-size: 24px; }


	.single_prod_img { width: auto; float: none; }
	.single_prod_wrap img { display: inline-block; }
	.home_content .summary.entry-summary { width: auto; float: none; }
	.single_prod_buy_now a { width: auto; padding: 10px 20px;  }
	.single_prod_buy_now a span { font-size: 50px; }
	.single_prod_buy_now a span.bn_btn { font-size: 32px; top: -5px; }
	.single_prod_cont { margin-top: 40px; }

	.ft_col, .sc_col { float: none !important; width: auto; }

/*	.arrow-parts {
		position: relative;
		right: -90px;
	}
	.arrow-cars {
		position: relative;
		right: -27px;
	}
*/}


@media only screen and (max-width: 480px) {
	.left_sidebar { width: auto; }
	.search_cont  { width: auto; }
	.sc_box_half { width: 48%; }
	/*	.arrow-parts {
		position: relative;
		right: 0px !important;
		float:right;
	}
	.arrow-cars {
		position: relative;
		right: 0px !important;
		float:right;
	}*/
   a[href^=tel] { color: #fff; text-decoration: none; }

}
 
.return-to-shop{
	display:none;	
}
.fb-page{
	margin-top:15px;	
}


/*-----------search-box CSS----------*/

.banner_top img { width:50% ; float:left; display: block; height: auto; }

.banner_top{
	width:100%;
	height:auto;	
}

.search-box{
	margin-left:2%;
	width:48%;
	position:relative;
    float: right;
	
}

.search-box input{
    background: #fff none repeat scroll 0 0;
    border: 1px solid #06377b;
    border-radius: 3px;
    color:#06377b !important;
    font-size: 16px;
    padding:7px;
    width:100%;
	padding-right:25px;
	font-family: 'PT Sans Narrow';
	
}

.search-icon{
 	position:absolute;
	top:11px;
	right:6px;
	color:#06377b;
 }

@media only screen and (min-width: 768px) and (max-width: 989px) {
	.banner_top img { min-width:71%;
	 float:left;
	  display: block;
	   height: auto;
}
	
.search-box{
	margin-left:2%;
	width:27%;
	position:relative;
    float: left;
	
}
}

@media only screen and (max-width: 767px) {
		.banner_top img {min-width:52%;
	 float:left;
	  display: block;
	   height: auto;
}	
.search-box{
 	margin-left:2%;
	width:46%;
	position:relative;
    float: left;
	
}
}

@media only screen and (max-width: 480px) {
.banner_top img{ width:100%; display: block; margin:0 auto;}
		
.search-box{
	margin-top:15px;
	margin-left:0;
	width:100%;
	position:relative;
    float: left;
	
}
.buy_now a span.amount {
    font-size: 20px;
}
}
#part_categories-close .rotate {
  transform: rotate(180deg);
}
#manufacturer_categories .rotate {
  transform: rotate(180deg);
}


/*********New CSS**************/

@media (min-width: 768px) {
    /* 相关产品 */
    .single-product section.related.products{
        clear: both;
    }
    .single-product section.related.products ul.products {
        display: flex;
        gap: 15px;
    }
    .single-product section.related.products ul.products:before,
    .single-product section.related.products ul.products:after {
        content: '';
        display: none;
    }
    .single-product section.related.products ul.products li.product {
        margin: 0;
        padding: 0;
        width: unset;
        flex: 1;
        height: fit-content !important;
    }
    .single-product section.related.products ul.products li.product img{
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
    .single-product section.related.products ul.products li.product h2{
        /* 最大两行 */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        line-height: 1.7;
        line-clamp: 2;
        box-orient: vertical;
    }
    .single-product section.related.products ul.products li.product .buy_now{
        margin: 0;
        position: unset;
    }
}
/* 产品相册 */
#wpgs-gallery.wcgs-woocommerce-product-gallery .wcgs-carousel {
	max-height: 400px;
}

#wpgs-gallery .swiper-wrapper .wcgs-slider-image img{
	height: 400px;
    overflow: hidden;
    object-fit: cover;
}

/* 产品tabs */
.woocommerce-tabs.wc-tabs-wrapper {
	clear: both;
    margin: 20px 0;
    border: 1px solid #d2d3d5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.woocommerce-tabs.wc-tabs-wrapper .tabs.wc-tabs {
	display: flex;
	flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #f8f9fa;
    border-bottom: 1px solid #d2d3d5;
}

.woocommerce-tabs.wc-tabs-wrapper .tabs.wc-tabs li {
    margin: 0;
    position: relative;
}

.woocommerce-tabs.wc-tabs-wrapper .tabs.wc-tabs li a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #06377b;
    font-family: 'PT Sans Narrow';
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border-right: 1px solid #d2d3d5;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

.woocommerce-tabs.wc-tabs-wrapper .tabs.wc-tabs li:last-child a {
    border-right: none;
}

.woocommerce-tabs.wc-tabs-wrapper .tabs.wc-tabs li a:hover {
    background: #e9ecef;
    color: #ed1c24;
}

.woocommerce-tabs.wc-tabs-wrapper .tabs.wc-tabs li.active a {
    background: #fff;
    color: #ed1c24;
    border-bottom-color: #ed1c24;
    margin-bottom: -1px;
}

.woocommerce-tabs.wc-tabs-wrapper .tabs.wc-tabs li.active a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: #fff;
}

.woocommerce-tabs.wc-tabs-wrapper .panel.wc-tab {
    padding: 25px;
    border: none;
    background: #fff;
    margin: 0;
}

.woocommerce-tabs.wc-tabs-wrapper .panel.wc-tab h2 {
    color: #06377b;
    font-family: 'PT Sans Narrow';
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ed1c24;
    display: inline-block;
}

.woocommerce-tabs.wc-tabs-wrapper .panel.wc-tab p {
    color: #231f20;
    line-height: 1.6;
    margin-bottom: 15px;
}

.woocommerce-tabs.wc-tabs-wrapper .panel.wc-tab table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.woocommerce-tabs.wc-tabs-wrapper .panel.wc-tab table th,
.woocommerce-tabs.wc-tabs-wrapper .panel.wc-tab table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.woocommerce-tabs.wc-tabs-wrapper .panel.wc-tab table th {
    background: #f8f9fa;
    color: #06377b;
    font-family: 'PT Sans Narrow';
    font-weight: 700;
    text-transform: uppercase;
}

.woocommerce-tabs.wc-tabs-wrapper .panel.wc-tab table tr:nth-child(even) {
    background: #f8f9fa;
}

/* 响应式设计 */
@media only screen and (max-width: 767px) {
    .woocommerce-tabs.wc-tabs-wrapper .tabs.wc-tabs {
        flex-direction: column;
    }
    
    .woocommerce-tabs.wc-tabs-wrapper .tabs.wc-tabs li a {
        border-right: none;
        border-bottom: 1px solid #d2d3d5;
        text-align: center;
    }
    
    .woocommerce-tabs.wc-tabs-wrapper .tabs.wc-tabs li:last-child a {
        border-bottom: none;
    }
    
    .woocommerce-tabs.wc-tabs-wrapper .tabs.wc-tabs li.active a {
        border-bottom: none;
        border-left: 3px solid #ed1c24;
        margin-bottom: 0;
    }
    
    .woocommerce-tabs.wc-tabs-wrapper .panel.wc-tab {
        padding: 20px 15px;
    }
}

/* 产品详情页 购物车表单布局 */
.woocommerce div.product form.cart {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0;
}
.woocommerce div.product form.cart::after,
.woocommerce div.product form.cart::before{
    display: none;
}

.quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.quantity input {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid #d2d3d5;
    border-radius: 5px;
}

.quantity input:focus {
    outline: none;
}

/* 数量选择器包装容器 */
.quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #d2d3d5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    width: fit-content;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 40px;
}

.quantity-wrapper .quantity {
    margin: 0;
    gap: 0;
}

.quantity-wrapper .quantity input {
    border: none;
    border-radius: 0;
    height: 40px;
    width: 70px;
    font-size: 16px;
    font-family: 'PT Sans';
    color: #06377b;
    font-weight: 600;
    background: #fff;
}

.quantity-wrapper .quantity input:focus {
    outline: none;
    box-shadow: inset 0 0 3px rgba(237, 28, 36, 0.3);
}

/* 数量按钮样式 */
.qty-btn {
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #06377b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    user-select: none;
}

.qty-btn:hover {
    background: #06377b;
    color: #fff;
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-btn.qty-minus {
    border-right: 1px solid #d2d3d5;
}

.qty-btn.qty-plus {
    border-left: 1px solid #d2d3d5;
}
.single-product form.cart .quantity-wrapper .quantity{
    margin: 0 !important;
    gap: 0;
}
.single-product form.cart .input-text.qty.text{
    width: 3em;
}
/* 去掉数量输入框 旁边小箭头*/
.single-product form.cart .input-text.qty.text::-webkit-outer-spin-button,
.single-product form.cart .input-text.qty.text::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart 按钮样式优化 */
.woocommerce div.product form.cart .single_add_to_cart_button {
    height: 40px;
    padding: 0 25px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    white-space: nowrap;
    min-width: 150px;
    flex-shrink: 0;
}
/* 价格样式 */
.price-wrapper {
    margin: 20px 0 0;
    display: inline-block;
    position: relative;
    overflow: hidden;
    line-height: 1.2;
}

/* 基础价格金额样式 */
.price-wrapper .woocommerce-Price-amount {
    display: inline-flex;
    align-items: baseline;
    font-family: 'PT Sans Narrow';
    font-weight: 700;
    line-height: 1;
    margin: 0;
}

.price-wrapper .woocommerce-Price-amount bdi {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

/* 单一价格（无促销）*/
.price-wrapper .woocommerce-Price-amount {
    color: #ed1c24;
    font-size: 28px;
}

.price-wrapper .woocommerce-Price-currencySymbol {
    font-size: 20px;
    font-weight: 600;
}

/* 原价样式（删除线） */
.price-wrapper del .woocommerce-Price-amount {
    color: #999;
    font-size: 20px;
    text-decoration: line-through;
    text-decoration-color: #666;
    text-decoration-thickness: 2px;
    opacity: 0.8;
    margin-right: 10px;
}

.price-wrapper del .woocommerce-Price-currencySymbol {
    font-size: 16px;
}

/* 现价样式（促销价） */
.price-wrapper ins .woocommerce-Price-amount {
    color: #ed1c24;
    font-size: 32px;
    text-decoration: none;
    background: linear-gradient(135deg, #ed1c24, #cf171f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* 为不支持背景剪切的浏览器提供后备 */
.price-wrapper ins .woocommerce-Price-amount {
    color: #ed1c24;
}

.price-wrapper ins .woocommerce-Price-currencySymbol {
    font-size: 24px;
    font-weight: 700;
}

/* 促销标识 */
.price-wrapper ins::before {
    content: '促销价';
    position: absolute;
    top: -18px;
    left: 0;
    font-size: 10px;
    color: #fff;
    background: #ed1c24;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'PT Sans';
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

/* 隐藏屏幕阅读器文本 */
.price-wrapper .screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* 大号价格修饰符 */
.price-wrapper.large .woocommerce-Price-amount {
    font-size: 36px;
}

.price-wrapper.large .woocommerce-Price-currencySymbol {
    font-size: 28px;
}

.price-wrapper.large del .woocommerce-Price-amount {
    font-size: 24px;
}

.price-wrapper.large del .woocommerce-Price-currencySymbol {
    font-size: 18px;
}

.price-wrapper.large ins .woocommerce-Price-amount {
    font-size: 42px;
}

.price-wrapper.large ins .woocommerce-Price-currencySymbol {
    font-size: 32px;
}

/* 产品列表中的小号价格 */
.price-wrapper.small .woocommerce-Price-amount {
    font-size: 20px;
}

.price-wrapper.small .woocommerce-Price-currencySymbol {
    font-size: 16px;
}

.price-wrapper.small del .woocommerce-Price-amount {
    font-size: 16px;
}

.price-wrapper.small del .woocommerce-Price-currencySymbol {
    font-size: 12px;
}

.price-wrapper.small ins .woocommerce-Price-amount {
    font-size: 24px;
}

.price-wrapper.small ins .woocommerce-Price-currencySymbol {
    font-size: 18px;
}

.price-wrapper.small ins::before {
    font-size: 8px;
    padding: 1px 4px;
    top: -14px;
}

/* 响应式设计 */
@media only screen and (max-width: 767px) {
    .price-wrapper .woocommerce-Price-amount {
        font-size: 24px;
    }
    
    .price-wrapper .woocommerce-Price-currencySymbol {
        font-size: 18px;
    }
    
    .price-wrapper del .woocommerce-Price-amount {
        font-size: 16px;
        margin-right: 8px;
    }
    
    .price-wrapper del .woocommerce-Price-currencySymbol {
        font-size: 12px;
    }
    
    .price-wrapper ins .woocommerce-Price-amount {
        font-size: 28px;
    }
    
    .price-wrapper ins .woocommerce-Price-currencySymbol {
        font-size: 20px;
    }
    
    .price-wrapper.large .woocommerce-Price-amount {
        font-size: 28px;
    }
    
    .price-wrapper.large ins .woocommerce-Price-amount {
        font-size: 32px;
    }
}

@media only screen and (max-width: 480px) {
    .price-wrapper .woocommerce-Price-amount {
        font-size: 20px;
    }
    
    .price-wrapper .woocommerce-Price-currencySymbol {
        font-size: 16px;
    }
    
    .price-wrapper del .woocommerce-Price-amount {
        font-size: 14px;
        margin-right: 6px;
    }
    
    .price-wrapper del .woocommerce-Price-currencySymbol {
        font-size: 11px;
    }
    
    .price-wrapper ins .woocommerce-Price-amount {
        font-size: 24px;
    }
    
    .price-wrapper ins .woocommerce-Price-currencySymbol {
        font-size: 18px;
    }
    
    .price-wrapper ins::before {
        font-size: 8px;
        padding: 1px 3px;
        top: -12px;
    }
}


/* 响应式设计 */
@media only screen and (max-width: 767px) {
    .woocommerce div.product form.cart {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .quantity-wrapper {
        width: 100%;
        max-width: 200px;
        align-self: center;
    }
    
    .quantity-wrapper .quantity input {
        width: 60px;
    }
    
    .woocommerce div.product form.cart .single_add_to_cart_button {
        width: 100%;
        max-width: 300px;
        align-self: center;
    }
}

@media only screen and (max-width: 480px) {
    .quantity-wrapper {
        max-width: 180px;
    }
    
    .quantity-wrapper .quantity input {
        width: 50px;
    }
    
    .qty-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .quantity-wrapper .quantity input {
        height: 35px;
    }
    
    .woocommerce div.product form.cart .single_add_to_cart_button {
        height: 35px;
        font-size: 14px;
    }
}
