/*
// TODO: adding all archive pages styles to this file.
         such as blog archive card, product archive card and etc.
*/
/*---------------------------------- fonts ----------------------------------*/
/*---------------------------------- ellipsis ----------------------------------*/
/*---------------------------------- line text ----------------------------------*/
/*---------------------------------- text gradient ----------------------------------*/
/*---------------------------------- glass effect ----------------------------------*/
/*---------------------------------- card shadow ----------------------------------*/
/*---------------------------------- font icon ----------------------------------*/
/*---------------------------------- overlay ----------------------------------*/
/*---------------------------------- border radius ----------------------------------*/
/*---------------------------------- line ----------------------------------*/
/*---------------------------------- background image ----------------------------------*/
/*---------------------------------- scroll bar ----------------------------------*/
/*---------------------------------- media query ----------------------------------*/
/*---------------------------------- flex ----------------------------------*/
/*---------------------------------- Second Language ----------------------------------*/
.filter-mobile {
  /* filter mobile button */
  /* filter mobile query */
}
.filter-mobile__button {
  padding: 10px 15px;
}
/* filter mobile */
.filter-box {
  padding: 0;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  /* filter box query */
  /* filter box active */
  /* filter box close */
  /* filter box wrapper */
}
@media only screen and (max-width: 991.98px) {
  .filter-box {
    position: fixed;
    right: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    z-index: 2000;
    overflow: auto;
    transition: all 300ms linear;
  }
}
.filter-box.active {
  right: 0;
}
.filter-box__close {
  margin-top: 10px;
  margin-left: 15px;
  justify-content: flex-end;
  align-items: center;
  font-size: 1.2rem;
  color: #1a8916;
  display: none;
}
@media only screen and (max-width: 991.98px) {
  .filter-box__close {
    display: flex;
  }
}
.filter-box__wrapper {
  width: 100%;
  padding: 15px 20px;
  background-color: #fff;
  box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
  border-radius: 5px;
}
@media screen and (max-width: 991.98px) {
  .filter-box__wrapper {
    height: 100%;
  }
}

/* filter box */
.filter-search {
  width: 100%;
  /* filter search form */
  /* filter search label */
  /* filter search field */
  /* filter search submit */
}
.filter-search__form {
  position: relative;
}
.filter-search__label {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
.filter-search__field {
  margin-top: 15px;
  /* field input */
}
.filter-search__field input {
  background-color: #f7f7f7 !important;
  height: 50px;
  font-size: 15px;
  padding: 0 10px;
  padding-left: 40px;
  width: 100%;
  border: none;
  border-radius: 5px;
}
.filter-search__field input::placeholder {
  color: gray;
}
.filter-search__submit {
  background: transparent;
  border: none;
  position: absolute;
  left: 5px;
  top: 0;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  /* submit span */
}
.filter-search__submit span {
  color: #6e6e6e;
  font-weight: 700;
  font-size: 16px;
}

/* filter search */
.filter-accordion {
  /* filter accordion body item */
  /* filter accordion more button */
}
.filter-accordion .color {
  margin: 1.5rem 0 2rem;
}
.filter-accordion__item {
  margin-top: 15px;
}
.filter-accordion__header {
  font-size: 18px;
  border-bottom: 1px solid #f2f2f2;
}
.filter-accordion__button {
  background-color: transparent;
  border: none;
  width: 100%;
  cursor: pointer;
  padding: 12px 0 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: -moz-box;
  display: flex;
}
.filter-accordion__icon {
  font-size: 16px;
  color: #333;
}
.filter-accordion__body-item {
  align-items: center;
  margin-top: 2px;
  margin-bottom: 10px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: -moz-box;
  display: flex;
  /* body item checkbox */
  /* body item bounce */
}
.filter-accordion__body-item .checkbox {
  position: relative;
  /* checkbox label */
  /* checkbox input and svg */
  /* checkbox input */
  /* checkbox svg */
  /* checkbox bounce */
}
.filter-accordion__body-item .checkbox-label {
  font-size: 15px;
  font-weight: 300;
  color: #6e6e6e;
  margin-bottom: 0;
  cursor: pointer;
  margin-right: 10px;
}
.filter-accordion__body-item .checkbox input,
.filter-accordion__body-item .checkbox svg {
  width: 19px;
  height: 19px;
  display: inline-block;
}
.filter-accordion__body-item .checkbox input {
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  outline: none;
  background: #fff;
  border: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 4px;
  transition: box-shadow 0.3s;
  box-shadow: inset 0 0 0 1px #d0d0d0;
}
.filter-accordion__body-item .checkbox input:hover {
  box-shadow: inset 0 0 0 2px #d0d0d0;
}
.filter-accordion__body-item .checkbox input:checked {
  box-shadow: inset 0 0 0 1px #0b273e;
}
.filter-accordion__body-item .checkbox svg {
  pointer-events: none;
  fill: none;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #fff;
  position: absolute;
  top: 0;
  right: 0;
  width: 19px;
  height: 19px;
  transform: scale(var(--scale, 1)) translateZ(0);
}
.filter-accordion__body-item .checkbox.bounce {
  margin-top: 5px;
}
.filter-accordion__body-item .checkbox.bounce input:checked {
  box-shadow: inset 0 0 0 11px #1a8916;
}
.filter-accordion__body-item .checkbox.bounce input:checked + svg {
  animation: bounce 0.4s linear forwards 0.2s;
}
.filter-accordion__body-item .checkbox.bounce svg {
  --scale: 0;
}
@keyframes bounce {
  50% {
    transform: scale(1.2);
  }
  75% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
.filter-accordion .more-button {
  font-size: 16px;
  color: #6e6e6e;
}

/* filter accordion */
.filter-switch {
  margin-top: 25px;
  /* filter switch toggle control */
}
.filter-switch .toggle-control {
  display: block;
  position: relative;
  padding-right: 60px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 16px;
  color: #6e6e6e;
  user-select: none;
  /* toggle control input */
  /* toggle control checked control */
  /* toggle control control */
}
.filter-switch .toggle-control input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.filter-switch .toggle-control input:checked ~ .control {
  background-color: #1a8916;
}
.filter-switch .toggle-control input:checked ~ .control:after {
  left: 22px;
}
.filter-switch .toggle-control .control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  height: 20px;
  width: 40px;
  border-radius: 10px;
  background-color: darkgray;
  transition: background-color 0.15s ease-in;
}
.filter-switch .toggle-control .control:after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 10px;
  background: white;
  transition: left 0.15s ease-in;
}

/* filter switch */
.archive-product {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: -moz-box;
  display: flex;
  flex-wrap: wrap;
  /* archive product query*/
  /* archive product items */
  /* archive product no item */
}
@media (max-width: 991.98px) {
  .archive-product {
    padding-top: 3%;
  }
}
.archive-product__items {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: -moz-box;
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  /* items product grid8 */
  /* items query */
}
.archive-product__items .product-grid8 {
  /* grid8 query */
  /* grid8 social */
  /* grid8 hover */
}
@media (min-width: 1200px) {
  .archive-product__items .product-grid8 {
    padding: 0 17px;
  }
}
.archive-product__items .product-grid8 .social {
  bottom: 6px;
  right: -11%;
}
@media (max-width: 1199.98px) {
  .archive-product__items .product-grid8 .social {
    right: -10%;
  }
}
@media (max-width: 767.98px) {
  .archive-product__items .product-grid8 .social {
    right: -8%;
  }
}
.archive-product__items .product-grid8:hover .social li:nth-child(3) {
  transition-delay: 0.3s;
}
@media (max-width: 480px) {
  .archive-product__items {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.archive-product__no-item {
  font-size: 1.8rem;
  font-weight: 400;
  color: #6e6e6e;
  border: 1px solid orange;
  padding: 20px 30px;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: start;
  border-radius: 5px;
  /* no item icon */
}
.archive-product__no-item-icon {
  margin-left: 10px;
  color: orange;
}

/* archive product */
.no-item-guid {
  margin-top: 5px;
  padding-right: 20px;
  display: block;
  width: 100%;
  font-size: 13px;
  font-weight: 300;
}

.color__field div {
  display: inline-block;
}
@media (max-width: 360px) {
  .color__field div {
    margin-bottom: 10px;
  }
}
.color__field div .color__input[type=checkbox] {
  display: none;
}
.color__input[type=checkbox] + .color__label span {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: -1px 4px 0 0;
  vertical-align: middle;
  cursor: pointer;
  border-top-left-radius: 4px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
}
.color__input[type=checkbox]#red + .color__label span {
  background-color: #c91524;
}
.color__input[type=checkbox]#blue + .color__label span {
  background-color: #314780;
}
.color__input[type=checkbox]#black + .color__label span {
  background-color: #323232;
}
.color__input[type=checkbox]:checked + .color__label span {
  box-shadow: 0 0px 5px rgba(103, 103, 103, 0.8666666667);
  text-align: center;
  padding-top: 4px;
}
.color__input[type=checkbox]:checked + .color__label span:before {
  font-family: "icomoon";
  font-size: 13px;
  content: "\e974";
  color: #fff;
}

.product-card {
  text-align: center;
}
.product-card:hover .product-card__img:before {
  animation: shine 1.3s;
}
.product-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 250px;
  padding: 0;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
.product-card__img:before {
  position: absolute;
  top: 0;
  left: -75%;
  display: block;
  content: "";
  width: 42%;
  height: 100%;
  transform: skewX(-25deg);
  z-index: 2;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
}
.product-card__img img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}
.product-card__title {
  color: #000;
  font-size: 16px;
  font-weight: 800;
}

@-webkit-keyframes shine {
  100% {
    left: 125%;
  }
}
@keyframes shine {
  100% {
    left: 125%;
  }
}
@media screen and (max-width: 479.98px) {
  .product-archive-page .product-card__img {
    height: 200px;
  }
}

.blog-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
  transition: all 300ms ease-in-out;
}
@media screen and (max-width: 991.98px) {
  .blog-card {
    margin-bottom: 30px;
  }
}
.blog-card:hover .blog-card__info {
  background-color: #1a8916;
  color: #fff;
}
.blog-card:hover .blog-card__info:before {
  transform: scale(1, 1);
  transform-origin: left center;
}
.blog-card:hover .card-title .text {
  color: #fff;
}
.blog-card:hover .blog-card__img:before {
  transform: scaleY(1);
}
.blog-card img {
  width: 100%;
  height: 100%;
  border-radius: 20px 20px 0 0;
  object-fit: cover;
}
.blog-card .blog-card__img {
  position: relative;
  display: block;
  height: 250px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
  z-index: 1;
}
@media screen and (min-width: 576px) and (max-width: 767.98px) {
  .blog-card .blog-card__img {
    height: 215px;
  }
}
.blog-card .blog-card__info {
  position: relative;
  text-align: center;
  padding: 0.75rem 1.25rem;
  transition: all 500ms ease;
}
.blog-card .blog-card__info:before {
  content: "";
  width: 100%;
  height: 4px;
  background-color: var(--agriox-base, #f1cf69);
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0, 1);
  transition: transform 500ms ease;
  transform-origin: right center;
}
.blog-card .card-title {
  z-index: 10;
  font-size: 17px;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: initial;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: all 350ms ease-in-out;
  height: 50px;
  line-height: 1.5;
  margin: 0;
}
.blog-card .card-title .text {
  color: #000;
  transition: all 500ms ease;
}

/*# sourceMappingURL=archives.css.map */
