/* ============================================================
   Social Fame — socialfame.co.uk (boost storefront) styles
   Pages are written by scripts/boostfront.mjs.
   ============================================================ */
:root {
  --red: #D7141A;
  --red-soft: #FDECEC;
  --ink: #151515;
  --ink2: #3b3b3b;
  --mute: #6b6b6b;
  --line: #E7E7E7;
  --grey: #F5F5F5;
  --green: #12A150;
  --tp: #00B67A;
  --r: 14px;
  --head: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --body: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --pc: var(--red);
  --pg: linear-gradient(90deg, var(--red), var(--red));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, b, strong { font-family: var(--head); }
.ic { width: 20px; height: 20px; flex: none; }
.ic.red { color: var(--red); }
[hidden] { display: none !important; }

/* ---------- announcement bar + header ---------- */
.bf-bar { background: #000; color: #fff; text-align: center; font: 500 14px/1 var(--head); padding: 12px 16px; }
.bf-head { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid #d9d9d9; }
.bf-head-in { max-width: 1200px; margin: 0 auto; height: 84px; padding: 0 20px; display: flex; align-items: center; gap: 24px; }
.bf-logo img { height: 34px; width: auto; }
.bf-nav { display: flex; align-items: stretch; gap: 4px; margin: 0 auto; height: 100%; }
.bf-nav-i { position: relative; display: flex; }
.bf-nav-a { display: flex; align-items: center; gap: 7px; padding: 0 11px; font: 600 14.5px var(--head); border-bottom: 2px solid transparent; }
.bf-nav-a img { width: 18px; height: 18px; }
.bf-nav-a .ic { width: 17px; height: 17px; }
.bf-nav-a .chev { width: 15px; height: 15px; transition: transform .2s; }
.bf-nav-i:hover .bf-nav-a, .bf-nav-i:focus-within .bf-nav-a, .bf-nav-i.is-on .bf-nav-a { color: var(--pc, var(--red)); border-bottom-color: var(--pc, var(--red)); }
.bf-nav-i:hover .chev, .bf-nav-i:focus-within .chev { transform: rotate(180deg); }
.bf-dd { position: absolute; top: calc(100% - 6px); left: 0; min-width: 230px; background: #fff; border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.14); padding: 10px; display: none; }
.bf-dd--2 { display: none; grid-template-columns: 1fr 1fr; min-width: 520px; column-gap: 8px; }
.bf-nav-i:hover .bf-dd, .bf-nav-i:focus-within .bf-dd { display: block; }
.bf-nav-i:hover .bf-dd--2, .bf-nav-i:focus-within .bf-dd--2 { display: grid; }
.bf-dd a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font: 500 14px/1.3 var(--head); }
.bf-dd a .ic { width: 17px; height: 17px; color: #777; }
.bf-dd a:hover { background: #FBF0F0; color: var(--pc, var(--red)); }
.bf-dd a:hover .ic { color: inherit; }
.bf-tools { display: flex; align-items: center; gap: 18px; }
.bf-tools a, .bf-tools button { position: relative; display: grid; place-items: center; }
.bf-tools .ic { width: 24px; height: 24px; }
.bf-count { position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font: 600 11px/18px var(--head); text-align: center; }
.bf-burger { display: none; }
.bf-mnav { display: none; }

/* ---------- buttons, headings ---------- */
.bf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff; font: 600 15px var(--head); padding: 14px 26px; border-radius: 999px; transition: transform .15s, background .15s; }
.bf-btn:hover { transform: translateY(-1px); background: #000; }
.bf-btn .ic { width: 16px; height: 16px; }
.bf-btn--red { background: var(--red); }
.bf-btn--red:hover { background: #b40f14; }
.bf-btn--sm { padding: 11px 16px; font-size: 14px; width: 100%; }
.bf-btn--full { width: 100%; padding: 17px; border-radius: 10px; font-size: 16px; }
.bf-h2 { font: 600 clamp(26px, 3.2vw, 34px)/1.2 var(--head); text-align: center; margin: 0 0 6px; }
.bf-h2::after { content: ''; display: block; width: 36px; height: 3px; border-radius: 2px; background: var(--red); margin: 14px auto 0; }
.bf-h2--w { color: #fff; }
.bf-sub { text-align: center; color: var(--mute); font-size: 15px; margin: 12px 0 26px; }
.bf-sub--w { color: #cfcfcf; }
.bf-fine { color: #8a8a8a; font-size: 13px; margin: 14px 0 0; }
.bf-fine--l { text-align: left; margin: 6px 0 14px; }
.bf-center { text-align: center; }
.bf-gtxt { background: var(--pg); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bf-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.bf-narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.bf-sec { padding: 64px 0; }
.bf-sec--tight { padding: 20px 20px 64px; }
.bf-grey { background: var(--grey); padding: 64px 0; }

/* Trustpilot stars */
.tp { display: inline-flex; gap: 3px; vertical-align: middle; }
.tp svg { width: 18px; height: 18px; background: var(--tp); padding: 2px; }
.tp--s svg { width: 14px; height: 14px; padding: 1.5px; }
.tp--l svg { width: 30px; height: 30px; padding: 4px; }

/* ---------- homepage hero, tabs, service grid ---------- */
.bf-hero { max-width: 1060px; margin: 0 auto; padding: 44px 20px 30px; text-align: center; }
.bf-hero h1 { font: 600 clamp(30px, 4.2vw, 46px)/1.25 var(--head); margin: 0 auto; max-width: 820px; }
.bf-rot { display: inline-grid; vertical-align: bottom; justify-items: center; }
.bf-rot-w { grid-area: 1 / 1; background: var(--pg); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(12px); transition: opacity .45s, transform .45s; }
.bf-rot-w.is-on { opacity: 1; transform: none; }
.bf-rule { display: block; width: 44px; height: 3px; background: var(--red); border-radius: 2px; margin: 18px auto 0; }
.bf-rating { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--ink2); margin: 0 0 28px; flex-wrap: wrap; }
.bf-rating b { font-size: 15px; }
.bf-tabs { display: inline-flex; gap: 4px; background: var(--grey); border-radius: 999px; padding: 5px; margin-bottom: 28px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.bf-tab { display: flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 999px; font: 500 14px var(--head); color: #666; white-space: nowrap; }
.bf-tab.is-on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.bf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: left; }
.bf-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 16px; border-radius: var(--r); background: var(--pt); border: 1.5px solid transparent; background-image: linear-gradient(var(--pt), var(--pt)), var(--pe); background-origin: border-box; background-clip: padding-box, border-box; transition: transform .18s, box-shadow .18s; }
.bf-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.bf-card-h { display: flex; align-items: center; gap: 10px; }
.bf-card-h b { font-size: 15px; font-weight: 600; line-height: 1.25; }
.bf-card-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--pg); display: grid; place-items: center; color: #fff; flex: none; }
.bf-card-ic .ic { width: 17px; height: 17px; }
.bf-tag { align-self: flex-start; background: #fff; color: var(--red); font: 600 11.5px var(--head); padding: 3px 9px; border-radius: 6px; }
.bf-from { font-size: 14px; color: var(--ink2); margin-top: auto; }
.bf-pop { position: absolute; top: -11px; right: 12px; background: var(--pg); color: #fff; font: 700 10.5px var(--head); letter-spacing: .04em; text-transform: uppercase; font-style: normal; padding: 4px 10px; border-radius: 999px; }
.bf-how { max-width: 480px; margin: 36px auto 0; background: var(--grey); border-radius: 12px; text-align: left; }
.bf-how summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; font: 600 15px var(--head); cursor: pointer; }
.bf-how summary::-webkit-details-marker { display: none; }
.bf-how .chev { margin-left: auto; transition: transform .2s; }
.bf-how[open] .chev { transform: rotate(180deg); }
.bf-q { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; }
.bf-how ol { margin: 0; padding: 0 20px 18px 40px; color: var(--ink2); font-size: 15px; }
.bf-how li { margin: 6px 0; }

/* why cards */
.bf-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 700px; margin: 0 auto 28px; }
.bf-why-c { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; text-align: left; }
.bf-why-c b { display: block; font-size: 15px; margin: 12px 0 4px; }
.bf-why-c p { margin: 0; color: var(--mute); font-size: 14px; }

/* dark reviews band */
.bf-dark { background: #1c1c1c; padding: 56px 0; overflow: hidden; }
.bf-dark-in { text-align: center; }
.bf-rv-rows { display: grid; gap: 12px; margin: 0 0 30px; }
.bf-rv-row { display: flex; gap: 12px; width: max-content; animation: bf-marq 60s linear infinite; }
.bf-rv-row--rev { animation-direction: reverse; }
.bf-rv-rows:hover .bf-rv-row { animation-play-state: paused; }
@keyframes bf-marq { to { transform: translateX(-50%); } }
.bf-rv { width: 250px; background: #fff; border-radius: 8px; padding: 14px; text-align: left; flex: none; }
.bf-rv h3 { font: 600 14px/1.35 var(--head); margin: 10px 0 0; }
.bf-rv p { font-size: 13.5px; color: var(--ink2); margin: 6px 0 0; }
.bf-rv b { display: inline-block; font-size: 13px; margin-top: 10px; }
.bf-rv small { color: var(--mute); font-size: 12px; }
.bf-dark .bf-btn { margin-top: 4px; }

/* stories */
.bf-stories { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin: 0 auto 44px; padding: 0 20px; }
.bf-story { display: grid; justify-items: center; gap: 8px; width: 78px; }
.bf-story-ring { width: 66px; height: 66px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg,#F58529,#DD2A7B,#8134AF); }
.bf-story-ring span { width: 100%; height: 100%; border-radius: 50%; background: #111; border: 3px solid #fff; display: grid; place-items: center; color: #fff; }
.bf-story-ring .ic { width: 24px; height: 24px; }
.bf-story small { font: 500 11.5px/1.25 var(--head); text-align: center; }
.bf-seo { text-align: center; }
.bf-seo .bf-h2::after { display: none; }
.bf-seo p { color: var(--ink2); font-size: 16px; line-height: 1.75; }

/* FAQ */
.bf-faq { display: grid; gap: 8px; }
.bf-faq details { border: 1px solid var(--line); border-radius: 10px; }
.bf-faq summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 15px 16px; font: 500 15px/1.4 var(--head); cursor: pointer; }
.bf-faq summary::-webkit-details-marker { display: none; }
.bf-faq .chev { margin-left: auto; color: var(--red); width: 18px; height: 18px; transition: transform .2s; }
.bf-faq details[open] .chev { transform: rotate(180deg); }
.bf-faq p { margin: 0; padding: 0 16px 16px; color: var(--ink2); font-size: 15px; }

/* ---------- service page ---------- */
.bf-svc-hero { max-width: 760px; margin: 0 auto; padding: 56px 20px 20px; text-align: center; }
.bf-svc-hero h1 { font: 600 clamp(30px, 4.4vw, 48px)/1.15 var(--head); margin: 0; }
.bf-down { display: inline-block; color: var(--pc); margin: 16px 0 4px; }
.bf-kicker { margin: 0; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: var(--mute); }
.bf-lead { color: var(--mute); font-size: 15px; max-width: 580px; margin: 18px auto; }
.bf-pills { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 8px; margin-top: 8px; }
.bf-pills span { display: inline-flex; align-items: center; gap: 7px; background: #000; color: #fff; font: 500 13px var(--head); padding: 8px 14px; border-radius: 999px; justify-content: center; }
.bf-pills .ic { width: 15px; height: 15px; }

.bf-form { max-width: 560px; margin: 0 auto; padding: 36px 20px 20px; }
.bf-step { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 12px; }
.bf-step b { font-weight: 600; font-size: 15.5px; }
.bf-step small { display: block; color: var(--mute); font-size: 13px; }
.bf-num { width: 22px; height: 22px; border-radius: 50%; background: var(--red-soft); color: var(--red); border: 1px solid #f6b9bb; display: grid; place-items: center; font: 600 11px var(--head); flex: none; margin-top: 1px; }
.bf-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-opt { padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; font: 500 14px var(--head); }
.bf-opt.is-on { border-color: var(--pc); color: var(--pc); }
.bf-chips-wrap { position: relative; }
.bf-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 4px; scrollbar-width: none; scroll-behavior: smooth; }
.bf-chips::-webkit-scrollbar { display: none; }
.bf-chip { position: relative; flex: 0 0 76px; padding: 12px 4px 10px; border: 1.5px solid var(--line); border-radius: 10px; text-align: center; background: #fff; }
.bf-chip b { display: block; font-size: 15px; }
.bf-chip span { display: block; font: 600 12.5px var(--head); color: var(--green); margin-top: 2px; }
.bf-chip em { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: #fff; border: 1px solid #f3c9cb; color: var(--red); font: 700 8.5px var(--head); letter-spacing: .04em; text-transform: uppercase; font-style: normal; padding: 2px 6px; border-radius: 5px; }
.bf-chip.is-on { border-color: var(--pc); box-shadow: 0 0 0 2px color-mix(in srgb, var(--pc) 25%, transparent); }
.bf-chip.is-on::after { content: '✓'; position: absolute; top: 3px; right: 6px; font-size: 11px; color: var(--pc); }
.bf-chips-more { position: absolute; right: -6px; top: 50%; transform: translateY(-40%); width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); display: none; place-items: center; }
.bf-chips-wrap.can-more .bf-chips-more { display: grid; }
.bf-input { width: 100%; font: 400 16px var(--head); padding: 13px 14px; border: 1px solid #dcdcdc; border-radius: 10px; background: #fff; color: var(--ink); outline: none; }
.bf-input:focus { border-color: var(--pc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pc) 15%, transparent); }
.bf-input.is-bad { border-color: var(--red); }
.bf-select { appearance: none; -webkit-appearance: none; cursor: pointer; margin-top: 10px; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; }
.bf-area { resize: vertical; margin-top: 4px; }
.bf-find { display: block; margin: 8px 0 0 auto; color: var(--pc); font: 500 12.5px var(--head); border-bottom: 1.5px dashed currentColor; }
.bf-tipbox { background: var(--grey); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; color: var(--ink2); margin-top: 8px; }
.bf-extra { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 12px; border-radius: 999px; border: 1.5px solid transparent; background: linear-gradient(#fff,#fff) padding-box, linear-gradient(90deg,var(--red),#F58529) border-box; }
.bf-extra b { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; }
.bf-extra b .ic { width: 16px; height: 16px; color: #3b82f6; }
.bf-extra-p { margin-left: auto; font: 600 13px var(--head); }
.bf-extra-q { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); font: 600 13px var(--head); }
.bf-extra-link { margin-top: 10px; }
.bf-switch { position: relative; width: 38px; height: 22px; flex: none; }
.bf-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.bf-switch i { position: absolute; inset: 0; border-radius: 11px; background: #ddd; transition: background .2s; }
.bf-switch i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.bf-switch input:checked + i { background: var(--green); }
.bf-switch input:checked + i::after { transform: translateX(16px); }
.bf-select { position: relative; }
.bf-select select { appearance: none; width: 100%; font: 400 15px var(--head); padding: 12px 40px 12px 14px; border: 1px solid #dcdcdc; border-radius: 10px; background: #fff; color: var(--ink); }
.bf-select .chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; width: 16px; }
.bf-targets { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.bf-target { position: relative; text-align: left; border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 12px; }
.bf-target.is-on { border-color: var(--pc); box-shadow: 0 0 0 2px color-mix(in srgb, var(--pc) 20%, transparent); }
.bf-target em { position: absolute; top: -10px; right: 10px; background: var(--red); color: #fff; font: 700 10px var(--head); text-transform: uppercase; font-style: normal; padding: 3px 8px; border-radius: 6px; }
.bf-target small { display: block; color: var(--mute); font-size: 12.5px; }
.bf-target ul { list-style: none; padding: 0; margin: 10px 0 0; font-size: 13px; }
.bf-target li { display: flex; gap: 6px; margin: 4px 0; }
.bf-target li .ic { width: 14px; height: 14px; color: var(--pc); margin-top: 3px; }

.bf-sum { background: #F7F7F7; border-radius: 12px; padding: 16px; margin-top: 22px; }
.bf-sum > b { display: block; font-size: 15.5px; margin-bottom: 10px; }
.bf-sum p { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 7px 0; font-size: 13.5px; color: var(--mute); }
.bf-sum p b { color: var(--ink); font-size: 13px; text-align: right; overflow-wrap: anywhere; }
.bf-total { display: flex; justify-content: space-between; align-items: center; background: #F7F7F7; border-radius: 12px; padding: 16px; margin-top: 14px; border-top: 1px dashed #d6d6d6; }
.bf-total span { font: 600 14px var(--head); }
.bf-total b { color: var(--green); font-size: 22px; }
.bf-add { display: flex; align-items: center; width: 100%; margin-top: 14px; background: var(--ink); color: #fff; border-radius: 999px; padding: 15px 18px; box-shadow: 0 0 0 6px #f0f0f0; font: 500 16px var(--head); }
.bf-add i { width: 1px; height: 26px; background: #555; margin: 0 14px; }
.bf-add span { flex: 1; text-align: center; margin-right: 34px; }
.bf-add:hover { background: #000; }
.bf-eta { text-align: center; font: 500 12.5px var(--head); color: var(--ink2); margin: 16px 0 0; }
.bf-eta b { color: var(--red); }
.bf-err { color: var(--red); text-align: center; font-size: 14px; margin: 8px 0 0; min-height: 1em; }
.bf-badges { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 18px 0; }
.bf-badges > i { width: 1px; height: 32px; background: var(--line); }
.bf-tpb { display: grid; gap: 3px; justify-items: center; }
.bf-tpb b { font-size: 14px; }
.bf-tpb b::first-letter { color: var(--tp); }
.bf-apple { border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font: 600 16px var(--head); }
.bf-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bf-feats div { background: var(--grey); border-radius: 10px; padding: 14px 8px; display: grid; justify-items: center; gap: 6px; }
.bf-feats b { font-size: 12.5px; font-weight: 600; text-align: center; }

/* comparison */
.bf-cmp { margin-top: 10px; font-size: 14px; }
.bf-cmp-h, .bf-cmp-r { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: center; }
.bf-cmp-r { border-top: 1px solid var(--line); }
.bf-cmp-r > span:first-child { font: 600 13.5px var(--head); padding: 14px 8px; }
.bf-cmp-us { display: grid; justify-items: center; gap: 2px; text-align: center; border-left: 1.5px solid var(--red); border-right: 1.5px solid var(--red); padding: 10px 6px; height: 100%; align-content: center; }
.bf-cmp-us b { font-size: 13px; }
.bf-cmp-us .ic { width: 15px; height: 15px; }
.bf-cmp-h .bf-cmp-us { border-top: 1.5px solid var(--red); border-radius: 10px 10px 0 0; padding: 14px; }
.bf-cmp-h .bf-cmp-us img { height: 16px; width: auto; }
.bf-cmp-r:last-child .bf-cmp-us { border-bottom: 1.5px solid var(--red); border-radius: 0 0 10px 10px; }
.bf-cmp-h > span:last-child { text-align: center; }
.bf-cmp-h em { font: 600 12px var(--head); font-style: normal; background: var(--grey); padding: 4px 10px; border-radius: 999px; color: var(--mute); }
.bf-cmp-r > span:last-child { display: grid; justify-items: center; gap: 2px; color: #8a8a8a; text-align: center; padding: 10px 6px; font-size: 13px; }
.bf-cmp-r > span:last-child .ic { width: 15px; height: 15px; color: #bbb; }

/* how it works (4 steps) */
.bf-steps4 { list-style: none; counter-reset: s; padding: 0; margin: 0 auto 22px; max-width: 420px; }
.bf-steps4 li { counter-increment: s; position: relative; padding: 0 0 20px 44px; }
.bf-steps4 li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 600 12px var(--head); box-shadow: 0 0 0 4px var(--red-soft); }
.bf-steps4 li:not(:last-child)::after { content: ''; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 1px; background: #f0c3c4; }
.bf-steps4 b { display: block; font-weight: 600; }
.bf-steps4 small { color: var(--mute); font-size: 13.5px; }
.bf-chipsline { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.bf-chipsline span { display: inline-flex; align-items: center; gap: 6px; background: var(--red-soft); color: var(--red); font: 600 12.5px var(--head); padding: 6px 12px; border-radius: 999px; }
.bf-chipsline .ic { width: 14px; height: 14px; }

/* pro card, team */
.bf-pro { max-width: 380px; margin: 0 auto; background: #1c1c1c; color: #fff; text-align: center; border-radius: 14px; padding: 30px 24px; }
.bf-pro-ic { width: 52px; height: 52px; border-radius: 50%; background: #333; display: inline-grid; place-items: center; }
.bf-pro h2 { font: 600 21px/1.3 var(--head); margin: 14px 0 8px; }
.bf-pro p { color: #cfcfcf; font-size: 14px; margin: 0 0 18px; }
.bf-pro small { display: block; color: #9a9a9a; font-size: 12px; margin-top: 12px; }
.bf-team { position: relative; max-width: 380px; aspect-ratio: 3 / 2; margin: 0 auto 16px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #1c1c1c, #3a3a3a); }
.bf-team > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.bf-team > span { position: absolute; inset: 0; display: grid; place-items: center; }
.bf-team > span img { width: 55%; filter: brightness(0) invert(1); opacity: .9; }
.bf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 480px; margin: 0 auto 22px; }
.bf-stats div { background: #fff; border-radius: 10px; padding: 14px 6px; display: grid; gap: 4px; }
.bf-stats b { color: var(--red); font-size: 20px; line-height: 1.1; }
.bf-stats small { color: var(--mute); font-size: 11.5px; line-height: 1.3; }

/* related */
.bf-rel { display: grid; gap: 10px; max-width: 420px; margin: 0 auto; }
.bf-rel a { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.bf-rel a:hover { border-color: var(--pc); }
.bf-rel span { flex: 1; }
.bf-rel b { display: block; font-size: 14px; font-weight: 500; }
.bf-rel small { color: var(--red); font: 600 12px var(--head); }
.bf-rel .ic { color: var(--red); width: 16px; }

/* ---------- footer ---------- */
.bf-foot { padding: 64px 20px 30px; }
.bf-foot-in { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 28px; }
.bf-foot h3 { font: 600 14px var(--head); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 18px; }
.bf-foot-info p { font-size: 11.5px; font-style: italic; line-height: 1.6; margin: 0 0 14px; color: var(--ink2); }
.bf-foot-links { display: grid; gap: 11px; font-size: 15px; }
.bf-foot-links a:hover { color: var(--red); }
.bf-foot-links--pl { margin-top: 36px; }
.bf-foot-brand { max-width: 980px; margin: 30px auto 0; }
.bf-foot-brand > img { height: 26px; width: auto; }
.bf-social { display: flex; gap: 14px; margin-top: 16px; }
.bf-pay { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 34px; }
.bf-pay span { border: 1px solid var(--line); border-radius: 5px; padding: 4px 8px; font: 600 11px var(--head); color: #444; }
.bf-pay--s { margin: 0; }
.bf-copy { text-align: center; font-size: 12.5px; color: var(--mute); margin: 14px 0 0; }

/* ---------- drawer, search, modal ---------- */
.bf-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 60; }
.bf-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 61; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.15); animation: bf-in .25s ease; }
@keyframes bf-in { from { transform: translateX(40px); opacity: 0; } }
.bf-dr-h { display: flex; justify-content: space-between; align-items: center; padding: 18px; }
.bf-dr-h h2 { font-size: 20px; margin: 0; }
.bf-dr-x { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.bf-dr-strip { background: #000; color: #fff; text-align: center; font: 500 12.5px var(--head); padding: 10px; }
.bf-gift { padding: 14px 18px 16px; border-bottom: 1px solid var(--line); text-align: center; font-size: 13px; }
.bf-gift-bar { position: relative; height: 5px; background: #e6e6e6; border-radius: 3px; margin: 12px 8px 6px; }
.bf-gift-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: #111; border-radius: 3px; transition: width .3s; }
.bf-gift-bar u { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 2px solid #111; }
.bf-gift-bar u.is-on { background: var(--green); border-color: var(--green); }
.bf-gift-lbl { position: relative; height: 16px; font-size: 11px; color: var(--mute); }
.bf-gift-lbl span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.bf-dr-body { flex: 1; overflow-y: auto; }
.bf-dr-item { display: flex; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.bf-dr-ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; flex: none; background: #f4f4f4; }
.bf-dr-ic img { width: 24px; height: 24px; }
.bf-dr-main { flex: 1; min-width: 0; font-size: 13px; }
.bf-dr-main b { display: block; font-size: 14px; font-weight: 500; }
.bf-dr-main small { display: block; color: var(--mute); overflow-wrap: anywhere; }
.bf-dr-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.bf-qty { display: inline-flex; align-items: center; gap: 12px; }
.bf-qty button { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 6px; }
.bf-dr-rm { align-self: flex-start; color: #888; font-size: 16px; }
.bf-dr-empty { text-align: center; padding: 48px 20px; color: var(--mute); }
.bf-up { padding: 16px 18px; }
.bf-up > b { display: block; text-align: center; font-size: 13.5px; margin-bottom: 10px; }
.bf-up a { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.bf-up a > span:not(.bf-dr-ic) { flex: 1; }
.bf-up a em { font-style: normal; background: #111; color: #fff; border-radius: 6px; padding: 6px 12px; font: 600 12px var(--head); }
.bf-dr-foot { padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.bf-dr-foot .bf-btn { width: 100%; border-radius: 12px; padding: 16px; }
.bf-search { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.4); display: flex; justify-content: center; align-items: flex-start; padding: 80px 16px; }
.bf-search-box { width: min(560px, 100%); background: #fff; border-radius: 14px; overflow: hidden; }
.bf-search-row { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.bf-search-row input { flex: 1; border: 0; outline: none; font: 400 16px var(--head); }
.bf-search-list { max-height: 60vh; overflow-y: auto; }
.bf-search-list a { display: flex; align-items: center; gap: 10px; padding: 11px 16px; font-size: 14.5px; }
.bf-search-list a:hover, .bf-search-list a:focus { background: #FBF0F0; outline: none; }
.bf-search-list a small { margin-left: auto; color: var(--mute); }
.bf-modal { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.5); display: grid; place-items: center; padding: 16px; }
.bf-modal-box { position: relative; width: min(420px, 100%); background: #fff; border-radius: 16px; padding: 28px 24px; }
.bf-modal-box > button { position: absolute; top: 12px; right: 14px; font-size: 18px; }
.bf-modal-body h3 { font: 600 19px var(--head); margin: 0 0 8px; }
.bf-modal-body p { margin: 0; color: var(--ink2); }

/* ---------- checkout ---------- */
.bf-co-head { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 20px 14px; border-bottom: 1px solid var(--line); position: relative; }
.bf-co-head .bf-logo img { height: 36px; }
.bf-co-head > button { position: absolute; right: max(20px, calc(50% - 440px)); top: 34px; }
.bf-co-head > button .ic { width: 22px; height: 22px; }
.bf-co-badge { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(90deg,#2b1020,#7a1d2a); color: #fff; font: 600 11.5px var(--head); padding: 5px 14px; border-radius: 6px; }
.bf-co-badge .ic { width: 14px; height: 14px; }
.bf-co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 110px); }
.bf-co-main { padding: 36px 40px 60px max(20px, calc(50vw - 460px)); max-width: calc(50vw + 0px); }
.bf-co-main > * { max-width: 400px; }
.bf-co-side { background: #fafafa; border-left: 1px solid var(--line); padding: 36px max(20px, calc(50vw - 460px)) 40px 40px; }
.bf-co-side > * { max-width: 330px; }
.bf-co-express { text-align: center; font-size: 13px; color: var(--mute); margin: 0 0 10px; }
.bf-co-wallets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bf-co-wallets button { background: #000; color: #fff; border-radius: 8px; text-align: center; padding: 11px 4px; font: 600 13px var(--head); }
.bf-co-or { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--mute); font-size: 13px; margin: 18px 0; }
.bf-co-h { display: flex; justify-content: space-between; align-items: baseline; }
.bf-co-h a { font-size: 13px; text-decoration: underline; }
.bf-co h2 { font: 700 20px var(--head); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.bf-co-gift { margin: 18px 0 6px; }
.bf-co-gift h2 { font-size: 16px; }
.bf-co-pay { margin-top: 26px !important; margin-bottom: 0 !important; }
.bf-co-card { border: 1.5px solid #111; border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.bf-co-card-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #f5f5f5; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.bf-co-card-h b { font-size: 14px; }
.bf-co-card p { display: flex; gap: 10px; margin: 0; padding: 14px; font-size: 13.5px; color: var(--ink2); }
.bf-co-legal { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; }
.bf-co-legal a { text-decoration: underline; color: var(--mute); }
.bf-co-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 13px; }
.bf-co-thumb { position: relative; width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; flex: none; }
.bf-co-thumb img { width: 24px; height: 24px; }
.bf-co-thumb i { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; border-radius: 10px; background: #111; color: #fff; font: 600 11px/20px var(--head); text-align: center; font-style: normal; }
.bf-co-item div { flex: 1; min-width: 0; }
.bf-co-item b { display: block; font-weight: 500; font-size: 14px; }
.bf-co-item small { display: block; color: var(--mute); overflow-wrap: anywhere; }
.bf-co-item > span { font-weight: 500; white-space: nowrap; }
.bf-co-item button { color: var(--mute); font-size: 12px; text-decoration: underline; margin-top: 4px; }
.bf-co-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.bf-co-total b { font-size: 18px; }
.bf-co-total small { color: var(--mute); font-size: 12px; margin-right: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bf-nav, .bf-tools a[href="/account"] { display: none; }
  .bf-burger { display: grid; place-items: center; }
  .bf-burger .ic { width: 26px; height: 26px; }
  .bf-head-in { height: 64px; justify-content: space-between; gap: 12px; }
  .bf-logo img { height: 28px; }
  .bf-head.is-open .bf-mnav { display: block; max-height: calc(100vh - 64px); overflow-y: auto; border-top: 1px solid var(--line); padding: 6px 16px 18px; }
  .bf-mnav summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 13px 0; font: 600 15px var(--head); border-bottom: 1px solid var(--line); cursor: pointer; }
  .bf-mnav summary::-webkit-details-marker { display: none; }
  .bf-mnav summary .chev { margin-left: auto; width: 16px; }
  .bf-mnav a { display: block; padding: 10px 0 10px 28px; font-size: 15px; }
  .bf-grid { grid-template-columns: repeat(2, 1fr); }
  .bf-co { grid-template-columns: 1fr; }
  .bf-co-side { order: -1; border-left: 0; border-bottom: 1px solid var(--line); padding: 20px 16px; }
  .bf-co-main { padding: 24px 16px 48px; max-width: none; }
  .bf-co-main > *, .bf-co-side > * { max-width: 560px; margin-left: auto; margin-right: auto; }
  .bf-co-head > button { right: 16px; top: 22px; }
}
@media (max-width: 720px) {
  .bf-bar { font-size: 12.5px; padding: 10px 16px; }
  .bf-hero { padding: 30px 16px 20px; }
  .bf-tabs { display: flex; }
  .bf-grid { grid-template-columns: 1fr; }
  .bf-why { grid-template-columns: 1fr; }
  .bf-stats { grid-template-columns: repeat(2, 1fr); }
  .bf-pills { grid-template-columns: 1fr 1fr; }
  .bf-pills span { font-size: 12px; padding: 8px 10px; }
  .bf-foot-in { grid-template-columns: 1fr; }
  .bf-foot-links--pl { margin-top: 0; }
  .bf-cmp { font-size: 12.5px; }
  .bf-cmp-h, .bf-cmp-r { grid-template-columns: 1fr 1fr 1fr; }
  .bf-sec { padding: 48px 0; }
  .bf-grey { padding: 48px 0; }
  .bf-form { padding: 24px 16px; }
  .bf-wrap, .bf-narrow { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-rv-row { animation: none; }
  html { scroll-behavior: auto; }
}
