/* A product-level offer, aligned with the existing hero copy. */
body[data-campaign-detail] .pdp-offer {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 32px;
  color: #fff;
}
.pdp-offer__terms { flex: 0 0 auto; }
.pdp-offer__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
  line-height: 1.1;
}
.pdp-offer__price strong {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.pdp-offer__price span { font-size: 16px; font-weight: 500; }
.pdp-offer__minimum {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}
.pdp-offer__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid #0066FF;
  border-radius: 6px;
  background: #0066FF;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.pdp-offer__action:hover {
  background: #fff;
  border-color: #fff;
  color: #0066FF;
}
.pdp-offer__action:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Campaign art direction within the site's existing desktop boundary.
   The complete photograph and editable copy share one composition. */
@media (min-width: 1161px) {
  body[data-campaign-art] {
    --pdp-offer-cap: 101px;
    --pdp-offer-art-height: calc(640px + var(--pdp-offer-cap));
    --pdp-offer-core-width: calc(var(--pdp-offer-art-height) * 2.517721519);
    --pdp-offer-art-width: max(100vw, calc(var(--pdp-offer-art-height) * 3.424050633));
  }
  body[data-campaign-art] .pdp-hero-dark {
    background: #080b10 !important;
    overflow-x: clip;
    overflow-y: visible;
  }
  body[data-campaign-art] .pdp-hero-dark::after {
    inset: calc(-1 * var(--pdp-offer-cap)) 0 0;
    background:
      linear-gradient(90deg, rgba(2, 4, 8, 0.52) 0%, rgba(2, 4, 8, 0.52) 43%, rgba(2, 4, 8, 0) 49%) 0 0 / 100% 100% no-repeat,
      #080b10 var(--campaign-detail-backdrop) 64% calc(var(--pdp-offer-art-height) * 0.712658228 - var(--pdp-offer-art-width) * 0.223399355) / var(--pdp-offer-art-width) auto no-repeat !important;
  }
  body[data-campaign-art] .pdp-hero-dark::before {
    /* Keep the approved product and center; blend only the new outside joins. */
    content: "";
    position: absolute;
    top: calc(-1 * var(--pdp-offer-cap));
    bottom: 0;
    left: calc(64% - var(--pdp-offer-art-width) * 0.14 - var(--pdp-offer-core-width) * 0.5);
    width: var(--pdp-offer-core-width);
    z-index: 2;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(2, 4, 8, 0.52) 0%, rgba(2, 4, 8, 0.52) 43%, rgba(2, 4, 8, 0) 49%) calc(-64vw + var(--pdp-offer-art-width) * 0.14 + var(--pdp-offer-core-width) * 0.5) 0 / 100vw 100% no-repeat,
      var(--campaign-detail-image) 0 0 / 100% 100% no-repeat;
    mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  }
  body[data-campaign-art] .site-header:not([data-theme="light"]) {
    background: rgba(3, 4, 5, 0.48) !important;
    box-shadow: none;
  }
  body[data-campaign-art] .site-header + .home-offer-bar {
    position: relative;
    z-index: 3;
  }
  body[data-campaign-art] .site-header:not([data-theme="light"]) + .home-offer-bar {
    background: rgba(3, 4, 5, 0.48);
    backdrop-filter: blur(18px);
  }
  body[data-campaign-art] .pdp-keyspecs-strip {
    background: linear-gradient(to bottom, transparent 40px, #f3f5f7 40px);
  }
  body[data-campaign-art] .pdp-hero-image {
    display: none;
  }
  body[data-campaign-art] .pdp-hero-info {
    max-width: 560px;
  }
  body[data-campaign-art] .pdp-eyebrow {
    display: none;
  }
  body[data-campaign-art] .pdp-name {
    font-weight: var(--fw-bold, 700);
  }
  body[data-campaign-art] .pdp-hero-desc {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.72);
  }
  body[data-campaign-art] .pdp-offer {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-top: 32px;
  }
  body[data-campaign-art] .pdp-offer__price strong {
    font-size: var(--text-section-title, 56px);
  }
  body[data-campaign-art] .pdp-offer__minimum {
    color: rgba(255, 255, 255, 0.76);
  }
  body[data-campaign-art] .pdp-offer__action {
    min-height: 48px;
    padding: 0 28px;
    border-color: #0066FF;
    background: #0066FF;
    color: #fff;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  }
  body[data-campaign-art] .pdp-offer__action:hover {
    border-color: #fff;
    background: #fff;
    color: #0066FF;
  }
}

/* The campaign composition must not change an ordinary product's overflow. */
@media(min-width:1161px){body[data-campaign-detail] .pdp-hero-dark{overflow-x:clip;overflow-y:visible}}
