
:root{--bg:#090a0f;--surface:#12141b;--surface2:#171a23;--border:#292d38;--text:#f5f5f7;--muted:#969cab;--accent:#8b5cf6;--green:#56d364;--orange:#f59e0b}
*{box-sizing:border-box}html{background:var(--bg);color-scheme:dark}body{margin:0;background:radial-gradient(circle at 85% 8%,rgba(139,92,246,.13),transparent 22rem),var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button{font:inherit}.app{width:min(100%,760px);margin:auto;min-height:100vh;padding:calc(env(safe-area-inset-top) + 18px) 16px calc(105px + env(safe-area-inset-bottom))}
.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.brand{font-weight:950;font-size:24px;letter-spacing:-.05em}.brand span{color:var(--accent)}.sub{color:var(--muted);font-size:12px;margin-top:4px}.actions{display:flex;gap:8px}.actions button{height:46px;min-width:46px;border:1px solid var(--border);border-radius:14px;background:#11131a;color:white}.actions .balance{padding:0 16px;color:#b69cff;font-weight:800}
.card{border:1px solid var(--border);background:linear-gradient(180deg,#161821,#0f1117);box-shadow:0 20px 60px rgba(0,0,0,.28)}
.hero{border-radius:28px;padding:32px;display:grid;grid-template-columns:1.1fr .9fr;min-height:350px;overflow:hidden}.heroText{align-self:center;z-index:2}.hero small,#sheet small{color:#a78bfa;font-weight:800;letter-spacing:.12em}.hero h1{font-size:clamp(44px,8vw,68px);line-height:.94;letter-spacing:-.065em;margin:14px 0}.hero h1 span{color:var(--accent)}.hero p{color:#aab0be;line-height:1.55;max-width:380px}.primary{border:0;border-radius:14px;padding:15px 20px;background:linear-gradient(135deg,#8b5cf6,#6d3df1);color:#fff;font-weight:800}.art{position:relative;min-height:230px}.coin{position:absolute;width:128px;height:128px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#262a37,#0d0f15);border:1px solid #414655;font-size:52px;font-weight:950;box-shadow:0 26px 45px rgba(0,0,0,.4)}.c1{left:4%;top:10%;color:#ddd;transform:rotate(-8deg)}.c2{right:0;bottom:6%;color:#ff4d58;transform:rotate(10deg)}.ring{position:absolute;width:220px;height:66px;border:1px solid #8b5cf6;border-radius:50%;right:-1%;bottom:0;box-shadow:0 0 32px rgba(139,92,246,.34)}
.section{margin-top:30px}.section h2{margin:0 0 14px;font-size:22px}.row{display:flex;justify-content:space-between;align-items:center}.row h2{margin:0}.link{border:0;background:transparent;color:#a78bfa;font-weight:700}.cats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cat{min-height:108px;border:1px solid var(--border);border-radius:20px;background:rgba(18,20,27,.82);color:white;padding:18px;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;text-align:left}.cat i{font-style:normal;width:48px;height:48px;border-radius:14px;background:#232630;display:grid;place-items:center;font-weight:950;font-size:23px}.cat i.val{color:#ff4d58;background:#28171b}.cat b,.cat span{display:block}.cat span{color:var(--muted);font-size:12px;margin-top:5px}.cat em{font-style:normal;color:var(--muted);font-size:26px}
.products{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.product{border:1px solid var(--border);border-radius:20px;background:#11131a;padding:15px}.visual{height:80px;border-radius:14px;padding:12px;display:flex;align-items:flex-end;font-size:22px;font-weight:950}.visual.roblox{background:linear-gradient(145deg,#0d2a17,#17231a);color:#73ee87}.visual.valorant{background:linear-gradient(145deg,#2b1116,#1a0f13);color:#ff525d}.product h3{font-size:16px;margin:12px 0 6px}.price{color:#a78bfa;font-weight:900;font-size:20px}.stock{color:var(--muted);font-size:12px;margin-top:12px}.stock:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:6px}.stock.low:before{background:var(--orange)}
.benefits{margin-top:26px;border-radius:22px;padding:18px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.benefits>div{padding:10px 14px}.benefits>div+div{border-left:1px solid var(--border)}.benefits strong,.benefits span{display:block}.benefits strong{font-size:14px}.benefits span{font-size:11px;color:var(--muted);margin-top:5px}
.empty{border-radius:20px;padding:18px;display:flex;align-items:center;gap:14px}.empty>div{width:48px;height:48px;border-radius:14px;background:#171a23;display:grid;place-items:center;color:#a78bfa;font-size:24px}.empty p{margin:0}.empty b,.empty span{display:block}.empty span{color:var(--muted);font-size:12px;margin-top:5px}
.app>nav{position:fixed;left:50%;bottom:max(10px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(calc(100% - 24px),730px);height:76px;border:1px solid var(--border);background:rgba(14,16,23,.94);backdrop-filter:blur(18px);border-radius:24px;display:grid;grid-template-columns:repeat(4,1fr);padding:7px;z-index:10}.app>nav button{border:0;background:transparent;color:#777d8b;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:17px;gap:3px}.app>nav button.active{color:#a78bfa;background:rgba(139,92,246,.08)}.app>nav span{font-size:22px}.app>nav small{font-size:11px;font-weight:700}
#backdrop{position:fixed;inset:0;background:rgba(0,0,0,.58);z-index:20}#sheet{position:fixed;left:50%;bottom:0;transform:translate(-50%,105%);width:min(100%,760px);max-height:82vh;overflow:auto;background:#0f1118;border:1px solid var(--border);border-bottom:0;border-radius:28px 28px 0 0;z-index:21;padding:12px 18px calc(26px + env(safe-area-inset-bottom));transition:.28s}#sheet.open{transform:translate(-50%,0)}.handle{width:42px;height:4px;background:#454a59;border-radius:999px;margin:0 auto 17px}.sheetHead{display:flex;justify-content:space-between;align-items:center}.sheetHead h3{font-size:28px;margin:5px 0 0}.sheetHead button{width:46px;height:46px;border:1px solid var(--border);border-radius:14px;background:#171a23;color:#fff;font-size:24px}#sheetBody{display:grid;gap:10px;margin-top:18px}.sheetItem{border:1px solid var(--border);border-radius:18px;background:#151821;color:#fff;padding:15px;display:grid;grid-template-columns:1fr auto;gap:6px 14px;text-align:left}.sheetItem .stock{grid-column:1/-1}
@media(max-width:620px){.hero{grid-template-columns:1fr;min-height:470px;padding:25px}.art{min-height:185px}.coin{width:108px;height:108px}.c1{left:18%}.c2{right:10%}.ring{width:190px;right:5%}.products{grid-template-columns:1fr 1fr}.products .product:nth-child(3){grid-column:1/-1}.benefits{grid-template-columns:1fr}.benefits>div+div{border-left:0;border-top:1px solid var(--border)}}@media(max-width:430px){.sub{display:none}.cats{grid-template-columns:1fr}}


/* Desktop website header. Mobile keeps the original Mini App navigation. */
.web-header{display:none}
@media (min-width: 821px){
  .web-header{
    position:sticky;
    top:0;
    z-index:60;
    display:block;
    width:100%;
    border-bottom:1px solid rgba(255,255,255,.055);
    background:rgba(9,10,15,.88);
    -webkit-backdrop-filter:blur(18px);
    backdrop-filter:blur(18px);
  }
  .web-header__inner{
    width:min(calc(100% - 48px),1120px);
    height:72px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:32px;
  }
  .web-header__brand{
    flex:0 0 auto;
    padding:0;
    border:0;
    background:transparent;
    color:#f5f5f7;
    font-size:22px;
    line-height:1;
    font-weight:950;
    letter-spacing:-.05em;
    cursor:pointer;
  }
  .web-header__brand span{color:var(--accent)}
  .web-header__nav{
    position:static;
    transform:none;
    width:auto;
    height:auto;
    border:0;
    background:transparent;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
    border-radius:0;
    display:flex;
    grid-template-columns:none;
    align-items:center;
    gap:8px;
    padding:0;
    z-index:auto;
  }
  .web-header__nav button{
    position:relative;
    min-width:0;
    height:40px;
    padding:0 13px;
    border:0;
    border-radius:12px;
    background:transparent;
    color:#9a9fac;
    display:inline-flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:750;
    cursor:pointer;
    transition:color .16s ease,background .16s ease;
  }
  .web-header__nav button:hover,
  .web-header__nav button.is-active{color:#fff;background:rgba(255,255,255,.035)}
  .web-header__nav button.is-active::after{
    content:"";
    position:absolute;
    left:13px;
    right:13px;
    bottom:3px;
    height:2px;
    border-radius:999px;
    background:var(--accent);
  }
  .app{padding-top:28px;padding-bottom:38px}
  .app>.top{display:none}
  .app>nav{display:none !important}
}

/* =========================================================
   SKOBINSHOP WEB V1 — clean desktop foundation
   Mobile keeps the Mini App layout unchanged.
   ========================================================= */
@media (min-width: 821px) {
  body {
    background:
      radial-gradient(circle at 82% -10%, rgba(139,92,246,.10), transparent 34rem),
      #090a0f;
  }

  .web-header {
    z-index: 11050;
    border-bottom: 1px solid #20232d;
    background: rgba(9,10,15,.96);
  }
  .web-header__inner {
    width: min(calc(100% - 64px), 1120px);
    height: 68px;
  }
  .web-header__brand { font-size: 21px; }
  .web-header__nav { gap: 6px; }
  .web-header__nav button {
    height: 38px;
    padding: 0 15px;
    border-radius: 10px;
    font-size: 13px;
  }
  .web-header__nav button:hover,
  .web-header__nav button.is-active {
    background: transparent;
  }
  .web-header__nav button.is-active::after {
    left: 15px;
    right: 15px;
    bottom: -15px;
    height: 2px;
  }

  .app {
    width: min(calc(100% - 64px),1120px);
    padding: 34px 0 56px;
  }

  .app main { width: 100%; }
  .app .hero {
    min-height: 292px;
    grid-template-columns: 1fr;
    align-items:center;
    padding: 44px 50px;
    border-radius: 24px;
    background: linear-gradient(135deg,#151720,#11131a);
  }
  .app .heroText { max-width: 640px; }
  .app .hero small { display:none; }
  .app .hero h1 {
    margin: 0 0 18px;
    font-size: clamp(48px,5vw,64px);
    line-height: .98;
  }
  .app .hero p { margin-bottom: 24px; font-size:15px; }
  .app .art { display:none; }

  .app .section { margin-top: 36px; }
  .app .section h2 { font-size: 22px; }
  .app .cats { gap:14px; }
  .app .cat { min-height:92px; }
  .app .products { grid-template-columns: repeat(3,minmax(0,1fr)); gap:14px; }
  .app .benefits { margin-top:36px; }

  /* Full website pages generated by the existing Mini App code. */
  #catalogPage,
  #ordersPage,
  #profilePage {
    top: 68px !important;
    z-index: 9000 !important;
    padding: 34px 32px 60px !important;
    background:#090a0f !important;
  }
  #catalogPage > div,
  #ordersPage > div,
  #profilePage > div,
  #profilePage [data-profile-content] {
    max-width:1120px !important;
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* Mobile-only page headers/navigation are redundant on desktop. */
  #catalogPage header,
  #ordersPage header,
  #profilePage header,
  #catalogPage [data-catalog-nav],
  #ordersPage [data-orders-nav],
  #profilePage [data-profile-nav] {
    display:none !important;
  }

  #catalogPage section,
  #ordersPage section {
    padding-top:0 !important;
  }

  #catalogPage button,
  #ordersPage button,
  #profilePage button {
    transition:border-color .15s ease,background .15s ease,transform .15s ease;
  }
  #catalogPage button:hover,
  #ordersPage button:hover,
  #profilePage button:hover {
    border-color:#3a3f4d !important;
  }

  /* Sheet becomes a centered desktop dialog instead of a mobile bottom sheet. */
  #backdrop { z-index:12000; backdrop-filter:blur(4px); }
  #sheet {
    z-index:12001;
    left:50%;
    bottom:auto;
    top:50%;
    width:min(calc(100% - 48px),680px);
    max-height:min(78vh,760px);
    border:1px solid var(--border);
    border-radius:24px;
    padding:18px 22px 24px;
    transform:translate(-50%,-46%) scale(.98);
    opacity:0;
    pointer-events:none;
  }
  #sheet.open {
    transform:translate(-50%,-50%) scale(1);
    opacity:1;
    pointer-events:auto;
  }
  #sheet .handle { display:none; }
}

/* WEB HEADER v2 — minimal desktop bar from approved mockup */
@media (min-width: 821px) {
  .web-header {
    position: sticky;
    top: 0;
    z-index: 11050;
    width: 100%;
    border-bottom: 1px solid #242730;
    background: rgba(8, 9, 14, .97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .web-header__inner {
    position: relative;
    width: 100%;
    max-width: none;
    height: 76px;
    margin: 0;
    padding: 0 clamp(28px, 3vw, 58px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
  }

  .web-header__brand {
    justify-self: start;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f7f7f9;
    font-size: 24px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.055em;
    cursor: pointer;
  }
  .web-header__brand span { color: var(--accent); }

  .web-header__nav {
    position: static;
    justify-self: center;
    width: auto;
    height: 76px;
    transform: none;
    display: flex;
    align-items: stretch;
    gap: clamp(18px, 2.6vw, 46px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .web-header__nav button {
    position: relative;
    height: 76px;
    min-width: 0;
    padding: 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    color: #9da1ad;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: color .16s ease;
  }
  .web-header__nav button:hover,
  .web-header__nav button.is-active { color: #fff; }
  .web-header__nav-icon {
    width: 19px;
    height: 19px;
    margin-right: 8px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 19px;
    line-height: 0;
  }
  .web-header__nav-icon svg {
    width: 19px;
    height: 19px;
    display: block;
  }
  .web-header__nav button.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #7c3aed, #a855f7);
    box-shadow: 0 -2px 10px rgba(139,92,246,.35);
  }

  .web-header__cat {
    justify-self: end;
    width: 92px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    cursor: pointer;
  }
  .web-header__cat img {
    display: block;
    width: 90px;
    height: 56px;
    object-fit: contain;
    object-position: center;
    transform: translateY(3px);
    filter: drop-shadow(0 0 8px rgba(139,92,246,.16));
  }

  .app > .top { display: none !important; }
  .app > nav { display: none !important; }
}

@media (max-width: 820px) {
  .web-header { display: none !important; }
}


/* WEB HEADER FINAL — scoped, conflict-free */
@media (min-width: 821px) {
  header.web-header {
    display:block !important; position:sticky !important; top:0 !important; z-index:12000 !important;
    width:100% !important; background:rgba(8,9,14,.97) !important;
    border-bottom:1px solid #242730 !important; backdrop-filter:blur(16px) !important;
  }
  header.web-header .web-header__inner {
    width:100% !important; max-width:none !important; height:76px !important; margin:0 !important;
    padding:0 54px !important; display:grid !important; grid-template-columns:1fr auto 1fr !important;
    align-items:center !important; gap:28px !important;
  }
  header.web-header .web-header__brand {
    justify-self:start !important; margin:0 !important; padding:0 !important; border:0 !important;
    background:transparent !important; color:#f7f7f9 !important; font-size:24px !important;
    font-weight:950 !important; letter-spacing:-.055em !important; line-height:1 !important;
  }
  header.web-header nav.web-header__nav {
    position:static !important; inset:auto !important; left:auto !important; right:auto !important; top:auto !important; bottom:auto !important;
    transform:none !important; justify-self:center !important; width:auto !important; height:76px !important; min-height:0 !important;
    margin:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important;
    background:transparent !important; box-shadow:none !important; backdrop-filter:none !important;
    display:flex !important; grid-template-columns:none !important; align-items:stretch !important;
    gap:42px !important; overflow:visible !important;
  }
  header.web-header nav.web-header__nav > button {
    position:relative !important; width:auto !important; min-width:0 !important; height:76px !important; margin:0 !important;
    padding:0 2px !important; border:0 !important; border-radius:0 !important; background:transparent !important;
    color:#9da1ad !important; display:flex !important; flex-direction:row !important; align-items:center !important; justify-content:center !important;
    gap:0 !important; font-size:14px !important; font-weight:700 !important; line-height:1 !important;
  }
  header.web-header nav.web-header__nav > button:hover,
  header.web-header nav.web-header__nav > button.is-active { color:#fff !important; }
  header.web-header nav.web-header__nav > button.is-active::after {
    content:"" !important; position:absolute !important; left:0 !important; right:0 !important; bottom:0 !important;
    height:2px !important; border-radius:999px 999px 0 0 !important;
    background:linear-gradient(90deg,#7c3aed,#a855f7) !important; box-shadow:0 -2px 10px rgba(139,92,246,.35) !important;
  }
  header.web-header .web-header__cat {
    justify-self:end !important; width:104px !important; height:58px !important; margin:0 !important; padding:0 !important;
    border:0 !important; background:transparent !important; display:flex !important; align-items:center !important; justify-content:flex-end !important;
    overflow:visible !important;
  }
  header.web-header .web-header__cat img {
    display:block !important; width:96px !important; height:58px !important; object-fit:contain !important;
    object-position:center !important; transform:none !important; opacity:1 !important; visibility:visible !important;
  }
}

/* Standalone website authentication modal */
#webAuthOverlay[hidden] { display:none !important; }
#webAuthOverlay {
  position:fixed;
  inset:0;
  z-index:20050;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(4,5,9,.76);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.web-auth-card {
  position:relative;
  width:min(100%, 430px);
  padding:28px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.09);
  background:#11131a;
  box-shadow:0 28px 90px rgba(0,0,0,.55);
  color:#fff;
}
.web-auth-close {
  position:absolute;
  top:14px;
  right:14px;
  width:38px;
  height:38px;
  border:0;
  border-radius:12px;
  background:rgba(255,255,255,.05);
  color:#aeb3c0;
  font-size:24px;
  cursor:pointer;
}
.web-auth-brand { font-size:18px; font-weight:900; letter-spacing:-.5px; }
.web-auth-brand span { color:#8b55ff; }
.web-auth-card h2 { margin:22px 0 6px; font-size:28px; line-height:1.05; }
.web-auth-sub { margin:0 0 20px; color:#8f96a8; font-size:14px; line-height:1.5; }
.web-auth-tabs { display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:5px; margin-bottom:18px; border-radius:14px; background:#0b0d12; }
.web-auth-tabs[hidden],
#webEmailForm[hidden],
#webTelegramBlock[hidden] { display:none !important; }
.web-auth-tabs button { min-height:42px; border:0; border-radius:10px; background:transparent; color:#858c9b; font-weight:800; cursor:pointer; }
.web-auth-tabs button.active { background:#241a36; color:#fff; box-shadow:none; }
.web-password-wrap { position:relative; display:block; }
.web-password-wrap input { padding-right:48px !important; }
.web-password-toggle { position:absolute; right:8px; top:50%; transform:translateY(-50%); width:36px; height:36px; display:grid; place-items:center; padding:0; border:0; border-radius:9px; background:transparent; color:#8f96a8; cursor:pointer; }
.web-password-toggle:hover { background:rgba(255,255,255,.05); color:#fff; }
.web-password-toggle svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; }
#webEmailForm { display:grid; gap:14px; }
#webEmailForm label { display:grid; gap:7px; color:#b8bdc8; font-size:12px; font-weight:700; }
#webEmailForm input { width:100%; box-sizing:border-box; min-height:48px; border:1px solid rgba(255,255,255,.09); border-radius:13px; padding:0 14px; outline:none; background:#0b0d12; color:#fff; font:inherit; }
#webEmailForm input:focus { border-color:rgba(139,85,255,.75); box-shadow:0 0 0 3px rgba(139,85,255,.1); }
.web-auth-error { min-height:17px; color:#ff6b75; font-size:12px; }
.web-auth-card .primary, .web-auth-telegram { display:grid; place-items:center; min-height:48px; width:100%; box-sizing:border-box; border:0; border-radius:13px; font-weight:850; text-decoration:none; cursor:pointer; }
.web-auth-card .primary { background:#8047f5; color:#fff; }
.web-auth-telegram { border:1px solid rgba(255,255,255,.09); background:#171a22; color:#fff; }
.web-auth-separator { display:flex; align-items:center; gap:12px; margin:18px 0; color:#686f80; font-size:12px; }
.web-auth-separator::before, .web-auth-separator::after { content:""; flex:1; height:1px; background:rgba(255,255,255,.07); }
.web-auth-wait { margin-top:12px; }
.web-auth-wait p { margin:10px 0 0; color:#858c9b; font-size:12px; text-align:center; }
@media (max-width: 760px) {
  #webAuthOverlay { padding:12px; align-items:end; }
  .web-auth-card { width:100%; border-radius:24px 24px 18px 18px; padding:24px 18px 20px; }
}

/* WEB CATEGORIES ALIGNMENT — desktop cards */
@media (min-width: 821px) {
  .app .cats {
    gap: 18px;
  }

  .app .cats .cat {
    min-height: 104px;
    padding: 20px 24px;
    grid-template-columns: 48px minmax(0, 1fr) 28px;
    column-gap: 18px;
    align-items: center;
    justify-items: stretch;
    text-align: left;
  }

  .app .cats .cat > i,
  .app .cats .cat .sk-gateway-icon {
    justify-self: start;
    margin: 0;
  }

  .app .cats .cat > div,
  .app .cats .cat .sk-gateway-copy {
    justify-self: stretch;
    width: 100%;
    margin: 0;
    text-align: left;
  }

  .app .cats .cat b,
  .app .cats .cat .sk-gateway-title,
  .app .cats .cat span,
  .app .cats .cat .sk-gateway-sub {
    text-align: left;
  }

  .app .cats .cat > em,
  .app .cats .cat .sk-gateway-arrow {
    justify-self: end;
    margin: 0;
    text-align: right;
  }
}

/* Desktop internal pages: same top spacing as Catalog from the desktop breakpoint. */
@media (min-width: 821px) {
  #ordersPage,
  #profilePage {
    padding-top: 34px !important;
  }

  #ordersPage [data-orders-content],
  #profilePage [data-profile-content] {
    padding-top: 0 !important;
  }
}

/* DESKTOP SCROLL MODEL — same header/scroll behavior on every section */
@media (min-width: 821px) {
  html,
  body {
    width: 100%;
    height: 100%;
    overflow: hidden !important;
  }

  header.web-header {
    position: relative !important;
    top: auto !important;
    flex: 0 0 76px;
    height: 76px !important;
  }

  .app {
    width: 100% !important;
    max-width: none !important;
    height: calc(100dvh - 76px) !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 34px max(32px, calc((100vw - 1120px) / 2)) 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
  }

  .app > main {
    width: 100% !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
  }

  #catalogPage,
  #ordersPage,
  #profilePage {
    top: 76px !important;
    bottom: 0 !important;
    height: auto !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    scrollbar-gutter: stable;
  }
}


/* Desktop/web interaction cursor normalization */
button,
a[href],
[role="button"],
.desktop-nav-item,
.nav-item,
.category-card,
.product-card,
.order-card,
.profile-card,
[data-action],
[data-clickable="true"] {
  cursor: pointer;
}

button:disabled,
[aria-disabled="true"],
.is-disabled,
.disabled {
  cursor: not-allowed !important;
}


/* Footer */
.site-footer{
  margin-top:40px;
  border-top:1px solid rgba(255,255,255,.06);
  padding:28px 0 6px;
}
.site-footer__inner{
  width:100%;
}
.site-footer__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr)) minmax(220px,260px);
  gap:28px;
  align-items:start;
}
.site-footer__col{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.site-footer__col h3{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.2;
}
.site-footer__col a,
.site-footer__meta a,
.site-footer__meta button{
  color:#d3d6de;
  text-decoration:none;
  font-size:15px;
  line-height:1.35;
  background:none;
  border:0;
  padding:0;
  text-align:left;
  transition:color .16s ease, opacity .16s ease;
}
.site-footer__col a:hover,
.site-footer__meta a:hover{
  color:#a78bfa;
}
.site-footer__meta{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:18px;
}
.site-footer__prefs{
  display:flex;
  align-items:center;
  gap:10px;
  color:#e7e9ef;
  font-size:15px;
  font-weight:700;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.site-footer__icon{
  opacity:.9;
  font-size:18px;
}
.site-footer__socials{
  display:flex;
  gap:10px;
}
.site-footer__socials a{
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:#252b38;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:19px;
}
.site-footer__socials a:hover{
  background:#303748;
  color:#fff;
}
.site-footer__bottom{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.05);
  display:flex;
  justify-content:space-between;
  gap:18px;
  color:#9ea5b4;
  font-size:14px;
  line-height:1.45;
}

@media (max-width: 980px){
  .site-footer__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .site-footer__meta{
    grid-column:1 / -1;
    align-items:flex-start;
  }
  .site-footer__prefs{
    justify-content:flex-start;
  }
}

@media (max-width: 820px){
  .site-footer{
    padding:24px 0 90px;
    margin-top:32px;
  }
  .site-footer__grid{
    grid-template-columns:1fr;
    gap:22px;
  }
  .site-footer__meta{
    align-items:flex-start;
    gap:14px;
  }
  .site-footer__bottom{
    flex-direction:column;
  }
  .site-footer__col h3{
    font-size:17px;
  }
  .site-footer__col a{
    font-size:14px;
  }
}


/* Footer v2 — standalone website */
.site-footer{
  margin-top:48px;
  padding:0 0 18px;
  border-top:1px solid rgba(255,255,255,.07);
  background:linear-gradient(180deg,rgba(255,255,255,.012),rgba(255,255,255,0));
}
.site-footer__inner{padding-top:32px}
.site-footer__top{
  display:grid;
  grid-template-columns:minmax(260px,1.15fr) minmax(520px,2fr);
  gap:64px;
  align-items:start;
}
.site-footer__brand-block{max-width:360px}
.site-footer__brand{
  border:0;background:transparent;padding:0;color:#f7f7fa;
  font-size:23px;font-weight:950;letter-spacing:-.055em;line-height:1;
}
.site-footer__brand span{color:#8b5cf6}
.site-footer__brand-block p{
  margin:14px 0 0;color:#8f95a3;font-size:13px;line-height:1.65;
}
.site-footer__contacts{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.site-footer__contacts a{
  display:inline-flex;align-items:center;min-height:34px;padding:0 11px;
  border:1px solid rgba(255,255,255,.07);border-radius:10px;
  background:#11131a;color:#c9cdd6;text-decoration:none;font-size:12px;font-weight:700;
  transition:border-color .16s ease,color .16s ease,background .16s ease,transform .16s ease;
}
.site-footer__contacts a:hover{
  color:#fff;border-color:rgba(139,92,246,.34);background:rgba(139,92,246,.08);transform:translateY(-1px);
}
.site-footer__links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px}
.site-footer__col{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.site-footer__col h3{
  margin:0 0 9px;color:#f1f2f6;font-size:13px;font-weight:850;letter-spacing:.01em;
}
.site-footer__col button{
  width:auto;min-height:31px;padding:0;border:0;background:transparent;
  color:#9298a6;text-align:left;font-size:12.5px;font-weight:600;line-height:1.35;
  transition:color .15s ease,transform .15s ease;
}
.site-footer__col button:hover{color:#b99cff;transform:translateX(2px)}
.site-footer__bottom{
  margin-top:30px;padding-top:18px;border-top:1px solid rgba(255,255,255,.055);
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  color:#6f7582;font-size:11.5px;font-weight:600;
}
.site-footer__bottom-right{display:flex;align-items:center;gap:8px;color:#969cab}
.site-footer__dot{color:#484d59}

@media (max-width:980px){
  .site-footer__top{grid-template-columns:1fr;gap:30px}
  .site-footer__brand-block{max-width:520px}
}
@media (max-width:680px){
  .site-footer{margin-top:36px;padding-bottom:92px}
  .site-footer__inner{padding-top:26px}
  .site-footer__links{grid-template-columns:1fr 1fr;gap:26px 22px}
  .site-footer__bottom{align-items:flex-start;flex-direction:column;margin-top:24px}
}
@media (max-width:430px){
  .site-footer__links{grid-template-columns:1fr}
}


/* Footer v3 — info above, navigation bar below */
.site-footer{
  margin-top:52px;
  padding:0;
  border-top:1px solid rgba(255,255,255,.065);
  background:#090a0f;
}
.site-footer__inner{
  padding-top:38px;
}
.site-footer__top{
  display:grid;
  grid-template-columns:minmax(300px,1.2fr) minmax(560px,2fr);
  gap:72px;
  align-items:start;
  padding-bottom:34px;
}
.site-footer__brand-block{max-width:380px}
.site-footer__brand{
  border:0;
  background:transparent;
  padding:0;
  color:#f7f7fa;
  font-size:24px;
  font-weight:950;
  letter-spacing:-.055em;
  line-height:1;
}
.site-footer__brand span{color:#8b5cf6}
.site-footer__brand-block p{
  margin:14px 0 0;
  max-width:350px;
  color:#8f95a3;
  font-size:13px;
  line-height:1.65;
}
.site-footer__contacts{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:20px;
}
.site-footer__contacts a{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  background:#11131a;
  color:#cdd1da;
  text-decoration:none;
  font-size:12px;
  font-weight:750;
  transition:color .16s ease,border-color .16s ease,background .16s ease,transform .16s ease;
}
.site-footer__contacts a:hover{
  color:#fff;
  border-color:rgba(139,92,246,.36);
  background:rgba(139,92,246,.08);
  transform:translateY(-1px);
}
.site-footer__links{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:42px;
}
.site-footer__col{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px;
}
.site-footer__col h3{
  margin:0 0 10px;
  color:#f2f3f7;
  font-size:13px;
  font-weight:850;
}
.site-footer__col button{
  min-height:29px;
  padding:0;
  border:0;
  background:transparent;
  color:#9298a6;
  text-align:left;
  font-size:12.5px;
  font-weight:600;
  line-height:1.35;
  transition:color .15s ease,transform .15s ease;
}
.site-footer__col button:hover{
  color:#b99cff;
  transform:translateX(2px);
}
.site-footer__bottom{
  min-height:68px;
  margin:0;
  padding:0;
  border-top:1px solid #20232d;
  display:grid;
  grid-template-columns:minmax(150px,1fr) auto minmax(150px,1fr);
  align-items:center;
  gap:24px;
}
.site-footer__copy,
.site-footer__bottom-right{
  color:#777d8b;
  font-size:11.5px;
  font-weight:650;
  white-space:nowrap;
}
.site-footer__bottom-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  color:#969cab;
}
.site-footer__dot{color:#484d59}
.site-footer__nav{
  position:static !important;
  inset:auto !important;
  transform:none !important;
  width:auto !important;
  height:68px !important;
  border:0 !important;
  background:transparent !important;
  backdrop-filter:none !important;
  border-radius:0 !important;
  padding:0 !important;
  display:flex !important;
  align-items:stretch !important;
  justify-content:center !important;
  gap:28px !important;
  z-index:auto !important;
}
.site-footer__nav button{
  position:relative;
  min-width:0;
  height:68px;
  padding:0 4px;
  border:0;
  border-radius:0;
  background:transparent;
  color:#8c929f;
  display:inline-flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:750;
  transition:color .15s ease;
}
.site-footer__nav button:hover,
.site-footer__nav button.is-active{
  color:#fff;
  background:transparent;
}
.site-footer__nav button.is-active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  border-radius:999px 999px 0 0;
  background:#8b5cf6;
}

@media (max-width:980px){
  .site-footer__top{
    grid-template-columns:1fr;
    gap:30px;
  }
  .site-footer__brand-block{max-width:520px}
  .site-footer__bottom{
    grid-template-columns:1fr auto;
  }
  .site-footer__nav{
    grid-column:1 / -1;
    grid-row:1;
    order:-1;
  }
  .site-footer__copy{grid-column:1;grid-row:2}
  .site-footer__bottom-right{grid-column:2;grid-row:2}
}
@media (max-width:820px){
  .site-footer{
    margin-top:38px;
    padding-bottom:92px;
  }
  .site-footer__inner{padding-top:28px}
  .site-footer__top{
    display:block;
    padding-bottom:26px;
  }
  .site-footer__brand-block{max-width:none}
  .site-footer__links{
    margin-top:28px;
    grid-template-columns:1fr 1fr;
    gap:28px 22px;
  }
  .site-footer__bottom{
    min-height:0;
    padding-top:18px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
  }
  .site-footer__nav{display:none !important}
}
@media (max-width:480px){
  .site-footer__links{grid-template-columns:1fr}
  .site-footer__bottom{
    flex-direction:column;
  }
}


/* Footer v4 — full viewport width, information only */
@media (min-width: 821px) {
  .site-footer {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 52px !important;
    padding: 0 !important;
    border-top: 1px solid #20232d !important;
    background: #0b0d13 !important;
  }

  .site-footer__inner {
    width: min(calc(100% - 64px), 1120px) !important;
    margin: 0 auto !important;
    padding: 38px 0 0 !important;
  }

  .site-footer__top {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(300px,1.2fr) minmax(560px,2fr) !important;
    gap: 72px !important;
    padding-bottom: 34px !important;
  }

  .site-footer__bottom {
    min-height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    border-top: 1px solid #20232d !important;
  }

  .site-footer__copy,
  .site-footer__bottom-right {
    margin: 0 !important;
  }

  .site-footer__nav {
    display: none !important;
  }
}


/* Mobile: keep Home bottom nav identical to Catalog / Orders / Profile and avoid double footer gap. */
@media (max-width: 820px) {
  .app {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .site-footer {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .app > nav span {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    font-size: 0 !important;
    line-height: 0;
  }

  .app > nav span svg {
    display: block;
    width: 21px;
    height: 21px;
  }

  .app > nav button.active {
    background: transparent !important;
  }
}
.web-auth-link { justify-self:end; margin:-6px 0 0; padding:0; border:0; background:transparent; color:#9e78ff; font:inherit; font-size:12px; font-weight:800; cursor:pointer; }
.web-auth-link:hover { color:#b79aff; }
.web-auth-link-center { justify-self:center; margin-top:2px; }
#webCodeForm { display:grid; gap:16px; align-content:start; }
#webCodeForm .primary { margin-top:2px; }
#webCodeError:empty { display:none !important; }
#webCodeForm[hidden] { display:none; }
#webCodeForm label { display:grid; gap:7px; color:#b8bdc8; font-size:12px; font-weight:700; }
#webCodeForm input { width:100%; box-sizing:border-box; min-height:48px; border:1px solid rgba(255,255,255,.09); border-radius:13px; padding:0 14px; outline:none; background:#0b0d12; color:#fff; font:inherit; }
#webCodeForm input:focus { border-color:rgba(139,85,255,.75); box-shadow:0 0 0 3px rgba(139,85,255,.1); }
.web-code-input { text-align:center; letter-spacing:8px; font-size:24px !important; font-weight:900; }
.web-code-email {
  display:grid;
  gap:6px;
  padding:14px 15px;
  border:1px solid rgba(139,85,255,.18);
  border-radius:14px;
  background:linear-gradient(180deg, rgba(139,85,255,.12), rgba(139,85,255,.06));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
  color:#cfd4df;
  font-size:12px;
  line-height:1.45;
  word-break:break-word;
}
.web-code-email[data-state="waiting"] {
  border-color:rgba(255,184,77,.22);
  background:linear-gradient(180deg, rgba(255,184,77,.12), rgba(255,184,77,.06));
}
.web-code-email__title {
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.01em;
}
.web-code-email__title::before {
  content:"";
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:999px;
  background:#8b5cf6;
  box-shadow:0 0 0 4px rgba(139,85,255,.14);
}
.web-code-email[data-state="waiting"] .web-code-email__title::before {
  background:#ffb84d;
  box-shadow:0 0 0 4px rgba(255,184,77,.16);
}
.web-code-email__text {
  color:#adb4c1;
}
.web-code-email__email {
  color:#ffffff;
  font-weight:700;
}

/* Website auth modal: keep background fully locked and form height stable. */
html.web-auth-open,
body.web-auth-open {
  overflow:hidden !important;
  overscroll-behavior:none !important;
}
body.web-auth-open > *:not(#webAuthOverlay) {
  pointer-events:none !important;
}
#webAuthOverlay {
  pointer-events:auto;
  touch-action:manipulation;
}
.web-auth-link-reserved {
  visibility:hidden !important;
  pointer-events:none !important;
}

/* Registration verification uses the original password; new password is reset-only. */
#webNewPasswordLabel[hidden] { display:none !important; }
