@charset "UTF-8";

/* @font-face {
    font-family: "iransans";
    src: url("../fonts/iransans/IRANSansWeb.woff2") format("woff2");
    src: url("../fonts/iransans/IRANSansWeb.woff") format("woff");
}

 @font-face {
    font-family: "iransans";
    font-weight:700;
    src: url("../fonts/iransans/IRANSansWeb_Bold.woff2") format("woff2");
    src: url("../fonts/iransans/IRANSansWeb_Bold.woff") format("woff");
}  */
/* @font-face {
    font-family: "yekan";
    src: url("../fonts/iran-yekan/IRANYekanXFaNum-Regular.woff2") format("woff2");
    font-weight: 400;
}

@font-face {
    font-family: "yekna";
    src: url("../fonts/iran-yekan/IRANYekanXFaNum-Bold.woff2");
    font-weight: 900;
}

@font-face {
    font-family: "yekan";
    src: url("../fonts/iran-yekan/IRANYekanXFaNum-Medium.woff2");
    font-weight: 700;
} */

/* @font-face {
    font-family: "dana";
    font-weight:900;
    src: url("../fonts/dana-fanum-regular.woff2") format("woff2");
    src: url("../fonts/dana-fanum-regular.woff") format("woff");
}
 */

@font-face {
  font-family: "dana VF";
  src: url("../fonts/dana/Variable/webfont/DanaVF.woff")
      format("woff-variations"),
    /* will be the standard and works in Safari now */
      url("../fonts/dana/Variable/webfont/DanaVF.woff") format("woff");
  /* for the other supporting browsers */
  font-display: fallback;
}

body {
  font-family: "dana VF";
  color: #4a4a4a;
  background-color: #ffffff;
  overflow-x: hidden;
  -moz-font-feature-settings: "ss02";
  -webkit-font-feature-settings: "ss02";
  font-feature-settings: "ss02";

  /* font-variation-settings: "wght" 400, "wdth" 100;*/
  letter-spacing: 0;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

@supports (-webkit-touch-callout: none) {
  body,
  body * {
    letter-spacing: 0;
  }
}

html {
  scroll-behavior: smooth;
}

::-moz-selection {
  color: #fff;
  background-color: #58ae74;
}

::selection {
  color: #fff;
  background-color: #58ae74;
}

* {
  outline: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ltr-grid {
  direction: ltr;
}

.yekan-font {
  font-family: yekan !important;
}

/* h1,h2,h3,h4,h5,h6,p{
    line-height: 1.8 !important;
} */
.owl-prev,
.owl-next {
  position: absolute;
  top: 0;
  bottom: 0;
}

.products-carousel .swiper-button-next,
.products-carousel .swiper-button-prev {
  top: 36%;
  bottom: auto;
  height: auto;
}

.owl-prev.disabled span,
.owl-next.disabled span {
  opacity: 0.7;
}

.owl-prev span,
.owl-next span {
  color: #141414;
  font-size: 25px;
  filter: drop-shadow(0px 0px 12px rgba(0, 0, 0, 0.1));
  background-color: #fff;
  border-radius: 100%;
  padding: 2px;
  width: 40px;
  height: 40px;
  display: block;
  text-indent: -9999px;
  background-repeat: no-repeat !important;
  background-size: 20px !important;
  background-position: center !important;
}

.owl-next {
  left: 0;
  margin-left: -20px;
}

.owl-prev {
  right: 0;
  margin-right: -20px;
}

.owl-nav .disabled {
  opacity: 0 !important;
}

.owl-next span {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-left "><path d="m15 18-6-6 6-6"/></svg>') !important;
}

.owl-prev span {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right"><path d="m9 18 6-6-6-6"/></svg>') !important;
}

.owl-dots {
  text-align: center;
  margin-top: 16px;
}

.owl-dot {
  background-color: #e3e3e3;
}

.owl-dots button.owl-dot.active span,
.owl-dots button.owl-dot:hover span {
  background-color: #8e8e8e;
  border-radius: 50%;
  height: 8px;
  width: 8px;
  position: absolute;
  top: 0;
  left: 0;
}

.owl-dots button.owl-dot {
  /* border: 1px solid #fff; */
  /* background: white; */
  border-radius: 50%;
  height: 8px;
  width: 8px;
  position: relative;
  margin: 0 2px;
  background-color: rgba(0, 0, 0, 0.196);
}

/*start breadcrumb */

#breadcrumb li:not(:last-child):after {
  margin-right: 6px;
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6 text-gray-400' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 19l-7-7 7-7'/%3E%3C/svg%3E%0A");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* end breadcrumb */

#colors-filters input {
  visibility: hidden;
  display: none;
}

.truncate-custom {
  /* display: -webkit-box; */
  /* -webkit-line-clamp: 60; */
  /* -webkit-box-orient: vertical; */
  overflow: hidden;
  /* text-overflow: ellipsis; */
  max-height: 350px;
  position: relative;
}

/* .truncate-custom:after {
  width: 100%;
  height: 120px;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  content: "";
  position: absolute;
  top: 0;
  z-index: 10;
} */

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f5f5f5;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #9ca3af;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(81, 81, 81);
}

/* stars */

/* .rate {
    float: left;
    height: 46px;
    padding: 0 10px;
} */
.rate {
  display: flex;
  flex-direction: row-reverse;
}

.rate:not(:checked) > input {
  /* position: absolute;
      top: -9999px; */
  display: none;
}

.rate:not(:checked) > label {
  /* float: right; */
  /* width: 1em; */
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  font-size: 30px;
  /* color: #ccc; */
}

/* .rate:not(:checked)>label:before {
    content: '★ ';
} */

.rate > input:checked ~ label * {
  fill: #facc15 !important;
  color: #facc15 !important;
}

.rate:not(:checked) > label:hover *,
.rate:not(:checked) > label:hover ~ label * {
  fill: #facc15 !important;
  color: #facc15 !important;
}

.rate > input:checked + label:hover *,
.rate > input:checked + label:hover ~ label *,
.rate > input:checked ~ label:hover *,
.rate > input:checked ~ label:hover ~ label *,
.rate > label:hover ~ input:checked ~ label * {
  fill: #facc15 !important;
  color: #facc15 !important;
}

/* end stars */

.blogItem {
  -webkit-box-shadow: inset 0px -116px 43px -22px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: inset 0px -116px 43px -22px rgba(0, 0, 0, 0.7);
  box-shadow: inset 0px -116px 43px -22px rgba(0, 0, 0, 0.7);
  transition: 0.3s;
}

.blogItem:hover {
  filter: grayscale(100);
  transition: 0.3s;
}

/*(1) owl-stage box*/
.owl-carousel .owl-stage {
  display: flex;
}

.article-items {
  height: 100%;
}

/* .products-offer-carousel * {
    color: #fff !important;
} */
/* .products-offer-carousel .owl-item:not(:nth-child(1)),.products-offer .offers-item {
    background-color: #fff;
    padding:3px;
    border-radius: 8px;
} */

select {
  -moz-appearance: none;
  /* Firefox */
  -webkit-appearance: none;
  /* Safari and Chrome */
  appearance: none;
}

/* product page descriptions tab  and filters*/
#tabs-1:checked ~ label[for="tabs-1"] svg,
#tabs-2:checked ~ label[for="tabs-2"] svg,
#tabs-0:checked ~ label[for="tabs-0"] svg,
.selectFilter select:focus ~ label svg {
  -ms-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg) !important;
  transition: 500ms;
}

.pagination {
  display: -ms-flexbox;
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #363636;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link:hover {
  z-index: 2;
  color: #363636;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.page-link:focus {
  z-index: 3;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #363636;
  border-color: #363636;
}

.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6;
}

.pagination-lg .page-link {
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
  line-height: 1.5;
}

.pagination-lg .page-item:first-child .page-link {
  border-top-left-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
}

.pagination-lg .page-item:last-child .page-link {
  border-top-right-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}

.pagination-sm .page-link {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.pagination-sm .page-item:first-child .page-link {
  border-top-left-radius: 0.2rem;
  border-bottom-left-radius: 0.2rem;
}

.pagination-sm .page-item:last-child .page-link {
  border-top-right-radius: 0.2rem;
  border-bottom-right-radius: 0.2rem;
}

.product .min-h-screen #category-more-text p,
.product #category-more-text span,
.product #category-more-text h2,
.product #category-more-text h3,
.product #category-more-text h4,
.product #category-more-text h5 {
  font-family: inherit !important;
}

#search:focus ~ #searchContent,
#searchContent:hover {
  display: block !important;
}

.benefit-wrapper > a {
  background-color: #f9f9f9;
  border: 1px solid #ededed;
  padding: 8px;
  border-radius: 5px;
}

.benefit-wrapper > a > p > span {
  font-size: 15px;
  color: #555;
}

/* radio buttons */

.inputLabel input:checked + .inputIcon {
  opacity: 1 !important;
  background-color: #58ae74 !important;
  border-color: white !important;
  outline-color: #58ae74 !important;
}

/* shadow for overlay */
/* #mobile-menu{
    box-shadow: -200px 0px 0px 200px rgba(0, 0, 0, 0.74);
        -webkit-box-shadow: -200px 0px 0px 200px rgba(0, 0, 0, 0.74);
        -moz-box-shadow: -200px 0px 0px 200px rgba(0, 0, 0, 0.74);
  } */

.swiper-button-next,
.swiper-button-prev {
  color: #323232;
  display: block;
  height: 100%;
  top: 0;
  bottom: 0;
  margin: 0;
  display: flex;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 13px;
  background-color: #ffffffca;
  min-width: 25px;
  height: 25px;
  max-width: 100%;

  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 
.swiper-button-next {
    left: 0 !important;
}

.swiper-button-prev {
    right: 0 !important;
} */

.swiper {
  -webkit-user-select: none;
  user-select: none;
  height: max-content;
}

/* 
.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    opacity: 0;
} */

.swiper-wrapper {
  height: auto;
}

#main-article,
.main-content {
  p {
    margin: 5px 0 5px 0;
    line-height: 2;
    text-align: justify;
  }

  img {
    border-radius: 10px;
    max-width: 100% !important;
    vertical-align: middle;
    display: block;
    margin: 15px auto 25px;
  }

  /* برای دسکتاپ */
  @media (min-width: 1024px) {
    img {
      max-width: 500px;
    }
  }

  ul,
  ol {
    /* margin: 0 0 25px; */
    padding: 0 25px 0 0;
  }

  hr {
    margin: 27px 0;
    border-top: 2px solid #f0f0f0;
  }

  ol {
    list-style-type: decimal;
  }

  ul {
    list-style-type: disc;
  }

  .wrep_related_content {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
    padding: 8px;
    display: flex;
    font-size: 14px;
    border-radius: 10px;
    border-right: 3px solid #31708f;

    a {
      color: #31708f !important;
      font-weight: 700;
    }

    p {
      margin: 0;
    }
  }
}

p {
  font-size: 14px;
  line-height: 2;
  font-weight: 400;
  text-transform: initial;
}

h1 {
  font-size: 24px;
  font-weight: bold;
  margin: 14px 0 14px 0;
}

h2 {
  font-size: 22px;
  font-weight: bold;
  margin: 14px 0 14px 0;
  color: #444444;
}

h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 10px 0;
}

h4 {
  font-size: 16px;
  font-weight: bold;
  margin: 8px 0 8px 0;
}

h5 {
  font-size: 14px;
  font-weight: bold;
  margin: 6px 0 6px 0;
}

h5 {
  font-size: 12px;
  font-weight: bold;
  margin: 4px 0 4px 0;
}

/*ul,*/
/*ol {*/
/*    !* margin: 0 0 25px; *!*/
/*    padding: 0 35px 0 0;*/
/*}*/

strong {
  font-weight: bold;
}

li {
  font-weight: 500;
  text-align: inherit;
  text-transform: none;
}

table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 4px;

  tr:nth-child(1) {
    font-weight: bold;
  }

  td {
    background-color: #f8f8f8;
    margin: 4px;
    padding: 4px 4px;
  }
}

.TOC_Body:after {
  content: "";
  display: block;
  width: 20%;
  position: absolute;
  left: 0px;
  top: 0;

  background: rgb(255, 255, 255);
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  height: 61px;
  z-index: 20;
}

/* end product tab */
.lg-outer .lg-thumb-outer {
  background-color: #00000047;
}

.lg-thumb.lg-group {
  margin: 0 auto;
}

.lg-toogle-thumb.lg-icon {
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: #0000006b;
}

@media only screen and (min-width: 1024px) {
  .original {
    cursor: crosshair;
  }

  #target {
    width: calc(var(--t) / 2);
    max-width: 100%;
  }

  .original:hover ~ div {
    display: block;
  }

  .original::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }
}

.commentList.moreThanNum {
  max-height: 400px;
  overflow: hidden;
  /* transition: 0.2s;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        transition-timing-function: ease */
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
