/* Los colores viven en theme.css (claro por defecto, oscuro opcional).
   Aquí solo queda la geometría heredada. */
:root {
  --radius: 18px;
  --max: 1180px;
}

/* =========================================================
   ✅ Favicon / Tab icon
   NOTE: CSS cannot set the browser tab icon.
   You must add <link rel="icon"> in HTML <head>.
   ========================================================= */

/* (Optional) if you want to show the logo as an on-page icon somewhere */
.siteIcon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid var(--border, var(--border));
  background: var(--surface-2) url("/assets/img/logo.png") center / contain no-repeat;
  box-shadow: 0 12px 30px rgb(var(--sh-rgb) / calc(0.25 * var(--sh-k)));
}



* {
  box-sizing: border-box;
}


body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 10% 10%, var(--glow-violet), transparent 55%),
    radial-gradient(900px 500px at 90% 10%, var(--glow-green), transparent 55%),
    radial-gradient(900px 800px at 50% 100%, var(--glow-amber), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: .94;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 18px;
}

.row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hidden {
  display: none !important;
}

.card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel2);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border .12s ease;
  user-select: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(.99);
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand2-strong));
  color: var(--on-brand);
  box-shadow: var(--shadow-brand);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
}

.icon {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.icon i {
  font-size: 14px;
  opacity: .95;
}

/* Header */
/* Barra superior del sitio. Se limita a los <header> sin clase para no
   pisar cabeceras internas de sección (p. ej. .snSecHead). */
/* Arriba del todo la barra es transparente y se funde con el hero;
   al hacer scroll se vuelve sólida (la clase la pone motion.js). */
header.siteHeader {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background .32s ease,
    border-color .32s ease,
    box-shadow .32s ease,
    backdrop-filter .32s ease;
}

header.siteHeader.is-scrolled {
  background: var(--header-bg);
  border-bottom-color: var(--header-border);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

/* La barra ocupa todo el ancho de la ventana: el contenido no se
   encierra en el .wrap de 1180px, solo respeta un margen lateral. */
header.siteHeader > .wrap {
  width: 100%;
  max-width: none;
  padding-inline: clamp(16px, 2.6vw, 44px);
}



.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -.02em;
}







.logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;

  /* Logo real */
  background: url("/assets/img/logo.png") center / contain no-repeat;

  /* Fondo sutil por si el PNG tiene transparencia */
  background-color: var(--surface-2);

  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgb(var(--sh-rgb) / calc(0.25 * var(--sh-k)));

  /* Opcional: si tu logo es “rectangular”, esto evita que se vea deformado */
  overflow: hidden;
}

/* Glow pro (opcional) */
.logo::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 14px;
  background:
    radial-gradient(18px 18px at 30% 25%, rgb(var(--fg-rgb) / 0.45), transparent 70%),
    radial-gradient(60px 60px at 50% 50%, var(--glow-violet-soft), transparent 60%),
    radial-gradient(60px 60px at 70% 55%, var(--glow-green-soft), transparent 60%);
  pointer-events: none;
  opacity: .55;
  filter: blur(6px);
}

/* Necesario para el ::after */
.brand .logo {
  position: relative;
}




.brand small {
  display: block;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: 0;
}

.brand span {
  display: block;
  font-size: 16px;
}

.navlinks {
  display: flex;
  gap: 10px;
  align-items: center;
}

.navlinks a {
  padding: 10px 10px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  font-weight: 750;
}

.navlinks a:hover {
  color: var(--text);
  border-color: var(--border);
  background: var(--panel);
}

.navActions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cartBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn-ink);
  font-size: 12px;
  font-weight: 900;
  margin-left: 6px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  cursor: pointer;
}

.burger i {
  font-size: 18px;
}

@media (max-width: 980px) {
  .navlinks {
    display: none;
  }

  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobileMenu {
    display: block;
    border-top: 1px solid var(--border);
    padding: 12px 0 16px 0;
  }

  .mobileMenu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--panel);
    margin-top: 10px;
    color: var(--text);
    font-weight: 850;
  }

  .mobileMenu a span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
  }
}

/* Page */
main {
  padding: 22px 0 10px;
}

section {
  padding: 18px 0;
}

.sectionHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sectionHead h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.02em;
}

.sectionHead p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 72ch;
}

/* Hero */
.heroGrid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: stretch;
}

@media (max-width:980px) {
  .heroGrid {
    grid-template-columns: 1fr;
  }
}

.heroCard {
  padding: 22px;
  overflow: hidden;
  position: relative;
}

.heroCard:before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(700px 340px at 20% 0%, var(--glow-violet), transparent 55%),
    radial-gradient(700px 340px at 80% 0%, var(--glow-green), transparent 55%);
  pointer-events: none;
  opacity: .85;
}

.heroCard>* {
  position: relative;
}

.heroTitle {
  margin: 10px 0 8px 0;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

@media (max-width:520px) {
  .heroTitle {
    font-size: 34px;
  }
}

.heroSub {
  margin: 0 0 14px 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 66ch;
}

.heroActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.heroMeta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.sideCard {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.miniTitle {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.kpi {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  background: var(--surface-1);
}

.kpi strong {
  display: block;
  font-size: 14px;
}

.kpi span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* Products */
.productGrid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width:980px) {
  .productGrid {
    grid-template-columns: 1fr;
  }
}

.productCard {
  padding: 16px;
}

.productTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.tag {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 800;
}



.productCard h3 {
  margin: 10px 0 6px 0;
  font-size: 18px;
  letter-spacing: -.02em;
}

.productCard p {
  margin: 0 0 12px 0;
  color: var(--muted);
  font-size: 13px;
}

.productCard ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.productCard li {
  margin: 6px 0;
}

.cardActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Forms */
.form {
  padding: 18px;
}

label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 6px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-1);
  color: var(--text);
  outline: none;
  font: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.hint {
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
}

/* Cart */
.cartList {
  display: grid;
  gap: 12px;
}

.cartItem {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-1);
}

.cartLeft {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cartItem h4 {
  margin: 0;
  font-size: 14px;
}

.cartItem small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 8px 10px;
  background: var(--surface-1);
  min-width: 150px;
  justify-content: space-between;
}

.qty button {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
}

.qty span {
  font-weight: 900;
}

.cartActionsRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Footer */
footer {
  margin-top: 26px;
  border-top: 1px solid var(--border);
  padding: 22px 0;
  color: var(--muted);
}

.footerGrid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}

@media (max-width:980px) {
  .footerGrid {
    grid-template-columns: 1fr;
  }
}

.footerGrid h4 {
  margin: 0 0 10px 0;
  color: var(--text);
  font-size: 14px;
}

.footerGrid a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-weight: 750;
}

.footerGrid a:hover {
  color: var(--text);
}

.legal {
  margin-top: 14px;
  font-size: 12px;
  color: var(--faint);
}

/* Toast */
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  color: var(--text);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 420px;
}



.toast strong {
  display: block;
  font-size: 13px;
}

.toast span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

/* =========================================================
   ✅ Synaris UI Core — Responsive + Pro polish
   Complemento compatible con tu CSS actual (no rompe)
   ========================================================= */

/* -------------------------
   0) Foundation / A11y
------------------------- */
:root {
  /* layout scale */
  --pad: 24px;
  --pad-sm: 16px;
  --pad-xs: 12px;

  /* typography scale */
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-md: 14px;
  --fs-lg: 16px;
  --fs-xl: 22px;

  /* motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
}

html {
  -webkit-text-size-adjust: 100%;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

::selection {
  background: var(--brand-bg);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visible pro */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 12px;
}

/* -------------------------
   1) Container / spacing
------------------------- */
.wrap {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
}

@media (max-width: 720px) {
  :root {
    --pad: 18px;
  }

  .wrap {
    width: calc(100% - (var(--pad) * 2));
  }
}

@media (max-width: 420px) {
  :root {
    --pad: 14px;
  }
}

/* Sin scroll horizontal.
   OJO: el overflow va SOLO en <html>. Ponerlo también en <body> junto con
   height:100% convertía al body en el contenedor de scroll y dejaba
   window.scrollY clavado en 0 (se rompían la barra de progreso, el estado
   del header y el FAB). */
html {
  overflow-x: hidden;
}

/* -------------------------
   2) Cards / surfaces polish
------------------------- */
.card {
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(800px 240px at 20% 0%, rgb(var(--fg-rgb) / .05), transparent 55%);
  opacity: .6;
}



/* -------------------------
   3) Buttons — consistent, adaptive
------------------------- */
.btn {
  min-height: 44px;
  /* touch target */
  -webkit-tap-highlight-color: transparent;
}

.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

/* Ghost + secondary tweaks */
.btn-ghost:hover {
  background: var(--surface-1);
}



/* -------------------------
   4) Inputs + Selects — pro, consistent
------------------------- */
input,
textarea,
select {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-1);
  color: var(--text);
  outline: none;
  min-height: 44px;
}

/* Select: native-friendly + arrow */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  padding-right: 42px;
  cursor: pointer;

  background-image:
    linear-gradient(45deg, transparent 50%, rgb(var(--fg-rgb) / 0.82) 50%),
    linear-gradient(135deg, rgb(var(--fg-rgb) / 0.82) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
}



/* Placeholder */
input::placeholder,
textarea::placeholder {
  color: var(--faint);
}



/* Validations (optional classes) */
.input-ok {
  border-color: var(--ok-border) !important;
}

.input-warn {
  border-color: var(--warn-border) !important;
}

.input-bad {
  border-color: var(--bad-border) !important;
}

/* -------------------------
   5) Modal grid (admin/product modal)
------------------------- */
.modalGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 860px) {
  .modalGrid {
    grid-template-columns: 1fr;
  }
}

/* Field wrapper compatibility */
.field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 6px 0;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
}

/* -------------------------
   6) Tags — ok/warn/bad helpers
------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.tag.ok {
  border-color: var(--ok-border);
  background: var(--ok-bg);
  color: var(--brand2-ink);
}

.tag.warn {
  border-color: var(--warn-border);
  background: var(--warn-bg);
  color: var(--warn-ink);
}

.tag.bad {
  border-color: var(--bad-border);
  background: var(--bad-bg);
  color: var(--danger-ink);
}

/* -------------------------
   7) Tables — mobile friendly
------------------------- */
table {
  width: 100%;
}

td,
th {
  word-break: break-word;
}

@media (max-width: 720px) {

  /* Allow horizontal scroll without breaking layout */
  .tableWrap {
    overflow: auto;
    border-radius: 14px;
  }

  table {
    min-width: 720px;
  }

  .ocultar {
    display: none;
  }
}

/* -------------------------
   8) Header polish (safe)
------------------------- */
.nav {
  gap: 12px;
}

@media (max-width: 520px) {
  .nav {
    padding: 12px 0;
  }

  .brand span {
    font-size: 15px;
  }

  .brand small {
    font-size: 11px;
  }
}

/* -------------------------
   9) Hero + sections — scale down better
------------------------- */
.heroTitle {
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 420px) {
  .heroSub {
    font-size: 14px;
  }

  .pill {
    font-size: 11.5px;
    padding: 7px 10px;
  }

  .btn {
    padding: 12px 14px;
  }
}

/* -------------------------
   10) Product grid — better responsiveness
------------------------- */
.productGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .productGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .productGrid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------
   11) Cart item — stack properly on mobile
------------------------- */
.cartItem {
  flex-wrap: wrap;
  align-items: stretch;
}

.cartLeft {
  min-width: 0;
  flex: 1 1 320px;
}

.qty {
  min-width: 160px;
}

@media (max-width: 720px) {
  .cartItem {
    flex-direction: column;
    gap: 12px;
  }

  .qty {
    width: 100%;
    min-width: 0;
  }

  .cartActionsRow .btn {
    flex: 1 1 auto;
  }
}

/* -------------------------
   12) Sticky summary safety (cart)
------------------------- */
.cartSummaryCard {
  position: sticky;
  top: 94px;
}

@media (max-width: 980px) {
  .cartSummaryCard {
    position: relative;
    top: auto;
  }
}

/* -------------------------
   13) Notice component (used in admin)
------------------------- */
.notice {
  border-radius: var(--radius);
  border: 1px solid var(--warn-border);
  background: var(--warn-bg);
  padding: 12px 12px;
  color: var(--text);
}

/* -------------------------
   14) Better scrollbars (optional, subtle)
------------------------- */
@media (hover:hover) {
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  ::-webkit-scrollbar-thumb {
    background: var(--surface-3);
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
  }

  ::-webkit-scrollbar-track {
    background: var(--surface-1);
  }
}



/* -------------------------
   15) Utility helpers (non-breaking)
------------------------- */
.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.muted {
  color: var(--muted);
}

.faint {
  color: var(--faint);
}

.w-full {
  width: 100%;
}

.max-w {
  max-width: var(--max);
}

.round {
  border-radius: var(--radius);
}

/* -------------------------
   16) Safe improvement: logo positioning fix
------------------------- */
.logo {
  position: relative;
}

/* you use ::after -> needs positioning */
/* -------------------------
   17) Header en móvil — que quepan marca, acciones y menú
------------------------- */
@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .navActions {
    gap: 8px;
  }

  .themeToggle {
    --tt-size: 40px;
  }
}

@media (max-width: 440px) {

  /* Solo el ícono: el texto se recupera en el menú móvil */
  #btnLogin,
  #btnBuy {
    font-size: 0;
    padding: 12px;
    gap: 0;
  }

  #btnLogin i,
  #btnBuy i {
    font-size: 15px;
  }

  .burger {
    width: 40px;
    height: 40px;
  }
}

/* -------------------------
   18) En móvil la llamada principal del header estorba
   El menú móvil ya lleva ese enlace; si se queda, empuja al botón
   de menú fuera de la pantalla (pasaba en /productos y /mis-pedidos).
------------------------- */
@media (max-width: 640px) {
  .navActions>.btn-primary {
    display: none;
  }
}


/* -------------------------
   19) Barra sobre el hero oscuro
   Mientras no hay scroll la barra es transparente y queda encima de la
   banda azul del hero: se le invierten los tokens para que se lea.
   Al hacer scroll recupera el fondo blanco y los colores normales.
------------------------- */
body[data-hero="dark"] header.siteHeader:not(.is-scrolled) {
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .80);
  --faint: rgba(255, 255, 255, .62);
  --border: rgba(255, 255, 255, .16);
  --border-2: rgba(255, 255, 255, .30);
  --surface-1: rgba(255, 255, 255, .08);
  --surface-2: rgba(255, 255, 255, .12);
  --surface-3: rgba(255, 255, 255, .18);
  /* .burger y .btn leen panel/panel2: sin esto el botón de menú
     salía como un cuadro blanco con el icono blanco encima. */
  --panel: rgba(255, 255, 255, .10);
  --panel2: rgba(255, 255, 255, .15);
  --fg-rgb: 255 255 255;
  --brand-ink: #ffb27a;
  --warn-ink: #ffcf7a;
  color: #fff;
}

body[data-hero="dark"] header.siteHeader:not(.is-scrolled) .brand small {
  color: rgba(255, 255, 255, .72);
}

/* -------------------------
   20) Avatar del header
   Solo la foto: el nombre completo vive dentro del menú.
------------------------- */
.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.userPill {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
  overflow: hidden;
  transition: transform .14s ease, border-color .2s ease, box-shadow .2s ease;
}

.userPill:hover {
  transform: translateY(-1px);
  border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
}

.userPill[aria-expanded="true"] {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--brand), var(--shadow-sm);
}

.userPill img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 999px;
  object-fit: cover;
}
