/* ══════════════════════════════════════════════
   OVERLAY GLASS — detrás del banner de instalación
   ══════════════════════════════════════════════ */
.qp-install-overlay {
  position: fixed; inset: 0; z-index: 10029;
  background: rgba(15, 15, 20, .28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.qp-install-overlay.show {
  opacity: 1; pointer-events: all;
}

/* ══════════════════════════════════════════════
   BANNER DE INSTALACIÓN PWA — slide-in inferior
   ══════════════════════════════════════════════ */
.qp-install-banner {
  position: fixed;
  left: 12px; right: 12px; bottom: -200px;
  z-index: 10030;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 -8px 30px rgba(0,0,0,.18);
  padding: 14px 16px;
  transition: bottom .4s cubic-bezier(.34,1.15,.64,1);
}
.qp-install-banner.show { bottom: 16px; }

.qp-install-close {
  position: absolute; top: 8px; right: 8px;
  width: 26px; height: 26px; border-radius: 50%;
  border: none; background: #f1f1f1; color: #666;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; cursor: pointer;
}

.qp-install-body { display: flex; align-items: center; gap: 12px; padding-right: 20px; }
.qp-install-icon { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; }
.qp-install-title { font-weight: 800; font-size: 15px; color: #111; }
.qp-install-sub { font-size: 12.5px; color: #666; margin-top: 2px; line-height: 1.3; }

.qp-install-actions { display: flex; gap: 8px; margin-top: 12px; }
.qp-install-btn-secondary {
  flex: 1; padding: 10px; border-radius: 12px; border: 1px solid #e0e0e0;
  background: #fff; color: #666; font-weight: 700; font-size: 13.5px; cursor: pointer;
}
.qp-install-btn-primary {
  flex: 1.4; padding: 10px; border-radius: 12px; border: none;
  background: var(--color-marca, #fb5d03); color: #fff; font-weight: 800; font-size: 13.5px; cursor: pointer;
}

/* ══════════════════════════════════════════════
   MODAL "¿POR QUÉ INSTALARLA?"
   ══════════════════════════════════════════════ */
.qp-install-why-backdrop, .qp-install-ios-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 10040;
  display: none;
}
.qp-install-why-backdrop.show, .qp-install-ios-backdrop.show { display: block; }

.qp-install-why, .qp-install-ios {
  position: fixed; left: 50%; bottom: 0; transform: translate(-50%, 100%);
  width: min(420px, 100%); z-index: 10041;
  background: #fff; border-radius: 22px 22px 0 0;
  padding: 10px 24px 26px;
  transition: transform .35s cubic-bezier(.34,1.15,.64,1);
}
.qp-install-why.show, .qp-install-ios.show { transform: translate(-50%, 0); }

.qp-install-why-handle {
  width: 40px; height: 4px; border-radius: 4px; background: #ddd;
  margin: 8px auto 14px;
}
.qp-install-why-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-marca-light, #fff3e6); color: var(--color-marca, #fb5d03);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  margin: 0 auto 10px;
}
.qp-install-why-title { text-align: center; font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.qp-install-why-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.qp-install-why-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: #333; line-height: 1.4; }
.qp-install-why-list li i { color: #16a34a; margin-top: 3px; flex-shrink: 0; }

.qp-install-why-btn {
  width: 100%; padding: 13px; border-radius: 14px; border: none;
  background: var(--color-marca, #fb5d03); color: #fff; font-weight: 800; font-size: 14.5px; cursor: pointer;
  margin-bottom: 8px;
}
.qp-install-why-dismiss {
  width: 100%; padding: 10px; border: none; background: none;
  color: #999; font-weight: 600; font-size: 13px; cursor: pointer;
}

/* ══════════════════════════════════════════════
   INSTRUCCIONES iOS
   ══════════════════════════════════════════════ */
.qp-install-ios { position: fixed; }
.qp-install-ios-step {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font-size: 13.5px; color: #333; line-height: 1.4;
}
.qp-install-ios-num {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--color-marca, #fb5d03); color: #fff; font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.qp-install-ios-step i { color: var(--color-marca, #fb5d03); margin: 0 2px; }