/* SmartFix Premium Shop */
/* fonts: fonts-local.css */
.shop-page {
  --shop-header-safe-top: env(safe-area-inset-top, 0px);
  --shop-header-safe-x: env(safe-area-inset-left, 0px);
  --shop-header-safe-x-r: env(safe-area-inset-right, 0px);
  min-height: 100vh;
  font-family: var(--font-sans, "Source Sans 3", system-ui, sans-serif);
}

html.shop-page body {
  padding-left: var(--shop-header-safe-x);
  padding-right: var(--shop-header-safe-x-r);
}

/* Neutral shop backdrop — no purple bloom from style.css .bg */
html.shop-page .bg,
.shop-page .bg {
  background: linear-gradient(180deg, #09070f 0%, #0b0814 42%, #09070f 100%) !important;
}

.shop-page .bg::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 88% 6%, rgba(116,34,238,0.06), transparent 58%),
    radial-gradient(ellipse 55% 35% at 50% 100%, rgba(158,148,184,0.08), transparent 52%);
  pointer-events: none;
  z-index: 0;
  animation: none;
}

/* Main section navigation */
.shop-main-nav {
  position: sticky;
  top: 73px;
  z-index: 45;
  padding: 0 16px 14px;
  background: linear-gradient(180deg, rgba(9,7,15,0.97) 0%, rgba(9,7,15,0.94) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-main-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.shop-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.25s, transform 0.15s;
  text-align: left;
}

.shop-nav-item:hover {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.shop-nav-item.is-active {
  color: #fff;
  border-color: rgba(167, 139, 250, 0.55);
  background: linear-gradient(135deg, rgba(139,99,241,0.35) 0%, rgba(116,34,238,0.12) 100%);
  box-shadow:
    0 6px 24px rgba(139,99,241,0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.shop-nav-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-nav-item.is-active .shop-nav-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.shop-nav-icon svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.85);
}

.shop-nav-item.is-active .shop-nav-icon svg {
  color: #fff;
}

.shop-nav-label {
  flex: 1;
  min-width: 0;
}

.shop-panel {
  display: none;
}

.shop-panel.is-active {
  display: block;
  /* no entrance animation — restarts on every tab switch and janks hard */
}

/* Service panels (rent, credits) */
.shop-service-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.shop-service-card {
  position: relative;
  padding: 36px 32px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(35,26,58,0.5), rgba(11,8,18,0.9));
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.shop-service-card-glow {
  position: absolute;
  inset: -30% auto auto -20%;
  width: 80%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(139,99,241,0.25), transparent 70%);
  pointer-events: none;
}

.shop-service-card--credits .shop-service-card-glow {
  background: radial-gradient(ellipse, rgba(83,38,161,0.22), transparent 70%);
}

.shop-service-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.9);
  margin-bottom: 12px;
}

.shop-service-title {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.shop-service-desc {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

.shop-service-features {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shop-service-features li {
  padding-left: 22px;
  position: relative;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.shop-service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b63f1, #7422ee);
}

.shop-service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #8b63f1, #7c3aed 50%, #660ee9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 36px rgba(139,99,241,0.35);
  transition: transform 0.15s, box-shadow 0.25s;
}

.shop-service-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(139,99,241,0.45);
}

.shop-service-cta--bot {
  background: linear-gradient(135deg, rgba(83,38,161,0.9), rgba(39,6,95,0.95));
  box-shadow: 0 12px 36px rgba(83,38,161,0.3);
}

.shop-master.is-highlight-gen {
  box-shadow:
    0 0 0 2px rgba(167, 139, 250, 0.5),
    0 40px 80px rgba(0, 0, 0, 0.55);
}

/* Header */
.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(1.4);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9,7,15,0.75);
}

.shop-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.shop-brand:hover {
  opacity: 0.92;
}

.shop-brand-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(139,99,241,0.45));
}

.shop-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.shop-brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.shop-brand-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Premium contact dock */
.shop-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.shop-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.2s, background 0.2s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.shop-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s;
}

.shop-contact:hover::before {
  transform: translateX(120%);
}

.shop-contact:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--contact-accent, rgba(141,99,248,0.5));
  background: rgba(141,99,248,0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 20px var(--contact-glow, rgba(141,99,248,0.2));
  color: #fff;
}

.shop-contact-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.shop-contact-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.shop-contact--tg { --contact-accent: rgba(170,140,246,0.6); --contact-glow: rgba(170,140,246,0.25); color: #b586fa; }
.shop-contact--bot { --contact-accent: rgba(134,90,248,0.6); --contact-glow: rgba(134,90,248,0.25); }
.shop-contact--yt { --contact-accent: rgba(239, 68, 68, 0.6); --contact-glow: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.shop-contact--rt { --contact-accent: rgba(255, 100, 50, 0.6); --contact-glow: rgba(255, 120, 60, 0.2); color: #b289fa; }

/* Hero */
.shop-hero {
  position: relative;
  padding: 48px 24px 24px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.shop-hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shop-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: shop-float 8s ease-in-out infinite;
}

.shop-orb-a { width: 280px; height: 280px; background: #8d63f8; top: -80px; left: 10%; animation-delay: 0s; }
.shop-orb-b { width: 200px; height: 200px; background: #7422ee; top: 20px; right: 15%; animation-delay: -3s; }
.shop-orb-c { width: 160px; height: 160px; background: #7429f6; bottom: 0; left: 45%; animation-delay: -5s; opacity: 0.35; }

@keyframes shop-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.08); }
}

.shop-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(141,99,248,0.35);
  background: rgba(141,99,248,0.1);
  font-size: 12px;
  font-weight: 600;
  color: #c4b5fd;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: shop-fade-up 0.7s ease both;
}

.shop-hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 14px;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #a167f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shop-fade-up 0.7s ease 0.1s both;
}

.shop-hero-lead {
  margin: 0 auto 24px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.6;
  animation: shop-fade-up 0.7s ease 0.2s both;
}

.shop-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  animation: shop-fade-up 0.7s ease 0.3s both;
}

.shop-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.shop-trust-item svg {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

@keyframes shop-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  padding: 8px 24px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.shop-card {
  --card-accent: #865af8;
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(22,18,31,0.65);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 1;
  animation: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

@keyframes shop-card-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.shop-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--card-accent), transparent 55%, rgba(255, 255, 255, 0.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.shop-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 0 40px color-mix(in srgb, var(--card-accent) 25%, transparent);
}

.shop-card:hover::after {
  opacity: 1;
}

.shop-card--flagship {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 280px;
}

@media (max-width: 768px) {
  .shop-card--flagship {
    grid-template-columns: 1fr;
  }
}

.shop-card-media {
  position: relative;
  height: 168px;
  overflow: hidden;
}

.shop-card--flagship .shop-card-media {
  height: 100%;
  min-height: 240px;
}

.shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-card:hover .shop-card-media img {
  transform: scale(1.06);
}

.shop-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 20%,
    rgba(9,7,15,0.5) 60%,
    rgba(9,7,15,0.95) 100%
  );
}

.shop-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.shop-card-tagline {
  font-size: 12px;
  font-weight: 600;
  color: var(--card-accent);
  letter-spacing: 0.02em;
  margin: 0;
}

.shop-card h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.shop-card-desc {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
  flex: 1;
}

.shop-card-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shop-card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.shop-card-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--card-accent);
  box-shadow: 0 0 8px var(--card-accent);
}

.shop-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-chip {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
}

.shop-card-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.shop-price-main {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shop-price-old {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: line-through;
}

.shop-price-usdt {
  font-size: 13px;
  font-weight: 600;
  color: #b586fa;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(116,34,238,0.1);
  border: 1px solid rgba(116,34,238,0.2);
}

.shop-dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: 0.2s;
}

.shop-dl-btn:hover {
  color: #fff;
  border-color: rgba(141,99,248,0.4);
  background: rgba(141,99,248,0.1);
}

.shop-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.shop-card-actions .btn-shop-buy {
  grid-column: 1 / -1;
}

.shop-btn-premium {
  position: relative;
  overflow: hidden;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.shop-btn-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.shop-btn-premium:hover::after {
  transform: translateX(100%);
}

/* Workspace */
.shop-workspace {
  max-width: 920px;
  margin: 0 auto 56px;
  padding: 0 24px 40px;
}

.shop-workspace[hidden] { display: none !important; }

.shop-workspace-head {
  text-align: center;
  margin-bottom: 24px;
}

.shop-workspace-head h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.shop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  justify-content: center;
}

.shop-tab {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.75);
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s;
}

.shop-tab.is-active {
  border-color: rgba(141,99,248,0.55);
  background: linear-gradient(135deg, rgba(141,99,248,0.25), rgba(116,34,238,0.1));
  color: #fff;
  box-shadow: 0 4px 20px rgba(141,99,248,0.25);
}

/* Pay modal premium */
.shop-pay-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: shop-overlay-in 0.3s ease;
}

@keyframes shop-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.shop-pay-overlay[hidden] { display: none !important; }

.shop-pay-modal {
  width: min(440px, 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, #201a2e 0%, #16121f 100%);
  padding: 28px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.55);
  animation: shop-modal-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes shop-modal-pop {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.shop-pay-modal h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 800;
}

.shop-pay-product {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.shop-pay-price {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.shop-pay-price span {
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.shop-pay-btns { display: flex; flex-direction: column; gap: 10px; }

.shop-pay-btns .btn-pay-sbp {
  background: linear-gradient(135deg, #8d63f8, #5b21b6);
}

.shop-pay-btns .btn-pay-usdt {
  background: linear-gradient(135deg, rgba(116,34,238,0.2), rgba(116,34,238,0.05));
  border: 1px solid rgba(116,34,238,0.35);
  color: #b586fa;
}

/* Toast */
.shop-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(32,26,46,0.95);
  border: 1px solid rgba(141,99,248,0.45);
  padding: 14px 22px;
  border-radius: 14px;
  z-index: 90;
  font-size: 14px;
  font-weight: 500;
  max-width: 90vw;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  animation: shop-toast-in 0.35s ease;
}

@keyframes shop-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.shop-toast[hidden] { display: none !important; }

/* Footer contacts — premium dock */
.shop-footer {
  max-width: 1200px;
  margin: 8px auto 0;
  padding: 0 20px 20px;
}

.shop-footer-inner {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(155deg, rgba(48,38,72,0.55) 0%, rgba(18,14,28,0.92) 48%, rgba(11,8,18,0.98) 100%);
  padding: 22px 22px 20px;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(20px) saturate(1.35);
}

.shop-footer-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.75), rgba(116,34,238,0.45), transparent);
  pointer-events: none;
}

.shop-footer-glow {
  position: absolute;
  top: -40%;
  right: -8%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at 70% 30%, rgba(141,99,248,0.22), transparent 68%);
  pointer-events: none;
}

.shop-footer-head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 18px;
}

.shop-footer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(139,99,241,0.12);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.95);
}

.shop-footer-title {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  background: linear-gradient(120deg, #fff 0%, rgba(255, 255, 255, 0.78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shop-footer-sub {
  margin: 0 auto;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.5;
}

.shop-footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.shop-footer-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition: transform 0.32s cubic-bezier(0.25, 0.1, 0.25, 1), border-color 0.32s ease;
}

.shop-footer-card::after {
  display: none;
}

.shop-footer-card:hover {
  transform: translate3d(0, -3px, 0);
  border-color: var(--footer-accent, rgba(141,99,248,0.45));
}

.shop-footer-card:active {
  transform: translate3d(0, -1px, 0);
  transition-duration: 0.12s;
}

.shop-footer-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.shop-footer-card-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.shop-footer-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.shop-footer-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.shop-footer-card-value {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-footer-card-arrow {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  transform: translate3d(0, 0, 0);
  transition: transform 0.32s cubic-bezier(0.25, 0.1, 0.25, 1), color 0.32s ease;
}

.shop-footer-card:hover .shop-footer-card-arrow {
  transform: translate3d(4px, 0, 0);
  color: rgba(255, 255, 255, 0.75);
}

.shop-footer-card--tg {
  --footer-accent: rgba(170,140,246,0.55);
  --footer-glow: rgba(170,140,246,0.2);
  color: #cdbbfc;
}

.shop-footer-card--tg .shop-footer-card-icon {
  background: linear-gradient(145deg, rgba(98,42,238,0.35), rgba(66,14,144,0.25));
  border-color: rgba(98,42,238,0.35);
}

.shop-footer-card--bot {
  --footer-accent: rgba(134,90,248,0.55);
  --footer-glow: rgba(134,90,248,0.22);
}

.shop-footer-card--bot .shop-footer-card-icon {
  background: linear-gradient(145deg, rgba(141,99,248,0.35), rgba(115,70,229,0.2));
  border-color: rgba(141,99,248,0.35);
}

.shop-footer-card--yt {
  --footer-accent: rgba(239, 68, 68, 0.55);
  --footer-glow: rgba(239, 68, 68, 0.18);
  color: #fecaca;
}

.shop-footer-card--yt .shop-footer-card-icon {
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.35), rgba(127, 29, 29, 0.25));
  border-color: rgba(239, 68, 68, 0.35);
}

.shop-footer-card--rt {
  --footer-accent: rgba(178,137,250,0.55);
  --footer-glow: rgba(255, 120, 60, 0.18);
  color: #b289fa;
}

.shop-footer-card--rt .shop-footer-card-icon {
  background: linear-gradient(145deg, rgba(134,68,247,0.35), rgba(79,20,180,0.25));
  border-color: rgba(134,68,247,0.35);
}

@media (max-width: 960px) {
  .shop-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .shop-footer {
    padding: 0 14px 16px;
  }

  .shop-footer-inner {
    padding: 18px 14px 16px;
  }

  .shop-footer-grid {
    grid-template-columns: 1fr;
  }

  .shop-footer-card {
    padding: 11px 12px;
  }

  .shop-footer-card-arrow {
    display: none;
  }
}

/* SVG icons */
.sf-icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}

/* Steps */
.shop-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 20px;
  animation: shop-fade-up 0.7s ease 0.25s both;
}

.shop-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
}

.shop-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(141,99,248,0.35), rgba(116,34,238,0.2));
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.shop-step-t {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.shop-step-line {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(141,99,248,0.5), rgba(116,34,238,0.3));
  margin: 0 4px 18px;
  border-radius: 2px;
}

/* Card pills & qty */
.shop-card-badges {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.shop-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(35,26,58,0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.03em;
}

.shop-card-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(116,41,246,0.2);
  border: 1px solid rgba(116,41,246,0.35);
  color: #b289fa;
  letter-spacing: 0.04em;
}

.shop-qty-block {
  padding: 12px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-qty-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}

.shop-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.shop-qty-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.15s;
}

.shop-qty-btn:hover {
  background: rgba(141,99,248,0.25);
  transform: scale(1.05);
}

.shop-qty-val {
  min-width: 48px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  padding: 0 12px;
}

.shop-card-actions.is-owned .btn-pay-sbp,
.shop-card-actions.is-owned .btn-pay-usdt { display: none; }

.shop-quota-bar {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(141,99,248,0.35);
  background: linear-gradient(135deg, rgba(141,99,248,0.15), rgba(116,34,238,0.06));
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  animation: shop-fade-up 0.5s ease;
}

.shop-quota-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.shop-dl-pass { cursor: default; opacity: 0.85; }

/* Unified master card */
.shop-unified-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 16px;
  animation: shop-fade-up 0.75s ease 0.15s both;
}

.shop-master {
  --card-accent: #231a3a;
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(165deg, rgba(35,26,58,0.45) 0%, rgba(11,8,18,0.88) 55%),
    rgba(15,12,22,0.82);
  backdrop-filter: blur(28px) saturate(1.45);
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(35,26,58,0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.shop-master-glow {
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--card-accent) 35%, transparent), transparent 70%);
  pointer-events: none;
  transition: opacity 0.5s;
}

.shop-master-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 320px) 1fr;
  gap: 0;
  z-index: 1;
}

.shop-master-visual {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.shop-visual-frame {
  position: relative;
  width: 100%;
  max-width: 280px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.shop-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 6%;
  box-sizing: border-box;
  transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-visual-frame img.is-oxygen {
  padding: 4%;
  object-fit: contain;
}

.shop-visual-frame img.is-mobiledit {
  object-fit: contain;
  padding: 8%;
  background: #0e0a18;
}

.shop-visual-frame img.is-swapping {
  opacity: 0.4;
  transform: scale(1.03);
}

.shop-visual-shine {
  display: none;
}

@keyframes shop-shine {
  0%, 70% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.shop-visual-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 280px;
}

.shop-pill-accent {
  background: color-mix(in srgb, var(--card-accent) 25%, rgba(0, 0, 0, 0.5));
  border-color: color-mix(in srgb, var(--card-accent) 45%, transparent);
  color: #fff;
}

.shop-master-content {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* Premium version picker — prominent */
.shop-version-hero {
  padding: 20px 20px 18px;
  border-radius: 18px;
  border: 1px solid rgba(141,99,248,0.35);
  background:
    linear-gradient(145deg, rgba(139,99,241,0.14) 0%, rgba(35,26,58,0.5) 45%, rgba(0, 0, 0, 0.35) 100%);
  box-shadow:
    0 12px 36px rgba(139,99,241,0.15),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

/* 18.3.1.96 · Neogen premium on shop */
.shop-master--neogen {
  --card-accent: #b586fa;
}
.shop-master--neogen .shop-master-glow {
  background:
    radial-gradient(ellipse 90% 70% at 85% 10%, rgba(89,9,209,0.28), transparent 55%),
    radial-gradient(ellipse 70% 60% at 10% 90%, rgba(78,16,185,0.2), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(251, 191, 36, 0.08), transparent 60%);
}
.shop-master--neogen .shop-version-hero {
  border-color: rgba(112,45,212,0.45);
  background:
    linear-gradient(145deg, rgba(89,9,209,0.16) 0%, rgba(32,6,78,0.22) 42%, rgba(0, 0, 0, 0.38) 100%);
  box-shadow:
    0 12px 40px rgba(89,9,209,0.18),
    0 0 0 1px rgba(116,41,246,0.1) inset;
}
.shop-master--neogen .shop-version-dd-trigger {
  border-color: rgba(112,45,212,0.5);
  background: linear-gradient(145deg, rgba(32,6,78,0.45), rgba(14,8,28,0.85));
  box-shadow: 0 8px 24px rgba(89,9,209,0.2);
}
.shop-master--neogen .shop-version-dd-trigger:hover,
.shop-master--neogen .shop-version-dd-trigger:focus {
  border-color: rgba(116,41,246,0.55);
  box-shadow: 0 10px 28px rgba(89,9,209,0.28);
}
.shop-master--neogen .shop-version-price-line {
  color: #c3a7f3;
}
.shop-master--neogen .shop-master-title::after {
  content: " PREMIUM";
  margin-left: 0.35rem;
  font-size: 0.55em;
  font-weight: 800;
  letter-spacing: 0.14em;
  vertical-align: middle;
  color: #b289fa;
  text-shadow: 0 0 12px rgba(116,41,246,0.45);
}
.shop-version-dd-option--neogen .shop-version-dd-option-title::after {
  content: " · NEW";
  font-size: 0.72em;
  font-weight: 800;
  color: #b289fa;
  letter-spacing: 0.08em;
}
.shop-version-dd-option--neogen.is-selected {
  border-color: rgba(112,45,212,0.55);
  background: linear-gradient(135deg, rgba(89,9,209,0.18), rgba(58,6,149,0.12));
}
.shop-generator-block--neogen {
  padding: 4px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(89,9,209,0.25), rgba(116,41,246,0.12));
}
.shop-generator-block--neogen .gen-card-neogen {
  border-radius: 16px;
  margin: 0;
}
.gen-card-inline.gen-card-neogen {
  border: 1px solid rgba(112,45,212,0.35);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(89,9,209,0.14), transparent 55%),
    linear-gradient(165deg, rgba(21,6,44,0.88), rgba(14,8,28,0.94));
  box-shadow: 0 12px 36px rgba(89,9,209,0.12);
}
.shop-btn-neogen.btn-neogen {
  min-height: 52px;
}

.shop-version-hero-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.shop-version-step {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #8b63f1, #7422ee);
  box-shadow: 0 6px 20px rgba(139,99,241,0.45);
}

.shop-version-hero-title {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #fff;
}

.shop-version-hero-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

.shop-version-picker-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.shop-version-picker-label-icon {
  display: inline-flex;
  color: #a78bfa;
}

.shop-version-picker-label-icon .sf-icon {
  width: 18px;
  height: 18px;
}

.shop-version-picker {
  position: relative;
}

.shop-version-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  min-height: 56px;
  padding: 16px 52px 16px 18px;
  border-radius: 14px;
  border: 2px solid rgba(167, 139, 250, 0.45);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.25s, background 0.2s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.shop-version-select:hover,
.shop-version-select:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.85);
  background: rgba(19,15,28,0.85);
  box-shadow:
    0 0 0 4px rgba(139,99,241,0.25),
    0 8px 32px rgba(139,99,241,0.2);
}

.shop-select-chevron {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 3px solid rgba(255, 255, 255, 0.7);
  border-bottom: 3px solid rgba(255, 255, 255, 0.7);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.shop-version-price-line {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #c4b5fd;
  text-align: center;
  letter-spacing: -0.01em;
}

.shop-mtk-block {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(35,26,58,0.6);
  background: rgba(35,26,58,0.25);
}

.shop-mtk-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(158,148,184,0.75);
  margin-bottom: 8px;
}

.shop-master-title {
  display: none;
}

.shop-master-title--legacy {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.shop-master-desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

.shop-master-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-master-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
}

.shop-master-features .sf-icon {
  color: #ae8ee6;
  margin-top: 2px;
}

.shop-master-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-chip {
  font-size: 10px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-variant-numeric: tabular-nums;
}

.shop-block-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}

.shop-downloads-block .shop-dl-row {
  margin-top: 0;
}

.shop-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 4px 0;
}

.shop-purchase-block,
.shop-generator-block {
  animation: none;
}

.shop-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.shop-qty-label-text {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.shop-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.shop-price-row--checkout {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.shop-price-usdt.shop-price-usdt--hero,
#shop-total-usdt.shop-price-usdt--hero {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #b38af0;
  line-height: 1.1;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}

.shop-price-rub-note {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.shop-price-main {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shop-price-old {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: line-through;
}

.shop-price-usdt {
  font-size: 14px;
  font-weight: 600;
  color: #b586fa;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(116,34,238,0.1);
  border: 1px solid rgba(116,34,238,0.25);
}

.shop-pay-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shop-pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shop-pay-row .shop-pay-btn--balance:not([hidden]) {
  width: 100%;
}

.shop-pay-balance-hint {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}
.shop-pay-balance-hint.is-hidden,
.shop-pay-balance-hint[hidden] {
  display: none !important;
}
.shop-pay-balance-hint-link {
  margin-left: 6px;
  font-weight: 600;
  color: #a78bfa;
  text-decoration: none;
}
.shop-pay-balance-hint-link:hover {
  text-decoration: underline;
}

.shop-pay-btn[hidden] {
  display: none !important;
}

.shop-pay-btn {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  width: 100%;
  margin-top: 0 !important;
  padding: 12px 16px 12px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.25s, border-color 0.2s;
}

.shop-pay-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.14) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.55s;
  pointer-events: none;
}

.shop-pay-btn:hover:not(:disabled)::after {
  transform: translateX(120%);
}

.shop-pay-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.shop-pay-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.shop-pay-btn--sbp {
  color: #fff;
  background: linear-gradient(135deg, #8b63f1 0%, #7c3aed 45%, #660ee9 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 10px 32px rgba(139,99,241,0.4),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.shop-pay-btn--sbp:hover:not(:disabled) {
  box-shadow:
    0 14px 40px rgba(124, 58, 237, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.shop-pay-btn--usdt {
  color: #f2ecfd;
  background: linear-gradient(135deg, rgba(83,38,161,0.55) 0%, rgba(56,15,118,0.75) 50%, rgba(39,6,95,0.85) 100%);
  border-color: rgba(110,52,211,0.45);
  box-shadow:
    0 10px 32px rgba(83,38,161,0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.shop-pay-btn--usdt:hover:not(:disabled) {
  border-color: rgba(154,110,231,0.65);
  box-shadow:
    0 14px 40px rgba(83,38,161,0.45),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.shop-pay-btn-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.shop-pay-btn-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.shop-pay-btn--usdt .shop-pay-btn-icon {
  background: rgba(255, 255, 255, 0.18);
}

.shop-pay-btn-label {
  flex: 1;
  text-align: left;
  white-space: nowrap;
}

.shop-pay-btn .btn-spinner {
  position: absolute;
  right: 12px;
}

.shop-pay-btn.is-loading .shop-pay-btn-label,
.shop-pay-btn.is-loading .shop-pay-btn-icon {
  opacity: 0.5;
}

.shop-pay-btn.is-loading .btn-spinner {
  display: inline-block;
}

.shop-pay-btn .btn-spinner {
  display: none;
}

.shop-btn-premium {
  position: relative;
  overflow: hidden;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.shop-btn-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s;
}

.shop-btn-premium:hover::after {
  transform: translateX(120%);
}

.gen-card-inline {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
  padding: 18px;
}

.shop-gen-panels .shop-gen-panel:not([hidden]) {
  animation: none;
}

/* Override global .gen-panel { display:none } from style.css (admin guest stack). */
.shop-gen-panels > .shop-gen-panel.gen-panel {
  display: none;
}
.shop-gen-panels > .shop-gen-panel.gen-panel:not([hidden]),
.shop-gen-panels > .shop-gen-panel.gen-panel.active {
  display: block;
}

.shop-hero-compact {
  padding: 28px 24px 20px;
}

.shop-hero-compact h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

/* Guest: generator only — hide shop catalog chrome */
.shop-guest-only .shop-hero-public,
.shop-guest-only .shop-footer,
.shop-guest-only .shop-main-nav,
.shop-guest-only .shop-header-premium,
.shop-guest-only .shop-master-visual,
.shop-guest-only .shop-version-hero,
.shop-guest-only .shop-master-meta,
.shop-guest-only .shop-downloads-block,
.shop-guest-only .shop-divider,
.shop-guest-only .shop-site-legal,
.shop-guest-only .shop-contacts-block,
.shop-guest-only [data-panel="rent"],
.shop-guest-only [data-panel="imei"],
.shop-guest-only [data-panel="server"] { display: none !important; }

.shop-site-legal {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 24px 24px;
  text-align: center;
}

.shop-site-legal .shop-legal-nav {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.shop-guest-only #shop-purchase-block { display: none !important; }

.shop-guest-only #shop-generator-block {
  display: block !important;
}

.shop-guest-only .shop-unified-wrap {
  max-width: 900px;
  padding-top: 12px;
}

@media (max-width: 900px) {
  .shop-master-inner {
    grid-template-columns: 1fr;
  }
  .shop-master-visual {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px;
  }
  .shop-visual-frame,
  .shop-visual-badges {
    max-width: min(300px, 88vw);
  }
  .shop-master-content {
    padding: 24px;
  }
  .shop-version-select {
    font-size: 16px;
  }
}

/* Legal documents */

.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px 40px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.2s;
}

.legal-back:hover {
  color: #fff;
}

.legal-doc {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15,12,22,0.75);
  backdrop-filter: blur(20px);
  padding: 32px 28px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.legal-title {
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal-block {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.legal-block h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.01em;
}

.legal-block h2 strong {
  font-weight: inherit;
}

.legal-block p {
  margin: 0 0 10px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block ul {
  margin: 8px 0 0;
  padding: 0 0 0 20px;
}

.legal-block li {
  margin-bottom: 6px;
}

.legal-block li:last-child {
  margin-bottom: 0;
}

.legal-meta {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.legal-meta a {
  color: rgba(158,148,184,0.95);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-meta a:hover {
  color: #fff;
}

.legal-meta-sep {
  margin: 0 10px;
  opacity: 0.5;
}

.shop-legal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-legal-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.shop-legal-nav a:hover {
  color: rgba(255, 255, 255, 0.95);
}

.shop-legal-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
  user-select: none;
}

.shop-footer-legal {
  padding: 24px;
  text-align: center;
}

.shop-footer-copy {
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.shop-footer-legal .shop-legal-nav {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

@media (max-width: 960px) {
  .shop-main-nav-inner {
    grid-template-columns: 1fr 1fr;
  }
  .shop-nav-item[data-nav="oxygen"] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .shop-main-nav {
    top: auto;
    position: relative;
    padding: 0 12px 12px;
  }
  .shop-main-nav-inner {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px;
  }
  .shop-nav-item[data-nav="oxygen"] {
    grid-column: auto;
  }
  .shop-nav-label {
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .shop-pay-methods {
    grid-template-columns: 1fr;
  }
  .shop-pay-btn {
    min-height: 48px;
  }
}

@media (max-width: 640px) {
  .legal-doc {
    padding: 24px 18px;
  }
  .shop-header { flex-direction: column; align-items: stretch; }
  .shop-contacts { justify-content: center; }
  .shop-contact span:not(.shop-contact-icon) { display: none; }
  .shop-contact { padding: 10px 12px; }
  .shop-card-actions { grid-template-columns: 1fr; }
}

/* —— Premium header (в потоке страницы, как блок контактов внизу) —— */
.shop-header-premium {
  position: relative;
  width: 100%;
  z-index: 100;
  box-sizing: border-box;
  padding:
    calc(10px + env(safe-area-inset-top, 0px))
    max(12px, env(safe-area-inset-right, 0px))
    8px
    max(12px, env(safe-area-inset-left, 0px));
  pointer-events: none;
  background: #09070f;
  margin: 0;
}

.shop-header-premium .shop-header-shell {
  pointer-events: auto;
}

.shop-header-shell {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #16121f;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  isolation: isolate;
}

.shop-header-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
  z-index: 2;
}

.shop-header-glow {
  display: none !important;
}

.shop-header-bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px 12px;
}

.shop-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  min-width: 0;
}

.shop-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex-shrink: 0;
}

.shop-header-brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.shop-header-brand-logo {
  width: 28px;
  height: 28px;
  display: block;
}

.shop-header-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.shop-header-brand-name {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  white-space: nowrap;
}

.shop-header-brand-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.shop-header-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
}

.shop-header-nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  overflow: hidden;
}

.shop-header-nav-item:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.shop-header-nav-item.is-active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.shop-header-nav-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.shop-header-nav-item.is-active .shop-header-nav-icon {
  background: rgba(255, 255, 255, 0.1);
}

.shop-header-nav-icon .sf-icon {
  width: 16px;
  height: 16px;
}

.shop-header-nav-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.shop-header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
  max-width: 100%;
}

.shop-header-seg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
}

.shop-header-seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 9px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  white-space: nowrap;
}

.shop-header-seg-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}

.shop-header-seg-btn.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.shop-header-seg-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.shop-header-seg-icon--moon {
  background: radial-gradient(circle at 35% 35%, #e6e2f0, #8b63f1 55%, transparent 56%);
  box-shadow: inset -2px -2px 0 rgba(139,99,241,0.5);
}

.shop-header-seg-icon--sun {
  background: radial-gradient(circle at 50% 50%, #b58dfa, #610bf5 70%);
  box-shadow: 0 0 8px rgba(116,41,246,0.45);
}

.shop-catalog-lead {
  margin: 0 auto 18px;
  max-width: 1200px;
  padding: 12px 28px;
  text-align: center;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  background: linear-gradient(135deg, rgba(139,99,241,0.14), rgba(116,34,238,0.06));
  box-shadow: 0 8px 32px rgba(139,99,241,0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.shop-catalog-lead-sep {
  margin: 0 0.35em;
  font-weight: 500;
  color: rgba(167, 139, 250, 0.85);
}

.shop-unified-wrap.shop-catalog {
  padding-top: 16px;
  padding-bottom: 12px;
}

/* Gallery: one stack visible at a time */
.shop-visual-gallery {
  position: relative;
  width: 100%;
  max-width: 100%;
  flex: 1;
  min-height: 0;
}

.shop-visual-gallery .shop-visual-stack {
  display: none;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-visual-gallery .shop-visual-stack.is-active {
  display: flex;
}

.shop-visual-gallery .shop-visual-stack[hidden] {
  display: none !important;
}

.shop-preview-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 14px;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s;
}

.shop-preview-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.45), rgba(116,34,238,0.2), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.shop-preview-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 14px 36px rgba(139,99,241,0.28),
    0 0 0 1px rgba(167, 139, 250, 0.25);
}

.shop-preview-btn:focus-visible {
  outline: 2px solid rgba(167, 139, 250, 0.85);
  outline-offset: 3px;
}

.shop-preview-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13px;
  background: linear-gradient(180deg, #f9f8fc 0%, #ece8f5 100%);
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  vertical-align: middle;
}

.shop-preview-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15,12,22,0.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E") center/17px no-repeat;
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
}

.shop-preview-btn:hover .shop-preview-zoom {
  opacity: 1;
  transform: scale(1.05);
}

/* Premium custom version dropdown */
.shop-version-dd {
  position: relative;
}

.shop-version-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.shop-version-dd-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 14px 48px 14px 16px;
  border-radius: 14px;
  border: 2px solid rgba(167, 139, 250, 0.45);
  background: linear-gradient(145deg, rgba(19,15,28,0.95), rgba(0, 0, 0, 0.55));
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  text-align: left;
}

.shop-version-dd-trigger:hover,
.shop-version-dd-trigger:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.85);
  box-shadow:
    0 0 0 4px rgba(139,99,241,0.25),
    0 8px 32px rgba(139,99,241,0.2);
}

.shop-version-dd-icon .sf-icon {
  width: 20px;
  height: 20px;
  color: #a78bfa;
}

.shop-version-dd-value {
  flex: 1;
  min-width: 0;
}

.shop-version-dd-chevron {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -6px;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  pointer-events: none;
}

.shop-version-dd-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(15,12,22,0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  scrollbar-width: thin;
  scrollbar-color: rgba(167, 139, 250, 0.65) rgba(255, 255, 255, 0.06);
}

.shop-version-dd-menu::-webkit-scrollbar {
  width: 7px;
}

.shop-version-dd-menu::-webkit-scrollbar-track {
  margin: 6px 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.shop-version-dd-menu::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.85), rgba(139,99,241,0.55));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.shop-version-dd-menu::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(196, 181, 253, 0.95), rgba(163,129,248,0.7));
}

.shop-version-dd-menu[hidden] {
  display: none;
}

.shop-version-dd-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.shop-version-dd-option:hover {
  background: rgba(139,99,241,0.18);
}

.shop-version-dd-option.is-selected {
  background: rgba(139,99,241,0.28);
  color: #fff;
}

.shop-version-dd-option-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #fff;
  white-space: normal;
}

.shop-version-dd-value {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-version-dd-trigger {
  font-size: 14px;
}

.shop-version-dd-option-meta {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

/* Test service panels */
.shop-service-panel .shop-service-wrap {
  max-width: 900px;
}

.shop-service-banner {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(116,41,246,0.35);
  background: rgba(116,41,246,0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.shop-test-grid {
  display: grid;
  gap: 16px;
}

.shop-test-card {
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(35,26,58,0.45), rgba(11,8,18,0.85));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.shop-test-card-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b289fa;
  background: rgba(116,41,246,0.15);
  border: 1px solid rgba(116,41,246,0.35);
}

.shop-test-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.shop-test-card-desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.shop-test-card-pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* —— Header & layout: responsive —— */
@media (max-width: 1200px) {
  .shop-unified-wrap,
  .shop-footer {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 1024px) {
  .shop-header-nav-item {
    font-size: 11px;
    padding: 8px 8px;
  }

  .shop-master-inner {
    grid-template-columns: 1fr;
  }

  .shop-master-visual {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 900px) {
  .shop-header-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-catalog-lead {
    padding: 10px 16px;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .shop-header-premium {
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
    padding-bottom: 6px;
  }

  .shop-header-shell {
    border-radius: 18px;
  }

  .shop-header-bar {
    gap: 10px;
    padding: 12px 12px 10px;
  }

  .shop-header-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .shop-header-brand-logo {
    width: 24px;
    height: 24px;
  }

  .shop-header-brand-name {
    font-size: 0.9rem;
  }

  .shop-header-brand-tag {
    display: none;
  }

  .shop-header-top {
    gap: 8px;
  }

  .shop-header-tools {
    gap: 6px;
  }

  .shop-header-seg {
    padding: 2px;
  }

  .shop-header-seg-btn {
    min-height: 36px;
    min-width: 36px;
    padding: 6px 8px;
  }

  .shop-header-seg-btn span:not(.shop-header-seg-icon) {
    display: none;
  }

  /* Горизонтальная лента — удобнее на телефоне */
  .shop-header-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 2px 0 4px;
    margin: 0 -2px;
  }

  .shop-header-nav::-webkit-scrollbar {
    display: none;
  }

  .shop-header-nav-item {
    flex: 0 0 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    width: auto;
    min-height: 48px;
    padding: 8px 10px;
    justify-content: center;
    scroll-snap-align: start;
  }

  .shop-header-nav-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
    max-width: 5.5rem;
    text-align: center;
  }

  .shop-header-nav-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }

  .shop-header-nav-item[data-nav="oxygen"] .shop-header-nav-label {
    max-width: 4.2rem;
  }

  .shop-unified-wrap {
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .shop-master {
    border-radius: 18px;
  }

  .shop-master-content {
    padding: 18px 16px 20px;
  }

  .shop-pay-row {
    grid-template-columns: 1fr;
  }

  .shop-footer-grid {
    grid-template-columns: 1fr;
  }

  .shop-footer-inner {
    border-radius: 18px;
    padding: 18px 14px 16px;
  }
}

@media (max-width: 400px) {
  .shop-header-nav-item {
    padding: 8px 10px;
  }

  .shop-header-nav-label {
    max-width: 4.5rem;
  }
}

@media (min-width: 1400px) {
  .shop-header-shell,
  .shop-unified-wrap,
  .shop-footer {
    max-width: 1240px;
  }
}

@media (max-width: 520px) {
  .shop-test-card-pay,
  .shop-svc-pay {
    grid-template-columns: 1fr;
  }
}

/* Oxygen card — height aligned with 3 previews */
.shop-master--compact {
  border-radius: 22px;
}

.shop-master--compact .shop-master-inner {
  align-items: stretch;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
}

.shop-master--compact .shop-master-visual {
  padding: 12px 10px;
  justify-content: flex-start;
}

.shop-master--compact .shop-visual-gallery {
  width: 100%;
}

.shop-master--compact .shop-visual-gallery .shop-visual-stack.is-active {
  gap: 8px;
}

.shop-master--compact .shop-preview-btn {
  flex: none;
  border-radius: 10px;
}

.shop-master--compact .shop-preview-shot {
  flex: none;
  min-height: 0;
  max-height: none;
  object-fit: contain;
}

.shop-master--compact .shop-visual-badges {
  max-width: 100%;
  gap: 6px;
}

.shop-master--compact .shop-pill {
  font-size: 10px;
  padding: 4px 8px;
}

.shop-master-content--fit {
  padding: 12px 16px 14px;
  gap: 8px;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(167, 139, 250, 0.45) transparent;
}

.shop-master-content--fit::-webkit-scrollbar {
  width: 6px;
}

.shop-master-content--fit::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: rgba(167, 139, 250, 0.4);
}

.shop-version-hero--slim {
  padding: 10px 12px;
  border-radius: 12px;
  margin: 0;
}

.shop-version-hero--slim .shop-version-hero-head {
  display: none;
}

.shop-version-hero-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

.shop-version-hero-label .sf-icon {
  width: 14px;
  height: 14px;
  color: #a78bfa;
}

.shop-version-hero--slim .shop-version-dd-trigger {
  min-height: 46px;
  padding: 10px 40px 10px 12px;
  font-size: 13px;
}

.shop-version-price-line {
  margin: 6px 0 0;
  font-size: 12px;
}

.shop-master-meta--compact {
  margin: 0;
}

.shop-master-meta--compact .shop-master-desc {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-master-meta--compact .shop-master-features {
  gap: 4px;
  margin: 0;
}

.shop-master-meta--compact .shop-master-features li {
  font-size: 11px;
  padding: 2px 0;
}

.shop-master--compact .shop-downloads-block,
.shop-master--compact .shop-purchase-block {
  margin: 0;
}

.shop-master--compact .shop-block-label {
  font-size: 11px;
  margin-bottom: 6px;
}

.shop-master--compact .shop-qty-row {
  margin-bottom: 8px;
}

.shop-master--compact .shop-divider {
  margin: 4px 0;
}

/* Service panels (rent / activation / credits) */
.shop-service-panel .shop-service-wrap {
  max-width: 560px;
}

.shop-svc-slot {
  display: block;
}

.shop-svc-card {
  overflow: hidden;
  padding: 0;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, rgba(35,26,58,0.55), rgba(11,8,18,0.95));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

.shop-svc-card-hero {
  position: relative;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #170f2a, #291b4b);
}

.shop-svc-card-hero--amt {
  min-height: 160px;
}

.shop-svc-card-hero-img {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  object-position: center;
  padding: 20px 24px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

.shop-svc-card-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: blur(2px) saturate(1.2);
}

.shop-svc-card-hero-logo {
  position: relative;
  z-index: 1;
  max-width: 72%;
  max-height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
}

.shop-svc-card-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(11,8,18,0.85) 100%);
  pointer-events: none;
}

.shop-svc-card-hero .shop-svc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  margin: 0;
}

.shop-svc-card-body {
  padding: 20px 22px 18px;
}

.shop-svc-card--unlocktool .shop-svc-card-hero {
  background: linear-gradient(145deg, #120c22 0%, #261a44 50%, #170f2a 100%);
}

.shop-svc-card--amt .shop-svc-card-hero {
  background: linear-gradient(145deg, #120a28 0%, #2b134e 40%, #170f2a 100%);
}

.shop-svc-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b289fa;
  background: rgba(116,41,246,0.12);
  border: 1px solid rgba(116,41,246,0.3);
}

.shop-svc-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.shop-svc-desc {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.shop-svc-facts {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.shop-svc-facts li {
  padding: 4px 0;
}

.shop-svc-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(116,34,238,0.35);
  background: rgba(116,34,238,0.08);
  color: #b586fa;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.shop-svc-dl:hover {
  background: rgba(116,34,238,0.15);
  color: #fff;
}

.shop-svc-dl .sf-icon {
  width: 16px;
  height: 16px;
}

.shop-svc-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.shop-svc-term {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.shop-svc-term:hover {
  color: #fff;
  border-color: rgba(167, 139, 250, 0.4);
}

.shop-svc-term.is-active {
  color: #fff;
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(139,99,241,0.25);
  box-shadow: 0 4px 16px rgba(139,99,241,0.2);
}

.shop-svc-fields {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.shop-svc-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shop-svc-field span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shop-svc-field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}

.shop-svc-field input:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(139,99,241,0.2);
}

.shop-svc-pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shop-pay-btn--compact {
  min-height: 40px !important;
  padding: 8px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  gap: 8px !important;
}

.shop-pay-btn--compact .sf-icon-pay {
  width: 18px;
  height: 18px;
}

.shop-pay-btn--compact span {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .shop-master--compact .shop-master-inner {
    grid-template-columns: 1fr;
  }
}

/* Screenshot lightbox — premium, controls on image */
body.shop-lightbox-open {
  overflow: hidden;
}

.shop-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.shop-lightbox[hidden] {
  display: none !important;
}

.shop-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,2,12,0.92);
  backdrop-filter: blur(20px) saturate(1.3);
}

.shop-lightbox-stage {
  position: relative;
  z-index: 1;
  width: min(96vw, 1080px);
  max-height: 94vh;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.shop-lightbox-viewport {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-lightbox-figure {
  position: relative;
  margin: 0;
  display: block;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.shop-lightbox-img {
  display: block;
  max-width: min(96vw, 1080px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: linear-gradient(180deg, #f9f8fc, #ece8f5);
  transition: opacity 0.3s ease;
}

.shop-lightbox-img.is-loading {
  opacity: 0.4;
}

.shop-lb-onimg {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(20,15,32,0.42);
  backdrop-filter: blur(14px) saturate(1.4);
  color: #fff;
  cursor: pointer;
  transition: background 0.22s, transform 0.2s, border-color 0.22s, opacity 0.2s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.shop-lb-onimg:hover:not(:disabled) {
  background: rgba(139,99,241,0.55);
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.06);
}

.shop-lb-onimg:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.shop-lb-onimg--close {
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 26px;
  line-height: 1;
  font-weight: 300;
}

.shop-lb-onimg--close:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.55);
}

.shop-lb-onimg--prev {
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 40px;
  border-radius: 999px;
}

.shop-lb-onimg--prev:hover:not(:disabled) {
  transform: translateX(-50%) scale(1.06);
}

.shop-lb-onimg--next {
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 40px;
  border-radius: 999px;
}

.shop-lb-onimg--next:hover:not(:disabled) {
  transform: translateX(-50%) scale(1.06);
}

.shop-lb-onimg-icon {
  display: block;
  width: 14px;
  height: 14px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-135deg);
  margin-top: 4px;
}

.shop-lb-onimg-icon--down {
  transform: rotate(45deg);
  margin-top: -4px;
}

.shop-lightbox-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 16px 14px;
  background: linear-gradient(0deg, rgba(7,4,14,0.85) 0%, transparent 100%);
  pointer-events: none;
}

.shop-lightbox-caption {
  margin: 0;
  max-width: 90%;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.shop-lightbox-counter {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

@media (max-width: 640px) {
  .shop-lb-onimg--prev,
  .shop-lb-onimg--next {
    width: 44px;
    height: 36px;
  }
  .shop-lb-onimg--next {
    bottom: 48px;
  }
}

/* Dhru catalog — premium cards */
.shop-dhru-panel[data-dhru-cat="rent"] { --dhru-accent: #b289fa; --dhru-accent-soft: rgba(178,137,250,0.14); }
.shop-dhru-panel[data-dhru-cat="imei"] { --dhru-accent: #aa8bfa; --dhru-accent-soft: rgba(170,139,250,0.14); }
.shop-dhru-panel[data-dhru-cat="server"] { --dhru-accent: #ae8ee6; --dhru-accent-soft: rgba(174,142,230,0.14); }

.shop-dhru-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px 56px;
}
.shop-dhru-toolbar {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0 -16px 20px;
  padding: 14px 16px 12px;
  background: linear-gradient(180deg, rgba(9,7,15,0.97) 0%, rgba(9,7,15,0.88) 80%, transparent 100%);
  backdrop-filter: blur(12px);
}
.shop-dhru-toolbar-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}
@media (max-width: 720px) {
  .shop-dhru-toolbar-main { grid-template-columns: 1fr; }
}
.shop-dhru-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16,12,26,0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.shop-dhru-search-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.55;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.shop-dhru-search {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 15px;
  padding: 13px 0;
  outline: none;
}
.shop-dhru-sort-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
}
.shop-dhru-sort {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16,12,26,0.85);
  color: inherit;
  font-size: 14px;
  min-width: 148px;
}
.shop-dhru-meta {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--dhru-accent, #aa8bfa);
}
.shop-dhru-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.shop-dhru-jump[hidden] { display: none !important; }
.shop-dhru-jump-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.55;
  flex-shrink: 0;
}
.shop-dhru-jump-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.shop-dhru-jump-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.shop-dhru-jump-link:hover {
  border-color: var(--dhru-accent, #a381f8);
  background: var(--dhru-accent-soft, rgba(163,129,248,0.12));
  transform: translateY(-1px);
}
.shop-dhru-jump-n {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--dhru-accent-soft, rgba(163,129,248,0.2));
  color: var(--dhru-accent, #d7c8fd);
}

.shop-dhru-catalog {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.shop-dhru-section {
  scroll-margin-top: 120px;
}
.shop-dhru-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.shop-dhru-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.shop-dhru-section-title h2 {
  margin: 0;
  font-size: clamp(15px, 2.5vw, 18px);
  font-weight: 700;
  line-height: 1.25;
}
.shop-dhru-section-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dhru-accent, #a381f8);
  box-shadow: 0 0 12px var(--dhru-accent, #a381f8);
  flex-shrink: 0;
}
.shop-dhru-section-badge {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--dhru-accent-soft, rgba(163,129,248,0.15));
  color: var(--dhru-accent, #d7c8fd);
}

.shop-dhru-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.shop-dhru-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(23,18,34,0.95) 0%, rgba(13,10,22,0.9) 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.shop-dhru-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--dhru-accent, #a381f8) 55%, transparent);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28), 0 0 0 1px var(--dhru-accent-soft);
}
.shop-dhru-card-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--dhru-accent, #a381f8);
  opacity: 0.12;
  filter: blur(28px);
  pointer-events: none;
}
.shop-dhru-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.shop-dhru-card-chip {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--dhru-accent-soft);
  color: var(--dhru-accent);
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-dhru-card-id {
  font-size: 11px;
  opacity: 0.45;
  font-variant-numeric: tabular-nums;
}
.shop-dhru-card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-dhru-card-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(209,203,225,0.88);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-dhru-card-meta {
  margin: 0;
  font-size: 12px;
  opacity: 0.55;
}
.shop-dhru-card-prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: auto;
}
.shop-dhru-card-rub {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f9f8fc;
}
.shop-dhru-card-rub small {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.7;
}
.shop-dhru-card-usdt {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.65;
}
.shop-dhru-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  padding: 11px 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--dhru-accent, #8b63f1) 0%, color-mix(in srgb, var(--dhru-accent) 70%, #462e81) 100%);
  color: #170f2a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
}
.shop-dhru-card-cta .sf-icon {
  width: 18px;
  height: 18px;
}
.shop-dhru-card-cta:hover {
  filter: brightness(1.08);
  transform: scale(1.01);
}
.shop-dhru-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.shop-dhru-card-actions .shop-dhru-card-cta {
  flex: 1;
  width: auto;
  margin-top: 0;
}
.shop-dhru-fav {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(23,15,42,0.45);
  color: #b289fa;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}
.shop-dhru-fav.is-on {
  background: rgba(116,41,246,0.18);
  border-color: rgba(116,41,246,0.45);
}

.shop-dhru-more {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--dhru-accent, #aa8bfa);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.shop-dhru-more:hover {
  background: var(--dhru-accent-soft);
  border-color: var(--dhru-accent);
}
.shop-dhru-empty {
  text-align: center;
  opacity: 0.7;
  padding: 32px 16px;
}

/* Dhru order modal — premium checkout */
.shop-dhru-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
@media (min-width: 640px) {
  .shop-dhru-modal { align-items: center; padding: 24px; }
}
.shop-dhru-modal[hidden] { display: none !important; }
.shop-dhru-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9,6,18,0.62);
  backdrop-filter: blur(14px) saturate(1.1);
}
.shop-dhru-modal-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(96dvh, 920px);
  overflow: hidden;
  padding: 0;
  border-radius: 22px 22px 0 0;
  background: rgba(22,18,32,0.92);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 -4px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
@media (min-width: 640px) {
  .shop-dhru-modal-card {
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  }
}
.shop-dhru-modal-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--dhru-accent, #a381f8), transparent);
  opacity: 0.85;
  border-radius: 22px 22px 0 0;
}
.shop-dhru-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(249,248,252,0.75);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.shop-dhru-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.shop-dhru-modal-head {
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.shop-dhru-modal-kicker {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(170,139,250,0.85);
}
.shop-dhru-modal-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(249,248,252,0.95);
  padding-right: 40px;
}
.shop-dhru-modal-price {
  margin-top: 14px;
}
.shop-dhru-modal-price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.shop-dhru-modal-rub {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f9f8fc;
  line-height: 1;
}
.shop-dhru-modal-rub small {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.55;
}
.shop-dhru-modal-price-sub {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(158,148,184,0.9);
}
.shop-dhru-modal-body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 0 0 auto;
  overflow: hidden;
}
.shop-dhru-modal-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shop-dhru-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.shop-dhru-field-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(158,148,184,0.95);
}
.shop-dhru-field-label em {
  font-style: normal;
  color: rgba(178,137,250,0.9);
  margin-left: 2px;
}
.shop-dhru-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11,8,20,0.55);
  color: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.shop-dhru-input::placeholder {
  color: rgba(158,148,184,0.45);
}
.shop-dhru-input:focus {
  border-color: rgba(163,129,248,0.45);
  box-shadow: 0 0 0 3px rgba(139,99,241,0.12);
}
.shop-dhru-modal-hint {
  margin: 0;
  font-size: 13px;
  color: rgba(158,148,184,0.8);
}
.shop-dhru-pay-label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(158,148,184,0.85);
}
.shop-dhru-modal-pay-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shop-dhru-pay-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
  box-shadow: none;
}
.shop-dhru-pay-btn::after { display: none; }
.shop-dhru-pay-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}
.shop-dhru-pay-btn--sbp:hover:not(:disabled) {
  border-color: rgba(163,129,248,0.35);
  background: rgba(139,99,241,0.1);
}
.shop-dhru-pay-btn--usdt:hover:not(:disabled) {
  border-color: rgba(110,52,211,0.35);
  background: rgba(78,16,185,0.08);
}
.shop-dhru-pay-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.shop-dhru-pay-icon .sf-icon-pay {
  width: 22px;
  height: 22px;
  opacity: 0.9;
}
.shop-dhru-pay-btn--sbp .shop-dhru-pay-icon {
  background: rgba(139,99,241,0.15);
  border-color: rgba(163,129,248,0.2);
}
.shop-dhru-pay-btn--usdt .shop-dhru-pay-icon {
  background: rgba(78,16,185,0.12);
  border-color: rgba(110,52,211,0.2);
}
.shop-dhru-pay-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.shop-dhru-pay-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(249,248,252,0.92);
}
.shop-dhru-pay-amount {
  font-size: 13px;
  font-weight: 500;
  color: rgba(158,148,184,0.95);
}
.shop-dhru-modal-result {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(94,34,197,0.1);
  border: 1px solid rgba(94,34,197,0.2);
  font-size: 13px;
  line-height: 1.45;
  color: rgba(209,187,247,0.95);
  word-break: break-word;
}
body.shop-dhru-modal-open { overflow: hidden; }

/* ── Account modal (center) & order status ── */
.shop-header-actions {
  display: inline-flex;
  align-items: stretch;
  gap: 8px;
  margin-left: 4px;
}
.shop-header-balance[hidden] {
  display: none !important;
}
.shop-header-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.2s;
}
.shop-header-account-btn {
  border: 1px solid rgba(141,99,248,0.4);
  background: linear-gradient(135deg, rgba(141,99,248,0.28), rgba(112,59,246,0.14));
  color: #ede6fe;
  white-space: nowrap;
}
a.shop-header-balance { color: inherit; }

.shop-account-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}
@media (min-width: 640px) {
  .shop-account-modal { align-items: center; padding: 24px; }
}
.shop-account-modal[hidden] { display: none !important; }
.shop-account-modal-backdrop,
.shop-order-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,4,14,0.78);
  backdrop-filter: blur(8px);
}
.shop-account-modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: min(92vh, 780px);
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(27,22,40,0.98) 0%, rgba(13,10,20,0.98) 100%);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(141,99,248,0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.shop-account-modal-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, #8d63f8, #703bf6, #7422ee);
}
.shop-account-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.shop-account-modal-head {
  padding: 22px 22px 8px;
  text-align: center;
}
.shop-account-modal-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
}
.shop-account-modal-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.shop-account-modal-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.72;
  max-width: 32em;
  margin-left: auto;
  margin-right: auto;
}
.shop-account-modal-body {
  padding: 8px 22px 22px;
  overflow-y: auto;
}
.shop-account-modal-body--user { max-height: 55vh; }
.shop-account-lead { font-size: 13px; opacity: 0.75; margin: 0 0 14px; }
.shop-account-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
}
.shop-account-tab {
  flex: 1;
  padding: 10px 12px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.shop-account-tab.is-active {
  background: linear-gradient(135deg, rgba(141,99,248,0.35), rgba(112,59,246,0.2));
  color: #f9f8fc;
  box-shadow: 0 4px 14px rgba(141,99,248,0.25);
}
.shop-account-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
}
.shop-account-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  font-size: 15px;
}
.shop-account-form .btn-primary {
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  border-radius: 12px;
}
.shop-account-alert { font-size: 13px; margin-top: 10px; text-align: center; }
.shop-account-alert.is-err { color: #fca5a5; }
.shop-account-alert.is-ok { color: #86efac; }
.shop-account-orders h3,
.shop-account-claim h3 { font-size: 14px; margin: 18px 0 10px; }
.shop-account-orders-list { display: flex; flex-direction: column; gap: 10px; }
.shop-account-order-card {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.shop-account-order-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}
.shop-account-order-meta { font-size: 12px; opacity: 0.7; margin: 6px 0; }
.shop-account-empty-box {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}
.shop-account-empty-title {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 14px;
}
.shop-account-empty-lead {
  margin: 0 0 10px;
  font-size: 13px;
  opacity: 0.75;
  line-height: 1.45;
}
.shop-account-empty-tips {
  margin: 0;
  padding-left: 1.1em;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.85;
}
.shop-account-empty-tips li { margin-bottom: 6px; }
.shop-account-help {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}
.shop-account-help-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(141,99,248,0.08);
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.shop-account-help-toggle.is-open {
  border-color: rgba(141,99,248,0.35);
  border-radius: 10px 10px 0 0;
}
.shop-account-help-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
  opacity: 0.7;
  flex-shrink: 0;
}
.shop-account-help-toggle.is-open .shop-account-help-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.shop-account-help-panel {
  padding: 12px 12px 14px;
  border: 1px solid rgba(141,99,248,0.25);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: rgba(0, 0, 0, 0.18);
}
.shop-account-help-text {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.88;
}
.shop-account-help-steps {
  margin: 0 0 12px;
  padding-left: 1.2em;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.8;
}
.shop-account-help-steps li { margin-bottom: 6px; }
.shop-account-claim-form { display: flex; flex-direction: column; gap: 10px; }
.shop-account-claim-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
}
.shop-account-claim-form input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font-size: 14px;
}
.shop-account-claim-form .btn-primary { width: 100%; }
body.shop-account-modal-open { overflow: hidden; }

.shop-order-modal-close {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}

.shop-buyer-email-wrap { display: block; margin: 10px 0 4px; }
.shop-buyer-email-label { font-size: 12px; opacity: 0.75; display: block; margin-bottom: 6px; }
.shop-buyer-email-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  color: inherit;
}

.shop-order-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.shop-order-modal[hidden] { display: none !important; }
.shop-order-modal-card {
  position: relative;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #120f1a;
  padding: 18px 20px;
}
.shop-order-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.shop-order-modal-head h2 { margin: 0; font-size: 17px; }
.shop-order-badge {
  display: inline-block;
  margin: 8px 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.shop-order-badge.is-pending { background: rgba(251, 191, 36, 0.15); color: #fcd34d; }
.shop-order-badge.is-paid { background: rgba(112,59,246,0.15); color: #aa8bfa; }
.shop-order-badge.is-processing { background: rgba(168, 85, 247, 0.15); color: #d8b4fe; }
.shop-order-badge.is-done { background: rgba(34, 197, 94, 0.15); color: #86efac; }
.shop-order-badge.is-fail { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.shop-order-facts { list-style: none; padding: 0; margin: 12px 0; }
.shop-order-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}
.shop-order-result-box {
  padding: 12px;
  border-radius: 10px;
  background: rgba(94,34,197,0.08);
  font-size: 13px;
  word-break: break-word;
}
.shop-order-modal-foot { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

.shop-dhru-modal-desc-block {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.shop-dhru-modal-section-title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.55;
}
.shop-dhru-modal-info-rich {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(230,226,240,0.92);
  word-break: break-word;
}
.shop-dhru-modal-info-rich p { margin: 0 0 8px; }
.shop-dhru-modal-info-rich ul { margin: 0 0 8px; padding-left: 1.2em; }
.shop-dhru-modal-qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(141,99,248,0.2);
  background: rgba(141,99,248,0.06);
}
.shop-dhru-modal-qty-hint {
  flex: 1 1 100%;
  margin: 0;
  font-size: 12px;
  opacity: 0.65;
}
.shop-dhru-qty-stepper { margin-left: auto; }
.shop-dhru-modal-fields-block { margin-bottom: 12px; }
.shop-dhru-field-hint {
  display: block;
  font-size: 11px;
  opacity: 0.5;
  margin-bottom: 4px;
}

.shop-header-balance {
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 6px 14px;
  border: 1px solid rgba(110,52,211,0.4);
  background: linear-gradient(145deg, rgba(32,6,78,0.5) 0%, rgba(23,15,42,0.88) 55%, rgba(141,99,248,0.1) 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.shop-header-pill:hover {
  transform: translateY(-1px);
}
.shop-header-balance:hover {
  border-color: rgba(154,110,231,0.55);
  box-shadow: 0 8px 24px rgba(78,16,185,0.18);
}
.shop-header-balance-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(195,167,243,0.9);
  line-height: 1;
}
.shop-header-balance-lines {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.shop-header-balance-usdt {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #b08cec;
}
.shop-header-balance-eq {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.55;
}
.shop-header-balance-rub {
  font-size: 14px;
  font-weight: 700;
  color: #e9d5ff;
}

.shop-cabinet-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.shop-cabinet-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  background: linear-gradient(135deg, #8d63f8, #703bf6);
  color: #fff;
}
.shop-cabinet-name { margin: 0; font-weight: 700; font-size: 16px; }
.shop-cabinet-email { margin: 2px 0 0; font-size: 12px; opacity: 0.65; }
.shop-cabinet-logout { padding: 8px 12px; font-size: 12px; }
.shop-cabinet-balance-card {
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 16px;
  border: 1px solid rgba(141,99,248,0.28);
  background: linear-gradient(145deg, rgba(141,99,248,0.14), rgba(23,15,42,0.4));
}
.shop-cabinet-balance-main { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.shop-cabinet-balance-label { font-size: 12px; font-weight: 600; opacity: 0.65; text-transform: uppercase; letter-spacing: 0.05em; }
.shop-cabinet-balance-val { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.shop-cabinet-balance-hint { margin: 8px 0 12px; font-size: 12px; line-height: 1.45; opacity: 0.72; }
.shop-cabinet-topup-cta { width: 100%; }
.shop-cabinet-nav {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
}
.shop-cabinet-nav-btn {
  flex: 1;
  padding: 10px 8px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.shop-cabinet-nav-btn.is-active {
  background: linear-gradient(135deg, rgba(141,99,248,0.35), rgba(112,59,246,0.2));
  box-shadow: 0 4px 14px rgba(141,99,248,0.22);
}
.shop-cabinet-panel { display: none; }
.shop-cabinet-panel.is-active { display: block; }
.shop-cabinet-panel-lead { font-size: 13px; opacity: 0.75; line-height: 1.45; margin: 0 0 12px; }
.shop-topup-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.shop-topup-preset {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.shop-topup-preset:hover { border-color: rgba(141,99,248,0.45); }
.shop-topup-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; margin-bottom: 8px; }
.shop-topup-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  font-size: 16px;
}
.shop-topup-limits { font-size: 11px; opacity: 0.55; margin: 0 0 12px; }
.shop-topup-methods { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-topup-methods .shop-pay-btn { flex: 1; min-width: 120px; }
.shop-ledger-title { font-size: 13px; margin: 18px 0 8px; opacity: 0.8; }
.shop-account-ledger-list { display: flex; flex-direction: column; gap: 8px; max-height: 220px; overflow-y: auto; }
.shop-ledger-row {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}
.shop-ledger-row-main { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.shop-ledger-row-main .is-plus { color: #b08cf0; }
.shop-ledger-row-main .is-minus { color: #fca5a5; }
.shop-ledger-row-meta { margin: 4px 0 0; font-size: 11px; opacity: 0.6; }
.shop-cabinet-settings-meta { margin-top: 12px; font-size: 12px; opacity: 0.55; }
.shop-pay-btn--balance {
  color: #f3ecfe;
  background: linear-gradient(135deg, #610bf5 0%, #5409d6 42%, #4809b4 100%);
  border-color: rgba(139,76,248,0.55);
  box-shadow:
    0 10px 32px rgba(97,11,245,0.38),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
.shop-pay-btn--balance:hover:not(:disabled) {
  border-color: rgba(182,142,250,0.75);
  box-shadow:
    0 14px 40px rgba(97,11,245,0.48),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}
.shop-pay-btn--balance:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.35);
}
.shop-pay-btn-icon--balance {
  background: rgba(0, 0, 0, 0.18);
  color: #b289fa;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.shop-pay-btn-icon--balance::before {
  content: "₽";
}
.shop-pay-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.shop-pay-btn-sub {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
}
.shop-pay-use-balance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(97,11,245,0.35);
  background: rgba(97,11,245,0.08);
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
  color: inherit;
}
.shop-pay-use-balance[hidden] {
  display: none !important;
}
.shop-pay-use-balance input {
  margin-top: 2px;
  accent-color: #5409d6;
  flex: 0 0 auto;
}
.shop-pay-btn .shop-pay-btn-sub:empty {
  display: none;
}
.shop-dhru-use-balance {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(97,11,245,0.35);
  background: rgba(97,11,245,0.08);
  font-size: 12.5px;
  line-height: 1.35;
  cursor: pointer;
}
.shop-dhru-use-balance input {
  margin-top: 2px;
  accent-color: #5409d6;
}
.shop-dhru-pay-btn--balance {
  color: #f3ecfe;
  border-color: rgba(139,76,248,0.5);
  background: linear-gradient(135deg, #610bf5 0%, #4809b4 100%);
  box-shadow: 0 8px 24px rgba(97,11,245,0.3);
}
.shop-dhru-pay-btn--balance:disabled {
  opacity: 0.45;
  filter: grayscale(0.4);
}

@media (max-width: 720px) {
  .shop-header-top { flex-wrap: wrap; }
  .shop-header-tools { width: 100%; flex-wrap: wrap; justify-content: flex-end; }
  .shop-header-actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; }
  .shop-header-account-btn { margin-left: 0; }
  .shop-header-balance { margin-right: 0; }
  .shop-header-nav { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .shop-header-nav-item { flex: 0 0 auto; }
  .shop-dhru-grid { grid-template-columns: 1fr !important; }
  .shop-master-inner { flex-direction: column; }
  .shop-pay-row { flex-direction: column; }
  .shop-pay-row .shop-pay-btn { width: 100%; }
  .shop-footer-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .shop-footer-cards { grid-template-columns: 1fr; }
  .shop-account-modal-card { border-radius: 16px 16px 0 0; max-height: 92vh; }
}
