/*
 * CITE — Panel «Todas las categorías».
 *
 * Tipografía homogénea, fina y editorial integrada con la cabecera.
 * Mega menú con sidebar fijo a la izquierda y lienzo blanco estructurado a la derecha.
 * Scrollbar vertical persistente y diseño adaptativo.
 */

.cite-catpanel {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /* Tipografía y medidas heredadas */
  font-family: inherit;
  --cite-cat-w: 1120px;
  --cite-cat-h: 480px;
  --cite-cat-col: 275px;
}

/* --- Botón disparador: Modo botón con borde (opcional) ------------------- */
.cite-catpanel__trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px;
  margin: 6px 0;
  border: 1px solid var(--shoe-line, #ded8cf);
  border-radius: 4px;
  color: var(--shoe-ink, #1d1b19);
  background: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--cite-menu-size, 12px);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: all .2s ease;
  user-select: none;
  outline: none;
}

.cite-catpanel__trigger:hover {
  background: #fbfaf8;
  border-color: #beb7ad;
}

.cite-catpanel__trigger[aria-expanded="true"] {
  background: var(--shoe-ink, #1d1b19);
  color: #ffffff;
  border-color: var(--shoe-ink, #1d1b19);
}

.cite-catpanel__burger {
  display: grid;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  place-items: center;
}

.cite-catpanel__burger svg {
  width: 16px;
  height: 16px;
}

.cite-catpanel__label {
  display: inline-block;
  line-height: 1;
}

.cite-catpanel__trigger-arrow {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-left: 2px;
  transition: transform .22s cubic-bezier(0.16, 1, 0.3, 1);
}

.cite-catpanel__trigger[aria-expanded="true"] .cite-catpanel__trigger-arrow {
  transform: rotate(180deg);
}

.cite-catpanel--style-boton .cite-catpanel__chevron {
  display: none;
}

/* --- Disparador: Modo hermano de menú (por defecto, integrado sin caja) ---- */
.cite-catpanel--style-menu .cite-catpanel__trigger {
  height: auto;
  padding: 8px 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--shoe-ink);
  font-family: inherit;
  font-size: var(--cite-menu-size, 12px);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  gap: 7px;
  cursor: pointer;
  position: relative;
  transition: color .2s ease;
}

.cite-catpanel--style-menu .cite-catpanel__trigger:hover,
.cite-catpanel--style-menu .cite-catpanel__trigger[aria-expanded="true"] {
  background: transparent;
  color: var(--shoe-ink);
  border-color: transparent;
}

.cite-catpanel--style-menu .cite-catpanel__burger {
  display: none;
}

.cite-catpanel--style-menu .cite-catpanel__trigger-arrow {
  display: none;
}

.cite-catpanel--style-menu .cite-catpanel__chevron {
  display: grid;
  flex: 0 0 auto;
  width: 10px;
  height: 24px;
  place-items: center;
  padding: 0;
  border: 0;
  color: currentColor;
  background: transparent;
}

.cite-catpanel--style-menu .cite-catpanel__chevron span {
  display: block;
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1.5px);
  transition: transform .2s ease;
}

.cite-catpanel--style-menu .cite-catpanel__trigger[aria-expanded="true"] .cite-catpanel__chevron span {
  transform: rotate(225deg) translateY(-1.5px);
}

/* Subrayado con animación horizontal idéntico al menú */
.cite-catpanel--style-menu .cite-catpanel__label {
  position: relative;
  display: block;
}

.cite-catpanel--style-menu .cite-catpanel__label::after {
  position: absolute;
  right: 0;
  /* A la misma altura que el subrayado de los enlaces del menú: esos miden
     1.58 líneas + 8px de padding y la etiqueta solo 1 línea, así que se baja
     la mitad de la diferencia (.29em) más ese padding. En em para que siga
     alineado si cambia el tamaño de fuente del menú. */
  bottom: calc(-8px - .29em);
  left: 0;
  z-index: 1;
  height: 1px;
  content: "";
  background: var(--shoe-clay, #b65336);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.cite-catpanel--style-menu .cite-catpanel__trigger:hover .cite-catpanel__label::after,
.cite-catpanel--style-menu .cite-catpanel__trigger[aria-expanded="true"] .cite-catpanel__label::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --- Contenedor flotante (Mega Menú) ------------------------------------ */
.cite-catpanel__drop {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: min(var(--cite-cat-w, 1120px), calc(100vw - 32px));
  height: var(--cite-cat-h, 480px);
  max-height: min(var(--cite-cat-h, 480px), calc(100vh - 130px));
  background: #ffffff;
  border: 1px solid var(--shoe-line, #ded8cf);
  border-radius: 6px;
  box-shadow: 0 20px 48px rgba(29, 27, 25, 0.12), 0 6px 16px rgba(29, 27, 25, 0.04);
  box-sizing: border-box;
  font-family: inherit;
  animation: citeCatpanelFadeIn .18s cubic-bezier(0.16, 1, 0.3, 1);
}

.cite-catpanel__drop::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--cite-cat-bridge-h, 36px));
  /* Solo bajo el botón que lo abre (medido en catpanel.js): a lo ancho del
     panel tapaba los ítems vecinos del menú y les quitaba el clic. */
  left: var(--cite-cat-bridge-l, 0);
  width: var(--cite-cat-bridge-w, 100%);
  height: var(--cite-cat-bridge-h, 36px);
  pointer-events: auto;
}

.cite-catpanel__drop[hidden] {
  display: none !important;
}

@keyframes citeCatpanelFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Columna 1 / Barra lateral ------------------------------------------ */
.cite-catpanel__sidebar {
  flex: 0 0 var(--cite-cat-col, 275px);
  width: var(--cite-cat-col, 275px);
  height: 100%;
  background: #faf8f5;
  border-right: 1px solid var(--shoe-line, #ded8cf);
  border-radius: 5px 0 0 5px;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Lienzo blanco para subniveles -------------------------------------- */
.cite-catpanel__canvas {
  flex: 1 1 auto;
  height: 100%;
  background: #ffffff;
  border-radius: 0 5px 5px 0;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* --- Ramas individuales en el lienzo ------------------------------------ */
.cite-catpanel__branch {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #ffffff;
}

.cite-catpanel__branch[hidden] {
  display: none !important;
}

/* Cabecera de rama con tipografía homogénea sans-serif */
.cite-catpanel__branch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid #eeebe5;
  background: #ffffff;
  flex: 0 0 auto;
}

.cite-catpanel__branch-title {
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--shoe-ink, #1d1b19) !important;
  margin: 0 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.cite-catpanel__branch-viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--shoe-clay, #b65336);
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cite-catpanel__branch-viewall:hover {
    color: var(--shoe-clay-dark, #8f3e28);
    transform: translateX(2px);
  }
}

.cite-catpanel__branch-viewall svg {
  stroke-width: 1.75;
}

/* Contenido de la rama */
.cite-catpanel__branch-content {
  display: flex;
  flex-direction: row;
  flex: 1 1 auto;
  height: calc(100% - 53px);
  overflow: hidden;
}

/* Columna de subcategorías (Nivel 2) */
.cite-catpanel__col-sub {
  flex: 0 0 250px;
  width: 250px;
  height: 100%;
  border-right: 1px solid #eeebe5;
  box-sizing: border-box;
  background: #ffffff;
  overflow: hidden;
}

/* Despliegue editorial y refinado de subcategorías (sin tarjetas, sin bordes toscos, sin píldoras) */
.cite-catpanel__branch:not(.has-leaf) .cite-catpanel__col-sub {
  flex: 1 1 auto;
  width: 100%;
  border-right: none;
}

.cite-catpanel__branch:not(.has-leaf) .cite-catpanel__col-sub .cite-catpanel__level {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: max-content;
  gap: 12px 28px;
  padding: 24px 30px;
}

.cite-catpanel__branch:not(.has-leaf) .cite-catpanel__col-sub .cite-catpanel__item {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.cite-catpanel__branch:not(.has-leaf) .cite-catpanel__col-sub .cite-catpanel__row {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.cite-catpanel__branch:not(.has-leaf) .cite-catpanel__col-sub .cite-catpanel__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 6px 0;
  border: none !important;
  border-left: none !important;
  background: transparent !important;
  color: var(--shoe-ink, #2d2926);
  font-size: 13px;
  font-weight: 450;
  letter-spacing: .015em;
  text-decoration: none;
  transition: color .22s ease, transform .22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Indicador editorial: fino guión hairline que se expande sutilmente */
.cite-catpanel__branch:not(.has-leaf) .cite-catpanel__col-sub .cite-catpanel__link::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 1px;
  background: #cfc8be;
  margin-right: 9px;
  transition: width .25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color .25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Texto con subrayado animado de alta costura */
.cite-catpanel__branch:not(.has-leaf) .cite-catpanel__col-sub .cite-catpanel__name {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.cite-catpanel__branch:not(.has-leaf) .cite-catpanel__col-sub .cite-catpanel__name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--shoe-clay, #b65336);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .26s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover de subcategorías: micro-interacción refinada (solo puntero fino) */
@media (hover: hover) and (pointer: fine) {
  .cite-catpanel__branch:not(.has-leaf) .cite-catpanel__col-sub .cite-catpanel__item:hover .cite-catpanel__link {
    color: var(--shoe-clay, #b65336) !important;
    border-left: none !important;
    transform: translateX(4px);
  }
  .cite-catpanel__branch:not(.has-leaf) .cite-catpanel__col-sub .cite-catpanel__item:hover .cite-catpanel__link::before {
    width: 13px;
    background-color: var(--shoe-clay, #b65336);
  }
  .cite-catpanel__branch:not(.has-leaf) .cite-catpanel__col-sub .cite-catpanel__item:hover .cite-catpanel__name::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.cite-catpanel__branch:not(.has-leaf) .cite-catpanel__col-sub .cite-catpanel__item.is-active .cite-catpanel__link {
  color: var(--shoe-clay, #b65336) !important;
  border-left: none !important;
  transform: translateX(4px);
}
.cite-catpanel__branch:not(.has-leaf) .cite-catpanel__col-sub .cite-catpanel__item.is-active .cite-catpanel__link::before {
  width: 13px;
  background-color: var(--shoe-clay, #b65336);
}
.cite-catpanel__branch:not(.has-leaf) .cite-catpanel__col-sub .cite-catpanel__item.is-active .cite-catpanel__name::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Columna de hojas / Nivel 3 con el mismo estilo editorial */
.cite-catpanel__col-leaf {
  flex: 1 1 auto;
  height: 100%;
  background: #ffffff;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.cite-catpanel__col-leaf .cite-catpanel__branch {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.cite-catpanel__col-leaf .cite-catpanel__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 7px 18px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--shoe-ink-soft, #524c46);
  border: none !important;
  border-left: none !important;
  transition: color .2s ease, transform .2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cite-catpanel__col-leaf .cite-catpanel__link::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 5px;
  height: 1px;
  background: #cfc8be;
  margin-right: 8px;
  transition: width .25s ease, background-color .25s ease;
}

.cite-catpanel__col-leaf .cite-catpanel__name {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.cite-catpanel__col-leaf .cite-catpanel__name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--shoe-clay, #b65336);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .cite-catpanel__col-leaf .cite-catpanel__item:hover .cite-catpanel__link {
    color: var(--shoe-clay, #b65336);
    transform: translateX(3px);
  }
  .cite-catpanel__col-leaf .cite-catpanel__item:hover .cite-catpanel__link::before {
    width: 11px;
    background-color: var(--shoe-clay, #b65336);
  }
  .cite-catpanel__col-leaf .cite-catpanel__item:hover .cite-catpanel__name::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

/* --- Listas con SCROLLBAR PERMANENTE Y VISIBLE (Armonizado con la paleta CITE) ---- */
.cite-catpanel__level {
  height: 100%;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  overflow-y: scroll !important;
  scrollbar-gutter: stable;
  -ms-overflow-style: auto;
  scrollbar-width: auto;
  box-sizing: border-box;
}

/* Forzar WebKit en Chrome, Safari, Edge (macOS / Windows) - Paleta editorial cálida */
.cite-catpanel__level::-webkit-scrollbar {
  display: block !important;
  width: 6px !important;
  height: 6px !important;
  background: #ede9e3 !important; /* Canal en lino/arena suave de la marca */
}

.cite-catpanel__level::-webkit-scrollbar-track {
  background: transparent !important;
  margin: 6px 0 !important;
}

.cite-catpanel__level::-webkit-scrollbar-thumb {
  background-color: #9c9388 !important; /* Tono piedra/cuero cálido, visible y armónico */
  border-radius: 999px !important;
  min-height: 36px !important;
  transition: background-color .18s ease;
}

.cite-catpanel__level::-webkit-scrollbar-thumb:hover {
  background-color: var(--shoe-clay, #b65336) !important; /* Terracota de la marca al interactuar */
}

/* Soporte específico para Firefox con la paleta de la marca */
@supports (-moz-appearance: none) {
  .cite-catpanel__level {
    scrollbar-width: thin !important;
    scrollbar-color: #9c9388 #ede9e3 !important;
  }
}

/* --- Elementos y filas interactivas con tipografía fina y homogénea ------ */
.cite-catpanel__item {
  position: relative;
  margin: 0;
  padding: 0;
}

.cite-catpanel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transition: background .15s ease;
}

.cite-catpanel__link {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 9.5px 8px 9.5px 18px;
  color: var(--shoe-ink-soft, #524c46);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.4;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color .15s ease, border-left-color .15s ease, font-weight .15s ease;
}

.cite-catpanel__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hover y estado activo de la fila en barra lateral y ramas multinivel */
.cite-catpanel__sidebar .cite-catpanel__item:hover > .cite-catpanel__row,
.cite-catpanel__sidebar .cite-catpanel__item.is-active > .cite-catpanel__row,
.cite-catpanel__branch.has-leaf .cite-catpanel__col-sub .cite-catpanel__item:hover > .cite-catpanel__row,
.cite-catpanel__branch.has-leaf .cite-catpanel__col-sub .cite-catpanel__item.is-active > .cite-catpanel__row {
  background: #ffffff;
}

.cite-catpanel__sidebar .cite-catpanel__item:hover > .cite-catpanel__row .cite-catpanel__link,
.cite-catpanel__sidebar .cite-catpanel__item.is-active > .cite-catpanel__row .cite-catpanel__link,
.cite-catpanel__branch.has-leaf .cite-catpanel__col-sub .cite-catpanel__item:hover > .cite-catpanel__row .cite-catpanel__link,
.cite-catpanel__branch.has-leaf .cite-catpanel__col-sub .cite-catpanel__item.is-active > .cite-catpanel__row .cite-catpanel__link {
  color: var(--shoe-clay, #b65336);
  border-left-color: var(--shoe-clay, #b65336);
  font-weight: 500;
}

/* Botón flecha interactivo y estilizado */
.cite-catpanel__arrow-btn {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-right: 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #9a938b;
  cursor: pointer;
  padding: 0;
  transition: all .15s ease;
}

.cite-catpanel__arrow-btn:hover {
  background: rgba(182, 83, 54, 0.08);
  border-color: rgba(182, 83, 54, 0.2);
  color: var(--shoe-clay, #b65336);
}

.cite-catpanel__item.is-active > .cite-catpanel__row .cite-catpanel__arrow-btn {
  color: var(--shoe-clay, #b65336);
  background: rgba(182, 83, 54, 0.08);
}

.cite-catpanel__arrow {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
  transition: transform .18s ease;
}

.cite-catpanel__item:hover .cite-catpanel__arrow,
.cite-catpanel__item.is-active .cite-catpanel__arrow {
  transform: translateX(2px);
}

/* --- Distribución alternativa: columnas en cascada ----------------------- */
/* Personalizar > Panel de categorías > Distribución. Reutiliza el marcado del
   lienzo: cada nivel se queda en una columna del mismo ancho y aspecto que la
   primera, sin cabecera de rama ni rejilla. Solo cuelga de --layout-columnas,
   así que el lienzo sigue exactamente igual. */
.cite-catpanel--layout-columnas .cite-catpanel__sidebar {
  background: #ffffff;
  border-right-color: #eeebe5;
}

.cite-catpanel--layout-columnas .cite-catpanel__branch-header {
  display: none;
}

.cite-catpanel--layout-columnas .cite-catpanel__branch-content {
  height: 100%;
}

.cite-catpanel--layout-columnas .cite-catpanel__col-sub {
  flex-basis: var(--cite-cat-col, 275px);
  width: var(--cite-cat-col, 275px);
}

/* La tercera columna hereda el trazo editorial del lienzo (guion, subrayado,
   desplazamiento): se devuelve a la fila simple de las demás columnas. */
.cite-catpanel--layout-columnas .cite-catpanel__col-leaf .cite-catpanel__link {
  display: flex;
  width: auto;
  padding: 9.5px 8px 9.5px 18px;
  border-left: 3px solid transparent !important;
  transform: none;
}

.cite-catpanel--layout-columnas .cite-catpanel__col-leaf .cite-catpanel__item:hover .cite-catpanel__link {
  transform: none;
}

.cite-catpanel--layout-columnas .cite-catpanel__col-leaf .cite-catpanel__link::before,
.cite-catpanel--layout-columnas .cite-catpanel__col-leaf .cite-catpanel__name::after {
  display: none;
}

.cite-catpanel--layout-columnas .cite-catpanel__col-leaf .cite-catpanel__name {
  padding-bottom: 0;
}

/* Sobre fondo blanco la fila activa se marca con el arena del tema. */
.cite-catpanel--layout-columnas .cite-catpanel__item:hover > .cite-catpanel__row,
.cite-catpanel--layout-columnas .cite-catpanel__item.is-active > .cite-catpanel__row {
  background: #faf8f5;
}

.cite-catpanel--layout-columnas .cite-catpanel__item:hover > .cite-catpanel__row .cite-catpanel__link,
.cite-catpanel--layout-columnas .cite-catpanel__item.is-active > .cite-catpanel__row .cite-catpanel__link {
  color: var(--shoe-clay, #b65336);
  border-left-color: var(--shoe-clay, #b65336) !important;
  font-weight: 500;
}

/* --- Columnas en cascada: acabado ---------------------------------------
   Mismo lenguaje que el súper menú: panel colgado de la cabecera (esquinas
   rectas, filete superior y su sombra), scroll discreto que solo aparece si
   hace falta, filas limpias y una tarjeta destacada en el espacio libre. */
.cite-catpanel--layout-columnas .cite-catpanel__drop { border: 0; border-top: 1px solid var(--shoe-line, #ded8cf); border-radius: 0; box-shadow: 0 12px 30px rgba(34, 29, 25, .13); }
.cite-catpanel--layout-columnas .cite-catpanel__sidebar,
.cite-catpanel--layout-columnas .cite-catpanel__canvas { border-radius: 0; }

/* Scroll visible y reconocible (canal + barra), en la paleta del tema: el
   canal casi blanco apenas se nota y la barra arena tostada se lee como
   scroll sin pesar. Solo
   aparece en las columnas que no caben, para no levantar un muro en las que
   tienen pocas filas. Al pasar por encima, la barra toma el terracota. */
.cite-catpanel--layout-columnas .cite-catpanel__level { padding: 12px 0; overflow-y: auto !important; scrollbar-gutter: auto; }
/* scrollbar-width / scrollbar-color SOLO para Firefox: desde la versión 121,
   Chrome ignora los estilos ::-webkit-scrollbar si esas propiedades están
   presentes y vuelve a la barra de macOS, que se oculta hasta hacer scroll. */
@supports (-moz-appearance: none) {
  .cite-catpanel--layout-columnas .cite-catpanel__level { scrollbar-width: thin !important; scrollbar-color: #d6cec3 #f7f4f0 !important; }
}
.cite-catpanel--layout-columnas .cite-catpanel__level::-webkit-scrollbar { display: block !important; width: 5px !important; background: #f7f4f0 !important; }
.cite-catpanel--layout-columnas .cite-catpanel__level::-webkit-scrollbar-track { background: #f7f4f0 !important; margin: 0 !important; }
.cite-catpanel--layout-columnas .cite-catpanel__level::-webkit-scrollbar-thumb { background-color: #d6cec3 !important; border-radius: 999px !important; min-height: 40px !important; }
.cite-catpanel--layout-columnas .cite-catpanel__level::-webkit-scrollbar-thumb:hover { background-color: var(--shoe-clay, #b65336) !important; }

/* Filas: texto en tinta, marca lateral fina y flecha sin caja. */
.cite-catpanel--layout-columnas .cite-catpanel__link,
.cite-catpanel--layout-columnas .cite-catpanel__col-leaf .cite-catpanel__link { padding: 10px 10px 10px 20px; color: var(--shoe-ink, #1d1b19); font-size: 13px; border-left: 2px solid transparent !important; }
.cite-catpanel--layout-columnas .cite-catpanel__item:hover > .cite-catpanel__row .cite-catpanel__link,
.cite-catpanel--layout-columnas .cite-catpanel__item.is-active > .cite-catpanel__row .cite-catpanel__link { border-left-color: var(--shoe-clay, #b65336) !important; }
.cite-catpanel--layout-columnas .cite-catpanel__arrow-btn,
.cite-catpanel--layout-columnas .cite-catpanel__arrow-btn:hover,
.cite-catpanel--layout-columnas .cite-catpanel__item.is-active > .cite-catpanel__row .cite-catpanel__arrow-btn { flex-basis: 28px; width: 28px; margin-right: 8px; border: 0; background: none; }
.cite-catpanel--layout-columnas .cite-catpanel__arrow-btn { color: #b3aca3; }
.cite-catpanel--layout-columnas .cite-catpanel__arrow-btn:focus-visible { outline: 1.5px solid var(--shoe-ink, #1d1b19); outline-offset: -4px; }

/* Tercera columna: del ancho de las demás y solo cuando hay algo que enseñar
   (sin rama abierta desaparece y la tarjeta ocupa su sitio). */
.cite-catpanel--layout-columnas .cite-catpanel__col-leaf { flex: 0 0 var(--cite-cat-col, 275px); border-right: 1px solid #eeebe5; }
.cite-catpanel--layout-columnas .cite-catpanel__col-leaf:not(:has(> .cite-catpanel__branch:not([hidden]))) { display: none; }

/* Tarjeta destacada de la categoría abierta. */
.cite-catpanel__feature { position: relative; display: flex; flex: 1 1 auto; flex-direction: column; justify-content: flex-end; min-width: 0; max-width: 460px; margin: 16px 16px 16px auto; overflow: hidden; color: var(--shoe-ink, #1d1b19); background: #faf8f5; text-decoration: none; animation: citeCatpanelFeature .45s cubic-bezier(.22, 1, .36, 1) both; }
.cite-catpanel__feature-media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.cite-catpanel__feature-media::after { position: absolute; top: 0; right: 0; bottom: 0; left: 0; content: ""; background: linear-gradient(to top, rgba(29, 27, 25, .66), rgba(29, 27, 25, 0) 60%); }
.cite-catpanel__feature-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) and (pointer: fine) {
  .cite-catpanel__feature:hover .cite-catpanel__feature-img { transform: scale(1.04); }
}
.cite-catpanel__feature-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; }
.cite-catpanel__feature.has-image .cite-catpanel__feature-body { color: #fff; }
.cite-catpanel__feature-count { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.cite-catpanel__feature-title { font-family: "Playfair Display", Georgia, serif; font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.cite-catpanel__feature-cta { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: 10px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: gap .25s ease; }
@media (hover: hover) and (pointer: fine) {
  .cite-catpanel__feature:hover .cite-catpanel__feature-cta { gap: 12px; }
  .cite-catpanel__feature:not(.has-image):hover .cite-catpanel__feature-cta { color: var(--shoe-clay, #b65336); }
}
.cite-catpanel__feature:focus-visible { outline: 2px solid var(--shoe-clay, #b65336); outline-offset: 2px; }
@keyframes citeCatpanelFeature { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --- Adaptabilidad y Responsive ----------------------------------------- */
@media (min-width: 1025px) {
  .site-header__menu > .cite-catpanel__mobile-root {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  /* En móvil y tablet manda el cajón lateral */
  .cite-catpanel {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cite-catpanel__drop,
  .cite-catpanel__trigger-arrow,
  .cite-catpanel__arrow,
  .cite-catpanel__link,
  .cite-catpanel__arrow-btn,
  .cite-catpanel__feature,
  .cite-catpanel__feature-img {
    transition: none !important;
    animation: none !important;
  }
}
