#index.g-wrap {
  padding-top: 0 !important;
}

.btn-green {
  display: inline-block;
  background-color: #788fa4;
  color: #fff;
  border-radius: 5px;
  text-align: center;
  width: 160px;
  height: 50px;
  line-height: 50px;
  font-size: 0.9375rem;
  padding: 0;
  border: 0;
  text-transform: uppercase;
  transition: 0.3s cubic-bezier(0.5, 0, 0.3, 0.5);
}
.btn-green:hover {
  background-color: #5e768b;
  color: #fff;
}

.btn-light {
  display: inline-block;
  background-color: #9facb8;
  color: #fff;
  border-radius: 5px;
  text-align: center;
  width: 160px;
  height: 50px;
  line-height: 50px;
  font-size: 0.9375rem;
  padding: 0;
  border: 0;
  text-transform: uppercase;
  transition: 0.3s cubic-bezier(0.5, 0, 0.3, 0.5);
}
.btn-light:hover {
  background-color: #8293a2;
  color: #fff;
}

.btn-dark {
  display: inline-block;
  background-color: #4a4f5c;
  color: #fff;
  border-radius: 5px;
  text-align: center;
  width: 250px;
  height: 50px;
  line-height: 50px;
  font-size: 0.9375rem;
  padding: 0;
  border: 0;
  text-transform: uppercase;
  transition: 0.3s cubic-bezier(0.5, 0, 0.3, 0.5);
}
.btn-dark:hover {
  background-color: #333740;
  color: #fff;
}

.btn-white {
  display: inline-block;
  background-color: #fff;
  color: #444;
  border-radius: 5px;
  text-align: center;
  width: 250px;
  height: 50px;
  line-height: 50px;
  font-size: 0.9375rem;
  padding: 0;
  border: 0;
  text-transform: uppercase;
  transition: 0.3s cubic-bezier(0.5, 0, 0.3, 0.5);
  border: 1px solid #eee;
}
.btn-white:hover {
  background-color: #e6e6e6;
  color: #fff;
}

.btn-gray {
  display: inline-block;
  background-color: #444;
  color: #fff;
  border-radius: 5px;
  text-align: center;
  width: 250px;
  height: 50px;
  line-height: 50px;
  font-size: 0.9375rem;
  padding: 0;
  border: 0;
  text-transform: uppercase;
  transition: 0.3s cubic-bezier(0.5, 0, 0.3, 0.5);
}
.btn-gray:hover {
  background-color: #2b2b2b;
  color: #fff;
}

.btn-black {
  display: inline-block;
  background-color: #000;
  color: #fff;
  border-radius: 5px;
  text-align: center;
  width: 160px;
  height: 50px;
  line-height: 50px;
  font-size: 0.9375rem;
  padding: 0;
  border: 0;
  text-transform: uppercase;
  transition: 0.3s cubic-bezier(0.5, 0, 0.3, 0.5);
}
.btn-black:hover {
  background-color: black;
  color: #fff;
}

.btn-more {
  display: inline-block;
  background-color: #444;
  color: white;
  border-radius: 5px;
  text-align: center;
  width: 250px;
  height: 50px;
  line-height: 50px;
  font-size: 0.9375rem;
  padding: 0;
  border: 0;
  text-transform: uppercase;
  transition: 0.3s cubic-bezier(0.5, 0, 0.3, 0.5);
}
.btn-more:hover {
  background-color: #2b2b2b;
  color: #fff;
}

.btn-more:hover {
  background-color: #252c33;
}

@media only screen and (max-width: 991px) {
  .btn-green {
    display: inline-block;
    background-color: #788fa4;
    color: white;
    border-radius: 3px;
    text-align: center;
    width: 120px;
    height: 40px;
    line-height: 40px;
    font-size: 0.9375rem;
    padding: 0;
    border: 0;
    text-transform: uppercase;
    transition: 0.3s cubic-bezier(0.5, 0, 0.3, 0.5);
  }
  .btn-green:hover {
    background-color: #5e768b;
    color: #fff;
  }

  .btn-gray {
    display: inline-block;
    background-color: #444;
    color: white;
    border-radius: 3px;
    text-align: center;
    width: 120px;
    height: 40px;
    line-height: 40px;
    font-size: 0.9375rem;
    padding: 0;
    border: 0;
    text-transform: uppercase;
    transition: 0.3s cubic-bezier(0.5, 0, 0.3, 0.5);
  }
  .btn-gray:hover {
    background-color: #2b2b2b;
    color: #fff;
  }

  .btn-white {
    display: inline-block;
    background-color: #fff;
    color: #444;
    border-radius: 3px;
    text-align: center;
    width: 120px;
    height: 40px;
    line-height: 40px;
    font-size: 0.9375rem;
    padding: 0;
    border: 0;
    text-transform: uppercase;
    transition: 0.3s cubic-bezier(0.5, 0, 0.3, 0.5);
    border: 1px solid #eee;
  }
  .btn-white:hover {
    background-color: #e6e6e6;
    color: #fff;
  }

  .btn-more {
    display: inline-block;
    background-color: #9facb8;
    color: white;
    border-radius: 5px;
    text-align: center;
    width: 180px;
    height: 40px;
    line-height: 40px;
    font-size: 0.9375rem;
    padding: 0;
    border: 0;
    text-transform: uppercase;
    transition: 0.3s cubic-bezier(0.5, 0, 0.3, 0.5);
  }
  .btn-more:hover {
    background-color: #8293a2;
    color: #fff;
  }
}
/*pace */
.pace {
  pointer-events: none;
  user-select: none;
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0s 1s;
}

.pace.pace-inactive {
  transform: scale(0, 0);
}

.pace:before {
  content: "";
  display: block;
  position: absolute;
  width: 50%;
  height: 100%;
  background: #e9e9e9;
  opacity: 1;
  top: 0;
  left: 0;
  transition: width 1s, opacity 1s;
  z-index: 1001;
}

.pace:after {
  content: "";
  display: block;
  position: absolute;
  width: 50%;
  height: 100%;
  background: #e9e9e9;
  opacity: 1;
  top: 0;
  right: 0;
  transition: width 1s, opacity 1s;
  z-index: 1001;
}

.pace.pace-inactive:before {
  opacity: 0;
  width: 0;
}

.pace.pace-inactive:after {
  opacity: 0;
  width: 0;
}

/*Index Banner */ 
#index .i-banner {
  position: relative;
}
#index .i-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(100% - 250px);
  right: 0;
  bottom: 0;
  background: #f8f8f8;
}
#index .i-banner .ds-slider {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
#index .i-banner .ds-slider .ds-slide {
  position: relative;
  content: "";
  display: block;
  height: 100vh;
  padding-bottom: 0;
  width: 100%;
  overflow: hidden;
  line-height: 1;
  vertical-align: top;
  outline: none;
}
#index .i-banner .ds-slider .ds-slide .ds-img {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.05);
  transition: transform 1.5s 0.3s;
  z-index: 0;
}
#index .i-banner .ds-slider .ds-slide .ds-text {
  position: absolute;
  display: block;
  max-height: 50%;
  max-width: 90%;
  bottom: -10%;
  left: 5%;
  right: 5%;
  color: #222;
  opacity: 0;
  transition: opacity 1.5s 0.3s, bottom 1.5s;
  overflow: hidden;
}
#index .i-banner .ds-slider .ds-slide .ds-text img {
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
}
#index .i-banner .ds-slider .ds-slide .ds-text.text-right-center {
  text-align: center;
  left: 40%;
  bottom: 40%;
  transform: translateY(-50%);
}
#index .i-banner .ds-slider .ds-slide.in .ds-img {
  transform: translate(-50%, -50%) scale(1);
  transition: transform 1.5s 0.3s;
}
#index .i-banner .ds-slider .ds-slide.in .ds-text {
  opacity: 1;
  bottom: 10%;
  transition: opacity 1.5s 0.5s, bottom 1.5s 0.5s;
}
#index .i-banner .ds-slider .ds-slide.in .ds-text.text-right-center {
  bottom: 50%;
}
#index .i-banner .ds-slider .slick-dots {
  width: 20px;
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
#index .i-banner .ds-slider .slick-prev {
  left: 2%;
}
#index .i-banner .ds-slider .slick-next {
  right: 2%;
}
#index .i-banner .ds-slider .slick-prev::before,
#index .i-banner .ds-slider .slick-next::before {
  width: 30px;
  height: 30px;
}
#index .scroll-down {
  position: absolute;
  left: 30px;
  bottom: 0;
  width: 2px;
  height: 150px;
  background: #dbe1e6;
  font-size: 0;
}
#index .scroll-down::before {
  font-size: 0.875rem;
  letter-spacing: 1px;
  content: "SCROLL";
  position: absolute;
  transform: rotate(-90deg);
  left: -27px;
  top: -50px;
}
#index .scroll-down:after {
  content: "";
  position: absolute;
  display: block;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: #788fa4;
  left: -4px;
  top: 0;
  animation: drawLine 3s linear infinite;
}

@keyframes drawLine {
  0% {
    top: 0;
  }
  25% {
    animation-timing-function: linear;
    top: 25%;
  }
  50% {
    top: 50%;
  }
  75% {
    animation-timing-function: linear;
    opacity: 1;
    top: 75%;
  }
  90% {
    animation-timing-function: linear;
    opacity: 0;
    top: 95%;
  }
  100% {
    opacity: 0;
    top: 100%;
  }
}
@media (max-width: 1800px) {
  #index .i-banner .ds-slider {
    width: 100%;
  }
  #index .i-banner .ds-slider .slick-dots {
    left: 30px;
  }
  #index .scroll-down {
    left: 30px;
  }
}
@media (max-width: 1199px) {
  #index .i-banner::before {
    top: 60%;
  }
  #index .i-banner .ds-slider .slick-dots {
    bottom: 20px;
  }
  #index .scroll-down {
    height: 50px;
  }
  #index .scroll-down::before {
    top: -40px;
    left: -25px;
    font-size: 0.8rem;
  }
  #index .scroll-down::after {
    width: 6px;
    height: 6px;
    left: -2px;
  }
  #index .i-banner .ds-slider .ds-slide {
    height: auto;
    padding-bottom: 0;
  }
  #index .i-banner .ds-slider .ds-slide .ds-img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    transform: scale(1.05);
  }
  #index .i-banner .ds-slider .ds-slide.in .ds-img {
    transform: scale(1);
  }
}
@media (max-width: 991px) {
  #index .i-banner .ds-slider .ds-slide {
    height: auto;
    padding-bottom: 0;
  }
  #index .i-banner .ds-slider .ds-slide .ds-text img {
    max-width: 50%;
  }
  #index .i-banner .ds-slider .ds-slide .ds-text.text-right-center {
    left: 30%;
  }
  #index .i-banner .ds-slider .ds-slide .ds-text.text-right-center img {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  #index .i-banner::before {
    top: 80%;
  }
  #index .i-banner .ds-slider {
    width: 100%;
  }
  #index .i-banner .ds-slider .ds-slide {
    height: auto;
    padding-bottom: 0;
  }
  #index .i-banner .ds-slider .ds-slide .ds-text {
    left: 20px;
    right: 20px;
  }
  #index .i-banner .ds-slider .slick-dots {
    width: 100%;
    bottom: 0px;
    left: 0;
    right: 0;
    top: unset;
    transform: translateY(0);
  }
  #index .scroll-down {
    display: none;
  }
}
.i-brand {
  padding-top: 4%;
  padding-bottom: 4%;
  background: #f8f8f8;
}

.i-pro {
  padding-top: 4%;
  padding-bottom: 4%;
}
.i-pro .list {
  margin: 0 -1rem;
}
.i-pro .list .box {
  text-align: center;
  padding: 1rem 1rem 3rem;
}

@media (max-width: 767px) {
  .i-pro .list .slick-arrow {
    top: 33.33%;
    background: rgba(255, 255, 255, 0.9);
  }
  .i-pro .list .slick-arrow::before {
    width: 15px;
    height: 15px;
  }
}
.i-select {
  padding-top: 4%;
  padding-bottom: 4%;
  background: url(../images/i_select_bg.jpg);
}

@media (max-width: 1199px) {
  .i-pro .list {
    margin: 0 -1rem;
  }
}
@media (max-width: 991px) {
  .i-select .list .box .txt-box > * {
    margin-bottom: 10px;
  }
  .i-select .list .box .txt-box .h3 {
    font-size: 1.5rem;
  }
}
@media (max-width: 767px) {
  .i-pro .list {
    margin: 0 -10px;
  }
  .i-pro .box {
    padding: 10px;
  }

  .i-select .list .box {
    border-radius: 10px;
  }
  .i-select .list .box .pic-box,
  .i-select .list .box .txt-box {
    width: 100%;
    display: block;
    direction: ltr;
  }
}


#i-product .page-wrap .box {
  width: calc(25% - 30px);
  margin: 0 15px 2rem;
  padding: 0 10px;
  position: relative;
  text-align: center;
}
#i-product .page-wrap .sale-slick.slick-initialized .slick-list {
  margin-left: -15px;
  margin-right: -15px;
}
#i-product .page-wrap .sale-slick.slick-initialized .box {
  margin-left: 0;
  margin-right: 0;
  padding-left: 15px;
  padding-right: 15px;
}
#i-product .page-wrap .box .pic-box {
  overflow: hidden;
  position: relative;
}
#i-product .page-wrap .box .pic-box img {
  margin: 0 auto;
  width: 100%;
}
#i-product .page-wrap .box .pic-box .tag {
  line-height: 30px;
  height: 30px;
  color: #fff;
  padding: 0 15px;
  letter-spacing: 2px;
  border-radius: 20px;
  display: inline-block;
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 0.9375rem;
}
#i-product .page-wrap .box .pic-box .tag.new {
  background: #b78c89;
}
#i-product .page-wrap .box .pic-box .tag.select {
  background: #4d4848;
}
#i-product .page-wrap .box .txt-box {
  border-bottom: 0;
  font-size: 1rem;
  position: relative;
  /* background: #fff; */
}
#i-product .page-wrap .box .txt-box .ti {
  font-size: 1rem;
  overflow: hidden;
}
#i-product .page-wrap#product-list .list {
  margin: 0 -15px 2rem;
}
@media only screen and (min-width: 992px) {
  #i-product .page-wrap .box:hover .txt-box {
    opacity: 1;
  }
  #i-product .page-wrap .box:hover .bnt-cart {
    opacity: 1;
  }
}
@media only screen and (max-width: 991px) {
  #i-product .page-wrap .box {
    border-radius: 10px;
  }
  #i-product .page-wrap .box .txt-box {
    opacity: 1;
    padding: 10px;
  }
  #i-product .page-wrap .box .txt-box .ti {
    display: block;
    width: 100%;
    font-size: 0.9375rem;
    text-align: center;
  }
  #i-product .page-wrap#product-list .aside-nav .h2 {
    display: none;
  }
  #i-product .page-wrap#product-list .list {
    margin: 0;
  }
}
@media only screen and (max-width: 767px) {
  #i-product .page-wrap .box {
    width: calc( 50% - 10px );
    margin: 0 5px 10px;
  }
  #i-product .page-wrap .sale-slick.slick-initialized .slick-list {
    margin-left: -5px;
    margin-right: -5px;
  }
  #i-product .page-wrap .sale-slick.slick-initialized .box {
    margin-left: 0;
    margin-right: 0;
    padding-left: 5px;
    padding-right: 5px;
  }
  #i-product .page-wrap .box .pic-box .tag {
    padding: 0 10px;
    right: 8px;
    top: 8px;
    font-size: 0.875rem;
  }
  #i-product .page-wrap .box .txt-box {
    position: relative;
    padding: 8px;
  }
  #i-product .page-wrap .box .txt-box .ti {
    font-size: 1rem;
  }
  #i-product .page-wrap#product-list .list {
    margin: 0 -5px 0;
  }
}

#i-product .page-wrap #search.main-content .box {
  width: calc(20% - 30px);
}
@media (max-width: 1199px) {
  #i-product .page-wrap #search.main-content .box {
    width: calc(25% - 20px);
  }
}
@media (max-width: 991px) {
  #i-product .page-wrap #search.main-content .box {
    width: calc(33.33% - 20px);
  }
}
@media (max-width: 767px) {
  #i-product .page-wrap #search.main-content .box {
    width: calc(50% - 10px);
  }
}