@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

/* ================================================================
   VoidGalaxy — clean, responsive Tebex theme
   ================================================================ */
:root {
  --color-primary: #8b5cf6;
  --color-primary-hover: #a78bfa;
  --color-primary-text: #ffffff;
  --color-primary-text-hover: #ffffff;
  --bg-image: url("https://images.unsplash.com/photo-1614730321146-b6fa6a46bcb4?q=80&w=2000&auto=format&fit=crop");

  --bg: #070a12;
  --surface: rgba(13, 18, 32, 0.86);
  --surface-strong: rgba(17, 24, 39, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(139, 92, 246, 0.42);
  --text: #f8fafc;
  --muted: #aab4c5;
  --muted-2: #768196;
  --danger: #ef4444;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --container: 1420px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 0; overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  font-family: Inter, Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 12%, rgba(139, 92, 246, 0.24), transparent 34%),
    radial-gradient(circle at 82% 28%, rgba(14, 165, 233, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(7, 10, 18, 0.72), rgba(7, 10, 18, 0.94)),
    var(--bg-image) center/cover no-repeat;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent 72%);
  pointer-events: none;
}

img, svg, video, iframe { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; min-width: 0; }

/* ================================================================
   Header + topbar
   ================================================================ */
.site-header,
.site-header-inner {
  width: 100%;
}

.site-header-inner {
  height: auto !important;
  min-height: 0 !important;
  padding: 64px 0 24px !important;
}

.vg-topbar {
  position: fixed;
  top: 14px;
  right: 28px;
  z-index: 9999;
  max-width: calc(100vw - 56px);
}

.vg-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.vg-topbar-user,
.vg-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  min-width: 0;
  padding: 8px 13px;
  color: var(--text) !important;
  text-decoration: none !important;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(7, 10, 18, 0.78);
  box-shadow: 0 10px 30px rgba(0,0,0,0.26);
  backdrop-filter: blur(14px);
}

.vg-cart-btn {
  position: relative;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.vg-cart-btn:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: rgba(139, 92, 246, 0.15);
  box-shadow: 0 14px 38px rgba(139, 92, 246, 0.18);
}

.vg-topbar-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  image-rendering: pixelated;
  flex: 0 0 auto;
}

.vg-topbar-name {
  min-width: 0;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
}

.vg-cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), #06b6d4);
  box-shadow: 0 0 0 3px rgba(7,10,18,.9), 0 8px 18px rgba(139,92,246,.35);
  font-size: 11px;
  font-weight: 900;
}

.vg-header-container {
  width: min(calc(100% - 32px), var(--container)) !important;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: clamp(22px, 5vw, 76px);
}

.vg-logo {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.vg-logo img {
  display: block;
  width: auto;
  max-width: min(280px, 42vw);
  max-height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 22px 42px rgba(0,0,0,.45));
  transition: transform .25s ease, filter .25s ease;
}

.vg-logo img:hover { transform: translateY(-2px) scale(1.03); }

.vg-widget {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--text) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .18s ease;
}

.vg-widget:hover { transform: translateY(-2px); }
.vg-widget:first-child { justify-self: end; }
.vg-widget.discord-link, .vg-widget.vg-right { justify-self: start; }

.vg-widget-text {
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  max-width: 240px;
}

.vg-left { text-align: right; align-items: flex-end; }
.vg-right { text-align: left; align-items: flex-start; }

.vg-title {
  color: var(--color-primary-hover) !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.vg-subtitle {
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vg-icon-box {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), #6d28d9);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 16px 40px rgba(139,92,246,.28);
}
.vg-circle { border-radius: 50%; }
.vg-bubble { border-radius: 18px 18px 18px 6px; }
.vg-glow-bar { display: none; }

/* ================================================================
   Layout
   ================================================================ */
.site-content {
  width: min(calc(100% - 32px), var(--container)) !important;
  margin: 26px auto 56px !important;
  min-width: 0;
}

.site-content-widgets {
  display: grid !important;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.site-content-widgets > main,
.site-content-widgets > .vg-main,
.site-content-widgets > .store-products {
  grid-column: 2;
  min-width: 0;
  width: 100%;
}

aside.site-widgets {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vg-main,
.store-products,
.store-quote,
.basket {
  min-width: 0;
  width: 100%;
}

.vg-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ================================================================
   Cards / text sections
   ================================================================ */
.vg-cat-section,
.store-text,
.category-description,
.text-content,
.vg-payment-info,
.basket,
.store-quote {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.vg-cat-section,
.store-text,
.category-description,
.text-content,
.vg-payment-info { padding: clamp(20px, 3vw, 30px); }

.text-content,
.store-text,
.category-description {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.text-content h1, .text-content h2, .text-content h3,
.store-text h1, .store-text h2, .store-text h3,
.category-description h1, .category-description h2, .category-description h3 {
  color: var(--text) !important;
  margin-top: 0;
  line-height: 1.15;
}

.text-content p:last-child,
.store-text p:last-child,
.category-description p:last-child { margin-bottom: 0; }

.vg-section-label {
  margin: 0 0 18px;
  padding: 0 0 14px;
  color: var(--text) !important;
  border-bottom: 1px solid var(--border);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.vg-cat-showcase,
.vg-features-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)) !important;
  gap: 16px;
  width: 100%;
}

.vg-cat-card,
.vg-feature-box {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.vg-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 162px;
  padding: 24px 16px;
  color: var(--text) !important;
  text-align: center;
  text-decoration: none !important;
}

.vg-cat-card:hover,
.vg-feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(139,92,246,.18), rgba(255,255,255,.035));
  box-shadow: 0 18px 48px rgba(0,0,0,.28), 0 0 32px rgba(139,92,246,.12);
}

.vg-cat-icon-default {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: rgba(139, 92, 246, .12);
  font-size: 36px;
  line-height: 1;
}

.vg-cat-img { width: 76px; height: 76px; object-fit: contain; }
.vg-cat-name {
  width: 100%;
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.vg-feature-box {
  padding: 24px 18px;
  text-align: center;
  background: linear-gradient(180deg, rgba(17,24,39,.94), rgba(13,18,32,.90)) !important;
  border-color: var(--border) !important;
  box-shadow: 0 16px 46px rgba(0,0,0,.32);
  backdrop-filter: blur(16px);
}
.vg-feat-icon { display: block; margin-bottom: 12px; font-size: 34px; line-height: 1; }
.vg-feature-box h4 {
  margin: 0 0 8px;
  color: var(--text) !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vg-feature-box p { margin: 0; color: var(--muted); font-size: 13px; }

.vg-payment-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--muted);
}
.vg-payment-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(139,92,246,.14);
  font-size: 22px;
}
.vg-payment-text strong { color: var(--text); }
.vg-discord-link { color: var(--color-primary-hover) !important; font-weight: 800; }

/* ================================================================
   Sidebar / navigation
   ================================================================ */
.site-widgets .widget {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 18px !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--surface) !important;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.site-widgets .widget h3,
.site-widgets .widget .widget-title,
.site-widgets .widget-title {
  margin: 0 0 14px !important;
  color: var(--text) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.vg-sidebar-login {
  display: flex;
  align-items: center;
  gap: 14px;
}
.vg-avatar {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  image-rendering: pixelated;
  box-shadow: 0 12px 28px rgba(0,0,0,.32);
}
.vg-user-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 7px; }
.vg-username { color: var(--text); font-size: 15px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vg-sidebar-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.vg-btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--color-primary), #6d28d9);
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}
.vg-btn-small:hover { filter: brightness(1.08); }
.vg-btn-danger { background: rgba(239,68,68,.14) !important; border-color: rgba(239,68,68,.35) !important; color: #fecaca !important; }

/* Tebex goal / monthly meta widget */
.site-widgets .widget-goal,
.site-widgets .widget-community-goal {
  color: var(--text) !important;
}

.site-widgets .widget-goal .widget-content,
.site-widgets .widget-community-goal .widget-content {
  text-align: left !important;
}

.site-widgets .widget-goal p,
.site-widgets .widget-community-goal p {
  color: var(--muted) !important;
  font-size: 13px;
  line-height: 1.5;
}

.site-widgets .widget-goal .progress,
.site-widgets .widget-community-goal .progress {
  height: 12px !important;
  margin: 14px 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--border) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.07) !important;
  box-shadow: inset 0 1px 4px rgba(0,0,0,.28);
}

.site-widgets .widget-goal .progress-bar,
.site-widgets .widget-community-goal .progress-bar {
  height: 100% !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, var(--color-primary), #06b6d4) !important;
  box-shadow: 0 0 18px rgba(139,92,246,.32);
  animation: none !important;
}

.site-widgets .widget-goal .progress-bar.striped,
.site-widgets .widget-community-goal .progress-bar.striped {
  background: linear-gradient(90deg, var(--color-primary), #06b6d4) !important;
}

.site-widgets .widget.site-navigation {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.site-navigation ul,
.navigation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-navigation .navigation-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-navigation .navigation-list li { min-width: 0; position: relative; }
.site-navigation .navigation-list a {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--muted) !important;
  background: rgba(13,18,32,.72);
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}

.site-navigation .navigation-list a:hover,
.site-navigation .navigation-list li.active > a,
.site-navigation .navigation-list a.link-active {
  color: #fff !important;
  border-color: var(--border-strong);
  background: linear-gradient(135deg, rgba(139,92,246,.28), rgba(14,165,233,.10));
  transform: translateX(3px);
}

.site-navigation .navigation-list ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 0 14px;
}
.site-navigation .navigation-list ul a { padding: 10px 12px; font-size: 13px; }
.site-navigation .toggle,
.site-navigation .close-navigation { display: none !important; }

@media (min-width: 851px) {
  .site-header-inner > .site-navigation { display: none !important; }
}

/* ================================================================
   Products
   ================================================================ */
.vg-main > .site-home-categories { display: none !important; }

.store-products > [class^="store-products-"] {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr));
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.package,
.store-product {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  padding: 16px !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  color: var(--text);
  background: var(--surface) !important;
  box-shadow: 0 16px 46px rgba(0,0,0,.28);
  backdrop-filter: blur(16px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.package:hover,
.store-product:hover {
  transform: translateY(-4px) !important;
  border-color: var(--border-strong) !important;
  background: var(--surface-strong) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.34), 0 0 36px rgba(139,92,246,.13) !important;
}

.package-image,
.store-product-image,
.image {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 150px;
  margin: 0 0 14px !important;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}

.package-image img,
.store-product-image img,
.image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.package .name,
.package .title,
.store-product .name,
.store-product .title,
.package h3,
.package h4,
.store-product h3,
.store-product h4 {
  width: 100%;
  min-width: 0;
  margin: 0 0 8px !important;
  color: var(--text) !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.package .price,
.store-product .price {
  margin: 8px 0 14px;
  color: var(--color-primary-hover) !important;
  font-weight: 900;
}

.btn,
.btn-primary,
.btn-secondary,
.btn-tertiary,
.package .btn,
.store-product .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 42px;
  padding: 11px 16px !important;
  border-radius: 12px !important;
  border: 1px solid transparent !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .04em;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.btn-primary,
.package .btn,
.store-product .btn,
.drawer .btn {
  color: var(--color-primary-text) !important;
  background: linear-gradient(135deg, var(--color-primary), #6d28d9) !important;
  box-shadow: 0 12px 28px rgba(139,92,246,.24) !important;
}

.btn-secondary,
.btn-tertiary {
  color: var(--text) !important;
  background: rgba(255,255,255,.07) !important;
  border-color: var(--border) !important;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-tertiary:hover,
.package .btn:hover,
.store-product .btn:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.08);
}

.package .btn,
.store-product .btn { width: 100% !important; margin-top: auto !important; }

.no-products,
.basket-empty,
.empty-basket,
.message-info {
  width: min(100%, 680px);
  margin: 40px auto !important;
  padding: 42px 24px !important;
  border: 1px dashed var(--border-strong) !important;
  border-radius: var(--radius) !important;
  color: var(--muted) !important;
  background: var(--surface) !important;
  text-align: center !important;
  font-size: 16px !important;
  box-shadow: var(--shadow);
}

/* ================================================================
   Basket / forms / drawer
   ================================================================ */
.basket,
.store-quote {
  width: min(100%, 980px);
  margin-inline: auto;
  padding: clamp(18px, 3vw, 30px);
}

.basket-header,
.basket-second-header,
.basket-checkout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.basket-title,
.basket-checkout h3 { margin: 0; color: var(--text); font-weight: 900; }
.basket-second-header { margin: 16px 0; padding: 14px 0; border-block: 1px solid var(--border); color: var(--muted); }
.basket-items { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.basket-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}
.basket-item .info { min-width: 0; }
.basket-item .title { margin: 0 0 6px; overflow-wrap: anywhere; }
.basket-item .title a { color: var(--text); text-decoration: none; }
.basket-item .options { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.quantity-field { display: inline-flex; align-items: center; gap: 6px; }
.quantity-field .quantity {
  width: 58px;
  min-height: 38px;
  color: var(--text) !important;
  text-align: center;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,.06) !important;
}
.basket-checkout { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.basket-checkout .checkout { min-width: min(100%, 240px); }

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  max-width: 100%;
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  outline: none !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--border-strong) !important;
  box-shadow: 0 0 0 4px rgba(139,92,246,.15) !important;
}

.drawer,
.layout-drawer,
.drawer-right,
.drawer-left {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(94vw, 480px) !important;
  max-height: min(86vh, 720px) !important;
  overflow: auto !important;
  margin: 0 !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 22px !important;
  background: rgba(10, 14, 25, 0.97) !important;
  box-shadow: 0 30px 100px rgba(0,0,0,.62), 0 0 70px rgba(139,92,246,.18) !important;
  z-index: 100000 !important;
}

.drawer-inner,
.drawer-content {
  width: 100% !important;
  min-width: 0;
  padding: 28px !important;
}
.drawer-header { width: 100%; margin: 0 0 18px !important; border: 0 !important; text-align: center !important; }
.drawer-title { margin: 0; color: var(--text) !important; font-size: 20px !important; font-weight: 900 !important; text-transform: uppercase; }
.drawer form { display: flex; flex-direction: column; gap: 12px; width: 100%; min-width: 0; }
.drawer-close { position: absolute !important; top: 14px !important; right: 14px !important; color: var(--muted) !important; background: transparent !important; border: 0 !important; cursor: pointer; }

.vg-cart-profile {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}
.vg-cart-profile img { width: 48px; height: 48px; border-radius: 12px; image-rendering: pixelated; }
.vg-cart-profile-info { min-width: 0; display: flex; flex-direction: column; }
.vg-cart-name { font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vg-cart-logout { color: var(--muted); font-size: 12px; font-weight: 800; text-decoration: none; }

/* ================================================================
   Footer
   ================================================================ */
.site-footer { width: min(calc(100% - 32px), var(--container)); margin: 0 auto 34px; color: var(--muted); }
.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(7,10,18,.48);
  backdrop-filter: blur(12px);
}
.we-accept { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.we-accept img { display: block; height: 22px; width: auto; opacity: .85; }
.copyright { margin: 0; font-size: 13px; }

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 900px) {
  .vg-header-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .vg-logo { order: -1; }
  .vg-widget,
  .vg-widget:first-child,
  .vg-widget.discord-link,
  .vg-widget.vg-right {
    justify-self: center;
  }
  .vg-left,
  .vg-right { text-align: center; align-items: center; }
  .site-content-widgets {
    grid-template-columns: 1fr;
  }
  .site-content-widgets > main,
  .site-content-widgets > .vg-main,
  .site-content-widgets > .store-products,
  aside.site-widgets {
    grid-column: 1;
    grid-row: auto;
  }
  aside.site-widgets { order: 2; }
}

@media (max-width: 640px) {
  .site-header-inner { padding-top: 76px !important; }
  .vg-topbar {
    left: 12px;
    right: 12px;
    top: 10px;
    max-width: calc(100vw - 24px);
  }
  .vg-topbar-inner { justify-content: center; flex-wrap: wrap; }
  .vg-topbar-user,
  .vg-cart-btn { min-height: 36px; padding: 7px 11px; font-size: 12px; }
  .vg-topbar-name { max-width: 110px; }
  .vg-logo img { max-height: 130px; max-width: 78vw; }
  .vg-widget { width: 100%; justify-content: center; }
  .vg-icon-box { width: 50px; height: 50px; }
  .vg-payment-info { flex-direction: column; }
  .basket-header,
  .basket-second-header,
  .basket-checkout { align-items: stretch; flex-direction: column; }
  .basket-item { grid-template-columns: 1fr; align-items: stretch; }
  .quantity-field { justify-content: center; }
  .basket-checkout .checkout { width: 100%; }
  .site-footer-inner { flex-direction: column; text-align: center; }
}

/* ================================================================
   Final overrides for Tebex shared.css specificity
   ================================================================ */
.site-widgets .site-navigation,
.site-widgets .site-navigation.widget {
  width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.site-widgets .site-navigation .menu,
.site-widgets .site-navigation.navigation-horizontal .menu,
.site-widgets .site-navigation.navigation-vertical .menu {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  line-height: 1.2 !important;
}

.site-widgets .site-navigation .menu > li,
.site-widgets .site-navigation .navigation-list > li {
  display: block !important;
  width: 100% !important;
}

.site-widgets .site-navigation .menu a,
.site-widgets .site-navigation.navigation-horizontal > ul > li > a,
.site-widgets .site-navigation.navigation-vertical a {
  width: 100% !important;
  max-width: none !important;
  padding: 13px 15px !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  color: var(--muted) !important;
  background: rgba(13,18,32,.72) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.site-widgets .site-navigation .menu a:hover,
.site-widgets .site-navigation .menu a.link-active,
.site-widgets .site-navigation .menu li.active > a {
  color: #fff !important;
  border-color: var(--border-strong) !important;
  background: linear-gradient(135deg, rgba(139,92,246,.28), rgba(14,165,233,.10)) !important;
}

.store-product .image,
.store-product-image,
.package-image,
.image {
  min-height: 0 !important;
  aspect-ratio: auto !important;
  background: transparent !important;
}

.store-product .image img,
.store-product-image img,
.package-image img,
.image img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 190px !important;
  object-fit: contain !important;
}

.site-content .basket {
  display: block !important;
}

.basket .basket-header,
.basket .basket-second-header,
.basket .basket-content,
.basket .basket-checkout {
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
}

.basket .basket-header {
  padding-top: 0 !important;
  padding-bottom: 16px !important;
}

.basket .basket-second-header {
  margin: 0 0 16px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  border-block: 1px solid var(--border) !important;
  color: var(--muted) !important;
}

.basket .basket-second-header .count,
.basket .basket-second-header .total,
.basket .basket-second-header .total strong,
.basket .basket-checkout .total,
.basket .basket-checkout .total strong {
  color: var(--text) !important;
}

.basket .basket-items {
  padding: 0 !important;
}

.basket .basket-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  background: rgba(255,255,255,.045) !important;
}

.basket .basket-checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 16px !important;
  align-items: center !important;
  margin-top: 18px !important;
  padding-top: 18px !important;
  padding-bottom: 0 !important;
  border-top: 1px solid var(--border) !important;
}

.basket .basket-checkout h3 {
  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
}

.basket .basket-checkout .checkout {
  width: auto !important;
  min-width: 240px !important;
}

.quantity-field,
.store-product .quantity-field,
.package .quantity-field,
.basket .basket-item .quantity-field {
  --btn-size: 42px;
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 44px !important;
  overflow: hidden !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.06) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.quantity-field input[type="number"],
.quantity-field .quantity {
  flex: 0 0 54px !important;
  width: 54px !important;
  min-width: 54px !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-inline: 1px solid var(--border) !important;
  border-radius: 0 !important;
  color: var(--text) !important;
  background: rgba(7,10,18,.24) !important;
  box-shadow: none !important;
  text-align: center !important;
  font-weight: 900 !important;
}

.quantity-field.with-open-basket input[type="number"] {
  order: 1 !important;
  margin: 0 !important;
  text-align: center !important;
}

.quantity-field .open-basket,
.quantity-field a[href*="basket"] {
  order: 2 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 12px !important;
  color: transparent !important;
  background: linear-gradient(135deg, rgba(139,92,246,.28), rgba(14,165,233,.10)) !important;
  font-size: 0 !important;
  font-weight: 900 !important;
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

.quantity-field .open-basket::after,
.quantity-field a[href*="basket"]::after {
  content: "Ver carrito";
  color: var(--text);
  font-size: 12px;
  line-height: 1;
}

.quantity-field .open-basket:hover,
.quantity-field a[href*="basket"]:hover {
  color: transparent !important;
  background: linear-gradient(135deg, rgba(139,92,246,.42), rgba(14,165,233,.16)) !important;
}

.quantity-field .adjust,
.quantity-field .btn-glyph.adjust {
  flex: 0 0 42px !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: transparent !important;
  background: rgba(255,255,255,.045) !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  transform: none !important;
}

.quantity-field .adjust:hover,
.quantity-field .btn-glyph.adjust:hover {
  background: rgba(139,92,246,.24) !important;
  filter: none !important;
  transform: none !important;
}

.quantity-field .adjust::before,
.quantity-field .btn-glyph.adjust::before {
  background-color: var(--text) !important;
}

.quantity-field .adjust.decrease { order: -1 !important; }
.quantity-field .adjust.increase { order: 100 !important; }

.store-product .remove,
.package .remove,
.basket .basket-item .remove,
a.btn-secondary.btn-glyph.remove,
button.btn-secondary.btn-glyph.remove,
a.btn-glyph-text.remove,
button.btn-glyph-text.remove {
  --btn-icon: url("https://template-assets.tebex.io/images/delete.svg");
  --btn-color-text: #fecaca;
  --btn-color-text-hover: #ffffff;
  flex: 0 0 42px !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border: 1px solid rgba(239,68,68,.35) !important;
  border-radius: 12px !important;
  color: transparent !important;
  background: rgba(239,68,68,.13) !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
}

.store-product .remove:hover,
.package .remove:hover,
.basket .basket-item .remove:hover,
a.btn-secondary.btn-glyph.remove:hover,
button.btn-secondary.btn-glyph.remove:hover,
a.btn-glyph-text.remove:hover,
button.btn-glyph-text.remove:hover {
  background: rgba(239,68,68,.24) !important;
  border-color: rgba(248,113,113,.55) !important;
  transform: translateY(-1px) !important;
}

.store-product .remove::before,
.package .remove::before,
.basket .basket-item .remove::before,
a.btn-secondary.btn-glyph.remove::before,
button.btn-secondary.btn-glyph.remove::before,
a.btn-glyph-text.remove::before,
button.btn-glyph-text.remove::before {
  background-color: #fecaca !important;
}

@media (max-width: 640px) {
  .basket .basket-item,
  .basket .basket-checkout {
    grid-template-columns: 1fr !important;
  }
  .basket .basket-checkout .checkout {
    width: 100% !important;
    min-width: 0 !important;
  }
}