/* Mini Joy's own signature offer card — playful, warm and compact. */
.mj-offer {
  --mj-accent: #e14612;
  --mj-ink: #24211f;
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 680px;
  margin: 12px 0 18px;
  padding: 15px 17px 12px;
  border: 1px solid #eed6cb;
  border-radius: 14px;
  background: linear-gradient(118deg, #fffdfa 0%, #fff7f2 100%);
  color: var(--mj-ink);
  font-family: inherit;
  line-height: 1.35;
}

.mj-offer[hidden] { display: none !important; }
.mj-offer *, .mj-offer *::before, .mj-offer *::after { box-sizing: border-box; }

/* Subtle branded accent, contained behind the offer contents. */
.mj-offer::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -29px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(225, 70, 18, 0.035);
  pointer-events: none;
}

.mj-offer__top,
.mj-offer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mj-offer__intro {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.mj-offer__heart {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: var(--mj-accent);
  background: #fde9df;
  transform: rotate(-7deg);
}

.mj-offer__heart svg { width: 20px; height: 20px; }
.mj-offer__copy { min-width: 0; }

.mj-offer__headline {
  margin: 0 !important;
  color: var(--mj-ink);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.25px;
}

.mj-offer__tagline {
  margin: 3px 0 0 !important;
  color: #76605a;
  font-size: 12px;
  line-height: 1.3;
}

.mj-offer__badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--mj-accent);
  font-size: 11px;
  line-height: 1.15;
  font-weight: 800;
  white-space: nowrap;
  transform: rotate(3deg);
}

.mj-offer__bottom {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #ead4c9;
}

.mj-offer__subheading {
  margin: 0 !important;
  color: #594c46;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.mj-offer__subheading span {
  margin-left: 3px;
  color: var(--mj-accent);
  font-size: 11px;
}

.mj-offer__timer {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mj-offer__unit {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.mj-offer__number {
  color: var(--mj-ink);
  font-size: 23px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.mj-offer__unit-label {
  color: #8f7970;
  font-size: 11px;
  font-weight: 600;
}

.mj-offer__separator {
  margin: 0 5px;
  color: var(--mj-accent);
  font-size: 16px;
  font-weight: 800;
}

@media (max-width: 530px) {
  .mj-offer { padding: 13px 13px 11px; margin: 9px 0 16px; }
  .mj-offer__headline { font-size: 15px; }
  .mj-offer__tagline { font-size: 11px; }
  .mj-offer__heart { width: 34px; height: 34px; border-radius: 10px; }
  .mj-offer__intro { gap: 8px; }
  .mj-offer__badge { padding: 6px 9px; font-size: 10px; }
  .mj-offer__bottom { flex-wrap: wrap; gap: 7px; }
  .mj-offer__timer { width: 100%; justify-content: space-between; }
  .mj-offer__number { font-size: 22px; }
  .mj-offer__separator { margin: 0 3px; }
}
