/*
 * Ozado V2 - Acordeón de categorías en el sidebar.
 * Réplica de css/wcsca.css del plugin "Woocommerce Sidebar Category
 * Accordion" 1.1.3, más los estilos que el plugin inyectaba en wp_head
 * (tamaño de icono y padding) y los chevrons en CSS puro (sin FontAwesome).
 */

/* ---- Estructura del acordeón (copia de wcsca.css) ---- */
.product-categories .cat-item {
  width: 100% !important;
  cursor: pointer;
}
.product-categories ul {
  margin-top: 0px !important;
}
.widget_product_categories ul li::before {
  content: '' !important;
}
.widget_product_categories ul li {
  position: relative;
  z-index: 5;
  overflow: visible !important;
  width: 100%;
  margin-bottom: 0px !important;
  padding-left: 1.3em !important;
  /* padding vertical (el plugin lo inyectaba en wp_head, valor por defecto). */
  padding-top: .5em !important;
  padding-bottom: .5em !important;
}
.widget_product_categories .wcsca-top-lvl {
  padding-left: 0px !important;
}
.widget_product_categories .wcsca-icon {
  float: right;
  font-size: 1em;
  line-height: 1;
}

/* ---- Chevron en CSS puro (reemplaza los iconos FontAwesome) ----
   El JS inserta <i class="ozado-chevron ozado-chevron--down/up">. */
.wcsca-icon .ozado-chevron {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  vertical-align: middle;
  transition: transform 0.15s ease;
}
.wcsca-icon .ozado-chevron--down {
  border-top: 6px solid currentColor;
}
.wcsca-icon .ozado-chevron--up {
  border-bottom: 6px solid currentColor;
}
