:root {
  --alabaster: #f7f5f0;
  --charcoal: #16181d;
  --charcoal-soft: rgba(22, 24, 29, 0.78);
  --charcoal-glass: rgba(20, 22, 28, 0.72);
  --gold: #c9a45c;
  --gold-light: #e5c98c;
  --blue: #2563eb;
  --border-glass: rgba(255, 255, 255, 0.14);
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.32);
  --radius-lg: 18px;
  --radius-md: 12px;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-sans);
  background: var(--charcoal);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

.hidden {
  display: none !important;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: radial-gradient(circle at top, #232732, #111318);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-card {
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 36px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.brand-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
  border: 1px solid rgba(201, 164, 92, 0.4);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.loading-card h1 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.loading-card h1 span {
  color: var(--gold);
}

.loading-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 22px;
}

.loading-bar {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.loading-progress {
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 999px;
  transition: width 0.35s ease;
}

/* 3D Canvas */
.canvas-container {
  position: fixed;
  inset: 0;
  z-index: 1;
  cursor: grab;
}

.canvas-container:active {
  cursor: grabbing;
}

.canvas-container.hovering-product {
  cursor: pointer;
}

/* Subtle Center Reticle */
.reticle {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(201, 164, 92, 0.35);
  pointer-events: none;
  z-index: 10;
  transition: transform 0.15s ease;
}

/* Top HUD */
.hud-top {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  pointer-events: none;
}

.hud-top > * {
  pointer-events: auto;
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  background: var(--charcoal-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #9f7932);
  color: #111;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  display: grid;
  place-items: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.zone-indicator {
  font-size: 11px;
  color: var(--gold-light);
  font-weight: 500;
}

/* Search Bar & Product Finder */
.hud-search-wrap {
  position: relative;
  flex: 1;
  max-width: 410px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--charcoal-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.18);
}

.search-icon {
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-light);
  font-family: inherit;
  font-size: 13.5px;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.clear-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--text-light);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 11px;
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(20, 22, 28, 0.94);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  max-height: 310px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease;
}

.search-item:hover {
  background: rgba(201, 164, 92, 0.14);
}

.search-item-info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.search-item-info span {
  font-size: 11px;
  color: var(--text-muted);
}

.search-item-guide {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-light);
  white-space: nowrap;
}

/* HUD Actions */
.hud-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-toggle {
  display: flex;
  background: var(--charcoal-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  padding: 4px;
}

.toggle-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.toggle-btn.active {
  background: var(--gold);
  color: #111;
}

.admin-link-btn {
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--charcoal-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.admin-link-btn:hover {
  border-color: var(--gold);
  background: rgba(201, 164, 92, 0.16);
}

.cart-trigger {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--charcoal-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  color: var(--text-light);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.cart-trigger:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}

.cart-trigger svg {
  width: 20px;
  height: 20px;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* Wayfinding Banner */
.wayfinding-banner {
  position: fixed;
  top: 74px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(37, 99, 235, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.wayfinding-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.5; }
}

.wayfinding-stop {
  border: none;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

/* Quick Teleport Bar */
.teleport-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  gap: 8px;
  padding: 6px;
  background: var(--charcoal-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  max-width: calc(100vw - 32px);
  overflow-x: auto;
}

.teleport-pill {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.teleport-pill:hover {
  color: var(--text-light);
}

.teleport-pill.active {
  background: rgba(201, 164, 92, 0.22);
  color: var(--gold-light);
  border: 1px solid rgba(201, 164, 92, 0.45);
}

/* Mini-map */
.minimap-card {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 40;
  width: 178px;
  padding: 10px;
  background: var(--charcoal-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.minimap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 6px;
}

.minimap-hint {
  color: var(--gold-light);
  font-size: 10px;
}

.minimap-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-bg {
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(255, 255, 255, 0.14);
}

.map-corridor {
  fill: rgba(255, 255, 255, 0.08);
}

.map-zone {
  cursor: pointer;
}

.map-zone rect, .map-zone circle {
  fill: rgba(201, 164, 92, 0.14);
  stroke: rgba(201, 164, 92, 0.45);
  transition: fill 0.2s ease;
}

.map-zone:hover rect, .map-zone:hover circle {
  fill: rgba(201, 164, 92, 0.35);
}

.map-zone text {
  fill: #e2e8f0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  pointer-events: none;
}

.player-cone {
  fill: rgba(37, 99, 235, 0.65);
}

.player-dot {
  fill: #60a5fa;
  stroke: #ffffff;
  stroke-width: 1.5;
}

/* Controls Hint */
.controls-hint {
  position: fixed;
  left: 16px;
  bottom: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--charcoal-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.controls-hint kbd {
  display: inline-block;
  padding: 1px 5px;
  margin: 0 1px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  font-family: inherit;
  font-size: 10.5px;
}

/* Floating Product Tag */
.floating-tag {
  position: fixed;
  z-index: 42;
  pointer-events: none;
  transform: translate(-50%, -115%);
  min-width: 210px;
  padding: 10px 14px;
  background: rgba(20, 22, 28, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 164, 92, 0.55);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36);
}

.floating-tag-store {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.floating-tag-name {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.floating-tag-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.floating-tag-price {
  font-size: 13px;
  font-weight: 700;
  color: #60a5fa;
}

.floating-tag-cta {
  font-size: 11px;
  color: var(--text-muted);
}

/* Mobile Virtual Joystick */
.joystick-zone {
  display: none;
  position: fixed;
  left: 20px;
  bottom: 76px;
  z-index: 44;
  touch-action: none;
}

.joystick-base {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(20, 22, 28, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
}

.joystick-stick {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* Quick Catalog Grid View */
.catalog-view {
  position: fixed;
  inset: 0;
  z-index: 46;
  background: rgba(247, 245, 240, 0.96);
  color: var(--charcoal);
  overflow-y: auto;
  padding: 88px 24px 90px;
}

.catalog-container {
  max-width: 1180px;
  margin: 0 auto;
}

.catalog-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 26px;
}

.catalog-header h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  margin-bottom: 4px;
}

.catalog-header p {
  color: #525866;
  font-size: 14px;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  border: 1px solid #d5d0c5;
  background: #fff;
  color: var(--charcoal);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.filter-chip.active {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.catalog-card {
  background: #fff;
  border: 1px solid #e7e2d8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(22, 24, 29, 0.08);
}

.catalog-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f1efe9;
}

.catalog-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-store {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9f7932;
  margin-bottom: 4px;
}

.catalog-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.catalog-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}

.catalog-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.catalog-actions button {
  flex: 1;
  padding: 9px 10px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.btn-outline-dark {
  border: 1px solid #d5d0c5;
  background: #fff;
  color: var(--charcoal);
}

.btn-dark {
  border: none;
  background: var(--charcoal);
  color: #fff;
}

/* Glassmorphism Product Detail Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 12, 16, 0.64);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.glass-modal {
  position: relative;
  width: 100%;
  max-width: 820px;
  background: rgba(24, 27, 34, 0.88);
  backdrop-filter: blur(26px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

.modal-preview {
  padding: 28px;
  background: radial-gradient(circle at center, rgba(201, 164, 92, 0.14), rgba(15, 17, 23, 0.6));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.preview-stage {
  position: relative;
  width: 100%;
  max-width: 290px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.preview-stage img {
  width: 100%;
  display: block;
}

.locate-3d-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  padding: 9px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.modal-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.modal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.modal-store-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.modal-rating {
  font-size: 12.5px;
  color: #fbbf24;
  font-weight: 600;
}

.modal-info h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.modal-price {
  font-size: 22px;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 14px;
}

.modal-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.variant-section label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.variant-chip {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  padding: 7px 12px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}

.variant-chip.active {
  border-color: var(--gold);
  background: rgba(201, 164, 92, 0.22);
  color: var(--gold-light);
}

.modal-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.btn-primary, .btn-gold {
  flex: 1;
  border: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #111;
}

.full-width {
  width: 100%;
}

/* Cart Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(4px);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(400px, 100vw);
  background: rgba(20, 22, 28, 0.96);
  backdrop-filter: blur(24px);
  border-left: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.icon-close {
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  margin: auto 0;
  font-size: 14px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-item img {
  width: 64px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.cart-item-variant {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.cart-footer {
  padding: 18px 20px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.cart-summary-row.muted {
  color: var(--text-muted);
  font-size: 12.5px;
  margin-bottom: 4px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 82px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.94);
  border: 1px solid var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* Responsive */
@media (max-width: 900px) {
  .controls-hint {
    display: none;
  }
  .minimap-card {
    width: 138px;
    bottom: 76px;
    right: 12px;
  }
  .joystick-zone {
    display: block;
  }
}

@media (max-width: 720px) {
  .hud-top {
    flex-wrap: wrap;
    top: 10px;
    left: 10px;
    right: 10px;
  }
  .hud-search-wrap {
    order: 3;
    max-width: 100%;
    flex-basis: 100%;
  }
  .toggle-btn {
    padding: 6px 10px;
    font-size: 11.5px;
  }
  .modal-body {
    grid-template-columns: 1fr;
  }
  .modal-preview {
    padding: 20px;
  }
  .modal-info {
    padding: 20px;
  }
}

