/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
::selection {
  background-color: #FFDD57; /* Color de fondo al seleccionar texto */
  color: #000; /* Color del texto seleccionado */
}

/* Firefox necesita prefijo */
::-moz-selection {
  background-color: #FFDD57;
  color: #000;
}


/* Microfono buscador */
@keyframes pulse-mic {
  0% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.5; transform: scale(1); }
}
.animate-pulse {
  animation: pulse-mic 1s infinite;
}
.truncate-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.marquee-track {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: inline-flex;
  white-space: nowrap;
  transform: translateX(0);
}
@keyframes scroll-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.sticky-search {
  position: sticky;
  top: 0;
  z-index: 30;
  background-color: white;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#search-box.sticky {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 640px;
  z-index: 50;
  padding: 0.5rem;
  background-color: white;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 1rem 1rem;
}

#mini-banner {
  backdrop-filter: blur(12px);
  background-color: rgba(17, 24, 39, 0.6); /* fondo oscuro translúcido */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

#mini-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

  .nav-link {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: white;
  }
  .nav-link:hover {
    color: #60a5fa;
  }

  /* Galeria para productos */
img#mainProductImage {
  transition: opacity 0.3s ease;
}
.ring-amarillo-custom {
  box-shadow: 0 0 0 2px #F0D187;
}


img {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto; /* Permite clics normales si los necesitas */
}


/* para filtros */
.sticky-filters {
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  z-index: 40;
  transform: translateY(-100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.sticky-filters.visible {
  transform: translateY(0);
  opacity: 1;
}
