:root {
  --sky-1: #8ac5ee;
  --sky-2: #4a8fc7;
  --sky-3: #2d5f95;
  --window-bg: #ededed;
  --window-chrome: linear-gradient(#f6f6f6 0%, #d1d1d1 100%);
  --window-chrome-inactive: linear-gradient(#f3f3f3 0%, #e0e0e0 100%);
  --border: #999;
  --border-dark: #6a6a6a;
  --text: #1a1a1a;
  --text-dim: #666;
  --blue-hl: #3875d7;
  --red: #d8352a;
  --advisory-yellow: #f5d442;
}

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

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  color: var(--text);
  background: #2d5f95;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: default;
}

.pixel { font-family: 'Pixelify Sans', monospace; }
.mono { font-family: 'VT323', monospace; font-size: 15px; letter-spacing: 0.02em; }

/* ============================================
   DESKTOP BACKGROUND — Aqua blue gradient sky
   ============================================ */
.desktop-bg {
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 1200px 800px at 30% 30%, rgba(180, 220, 245, 0.7), transparent 60%),
    radial-gradient(ellipse 900px 600px at 80% 70%, rgba(255, 255, 255, 0.3), transparent 55%),
    linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 45%, var(--sky-3) 100%);
  z-index: -2;
}

/* Subtle scanline / texture */
.desktop-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ============================================
   MENU BAR (top)
   ============================================ */
.menubar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(235,235,235,0.95) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 500;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.menubar-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 14px;
  font-family: 'Pixelify Sans', monospace;
  font-weight: 600;
  font-size: 15px;
}
.menubar-brand img {
  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
}
.menubar-menus {
  display: flex;
  gap: 2px;
}
.menubar-menus button {
  background: transparent;
  border: none;
  font: inherit;
  padding: 3px 10px;
  cursor: pointer;
  border-radius: 3px;
  color: var(--text);
}
.menubar-menus button:hover {
  background: var(--blue-hl);
  color: white;
}
.menubar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text);
}
.menubar-right .status-dot {
  width: 8px; height: 8px;
  background: #4caf50;
  border-radius: 50%;
  box-shadow: 0 0 4px #4caf50;
}

/* ============================================
   DESKTOP ICONS (right side shortcuts)
   ============================================ */
.desktop-icons {
  position: fixed;
  top: 46px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
}
.desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 78px;
  cursor: pointer;
  text-decoration: none;
  color: white;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.15s;
  text-align: center;
}
.desktop-icon:hover {
  background: rgba(255,255,255,0.18);
}
.desktop-icon:active {
  background: rgba(255,255,255,0.3);
}
.desktop-icon-img {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}
.desktop-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.desktop-icon-label {
  font-family: 'Pixelify Sans', monospace;
  font-size: 12px;
  font-weight: 500;
  color: white;
  text-shadow: 
    0 1px 2px rgba(0,0,0,0.6),
    0 0 1px rgba(0,0,0,0.8);
  line-height: 1.1;
  word-wrap: break-word;
  max-width: 78px;
}

/* ============================================
   WINDOW — generic container (classic Aqua style)
   ============================================ */
.window {
  background: var(--window-bg);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  box-shadow: 
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 2px 4px rgba(0,0,0,0.15),
    0 12px 40px rgba(0,0,0,0.35);
  overflow: hidden;
  position: relative;
}

.window-chrome {
  background: var(--window-chrome);
  border-bottom: 1px solid #a5a5a5;
  padding: 6px 10px 6px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  user-select: none;
}
.traffic-lights {
  display: flex;
  gap: 6px;
}
.traffic-light {
  width: 12px; height: 12px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.35);
  box-shadow: 
    inset 0 1px 1px rgba(255,255,255,0.5),
    inset 0 -1px 1px rgba(0,0,0,0.15);
}
.traffic-light.close { background: radial-gradient(circle at 30% 30%, #ff9c8f, #e04c3a 60%, #b22b20); }
.traffic-light.min   { background: radial-gradient(circle at 30% 30%, #ffd98c, #f0a838 60%, #c47a18); }
.traffic-light.max   { background: radial-gradient(circle at 30% 30%, #a2e88d, #4ab849 60%, #2a8a2a); }
.traffic-light:hover { filter: brightness(1.1); }

.window-title {
  flex: 1;
  text-align: center;
  font-family: 'Pixelify Sans', monospace;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}

.window-content {
  background: white;
}

/* ============================================
   SHOP WINDOW (main hero)
   ============================================ */
.desktop-area {
  min-height: 100vh;
  padding: 60px 110px 140px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.shop-window {
  width: 100%;
  max-width: 920px;
  margin-top: 10px;
}

/* toolbar with back/forward, breadcrumb, search, cart */
.shop-toolbar {
  background: linear-gradient(180deg, #f3f3f3 0%, #dadada 100%);
  border-bottom: 1px solid #a5a5a5;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-arrows {
  display: flex;
  gap: 1px;
  background: #cecece;
  border: 1px solid #999;
  border-radius: 4px;
  overflow: hidden;
}
.nav-arrows button {
  background: linear-gradient(180deg, #fafafa 0%, #cfcfcf 100%);
  border: none;
  padding: 3px 10px;
  font-size: 13px;
  cursor: pointer;
  color: #333;
}
.nav-arrows button:hover { background: linear-gradient(180deg, #fff 0%, #ddd 100%); }
.nav-arrows button:disabled { opacity: 0.4; cursor: default; }

.breadcrumb {
  flex: 1;
  background: white;
  border: 1px solid #aaa;
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 12px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.breadcrumb span.sep { color: #aaa; }
.breadcrumb span.current { color: var(--text); font-weight: 500; }

.search-field {
  background: white;
  border: 1px solid #aaa;
  border-radius: 12px;
  padding: 3px 10px 3px 24px;
  font: inherit;
  font-size: 12px;
  width: 130px;
  color: #333;
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 7px center;
}
.search-field:focus { outline: 1px solid var(--blue-hl); border-color: var(--blue-hl); }

.cart-btn {
  background: linear-gradient(180deg, #5ea3e8 0%, #2a6db8 100%);
  color: white;
  border: 1px solid #1f5a9e;
  border-radius: 4px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 1px 2px rgba(0,0,0,0.2);
  text-decoration: none;
}
.cart-btn:hover { background: linear-gradient(180deg, #6eb4f8 0%, #3a7dc8 100%); }
.cart-btn:active { background: linear-gradient(180deg, #2a6db8 0%, #1a4d88 100%); }

/* category pills */
.shop-categories {
  background: #f4f4f4;
  border-bottom: 1px solid #bbb;
  padding: 10px 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.category-pill {
  background: linear-gradient(180deg, #f8f8f8 0%, #d8d8d8 100%);
  border: 1px solid #888;
  border-radius: 20px;
  padding: 3px 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  color: #333;
  transition: all 0.15s;
  font-family: inherit;
}
.category-pill:hover {
  background: linear-gradient(180deg, #fff 0%, #e8e8e8 100%);
}
.category-pill.active {
  background: linear-gradient(180deg, #5a9adf 0%, #2866ab 100%);
  color: white;
  border-color: #1f5391;
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset;
}

/* product grid */
.shop-grid {
  background: white;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 16px;
  min-height: 500px;
}

.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 6px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
  position: relative;
}
.product:hover {
  background: #eaf2fc;
}
.product:active {
  background: #cfe0f5;
}

.product-sleeve {
  width: 130px;
  height: 130px;
  position: relative;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-sleeve-inner {
  width: 112px;
  height: 112px;
  position: relative;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 4px 10px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* vinyl disc peeking out to the right */
.product-sleeve::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 3px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at center, #444 14%, #222 15%, #1a1a1a 100%);
  box-shadow: 
    inset 0 0 0 1px rgba(255,255,255,0.1),
    inset 0 0 15px rgba(0,0,0,0.5),
    0 2px 4px rgba(0,0,0,0.3);
  z-index: 1;
  background-image: 
    repeating-radial-gradient(circle, transparent 0, transparent 2px, rgba(255,255,255,0.04) 2px, rgba(255,255,255,0.04) 3px),
    radial-gradient(circle at center, #3a3a3a 14%, transparent 14.5%);
}
.product:hover .product-sleeve::after {
  right: -16px;
  transition: right 0.35s ease-out;
}
.product-sleeve::after { transition: right 0.35s ease-out; }

/* sleeve content — REAL PHOTO variant */
.sleeve-photo {
  width: 100%;
  height: 100%;
  background-color: #f3f3f3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* "NEW" tag overlay */
.new-tag {
  position: absolute;
  top: 5px;
  left: 5px;
  background: var(--red);
  color: white;
  font-family: 'Pixelify Sans', monospace;
  font-weight: 700;
  font-size: 9px;
  padding: 2px 6px;
  letter-spacing: 0.08em;
  z-index: 5;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* sleeve content — MP3 file icon styled */
.sleeve-file {
  width: 100%;
  height: 100%;
  background: white;
  padding: 10px 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.sleeve-file-note {
  color: var(--note-color, #3a7ed0);
  font-size: 50px;
  line-height: 1;
  margin-top: 4px;
  filter: drop-shadow(1px 1px 0 rgba(0,0,0,0.15));
}
.sleeve-file-title {
  font-family: 'Pixelify Sans', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #555;
  letter-spacing: 0.15em;
  line-height: 1;
  margin-top: 4px;
}
/* colored variants — subtle tinted backgrounds */
.tint-1 { background: #dfeaf6; --note-color: #1f5aa8; }
.tint-2 { background: #f6eadf; --note-color: #c25a1a; }
.tint-3 { background: #e8f6df; --note-color: #4a8020; }
.tint-4 { background: #fbdfdf; --note-color: #b02828; }
.tint-5 { background: #f2e0f6; --note-color: #7a3a9a; }
.tint-6 { background: #fff; --note-color: #1a1a1a; }
.tint-7 { background: #f6f0df; --note-color: #a07818; }
.tint-8 { background: #dff0f6; --note-color: #1a6a80; }
.tint-9 { background: #f6dfea; --note-color: #a01f5a; }

/* Parental advisory sticker */
.advisory {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: black;
  color: white;
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  font-size: 5.5px;
  line-height: 1.05;
  padding: 2px 3px;
  text-align: center;
  letter-spacing: 0.02em;
  z-index: 3;
}

.product-name {
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text);
  max-width: 130px;
  word-wrap: break-word;
}
.product-price {
  font-family: 'VT323', monospace;
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 3px;
}

/* SOLD OUT overlay */
.sold-out {
  position: absolute;
  inset: 0;
  background: rgba(60, 60, 60, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}
.sold-out span {
  background: var(--red);
  color: white;
  font-family: 'Pixelify Sans', monospace;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* shop footer — status bar */
.shop-status {
  background: linear-gradient(180deg, #e6e6e6 0%, #c8c8c8 100%);
  border-top: 1px solid #a5a5a5;
  padding: 4px 12px;
  font-size: 11px;
  color: #555;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============================================
   DOCK (bottom)
   ============================================ */
.dock-wrap {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  padding: 0 20px;
  max-width: 100%;
}
.dock {
  background: rgba(255,255,255,0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 16px;
  padding: 6px 10px;
  display: flex;
  gap: 4px;
  align-items: flex-end;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.1),
    0 10px 30px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.6);
}
.dock-item {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.4, 0.8, 0.2, 1.4), margin 0.2s;
  position: relative;
  text-decoration: none;
  font-size: 34px;
}
.dock-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3));
}
.dock-item:hover {
  transform: translateY(-12px) scale(1.25);
  margin: 0 8px;
}
.dock-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.75);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Pixelify Sans', monospace;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.dock-item:hover::after { opacity: 1; }
.dock-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  margin: 0 4px;
  align-self: center;
}

/* ============================================
   BELOW FOLD — cascading windows
   ============================================ */
.below-fold {
  position: relative;
  padding: 40px 24px 160px;
  min-height: 100vh;
  z-index: 2;
}

.scroll-hint {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-family: 'Pixelify Sans', monospace;
  font-size: 13px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  text-align: center;
  z-index: 5;
  animation: bounce 2s infinite;
}
.scroll-hint .arrow {
  display: block;
  font-size: 18px;
  margin-top: 4px;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.cascade-windows {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* About window — styled like TextEdit */
.about-window .window-content {
  padding: 30px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #222;
}
.about-window h2 {
  font-family: 'Pixelify Sans', monospace;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #1a1a1a;
}
.about-window h2 span.accent { color: var(--blue-hl); }
.about-window p { margin-bottom: 14px; color: #333; }
.about-window .sig {
  font-family: 'VT323', monospace;
  font-size: 16px;
  color: var(--text-dim);
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed #bbb;
}

/* How to buy — wizard dialog */
.how-window .window-content {
  padding: 28px 32px 32px;
  background: #f3f3f3;
}
.how-window h2 {
  font-family: 'Pixelify Sans', monospace;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.how-window .subtitle {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 26px;
}
.how-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.how-step {
  background: white;
  border: 1px solid #bbb;
  border-radius: 6px;
  padding: 18px 16px 20px;
  text-align: center;
  position: relative;
}
.how-step-icon {
  font-size: 36px;
  margin-bottom: 10px;
  display: block;
}
.how-step-num {
  font-family: 'VT323', monospace;
  font-size: 15px;
  color: var(--blue-hl);
  margin-bottom: 6px;
  display: block;
}
.how-step h3 {
  font-family: 'Pixelify Sans', monospace;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.how-step p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
}

/* Sourcing — alert dialog */
.sourcing-window {
  max-width: 560px;
  margin: 40px auto;
}
.sourcing-window .window-content {
  padding: 28px 30px 20px;
  background: #f4f4f4;
  text-align: center;
}
.sourcing-window .sourcing-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}
.sourcing-window h2 {
  font-family: 'Pixelify Sans', monospace;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sourcing-window p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.dialog-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 10px 16px;
  border-top: 1px solid #c0c0c0;
  background: linear-gradient(180deg, #ebebeb 0%, #d8d8d8 100%);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.btn-default, .btn-primary {
  padding: 4px 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid #888;
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-default {
  background: linear-gradient(180deg, #fafafa 0%, #d5d5d5 100%);
}
.btn-default:hover { background: linear-gradient(180deg, #fff 0%, #e5e5e5 100%); }
.btn-primary {
  background: linear-gradient(180deg, #6aace8 0%, #2a6db8 100%);
  color: white;
  border-color: #1e5796;
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset;
  font-weight: 600;
}
.btn-primary:hover { background: linear-gradient(180deg, #7bbdf9 0%, #3a7ec9 100%); }

/* ============================================
   QUICKLOOK modal (record detail)
   ============================================ */
.quicklook-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.quicklook-overlay.active { display: flex; }
.quicklook {
  background: white;
  border-radius: 10px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: pop-in 0.25s cubic-bezier(0.4, 0.8, 0.2, 1.4);
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.quicklook-header {
  background: linear-gradient(180deg, #4a4a4a 0%, #2a2a2a 100%);
  color: white;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Pixelify Sans', monospace;
  font-size: 13px;
}
.quicklook-close {
  width: 20px; height: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  flex-shrink: 0;
}
.quicklook-close:hover { background: rgba(255,255,255,0.2); }
.quicklook-body {
  padding: 28px 28px 24px;
  text-align: center;
}
.quicklook-body .big-sleeve {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  position: relative;
}
.quicklook-body h3 {
  font-family: 'Pixelify Sans', monospace;
  font-size: 22px;
  margin-bottom: 4px;
}
.quicklook-body .artist {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 16px;
}
.quicklook-body .meta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: 'VT323', monospace;
  font-size: 15px;
  color: var(--text-dim);
}
.quicklook-body .meta-row span {
  padding: 2px 8px;
  background: #f0f0f0;
  border-radius: 3px;
  border: 1px solid #ddd;
}
.quicklook-footer {
  padding: 14px 20px;
  background: linear-gradient(180deg, #f0f0f0 0%, #d8d8d8 100%);
  border-top: 1px solid #bbb;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ============================================
   FOOTER (below cascade)
   ============================================ */
.page-footer {
  text-align: center;
  padding: 20px;
  color: rgba(255,255,255,0.8);
  font-family: 'VT323', monospace;
  font-size: 14px;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2;
}
.page-footer a { color: white; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 820px) {
  .menubar-menus button:nth-child(n+3) { display: none; }
  .menubar-brand { font-size: 13px; }

  /* On mobile, hide desktop icons entirely — the dock already has all these shortcuts */
  .desktop-icons { display: none; }

  /* Extra bottom padding so the dock doesn't cover the status bar */
  .desktop-area { padding: 50px 10px 110px; }

  /* Make shop window chrome + toolbar sit tighter on small screens */
  .window-chrome { padding: 6px 8px; height: 28px; }
  .window-title { font-size: 12px; }
  .shop-toolbar { padding: 6px 8px; gap: 6px; flex-wrap: wrap; }

  /* Keep breadcrumb visible but compact — shows "page X of Y" which matters! */
  .breadcrumb {
    flex: 1;
    min-width: 0;
    font-size: 11px;
    padding: 2px 8px;
    order: 3;
    width: 100%;
    flex-basis: 100%;
    margin-top: 4px;
  }
  .breadcrumb span:first-child { display: none; }   /* hide "shop" prefix */
  .breadcrumb span.sep:first-of-type { display: none; }

  .search-field { width: 100%; flex: 1; min-width: 0; order: 2; font-size: 12px; }
  .cart-btn { order: 4; padding: 3px 10px; font-size: 11px; }

  /* Category pills — tighter wrap */
  .shop-categories { padding: 8px 8px; gap: 5px; }
  .category-pill { padding: 3px 10px; font-size: 11px; }

  /* Grid + cards */
  .shop-grid { grid-template-columns: repeat(2, 1fr); padding: 12px 8px; gap: 16px 8px; min-height: 400px; }
  .product { padding: 6px 4px; }
  .product-sleeve { width: 130px; height: 130px; }
  .product-sleeve-inner { width: 115px; height: 115px; }
  .product-sleeve::after { width: 95px; height: 95px; top: 10px; }
  .sleeve-file-note { font-size: 40px; }
  .sleeve-file-title { font-size: 10px; }
  .product-name { font-size: 11px; max-width: 100%; }
  .product-price { font-size: 12px; }

  /* Status bar spacing so you can see "24 items · page 1 of 259" */
  .shop-status { padding: 6px 10px; font-size: 10px; }

  /* Dock sized for thumbs */
  .dock-wrap { bottom: 6px; }
  .dock-item { width: 40px; height: 40px; font-size: 26px; }
  .dock { padding: 4px 6px; }

  .below-fold { padding: 40px 12px 100px; }
  .how-steps { grid-template-columns: 1fr; }
  .about-window .window-content { padding: 20px; }
  .about-window h2 { font-size: 22px; }
  .sourcing-window h2 { font-size: 18px; }
  .scroll-hint { bottom: 100px; font-size: 11px; }
}

@media (max-width: 480px) {
  .menubar-brand span:last-child { display: none; }
  .menubar-right { font-size: 11px; gap: 6px; }

  /* Keep grid at 2 columns, NEVER hide nav arrows — they're pagination controls */
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .nav-arrows { flex-shrink: 0; }
  .nav-arrows button { padding: 3px 8px; font-size: 11px; }

  /* Slightly smaller cards to fit tight phones */
  .product-sleeve { width: 115px; height: 115px; }
  .product-sleeve-inner { width: 100px; height: 100px; }
  .product-sleeve::after { width: 80px; height: 80px; top: 10px; }
}

/* ============================================
   STOCK STATUS CHIPS
   ============================================ */
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: 'Pixelify Sans', monospace;
  font-size: 10px; line-height: 1; letter-spacing: .04em;
  padding: 3px 7px 4px; border-radius: 3px;
  border: 1px solid var(--border-dark);
  text-transform: uppercase; white-space: nowrap;
}
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.chip-in_stock      { background: #dff5e1; color: #1c6b2c; border-color: #7cb98a; }
.chip-in_stock::before      { background: #2ea043; }
.chip-pre_order     { background: #dfeaf9; color: #1b4b87; border-color: #83a9d8; }
.chip-pre_order::before     { background: #3875d7; }
.chip-arriving_soon { background: #fdf3d4; color: #7a5a00; border-color: #d8bf6a; }
.chip-arriving_soon::before { background: #e0a800; }
.chip-sold_out      { background: #ececec; color: #6a6a6a; border-color: #b4b4b4; }
.chip-sold_out::before      { background: #9a9a9a; }

/* ============================================
   PRODUCT CARD ADDITIONS
   ============================================ */
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card.is-unavailable .product-sleeve { filter: grayscale(1); opacity: .55; }
/* Must sit above .product-sleeve-inner, which is also a positioned
   z-index:2 element and would otherwise win the tie on DOM order. */
.product-top { position: absolute; top: 6px; left: 6px; z-index: 5; }
.product-price {
  font-family: 'Pixelify Sans', monospace;
  font-size: 13px; font-weight: 600; color: var(--text); margin-top: 2px;
}
.product-price .tbc { color: var(--text-dim); font-size: 11px; font-weight: 400; }
.product-edition {
  font-size: 10px; color: var(--text-dim); line-height: 1.3; margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-actions { margin-top: auto; padding-top: 7px; }
.btn-add {
  width: 100%; font-family: 'Pixelify Sans', monospace; font-size: 11px;
  padding: 5px 8px; border-radius: 4px; cursor: pointer;
  border: 1px solid var(--border-dark);
  background: linear-gradient(#fdfdfd, #e3e3e3); color: var(--text);
  transition: filter .12s ease;
}
.btn-add:hover:not(:disabled) { filter: brightness(1.04); }
.btn-add:active:not(:disabled) { background: linear-gradient(#d5d5d5, #ececec); }
.btn-add.primary {
  background: linear-gradient(#7fb3f0, #3875d7); color: #fff; border-color: #2c5da8;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset;
}
.btn-add:disabled { opacity: .5; cursor: not-allowed; }
.btn-add.added { background: linear-gradient(#8fd79b, #3fa254); color:#fff; border-color:#2f7d40; }

/* ============================================
   CART DRAWER — slides in as a Mac window
   ============================================ */
.cart-count {
  display: none; min-width: 16px; height: 16px; padding: 0 4px; margin-left: 5px;
  border-radius: 8px; background: var(--red); color: #fff;
  font-family: 'Pixelify Sans', monospace; font-size: 10px;
  align-items: center; justify-content: center;
}
.cart-count.show { display: inline-flex; }

.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.35);
  opacity: 0; pointer-events: none; transition: opacity .22s ease; z-index: 900;
  backdrop-filter: blur(2px);
}
.drawer-overlay.active { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--window-bg); z-index: 901;
  border-left: 1px solid var(--border-dark);
  box-shadow: -8px 0 28px rgba(0,0,0,.28);
  transform: translateX(102%); transition: transform .26s cubic-bezier(.22,.75,.3,1);
  display: flex; flex-direction: column;
}
.cart-drawer.active { transform: translateX(0); }
.cart-body { flex: 1; overflow-y: auto; padding: 12px; }
.cart-empty { text-align: center; color: var(--text-dim); padding: 48px 20px; }
.cart-empty .big { font-size: 40px; margin-bottom: 10px; }

.cart-line {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid #dcdcdc; align-items: start;
}
.cart-line:last-child { border-bottom: 0; }
.cart-line-img {
  width: 52px; height: 52px; border: 1px solid var(--border);
  background: #ddd center/cover no-repeat; border-radius: 2px;
}
.cart-line-title { font-weight: 600; font-size: 12px; line-height: 1.3; }
.cart-line-artist { font-size: 11px; color: var(--text-dim); }
.cart-line-ed { font-size: 10px; color: var(--text-dim); margin-top: 2px; }
.cart-line-right { text-align: right; font-family: 'Pixelify Sans', monospace; font-size: 12px; }
.qty-stepper { display: inline-flex; align-items: center; gap: 0; margin-top: 5px; }
.qty-stepper button {
  width: 20px; height: 20px; line-height: 1; cursor: pointer;
  border: 1px solid var(--border-dark); background: linear-gradient(#fdfdfd, #e3e3e3);
}
.qty-stepper button:first-child { border-radius: 3px 0 0 3px; }
.qty-stepper button:last-child  { border-radius: 0 3px 3px 0; border-left: 0; }
.qty-stepper span {
  min-width: 26px; text-align: center; font-size: 11px;
  border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark);
  height: 20px; line-height: 19px; background: #fff;
}
.cart-remove {
  background: none; border: 0; color: var(--text-dim); cursor: pointer;
  font-size: 10px; text-decoration: underline; padding: 3px 0 0;
}
.cart-remove:hover { color: var(--red); }

.cart-foot { border-top: 1px solid var(--border); padding: 12px; background: #f4f4f4; }
.cart-row { display: flex; justify-content: space-between; font-size: 12px; padding: 2px 0; }
.cart-row.total {
  font-family: 'Pixelify Sans', monospace; font-size: 15px;
  border-top: 1px solid #ccc; margin-top: 6px; padding-top: 7px;
}
.cart-row .muted { color: var(--text-dim); }
.deposit-note {
  background: #fdf3d4; border: 1px solid #d8bf6a; border-radius: 4px;
  padding: 7px 9px; font-size: 11px; margin-top: 9px; line-height: 1.45;
}

/* ============================================
   FORMS
   ============================================ */
.field { margin-bottom: 10px; }
.field label {
  display: block; font-size: 11px; font-weight: 600;
  margin-bottom: 3px; color: #444;
}
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 13px; padding: 6px 8px;
  border: 1px solid var(--border-dark); border-radius: 3px; background: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.08);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--blue-hl); outline-offset: -1px; border-color: var(--blue-hl);
}
.field textarea { min-height: 68px; resize: vertical; }
.field .hint { font-size: 10px; color: var(--text-dim); margin-top: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-msg { padding: 8px 10px; border-radius: 4px; font-size: 12px; margin-bottom: 10px; display: none; }
.form-msg.show { display: block; }
.form-msg.err { background: #fde8e6; border: 1px solid #e2a49e; color: #8c211a; }
.form-msg.ok  { background: #dff5e1; border: 1px solid #7cb98a; color: #1c6b2c; }

/* ============================================
   NEWS + JOURNAL
   ============================================ */
.news-list { display: grid; gap: 12px; }
.news-item {
  display: grid; grid-template-columns: 96px 1fr; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid #dcdcdc;
}
.news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.news-item.no-img { grid-template-columns: 1fr; }
.news-thumb {
  width: 96px; height: 96px; border: 1px solid var(--border);
  background: #ddd center/cover no-repeat; border-radius: 2px;
}
.news-date {
  font-family: 'VT323', monospace; font-size: 14px; color: var(--text-dim);
}
.news-item h3 { font-size: 14px; margin: 2px 0 4px; }
.news-item p { font-size: 12px; line-height: 1.55; color: #333; }
.news-item a.more { color: var(--blue-hl); font-size: 11px; }

.journal-feed { display: grid; gap: 10px; }
.journal-entry {
  background: #fff; border: 1px solid var(--border);
  border-radius: 4px; padding: 10px 12px;
}
.journal-entry .news-date { display: block; margin-bottom: 4px; }
.journal-entry p { font-size: 12px; line-height: 1.6; white-space: pre-wrap; }
.journal-entry img { margin-top: 8px; border-radius: 3px; border: 1px solid var(--border); }

/* ============================================
   SPOTIFY
   ============================================ */
.spotify-embed { margin-top: 12px; }
.spotify-embed iframe {
  width: 100%; height: 152px; border: 0; border-radius: 10px; display: block;
}
.spotify-note {
  font-size: 10px; color: var(--text-dim); margin-top: 4px;
  display: flex; align-items: center; gap: 4px;
}

/* ============================================
   MISC
   ============================================ */
.section-head {
  font-family: 'Pixelify Sans', monospace; font-size: 12px;
  text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim);
  border-bottom: 1px solid #d4d4d4; padding-bottom: 5px; margin-bottom: 10px;
}
.announcement {
  background: var(--advisory-yellow); border-bottom: 1px solid #c9ab2e;
  padding: 5px 12px; font-size: 12px; text-align: center;
}
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 14px);
  background: rgba(28,28,28,.94); color: #fff; padding: 9px 16px;
  border-radius: 18px; font-size: 12px; z-index: 1200;
  opacity: 0; pointer-events: none; transition: all .22s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.skeleton {
  background: linear-gradient(90deg, #e4e4e4 25%, #efefef 37%, #e4e4e4 63%);
  background-size: 400% 100%; animation: shimmer 1.3s ease infinite;
}
@keyframes shimmer { 0% { background-position: 100% 50% } 100% { background-position: 0 50% } }

@media (max-width: 680px) {
  .field-row { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 68px 1fr; }
  .news-thumb { width: 68px; height: 68px; }
  .cart-drawer { width: 100%; }
}

/* ============================================
   MEET-UP CARD + MAP LINKS
   ============================================ */
.meetup-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 4px; padding: 10px 12px;
}
.meetup-card strong { font-size: 12px; display: block; }
.meetup-card p { font-size: 11px; color: var(--text-dim); line-height: 1.5; margin: 3px 0 8px; }
.meetup-links { display: flex; gap: 8px; flex-wrap: wrap; }
.meetup-links a {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: 'Pixelify Sans', monospace; font-size: 11px;
  padding: 5px 10px; border-radius: 4px; text-decoration: none;
  border: 1px solid var(--border-dark);
  background: linear-gradient(#fdfdfd, #e3e3e3); color: var(--text);
}
.meetup-links a:hover { filter: brightness(1.04); }

/* ============================================
   TERMS PAGE
   ============================================ */
.doc-window { max-width: 780px; margin: 0 auto; }
.doc-content { padding: 26px 30px 34px; background: #fff; }
.doc-content h1 {
  font-family: 'Pixelify Sans', monospace; font-size: 30px;
  line-height: 1.1; margin-bottom: 6px;
}
.doc-content .lede {
  font-size: 13px; color: var(--text-dim); line-height: 1.6;
  border-bottom: 1px solid #e2e2e2; padding-bottom: 16px; margin-bottom: 22px;
}
.doc-content section { margin-bottom: 24px; }
.doc-content h2 {
  font-family: 'Pixelify Sans', monospace; font-size: 15px;
  display: flex; align-items: center; gap: 7px; margin-bottom: 8px;
}
.doc-content h2::before {
  content: ''; width: 7px; height: 7px; background: var(--blue-hl);
  border-radius: 1px; flex: none;
}
.doc-content p  { font-size: 13px; line-height: 1.65; margin-bottom: 8px; }
.doc-content ul { margin: 0 0 8px 18px; }
.doc-content li { font-size: 13px; line-height: 1.65; margin-bottom: 4px; }
.doc-content .callout {
  background: #f2f6fc; border: 1px solid #c3d5ee; border-left: 3px solid var(--blue-hl);
  border-radius: 3px; padding: 10px 13px; font-size: 12.5px; line-height: 1.6; margin: 10px 0;
}
.doc-content .callout.warn { background: #fdf3d4; border-color: #d8bf6a; border-left-color: #e0a800; }

.tier-table { width: 100%; border-collapse: collapse; margin: 10px 0 6px; font-size: 12.5px; }
.tier-table th, .tier-table td {
  border: 1px solid #d8d8d8; padding: 7px 10px; text-align: left; vertical-align: top;
}
.tier-table th { background: #efefef; font-family: 'Pixelify Sans', monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: .04em; }
.tier-table td:first-child {
  font-family: 'Pixelify Sans', monospace; font-size: 15px;
  width: 74px; text-align: center; color: var(--blue-hl); font-weight: 600;
}
.doc-sign {
  margin-top: 26px; padding-top: 16px; border-top: 1px solid #e2e2e2;
  font-family: 'VT323', monospace; font-size: 17px; color: var(--text-dim);
}
.doc-updated { font-size: 11px; color: var(--text-dim); margin-top: 4px; }

@media (max-width: 680px) {
  .doc-content { padding: 20px 18px 28px; }
  .doc-content h1 { font-size: 24px; }
  .tier-table td:first-child { width: 58px; font-size: 13px; }
}
