/* ==========================================================================
   NOVOVET · Promociones especiales (D-078) — carrusel de banners grandes
   Lo llena js/especiales.js. Va en index.html y promociones.html.
   ========================================================================== */
.especiales { padding: 26px 0 30px; background: #fff; }
.especiales[hidden] { display: none; }

.esp__cab { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.esp__tit {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 800; letter-spacing: -.01em; color: var(--nv-ink, #202427);
}
.esp__marca { width: 10px; height: 10px; border-radius: 50%; background: var(--nv-verde-logo, #04B464); box-shadow: 0 0 0 4px var(--nv-verde-suave, #e9f6ef); flex: 0 0 auto; }

.esp__ctrl { display: flex; align-items: center; gap: 8px; }
.esp__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--nv-borde-btn, #cfd5dc); background: #fff; color: var(--nv-ink, #202427);
  font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.esp__btn svg { width: 18px; height: 18px; }
.esp__btn--nav { padding: 0; width: 42px; }
.esp__btn--pausa svg { width: 14px; height: 14px; }
.esp__btn:hover { border-color: var(--nv-verde-tx, #087443); color: var(--nv-verde-tx, #087443); }
.esp__btn:focus-visible, .esp__punto:focus-visible, .esp__wa:focus-visible { outline: 3px solid var(--nv-verde-tx, #087443); outline-offset: 2px; }

.esp__marco {
  border-radius: var(--nv-radio-lg, 16px); overflow: hidden; background: #fff;
  border: 1px solid var(--nv-line, #e4e8ed);
  box-shadow: 0 1px 2px rgba(18,23,28,.05), 0 14px 34px rgba(18,23,28,.09);
}
.esp__riel {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.esp__riel::-webkit-scrollbar { display: none; }
.esp__slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.esp__slide img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 533; object-fit: cover; background: #f4f7f5; }

.esp__pie {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 22px 16px; border-top: 1px solid var(--nv-line, #e4e8ed); background: #fff;
}
.esp__txt { min-width: 0; }
.esp__chip {
  display: inline-block; margin-bottom: 4px; padding: 3px 10px; border-radius: 999px;
  background: var(--nv-verde-suave, #e9f6ef); color: var(--nv-verde-tx, #087443);
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.esp__txt strong { display: block; font-size: 1.08rem; line-height: 1.3; color: var(--nv-ink, #202427); }
.esp__det { display: block; color: var(--nv-slate, #4f5b67); font-size: .95rem; }
.esp__txt small { display: block; margin-top: 3px; color: var(--nv-muted, #5f6b77); font-size: .8rem; }
.esp__aviso { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 6px; background: #fff5e0; color: #7a4a00; font-size: .82rem; font-weight: 600; }
.especiales--tono { background: var(--nv-bg-soft, #f6f8f7); }
.esp__wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  background: var(--nv-verde, #0a7342); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background .15s;
}
.esp__wa svg { width: 20px; height: 20px; }
.esp__wa:hover { background: var(--nv-verde-hondo, #08663b); color: #fff; }

.esp__puntos { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
.esp__punto {
  position: relative; width: 28px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
}
.esp__punto::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 99px;
  transform: translate(-50%, -50%); background: #c3ccd5; transition: width .2s, background .2s;
}
.esp__punto[aria-current="true"]::after { width: 22px; background: var(--nv-verde, #0a7342); }

@media (max-width: 760px) {
  .especiales { padding: 20px 0 24px; }
  .esp__btn--pausa span { display: none; }
  .esp__btn--pausa { width: 42px; padding: 0; }
  .esp__pie { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px 16px; }
  .esp__wa { width: 100%; }
}
@media (max-width: 400px) {
  .esp__btn--nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .esp__riel { scroll-behavior: auto; }
  .esp__punto::after, .esp__btn, .esp__wa { transition: none; }
}
