* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Start Header */
.header-desktop {
  width: 85.5%;
  margin: 5px auto;
}

.header {
  border-bottom: 1px solid #e2e2e2;
  background-color: #fff;
  z-index: 1000000000;
  position: sticky;
  top: 0;
  box-shadow: 0 1px 0 rgba(0,0,0,.14),0 2px 0 rgba(0,0,0,.05);
}

/* .mt-0{
    margin-top: -10px !important;
} */

.logo-header {
  margin-top: 6px;
}

.head-bottom {
  height: 40px;
  margin-top: 5px;
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
}

.navbar-items {
  display: flex;
}

.gap-15 {
  gap: 17px !important;
}

.box-search {
  height: 44px;
  width: 600px;
  background-color: #f0f0f1;
  border-radius: 5px;
  padding-right: 20px;
  padding-left: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  cursor: pointer;
}

.box-search-p {
  font-size: 12px;
  margin-top: 8px;
  margin-right: 38px;
}

.login-btn {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-link {
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  color: #3f4064;

  > svg {
    margin-top: -5px;
  }
}

.navbar-span {
  color: #e0e0e2;
  padding-right: 10px;
}

.navbar-link {
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  color: #62666d;
}

.navbar-item-down {
  width: 0;
  height: 2px;
  border-radius: 5px;
  background-color: #ef4d60;
  margin-top: 7px;
  transition: 0.3s;
}

.navbar-item:hover {
  > .navbar-item-down {
    width: 100%;
  }
}

main {
  position: absolute;
  top: 112px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 87.7vh;
  overflow: hidden;
  z-index: 100000000;
  background-color: rgba(0, 0, 0, 0.3);
  display: none;
}

.main {
  position: absolute;
  top: 10px;
  right: 271px;
  width: 31.2%;
  height: 30vh;
  overflow: hidden;
  z-index: 100000000000;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.3);
  display: none;
  padding: 10px;
  flex-direction: column;
}

.category-list {
  position: absolute;
  top: 112.1px;
  right: 140px;
  bottom: 0;
  width: 60%;
  height: 77.7vh;
  overflow: hidden;
  z-index: 10000000000;
  background-color: #fff;
  display: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 0 0 10px 10px;
}

.form-control-search {
  border: 0;
  outline: none;
  border-bottom: 1px solid #19bfd3;
  width: 100%;
  color: #81858b;
  padding: 5px;
}

.flex-search-list {
  display: flex;
  justify-content: space-between;
  color: #81858b;

  > h6 {
    display: flex;
    gap: 10px;
    justify-content: start;

    > span {
      margin-top: -2px;
    }
  }
}

.trash-svg-search {
  margin-top: -5px;
}

.header-sticky {
  position: sticky;
  top: 0;
  padding-top: 2px;
  padding-bottom: 5px;

  > .header-desktop > .head-bottom {
    display: none;
  }

  > .header-desktop > .head-top > div > .row > .flex-login-cart {
    margin-top: 0px !important;
  }
}

/* End Header */

/* Start Slider */
#slider {
  display: flex;
  justify-content: center;
  align-items: end;
  position: relative;
}

#slider > .swiper-button {
  display: flex;
  gap: 10px;
  width: 105px;
  height: 100px;
  position: absolute;
  right: 0;
}

#slider > .swiper-button > .swiper-button-next,
.swiper-button-prev {
  border: 1px solid #c0c2c5;
}

#slider > .swiper-button-prev {
  right: 0;
}

#slider > .swiper-button-next {
  left: 0;
}

/* @media screen and (min-width:1200px) and (max-width:1399px){
    #slider >.swiper-button {
        top: 50%;
    }
}

@media screen and (min-width:992px) and (max-width:1199px){
    #slider >.swiper-button {
        top: 40%;
    }
} */

@media screen and (max-width: 991px) {
  #slider > .swiper-button {
    width: 100%;
  }

  #slider {
    align-items: center;
  }

  #slider > .swiper-button > .swiper-button-next,
  .swiper-button-prev {
    width: 30px;
    height: 30px;
  }
}

@media screen and (max-width: 575px) {
  .container{
    width: 95% !important;
  }
}

@media screen and (max-width: 475px) {
  #slider > .swiper-button > .swiper-button-next,
  .swiper-button-prev {
    width: 20px;
    height: 20px;
  }

  #slider > .swiper-button {
    width: 65px;
    top: 25%;
  }

  #slider {
    align-items: end;
  }

  #slider > .swiper-button > .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 10px;
  }
}

/* End Slider */

/* Start Down Slider Option */
.mt-20 {
  margin-top: 20px !important;
}

.mt-40 {
  margin-top: 40px !important;
}

.flex-down-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.down-slider-item {
  width: 80px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;

  > p {
    color: #3f4064;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    width: 52px;
    line-height: 23px;
  }

  > img {
    width: 52px;
    height: 52px;
  }
}

.down-slider-more {
  width: 52px;
  min-height: 52px;
  border-radius: 50%;
  background-color: #f0f0f1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* End Slider Down Option */

/* Start Offer */
.offer {
  border-radius: 16px;
  height: auto;
  width: 100%;
  background: linear-gradient(225deg, #d22c4e, #ee384e 41.68%, #ef5662);
  padding: 20px;
}

.card-slider-item {
  height: auto;
  background-color: #fff;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px;
  gap: 10px;
  min-height: 254px;
}

.swiper-slide:nth-of-type(2) {
  >.card-slider-item {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }
}

.swiper-slide:last-of-type {
    >.card-slider-item {
      border-top-left-radius: 5px;
      border-bottom-left-radius: 5px;
    }
  }

.card-main-offer {
  height: auto;
  border: 0;
  padding-top: 25px;
}

.offer-main-link {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}

.link-offer{
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    color: #62666d;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.link-offer-more{
    color: #3f4064 !important;
    margin-top: 5px;
}

/* End Offer */
