/* Extra storefront layout (seller + merchant) */
.sf-nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(240, 250, 255, 0.82);
  border-bottom: 1px solid rgba(189, 234, 255, 0.7);
}
.sf-nav-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.sf-nav-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sf-nav-links a {
  color: var(--muted); font-weight: 600; font-size: 14px;
  padding: 8px 12px; border-radius: 999px; text-decoration: none;
}
.sf-nav-links a:hover { color: var(--sapphire); background: rgba(255,255,255,.7); }
.sf-nav-links .btn-nav {
  background: linear-gradient(135deg, var(--fresh-sky), var(--sapphire-sky));
  color: #fff !important; padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 116, 224, 0.28);
}
.sf-nav-links .btn-nav:hover { filter: brightness(1.06); }

.btn {
  border-radius: 999px !important;
  padding: 13px 22px !important;
  letter-spacing: 0.01em;
}
.btn.ghost {
  background: #fff !important;
  border: 1.5px solid var(--frozen-lake) !important;
}
.btn.block { border-radius: 14px !important; }

.sf-hero {
  max-width: 1120px; margin: 0 auto;
  padding: 56px 20px 64px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 72px);
}
.sf-hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--sapphire-sky);
  background: rgba(255,255,255,.75);
  border: 1px solid var(--icy-blue);
  padding: 8px 12px; border-radius: 999px; margin-bottom: 18px;
  opacity: 1; animation: none;
}
.sf-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.5vw, 68px);
  letter-spacing: -0.05em; line-height: 1.02;
  margin-bottom: 16px; opacity: 1; animation: none;
  max-width: none;
}
.sf-hero .lead {
  font-size: 18px; color: var(--muted); max-width: 38ch;
  margin-bottom: 28px; opacity: 1; animation: none;
}
.sf-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.sf-trust {
  display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px;
  font-size: 13px; color: var(--muted); font-weight: 600;
}
.sf-trust span { display: inline-flex; align-items: center; gap: 6px; }
.sf-trust i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--deep-sky-blue); display: inline-block;
}

.sf-visual {
  position: relative;
  min-height: 420px;
  display: grid; place-items: center;
}
.sf-visual-glow {
  position: absolute; inset: 8% 5%;
  background:
    radial-gradient(circle at 50% 40%, rgba(42,190,255,.45), transparent 58%),
    radial-gradient(circle at 70% 70%, rgba(0,116,224,.2), transparent 55%);
  filter: blur(4px);
  animation: drift 12s ease-in-out infinite alternate;
}
.sf-phone {
  position: relative; z-index: 1;
  width: min(280px, 70vw);
  background: #0a2540;
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(0, 86, 168, 0.28);
  border: 3px solid #16385c;
  transform: rotate(-4deg);
}
.sf-phone-screen {
  background: linear-gradient(180deg, #f0faff, #d1f0ff);
  border-radius: 26px;
  padding: 18px 16px 22px;
  min-height: 420px;
}
.sf-phone-bar {
  width: 72px; height: 6px; border-radius: 999px;
  background: rgba(10,37,64,.18); margin: 0 auto 18px;
}
.sf-phone h3 {
  font-family: var(--font-display); font-size: 18px; color: var(--sapphire);
  margin-bottom: 4px;
}
.sf-phone .muted { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.sf-phone .pill-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.sf-phone .mini {
  background: #fff; border: 1px solid var(--icy-blue);
  border-radius: 12px; padding: 10px 12px; margin-bottom: 8px;
  font-size: 12px;
}
.sf-phone .mini strong { display: block; color: var(--sapphire); font-size: 13px; }
.sf-phone .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: #0d9488;
}
.sf-phone .live::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #0d9488; box-shadow: 0 0 0 4px rgba(13,148,136,.2);
}

.sf-section {
  max-width: 1120px; margin: 0 auto; padding: 28px 20px 64px;
}
.sf-section-head { margin-bottom: 28px; max-width: 48ch; }
.sf-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.03em; margin-bottom: 8px;
}
.sf-section-head p { color: var(--muted); font-size: 16px; }

.sf-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,.75);
}
.sf-step {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}
.sf-step:last-child { border-right: none; }
.sf-step .num {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: var(--sapphire-sky); margin-bottom: 10px;
}
.sf-step h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 8px; }
.sf-step p { font-size: 14px; color: var(--muted); }

.sf-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sf-plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sf-plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sf-plan.featured {
  border-color: var(--fresh-sky);
  box-shadow: 0 24px 50px rgba(0,116,224,.14);
  background: linear-gradient(180deg, #fff, #f0faff);
}
.sf-plan.featured .badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--sapphire-sky); color: #fff;
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
}
.sf-plan h3 { font-family: var(--font-display); font-size: 22px; }
.sf-plan .price {
  font-family: var(--font-display); font-size: 40px; font-weight: 700;
  color: var(--sapphire); letter-spacing: -.03em; line-height: 1;
}
.sf-plan .price small { font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.sf-plan .blurb { color: var(--muted); font-size: 14px; flex: 1; }
.sf-plan ul { list-style: none; margin: 4px 0 12px; }
.sf-plan li {
  font-size: 13.5px; padding: 7px 0 7px 22px; position: relative;
  border-bottom: 1px solid rgba(189,234,255,.5);
}
.sf-plan li:last-child { border-bottom: none; }
.sf-plan li::before {
  content: '✓'; position: absolute; left: 0; top: 7px;
  color: var(--sapphire-sky); font-weight: 700; font-size: 12px;
}

.sf-footer {
  max-width: 1120px; margin: 0 auto;
  padding: 28px 20px 48px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
}

/* Merchant shop */
.shop-nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.shop-nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 14px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none; color: inherit;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: inherit;
}
.product-media {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--pale-sky), var(--frozen-lake));
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 42px; color: var(--sapphire);
  position: relative;
}
.product-media .tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.9); color: var(--sapphire);
  font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px;
}
.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-family: var(--font-display); font-size: 17px; }
.product-body p { font-size: 13px; color: var(--muted); flex: 1; }
.product-body .row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px;
}
.product-body .price {
  font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--sapphire);
}

.method-grid { display: grid; gap: 10px; }
.method-option {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff;
  cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.method-option:hover { border-color: var(--frozen-lake-2); }
.method-option input { accent-color: var(--sapphire-sky); width: 18px; height: 18px; }
.method-option.selected {
  border-color: var(--sapphire-sky);
  background: rgba(0, 167, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(42, 190, 255, 0.18);
}
.method-logo {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 12px; color: #fff;
}
.method-logo.bkash { background: #E2136E; }
.method-logo.nagad { background: #EA580C; }
.method-logo.rocket { background: #8B1A9B; }
.method-meta strong { display: block; font-size: 15px; }
.method-meta span { font-size: 12px; color: var(--muted); }

.steps-bar {
  display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap;
}
.steps-bar .s {
  flex: 1; min-width: 90px; text-align: center;
  font-size: 12px; font-weight: 700; color: var(--muted);
  padding: 8px; border-radius: 999px; background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
}
.steps-bar .s.on {
  color: #fff;
  background: linear-gradient(135deg, var(--fresh-sky), var(--sapphire-sky));
  border-color: transparent;
}

.order-summary {
  background: linear-gradient(180deg, #fff, var(--alice-blue));
  border: 1px solid var(--line);
  border-radius: 16px; padding: 16px; margin-bottom: 16px;
}
.order-summary .line {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14px; padding: 6px 0; color: var(--muted);
}
.order-summary .line.total {
  border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 12px;
  font-family: var(--font-display); font-size: 18px; color: var(--sapphire); font-weight: 700;
}

@media (max-width: 900px) {
  .sf-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 36px; }
  .sf-visual { min-height: 360px; order: -1; }
  .sf-steps, .sf-plans { grid-template-columns: 1fr; }
  .sf-step { border-right: none; border-bottom: 1px solid var(--line); }
  .sf-step:last-child { border-bottom: none; }
  .sf-phone { transform: none; }
}
