.offer-page {
  --offer-border: rgba(138, 159, 175, 0.3);
}
.offer-page h1 {
  margin: 20px 0 8px;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 1.08;
}
.offer-lead {
  max-width: 42rem;
  font-size: 1.15rem;
}
.offer-grid {
  display: grid;
  gap: 24px;
  margin: 28px 0 48px;
  align-items: start;
}
.offer-showcase {
  text-align: center;
  min-width: 0;
}
.offer-dial {
  display: block;
  width: min(100%, 400px);
  height: auto;
  margin: auto;
  border-radius: 50%;
}
.offer-claim {
  border: 1px solid var(--offer-border);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 32px);
  min-width: 0;
  background: rgba(110, 143, 164, 0.05);
}
.offer-claim h2 {
  margin: 12px 0;
  font-size: 1.7rem;
}
.offer-claim .btn {
  white-space: normal;
  display: block;
  width: 100%;
  margin: 12px 0;
  min-height: 48px;
}
.offer-claim button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.offer-secondary {
  border: 1px solid var(--offer-border);
  color: inherit;
}
.offer-store {
  display: block;
  margin: 20px 0 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.offer-page [hidden] {
  display: none !important;
}
#offer-count {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 8px 0;
}
#offer-dates,
.offer-fine,
.offer-privacy,
#offer-form p,
#offer-result > p {
  font-size: 0.88rem;
  line-height: 1.65;
}
#offer-code {
  display: block;
  padding: 18px 12px;
  border: 1px dashed currentColor;
  border-radius: 8px;
  color: inherit;
  font-size: clamp(1.05rem, 4vw, 1.6rem);
  overflow-wrap: anywhere;
  user-select: all;
  letter-spacing: 0.04em;
}
.offer-instructions {
  padding-left: 22px;
  margin: 20px 0;
}
.offer-instructions li {
  margin-bottom: 12px;
}
.offer-text-button {
  border: 0;
  padding: 12px 0;
  color: inherit;
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
  min-height: 44px;
}
.offer-privacy summary {
  cursor: pointer;
  min-height: 44px;
  padding-top: 10px;
}
.offer-privacy p {
  margin-top: 10px;
}
.offer-story {
  max-width: 720px;
  margin-bottom: 56px;
}
.offer-related-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.offer-related-card {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--offer-border);
  border-radius: 16px;
  padding: 20px;
  color: inherit;
}
.offer-related-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
}
.offer-related-card h3 {
  font-size: 1.2rem;
  margin: 0 0 8px;
}
.offer-related-card p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.offer-related-card span {
  font-size: 0.85rem;
  text-decoration: underline;
}
.offer-page :focus-visible {
  outline: 3px solid #43b8dc;
  outline-offset: 4px;
}
.offer-page.has-claim .offer-claim {
  order: -1;
}
@media (min-width: 768px) {
  .offer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .offer-showcase {
    position: sticky;
    top: 24px;
  }
  .offer-page.has-claim .offer-claim {
    order: 0;
  }
  .offer-related-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 360px) {
  .offer-related-card {
    padding: 14px;
    gap: 12px;
  }
  .offer-related-card img {
    width: 72px;
    height: 72px;
  }
}
/* Keep the artwork and action ahead of optional detail on a small screen. */
.offer-page {
  padding-top: 24px;
  padding-bottom: 48px;
}
.offer-page h1 {
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 3.7rem);
}
.offer-lead {
  margin-bottom: 0;
  font-size: 1rem;
}
.offer-grid {
  gap: 16px;
  margin: 20px 0 24px;
}
.offer-dial {
  width: min(100%, 248px);
}
.offer-claim {
  padding: 20px;
}
.offer-claim h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}
.offer-claim p {
  margin-bottom: 10px;
}
.offer-claim #offer-status {
  font-size: 0.95rem;
  line-height: 1.45;
}
#offer-count {
  font-size: 1.05rem;
}
.offer-small {
  font-size: 0.8rem;
  line-height: 1.5;
}
.offer-store {
  margin: 16px 0 0;
}
.offer-details {
  border-top: 1px solid var(--offer-border);
  font-size: 0.9rem;
  margin-top: 12px;
}
.offer-details summary {
  padding: 12px 0;
  min-height: 44px;
  cursor: pointer;
  font-weight: 600;
}
.offer-details p {
  line-height: 1.65;
}
.offer-story {
  max-width: none;
  margin-bottom: 28px;
}
.offer-related h2 {
  font-size: 1.5rem;
}
.offer-related-grid {
  margin-top: 16px;
}
.offer-related-card {
  padding: 16px;
}
.offer-note {
  border-left: 3px solid #df8b21;
  padding: 8px 12px;
  margin-bottom: 16px;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .offer-dial {
    width: min(100%, 420px);
  }
  .offer-grid {
    gap: 48px;
    margin-top: 28px;
  }
  .offer-claim {
    padding: 28px;
  }
}
body:has(.offer-page) footer .footer-quest,
body:has(.offer-page) footer .footer-divider {
  display: none;
}
body:has(.offer-page) footer {
  padding-top: 24px;
}

/* After assignment, keep the code and redemption first, then show the actual
   related artwork before the current product's repeat preview and details. */
.offer-next {
  display: inline-block;
  min-height: 44px;
  padding: 12px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.offer-page.has-claim .offer-grid {
  grid-template-areas: "claim" "related" "artwork";
}
.offer-page.has-claim .offer-claim {
  grid-area: claim;
}
.offer-page.has-claim .offer-related {
  grid-area: related;
  margin: 12px 0;
}
.offer-page.has-claim .offer-showcase {
  grid-area: artwork;
}
.offer-related-card img {
  width: 112px;
  height: 112px;
}
.offer-related-card div {
  min-width: 0;
}
.offer-page.has-claim .offer-related h2 {
  font-size: 1.45rem;
  margin: 0;
}
.offer-page.has-claim .offer-related-grid {
  margin-top: 16px;
}
@media (min-width: 768px) {
  .offer-page.has-claim .offer-grid {
    grid-template-areas: "artwork claim" "artwork related";
  }
  .offer-page.has-claim .offer-related-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 360px) {
  .offer-related-card img {
    width: 88px;
    height: 88px;
  }
}
