/* =====================================================================
   INMUJAL Product Hub · Estilo del sitio B2B (v11)
   Solo afecta las páginas públicas: portada, ficha del comprador,
   avisos y acceso de vendedores. Admin y portal de vendedores no cambian.
   Paleta del sitio: azul #002c59 · crema #f5f3ee · verde #66902c
   ===================================================================== */
body:has(.expo-public-entry),
body:has(.expo-buyer-showcase),
body:has(.expo-login-shell){
  --s-blue:#002c59;--s-ink:#1b262c;--s-cream:#f5f3ee;--s-muted:#6b7371;--s-green:#66902c;--s-line:#e3dfd6;
  --s-serif:Georgia,"Times New Roman",serif;
  --x-ink:#1b262c;--x-brown:#002c59;--x-navy:#002c59;--x-cream:#f5f3ee;--x-sand:#ebe6dc;
  --x-display:Helvetica,Arial,sans-serif;--x-sans:Helvetica,Arial,sans-serif;
  font-family:Helvetica,Arial,sans-serif;color:var(--s-ink);
}
/* Franja superior: se conserva la línea multicolor de INMUJAL con su animación de carga */

/* ---------- Etiqueta tipo sitio (línea verde + mayúsculas) ---------- */
html body .expo-public-entry-card>span,
html body .x-kicker-row>span,
html body .expo-login-brand .expo-kicker{
  display:inline-flex;align-items:center;gap:10px;color:var(--s-green);font:700 11px/1.2 Helvetica,Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase
}
html body .expo-public-entry-card>span::before,
html body .x-kicker-row>span::before,
html body .expo-login-brand .expo-kicker::before{content:"";width:26px;height:2px;background:currentColor;flex:none}

/* ============================ PORTADA ============================ */
body:has(.expo-public-entry){
  background:
    radial-gradient(circle at 85% 10%,rgba(102,144,44,.30),transparent 42%),
    linear-gradient(140deg,#0b3a6b 0%,#002c59 60%);
  background-attachment:fixed;
}
html body .expo-public-entry-card{
  background:var(--s-cream);border:0;border-radius:2px;
  box-shadow:0 30px 60px rgba(0,16,34,.35);
}
html body .expo-public-entry-card>span{justify-content:center;margin-top:6px}
html body .expo-public-entry-card h1{
  font-family:Helvetica,Arial,sans-serif;font-weight:500;letter-spacing:-.01em;color:var(--s-blue);
  font-size:clamp(30px,6vw,42px);line-height:1.08
}
html body .expo-public-entry-card p{color:var(--s-muted)}
html body .expo-scan{background:var(--s-blue);color:#fff;border-radius:2px}
html body .expo-scan i{background:linear-gradient(90deg,transparent,#c9e39f,transparent)}

/* ========================= FICHA DEL COMPRADOR ========================= */
body:has(.expo-buyer-showcase){background:var(--s-cream)}
html body .expo-buyer-showcase-card{
  background:#fff;border-radius:2px;box-shadow:0 18px 44px rgba(0,44,89,.10)
}
/* Encabezado azul como el del sitio */
html body .expo-buyer-showcase-top{
  background:var(--s-blue);margin:0;padding:12px 16px;align-items:center
}
html body .brand.expo-public-logo{filter:drop-shadow(rgba(255,255,255,.9) 0 1px 3px) drop-shadow(rgba(255,255,255,.65) 0 0 6px)}
html body .expo-wholesale-notice{
  background:var(--s-green);color:#fff;border-radius:2px;box-shadow:none;letter-spacing:.12em
}
html body .expo-buyer-showcase-heading{padding-top:22px}
html body .expo-buyer-showcase-heading h1{
  font-family:Helvetica,Arial,sans-serif;font-weight:500;letter-spacing:-.015em;color:var(--s-ink)
}
html body .x-badge{border-radius:2px;letter-spacing:.08em}
html body .x-badge.new{background:var(--s-green);color:#fff}
html body .x-badge.top{background:var(--s-blue);color:#fff}
html body .x-save,html body .x-list-open,html body .x-lang{
  border-radius:2px;border-color:var(--s-blue);color:var(--s-blue)
}
html body .x-save[aria-pressed="true"]{background:var(--s-blue);color:#fff}
html body .expo-buyer-showcase-photo{
  border-radius:2px;
  background:radial-gradient(circle at 50% 68%,#ffffff 0%,var(--s-cream) 60%,#ebe6dc 100%);
  box-shadow:inset 0 0 0 1px rgba(0,44,89,.05)
}
html body .expo-image-placeholder{color:var(--s-blue)}
html body .x-dots i.on{background:var(--s-blue)}
/* Botones */
html body .expo-buyer-showcase .expo-seller-info-button,html body .expo-seller-info-button{
  background:var(--s-blue);color:#fff;border-radius:2px;letter-spacing:.1em;
  box-shadow:0 14px 30px rgba(0,44,89,.28)
}
html body .expo-seller-info-button:hover{background:#003a73}
html body .x-whatsapp-button{border-radius:2px;background:#25a35a}
html body .x-seller-bar{border-radius:2px}
html body .x-seller-bar-add{background:var(--s-green);border-radius:2px}

/* ========================= ACCESO DE VENDEDORES ========================= */
html body .expo-login-brand{
  background:
    radial-gradient(circle at 90% 10%,rgba(102,144,44,.28),transparent 45%),
    linear-gradient(140deg,#0b3a6b 0%,#002c59 65%);
}
html body .expo-login-brand h1{
  font-family:Helvetica,Arial,sans-serif;font-weight:500;letter-spacing:-.015em;color:#fff
}
html body .expo-login-brand .expo-kicker{color:#b7dc84}
html body .expo-login-brand p{color:#d6e0ea}
html body .expo-login-points span{border-radius:2px;border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.06);color:#fff}
html body .brand.expo-login-logo{border-radius:2px}
html body .expo-login-shell{background:var(--s-cream)}
html body .expo-login-card{border-radius:2px;background:#fff}
html body .expo-login-card h2{font-family:Helvetica,Arial,sans-serif;font-weight:500;letter-spacing:-.015em;color:var(--s-blue)}
html body .expo-login-card .eyebrow-badge{background:#edf4e3;color:#3f6a10;border-radius:2px}
html body .expo-login-card .expo-back{border-radius:2px;color:var(--s-blue)}
html body .expo-login-card .input-with-icon input{border-radius:2px}
html body .expo-login-card .input-with-icon input:focus{border-color:var(--s-blue);box-shadow:0 0 0 3px rgba(0,44,89,.12)}
html body .expo-login-card .button.primary{background:var(--s-green);border-color:var(--s-green);border-radius:2px;color:#fff}
html body .expo-login-card .button.primary:hover{background:#557a22}

/* Micro-interacciones del sitio */
html body .expo-seller-info-button,html body .x-whatsapp-button,html body .expo-login-card .button.primary{transition:transform .2s,background-color .2s,box-shadow .2s}
@media (hover:hover){
  html body .expo-seller-info-button:hover,html body .x-whatsapp-button:hover,html body .expo-login-card .button.primary:hover{transform:translateY(-2px)}
}
@media (prefers-reduced-motion:reduce){
  html body .expo-seller-info-button,html body .x-whatsapp-button,html body .expo-login-card .button.primary{transition:none;transform:none}
}
