/* Marcas por Categoría para WooCommerce */
.mpc-marcas {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 14px 0;
  margin: 0 0 20px;
  box-sizing: border-box;
}
.mpc-marcas__titulo {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #282828;
}
.mpc-marcas__lista {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3px 2px 7px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.mpc-marcas__item,
.woocommerce .mpc-marcas a.mpc-marcas__item {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 4px;
  min-height: 36px;
  padding: 7px 15px;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: none;
  box-sizing: border-box;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.mpc-marcas__item:hover,
.woocommerce .mpc-marcas a.mpc-marcas__item:hover {
  border-color: #444;
  background: #f7f7f7;
  color: #111;
  text-decoration: none;
}
.mpc-marcas__item.is-active,
.woocommerce .mpc-marcas a.mpc-marcas__item.is-active {
  border-color: #222;
  background: #222;
  color: #fff;
}
.mpc-marcas__item:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.mpc-marcas__numero {
  font-size: 12px;
  opacity: .75;
}
@media (max-width: 767px) {
  .mpc-marcas { display: block; }
  .mpc-marcas__titulo { display: block; margin-bottom: 9px; }
  .mpc-marcas__lista { width: 100%; }
}
