/* Admin (unfold) · marca DeNicolás: Figtree, tinta #1B1D1B, naranja #FE6206, navegación horizontal. */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../vendor/fonts/figtree-latin-wght-normal.202cfb54d4e6.woff2") format("woff2-variations"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../vendor/fonts/figtree-latin-ext-wght-normal.eca8d8b337ff.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0; }

html, body, button, input, select, textarea { font-family: "Figtree", ui-sans-serif, system-ui, sans-serif !important; }
.material-symbols-outlined { font-family: "Material Symbols Outlined" !important; }
::selection { background: #FFF1E8; color: #1B1D1B; }
td, .tabular-nums { font-variant-numeric: tabular-nums; }

.pd-nav { background: rgb(255 255 255 / .96); color: #1B1D1B; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #E2E0DC;
  backdrop-filter: blur(4px); }
.pd-nav__in { display: flex; align-items: center; gap: 20px; padding: 0 16px; max-width: 100%; margin: 0 auto; min-height: 64px; flex-wrap: wrap; }
.pd-nav__logo { display: flex; align-items: center; min-height: 44px; border-radius: 8px; }
.pd-nav__logo img { height: 26px; width: auto; display: block; }
.pd-nav__grupos { display: flex; gap: 4px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.pd-nav__grupo { position: relative; }
/* Pestaña: 44 px de alto, icono + texto; hover tierra; activa = pastilla #FE6206 con texto oscuro (5,6:1) */
.pd-nav__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 600;
  color: #5C5E5A; background: none; border: 0; cursor: pointer; transition: background-color .15s cubic-bezier(.16,1,.3,1), color .15s cubic-bezier(.16,1,.3,1); }
.pd-nav__link:hover, .pd-nav__link[aria-expanded="true"] { background: #F4F3F1; color: #1B1D1B; }
.pd-nav__link.is-activo, .pd-nav__link[aria-current="page"] { background: #FE6206; color: #1B1D1B; }
.pd-nav__link.is-activo:hover, .pd-nav__link[aria-current="page"]:hover { background: #FF3F1B; }
.pd-nav__link .material-symbols-outlined { font-size: 20px; }
.pd-nav__flecha { margin-left: -2px; font-size: 18px !important; transition: transform .15s cubic-bezier(.16,1,.3,1); }
.pd-nav__link[aria-expanded="true"] .pd-nav__flecha { transform: rotate(180deg); }
.pd-nav__menu { position: absolute; top: 100%; left: 0; min-width: 248px; margin: 6px 0 0; padding: 6px; list-style: none; background: #fff; color: #1B1D1B;
  border: 1px solid #E2E0DC; border-radius: 12px; box-shadow: 0 8px 24px -6px rgb(27 29 27 / .18), 0 2px 6px -2px rgb(27 29 27 / .12);
  transform-origin: top left; display: flex; flex-direction: column; gap: 2px; }
.pd-entra { transition: opacity .15s cubic-bezier(.16,1,.3,1), transform .15s cubic-bezier(.16,1,.3,1); }
.pd-entra-desde { opacity: 0; transform: scale(.98) translateY(-2px); }
.pd-entra-hasta { opacity: 1; transform: none; }
.pd-nav__menu a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #1B1D1B;
  transition: background-color .15s cubic-bezier(.16,1,.3,1); }
.pd-nav__menu a:hover { background: #F4F3F1; }
.pd-nav__menu a[aria-current="page"] { background: #FE6206; color: #1B1D1B; font-weight: 600; }
.pd-nav__menu .material-symbols-outlined { font-size: 20px; color: #5C5E5A; }
.pd-nav__menu a[aria-current="page"] .material-symbols-outlined { color: #1B1D1B; }
.pd-nav__app { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: #B84300; transition: background-color .15s cubic-bezier(.16,1,.3,1); }
.pd-nav__app:hover { background: #FFF1E8; }
.pd-nav__app .material-symbols-outlined { font-size: 18px; }
.pd-nav :focus-visible { outline: 2px solid #1B1D1B; outline-offset: -2px; border-radius: 8px; }

.pd-footer { border-top: 1px solid #E2E0DC; padding: 16px; font-size: 12px; color: #5C5E5A; text-align: center; }
.pd-login-nota { font-size: 14px; color: #5C5E5A; margin-bottom: 16px; }
.pd-login-nota a { color: #B84300; font-weight: 600; text-decoration: underline; }

@media (max-width: 767px) {
  .pd-nav__in { gap: 4px 8px; }
  .pd-nav__grupos { order: 3; width: calc(100% + 32px); margin: 0 -16px; padding: 6px 16px; border-top: 1px solid #E2E0DC;
    overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .pd-nav__grupos::-webkit-scrollbar { display: none; }
  .pd-nav__grupo { position: static; }
  .pd-nav__menu { position: absolute; left: 8px; right: 8px; top: 100%; }
  .pd-nav__in { position: relative; }
  /* Degradado que avisa que la fila sigue; no recorta los menús (una máscara sí los recortaría) */
  .pd-nav__in::after { content: ""; position: absolute; right: 0; bottom: 0; width: 28px; height: 57px; pointer-events: none;
    background: linear-gradient(to right, rgb(255 255 255 / 0), #fff); }
}

/* Alinea la barra con el .container de unfold (640/768/1024/1280/1536 + 16 px de margen) */
@media (min-width: 640px) { .pd-nav__in { max-width: 672px; } }
@media (min-width: 768px) { .pd-nav__in { max-width: 800px; } }
@media (min-width: 1024px) { .pd-nav__in { max-width: 1056px; } }
@media (min-width: 1280px) { .pd-nav__in { max-width: 1312px; } }
@media (min-width: 1536px) { .pd-nav__in { max-width: 1568px; } }

/* AA: blanco sobre #FE6206 da 3:1; en los botones primarios de unfold el texto va en tinta (5,6:1) */
.bg-primary-600.text-white, .bg-primary-600 .text-white, button.bg-primary-600, a.bg-primary-600 { color: #1B1D1B !important; }
