
a {
  color: #666;
  font-size: 1rem;
  text-decoration: none;
}

.htmleaf-icon{color: #fff;}
.cd-main-content {
  position: relative;
  min-height: 100vh;
  background: #f9f7f6;
}
.cd-main-content:after {
  content: "";
  display: table;
  clear: both;
}
.cd-main-content.is-fixed .cd-tab-filter-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
.cd-main-content.is-fixed .cd-gallery {
  padding-top: 76px;
}
.cd-main-content.is-fixed .cd-filter {
  position: fixed;
  height: 100vh;
  overflow: hidden;
  margin-top: 5rem;
}
@media (max-width:1400px){
	.cd-main-content.is-fixed .cd-filter{
		margin-top: 3.3rem;
	}
}
.cd-main-content.is-fixed .cd-filter form {
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.cd-main-content.is-fixed .cd-filter-trigger {
  position: fixed;
}
@media only screen and (min-width: 768px) {
  .cd-main-content.is-fixed .cd-gallery {
    padding-top: 90px;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-main-content.is-fixed .cd-gallery {
    padding-top: 100px;
  }
}

/* -------------------------------- 

xtab-filter 

-------------------------------- */
.cd-tab-filter-wrapper {
  background-color: #ffffff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  z-index: 1;
}
.cd-tab-filter-wrapper:after {
  content: "";
  display: table;
  clear: both;
}

.cd-tab-filter {
  /* tabbed navigation style on mobile - dropdown */
  position: relative;
  height: 50px;
  width: 140px;
  margin: 0 auto;
  z-index: 1;
}
.cd-tab-filter::after {
  /* small arrow icon */
  content: '';
  position: absolute;
  right: 14px;
  top: 35%;
  bottom: auto;

  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("../img/cd-icon-arrow.svg") no-repeat center center;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  pointer-events: none;
}
.cd-tab-filter ul {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #ffffff;
  box-shadow: inset 0 -2px 0 #70ba2b;
}
.cd-tab-filter li {
  display: none;
}
.cd-tab-filter li:first-child {
  display: block;
}
.cd-tab-filter a {
  display: block;
  height: 50px;
  width: 140px;
  line-height: 50px;
  padding-left: 14px;
}
.cd-tab-filter a.selected {
  background: #70ba2b;
  color: #ffffff;
}

.cd-tab-filter.is-open ul {
  box-shadow: inset 0 -2px 0 #70ba2b, 0 2px 10px rgba(0, 0, 0, 0.2);
}
.cd-tab-filter.is-open ul li {
  display: block;
}
.cd-tab-filter.is-open .placeholder a {
  /* reduces the opacity of the placeholder on mobile when the menu is open */
  opacity: .4;
}
@media only screen and (min-width: 768px) {
  .cd-tab-filter {
    /* tabbed navigation style on medium devices */
    width: auto;
    cursor: auto;
  }
  .cd-tab-filter::after {
    /* hide the arrow */
    display: none;
  }
  .cd-tab-filter ul {
    background: transparent;
    position: static;
    box-shadow: none;
    text-align: center;
	padding-left: 8.125rem;
  }
  .cd-tab-filter li {
    display: inline-block;
  }
  .cd-tab-filter li.placeholder {
    display: none !important;
  }
  .cd-tab-filter a {
    display: inline-block;
    padding: 0 1em;
    width: auto;
    color: #9a9a9a;
    text-transform: capitalizee;
    font-weight: 700;
    font-size: 1rem;
  }
  .no-touch .cd-tab-filter a:hover {
    color: #70ba2b;
  }
  .cd-tab-filter a.selected {
    background: transparent;
    color: #70ba2b;
    box-shadow: inset 0 -2px 0 #70ba2b;
  }
  .cd-tab-filter.is-open ul li {
    display: inline-block;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-tab-filter {
    /* tabbed navigation on big devices */
    width: 100%;
    float: right;
    margin: 0;
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    transition: width 0.3s;
  }
  .cd-tab-filter.filter-is-visible {
    /* reduce width when filter is visible */
    width: 80%;
  }
  .cd-tab-filter.filter-is-visible100 {
    /* reduce width when filter is visible */
    width: 100%;
  }
}

/* -------------------------------- 

xgallery 

-------------------------------- */
.cd-gallery {
  padding: 26px 5%;
  width: 100%;
}
.cd-gallery li {
  margin-bottom: 1.6em;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  display: none;
  width: 100%;
}
.cd-gallery li.gap {
  opacity: 0;
  height: 0;
  display: inline-block;
}
.cd-gallery img {
  display: block;
  width: 100%;
  padding: 20px;
  transition: transform 0.4s ease;
  transform: scale(1);
}
.cd-gallery img:hover {    
    transform: scale(1.05);  
}
.cd-gallery .cd-fail-message {
  display: none;
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .cd-gallery {
    padding: 50px 2% 0px 2%;
  }
  .cd-gallery ul {
    /*text-align: justify;*/
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0 auto;
  }
  .cd-gallery ul:after {
    content: "";
    display: table;
    clear: both;
  }
  .cd-gallery li {
    width: 48%;
    margin-bottom: 2em;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-gallery {
    padding: 50px 2% 0px 2%;
    float: right;
  }
  .cd-gallery li {
    width: 23%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cd-gallery.filter-is-visible {
    width: 80%;
  }
}

/* -------------------------------- 

xfilter 

-------------------------------- */
.cd-filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: #ffffff;
  box-shadow: 4px 4px 20px transparent;
  z-index: 2;
backface-visibility: hidden;  
transform: translateX(-100%);  
transition: transform 0.3s, box-shadow 0.3s;
}
.cd-filter::before {
  /* top colored bar */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  background-color: #666;
  z-index: 2;
}
.cd-filter form {
  padding: 70px 20px;
}
.cd-filter .cd-close {
  position: absolute;
  top: 0;
  right: 0;
  height: 50px;
  line-height: 50px;
  width: 60px;
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
  background: #333;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  transition: opacity 0.3s;
  z-index: 3;
}
.no-touch .cd-filter .cd-close:hover {
  background: #32255f;
}
.cd-filter.filter-is-visible {
transform: translateX(0);  
box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
}
.cd-filter.filter-is-visible .cd-close {
  opacity: 1;
}
@media only screen and (min-width: 1170px) {
  .cd-filter {
    width: 20%;
  }
  .cd-filter form {
    padding: 70px 10%;
  }
}

.cd-filter-trigger {
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  line-height: 50px;
  width: 60px;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  color: transparent;
  white-space: nowrap;
  background: transparent url("../img/cd-icon-filter.svg") no-repeat center center;
  z-index: 3;
}
.cd-filter-trigger.filter-is-visible {
  pointer-events: none;
}
@media only screen and (min-width: 1170px) {
  .cd-filter-trigger {
    width: auto;
    left: 2%;
    text-indent: 0;
    color: #70ba2b;
    text-transform:capitalizeze;
    font-size: 1rem;
    font-weight: 700;
    padding-left: 24px;
    background-position: left center;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    transition: color 0.3s;
  }
  .no-touch .cd-filter-trigger:hover {
    color: #70ba2b;
  }
  .cd-filter-trigger.filter-is-visible, .cd-filter-trigger.filter-is-visible:hover {
    color: #ffffff;
  }
}

/* -------------------------------- 

xcustom form elements 

-------------------------------- */
.cd-filter-block {
  /* margin-bottom: 1.6em; */
}
.cd-filter-block h4 {
  /* filter block title */
  position: relative;
  margin-bottom: .2em;
  padding: 10px 0 10px 20px;
  color: #9a9a9a;
  font-weight: 700;
  font-size: 1rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}
.no-touch .cd-filter-block h4:hover {
  color: #70ba2b;
}
.cd-filter-block h4::before {
  /* arrow */
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  background: url("../img/cd-icon-arrow.svg") no-repeat center center;
transform: translateY(-50%);  
transition: transform 0.3s;
}
.cd-filter-block h4.closed::before {
  transform: translateY(-50%) rotate(-90deg);
}
.cd-filter-block input, .cd-filter-block select,
.cd-filter-block .radio-label::before,
.cd-filter-block .checkbox-label::before {
  /* shared style for input elements */
  font-family: "Open Sans", sans-serif;
  border-radius: 0;
  background-color: #ffffff;
  border: 2px solid #e6e6e6;
}
.cd-filter-block input[type='search'],
.cd-filter-block input[type='text'],
.cd-filter-block select {
  width: 100%;
  padding: .8em;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  box-shadow: none;
}
.cd-filter-block input[type='search']:focus,
.cd-filter-block input[type='text']:focus,
.cd-filter-block select:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #70ba2b;
}
.cd-filter-block input[type='search'] {
  /* custom style for the search element */
  border-color: transparent;
  background-color: #e6e6e6;
  /* prevent jump - ios devices */
  font-size: 1.6rem !important;
}
.cd-filter-block input[type='search']::-webkit-search-cancel-button {
  display: none;
}
.cd-filter-block .cd-select {
  /* select element wrapper */
  position: relative;
}
.cd-filter-block .cd-select::after {
  /* switcher arrow for select element */
  content: '';
  position: absolute;
  z-index: 1;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 16px;
  height: 16px;
  background: url("../img/cd-icon-arrow.svg") no-repeat center center;
  pointer-events: none;
}
.cd-filter-block select {
  cursor: pointer;
  font-size: 1rem;
}
.cd-filter-block select::-ms-expand {
  display: none;
}
.cd-filter-block .list{
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
}

.cd-filter-block .list li {
  position: relative;
	flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
	line-height: 1.5rem;
}
.cd-filter-block .list li:last-of-type {
  margin-bottom: 0;
}
.cd-filter-block input[type=radio],
.cd-filter-block input[type=checkbox] {
  /* hide original check and radio buttons */
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  z-index: 2;
}
.cd-filter-block .checkbox-label,
.cd-filter-block .radio-label {
  padding-left: 1.5rem;
  font-size: 0.875rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #333;
  white-space: nowrap;
}
.cd-filter-block .checkbox-label::before, .cd-filter-block .checkbox-label::after,
.cd-filter-block .radio-label::before,
.cd-filter-block .radio-label::after {
  /* custom radio and check boxes */
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.cd-filter-block .checkbox-label::before,
.cd-filter-block .radio-label::before {
  width: 16px;
  height: 16px;
  left: 0;
  border: 1px solid #666;
  border-radius:2.3px;
}
.cd-filter-block .checkbox-label::after,
.cd-filter-block .radio-label::after {
  /* check mark - hidden */
  display: none;
}
.cd-filter-block .checkbox-label::after {
  /* check mark style for check boxes */
  width: 16px;
  height: 16px;
  background: url("../img/cd-icon-check.svg") no-repeat center center;
}
.cd-filter-block .radio-label::before,
.cd-filter-block .radio-label::after {
  border-radius: 50%;
}
.cd-filter-block .radio-label::after {
  /* check mark style for radio buttons */
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  left: 5px;
}
.cd-filter-block input[type=radio]:checked + label::before,
.cd-filter-block input[type=checkbox]:checked + label::before {
  border-color: #70ba2b;
  background-color: #70ba2b;
}
.cd-filter-block input[type=radio]:checked + label::after,
.cd-filter-block input[type=checkbox]:checked + label::after {
  display: block;
}

@-moz-document url-prefix() {
  /* hide custom arrow on Firefox - select element */
  .cd-filter-block .cd-select::after {
    display: none;
  }
}
.sx-name{
	    position: relative;
	    margin-bottom: .8em;
	    color: #70ba2b;
	    font-weight: 700;
	    font-size: 1rem;
	    user-select: none;
	    cursor: pointer;
}
/* 产品颜色切换 */
.button-group .b {width: 24px;height: 24px;border-radius: 50%;background-color: black;border: 2px solid #333;outline: none;display: inline-block;transition: transform 0.2s ease;}			
.button-group .w {width: 24px;height: 24px;border-radius: 50%;background-color: white;border: 2px solid #70ba2b;outline: none;display: inline-block;transition: transform 0.2s ease;}
.button-group .bw {width: 24px;height: 24px;border-radius: 50%;background: linear-gradient(90deg, black 50%, white 50%);border: 2px solid #333;outline: none;display: inline-block;transition: transform 0.2s ease;}	
.button-group .r {width: 24px;height: 24px;border-radius: 50%;background-color: red;border: 2px solid #70ba2b;outline: none;display: inline-block;transition: transform 0.2s ease;} 
.button-group .p {width: 24px;height: 24px;border-radius: 50%;background-color: pink;border: 2px solid #70ba2b;outline: none;display: inline-block;transition: transform 0.2s ease;}  
.button-group .g {width: 24px;height: 24px;border-radius: 50%;background-color: grey;border: 2px solid #70ba2b;outline: none;display: inline-block;transition: transform 0.2s ease;}  
.button-group .y {width: 24px;height: 24px;border-radius: 50%;background-color: yellow;border: 2px solid #70ba2b;outline: none;display: inline-block;transition: transform 0.2s ease;}
.button-group .bl {width: 24px;height: 24px;border-radius: 50%;background-color: blue;border: 2px solid #70ba2b;outline: none;display: inline-block;transition: transform 0.2s ease;}
.button-group .gr {width: 24px;height: 24px;border-radius: 50%;background-color: green;border: 2px solid #70ba2b;outline: none;display: inline-block;transition: transform 0.2s ease;}
.single-product-bottom-bar{padding-bottom: 20px;padding-top: 18px;padding-left: 25px;position: relative;}
.single-product-bottom-bar a{font-weight: bold;color: #666;font-size:18px;text-transform: uppercase;}
.single-product-container {display: flex;align-items: center;justify-content: space-between;width: 100%;box-sizing: border-box;padding-right: 15px;padding-bottom: 5px;} 
.single-product-bottom-bar h5{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.single-product-bottom-bar p{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;text-align:left;font-size:14px;height: 20px;
    line-height: 20px;color:#333;}

.download-list{display:flex;flex-wrap:wrap;gap:20px;margin:0 auto;padding:20px}
.download-item{background-color:white;border:1px solid #e0e0e0;border-radius:5px;padding:20px;box-shadow:0 0 5px rgba(0,0,0,0.1);transition:transform 0.2s ease;flex:1 1 calc(50% - 10px)}
.download-item:hover{transform:translateY(-5px);box-shadow:0 0 10px rgba(0,0,0,0.2)}
.download-item h2{margin-top:0;font-size:24px;color:#333;padding-bottom:20px}
.download-item p{color:#666;padding-bottom:10px;font-size:16px}
.download-button{display:inline-block;background-color:#8bc229;color:white;padding:10px 20px;border:none;border-radius:5px;cursor:pointer;text-decoration:none;transition:background-color 0.2s ease}
.download-button:hover{background-color:#86c31b;color:#fff}
@media (max-width:600px){.download-item{flex:1 1 100%}
}

.product-image-container{position:relative}
.product-image-container .text-overlay{position:absolute;top:10px;left:10px;background-color:rgba(0,0,0,0.5);color:white;padding:5px 10px;border-radius:5px;font-size:12px;font-weight:bold}
.text-overlay span{display:block}
.text-overlay span:first-child{font-size:16px}
.text-overlay span:last-child{font-size:12px}