/* ================= COMPARAR PLANES ================= */

.compare-floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
  background-color: #0056b3;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 18px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-floating-btn:hover {
  background-color: #004494;
}

.compare-plan-column {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 15px;
  background: #fff;
}

.compare-plan-column h5 {
  font-size: 16px;
  margin-bottom: 10px;
}

.compare-plan-item {
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.compare-plan-item:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 767px) {
  .compare-floating-btn {
    right: 10px;
    left: 10px;
    border-radius: 10px;
    justify-content: center;
  }
}
.compare-column {
  max-height: 75vh;
  overflow-y: auto;
}

.compare-column .modal-header,
.compare-column .modal-footer {
  display: none;
}

/* Ajuste para que no se vea como modal dentro de modal */
.compare-column .modal-content {
  box-shadow: none;
  border: none;
}

/* Logo centrado */
.compare-column .logo-wrap img {
  max-height: 45px;
  margin-bottom: 10px;
}
.compare-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.compare-header img {
  max-height: 40px;
  margin-bottom: 6px;
}

.compare-header h5 {
  font-size: 15px;
  font-weight: 600;
}
.remove-compare {
  margin-top: 6px;
  font-size: 12px;
  background: none;
  border: none;
  color: #d9534f;
  cursor: pointer;
}
@media (max-width: 767px) {
  #compare-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .compare-column {
    min-width: 85%;
    scroll-snap-align: start;
    margin-right: 15px;
  }
}
