﻿/* #region swiper-header*/

/* #region swiper-header-mobile*/
.swiper-header-mobile {
  width: 100%;
  height: fit-content;
  position: relative;
  margin-top: -24px;
}

/* #endregion swiper-header-mobile*/

/* #region swiper-header-desktop*/
.swiper-header-desktop {
  width: 100%;
  /* height: 450px; */
  position: relative;
  margin-top: -24px;
}

@media screen and (min-width :2000px) {
  .swiper-header-desktop {
    width: 1800px;
    border-radius: var(--radius-large);
    margin-top: 24px;
  }
}

/* #endregion swiper-header-desktop*/

/* #region swiper-header-all*/

.swiper-header .swiper-slide {
  width: 100%;
  text-align: center;
  font-size: 18px;
  background: #fff;
  /*Centerslidetextvertically*/
  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;
  overflow: hidden;
  cursor: pointer;
}

.swiper-header .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-header a {
  width: 100%;
  height: 100%;
}

.swiper-header .swiper-pagination {
  display: flex;
  right: 50%;
  width: fit-content;
  transform: translateX(50%);
  background: #ffffff26;
  padding: 4px;
  border-radius: 24px;
}

.swiper-header .swiper-pagination span {
  background-color: #fff;
}

.swiper-header .swiper-pagination span.swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 16px;
  transition: width 0.3s;
}

.swiper-header .button-np {
  position: absolute;
  bottom: -40px;
  right: 32px;
  display: flex;
  transition: all 0.3s;
}

.swiper-header:hover>.button-np {
  bottom: 32px;
}

.swiper-header .swiper-button-next,
.swiper-header .swiper-button-prev {
  position: relative;
  margin: 0 4px !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  background-color: #ffffff26;
  color: rgb(255, 255, 255);
  border-radius: 8px !important;
  width: 32px;
  height: 32px;
}

.swiper-header .swiper-button-next::after,
.swiper-header .swiper-button-prev::after {
  font-size: 14px;
  font-weight: bold;
  margin: 0 !important;
  padding: 0 !important;

}


/* #endregion swiper-header-all*/

/* #endregion swiper-header*/

/* #region swiper-category */


.swiper-category {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.swiper-category .swiper-wrapper {
  width: fit-content;
  max-width: 100%;
  gap: 24px;
}

.swiper-category .button-np {
  position: relative;
  display: flex;
  justify-content: center;
  transition: all 0.3s;
}

.swiper-category-button-prev,
.swiper-category-button-next {
  position: relative !important;
  margin: 0 4px !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  background-color: var(--color-primary-100);
  color: var(--color-primary);
  border-radius: 8px !important;
  width: 32px;
  height: 32px;
}

.swiper-category-button-prev::after,
.swiper-category-button-next::after {
  font-size: 14px;
  font-weight: bold;
  margin: 0 !important;
  padding: 0 !important;

}


.swiper-category .swiper-slide {
  width: 128px;
  height: 128px;
}

.category-item {
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.category-item-img {
  width: 64px;
  height: 64px;
  mix-blend-mode: multiply;
}

.category-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-item-title {
  font-size: 0.9rem;
  color: var(--color-neutral-700);
  margin-top: 0.7rem;
  margin-bottom: 0 !important;
  font-weight: 500;
}

@media screen and (min-width : 992px) {
  .swiper-category .swiper-slide {
    width: 144px;
    height: 144px;
  }



  .category-item:hover {
    transform: scale(0.9);
  }

  .category-item-img {
    width: 60px;
    height: 60px;
  }


}

/* #endregion swiper-category */





/* #region best-selling*/


.best-selling-section {
  width: 100%;
}

.best-selling-back {
  position: relative;
  width: 100%;
  background: url(/img/home/back-best.jpg) no-repeat;
  background-size: cover;
  border-radius: var(--radius-global);
  color: var(--color-white);
  padding: 32px 24px;
  text-align: center;
  overflow: hidden;
}

.best-selling-back::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.40);
  z-index: 1;
}

.best-selling-back-content {
  position: relative;
  z-index: 2;
}

.best-selling-title {
  color: var(--color-white);
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: bold;
}


.swiper-best-selling {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  padding: 5px 15px;
  position: relative;
}

.swiper-best-selling .swiper-slide {
  text-align: center;
  font-size: 18px;
  padding: 5px;
  /* Center slide text vertically */
  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;
}


.swiper-best-selling .swiper-slide {
  width: 100%;
  padding: 0;
}



.best-selling-button-np {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
  margin: 16px 0;
}

.best-selling-button-np::before {
  content: "";
  width: calc(100% - 112px);
  height: 1px;
  background-color: var(--color-primary);
}


.swiper-best-selling-button-prev,
.swiper-best-selling-button-next {
  position: relative !important;
  margin: 0 4px;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-global);
  width: 40px;
  height: 40px;
  z-index: 1 !important;
  transform: rotate(180deg);
}

.swiper-best-selling-button-prev::after,
.swiper-best-selling-button-next::after {
  font-size: 1rem;
  font-weight: bold;
  margin: 0 !important;
  padding: 0 !important;
}


@media screen and (min-width : 992px) {
  .best-selling-section {
    width: 288px;
    height: 100%;
  }

  .best-selling-back {
    height: 304px;
    text-align: right;
  }

  .best-selling-title {
    font-size: 2rem;
  }

  .swiper-best-selling {
    width: calc(100% - 312px);
    height: 100%;
    border-radius: 10px;
    padding: 5px 15px;
    position: relative;
  }

}

/* #endregion best-selling*/




/* #region product*/

.product {
  position: relative;
  display: block;
  width: 100%;
  height: 450px;
  padding: 16px;
  background-color: var(--color-neutral-000);
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-global);
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.product:hover {
  box-shadow: var(--shadow-2);
}

.product-head {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: var(--radius-global);
  overflow: hidden;
}

.product-head img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: all 0.5s ease-in-out;
}

.product-like {
  position: absolute;
  top: 8px;
  right: 8px;
}

.product:hover>.product-head img {
  transform: scale(1.1);
}

.product-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  width: 100%;
  height: 250px;
  padding: 16px 4px;
  text-align: right;
}

.product-title {
  color: var(--color-neutral-800);
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 400;
}

.product-price {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: var(--color-main2);
}

.product-price p {
  margin: 0;
  padding: 0;
}

.price-now {
  color: var(--color-neutral-700);
  font-size: 0.9rem;
}

.price-now span {
  font-size: 0.8rem;
}

.price-old {
  position: relative;
  color: var(--color-neutral-300);
  font-size: 0.9rem;
}

.price-old::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(50%);
  width: 100%;
  background-color: var(--color-neutral-400);
  height: 0.5px;
}

.product-body .product-off {
  position: absolute;
  bottom: 50px;
  right: 0;
  padding: 4px 8px;
  color: var(--color-white);
  background-color: red;
  border-radius: var(--radius-large);
  font-size: 0.9rem;
}

.product .product-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 8px;
  font-size: 0.9rem;
  background-color: var(--color-primary-600);
  color: var(--color-neutral-000);
  border-radius: var(--radius-large);
}

@media screen and (min-width : 992px) {
  .product {
    width: 100%;
    height: 450px;
  }

  .product-body {
    padding: 24px 8px;
  }
}


/* #endregion product*/

/* #region product-details */

.product-details {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: auto;
  padding: 16px;
  gap: 8px;
  background-color: var(--color-neutral-000);
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-global);
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.product-details-item,
.product-details-item-none {
  width: 100%;
  padding: 16px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
}


.product-details-item-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  color: var(--color-neutral-800);
}


.product-details-item-icon img {
  width: 40px;
  height: 40px;
}

.product-details-item-text {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500 !important;
  color: var(--color-neutral-600);
}

/* #endregion product-details */

/* #region category-important*/

.category-important {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.category-important-item {
  position: relative;
  width: 100%;
  height: 291px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-neutral-000);
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-global);
  padding: 16px 16px 0 16px;
}

.category-important-head {
  position: relative;
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-important-head::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 90%;
  clip-path: polygon(0 0, 100% 0%, 100% 50%, 50% 100%, 0% 50%);
  border-radius: var(--radius-global);
  z-index: 1;
}

.category-important-blue .category-important-head::before {
  background-color: var(--color-info-100);
}

.category-important-red .category-important-head::before {
  background-color: var(--color-danger-100);
}

.category-important-purple .category-important-head::before {
  background-color: var(--color-primary-100);
}

.category-important-img {
  position: absolute;
  bottom: 0;
  width: auto;
  height: 65%;
  z-index: 2;
}

.category-important-body {
  width: 100%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 16px 0;
}

.category-important-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-neutral-900);
}

.category-important-description {
  font-size: 0.9rem;
  color: var(--color-neutral-500);
}

.category-important-btn {
  position: absolute;
  bottom: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: var(--radius-global) var(--radius-global) 0 0;
  background-color: var(--color-info-300);
  color: var(--color-white);
  gap: 8px;
  margin-top: 12px;

}


.category-important-blue .category-important-btn {
  background-color: var(--color-info-400);
}

.category-important-red .category-important-btn {
  background-color: var(--color-danger-400);
}

.category-important-purple .category-important-btn {
  background-color: var(--color-primary-400);
}



@media screen and (min-width : 375px) {

  .category-important-item {
    height: 180px;
    flex-direction: row;
    padding: 16px;
  }

  .category-important-head {
    width: 40%;
    height: 100%;
  }

  .category-important-head::before {
    width: 80%;
    height: 100%;
    clip-path: polygon(50% 0, 100% 0%, 100% 100%, 50% 100%, 0% 50%);
  }

  .category-important-img {
    left: 0;
    bottom: auto;
    height: 70%;
  }

  .category-important-body {
    width: calc(60% - 16px);
    justify-content: center;
    align-items: flex-start;
  }

  .category-important-btn {
    position: relative;
    border-radius: var(--radius-global);
  }


}

@media screen and (min-width : 768px) {
  .category-important-item {
    width: calc(33% - 16px);
    height: 291px;
    flex-direction: column;
  }

  .category-important-head {
    width: 100%;
    height: 50%;
  }

  .category-important-head::before {
    width: 100%;
    height: 90%;
    clip-path: polygon(0 0, 100% 0%, 100% 50%, 50% 100%, 0% 50%);
  }

  .category-important-img {
    left: auto;
    bottom: 0;
  }

  .category-important-body {
    width: 100%;
    height: 50%;
    justify-content: flex-start;
    align-items: center;
  }

  .category-important-title {
    font-size: 1.1rem;
  }

  .category-important-btn {
    position: absolute;
    bottom: 0;
    border-radius: var(--radius-global) var(--radius-global) 0 0;
  }

}

@media screen and (min-width : 992px) {

  .category-important-item {
    width: 256px;
  }
}


/* #endregion category-important*/




/* #region special-offers*/

.special-offers {
  position: relative;
  width: 90%;
  padding: 24px !important;
  padding-top: 80px !important;
  margin: auto;
  margin-bottom: 40px;
}

.special-offers-back {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 200px;
  padding: 32px 16px;
  background: var(--color-primary-100) url(/img/home/back2.svg) no-repeat top;
  border-radius: var(--radius-large);
  text-align: center;
}


.special-offers-title {
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.swiper-special-offers {
  position: relative;
  width: 100%;
  height: 100%;
}

.swiper-special-offers .swiper-wrapper {
  width: 100%;
}


.swiper-special-offers .swiper-slide {
  width: 100%;
  padding: 0;
}

.swiper-special-offers .product {
  width: 100%;
}


.progress-container {
  width: 100%;
  height: 5px;
  background: var(--color-neutral-100);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  margin-top: 16px;
}

.progress {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: var(--color-primary);
  animation: progressAnimation 3200ms ease-in-out infinite;
}

@keyframes progressAnimation {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}


.swiper-latest-products {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  padding: 5px 15px;
  position: relative;
}

.swiper-latest-products .swiper-slide {
  text-align: center;
  font-size: 18px;
  padding: 5px;
  /* Center slide text vertically */
  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;
}


.swiper-latest-products .swiper-slide {
  width: auto;
  padding: 0;
}

.swiper-latest-products-button-prev,
.swiper-latest-products-button-next {
  position: relative !important;
  margin: 0 4px;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-global);
  width: 40px;
  height: 40px;
  z-index: 1 !important;
}

.swiper-latest-products-button-prev::after,
.swiper-latest-products-button-next::after {
  font-size: 1rem;
  font-weight: bold;
  margin: 0 !important;
  padding: 0 !important;
}


@media screen and (min-width : 768px) {

  .special-offers {
    width: 70%;
    padding: 80px !important;
  }
}


@media screen and (min-width : 992px) {
  .special-offers {
    width: 288px;
    height: 100%;
    margin-bottom: 0;
    padding: 16px !important;
    padding-top: 80px !important;
  }

  .swiper-latest-products {
    height: 100%;
    border-radius: 10px;
    padding: 5px 15px;
    position: relative;
  }

}

@media screen and (min-width : 992px) {

  .swiper-best-selling .swiper-slide {
    width: calc(50% - 16px) !important;
  }

  .swiper-latest-products .swiper-slide {
    width: calc(33.99% - 16px) !important;
  }


  .swiper-best-selling .product,
  .swiper-latest-products .product {
    width: 100% !important;
  }
}

@media screen and (min-width : 1200px) {

  .swiper-best-selling .swiper-slide {
    width: calc(33.99% - 16px) !important;
  }

  .swiper-latest-products .swiper-slide {
    width: calc(25% - 16px) !important;
  }
}

/* #endregion special-offers*/


/* #region proposal*/


.swiper-proposal {
  width: 100% !important;
  height: 100%;
  border-radius: 10px;
  padding: 5px 15px;
  position: relative;
}

.swiper-proposal .swiper-wrapper {
  gap: 24px;
}

.swiper-proposal .swiper-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -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;
}


.swiper-proposal .swiper-slide {
  width: 300px !important;
  max-width: 100%;
  gap: 16px;
  padding: 0;
  margin: 0 !important;
}


@media screen and (min-width : 992px) {
  .swiper-proposal .swiper-slide {
    width: calc(33% - 16px) !important;
    padding: 0;
  }

}

@media screen and (min-width : 1200px) {
  .swiper-proposal .swiper-slide {
    width: calc(25% - 16px) !important;
    padding: 0;
  }

}

/* #endregion proposal*/



.articles {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}



.article {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  height: 220px;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  border-radius: var(--radius-global);
  width: 100%;
}

.article-head {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.article-head::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(2px);
}

.article-head img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: all 0.5s ease-in-out;
}

.article:hover>.article-head img {
  transform: scale(1.1);
}

.article-body {
  width: 100%;
  padding: 24px 16px;
  text-align: right;
  transition: all 0.4s ease-in-out;
  z-index: 2;
}


.article-title {
  color: var(--color-neutral-000);
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 400;
}

.article-details {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-neutral-100);
  font-size: 0.9rem;
}

.article-details svg {
  width: 16px;
  height: 16px;
}

.article-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  background-color: var(--color-neutral-100);
  color: var(--color-primary);
  transition: all 0.4s ease-in-out;
  padding: 8px 16px;
  border-radius: var(--radius-global);
}


@media screen and (min-width :768px) {
  .article:nth-child(odd) {
    width: calc(50% - 16px);
  }

  .article:nth-child(even) {
    width: calc(50% - 16px);
  }

  .article:nth-child(3) {
    width: calc(100% - 16px);
  }
}


@media screen and (min-width :1200px) {

  .article:nth-child(odd) {
    width: calc(30% - 16px);
  }

  .article:nth-child(even) {
    width: calc(40% - 16px);
  }


  .article:nth-child(5) {
    width: calc(60% - 16px);
  }

}