/* VZ Live Search 1.0.0 */
html.vzls-lock { overflow: hidden !important; }

.vzls {
  --vzls-accent: #f5cd21;
  --vzls-pad: clamp(16px, 3.6vw, 72px);
  position: fixed; inset: 0; z-index: 2147483000;
  background: #fff; color: #111;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  font-family: inherit; font-size: 16px; line-height: 1.4;
  opacity: 0; transition: opacity .18s ease;
}
.vzls[hidden] { display: none !important; }
.vzls.is-open { opacity: 1; }
.vzls *, .vzls *::before, .vzls *::after { box-sizing: border-box; }

/* Barra superior */
.vzls__top {
  position: sticky; top: 0; z-index: 3; background: #fff;
  display: flex; align-items: center; gap: 16px;
  padding: 26px var(--vzls-pad) 14px;
}
.vzls .vzls__field {
  flex: 1; min-width: 0; margin: 0;
  display: flex; align-items: center; gap: 12px;
  height: 62px; padding: 0 18px 0 22px;
  border: 2px solid #000; border-radius: 999px; background: #fff;
}
.vzls .vzls__ico { flex: none; color: #111; }
.vzls .vzls__input,
.vzls .vzls__input:focus {
  flex: 1; min-width: 0; width: 100%; height: auto; margin: 0; padding: 0;
  border: 0 !important; outline: 0 !important; box-shadow: none !important;
  background: transparent !important; color: #111;
  font: inherit; font-size: 20px; line-height: 1.2; -webkit-appearance: none; appearance: none;
}
.vzls .vzls__input::-webkit-search-cancel-button,
.vzls .vzls__input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.vzls .vzls__input::placeholder { color: #8a8a8a; opacity: 1; }
.vzls .vzls__field:focus-within { box-shadow: 0 0 0 4px rgba(0,0,0,.08); }

.vzls .vzls__clear, .vzls .vzls__close, .vzls .vzls__more, .vzls .vzls__chip {
  all: unset; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.vzls .vzls__clear {
  flex: none; width: 30px; height: 30px; display: grid; place-items: center; color: #666; border-radius: 50%;
}
.vzls .vzls__clear[hidden] { display: none; }
.vzls .vzls__clear:hover { background: #f0f0f0; color: #000; }
.vzls .vzls__close {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center;
  background: #000; color: #fff; border-radius: 50%; transition: transform .15s ease, background .15s ease;
}
.vzls .vzls__close:hover { transform: scale(1.06); background: #222; }
.vzls .vzls__close:focus-visible, .vzls .vzls__chip:focus-visible, .vzls .vzls__card:focus-visible, .vzls .vzls__more:focus-visible, .vzls .vzls__clear:focus-visible {
  outline: 3px solid var(--vzls-accent); outline-offset: 2px;
}

/* Cuerpo */
.vzls__body { padding: 6px var(--vzls-pad) 90px; }
.vzls__eyebrow { margin: 14px 0 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #555; }
.vzls .vzls__q { margin: 6px 0 4px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: .01em; text-transform: uppercase; line-height: 1.15; color: #111; word-break: break-word; }
.vzls .vzls__q::before { content: '\201C'; } .vzls .vzls__q::after { content: '\201D'; }
.vzls__count { margin: 0; font-size: 14px; color: #777; }
.vzls__note { margin: 6px 0 0; font-size: 13px; color: #555; }
.vzls__meta[hidden], .vzls__note[hidden] { display: none; }

/* Pestañas / chips */
.vzls__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 22px; }
.vzls__chips:empty { display: none; }
.vzls .vzls__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border: 1px solid #e2e2e2; border-radius: 999px; background: #fff; color: #111;
  font-size: 14px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.vzls .vzls__chip em { font-style: normal; font-size: 11px; opacity: .55; font-weight: 500; }
.vzls .vzls__chip:hover { border-color: #111; }
.vzls .vzls__chip.is-active { background: #000; border-color: #000; color: #fff; }

/* Estado vacío / populares */
.vzls__empty { padding-top: 26px; }
.vzls__empty:empty { display: none; padding: 0; }
.vzls__msg { margin: 0 0 6px; font-size: 18px; font-weight: 600; color: #111; }
.vzls__msg--lead { text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: #555; font-weight: 600; }
.vzls__hint { margin: 0 0 18px; font-size: 14px; color: #777; }
.vzls__pop { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 20px; }
.vzls .vzls__btnlink {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; margin-top: 8px;
  border: 2px solid #000; border-radius: 6px; color: #000; text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
}
.vzls .vzls__btnlink:hover { background: #000; color: #fff; }

/* Rejilla */
.vzls__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.vzls .vzls__card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 12px; background: #fff; color: #111; text-decoration: none;
  border: 1px solid #e6e6e6; border-radius: 14px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.vzls .vzls__card:hover { border-color: #111; box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.vzls .vzls__media {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: #fff;
}
.vzls .vzls__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; margin: 0; max-width: none; }
.vzls .vzls__badge {
  position: absolute; z-index: 2; top: 6px; left: 6px; padding: 4px 8px; border-radius: 6px;
  background: var(--vzls-accent); color: #000; font-size: 12px; font-weight: 700; line-height: 1;
}
.vzls .vzls__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin: 12px 0 4px; min-height: 2.6em; font-size: 14px; font-weight: 500; letter-spacing: .01em; text-transform: uppercase; line-height: 1.3;
}
.vzls .vzls__prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-height: 30px; }
.vzls .vzls__old { font-size: 13px; color: #8a8a8a; text-decoration: line-through; }
.vzls .vzls__price { font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: #111; }
.vzls .vzls__btn {
  display: flex; align-items: center; justify-content: center; height: 52px; margin-top: 12px;
  border: 2px solid #000; border-radius: 6px; background: #fff; color: #000;
  font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.vzls .vzls__card:hover .vzls__btn { background: #000; color: #fff; }

/* Cargando */
.vzls .vzls__card--sk { pointer-events: none; }
.vzls .vzls__card--sk .vzls__media, .vzls__sk1, .vzls__sk2 {
  background: linear-gradient(90deg, #f1f1f1 25%, #f8f8f8 37%, #f1f1f1 63%); background-size: 400% 100%; animation: vzls-sk 1.2s ease infinite;
}
.vzls__sk1 { height: 14px; width: 70%; margin: 14px 0 10px; border-radius: 4px; }
.vzls__sk2 { height: 22px; width: 40%; margin-bottom: 64px; border-radius: 4px; }
@keyframes vzls-sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.vzls__sentinel { height: 1px; }
.vzls .vzls__more {
  display: flex; align-items: center; justify-content: center; margin: 26px auto 0; height: 52px; padding: 0 34px;
  border: 2px solid #000; border-radius: 6px; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
}
.vzls .vzls__more[hidden] { display: none; }
.vzls .vzls__more:hover { background: #000; color: #fff; }

/* Responsive */
@media (max-width: 1279px) { .vzls__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 991px)  { .vzls__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 767px) {
  .vzls__top { padding-top: 14px; gap: 10px; }
  .vzls .vzls__field { height: 52px; padding: 0 12px 0 16px; }
  .vzls .vzls__input, .vzls .vzls__input:focus { font-size: 17px; }
  .vzls .vzls__close { width: 42px; height: 42px; }
  .vzls__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vzls .vzls__card { padding: 8px; border-radius: 12px; }
  .vzls .vzls__title { font-size: 12px; margin-top: 8px; }
  .vzls .vzls__price { font-size: 17px; }
  .vzls .vzls__old { font-size: 12px; }
  .vzls .vzls__btn { height: 42px; font-size: 12px; margin-top: 8px; }
  .vzls__chips { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--vzls-pad) * -1); padding-right: var(--vzls-pad); scrollbar-width: none; }
  .vzls__chips::-webkit-scrollbar { display: none; }
  .vzls .vzls__chip { padding: 10px 16px; font-size: 13px; flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vzls, .vzls * { transition: none !important; animation: none !important; }
}
