/* Warm store palette for the existing revive and v3 components. */
.store-revive {
  --fr-bg: var(--sv2-bg);
  --fr-surface: var(--sv2-surface);
  --fr-text: var(--sv2-ink);
  --fr-text2: var(--sv2-ink-2);
  --fr-muted: var(--sv2-ink-3);
  --fr-primary: var(--sv2-persimmon-action);
  --fr-primary-dark: var(--sv2-persimmon-dark);
  --fr-cash: var(--sv2-pistachio-ink);
  --fr-cash-dark: var(--sv2-pistachio-dark);
  --fr-coupon-soft: var(--sv2-persimmon-soft);
  --fr-border: var(--sv2-border);
  --fr-border-warm: var(--sv2-border);
  --fr-wash: var(--sv2-wash-2);
  --fr-eyebrow: var(--sv2-ink-3);
  --fr-amber: var(--sv2-butter);
  --fr-on-primary: var(--sv2-on-ink);
  --fr-img-bg: var(--sv2-surface);
  --fr-cash-soft: var(--sv2-pistachio-tint);
  --fr-cash-faint: var(--sv2-pistachio-faint);
  --fr-neutral-soft: var(--sv2-wash);
  --fr-rcard: var(--sv2-radius-lg);
  --fr-rbase: var(--sv2-radius-md);
  --fr-pad: var(--sv2-gutter);
  --fr-content: var(--sv2-content);
  color: var(--sv2-ink);
  background: var(--sv2-bg);
}

.store-revive:has(> .sv3),
.store-revive .sv3 {
  --sv3-bg: var(--sv2-bg);
  --sv3-surface: var(--sv2-surface);
  --sv3-surface-2: var(--sv2-wash);
  --sv3-border: var(--sv2-border);
  --sv3-border-strong: var(--sv2-border-strong);
  --sv3-text: var(--sv2-ink);
  --sv3-text-2: var(--sv2-ink-2);
  --sv3-muted: var(--sv2-ink-3);
  --sv3-accent: var(--sv2-persimmon-action);
  --sv3-accent-hover: var(--sv2-persimmon-dark);
  --sv3-on-accent: var(--sv2-on-ink);
  --sv3-accent-soft: var(--sv2-persimmon-soft);
  --sv3-ticket-bg: var(--sv2-persimmon-soft);
  --sv3-accent-line: var(--sv2-ticket-line);
  --sv3-cash: var(--sv2-pistachio-ink);
  --sv3-cash-soft: var(--sv2-pistachio-tint);
  --sv3-neutral-soft: var(--sv2-wash);
  --sv3-shadow: var(--sv2-shadow-card);
}

/* Hero */
.store-revive,
.store-revive .sv3 { --sv2-gutter: 52px; }
.store-revive .sv3 { --sv3-gutter: var(--sv2-gutter); }

/* The card padding supplies part of the breadcrumb-to-content gap. */
.store-revive .fr-hero,
.store-revive .sv3 .sv3-hero { padding-top: 1px; }
.store-revive .fr-hero .fr-inner {
  max-width: 1176px; background: var(--sv2-surface);
  border: 1px solid var(--sv2-hairline); border-radius: 18px;
  padding: 20px 32px 26px; box-shadow: var(--sv2-shadow-elevated);
}
.store-revive .fr-hero__brandline { min-height: 0; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.store-revive .fr-hero__logo { width: 48px; height: 48px; flex-basis: 48px; padding: 6px;
  border-radius: 12px; background: var(--sv2-surface); border: 1px solid var(--sv2-hairline);
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.store-revive .fr-hero__logo img { width: 100%; height: 100%; object-fit: contain; }
.store-revive .fr-hero__logo--mono,
.store-revive .fr-hero__monogram {
  font-family: var(--sv2-serif); font-size: 18px; font-weight: 700; letter-spacing: -.03em;
  color: var(--sv2-ink); background: var(--sv2-wash); padding: 0;
}
.store-revive .fr-hero__logo--mono::before { content: attr(data-mono); }

.store-revive .fr-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  background: var(--sv2-pistachio-soft); color: var(--sv2-pistachio-ink);
  border: 1px solid var(--sv2-verified-border);
  font-family: var(--font-sans); font-size: 11.5px; font-weight: 700;
  letter-spacing: .05em; line-height: 1.4;
}
.store-revive .fr-hero__h1,
.store-revive .sv3 .sv3-hero .fr-hero__h1 {
  font-family: var(--sv2-serif); font-size: 36px; font-weight: 700; letter-spacing: -.028em; line-height: 1.08;
  color: var(--sv2-ink); max-width: 780px; margin: 0 0 12px;
}
.store-revive .fr-hero__intro {
  font-size: 16.5px; line-height: 1.5; color: var(--sv2-ink-2);
  max-width: 660px; margin: 0 0 16px;
}
.store-revive .fr-hero__intro strong { color: var(--sv2-ink); }

.store-revive .fr-hero__intro code {
  font-family: var(--sv2-mono); font-weight: 800; font-size: 15px;
  background: var(--sv2-persimmon-soft); color: var(--sv2-persimmon-ink);
  padding: 2px 7px; border-radius: 6px;
}

.store-revive .fr-hero__stats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; }
.store-revive .fr-stat { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: 12px; background: var(--sv2-wash); font-weight: 700; color: var(--sv2-ink); }
.store-revive .fr-stat:not(:last-child)::after { content: none; margin: 0; }
.store-revive .fr-stat__num { font-family: var(--font-sans); font-weight: 800; font-size: 15px; color: var(--sv2-ink); }
.store-revive .fr-stat:has(.fr-stat__num--cash) { background: var(--sv2-pistachio-soft); color: var(--sv2-pistachio-ink); }
.store-revive .fr-stat__num--cash { color: var(--sv2-pistachio-ink); }
.store-revive .fr-stat__label { font-weight: 700; color: inherit; }
.store-revive .fr-hero__cta { max-width: 320px; margin-top: 20px; }
.store-revive .sv3-offer {
  background: var(--sv2-wash); border-radius: var(--sv2-radius-md); box-shadow: none;
}
.store-revive .sv3-offer .sv3-ticket::before,
.store-revive .sv3-offer .sv3-ticket::after { background: var(--sv2-wash); }
.store-revive .fr-coupon__right .sv3-ticket::before,
.store-revive .fr-coupon__right .sv3-ticket::after { background: var(--sv2-persimmon-soft); }
.store-revive .sv3-offer__proof {
  padding: 4px 11px; border-radius: 999px;
  background: var(--sv2-pistachio-soft); color: var(--sv2-pistachio-ink);
  font-family: var(--font-sans); font-size: 11.5px; font-weight: 800;
}
.store-revive .sv3-offer__num { white-space: normal; overflow-wrap: anywhere; }
.store-revive .sv3-offer__num--off,
.store-revive .sv3-offer__num--warn { color: var(--sv2-persimmon-ink); }
.store-revive .bfStoreLine__inner a { color: var(--sv2-persimmon-ink); }
.store-revive .fr-hero__ftc { font-size: 12.5px; line-height: 1.5; color: var(--sv2-ink-3); margin-top: 12px; }

/* Buttons and code tickets */
.store-revive .fr-cta {
  background: var(--sv2-persimmon-action); color: var(--sv2-on-ink);
  border-radius: var(--radius-button); font-weight: 700; min-height: 46px;
  box-shadow: var(--sv2-shadow-cta); max-width: 320px;
}
.store-revive .fr-cta:hover { background: var(--sv2-persimmon-dark); color: var(--sv2-on-ink); }
.store-revive .fr-code {
  background: var(--sv2-persimmon-soft); border: 2px dashed var(--sv2-ticket-line);
  border-radius: var(--radius-button); font-family: var(--sv2-mono);
  font-size: 19px; font-weight: 800; letter-spacing: .07em; color: var(--sv2-ink);
}
.store-revive .fr-code svg { color: var(--sv2-persimmon-ink); }
.store-revive .fr-code.is-copied,
.store-revive .fr-code.is-copied .js-code-text { background: var(--sv2-pistachio-soft); border-color: var(--sv2-pistachio-ink); color: var(--sv2-pistachio-ink); }
.store-revive .fr-code.is-copied svg { color: var(--sv2-pistachio-ink); }

/* Section headings */
.store-revive .fr-section { padding-top: 56px; }
.store-revive .fr-eyebrow,
.store-revive .fr-bf__eyebrow {
  font-family: var(--font-sans); font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; color: var(--sv2-ink-3);
}
.store-revive .fr-title, .store-revive .fr-bf__title {
  font-family: var(--sv2-serif); font-size: 28px; font-weight: 700; letter-spacing: -.025em; line-height: 1.12;
  color: var(--sv2-ink); text-wrap: balance;
}
.store-revive .fr-note { font-size: 15px; line-height: 1.6; color: var(--sv2-ink-2); }
.store-revive .fr-note strong { color: var(--sv2-ink); }

/* Coupon cards */
.store-revive .fr-cards { gap: 14px; }
.store-revive .fr-coupon {
  background: var(--sv2-surface); border: 1px solid var(--sv2-border);
  border-radius: var(--sv2-radius-md); padding: 16px 20px; gap: 16px;
  box-shadow: none;
}
.store-revive .fr-cards > .fr-coupon:first-of-type:has(.fr-badge--tested) {
  background: linear-gradient(135deg, var(--sv2-surface) 0%, var(--sv2-persimmon-soft) 100%);
  border: 2px solid var(--sv2-persimmon); border-radius: 22px;
  padding: 22px 24px; box-shadow: var(--sv2-shadow-pop);
}
.store-revive .fr-badges { gap: 8px; }
.store-revive .fr-badge { border-radius: 7px; padding: 4px 10px; font-family: var(--font-sans);
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em; }
.store-revive .fr-badge--scope { background: var(--sv2-persimmon-soft); color: var(--sv2-persimmon-ink); }
.store-revive .fr-badge--kind { background: var(--sv2-wash); color: var(--sv2-ink-2); }
.store-revive .fr-badge--tested, .store-revive .fr-badge--verified {
  background: var(--sv2-pistachio-soft); color: var(--sv2-pistachio-ink); }
.store-revive .fr-badge--failed { background: var(--sv2-wash-2); color: var(--sv2-ink-2); }
.store-revive .fr-coupon__discount { font-size: 16px; font-weight: 800; color: var(--sv2-ink); letter-spacing: -.01em; }
.store-revive .fr-cards > .fr-coupon:first-of-type:has(.fr-badge--tested) .fr-coupon__discount { font-size: 32px; letter-spacing: -.02em; }
.store-revive .fr-coupon__desc { font-size: 13.5px; line-height: 1.45; color: var(--sv2-ink-2); }
.store-revive .fr-coupon__meta { font-size: 13px; color: var(--sv2-ink-3); }

.store-revive .fr-coupon__right {
  width: 240px; gap: 8px;
}
.store-revive .fr-coupon__right:has(button.fr-code, a.fr-cta) {
  padding: 7px; border-radius: 14px;
  background: var(--sv2-persimmon-soft); border: 1.5px dashed var(--sv2-ticket-line);
}
.store-revive .fr-coupon__right .fr-cta { min-height: 44px; }
.store-revive .code-test__proof { border: 1px solid var(--sv2-border); border-radius: 12px; background: var(--sv2-surface); }
.store-revive .code-test__took { font-size: 13.5px; color: var(--sv2-ink-2); }
.store-revive .fr-code-history { font-size: 13px; color: var(--sv2-ink-3); }

/* Evidence folds */
.store-revive .fr-evidence { border-top: 1px solid var(--sv2-border); padding-top: 10px; margin-top: 12px; }
.store-revive .fr-evidence summary {
  min-height: 44px; font-size: 14.5px; font-weight: 700; color: var(--sv2-ink);
}
.store-revive .fr-evidence summary::after { color: var(--sv2-pistachio-ink); }
.store-revive .fr-evidence__body { font-size: 13.5px; line-height: 1.5; color: var(--sv2-ink-2); }
.store-revive .fr-evidence__body strong { color: var(--sv2-ink); }

/* Cashback rate card */
.store-revive .fr-rate { background: var(--sv2-surface); border: 1px solid var(--sv2-border);
  border-radius: var(--sv2-radius-lg); padding: 22px 24px; box-shadow: var(--sv2-shadow-card); }
.store-revive .fr-rate__net { font-family: var(--font-sans); font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--sv2-ink-3); }
.store-revive .fr-rate__rate { font-size: clamp(32px, 10vw, 56px); overflow-wrap: anywhere; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--sv2-pistachio-ink); }
.store-revive .fr-rate__tier { font-size: 15px; font-weight: 700; color: var(--sv2-ink); }
.store-revive .fr-rate__note, .store-revive .fr-rate__terms { font-size: 13px; color: var(--sv2-ink-3); }
.store-revive .fr-rate__div { background: var(--sv2-border); }
.store-revive .fr-facts li { font-size: 14.5px; color: var(--sv2-ink-2); }
.store-revive .fr-facts li::before { color: var(--sv2-pistachio-ink); }

/* Steps */
.store-revive .fr-steps { gap: 12px; }
.store-revive .fr-step__num {
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
  width: 24px; height: 24px; border-radius: 999px; background: var(--sv2-persimmon-action);
  color: var(--sv2-on-ink); font-family: var(--font-sans); font-size: 12px; font-weight: 800;
}
.store-revive .fr-step__title { font-size: 14px; font-weight: 800; color: var(--sv2-ink); }
.store-revive .fr-step__desc { font-size: 13.5px; line-height: 1.4; color: var(--sv2-ink-2); }

/* Use the dark panel for steps that are direct children of the section inner. */
.store-revive .fr-section:has(> .fr-inner > .fr-steps) > .fr-inner {
  background: var(--sv2-steps-bg); border-radius: 22px; padding: 20px 22px;
}
.store-revive .fr-section:has(> .fr-inner > .fr-steps) .fr-step {
  background: none; border-color: var(--sv2-ink-2);
}
.store-revive .fr-section:has(> .fr-inner > .fr-steps) .fr-title,
.store-revive .fr-section:has(> .fr-inner > .fr-steps) .fr-eyebrow { color: var(--sv2-on-ink); }
.store-revive .fr-section:has(> .fr-inner > .fr-steps) .fr-step__title { color: var(--sv2-on-ink); }
.store-revive .fr-section:has(> .fr-inner > .fr-steps) .fr-step__desc { color: var(--sv2-on-ink-soft); }

/* Existing rate examples */
.store-revive .fr-mathcard {
  background: var(--sv2-paper); border: 1px solid var(--sv2-border-strong);
  border-radius: 22px; padding: 22px 24px; box-shadow: var(--sv2-shadow-card);
  font-variant-numeric: tabular-nums;
}
.store-revive .fr-mathrow { font-size: 14.5px; border-top: 1.5px dashed var(--sv2-border-strong); padding: 9px 0; }
.store-revive .fr-mathrow:first-child { border-top: 0; }
.store-revive .fr-mathrow__label { color: var(--sv2-ink-2); }
.store-revive .fr-mathrow__val { color: var(--sv2-ink); }
.store-revive .fr-mathrow__val--minus { color: var(--sv2-persimmon-ink); font-weight: 700; }
.store-revive .fr-mathrow__val--cash { color: var(--sv2-pistachio-ink); font-weight: 700; }
.store-revive .fr-mathrow--net { border-top: 1.5px dashed var(--sv2-border-strong); padding-top: 12px; }
.store-revive .fr-mathrow--net .fr-mathrow__val { font-family: var(--font-sans); font-size: 28px; font-weight: 700; letter-spacing: -.03em; }

/* Checkout proof */
.store-revive .fr-proof__frame { background: var(--sv2-surface); border: 1px solid var(--sv2-border);
  border-radius: var(--sv2-radius-lg); padding: 22px 24px; box-shadow: var(--sv2-shadow-card); }
.store-revive .fr-proof__row svg { color: var(--sv2-pistachio-ink); }
.store-revive .fr-src svg { color: var(--sv2-persimmon-ink); }
.store-revive .fr-proof__row span { font-size: 15px; color: var(--sv2-ink); }
.store-revive .fr-proof__row--data strong { color: var(--sv2-pistachio-ink); }

/* Verification and FAQs */
.store-revive .fr-section--dark { background: none; }
.store-revive .fr-bf__body { color: var(--sv2-ink-2); font-size: 15px; line-height: 1.6; }
.store-revive .fr-verifycard { background: var(--sv2-surface); border: 1px solid var(--sv2-border);
  border-radius: var(--sv2-radius-lg); padding: 22px; box-shadow: var(--sv2-shadow-card); }
.store-revive .fr-avatar { background: var(--sv2-pistachio-soft); color: var(--sv2-pistachio-ink); }
.store-revive .fr-vdiv { background: var(--sv2-border); }
.store-revive .fr-meth svg { color: var(--sv2-pistachio-ink); }
.store-revive .fr-meth span { color: var(--sv2-ink-2); }
.store-revive .fr-faq { border-bottom: 1px solid var(--sv2-border); padding: 14px 20px; }
.store-revive .fr-faqlist { background: var(--sv2-surface); border: 1px solid var(--sv2-border); border-radius: 18px; }
.store-revive .fr-faq summary { font-size: 14.5px; font-weight: 700; color: var(--sv2-ink); }
.store-revive .fr-faq summary svg { color: var(--sv2-ink-faint); }
.store-revive .fr-faq__a { font-size: 13.5px; line-height: 1.5; color: var(--sv2-ink-2); }

/* Disclosure */
.store-revive .fr-trust { border-top: 1px solid var(--sv2-border); margin-top: 56px; }
.store-revive .fr-trust__disclosure { font-size: 12px; line-height: 1.45; color: var(--sv2-ink-3); }
.store-revive .fr-trust__updated { font-size: 12px; color: var(--sv2-ink-3); }

/* Retired codes, gallery and related stores */
.store-revive .sv3-retired__line { color: var(--sv2-ink-3); }
.store-revive .fr-gallery .fr-shot { border-radius: 12px; border-color: var(--sv2-border); }
.store-revive .fr-related { border-top: 1px solid var(--sv2-border); }

/* Responsive layout */
@media (max-width: 768px) {
  .store-revive,
  .store-revive .sv3 { --sv2-gutter: 20px; }
  .store-revive .fr-hero,
  .store-revive .sv3 .sv3-hero { padding-top: 5px; }
  .store-revive .fr-hero .fr-inner { border-radius: 20px; padding: 14px 16px; }
  .store-revive .fr-hero__eyebrow { font-size: 10px; padding: 3px 9px; }
  .store-revive .fr-hero__h1,
  .store-revive .sv3 .sv3-hero .fr-hero__h1 { font-size: 25px; letter-spacing: -.02em; }
  .store-revive .fr-hero__intro { font-size: 13px; line-height: 1.42; }
  .store-revive .fr-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .store-revive .fr-stat { flex-direction: column; align-items: flex-start; gap: 2px;
    padding: 7px 9px; border-radius: 10px; font-size: 10.5px; line-height: 1.2; }
  .store-revive .fr-stat__num { font-size: 13.5px; }
  .store-revive .fr-title, .store-revive .fr-bf__title { font-size: 22px; }
  .store-revive .fr-coupon { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px; }
  .store-revive .fr-cards > .fr-coupon:first-of-type:has(.fr-badge--tested) { padding: 15px 16px; border-radius: 18px; }
  .store-revive .fr-coupon__right { width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .store-revive .fr-coupon__right .fr-code { flex: 1 1 110px; min-width: 0; }
  .store-revive .fr-coupon__right .sv3-ticket { flex-basis: 100%; }
  .store-revive .fr-coupon__right .fr-cta { flex: 1 1 132px; min-width: 0; }
  .store-revive .fr-coupon__right .js-code-text { overflow-wrap: anywhere; }
  .store-revive .fr-coupon .code-test.fr-proof .code-test__proof { width: 100%; margin-left: 0; }
  .store-revive .fr-stat { min-width: 0; overflow-wrap: anywhere; }
  .store-revive .fr-stat__label { font-size: inherit; }
  .store-revive .fr-rate__rate { font-size: clamp(30px, 10vw, 40px); }
}

@media (max-width: 400px) {
  .store-revive .fr-hero__h1,
  .store-revive .sv3 .sv3-hero .fr-hero__h1 { font-size: 22px; }
}
