body.bg-orange { background-color: #f57c00; color: #fff; }
.bg-dark-orange { background-color: #e65100 !important; }
.logo { width: 150px; cursor: pointer; }
.login-box { width: 360px; background: rgba(0,0,0,0.2); padding: 22px; border-radius: 20px; }
.nav-link:hover { background: rgba(255,255,255,0.1); border-radius: 10px; }

/* ===== MENU OVERLAY (no desplaza contenido) ===== */
#menuOverlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  display: none; z-index: 1990;
}
#menuOverlay.show { display: block; }
#menuLateral {
  position: fixed; top: 0; left: 0; width: 280px; height: 100%;
  transform: translateX(-100%);
  transition: transform .25s ease-in-out; z-index: 2000;
  overflow-y: auto; padding: 18px 14px;
  box-shadow: 4px 0 14px rgba(0,0,0,.3);
}
#menuLateral.open { transform: translateX(0); }
.menu-close {
  position: absolute; top: 10px; right: 10px; background: transparent; border: none; color: #fff;
  font-size: 22px; cursor: pointer;
}

.logo{
  height: 40px;           /* ajusta a tu gusto */
  display: inline-block;   /* evita centrado por bloque */
  margin: 0;               /* importante si antes tenía margin auto */
}


/* ===== LAYOUT ===== */
#contenidoPrincipal { }
.buscador-container { position: relative; max-width: 520px; margin: 0 auto 10px auto; }
.buscador { border-radius: 30px; text-align: center; padding-right: 40px; }
.buscador-icon { position: absolute; right: 16px; top: 10px; color: #333; }

.categoria { margin: 36px 0; }
.titulo-categoria { text-align: center; margin-bottom: 18px; font-weight: 700; text-transform: uppercase; }

.carrusel-wrap { position: relative; }
.carrusel {
  display: flex; gap: 24px; overflow: hidden; padding: 12px 68px;
}
.ficha {
  min-width: 320px; background: #fff; color: #333; border-radius: 22px;
  padding: 16px; text-align: center; transition: transform .2s; cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,.15);
}


.ficha:hover { transform: scale(1.05); }
.ficha img { width: 100%; border-radius: 12px; height: 230px; object-fit: cover; }
.ficha .meta { font-size: 12px; color: #555; }

.carrusel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.35); color: #fff; border: none; width: 40px; height: 40px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2;
}
.carrusel-btn.left { left: 6px; }
.carrusel-btn.right { right: 6px; }

/* Resultados container visibility */
#zonaResultados { display: none; }
#zonaResultados.show { display: block; }


@media (max-width: 576px) {
  .ficha { min-width: 220px; }
  .ficha img { height: 160px; }
}


/* ============ Slick overrides (integración no invasiva) ============ */
.slick-slider { position: relative; display: block; box-sizing: border-box; -webkit-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; -khtml-user-select: none; -ms-touch-action: pan-y; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0; }
.slick-track { position: relative; left: 0; top: 0; display: flex; }
.slick-slide { min-height: 1px; outline: none; }
.slick-slide > .ficha { height: 100%; }
.slick-dots { display: flex !important; gap: 4px; justify-content: center; align-items: center; padding: 0px; }
.slick-dots li { list-style: none; width: 4px; height: 4px; border-radius: 999px; background: #fff; }
.slick-dots li.slick-active { background: #FFBF00; }
.slick-dots button { display: none; }
/* Reusar tus flechas personalizadas si existen */
.carrusel-btn.left.slick-prev, .carrusel-btn.right.slick-next { display: inline-flex !important; }


/* Fallback natural responsive */
.carrusel { 
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; touch-action: pan-x;
}
.carrusel::-webkit-scrollbar { display: none; }
.carrusel { scrollbar-width: none; }
.ficha { scroll-snap-align: start; }
