/*
    Colors
*/
.bg-gray-100 {
  background-color: #f8f9fa;
}

.bg-gray-200 {
  background-color: #e9ecef;
}

.bg-gray-300 {
  background-color: #dee2e6;
}

.bg-gray-400 {
  background-color: #ced4da;
}

.bg-gray-500 {
  background-color: #adb5bd;
}

.bg-gray-600 {
  background-color: #6c757d;
}

.bg-gray-700 {
  background-color: #495057;
}

.bg-gray-800 {
  background-color: #343a40;
}

.bg-gray-900 {
  background-color: #212529;
}

.text-gray-100 {
  color: #f8f9fa;
}

.text-gray-200 {
  color: #e9ecef;
}

.text-gray-300 {
  color: #dee2e6;
}

.text-gray-400 {
  color: #ced4da;
}

.text-gray-500 {
  color: #adb5bd;
}

.text-gray-600 {
  color: #6c757d;
}

.text-gray-700 {
  color: #495057;
}

.text-gray-800 {
  color: #343a40;
}

.text-gray-900 {
  color: #212529;
}

.bg-purple {
  background-color: #6f42c1;
}

.bg-purple-100 {
  background-color: #e2d9f3;
}

.bg-purple-200 {
  background-color: #c5b3e6;
}

.bg-purple-300 {
  background-color: #a98eda;
}

.bg-purple-400 {
  background-color: #8c68cd;
}

.bg-purple-500 {
  background-color: #6f42c1;
}

.bg-purple-600 {
  background-color: #59359a;
}

.bg-purple-700 {
  background-color: #432874;
}

.bg-purple-800 {
  background-color: #2c1a4d;
}

.bg-purple-900 {
  background-color: #160d27;
}

.text-purple {
  color: #6f42c1;
}

.text-purple-100 {
  color: #e2d9f3;
}

.text-purple-200 {
  color: #c5b3e6;
}

.text-purple-300 {
  color: #a98eda;
}

.text-purple-400 {
  color: #8c68cd;
}

.text-purple-500 {
  color: #6f42c1;
}

.text-purple-600 {
  color: #59359a;
}

.text-purple-700 {
  color: #432874;
}

.text-purple-800 {
  color: #2c1a4d;
}

.text-purple-900 {
  color: #160d27;
}

/* Typography */
@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/vazirmatn/normal/Vazirmatn-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/vazirmatn/normal/Vazirmatn-ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/vazirmatn/normal/Vazirmatn-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/vazirmatn/normal/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/vazirmatn/normal/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/vazirmatn/normal/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/vazirmatn/normal/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/vazirmatn/normal/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("/fonts/vazirmatn/normal/Vazirmatn-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/* Vazirmatn Farsi Digits */
@font-face {
  font-family: Vazirmatn FD;
  src: url("/fonts/vazirmatn/fa-digits/Vazirmatn-FD-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn FD;
  src: url("/fonts/vazirmatn/fa-digits/Vazirmatn-FD-ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn FD;
  src: url("/fonts/vazirmatn/fa-digits/Vazirmatn-FD-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn FD;
  src: url("/fonts/vazirmatn/fa-digits/Vazirmatn-FD-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn FD;
  src: url("/fonts/vazirmatn/fa-digits/Vazirmatn-FD-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn FD;
  src: url("/fonts/vazirmatn/fa-digits/Vazirmatn-FD-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn FD;
  src: url("/fonts/vazirmatn/fa-digits/Vazirmatn-FD-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn FD;
  src: url("/fonts/vazirmatn/fa-digits/Vazirmatn-FD-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn FD;
  src: url("/fonts/vazirmatn/fa-digits/Vazirmatn-FD-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/*
    Modifications
*/
body {
  font-family: Vazirmatn, "Arial Narrow", Arial, sans-serif;
  font-size: 0.875rem;
}

[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
  cursor: pointer;
}

a {
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  --bs-link-color-rgb: var(--bs-link-hover-color-rgb);
}

i[class*=fa-] {
  vertical-align: middle;
}

.btn i[class*=fa-]::before {
  vertical-align: sub;
}

.tooltip {
  font-family: Vazirmatn, "Arial Narrow", Arial, sans-serif;
}

.dropdown-menu {
  padding: 0;
}

.navbar.bg-dark .nav-item .nav-link, .nav .nav-item .nav-link {
  /*color: $gray-500;

  &.active {
      color: $white;
  }*/
}

.navbar-toggler {
  color: #fff;
}

select, input[type=checkbox], .form-check-label, .form-check-input {
  cursor: pointer;
}

.breadcrumb div::before {
  font-family: "Font Awesome 7 Free";
  content: "\f053" !important;
  font-weight: 900;
  font-size: 0.65rem;
  line-height: 1.2rem;
}
.breadcrumb div:first-child::before {
  display: none;
}

nav[aria-label=breadcrumb] {
  overflow-x: auto;
  margin-bottom: 0.5rem;
  scrollbar-width: none;
  background-color: #e9ecef;
  border-bottom: 1px solid #ced4da;
}
nav[aria-label=breadcrumb] .breadcrumb {
  white-space: nowrap;
  display: inline-block;
  margin-bottom: 0;
}
nav[aria-label=breadcrumb] .breadcrumb .breadcrumb-item {
  display: inline-block;
}

[data-bs-theme=dark] nav[aria-label=breadcrumb] {
  background-color: #212529;
  border-color: #343a40;
}

/*
    Helpers
*/
.text-bold {
  font-weight: bold;
}

.fs-7 {
  font-size: 0.875rem;
}

.fs-8 {
  font-size: 0.85rem;
}

.fs-9 {
  font-size: 0.825rem;
}

.fs-10 {
  font-size: 0.8rem;
}

h1 {
  font-size: 1.5rem;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1.2rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

.vazirmatn-fd {
  font-family: "Vazirmatn FD";
}

.cursor-pointer {
  cursor: pointer;
}

select[multiple] option {
  margin-right: 1rem;
}
select[multiple] option:before {
  display: inline-block;
  content: "";
  width: 1em;
  height: 1em;
  border-radius: 0.25rem;
  background-color: #dee2e6;
  background-image: var(--bs-form-check-bg-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: var(--bs-border-width) solid var(--bs-border-color);
  margin-top: 0.25em;
  margin-right: -1.5em;
  float: right;
}

.bg-gradient-purple {
  background: -webkit-linear-gradient(45deg, #262254, #543884);
}

.inline-list .inline-list-item::after {
  content: "";
  display: inline-block;
  -ms-flex-item-align: stretch;
      -ms-grid-row-align: stretch;
      align-self: stretch;
  width: 1px;
  min-height: 1em;
  background-color: currentcolor;
  opacity: 0.25;
  margin-right: 0.5rem;
  margin-left: 0.25rem;
  vertical-align: middle;
}
.inline-list .inline-list-item:last-child::after {
  display: none;
}

/*
    Theming
*/
header > .navbar {
  margin-top: 0 !important;
  background-color: #fff;
  border-bottom: 1px solid #495057;
}
header > .navbar.glass {
  backdrop-filter: blur(5px);
  background-color: rgba(253, 254, 255, 0.3);
}
header > .navbar.rounded-bottom {
  border-bottom-left-radius: 1.25rem;
  border-bottom-right-radius: 1.25rem;
}
header > .navbar .navbar-brand {
  font-weight: 600;
}

.navbar > .container-fluid > .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: inherit;
      flex-wrap: inherit;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.mobile-nav {
  background-color: #f8f9fa;
  box-shadow: 0 0 20px rgba(18, 38, 63, 0.25);
  -webkit-box-shadow: 0 0 20px rgba(18, 38, 63, 0.25);
}
.mobile-nav a, .mobile-nav div {
  color: #495057;
}

[data-bs-theme=dark] .mobile-nav a, [data-bs-theme=dark] .mobile-nav div {
  color: #f8f9fa;
}

[data-bs-theme=dark] .mobile-nav {
  background-color: #212529;
}
[data-bs-theme=dark] .mobile-nav.fixed-top {
  border-bottom: 1px solid #343a40;
}

[data-bs-theme=dark] header > .navbar {
  background-color: rgba(0, 0, 0, 0.3);
}

#search {
  width: 400px;
  position: relative;
  border: 1px solid var(--bs-gray-400);
  border-radius: 50px;
  height: 40px;
  cursor: text;
}
#search .input {
  line-height: 38px;
  padding: 1px 1rem;
  font-size: 0.875rem;
}
#search i {
  position: absolute;
  top: 3px;
  left: 4px;
  height: 32px;
  width: 32px;
  padding: 0.5rem;
  border-radius: 38px;
  background-color: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: initial;
}
@media screen and (max-width: 576px) {
  #search {
    width: 90dvw;
  }
}

[data-bs-theme=dark] #search {
  border: 1px solid var(--bs-gray-700);
}
[data-bs-theme=dark] #search i {
  background-color: rgba(255, 255, 255, 0.15);
}

.nav-section {
  position: sticky;
  top: 2rem;
  background-color: #fff;
  padding: 0.5rem;
  border-bottom: 1px solid #dee2e6;
  margin-bottom: -2rem;
}
.nav-section .nav {
  gap: 0.5rem;
}
.nav-section .nav-item .nav-link {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  color: #343a40;
}
.nav-section .nav-item .nav-link.active {
  color: #fff;
}

[data-bs-theme=dark] .nav-section {
  background-color: #212529;
  border-color: #343a40;
}
[data-bs-theme=dark] .nav-section .nav-link {
  color: #fff;
}

@media screen and (min-width: 768px) {
  .nav-section {
    top: 0;
  }
}
#product-full-desc-section figure.image {
  text-align: center;
}
#product-full-desc-section .image-style-block-align-right {
  text-align: right;
}
#product-full-desc-section .image-style-block-align-left {
  text-align: left;
}
#product-full-desc-section .image-style-align-left {
  float: left;
  margin-right: 1.5em;
}
#product-full-desc-section .image-style-align-right {
  float: right;
  margin-left: 1.5em;
}
#product-full-desc-section img {
  max-width: 100%;
  height: auto;
}

[data-tc-product-image-slider] [data-tc-primary-slide] {
  cursor: pointer;
}
[data-tc-product-image-slider] [data-tc-secondary-slide] {
  cursor: pointer;
}

.conversation-list-item {
  cursor: pointer;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
.conversation-list-item:hover {
  background-color: #084298;
}
.conversation-list-item.active {
  background-color: #084298;
}
.conversation-list-item div:last-child {
  width: calc(100% - 40px - 0.5rem);
}
.conversation-list-item .badge.bg-danger {
  width: 20px;
  height: 20px;
  line-height: 12pt;
}

[data-bs-theme=dark] #offcanvas_conversation {
  background-color: #212529;
  color: #fff;
  border-color: #495057;
}
[data-bs-theme=dark] #offcanvas_conversation .btn-close {
  /*color: $dark;*/
  background-color: #adb5bd;
}
#main {
  margin-top: 3.67rem;
}

.screen-height {
  height: calc(100vh - 3.67rem);
}

@media screen and (max-width: 767px) {
  #main {
    margin-top: 3.4rem;
  }
  .screen-height {
    height: calc(100vh - 3.4rem);
  }
}
#offcanvas_conversation .offcanvas-title {
  width: 90%;
}
#offcanvas_conversation .offcanvas-title .name {
  word-wrap: break-word;
  width: 80%;
}
#offcanvas_conversation .offcanvas-title > div > div {
  width: 80%;
}
#offcanvas_conversation .offcanvas-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding-top: 0;
}
#offcanvas_conversation .head > div {
  border-bottom: 1px solid #495057;
}
#offcanvas_conversation .conversation {
  max-height: 100%;
  overflow-y: auto;
  margin-bottom: 1rem;
}
#offcanvas_conversation .conversation .received .content, #offcanvas_conversation .conversation .sent .content {
  position: relative;
  width: 80%;
  color: #fff;
  background-color: #343a40;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  float: left;
  word-wrap: break-word;
  /*.read-state {
      position: absolute;
      bottom: 0;
      right: 0;
  }*/
}
#offcanvas_conversation .conversation .sent .content {
  background-color: #0a58ca;
  float: right;
}
#offcanvas_conversation .footer {
  position: relative;
}
#offcanvas_conversation .footer .btn-send {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  padding: 0;
}
#offcanvas_conversation .footer textarea, #offcanvas_conversation .footer textarea:focus {
  background-color: #212529;
  color: #dee2e6;
  border-color: #495057;
}