/* v5282 · publicidad proporcional sin CTA superpuesto; tirador fino adaptable. */

/* La caja sigue la proporción del arte; el carrusel llena esa caja sin reservar alto extra. */
html body #promoBanners.promo-banners {
  position: relative !important;
  display: block !important;
  box-sizing: border-box !important;
  width: min(1280px, calc(100% - clamp(12px, 3.2vw, 40px))) !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1280 / 426 !important;
  margin: clamp(10px, 1.8vw, 20px) auto clamp(14px, 2vw, 24px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(191, 150, 81, .30) !important;
  border-radius: clamp(13px, 1.8vw, 22px) !important;
  background: #0b1730 !important;
  box-shadow: 0 10px 28px rgba(29, 20, 11, .16) !important;
  contain: layout paint !important;
}

html body #promoBanners.promo-banners::before,
html body #promoBanners.promo-banners::after {
  content: none !important;
  display: none !important;
}

html body #promoBanners .promo-premium-shell {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border-radius: inherit !important;
  background: transparent !important;
}

html body #promoBanners .promo-premium-track {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
}

html body #promoBanners .promo-premium-slide {
  position: relative !important;
  display: block !important;
  box-sizing: border-box !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: inherit !important;
  background: #0b1730 !important;
  cursor: pointer !important;
  transition: filter .18s ease !important;
  scroll-snap-align: start !important;
}

html body #promoBanners .promo-premium-slide:hover {
  filter: brightness(1.035) !important;
}

html body #promoBanners .promo-premium-slide:focus-visible {
  outline: 2px solid rgba(229, 190, 117, .94) !important;
  outline-offset: -3px !important;
}

html body #promoBanners .promo-picture {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: auto !important;
}

html body #promoBanners .promo-picture img,
html body #promoBanners .promo-premium-slide > img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #0b1730 !important;
}

html body #promoBanners .promo-order-btn {
  display: none !important;
}

html body #promoBanners .promo-dots {
  bottom: clamp(5px, .9vw, 10px) !important;
}

/* Cuerda visible y terminal metálico estrecho. El propio terminal sigue siendo arrastrable. */
html body #themeBtn.tv-v5254-pull-switch,
html body #themeBtn.tv-v5254-pull-switch:hover,
html body #themeBtn.tv-v5254-pull-switch:active {
  overflow: visible !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

html body #themeBtn.tv-v5254-pull-switch::before,
html body #themeBtn.tv-v5254-pull-switch::after {
  content: none !important;
  display: none !important;
}

html body #themeBtn.tv-v5254-pull-switch .tv-v5254-pull-cord {
  top: 1px !important;
  left: 50% !important;
  width: 28px !important;
  height: 42px !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: translateX(-50%) !important;
}

html body #themeBtn.tv-v5254-pull-switch .tv-v5254-pull-thread {
  top: 0 !important;
  left: 13px !important;
  width: 1px !important;
  height: calc(18px + var(--tv-v5254-pull-y, 0px)) !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #94713d, #f6e3b6 48%, #a88048) !important;
  box-shadow: 0 0 2px rgba(255, 231, 187, .38) !important;
}

html body #themeBtn.tv-v5254-pull-switch .tv-v5254-pull-knob {
  top: calc(15px + var(--tv-v5254-pull-y, 0px)) !important;
  left: 10.5px !important;
  display: block !important;
  width: 5px !important;
  height: 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(100deg, #a77c3d 0%, #fff2ce 44%, #c9a25f 76%, #876238 100%) !important;
  box-shadow: 0 1px 3px rgba(38, 25, 12, .24), 0 0 2px rgba(255, 238, 199, .48) !important;
  transform: none !important;
}

html body #themeBtn.tv-v5254-pull-switch .tv-v5254-pull-knob::before {
  content: none !important;
  display: none !important;
}

html body #themeBtn.tv-v5254-pull-switch .tv-v5254-pull-knob::after {
  top: 2px !important;
  left: 1px !important;
  width: 1px !important;
  height: 4px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .92) !important;
}

html[data-theme="dark"] body #themeBtn.tv-v5254-pull-switch .tv-v5254-pull-thread {
  background: linear-gradient(90deg, #78839b, #eef2ff 48%, #737e96) !important;
}

html[data-theme="dark"] body #themeBtn.tv-v5254-pull-switch .tv-v5254-pull-knob {
  border-color: rgba(162, 176, 207, .86) !important;
  background: linear-gradient(100deg, #8e9ab1 0%, #fbfcff 42%, #bdc8dd 74%, #828ea8 100%) !important;
}

@media (max-width: 560px) {
  html body #promoBanners.promo-banners {
    width: calc(100% - 16px) !important;
    margin: 10px auto 16px !important;
    border-radius: 14px !important;
  }
  html body #promoBanners .promo-order-btn {
    right: 5px !important;
    bottom: 5px !important;
    padding: 5px 8px !important;
    font-size: 9px !important;
  }
  html body #promoBanners .promo-dots {
    bottom: 4px !important;
    gap: 4px !important;
    padding: 3px 5px !important;
  }
}

@media (max-width: 340px) {
  html body #promoBanners.promo-banners { width: calc(100% - 12px) !important; }
  html body #promoBanners .promo-order-btn {
    right: 4px !important;
    bottom: 4px !important;
    padding: 4px 6px !important;
    font-size: 8px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body #promoBanners .promo-premium-track { scroll-behavior: auto !important; }
  html body #promoBanners .promo-premium-slide { transition: none !important; }
  html body #themeBtn.tv-v5254-pull-switch .tv-v5254-pull-thread,
  html body #themeBtn.tv-v5254-pull-switch .tv-v5254-pull-knob { transition: none !important; }
}
