:root {
  /* Elegant Light Concrete Gray & Vivid Orange Theme */
  --soot: #f2f4f7;          /* Soft clean light gray background */
  --concrete: #ffffff;      /* Pure white card backgrounds */
  --concrete-subtle: #e8ecf2; /* Subtle divider gray */
  --rib: #dde2ea;           /* Border & structural line tone */
  --card-bg: #ffffff;
  --card-hover: #ffffff;
  --paper: #191c21;         /* Deep readable dark charcoal text */
  --paper-dim: #647082;     /* High-legibility slate gray secondary text */
  --paper-muted: #8c9ba8;
  
  /* Vivid Energetic Orange Accents */
  --brass: #ff5714;
  --brass-2: #ff7536;
  --brass-light: #fff2ec;
  --brass-glow: rgba(255, 87, 20, 0.35);
  
  --up: #10b981;
  --down: #ef4444;
  --line: rgba(0, 0, 0, 0.07);
  --line-strong: rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  /* Dark Roast / Over-roasted filter override */
  --roast-filter: none;
}

@font-face {
  font-family: "SILO Lalezar";
  src: url("fonts/lalezar-arabic.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "SILO Unbounded";
  src: url("fonts/unbounded-800-latin.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; }
.exhibits > img { width: 100%; height: auto; border-radius: 16px; object-fit: cover; }
html, body { margin: 0; background: var(--soot); color: var(--paper); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Vazirmatn", Tahoma, sans-serif;
  line-height: 1.85;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

#preview-banner {
  display: none;
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--brass);
  color: #fff;
  text-align: center;
  font-weight: 800;
  padding: 10px 16px;
  font-size: 14px;
}
#preview-banner.show { display: block; }

.silo-entry-gate {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(1200px 600px at 50% 0%, rgba(255, 87, 20, 0.12), #f6f3ee 55%);
}
.silo-entry-gate[hidden] { display: none !important; }
.silo-entry-card {
  width: min(420px, 92vw);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 28px 22px 24px;
  box-shadow: var(--shadow-sm);
}
.silo-entry-card h1 {
  margin: 8px 0 10px;
  font-size: clamp(22px, 6vw, 28px);
  letter-spacing: -0.03em;
}
.silo-entry-note {
  margin: 0 0 18px;
  color: var(--paper-dim);
  font-weight: 700;
  line-height: 1.8;
  font-size: 14px;
}
.silo-entry-card .shift-btn {
  width: 100%;
  min-height: 52px;
  font-size: 17px;
}
body.silo-gated { overflow: hidden; }

a { color: var(--brass); text-decoration: none; }

/* Dynamic Spotlight Effect - Light mode ambient beam */
.spotlight {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 5;
  background: radial-gradient(750px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 87, 20, 0.05), transparent 65%);
  transition: opacity 0.3s ease;
}

.ribs {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 46px,
      rgba(0,0,0,0.015) 46px,
      rgba(0,0,0,0.015) 48px
    );
}

.floors {
  position: fixed;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floors a {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  background: transparent;
  transition: all 0.2s;
}
.floors a.on { background: var(--brass); transform: scale(1.3); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 6vw;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
}
.brand-lockup img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--brass);
}
.brand-lockup > span { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.brand-lockup strong {
  display: block;
  font-family: "SILO Unbounded", "Vazirmatn", sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.2em;
  color: var(--paper);
  direction: ltr;
  text-align: right;
}
.brand-lockup strong::first-letter { color: var(--brass); }
.brand-lockup small {
  font-family: "SILO Lalezar", "Vazirmatn", sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--brass);
  line-height: 1.2;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .brand-lockup { gap: 8px; }
  .brand-lockup strong { font-size: 15px; letter-spacing: 0.14em; }
  .brand-lockup small {
    font-size: 10px;
    white-space: normal;
    max-width: 7.2rem;
    line-height: 1.2;
  }
}

.topbar nav { display: flex; gap: 18px; font-size: 13px; font-weight: 700; }
.topbar nav a { color: var(--paper-dim); transition: color 0.2s; position: relative; padding: 4px 0; }
.topbar nav a:hover { color: var(--brass); }
.topbar nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.topbar nav a:hover::after { transform: scaleX(1); }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-nav-btn {
  background: var(--brass);
  border: none;
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px var(--brass-glow);
}
.cart-nav-btn:hover {
  background: var(--brass-2);
  color: #fff;
  transform: translateY(-1px);
}
.cart-badge {
  background: #fff;
  color: var(--brass);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

.user-panel-btn {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.user-panel-btn:hover,
.user-panel-btn.on {
  border-color: var(--brass);
  color: var(--brass);
  background: rgba(196, 165, 116, 0.12);
}

.user-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 9000;
}
.user-panel-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.user-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(100%, 380px);
  background: #fff;
  border-left: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  z-index: 9001;
  transform: translateX(102%);
  transition: transform 0.3s ease;
  padding: 20px 18px 24px;
  overflow-y: auto;
}
.user-panel.open { transform: translateX(0); }
.user-panel-close { position: absolute; top: 12px; right: 12px; left: auto; }
.user-panel-inner { margin-top: 36px; display: flex; flex-direction: column; gap: 10px; }
.user-panel-kicker { font-size: 11px; font-weight: 900; color: var(--brass); margin: 0; }
.user-panel h3 { margin: 4px 0 0; font-size: 22px; color: var(--paper); }
.user-panel-lead { margin: 0; font-size: 13px; line-height: 1.65; color: var(--paper-dim); }
.user-panel-phone { font-weight: 900; color: var(--paper); margin: 0; direction: ltr; text-align: right; }
.user-panel-switch { font-size: 13px; color: var(--paper-dim); margin: 8px 0 0; }
.user-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 800;
  color: var(--brass);
  cursor: pointer;
  text-decoration: underline;
}
.user-panel-msg { font-size: 13px; font-weight: 700; margin: 12px 0 0; color: var(--up); }
.user-panel-msg.err { color: #c0392b; }

.oracle-nav-btn {
  background: #191c21;
  border: none;
  color: #ff9d75;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}
.oracle-nav-btn:hover {
  background: var(--brass);
  color: #fff;
  box-shadow: 0 0 16px var(--brass-glow);
  transform: translateY(-1px);
}

.barista-mode-btn {
  background: #fff;
  border: 2px solid var(--brass);
  color: var(--brass);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  font-family: inherit;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}
.barista-mode-btn:hover,
.barista-mode-btn.on {
  background: var(--brass);
  color: #fff;
}

#birthday-banner {
  display: none;
  position: sticky;
  top: 0;
  z-index: 79;
  background: #191c21;
  color: #fff;
  text-align: center;
  font-weight: 800;
  padding: 12px 16px;
  font-size: 15px;
}
#birthday-banner.show { display: block; }
#birthday-banner button {
  margin-right: 10px;
  background: var(--brass);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
}

.sos-fab {
  position: fixed;
  left: 16px;
  bottom: 28px;
  z-index: 70;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: #ef4444;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.45);
  font-family: inherit;
}

.weather-order-card {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.weather-order-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.weather-city-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--paper-dim);
  display: grid;
  gap: 6px;
}
.weather-city-label select,
.sos-field select,
.sos-field input,
.cart-date-label input {
  font-family: inherit;
  font-weight: 700;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
.weather-order-line {
  margin: 14px 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: var(--paper);
  line-height: 1.8;
}
.weather-order-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.vibe-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.playlist-card, .gallery-card {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.playlist-card { grid-row: span 2; }
.vibe-k { color: var(--brass); font-size: 11px; font-weight: 900; letter-spacing: 0.12em; }
.playlist-card h3, .gallery-card h3 { margin: 6px 0 8px; font-size: 18px; }
.playlist-card p, .gallery-card p { margin: 0 0 12px; color: var(--paper-dim); font-size: 14px; }
.playlist-frame {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #191c21;
}
.gallery-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.cart-benchmark {
  background: var(--brass-light);
  border: 1px dashed var(--brass);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--paper);
}
.cart-date-label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--paper-dim);
  margin-bottom: 10px;
}

.sos-card h3 { margin: 4px 0 8px; font-size: 26px; }
.sos-kicker { color: #ef4444; font-weight: 900; letter-spacing: 0.12em; font-size: 11px; }
.sos-field { display: grid; gap: 6px; font-size: 13px; font-weight: 800; margin-bottom: 12px; }
.sos-card .btn-ludicrous { width: 100%; justify-content: center; animation: none; min-height: 56px; }

#pwaInstallBar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 86;
  background: #191c21;
  color: #fff;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  font-weight: 800;
  font-size: 12px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
#pwaInstallBar.show { display: flex; }
#pwaInstallBar button {
  background: var(--brass);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
}
#pwaInstallBar .pwa-dismiss { background: transparent; border: 1px solid rgba(255,255,255,0.3); }
.pwa-help {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20,16,12,0.55);
  display: grid;
  place-items: center;
  padding: 20px;
}
.pwa-help[hidden] { display: none !important; }
.pwa-help-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px 22px;
  max-width: 360px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
}
.pwa-help-card h3 { margin: 8px 0 10px; font-size: 22px; }
.pwa-help-card p { color: var(--paper-dim); font-size: 14px; line-height: 1.8; margin: 0 0 16px; }
.pwa-help-card .shift-btn { width: 100%; justify-content: center; }

html.barista-mode {
  --soot: #1a1410;
  --concrete: #241c16;
  --paper: #fff8f2;
  --paper-dim: #f0c9b0;
  --line: rgba(255,255,255,0.12);
  --line-strong: rgba(255, 140, 80, 0.45);
  --brass: #ff6a2a;
  --card-bg: #241c16;
}
html.barista-mode body {
  background: #1a1410;
  color: #fff8f2;
  font-size: 18px;
  line-height: 2;
}
html.barista-mode .topbar {
  background: #1a1410;
  border-bottom-color: var(--brass);
}
html.barista-mode .topbar nav a { color: #fff8f2; font-size: 16px; padding: 10px 0; }
html.barista-mode .prod-card,
html.barista-mode .plaque,
html.barista-mode .weather-order-card,
html.barista-mode .playlist-card,
html.barista-mode .gallery-card,
html.barista-mode .person,
html.barista-mode .sample-kit-box,
html.barista-mode .seat,
html.barista-mode .shift-packs,
html.barista-mode .academy-fold summary {
  background: #2a221c;
  color: #fff8f2;
}
html.barista-mode button,
html.barista-mode .btn-add-to-cart,
html.barista-mode .shift-btn,
html.barista-mode .btn-passport,
html.barista-mode .btn-send-sales,
html.barista-mode .btn-send-service,
html.barista-mode .wa,
html.barista-mode .reorder-pill,
html.barista-mode .cart-nav-btn,
html.barista-mode .btn-ludicrous,
html.barista-mode .btn-book-service,
html.barista-mode select,
html.barista-mode input[type="text"],
html.barista-mode input[type="tel"],
html.barista-mode input[type="date"] {
  min-height: 60px;
  font-size: 16px !important;
}
html.barista-mode .sos-fab {
  width: 72px;
  height: 72px;
  font-size: 16px;
}
html.barista-mode .oracle-nav-btn,
html.barista-mode .barista-mode-btn {
  width: 56px;
  height: 56px;
  font-size: 22px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  place-items: end center;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% 48%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(242,244,247,0.15) 0%, rgba(242,244,247,0.85) 60%, var(--soot) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 0 6vw 8vh;
  max-width: 860px;
  text-align: center;
}
.kicker { color: var(--brass); font-weight: 800; letter-spacing: 0.2em; font-size: 13px; }
.hero h1 {
  font-size: clamp(34px, 6.5vw, 68px);
  line-height: 1.25;
  font-weight: 900;
  margin: 12px 0 16px;
  color: var(--paper);
}
.hero p { color: var(--paper-dim); font-size: 18px; line-height: 1.9; }
.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.shift-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--paper);
  cursor: pointer;
  text-decoration: none;
}
.shift-btn.primary {
  background: var(--brass);
  border-color: var(--brass);
  color: #fff;
}
.shift-btn.sos {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
}
.scroll-hint { margin-top: 28px; font-size: 13px; color: var(--brass); font-weight: 700; animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* QUICK STATS */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--concrete);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 24px;
  margin: -40px 6vw 40px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-md);
}
.stat-box { text-align: center; }
.stat-box .num { font-size: 28px; font-weight: 900; color: var(--brass); display: block; line-height: 1.2; }
.stat-box .label { font-size: 13px; color: var(--paper-dim); margin-top: 4px; font-weight: 700; }

.silo-flow {
  display: flex;
  flex-direction: column;
}
.silo-flow > .stats-bar { order: 10; }
.silo-flow > #beans { order: 15; }
.silo-flow > #machines { order: 20; }
.silo-flow > #mix { order: 24; }
.silo-flow > #work { order: 28; }
.silo-flow > #sommelier { order: 32; }
.silo-flow > #calc { order: 36; }
.silo-flow > #sample-kit { order: 40; }
.silo-flow > #academy { order: 44; }
.silo-flow > #parts { order: 55; }
.silo-flow > #repair { order: 60; }
.silo-flow > #launch { order: 65; }
.silo-flow > #vibe { order: 70; }
.silo-flow > #extras { order: 75; }
.silo-flow > #head { order: 80; }
.silo-flow > #contact { order: 90; }

.product-grid-beans .prod-card[data-catalog-order="1"] { order: 1; }
.product-grid-beans .prod-card[data-catalog-order="2"] { order: 2; }
.product-grid-beans .prod-card[data-catalog-order="3"] { order: 3; }
.product-grid-beans .prod-card[data-catalog-order="4"] { order: 4; }
.product-grid-beans .prod-card[data-catalog-order="10"] { order: 10; }
.product-grid-beans .prod-card[data-catalog-order="11"] { order: 11; }
.product-grid-beans .prod-card[data-catalog-order="12"] { order: 12; }
.product-grid-beans .prod-card[data-catalog-order="13"] { order: 13; }
.product-grid-beans .prod-card[data-catalog-order="14"] { order: 14; }
.product-grid-beans .prod-card[data-catalog-order="20"] { order: 20; }

.silo-extras { padding-top: 28px; padding-bottom: 32px; }
.silo-extras-title { font-size: clamp(20px, 5vw, 26px); margin: 0 0 16px; }
.silo-extra-fold {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
}
.silo-extra-fold summary {
  padding: 14px 16px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  color: var(--paper);
}
.silo-extra-fold summary::-webkit-details-marker { display: none; }
.silo-extra-fold[open] summary {
  border-bottom: 1px solid var(--line-strong);
  color: var(--brass);
}
.silo-extra-fold .fold-body { padding: 14px 16px 16px; }
.shift-desk--compact { padding: 0; }
.shift-desk--compact .shift-pulse { font-size: 13px; margin: 0 0 10px; }
.shift-desk--compact .reorder-pill { font-size: 12px; padding: 8px 10px; }
.shift-desk-sos {
  margin-top: 10px;
  width: 100%;
  min-height: 44px;
  font-size: 14px;
}
.weather-order-card--compact,
.weather-section--compact {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.weather-section--compact .weather-grid { margin-top: 8px; }
.recommender-wrap--compact { border: 0; padding: 0; box-shadow: none; background: transparent; }
.recommender-wrap--compact .recom-tab { font-size: 12px; padding: 8px 10px; }

.shift-desk { padding-top: 36px; padding-bottom: 28px; }
.war-room {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 18px 0 16px;
}
.seat {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px 12px;
  display: grid;
  gap: 2px;
}
.seat b { font-size: 15px; }
.seat span {
  color: var(--brass);
  font-size: 12px;
  font-weight: 800;
}
.seat small {
  color: var(--paper-dim);
  font-size: 12px;
  font-weight: 700;
}
.seat.veto {
  border-color: var(--brass);
  box-shadow: 0 0 0 2px var(--brass-light);
}
.shift-pulse {
  margin: 0 0 18px;
  font-weight: 800;
  font-size: 15px;
  color: var(--paper);
}
.shift-packs {
  background: var(--brass-light);
  border: 1px dashed var(--brass);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.shift-packs-k {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--brass);
}
.academy-fold summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  list-style: none;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
}
.academy-fold summary::-webkit-details-marker { display: none; }

.chamber { padding: 80px 6vw; position: relative; z-index: 1; }
.chamber-k {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--brass);
  font-weight: 800;
}
h2 { font-size: clamp(26px, 3.8vw, 44px); margin: 8px 0 12px; font-weight: 900; line-height: 1.35; color: var(--paper); }
.lead { color: var(--paper-dim); max-width: 700px; font-size: 16px; line-height: 1.85; }

/* 4 PILLARS */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.pillar {
  background: var(--concrete);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--brass);
  border-radius: 14px;
  padding: 24px;
  min-height: 170px;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-sm);
}
.pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.pillar h3 { margin: 0 0 8px; font-size: 19px; color: var(--paper); font-weight: 800; }
.pillar p { margin: 0; color: var(--paper-dim); font-size: 14px; }

/* PRICE BOARD */
.board {
  margin-top: 36px;
  background: var(--concrete);
  border: 1px solid rgba(255,87,20,0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.board-head, .row {
  display: grid;
  grid-template-columns: 110px 1.4fr 1fr 100px;
  gap: 8px;
  padding: 14px 22px;
  align-items: center;
}
.board-head {
  background: #f8fafc;
  color: var(--brass);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line-strong);
}
.row { border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; transition: background 0.15s; }
.row:hover { background: var(--brass-light); }
.exhibit { color: var(--paper-dim); font-size: 12px; font-family: Arial, Tahoma, sans-serif; letter-spacing: 0.08em; font-weight: 700; }
.price { font-size: 19px; font-weight: 800; color: var(--paper); }
.unit { color: var(--paper-dim); font-size: 12px; font-weight: 600; }
.delta.up { color: var(--up); font-weight: 700; }
.delta.down { color: var(--down); font-weight: 700; }
.delta.flat { color: var(--paper-dim); font-weight: 600; }
.board-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 22px;
  background: #f8fafc;
  color: var(--paper-dim);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

/* CAFE TYPE RECOMMENDER ENGINE (NEW) */
.recommender-wrap {
  margin-top: 36px;
  background: var(--concrete);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.recom-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.recom-tab {
  background: #f1f4f9;
  border: 1px solid var(--line-strong);
  color: var(--paper-dim);
  padding: 10px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}
.recom-tab:hover, .recom-tab.active {
  background: var(--brass);
  color: #fff;
  border-color: var(--brass);
  box-shadow: 0 4px 14px var(--brass-glow);
}
.recom-content {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.recom-title { font-size: 20px; font-weight: 900; color: var(--paper); margin-bottom: 6px; }
.recom-desc { color: var(--paper-dim); font-size: 15px; line-height: 1.8; margin-bottom: 12px; }
.recom-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.recom-badge { background: #fff; border: 1px solid var(--line-strong); padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--brass); }
.recom-btn {
  background: var(--brass);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 4px 12px var(--brass-glow);
}

/* PRODUCT CARDS GRID WITH REAL INDIVIDUAL PHOTOS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.prod-card {
  background: var(--concrete);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,87,20,0.35);
}

#beans .prod-thumb { height: 168px; }
#beans .prod-body { padding: 14px 16px 16px; }
#beans .prod-desc { display: none; }
/* قبل از فشرده‌سازی JS: رادار و کالیبر روی کارت دیده نشوند */
#beans .prod-body > .card-radar-embed,
#beans .prod-body > .calib-card {
  display: none;
}
#beans .prod-more .prod-desc {
  display: block;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--paper-dim);
}
.prod-more {
  margin-top: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.prod-more summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 13px;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 8px;
}
.prod-more summary::-webkit-details-marker { display: none; }
.prod-more-star { color: var(--brass); font-size: 16px; line-height: 1; }
.prod-more[open] summary {
  border-bottom: 1px solid var(--line-strong);
  color: var(--brass);
}
.prod-more-body { padding: 12px; }
.prod-more-body .card-radar-embed { margin-bottom: 10px; }
.prod-more-body .calib-card { margin-bottom: 0; }
.prod-more-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
}
.prod-actions--compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-strong);
}
.prod-actions--compact .meta {
  font-weight: 900;
  font-size: 15px;
  flex: 1 1 auto;
}
.prod-actions--compact .btn-add-to-cart {
  flex: 1 1 140px;
  margin: 0;
  padding: 10px 14px;
  font-size: 13px;
}
.prod-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #eaedf2;
}
.prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: contrast(1.03) brightness(1.02);
}
.prod-card:hover .prod-thumb img {
  transform: scale(1.05);
}
.prod-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  color: var(--brass);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}
.prod-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prod-code { font-size: 11px; color: var(--paper-dim); font-weight: 800; letter-spacing: 0.1em; }
.prod-title { font-size: 20px; font-weight: 900; margin: 4px 0 8px; color: var(--paper); }
.prod-desc { font-size: 14px; color: var(--paper-dim); line-height: 1.7; margin-bottom: 14px; flex: 1; }

.prod-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.btn-passport {
  background: #f1f4f9;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-passport:hover {
  background: var(--brass);
  color: #fff;
  border-color: var(--brass);
}

/* 5D RADAR IN PRODUCT CARD */
.card-radar-embed {
  margin-top: 12px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 12px;
  align-items: center;
}
.mini-radar-svg { width: 95px; height: 95px; }
.mini-radar-bars { display: grid; gap: 4px; }
.f-bar-row { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.f-bar-label { width: 48px; color: var(--paper-dim); font-weight: 700; }
.f-bar-track { flex: 1; height: 5px; background: #e2e8f0; border-radius: 3px; overflow: hidden; }
.f-bar-fill { height: 100%; background: linear-gradient(90deg, var(--brass-2), var(--brass)); border-radius: 3px; }
.f-bar-val { width: 22px; text-align: left; color: var(--brass); font-weight: 800; font-size: 10px; }

/* ROAST TICKER (IDEA 3) */
.roast-ticker {
  background: var(--brass-light);
  border: 1px dashed var(--brass);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 10px;
}
.roast-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brass);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
}
.roast-date {
  font-weight: 800;
  color: var(--paper);
  font-size: 13px;
}

/* BARISTA TIPS SECTION (IDEA 4) */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.tip-card {
  background: var(--concrete);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s;
}
.tip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tip-num {
  width: 32px;
  height: 32px;
  background: var(--brass);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 12px;
}
.tip-card h4 { margin: 0 0 8px; font-size: 17px; font-weight: 800; color: var(--paper); }
.tip-card p { margin: 0; color: var(--paper-dim); font-size: 13px; line-height: 1.75; }

/* SERVICE BOOKING FORM (IDEA 2) */
.service-form {
  background: #f8fafc;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 26px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.service-field { display: flex; flex-direction: column; gap: 6px; }
.service-field label { font-size: 12px; font-weight: 700; color: var(--paper-dim); }
.service-field input, .service-field select {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 13px;
  color: var(--paper);
  outline: none;
}
.service-field input:focus, .service-field select:focus {
  border-color: var(--brass);
}
.btn-book-service {
  background: var(--brass);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 20px;
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px var(--brass-glow);
}
.compare-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 2px solid var(--brass);
  box-shadow: 0 16px 45px rgba(0,0,0,0.25);
  border-radius: 999px;
  padding: 10px 24px;
  display: none;
  align-items: center;
  gap: 16px;
  z-index: 90;
}
.compare-bar.show { display: flex; }
.compare-btn {
  background: var(--brass);
  color: #fff;
  border: none;
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.compare-modal-box {
  background: #ffffff;
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  padding: 30px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.3);
  position: relative;
  border: 1px solid var(--line-strong);
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 18px;
}
.compare-col {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.compare-col h4 { margin: 0 0 12px; font-size: 18px; color: var(--brass); }

/* CALIBRATION GUIDE ACCORDION (IDEA 1) */
.calib-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 10px;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--paper-dim);
}
.calib-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.calib-row span:last-child {
  font-weight: 800;
  color: var(--paper);
}

/* SAMPLE KIT SECTION (IDEA 5) */
.sample-kit-box {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.sample-kit-box img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
}
.modal-overlay.open { display: grid; }
.passport-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  padding: 30px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.3);
  position: relative;
  border: 1px solid var(--line-strong);
}
.passport-close {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #f1f4f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 900;
  cursor: pointer;
  color: var(--paper-dim);
}
.passport-head { border-bottom: 2px solid var(--brass-light); padding-bottom: 14px; margin-bottom: 18px; }
.passport-head .code { color: var(--brass); font-weight: 800; font-size: 13px; letter-spacing: 0.1em; }
.passport-head h3 { margin: 4px 0 0; font-size: 24px; font-weight: 900; }
.passport-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.passport-item { background: #f8fafc; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); }
.passport-item .k { font-size: 11px; color: var(--paper-dim); font-weight: 700; display: block; }
.passport-item .v { font-size: 14px; font-weight: 800; color: var(--paper); margin-top: 2px; display: block; }
.passport-qr { display: flex; align-items: center; gap: 14px; background: var(--brass-light); border: 1px dashed var(--brass); padding: 12px; border-radius: 10px; }
.passport-qr span { font-size: 12px; color: var(--brass); font-weight: 700; }

/* PROFIT CALCULATOR */
#calc { padding-top: 36px; padding-bottom: 28px; }
#calc h2 { font-size: clamp(20px, 2.2vw, 28px); margin: 4px 0 6px; }
#calc .lead { font-size: 13px; line-height: 1.55; margin: 0; }
#calc .chamber-k { font-size: 11px; }
.calc-section {
  margin-top: 12px;
  background: var(--concrete);
  border: 1px solid rgba(255,87,20,0.3);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
  margin-top: 0;
}
.equip-subhead {
  margin: 28px 0 14px;
  font-size: 17px;
  font-weight: 900;
  color: var(--paper);
}
.equip-subhead:first-of-type { margin-top: 8px; }
.prod-thumb--contain {
  height: 220px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f4f6f9 0%, #e8ecf2 100%);
}
.prod-thumb--silo {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 245, 238, 0.92) 100%),
    url("../images/silo-interior-light.jpg") center 30% / cover;
}
.equip-note {
  margin: -6px 0 14px;
  font-size: 13px;
  color: var(--paper-dim);
  font-weight: 700;
}
.vibe-grid--gallery {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.gallery-card--real img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}
.prod-thumb--contain img {
  max-height: 200px;
  width: auto;
  max-width: 92%;
  object-fit: contain;
}
.prod-thumb--scene {
  height: auto;
  aspect-ratio: 3 / 2;
  background: #1c1916;
  overflow: hidden;
}
.prod-thumb--scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.prod-thumb--plate {
  background: #f2f4f7;
}
.prod-thumb--plate img {
  object-fit: contain;
  filter: none;
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
}
.prod-card:hover .prod-thumb--plate img {
  transform: none;
}
.prod-tag--stock { background: #1a7f4e; color: #fff; }
.calc-price-fold {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 6px 10px;
  background: #fff;
  margin-bottom: 6px;
}
.calc-price-fold summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 12px;
  color: var(--paper);
}
.cart-user-chip {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(196, 165, 116, 0.15);
  border: 1px solid rgba(196, 165, 116, 0.45);
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-user-chip strong { font-size: 15px; color: var(--paper); }
.cart-user-chip span { font-size: 13px; font-weight: 800; color: var(--paper-dim); }
.calc-slider-wrap { display: grid; gap: 8px; }
.calc-price-inputs { display: grid; gap: 6px; margin-bottom: 2px; }
.calc-field {
  display: grid;
  gap: 3px;
  font-size: 12px;
  font-weight: 800;
  color: var(--paper-dim);
}
.calc-field input {
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--paper);
  direction: ltr;
  text-align: left;
}
.cart-qty-num small { font-size: 11px; font-weight: 800; color: var(--paper-dim); margin-right: 2px; }
.calc-val-badge { font-size: 20px; font-weight: 900; color: var(--brass); line-height: 1; }
.calc-slider-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--brass);
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
}
.calc-results {
  background: #f8fafc;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
}
.calc-res-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.calc-res-item:last-child { border-bottom: none; padding-bottom: 0; }
.calc-res-item .k { color: var(--paper-dim); font-size: 12px; font-weight: 700; }
.calc-res-item .v { font-size: 15px; font-weight: 900; color: var(--paper); }
.calc-res-item .v.highlight { color: var(--up); font-size: 16px; }

/* BLEND — کامپکت: کاشی کوچک + جزئیات (بدون اسکرول بلند) */
.blend-wrap { margin-top: 28px; }
.blend-wrap--compact { margin-top: 20px; }
.mix-compact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  background: var(--concrete);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.mix-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 72px);
  gap: 8px;
}
.mix-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.mix-tile img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}
.mix-tile-label { font-size: 10px; font-weight: 900; color: var(--paper-dim); }
.mix-tile.is-active {
  border-color: var(--brass);
  box-shadow: 0 0 0 2px rgba(196, 165, 116, 0.35);
}
.mix-compact-detail { min-width: 0; }
.mix-ratio-viz--slim { height: 36px; margin-bottom: 10px; }
.mix-ratio-viz {
  display: flex;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.mix-ratio-seg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
  transition: flex 0.2s ease;
  min-width: 0;
}
.mix-ratio-a {
  background: linear-gradient(90deg, #c4a574, #e8d5b5);
  color: #3d2e1a;
}
.mix-ratio-r {
  background: linear-gradient(90deg, #4a3728, #2a1f18);
  color: #f5ebe0;
}
.mix-ratio-seg b { font-size: 15px; font-weight: 900; }
.mix-readout-card {
  padding: 4px 4px 0;
}
.mix-preset-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--brass);
  margin-bottom: 6px;
}
.mix-readout-card--compact b { font-size: 17px; }
.mix-readout-card b {
  display: block;
  font-size: 20px;
  color: var(--paper);
  font-weight: 900;
  line-height: 1.35;
}
.mix-price-line {
  display: block;
  margin-top: 6px;
  font-weight: 800;
  color: var(--brass);
  font-size: 15px;
}
.mix-readout-card p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--paper-dim);
}
#mix-slider { width: 100%; margin-top: 10px; }
@media (max-width: 640px) {
  .mix-compact { grid-template-columns: 1fr; }
  .mix-tile-grid { justify-content: center; }
}
.snaps { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.snaps button {
  background: var(--concrete);
  color: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}
.mix-tile.is-active { border-color: var(--brass); }
.snaps button.on, .snaps button:hover, .mix-tile.is-active {
  background: var(--brass);
  color: #fff;
  border-color: var(--brass);
}

/* DOCTOR SECTION */
.doctor-section {
  margin-top: 36px;
  background: var(--concrete);
  border: 1px solid rgba(255,87,20,0.3);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.doctor-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.doc-tab {
  background: #f1f4f9;
  border: 1px solid var(--line-strong);
  color: var(--paper-dim);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}
.doc-tab.active, .doc-tab:hover {
  background: var(--brass);
  color: #fff;
  border-color: var(--brass);
  box-shadow: 0 4px 14px var(--brass-glow);
}
.doctor-result {
  background: #f8fafc;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 24px;
  display: grid;
  gap: 14px;
}
.doc-symptom { font-size: 19px; font-weight: 900; color: var(--paper); }
.doc-cause { color: var(--paper-dim); font-size: 14px; line-height: 1.8; }
.doc-cause b { color: var(--brass); }
.doc-act-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 999px;
  margin-top: 6px;
  transition: transform 0.2s;
}
.doc-act-btn:hover { background: #1ebd5a; transform: translateY(-2px); }

/* MACHINES & PARTS */
.machines, .parts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.plaque {
  background: var(--concrete);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 22px;
  min-height: 180px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s;
}
.plaque:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plaque h3 { margin: 8px 0; font-size: 20px; color: var(--paper); font-weight: 900; }
.plaque p { color: var(--paper-dim); margin: 0; font-size: 14px; }

/* HEAD SECTION */
.head {
  background: var(--concrete);
  border: 1px solid var(--line-strong);
  border-right: 5px solid var(--brass);
  border-radius: 16px;
  padding: 36px;
  margin-top: 24px;
  direction: rtl;
  text-align: right;
  box-shadow: var(--shadow-md);
}
.head .who { color: var(--brass); letter-spacing: 0.08em; font-size: 13px; font-weight: 900; margin: 0 0 8px; }
.head h2 { font-family: inherit; letter-spacing: 0.04em; margin: 0 0 12px; font-weight: 900; color: var(--paper); }
.head p { color: var(--paper-dim); max-width: 660px; margin: 0 0 10px; font-size: 16px; }

/* CONTACT */
.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.person {
  background: var(--concrete);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.person span { color: var(--brass); font-size: 12px; font-weight: 900; letter-spacing: 0.12em; }
.person h3 { margin: 6px 0; font-size: 22px; font-weight: 900; }
.person a {
  display: inline-block;
  margin-top: 12px;
  color: #fff;
  background: var(--brass);
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: center;
}
.person a:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--brass-glow); }

.socials { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.socials a {
  color: var(--paper-dim);
  background: var(--concrete);
  border: 1px solid var(--line-strong);
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  transition: color 0.2s, border-color 0.2s;
}
.socials a:hover { color: var(--brass); border-color: var(--brass); }

.end {
  min-height: 50vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 70px 6vw;
}
.end h2 { max-width: 700px; }
.wa {
  display: inline-block;
  margin-top: 24px;
  background: var(--brass);
  color: #fff;
  font-weight: 900;
  padding: 14px 34px;
  border-radius: 999px;
  box-shadow: 0 8px 24px var(--brass-glow);
  transition: transform 0.2s;
}
.wa:hover { transform: translateY(-2px); }

footer {
  padding: 28px 6vw 48px;
  border-top: 1px solid var(--line-strong);
  color: var(--paper-dim);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #ffffff;
}

/* ===================================================================
   DIVINATION / COFFEE ORACLE MODAL (SECRET CHAMBER)
   =================================================================== */
.oracle-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 14, 0.94);
  backdrop-filter: blur(14px);
  z-index: 200;
  display: none;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}
.oracle-modal-overlay.open { display: grid; }
.oracle-box {
  background: radial-gradient(circle at 50% 30%, #201c18, #0e0d0c);
  border: 1px solid rgba(255, 87, 20, 0.45);
  border-radius: 24px;
  max-width: 620px;
  width: 100%;
  padding: 36px 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 87, 20, 0.18);
  position: relative;
  text-align: center;
  color: #f5f5f5;
}
.oracle-close {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #b8b8b8;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.oracle-close:hover { background: var(--brass); color: #fff; }
.oracle-kicker { color: var(--brass); font-size: 12px; font-weight: 800; letter-spacing: 0.25em; }
.oracle-title { font-size: 26px; font-weight: 900; margin: 6px 0 10px; color: #fff; }
.oracle-subtitle { color: var(--paper-dim); font-size: 14px; margin-bottom: 24px; }

.oracle-stage-1 { display: grid; gap: 14px; }
.oracle-beans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.oracle-bean-opt {
  background: linear-gradient(180deg, #1d1a17 0%, #121113 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 16px 8px 14px;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.oracle-bean-opt::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 190, 150, 0.16) 50%, transparent 60%);
  transform: translateX(-60%);
  transition: transform 0.9s ease;
  pointer-events: none;
}
.oracle-bean-opt:hover::after, .oracle-bean-opt.selected::after { transform: translateX(60%); }
.oracle-bean-opt:hover, .oracle-bean-opt.selected {
  border-color: var(--brass);
  background: radial-gradient(circle at 50% 20%, rgba(255, 87, 20, 0.28), #16130f 70%);
  box-shadow: 0 0 26px rgba(255, 87, 20, 0.35), inset 0 0 0 1px rgba(255, 87, 20, 0.25);
  transform: translateY(-4px);
}
.oracle-orb {
  position: relative;
  display: block;
  width: 70px;
  height: 70px;
  margin: 0 auto 10px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, #ff5714, #ffb38a, #6b2a10, #ff5714);
  box-shadow: 0 0 18px rgba(255, 87, 20, 0.35);
}
.oracle-bean-opt.selected .oracle-orb { animation: oracleOrbSpin 6s linear infinite; }
.oracle-orb img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid #120f0d;
}
.oracle-bean-opt.selected .oracle-orb img { animation: oracleOrbSpin 6s linear infinite reverse; }
.oracle-orb i {
  position: absolute;
  bottom: -4px;
  left: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #120f0d;
  border: 1px solid rgba(255, 87, 20, 0.6);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 14px;
}
@keyframes oracleOrbSpin { to { transform: rotate(360deg); } }
.oracle-bean-opt .name { font-size: 14px; font-weight: 900; color: #fff; display: block; }
.oracle-bean-opt .bean { font-size: 11px; color: #cfc6bd; margin-top: 3px; display: block; font-weight: 700; }
.oracle-bean-opt .power { font-size: 11px; color: var(--brass); margin-top: 4px; display: block; font-weight: 800; }
@media (max-width: 480px) {
  .oracle-beans-grid { gap: 8px; }
  .oracle-orb { width: 56px; height: 56px; }
  .oracle-bean-opt .name { font-size: 12px; }
}

.oracle-spin-btn {
  background: linear-gradient(135deg, var(--brass), var(--brass-2));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 36px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 87, 20, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  width: fit-content;
  margin: 0 auto;
}
.oracle-spin-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 87, 20, 0.6); }

/* ORACLE STAGE 2: VORTEX ANIMATION */
.oracle-stage-2 {
  display: none;
  padding: 30px 0;
  text-align: center;
}
.vortex-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 35px rgba(255, 87, 20, 0.4);
}
.vortex-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: vortexSpin 2.5s infinite linear;
}
@keyframes vortexSpin {
  0% { transform: rotate(0deg) scale(1.1); }
  50% { transform: rotate(180deg) scale(1.25); }
  100% { transform: rotate(360deg) scale(1.1); }
}

/* ORACLE STAGE 3: REVELATION */
.oracle-stage-3 {
  display: none;
  animation: oracleReveal 0.6s ease;
}
@keyframes oracleReveal {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.oracle-card-result {
  background: #141416;
  border: 1px solid rgba(255, 87, 20, 0.35);
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 20px;
}
.oracle-symbol { font-size: 48px; line-height: 1; margin-bottom: 8px; display: block; filter: drop-shadow(0 0 15px rgba(255,87,20,0.6)); }
.oracle-symbol-name { font-size: 22px; font-weight: 900; color: var(--brass); margin-bottom: 12px; }
.oracle-prophecy { font-size: 16px; line-height: 1.9; color: #f0f2f5; margin-bottom: 16px; font-weight: 600; }
.oracle-coffee-rec {
  background: rgba(255, 87, 20, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #ff9d75;
}
.oracle-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.oracle-restart-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #b8b8b8;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.oracle-restart-btn:hover { color: #fff; border-color: #fff; }

/* ORACLE TRIGGER BUTTON IN TOPBAR */
.oracle-nav-btn {
  background: radial-gradient(circle, #2c1a12, #181210);
  border: 1px solid var(--brass);
  color: #ff9d75;
  border-radius: 999px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s;
}
.oracle-nav-btn:hover {
  background: var(--brass);
  color: #fff;
  box-shadow: 0 0 16px var(--brass-glow);
  transform: translateY(-1px);
}

/* ===================================================================
   WEATHER DIAL-IN ASSISTANT (GUILAN CLIMATE)
   =================================================================== */
.weather-section {
  margin-top: 36px;
  background: var(--concrete);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.weather-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 14px;
  margin-top: 20px;
  align-items: end;
}
.weather-field { display: flex; flex-direction: column; gap: 6px; }
.weather-field label { font-size: 13px; font-weight: 800; color: var(--paper); }
.weather-field select {
  background: #f8fafc;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 13px;
  color: var(--paper);
  outline: none;
  font-weight: 700;
}
.weather-field select:focus { border-color: var(--brass); }
.btn-calc-weather {
  background: var(--brass);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px var(--brass-glow);
  transition: transform 0.2s;
}
.btn-calc-weather:hover { transform: translateY(-2px); }
.weather-result-box {
  background: #f8fafc;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 22px;
  margin-top: 20px;
  display: none;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}
.weather-res-badge {
  background: var(--brass-light);
  border: 1px solid var(--brass);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.weather-res-badge .ico { font-size: 32px; display: block; }
.weather-res-badge .city { font-weight: 900; font-size: 14px; color: var(--brass); }
.weather-res-details { display: grid; gap: 6px; }
.weather-res-title { font-size: 17px; font-weight: 900; color: var(--paper); }
.weather-res-instruction { font-size: 14px; color: var(--paper-dim); line-height: 1.8; }
.weather-res-instruction b { color: var(--brass); }

/* ===================================================================
   SHOPPING CART & FLOATING BAR (DESK FOR CAFE ORDERS)
   =================================================================== */
.cart-nav-btn {
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}
.cart-nav-btn:hover { border-color: var(--brass); color: var(--brass); }
.cart-badge {
  background: var(--brass);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  z-index: 150;
  display: none;
}
.cart-drawer-overlay.open { display: block; }
.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(430px, 94vw);
  background: #f6f3ee;
  box-shadow: 25px 0 70px rgba(0,0,0,0.25);
  z-index: 160;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-right: 1px solid var(--line-strong);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  padding: 18px 22px 16px;
  border-bottom: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #191c21;
  color: #fff;
}
.cart-ticket-kicker {
  margin: 0 0 4px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--brass);
  font-weight: 800;
}
.cart-head h3 { margin: 0; font-size: 20px; font-weight: 900; color: #fff; }
.cart-head-sub { font-size: 12px; color: rgba(255,255,255,0.65); display: block; margin-top: 4px; }
.cart-head .passport-close { color: #fff; background: rgba(255,255,255,0.08); }
.cart-items-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.cart-empty-msg {
  text-align: center;
  padding: 40px 10px;
  color: var(--paper-dim);
  font-size: 14px;
  line-height: 1.8;
  background: #fff;
  border-radius: 16px;
  border: 1px dashed var(--line-strong);
}
.cart-line-item {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-right: 4px solid var(--brass);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.cart-line-item:hover {
  background: #ffffff;
  border-color: rgba(255,87,20,0.3);
  box-shadow: var(--shadow-sm);
}
.cart-line-info { flex: 1; }
.cart-line-title { font-weight: 900; font-size: 14px; color: var(--paper); margin-bottom: 2px; }
.cart-line-price,
.cart-line-type { font-size: 12px; color: var(--paper-dim); font-weight: 700; }
.cart-empty-title { margin: 0 0 6px; font-weight: 900; color: var(--paper); font-size: 16px; }
.cart-empty-hint { margin: 0; font-size: 13px; }
.cart-head--simple h3 { font-size: 18px; }
.cart-foot--simple {
  padding: 16px;
  gap: 10px;
  border-top: 1px solid var(--line-strong);
  background: #fff;
}
.cart-foot--simple .cart-input-cafe { margin-bottom: 0; }
.cart-send-primary {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 900;
}
.cart-send-secondary {
  width: 100%;
  min-height: 42px;
  font-size: 12px;
  font-weight: 800;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--paper-dim);
  border-radius: 12px;
  cursor: pointer;
}
.cart-send-secondary:hover { border-color: var(--brass); color: var(--brass); }
.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.cart-qty-btn {
  background: none;
  border: none;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  color: var(--paper);
  padding: 2px 6px;
  transition: color 0.15s;
}
.cart-qty-btn:hover { color: var(--brass); }
.cart-qty-num { font-size: 14px; font-weight: 900; min-width: 20px; text-align: center; color: var(--paper); }
.cart-remove-btn {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--down);
  font-size: 14px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}
.cart-remove-btn:hover {
  background: var(--down);
  color: #fff;
}

.cart-foot {
  padding: 16px 18px 20px;
  border-top: 1px dashed #d7cfc4;
  background: #fff;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.04);
}
.cart-callback {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--brass-light);
  border: 1px dashed var(--brass);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  cursor: pointer;
  line-height: 1.6;
}
.cart-callback input {
  margin-top: 4px;
  accent-color: var(--brass);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 800;
  color: var(--paper);
}
.cart-total-val { font-size: 22px; color: var(--brass); font-weight: 900; }
.cart-input-cafe {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 13px;
  margin-bottom: 12px;
  outline: none;
  font-weight: 700;
  transition: border-color 0.2s, background 0.2s;
}
.cart-input-cafe:focus {
  border-color: var(--brass);
  background: #fff;
}
.cart-actions-grid { display: grid; gap: 8px; }
.btn-send-sales {
  background: linear-gradient(135deg, #25d366, #1ebd5a);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-send-sales:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37,211,102,0.45);
}
.btn-send-service {
  background: #191c21;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}
.btn-send-service:hover { background: #2b3038; }

.btn-add-to-cart {
  background: var(--brass-light);
  border: 1px solid var(--brass);
  color: var(--brass);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-add-to-cart:hover {
  background: var(--brass);
  color: #fff;
}

/* FLOATING MOBILE BOTTOM BAR */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line-strong);
  padding: 8px 16px env(safe-area-inset-bottom, 8px);
  z-index: 85;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-bottom-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}
.mob-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--paper-dim);
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
  position: relative;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}
.mob-bar-item.active, .mob-bar-item:hover {
  color: var(--brass);
}
.mob-bar-item.mob-sos { color: #ef4444; }
.mob-bar-item .mob-ico { font-size: 18px; }
.mob-bar-badge {
  position: absolute;
  top: 0;
  left: 12px;
  background: var(--brass);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

/* ===================================================================
   ELON MUSK TELEMETRY & LUDICROUS SUPPLY
   =================================================================== */
.telemetry-dashboard {
  background: linear-gradient(135deg, #18191c, #22252a);
  border: 1px solid rgba(255, 87, 20, 0.4);
  border-radius: 18px;
  padding: 24px;
  margin: 32px 0;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.telemetry-node {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  position: relative;
}
.telemetry-node .k { font-size: 11px; color: var(--paper-dim); font-weight: 700; display: block; }
.telemetry-node .v { font-size: 20px; font-weight: 900; color: #fff; margin-top: 4px; display: block; font-family: monospace; }
.telemetry-node .v.glow { color: #4ade80; text-shadow: 0 0 10px rgba(74,222,128,0.5); }
.telemetry-node .v.orange { color: var(--brass); }

.ludicrous-bar {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.15), rgba(255, 87, 20, 0.2));
  border: 1px solid rgba(239, 68, 68, 0.5);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-ludicrous {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  border: none;
  font-family: inherit;
  font-weight: 900;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
  animation: pulse 2s infinite;
}

/* ===================================================================
   SAM ALTMAN AI BLEND SOMMELIER MODAL
   =================================================================== */
.ai-sommelier-card {
  margin-top: 36px;
  background: var(--concrete);
  border: 2px solid var(--brass);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brass);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 999px;
}
.ai-questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.ai-q-box {
  background: #f8fafc;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ai-q-box label { font-size: 13px; font-weight: 800; color: var(--paper); }
.ai-q-box select {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  font-weight: 700;
}
.ai-output-box {
  background: #f8fafc;
  border: 1px solid var(--brass);
  border-radius: 14px;
  padding: 20px;
  display: none;
  animation: slideUp 0.3s ease;
}
.ai-formula-title { font-size: 18px; font-weight: 900; color: var(--brass); margin-bottom: 6px; }
.ai-formula-desc { font-size: 14px; color: var(--paper-dim); line-height: 1.8; margin-bottom: 12px; }

/* ===================================================================
   JEFF BEZOS FLYWHEEL QUICK RE-ORDER & GUARANTEE
   =================================================================== */
.bezos-guarantee {
  background: #f8fafc;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bezos-guarantee .shield { font-size: 24px; color: var(--brass); }
.bezos-guarantee p { margin: 0; font-size: 12px; color: var(--paper-dim); line-height: 1.6; }

.quick-reorder-box {
  background: var(--brass-light);
  border: 1px dashed var(--brass);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.quick-reorder-box .title { font-size: 12px; font-weight: 800; color: var(--brass); margin-bottom: 6px; }
.quick-reorder-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.reorder-pill {
  background: #fff;
  border: 1px solid var(--brass);
  color: var(--paper);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.reorder-pill:hover {
  background: var(--brass);
  color: #fff;
}

/* ===================================================================
   ACADEMY 13-SECOND DYNAMIC ANIMATED VIDEO CANVAS (IDEA 4)
   =================================================================== */
.academy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 14px;
}
.academy-card {
  background: #f8fafc;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.academy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 87, 20, 0.35);
}
.academy-video-frame {
  height: 200px;
  position: relative;
  background: #121316;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.academy-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.academy-badge-time {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.8);
  color: var(--brass);
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  z-index: 10;
  border: 1px solid rgba(255,87,20,0.4);
}
.academy-overlay-content {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(18, 19, 22, 0.65);
  backdrop-filter: blur(2px);
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.academy-video-frame.playing .academy-overlay-content {
  opacity: 0;
}
.academy-play-btn {
  width: 52px;
  height: 52px;
  background: var(--brass);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 10px;
  cursor: pointer;
  box-shadow: 0 0 25px var(--brass-glow);
  pointer-events: auto;
  transition: transform 0.2s;
}
.academy-play-btn:hover { transform: scale(1.12); }
.academy-step-title {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  display: block;
}
.academy-live-sub {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-align: center;
  border: 1px solid rgba(255,87,20,0.3);
  display: none;
}
.academy-video-frame.playing .academy-live-sub {
  display: block;
}
.academy-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255,255,255,0.15);
  z-index: 12;
}
.academy-prog-fill {
  height: 100%;
  width: 0%;
  background: var(--brass);
  transition: width 0.1s linear;
}
.academy-body {
  padding: 18px;
}
.academy-body h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
  color: var(--paper);
}
.academy-body p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--paper-dim);
  line-height: 1.75;
}
.academy-keypoint {
  background: var(--brass-light);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 800;
  color: var(--brass);
  line-height: 1.6;
}

/* TOUCH TARGETS & MOBILE POLISH */
@media (max-width: 900px) {
  body {
    padding-bottom: 88px; /* Space for mobile floating bottom bar */
  }
  html.pwa-bar-on body {
    padding-bottom: 168px;
  }
  .mobile-bottom-bar {
    display: block;
  }
  .compare-bar,
  .compare-bar.show {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    transform: none;
    bottom: 78px;
    border-radius: 16px;
    padding: 10px 12px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
  }
  .topbar {
    padding: 10px 4vw;
  }
  .topbar nav { display: none; }
  .cart-nav-label { display: none; }
  .floors { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); margin: -20px 4vw 30px; padding: 16px; }
  .board-head, .row { grid-template-columns: 1fr 1fr; }
  .exhibit, .board-head span:first-child { display: none; }
  .machines, .parts, .pillars, .people, .calc-grid, .recom-content, .tips-grid, .service-form, .weather-grid, .weather-result-box, .telemetry-grid, .ai-questions, .academy-grid, .vibe-grid { grid-template-columns: 1fr; }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .prod-thumb { height: 190px; }
  .prod-thumb.prod-thumb--scene {
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .prod-card {
    border-radius: 14px;
  }
  .card-radar-embed {
    grid-template-columns: 80px 1fr;
    padding: 8px;
    gap: 8px;
  }
  .mini-radar-svg { width: 80px; height: 80px; }
  .btn-add-to-cart, .btn-passport {
    padding: 8px 16px;
    font-size: 13px;
  }
  .cart-drawer {
    width: 100vw;
  }
  .chamber {
    padding: 50px 4vw;
  }
  .vibe-grid { grid-template-columns: 1fr; }
  .playlist-card { grid-row: auto; }
  .sos-fab { display: none; }
  .war-room { grid-template-columns: 1fr 1fr; }
  .seat.veto { grid-column: 1 / -1; }
  .hero { min-height: 52vh; }
  .hero img { object-position: 0% 40%; }
  #pwaInstallBar { bottom: 64px; padding-bottom: 8px; }
  .calc-section, .doctor-section, .recommender-wrap, .weather-section {
    padding: 20px 16px;
  }
  .calc-val-badge { font-size: 18px; }
  .calc-res-item .v { font-size: 14px; }
}
@media (min-width: 901px) {
  #pwaInstallBar,
  #pwaInstallBar.show { display: none !important; }
  html.pwa-bar-on body { padding-bottom: 0; }
}
