/* v5279 · anuncio proporcional en todas las pantallas y tirador sin placa. */

/* La publicidad usa la proporción real del banner (1280 × 426), sin altura mínima. */
html body #promoBanners.promo-banners {
  display: block !important;
  box-sizing: border-box !important;
  width: min(1280px, calc(100% - 24px)) !important;
  max-width: 1280px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1280 / 426 !important;
  margin: clamp(10px, 1.7vw, 18px) auto clamp(14px, 2vw, 22px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(191, 150, 81, .30) !important;
  border-radius: clamp(14px, 2vw, 22px) !important;
  background: transparent !important;
  box-shadow: 0 10px 28px rgba(29, 20, 11, .16) !important;
}
html body #promoBanners.promo-banners::before,
html body #promoBanners.promo-banners::after {
  display: none !important;
  content: none !important;
}
html body #promoBanners .promo-premium-shell,
html body #promoBanners .promo-premium-track {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  border-radius: inherit !important;
}
html body #promoBanners .promo-premium-shell {
  position: relative !important;
  overflow: hidden !important;
  background: transparent !important;
}
html body #promoBanners .promo-premium-track {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: stretch !important;
  gap: 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: transparent !important;
  scroll-snap-align: start !important;
}
html body #promoBanners .promo-picture,
html body #promoBanners .promo-picture img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  aspect-ratio: auto !important;
}
html body #promoBanners .promo-picture img {
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
}
html body #promoBanners .promo-premium-slide.is-img-broken {
  display: grid !important;
  place-items: center !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  padding: clamp(10px, 3vw, 28px) !important;
}
html body #promoBanners .promo-premium-slide.is-img-broken::before {
  max-width: 100% !important;
  padding: 8px !important;
  font-size: clamp(18px, 4vw, 38px) !important;
}
html body #promoBanners .promo-order-btn {
  right: clamp(7px, 1.6vw, 18px) !important;
  bottom: clamp(7px, 1.6vw, 14px) !important;
  min-height: 0 !important;
  padding: clamp(6px, .8vw, 9px) clamp(9px, 1.2vw, 15px) !important;
  border-radius: 999px !important;
  font-size: clamp(10px, 1vw, 13px) !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}
html body #promoBanners .promo-dots {
  bottom: clamp(6px, 1vw, 10px) !important;
}

/* El interruptor solo muestra cordón y gota alargada: sin placa blanca detrás. */
html body #themeBtn.tv-v5254-pull-switch,
html body #themeBtn.tv-v5254-pull-switch:hover,
html body #themeBtn.tv-v5254-pull-switch:active {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !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 {
  width: 28px !important;
  height: 42px !important;
  left: 50% !important;
  top: 1px !important;
  transform: translateX(-50%) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body #themeBtn.tv-v5254-pull-switch .tv-v5254-pull-thread {
  left: 13px !important;
  width: 1px !important;
  border-radius: 999px !important;
}
html body #themeBtn.tv-v5254-pull-switch .tv-v5254-pull-knob {
  left: 0 !important;
  width: 28px !important;
  height: 28px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body #themeBtn.tv-v5254-pull-switch .tv-v5254-pull-knob::before {
  top: 6px !important;
  left: 10px !important;
  width: 8px !important;
  height: 17px !important;
  border: 1px solid rgba(148, 105, 51, .7) !important;
  border-radius: 50% 50% 52% 52% / 20% 20% 76% 76% !important;
  background: linear-gradient(105deg, #bd9654 0%, #fff8e5 45%, #bd9654 100%) !important;
  box-shadow: 0 1px 4px rgba(58, 38, 14, .20), 0 0 4px rgba(224, 185, 108, .20), inset 0 1px rgba(255, 255, 255, .9) !important;
}
html body #themeBtn.tv-v5254-pull-switch .tv-v5254-pull-knob::after {
  top: 8px !important;
  left: 12px !important;
  width: 1px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .94) !important;
}
html[data-theme="dark"] body #themeBtn.tv-v5254-pull-switch .tv-v5254-pull-knob::before {
  border-color: rgba(147, 162, 194, .78) !important;
  background: linear-gradient(105deg, #94a0b6 0%, #fbfcff 45%, #8b98af 100%) !important;
}

@media (max-width: 560px) {
  html body #promoBanners.promo-banners {
    width: calc(100% - 16px) !important;
    margin: 10px auto 16px !important;
    border-radius: 15px !important;
  }
  html body #promoBanners .promo-order-btn {
    right: 6px !important;
    bottom: 6px !important;
    padding: 6px 9px !important;
    font-size: 10px !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: 5px 7px !important;
    font-size: 9px !important;
  }
}
