/* SelectorEcosistema de One PreHeated. Botón junto al logo que abre un panel con Lab, Raíz y Shop.
   Archivo fuente; se copia igual a los tres sitios. Va sobre headers oscuros (#060709 / #131715). */

.ph-eco-marca, .ph-eco-boton, .ph-eco-panel, .ph-eco-panel *, .ph-cruce, .ph-cruce * { box-sizing: border-box; }
.ph-eco-panel ul, .ph-eco-panel li, .ph-eco-panel p { margin: 0; padding: 0; }
.ph-eco-marca { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }

.ph-eco-boton {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; padding: 0 10px 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px;
  background: transparent; color: #ffffff;
  font: 500 12px/1 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.02em; cursor: pointer; white-space: nowrap;
  transition: border-color 0.2s, background-color 0.2s;
}
.ph-eco-boton:hover, .ph-eco-boton[aria-expanded="true"] { border-color: #f15721; background: rgba(241, 87, 33, 0.12); }
.ph-eco-boton:focus-visible { outline: 2px solid #f15721; outline-offset: 2px; }
.ph-eco-boton svg { width: 14px; height: 14px; flex: none; }
.ph-eco-boton .ph-eco-boton__flecha { transition: transform 0.2s; }
.ph-eco-boton[aria-expanded="true"] .ph-eco-boton__flecha { transform: rotate(180deg); }
@media (max-width: 640px) {
  .ph-eco-boton { padding: 0; width: 32px; justify-content: center; }
  .ph-eco-boton__texto, .ph-eco-boton__flecha { display: none; }
}

.ph-eco-panel {
  position: fixed; z-index: 1150;
  width: min(520px, calc(100vw - 32px));
  padding: 8px; border-radius: 12px;
  background: #131715;
  border: 1px solid #2c3330;
  box-shadow: 0 18px 44px rgba(6, 7, 9, 0.45);
}
.ph-eco-panel[hidden] { display: none !important; }
.ph-eco-panel__lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 480px) { .ph-eco-panel__lista { grid-template-columns: 1fr; } }
.ph-eco-app {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 88px; padding: 16px; border: 1px solid transparent; border-radius: 8px;
  background: transparent; text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
a.ph-eco-app:hover { background: #1f2522; border-color: #3a423e; }
a.ph-eco-app:focus-visible { outline: 2px solid #f15721; outline-offset: 2px; }
.ph-eco-app__logo { display: block; height: 32px; width: auto; max-width: 100%; object-fit: contain; }
.ph-eco-app--actual { border-color: #f15721; }
.ph-eco-app__aqui {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  padding: 2px 8px; border-radius: 999px; background: #f15721; color: #ffffff;
  font: 700 9px/1.3 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
@media (max-width: 480px) { .ph-eco-app { height: 64px; } }

/* Cruce: tarjeta compacta que lleva a otro producto del ecosistema en el momento justo */
.ph-cruce {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 12px 14px; border: 1px solid #e3e2dc; border-radius: 8px;
  background: #f4f3ef; color: #131715; text-decoration: none;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; text-align: left;
  transition: border-color 0.2s;
}
.ph-cruce:hover { border-color: #131715; }
.ph-cruce:focus-visible { outline: 2px solid #c83f12; outline-offset: 2px; }
.ph-cruce__sello {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #131715; color: #ffffff;
  font: 700 13px/1 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.04em; text-transform: uppercase;
}
.ph-cruce__texto { display: grid; gap: 2px; min-width: 0; }
.ph-cruce__texto b { font-size: 14px; line-height: 1.3; }
.ph-cruce__texto span { font-size: 13px; line-height: 1.4; color: #5c5c5c; }
.ph-cruce__flecha { width: 18px; height: 18px; color: #c83f12; }

@media (prefers-reduced-motion: reduce) {
  .ph-eco-boton, .ph-eco-boton__flecha, .ph-eco-app, .ph-cruce { transition: none; }
}
