/* ==========================================================================
   STORE PAGE (single-fp_store.php) — V6 WHITE MINIMAL DESIGN
   Design philosophy: minimal, practical, eye-catchy.
   White/black primary. Yellow/green accents only where attention needed.
   Mobile-first. Scoped to .fp-sp-* namespace.
   ========================================================================== */

/* ---- Scroll-Reveal Base ---- */
.fp-sp-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.45s ease, transform 0.45s ease; }
.fp-sp-revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .fp-sp-reveal { opacity: 1; transform: none; transition: none; } }

/* ---- Page Shell ---- */
.fp-sp-page { background: #fafafa; min-height: 100vh; padding-bottom: 88px; font-family: var(--fp-font); color: var(--fp-text-main); }
.fp-sp-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---- System Banners ---- */
.fp-sp-return-banner { display: none; align-items: center; justify-content: center; gap: 10px; background: var(--fp-text-main); color: #fff; padding: 12px 16px; font-size: var(--fp-text-md); font-weight: 700; text-align: center; position: relative; }
.fp-sp-return-banner.active { display: flex; }
.fp-sp-return-banner-close { position: absolute; right: 16px; background: none; border: none; color: rgba(255,255,255,0.7); font-size: var(--fp-text-lg); cursor: pointer; line-height: 1; padding: 4px; }
.fp-sp-pwa-prompt { display: none; align-items: center; gap: 12px; background: #fff; border-bottom: 1px solid var(--fp-border); padding: 10px 16px; }
.fp-sp-pwa-prompt.active { display: flex; }
.fp-sp-pwa-icon { width: 38px; height: 38px; background: var(--fp-text-main); border-radius: var(--fp-radius-10); display: flex; align-items: center; justify-content: center; font-size: var(--fp-text-lg); flex-shrink: 0; color: #fff; }
.fp-sp-pwa-text { flex: 1; min-width: 0; }
.fp-sp-pwa-text strong { display: block; font-size: var(--fp-text-base); font-weight: 700; color: var(--fp-text-main); }
.fp-sp-pwa-text small { font-size: var(--fp-text-sm); color: var(--fp-text-muted); }
.fp-sp-pwa-install-btn { background: var(--fp-text-main); color: #fff; border: none; padding: 7px 14px; border-radius: var(--fp-radius-sm); font-size: var(--fp-text-base); font-weight: 700; cursor: pointer; flex-shrink: 0; white-space: nowrap; }
.fp-sp-pwa-dismiss { background: none; border: none; color: var(--fp-text-muted); font-size: var(--fp-text-md); cursor: pointer; flex-shrink: 0; padding: 4px; }

/* ---- Breadcrumb ---- */
.fp-sp-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 14px 0 10px; font-size: var(--fp-text-base); font-weight: 500; color: var(--fp-text-muted); }
.fp-sp-breadcrumb a { color: var(--fp-text-muted); transition: color var(--fp-transition); }
.fp-sp-breadcrumb a:hover { color: var(--fp-text-main); }
.fp-sp-breadcrumb-sep { color: #d1d5db; }

/* ---- Hero ---- */
.fp-sp-hero { background: #fff; border-radius: var(--fp-radius-lg); border: 1px solid var(--fp-border); margin-bottom: 12px; overflow: hidden; position: relative; }
.fp-sp-hero-inner { padding: 20px; position: relative; z-index: 1; }
.fp-sp-hero-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.fp-sp-logo-wrap { position: relative; flex-shrink: 0; }
.fp-sp-logo-box { width: 68px; height: 68px; background: #fff; border: 1.5px solid var(--fp-border); border-radius: var(--fp-radius-lg); display: flex; align-items: center; justify-content: center; padding: 10px; overflow: hidden; }
.fp-sp-logo-box img { width: 100%; height: 100%; object-fit: contain; }
.fp-sp-verified-tick { position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; background: var(--fp-green); border: 2.5px solid #fff; border-radius: var(--fp-radius-circle); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 2px 6px rgba(34,197,94,0.3); }
.fp-sp-verified-tick svg { width: 10px; height: 10px; }
.fp-sp-hero-info { flex: 1; min-width: 0; }
.fp-sp-store-name-row { margin-bottom: 6px; }
.fp-sp-store-name { font-size: var(--fp-text-xl); font-weight: 900; color: var(--fp-text-main); line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
.fp-sp-hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.fp-sp-stars { color: var(--fp-primary); font-size: var(--fp-text-base); letter-spacing: 1px; }
.fp-sp-rating-count { font-size: var(--fp-text-base); color: var(--fp-text-muted); font-weight: 500; }
.fp-sp-trust-pill { display: inline-flex; align-items: center; gap: 4px; background: #f1f5f9; color: var(--fp-text-main); font-size: var(--fp-text-sm); font-weight: 700; padding: 3px 8px; border-radius: var(--fp-radius-6); }
.fp-sp-cb-badge { display: inline-block; background: var(--fp-green); color: #fff; font-size: var(--fp-text-md); font-weight: 900; padding: 7px 16px; border-radius: var(--fp-radius-sm); letter-spacing: 0.3px; }
.fp-sp-page-subtitle { font-size: var(--fp-text-md); color: var(--fp-text-muted); font-weight: 600; line-height: 1.4; margin: 14px 0 0; }
.fp-sp-store-intro { margin: 10px 0 16px; }
.fp-sp-store-intro-text { font-size: var(--fp-text-base); color: #475569; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fp-sp-store-intro-text.expanded { -webkit-line-clamp: unset; line-clamp: unset; }
.fp-sp-read-more-btn { background: none; border: none; color: var(--fp-text-main); font-size: var(--fp-text-base); font-weight: 700; cursor: pointer; padding: 4px 0; font-family: var(--fp-font); text-decoration: underline; }
.fp-sp-hero-cta-row { display: flex; align-items: center; gap: 8px; }
.fp-sp-primary-cta { flex: 1; max-width: 280px; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--fp-primary); color: var(--fp-text-main); border: none; padding: 12px 16px; border-radius: var(--fp-radius-md); font-weight: 900; font-size: var(--fp-text-md); cursor: pointer; text-decoration: none; box-shadow: 0 4px 14px rgba(250,204,21,0.35); transition: all var(--fp-transition); white-space: nowrap; }
.fp-sp-primary-cta:hover { background: #fde047; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(250,204,21,0.45); }
.fp-sp-primary-cta svg { width: 14px; height: 14px; flex-shrink: 0; }
.fp-sp-notify-btn { width: 42px; height: 42px; flex-shrink: 0; background: #fff; border: 1.5px solid var(--fp-border); border-radius: var(--fp-radius-10); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--fp-text-muted); font-size: var(--fp-text-md); transition: all var(--fp-transition); }
.fp-sp-notify-btn:hover { border-color: var(--fp-text-main); color: var(--fp-text-main); }
.fp-sp-rules-trigger { display: flex; align-items: center; gap: 4px; background: #fff; border: 1.5px solid var(--fp-border); border-radius: var(--fp-radius-10); padding: 10px 12px; font-size: var(--fp-text-sm); font-weight: 700; color: var(--fp-text-muted); cursor: pointer; white-space: nowrap; font-family: var(--fp-font); transition: all var(--fp-transition); }
.fp-sp-rules-trigger:hover { border-color: var(--fp-text-main); color: var(--fp-text-main); }

/* Mobile: CTA row — all 3 buttons on ONE line */
@media (max-width: 600px) {
    .fp-sp-hero-cta-row { gap: 6px; }
    .fp-sp-primary-cta { flex: 1 1 0%; max-width: none; font-size: var(--fp-text-base); padding: 11px 10px; border-radius: var(--fp-radius-10); gap: 5px; }
    .fp-sp-primary-cta svg { width: 13px; height: 13px; }
    .fp-sp-notify-btn { width: 38px; height: 38px; font-size: var(--fp-text-base); border-radius: var(--fp-radius-10); }
    .fp-sp-rules-trigger { padding: 9px 10px; font-size: var(--fp-text-sm); border-radius: var(--fp-radius-10); }
    .fp-sp-rules-trigger svg { width: 12px; height: 12px; }
}

/* ---- SOCIAL PROOF & TRUST (Dual-Tone: Light Stats + Dark Trust) ---- */
.fp-sp-premium-stats-group { border-radius: var(--fp-radius-lg); overflow: hidden; margin-bottom: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid var(--fp-border); }

/* ---- Light Stats Top ---- */
.fp-sp-stats-row { display: flex; background: linear-gradient(135deg, #fefefe 0%, #f0fdf4 40%, #eff6ff 100%); position: relative; }
.fp-sp-stats-row::after { content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent); pointer-events: none; animation: fpStatsShimmer 5s ease-in-out infinite; }
@keyframes fpStatsShimmer { 0% { left: -100%; } 100% { left: 200%; } }

.fp-sp-stat-card { flex: 1; display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.fp-sp-stat-card:first-child { border-right: 1px solid rgba(0,0,0,0.06); }

/* Modern gradient circle icons */
.fp-sp-stat-icon-wrapper { width: 42px; height: 42px; border-radius: var(--fp-radius-circle); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); box-shadow: 0 3px 10px rgba(34, 197, 94, 0.15); }
.fp-sp-stat-icon-wrapper svg { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1)); }
.fp-sp-icon-blue { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); box-shadow: 0 3px 10px rgba(59, 130, 246, 0.15); }

.fp-sp-stat-content { display: flex; flex-direction: column; gap: 2px; }
.fp-sp-stat-mega-val { font-size: var(--fp-text-xl); font-weight: 900; color: var(--fp-text-main); line-height: 1.1; letter-spacing: -0.5px; }
.fp-sp-stat-mega-lbl { font-size: var(--fp-text-sm); color: var(--fp-text-muted); font-weight: 500; }

/* ---- Dark Trust Strip Bottom ---- */
.fp-sp-trust-strip { display: flex; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 10px 14px; position: relative; flex-wrap: nowrap; overflow: hidden; }
/* Subtle dot grid on dark strip */
.fp-sp-trust-strip::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 16px 16px; pointer-events: none; }
.fp-sp-ts-pill { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fp-text-sm); font-weight: 600; color: rgba(255,255,255,0.6); white-space: nowrap; position: relative; z-index: 1; }
.fp-sp-ts-pill strong { color: #ffffff; }
.fp-sp-ts-divider { width: 1px; height: 12px; background: rgba(255,255,255,0.15); flex-shrink: 0; position: relative; z-index: 1; }
.fp-sp-ts-dot { width: 5px; height: 5px; border-radius: var(--fp-radius-circle); flex-shrink: 0; }
.fp-sp-dot-green { background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,0.6); animation: fpBlink 2s infinite; }
.fp-sp-dot-gold { background: #fbbf24; box-shadow: 0 0 6px rgba(251,191,36,0.4); }
.fp-sp-dot-blue { background: #60a5fa; box-shadow: 0 0 6px rgba(96,165,250,0.4); }

/* Responsive — mobile compact */
@media (max-width: 800px) {
    .fp-sp-premium-stats-group { margin-bottom: 16px; border-radius: var(--fp-radius-md); }
    .fp-sp-stat-card { padding: 14px 12px; gap: 10px; }
    .fp-sp-stat-icon-wrapper { width: 34px; height: 34px; }
    .fp-sp-stat-icon-wrapper svg { width: 16px; height: 16px; }
    .fp-sp-stat-mega-val { font-size: var(--fp-text-lg); }
    .fp-sp-stat-mega-lbl { font-size: var(--fp-text-xs); line-height: 1.2; }
    .fp-sp-trust-strip { padding: 8px 10px; gap: 5px; }
    .fp-sp-ts-pill { font-size: var(--fp-text-xs2); gap: 4px; }
    .fp-sp-ts-dot { width: 4px; height: 4px; }
    .fp-sp-ts-divider { height: 10px; }
}

/* ---- Live Ticker (Sliding Marquee) ---- */
.fp-sp-ticker { display: flex; align-items: center; gap: 8px; background: #f8fafc; border-radius: var(--fp-radius-sm); padding: 8px 12px; margin-top: 14px; overflow: hidden; }
.fp-sp-ticker-dot { width: 7px; height: 7px; background: var(--fp-green); border-radius: var(--fp-radius-circle); flex-shrink: 0; animation: fpTickPulse 2s ease-in-out infinite; }
@keyframes fpTickPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.75); } }
.fp-sp-ticker-track { flex: 1; min-width: 0; overflow: hidden; }
.fp-sp-ticker-msg { display: inline-block; font-size: var(--fp-text-base); font-weight: 600; color: var(--fp-text-muted); white-space: nowrap; transition: opacity 0.35s ease, transform 0.35s ease; }
.fp-sp-ticker-msg.fp-sp-ticker-out { opacity: 0; transform: translateY(-6px); }
.fp-sp-ticker-msg.fp-sp-ticker-in { opacity: 0; transform: translateY(6px); }

/* ---- FULL-WIDTH AI SUPER BANNER (Next-Level In-App UI) ---- */
.fp-sp-features-row { margin-bottom: 24px; }

.fp-sp-ai-super-banner { display: block; width: 100%; border-radius: var(--fp-radius-md); background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%); border: 1px solid #333; overflow: hidden; position: relative; box-shadow: 0 4px 20px rgba(0,0,0,0.15); text-align: left; margin-bottom: 24px; }

/* Subtle Animated Laser Line */
.fp-sp-ai-glow-line { position: absolute; top: 0; left: -100%; width: 50%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent); box-shadow: 0 0 10px rgba(255,255,255,0.5); pointer-events: none; animation: fpAiScanline 4s linear infinite; z-index: 1; }
@keyframes fpAiScanline {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Content Layout (Compact) */
.fp-sp-ai-banner-content { display: flex; flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 20px; position: relative; z-index: 2; gap: 20px; }

.fp-sp-ai-banner-left { display: flex; gap: 14px; align-items: center; flex: 1; min-width: 0; }
.fp-sp-ai-icon-pulse { width: 36px; height: 36px; border-radius: var(--fp-radius-10); background: #222; border: 1px solid #444; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; }
/* Subtle breathing icon glow */
.fp-sp-ai-icon-pulse::before { content: ''; position: absolute; inset: -1px; border-radius: var(--fp-radius-10); border: 1.5px solid rgba(255,255,255,0.3); animation: fpPulseRingWhite 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes fpPulseRingWhite {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.fp-sp-ai-text-group { display: flex; flex-direction: column; min-width: 0; }
.fp-sp-ai-title { font-size: var(--fp-text-md); font-weight: 800; color: #ffffff; margin: 0 0 2px; line-height: 1.2; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.fp-sp-ai-desc { font-size: var(--fp-text-base); color: #a1a1aa; line-height: 1.4; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.fp-sp-ai-banner-right { display: flex; align-items: center; flex-shrink: 0; }

.fp-sp-ai-cta { display: flex; align-items: center; justify-content: center; gap: 6px; background: #ffffff; color: #000000; border: none; padding: 10px 18px; border-radius: var(--fp-radius-sm); font-size: var(--fp-text-base); font-weight: 800; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2); font-family: var(--fp-font); white-space: nowrap; }
.fp-sp-ai-cta:hover { background: #e4e4e7; transform: scale(1.02); }

/* Responsive Adjustments (Ultra Compact) */
@media (max-width: 800px) {
    .fp-sp-features-row { margin-bottom: 16px; }
    .fp-sp-ai-banner-content { padding: 12px 14px; gap: 12px; }
    .fp-sp-ai-banner-left { gap: 10px; }
    .fp-sp-ai-icon-pulse { width: 30px; height: 30px; border-radius: var(--fp-radius-sm); }
    .fp-sp-ai-icon-pulse svg { width: 14px; height: 14px; }
    .fp-sp-ai-title { font-size: var(--fp-text-md); }
    .fp-sp-ai-desc { font-size: var(--fp-text-sm); white-space: normal; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
    .fp-sp-ai-cta { padding: 8px 12px; font-size: var(--fp-text-sm); border-radius: var(--fp-radius-6); }
    .fp-sp-ai-cta svg { width: 12px; height: 12px; }
}

/* ---- Layout ---- */
.fp-sp-layout { display: flex; flex-direction: column; gap: 0; }
.fp-sp-sidebar { display: none; flex-direction: column; gap: 14px; }

/* ---- Widgets (Premium Depth) ---- */
.fp-sp-widget { background: #fff; border-radius: var(--fp-radius-14); border: 1px solid var(--fp-border); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.06); transition: all var(--fp-transition); }
.fp-sp-widget:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,.06), 0 12px 28px rgba(0,0,0,.10); }
.fp-sp-widget-hd { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--fp-border); }
.fp-sp-widget-title { font-size: var(--fp-text-md); font-weight: 800; color: var(--fp-text-main); display: flex; align-items: center; gap: 6px; margin: 0; }
.fp-sp-widget-bd { padding: 14px 16px; }
/* Sale Banner (sidebar) */
.fp-sp-sale-banner { background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%); border-radius: var(--fp-radius-14); padding: 18px; margin-bottom: 14px; border: 1px solid #334155; overflow: hidden; position: relative; }
.fp-sp-sale-banner::after { content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; background: radial-gradient(circle, rgba(250,204,21,0.1) 0%, transparent 70%); pointer-events: none; }
.fp-sp-sale-banner-badge { display: inline-block; background: var(--fp-red); color: #fff; font-size: var(--fp-text-xs2); font-weight: 900; padding: 4px 10px; border-radius: var(--fp-radius-xs); letter-spacing: 1.5px; margin-bottom: 10px; animation: fpBlink 2s step-end infinite; }
@keyframes fpBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.fp-sp-sale-banner-title { font-size: var(--fp-text-lg); font-weight: 900; color: #fff; margin: 0 0 6px; line-height: 1.2; }
.fp-sp-sale-banner-desc { font-size: var(--fp-text-base); color: #94a3b8; line-height: 1.5; margin: 0 0 14px; }
.fp-sp-sale-banner-cta { display: block; width: 100%; background: var(--fp-primary); color: var(--fp-text-main); border: none; padding: 11px; border-radius: var(--fp-radius-10); font-weight: 900; font-size: var(--fp-text-md); cursor: pointer; text-align: center; transition: background var(--fp-transition); font-family: var(--fp-font); }
.fp-sp-sale-banner-cta:hover { background: #fde047; }
.fp-sp-calc-sel, .fp-sp-calc-inp { width: 100%; padding: 9px 12px; border: 1.5px solid var(--fp-border); border-radius: var(--fp-radius-sm); font-family: var(--fp-font); font-size: var(--fp-text-md); background: #f8fafc; color: var(--fp-text-main); outline: none; margin-bottom: 10px; transition: border-color var(--fp-transition); }
.fp-sp-calc-sel:focus, .fp-sp-calc-inp:focus { border-color: var(--fp-primary); background: #fff; }
.fp-sp-calc-result { background: #f0fdf4; border: 1.5px solid #bbf7d0; border-radius: var(--fp-radius-sm); padding: 12px; text-align: center; }
.fp-sp-calc-result-lbl { font-size: var(--fp-text-base); color: #15803d; font-weight: 600; display: block; margin-bottom: 2px; }
.fp-sp-calc-result-amt { font-size: var(--fp-text-xl2); font-weight: 900; color: #15803d; display: block; }
.fp-sp-rates-tbl { width: 100%; border-collapse: collapse; font-size: var(--fp-text-base); }
.fp-sp-rates-tbl th { text-align: left; padding: 7px 8px; color: var(--fp-text-muted); font-weight: 700; font-size: var(--fp-text-sm); border-bottom: 2px solid var(--fp-border); text-transform: uppercase; letter-spacing: 0.5px; }
.fp-sp-rates-tbl td { padding: 9px 8px; border-bottom: 1px solid var(--fp-border); font-weight: 500; }
.fp-sp-rates-tbl tr:last-child td { border-bottom: none; }
.fp-sp-rates-tbl td.rate-val { font-weight: 800; color: var(--fp-green); }
.fp-sp-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.fp-sp-step { display: flex; align-items: flex-start; gap: 10px; }
.fp-sp-step-num { width: 22px; height: 22px; flex-shrink: 0; background: var(--fp-primary); color: var(--fp-text-main); border-radius: var(--fp-radius-circle); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: var(--fp-text-sm); }
.fp-sp-step-body strong { display: block; font-size: var(--fp-text-md); font-weight: 700; color: var(--fp-text-main); }
.fp-sp-step-body span { font-size: var(--fp-text-base); color: var(--fp-text-muted); }

/* ---- Main Content ---- */
.fp-sp-main { flex: 1; min-width: 0; }

/* ---- Tabs — Prominent Design ---- */
.fp-sp-tabs-nav { display: flex; gap: 2px; background: #fff; border-radius: var(--fp-radius-md); border: 1.5px solid var(--fp-border); padding: 4px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.fp-sp-tabs-nav::-webkit-scrollbar { display: none; }
.fp-sp-tab-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 3px; background: transparent; border: none; padding: 9px 8px; font-size: var(--fp-text-sm); font-weight: 800; color: var(--fp-text-muted); cursor: pointer; white-space: nowrap; font-family: var(--fp-font); transition: all var(--fp-transition); border-radius: var(--fp-radius-9); flex-shrink: 0; min-width: 0; }
.fp-sp-tab-btn svg { width: 13px; height: 13px; flex-shrink: 0; opacity: 0.5; transition: opacity var(--fp-transition); }
.fp-sp-tab-btn:hover { color: var(--fp-text-main); background: #f8fafc; }
.fp-sp-tab-btn.active { background: var(--fp-text-main); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.fp-sp-tab-btn.active svg { opacity: 1; stroke: #fff; }
.fp-sp-tab-cnt { display: inline-flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.06); color: inherit; font-size: var(--fp-text-xs); font-weight: 800; min-width: 16px; height: 16px; padding: 0 3px; border-radius: var(--fp-radius-xs); margin-left: 1px; }
.fp-sp-tab-btn.active .fp-sp-tab-cnt { background: rgba(255,255,255,0.2); color: #fff; }
.fp-sp-tab-pane { display: none; animation: fpFadeUp 0.22s ease; }
.fp-sp-tab-pane.active { display: block; }
@keyframes fpFadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ---- In-Tab Filters ---- */
.fp-sp-tab-filters { background: #fff; border-radius: var(--fp-radius-md); border: 1px solid var(--fp-border); padding: 12px; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.06); }
.fp-sp-filter-pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.fp-sp-filter-pills::-webkit-scrollbar { display: none; }
.fp-sp-fpill { flex-shrink: 0; white-space: nowrap; background: #f8fafc; border: 1.5px solid var(--fp-border); padding: 6px 14px; border-radius: var(--fp-radius-pill); font-size: var(--fp-text-base); font-weight: 700; color: var(--fp-text-muted); cursor: pointer; transition: all var(--fp-transition); font-family: var(--fp-font); }
.fp-sp-fpill:hover { border-color: var(--fp-text-main); color: var(--fp-text-main); }
.fp-sp-fpill.active { background: var(--fp-text-main); color: #fff; border-color: var(--fp-text-main); }
/* Advanced Filter Toggle */
.fp-sp-filter-toggle { display: flex; align-items: center; gap: 6px; margin-top: 10px; background: none; border: 1.5px solid var(--fp-border); border-radius: var(--fp-radius-sm); padding: 8px 14px; font-family: var(--fp-font); font-size: var(--fp-text-base); font-weight: 700; color: var(--fp-text-muted); cursor: pointer; transition: all var(--fp-transition); width: 100%; }
.fp-sp-filter-toggle:hover, .fp-sp-filter-toggle.active { border-color: var(--fp-text-main); color: var(--fp-text-main); }
.fp-sp-filter-toggle svg { flex-shrink: 0; }
.fp-sp-filter-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; background: var(--fp-primary); color: var(--fp-text-main); font-size: var(--fp-text-xs); font-weight: 900; border-radius: var(--fp-radius-circle); margin-left: auto; }
/* Advanced Filter Bar (collapsible) */
.fp-sp-filter-bar { display: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--fp-border); animation: fpFadeUp 0.22s ease; }
.fp-sp-filter-bar.open { display: block; }
.fp-sp-filter-bar-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.fp-sp-filter-select { width: 100%; padding: 8px 10px; border: 1.5px solid var(--fp-border); border-radius: var(--fp-radius-sm); font-family: var(--fp-font); font-size: var(--fp-text-base); font-weight: 600; background: #f8fafc; color: var(--fp-text-main); outline: none; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; cursor: pointer; transition: border-color var(--fp-transition); }
.fp-sp-filter-select:focus { border-color: var(--fp-primary); background-color: #fff; }
.fp-sp-filter-inp { width: 100%; padding: 9px 12px; border: 1.5px solid var(--fp-border); border-radius: var(--fp-radius-sm); font-family: var(--fp-font); font-size: var(--fp-text-base); background: #f8fafc; color: var(--fp-text-main); outline: none; }
.fp-sp-filter-inp:focus { border-color: var(--fp-primary); background: #fff; }

/* ---- AI Smart Stacking (Premium White & Animated Shadow) ---- */
.fp-sp-ai-stack { position: relative; border-radius: var(--fp-radius-md); background: #fff; margin-bottom: 24px; padding: 14px 16px; z-index: 1; display: flex; flex-direction: column; gap: 12px; /* The animated shadow */ animation: fpAiStackShadow 3s ease-in-out infinite alternate; }

@keyframes fpAiStackShadow {
    0% { box-shadow: 0 8px 35px rgba(6, 182, 212, 0.45), 0 0 0 1px rgba(0,0,0,0.03); }
    50% { box-shadow: 0 8px 40px rgba(168, 85, 247, 0.45), 0 0 0 1px rgba(0,0,0,0.03); }
    100% { box-shadow: 0 8px 35px rgba(34, 197, 94, 0.45), 0 0 0 1px rgba(0,0,0,0.03); }
}

/* Header */
.fp-sp-ai-stack-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px dashed var(--fp-border); padding-bottom: 10px; }
.fp-sp-ai-stack-title-wrap { display: flex; align-items: center; gap: 6px; color: var(--fp-text-main); font-weight: 900; font-size: var(--fp-text-md); letter-spacing: 0.3px; }
.fp-sp-ai-stack-total-save { font-size: var(--fp-text-base); font-weight: 900; color: #fff; background: linear-gradient(135deg, #2ecc71, #2ecc71); padding: 5px 12px; border-radius: var(--fp-radius-20); border: none; box-shadow: 0 2px 8px rgba(34,197,94,0.3); }

/* Layers */
.fp-sp-ai-stack-layers { display: flex; flex-direction: column; gap: 6px; }
.fp-sp-ai-stack-itm { display: flex; align-items: baseline; gap: 8px; font-size: var(--fp-text-base); }
.fp-sp-ai-stack-bullet { color: #a855f7; font-size: var(--fp-text-3xs); transform: translateY(-2px); }
.fp-sp-ai-stack-itm-lbl { color: var(--fp-text-muted); flex: 1; font-weight: 500;}
.fp-sp-ai-stack-itm-lbl strong { color: var(--fp-text-main); font-weight: 700; margin-left: 2px; }
.fp-sp-ai-stack-itm-val { color: #16a34a; font-weight: 800; font-family: monospace; font-size: var(--fp-text-base); }

/* Apply CTA (Solid Black) */
.fp-sp-ai-stack-btn { width: 100%; margin-top: 4px; background: #000; color: #fff; font-family: var(--fp-font); font-weight: 900; font-size: var(--fp-text-base); border: none; padding: 12px; border-radius: var(--fp-radius-sm); cursor: pointer; transition: all var(--fp-transition); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.fp-sp-ai-stack-btn:hover { background: #222; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }

/* ==========================================================================
   COUPON CARDS — Ticket Style (fp-cc) (V4 Redesign)
   ========================================================================== */
.fp-cc { background: #fff; border-radius: var(--fp-radius-14); border: 1px solid var(--fp-border); margin-bottom: 16px; display: flex; flex-direction: column; overflow: hidden; transition: all 0.3s cubic-bezier(.4,0,.2,1); box-shadow: 0 1px 3px rgba(0,0,0,.03), 0 4px 12px rgba(0,0,0,.04); }
.fp-cc:hover { border-color: #a5b4fc; box-shadow: 0 8px 32px rgba(99,102,241,.12), 0 4px 16px rgba(0,0,0,.06); transform: translateY(-4px); }
.fp-cc.is-pinned { border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #1e1b4b, #0f172a, #000000); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 4px 20px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04); }
.fp-cc.is-pinned:hover { box-shadow: 0 12px 40px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.08); transform: translateY(-4px); }

/* Main row for desktop */
.fp-cc-main { display: flex; align-items: stretch; }

/* Left Stub (Discount) */
.fp-cc-left { min-width: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 20px; flex-shrink: 0; }
.fp-cc-discount-val { font-size: var(--fp-text-4xl); font-weight: 900; color: var(--fp-text-main); line-height: 1; letter-spacing: -1px; }
.fp-cc-discount-unit { font-size: var(--fp-text-base); font-weight: 800; color: var(--fp-text-muted); text-transform: uppercase; margin-top: 4px; letter-spacing: 0.5px; }

/* Dashed divider */
.fp-cc-divider { width: 1px; background: repeating-linear-gradient(to bottom, var(--fp-border) 0, var(--fp-border) 6px, transparent 6px, transparent 12px); margin: 0 10px; position: relative; }

/* Center Info */
.fp-cc-center { flex: 1; padding: 24px 20px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.fp-cc-tags { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; align-items: center; }
.fp-cc-tag { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fp-text-xs); font-weight: 700; padding: 4px 10px; border-radius: var(--fp-radius-pill); text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; border: none; }
.fp-cc-pinned { background: #000; color: #fff; }
.fp-cc-type-code { display: none; }
.fp-cc-type-deal { display: none; }
.fp-cc-type-bank { display: none; }
.fp-cc-cashback { background: linear-gradient(135deg, #2ecc71, #2ecc71); color: #fff; border: none; font-weight: 700; font-size: var(--fp-text-xs); padding: 4px 10px; border-radius: var(--fp-radius-pill); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

.fp-cc-title { font-size: var(--fp-text-lg); font-weight: 800; color: var(--fp-text-main); margin: 0 0 12px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Metrics / Meta */
.fp-cc-metrics { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: var(--fp-text-sm); font-weight: 600; color: var(--fp-text-muted); }
.fp-cc-metric-fire { color: #fff; background: linear-gradient(135deg, #ef4444, #dc2626); padding: 2px 8px; border-radius: var(--fp-radius-6); display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.fp-cc-metric-new { color: #fff; background: linear-gradient(135deg, #8b5cf6, #7c3aed); border: none; padding: 2px 8px; border-radius: var(--fp-radius-6); font-weight: 700; }
.fp-cc-metric-ends { color: #92400e; background: #fef3c7; padding: 2px 8px; border-radius: var(--fp-radius-6); font-weight: 700; }
.fp-cc-success { color: #2ecc71; }
.fp-cc-used { color: var(--fp-text-muted); }

/* Right action area */
.fp-cc-right { min-width: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; flex-shrink: 0; }
@keyframes fpShimmer { 0% { left: -100%; } 100% { left: 200%; } }
.fp-cc-btn { width: 100%; padding: 14px 20px; background: linear-gradient(135deg, #2ecc71, #16a34a); color: #fff; border-radius: var(--fp-radius-10); font-weight: 800; font-size: var(--fp-text-md); border: none; cursor: pointer; transition: all 0.3s cubic-bezier(.4,0,.2,1); font-family: var(--fp-font); box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3); display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; position: relative; overflow: hidden; }
.fp-cc-btn::after { content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); animation: fpShimmer 3s ease-in-out infinite; pointer-events: none; }
.fp-cc-btn:hover { background: linear-gradient(135deg, #16a34a, #15803d); box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4); transform: translateY(-2px) scale(1.02); }
.fp-cc-btn:active { transform: translateY(0) scale(0.98); box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3); }

/* Bottom footer for Details/Terms */
.fp-cc-footer { border-top: 1px solid var(--fp-border); padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; background: #fafafa; font-size: var(--fp-text-base); color: #64748b; }
.fp-cc-desc { margin: 0; font-weight: 500; }
.fp-cc-footer-actions { display: flex; align-items: center; gap: 16px; }

/* Votes in footer */
.fp-cc-vote-group { display: flex; align-items: center; gap: 6px; }
.fp-cc-vote-btn { background: #fff; border: 1px solid var(--fp-border); border-radius: var(--fp-radius-6); padding: 3px 8px; font-size: var(--fp-text-sm); color: var(--fp-text-muted); cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 4px; font-family: var(--fp-font); font-weight: 600; }
.fp-cc-vote-btn:hover { border-color: var(--fp-green); background: #f0fdf4; color: #15803d; }
.fp-cc-vote-no:hover { border-color: var(--fp-red); background: #fef2f2; color: #dc2626; }

.fp-cc-details-toggle { background: none; border: none; color: var(--fp-text-main); font-weight: 700; cursor: pointer; font-size: var(--fp-text-base); padding: 0; font-family: var(--fp-font); white-space: nowrap; }
.fp-cc-details-toggle:hover { text-decoration: underline; color: #16a34a; }

/* Vote modifiers */
.fp-sp-voted { opacity: 0.4; }
.fp-sp-vote-selected { opacity: 1 !important; font-weight: 800; }

/* ==========================================================================
   MOBILE RESPONSIVENESS (Compact App-Like Ticket)
   ========================================================================== */
@media (max-width: 900px) {
    .fp-cc { margin-bottom: 12px; border-radius: var(--fp-radius-10); }
    
    /* Use Grid to tightly pack the ticket layout on mobile */
    .fp-cc-main {
        display: grid;
        grid-template-columns: 22% 1px 1fr; /* Narrower left stub to prevent overflow */
        grid-template-rows: auto auto;
        padding: 0;
        align-items: center;
    }
    
    /* Left (Discount) spans both rows */
    .fp-cc-left { grid-column: 1; grid-row: 1 / span 2; padding: 10px 4px; text-align: center; justify-content: center; overflow: hidden; }
    .fp-cc-discount-val { font-size: var(--fp-text-lg); letter-spacing: -0.5px; word-wrap: break-word; overflow-wrap: break-word; line-height: 1.1; display: block; } 
    .fp-cc-discount-unit { font-size: var(--fp-text-xs); margin-top: 2px; display: block; }
    
    /* Vertical divider */
    .fp-cc-divider { grid-column: 2; grid-row: 1 / span 2; width: 1px; margin: 12px 0; background: repeating-linear-gradient(to bottom, var(--fp-border) 0, var(--fp-border) 5px, transparent 5px, transparent 10px); height: calc(100% - 24px); }
    .fp-cc-divider::before, .fp-cc-divider::after { display: none; }
    
    /* Center (Title & Tags) */
    .fp-cc-center { grid-column: 3; grid-row: 1; padding: 14px 14px 6px; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; } /* min-width 0 allows text truncation */
    .fp-cc-tags { gap: 4px; margin-bottom: 6px; }
    .fp-cc-tag { font-size: var(--fp-text-xs); padding: 2px 5px; }
    .fp-cc-cashback { font-size: var(--fp-text-xs); padding: 2px 5px; }
    .fp-cc-title { font-size: var(--fp-text-md); margin-bottom: 6px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; white-space: normal; width: 100%; }
    .fp-cc-metrics { font-size: var(--fp-text-xs); gap: 8px; }
    
    /* Right Action area tucks under center */
    .fp-cc-right { grid-column: 3; grid-row: 2; padding: 4px 14px 14px; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
    .fp-cc-btn { padding: 8px 14px; font-size: var(--fp-text-base); border-radius: var(--fp-radius-6); margin: 0; width: 100%; justify-content: center; }
    
    /* Footer stacks simply */
    .fp-cc-footer { flex-direction: column; align-items: flex-start; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--fp-border); }
    .fp-cc-desc { font-size: var(--fp-text-sm); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } 
    .fp-cc-footer-actions { width: 100%; justify-content: space-between; }
}

/* IN-FEED PROMO BANNER (Animated App-like Modern CTA) */
@keyframes fpInfeedGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
    50% { transform: scale(1.4) translate(-10%, 10%); opacity: 0.9; }
    100% { transform: scale(1) translate(0, 0); opacity: 0.6; }
}

.fp-cc-infeed { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; background: #0f172a; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--fp-radius-lg); padding: 24px 28px; margin: 24px 0; position: relative; overflow: hidden; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25); transition: all var(--fp-transition); }

/* Ambient Animated Glows */
.fp-cc-infeed::before, .fp-cc-infeed::after { content: ''; position: absolute; pointer-events: none; z-index: 0; border-radius: var(--fp-radius-circle); filter: blur(50px); animation: fpInfeedGlow 8s ease-in-out infinite alternate; }
.fp-cc-infeed::before { top: -20%; right: -10%; width: 300px; height: 300px; background: rgba(168,85,247,0.4); }
.fp-cc-infeed::after { bottom: -30%; left: 20%; width: 250px; height: 250px; background: rgba(56,189,248,0.25); animation-delay: -4s; }

.fp-cc-infeed:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(15, 23, 42, 0.4); border-color: rgba(255,255,255,0.15); }

.fp-cc-infeed-left { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; flex: 1; }
.fp-cc-infeed-title { font-size: var(--fp-text-xl); font-weight: 900; color: #ffffff; line-height: 1.2; margin: 0; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.fp-cc-infeed-sub { font-size: var(--fp-text-md); color: #cbd5e1; line-height: 1.4; max-width: 440px; margin: 0 0 4px; }

/* Overlapping Browser Logos (Now 5) */
.fp-cc-infeed-browsers { display: flex; align-items: center; margin-top: 6px; }
.fp-cc-infeed-browser { width: 32px; height: 32px; border-radius: var(--fp-radius-circle); background: #ffffff; border: 2px solid #0f172a; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.4); margin-left: -12px; position: relative; transition: transform 0.2s; }
.fp-cc-infeed-browser:first-child { margin-left: 0; z-index: 5; }
.fp-cc-infeed-browser:nth-child(2) { z-index: 4; }
.fp-cc-infeed-browser:nth-child(3) { z-index: 3; }
.fp-cc-infeed-browser:nth-child(4) { z-index: 2; }
.fp-cc-infeed-browser:nth-child(5) { z-index: 1; }
.fp-cc-infeed-browser:hover { transform: translateY(-4px); z-index: 10 !important; }
.fp-cc-infeed-browser svg { width: 18px; height: 18px; }

.fp-cc-infeed-right { position: relative; z-index: 1; flex-shrink: 0; }
.fp-cc-infeed-cta { background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%); color: #ffffff; border: 1px solid rgba(255,255,255,0.2); padding: 14px 28px; border-radius: var(--fp-radius-40); font-size: var(--fp-text-md); font-weight: 800; cursor: pointer; text-decoration: none; transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4); text-shadow: 0 1px 2px rgba(0,0,0,0.2); white-space: nowrap; }
.fp-cc-infeed-cta:hover { background: linear-gradient(135deg, #b875f8 0%, #9333ea 100%); box-shadow: 0 8px 25px rgba(147, 51, 234, 0.6); transform: scale(1.02); }

/* Hyper-Compact Mobile Layout */
@media (max-width: 800px) {
    .fp-cc-infeed { padding: 16px 18px; gap: 14px; flex-direction: column; align-items: flex-start; border-radius: var(--fp-radius-md); margin: 16px 0; }
    
    .fp-cc-infeed-left { gap: 6px; }
    .fp-cc-infeed-title { font-size: var(--fp-text-lg); }
    .fp-cc-infeed-sub { font-size: var(--fp-text-base); line-height: 1.3; margin: 0; }
    
    .fp-cc-infeed-browsers { margin-top: 4px; }
    .fp-cc-infeed-browser { width: 28px; height: 28px; border-width: 1.5px; margin-left: -8px; }
    .fp-cc-infeed-browser svg { width: 14px; height: 14px; }
    
    .fp-cc-infeed-right { width: 100%; display: flex; }
    .fp-cc-infeed-cta { width: 100%; padding: 12px 20px; font-size: var(--fp-text-md); border-radius: var(--fp-radius-md); } /* Rounded square is often more compact than pill on mobile */
}

/* LOAD MORE */
.fp-sp-load-more { display: block; width: 100%; background: #000; border: none; border-radius: var(--fp-radius-md); padding: 14px; font-family: var(--fp-font); font-size: var(--fp-text-md); font-weight: 800; color: #fff; cursor: pointer; text-align: center; margin-top: 4px; transition: all var(--fp-transition); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.fp-sp-load-more:hover { background: #222; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.2); }

/* ==========================================================================
   COUPON CODE POPUP (fp-cp) — Bottom Sheet
   ========================================================================== */
.fp-cp { position: fixed; inset: 0; z-index: 99997; display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.fp-cp.active { opacity: 1; pointer-events: all; }
.fp-cp-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.fp-cp-card { position: relative; background: #fff; border-radius: var(--fp-radius-xl) 24px 0 0; width: 100%; max-width: 540px; padding: 10px 24px 32px; transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; gap: 14px; }
.fp-cp.active .fp-cp-card { transform: translateY(0); }
.fp-cp-card::before { content: ''; display: block; width: 40px; height: 4px; background: #e2e8f0; border-radius: var(--fp-radius-2); margin: 8px auto 4px; }
/* Close */
.fp-cp-close { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: var(--fp-radius-circle); background: #f1f5f9; border: none; display: flex; align-items: center; justify-content: center; font-size: var(--fp-text-lg2); color: var(--fp-text-muted); cursor: pointer; line-height: 1; transition: all var(--fp-transition); }
.fp-cp-close:hover { background: #e2e8f0; color: var(--fp-text-main); }
/* Store row */
.fp-cp-store-row { display: flex; align-items: center; gap: 10px; }
.fp-cp-store-logo { width: 36px; height: 36px; border: 1px solid var(--fp-border); border-radius: var(--fp-radius-10); overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; padding: 4px; flex-shrink: 0; }
.fp-cp-store-logo img { width: 100%; height: 100%; object-fit: contain; }
.fp-cp-type-badge { font-size: var(--fp-text-xs2); font-weight: 900; letter-spacing: 0.8px; text-transform: uppercase; padding: 3px 10px; border-radius: var(--fp-radius-xs); background: #eff6ff; color: #1d4ed8; }
/* Code instruction */
.fp-cp-instruction { font-size: var(--fp-text-base); color: var(--fp-text-muted); font-weight: 600; margin: 0 0 6px; text-align: center; }
/* Code box */
.fp-cp-code-box { display: flex; align-items: center; gap: 10px; border: 2.5px dashed #d1d5db; border-radius: var(--fp-radius-14); padding: 14px 16px; background: #f8fafc; cursor: pointer; transition: all var(--fp-transition); }
.fp-cp-code-box:hover, .fp-cp-code-box:focus-within { border-color: var(--fp-primary); background: #fffef5; }
.fp-cp-code-text { font-family: var(--fp-font-mono); font-size: var(--fp-text-2xl); font-weight: 900; color: var(--fp-text-main); letter-spacing: 3px; flex: 1; text-align: center; }
.fp-cp-copy-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--fp-primary); color: var(--fp-text-main); border: none; padding: 10px 18px; border-radius: var(--fp-radius-10); font-size: var(--fp-text-base); font-weight: 900; cursor: pointer; white-space: nowrap; transition: all var(--fp-transition); font-family: var(--fp-font); flex-shrink: 0; }
.fp-cp-copy-btn:hover { background: #fde047; }
.fp-cp-copy-btn.copied { background: var(--fp-green) !important; color: #fff; }
.fp-cp-copy-hint { font-size: var(--fp-text-sm); color: var(--fp-text-muted); text-align: center; margin: -6px 0 0; }
/* Deal activated */
.fp-cp-deal-wrap { text-align: center; padding: 8px 0; }
.fp-cp-deal-icon { display: flex; justify-content: center; margin-bottom: 10px; }
.fp-cp-deal-title { font-size: var(--fp-text-lg2); font-weight: 900; color: var(--fp-text-main); margin: 0 0 6px; }
.fp-cp-deal-sub { font-size: var(--fp-text-base); color: var(--fp-text-muted); margin: 0; }
/* Cashback bar */
.fp-cp-cb-bar { display: flex; align-items: center; gap: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--fp-radius-10); padding: 12px 16px; font-size: var(--fp-text-base); font-weight: 600; color: #15803d; }
.fp-cp-cb-bar svg { stroke: var(--fp-green); flex-shrink: 0; }
/* Go to store */
.fp-cp-go-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--fp-primary); color: var(--fp-text-main); border: none; padding: 16px; border-radius: var(--fp-radius-14); font-size: var(--fp-text-md); font-weight: 900; text-decoration: none; cursor: pointer; transition: all var(--fp-transition); font-family: var(--fp-font); box-shadow: 0 4px 16px rgba(250,204,21,0.35); }
.fp-cp-go-btn:hover { background: #fde047; box-shadow: 0 6px 24px rgba(250,204,21,0.45); }
/* Trust text */
.fp-cp-trust { font-size: var(--fp-text-sm); color: var(--fp-text-muted); text-align: center; margin: -6px 0 0; }

/* Desktop: center the popup */
@media (min-width: 768px) {
    .fp-cp { align-items: center; }
    .fp-cp-card { border-radius: var(--fp-radius-20); max-width: 460px; padding: 28px 28px 32px; }
    .fp-cp-card::before { display: none; }
}

/* ---- Deal Grid (Premium Depth) ---- */
.fp-sp-deal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fp-sp-deal-card { background: #fff; border-radius: var(--fp-radius-14); border: 1.5px solid var(--fp-border); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.06); transition: all var(--fp-transition); }
.fp-sp-deal-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,.06), 0 12px 28px rgba(0,0,0,.10); }
.fp-sp-deal-img-box { position: relative; aspect-ratio: 1/1; background: #f8fafc; border-bottom: 1px solid var(--fp-border); display: flex; align-items: center; justify-content: center; padding: 14px; overflow: hidden; }
.fp-sp-deal-img-box img { height: 100%; width: 100%; object-fit: contain; }
.fp-sp-deal-loot-badge { position: absolute; top: 8px; left: 8px; background: var(--fp-red); color: #fff; font-size: var(--fp-text-xs2); font-weight: 900; padding: 3px 8px; border-radius: var(--fp-radius-5); letter-spacing: 0.5px; }
.fp-sp-deal-ai-badge { position: absolute; top: 8px; right: 8px; background: #fef9c3; color: #78350f; font-size: var(--fp-text-xs2); font-weight: 800; padding: 3px 6px; border-radius: var(--fp-radius-5); border: 1px solid #fde68a; }
.fp-sp-deal-body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.fp-sp-deal-title { font-size: var(--fp-text-base); font-weight: 700; color: var(--fp-text-main); line-height: 1.3; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fp-sp-deal-prices { display: flex; align-items: baseline; gap: 6px; margin-bottom: 5px; }
.fp-sp-deal-price { font-size: var(--fp-text-lg); font-weight: 900; color: var(--fp-text-main); }
.fp-sp-deal-mrp { font-size: var(--fp-text-sm); color: #94a3b8; text-decoration: line-through; }
.fp-sp-deal-discount-pct { font-size: var(--fp-text-sm); font-weight: 800; color: var(--fp-red); background: #fff1f2; padding: 2px 5px; border-radius: var(--fp-radius-xs); }
.fp-sp-deal-cb-label { font-size: var(--fp-text-sm); font-weight: 700; color: #15803d; background: #dcfce7; padding: 3px 7px; border-radius: var(--fp-radius-xs); margin-bottom: 8px; align-self: flex-start; }
.fp-sp-deal-actions { display: flex; gap: 6px; margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--fp-border); }
.fp-sp-deal-vote { background: none; border: 1px solid var(--fp-border); border-radius: var(--fp-radius-5); padding: 4px 8px; font-size: var(--fp-text-sm); cursor: pointer; color: var(--fp-text-muted); transition: all var(--fp-transition); font-family: var(--fp-font); }
.fp-sp-deal-vote:hover { border-color: var(--fp-text-main); color: var(--fp-text-main); }
.fp-sp-deal-grab-btn { margin-top: 10px; width: 100%; background: var(--fp-primary); color: var(--fp-text-main); border: none; padding: 9px; border-radius: var(--fp-radius-sm); font-weight: 900; font-size: var(--fp-text-base); cursor: pointer; transition: background var(--fp-transition); }
.fp-sp-deal-grab-btn:hover { background: #fde047; }

/* ==========================================================================
   PRICE HISTORY — Next-Level Tracker Design
   ========================================================================== */
.fp-sp-nxl-tracker-card { background: #fff; border-radius: var(--fp-radius-20); border: 1px solid var(--fp-border); padding: 32px 24px; text-align: center; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.03); margin-top: 10px; }

/* Header Elements */
.fp-sp-nxl-tracker-hd { margin-bottom: 28px; }
.fp-sp-nxl-tracker-icon { width: 56px; height: 56px; border-radius: var(--fp-radius-lg); background: linear-gradient(135deg, #2ecc71, #2ecc71); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25); }
.fp-sp-nxl-tracker-title { font-size: var(--fp-text-2xl2); font-weight: 900; color: var(--fp-text-main); margin-bottom: 8px; letter-spacing: -0.5px; }
.fp-sp-nxl-tracker-sub { font-size: var(--fp-text-md); color: var(--fp-text-muted); max-width: 500px; margin: 0 auto; line-height: 1.5; }

/* Modern Animated Form Pill */
.fp-sp-nxl-tracker-form-wrap { max-width: 580px; margin: 0 auto 40px; position: relative; display: flex; align-items: stretch; background: #fff; border-radius: var(--fp-radius-pill); border: 2px solid #e2e8f0; padding: 4px 6px 4px 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.02); transition: border-color var(--fp-transition); }
.fp-sp-nxl-tracker-form-wrap:focus-within { border-color: #2ecc71; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1); }
.fp-sp-nxl-tracker-input { flex: 1; min-width: 0; background: transparent; border: none; padding: 12px 0; font-size: var(--fp-text-md); font-family: var(--fp-font); color: var(--fp-text-main); font-weight: 600; outline: none; position: relative; z-index: 2; }

/* The placeholder wrapper must take up space so it doesn't get clipped */
.fp-sp-nxl-tracker-placeholder { position: absolute; left: 24px; top: 0; bottom: 0; font-size: var(--fp-text-md); color: #94a3b8; pointer-events: none; z-index: 1; font-weight: 500; display: flex; align-items: center; gap: 4px; transition: opacity 0.2s ease; width: calc(100% - 140px); overflow: hidden; white-space: nowrap; }
#fpNxlTypingText { color: var(--fp-text-main); font-weight: 700; border-right: 2px solid #2ecc71; padding-right: 4px; animation: fpBlinkCursor 1s step-end infinite; }
@keyframes fpBlinkCursor { 50% { border-color: transparent; } }

.fp-sp-nxl-tracker-btn { background: var(--fp-primary); color: var(--fp-text-main); border: none; padding: 0 28px; border-radius: var(--fp-radius-40); font-weight: 900; font-size: var(--fp-text-md); cursor: pointer; transition: all var(--fp-transition); letter-spacing: -0.2px; height: 42px; align-self: center; }
.fp-sp-nxl-tracker-btn:hover { background: #fde047; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(250, 204, 21, 0.4); }

/* The Modern Bar Chart Visualizer */
.fp-sp-nxl-bar-chart { display: flex; align-items: flex-end; justify-content: center; gap: 16px; height: 160px; margin: 0 auto 20px; padding-top: 20px; }
.fp-sp-nxl-bar-col { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }

/* The Bar Itself */
.fp-sp-nxl-bar { width: 32px; background: #e2e8f0; border-radius: var(--fp-radius-6) 6px 0 0; transition: background var(--fp-transition); }

/* The Values & Months */
.fp-sp-nxl-bar-val { font-size: var(--fp-text-sm); font-weight: 800; color: #64748b; margin-bottom: 2px; }
.fp-sp-nxl-bar-month { font-size: var(--fp-text-sm); font-weight: 700; color: #94a3b8; margin-top: 4px; }

/* The Lowest Price Highlight */
.fp-sp-nxl-bar-col.is-lowest .fp-sp-nxl-bar { background: #2ecc71; }
.fp-sp-nxl-bar-col.is-lowest .fp-sp-nxl-bar-val { color: #2ecc71; }

/* The Hint Text at the Bottom */
.fp-sp-nxl-chart-hint { text-align: center; font-size: var(--fp-text-base); font-weight: 600; color: #94a3b8; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; }
.fp-sp-nxl-chart-hint .hint-dot { display: inline-block; width: 12px; height: 12px; border-radius: var(--fp-radius-circle); background: #2ecc71; }

/* Mobile Adjustments */
@media (max-width: 600px) {
    .fp-sp-nxl-tracker-card { padding: 24px 16px; }
    .fp-sp-nxl-tracker-title { font-size: var(--fp-text-xl); }
    .fp-sp-nxl-tracker-form-wrap { flex-direction: column; border-radius: var(--fp-radius-lg); padding: 12px; gap: 12px; background: #f8fafc; border-color: #e2e8f0; }
    .fp-sp-nxl-tracker-input { padding: 30px 10px 10px; font-size: var(--fp-text-md); text-align: center; }
    .fp-sp-nxl-tracker-placeholder { left: 50%; transform: translateX(-50%); top: 12px; bottom: auto; justify-content: center; width: 100%; font-size: var(--fp-text-base); height: auto; }
    .fp-sp-nxl-tracker-btn { width: 100%; padding: 14px; border-radius: var(--fp-radius-10); }
    .fp-sp-nxl-bar-chart { gap: 10px; height: 140px; }
    .fp-sp-nxl-bar { width: 24px; }
    .fp-sp-nxl-bar-val, .fp-sp-nxl-bar-month { font-size: var(--fp-text-xs); }
    .fp-sp-nxl-chart-hint { font-size: var(--fp-text-sm); }
}

/* ---- Bottom Sections (Premium Depth) ---- */
.fp-sp-section { background: #fff; border-radius: var(--fp-radius-lg); border: 1.5px solid var(--fp-border); padding: 20px; margin-top: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.06); transition: all var(--fp-transition); }
.fp-sp-section:hover { box-shadow: 0 4px 8px rgba(0,0,0,.06), 0 12px 28px rgba(0,0,0,.10); }
.fp-sp-section-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.fp-sp-section-title { font-size: var(--fp-text-lg); font-weight: 900; color: var(--fp-text-main); margin: 0; }
.fp-sp-see-all { font-size: var(--fp-text-base); font-weight: 700; color: var(--fp-secondary); text-decoration: none; }
.fp-sp-see-all:hover { text-decoration: underline; }
/* ---- Slider Navigation Arrows ---- */
.fp-sp-slider-nav { display: flex; align-items: center; gap: 6px; }
.fp-sp-slider-arrow { width: 32px; height: 32px; border-radius: var(--fp-radius-circle); border: 1.5px solid var(--fp-border); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--fp-text-muted); transition: all var(--fp-transition); flex-shrink: 0; }
.fp-sp-slider-arrow:hover { border-color: var(--fp-text-main); color: var(--fp-text-main); background: #f8fafc; }
.fp-sp-slider-arrow:active { transform: scale(0.92); }
/* ---- Related Store Cards (Slider) ---- */
.fp-sp-stores-slider { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; scroll-snap-type: x mandatory; scroll-behavior: smooth; }
.fp-sp-stores-slider::-webkit-scrollbar { display: none; }
/* ---- Related Store Cards (Premium 3D Ticket) ---- */
.fp-sp-3d-card { display: flex; flex-direction: column; width: 130px; flex-shrink: 0; scroll-snap-align: start; background: #fff; border-radius: var(--fp-radius-md); overflow: hidden; text-decoration: none; color: inherit; cursor: pointer; transition: all var(--fp-transition); border: 1px solid var(--fp-border); box-shadow: 0 4px 12px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.02); margin-top: 4px; margin-bottom: 8px; }
.fp-sp-3d-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04); border-color: #cbd5e1; }

/* Top Yellow Badge Area */
.fp-sp-3d-card-top { background: var(--fp-primary); color: #000; font-size: var(--fp-text-xs); font-weight: 800; text-align: center; padding: 6px 4px; line-height: 1.1; letter-spacing: -0.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid rgba(0,0,0,0.05); }

/* Mid White Logo Area */
.fp-sp-3d-card-mid { background: #fff; display: flex; align-items: center; justify-content: center; height: 80px; padding: 12px; flex-grow: 1; }
.fp-sp-3d-card-mid img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; margin: auto; }

/* Bottom Grey Footer Area */
.fp-sp-3d-card-bot { background: #f8fafc; border-top: 1px solid var(--fp-border); padding: 5px 4px; display: flex; align-items: center; justify-content: center; min-height: 22px; }
.fp-sp-3d-card-bot span { font-size: var(--fp-text-xs); font-weight: 700; color: #64748b; letter-spacing: -0.1px; }

/* Mobile Calibration: Show exactly ~2.8 cards to hint at scrolling */
@media (max-width: 600px) {
    .fp-sp-3d-card { width: 30vw; }
}

/* ==========================================================================
   SHARE & EARN — Modern "Billion Dollar App" Design
   ========================================================================== */
.fp-sp-nxl-share-card { background: #fff; border-radius: var(--fp-radius-lg); border: 1px solid var(--fp-border); padding: 24px; margin-top: 20px; position: relative; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.03), 0 1px 3px rgba(0,0,0,0.02); }
/* Subtle glowing top border accent */
.fp-sp-nxl-share-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #2ecc71, #2ecc71, #2ecc71); opacity: 0.8; }

.fp-sp-nxl-share-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.fp-sp-nxl-share-icon-wrap { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--fp-radius-md); background: #ecfdf5; display: flex; align-items: center; justify-content: center; color: #2ecc71; }
.fp-sp-nxl-share-title { font-size: var(--fp-text-lg); font-weight: 900; color: var(--fp-text-main); margin: 0 0 3px; letter-spacing: -0.3px; }
.fp-sp-nxl-share-subtitle { font-size: var(--fp-text-base); color: var(--fp-text-muted); margin: 0; line-height: 1.4; }

/* Ultra-Compact Steps */
.fp-sp-nxl-share-steps { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 20px; padding: 12px 16px; background: #f8fafc; border-radius: var(--fp-radius-10); border: 1px solid var(--fp-border); }
.fp-sp-nxl-share-step { display: flex; align-items: center; gap: 6px; }
.fp-sp-nxl-share-step-num { width: 20px; height: 20px; flex-shrink: 0; border-radius: var(--fp-radius-circle); background: #e2e8f0; color: #475569; font-size: var(--fp-text-xs); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.fp-sp-nxl-share-step-num-active { background: #2ecc71; color: #fff; box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3); }
.fp-sp-nxl-share-step-text { font-size: var(--fp-text-sm); font-weight: 700; color: var(--fp-text-main); white-space: nowrap; }
.fp-sp-nxl-share-step-arrow { color: #cbd5e1; display: flex; align-items: center; }

/* Dashed Copy Box */
.fp-sp-nxl-ref-row { display: flex; align-items: center; justify-content: space-between; background: #f8fafc; border: 1.5px dashed #cbd5e1; border-radius: var(--fp-radius-10); overflow: hidden; margin-bottom: 20px; }
.fp-sp-nxl-ref-field { flex: 1; min-width: 0; padding: 14px 16px; background: transparent; border: none; color: var(--fp-text-main); font-size: var(--fp-text-base); font-family: var(--fp-font-mono); font-weight: 600; outline: none; }
.fp-sp-nxl-ref-copy { background: transparent; color: var(--fp-text-main); border: none; padding: 0 16px; height: 100%; display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: var(--fp-text-base); cursor: pointer; transition: all var(--fp-transition); font-family: var(--fp-font); border-left: 1.5px dashed #cbd5e1; }
.fp-sp-nxl-ref-copy:hover { background: #f1f5f9; color: #2ecc71; }
.fp-sp-nxl-ref-copy svg { width: 16px; height: 16px; }

/* Modern Social Buttons */
.fp-sp-nxl-share-btns { display: flex; gap: 10px; margin-bottom: 16px; }
.fp-sp-nxl-share-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-radius: var(--fp-radius-10); border: none; cursor: pointer; transition: all var(--fp-transition); text-decoration: none; font-size: var(--fp-text-sm); font-weight: 800; color: #fff; flex: 1; }
.fp-sp-nxl-share-btn:hover { transform: translateY(-2px); }
.fp-sp-nxl-share-btn.wa { background: #25D366; box-shadow: 0 4px 12px rgba(37,211,102,0.2); }
.fp-sp-nxl-share-btn.wa:hover { box-shadow: 0 6px 16px rgba(37,211,102,0.3); }
.fp-sp-nxl-share-btn.tg { background: #2AABEE; box-shadow: 0 4px 12px rgba(42,171,238,0.2); }
.fp-sp-nxl-share-btn.tg:hover { box-shadow: 0 6px 16px rgba(42,171,238,0.3); }
.fp-sp-nxl-share-btn.tw { background: #0f1419; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.fp-sp-nxl-share-btn.tw:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.25); }

/* Footer Trust Line */
.fp-sp-nxl-share-footer-trust { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--fp-text-sm); font-weight: 600; color: var(--fp-text-muted); }
.fp-sp-nxl-share-footer-trust svg { color: #2ecc71; }

@media (max-width: 600px) {
    .fp-sp-nxl-share-card { padding: 18px; }
    .fp-sp-nxl-share-title { font-size: var(--fp-text-lg); }
    .fp-sp-nxl-share-steps { flex-wrap: nowrap; justify-content: space-between; gap: 4px; padding: 10px; }
    .fp-sp-nxl-share-step-arrow { display: none; }
    .fp-sp-nxl-share-step-num { width: 18px; height: 18px; font-size: var(--fp-text-xs); }
    .fp-sp-nxl-share-step-text { font-size: var(--fp-text-xs); }
    .fp-sp-nxl-ref-row { display: flex; }
    .fp-sp-nxl-ref-field { font-size: var(--fp-text-sm); padding: 12px; }
    .fp-sp-nxl-ref-copy { padding: 0 12px; font-size: var(--fp-text-sm); }
    .fp-sp-nxl-share-btns { flex-wrap: wrap; }
    .fp-sp-nxl-share-btn { width: calc(50% - 5px); flex: none; }
    .fp-sp-nxl-share-btn.tw { width: 100%; }
}

/* ---- Share & Earn — Reward-Themed Visual Card ---- */
.fp-sp-share-card { background: linear-gradient(135deg, #fffef5 0%, #fff 40%, #f0fdf4 100%); border-radius: var(--fp-radius-18); border: 1.5px solid #fde68a; padding: 24px; margin-top: 20px; position: relative; overflow: hidden; }
.fp-sp-share-card::before { content: ''; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(250,204,21,0.1) 0%, transparent 70%); pointer-events: none; }
.fp-sp-share-card::after { content: ''; position: absolute; bottom: -40px; left: -40px; width: 140px; height: 140px; background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, transparent 70%); pointer-events: none; }
.fp-sp-share-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; position: relative; z-index: 1; }
.fp-sp-share-icon-wrap { width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--fp-radius-14); background: linear-gradient(135deg, var(--fp-primary), #f59e0b); display: flex; align-items: center; justify-content: center; color: var(--fp-text-main); box-shadow: 0 4px 14px rgba(250,204,21,0.3); }
.fp-sp-share-title { font-size: var(--fp-text-lg); font-weight: 900; color: var(--fp-text-main); margin: 0 0 2px; }
.fp-sp-share-subtitle { font-size: var(--fp-text-base); color: var(--fp-text-muted); margin: 0; line-height: 1.4; }
/* Share steps flow */
.fp-sp-share-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 14px; background: #fff; border-radius: var(--fp-radius-md); border: 1px solid var(--fp-border); position: relative; z-index: 1; }
.fp-sp-share-step { display: flex; align-items: center; gap: 8px; flex: 1; }
.fp-sp-share-step-num { width: 26px; height: 26px; flex-shrink: 0; border-radius: var(--fp-radius-circle); background: var(--fp-primary); color: var(--fp-text-main); font-size: var(--fp-text-sm); font-weight: 900; display: flex; align-items: center; justify-content: center; }
.fp-sp-share-step-num-green { background: var(--fp-green); color: #fff; }
.fp-sp-share-step-text { font-size: var(--fp-text-base); font-weight: 700; color: var(--fp-text-main); }
.fp-sp-share-step-arrow { font-size: var(--fp-text-base); font-weight: 700; color: #d1d5db; flex-shrink: 0; }
/* Referral URL row */
.fp-sp-ref-row { display: flex; gap: 0; background: #fff; border: 2px solid var(--fp-border); border-radius: var(--fp-radius-md); overflow: hidden; margin-bottom: 14px; position: relative; z-index: 1; }
.fp-sp-ref-field { flex: 1; min-width: 0; padding: 12px 14px; background: transparent; border: none; color: var(--fp-text-main); font-size: var(--fp-text-base); font-family: var(--fp-font-mono); outline: none; }
.fp-sp-ref-copy { background: var(--fp-primary); color: var(--fp-text-main); border: none; padding: 12px 22px; font-weight: 900; font-size: var(--fp-text-base); cursor: pointer; flex-shrink: 0; transition: all var(--fp-transition); font-family: var(--fp-font); }
.fp-sp-ref-copy:hover { background: #fde047; }
/* Share platform buttons */
.fp-sp-share-btns { display: flex; gap: 8px; position: relative; z-index: 1; margin-bottom: 14px; }
.fp-sp-share-btn { display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: var(--fp-radius-10); border: none; cursor: pointer; transition: all var(--fp-transition); text-decoration: none; font-size: var(--fp-text-base); font-weight: 800; color: #fff; flex: 1; justify-content: center; }
.fp-sp-share-btn:hover { transform: translateY(-1px); }
.fp-sp-share-btn.wa { background: #25D366; box-shadow: 0 3px 10px rgba(37,211,102,0.25); }
.fp-sp-share-btn.wa:hover { background: #1fb855; box-shadow: 0 5px 16px rgba(37,211,102,0.35); }
.fp-sp-share-btn.tg { background: #2AABEE; box-shadow: 0 3px 10px rgba(42,171,238,0.25); }
.fp-sp-share-btn.tg:hover { background: #229ed9; box-shadow: 0 5px 16px rgba(42,171,238,0.35); }
.fp-sp-share-btn.tw { background: var(--fp-text-main); box-shadow: 0 3px 10px rgba(0,0,0,0.15); }
.fp-sp-share-btn.tw:hover { background: #374151; box-shadow: 0 5px 16px rgba(0,0,0,0.2); }
/* Footer trust line */
.fp-sp-share-footer-trust { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--fp-text-sm); font-weight: 600; color: var(--fp-text-muted); position: relative; z-index: 1; }
.fp-sp-live-activity { display: flex; align-items: center; gap: 8px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--fp-radius-sm); padding: 9px 13px; font-size: var(--fp-text-base); color: #15803d; font-weight: 600; margin-bottom: 14px; }
.fp-sp-live-dot { width: 8px; height: 8px; background: var(--fp-green); border-radius: var(--fp-radius-circle); animation: fpTickPulse 2s infinite; flex-shrink: 0; }

.fp-sp-faq-item { border: 1.5px solid var(--fp-border); border-radius: var(--fp-radius-10); overflow: hidden; }
.fp-sp-faq-q { width: 100%; background: #f8fafc; border: none; padding: 13px 16px; text-align: left; font-family: var(--fp-font); font-size: var(--fp-text-md); font-weight: 700; color: var(--fp-text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 8px; transition: background var(--fp-transition); }
.fp-sp-faq-q:hover { background: #f1f5f9; }
.fp-sp-faq-chevron { color: var(--fp-text-muted); transition: transform var(--fp-transition); flex-shrink: 0; font-size: var(--fp-text-sm); }
.fp-sp-faq-item.open .fp-sp-faq-chevron { transform: rotate(180deg); }
.fp-sp-faq-a { overflow: hidden; max-height: 0; transition: max-height 0.3s ease, padding 0.3s ease; font-size: var(--fp-text-base); color: #475569; line-height: 1.6; padding: 0 16px; }
.fp-sp-faq-item.open .fp-sp-faq-a { max-height: 300px; padding: 12px 16px 16px; }

/* ---- Chart Hint ---- */
.fp-sp-chart-hint { font-size: var(--fp-text-sm); color: var(--fp-text-muted); margin-top: 24px; }

/* ---- Rating Summary — Inspired Modern Layout ---- */
.fp-sp-rating-summary { display: flex; align-items: stretch; gap: 0; background: #fff; border-radius: var(--fp-radius-14); margin-bottom: 16px; border: 1px solid var(--fp-border); overflow: hidden; }
.fp-sp-rating-left { text-align: center; flex-shrink: 0; min-width: 120px; padding: 24px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fafafa; border-right: 1px solid var(--fp-border); }
.fp-sp-rating-number { font-size: var(--fp-text-5xl2); font-weight: 900; color: var(--fp-text-main); line-height: 1; }
.fp-sp-rating-of { font-size: var(--fp-text-md); font-weight: 700; color: var(--fp-text-muted); margin-left: 2px; }
.fp-sp-rating-stars-big { font-size: var(--fp-text-md); color: var(--fp-primary); letter-spacing: 1px; margin-top: 6px; }
.fp-sp-rating-total { font-size: var(--fp-text-sm); color: var(--fp-text-muted); font-weight: 600; display: block; margin-top: 4px; }
.fp-sp-rating-bars { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 20px; justify-content: center; }
.fp-sp-rating-bar-row { display: flex; align-items: center; gap: 8px; }
.fp-sp-bar-label { font-size: var(--fp-text-sm); font-weight: 800; color: var(--fp-text-main); width: 14px; text-align: right; flex-shrink: 0; }
.fp-sp-bar-star { font-size: var(--fp-text-xs); color: var(--fp-primary); flex-shrink: 0; }
.fp-sp-bar-track { flex: 1; height: 8px; background: #f1f5f9; border-radius: var(--fp-radius-pill); overflow: hidden; min-width: 60px; }
.fp-sp-bar-fill { height: 100%; border-radius: var(--fp-radius-pill); width: 0; transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.fp-sp-bar-fill[data-pct="72"] { background: linear-gradient(90deg, #2ecc71, #4ade80); }
.fp-sp-bar-fill[data-pct="18"] { background: linear-gradient(90deg, #84cc16, #a3e635); }
.fp-sp-bar-fill[data-pct="6"] { background: linear-gradient(90deg, #eab308, #facc15); }
.fp-sp-bar-fill[data-pct="2"] { background: #e2e8f0; }
.fp-sp-bar-pct { font-size: var(--fp-text-xs); font-weight: 700; color: var(--fp-text-muted); width: 30px; flex-shrink: 0; text-align: right; }
.fp-sp-rating-features { display: flex; flex-direction: column; gap: 8px; padding: 14px 20px; background: #fafafa; border-top: 1px solid var(--fp-border); }
.fp-sp-rating-features-title { font-size: var(--fp-text-base); font-weight: 800; color: var(--fp-text-main); margin-bottom: 2px; }
.fp-sp-feature-row { display: flex; align-items: center; justify-content: space-between; }
.fp-sp-feature-name { font-size: var(--fp-text-sm); color: var(--fp-text-muted); font-weight: 600; }
.fp-sp-feature-score { display: flex; align-items: center; gap: 4px; }
.fp-sp-feature-stars { font-size: var(--fp-text-xs); color: var(--fp-primary); letter-spacing: 0.5px; }
.fp-sp-feature-val { font-size: var(--fp-text-sm); font-weight: 800; color: var(--fp-text-main); }

/* ---- Review Avatar Variants ---- */
.fp-sp-avatar-green { background: var(--fp-green); color: #fff; }
.fp-sp-avatar-purple { background: var(--fp-secondary); color: #fff; }

/* ---- Review Cards (Modern) ---- */
.fp-sp-reviews-list { display: flex; flex-direction: column; gap: 12px; }
.fp-sp-review-card { background: #fff; padding: 16px; border: 1px solid var(--fp-border); border-radius: var(--fp-radius-md); transition: all var(--fp-transition); }
.fp-sp-review-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.fp-sp-review-avatar { width: 36px; height: 36px; border-radius: var(--fp-radius-circle); background: #d4a574; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: var(--fp-text-sm); color: #fff; flex-shrink: 0; letter-spacing: 0.5px; }
.fp-sp-review-name { font-size: var(--fp-text-md); font-weight: 700; color: var(--fp-text-main); }
.fp-sp-review-meta { display: flex; align-items: center; gap: 6px; font-size: var(--fp-text-sm); color: var(--fp-text-muted); }
.fp-sp-review-stars { color: var(--fp-primary); font-size: var(--fp-text-sm); letter-spacing: 1px; }
.fp-sp-review-body { font-size: var(--fp-text-base); color: #475569; line-height: 1.55; margin-bottom: 8px; }
.fp-sp-review-earned { display: inline-flex; align-items: center; gap: 4px; background: #dcfce7; color: #15803d; font-size: var(--fp-text-sm); font-weight: 700; padding: 3px 8px; border-radius: var(--fp-radius-xs); }
.fp-sp-review-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.fp-sp-review-action-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: none; font-family: var(--fp-font); font-size: var(--fp-text-sm); font-weight: 600; color: var(--fp-text-muted); cursor: pointer; padding: 4px 0; transition: color 0.15s; }
.fp-sp-review-action-btn:hover { color: var(--fp-text-main); }
.fp-sp-review-action-btn svg { width: 14px; height: 14px; }
.fp-sp-review-replies-link { font-size: var(--fp-text-sm); font-weight: 700; color: var(--fp-text-main); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 12px; background: #f1f5f9; border-radius: var(--fp-radius-20); transition: all 0.2s ease; }
.fp-sp-review-replies-link:hover { background: #e2e8f0; }

/* ---- Review Form ---- */
.fp-sp-review-form { margin-top: 14px; }
.fp-sp-write-review { display: block; width: 100%; background: var(--fp-text-main); color: #fff; border: none; border-radius: var(--fp-radius-10); padding: 12px; font-family: var(--fp-font); font-size: var(--fp-text-md); font-weight: 800; cursor: pointer; text-align: center; transition: all var(--fp-transition); }
.fp-sp-write-review:hover { background: #374151; }
.fp-sp-review-form-inner { display: none; margin-top: 14px; padding: 16px; background: #f8fafc; border-radius: var(--fp-radius-md); border: 1px solid var(--fp-border); }
.fp-sp-review-form-inner.open { display: block; animation: fpFadeUp 0.25s ease; }
.fp-sp-review-star-select { display: flex; gap: 4px; margin-bottom: 12px; }
.fp-sp-star-btn { font-size: var(--fp-text-2xl2); color: #d1d5db; cursor: pointer; transition: color 0.15s, transform 0.15s; line-height: 1; }
.fp-sp-star-btn:hover { transform: scale(1.15); }
.fp-sp-star-btn.active { color: var(--fp-primary); }
.fp-sp-review-input { width: 100%; padding: 10px 12px; border: 1.5px solid var(--fp-border); border-radius: var(--fp-radius-sm); font-family: var(--fp-font); font-size: var(--fp-text-md); background: #fff; color: var(--fp-text-main); outline: none; margin-bottom: 10px; box-sizing: border-box; }
.fp-sp-review-input:focus { border-color: var(--fp-primary); }
.fp-sp-review-textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--fp-border); border-radius: var(--fp-radius-sm); font-family: var(--fp-font); font-size: var(--fp-text-md); background: #fff; color: var(--fp-text-main); outline: none; resize: vertical; margin-bottom: 10px; min-height: 70px; box-sizing: border-box; }
.fp-sp-review-textarea:focus { border-color: var(--fp-primary); }
.fp-sp-review-submit { display: block; width: 100%; background: var(--fp-green); color: #fff; border: none; border-radius: var(--fp-radius-sm); padding: 11px; font-family: var(--fp-font); font-size: var(--fp-text-md); font-weight: 800; cursor: pointer; transition: background var(--fp-transition); }
.fp-sp-review-submit:hover { background: #16a34a; }
.fp-sp-review-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---- Store Description (SEO) ---- */
.fp-sp-store-desc-text { font-size: var(--fp-text-base); color: #475569; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fp-sp-store-desc-text.expanded { -webkit-line-clamp: unset; line-clamp: unset; }

/* ---- Cashback Rules Popup ---- */
.fp-sp-rules-popup { position: fixed; inset: 0; z-index: 99998; display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.fp-sp-rules-popup.active { opacity: 1; pointer-events: all; }
.fp-sp-rules-popup-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); }
.fp-sp-rules-popup-card { position: relative; background: #fff; border-radius: var(--fp-radius-20) 20px 0 0; max-width: 500px; width: 100%; max-height: 80vh; overflow-y: auto; padding: 24px; transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.fp-sp-rules-popup.active .fp-sp-rules-popup-card { transform: translateY(0); }
.fp-sp-rules-popup-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.fp-sp-rules-popup-hd h3 { font-size: var(--fp-text-lg); font-weight: 900; color: var(--fp-text-main); margin: 0; }
.fp-sp-rules-popup-close { background: #f1f5f9; border: none; width: 32px; height: 32px; border-radius: var(--fp-radius-circle); display: flex; align-items: center; justify-content: center; font-size: var(--fp-text-lg2); color: var(--fp-text-muted); cursor: pointer; transition: all var(--fp-transition); }
.fp-sp-rules-popup-close:hover { background: #e2e8f0; color: var(--fp-text-main); }
.fp-sp-rules-popup-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.fp-sp-rules-popup-list li { font-size: var(--fp-text-base); color: #475569; font-weight: 600; padding-left: 20px; position: relative; line-height: 1.5; }
.fp-sp-rules-popup-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; background: var(--fp-red); border-radius: var(--fp-radius-circle); }

/* ---- Mobile Category Rates ---- */
.fp-sp-rates-mobile { display: none; background: #fff; border-radius: var(--fp-radius-14); border: 1px solid var(--fp-border); margin-top: 16px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.06); }
.fp-sp-rates-mobile-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: none; padding: 14px 16px; font-family: var(--fp-font); font-size: var(--fp-text-md); font-weight: 800; color: var(--fp-text-main); cursor: pointer; }
.fp-sp-rates-chevron { transition: transform var(--fp-transition); font-size: var(--fp-text-base); color: var(--fp-text-muted); }
.fp-sp-rates-mobile.open .fp-sp-rates-chevron { transform: rotate(180deg); }
.fp-sp-rates-mobile-content { display: none; padding: 0 16px 16px; }
.fp-sp-rates-mobile.open .fp-sp-rates-mobile-content { display: block; animation: fpFadeUp 0.22s ease; }

/* ---- Sticky Mobile CTA ---- */
.fp-sp-sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000; background: rgba(255,255,255,0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 10px 16px 14px; border-top: 1px solid var(--fp-border); box-shadow: 0 -2px 12px rgba(0,0,0,0.06); }
.fp-sp-sticky-inner { display: flex; align-items: center; gap: 12px; max-width: 600px; margin: 0 auto; }
.fp-sp-sticky-info { flex: 1; min-width: 0; }
.fp-sp-sticky-name { display: block; font-size: var(--fp-text-base); font-weight: 800; color: var(--fp-text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-sp-sticky-cb-label { display: block; font-size: var(--fp-text-sm); font-weight: 700; color: var(--fp-green); }
.fp-sp-sticky-btn { background: var(--fp-primary); color: var(--fp-text-main); border: none; padding: 12px 20px; border-radius: var(--fp-radius-10); font-weight: 900; font-size: var(--fp-text-md); cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: all var(--fp-transition); box-shadow: 0 4px 14px rgba(250,204,21,0.35); }
.fp-sp-sticky-btn:hover { background: #fde047; box-shadow: 0 6px 20px rgba(250,204,21,0.45); }

/* ---- Redirect Overlay ---- */
.fp-sp-overlay { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.fp-sp-overlay.active { opacity: 1; pointer-events: all; }
.fp-sp-overlay-card { background: #fff; border-radius: var(--fp-radius-20); padding: 32px 24px; text-align: center; max-width: 320px; width: 90%; position: relative; overflow: hidden; }
.fp-sp-overlay-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--fp-primary), var(--fp-green)); }
.fp-sp-overlay-icon { width: 60px; height: 60px; margin: 0 auto 14px; background: #dcfce7; border-radius: var(--fp-radius-circle); display: flex; align-items: center; justify-content: center; font-size: var(--fp-text-3xl); animation: fpPopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes fpPopIn { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.fp-sp-overlay-title { font-size: var(--fp-text-lg); font-weight: 900; color: var(--fp-text-main); margin-bottom: 6px; }
.fp-sp-overlay-sub { font-size: var(--fp-text-base); color: var(--fp-text-muted); line-height: 1.5; margin-bottom: 18px; }
.fp-sp-overlay-progress-track { height: 6px; background: #f1f5f9; border-radius: var(--fp-radius-pill); overflow: hidden; margin-bottom: 12px; }
.fp-sp-overlay-progress-bar { height: 100%; background: linear-gradient(90deg, var(--fp-primary), var(--fp-green)); border-radius: var(--fp-radius-pill); width: 0%; transition: width 2s linear; }
.fp-sp-overlay-hint { font-size: var(--fp-text-sm); color: #94a3b8; }

/* ---- Responsive ---- */
@media (min-width: 768px) {
    .fp-sp-container { padding: 0 24px; }
    .fp-sp-page { padding-bottom: 60px; }
    .fp-sp-logo-box { width: 84px; height: 84px; border-radius: var(--fp-radius-18); }
    .fp-sp-verified-tick { width: 22px; height: 22px; top: -4px; right: -4px; }
    .fp-sp-verified-tick svg { width: 11px; height: 11px; }
    .fp-sp-store-name { font-size: var(--fp-text-2xl); }
    .fp-sp-hero-inner { padding: 28px; }
    .fp-sp-cb-badge { font-size: var(--fp-text-md); padding: 8px 20px; }
    .fp-sp-primary-cta { max-width: 320px; }
    .fp-sp-deal-grid { grid-template-columns: repeat(3, 1fr); }
    .fp-sp-stack-layers { gap: 10px; }
    .fp-sp-rules-popup-card { border-radius: var(--fp-radius-20); max-width: 480px; margin-bottom: 10vh; }
    .fp-sp-features-row { display: grid; grid-template-columns: 1fr 1fr; }
    .fp-sp-filter-bar-row { grid-template-columns: repeat(4, 1fr); }
    .fp-sp-rating-number { font-size: var(--fp-text-5xl2); }
    .fp-cc-footer { flex-direction: row; align-items: center; }
    .fp-cc-btn { width: auto; }
    .fp-sp-share-steps { gap: 12px; }
}
@media (min-width: 1024px) {
    .fp-sp-container { padding: 0 32px; }
    .fp-sp-layout { display: grid; grid-template-columns: 290px 1fr; gap: 24px; flex-direction: unset; }
    .fp-sp-sidebar { display: flex; }
    .fp-sp-sticky-cta { display: none !important; }
    .fp-sp-page { padding-bottom: 60px; }
    .fp-sp-rates-mobile { display: none !important; }
    .fp-sp-coupon-discount { width: 72px; height: 72px; }
    .fp-sp-coupon-disc-val { font-size: var(--fp-text-xl); }
}
@media (max-width: 767px) {
    .fp-sp-sticky-cta { display: block; }
    .fp-sp-rates-mobile { display: block; }
    .fp-sp-tab-btn { padding: 6px 4px; font-size: var(--fp-text-xs); gap: 2px; }
    .fp-sp-tab-btn svg { display: none; }
    .fp-sp-tab-cnt { font-size: var(--fp-text-xs); min-width: 14px; height: 14px; padding: 0 3px; }
    .fp-cc-type-code, .fp-cc-type-deal, .fp-cc-type-bank { display: none; }
    .fp-sp-rating-summary { flex-direction: column; }
    .fp-sp-rating-left { border-right: none; border-bottom: 1px solid var(--fp-border); padding: 16px; flex-direction: row; align-items: baseline; gap: 8px; justify-content: center; flex-wrap: wrap; min-width: unset; }
    .fp-sp-rating-number { font-size: var(--fp-text-4xl2); }
    .fp-sp-rating-bars { padding: 16px; width: 100%; box-sizing: border-box; }
    .fp-sp-bar-track { min-width: 80px; }
    .fp-sp-rating-features { padding: 12px 16px; }
    .fp-sp-stack-layer { padding: 10px 12px; }
    .fp-sp-stack-layer-code { font-size: var(--fp-text-base); }
    .fp-sp-stack-total-amount { font-size: var(--fp-text-lg); }
    .fp-sp-rules-trigger { padding: 10px 10px; font-size: var(--fp-text-sm); }
    .fp-sp-hero-cta-row { flex-wrap: wrap; }
    .fp-cc-stub { width: 64px; }
    .fp-cc-stub-val { font-size: var(--fp-text-lg); }
    .fp-cc-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
    .fp-cc-btn { width: 100%; justify-content: center; }
    .fp-cc-infeed { flex-direction: column; align-items: flex-start; gap: 10px; }
    .fp-cc-infeed-cta { width: 100%; justify-content: center; }
    .fp-sp-social-proof { flex-direction: column; gap: 8px; text-align: center; }
    .fp-sp-proof-stat { justify-content: center; }
    .fp-sp-proof-divider { width: 60px; height: 1px; }
    .fp-sp-share-steps { flex-wrap: nowrap; gap: 4px; padding: 10px; }
    .fp-sp-share-step-arrow { display: none; }
    .fp-sp-share-step { flex: 1; gap: 4px; }
    .fp-sp-share-step-num { width: 20px; height: 20px; font-size: var(--fp-text-xs); }
    .fp-sp-share-step-text { font-size: var(--fp-text-xs); }
    .fp-sp-share-btns { flex-wrap: wrap; }
    .fp-sp-share-card { padding: 18px; }
    .fp-sp-promo-banner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
    .fp-sp-promo-visual { display: flex; align-items: center; gap: 10px; }
    .fp-sp-promo-icon-ring { width: 44px; height: 44px; }
    .fp-sp-browser-icon { width: 30px; height: 30px; }
    .fp-sp-promo-cta { width: 100%; justify-content: center; padding: 12px; }
}



/* ============================================================
   SHARED/MISSING COMPONENTS (used by single-fp_store.php)
   (Cross-page shared — appended 2026-05-13)
   ============================================================ */

.fp-sp-step-body strong { display: block; font-size: var(--fp-text-md); font-weight: 700; color: var(--fp-text-main); }

.fp-sp-step-body span { font-size: var(--fp-text-base); color: var(--fp-text-muted); }

.fp-sp-store-desc-text { font-size: var(--fp-text-base); color: #475569; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.fp-sp-store-desc-text.expanded { -webkit-line-clamp: unset; line-clamp: unset; }

.fp-cc-flash-score { display: inline-flex; align-items: center; gap: 3px; font-size: var(--fp-text-xs); font-weight: 800; padding: 4px 10px; border-radius: var(--fp-radius-pill); white-space: nowrap; border: none; }

.fp-cc-flash-score-high { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }

.fp-cc-flash-score-mid { background: linear-gradient(135deg, #eab308, #ca8a04); color: #fff; }

.fp-cc-flash-score-low { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; }

.fp-cc-flash-score svg { flex-shrink: 0; }

.fp-cc-ai-verified { display: inline-flex; align-items: center; gap: 3px; font-size: var(--fp-text-xs); font-weight: 700; padding: 4px 10px; border-radius: var(--fp-radius-pill); background: linear-gradient(135deg, #0ea5e9, #0284c7); color: #fff; border: none; white-space: nowrap; }

.fp-cc-ai-untested { background: #64748b; color: #e2e8f0; border: none; }

.fp-cc-ai-verified svg { flex-shrink: 0; }

.fp-cc-verify-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #f1f5f9; }

.fp-cc-success-bar-wrap { flex: 1; display: flex; align-items: center; gap: 8px; }

.fp-cc-success-bar { height: 5px; flex: 1; background: #f1f5f9; border-radius: var(--fp-radius-20); overflow: hidden; }

.fp-cc-success-fill { height: 100%; border-radius: var(--fp-radius-20); transition: width 1s cubic-bezier(.4,0,.2,1); }

.fp-cc-success-fill.is-high { background: #2ecc71; }

.fp-cc-success-fill.is-mid { background: #eab308; }

.fp-cc-success-fill.is-low { background: #ef4444; }

.fp-cc-success-pct { font-size: var(--fp-text-sm); font-weight: 800; color: #2ecc71; white-space: nowrap; }

.fp-cc-success-pct.is-mid { color: #b45309; }

.fp-cc-success-pct.is-low { color: #dc2626; }

.fp-cc-tried-count { font-size: var(--fp-text-xs); color: var(--fp-text-muted); font-weight: 600; white-space: nowrap; }

.fp-cc-avatar-stack { display: flex; align-items: center; margin-left: auto; }

.fp-cc-avatar { width: 22px; height: 22px; border-radius: var(--fp-radius-circle); border: 2px solid #fff; margin-left: -7px; font-size: var(--fp-text-3xs); font-weight: 800; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); flex-shrink: 0; }

.fp-cc-avatar:first-child { margin-left: 0; }

.fp-cc-avatar-1 { background: #2ecc71; z-index: 4; }

.fp-cc-avatar-2 { background: #2ecc71; z-index: 3; }

.fp-cc-avatar-3 { background: #2ecc71; z-index: 2; }

.fp-cc-avatar-more { background: #e2e8f0; color: #64748b; z-index: 1; font-size: var(--fp-text-4xs); }

.fp-cc-last-verified { font-size: var(--fp-text-xs); color: #2ecc71; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

.fp-cc-last-verified svg { flex-shrink: 0; }

.fp-sp-fpill-community { background: #2ecc71 !important; color: #fff !important; border: none !important; }

@media (max-width: 900px) {
    .fp-cc-verify-row { flex-wrap: wrap; gap: 6px; padding-top: 8px; margin-top: 8px; }
    .fp-cc-success-bar-wrap { min-width: 120px; }
    .fp-cc-avatar-stack { margin-left: 0; }
    .fp-cc-avatar { width: 18px; height: 18px; font-size: var(--fp-text-4xs); margin-left: -6px; }
    .fp-cc-flash-score { font-size: var(--fp-text-xs); padding: 2px 6px; }
    .fp-cc-ai-verified { font-size: var(--fp-text-3xs); padding: 2px 6px; }
    .fp-cc-tried-count { font-size: var(--fp-text-xs); }
    .fp-cc-last-verified { font-size: var(--fp-text-3xs); }
}

.fp-cc-success-fill { width: 0; }

.fp-cc-success-fill.is-visible { transition: width 1.2s cubic-bezier(.4,0,.2,1) 0.3s; }