/* WRAPPER */
.widget_product_categories {
  background: #ffffff;
  border: 1px solid #e8e0ea;
  border-radius: 14px;
  overflow: hidden;
  padding: 0 0 8px;
  margin-bottom: 24px;
}

/* Título */
.widget_product_categories .widget-title.shop-sidebar {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: #888;
  padding: 16px 20px 10px;
  display: block;
  margin: 0;
}

/* Ocultar divider de Flatsome */
.widget_product_categories .is-divider {
  display: none;
}

/* Lista raíz */
.widget_product_categories .product-categories {
  list-style: none;
  padding: 4px 0 0;
  margin: 0;
  border-top: 1px solid #e8e0ea;
}

/* Ítem raíz */
.widget_product_categories .product-categories > .cat-item {
  border-left: 3px solid transparent;
  transition: background .15s, border-color .15s;
  position: relative;
}

/* Link raíz */
.widget_product_categories .product-categories > .cat-item > a {
  display: block;
  padding: 9px 44px 9px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #2d2d2d;
  text-decoration: none;
  line-height: 1.3;
}

/* Botón toggle */
.widget_product_categories .product-categories > .cat-item > .toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
  color: #bbb;
  transition: color .15s;
  line-height: 1;
}

/* Hover raíz */
.widget_product_categories .product-categories > .cat-item:hover {
  background: #fdf0f7;
}
.widget_product_categories .product-categories > .cat-item:hover > a {
  color: #E91E7A;
}
.widget_product_categories .product-categories > .cat-item:hover > .toggle {
  color: #E91E7A;
}

/* Activa (.active) */
.widget_product_categories .product-categories > .cat-item.active {
  background: #FCE4F1;
  border-left-color: #E91E7A;
}
.widget_product_categories .product-categories > .cat-item.active > a {
  color: #E91E7A;
}
.widget_product_categories .product-categories > .cat-item.active > .toggle {
  color: #E91E7A;
}

/* SUBCATEGORÍAS */
.widget_product_categories .children {
  list-style: none;
  padding: 4px 0;
  margin: 0;
  background: #fdf8fc;
  border-top: 1px solid #f0e4ee;
  border-bottom: 1px solid #f0e4ee;
}
.widget_product_categories .children .cat-item {
  border-left: none;
  position: relative;
  transition: background .15s;
}
.widget_product_categories .children .cat-item > a {
  display: block;
  padding: 7px 40px 7px 16px;
  margin-left: 20px;
  border-left: 2px solid #f0b8d8;
  font-size: 12px;
  font-weight: 400;
  color: #666;
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
.widget_product_categories .children .cat-item:hover {
  background: #fce8f4;
}
.widget_product_categories .children .cat-item:hover > a {
  color: #E91E7A;
  border-left-color: #E91E7A;
}

/* Subcategoría activa (.current-cat) */
.widget_product_categories .children .cat-item.current-cat > a {
  color: #E91E7A;
  font-weight: 500;
  border-left-color: #E91E7A;
}
.widget_product_categories .children .cat-item.current-cat {
  background: #fce8f4;
}

/* Toggle en subcategorías */
.widget_product_categories .children .cat-item > .toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
  color: #ccc;
  font-size: 11px;
  line-height: 1;
}

/* Sub-subcategorías (3er nivel) */
.widget_product_categories .children .children {
  background: #faf4f8;
  border-top: none;
  border-bottom: none;
  padding: 2px 0;
}
.widget_product_categories .children .children .cat-item > a {
  margin-left: 36px;
  padding: 6px 20px 6px 12px;
  font-size: 11px;
  color: #888;
  border-left-color: #f5cce4;
}





/********************** CARD **********************/
/* 1. Quitar sombra del row-box-shadow-2 en productos */
.products.row-box-shadow-2 .col-inner {
  box-shadow: none !important;
}

/* 2. .col-inner ES la card visual en Flatsome */
.products .product-small .col-inner {
  border-radius: 12px;
  border: 1px solid #e8e0ea;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: none;
}

/* 3. Hover via .col.has-hover (clase nativa de Flatsome) */
.products .product-small.col.has-hover:hover .col-inner {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(233,30,122,.14);
  border-color: #f0c6e0;
}

/* 4. Zoom imagen */
.products .product-small .box-image img {
  transition: transform .35s ease;
  display: block;
  width: 100%;
}
.products .product-small.col.has-hover:hover .box-image img {
  transform: scale(1.05);
}

/* 5. Overlay Quick View */
.products .product-small .image-tools.grid-tools {
  background: rgba(26,26,46,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.products .product-small .quick-view {
  display: inline-block;
  height: 30px;
  padding: 0 16px;
  border-radius: 15px;
  background: #ffffff;
  color: #E91E7A;
  font-size: 12px;
  font-weight: 600;
  line-height: 30px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.products .product-small .quick-view:hover {
  background: #E91E7A;
  color: #ffffff;
}

/* 6. Texto */
.products .product-small .box-text.box-text-products {
  padding: 10px 16px 14px !important;
  text-align: left !important;
}
.products .product-small .product-cat.is-smaller {
  font-size: 9px !important;
  letter-spacing: .6px;
  color: #E91E7A;
  font-weight: 600;
  margin-bottom: 3px;
  opacity: 1 !important;
  text-transform: uppercase;
}
.products .product-small .woocommerce-loop-product__title {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 6px;
  line-height: 1.3;
}
.products .product-small .woocommerce-loop-product__title a {
  color: inherit;
  text-decoration: none;
}
.products .product-small.col.has-hover:hover .woocommerce-loop-product__title a {
  color: #E91E7A;
}
.products .product-small .price {
  font-size: 13px;
  font-weight: 600;
  color: #E91E7A;
}
.products .product-small .price del .woocommerce-Price-amount {
  font-size: 11px;
  color: #bbb;
  font-weight: 400;
}

/* 7. Badge Flatsome (.badge-inner) */
.products .product-small .badge-inner {
  background-color: #FCE4F1 !important;
  color: #E91E7A !important;
  border-radius: 8px !important;
  font-size: 9px;
  font-weight: 700;
}
.products .product-small .badge {
  height: 2em;
  width: auto;
  min-width: 2em;
  border-radius: 8px;
  margin: 8px;
}
.products .product-small .badge-container {
  margin: 0;
}

/* Badge WooCommerce (.onsale) */
.products .product-small .onsale {
  background: #FCE4F1 !important;
  color: #E91E7A !important;
  border-radius: 8px !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  padding: 3px 8px !important;
  min-width: auto !important;
  min-height: auto !important;
  line-height: 1.4 !important;
}




