/* BBP Dynamic Promotions: keep layout stable without reserving both responsive variants. */
.bbp-dp-slot { box-sizing: border-box; }
.bbp-dp-banner { width: 100%; min-height: 1px; aspect-ratio: var(--bbp-banner-aspect-ratio, 12 / 1); }
/* Wide category / product promo strips are much shallower than the generic ratio. */
.bbp-dp-top-cat-banner-desktop,
.bbp-dp-top-cat-banner-mobile,
.bbp-dp-prod-cat-banner-desktop,
.bbp-dp-prod-cat-banner-mobile {
  aspect-ratio: var(--bbp-wide-promo-ratio, 34 / 1);
}
/* Important: hide the entire *placeholder*, not just its loaded image. */
.bbp-dp-top-cat-banner-mobile,
.bbp-dp-prod-cat-banner-mobile,
.bbp-dp-prod-left-banner-mobile { display: none; }
.bbp-dp-banner.bbp-dp-ready { aspect-ratio: auto; }
.bbp-dp-banner img { display: block; max-width: 100%; height: auto; }
.bbp-dp-bar { min-height: var(--bbp-topbar-height, 35px); }
.bbp-dp-slider { aspect-ratio: var(--bbp-slider-desktop-ratio, 1920 / 600); width: 100%; }
.bbp-dp-slider.bbp-dp-ready { aspect-ratio: auto; }
.bbp-dp-slider img, .bbp-dp-slider video { display: block; max-width: 100%; height: auto; }
.bbp-dp-badges { display: contents; }
.bbp-dp-slot .desktop-only { display: block; }
.bbp-dp-slot .mobile-only { display: none; }
@media (max-width:767px) {
  .bbp-dp-top-cat-banner-desktop,
  .bbp-dp-prod-cat-banner-desktop,
  .bbp-dp-prod-left-banner-desktop { display: none; }
  .bbp-dp-top-cat-banner-mobile,
  .bbp-dp-prod-cat-banner-mobile,
  .bbp-dp-prod-left-banner-mobile { display: block; }
  /* Mobile artwork may have a different shape: tune to the actual banner asset if necessary. */
  .bbp-dp-top-cat-banner-mobile,
  .bbp-dp-prod-cat-banner-mobile { aspect-ratio: var(--bbp-wide-promo-mobile-ratio, 8 / 1); }
  .bbp-dp-slot .desktop-only { display: none; }
  .bbp-dp-slot .mobile-only { display: block; }
  .bbp-dp-slider { aspect-ratio: var(--bbp-slider-mobile-ratio, 480 / 600); }
}
