.term-item {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  min-height: 53px;
}

.term-title {
  color: var(--color2);
  font-size: 18px;
  font-family: var(--main_font);
  line-height: 28px;
  transition: 0.3s;
}

.term-item:hover .term-title {
  color: var(--color1);
}

.orderby__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px 5px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.widget-title.main-widget i {
  color: var(--color1);
  font-size: 24px;
}

.more-tax-desc {
  margin-top: 20px;
  color: var(--color2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.more-tax-desc:hover {
  color: var(--color1);
}

.widget-sort-product {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-direction: column;
  position: relative;
}

.item-sort {
  position: relative;
}

.woocommerce-widget-sort-list {
  display: flex;
  align-items: center;
  gap: 19px;
}

.item-sort a {
  font-size: 14px;
  transition: 0.3s;
  line-height: 20px;
  font-family: var(--main_font);
  color: var(--color2);
}

.item-sort a:hover,
.item-sort.chosen a {
  color: var(--color1);
}

.widget-title-sort {
  display: flex;
  align-items: center;
  color: var(--color2);
  font-size: 14px;
  line-height: 22px;
  cursor: default;
  cursor: pointer;
}

.widget-title-sort i.icon-sort {
  font-size: 1.25rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  color: var(--color1);
}

.widget-title-sort .sort-arrow-icon {
  font-size: 8px;
  margin-right: 14px;
  color: var(--color2);
  transition: transform 0.3s ease;
  width: 10px;
  height: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sidebar-wrap {
  border-radius: 24px;
  background: #fff;
  border: 1px solid #eeede8;
  max-width: 100%;
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
}

.sidebar-wrap > .widget-title {
  background: transparent;
  display: flex;
  padding: 24px 32px 16px;
  margin: 0 2rem 1.5rem;
  gap: 6px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 28px;
  color: var(--color1);
  border-bottom: 1px solid rgba(0, 114, 139, 0.1);
}

.btn-switch {
  display: block;
  position: relative;
  width: 46px;
  height: 25px;
  background: rgba(238, 238, 238, 1);
  transition: 0.4s ease;
  border-radius: 12px;
  border: 1px solid rgba(217, 217, 217, 1);
  cursor: pointer;
  transition: 0.3s;
}

.btn-switch:has(input[type="checkbox"]:checked) {
  border: 1px solid rgba(5, 96, 116, 1);
  background-color: rgba(0, 114, 139, 1);
}

.btn-switch input {
  display: none;
}

.btn-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 1px;
  left: 2px;
  bottom: 0;
  transition: 0.4s ease;
  width: 21px;
  height: 21px;
  background: rgba(189, 189, 189, 1);
  border-radius: 50%;
}

.btn-switch input:checked ~ .slider {
  right: 2px;
  left: unset;
}

.btn-switch:has(input[type="checkbox"]:checked) .slider {
  background: var(--white);
}

.widgetArrow {
  cursor: pointer;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  left: -4px;
  top: 8px;
  transition: 0.4s ease;
  width: 20px;
  height: 20px;
  font-size: 9px;
  transform: rotate(90deg);
  color: #272829;
}

.cat-item .widgetArrow {
  top: 11px;
}

.widgetArrow:hover {
  color: var(--color2);
}

.widgetArrow:before {
  content: "\e92c";
  font-family: icomoon;
  transform: rotate(-90deg);
  display: inline-block;
}

.widgetArrow.active {
  transform: rotate(-90deg);
  color: var(--color1);
}

.sidebar-inner {
  padding: 24px 16px 24px;
}

.sidebar-inner .widget {
  margin-bottom: 12px;
}

.sidebar-inner .widget-side:last-child {
  margin-bottom: 0 !important;
}

.sidebar-inner .widget-title {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 32px;
  position: relative;
}

.sidebar-inner .widget-title h4 {
  font-family: var(--main_font);
}

.widget-title .title {
  pointer-events: none;
}

.product-categories {
  margin-top: 10px;
}

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

.price_input_amount_wrap {
  margin-top: 12px;
}

.price_input_amount_wrap .input--wrapper:before {
  content: "تومان";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  margin: auto;
  display: flex;
  align-items: center;
  color: #8e8e8e;
}

form.woocommerce-order-form {
  display: flex;
  white-space: nowrap;
  width: 100%;
  flex-direction: column;
}

.item-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

input#min_price,
input#max_price {
  display: block !important;
  border-radius: 12px;
  border: 1px solid #4d4e5066;
  background: #fff;
  min-height: 52px;
  padding: 7px 12px 0;
  color: #272829;
  width: 100%;
  margin-bottom: 20px;
  font-size: 14px;
}

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

.price_slider_amount > button {
  margin: 1rem auto 0;
  background-color: var(--color1);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-family: var(--main_font);
  cursor: pointer;
  transition: 0.4s ease;
}

.price_slider_amount > button:hover {
  background-color: var(--color3);
}

.price_slider_amount .row-btn {
  margin-top: 12px;
}

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

.checkbox {
  font-size: 16px;
  font-family: var(--main_font);
  line-height: 32px;
  color: #252525;
  position: relative;
  display: flex;
  align-items: center;
}

.price_slider_wrapper {
  position: relative;
  margin-top: 35px;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
  position: relative;
  height: 8px;
  margin: 65px 0px 65px 0px;
  background: #00728b1a;
  border-radius: 2.75rem;
}

.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: 50%;
  position: absolute;
  transition: all 0.4s;
  left: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

/* ── Price slider tooltip ─────────────────────────────────── */
.price-handle-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  right: -10px;
  width: 115px;
  height: 30px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  z-index: 10;
}

.price-handle-tooltip.visible {
  opacity: 1;
}

.price-handle-tooltip svg {
  display: block;
  width: 114px;
  height: 37px;
}

.price-handle-tooltip__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 20px;
  font-size: 12px;
  color: #fff;
  font-family: var(--main_font);
  direction: ltr;
  unicode-bidi: embed;
  line-height: 1;
}

.price-handle-tooltip--mirrored {
  right: auto;
  left: -10px;
  transform: scaleX(-1);
}

.price-handle-tooltip--mirrored .price-handle-tooltip__text {
  transform: scaleX(-1);
  padding-right: 0;
  padding-left: 20px;
}

.price_slider_wrapper .ui-slider .ui-slider-handle:before {
  content: "";
  width: 0.875rem;
  height: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 50%;
  font-size: 0.875rem;
  transform: rotate(90deg);
}

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

.price_label .from,
.price_label .to {
  position: absolute;
  color: #9d9d9d;
  font-size: 14px;
  top: 34px;
  visibility: visible;
  line-height: 16px;
  direction: ltr;
  unicode-bidi: embed;
}

.price_label .to {
  right: 0;
}

.price_label .from {
  left: 0;
}

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

.sidebar-inner .widget-side:not(:last-child) {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(102, 104, 105, 0.2);
}

#sidebar-shop {
  position: fixed;
  right: -100%;
  top: 0;
  bottom: 0;
  transition: all 0.5s;
  z-index: 1;
  background: #fff;
}

.sidebar-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 5px;
  color: #fff;
  cursor: pointer;
  max-width: 87px;
  background: #34353699;
  border-radius: 12px;
  height: 60px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s ease;
}

.sidebar-btn:hover {
  background: var(--color2);
}

#sidebar-shop.active {
  right: 0;
  z-index: 99999;
}

#sidebar-shop .widget.woocommerce-widget-layered-nav ul,
#sidebar-shop .widget.widget_layered_nav_filters ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#sidebar-shop .widget.woocommerce-widget-layered-nav ul li,
#sidebar-shop .widget.widget_layered_nav_filters ul li {
  position: relative;
  margin: 8px 0;
}

#sidebar-shop .widget.woocommerce-widget-layered-nav ul li a,
#sidebar-shop .widget.widget_layered_nav_filters ul li a {
  color: #252525;
  position: relative;
  display: block;
  font-size: 13px;
}

#sidebar-shop .widget.woocommerce-widget-layered-nav ul li .count,
#sidebar-shop .widget.widget_layered_nav_filters ul li .count {
  display: none;
}

#sidebar-shop .widget.woocommerce-widget-layered-nav ul li a:before,
#sidebar-shop .widget.widget_layered_nav_filters ul li a:before {
  content: "";
  width: 20px;
  height: 20px;
  margin-left: 15px;
  top: 5px;
  border-radius: 6px;
  background: rgba(102, 104, 105, 0.2);
  display: inline-block;
  position: relative;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

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

#sidebar-shop .widget.woocommerce-widget-layered-nav ul li.chosen a:before,
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li:hover a:before,
#sidebar-shop .widget.widget_layered_nav_filters ul li.chosen a:before,
#sidebar-shop .widget.widget_layered_nav_filters ul li:hover a:before {
  background: var(--color2);
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

#sidebar-shop .product-categories {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 10px;
}

#sidebar-shop .product-categories .cat-item {
  margin-top: 0.5rem;
}

#sidebar-shop .product-categories .cat-item {
  position: relative;
}

#sidebar-shop .product-categories .cat-parent .cat-title {
  position: relative;
  display: block;
}

#sidebar-shop .product-categories .cat-parent .cat-title .caticon {
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color1);
  transition: 0.4s ease;
}

#sidebar-shop .product-categories .cat-parent .cat-title .caticon::before {
  content: "\e91d";
  font-family: icomoon;
}

#sidebar-shop
  .product-categories
  .cat-parent
  .cat-title
  .caticon.active::before {
  content: "\e91c";
}

#sidebar-shop .product-categories .cat-item a {
  transition: 0.3s;
  color: #0d0d0d;
  display: block;
}

#sidebar-shop .product-categories .cat-parent .cat-title a {
  padding-left: 32px;
}

#sidebar-shop .product-categories .cat-item a:hover {
  color: var(--color1);
}

#sidebar-shop .product-categories ul.children .cat-item a::before {
  content: "";
  background-color: #d6eff2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: 10px;
  display: inline-block;
  position: relative;
  top: 2px;
  transition: 0.3s;
}

#sidebar-shop .product-categories ul.children .cat-item a:hover::before {
  background-color: var(--color1);
}

#sidebar-shop .product-categories ul.children .cat-item a {
  padding-left: 0;
}

#sidebar-shop .product-categories ul.children {
  list-style: none;
  margin: 0;
  padding: 0;
}

#sidebar-shop .product-categories ul.children .cat-item {
  margin-top: 0.5rem;
}

#sidebar-shop .product-categories ul.children .cat-item a {
  color: #0d0d0d;
}

#sidebar-shop .product-categories ul.children .cat-item a:hover {
  color: var(--color1);
}

@media screen and (min-width: 992px) {
  #sidebar-shop .product-categories .cat-item:not(ul.children .cat-item) {
    margin: 0;
    padding: 0.875rem 0;
    border-bottom: 1px solid #00728b1a;
  }

  #sidebar-shop .product-categories .cat-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  #sidebar-shop .product-categories ul.children {
    padding: 0 0.5rem;
  }

  #sidebar-shop .product-categories ul.children .cat-item {
    margin-top: 0;
    padding: 0;
    border-bottom: none;
  }

  #sidebar-shop .product-categories .cat-parent .cat-title .caticon {
    color: #00728b;
  }
}

@media screen and (max-width: 991.99px) {
  #sidebar-shop .product-categories .cat-item a {
    color: var(--color1);
  }

  #sidebar-shop .product-categories ul.children .cat-item a {
    color: var(--color1);
  }

  #sidebar-shop .product-categories .cat-parent .cat-title .caticon {
    top: 1.25rem;
  }

  #sidebar-shop .product-categories .widget-side ul .cat-parent ul {
    margin-top: 0;
  }

  .woocommerce-notices-wrapper {
    margin-top: 2rem;
  }
}

.price_slider_amount > .price_label {
  font-size: 0;
}

.sidebar-banner {
  display: block;
  text-align: center;
}

.woo--order {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 10px;
  margin-bottom: 15px;
}

.mobile-count-product {
  flex: 0 0 100%;
}

.woocommerce-ordering-mobile {
  border: none;
  box-shadow: 0px 6.31px 37.84px 0px #99999933;
  background: #fff;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  flex: 0 0 100%;
}

.woocommerce-ordering-mobile .orderby {
  display: block;
  width: 100%;
  background: #fff;
  height: 60px;
  padding-right: 10px;
  color: #272829;
  font-family: inherit;
  margin: 0;
  border: none;
}

.woocommerce-ordering-mobile i {
  position: absolute;
  color: var(--color1);
  font-size: 21px;
  top: 21px;
  right: 19px;
}

@media screen and (max-width: 991.98px) {
  .woo--order {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    justify-content: space-between;
  }

  .woocommerce-ordering-mobile {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    flex: none;
  }

  .woocommerce-ordering-mobile .orderby.orderby--hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .woo--order-sort-btn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--color1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color1);
    transition: 0.3s ease;
  }

  .woo--order-sort-btn:hover {
    background: var(--color1);
    color: #fff;
  }

  .woo--order-sort-btn i {
    font-size: 20px;
  }

  .woo--order-filter-btn {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 48px;
    padding: 0 8px;
    border-radius: 12px;
    font-size: 14px;
    background: var(--color1);
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
    -webkit-user-select: none;
    user-select: none;
  }

  .woo--order-filter-btn:hover {
    opacity: 0.9;
  }

  .woo--order-filter-btn i.icon-filter {
    font-size: 20px;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Compare: same row as sort + filter until user opens compare mode */
  .woo--order .compare-archive-wrap {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  /* After clicking «مقایسه»: bar moves down; filter stretches on first row */
  .woo--order.woo-order-compare-open {
    flex-wrap: wrap;
  }

  .woo--order.woo-order-compare-open .compare-archive-wrap {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .woo--order.woo-order-compare-open
    .compare-archive-wrap
    .show-product-in-compare {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .woo--order.woo-order-compare-open
    .compare-archive-wrap
    .compare-btn-archive {
    flex: 0 0 auto;
  }

  #sidebar-shop {
    width: 100%;
    max-width: none;
    z-index: 99991;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
  }

  #sidebar-shop .sidebar-filter-mobile-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px;
    background: #fff;
    border-bottom: 1px solid var(--bg_light);
  }

  #sidebar-shop .sidebar-filter-mobile-header .sidebar-close {
    margin: 0;
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #sidebar-shop .sidebar.sidebar-shop {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
  }

  #sidebar-shop .sidebar-wrap {
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
  }

  #sidebar-shop .sidebar-wrap .sidebar-wrap-title {
    display: none;
  }

  #sidebar-shop .sidebar-inner {
    max-height: none;
    padding: 1.5rem;
  }

  /* Categories & widgets — same layout as desktop */
  #sidebar-shop .product-categories .cat-item:not(ul.children .cat-item) {
    margin: 0;
    padding: 0.875rem 0;
    border-bottom: 1px solid #00728b1a;
  }

  #sidebar-shop .product-categories .cat-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  #sidebar-shop .product-categories ul.children {
    padding: 0 0.5rem;
  }

  #sidebar-shop .product-categories ul.children .cat-item {
    margin-top: 0;
    padding: 0;
    border-bottom: none;
  }

  #sidebar-shop .product-categories .cat-parent .cat-title .caticon {
    color: #00728b;
    top: 0;
  }

  #sidebar-shop .product-categories .cat-item a,
  #sidebar-shop .product-categories ul.children .cat-item a {
    color: #0d0d0d;
  }

  #sidebar-shop .product-categories .cat-item a:hover,
  #sidebar-shop .product-categories ul.children .cat-item a:hover {
    color: var(--color1);
  }

  #sort-panel-mobile {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -280px;
    width: 100%;
    max-width: 280px;
    background: #fff;
    z-index: 99991;
    transition: all 0.5s;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
    overflow-y: auto;
  }

  #sort-panel-mobile.active {
    right: 0 !important;
  }

  .sort-panel-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid var(--color1);
    margin-bottom: 2rem;
  }

  .sort-panel-mobile-header .sort-panel-mobile-title {
    margin: 0;
    font-weight: 600;
    color: var(--color1);
  }

  .sort-panel-mobile-close {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    cursor: pointer;
    color: var(--color1);
    transition: 0.3s;
    font-size: 14px;
  }

  .sort-panel-mobile-close:hover {
    color: var(--color3);
  }

  .sort-panel-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .sort-panel-mobile-list .item-sort {
    padding: 1.125rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .sort-panel-mobile-list .item-sort a {
    display: block;
    color: var(--color2);
    transition: 0.3s;
    padding: 0 1rem;
  }

  .sort-panel-mobile-list .item-sort a:hover,
  .sort-panel-mobile-list .item-sort.chosen a {
    color: var(--color3);
  }
}

@media screen and (max-width: 992px) {
  .sidebar-close {
    color: var(--color1);
    display: flex;
    width: 40px;
    max-width: fit-content;
    min-width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    margin: 15px auto 5px 30px;
    cursor: pointer;
    transition: 0.4s ease;
  }

  .sidebar-inner .widget {
    margin-bottom: 1.25rem;
  }

  .sidebar-close:hover {
    color: red;
  }

  .sidebar-inner {
    overflow: auto;
    max-height: calc(95vh - 100px);
  }
}

@media screen and (max-width: 380px) {
  .sidebar.sidebar-shop {
    margin: 0;
  }
}

@media screen and (min-width: 768px) {
  .sidebar-inner {
    padding: 0 24px 24px;
  }

  .sidebar-wrap {
    margin-bottom: 24px;
    overflow: hidden;
  }

  .archive-content,
  .archive-faq {
    margin: 80px 0;
  }
}

@media screen and (min-width: 992px) {
  .widget-sort-product {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .widget-sort-product .woocommerce-widget-sort-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 4;
    box-shadow: 0px 24px 38px -14px #668b9329;
    background: #fff;
    border-radius: 12px;
    width: 100%;
    margin: 0;
    padding: 1rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .widget-sort-product:hover .woocommerce-widget-sort-list {
    opacity: 1;
    visibility: visible;
  }

  .widget-sort-product:hover .sort-arrow-icon {
    transform: rotate(180deg);
  }

  .wrap-order .woocommerce-widget-sort-list .item-sort {
    margin: 4px 0;
  }

  .sidebar-btn {
    display: none;
  }

  #sidebar,
  #sidebar-shop {
    position: unset;
    right: auto;
    overflow-y: unset;
    background: transparent;
  }

  #sidebar .sidebar-close,
  #sidebar-shop .sidebar-close {
    display: none;
  }

  #sidebar-shop .sidebar-filter-mobile-header {
    display: none;
  }

  #sidebar-shop .sidebar-wrap .sidebar-wrap-title {
    display: flex;
  }
}

@media screen and (min-width: 1200px) {
  .widget-sort-product .woocommerce-widget-sort-list {
    gap: 4px;
  }
}
/* Global Product Item Hover Transitions */
.product-item .product-link-wrap {
  overflow: hidden;
}

.product-item .product-thumbnail {
  transition: transform 0.7s ease;
}

/* .product-item:hover .product-thumbnail {
  transform: scale(1.1);
} */

.product-item .product-item-title a {
  transition: color 0.3s ease;
}

.product-item:hover .product-item-title a {
  color: var(--color1);
}
