/*
 * Shop archive chrome: sidebar widgets, filters, sorting and the grid/list switcher.
 *
 * Loaded only when WooCommerce is active, and only on the pages that need it
 * (see educeet_woocommerce_enqueue_styles in inc/common/theme-scripts.php).
 */
/*!
==================================================================
  EDUCEET — WooCommerce · Shop filter sidebar
==================================================================
  PHP    : inc/woocommerce/shop-sidebar.php
  Markup : template-parts/shop/sidebar.php
  Enqueue: inc/woocommerce/shop-sidebar.php (handle: oit-shop-sidebar)
  Compiled from the `.oit-shop-sidebar` block in
  assets/scss/components/_shop.scss.
==================================================================
*/
.oit-shop-sidebar {
  margin-right: 10px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px), (max-width: 767px) {
  .oit-shop-sidebar {
    margin-right: 0;
  }
}
.oit-shop-sidebar-widget {
  padding: 45px 37px;
  border-radius: 10px;
  background-color: var(--wc-gray-1);
  border: 1px solid var(--wc-shadow);
}

@media only screen and (min-width: 992px) and (max-width: 1199px), (max-width: 767px) {
  .oit-shop-sidebar-widget {
    padding: 35px 25px;
  }
}
.oit-shop-sidebar-widget.widget_brand_thumbnails ul li img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}

.oit-shop-sidebar-widget.widget_brand_thumbnails ul.brand-thumbnails li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  margin-bottom: 7px;
}

.oit-shop-sidebar-widget.widget_product_categories ul > li, .oit-shop-sidebar-widget.widget_rating_filter ul > li, .oit-shop-sidebar-widget.woocommerce-widget-layered-nav ul > li {
  width: 100%;
  font-size: 16px;
  transition: 0.3s;
  list-style-type: none;
  text-transform: capitalize;
  color: var(--wc-black);
}

.oit-shop-sidebar-widget.widget_product_categories ul > li:hover, .oit-shop-sidebar-widget.widget_rating_filter ul > li:hover, .oit-shop-sidebar-widget.woocommerce-widget-layered-nav ul > li:hover {
  color: var(--wc-theme-1);
}

.oit-shop-sidebar-widget.widget_product_categories ul > li.current-cat, .oit-shop-sidebar-widget.widget_rating_filter ul > li.current-cat, .oit-shop-sidebar-widget.woocommerce-widget-layered-nav ul > li.current-cat {
  color: var(--wc-theme-1);
}

.oit-shop-sidebar-widget.widget_product_categories ul > li > a, .oit-shop-sidebar-widget.widget_rating_filter ul > li > a, .oit-shop-sidebar-widget.woocommerce-widget-layered-nav ul > li > a {
  display: inline-block;
  margin-bottom: 7px;
}

.oit-shop-sidebar-widget.widget_product_categories ul > li .children, .oit-shop-sidebar-widget.widget_rating_filter ul > li .children, .oit-shop-sidebar-widget.woocommerce-widget-layered-nav ul > li .children {
  padding-left: 10px;
  list-style-type: none;
}

.oit-shop-sidebar-widget.widget_product_categories ul > li .count, .oit-shop-sidebar-widget.widget_rating_filter ul > li .count, .oit-shop-sidebar-widget.woocommerce-widget-layered-nav ul > li .count {
  float: right;
}

.oit-shop-sidebar-widget.widget_product_categories ul > li.cat-parent:not(:last-child), .oit-shop-sidebar-widget.widget_rating_filter ul > li.cat-parent:not(:last-child), .oit-shop-sidebar-widget.woocommerce-widget-layered-nav ul > li.cat-parent:not(:last-child) {
  margin-bottom: 2px;
}

.oit-shop-sidebar-widget-filter .ui-widget.ui-widget-content {
  height: 5px;
  border: 0;
  position: relative;
  background-color: color-mix(in srgb, var(--wc-theme-3) 20%, transparent);
}

.oit-shop-sidebar-widget-filter .ui-slider-horizontal .ui-slider-range {
  background-color: var(--wc-theme-1);
}

.oit-shop-sidebar-widget-filter .ui-slider .ui-slider-handle {
  position: absolute;
  top: -3px;
  width: 12px;
  height: 12px;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  background-color: var(--wc-theme-1);
}

.oit-shop-sidebar-widget-filter .ui-slider-handle:focus-visible {
  outline: none;
}

.oit-shop-sidebar-widget-filter-info span {
  height: auto;
  line-height: 1;
  padding: 0;
  border: 0;
  font-size: 16px;
  font-weight: 400;
  text-align: end;
  color: var(--wc-black);
  background-color: transparent !important;
}

.oit-shop-sidebar-widget-filter-btn {
  font-weight: 400;
  font-size: 16px;
  padding: 7px 40px;
  border-radius: 5px;
  color: var(--wc-white);
  background-color: var(--wc-theme-1);
}

.oit-shop-sidebar-widget-rating-list ul li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.oit-shop-sidebar-widget-rating-list ul li i {
  color: var(--wc-theme-2);
}

.oit-shop-sidebar-widget-rating-list ul li:not(:last-child) {
  margin-bottom: 15px;
}

.oit-shop-sidebar-widget-thumb {
  flex: 0 0 auto;
  overflow: hidden;
  margin-right: 15px;
  border-radius: 10px;
}

.oit-shop-sidebar-widget-thumb img {
  height: 120px;
  width: 120px;
  object-fit: cover;
}

.oit-shop-sidebar-widget-content-ratting-wrap {
  margin-bottom: 7px;
}

.oit-shop-sidebar-widget-content-ratting i {
  color: var(--wc-theme-2);
}

.oit-shop-sidebar-widget-content .reviewer {
  font-size: 16px;
  text-transform: capitalize;
  color: var(--wc-black);
}

.oit-shop-sidebar-widget-content .reviewer span {
  color: var(--wc-theme-3);
}

.oit-shop-sidebar-widget-title {
  font-size: 24px;
  text-transform: capitalize;
  color: var(--wc-black);
}

.oit-shop-sidebar-widget-product-price-wrapper span {
  font-size: 16px;
  list-style-type: none;
  text-transform: capitalize;
  color: var(--wc-black);
}

.oit-shop-sidebar-widget-product-price-wrapper span ins {
  text-decoration: none;
}

.oit-shop-sidebar-widget-product-price-wrapper span del bdi {
  font-size: 14px;
  opacity: 0.7;
}

.oit-shop-sidebar-widget-product-title {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.1;
  transition: 0.3s;
  color: var(--wc-black);
}

@media only screen and (min-width: 992px) and (max-width: 1199px), (max-width: 767px) {
  .oit-shop-sidebar-widget-product-title {
    font-size: 15px;
  }
}
.oit-shop-sidebar-widget-product-title:hover {
  color: var(--wc-theme-1);
}

.oit-shop-sidebar-search-box input {
  width: 100%;
  height: 55px;
  line-height: 55px;
  padding-left: 25px;
  padding-right: 60px;
  border-radius: 10px;
  text-transform: capitalize;
  color: var(--wc-black);
  background-color: var(--wc-white);
  border: 1px solid var(--wc-shadow);
}

@media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
  .oit-shop-sidebar-search-box input {
    height: 50px;
    line-height: 50px;
  }
}
.oit-shop-sidebar-search-box input::placeholder {
  font-weight: 400;
  font-size: 16px;
}

.oit-shop-sidebar-search-box input:focus {
  outline: 0;
  border-color: var(--wc-theme-1);
}

.oit-shop-sidebar-search-button button {
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
}

/* ============================================================
   Reset filters
   ============================================================*/
.oit-shop-reset {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 10px;
  border: 1px solid var(--wc-shadow);
  background-color: var(--wc-gray-1);
  color: var(--wc-black);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition: 0.3s;
}

.oit-shop-reset:hover,
.oit-shop-reset:focus-visible {
  color: var(--wc-black);
  border-color: var(--wc-theme-1);
  background-color: var(--wc-theme-1);
}

.oit-shop-reset svg {
  flex: 0 0 auto;
  transition: transform 0.4s ease;
}
.oit-shop-reset:hover svg {
  transform: rotate(-180deg);
}

.oit-shop-reset-label {
  flex: 1 1 auto;
}
.oit-shop-reset-count {
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 20px;
  background-color: var(--wc-black);
  color: var(--wc-white);
  font-size: 12px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
}

.oit-sidebar.is-filtering .oit-shop-reset svg {
  animation: oit-shop-reset-spin 0.8s linear infinite;
}

@keyframes oit-shop-reset-spin {
  to {
    transform: rotate(-360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .oit-shop-reset svg,
  .oit-shop-reset:hover svg,
  .oit-sidebar.is-filtering .oit-shop-reset svg {
    animation: none;
    transition: none;
    transform: none;
  }
}
/*!
==================================================================
  EDUCEET — WooCommerce · AJAX shop filtering
==================================================================
  PHP: Educeet Core include/woocommerce/shop-ajax.php
  JS : Educeet Core assets/js/woocommerce/shop-filter.js
  Enqueue: Educeet Core (handle: oit-shop-filter)

==================================================================
*/
/* ------------------------------------------------------------------
   1. Shared
   ------------------------------------------------------------------ */
.oit-shop-products,
.oit-sidebar {
  position: relative;
}

/* ------------------------------------------------------------------
   2. Progress bar
   ------------------------------------------------------------------ */
.oit-shop-products::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 5;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--wc-theme-3), var(--wc-theme-1), transparent);
  background-size: 40% 100%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.oit-shop-products.is-filtering::before {
  opacity: 1;
  animation: oit-shop-filter-sweep 1.1s ease-in-out infinite;
}

@keyframes oit-shop-filter-sweep {
  0% {
    background-position: -40% 0;
  }
  100% {
    background-position: 140% 0;
  }
}
/* ------------------------------------------------------------------
   3. The stale results
   ------------------------------------------------------------------*/
.oit-shop-products > *,
.oit-sidebar > * {
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.oit-shop-products.is-filtering > * {
  opacity: 0.45;
  filter: blur(1.5px) saturate(0.85);
  transform: scale(0.994);
  transform-origin: top center;
  pointer-events: none;
  user-select: none;
}

.oit-sidebar.is-filtering > * {
  opacity: 0.6;
  pointer-events: none;
}

.oit-sidebar.is-filtering {
  cursor: progress;
}

/* ------------------------------------------------------------------
   4. Spinner
   ------------------------------------------------------------------*/
.oit-shop-products.is-filtering::after {
  content: "";
  position: absolute;
  top: 120px;
  inset-inline-start: 50%;
  z-index: 6;
  width: 46px;
  height: 46px;
  margin-inline-start: -23px;
  border: 2px solid transparent;
  border-top-color: var(--wc-theme-1);
  border-inline-end-color: var(--wc-theme-3);
  border-radius: 50%;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--wc-theme-3) 10%, transparent);
  animation: oit-shop-filter-spin 0.8s cubic-bezier(0.6, 0.1, 0.4, 0.9) infinite;
  pointer-events: none;
}

@keyframes oit-shop-filter-spin {
  to {
    transform: rotate(360deg);
  }
}
/* ------------------------------------------------------------------
   5. Arrival
   ------------------------------------------------------------------ */
.oit-shop-products {
  animation: oit-shop-filter-enter 0.35s ease both;
}

@keyframes oit-shop-filter-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ------------------------------------------------------------------
   6. Reduced motion
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .oit-shop-products,
  .oit-shop-products.is-filtering::before,
  .oit-shop-products.is-filtering::after {
    animation: none;
  }
  .oit-shop-products.is-filtering::before {
    opacity: 1;
    background: var(--wc-theme-3);
    background-size: 100% 100%;
  }
  .oit-shop-products.is-filtering::after {
    border-top-color: var(--wc-theme-1);
    border-inline-end-color: var(--wc-theme-3);
  }
  .oit-shop-products.is-filtering > * {
    filter: none;
    transform: none;
  }
  .oit-shop-products > *,
  .oit-sidebar > * {
    transition: opacity 0.01ms;
  }
}
.oit-shop-view-tab {
  margin-right: 30px;
}

.oit-shop-view-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 4px;
  border-radius: 10px;
  list-style: none;
  background-color: var(--wc-gray-1);
  border: 1px solid var(--wc-shadow);
}

.oit-shop-view-nav .nav-item {
  margin: 0;
}

.oit-shop-view-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--wc-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.oit-shop-view-nav .nav-link span {
  display: inline-flex;
  align-items: center;
}

.oit-shop-view-nav .nav-link svg {
  display: block;
}

.oit-shop-view-nav .nav-link:hover {
  color: var(--wc-black);
}

.oit-shop-view-nav .nav-link.active {
  color: var(--wc-black);
  background: var(--wc-white);
  border: 1px solid var(--wc-shadow);
}

.oit-shop-view-nav .nav-link:focus-visible {
  outline-offset: 2px;
  outline: 2px solid var(--wc-black);
}


.oit-shop-filter-box {
  width: 240px;
  margin-right: 15px;
}

.oit-shop-filter {
  margin-left: 0 !important;
}

.oit-shop-filter .woocommerce-ordering {
  margin: 0 !important;
}

.oit-shop-filter {
  position: relative;
}
.oit-shop-filter .woocommerce-ordering select.orderby {
  width: 255px;
  height: 52px;
  padding: 0 45px 0 20px;
  background-color: var(--wc-gray-3);
  border: 1px solid var(--wc-gray-2);
  border-radius: 10px;
  color: var(--wc-heading);
  font-size: 15px;
  font-weight: 400;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  cursor: pointer;
}

/* Custom down arrow */
.oit-shop-filter::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--wc-heading);
  border-bottom: 2px solid var(--wc-heading);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

/* Focus */
.oit-shop-filter .woocommerce-ordering select.orderby:focus {
  border-color: var(--wc-theme-3);
  box-shadow: none;
  outline: none;
}

.widget_recent_reviews ul li {
  margin-bottom: 8px;
}

.widget_layered_nav ul li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

/* sidebar custom css */
.oit-shop-sidebar-widget ul li.chosen {
  color: var(--wc-theme-1);
}

/* filter */
.oit-shop-top {
  flex-wrap: wrap;
  gap: 15px;
}

.oit-shop-top-wrap {
  flex-wrap: wrap;
  gap: 15px;
}


/* unite test css */
.oit-shop-sidebar-widget.widget_block ul li {
    padding: 5px 0px;
}
