/* The existing constellation uses the old footer as a positioning anchor. */
#root.has-store-footer .hy .market-content > footer {
  display:block!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden;
  visibility:hidden;
}
#root.has-store-footer .hy .market-content {padding-bottom:18px!important;}

.store-footer {
  position:relative;
  isolation:isolate;
  z-index:1;
  box-sizing:border-box;
  padding:0 max(64px,calc((100% - 1440px)/2)) 32px;
  color:#e7f0fd;
  font:500 16px/1.45 Onest,Arial,sans-serif;
}
.store-footer *, .store-footer *::before, .store-footer *::after {box-sizing:border-box;}
.store-footer a {color:inherit;text-decoration:none;}
.store-footer a:focus-visible {outline:2px solid #95caff;outline-offset:3px;}
.store-footer__inner {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:36px;
  padding:32px 0 12px;
  border-top:1px solid rgba(151,186,219,.26);
}
.store-footer__brand {
  display:grid;
  grid-template-columns:48px auto;
  grid-template-areas:"mark name" "mark description";
  align-items:center;
  justify-self:start;
  gap:5px 13px;
}
.store-footer__brand img {
  grid-area:mark;
  display:block;
  width:48px;
  height:48px;
  object-fit:contain;
  filter:url(#fenix-footer-mark);
}
.store-footer__name {grid-area:name;align-self:end;font-size:21px;line-height:1.04;font-weight:740;letter-spacing:.045em;}
.store-footer__description {grid-area:description;align-self:start;font-size:14px;line-height:1.5;font-weight:450;color:#b0bfd5;}
.store-footer__legal {display:flex;align-items:center;gap:27px;font-size:15px;}
.store-footer__legal > span {color:#9eafc5;}
.store-footer .store-footer__support {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:44px;
  padding:11px 15px;
  border:1px solid #466a88;
  border-radius:12px;
  background:linear-gradient(120deg,rgba(32,66,95,.65),rgba(17,40,65,.66));
  color:#e2f0ff;
  font-weight:620;
}
.store-footer__support svg {width:18px;height:18px;flex:none;color:#b4ddff;}
.store-footer .store-footer__support:hover {border-color:#88b9dd;color:white;}
.store-footer__filters {position:absolute;width:0;height:0;overflow:hidden;pointer-events:none;}

@media (max-width:1000px) {
  .store-footer {padding-inline:24px;}
  .store-footer__inner {gap:21px;}
  .store-footer__legal {gap:16px;}
}

@media (max-width:900px) {
  .store-footer {padding:0 16px 22px;}
  .store-footer__inner {grid-template-columns:1fr;justify-items:center;gap:0;padding:5px 0 0;border:0;}
  .store-footer__brand {
    grid-template-columns:minmax(0,1fr) 39px auto minmax(0,1fr);
    grid-template-areas:"start mark name end" "description description description description";
    width:100%;
    min-height:44px;
    justify-self:stretch;
    gap:6px 10px;
    text-align:center;
  }
  .store-footer__brand::before, .store-footer__brand::after {
    content:"";
    height:1px;
    background:linear-gradient(to right,transparent,rgba(131,177,200,.38));
  }
  .store-footer__brand::before {grid-area:start;margin-right:3px;}
  .store-footer__brand::after {grid-area:end;margin-left:3px;transform:rotate(180deg);}
  .store-footer__brand img {width:39px;height:39px;}
  .store-footer__name {align-self:center;font-size:19px;letter-spacing:.105em;}
  .store-footer .store-footer__support {
    grid-row:2;
    margin-top:9px;
    padding:0;
    border:0;
    background:transparent;
    color:#c3e6ff;
    font-size:14px;
    font-weight:650;
  }
  .store-footer__legal {flex-wrap:wrap;justify-content:center;gap:0 20px;min-height:44px;font-size:14px;}
}

/* ===== footer v2 (owner, 05.12.2026): icons, three columns, bottom line ===== */
.store-footer__inner {grid-template-columns:minmax(0,1fr) auto auto;}
.store-footer__icons {display:flex;gap:10px;}
.store-footer__icon {display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:13px;
  background:linear-gradient(120deg,rgba(32,66,95,.65),rgba(17,40,65,.66));box-shadow:inset 0 0 0 1px #3a5a78;transition:transform .2s,box-shadow .2s;}
.store-footer__icon svg {width:20px;height:20px;}
.store-footer__icon--tg svg {color:#4cb8f5;} .store-footer__icon--chat svg {color:#b4ddff;}
.store-footer .store-footer__icon:hover {transform:translateY(-2px);box-shadow:inset 0 0 0 1px #88b9dd;}
.store-footer__cols {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,1.1fr);gap:36px;padding:26px 0 24px;border-top:1px solid rgba(151,186,219,.16);}
.store-footer__col {display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;}
.store-footer__col > b {margin-bottom:4px;font-size:12.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#8fa6c4;}
.store-footer__col a, .store-footer__col span {font-size:15px;color:#dbe7f7;}
.store-footer .store-footer__col a:hover {color:#fff;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.35);}
.store-footer__popular {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 28px;width:100%;}
.store-footer__with-icon {display:flex;align-items:center;gap:10px;}
.store-footer__with-icon svg {width:18px;height:18px;flex:none;color:#9fc6ea;}
.store-footer__with-icon > svg[fill="currentColor"]:first-child {color:#4cb8f5;}
.store-footer__col span.store-footer__with-icon > svg {color:#ffcf5a;}
.store-footer__with-icon a {text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(219,231,247,.35);}
.store-footer__bottom {display:flex;align-items:center;flex-wrap:wrap;gap:10px 28px;padding:16px 0 0;border-top:1px solid rgba(151,186,219,.16);font-size:13.5px;color:#8fa6c4;}
.store-footer__bottom .store-footer__legal {gap:20px;font-size:13.5px;}
.store-footer__pay {display:inline-flex;align-items:center;gap:9px;margin-left:auto;}
.store-footer__pay i {padding:3px 8px;border-radius:7px;background:#fff;color:#1d1d6b;font-style:normal;font-weight:800;font-size:11.5px;letter-spacing:.04em;}

/* thin strip above the header */
.store-strip {position:relative;z-index:6;box-sizing:border-box;padding:0 max(64px,calc((100% - 1440px)/2 + 64px));background:rgba(4,10,28,.55);border-bottom:1px solid rgba(151,186,219,.12);
  font:500 13px/1 Onest,Arial,sans-serif;color:#9fb4d2;}
.store-strip__inner {display:flex;align-items:center;justify-content:space-between;gap:20px;height:34px;}
.store-strip__note {display:inline-flex;align-items:center;gap:8px;}
.store-strip__note i {width:7px;height:7px;border-radius:50%;background:#68d6ae;box-shadow:0 0 0 3px rgba(104,214,174,.18);}
.store-strip__links {display:flex;gap:22px;}
.store-strip__links a {display:inline-flex;align-items:center;gap:7px;color:#d3e2f6;text-decoration:none;transition:color .2s;}
.store-strip__links a:hover {color:#fff;}
.store-strip__links svg {width:15px;height:15px;flex:none;}
.store-strip__links a:first-child svg {color:#ffcf5a;} .store-strip__links a:last-child svg {color:#4cb8f5;}
.store-strip__links a:nth-child(2) svg {color:#b4ddff;}

@media (max-width:1000px) {
  .store-footer__cols {grid-template-columns:1fr 1fr;}
  .store-footer__col--wide {grid-column:1 / -1;grid-row:1;}
  .store-footer__popular {grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media (max-width:900px) {
  .store-footer__icons {grid-row:3;justify-content:center;margin-top:14px;}
  .store-footer__cols {grid-template-columns:1fr;gap:24px;padding:24px 4px 20px;margin-top:18px;}
  .store-footer__popular {grid-template-columns:repeat(2,minmax(0,1fr));}
  .store-footer__bottom {justify-content:center;text-align:center;}
  .store-footer__pay {margin-left:0;}
  .store-strip {padding:0 16px;}
  .store-strip__note {display:none;}
  .store-strip__links {width:100%;justify-content:space-between;gap:10px;}
  .store-strip__links a {font-size:12.5px;}
}
@media (min-width:901px) { .store-footer__bottom { padding-right:76px; } }
.store-strip__links .s {display:none;}
@media (max-width:900px) { .store-strip__links .l {display:none;} .store-strip__links .s {display:inline;} .store-strip__links a {white-space:nowrap;} }
