/*
 * Блоки страницы 404 (design/pages/not-found.html, not-found-mobile.html): Hero «Такой страницы нет», «Акции», «Популярные виджеты».
 */

/* ===== Hero ===== */
.v2 .wx-e4{display:flex;align-items:center;gap:56px;}
.v2 .wx-e4__tx{display:flex;flex-direction:column;gap:20px;flex:1 1 0;min-width:0;}
.v2 .wx-e4__big{position:relative;flex:0 0 520px;height:360px;display:flex;align-items:center;justify-content:center;gap:4px;}
.v2 .wx-e4__d{font-weight:900;font-size:220px;line-height:1;letter-spacing:-.04em;background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.35) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 20px 40px rgba(224,64,76,.25));}
.v2 .wx-e4__o{position:relative;width:180px;height:180px;flex:0 0 180px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:var(--lg-sheen),var(--lg-fill);-webkit-backdrop-filter:var(--lg-blur);backdrop-filter:var(--lg-blur);box-shadow:var(--lg-edge),var(--lg-drop),0 0 80px -10px rgba(233,107,59,.55);
  animation:wx-floaty 6s ease-in-out infinite;animation-play-state:var(--wx-play,running);}
.v2 .wx-e4__o::before{content:"";position:absolute;inset:18px;border-radius:50%;background:var(--accent-gradient);opacity:.9;box-shadow:inset 0 2px 0 rgba(255,255,255,.45),0 18px 40px -12px rgba(224,64,76,.8);}
.v2 .wx-e4__o span{position:relative;color:#fff;display:flex;}
.v2 .wx-e4__tag{position:absolute;display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:14px;font-size:13px;font-weight:600;color:var(--white);white-space:nowrap;
  background:var(--lg-sheen),var(--lg-fill);-webkit-backdrop-filter:var(--lg-blur);backdrop-filter:var(--lg-blur);box-shadow:var(--lg-edge),var(--lg-drop);
  animation:wx-floaty 7s ease-in-out infinite;animation-play-state:var(--wx-play,running);}
.v2 .wx-e4__tag i{font-style:normal;color:#7fd6a0;}
.v2 .wx-e4__tag--1{left:0;top:18px;animation-delay:.6s;}
.v2 .wx-e4__tag--2{right:0;bottom:22px;animation-delay:1.4s;}
.v2 .wx-sugg{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px;color:var(--text-muted);}
.v2 .wx-sugg a{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;color:var(--white);background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);transition:background .25s,transform .25s;}
.v2 .wx-sugg a:hover{background:rgba(255,255,255,.12);transform:translateY(-1px);color:var(--white);}
html[data-theme="light"] .v2 .wx-e4__d{background:linear-gradient(180deg,#17141f 0%,rgba(23,20,31,.3) 100%);-webkit-background-clip:text;background-clip:text;}
html[data-theme="light"] .v2 .wx-e4__tag{color:#17141f;}
html[data-theme="light"] .v2 .wx-e4__tag i{color:#1b8a4b;}
html[data-theme="light"] .v2 .wx-sugg{color:#5b5568;}
html[data-theme="light"] .v2 .wx-sugg a,html[data-theme="light"] .v2 .wx-sugg a:hover{color:#17141f;background:linear-gradient(160deg,#fff,rgba(255,255,255,.72));box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(23,20,31,.1);}

/* ===== Акции ===== */
.v2 .wx-offers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none;}
.v2 .wx-offers li{display:flex;}
.v2 .wx-offer{position:relative;overflow:hidden;flex:1;display:flex;flex-direction:column;gap:14px;padding:28px 24px;border-radius:28px;color:var(--white);transition:transform .3s var(--ease-standard);
  background:var(--lg-sheen),var(--lg-fill);-webkit-backdrop-filter:var(--lg-blur);backdrop-filter:var(--lg-blur);box-shadow:var(--lg-edge),var(--lg-drop);}
.v2 .wx-offer:hover{transform:translateY(-4px);color:var(--white);}
.v2 .wx-offer__oi{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--accent-gradient);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 10px 20px -10px rgba(224,64,76,.7);}
.v2 .wx-offer__oi img{width:24px;height:24px;}
.v2 .wx-offer__ov{font-weight:800;font-size:36px;line-height:1;}
.v2 .wx-offer h3{margin:0;font-weight:700;font-size:18px;line-height:1.3;}
.v2 .wx-offer p{margin:0;font-size:15px;line-height:1.55;color:var(--text-secondary);}
.v2 .wx-offer__ol{margin-top:auto;display:inline-flex;align-items:center;gap:6px;font-size:15px;color:var(--link-accent);font-weight:600;}
.v2 .wx-offer--fx{background:linear-gradient(160deg,rgba(233,107,59,.22),rgba(224,64,76,.08)),var(--lg-fill);box-shadow:var(--lg-edge),var(--lg-drop),inset 0 0 0 1.5px rgba(233,107,59,.55);}
.v2 .wx-offer__badge{position:absolute;top:20px;right:20px;font-size:12px;font-weight:600;padding:5px 10px;border-radius:8px;color:#7fd6a0;background:rgba(127,214,160,.12);}
html[data-theme="light"] .v2 .wx-offer,html[data-theme="light"] .v2 .wx-offer:hover{color:#17141f;}
html[data-theme="light"] .v2 .wx-offer p{color:#3a3545;}
html[data-theme="light"] .v2 .wx-offer--fx{background:linear-gradient(160deg,rgba(233,107,59,.14),rgba(255,255,255,.7));}
html[data-theme="light"] .v2 .wx-offer__badge{color:#1b8a4b;background:rgba(27,138,75,.1);}

/* ===== Популярные виджеты ===== */
.v2 .wx-popw{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none;}
.v2 .wx-popw li{display:flex;}
.v2 .wx-pw{flex:1;display:flex;gap:16px;align-items:center;padding:20px;border-radius:22px;color:var(--white);transition:transform .3s var(--ease-standard);
  background:var(--lg-sheen),var(--lg-fill);-webkit-backdrop-filter:var(--lg-blur);backdrop-filter:var(--lg-blur);box-shadow:var(--lg-edge),var(--lg-drop);}
.v2 .wx-pw:hover{transform:translateY(-3px);color:var(--white);}
.v2 .wx-pw .wx-plate{width:52px;height:52px;flex:0 0 52px;}
.v2 .wx-pw__t{display:flex;flex-direction:column;gap:6px;min-width:0;}
.v2 .wx-pw b{font-weight:700;font-size:16px;}
.v2 .wx-pw small{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:13px;color:var(--text-muted);}
.v2 .wx-pw__go{margin-left:auto;color:var(--text-muted);display:flex;}
html[data-theme="light"] .v2 .wx-pw,html[data-theme="light"] .v2 .wx-pw:hover{color:#17141f;}
/* «Популярные виджеты» сеткой (главная, макет 10.2026 «Каталог виджетов», .wmini): иконка, название, категория */
.v2 .wx-popw__h{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:32px;}
.v2 .wx-page .wx-popw__h .wx-sech{margin-bottom:0;}
.v2 .wx-pwg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;}
.v2 .wx-pwg li{display:flex;}
.v2 .wx-wm{flex:1;display:flex;align-items:center;gap:14px;padding:16px;border-radius:20px;color:var(--text-primary);text-decoration:none;
  background:var(--lg-sheen),var(--lg-fill);-webkit-backdrop-filter:var(--lg-blur);backdrop-filter:var(--lg-blur);box-shadow:var(--lg-edge),var(--lg-drop);transition:transform .25s var(--ease-standard);}
.v2 a.wx-wm:hover{transform:translateY(-3px);color:var(--text-primary);}
.v2 .wx-wm .wx-plate{width:44px;height:44px;flex:0 0 44px;}
.v2 .wx-wm__t{display:flex;flex-direction:column;gap:2px;min-width:0;}
.v2 .wx-wm b{font-weight:700;font-size:15px;line-height:1.3;}
.v2 .wx-wm small{font-size:12px;color:var(--text-muted);}
html[data-theme="light"] .v2 .wx-wm small{color:#5b5568;}
@media (prefers-reduced-motion:reduce){.v2 a.wx-wm:hover{transform:none;}}
@media (max-width:1023px){.v2 .wx-pwg{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:767px){
  .v2 .wx-popw__h{flex-direction:column;align-items:flex-start;gap:20px;}
  .v2 .wx-pwg{grid-template-columns:minmax(0,1fr);}
}
html[data-theme="light"] .v2 .wx-pw small,html[data-theme="light"] .v2 .wx-pw__go{color:#5b5568;}

@media (prefers-reduced-motion:reduce){
  .v2 .wx-e4__o,.v2 .wx-e4__tag{animation:none;}
}
@media (max-width:1023px){
  .v2 .wx-e4{flex-direction:column-reverse;align-items:stretch;gap:8px;}
  .v2 .wx-e4__big{flex:0 0 auto;width:100%;max-width:520px;margin-inline:auto;}
  .v2 .wx-offers{grid-template-columns:repeat(2,minmax(0,1fr));}
  .v2 .wx-popw{grid-template-columns:minmax(0,1fr);}
}
@media (max-width:767px){
  .v2 .wx-e4__big{height:220px;}
  .v2 .wx-e4__d{font-size:120px;}
  .v2 .wx-e4__o{width:104px;height:104px;flex-basis:104px;}
  .v2 .wx-e4__o::before{inset:10px;}
  .v2 .wx-e4__o svg{width:36px;height:36px;}
  .v2 .wx-e4__tag{font-size:12px;padding:8px 10px;}
  .v2 .wx-e4__tag--1{top:0;left:0;}
  .v2 .wx-e4__tag--2{bottom:0;right:0;}
  .v2 .wx-offers{grid-template-columns:minmax(0,1fr);gap:14px;}
  .v2 .wx-offer{padding:22px 20px;border-radius:24px;}
  .v2 .wx-offer__ov{font-size:30px;}
  .v2 .wx-popw{gap:12px;}
}
