/* ============================================
   Shared promo card (papers popup + notes gate)
   Inner card styling only. The full-screen papers
   overlay and its close button live in
   style_papers.css; the pane-scoped notes gate
   wrapper lives in style_notes.css.
   ============================================ */
.paper-promo-card {
  position: relative;
  width: min(420px, 100%);
  background: #fffef9;
  border: 1px solid rgba(125, 100, 60, 0.3);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  padding: 34px 30px 26px;
  text-align: center;
}

.paper-promo-title {
  font-family: "Caveat", cursive;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.15;
  color: #3a2f1a;
  margin: 0 0 20px;
}

.paper-promo-emoji {
  display: inline-block;
  margin-left: 0.18em;
  transform: rotate(43deg);
  transform-origin: center;
}

/* body labels — highlighter-marker text, laid out criss-cross with a tilt */
.paper-promo-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0 0 14px;
  padding: 0 8px;
}

.paper-promo-tag {
  font-family: "Caveat", cursive;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
  color: #3a2f1a;
  padding: 1px 12px;
  border-radius: 4px;
  /* marker swipe sits behind the lower portion of the text, like a highlighter */
  background-image: linear-gradient(var(--hl, #f6e3a1), var(--hl, #f6e3a1));
  background-repeat: no-repeat;
  background-size: 100% 0.72em;
  background-position: 0 62%;
}

/* left → right → left, each tilted a little differently */
.paper-promo-tag.tag-a {
  --hl: #f6e3a1;
  align-self: flex-start;
  transform: rotate(-2.5deg);
}

.paper-promo-tag.tag-b {
  --hl: #f1c4bc;
  align-self: flex-end;
  transform: translateY(-6px) rotate(1.8deg);
  margin-right: 22px;
}

.paper-promo-tag.tag-c {
  --hl: #cfe0b8;
  align-self: flex-start;
  transform: rotate(-1.2deg);
  margin-left: 14px;
}

.paper-promo-covered {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  color: #5d4e2c;
  margin: 0 0 8px;
}

.paper-promo-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 0 0 2px;
}

.paper-promo-price-old {
  position: relative;
  font-family: "Outfit", sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #6b5a3a;
}

/* hand-drawn strike — a real bar so the red always reads clearly */
.paper-promo-price-old::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: 53%;
  height: 3px;
  background: #cc1f1f;
  border-radius: 3px;
  transform: rotate(-2deg);
  pointer-events: none;
}

.paper-promo-price-new {
  font-family: "Outfit", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: #3a2f1a;
}

.paper-promo-beta {
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  color: #8a7a55;
  margin: 0 0 22px;
}

.paper-promo-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: #3a2f1a;
  color: #fffef9;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.paper-promo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.paper-promo-cta i {
  color: #fffef9;
  font-size: 1.15rem;
}

.paper-promo-dismiss {
  display: inline-block;
  margin-top: 14px;
  background: none;
  border: none;
  color: #5d4e2c;
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 4px 8px;
}

.paper-promo-dismiss:hover {
  color: #3a2f1a;
}

.paper-promo-dismiss-em {
  color: #cc1f1f;
  font-weight: 600;
}

@media (max-width: 480px) {
  .paper-promo-card {
    padding: 30px 20px 20px;
  }
  .paper-promo-title {
    font-size: 1.85rem;
  }
}
