.aisle-3d-page {
  overflow: hidden;
  background: #050208;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#aisle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

.aisle-3d-hud {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* ---- Top bar: logo + menu only ---- */

.hud-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  pointer-events: none;
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  pointer-events: auto;
}

.shop-logo-hud {
  display: block;
  width: auto;
  height: 40px;
  max-width: 120px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

.hud-decade-pill {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  white-space: nowrap;
}

.hud-menu-btn {
  pointer-events: auto;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hud-menu-panel {
  position: absolute;
  top: 3.6rem;
  right: 0.85rem;
  width: min(280px, calc(100vw - 1.7rem));
  padding: 0.85rem;
  border-radius: 12px;
  background: rgba(8, 6, 14, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}

.hud-menu-panel.hidden {
  display: none;
}

.hud-menu-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.5rem;
}

.hud-menu-panel .aisle-3d-nav {
  margin: 0 0 0.75rem;
  justify-content: flex-start;
}

.hud-menu-panel .aisle-nav-btn {
  font-size: 0.82rem;
  padding: 0.45rem 0.8rem;
}

.hud-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hud-menu-links .btn-store-link {
  text-align: center;
}

/* ---- Product focus (compact, above dock) ---- */

.aisle-3d-focus {
  position: absolute;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%);
  text-align: center;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid var(--argos-red);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  max-width: min(360px, 90vw);
}

.aisle-3d-focus span {
  display: block;
}

#aisle-3d-focus-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.aisle-3d-focus-hint {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  opacity: 0.7;
  margin-top: 0.15rem;
}

/* ---- Bottom control dock ---- */

.hud-floor-btn {
  position: absolute;
  left: 50%;
  bottom: 4.35rem;
  transform: translateX(-50%);
  pointer-events: auto;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #ff4ad4;
  background: rgba(18, 0, 24, 0.78);
  color: #7cf7ff;
  box-shadow: 0 0 16px rgba(255, 74, 212, 0.35);
  cursor: pointer;
}

.hud-control-dock {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  pointer-events: auto;
  backdrop-filter: blur(8px);
}

.dock-btn {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.12s, border-color 0.15s;
}

.dock-btn:hover {
  transform: scale(1.06);
}

.dock-btn.is-active {
  border-color: var(--argos-gold);
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.35);
}

.dock-btn-primary {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.35rem;
  border-color: var(--argos-red);
  background: linear-gradient(180deg, rgba(227, 6, 19, 0.92) 0%, rgba(140, 0, 10, 0.95) 100%);
}

.aisle-3d-loading {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(5, 2, 8, 0.92);
  font-family: Arial, Helvetica, sans-serif;
}

.aisle-3d-loading.hidden {
  display: none;
}

.aisle-3d-page.aisle-1970s .dock-btn-primary {
  border-color: #d28c3c;
  background: linear-gradient(180deg, rgba(210, 140, 60, 0.95) 0%, rgba(140, 90, 30, 0.95) 100%);
}

.aisle-3d-page.aisle-1970s .aisle-3d-focus {
  border-color: #d28c3c;
}

.aisle-3d-page.aisle-1990s .dock-btn-primary {
  border-color: #00c8b4;
  background: linear-gradient(180deg, rgba(0, 200, 180, 0.95) 0%, rgba(0, 130, 115, 0.95) 100%);
}

.aisle-3d-page.aisle-1990s .aisle-3d-focus {
  border-color: #00c8b4;
}

body.showcase-open .hud-control-dock,
body.showcase-open .hud-top-bar,
body.showcase-open .hud-floor-btn,
body.showcase-open .aisle-3d-focus {
  opacity: 0.35;
}

@media (max-width: 640px) {
  .shop-logo-hud {
    height: 34px;
    max-width: 96px;
  }

  .hud-control-dock {
    bottom: 0.65rem;
    gap: 0.3rem;
    padding: 0.4rem;
  }

  .dock-btn {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .dock-btn-primary {
    width: 2.85rem;
    height: 2.85rem;
  }

  .aisle-3d-focus {
    bottom: 6.1rem;
  }

  .hud-floor-btn {
    bottom: 4.05rem;
    font-size: 0.68rem;
    padding: 0.38rem 0.7rem;
  }
}
