/* ============================================================
   Speedler Category Accordion – Frontend Styles v1.3 (Compact Ultra)
   ============================================================ */

.spca-accordion {
  font-size: 12px; /* ↓ antes 13px */
  font-family: "Poppins", sans-serif;
  color: #333;
  line-height: 1.25;
  margin: 0;
  padding: 0;
}

.spca-level {
  list-style: none;
  margin: 0;
  padding-left: 8px;
}

.spca-item {
  border-bottom: 1px solid #f2f2f2;
  transition: background 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.spca-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 1px;
  cursor: pointer;
  min-height: 21px;
}

.spca-title {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  transition: color 0.25s ease;
  flex: 1;
}

.spca-title:hover {
  color: #ff6600;
}

.spca-caret {
  color: #ff6600;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px; /* ↓ antes 10px */
  line-height: 1;
  width: 18px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: 3px;
  transition: transform 0.25s ease;
  opacity: 0.8;
}

.spca-caret:hover { opacity: 1; }

.spca-caret::after {
  content: '▾';
  display: block;
  line-height: 1;
}

.spca-item.open > .spca-row > .spca-caret::after { content: '▴'; }

.spca-item.open { border-left: 2px solid #ff6600; }

.spca-level ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}

.spca-item.open > ul {
  max-height: 400px;
  transition: max-height 0.3s ease-in;
}

.spca-lead img {
  max-width: 16px; /* ↓ antes 18px */
  height: auto;
  border-radius: 2px;
}

.spca-count {
  color: #999;
  font-size: 9px;
}

.spca-item:hover {
  background: #fafafa;
  border-color: #ffd5c4;
}

/* Responsive */
@media (max-width: 768px) {
  .spca-accordion {
    font-size: 13px;
  }
}


.spca-level-1 { padding-left: 10px; }
.spca-level-2 { padding-left: 18px; }
.spca-level-3 { padding-left: 26px; }