/* ==============================================================================
   GMR-KIT FREE (LITE) · MILITARY TACTICAL UI/UX PRO MAX DESIGN SYSTEM
   Precision Dark Gunmetal · 60fps Smooth Transitions · High-Contrast Aesthetics
   Optimized for PC Desktop & Mobile Touch (>=44px touch targets)
   ============================================================================== */

:root {
  /* Color Palette: Deep Tactical Dark */
  --bg-deep: #07090e;
  --bg-surface: #0c1017;
  --bg-card: #121822;
  --bg-card-hover: #17202d;
  --bg-muted: #1a2230;
  --bg-elevated: #1e2838;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-focus: #ff6600;

  /* Brand Tactical Accents */
  --tac-orange: #ff6600;
  --tac-orange-hover: #ff771a;
  --tac-orange-soft: rgba(255, 102, 0, 0.12);
  --tac-orange-glow: rgba(255, 102, 0, 0.28);
  
  --tac-cyan: #38bdf8;
  --tac-cyan-soft: rgba(56, 189, 248, 0.12);
  --tac-green: #22c55e;
  --tac-green-soft: rgba(34, 197, 94, 0.12);
  --tac-amber: #f59e0b;
  --tac-red: #ef4444;

  /* High Legibility Typography */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  /* Radius & Shadows */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.65);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 102, 0, 0.05), transparent 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, #06080c 100%);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--tac-orange);
}

/* ==============================================================================
   01. TACTICAL HUD HEADER
   ============================================================================== */
.lite-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 16, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}

.brand-wrap:hover {
  opacity: 0.9;
}

.brand-badge {
  background: linear-gradient(135deg, #1e2632, #141a24);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-weight: 800;
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brand-title {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.brand-title span.orange {
  color: var(--tac-orange);
  text-shadow: 0 0 12px var(--tac-orange-glow);
}

.badge-lite-pill {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--tac-cyan);
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* Fast Search Input */
.header-search-wrap {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.header-search-input {
  width: 100%;
  background: #080b10;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 34px 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.header-search-input:focus {
  border-color: var(--tac-orange);
  background: #0c1017;
  box-shadow: 0 0 0 3px var(--tac-orange-soft), inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.header-search-input::placeholder {
  color: #475569;
}

.header-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 14px;
  display: none;
  padding: 4px;
  line-height: 1;
  transition: color 0.15s ease;
}

.header-search-clear:hover {
  color: var(--text-main);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switch-wrap {
  display: inline-flex;
  align-items: center;
  background: #080b10;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2px;
  gap: 2px;
}

.btn-lang {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.5px;
}

.btn-lang:hover {
  color: var(--text-main);
}

.btn-lang.active {
  background: var(--tac-orange);
  color: #000000;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(255, 102, 0, 0.3);
}

/* Header Buttons */
.btn-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 34px;
}

.btn-pill:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-pill-pro {
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.18), rgba(255, 102, 0, 0.06));
  border: 1px solid var(--tac-orange);
  color: #ff9933;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(255, 102, 0, 0.15);
}

.btn-pill-pro:hover {
  background: var(--tac-orange);
  color: #000000;
  box-shadow: 0 4px 16px var(--tac-orange-glow);
}

.cart-mobile-toggle {
  display: none;
  position: relative;
}

.cart-counter-badge {
  background: var(--tac-orange);
  color: #000;
  font-weight: 900;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* TikTok Creator Header Button */
.btn-tiktok-header {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.18s ease;
  min-height: 34px;
}

.btn-tiktok-header:hover {
  background: #ff0050;
  border-color: #ff0050;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 0, 80, 0.4);
  transform: translateY(-1px);
}

/* ==============================================================================
   02. PROMO BANNER / NOTICE STRIP
   ============================================================================== */
.lite-promo-strip {
  background: linear-gradient(90deg, #090c10 0%, #0d1218 50%, #090c10 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 24px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted);
}

.promo-badge-tag {
  background: rgba(255, 102, 0, 0.14);
  border: 1px solid rgba(255, 102, 0, 0.35);
  color: var(--tac-orange);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
}

.tiktok-strip-link {
  color: var(--tac-cyan);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  transition: all 0.15s ease;
}

.tiktok-strip-link:hover {
  color: #ff0050;
  text-decoration: underline;
}

.promo-link {
  color: var(--tac-orange);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.promo-link:hover {
  color: #ff8833;
  text-shadow: 0 0 8px var(--tac-orange-glow);
}

/* ==============================================================================
   03. MAIN 2-COLUMN LAYOUT
   ============================================================================== */
.lite-container {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 24px;
  padding: 20px 24px 40px;
  max-width: 1680px;
  margin: 0 auto;
  min-height: calc(100vh - 90px);
}

.explorer-pane {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* PRO TEASER HERO BOX */
.packages-locked-teaser {
  background: linear-gradient(135deg, #111722 0%, #0d1219 100%);
  border: 1px solid rgba(255, 102, 0, 0.25);
  border-left: 4px solid var(--tac-orange);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.packages-locked-teaser:hover {
  border-color: rgba(255, 102, 0, 0.45);
}

.teaser-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.teaser-icon {
  color: var(--tac-orange);
  flex-shrink: 0;
}

.teaser-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.teaser-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.4;
}

.btn-teaser-pro {
  background: #17202d;
  border: 1px solid var(--tac-orange);
  color: var(--tac-orange);
  font-weight: 800;
  font-size: 11.5px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  cursor: pointer;
}

.btn-teaser-pro:hover {
  background: var(--tac-orange);
  color: #000000;
  box-shadow: 0 4px 12px var(--tac-orange-glow);
  transform: translateY(-1px);
}

/* ==============================================================================
   04. CATEGORY NAVIGATION & CHIPS
   ============================================================================== */
.primary-category-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.primary-category-nav::-webkit-scrollbar {
  display: none;
}

.cat-nav-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.16s ease;
  min-height: 40px;
}

.cat-nav-btn:hover {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.18);
}

.cat-nav-btn.active {
  background: var(--tac-orange);
  border-color: var(--tac-orange);
  color: #000000;
  font-weight: 900;
  box-shadow: 0 3px 12px rgba(255, 102, 0, 0.3);
}

.cat-nav-btn.active .cat-pill {
  background: rgba(0, 0, 0, 0.28);
  color: #000000;
}

.cat-nav-pro-tab {
  border-color: rgba(255, 102, 0, 0.35);
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.12), rgba(255, 102, 0, 0.04));
  color: #ff9933;
}

.cat-nav-pro-tab:hover {
  background: rgba(255, 102, 0, 0.22);
  border-color: var(--tac-orange);
  color: #ffffff;
}

.cat-nav-pro-tab.active {
  background: var(--tac-orange);
  color: #000000;
}

.cat-pill-pro {
  background: rgba(255, 102, 0, 0.2);
  border: 1px solid rgba(255, 102, 0, 0.4);
  color: #ff9933;
}

.cat-nav-pro-tab.active .cat-pill-pro {
  background: rgba(0, 0, 0, 0.3);
  color: #000000;
  border-color: transparent;
}

.cat-pill {
  background: #182230;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  transition: all 0.15s ease;
}

/* Tactical Quick Filter Bar */
.tactical-quick-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #090c11;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tactical-quick-filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-label-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  flex-shrink: 0;
}

.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
}

.filter-pill-btn {
  background: #111722;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.14s ease;
  font-family: var(--font-mono);
}

.filter-pill-btn:hover {
  background: #182232;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.filter-pill-btn.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--tac-cyan);
  color: var(--tac-cyan);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.25);
  font-weight: 800;
}

/* Subcategory Chips */
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 32px;
  padding: 2px 0;
}

.chip-btn {
  background: #0d1219;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 28px;
}

.chip-btn:hover {
  background: #151d29;
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.chip-btn.active {
  background: rgba(255, 102, 0, 0.16);
  border-color: var(--tac-orange);
  color: var(--tac-orange);
  font-weight: 800;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.2);
}

.chip-count {
  font-size: 10px;
  opacity: 0.8;
  font-family: var(--font-mono);
}

/* ==============================================================================
   05. TACTICAL ITEMS GRID & CARDS
   ============================================================================== */
.items-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-height: 360px;
}

@media (min-width: 1600px) {
  .items-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .items-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.item-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background-color 0.2s ease;
}

.item-card:hover {
  border-color: rgba(255, 102, 0, 0.45);
  background: var(--bg-card);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.item-card:hover::before {
  background: var(--tac-orange);
}

/* Item Image Frame */
.item-img-wrap {
  width: 100%;
  height: 96px;
  background: radial-gradient(circle at center, #161e2a 0%, #090c10 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.2s ease;
}

.item-card:hover .item-img-wrap {
  border-color: rgba(255, 102, 0, 0.3);
  background: radial-gradient(circle at center, #1b2636 0%, #0c1017 100%);
}

.item-img {
  max-width: 100%;
  max-height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.item-card:hover .item-img {
  transform: scale(1.08);
}

.item-info {
  flex: 1;
  min-width: 0;
}

.item-name {
  font-weight: 800;
  font-size: 12.5px;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
  letter-spacing: 0.1px;
}

.item-id {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-badges {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}

.tag-slot {
  background: rgba(255, 102, 0, 0.1);
  border: 1px solid rgba(255, 102, 0, 0.25);
  color: #ff9933;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  font-family: var(--font-mono);
}

.tag-cat {
  background: #16202c;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
}

/* Item Action Buttons (+ Add / +5) */
.item-card-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.btn-add-item {
  flex: 1;
  background: #141b26;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.16s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 36px;
}

.btn-add-item .btn-add-plus {
  color: var(--tac-orange);
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  transition: color 0.16s ease;
}

.btn-add-item:hover {
  background: var(--tac-orange);
  border-color: var(--tac-orange);
  color: #000000;
  box-shadow: 0 4px 12px var(--tac-orange-glow);
}

.btn-add-item:hover .btn-add-plus {
  color: #000000;
}

.btn-add-quick {
  background: #141b26;
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  height: 36px;
  min-width: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.16s ease;
  font-family: var(--font-mono);
}

.btn-add-quick:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-main);
  background: #1e2838;
}

/* Load More Pagination */
.load-more-wrap {
  text-align: center;
  padding: 20px 0;
}

.btn-load-more {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 9px 24px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.18s ease;
  letter-spacing: 0.4px;
}

.btn-load-more:hover {
  border-color: var(--tac-orange);
  color: var(--tac-orange);
  background: var(--bg-card-hover);
  box-shadow: 0 4px 14px var(--tac-orange-glow);
}

/* ==============================================================================
   06. RIGHT COLUMN: DELIVERY LOADOUT HUD
   ============================================================================== */
.delivery-pane {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 76px;
  height: calc(100vh - 100px);
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.delivery-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, #0f131a 0%, #0a0d12 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.delivery-title {
  font-size: 13px;
  font-weight: 900;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.delivery-title span.orange {
  color: var(--tac-orange);
}

.btn-clear-cart {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--tac-red);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.btn-clear-cart:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--tac-red);
}

/* Delivery Configuration */
.delivery-config {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #0c1017;
}

.free-tier-limit-badge {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--tac-cyan);
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.config-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.config-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
}

.container-select {
  width: 100%;
  background: #07090e;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  outline: none;
  font-weight: 600;
  transition: border-color 0.15s ease;
}

.container-select:focus {
  border-color: var(--tac-orange);
}

/* ==============================================================================
   06B. TACTICAL CONTAINER HERO CARD (SCUM OFFICIAL SPEC)
   ============================================================================== */
.container-hero-card {
  background: linear-gradient(135deg, #131a24 0%, #0d1219 100%);
  border: 1px solid rgba(255, 119, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.container-hero-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--tac-orange);
  box-shadow: 0 0 8px var(--tac-orange);
}

.container-hero-media {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.container-preview-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s ease;
}

.container-hero-card:hover .container-preview-img {
  transform: scale(1.05);
}

.container-hero-body {
  flex: 1;
  min-width: 0;
}

.container-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.container-badge-pill {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--tac-orange);
  background: rgba(255, 119, 0, 0.12);
  border: 1px solid rgba(255, 119, 0, 0.3);
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-mono);
}

.container-selector-wrap {
  flex-shrink: 0;
}

.container-select-clean {
  background: #090c10;
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  max-width: 150px;
  outline: none;
  transition: all 0.15s ease;
}

.container-select-clean:hover,
.container-select-clean:focus {
  border-color: var(--tac-orange);
  color: #fff;
}

.container-hero-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}

.container-hero-specs {
  font-size: 11px;
  color: #8899aa;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
}

.container-hero-specs span {
  color: #cad5e2;
  font-weight: 600;
}

/* ==============================================================================
   06C. DUAL CAPACITY METRICS (SLOTS & WEIGHT HUD)
   ============================================================================== */
.dual-capacity-hud {
  background: #070a0f;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.capacity-gauge-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gauge-label-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-family: var(--font-mono);
}

.gauge-label {
  color: #8899aa;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gauge-value {
  color: #ffffff;
  font-weight: 800;
}

.gauge-bar-track {
  height: 5px;
  background: #141c27;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.gauge-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.gauge-bar-fill.slots-fill {
  background: linear-gradient(90deg, #00d2ff, #00f2fe);
  box-shadow: 0 0 6px rgba(0, 210, 255, 0.5);
}

.gauge-bar-fill.weight-fill {
  background: linear-gradient(90deg, #ff8800, #ffaa00);
  box-shadow: 0 0 6px rgba(255, 136, 0, 0.5);
}

.gauge-bar-fill.warn {
  background: linear-gradient(90deg, #f59e0b, #fbbf24) !important;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.5) !important;
}

.gauge-bar-fill.danger {
  background: linear-gradient(90deg, #ef4444, #f87171) !important;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6) !important;
}

.capacity-status-banner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.capacity-status-banner.status-ok {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.capacity-status-banner.status-warn {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.capacity-status-banner.status-danger {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* ==============================================================================
   06D. VIEW TOGGLE TABS (2D GRID vs LIST)
   ============================================================================== */
.delivery-view-tabs {
  display: flex;
  gap: 6px;
  background: #07090e;
  padding: 4px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.btn-delivery-tab {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  color: #8899aa;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.4px;
  transition: all 0.15s ease;
}

.btn-delivery-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.btn-delivery-tab.active {
  background: rgba(255, 119, 0, 0.14);
  border-color: rgba(255, 119, 0, 0.35);
  color: var(--tac-orange);
  box-shadow: 0 0 8px rgba(255, 119, 0, 0.15);
}

/* ==============================================================================
   06E. 2D SPATIAL INVENTORY MATRIX VIEWPORT (SCUM TETRIS GRID)
   ============================================================================== */
.spatial-matrix-viewport {
  background: #040609;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 119, 0, 0.3) transparent;
}

.spatial-matrix-viewport::-webkit-scrollbar {
  width: 5px;
}

.spatial-matrix-viewport::-webkit-scrollbar-thumb {
  background: rgba(255, 119, 0, 0.3);
  border-radius: 999px;
}

.spatial-matrix-board {
  display: grid;
  gap: 2px;
  background: #020305;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  position: relative;
  min-height: 200px;
  user-select: none;
}

/* Celdas vacías de fondo */
.spatial-cell {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 2px;
  aspect-ratio: 1 / 1;
  min-width: 20px;
  min-height: 20px;
}

/* Objeto colocado en la matriz */
.spatial-placed-item {
  background: rgba(18, 25, 36, 0.92);
  border: 1px solid rgba(255, 119, 0, 0.5);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: all 0.15s ease;
  cursor: pointer;
}

.spatial-placed-item:hover {
  border-color: #ffaa33;
  transform: scale(1.02);
  z-index: 5;
  box-shadow: 0 0 12px rgba(255, 119, 0, 0.4);
}

.spatial-item-img {
  max-width: 88%;
  max-height: 75%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
  pointer-events: none;
}

.spatial-item-label {
  font-size: 8.5px;
  font-family: var(--font-mono);
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 95%;
  margin-top: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.spatial-item-dims-tag {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 8px;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--tac-orange);
  background: rgba(0, 0, 0, 0.6);
  padding: 1px 3px;
  border-radius: 2px;
  line-height: 1;
}

.spatial-matrix-caption {
  font-size: 10px;
  color: #64748b;
  line-height: 1.35;
  font-family: var(--font-sans);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 6px;
}
  box-shadow: 0 0 4px rgba(245, 158, 11, 0.4);
}

.slot-matrix-cell.occupied.danger {
  background: var(--tac-red);
  border-color: #ef4444;
  box-shadow: 0 0 4px rgba(239, 68, 68, 0.5);
}

/* PRO Preview Card in Catalog Grid */
.item-card-pro-preview {
  border-color: rgba(255, 102, 0, 0.35);
  background: linear-gradient(180deg, #161b24 0%, #0d1117 100%);
  position: relative;
}

.pro-locked-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  background: rgba(255, 102, 0, 0.18);
  border: 1px solid var(--tac-orange);
  color: var(--tac-orange);
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.6px;
  padding: 2px 6px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-unlock-pro-card {
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.2), rgba(255, 102, 0, 0.08));
  border: 1px solid var(--tac-orange);
  color: #ff9933;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  transition: all 0.16s ease;
}

.btn-unlock-pro-card:hover {
  background: var(--tac-orange);
  color: #000000;
  box-shadow: 0 4px 14px var(--tac-orange-glow);
  transform: translateY(-1px);
}

/* Command Spawn Mode Switcher */
.mode-switcher {
  display: flex;
  gap: 8px;
}

.btn-mode-toggle {
  flex: 1;
  background: #07090e;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-mono);
  transition: all 0.15s ease;
}

.btn-mode-toggle.active {
  background: rgba(255, 102, 0, 0.15);
  border-color: var(--tac-orange);
  color: var(--tac-orange);
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.2);
}

/* Cart Items Scroll List */
.cart-items-list {
  flex: 1;
  min-height: 120px;
  max-height: 240px;
  overflow-y: auto;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Tactical Empty State */
.cart-empty-state {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cart-empty-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.cart-empty-title {
  font-weight: 800;
  color: var(--text-main);
  font-size: 13px;
  letter-spacing: 0.2px;
}

.cart-empty-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  max-width: 240px;
}

/* Active Cart Item Row */
.cart-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #080b10;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  transition: border-color 0.15s ease;
}

.cart-item-row:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.cart-item-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.cart-item-desc {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
}

.cart-item-meta {
  font-size: 10px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-qty {
  width: 22px;
  height: 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s ease;
}

.btn-qty:hover {
  border-color: var(--tac-orange);
  color: var(--tac-orange);
}

.cart-qty-val {
  min-width: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
}

.btn-del-item {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 3px 6px;
  font-size: 13px;
  transition: color 0.15s ease;
}

.btn-del-item:hover {
  color: var(--tac-red);
}

/* ==============================================================================
   07. FOOTER COMMAND TERMINAL & ACTIONS
   ============================================================================== */
.delivery-footer {
  padding: 12px 18px;
  background: #090c10;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.command-box {
  background: #040507;
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--tac-cyan);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #38bdf8;
  max-height: 60px;
  overflow-y: auto;
  word-break: break-all;
  user-select: all;
  line-height: 1.4;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.command-stats-row {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-weight: 700;
}

.command-actions {
  display: flex;
  gap: 8px;
}

.btn-copy-command {
  flex: 2;
  background: var(--tac-orange);
  color: #000000;
  border: none;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 12.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  letter-spacing: 0.4px;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 38px;
}

.btn-copy-command:hover {
  background: var(--tac-orange-hover);
  box-shadow: 0 4px 16px var(--tac-orange-glow);
  transform: translateY(-1px);
}

.btn-inject-command {
  flex: 1;
  background: #111722;
  border: 1px solid #233042;
  color: var(--text-muted);
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 11.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s ease;
  min-height: 38px;
}

.btn-inject-command:hover {
  color: var(--tac-orange);
  border-color: var(--tac-orange);
  background: #16202e;
}

/* ==============================================================================
   08. PRO PROMO CARD & CREATOR BRANDING
   ============================================================================== */
.pro-promo-card {
  margin: 14px 18px;
  background: linear-gradient(180deg, #131a26 0%, #0c1017 100%);
  border: 1px solid rgba(255, 102, 0, 0.28);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.pro-promo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pro-badge {
  background: var(--tac-orange);
  color: #000000;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.6px;
}

.pro-tagline {
  font-size: 11.5px;
  color: var(--text-dim);
  font-weight: 700;
}

.pro-promo-title {
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
}

.pro-promo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.pro-promo-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.35;
}

.pro-promo-list b {
  color: #f1f5f9;
}

/* Sidebar Pricing Callout */
.sidebar-pricing-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 102, 0, 0.35);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-top: 2px;
}

.sidebar-pricing-callout .side-old {
  font-size: 12px;
  color: #64748b;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  margin-right: 6px;
}

.sidebar-pricing-callout .side-new {
  font-size: 16px;
  font-weight: 900;
  color: var(--tac-orange);
}

.sidebar-pricing-callout .side-badge {
  font-size: 10px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.btn-upgrade-full {
  background: #17212e;
  border: 1px solid var(--tac-orange);
  color: var(--tac-orange);
  font-weight: 900;
  font-size: 12px;
  padding: 9px;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  display: block;
}

.btn-upgrade-full:hover {
  background: var(--tac-orange);
  color: #000000;
  box-shadow: 0 4px 14px var(--tac-orange-glow);
  transform: translateY(-1px);
}

/* Creator TikTok Widget */
.creator-tiktok-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.creator-label {
  font-size: 9.5px;
  font-weight: 900;
  color: var(--text-dim);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.creator-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  transition: color 0.15s ease;
}

.creator-link:hover {
  color: #ff0050;
}

.creator-desc {
  font-size: 10.5px;
  color: var(--text-dim);
  font-weight: normal;
}

/* ==============================================================================
   09. FREEMIUM VS PRO COMPARISON MODAL
   ============================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #0d1219;
  border: 1px solid var(--tac-orange);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 30px var(--tac-orange-glow);
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 14px 20px;
  background: #111722;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.modal-header h3 {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: 0.3px;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.15s ease;
}

.btn-close-modal:hover {
  color: #ffffff;
}

.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  background: #080b10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.tier-table th, .tier-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.tier-table th {
  background: #0f151f;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.tier-table td.center {
  text-align: center;
}

.check-green {
  color: var(--tac-green);
  font-weight: 800;
}

.check-pro {
  color: var(--tac-orange);
  font-weight: 800;
}

/* ==============================================================================
   10. PAYPAL SUBSCRIPTION & PRICING DEAL
   ============================================================================== */
.pricing-card-promo {
  background: linear-gradient(145deg, #131a26 0%, #0b0f15 100%);
  border: 1px solid rgba(255, 102, 0, 0.45);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pricing-card-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-tag-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pricing-pill-badge {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.35);
}

.pricing-billing-cycle {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 700;
}

.pricing-figures {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 4px 0;
}

.price-strikethrough {
  font-size: 20px;
  color: #64748b;
  position: relative;
  font-weight: 800;
}

.price-strikethrough del {
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2.5px;
}

.price-current {
  font-size: 36px;
  font-weight: 900;
  color: var(--tac-orange);
  letter-spacing: -0.5px;
  line-height: 1;
  text-shadow: 0 0 20px var(--tac-orange-glow);
}

.price-current small {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.pricing-subtext {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.paypal-button-bay {
  min-height: 48px;
  position: relative;
  width: 100%;
}

#paypal-button-container {
  width: 100%;
}

.paypal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 14px;
  background: #080b10;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-subtle);
}

.paypal-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 102, 0, 0.2);
  border-top-color: var(--tac-orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* License Recovery */
.license-recovery-box {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-text-link {
  background: transparent;
  border: none;
  color: var(--tac-cyan);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  text-align: left;
}

.btn-text-link:hover {
  color: #7dd3fc;
}

.license-input-wrap {
  display: flex;
  gap: 8px;
}

.license-input {
  flex: 1;
  background: #080b10;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 12px;
  font-size: 12.5px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.license-input:focus {
  border-color: var(--tac-cyan);
  outline: none;
}

.btn-validate-key {
  background: #1e2838;
  border: 1px solid #334155;
  color: #f1f5f9;
  font-size: 11.5px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.16s ease;
}

.btn-validate-key:hover {
  background: var(--tac-orange);
  color: #000;
  border-color: var(--tac-orange);
}

.license-feedback {
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 700;
}

.license-feedback.success {
  color: var(--tac-green);
}

.license-feedback.error {
  color: var(--tac-red);
}

/* Toast Notifications */
.lite-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #141b26;
  border: 1px solid var(--tac-green);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 2000;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.lite-toast.active {
  transform: translateX(-50%) translateY(0);
}

/* ==============================================================================
   11. RESPONSIVE BREAKPOINTS (MOBILE & TABLET EXCELLENCE)
   ============================================================================== */
@media (max-width: 1024px) {
  .lite-container {
    grid-template-columns: 1fr;
    padding: 14px 16px;
  }

  .cart-mobile-toggle {
    display: inline-flex;
  }

  .delivery-pane {
    position: fixed;
    right: -100%;
    top: 0;
    bottom: 0;
    width: min(100vw, 380px);
    height: 100vh;
    z-index: 500;
    border-radius: 0;
    border-right: none;
    border-top: none;
    border-bottom: none;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.85);
  }

  .delivery-pane.mobile-open {
    right: 0;
  }

  .mobile-close-cart {
    display: block !important;
  }
}

@media (max-width: 860px) {
  .lite-header {
    padding: 10px 14px;
    gap: 8px;
    flex-wrap: wrap;
  }

  #btnOpenUpgradeModal {
    display: none;
  }

  .header-actions {
    gap: 6px;
    margin-left: auto;
  }

  .header-search-wrap {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 6px;
  }

  .items-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .item-card {
    padding: 10px;
    gap: 8px;
  }

  .item-img-wrap {
    height: 84px;
    padding: 6px;
  }

  .item-img {
    max-height: 72px;
  }
}

@media (max-width: 560px) {
  .lite-header {
    padding: 8px 12px;
  }

  .brand-title {
    font-size: 14.5px;
  }

  .btn-tiktok-header span {
    display: none;
  }

  .btn-tiktok-header {
    padding: 6px 8px;
  }

  /* 2-column mobile grid */
  .items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .item-card {
    padding: 8px;
    gap: 6px;
  }

  .item-img-wrap {
    height: 76px;
    padding: 4px;
  }

  .item-img {
    max-height: 66px;
  }

  .item-name {
    font-size: 11.5px;
  }

  .item-id {
    font-size: 8.5px;
  }

  .btn-add-item {
    font-size: 11.5px;
    height: 34px;
    padding: 5px 6px;
  }

  .btn-add-quick {
    font-size: 11px;
    height: 34px;
    min-width: 34px;
    padding: 5px 6px;
  }

  .packages-locked-teaser {
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-teaser-pro {
    width: 100%;
    text-align: center;
  }

  .modal-box {
    width: 96vw;
    max-height: 94vh;
  }

  .modal-body {
    padding: 14px;
  }

  .tier-table th, .tier-table td {
    padding: 7px 6px;
    font-size: 11px;
  }

  .price-current {
    font-size: 28px;
  }
}
