.product-tabs {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  max-width: 100%;
  margin: 20px 0;
  border: none;
  flex-wrap: wrap;
}

.text-cafam{
  color:#2c80c4;
}
.tabs-menu {
  display: flex;
  flex-direction: column;
  width: 30%;
  gap: 20px;
}

.tab-btn {
  background: none;
  border: 2px solid #2c80c4;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 16px;
  color: #2c80c4;
  text-align: center;
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.tab-btn::after {
  content: '›'; /* flecha tipo > */
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: inherit;
}

.tab-btn.active {
  background-color: #2c80c4;
  color: #fff;
}

.tab-btn.active::after {
  color: #fff;
}

.tab-content-wrapper {
  flex: 1;
  border: 2px solid #2c80c4;
  border-radius: 16px;
  padding: 24px;
  margin-left: 20px;
  min-height: 200px;
  background-color: #fff;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
.btn-uso-adecuado{
  width: 50%;
}

.btn-terminos-condiciones{
  width: 50%;
}
@media (max-width: 768px) {
  .product-tabs {
    flex-direction: column;
  }

  .tabs-menu {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
    margin-bottom: 15px;
  }

  .tab-btn {
    flex: 1 1 48%;
    text-align: center;
  }

  .tab-content-wrapper {
    margin-left: 0;
  }

}

/* Animación de aparición (fade + slide suave) */
.tab-content {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-content.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .tab-content-wrapper {
    max-height: 300px; /* o la altura que desees */
    overflow-y: auto;
  }

  .tab-content {
    padding: 1em;
  }

  .btn-terminos-condiciones {
    width: 100%;
  }
  .btn-uso-adecuado {
      width: 100% ;
  }
} 

.tab-content-wrapper {
  overflow-x: auto;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.tab-content-wrapper::-webkit-scrollbar {
  display: none; /* Safari y Chrome */
}

