@charset "UTF-8";
@import "main.css";
/*@import "from.css";*/
/* @import "fonts/stylesheet.css"; */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/



.gt-lang-code {
	font-size: 10pt!important;
	top: 0px!important;
}

.gt-current-lang img {
	width: 20px!important;
	margin: 0 1px 0 0!important;
}

.gt-current-lang {
	padding: 4px 7px!important;
}

.gt_options a {
	font-size: 10pt!important;
	padding: 7px 9px!important;
}

.gt_options a img {
	width: 20px!important;
}

.gt_options {
	position: absolute!important;
	width: 125px!important;
	background: white!important;
	max-width: 125px!important;
}

.gt_float_switcher-arrow {
	height: 22px!important;
	background-size: 8px!important;
}

.gt_float_switcher{
    transition:none !important;
}


.gt_float_switcher {
	font-size: 12px !important;
	border-radius: 2px;
	color: #555;
	display: inline-block;
	line-height: 20px;
	box-shadow: rgba(0,0,0,0.15) 0 5px 15px;
	background: #fff;
	overflow: hidden;
	transition: all .5s cubic-bezier(0.4, 0, 1, 1);

}

.gt_float_switcher img {
	vertical-align: middle;
	display: inline-block;
	width: 33px;
	height: auto;
	margin: 0 5px 0 0;
	border-radius: 3px
}

.gt_float_switcher .gt_options {
	position: relative;
	z-index: 777;
	max-height: 250px;
	overflow-y: auto;
	transform: translateY(-30px);
	opacity: 0;
	cursor: pointer;
	transition: all .8s cubic-bezier(.3,1.1,.4,1.1)
}

.gt_float_switcher .gt_options a {
	display: block;
	text-decoration: none;
	padding: 10px 15px;
	color: #444;
	transition: color .4s linear
}

.gt_float_switcher .gt-selected {
	position: relative;
	z-index: 888;
	background-color: #fff;
	cursor: pointer;
	text-transform: uppercase;
	overflow: hidden;
}

.gt_float_switcher .gt_options.gt-open {
	opacity: 1;
	transform: translateX(0px)
}

.gt_float_switcher .gt_options::-webkit-scrollbar-track {
	background-color: #f5f5f5
}

.gt_float_switcher .gt_options::-webkit-scrollbar {
	width: 5px
}

.gt_float_switcher .gt_options::-webkit-scrollbar-thumb {
	background-color: #888
}

.gt_float_switcher .gt_options a:hover {
	background: var(--fs-color-primary) !important;
	color: #fff
}

.gt_float_switcher .gt_options a.gt-current {
	display: none
}

.gt_float_switcher .gt-selected .gt-current-lang {
	padding: 10px 15px;
	color: #333;
	font-weight: bold
}

.gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code {
	position: relative;
	top: 2px
}

.gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
	display: inline-block;
	height: 24px;
	width: 15px;
	vertical-align: middle;
	background-position: 50%;
	background-size: 11px;
	background-repeat: no-repeat;
	transition: all .3s;
	transform: rotate(-180deg)
}

.gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow.gt_arrow_rotate {
	transform: rotate(0deg)
}

.gt_float_switcher .gt_options.gt-open {
    opacity: 1;
    transform: translateX(0px);
    margin-top: 30px;
}

.badge-container {
  
	font-size:13px;

}

.badge-inner.secondary.on-sale {
  background: linear-gradient(135deg, #f7e7b3 0%, #e0b25a 50%, #d1a23c 100%);
  color: #4b2e05;
  font-weight: 600;
  font-size: 0.8em; /* 字体变小 */
  border-radius:0 6px 6px 0px;
  padding: 2px 8px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 3px rgba(255, 255, 255, 0.5),
              0 1px 4px rgba(0, 0, 0, 0.1);
}

/* 优雅底部扫光线条 */
.badge-inner.secondary.on-sale::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -30%;
  width: 30%;
  height: 2px; /* 改为细线，不遮挡文字 */
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,241,184,0.8) 50%, rgba(255,255,255,0) 100%);
  filter: blur(1px);
  animation: goldLineSweep 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes goldLineSweep {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translateX(200%);
    opacity: 0;
  }
}





.product-small .col-inner{
	border-radius:15px;
	overflow:hidden
}
.product-small .col-inner:hover {
    box-shadow: 1px 16px 50px #d5cfdb;
}


.tax-product_cat #main {
    background: #f8f5fb;
}

.has-equal-box-heights .box-image {
    padding-top: 100% !important;
}

.woocommerce-tabs {
/* 	display:none */
}

/*************** ADD CUSTOM CSS HERE.   ***************/
h1, h2, h3, h4, h5, h6 {
/*     letter-spacing:3px */
}
body{
font-family: "Poppins", sans-serif;
}

.post-sidebar h5.post-title{
    font-size: 13px;
    letter-spacing:0;
    text-transform: lowercase;
    font-family: "Poppins", sans-serif !important
}
.post-sidebar .section-title-container{
    margin-bottom: .5em;
}
.post-sidebar .post-item{
    padding-bottom: 5px;
}

/*相关文章*/
#at_posts_related h5.post-title{
    font-size: 16px;
    letter-spacing:0;
    text-transform: lowercase;
    font-weight: bold !important;
    font-family: "Poppins", sans-serif !important
}
#at_posts_related .box-text{
    text-align: left !important;
}
#at_posts_related .box-text p {
    font-size: 12px;
}
#at_posts_related .box-blog-post .is-divider{
    display: none;
}

/*文章页*/
.category .page-wrapper,
.single-post .page-wrapper {
    background-color: #f3f3f3 !important;
}
.single-post .page-wrapper #secondary,
.single-post .page-wrapper .large-9,
.category .page-wrapper #secondary,
.category .page-wrapper .large-9{
    padding: 30px !important;
    background: #fff;
    border-radius: 10px;
    box-shadow: 1px 1px 10px #e3e3e3;
}
.single-post .page-wrapper #secondary{
    padding: 10px;
}
/*渐变按钮*/
.btn-jb{
background: #9f2edf;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #9f2edf, #c935b2);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #9f2edf, #c935b2); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

/*商品详情*/
/* 隐藏浏览器滚动条 */
@media screen and (min-width: 850px){
    .vertical-thumbnails {
        overflow-x: hidden;
        overflow-y: auto;
    }
}
.product-template-default .entry-title{
    font-size: 200%;
    margin-top: 20px;
}
.product-template-default .price-on-sale *{
    color: var(--fs-color-primary);
}
.product-template-default .product-tabs{
/*     display: none; */
}
.product-template-default .ux-buy-now-button,
.product-template-default .single_add_to_cart_button{
    display: inline-block;
    border-radius: 40px;
    background: #9f2edf;
    background: -webkit-linear-gradient(to right, #9f2edf, #c935b2);
    background: linear-gradient(to right, #9f2edf, #c935b2);
}
.page-title-inner{
    display: none;
}

/*详情查看更多*/
.readmore-js-toggle{
    margin: 20px 0;
    color: var(--fs-color-primary);
}


.product-short-description{
    font-size: 13px;
}


.ux-swatch {
    align-items: center;
    box-shadow: 0 0 0 1px #d5d5d5;
    cursor: pointer;
    display: flex;
    justify-content: center;
    position: relative;
    white-space: nowrap;
    padding: 1px 6px;
    border-radius: 2px;
}

.add_to_cart_button{
	display: inline-block;

    background: #9f2edf !important;
    background: -webkit-linear-gradient(to right, #9f2edf, #c935b2) !important;
    background: linear-gradient(to right, #9f2edf, #c935b2) !important;

	padding:10px 20px !important;
	color:#fff !important;
	border-radius:40px;

}

/*产品筛选*/
.page6 {
	width:100%;
	overflow:hidden;
	background:url(images/home-qqbg.webp) 0 0 no-repeat;
	background-size:100% 100%;
	position:relative;
	padding-bottom:140px;
	background-size: cover;
}
.page6 h2 {
	color:rgba(156,156,156,0.48);
	font-size:44px;
	margin:65px 0 12px 0;
	letter-spacing:1px;
	text-align:center
}
.page6 .p1 {
	font-size:20px;
	color:rgba(156,156,156,0.82);
	margin-bottom:24px;
	text-align:center
}
.page6 .p1 span {
	font-size:48px;
	color:#ff2d89
}
.page6 .mask {
	position:absolute;
	z-index:10;
	height:100%;
	width:15%;
	top:0
}
.page6 .left_mask {
	left:0;
	background-image:linear-gradient(270deg,rgba(58,65,80,0.00) 0,#272c36 100%)
}
.page6 .right_mask {
	right:0;
	background-image:linear-gradient(270deg,rgba(58,65,80,0.00) 0,#272c36 100%);
	transform:scaleX(-1)
}
.page6 .swiper-container1,.page6 .swiper-container2 {
	height:100px;
	overflow:hidden;
	pointer-events:none
}
.page6 .swiper-container-free-mode>.swiper-wrapper {
	transition-timing-function:linear;
	-o-transition-timing-function:linear;
	-webkit-transition-timing-function:linear
}
.page6 .swiper-slide {
	text-align:center;
	font-size:18px;
	background:transparent;
	display:-webkit-box;
	display:-ms-flexbox;
	display:-webkit-flex;
	display:flex;
	-webkit-box-pack:center;
	-ms-flex-pack:center;
	-webkit-justify-content:center;
	justify-content:center;
	-webkit-box-align:center;
	-ms-flex-align:center;
	-webkit-align-items:center;
	align-items:center;
	width:auto!important;
	margin-top:14px
}
.page6 .swiper-slide span {
	padding:0 20px;
	display:inline-block;
	height:58px;
	line-height:58px;
	background-color:rgba(255,255,255,0.1);
	margin-left:30px;
	border-radius:29px;
	color:#ebeced
}
.page6 .swiper-wrapper .swiper-slide:nth-child(2n) span {
	color:#c4c5c8
}
.page6 .swiper-wrapper .swiper-slide:nth-child(3n) span {
	color:#888a8f
}
.page6 .swiper-container2 .swiper-slide span {
	color:#ebeced
}
.page6 .swiper-container2 .swiper-wrapper .swiper-slide:nth-child(2n) span {
	color:#c4c5c8
}
.page6 .swiper-container3 .swiper-wrapper .swiper-slide:nth-child(3n) span {
	color:#888a8f
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}


/*顶部下拉*/
.goods-sub-menu .nav li{
    margin-right: 40px;
}
.goods-sub-menu .nav a{
    color:#000 !important;
    padding: 15px 0px;
    font-weight: 600 !important;
}

.goods-sub-menu .nav a:hover,
.goods-sub-menu .nav li.active a{
    color: var(--fs-color-primary) !important;
}

.sub-list{
    margin: 0;
}

.sub-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 两列布局 */
    gap: 10px; /* 添加间距 */
}

.sub-list li {
    list-style: none; /* 去掉列表样式 */

    padding: 0;
}

.sub-list li a:hover{
    color: var(--fs-color-primary);
}

.menu-item-has-block .nav-dropdown .col-inner ul:not(.nav.nav-vertical) li:not(.tab):not([class^=bullet-]) {
    display: list-item;
    margin-left: 0em!important;
}



/*底部*/
footer .widget_nav_menu .is-divider{
    display:none ;
}

footer .dark .widget>ul>li+li, .dark ul.menu>li+li {
    border-color: hsla(0,0%,100%,.0);
}
footer .widget-title{
    margin-bottom: 20px;
        display: block;
}

.tnp-subscription input[type=email]{
    background: #333;
    color: #fff;
}
footer form {
    display: flex;
    align-items: center;
}

.tnp-field {
    margin-right: 0px;
}

.tnp-email {
    width: 200px; /* 输入框宽度 */
    height: 40px; /* 输入框高度 */
}

.tnp-submit {
    height: 40px; /* 按钮高度 */
    padding: 0 15px; /* 按钮内边距 */
    background-color: #007bff; /* 按钮背景色 */
    color: #fff; /* 按钮文字颜色 */
    border: none;
    cursor: pointer;
}
.tnp-field input[type="submit"] {
    position: inherit;
    margin-top: 24px;
    padding: 8px;
    background:var(--fs-color-primary);
}