﻿/* catalog top */
.catalog-container {
  display: flex;
  flex-direction: column;
}

.category-description {
  position: relative;
  top: -0.9375rem;
}

.category-description img {
  max-width: 100%;
}

.category-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.category-content .content {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: flex-start;
  justify-content: center;
}

.category-content .content .header {
  display: flex;
  flex-direction: column;
}

.category-content .content .header .top {
  color: #fff;
  margin: 0 0 .3125rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
}

.category-content .content .header .bottom {
  color: #000;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
}

.category-content .content .body {
  margin: .625rem 0 0 0;
  font-size: 1.75rem;
  font-weight: 200;
  line-height: 1;
}

.category-content .content .category-button {
  position: relative;
  display: flex;
  margin: .9375rem 0 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #000;
  padding: .75rem 1.25rem;
  border: .1875rem solid #000;
  background-color: transparent;
}

.category-content .content .category-button::before {
  content: attr(data-title);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.category-content .content .category-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  height: 100%;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  -webkit-transition: all.4s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  transition: all .4s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.category-content .content .category-button:hover::after {
  opacity: 1;
  visibility: visible;
  width: 100%;
}

/* catalog left side */
.generalLeftSide .viewBox {
  margin: .9375rem 0;
}

.generalLeftSide>.modal-close {
  width: 2.375rem;
  background-color: #fff;
  border: .0625rem solid rgba(0, 0, 0, .1);
}

.generalLeftSide .block ul {
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  padding-left: 0;
  list-style-type: none;
}

.generalLeftSide .viewBox>.list>li.active {
  position: relative;
}

.generalLeftSide .viewBox ul.sublist {
  padding-left: .9375rem;
}

.generalLeftSide li a {
  position: relative;
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding-bottom: .625rem;
}

.generalLeftSide li a .category-icon {
  margin: 0 .3125rem 0 0;
}

.generalLeftSide .block-category-navigation li.active>.sublist>li a {
  color: #000;
  font-weight: 400;
}

.generalLeftSide li.active.last>a {
  color: var(--purple);
  font-weight: 700;
}

.generalLeftSide li a .total {
  position: relative;
  right: -0.3125rem;
  font-size: .875rem;
  font-weight: 400;
  opacity: .5;
}

.generalLeftSide .block-category-navigation li.active .sublist>li.last>a {
  color: #0E606C;
  font-weight: 500;
}

.generalLeftSide li {
  position: relative;
}

.generalLeftSide li.active.last>a .total,
.generalLeftSide li a:hover .total {
  opacity: 1;
}

.generalLeftSide .block-category-navigation li.active>.sublist>li::before,
.generalLeftSide .block-category-navigation li.active>.sublist>li::after {
  content: "";
  position: absolute;
  top: 0;
  left: -0.9375rem;
  width: .625rem;
  height: 105%;
  border-left: .0625rem solid #e7e7e7;
}

.generalLeftSide .block-category-navigation li.active>.sublist>li::before {
  height: 105%;
}

.generalLeftSide .block-category-navigation li.active>.sublist>li:last-child::before {
  display: none;
}

.generalLeftSide .block-category-navigation li.active>.sublist>li::after {
  height: .625rem;
  border-bottom: .0625rem solid #e7e7e7;
}

.generalLeftSide .btn.color-container {
  margin: 0 .3125rem .3125rem 0;
}

.generalLeftSide .btn.color-container:focus,
.generalLeftSide .btn.color-container:active {
  box-shadow: none;
  border-radius: 100%;
}

.generalLeftSide .btn.color-container .color {
  width: 2rem;
  height: 2rem;
}

/* vendor tabs */
.vendor-page .nav-tabs {
  position: relative;
  justify-content: center;
  border: 0;
}

.vendor-page .nav-tabs li:first-child::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: .0625rem;
  background: rgba(0, 0, 0, .1);
  z-index: 0;
}

.vendor-page .nav-tabs li:first-child::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: .0625rem;
  background: rgba(0, 0, 0, .1);
  z-index: 0;
}

.vendor-page .nav-tabs .nav-link {
  position: relative;
  margin: 0 -0.0625rem .0625rem 0;
  padding: 1rem 1.625rem;
  font-size: .875rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #000;
  background-color: transparent;
  border: .0625rem solid rgba(0, 0, 0, .1);
  outline: none;
  border-radius: 0;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}

.vendor-page .nav-tabs .nav-link.active {
  color: #fff;
  background-color: var(--purple);
}

.vendor-page.nav-tabs .nav-link:hover:not(.active) {
  color: #fff;
  background-color: #000;
}

.vendor-page .nav-tabs .nav-link::before {
  content: "";
  position: absolute;
  bottom: 0rem;
  left: 50%;
  right: 50%;
  width: 0;
  height: 100%;
  background: #333;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  z-index: -1;
}

.vendor-page .nav-tabs .nav-link:hover::before {
  left: 0;
  right: 0;
  width: 100%;
}

.vendor-page .nav-tabs .nav-link.active::before {
  background: #25b232;
  left: 0;
  right: 0;
  width: 100%;
}

/* catalog right side */
.sort-container {
  display: inline-flex;
  align-items: center;
}

.sort-container:not(:last-child) {
  margin: 0 .625rem 0 0;
}

.sort-container .col-form-label {
  margin: 0 .3125rem 0 0;
  color: #666;
  font-size: .75rem;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  white-space: nowrap;
}

.sort-container .custom-select {
  min-width: 3.75rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--tertiary-color);
  border: .0625rem solid var(--border-light-grey);
  border-radius: 0.5rem;
}

.item-statistics {
  color: #000;
  font-size: .875rem;
  font-weight: 700;
}

.item-statistics .items-per-page span,
.item-statistics .items-separator {
  margin: 0 .3125rem 0 0;
}

.b-avatar .b-avatar-img img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 0;
}

.viewmode-icon {
  cursor: pointer;
}

.viewmode-icon .list-icon {
  margin: 0 0 0 .9375rem;
}

/* selectors */
.grid-icon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.grid-icon span::before {
  content: '';
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  width: .4375rem;
  height: .4375rem;
  margin: 0 .125rem .125rem 0;
  background: #aaa;
}

.grid-icon span::after {
  content: '';
  position: relative;
  top: 0;
  left: 0;
  width: .4375rem;
  display: flex;
  height: .4375rem;
  margin: 0;
  background: #aaa;
}

.list-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.875rem;
  height: 1rem;
}

.list-icon span {
  display: inline-flex;
  flex-wrap: nowrap;
  width: 100%;
}

.list-icon span::before {
  content: '';
  position: relative;
  top: 0;
  left: 0;
  width: .5625rem;
  display: flex;
  height: .4375rem;
  margin: 0 .125rem .125rem 0;
  background: #aaa;
}

.list-icon span::after {
  content: '';
  position: relative;
  top: 0;
  left: 0;
  width: 1.25rem;
  display: flex;
  height: .4375rem;
  margin: 0;
  background: #aaa;
}

.viewmode-icon.selected .grid-icon span::before,
.viewmode-icon.selected .grid-icon span::after,
.viewmode-icon.selected .list-icon span::before,
.viewmode-icon.selected .list-icon span::after,
.viewmode-icon:hover .grid-icon span::before,
.viewmode-icon:hover .grid-icon span::after,
.viewmode-icon:hover .list-icon span::before,
.viewmode-icon:hover .list-icon span::after {
  background: var(--purple);
}

/* lefst side toogler */
.left-side-toggler {
  padding: .625rem;
  border: .0625rem solid rgba(0, 0, 0, .1);
  margin: 0 0 .9375rem 0;
}

.left-side-toggler .inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  width: 2.25rem;
  height: 1.0625rem;
}

.left-side-toggler .inner span {
  height: .1875rem;
  background: #49a0c2;
  -webkit-transition: width .4s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  transition: width .4s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.left-side-toggler .inner span:first-child {
  width: 100%;
}

.left-side-toggler .inner span:nth-child(2) {
  width: 75%;
}

.left-side-toggler .inner span:last-child {
  width: 50%;
}

.left-side-toggler:hover .inner span {
  width: 100%;
}

.left-side-toggler .text {
  margin: 0 0 0 .3125rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.breadcrumb .breadcrumb-item.active .current-item {
  color: var(--grey-90);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.product-box .card-title a {
  overflow: hidden;
  color: var(--grey-90);
  text-overflow: ellipsis;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.product-box .actual-price {
  color: var(--grey-90);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.product-box .price-per {
  color: var(--grey-60);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* pagintaion */
.pagination {
  flex-wrap: wrap;
}

.pagination .page-item {
  margin: 0 0 .3125rem 0;
}

.pagination .page-link {
  color: #000;
  font-weight: 500;
  background-color: #f8f9fa;
  cursor: pointer;
}

.pagination .currentpage.page-item .page-link {
  pointer-events: none;
}

.pagination .currentpage.page-item .page-link {
  color: #fff;
  background-color: #0E606C;
  border-color: #0E606C;
}

.pagination .page-item:not(.currentpage):hover .page-link {
  color: #fff;
  background-color: #1FB0C7;
  border-color: #1FB0C7;
}

@media (max-width: 61.9375rem) {
  .generalLeftSide {
    position: fixed;
    top: 8.5625rem;
    left: 0;
    max-width: 18.75rem;
    padding: .9375rem;
    border: .0625rem solid rgba(0, 0, 0, .1);
    max-height: calc(100% - 11.5625rem);
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    background-color: #fff;
    z-index: 4;
    transition: all .4s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -webkit-transition: all .4s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  }

  .generalLeftSide:not(.show) {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

@media (max-width: 47.9375rem) {
  .category-description {
    top: -0.9375rem;
  }

  .category-content .content .header .top {
    font-size: .875rem;
  }

  .category-content .content .header .bottom {
    font-size: 1.375rem;
  }

  .category-content .content .body,
  .category-content .content .category-button {
    font-size: 1rem;
  }
}

@media (max-width: 35.9375rem) {

  .sort-container,
  .sort-container:not(:last-child) {
    width: 100%;
    margin: 0 0 .625rem 0;
  }

  .sort-container.change-view {
    justify-content: flex-end;
    margin: .625rem .625rem 0 0;
  }
}