/* Wishavi — визуалы карточек «Возможности» (HTML/CSS/SVG) */
.wf {
  --p: #6a4dff;
  --p2: #8a6bff;
  --lime: #c9f26e;
  --lime2: #b6ea4f;
  --ink: #1a1a1c;
  --muted: #9aa0a8;
  --line: #e3e7ee;
  --soft: #f4f5f8;
  position: relative;
  width: 100%;
  flex: 1;
  margin-top: 58px;
  margin-bottom: 30px;
  min-height: 210px;
  font-family: "Inter Tight", sans-serif;
}
@media (min-width: 1024px) {
  .wf { margin-top: 96px; margin-bottom: 52px; }
}

/* фирменная плашка-пилюля со стрелкой */
.wf-tip {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  background: var(--p);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 22px -8px rgba(106, 77, 255, 0.6);
}
.wf-tip svg { width: 13px; height: 13px; }
.wf-tip::after {
  content: "";
  position: absolute;
  width: 11px; height: 11px;
  background: var(--p);
  transform: rotate(45deg);
}
.wf-tip--dl::after { left: 16px; bottom: -4px; }
.wf-tip--dr::after { right: 16px; bottom: -4px; }
.wf-tip--l::after  { left: -4px; top: 50%; margin-top: -5px; }
.wf-tip--r::after  { right: -4px; top: 50%; margin-top: -5px; }

.wf-float { animation: wf-float 5s ease-in-out infinite; }
@keyframes wf-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ── карточка-мокап (общее) ── */
.wf-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 44px -18px rgba(16, 24, 40, 0.28), 0 4px 12px -8px rgba(16, 24, 40, 0.12);
}
.wf-ph { background: var(--line); border-radius: 999px; }

/* ═══ 1. Магазины ═══ */
.wf1__hub {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #edeaff;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.wf1__hub svg { width: 26px; height: 26px; color: var(--p); }
.wf1__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.wf1__tiles {
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  height: 54px;
  z-index: 2;
}
.wf1__tile {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  width: 54px; height: 54px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 10px 22px -10px rgba(16, 24, 40, 0.28);
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 420px) {
  .wf1__tile { width: 46px; height: 46px; }
  .wf1__tile img { width: 28px; height: 28px; }
}
.wf1__tile img {
  width: 34px; height: 34px;
  object-fit: contain;
  border-radius: 8px;
}

/* ═══ 2. Аналитика ═══ */
.wf2__chart {
  position: absolute;
  inset: 14px 16px 30px 16px;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.wf2__grid { position: absolute; inset: 14px 16px 30px 16px; z-index: 0; }
.wf2__grid i {
  position: absolute; left: 0; right: 0; height: 1px; background: var(--line);
}
.wf2__group { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 3px; height: 100%; }
.wf2__bar {
  width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, var(--p), rgba(106, 77, 255, 0.15));
}
.wf2__months {
  position: absolute; left: 16px; right: 16px; bottom: 8px;
  display: flex; justify-content: space-between;
  font-size: 10px; color: var(--muted);
}
.wf2__pop {
  position: absolute; top: 8px; right: 14px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: #fff; border-radius: 12px;
  box-shadow: 0 14px 30px -12px rgba(16, 24, 40, 0.3);
  z-index: 4;
}
.wf2__up { width: 26px; height: 26px; border-radius: 8px; background: var(--lime); display:flex; align-items:center; justify-content:center; }
.wf2__up svg { width: 15px; height: 15px; color: #1a1a1c; }
.wf2__pop small { font-size: 11px; color: var(--muted); }
.wf2__pop b { font-size: 14px; color: var(--ink); display: block; }

/* ═══ 3. Уведомления ═══ */
.wf3__tg { top: 22px; left: 6px; width: 230px; padding: 14px; display: flex; align-items: center; gap: 12px; z-index: 2; }
.wf3__gift { width: 40px; height: 40px; border-radius: 50%; background: rgba(106,77,255,0.12); display:flex; align-items:center; justify-content:center; flex-shrink: 0; }
.wf3__gift svg { width: 20px; height: 20px; color: var(--p); }
.wf3__lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.wf3__lines i { height: 7px; }
.wf3__badge { width: 20px; height: 20px; border-radius: 50%; background: var(--lime); color:#1a1a1c; font-size: 11px; font-weight: 800; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.wf3__alert { bottom: 20px; right: 6px; width: 210px; padding: 12px; background: #16161c; display: flex; align-items: center; gap: 10px; z-index: 3; }
.wf3__av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #8a6bff, #47bfff); flex-shrink: 0; }
.wf3__alert .l { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.wf3__alert .l i { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.18); }
.wf3__alert .l i.glow { background: linear-gradient(90deg, var(--p2), #47bfff); width: 70%; }

/* ═══ 4. Регистрация ═══ */
.wf4__q { top: 30px; left: 8px; width: 200px; height: 120px; opacity: 0.45; display:flex; align-items:center; justify-content:center; }
.wf4__spin { width: 40px; height: 40px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--muted); animation: wf-spin 1s linear infinite; }
@keyframes wf-spin { to { transform: rotate(360deg); } }
.wf4__ok { bottom: 24px; right: 8px; width: 210px; height: 130px; display:flex; flex-direction: column; align-items:center; justify-content:center; gap: 12px; z-index: 3; }
.wf4__check { width: 56px; height: 56px; border-radius: 50%; background: #effbd4; display:flex; align-items:center; justify-content:center; }
.wf4__check svg { width: 30px; height: 30px; color: #7cb518; }
.wf4__ok b { font-size: 13px; color: var(--ink); font-weight: 500; }

/* ═══ 5. Оплата ═══ */
.wf5 { display: flex; align-items: center; justify-content: center; }
.wf5c {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: center;
  max-width: 320px; padding: 0 4px;
}
.wf5c__chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px 8px 8px;
  background: #fff;
  border: 1px solid rgba(120, 110, 160, 0.12);
  border-radius: 999px;
  box-shadow: 0 8px 20px -14px rgba(16, 24, 40, 0.3);
  font-size: 13px; font-weight: 600; color: #1a1a1c;
}
.wf5c__ic {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 12px;
}
.wf5c__ic svg { width: 15px; height: 15px; }
.wf5__cards { position: relative; width: 210px; height: 150px; }
.wf5__pc { position: absolute; top: 22px; left: 50%; width: 150px; height: 94px; border-radius: 14px; box-shadow: 0 16px 34px -14px rgba(16,24,40,0.35); }
.wf5__pc--1 { transform: translateX(-50%) rotate(-12deg); background: linear-gradient(135deg, #0ea5a2, #14c8b6); }
.wf5__pc--2 { transform: translateX(-50%) rotate(0deg); background: linear-gradient(135deg, #8a7ce0, #ab9fe8); z-index: 2; }
.wf5__pc--3 { transform: translateX(-50%) rotate(12deg); background: linear-gradient(135deg, #eef0f4, #fbfcfe); }
.wf5__pc i { position: absolute; left: 14px; bottom: 16px; width: 44px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.5); }
.wf5__pc--3 i { background: rgba(0,0,0,0.15); }
.wf5__pc .chip { position: absolute; left: 14px; top: 14px; width: 22px; height: 16px; border-radius: 4px; background: rgba(255,255,255,0.6); }
.wf5__pc--3 .chip { background: rgba(0,0,0,0.12); }
.wf5__coin {
  position: absolute; top: 8px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffb84d, #f7931a);
  box-shadow: 0 10px 22px -12px rgba(16,24,40,0.26);
  display:flex; align-items:center; justify-content:center;
  color: #fff;
  z-index: 5;
}
.wf5__coin svg { width: 27px; height: 28px; }

/* ═══ 6. Логистика ═══ */
.wf6__chain { position: absolute; top: 40px; left: 0; right: 0; display: flex; align-items: flex-start; justify-content: center; gap: 0; z-index: 2; }
.wf6__step { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; }
.wf6__dot { width: 34px; height: 34px; border-radius: 50%; display:flex; align-items:center; justify-content:center; color:#fff; }
.wf6__dot svg { width: 17px; height: 17px; }
.wf6__dot--p { background: #edeaff; color: var(--p); }
.wf6__dot--lime { background: #effbd4; color: #7cb518; }
.wf6__step small { font-size: 10px; color: var(--muted); text-align: center; line-height: 1.2; }
.wf6__conn { flex: 0 0 26px; height: 2px; margin-top: 16px; background: var(--p); border-radius: 999px; }
.wf6__conn--lime { background: linear-gradient(90deg, var(--p), var(--lime)); }
.wf6__prod { bottom: 12px; right: 10px; width: 176px; padding: 10px; display: flex; align-items: center; gap: 10px; z-index: 3; }
.wf6__prod .im { width: 42px; height: 42px; border-radius: 10px; background: var(--soft); flex-shrink: 0; }
.wf6__prod .t { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.wf6__prod .t i { height: 7px; }
.wf6__instock { display:inline-flex; align-items:center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: rgba(34,197,94,0.12); color: #16a34a; font-size: 10px; font-weight: 700; }
.wf6__instock::before { content:""; width:6px; height:6px; border-radius:50%; background:#16a34a; }

/* бейдж «Скоро» в углу карточки */
.wf-soon {
  position: absolute; top: 16px; right: 16px; z-index: 8;
  padding: 5px 12px; border-radius: 999px;
  background: var(--lime, #c9f26e); color: #1a1a1c;
  font-family: "Inter Tight", sans-serif; font-size: 12px; font-weight: 700;
  box-shadow: 0 6px 16px -10px rgba(16,24,40,0.22);
}
