/* ==========================================
   EVVO FAQ - Sistema Universal
   ========================================== */

.evvo-faq {
  margin: 40px auto; /* Centra el bloque */
  max-width: 850px;  /* EVITA que se estire infinito en PC */
  padding: 0 20px;   /* Aire para que no toque los bordes en ninguna pantalla */
}

.evvo-faq-item {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color 0.3s ease;
  overflow: hidden;
}

.evvo-faq-item.open {
  border-color: #268935;
}

.evvo-faq-question {
  width: 100%;
  padding: 18px;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  transition: background 0.2s;
  display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.evvo-faq-question:hover {
  background: #f8f9fa;
}

.evvo-faq-texto {
  flex: 1;
  padding-right: 15px;
}

.evvo-faq-icon {
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.3s ease;
  color: #268935;
  flex-shrink: 0;
}

.evvo-faq-item.open .evvo-faq-icon {
  transform: rotate(45deg);
}

/* CLS = 0 con grid */
.evvo-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  visibility: hidden;
}

.evvo-faq-item.open .evvo-faq-answer {
  grid-template-rows: 1fr;
  visibility: visible;
  padding: 0 18px 18px;
}

.evvo-faq-content {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.evvo-faq-content p {
  margin-bottom: 12px;
}

.evvo-faq-content p:last-child {
  margin-bottom: 0;
}

.evvo-faq-content ul {
  margin: 8px 0;
  padding-left: 20px;
}

.evvo-faq-content li {
  margin-bottom: 6px;
}

.evvo-faq-content strong {
  color: #268935;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 480px) {
  .evvo-faq-question {
    padding: 15px;
    font-size: 15px;
  }
  
  .evvo-faq-content {
    font-size: 14px;
  }
}

/* Arreglo para la Card de Seguimiento */
.evvo-card-tracking {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border-left: 6px solid #268935;
    margin-bottom: 30px;
}

.evvo-tracking-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap; /* Para que en el celular uno baje y no se encimen */
    margin-top: 20px;
}

.evvo-btn-andreani {
    background: #268935;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.evvo-btn-secundario {
    border: 1px solid #ccc;
    color: #333 !important;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
}

/* Fix para mobile: botones ancho completo */
@media (max-width: 480px) {
    .evvo-tracking-actions a {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }
}