.calculadora-moderna-container {
    max-width: 500px;
    margin: 30px auto;
    background: #1f1f1f;
    color: #f1f1f1;
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(35, 87, 56, 0.2);
    font-family: 'Nunito Sans', sans-serif;
  }
  
  .calc-header h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
  }
  
  .calc-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  /* Cantidad + m2 */
  .cantidad-section {
    display: flex;
    align-items: center; /* Centra verticalmente ambos elementos */
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .m2-display {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .m2-input {
    background: #2e2e2e;
    color: #ffffff;
    border: 1px solid #444;
    padding: 6px 12px;
    border-radius: 8px;
    width: 80px;
    height: 100%;
    text-align: right;
    font-weight: 600;
  }
  
  .help-icon {
    background-color: #08C4BF;
    color: #fff;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
  }
  
  /* Sección de precio */
  .precio-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .precio-label {
    font-size: 16px;
    color: #bbb;
  }
  
  .precio-valor {
    font-size: 18px;
    font-weight: bold;
    color: #08C4BF;
  }
  
  /* Info instalación */
  .instalacion-info {
    background: #2a2a2a;
    padding: 12px;
    border-radius: 10px;
  }
  
  .info-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }
  
  .info-item {
    flex: 1;
  }
  
  .info-label {
    font-size: 13px;
    color: #999;
  }
  
  .info-valor {
    font-size: 15px;
    font-weight: bold;
    color: #ffffff;
    margin-top: 5px;
  }
  
  /* Toggle instalación */
  .agregar-instalacion {
    text-align: center;
  }
  
  .pregunta {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
  }
  
  .info-icon {
    display: inline-block;
    font-size: 14px;
    margin-bottom: 10px;
    background-color: #444;
    color: #fff;
    padding: 2px 6px;
    border-radius: 50%;
  }
  
  .toggle-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
  }
  
  .toggle-btn {
    background-color: #2f2f2f;
    border: 2px solid #08C4BF;
    color: #08C4BF;
    font-weight: bold;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .toggle-btn:hover {
    background-color: #08C4BF;
    color: #fff;
  }
  
  .toggle-btn.active {
    background-color: #08C4BF;
    color: #fff;
  }
  
  /* Total final */
  .total-section .precio-label {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
  }
  
  /* Botón añadir al carrito */
  .add-to-cart-btn {
    width: 100%;
    background-color: #00A89D;
    color: white;
    padding: 14px;
    font-size: 18px;
    border-radius: 10px;
    border: none;
    font-weight: bold;
    margin-top: 25px;
    transition: all 0.3s ease;
  }
  
  .add-to-cart-btn:hover {
    background-color: #007d75;
  }.
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background-color: #fff;
  color: #000;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  max-width: 320px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 24px;
  cursor: pointer;
}
/* Popup styles */
.ci-popup-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.3);
  justify-content: center;
  align-items: center;
}
.ci-popup-overlay.active {
  display: flex;
}
.ci-popup {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
  padding: 24px 20px 16px 20px;
  max-width: 350px;
  width: 90vw;
  position: relative;
  font-size: 1rem;
  color: #222;
  text-align: left;
}
.ci-popup .ci-popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.2em;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
}
.help-icon, .info-icon {
  cursor: pointer;
  display: inline-block;
  margin-left: 6px;
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 50%;
  
  height: 22px;
  text-align: center;
  line-height: 22px;
  transition: background 0.2s;
}
.help-icon:hover, .info-icon:hover {
  background: #cce4f7;
}
  