/* Block: pdp-promo-bar - Core banner styles only. Using Bootstrap 5 utilities. */
.pdp-promo-bar {
  width: 100%;
  background-color: #000000;
  position: relative;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  overflow: visible;
  display: none;
  height: 0;
  border-top: solid 1px #ffffff4d;
}

.pdp-promo-bar--loading {
  display: block;
  height: 0;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}

.pdp-promo-bar--active {
  display: block;
  height: auto;
  opacity: 1;
}

.pdp-promo-bar--hidden {
  display: none !important;
  min-height: 0;
}

.pdp-promo-bar__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pdp-promo-bar__background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.60);
}

.pdp-promo-bar__content {
  max-width: 800px;
  position: relative;
  z-index: 1;
  height: 60px;
  padding: 8px 12px;
  gap: 24px;
}

.pdp-promo-bar__logo {
  width: 52px;
  height: 56px;
  aspect-ratio: 13 / 14;
}

.pdp-promo-bar__logo-img {
  object-fit: contain;
}

.pdp-promo-bar__text {
  line-height: normal;
  font-size: 14px;
}

.pdp-promo-bar__cta {
  line-height: normal;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 14px;
  transition: opacity 0.1s ease-in-out;
}

.pdp-promo-bar__sponsored {
  top: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 2;
  border-radius: 0 0 4px 0;
  background: rgba(0, 0, 0, 0.60);
  font-size: 10px;
}

@media (max-width: 768px) {
  .pdp-promo-bar__text {
    font-size: 12px;
  }
  
  .pdp-promo-bar__cta {
    font-size: 12px;
  }

  .pdp-promo-bar__content {
    min-height: 44px;
    gap: 12px;
  }
  
  .pdp-promo-bar__logo {
    width: 33px;
    height: 35px;
    aspect-ratio: 33 / 35;
  }
}