/* ==========================================================================
   StorePulse · Black Friday 2026 · promo components
   --------------------------------------------------------------------------
   Early Bird (ends Nov 20, 2026, 11:59 PM GMT+6)
     1 Announcement top bar     every StorePulse page, above <header>
     2 Early Black Friday Deals page   /black-friday/
   Bundle (ends Dec 5, 2026, 11:59 PM GMT+6)
     3 Hero offer card          homepage hero, right column
     4 Closing CTA section      homepage, in place of "Ready to Build a Better Store"
     5 Featured deal card       /coupons/, first item in the deals grid
     6 Blog card                blog posts, left column under the share icons (sticky)
     7 End-of-article banner    blog posts, after the last paragraph

   Prefix:   spbf-   (nothing here touches existing site classes)
   Font:     Poppins, already loaded on storepulse.co
   Colours:  StorePulse navy #010030, mint #00E79E, lavender #E0D4FF
   Component roots carry data-spbf so spbf.js can remove them after their
   deadline. Components size themselves with container queries.
   ========================================================================== */

:root {
  --spbf-navy: #010030;
  --spbf-navy-2: #0a0a52;
  --spbf-mint: #00e79e;
  --spbf-mint-hover: #3df2b9;
  --spbf-lavender: #e0d4ff;
  --spbf-ink: #0e0e0f;
  --spbf-white: #ffffff;
  --spbf-font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

[data-spbf] { font-family: var(--spbf-font); -webkit-font-smoothing: antialiased; }
[data-spbf], [data-spbf] *, [data-spbf] *::before, [data-spbf] *::after { box-sizing: border-box; }
[data-spbf][hidden], [data-spbf] [hidden] { display: none !important; }
[data-spbf] p, [data-spbf] h2, [data-spbf] h3, [data-spbf] ul { margin: 0; }

.spbf-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.spbf-arrow { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }


/* ==========================================================================
   Shared pieces
   ========================================================================== */

/* Navy surface: same look as the panel on the bundle page */
.spbf-dark {
  position: relative; isolation: isolate; overflow: hidden; color: var(--spbf-white);
  background:
    radial-gradient(70% 55% at 50% 115%, rgba(0, 231, 158, .30), rgba(0, 231, 158, 0) 70%),
    radial-gradient(45% 40% at 100% 0%, rgba(224, 212, 255, .14), rgba(224, 212, 255, 0) 70%),
    linear-gradient(180deg, var(--spbf-navy) 0%, var(--spbf-navy) 45%, var(--spbf-navy-2) 100%);
}
.spbf-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(#000, rgba(0, 0, 0, .4) 60%, transparent);
  mask-image: linear-gradient(#000, rgba(0, 0, 0, .4) 60%, transparent);
}

/* Button (mint, 5px radius: same as StorePulse's own primary buttons) */
.spbf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 5px;
  background: var(--spbf-mint); color: var(--spbf-navy);
  font: 600 16px/1.2 var(--spbf-font); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s ease;
}
.spbf-btn:hover { background: var(--spbf-mint-hover); color: var(--spbf-navy); }
.spbf-btn:hover .spbf-arrow, a:hover > .spbf-btn .spbf-arrow { transform: translateX(3px); }
[data-spbf] a:focus-visible, [data-spbf] button:focus-visible { outline: 2px solid var(--spbf-mint); outline-offset: 3px; }
.spbf-btn--lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.spbf-btn--block { width: 100%; }

/* Pill label */
.spbf-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: var(--spbf-white);
  font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.spbf-pill__more { white-space: nowrap; }
.spbf-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--spbf-mint); box-shadow: 0 0 0 3px rgba(0, 231, 158, .2); flex: none; }

/* Product logos (from the sprite: <use href="#spbf-i-…">) */
.spbf-logos { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.spbf-logos li { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--spbf-white); box-shadow: 0 4px 12px rgba(0, 0, 20, .25); }
.spbf-logos svg { width: 22px; height: 22px; }
.spbf-logos--sm { gap: 6px; }
.spbf-logos--sm li { width: 30px; height: 30px; border-radius: 8px; }
.spbf-logos--sm svg { width: 16px; height: 16px; }

/* Countdown: inline text and tiles */
.spbf-cd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.spbf-cd b { font-weight: 600; color: var(--spbf-mint); }
.spbf-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.spbf-tiles > span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 8px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.spbf-tiles b { font-size: 22px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--spbf-white); }
.spbf-tiles small { font-size: 11px; color: rgba(255, 255, 255, .66); }

/* 81% OFF seal (same shape as on the bundle page) */
.spbf-seal { position: relative; display: grid; place-items: center; width: 84px; height: 84px; color: var(--spbf-navy); flex: none; }
.spbf-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.spbf-seal span { position: relative; display: flex; flex-direction: column; align-items: center; line-height: .95; }
.spbf-seal b { font-size: 20px; font-weight: 700; }
.spbf-seal i { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .06em; }

/* Stickers (decoration only, same set as the bundle page) */
.spbf-sticker { position: absolute; z-index: 0; pointer-events: none; }
.spbf-sticker svg { width: 100%; height: auto; display: block; overflow: visible; }


/* ==========================================================================
   1 · Announcement top bar (Early Bird)
   Every StorePulse page, directly above <header>. 56px high on desktop.
   ========================================================================== */
.spbf-topbar {
  container-type: inline-size; position: relative; z-index: 60; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(260px 120px at 12% 50%, rgba(0, 231, 158, .20), transparent 70%),
    radial-gradient(260px 120px at 88% 50%, rgba(224, 212, 255, .14), transparent 70%),
    var(--spbf-navy);
  color: var(--spbf-white);
}
.spbf-topbar::before {             /* grid texture, as on the StorePulse hero art */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 24px 24px;
}
.spbf-topbar::after {              /* mint hairline along the bottom edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0, 231, 158, .9) 30%, rgba(224, 212, 255, .9) 70%, transparent);
}
.spbf-topbar__in { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 8px 60px; }
.spbf-topbar__link { display: flex; align-items: center; justify-content: center; gap: 26px; color: inherit; text-decoration: none; }
.spbf-topbar__link:hover { color: inherit; }

/* six product logos, overlapping */
.spbf-topbar__stack { display: flex; align-items: center; padding-left: 8px; }
.spbf-topbar__stack > span { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -6px; border-radius: 50%; background: var(--spbf-white); box-shadow: 0 0 0 2px var(--spbf-navy); transition: margin .25s ease; }
.spbf-topbar__stack svg { width: 14px; height: 14px; }
.spbf-topbar__link:hover .spbf-topbar__stack > span { margin-left: -2px; }

.spbf-topbar__offer { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.spbf-topbar__tag { padding: 3px 9px; border-radius: 999px; background: var(--spbf-lavender); color: var(--spbf-navy); font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.spbf-topbar__msg { font-size: 14.5px; font-weight: 500; line-height: 1.35; white-space: nowrap; }
.spbf-topbar__msg b { color: var(--spbf-mint); font-weight: 700; }
.spbf-topbar__msg s { margin-left: 4px; color: rgba(255, 255, 255, .5); font-weight: 400; }

.spbf-topbar__timer { display: inline-flex; align-items: center; gap: 10px; padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .14); }
.spbf-topbar__ends { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .62); white-space: nowrap; }
.spbf-topbar__cd { display: inline-flex; gap: 4px; font-variant-numeric: tabular-nums; }
.spbf-topbar__cd > span { display: inline-flex; align-items: baseline; gap: 1px; padding: 3px 7px; white-space: nowrap; border-radius: 6px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); line-height: 1.2; }
.spbf-topbar__cd b { font-size: 14px; font-weight: 600; color: var(--spbf-white); }
.spbf-topbar__cd i { font-size: 11px; font-style: normal; color: rgba(255, 255, 255, .6); }

.spbf-topbar__cta {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  border-radius: 5px; background: var(--spbf-mint); color: var(--spbf-navy); font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background-color .2s ease;
}
.spbf-topbar__cta .spbf-arrow { width: 16px; height: 16px; }
.spbf-topbar__link:hover .spbf-topbar__cta { background: var(--spbf-mint-hover); }
.spbf-topbar__link:hover .spbf-arrow { transform: translateX(3px); }
.spbf-topbar__ctawrap { position: relative; display: inline-flex; }
.spbf-topbar__off {                /* "-81%" sticker on the button corner */
  position: absolute; top: -6px; right: -10px; padding: 2px 6px; border-radius: 999px;
  background: var(--spbf-lavender); color: var(--spbf-navy); box-shadow: 0 0 0 2px var(--spbf-navy);
  font-size: 10.5px; font-weight: 700; line-height: 1.3; transform: rotate(8deg);
}

.spbf-topbar__close { position: absolute; z-index: 2; top: 50%; right: max(12px, env(safe-area-inset-right, 0px)); transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: rgba(255, 255, 255, .7); cursor: pointer; }
.spbf-topbar__close:hover { background: rgba(255, 255, 255, .1); color: var(--spbf-white); }
.spbf-topbar__close svg { width: 16px; height: 16px; }

@container (max-width: 1040px) {
  .spbf-topbar__stack { display: none; }
}
@container (max-width: 880px) {
  .spbf-topbar__msg s, .spbf-topbar__cd .spbf-topbar__s { display: none; }
  .spbf-topbar__link { gap: 20px; }
  .spbf-topbar__timer { padding-left: 20px; }
}
@container (max-width: 720px) {            /* phones: two rows */
  .spbf-topbar__in { justify-content: flex-start; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
  .spbf-topbar__offer { padding-right: 34px; }
  .spbf-topbar__off { display: none; }
  .spbf-topbar__cd > span { padding: 2px 6px; }
  .spbf-topbar__cd b { font-size: 13px; }
  .spbf-topbar__link { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "offer offer" "timer cta"; align-items: center; gap: 9px 12px; }
  .spbf-topbar__offer { grid-area: offer; gap: 9px; }
  .spbf-topbar__tag { font-size: 10px; padding: 2px 7px; }
  .spbf-topbar__msg { font-size: 13.5px; white-space: normal; }
  .spbf-topbar__timer { grid-area: timer; gap: 8px; padding-left: 0; border-left: 0; }
  .spbf-topbar__ctawrap { grid-area: cta; }
  .spbf-topbar__cta { height: 34px; padding: 0 12px; font-size: 13px; }
  .spbf-topbar__close { top: 10px; transform: none; }
}
@container (max-width: 380px) {
  .spbf-topbar__ends { display: none; }
}
/* soft light sweep across the button every 6 seconds (off for reduced motion) */
.spbf-topbar__cta { overflow: hidden; }
.spbf-topbar__cta::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: spbf-sheen 6s ease-in-out infinite;
}
@keyframes spbf-sheen { 0%, 72% { left: -60%; } 100% { left: 130%; } }


/* ==========================================================================
   3 · Homepage hero offer card
   Homepage hero, right column (replaces the navy illustration until Dec 5).
   ========================================================================== */
.spbf-hero { container-type: inline-size; height: 100%; }
.spbf-hero__in { display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 440px; padding: 28px; }
.spbf-hero__in > * { position: relative; z-index: 1; }
.spbf-hero__top { display: flex; align-items: center; min-height: 30px; padding-right: 90px; }
.spbf-hero__seal { position: absolute; top: 16px; right: 16px; width: 88px; height: 88px; transform: rotate(-12deg); }
.spbf-hero__label { margin-top: 4px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.spbf-hero__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.spbf-hero__price b { font-size: 76px; font-weight: 700; line-height: .95; letter-spacing: -.03em; }
.spbf-hero__price s { font-size: 21px; color: rgba(255, 255, 255, .5); }
.spbf-hero__save { align-self: flex-start; padding: 4px 12px; border-radius: 6px; background: var(--spbf-lavender); color: var(--spbf-navy); font-size: 15px; font-weight: 700; }
.spbf-hero__timer { display: grid; gap: 8px; margin-top: auto; padding-top: 6px; }
.spbf-hero__timer-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
@container (max-width: 430px) {
  .spbf-hero__in { min-height: 0; padding: 22px 18px; gap: 12px; }
  .spbf-hero__top { padding-right: 0; }
  .spbf-hero__seal { width: 70px; height: 70px; top: 56px; right: 10px; }
  .spbf-hero__seal b { font-size: 17px; }
  .spbf-hero__label { padding-right: 76px; }
  .spbf-hero__price b { font-size: 60px; }
  .spbf-hero__price s { font-size: 18px; }
  .spbf-hero .spbf-logos li { width: 36px; height: 36px; }
  .spbf-hero .spbf-logos svg { width: 20px; height: 20px; }
  .spbf-hero .spbf-tiles b { font-size: 19px; }
}


/* ==========================================================================
   4 · Homepage closing CTA section
   Takes the slot of "Ready to Build a Better Store, Without the Risk?" until Dec 5.
   ========================================================================== */
.spbf-final { container-type: inline-size; padding-block: clamp(32px, 5vw, 64px); padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.spbf-final__panel { max-width: 1264px; margin: 0 auto; padding: 72px 48px 64px; border-radius: 24px; }
.spbf-final__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 900px; margin: 0 auto; text-align: center; }
.spbf-final__title { max-width: 760px; font-size: 52px; font-weight: 700; line-height: 1.08; letter-spacing: -.025em; color: var(--spbf-white); text-wrap: balance; }
.spbf-final__text { max-width: 54ch; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.spbf-final .spbf-final__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.spbf-final__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; font-weight: 500; }
.spbf-final__chips span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--spbf-white); }
.spbf-final__chips svg { width: 16px; height: 16px; }
.spbf-final__price { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.spbf-final__price b { font-size: 68px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.spbf-final__price s { font-size: 22px; color: rgba(255, 255, 255, .5); }
.spbf-final__save { padding: 5px 12px; border-radius: 6px; background: var(--spbf-lavender); color: var(--spbf-navy); font-size: 15px; font-weight: 700; }
.spbf-final .spbf-tiles { width: 100%; max-width: 440px; }
.spbf-final .spbf-btn { min-width: 320px; }
.spbf-final__note { font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.spbf-final .spbf-sticker--burst { left: 5%; top: 30%; width: 112px; transform: rotate(-8deg); }
.spbf-final .spbf-sticker--spark { right: 7%; top: 9%; width: 120px; transform: rotate(10deg); }
.spbf-final .spbf-sticker--heart { right: 8%; bottom: 10%; width: 88px; transform: rotate(14deg); }
@container (max-width: 1000px) {
  .spbf-final .spbf-sticker--burst { left: -24px; top: 18px; width: 80px; }
  .spbf-final .spbf-sticker--spark { right: -10px; top: 14px; width: 72px; }
  .spbf-final .spbf-sticker--heart { right: -8px; bottom: 20px; width: 56px; }
}
@container (max-width: 640px) {
  .spbf-final__panel { padding: 56px 18px 36px; border-radius: 20px; }
  .spbf-final__title { font-size: 34px; }
  .spbf-final__text { font-size: 16px; }
  .spbf-final__chips { gap: 8px; }
  .spbf-final__chips li { font-size: 13px; padding-right: 12px; }
  .spbf-final__price b { font-size: 54px; }
  .spbf-final .spbf-btn { width: 100%; min-width: 0; }
  .spbf-final .spbf-sticker--burst { display: none; }
  .spbf-final .spbf-sticker--spark { width: 46px; right: -8px; top: 10px; }
  .spbf-final .spbf-sticker--heart { display: none; }
}


/* ==========================================================================
   5 · Coupons page featured deal
   /coupons/, first item inside the deals grid, full grid width.
   ========================================================================== */
.spbf-coupon { container-type: inline-size; grid-column: 1 / -1; }
.spbf-coupon__in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; padding: 40px; }
.spbf-coupon__in > * { position: relative; z-index: 1; min-width: 0; }
.spbf-coupon__main { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.spbf-coupon__flag { padding: 4px 10px; border-radius: 4px; background: var(--spbf-lavender); color: var(--spbf-navy); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.spbf-coupon__title { font-size: 30px; font-weight: 600; line-height: 1.2; color: var(--spbf-white); }
.spbf-coupon__text { max-width: 54ch; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.spbf-coupon__deal { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding-left: 36px; border-left: 1px solid rgba(255, 255, 255, .14); }
.spbf-coupon__from { font-size: 13px; color: rgba(255, 255, 255, .7); }
.spbf-coupon__price { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.spbf-coupon__price b { font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.spbf-coupon__price span { font-size: 15px; color: rgba(255, 255, 255, .7); }
.spbf-coupon__was { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .55); }
.spbf-coupon__off { padding: 2px 8px; border-radius: 4px; background: var(--spbf-mint); color: var(--spbf-navy); font-size: 12px; font-weight: 700; }
.spbf-coupon__deal .spbf-btn { margin-top: 6px; }
.spbf-coupon__ends { font-size: 13px; color: rgba(255, 255, 255, .7); }
@container (max-width: 760px) {
  .spbf-coupon__in { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 30px 20px; }
  .spbf-coupon__deal { padding: 22px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .spbf-coupon__title { font-size: 26px; }
  .spbf-coupon .spbf-logos { gap: 6px; }
  .spbf-coupon .spbf-logos li { width: 34px; height: 34px; }
  .spbf-coupon .spbf-logos svg { width: 19px; height: 19px; }
}


/* ==========================================================================
   6 · Blog card (left column, sticky)
   Blog posts, left column, directly under the share icons box.
   Wrap the share box and the card in <div class="spbf-sticky">.
   ========================================================================== */
.spbf-sticky { position: sticky; top: var(--spbf-sticky-top, 126px); }   /* 102px site header + 24px */
.spbf-side { margin-top: 16px; }
@media (max-width: 1023.98px) { .spbf-side { display: none; } }        /* phones/tablets: banner 7 covers them */
.spbf-side__in { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 12px; color: var(--spbf-white); text-decoration: none; }
.spbf-side__in > * { position: relative; z-index: 1; }
.spbf-side__in:hover { color: var(--spbf-white); }
.spbf-side .spbf-pill { align-self: flex-start; }
.spbf-side .spbf-side__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--spbf-white); }
.spbf-side .spbf-side__title b { color: var(--spbf-mint); }
.spbf-side .spbf-side__was { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .62); }
.spbf-side .spbf-side__cd { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.spbf-side .spbf-btn { min-height: 44px; font-size: 15px; }


/* ==========================================================================
   7 · Blog end-of-article banner
   Blog posts, directly after the last paragraph of the article.
   Two-class selectors so article typography (e.g. ".prose p") cannot restyle it.
   ========================================================================== */
.spbf-inline { container-type: inline-size; margin-block: 40px; }
.spbf-inline__in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 28px; border-radius: 16px; }
.spbf-inline__in > * { position: relative; z-index: 1; }
.spbf-inline__copy { display: flex; flex: 1 1 320px; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.spbf-inline .spbf-inline__title { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.3; color: var(--spbf-white); }
.spbf-inline .spbf-inline__text { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .75); }
.spbf-inline a.spbf-btn { color: var(--spbf-navy); text-decoration: none; }
@container (max-width: 520px) {
  .spbf-inline__in { padding: 24px 18px; }
  .spbf-inline__in .spbf-btn { width: 100%; }
}
@container (max-width: 440px) {
  .spbf-inline .spbf-pill__more { display: none; }
}


/* ==========================================================================
   2 · Early Black Friday Deals page  (/black-friday/)
   Two sections between the site header and footer: intro + deal cards.
   ========================================================================== */
.spbf-deals { container-type: inline-size; }
.spbf-deals__hero { padding-block: 24px 0; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.spbf-deals__panel { max-width: 1264px; margin: 0 auto; padding: 76px 48px 68px; border-radius: 24px; }
.spbf-deals__intro { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 820px; margin: 0 auto; text-align: center; }
.spbf-deals__title { font-size: 66px; font-weight: 700; line-height: 1.02; letter-spacing: -.03em; color: var(--spbf-white); text-wrap: balance; }
.spbf-deals__save { position: relative; display: inline-flex; align-items: center; white-space: nowrap; margin-left: 40px; padding: 6px 22px 6px 58px; border-radius: 12px; background: var(--spbf-mint); color: var(--spbf-navy); font-size: 34px; font-weight: 700; line-height: 1.15; }
.spbf-deals__save .spbf-seal { position: absolute; left: -42px; top: 50%; width: 82px; height: 82px; transform: translateY(-50%) rotate(-12deg); }
.spbf-deals__save .spbf-seal b { font-size: 24px; }
.spbf-deals__text { max-width: 52ch; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.spbf-deals__timer { display: grid; justify-items: center; gap: 10px; width: 100%; max-width: 440px; }
.spbf-deals__timer-label { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.spbf-deals .spbf-tiles { width: 100%; }
.spbf-deals .spbf-sticker--burst { left: 6%; top: 30%; width: 108px; transform: rotate(-8deg); }
.spbf-deals .spbf-sticker--spark { right: 7%; top: 10%; width: 116px; transform: rotate(10deg); }
.spbf-deals .spbf-sticker--heart { right: 9%; bottom: 12%; width: 84px; transform: rotate(14deg); }

.spbf-deals__list { margin-top: 64px; padding-block: 76px 88px; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); background: #f6f6f6; scroll-margin-top: 110px; }
.spbf-deals__head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.spbf-deals .spbf-deals__head h2 { margin: 0; font-size: 44px; font-weight: 400; line-height: 1.15; color: var(--spbf-ink); text-wrap: balance; }
.spbf-deals .spbf-deals__head p { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: #575757; }
.spbf-deals .spbf-deals__grid { max-width: 1200px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.spbf-deal { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 32px; border: 1px solid #e9eaec; border-radius: 16px; background-color: var(--spbf-white); color: var(--spbf-ink); transition: box-shadow .2s ease, transform .2s ease; }
.spbf-deal:hover { box-shadow: 0 18px 40px rgba(1, 0, 48, .09); transform: translateY(-2px); }
.spbf-deal__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.spbf-deal__icon { display: grid; place-items: center; width: 60px; height: 60px; flex: none; border-radius: 50%; }
.spbf-deal__icon svg { width: 28px; height: 28px; }
.spbf-deal__badge { padding: 7px 14px; border-radius: 999px; background: var(--spbf-navy); color: var(--spbf-mint); font-size: 14px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.spbf-deals .spbf-deal__name { margin: 4px 0 0; font-size: 26px; font-weight: 500; line-height: 1.2; color: inherit; }
.spbf-deals .spbf-deal__desc { margin: 0; font-size: 15.5px; line-height: 1.6; color: #575757; }
.spbf-deal__plans { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.spbf-deal__plans li { padding: 5px 11px; border-radius: 999px; background: #f3efff; color: var(--spbf-navy); font-size: 13px; font-weight: 500; }
.spbf-deal__plans b { font-weight: 700; }
.spbf-deal__buy { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid #e9e9e9; }
.spbf-deal__from { display: flex; flex-direction: column; gap: 2px; margin: 0; font-variant-numeric: tabular-nums; }
.spbf-deal__from small { font-size: 13px; color: #828282; }
.spbf-deal__from span { font-size: 15px; color: #828282; }
.spbf-deal__from b { font-size: 40px; font-weight: 600; line-height: 1.05; color: var(--spbf-ink); }
.spbf-deal__from s { margin-left: 6px; font-size: 15px; color: #9a9a9a; }
.spbf-deal__note { font-size: 13px; color: #828282; }

/* featured card: biggest saving, full width, navy */
.spbf-deal--featured { color: var(--spbf-white); grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: 24px 40px; padding: 40px; border: 0; }
.spbf-deal--featured > * { position: relative; z-index: 1; }
.spbf-deal--featured .spbf-deal__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.spbf-deal--featured .spbf-deal__flag { align-self: flex-start; padding: 4px 10px; border-radius: 4px; background: var(--spbf-lavender); color: var(--spbf-navy); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.spbf-deals .spbf-deal--featured .spbf-deal__name { color: var(--spbf-white); font-size: 32px; }
.spbf-deals .spbf-deal--featured .spbf-deal__desc { color: rgba(255, 255, 255, .78); }
.spbf-deal--featured .spbf-deal__badge { background: var(--spbf-mint); color: var(--spbf-navy); }
.spbf-deal--featured .spbf-deal__icon { background: var(--spbf-white); }
.spbf-deal--featured .spbf-deal__plans li { background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); color: var(--spbf-white); }
.spbf-deal--featured .spbf-deal__buy { flex-direction: column; align-items: stretch; margin: 0; padding: 0 0 0 40px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .14); }
.spbf-deal--featured .spbf-deal__from small, .spbf-deal--featured .spbf-deal__from span { color: rgba(255, 255, 255, .7); }
.spbf-deal--featured .spbf-deal__from b { color: var(--spbf-white); font-size: 52px; }
.spbf-deal--featured .spbf-btn { padding: 0 22px; font-size: 16px; white-space: nowrap; }
.spbf-deal--featured .spbf-deal__from s { color: rgba(255, 255, 255, .5); }
.spbf-deal--featured:hover { box-shadow: 0 22px 50px rgba(1, 0, 48, .25); }

.spbf-deals .spbf-deals__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; max-width: 1200px; margin: 32px auto 0; padding: 0; list-style: none; }
.spbf-deals__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: #575757; }
.spbf-deals__trust svg { width: 18px; height: 18px; color: #00a872; flex: none; }

@container (max-width: 1000px) {
  .spbf-deals .spbf-sticker--burst { left: -24px; top: 18px; width: 80px; }
  .spbf-deals .spbf-sticker--spark { right: -10px; top: 14px; width: 72px; }
  .spbf-deals .spbf-sticker--heart { right: -8px; bottom: 20px; width: 56px; }
}
@container (max-width: 900px) {
  .spbf-deals__grid { grid-template-columns: minmax(0, 1fr); }
  .spbf-deal--featured { grid-template-columns: minmax(0, 1fr); }
  .spbf-deal--featured .spbf-deal__buy { padding: 22px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
}
@container (max-width: 640px) {
  .spbf-deals__panel { padding: 56px 18px 36px; border-radius: 20px; }
  .spbf-deals__title { font-size: 42px; }
  .spbf-deals__save { margin-left: 32px; padding: 5px 16px 5px 46px; font-size: 25px; }
  .spbf-deals__save .spbf-seal { left: -34px; width: 66px; height: 66px; }
  .spbf-deals__save .spbf-seal b { font-size: 19px; }
  .spbf-deals__text { font-size: 16px; }
  .spbf-deals__hero .spbf-btn { width: 100%; }
  .spbf-deals .spbf-sticker--burst, .spbf-deals .spbf-sticker--heart { display: none; }
  .spbf-deals .spbf-sticker--spark { width: 46px; right: -8px; top: 10px; }
  .spbf-deals__list { margin-top: 40px; padding-block: 48px 56px; }
  .spbf-deals .spbf-deals__head h2 { font-size: 30px; }
  .spbf-deal, .spbf-deal--featured { padding: 24px 20px; }
  .spbf-deal__from b, .spbf-deal--featured .spbf-deal__from b { font-size: 36px; }
  .spbf-deal__buy .spbf-btn { width: 100%; }
}
@container (max-width: 420px) {
  .spbf-deals__title { font-size: 36px; }
  .spbf-deals__save { margin-left: 28px; padding: 5px 14px 5px 40px; font-size: 21px; }
  .spbf-deals__save .spbf-seal { left: -30px; width: 58px; height: 58px; }
  .spbf-deals__save .spbf-seal b { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-spbf] *, [data-spbf] *::before, [data-spbf] *::after { animation: none !important; transition: none !important; }
}
