/* stitchfly popups · v1 · 2026-04-26 · NL/PL/EN
   z-index hierarchy:
     popup overlay       = 9000
     sticky bars (compare/pro/bpg) = 800
     wishlist panel      = 850
     navbar              = 100
     content             = 1
*/

:root {
  --sf-pop-bg: rgba(12, 12, 15, 0.78);
  --sf-pop-panel: #fff;
  --sf-pop-ink: #0c0c0f;
  --sf-pop-muted: #6b6b73;
  --sf-pop-gold: #c9a84c;
  --sf-pop-gold-2: #e5c97a;
  --sf-pop-radius: 18px;
  --sf-pop-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

/* -------- Overlay base ---------------------------------------------- */
.sf-popup {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.sf-popup[hidden] { display: none; }
.sf-popup-backdrop {
  position: absolute; inset: 0;
  background: var(--sf-pop-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: sfFadeIn .25s ease both;
}
.sf-popup-panel {
  position: relative;
  background: var(--sf-pop-panel);
  color: var(--sf-pop-ink);
  border-radius: var(--sf-pop-radius);
  box-shadow: var(--sf-pop-shadow);
  max-width: min(560px, 100%);
  width: 100%;
  max-height: 92vh;
  overflow: auto;
  padding: 32px 28px 26px;
  animation: sfSlideUp .32s cubic-bezier(.2,.8,.2,1) both;
  border: 1px solid rgba(201, 168, 76, .25);
}
.sf-popup-x {
  position: absolute; top: 10px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(0, 0, 0, .04);
  border: 0; border-radius: 50%;
  font-size: 22px; cursor: pointer;
  color: #444;
  display: inline-flex; align-items: center; justify-content: center;
}
.sf-popup-x:hover { background: rgba(0, 0, 0, .1); transform: scale(1.05); }

.sf-emoji { font-size: 44px; line-height: 1; margin-bottom: 8px; }

@keyframes sfFadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes sfSlideUp { from { opacity: 0; transform: translateY(28px) } to { opacity: 1; transform: translateY(0) } }

.sf-popup-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 18px;
}
.sf-popup-actions .btn { flex: 1 1 auto; }

/* -------- Forms inside popups --------------------------------------- */
.sf-form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.sf-form input[type=email],
.sf-form input[type=url],
.sf-form input[type=number],
.sf-form input[type=text] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d8de;
  border-radius: 10px;
  font-size: 15px;
  background: #fafafa;
  transition: border .15s, box-shadow .15s;
}
.sf-form input:focus {
  outline: 0;
  border-color: var(--sf-pop-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .25);
  background: #fff;
}
.sf-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--sf-pop-muted);
  cursor: pointer;
}
.sf-checkbox input { margin-top: 3px; }
.sf-form-row { display: flex; align-items: center; gap: 8px; }
.sf-label-tiny { font-size: 12px; color: var(--sf-pop-muted); white-space: nowrap; }

.sf-form-thanks {
  text-align: center; padding: 20px 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.thanks-tick {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff; font-size: 30px; font-weight: 700;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(46, 204, 113, .35);
  animation: sfBounceIn .5s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes sfBounceIn {
  0% { transform: scale(0); opacity: 0 }
  60% { transform: scale(1.15); opacity: 1 }
  100% { transform: scale(1); opacity: 1 }
}

/* -------- Welcome ---------------------------------------------------- */
.sf-popup-welcome-panel { text-align: center; }
.sf-popup-welcome-panel .kicker { display: inline-block; font-size: 11px; letter-spacing: .8px; }

/* -------- Onboarding ------------------------------------------------- */
.sf-popup-onb-panel { text-align: center; }
.sf-onb-progress {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: flex; gap: 6px; justify-content: center;
}
.sf-onb-progress li {
  width: 30px; height: 4px;
  background: #e5e5ea;
  border-radius: 4px;
  transition: background .25s;
}
.sf-onb-progress li.is-active { background: var(--sf-pop-gold); }
.sf-onb-step[hidden] { display: none; }
.sf-onb-step { animation: sfFadeIn .3s ease both; }
.sf-onb-icon { font-size: 56px; line-height: 1; }
.sf-onb-actions { justify-content: space-between; }

/* -------- Currency switcher ----------------------------------------- */
.sf-currency-floating {
  position: fixed; right: 16px; top: 70px; z-index: 100;
}
.sf-currency-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); border: 1px solid #e5e5ea;
  font-size: 13px; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
  transition: transform .15s;
}
.sf-currency-toggle:hover { transform: scale(1.04); }
.sf-currency-flag { font-size: 16px; }
.sf-currency-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  min-width: 220px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
  border: 1px solid #eee;
  padding: 6px 0; z-index: 101;
  animation: sfSlideDown .2s ease both;
}
.sf-currency-menu[hidden] { display: none; }
.sf-currency-menu button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 14px; text-align: left;
  background: transparent; border: 0; cursor: pointer; font-size: 14px;
}
.sf-currency-menu button span { display: inline-block; min-width: 24px; font-weight: 700; color: var(--sf-pop-gold); }
.sf-currency-menu button:hover { background: #fafafa; }
@keyframes sfSlideDown { from { opacity: 0; transform: translateY(-8px) } to { opacity: 1; transform: translateY(0) } }

/* -------- Compare ---------------------------------------------------- */
.sf-compare-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
  background: linear-gradient(180deg, #1d1d22, #0c0c0f);
  color: #fff;
  padding: 14px 0;
  border-top: 2px solid var(--sf-pop-gold);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .25);
  animation: sfSlideUpBar .25s ease both;
}
@keyframes sfSlideUpBar { from { transform: translateY(100%) } to { transform: translateY(0) } }
.sf-compare-bar .container { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sf-compare-icon { font-size: 22px; }
.sf-compare-text { flex: 1; font-weight: 600; }
.sf-popup-compare-panel { max-width: min(960px, 96%); }
.sf-compare-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 14px;
}
.sf-cmp-card {
  border: 1px solid #eee; border-radius: 14px; padding: 14px;
  background: #fafafa;
}
.sf-cmp-card h4 { margin: 0 0 6px; font-size: 16px; }
.sf-cmp-card .price { font-size: 24px; font-weight: 700; color: var(--sf-pop-gold); }
.sf-cmp-card ul { padding-left: 16px; font-size: 13px; color: #444; margin: 8px 0; }
.sf-cmp-card a { font-size: 13px; color: var(--sf-pop-gold); }

/* -------- Share ------------------------------------------------------ */
.sf-share-link-row { display: flex; gap: 8px; margin: 14px 0; }
.sf-share-link-row input { flex: 1; padding: 10px 12px; border: 1px solid #d8d8de; border-radius: 10px; font-size: 13px; background: #fafafa; }
.sf-share-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin: 14px 0; }
.sf-share-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 10px;
  border: 1px solid #eee; background: #fafafa;
  font-size: 13px; font-weight: 600; color: var(--sf-pop-ink);
  text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s;
}
.sf-share-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, .08); }
.sf-share-qr { margin-top: 14px; text-align: center; }
.sf-share-qr h4 { margin: 0 0 8px; font-size: 13px; color: var(--sf-pop-muted); }
.sf-share-qr svg { background: #fff; padding: 8px; border-radius: 10px; border: 1px solid #eee; }

/* -------- Price drop ------------------------------------------------- */
.sf-popup-pricedrop-panel { text-align: center; }

/* -------- Pro -------------------------------------------------------- */
.sf-pro-banner {
  position: fixed; left: 0; right: 0; top: 0; z-index: 800;
  background: linear-gradient(90deg, #c9a84c, #e5c97a);
  color: #0c0c0f;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.sf-pro-banner-inner { display: flex; align-items: center; gap: 10px; padding: 8px 0; flex-wrap: wrap; }
.sf-pro-rocket { font-size: 16px; }
.sf-pro-banner-text { flex: 1; min-width: 0; }
.sf-pro-banner-cta { white-space: nowrap; }
.sf-pro-banner-x {
  background: transparent; border: 0; font-size: 22px; cursor: pointer; padding: 0 8px;
}
.sf-popup-pro-panel { text-align: center; }
.sf-pro-popup-stripe { font-size: 12px; color: var(--sf-pop-muted); margin-top: 14px; cursor: help; }

/* -------- FAQ -------------------------------------------------------- */
.sf-popup-faq-panel { max-width: min(720px, 96%); }
.sf-faq-list { margin-top: 16px; }
.sf-faq-item {
  border: 1px solid #eee; border-radius: 12px; padding: 12px 16px;
  margin-bottom: 8px; background: #fafafa;
  transition: background .15s;
}
.sf-faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 15px;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.sf-faq-item summary::-webkit-details-marker { display: none; }
.sf-faq-item summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--sf-pop-gold); transition: transform .2s; }
.sf-faq-item[open] summary::after { transform: rotate(45deg); }
.sf-faq-item p { margin: 8px 0 0; color: #444; font-size: 14px; }

/* -------- Lightbox --------------------------------------------------- */
.sf-lightbox {
  position: fixed; inset: 0; z-index: 9100;
  background: rgba(0, 0, 0, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.sf-lightbox[hidden] { display: none; }
.sf-lightbox img {
  max-width: 100%; max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .8);
  user-select: none;
}
.sf-lb-x, .sf-lb-prev, .sf-lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  background: rgba(255, 255, 255, .12); color: #fff;
  border: 0; border-radius: 50%;
  font-size: 28px; cursor: pointer;
  transition: background .15s, transform .15s;
}
.sf-lb-x { top: 18px; right: 18px; transform: none; }
.sf-lb-prev { left: 18px; }
.sf-lb-next { right: 18px; }
.sf-lb-x:hover, .sf-lb-prev:hover, .sf-lb-next:hover { background: rgba(255, 255, 255, .25); }
.sf-lb-counter { color: rgba(255,255,255,.7); font-size: 12px; margin-top: 8px; text-align: center; }

/* -------- Map -------------------------------------------------------- */
.sf-popup-map-panel { max-width: min(820px, 96%); }
.sf-map-frame { margin-top: 14px; border-radius: 14px; overflow: hidden; }

/* -------- Best price guarantee --------------------------------------- */
.sf-bpg-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 800;
  background: #0c0c0f; color: #fff;
  padding: 12px 14px; border-radius: 14px;
  border: 1px solid rgba(201, 168, 76, .3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  display: none;  /* shown via JS once per session */
  animation: sfSlideUp .3s ease both;
}
.sf-bpg-banner.is-visible { display: block; }
.sf-bpg-inner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sf-bpg-text { flex: 1; font-weight: 600; font-size: 14px; }
.sf-bpg-x { background: transparent; border: 0; color: #888; font-size: 22px; cursor: pointer; }
.sf-popup-bestprice-panel { max-width: min(540px, 96%); }
.form-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.form-label { font-size: 12px; color: var(--sf-pop-muted); font-weight: 600; }

/* -------- Wishlist side panel --------------------------------------- */
.sf-wishlist-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw); z-index: 850;
  background: #fff; box-shadow: -12px 0 40px rgba(0, 0, 0, .25);
  display: flex; flex-direction: column;
  animation: sfSlideInRight .3s ease both;
}
.sf-wishlist-panel[hidden] { display: none; }
@keyframes sfSlideInRight { from { transform: translateX(100%) } to { transform: translateX(0) } }
.sf-wl-header { padding: 16px 18px; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; }
.sf-wl-list { padding: 14px; overflow-y: auto; flex: 1; }
.sf-wl-card {
  border: 1px solid #eee; border-radius: 12px; padding: 12px;
  margin-bottom: 10px; background: #fafafa;
  display: flex; gap: 10px; align-items: center;
}
.sf-wl-card h4 { margin: 0; font-size: 14px; }
.sf-wl-card .muted { font-size: 12px; }
.sf-wl-remove { background: transparent; border: 0; color: #c00; cursor: pointer; font-size: 18px; }

/* -------- Recent sidebar (desktop only) ----------------------------- */
.sf-recent-sidebar {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  width: 200px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}
.sf-recent-sidebar[hidden] { display: none; }
.sf-recent-head { font-size: 11px; color: var(--sf-pop-muted); font-weight: 700; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 8px; }
.sf-recent-list { display: flex; flex-direction: column; gap: 6px; }
.sf-recent-list a {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--sf-pop-ink); text-decoration: none;
  padding: 4px 6px; border-radius: 6px; transition: background .12s;
}
.sf-recent-list a:hover { background: #f0f0f0; }
@media (max-width: 768px) { .sf-recent-sidebar { display: none !important; } }

/* -------- Mobile bottom nav ------------------------------------------ */
.sf-mobile-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 750;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid #eee;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
}
.sf-mobile-nav .sf-mnav-tab {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 4px;
  background: transparent; border: 0;
  color: #4a4a4f; font-size: 10px; font-weight: 600;
  text-decoration: none; cursor: pointer;
}
.sf-mobile-nav .sf-mnav-tab span:first-child { font-size: 20px; }
.sf-mobile-nav .sf-mnav-tab.is-active { color: var(--sf-pop-gold); }
@media (max-width: 768px) { .sf-mobile-nav { display: grid; } body { padding-bottom: 64px; } }

/* -------- Toast notifications --------------------------------------- */
.sf-toasts {
  position: fixed; right: 16px; bottom: 80px; z-index: 9500;
  display: flex; flex-direction: column-reverse; gap: 8px;
  pointer-events: none;
}
.sf-toast {
  pointer-events: auto;
  background: #1d1d22; color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  border-left: 3px solid var(--sf-pop-gold);
  animation: sfToastIn .25s ease both;
  max-width: 320px;
}
.sf-toast.is-success { border-left-color: #2ecc71; }
.sf-toast.is-error   { border-left-color: #e74c3c; }
.sf-toast.is-info    { border-left-color: var(--sf-pop-gold); }
@keyframes sfToastIn { from { opacity: 0; transform: translateX(20px) } to { opacity: 1; transform: translateX(0) } }
.sf-toast.is-leaving { animation: sfToastOut .2s ease forwards; }
@keyframes sfToastOut { to { opacity: 0; transform: translateX(20px) } }

/* -------- Confetti --------------------------------------------------- */
.sf-confetti {
  position: fixed; inset: 0; z-index: 9400; pointer-events: none;
  display: none;
}
.sf-confetti.is-active { display: block; }

/* -------- Pro page-specific ------------------------------------------ */
.pro-main { min-height: 60vh; padding-top: 48px; padding-bottom: 80px; }
.pro-hero { padding: 60px 16px 40px; text-align: center; }
.pro-hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 12px 0 14px;
  background: linear-gradient(90deg, #c9a84c, #e5c97a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pro-hero-lead { font-size: 1.15rem; color: var(--sf-pop-muted); max-width: 580px; margin: 0 auto 18px; }
.pro-social-proof {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(46, 204, 113, .1);
  border: 1px solid rgba(46, 204, 113, .25);
  border-radius: 999px;
  font-size: 13px;
  margin: 12px 0 22px;
}
.dot-pulse {
  width: 8px; height: 8px; background: #2ecc71;
  border-radius: 50%;
  animation: sfPulse 1.4s infinite;
}
@keyframes sfPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, .6); }
  70%      { box-shadow: 0 0 0 12px rgba(46, 204, 113, 0); }
}
.pro-counter { font-weight: 800; color: #27ae60; }
.pro-cta-primary { padding: 16px 38px; font-size: 16px; }
.pro-stripe-soon, .pro-stripe-soon-small {
  margin-top: 22px;
  font-size: 12px; color: var(--sf-pop-muted);
  cursor: help;
}
.pro-stripe-soon-small { margin-top: 12px; }

.pro-pricing { padding: 40px 16px; }
.price-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 980px; margin: 0 auto;
}
.price-card {
  background: #fff; border: 1px solid #eee;
  border-radius: 18px; padding: 28px 22px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, .1); }
.price-card.is-highlight {
  border: 2px solid var(--sf-pop-gold);
  background: linear-gradient(180deg, #fffbf2, #fff);
  transform: scale(1.04);
  box-shadow: 0 16px 40px rgba(201, 168, 76, .25);
}
.ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #c9a84c, #e5c97a);
  color: #0c0c0f; padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  white-space: nowrap;
}
.price-card h3 { margin: 0; font-size: 22px; }
.price-card .small { font-size: 12px; color: var(--sf-pop-muted); margin: 4px 0 14px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.price-currency { font-size: 22px; color: #4a4a4f; }
.price-value { font-size: 44px; font-weight: 800; line-height: 1; }
.price-period { font-size: 14px; color: var(--sf-pop-muted); }
.price-strike { display: block; width: 100%; font-size: 12px; color: var(--sf-pop-muted); text-decoration: line-through; }
.price-features { list-style: none; margin: 0 0 18px; padding: 0; font-size: 14px; }
.price-features li { padding: 6px 0; border-bottom: 1px solid #f5f5f5; display: flex; align-items: center; gap: 8px; }
.price-features li:before { content: '✓'; color: var(--sf-pop-gold); font-weight: 700; }
.btn-block { display: block; width: 100%; }
.btn-xl { padding: 14px 24px; font-size: 15px; font-weight: 700; }

.pro-reserve { padding: 40px 16px; }
.container-narrow { max-width: 520px; margin: 0 auto; }
.reserve-card {
  background: #fff; border: 1px solid #eee;
  border-radius: 18px; padding: 30px 26px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
  text-align: center;
}
.reserve-card h2 { margin: 0 0 8px; font-size: 1.6rem; }
.reserve-form { text-align: left; margin-top: 20px; }
.reserve-form .form-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.reserve-form input, .reserve-form select {
  padding: 12px 14px;
  border: 1px solid #d8d8de; border-radius: 10px;
  font-size: 15px; background: #fafafa;
}
.reserve-form input:focus, .reserve-form select:focus {
  outline: 0; border-color: var(--sf-pop-gold); background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .25);
}
.form-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--sf-pop-muted);
  margin: 12px 0; cursor: pointer;
}
.form-checkbox input { margin-top: 3px; }

.btn-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sfSpin .6s linear infinite;
}
@keyframes sfSpin { to { transform: rotate(360deg) } }

.reserve-thanks { text-align: center; padding: 30px 0; }
.pro-faq { padding: 40px 16px; }

/* -------- Tooltip ---------------------------------------------------- */
[data-tooltip] { position: relative; }
[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: #0c0c0f; color: #fff;
  padding: 8px 12px; border-radius: 8px;
  font-size: 12px; white-space: nowrap; max-width: 90vw;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  z-index: 100; pointer-events: none;
}

/* -------- Mobile (<640px) tweaks ------------------------------------ */
@media (max-width: 640px) {
  .sf-popup { padding: 12px; }
  .sf-popup-panel { padding: 26px 18px 20px; max-width: 100%; }
  .sf-popup-actions .btn { flex: 1 1 100%; }
  .sf-currency-floating { right: 8px; top: 60px; }
  .sf-bpg-banner { left: 8px; right: 8px; bottom: 76px; padding: 10px; }
  .price-grid { gap: 12px; }
  .price-card.is-highlight { transform: none; }
  .pro-hero { padding: 40px 12px 24px; }
  .pro-hero-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  [data-tooltip]:hover::after { font-size: 11px; max-width: 80vw; white-space: normal; }
}
