/* === SHARED PAGE STYLES === */
.page-content {
  padding: 9.5rem 2rem 6rem;
  max-width: 900px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 4rem;
}

.page-title {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green);
  letter-spacing: 0.3em;
}

/* Active nav link */
#nav-links a.active {
  color: var(--white);
}

#nav-links a.active::after {
  width: 100%;
}

/* === THE RACK (SHOP) === */
.shop-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #555;
  letter-spacing: 0.15em;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes feedIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.status-live {
  color: var(--green);
}

#product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.product-card {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
  opacity: 0;
  animation: feedIn 0.5s forwards;
}

.product-card:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  display: block;
  transition: transform 0.4s;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-status {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  padding: 3px 8px;
  background: rgba(0,0,0,0.8);
  color: var(--green);
  border: 1px solid rgba(57,255,20,0.25);
}

.product-status.low-stock {
  color: #ff2d2d;
  border-color: rgba(255,45,45,0.35);
}

.product-price.flux-up { color: #39ff14; transition: color 0.3s; }
.product-price.flux-down { color: #ff2d2d; transition: color 0.3s; }

/* Countdown + email capture */
.shop-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.countdown-line {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 0.12em;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.countdown-line .cd-timer {
  color: var(--green);
  font-weight: 700;
}

.shop-email-capture {
  max-width: 420px;
  margin: 0 auto;
  padding: 1.2rem;
  border: 1px solid rgba(57,255,20,0.2);
  background: rgba(10,10,10,0.6);
}

.shop-email-capture label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--green);
  margin-bottom: 0.8rem;
}

.shop-email-form {
  display: flex;
  gap: 0.5rem;
}

.shop-email-form input {
  flex: 1;
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 0.7rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  outline: none;
}

.shop-email-form input:focus {
  border-color: var(--green);
}

.shop-email-form button {
  background: var(--green);
  color: #000;
  border: none;
  padding: 0 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: background 0.2s;
}

.shop-email-form button:hover {
  background: #fff;
}

.product-status.sold-out {
  color: var(--accent);
  border-color: rgba(255,60,60,0.3);
  text-decoration: line-through;
}

.product-info {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--white);
}

.product-price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
}

.shop-empty {
  text-align: center;
  padding: 3rem 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #333;
  line-height: 2;
  letter-spacing: 0.1em;
}

/* === THE MANIFESTO (ABOUT) === */
.manifesto-body {
  max-width: 700px;
  margin: 0 auto;
}

.manifesto-section {
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.manifesto-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-marker {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--green);
  letter-spacing: 0.2em;
  margin-bottom: 0.8rem;
}

.manifesto-section h2 {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1.2rem;
  color: var(--white);
}

.manifesto-section p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.8;
  color: #aaa;
  margin-bottom: 1rem;
}

.manifesto-divider {
  text-align: center;
  padding: 2rem 0;
  opacity: 0;
  transition: opacity 0.6s;
}

.manifesto-divider.visible {
  opacity: 1;
}

.manifesto-divider span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #333;
  letter-spacing: 0.3em;
}

.protocol-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.protocol-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.protocol-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  min-width: 24px;
}

.protocol-item span:last-child {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.6;
}

.manifesto-closing {
  font-family: var(--font-mono) !important;
  font-size: 1.3rem !important;
  color: var(--white) !important;
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.8 !important;
}

.manifesto-coordinates {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #333;
  letter-spacing: 0.2em;
  flex-wrap: wrap;
}

.manifesto-footer-section {
  padding-top: 2rem;
}

/* === THE FINE PRINT (LEGAL) === */
.legal-nav {
  display: flex;
  gap: 0;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.legal-tab {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #555;
  text-decoration: none;
  letter-spacing: 0.15em;
  padding: 0.8rem 1.5rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.legal-tab:hover {
  color: var(--white);
}

.legal-tab.active {
  color: var(--white);
  border-bottom-color: var(--accent);
}

@media (max-width: 600px) {
  .legal-nav {
    flex-direction: column;
    border-bottom: none;
  }
  .legal-tab {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    border-left: 2px solid transparent;
  }
  .legal-tab.active {
    border-bottom-color: rgba(255,255,255,0.04);
    border-left-color: var(--accent);
  }
}

.legal-section {
  display: none;
}

.legal-section.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.legal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.legal-icon {
  font-size: 1.2rem;
}

.legal-header h2 {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.legal-date {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #444;
  letter-spacing: 0.15em;
  margin-left: auto;
}

.legal-block {
  margin-bottom: 2.5rem;
}

.legal-block h3 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 1rem;
}

.legal-block p {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.8;
  color: #888;
  margin-bottom: 0.8rem;
}

.legal-block ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.legal-block ul li {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #888;
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.legal-block ul li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.legal-note {
  font-family: var(--font-mono) !important;
  font-size: 0.75rem !important;
  color: #444 !important;
  font-style: italic;
  margin-top: 0.5rem;
}

.legal-email {
  color: var(--accent);
  font-family: var(--font-mono);
}

/* === TERMINAL CODE-BLOCK PAGE === */
.terminal-page {
  max-width: 1000px;
  padding: 9rem 1.5rem 5rem;
}

.terminal-block {
  background: #0a0a0a;
  border: 1px solid rgba(57,255,20,0.15);
  border-radius: 2px;
  box-shadow: 0 0 40px rgba(0,255,65,0.04), inset 0 0 80px rgba(0,0,0,0.6);
  padding: 1.5rem 1.8rem;
  overflow-x: auto;
  position: relative;
}

.terminal-block::before {
  content: '● ● ●';
  position: absolute;
  top: 0.5rem;
  left: 0.8rem;
  font-size: 0.7rem;
  color: #333;
  letter-spacing: 0.4em;
}

.terminal-code {
  font-family: var(--font-mono), 'Space Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #c8c8c8;
  margin: 0;
  margin-top: 1.2rem;
  white-space: pre;
  tab-size: 2;
}

.terminal-code { color: #d4d4d4; }
.tc-cmt { color: #8a8a8a; font-style: italic; }
.tc-kw  { color: #d4d4d4; font-weight: 700; }
.tc-cls { color: #d4d4d4; }
.tc-str { color: #d4d4d4; }
.tc-val { color: #d4d4d4; font-weight: 700; }
.tc-num { color: #d4d4d4; }

/* Typewriter cursor */
.tw-cursor {
  color: #00ff66;
  animation: tw-blink 0.6s step-end infinite;
  font-weight: bold;
}
.tw-cursor.tw-done {
  animation: tw-fade 1.5s forwards;
}
@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes tw-fade {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 700px) {
  .terminal-code { font-size: 0.66rem; }
  .terminal-block { padding: 1.2rem 1rem; }
}

/* === PAGE TITLE === */
.glitch-title {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  text-align: center;
  margin: 0 0 2rem;
  display: block;
  width: 100%;
}

/* === 90s PIXEL-FONT APPLIED ACROSS SITE === */
.page-title,
.glitch-title,
#nav-logo,
#nav-links a,
#mobile-menu a,
.shop-status,
.product-name,
.product-price,
.product-status,
.countdown-line,
.shop-email-capture label,
.shop-email-form button,
.legal-tab,
.legal-header h2,
.legal-block h3,
.section-marker,
.manifesto-section h2 {
  font-family: var(--font-pixel), 'Space Mono', monospace !important;
  letter-spacing: 0.06em;
}

/* Bump font sizes slightly — pixel font renders smaller */
#nav-logo { font-size: 1.3rem !important; }
#nav-links a { font-size: 0.95rem !important; }
.page-title { font-size: clamp(1.4rem, 3vw, 2rem) !important; }
.page-subtitle { font-family: var(--font-pixel) !important; font-size: 1rem !important; }
.shop-status { font-size: 0.9rem !important; }
.product-name { font-size: 0.95rem !important; }
.product-price { font-size: 1.1rem !important; }
.product-status { font-size: 0.72rem !important; }
.countdown-line { font-size: 1rem !important; }
.shop-email-capture label { font-size: 0.88rem !important; }
.shop-email-form input { font-family: var(--font-pixel) !important; font-size: 0.95rem !important; }
.shop-email-form button { font-size: 0.9rem !important; }

/* === SITE FOOTER BLOCK (shared on all pages) === */
.site-footer-block {
  max-width: 420px;
  margin: 4rem auto 3rem;
  padding: 1.5rem 1rem 0;
  border-top: 1px dashed #2a2a2a;
}
.site-footer-block .web-buttons {
  max-width: 400px;
  margin: 0 auto 0.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}
.site-footer-block .gate-footer-strip {
  max-width: 400px;
  margin: 0.4rem auto 0;
  padding: 0.4rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-pixel);
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 0.05em;
  border-top: 1px dashed #333;
}
.site-footer-block .visitor-counter {
  background: #000;
  color: #39ff14;
  padding: 2px 8px;
  border: 1px inset #39ff14;
  font-family: var(--font-bitmap);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}
.site-footer-block .webmaster { color: #00ccff; text-decoration: underline; }

/* ============================================ */
/* === BLOOMBERG-STYLE PRODUCT TERMINAL MODAL === */
/* ============================================ */
.product-card { position: relative; cursor: pointer; }
.product-ticker-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(0,0,0,0.85);
  color: #00ff66;
  font-family: 'VT323', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border: 1px solid rgba(0,255,102,0.4);
  border-radius: 2px;
  z-index: 2;
}
.product-click-hint {
  position: absolute;
  bottom: 6px; right: 10px;
  font-family: 'VT323', monospace;
  font-size: 0.7rem;
  color: rgba(0,255,102,0.6);
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.product-card:hover .product-click-hint { opacity: 1; }

.term-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  padding: 20px;
  backdrop-filter: blur(3px);
}
.term-modal.open { display: flex; }

.term-window {
  width: 100%;
  max-width: 1200px;
  height: 88vh;
  max-height: 780px;
  background: #0a1410;
  border: 1px solid #00ff66;
  box-shadow: 0 0 0 1px #000, 0 0 40px rgba(0,255,102,0.2), inset 0 0 80px rgba(0,255,102,0.03);
  display: flex;
  flex-direction: column;
  font-family: 'VT323', monospace;
  color: #c8ffd8;
  overflow: hidden;
}

.term-titlebar {
  background: linear-gradient(180deg, #0a3018 0%, #05180c 100%);
  border-bottom: 1px solid #00ff66;
  display: flex;
  align-items: center;
  padding: 5px 10px;
  gap: 10px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  color: #00ff66;
  letter-spacing: 0.08em;
}
.term-titlebar-dots { display: flex; gap: 5px; }
.term-titlebar-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #666; border: 1px solid #000;
}
.term-titlebar-dots span:nth-child(1) { background: #ff3355; }
.term-titlebar-dots span:nth-child(2) { background: #ffcc00; }
.term-titlebar-dots span:nth-child(3) { background: #00ff66; }
.term-titlebar-text { flex: 1; text-align: center; font-size: 0.6rem; }
.term-titlebar-x {
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  padding: 0 6px;
  color: #00ff66;
  font-family: monospace;
}
.term-titlebar-x:hover { color: #ff3355; }

.term-body {
  flex: 1;
  display: grid;
  grid-template-columns: 380px 1fr 260px;
  gap: 1px;
  background: #00ff66;
  overflow: hidden;
}
.term-left, .term-center, .term-right {
  background: #0a1410;
  overflow: auto;
  padding: 12px;
}

/* LEFT PANEL */
.term-prod-img {
  width: 100%;
  background: #000;
  border: 1px solid rgba(0,255,102,0.3);
  margin-bottom: 10px;
  overflow: hidden;
  line-height: 0;
}
.term-prod-img img { width: 100%; height: auto; display: block; }
.term-prod-meta { margin: 10px 0; }
.term-prod-meta .term-row { padding: 2px 0; font-size: 0.8rem; }
.term-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(0,255,102,0.15);
  font-size: 0.85rem;
}
.term-row span { color: rgba(200,255,216,0.5); letter-spacing: 0.08em; font-size: 0.72rem; }
.term-row b { color: #c8ffd8; font-weight: normal; }
.term-row .stat-ok { color: #00ff66; }
.term-row .stat-low { color: #ffcc00; }
.term-buy-btn {
  width: 100%;
  background: #00ff66;
  color: #000;
  border: 1px solid #00ff66;
  padding: 10px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.15s;
}
.term-buy-btn:hover { background: #c8ffd8; box-shadow: 0 0 15px rgba(0,255,102,0.6); }

/* CENTER PANEL */
.term-price-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 10px;
  gap: 14px; flex-wrap: wrap;
}
.term-last-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  color: rgba(200,255,216,0.5);
  letter-spacing: 0.1em;
  margin-right: 10px;
}
.term-last-price {
  font-size: 2.4rem;
  color: #c8ffd8;
  font-weight: bold;
  margin-right: 12px;
}
.term-change { font-size: 1rem; letter-spacing: 0.03em; }
.term-change.up { color: #00ff66; }
.term-change.down { color: #ff3355; }

.term-range-tabs { display: flex; gap: 2px; }
.term-range-tabs button {
  background: #000;
  color: rgba(200,255,216,0.5);
  border: 1px solid rgba(0,255,102,0.25);
  padding: 5px 10px;
  font-family: 'VT323', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.15s;
}
.term-range-tabs button:hover { color: #00ff66; border-color: #00ff66; }
.term-range-tabs button.active { background: #00ff66; color: #000; border-color: #00ff66; }

.term-chart-wrap {
  position: relative;
  width: 100%;
  height: 340px;
  background: #000;
  border: 1px solid rgba(0,255,102,0.2);
  margin-bottom: 12px;
}
#term-chart { width: 100%; height: 100%; display: block; }

.term-stats-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(0,255,102,0.15);
  border: 1px solid rgba(0,255,102,0.2);
}
.term-stat {
  background: #0a1410;
  padding: 8px 10px;
  display: flex; flex-direction: column; gap: 3px;
}
.term-stat span {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.42rem;
  letter-spacing: 0.1em;
  color: rgba(200,255,216,0.45);
}
.term-stat b { font-size: 0.95rem; color: #c8ffd8; font-weight: normal; }
.term-stat b.up { color: #00ff66; }
.term-stat b.down { color: #ff3355; }

/* RIGHT PANEL */
.term-panel { margin-bottom: 12px; }
.term-panel-head {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: #00ff66;
  padding: 4px 0;
  border-bottom: 1px solid rgba(0,255,102,0.3);
  margin-bottom: 6px;
}
.term-book { display: flex; flex-direction: column; font-size: 0.82rem; }
.book-row {
  position: relative;
  display: flex; justify-content: space-between;
  padding: 2px 6px;
  font-family: 'VT323', monospace;
  letter-spacing: 0.03em;
  z-index: 1;
}
.book-row::before {
  content: ''; position: absolute;
  top: 0; right: 0; bottom: 0;
  width: var(--fill, 0%);
  z-index: -1;
  opacity: 0.18;
}
.book-row.ask { color: #ff3355; }
.book-row.ask::before { background: #ff3355; }
.book-row.bid { color: #00ff66; }
.book-row.bid::before { background: #00ff66; }
.term-book-spread {
  text-align: center;
  padding: 4px;
  font-size: 0.72rem;
  color: rgba(200,255,216,0.6);
  border-top: 1px dashed rgba(0,255,102,0.2);
  border-bottom: 1px dashed rgba(0,255,102,0.2);
  margin: 3px 0;
  letter-spacing: 0.06em;
}
.term-trades { font-size: 0.8rem; font-family: 'VT323', monospace; }
.trade-row {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr 0.5fr;
  gap: 6px;
  padding: 2px 4px;
  letter-spacing: 0.02em;
}
.trade-row.buy span:nth-child(2) { color: #00ff66; }
.trade-row.sell span:nth-child(2) { color: #ff3355; }
.trade-row:nth-child(odd) { background: rgba(0,255,102,0.03); }

/* FOOTER */
.term-footer {
  border-top: 1px solid #00ff66;
  background: #05180c;
  padding: 5px 12px;
  display: flex; gap: 18px; flex-wrap: wrap;
  font-family: 'VT323', monospace;
  font-size: 0.78rem;
  color: rgba(200,255,216,0.6);
  letter-spacing: 0.04em;
}
.term-foot-item b { color: #c8ffd8; font-weight: normal; margin-left: 4px; }
.term-foot-item b.ok { color: #00ff66; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .term-body { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .term-left { display: flex; gap: 10px; align-items: flex-start; }
  .term-prod-img { width: 90px; flex-shrink: 0; margin-bottom: 0; }
  .term-prod-meta { flex: 1; margin-bottom: 0; }
  .term-stats-row { grid-template-columns: repeat(3, 1fr); }
  .term-chart-wrap { height: 240px; }
  .term-last-price { font-size: 1.6rem; }
  .term-window { height: 95vh; }
}

/* === SHOPIFY-STYLE COMMERCE BLOCK (inside terminal) === */
.shop-block {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,255,102,0.25);
  font-family: 'VT323', monospace;
}
.shop-block-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.45rem;
  letter-spacing: 0.12em;
  color: rgba(200,255,216,0.5);
  margin: 8px 0 5px;
}
.shop-size-row { display: flex; gap: 5px; margin-bottom: 2px; }
.shop-size {
  flex: 1;
  background: #000;
  color: #c8ffd8;
  border: 1px solid rgba(0,255,102,0.3);
  padding: 8px 0;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.12s;
}
.shop-size:hover { border-color: #00ff66; color: #00ff66; }
.shop-size.active {
  background: #c8ffd8;
  color: #000;
  border-color: #c8ffd8;
}
.shop-qty-row {
  display: flex;
  align-items: stretch;
  gap: 4px;
  margin-bottom: 10px;
}
.shop-qty-btn {
  width: 32px;
  background: #000;
  color: #00ff66;
  border: 1px solid rgba(0,255,102,0.3);
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.12s;
}
.shop-qty-btn:hover { background: #0a2418; border-color: #00ff66; }
#shop-qty-input {
  flex: 1;
  background: #000;
  color: #c8ffd8;
  border: 1px solid rgba(0,255,102,0.3);
  text-align: center;
  font-family: 'VT323', monospace;
  font-size: 1rem;
  padding: 4px;
  outline: none;
}
.shop-add-btn {
  width: 100%;
  background: #000;
  color: #00ff66;
  border: 2px solid #00ff66;
  padding: 11px 8px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.15s;
  text-transform: uppercase;
}
.shop-add-btn:hover {
  background: #00ff66;
  color: #000;
  box-shadow: 0 0 15px rgba(0,255,102,0.45);
}
.shop-add-btn.added {
  background: #c8ffd8;
  color: #000;
  border-color: #c8ffd8;
}
.shop-disclaimer {
  font-size: 0.72rem;
  color: rgba(200,255,216,0.4);
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.04em;
}
