/*===== Hero section css =====*/
.gi-hero .gi-main-content .gi-slider-content {
  position: relative;
}
.gi-hero .gi-main-content .gi-slider-content .gi-main-slider .slide-1 {
  background-image: url(../img/hero-bg/1.jpg);
  background-position: center;
}
.gi-hero .gi-main-content .gi-slider-content .gi-main-slider .slide-2 {
  background-image: url(../img/hero-bg/2.jpg);
  background-position: center;
}
.gi-hero .gi-main-content .gi-slider-content .gi-main-slider .slide-3 {
  background-image: url(../img/hero-bg/6.jpg);
  background-position: center;
}
.gi-hero .gi-main-content .gi-slider-content .gi-main-slider .swiper-pagination {
  height: 17px;
  bottom: 0px;
  z-index: 2;
}
.gi-hero .gi-main-content .gi-slider-content .gi-main-slider .swiper-pagination:after {
  content: "";
  width: 160px;
  height: 38px;
  margin: auto;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url(../img/bg/1.png);
  z-index: -1;
}
.gi-hero .swiper-buttons {
  display: none;
}
.gi-hero .main-slider-dot .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  margin: 0 2.5px !important;
  display: inline-block;
  border-radius: 30px;
  opacity: 1;
  border: 1px solid #4b5966;
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  background-color: transparent;
}
.gi-hero .main-slider-dot .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #4b5966;
  width: 30px;
}
.gi-hero .slider-animation > * {
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-name: fadeOutDown;
          animation-name: fadeOutDown;
}
.gi-hero :root {
  --transition: .75s cubic-bezier(0.255, 0.670, 0.000, 1.010);
}
.gi-hero .gi-slide-item {
  overflow: hidden;
  position: relative;
  -webkit-transition: -webkit-transform var(--transition), -webkit-box-shadow var(--transition);
  transition: -webkit-transform var(--transition), -webkit-box-shadow var(--transition);
  transition: transform var(--transition), box-shadow var(--transition);
  transition: transform var(--transition), box-shadow var(--transition), -webkit-transform var(--transition), -webkit-box-shadow var(--transition);
}
.gi-hero .swiper-slide-active .slider-animation > * {
  -webkit-animation-name: fadeInUp;
          animation-name: fadeInUp;
}
.gi-hero .swiper-slide-active .slider-animation > *:nth-child(1) {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
.gi-hero .swiper-slide-active .slider-animation > *:nth-child(2) {
  -webkit-animation-delay: 1.5s;
          animation-delay: 1.5s;
}
.gi-hero .swiper-slide-active .slider-animation > *:nth-child(3) {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}
.gi-hero .swiper-slide-active .slider-animation > *:nth-child(4) {
  -webkit-animation-delay: 2.5s;
          animation-delay: 2.5s;
}
.gi-hero .swiper-slide-active .slider-animation > *:nth-child(5) {
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
}
.gi-hero .swiper-slide-active .slider-animation > *:nth-child(6) {
  -webkit-animation-delay: 3.5s;
          animation-delay: 3.5s;
}

/* Responsive styles */
@media (max-width: 1399px) {
  .gi-hero .gi-main-content .gi-slider-content .gi-main-slider .swiper-pagination:after {
    width: 140px;
    height: 32px;
  }
}

@media (max-width: 1199px) {
  .gi-hero .gi-main-content .gi-slider-content .gi-main-slider .swiper-pagination:after {
    width: 120px;
    height: 28px;
  }
}

@media (max-width: 991px) {
  .gi-hero .gi-main-content .gi-slider-content .gi-main-slider .swiper-pagination:after {
    width: 100px;
    height: 24px;
  }
}

@media (max-width: 767px) {
  .gi-hero .gi-main-content .gi-slider-content .gi-main-slider .swiper-pagination:after {
    width: 80px;
    height: 20px;
  }
}

@media (max-width: 575px) {
  .gi-hero .gi-main-content .gi-slider-content .gi-main-slider .swiper-pagination:after {
    width: 60px;
    height: 16px;
  }
}

@media (max-width: 420px) {
  .gi-hero .swiper-pagination {
    display: none;
  }
}

/*===== Category section css =====*/
.gi-category .gi-category-block, .gi-category .gi-category-block-2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.gi-category .gi-category-block .gi-cat-box:hover:after, .gi-category .gi-category-block-2 .gi-cat-box:hover:after {
  top: 50%;
}
.gi-category .gi-category-block .gi-cat-box:after, .gi-category .gi-category-block-2 .gi-cat-box:after {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  content: "";
  width: 100%;
  height: 100%;
  background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), color-stop(#fff), to(transparent));
  background-image: linear-gradient(360deg, #fff, #fff, transparent);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.gi-category .gi-category-block .gi-cat-box .gi-cat-icon, .gi-category .gi-category-block-2 .gi-cat-box .gi-cat-icon {
  -webkit-box-shadow: 0 5px 15px rgba(88, 110, 125, 0.1);
          box-shadow: 0 5px 15px rgba(88, 110, 125, 0.1);
}

/* Category responsive styles */
@media (max-width: 1399px) {
  .gi-category .gi-category-block {
    padding: 0 15px 15px 15px;
    grid-template-columns: repeat(auto-fill, calc(25% - 12px));
    grid-row-gap: 15px;
    grid-column-gap: 15px;
  }
}

@media (max-width: 1199px) {
  .gi-category .gi-category-block {
    padding: 0 15px 15px 15px;
    grid-template-columns: repeat(auto-fill, calc(33.33% - 10px));
    grid-row-gap: 15px;
    grid-column-gap: 15px;
  }
}

@media (max-width: 991px) {
  .gi-category .gi-category-block {
    padding: 0 15px 15px 15px;
    grid-template-columns: repeat(auto-fill, calc(33.33% - 10px));
    grid-row-gap: 15px;
    grid-column-gap: 15px;
  }
}

@media (max-width: 767px) {
  .gi-category .gi-category-block {
    padding: 0 15px 15px 15px;
    grid-template-columns: repeat(auto-fill, calc(50% - 8px));
    grid-row-gap: 15px;
    grid-column-gap: 15px;
  }
}

@media (max-width: 420px) {
  .gi-category .gi-category-block {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fill, calc(50% - 8px));
  }
  .gi-category .gi-category-block .gi-cat-box.more {
    display: block;
  }
}

/*===== Deal section css =====*/
.gi-deal-section .section-title #dealend {
  padding: 0;
}
.gi-deal-section .section-title .dealend-timer {
  padding: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}
.gi-deal-section .section-title .dealend-timer .dealend-timer {
  background-color: #f8f8fb;
  border-radius: 5px;
}
.gi-deal-section .section-title .dealend-timer .time-block {
  margin-left: 10px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  line-height: 28px;
  color: #4b5966;
}
.gi-deal-section .section-title .dealend-timer .time-block .day {
  margin-left: 5px;
  position: relative;
  font-size: 14px;
  font-weight: 400;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.gi-deal-section .section-title .dealend-timer .time-block .time {
  min-width: 20px;
  position: relative;
}
.gi-deal-section .section-title .dealend-timer .time-block .dots {
  margin-top: -1px;
  margin-left: 5px;
  color: #4b5966;
}

/* Product slider styles */
.gi-product-slider .gi-product-content {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.deal-slick-carousel .slick-track {
  height: 100%;
}
.deal-slick-carousel .slick-track .slick-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.gi-product-inner .gi-pro-image-outer {
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.gi-product-inner .gi-pro-image .percentage {
  position: absolute;
  z-index: 8;
  top: 15px;
  right: 15px;
  font-size: 13px;
  font-weight: 500;
  line-height: 29px;
  padding: 0 7px;
  text-align: center;
  text-transform: uppercase;
  background-color: #5caf90;
  color: #fff;
  border-radius: 5px;
}
.gi-product-inner .gi-pro-image .gi-pro-actions {
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.gi-product-inner .gi-pro-image .gi-pro-actions .gi-btn-group:hover {
  background-color: #5caf90;
}
.gi-product-inner .gi-pro-image .gi-pro-actions .gi-btn-group:hover i {
  color: #fff;
}
.gi-product-inner .gi-pro-image .gi-pro-actions .wishlist.active, .gi-product-inner .gi-pro-image .gi-pro-actions .compare.active {
  background-color: #5caf90;
}
.gi-product-inner .gi-pro-image .gi-pro-actions .wishlist.active i, .gi-product-inner .gi-pro-image .gi-pro-actions .compare.active i {
  color: #fff;
}
.gi-product-inner:hover .gi-pro-actions {
  opacity: 1;
  bottom: 10px;
}
.gi-product-inner:hover .gi-pro-image .image img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.gi-product-inner:hover .gi-pro-image .image img:not(:last-child) {
  opacity: 0;
}
.gi-product-inner:hover .gi-pro-image .image img.hover-image {
  opacity: 1;
}
.gi-product-inner .gi-pro-content .btn {
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}
.gi-product-inner .gi-pro-image.pro-loading:before {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: #fff;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  content: "";
}

/*===== Banner section css =====*/
.gi-banner {
  position: relative;
}

.gi-animated-banner {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.gi-animated-banner .gi-bnr-detail {
  position: relative;
  z-index: 2;
}

.gi-animated-banner .gi-bnr-detail h2 {
  color: #4b5966;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 0;
}

.gi-animated-banner .gi-bnr-detail h3 {
  color: #5caf90;
  font-weight: 600;
  line-height: 1.2;
  margin: 15px 0;
}

.gi-animated-banner .gi-bnr-detail h3 span {
  color: #777;
  font-weight: normal;
}

.gi-btn-2 {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background-color: #5caf90;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease-in-out;
  border: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gi-btn-2:hover {
  background-color: #4b5966;
  color: #fff;
  text-decoration: none;
}

/* Banner responsive styles */
@media (max-width: 1399px) {
  .gi-animated-banner .gi-bnr-detail h2 {
    font-size: 38px;
  }
}

@media (max-width: 1199px) {
  .gi-animated-banner .gi-bnr-detail h2 {
    font-size: 30px;
    line-height: 40px;
  }
}

@media (max-width: 991px) {
  .gi-animated-banner .gi-bnr-detail {
    padding: 50px;
  }
  .gi-animated-banner .gi-bnr-detail h2 {
    font-size: 28px;
    line-height: 35px;
  }
  .gi-animated-banner .gi-bnr-detail h3 {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .gi-animated-banner .gi-bnr-detail h2 {
    font-size: 20px;
    line-height: 27px;
  }
  .gi-animated-banner .gi-bnr-detail h3 {
    font-size: 16px;
    margin-top: 5px;
  }
  .gi-btn-2 {
    padding: 6px 10px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .gi-animated-banner .gi-bnr-detail h2 {
    font-size: 18px;
    line-height: 25px;
  }
}

@media (max-width: 420px) {
  .gi-animated-banner .gi-bnr-detail {
    padding: 15px;
  }
}
