.form-check.custom-checkbox .form-check-input {
  display: none;
}

.form-check.custom-checkbox span.checkmark {
  width: 36px;
  height: 20px;
  background-color: #e0e0e1;
  border-radius: 2.5rem;
  cursor: pointer;
  position: relative;
}

.form-check.custom-checkbox span.checkmark::after {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  background-color: #fff;
  border-radius: 50%;
  left: 2px;
  top: auto;
  bottom: 50%;
  position: absolute;
  transform: translateY(50%);
}
.form-check.custom-checkbox span.checkmark.checked::after {
  background-color: var(--color1);
  left: 100%;
  right: 2px;
}
.widget_layered_nav_filters {
  background: #ddc8af4d;
  padding: 20px;
  margin-bottom: 14px;
}

.widget_layered_nav_filters .widget-title {
  margin-bottom: 10px;
}

.widget_layered_nav_filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.widget_layered_nav_filters ul li a {
  height: 40px;
  min-width: 72px;
  background: var(--color1);
  color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 5px 10px 5px 14px;
}

.widget_layered_nav_filters ul li a:after {
  content: "\e918";
  font-family: "icomoon";
  font-size: 11px;
}

.widget_layered_nav_filters ul li a:hover {
  background: var(--color2);
}

.widget.widget-side.widget_product_categories li.cat-item .cat-title {
  position: relative;
}

.widget.widget-side.widget_product_categories li.cat-item .cat-title .caticon {
  font-size: 0.75rem;
  width: 28px;
  height: 28px;
  color: var(--color2);
}
.widget-title h4 {
  padding: 0;
  margin: 0;
  font-size: 18px;
  color: #212121;
}
.widget.widget-side.widget_product_categories li.cat-item {
  padding: 0.25rem;
}
.price_slider_wrapper {
  position: relative;
  margin-top: 35px;
}
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
  position: relative;
  height: 8px;
  margin: 18px 18px 65px 5px;
  background: #66686933;
}
.woocommerce .widget_price_filter .ui-slider-horizontal {
  height: 8px;
  background-color: var(--color1);
}
.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range {
  top: 0;
  height: 100%;
  width: 100%;
  background: var(--color1);
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
  position: absolute;
  z-index: 1;
  font-size: 0.7em;
  display: block;
  border: 0;
  border-radius: 1em;
}

.price_slider_wrapper .ui-slider .ui-slider-handle {
  z-index: 2;
  width: 20px;
  height: 20px;
  cursor: ew-resize;
  outline: 0;
  top: -6px;
  margin-left: -5px;
  background: var(--color1);
  border-radius: 6px;
  position: absolute;
  transition: all 0.4s;
  left: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

#sidebar-shop
  .widget.woocommerce-widget-layered-nav:not(.widget-size-filter)
  ul
  li
  a {
  color: var(--color1);
  position: relative;
  display: flex;
  font-size: 14px;
  line-height: 1;
  padding: 14px 0;
  align-items: center;
  width: 100%;
  gap: 4px;
  position: relative;
}

#sidebar-shop .widget.woocommerce-widget-layered-nav ul li a:hover {
  color: var(--color2);
}

.price_label .from,
.price_label .to {
  position: absolute;
  color: #252525;
  font-size: 12px;
  top: 34px;
  visibility: visible;
  line-height: 12px;
}

.price_label .to {
  right: 0;
}

.price_label .from {
  left: 0;
}

.price_slider_amount {
  display: flex;
  flex-direction: column;
  text-align: right;
  font-size: 14px;
}

.price_input_amount_wrap .input--wrapper {
  position: relative;
  max-height: 40px;
}

.price_input_amount_wrap {
  margin-top: 12px;
}

.price_slider_amount label {
  display: block;
  color: #34353699;
  font-size: 14px;
  line-height: 32px;
  margin-bottom: 5px;
}

.price_slider_amount > button {
  margin: 6px auto 0;
}
.price_slider_amount .row-btn {
  margin-top: 12px;
}

#max_price:focus,
#min_price:focus {
  border: 1px solid var(--color2);
}

@media (min-width: 992px) {
  .websima-hero-content {
    position: relative;
    z-index: 10;
    width: 50%;
    padding: 0 70px 0 0;
    text-align: right;
  }

  .websima-hero-content h1 {
    font-size: 40px;
    color: var(--color3);
  }

  .websima-hero-content p {
    font-size: 18px;
    color: var(--color3);
    line-height: 32px;
  }
}

/* Extra detial */
.websima-extra-detail-content {
  border-radius: 10px;
  padding: 20px;
  margin: 3rem auto;
  border: 1px solid #a3a2a0;
  position: relative;
  text-align: center;
}

.websima-extra-detail-content .websima-detail-icon-bg {
  top: -24px;
  position: absolute;
  left: 50%;
  background-color: #fff;
  width: 70px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  border-radius: 35px;
  transform: translateX(-50%);
}
/* Extra detial */
/* Sidebar */
.sidebar-shop {
  background: #f8f7f7;
  padding: 40px 25px 25px 25px;
  border-radius: 25px;
  position: relative;
  padding-top: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 992px) {
  .sidebar-shop .sidebar-title {
    background: var(--color2);
    color: var(--color3);
    border-radius: 10px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    margin: 0;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
  }
}
.sidebar-shop .sidebar-title::before {
  content: "\e93d";
  font-family: "icomoon";
  margin-left: 10px;
  font-size: 18px;
  padding-bottom: 3px;
}

.form-check.custom-checkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.form-check.custom-checkbox .form-check-label {
  height: 50px;
  font-size: 16px;
  line-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  width: 100%;
  border-bottom: 1px solid #e0e0e0;
}

.form-check.custom-checkbox span.checkmark.checked {
  border: 1px solid var(--color1);
  background: var(--color3);
}

.form-check.custom-checkbox span.checkmark {
  width: 36px;
  height: 20px;
  background-color: #a3a2a0;
  border-radius: 2.5rem;
  cursor: pointer;
  position: relative;
  border: 1px solid #a3a2a0;
}

.sidebar-shop .widget-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget.widget-side .widget-title::after {
  content: "\e900";
  font-family: "icomoon";
  transition: transform 0.4s;
  border: 1px solid var(--color2);
  border-radius: 25px;
  font-size: 12px;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color2);
}

.widget.widget-side > ul {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  margin: 0;
}

.woocommerce.widget_price_filter > form {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  margin: 0;
}

.woocommerce.widget_price_filter.active > form {
  max-height: 1000px;
  opacity: 1;
}

.widget.widget-side.active > ul {
  max-height: 1000px;
  opacity: 1;
}

.widget.widget-side.active .widget-title::after {
  transform: rotate(180deg);
}

.price_slider_wrapper .ui-slider .ui-slider-handle:before {
  content: "\e900";
  font-family: icomoon;
  font-size: 15px;
  color: #fff;
  transform: rotate(90deg);
}

.price_slider_wrapper .ui-slider .ui-slider-handle:last-child::before {
  transform: rotate(-90deg);
}

.price_slider_wrapper .ui-slider .ui-slider-handle:hover {
  background: var(--color1);
}

.price_slider_wrapper .ui-slider .ui-slider-handle {
  z-index: 2;
  width: 20px;
  height: 20px;
  cursor: ew-resize;
  outline: 0;
  top: -6px;
  margin-left: -5px;
  background: var(--color2);
  border-radius: 6px;
  position: absolute;
  transition: all 0.4s;
  left: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range {
  top: 0;
  height: 100%;
  width: 100%;
  background: var(--color2);
}

.price_label .from,
.price_label .to {
  position: absolute;
  color: #252525;
  font-size: 12px;
  top: 34px;
  visibility: visible;
  line-height: 12px;
  font-family: "Ravi";
}

.woocommerce-widget-layered-nav a:before {
  content: " ";
  width: 24px !important;
  height: 24px !important;
  background: #e6e3e1 !important;
  margin: 1px 0 0 8px !important;
  display: inline-block;
  border-radius: 5px;
  transition: 0.4s ease;
}

.price_slider_wrapper
  .price_slider_amount
  label.screen-reader-text:nth-of-type(2) {
  margin-right: 4%;
}

.price_slider_wrapper .price_slider_amount button.button:hover {
  background-color: var(--color1);
}

.price_slider_wrapper .price_slider_amount {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.price_slider_wrapper .price_slider_amount label.screen-reader-text {
  clip: auto;
  width: auto;
  height: auto;
  position: static;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 48%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  font-size: 14px;
  color: #555;
  box-sizing: border-box;
  display: contents;
}

.price_slider_wrapper .price_slider_amount label.screen-reader-text::before {
  content: attr(placeholder);
  font-size: 14px;
  color: #999;
}
.price_label {
  font-size: 0;
}
.price_label span {
  font-size: 14px;
}
.price_label span::before {
  content: "";
}
.price_slider_wrapper .price_slider_amount button.button {
  width: 100%;
  order: 10;
  padding: 10px;
  background-color: var(--color2);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit;
}
.custom-price-inputs-wrapper input {
  display: block !important;
  width: 50%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.price_slider_amount button.button {
  width: 100%;
}

.price-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.price-input-group label {
  font-size: 13px;
  margin-bottom: 5px;
  color: #555;
  font-weight: bold;
}

.price-input-group input {
  display: block !important;
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 14px;
}

.price_slider_amount button.button {
  width: 100%;
}

.custom-price-inputs-wrapper {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  width: 100%;
}

.price-input-group label {
  font-size: 13px;
  margin-bottom: 5px;
  color: #555;
  font-weight: bold;
}

.price-input-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.price-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-unit-max {
  position: absolute;
  left: 8px;
  font-size: 12px;
  pointer-events: none;
  z-index: 10;
  top: 44px;
}

.price-unit-min {
  position: absolute;
  left: 8px;
  font-size: 12px;
  pointer-events: none;
  z-index: 10;
  top: 44px;
}

.sidebar-shop .widget.widget-side {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

div#woocommerce_product_categories-2 {
  margin-top: 25px !important;
}
.sidebar-shop .widget.widget-side:last-child {
  border-bottom: none;
  margin-bottom: 0 !important;
  padding-bottom: 0;
}
/* Sorting */
.swiper.shop-category-slider {
  padding: 10px;
}

a.tab-title:hover {
  border: 1px solid var(--color2);
}

a.tab-title:hover i {
  color: var(--color1);
}

a.tab-title:hover::before {
  background: var(--color2);
}

a.tab-title {
  border: 1px solid #f0edeb;
  padding: 20px;
  border-radius: 10px;
  min-width: 125px;
  display: flex;
  position: relative;
  transition: all 0.3s;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

a.tab-title::before {
  content: "";
  width: 5px;
  height: 45px;
  background: #f0edeb;
  display: block;
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}

.product-archive-category {
  position: relative;
  padding: 0 40px;
}

.product-archive-category .swiper-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 18px;
}

.product-archive-category .categories-swiper-nav-next {
  right: 0;
}

.product-archive-category .categories-swiper-nav-prev {
  left: 0;
}

.orderby-form {
  background: var(--color4);
  margin-block: 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.woocommerce-ordering {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.woocommerce-ordering__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #272829;
  font-size: 16px;
}

.orderby-form .orderby-list {
  display: flex;
  gap: 12px;
}

.orderby-form .orderby-list button {
  font-size: 16px;
  background: transparent;
  transition: 0.4s;
  padding: 8px;
  line-height: 21px;
  border: none;
  font-family: "Ravi";
  cursor: pointer;
  color: #706f6e;
}
.orderby-form .orderby-list button:hover {
  color: var(--color2);
}
.orderby-form .orderby-list button.selected {
  color: var(--color2);
}

.product-count {
  font-size: 14px;
  font-family: var(--Medium);
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 4px;
}
li.woocommerce-widget-layered-nav-list__item a:hover::before,
li.woocommerce-widget-layered-nav-list__item.chosen a::before {
  content: "\2713";
  background: var(--color2) !important;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 3px;
  transition: 0.4s ease;
  position: relative;
  top: 0px;
  padding-top: 3px;
}
.woocommerce-widget-layered-nav-list__item a {
  display: flex;
  align-items: center;
  margin: 1rem auto;
  font-size: 16px;
}

/* Responsive */
@media only screen and (max-width: 992px) {
  .orderby-form {
    font-size: 16px !important;
    position: relative;
    padding: 10px 15px;
    margin: 0;
    margin-right: auto;
    height: 56px;
    width: 50%;
  }
  .woocommerce-ordering .orderby-list {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: 0.4s ease;
    background: var(--nature2);
    width: 100%;
    top: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    z-index: 2;
    padding: 10px 20px;
    max-height: 290px;
    overflow: auto;
    margin: 0 0 0 -1px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    left: 0;
    border-radius: 12px;
  }
.orderby-form:hover .orderby-list {
    visibility: visible;
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    background: var(--color3);
}
  .woocommerce-ordering .orderby-list button {
    all: unset;
    cursor: pointer;
    text-align: right;
    transition: 0.4s;
    padding: 0 !important;
    background: none !important;
  }
  .woocommerce-ordering .orderby-list button:hover {
    color: var(--color1);
  }

  .row-filter-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
  }
  .mobile-filter-trigger i.icon-arr-down {
    margin-left: 0;
    margin-right: auto;
    transform: rotate(90deg);
  }
  .btn--shopsorting i.icon-arr-down {
    margin-left: 0;
    margin-right: auto;
    transform: rotate(90deg);
  }
  .btn--shopsorting {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .btn--shopsorting {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
  }
  .sidebar-mobile-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
    transition:
      right 0.6s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.6s ease,
      visibility 0.6s ease;
    padding: 0 10px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
  }
  .sidebar-mobile-wrapper:not(.is-open) {
    transition:
      right 0.6s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.6s ease,
      visibility 0s 0.6s;
  }
  .sidebar-mobile-wrapper.is-open {
    right: 0;
    visibility: visible;
    opacity: 1;
  }

  .sidebar-header-mobile i {
    background: none;
    border: none;
    font-size: 15px;
    cursor: pointer;
    padding: 0 10px;
    color: var(--color1);
  }

  .mobile-filter-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color2);
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    color: var(--color3);
    user-select: none;
    height: 56px;
    width: 50%;
  }

  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
  }

  .sidebar-overlay.is-visible {
    opacity: 1;
    visibility: visible;
  }

  body.sidebar-open {
    overflow: hidden;
  }
}
.widget_product_categories .websima-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget_product_categories .websima-cat-toggle-btn {
  transition: transform 0.3s ease;
}

.widget_product_categories .websima-cat-toggle-btn.active {
  transform: rotate(180deg);
}

.widget_product_categories .children.show {
  opacity: 1;
  max-height: 1000px;
  visibility: visible;
  margin-top: 10px;
  transform: translateY(0);
}

.widget_product_categories .children {
  list-style: none;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  margin-top: 10px;
  width: 100%;
  overflow: hidden;
  transform: translateY(-10px);
  transition: all 0.4s ease-in-out;
}
.sidebar-mobile-wrapper .sidebar-shop {
  background: #fff;
  padding: 0 10px;
  top: 15px;
}
.sidebar-header-mobile.d-flex.justify-content-between.align-items-center.mb-3 {
  background: var(--color2);
  padding: 20px;
  color: var(--color3);
  border-radius: 20px;
}
.websima-blog-editor-content .websima-blog-icon-bg {
  top: -24px;
  position: absolute;
  left: 50%;
  background-color: #fff;
  width: 70px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  border-radius: 35px;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .swiper-nav.categories-swiper-nav-next {
    right: 38%;
    bottom: 20%;
    top: auto;
  }
  .swiper-nav.categories-swiper-nav-prev {
    left: 38%;
    bottom: 20%;
    top: auto;
  }
  .product-archive-category {
    position: relative;
    padding: 0;
    padding-bottom: 5rem;
  }
}
