/* SmartFix Premium Shop */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.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: "Plus Jakarta Sans", "Inter", 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, #07070f 0%, #0a0814 42%, #07070f 100%) !important;
}

.shop-page .bg::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 88% 6%, rgba(34, 211, 238, 0.06), transparent 58%),
    radial-gradient(ellipse 55% 35% at 50% 100%, rgba(148, 163, 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(7, 7, 15, 0.92) 0%, rgba(7, 7, 15, 0.75) 100%);
  backdrop-filter: blur(16px);
  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(99, 102, 241, 0.35) 0%, rgba(34, 211, 238, 0.12) 100%);
  box-shadow:
    0 6px 24px rgba(99, 102, 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;
}

.shop-panel.is-active {
  animation: shop-fade-up 0.45s ease both;
}

/* 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(26, 35, 58, 0.5), rgba(8, 10, 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(99, 102, 241, 0.25), transparent 70%);
  pointer-events: none;
}

.shop-service-card--credits .shop-service-card-glow {
  background: radial-gradient(ellipse, rgba(38, 161, 123, 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, #6366f1, #22d3ee);
}

.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, #6366f1, #7c3aed 50%, #0ea5e9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 36px rgba(99, 102, 241, 0.35);
  transition: transform 0.15s, box-shadow 0.25s;
}

.shop-service-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(99, 102, 241, 0.45);
}

.shop-service-cta--bot {
  background: linear-gradient(135deg, rgba(38, 161, 123, 0.9), rgba(6, 95, 70, 0.95));
  box-shadow: 0 12px 36px rgba(38, 161, 123, 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(7, 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(99, 102, 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(124, 92, 255, 0.5));
  background: rgba(124, 92, 255, 0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 20px var(--contact-glow, rgba(124, 92, 255, 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(42, 171, 238, 0.6); --contact-glow: rgba(42, 171, 238, 0.25); color: #7dd3fc; }
.shop-contact--bot { --contact-accent: rgba(124, 92, 255, 0.6); --contact-glow: rgba(124, 92, 255, 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: #fdba74; }

/* 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: #7c5cff; top: -80px; left: 10%; animation-delay: 0s; }
.shop-orb-b { width: 200px; height: 200px; background: #22d3ee; top: 20px; right: 15%; animation-delay: -3s; }
.shop-orb-c { width: 160px; height: 160px; background: #fbbf24; 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(124, 92, 255, 0.35);
  background: rgba(124, 92, 255, 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%, #67e8f9 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: #7c5cff;
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 18, 31, 0.65);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: shop-card-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--card-i, 0) * 0.08s);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s, border-color 0.25s;
}

@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(7, 7, 15, 0.5) 60%,
    rgba(7, 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: #67e8f9;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 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(124, 92, 255, 0.4);
  background: rgba(124, 92, 255, 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(124, 92, 255, 0.55);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.25), rgba(34, 211, 238, 0.1));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 92, 255, 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, #1a1a2e 0%, #12121f 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, #7c5cff, #5b21b6);
}

.shop-pay-btns .btn-pay-usdt {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(34, 211, 238, 0.05));
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: #67e8f9;
}

/* Toast */
.shop-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(26, 26, 46, 0.95);
  border: 1px solid rgba(124, 92, 255, 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(38, 42, 72, 0.55) 0%, rgba(14, 16, 28, 0.92) 48%, rgba(8, 10, 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(34, 211, 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(124, 92, 255, 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(99, 102, 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);
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.22s,
    background 0.22s,
    box-shadow 0.28s;
  overflow: hidden;
}

.shop-footer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.07) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.shop-footer-card {
  position: relative;
}

.shop-footer-card:hover::after {
  transform: translateX(130%);
}

.shop-footer-card:hover {
  transform: translateY(-2px);
  border-color: var(--footer-accent, rgba(124, 92, 255, 0.45));
  background: color-mix(in srgb, var(--footer-accent, #7c5cff) 12%, rgba(255, 255, 255, 0.04));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 24px var(--footer-glow, rgba(124, 92, 255, 0.15));
}

.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);
  transition: transform 0.22s, color 0.22s;
}

.shop-footer-card:hover .shop-footer-card-arrow {
  transform: translateX(3px);
  color: rgba(255, 255, 255, 0.75);
}

.shop-footer-card--tg {
  --footer-accent: rgba(42, 171, 238, 0.55);
  --footer-glow: rgba(42, 171, 238, 0.2);
  color: #bae6fd;
}

.shop-footer-card--tg .shop-footer-card-icon {
  background: linear-gradient(145deg, rgba(42, 171, 238, 0.35), rgba(14, 116, 144, 0.25));
  border-color: rgba(42, 171, 238, 0.35);
}

.shop-footer-card--bot {
  --footer-accent: rgba(124, 92, 255, 0.55);
  --footer-glow: rgba(124, 92, 255, 0.22);
}

.shop-footer-card--bot .shop-footer-card-icon {
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.35), rgba(79, 70, 229, 0.2));
  border-color: rgba(124, 92, 255, 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(255, 120, 60, 0.55);
  --footer-glow: rgba(255, 120, 60, 0.18);
  color: #fed7aa;
}

.shop-footer-card--rt .shop-footer-card-icon {
  background: linear-gradient(145deg, rgba(255, 120, 60, 0.35), rgba(180, 60, 20, 0.25));
  border-color: rgba(255, 120, 60, 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(124, 92, 255, 0.35), rgba(34, 211, 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(124, 92, 255, 0.5), rgba(34, 211, 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(26, 35, 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(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
  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(124, 92, 255, 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(124, 92, 255, 0.35);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.15), rgba(34, 211, 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: #1a233a;
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(165deg, rgba(26, 35, 58, 0.45) 0%, rgba(8, 10, 18, 0.88) 55%),
    rgba(12, 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(26, 35, 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: #0a0e18;
}

.shop-visual-frame img.is-swapping {
  opacity: 0.4;
  transform: scale(1.03);
}

.shop-visual-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shop-shine 6s ease-in-out infinite;
  pointer-events: 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(124, 92, 255, 0.35);
  background:
    linear-gradient(145deg, rgba(99, 102, 241, 0.14) 0%, rgba(26, 35, 58, 0.5) 45%, rgba(0, 0, 0, 0.35) 100%);
  box-shadow:
    0 12px 36px rgba(99, 102, 241, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.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, #6366f1, #22d3ee);
  box-shadow: 0 6px 20px rgba(99, 102, 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(15, 15, 28, 0.85);
  box-shadow:
    0 0 0 4px rgba(99, 102, 241, 0.25),
    0 8px 32px rgba(99, 102, 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(26, 35, 58, 0.6);
  background: rgba(26, 35, 58, 0.25);
}

.shop-mtk-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(148, 163, 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: #34d399;
  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: shop-fade-up 0.45s ease both;
}

.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);
}

html[data-shop-theme="light"] .shop-price-row--checkout {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.08);
}

.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: #5eead4;
  line-height: 1.1;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}

html[data-shop-theme="light"] .shop-price-usdt.shop-price-usdt--hero,
html[data-shop-theme="light"] #shop-total-usdt.shop-price-usdt--hero {
  color: #0d9488;
}

.shop-price-rub-note {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

html[data-shop-theme="light"] .shop-price-rub-note {
  color: rgba(15, 23, 42, 0.55);
}

.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: #67e8f9;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 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;
}
html[data-shop-theme="light"] .shop-pay-balance-hint {
  color: rgba(15, 23, 42, 0.6);
}
html[data-shop-theme="light"] .shop-pay-balance-hint-link {
  color: #6d28d9;
}

.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, #6366f1 0%, #7c3aed 45%, #0ea5e9 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 10px 32px rgba(99, 102, 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: #ecfdf5;
  background: linear-gradient(135deg, rgba(38, 161, 123, 0.55) 0%, rgba(15, 118, 110, 0.75) 50%, rgba(6, 95, 70, 0.85) 100%);
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow:
    0 10px 32px rgba(38, 161, 123, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.shop-pay-btn--usdt:hover:not(:disabled) {
  border-color: rgba(110, 231, 183, 0.65);
  box-shadow:
    0 14px 40px rgba(38, 161, 123, 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: shop-fade-up 0.4s ease;
}

.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(12, 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(148, 163, 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: #07070f;
  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: #12121f;
  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%, #e2e8f0, #6366f1 55%, transparent 56%);
  box-shadow: inset -2px -2px 0 rgba(99, 102, 241, 0.5);
}

.shop-header-seg-icon--sun {
  background: radial-gradient(circle at 50% 50%, #fde68a, #f59e0b 70%);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.45);
}

/* —— Light theme: full premium (page + components) —— */
html[data-shop-theme="light"].shop-page {
  color-scheme: light;
  /* Global tokens (style.css) — remapped for shop */
  --bg: #f2f4f8;
  --surface: #ffffff;
  --surface2: #f8fafc;
  --border: rgba(51, 65, 85, 0.14);
  --text: #0f172a;
  --muted: #5b6578;
  --accent: #5b5bd6;
  --cyan: #0891b2;
  --ok: #059669;
  --err: #dc2626;
  --warn: #d97706;
  /* Shop light palette */
  --sl-bg: #f2f4f8;
  --sl-bg-deep: #e8ecf2;
  --sl-surface: #f8fafc;
  --sl-card: #ffffff;
  --sl-card-elevated: #ffffff;
  --sl-border: rgba(51, 65, 85, 0.12);
  --sl-border-strong: rgba(51, 65, 85, 0.2);
  --sl-text: #0f172a;
  --sl-text-soft: #334155;
  --sl-muted: #5b6578;
  --sl-muted-soft: #7c8a9e;
  --sl-accent: #5b5bd6;
  --sl-accent-deep: #4338ca;
  --sl-accent-soft: rgba(91, 91, 214, 0.1);
  --sl-accent-glow: rgba(91, 91, 214, 0.2);
  --sl-cyan-soft: rgba(8, 145, 178, 0.1);
  --sl-success-soft: rgba(5, 150, 105, 0.1);
  --sl-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.04);
  --sl-shadow: 0 4px 16px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
  --sl-shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.08), 0 4px 14px rgba(15, 23, 42, 0.05);
  --sl-inset: inset 0 1px 0 rgba(255, 255, 255, 1);
  color: var(--sl-text);
  background-color: var(--sl-bg) !important;
}

html[data-shop-theme="light"].shop-page body,
body.shop-theme-light {
  background-color: var(--sl-bg) !important;
  color: var(--sl-text);
}

/* Replace dark page backdrop entirely */
html[data-shop-theme="light"].shop-page .bg {
  opacity: 1 !important;
  background:
    linear-gradient(180deg, #f8fafc 0%, #f2f4f8 42%, #eceff4 100%) !important;
}

html[data-shop-theme="light"].shop-page .bg::before {
  animation: none;
  opacity: 1;
  background:
    radial-gradient(ellipse 70% 40% at 50% 120%, rgba(148, 163, 184, 0.12), transparent 58%) !important;
}

html[data-shop-theme="light"] .shop-header-premium {
  background: #f2f4f8 !important;
}

/* Shell cards — crisp white surfaces */
html[data-shop-theme="light"] .shop-header-shell,
html[data-shop-theme="light"] .shop-footer-inner,
html[data-shop-theme="light"] .shop-master {
  border: 1px solid var(--sl-border);
  background: var(--sl-card-elevated);
  box-shadow: var(--sl-shadow-lg), var(--sl-inset);
}

html[data-shop-theme="light"] .shop-header-shell::before,
html[data-shop-theme="light"] .shop-footer-inner::before {
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.35), transparent);
}

html[data-shop-theme="light"] .shop-footer-glow {
  background: radial-gradient(ellipse at 70% 30%, rgba(148, 163, 184, 0.08), transparent 68%);
}

html[data-shop-theme="light"] .shop-master-glow {
  opacity: 0.45;
}

html[data-shop-theme="light"] .shop-master-visual {
  border-right-color: var(--sl-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(240, 243, 248, 0.4));
}

html[data-shop-theme="light"] .shop-master-inner {
  background: transparent;
}

/* Typography */
html[data-shop-theme="light"] .shop-header-brand-name,
html[data-shop-theme="light"] .shop-footer-title,
html[data-shop-theme="light"] .shop-master-title,
html[data-shop-theme="light"] .shop-svc-title,
html[data-shop-theme="light"] .shop-test-card h3 {
  color: var(--sl-text);
  background: none;
  -webkit-text-fill-color: var(--sl-text);
}

html[data-shop-theme="light"] .shop-header-brand-tag,
html[data-shop-theme="light"] .shop-footer-sub,
html[data-shop-theme="light"] .shop-master-desc,
html[data-shop-theme="light"] .shop-block-label {
  color: #475569;
  font-weight: 800;
  letter-spacing: 0.09em;
}

html[data-shop-theme="light"] .shop-master-meta--compact .shop-master-desc,
html[data-shop-theme="light"] .shop-version-dd-option-meta,
html[data-shop-theme="light"] .shop-test-card-desc,
html[data-shop-theme="light"] .shop-svc-desc,
html[data-shop-theme="light"] .shop-quota-hint {
  color: var(--sl-muted);
}

html[data-shop-theme="light"] .shop-master-features li,
html[data-shop-theme="light"] .shop-svc-facts li {
  color: var(--sl-text-soft);
}

html[data-shop-theme="light"] .shop-footer-kicker {
  color: var(--sl-accent-deep);
  border-color: rgba(99, 102, 241, 0.28);
  background: var(--sl-accent-soft);
}

html[data-shop-theme="light"] .shop-footer-title {
  background: linear-gradient(120deg, #1e293b 0%, #475569 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-shop-theme="light"] .shop-catalog-lead {
  color: var(--sl-text);
  border: 1px solid rgba(99, 102, 241, 0.18);
  background: #ffffff;
  box-shadow: var(--sl-shadow-sm);
  font-weight: 800;
}

html[data-shop-theme="light"] .shop-catalog-lead-sep {
  color: var(--sl-accent);
}

/* Header nav & tools */
html[data-shop-theme="light"] .shop-header-brand-mark {
  border-color: var(--sl-border);
  background: #f8fafc;
  box-shadow: var(--sl-inset);
}

html[data-shop-theme="light"] .shop-header-nav-item {
  border-color: var(--sl-border);
  background: #ffffff;
  color: var(--sl-text-soft);
  box-shadow: var(--sl-shadow-sm);
}

html[data-shop-theme="light"] .shop-header-nav-item:hover {
  color: var(--sl-text);
  border-color: var(--sl-border-strong);
  background: #f8fafc;
  box-shadow: var(--sl-shadow-sm);
}

html[data-shop-theme="light"] .shop-header-nav-item.is-active {
  color: var(--sl-text);
  border-color: var(--sl-border-strong);
  background: #eef1f5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1);
}

html[data-shop-theme="light"] .shop-header-nav-icon {
  background: rgba(226, 232, 240, 0.9);
}

html[data-shop-theme="light"] .shop-header-nav-item.is-active .shop-header-nav-icon {
  background: #e2e8f0;
}

html[data-shop-theme="light"] .shop-header-nav-icon .sf-icon,
html[data-shop-theme="light"] .shop-block-label .sf-icon {
  fill: var(--sl-muted);
  color: var(--sl-muted);
}

html[data-shop-theme="light"] .shop-header-nav-item.is-active .shop-header-nav-icon .sf-icon {
  fill: var(--sl-text);
  color: var(--sl-text);
}

html[data-shop-theme="light"] .shop-header-seg {
  border-color: var(--sl-border);
  background: rgba(255, 255, 255, 0.65);
}

html[data-shop-theme="light"] .shop-header-seg-btn {
  color: var(--sl-muted);
}

html[data-shop-theme="light"] .shop-header-seg-btn:hover {
  color: var(--sl-text-soft);
  background: rgba(255, 255, 255, 0.8);
}

html[data-shop-theme="light"] .shop-header-seg-btn.is-active {
  color: var(--sl-text);
  background: #ffffff;
  box-shadow: var(--sl-shadow-sm);
}

/* Version picker */
html[data-shop-theme="light"] .shop-version-hero {
  border-color: rgba(99, 102, 241, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 252, 0.9));
  box-shadow: var(--sl-shadow-sm), var(--sl-inset);
}

html[data-shop-theme="light"] .shop-version-hero-label,
html[data-shop-theme="light"] .shop-version-price-line {
  color: var(--sl-muted);
}

html[data-shop-theme="light"] .shop-version-dd-trigger {
  border-color: var(--sl-border-strong);
  background: var(--sl-card-elevated);
  color: var(--sl-text);
  box-shadow: var(--sl-shadow-sm);
}

html[data-shop-theme="light"] .shop-version-dd-menu {
  border-color: var(--sl-border-strong);
  background: var(--sl-card-elevated);
  box-shadow: var(--sl-shadow-lg);
}

html[data-shop-theme="light"] .shop-version-dd-option {
  color: var(--sl-text-soft);
}

html[data-shop-theme="light"] .shop-version-dd-option:hover,
html[data-shop-theme="light"] .shop-version-dd-option.is-selected {
  background: var(--sl-accent-soft);
  color: var(--sl-text);
}

html[data-shop-theme="light"] .shop-version-dd-option-title {
  color: var(--sl-text);
}

/* Pills, chips, MTK */
html[data-shop-theme="light"] .shop-pill {
  border-color: var(--sl-border);
  background: rgba(255, 255, 255, 0.75);
  color: var(--sl-text-soft);
}

html[data-shop-theme="light"] .shop-pill-accent {
  background: var(--sl-accent-soft);
  border-color: rgba(99, 102, 241, 0.25);
  color: var(--sl-accent-deep);
}

html[data-shop-theme="light"] .shop-mtk-block {
  border-color: var(--sl-border);
  background: rgba(255, 255, 255, 0.6);
}

html[data-shop-theme="light"] .shop-mtk-label {
  color: var(--sl-muted);
}

html[data-shop-theme="light"] .shop-chip {
  border-color: var(--sl-border);
  background: var(--sl-card-elevated);
  color: var(--sl-text-soft);
}

/* Downloads */
html[data-shop-theme="light"] .shop-dl-btn {
  border-color: var(--sl-border);
  background: var(--sl-card-elevated);
  color: var(--sl-text-soft);
  box-shadow: var(--sl-shadow-sm);
}

html[data-shop-theme="light"] .shop-dl-btn:hover {
  border-color: rgba(99, 102, 241, 0.35);
  background: var(--sl-accent-soft);
  color: var(--sl-accent-deep);
}

html[data-shop-theme="light"] .shop-dl-pass {
  background: rgba(241, 245, 249, 0.95);
  color: var(--sl-muted);
}

html[data-shop-theme="light"] .shop-dl-pass code {
  color: var(--sl-text);
  background: rgba(99, 102, 241, 0.08);
}

html[data-shop-theme="light"] .shop-divider {
  background: linear-gradient(90deg, transparent, var(--sl-border-strong), transparent);
}

/* Purchase */
html[data-shop-theme="light"] .shop-qty-label-text {
  color: var(--sl-text-soft);
}

html[data-shop-theme="light"] .shop-qty-btn {
  border-color: var(--sl-border);
  background: var(--sl-card-elevated);
  color: var(--sl-text);
}

html[data-shop-theme="light"] .shop-qty-btn:hover {
  border-color: rgba(99, 102, 241, 0.3);
  background: var(--sl-accent-soft);
}

html[data-shop-theme="light"] .shop-qty-val {
  color: var(--sl-text);
}

html[data-shop-theme="light"] .shop-price-main {
  color: var(--sl-accent-deep);
}

html[data-shop-theme="light"] .shop-price-old {
  color: var(--sl-muted-soft);
}

html[data-shop-theme="light"] .shop-price-usdt {
  border-color: rgba(34, 211, 238, 0.35);
  background: var(--sl-cyan-soft);
  color: #0e7490;
}

html[data-shop-theme="light"] .shop-quota-bar {
  border-color: rgba(99, 102, 241, 0.2);
  background: var(--sl-accent-soft);
  color: var(--sl-text-soft);
}

/* Previews */
html[data-shop-theme="light"] .shop-preview-btn {
  background: linear-gradient(145deg, #fff, #f1f5f9);
  box-shadow: var(--sl-shadow-sm);
}

html[data-shop-theme="light"] .shop-preview-btn::before {
  opacity: 0.45;
}

html[data-shop-theme="light"] .shop-preview-btn:hover {
  box-shadow: 0 12px 32px var(--sl-accent-glow);
}

html[data-shop-theme="light"] .shop-preview-shot {
  background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
}

html[data-shop-theme="light"] .shop-preview-zoom {
  background: rgba(30, 41, 59, 0.55);
}

/* Footer cards — keep brand tints */
html[data-shop-theme="light"] .shop-footer-card {
  border-color: var(--sl-border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--sl-shadow-sm);
}

html[data-shop-theme="light"] .shop-footer-card-label {
  color: var(--sl-muted-soft);
}

html[data-shop-theme="light"] .shop-footer-card-arrow {
  color: var(--sl-muted-soft);
}

html[data-shop-theme="light"] .shop-footer-card--tg { color: #0369a1; }
html[data-shop-theme="light"] .shop-footer-card--bot { color: var(--sl-accent-deep); }
html[data-shop-theme="light"] .shop-footer-card--yt { color: #b91c1c; }
html[data-shop-theme="light"] .shop-footer-card--rt { color: #c2410c; }

html[data-shop-theme="light"] .shop-footer-card-icon {
  border-color: var(--sl-border);
}

/* Service / test panels */
html[data-shop-theme="light"] .shop-service-banner {
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(254, 243, 199, 0.85);
  color: #92400e;
}

html[data-shop-theme="light"] .shop-svc-card,
html[data-shop-theme="light"] .shop-test-card {
  border-color: var(--sl-border);
  background: linear-gradient(158deg, var(--sl-card-elevated), var(--sl-surface));
  box-shadow: var(--sl-shadow);
}

html[data-shop-theme="light"] .shop-svc-card-hero,
html[data-shop-theme="light"] .shop-svc-card-hero--amt {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

html[data-shop-theme="light"] .shop-svc-badge,
html[data-shop-theme="light"] .shop-test-card-badge {
  color: #92400e;
  background: rgba(254, 243, 199, 0.9);
  border-color: rgba(217, 119, 6, 0.3);
}

html[data-shop-theme="light"] .shop-svc-field span {
  color: var(--sl-muted);
}

html[data-shop-theme="light"] .shop-svc-field input,
html[data-shop-theme="light"] .shop-test-card input {
  border-color: var(--sl-border-strong);
  background: var(--sl-card-elevated);
  color: var(--sl-text);
}

html[data-shop-theme="light"] .shop-svc-term {
  border-color: var(--sl-border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--sl-text-soft);
}

html[data-shop-theme="light"] .shop-svc-term.is-active {
  border-color: rgba(99, 102, 241, 0.35);
  background: var(--sl-accent-soft);
  color: var(--sl-accent-deep);
}

html[data-shop-theme="light"] .shop-svc-dl {
  color: var(--sl-accent-deep);
}

/* Generator / forms */
html[data-shop-theme="light"] .gen-card-inline,
html[data-shop-theme="light"] .gen-card {
  border-color: var(--sl-border);
  background: rgba(255, 255, 255, 0.75);
}

html[data-shop-theme="light"] .field label,
html[data-shop-theme="light"] .output-label {
  color: var(--sl-muted);
}

html[data-shop-theme="light"] .field input,
html[data-shop-theme="light"] .field textarea,
html[data-shop-theme="light"] .gen-card input,
html[data-shop-theme="light"] .gen-card textarea {
  border-color: var(--sl-border-strong);
  background: var(--sl-card-elevated);
  color: var(--sl-text);
}

html[data-shop-theme="light"] .link-btn {
  color: var(--sl-accent);
}

html[data-shop-theme="light"] .output-text {
  background: rgba(241, 245, 249, 0.95);
  color: var(--sl-text);
  border-color: var(--sl-border);
}

html[data-shop-theme="light"] .tag {
  background: var(--sl-accent-soft);
  color: var(--sl-accent-deep);
  border-color: rgba(99, 102, 241, 0.2);
}

html[data-shop-theme="light"] .tag-cyan {
  background: var(--sl-cyan-soft);
  color: #0e7490;
}

html[data-shop-theme="light"] .tag-green {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

/* Guest */
html[data-shop-theme="light"] .guest-topbar,
html[data-shop-theme="light"] .guest-banner {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--sl-border);
  color: var(--sl-text-soft);
}

html[data-shop-theme="light"] .guest-support-btn {
  background: var(--sl-card-elevated);
  color: var(--sl-accent-deep);
  border-color: var(--sl-border);
}

/* Misc */
html[data-shop-theme="light"] .shop-toast {
  background: var(--sl-card-elevated);
  color: var(--sl-text);
  border-color: rgba(99, 102, 241, 0.28);
  box-shadow: var(--sl-shadow-lg);
}

html[data-shop-theme="light"] .shop-legal-nav a {
  color: var(--sl-muted);
}

html[data-shop-theme="light"] .shop-legal-nav a:hover {
  color: var(--sl-text);
}

html[data-shop-theme="light"] .shop-legal-sep {
  color: var(--sl-muted-soft);
}

html[data-shop-theme="light"] .sf-icon {
  fill: currentColor;
}

html[data-shop-theme="light"] .shop-lightbox-backdrop {
  background: rgba(226, 232, 240, 0.88);
}

html[data-shop-theme="light"] .shop-lb-onimg {
  background: rgba(255, 255, 255, 0.92);
  color: var(--sl-text);
  border-color: var(--sl-border);
}

html[data-shop-theme="light"] .shop-lightbox-caption,
html[data-shop-theme="light"] .shop-lightbox-counter {
  color: var(--sl-text-soft);
}

/* Features, version UI, panels */
html[data-shop-theme="light"] .shop-master-features li {
  color: var(--sl-text-soft);
}

html[data-shop-theme="light"] .shop-master-features .sf-icon {
  fill: #059669;
  color: #059669;
}

html[data-shop-theme="light"] .shop-version-dd-value,
html[data-shop-theme="light"] .shop-version-dd-chevron {
  color: var(--sl-text);
}

html[data-shop-theme="light"] .shop-version-dd-chevron {
  border-color: var(--sl-muted-soft);
}

html[data-shop-theme="light"] .shop-version-dd-menu::-webkit-scrollbar-track {
  background: #f1f5f9;
}

html[data-shop-theme="light"] .shop-version-dd-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}

html[data-shop-theme="light"] .shop-test-note {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

html[data-shop-theme="light"] .shop-service-wrap,
html[data-shop-theme="light"] .shop-unified-wrap {
  background: transparent;
}

/* style.css buttons & alerts on shop */
html[data-shop-theme="light"] .shop-page .btn-primary {
  color: #fff;
  border-color: rgba(67, 56, 202, 0.35);
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 55%, #4338ca 100%);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}

html[data-shop-theme="light"] .shop-page .btn-secondary {
  color: var(--sl-text);
  border: 1px solid var(--sl-border-strong);
  background: var(--sl-surface);
}

html[data-shop-theme="light"] .shop-page .btn-secondary:hover:not(:disabled) {
  border-color: rgba(99, 102, 241, 0.35);
  background: var(--sl-accent-soft);
  color: var(--sl-accent-deep);
}

html[data-shop-theme="light"] .shop-page .alert-ok {
  background: var(--sl-success-soft);
  border-color: rgba(5, 150, 105, 0.28);
  color: #047857;
}

html[data-shop-theme="light"] .shop-page .alert-err {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.22);
  color: #b91c1c;
}

html[data-shop-theme="light"] .shop-page .alert-warn {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.25);
  color: #92400e;
}

html[data-shop-theme="light"] .shop-page .gen-head h2 {
  color: var(--sl-text);
}

html[data-shop-theme="light"] .shop-page .field input::placeholder,
html[data-shop-theme="light"] .shop-page .field textarea::placeholder {
  color: #94a3b8;
}

html[data-shop-theme="light"] .shop-footer-card:hover {
  border-color: rgba(99, 102, 241, 0.28);
  background: #ffffff;
  box-shadow: var(--sl-shadow);
}

html[data-shop-theme="light"] .shop-dl-btn,
html[data-shop-theme="light"] .shop-footer-card {
  background: #ffffff;
}

html[data-shop-theme="light"] .shop-mtk-block {
  background: #f8fafc;
  border: 1px solid var(--sl-border);
  border-radius: 14px;
  padding: 12px;
}

html[data-shop-theme="light"] .shop-chip:hover,
html[data-shop-theme="light"] .shop-chip.is-active {
  border-color: rgba(99, 102, 241, 0.4);
  background: var(--sl-accent-soft);
  color: var(--sl-accent-deep);
}

.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(99, 102, 241, 0.14), rgba(34, 211, 238, 0.06));
  box-shadow: 0 8px 32px rgba(99, 102, 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(34, 211, 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(99, 102, 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, #f8fafc 0%, #e8edf5 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(12, 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(15, 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(99, 102, 241, 0.25),
    0 8px 32px rgba(99, 102, 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(12, 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(99, 102, 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(129, 140, 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(99, 102, 241, 0.18);
}

.shop-version-dd-option.is-selected {
  background: rgba(99, 102, 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(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 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(26, 35, 58, 0.45), rgba(8, 10, 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: #fde68a;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 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(26, 35, 58, 0.55), rgba(8, 10, 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, #0f172a, #1e1b4b);
}

.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(8, 10, 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, #0c1222 0%, #1a2744 50%, #0f172a 100%);
}

.shop-svc-card--amt .shop-svc-card-hero {
  background: linear-gradient(145deg, #0a1628 0%, #134e4a 40%, #0f172a 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: #fde68a;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 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(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
  color: #a5f3fc;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.shop-svc-dl:hover {
  background: rgba(34, 211, 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(99, 102, 241, 0.25);
  box-shadow: 0 4px 16px rgba(99, 102, 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(99, 102, 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(2, 4, 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, #f8fafc, #e8edf5);
  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(15, 18, 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(99, 102, 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(4, 6, 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: #f59e0b; --dhru-accent-soft: rgba(245, 158, 11, 0.14); }
.shop-dhru-panel[data-dhru-cat="imei"] { --dhru-accent: #60a5fa; --dhru-accent-soft: rgba(96, 165, 250, 0.14); }
.shop-dhru-panel[data-dhru-cat="server"] { --dhru-accent: #34d399; --dhru-accent-soft: rgba(52, 211, 153, 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(7, 7, 15, 0.97) 0%, rgba(7, 7, 15, 0.88) 80%, transparent 100%);
  backdrop-filter: blur(12px);
}
html[data-shop-theme="light"] .shop-dhru-toolbar {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.9) 80%, transparent 100%);
}
.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(12, 14, 26, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
html[data-shop-theme="light"] .shop-dhru-search-wrap {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.1);
}
.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(12, 14, 26, 0.85);
  color: inherit;
  font-size: 14px;
  min-width: 148px;
}
html[data-shop-theme="light"] .shop-dhru-sort {
  background: #fff;
}
.shop-dhru-meta {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--dhru-accent, #a5b4fc);
}
.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, #818cf8);
  background: var(--dhru-accent-soft, rgba(129, 140, 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(129, 140, 248, 0.2));
  color: var(--dhru-accent, #c7d2fe);
}

.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);
}
html[data-shop-theme="light"] .shop-dhru-section-head {
  border-bottom-color: rgba(15, 23, 42, 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, #818cf8);
  box-shadow: 0 0 12px var(--dhru-accent, #818cf8);
  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(129, 140, 248, 0.15));
  color: var(--dhru-accent, #c7d2fe);
}

.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(18, 20, 34, 0.95) 0%, rgba(10, 12, 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;
}
html[data-shop-theme="light"] .shop-dhru-card {
  background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.shop-dhru-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--dhru-accent, #818cf8) 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, #818cf8);
  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(203, 213, 225, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html[data-shop-theme="light"] .shop-dhru-card-desc { color: #475569; }
.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: #f8fafc;
}
.shop-dhru-card-rub small {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.7;
}
html[data-shop-theme="light"] .shop-dhru-card-rub { color: #0f172a; }
.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, #6366f1) 0%, color-mix(in srgb, var(--dhru-accent) 70%, #312e81) 100%);
  color: #0f172a;
  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-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, #a5b4fc);
  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(6, 8, 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: 90vh;
  overflow: auto;
  padding: 0;
  border-radius: 22px 22px 0 0;
  background: rgba(18, 20, 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;
  }
}
html[data-shop-theme="light"] .shop-dhru-modal-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.08);
}
.shop-dhru-modal-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--dhru-accent, #818cf8), 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(248, 250, 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;
}
html[data-shop-theme="light"] .shop-dhru-modal-close {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.55);
}
.shop-dhru-modal-head {
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
html[data-shop-theme="light"] .shop-dhru-modal-head {
  border-bottom-color: rgba(15, 23, 42, 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(165, 180, 252, 0.85);
}
.shop-dhru-modal-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(248, 250, 252, 0.95);
  padding-right: 40px;
}
html[data-shop-theme="light"] .shop-dhru-modal-title { color: #0f172a; }
.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: #f8fafc;
  line-height: 1;
}
.shop-dhru-modal-rub small {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.55;
}
html[data-shop-theme="light"] .shop-dhru-modal-rub { color: #0f172a; }
.shop-dhru-modal-price-sub {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.9);
}
.shop-dhru-modal-body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.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(148, 163, 184, 0.95);
}
.shop-dhru-field-label em {
  font-style: normal;
  color: rgba(251, 191, 36, 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(8, 10, 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(148, 163, 184, 0.45);
}
.shop-dhru-input:focus {
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
html[data-shop-theme="light"] .shop-dhru-input {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
}
.shop-dhru-modal-hint {
  margin: 0;
  font-size: 13px;
  color: rgba(148, 163, 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(148, 163, 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(129, 140, 248, 0.35);
  background: rgba(99, 102, 241, 0.1);
}
.shop-dhru-pay-btn--usdt:hover:not(:disabled) {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(16, 185, 129, 0.08);
}
html[data-shop-theme="light"] .shop-dhru-pay-btn {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 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(99, 102, 241, 0.15);
  border-color: rgba(129, 140, 248, 0.2);
}
.shop-dhru-pay-btn--usdt .shop-dhru-pay-icon {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(52, 211, 153, 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(248, 250, 252, 0.92);
}
html[data-shop-theme="light"] .shop-dhru-pay-name { color: #0f172a; }
.shop-dhru-pay-amount {
  font-size: 13px;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.95);
}
.shop-dhru-modal-result {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  font-size: 13px;
  line-height: 1.45;
  color: rgba(187, 247, 208, 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(124, 92, 255, 0.4);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.28), rgba(59, 130, 246, 0.14));
  color: #e9e5ff;
  white-space: nowrap;
}
html[data-shop-theme="light"] .shop-header-account-btn { color: #312e81; }
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(4, 6, 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(22, 24, 40, 0.98) 0%, rgba(10, 11, 20, 0.98) 100%);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(124, 92, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
html[data-shop-theme="light"] .shop-account-modal-card {
  background: linear-gradient(165deg, #fff 0%, #f4f6fb 100%);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}
.shop-account-modal-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, #7c5cff, #3b82f6, #22d3ee);
}
.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);
}
html[data-shop-theme="light"] .shop-account-tabs { background: rgba(15, 23, 42, 0.05); }
.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(124, 92, 255, 0.35), rgba(59, 130, 246, 0.2));
  color: #f8fafc;
  box-shadow: 0 4px 14px rgba(124, 92, 255, 0.25);
}
html[data-shop-theme="light"] .shop-account-tab.is-active { color: #1e1b4b; }
.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;
}
html[data-shop-theme="light"] .shop-account-form input {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.1);
}
.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(124, 92, 255, 0.08);
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.shop-account-help-toggle.is-open {
  border-color: rgba(124, 92, 255, 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(124, 92, 255, 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: #0f111a;
  padding: 18px 20px;
}
html[data-shop-theme="light"] .shop-order-modal-card { background: #fff; }
.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(59, 130, 246, 0.15); color: #93c5fd; }
.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(34, 197, 94, 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);
}
html[data-shop-theme="light"] .shop-dhru-modal-desc-block {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 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(226, 232, 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; }
html[data-shop-theme="light"] .shop-dhru-modal-info-rich { color: #334155; }
.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(124, 92, 255, 0.2);
  background: rgba(124, 92, 255, 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(52, 211, 153, 0.4);
  background: linear-gradient(145deg, rgba(6, 78, 59, 0.5) 0%, rgba(15, 23, 42, 0.88) 55%, rgba(124, 92, 255, 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(110, 231, 183, 0.55);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.18);
}
.shop-header-balance-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(167, 243, 208, 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: #6ee7b7;
}
.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;
}
html[data-shop-theme="light"] .shop-header-balance {
  background: linear-gradient(145deg, #ecfdf5 0%, #f8fafc 60%, #f5f3ff 100%);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.12);
}
html[data-shop-theme="light"] .shop-header-balance-label { color: #047857; }
html[data-shop-theme="light"] .shop-header-balance-usdt { color: #047857; }
html[data-shop-theme="light"] .shop-header-balance-rub { color: #6d28d9; }

.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, #7c5cff, #3b82f6);
  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(124, 92, 255, 0.28);
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.14), rgba(15, 23, 42, 0.4));
}
html[data-shop-theme="light"] .shop-cabinet-balance-card {
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.08), #f8fafc);
  border-color: rgba(91, 33, 182, 0.15);
}
.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);
}
html[data-shop-theme="light"] .shop-cabinet-nav { background: rgba(15, 23, 42, 0.05); }
.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(124, 92, 255, 0.35), rgba(59, 130, 246, 0.2));
  box-shadow: 0 4px 14px rgba(124, 92, 255, 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(124, 92, 255, 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: #86efac; }
.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: #fffbeb;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 42%, #b45309 100%);
  border-color: rgba(253, 224, 71, 0.55);
  box-shadow:
    0 10px 32px rgba(245, 158, 11, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
.shop-pay-btn--balance:hover:not(:disabled) {
  border-color: rgba(254, 240, 138, 0.75);
  box-shadow:
    0 14px 40px rgba(245, 158, 11, 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: #fef08a;
  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-dhru-pay-btn--balance {
  color: #fffbeb;
  border-color: rgba(253, 224, 71, 0.5);
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 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; }
}
