:root {
  --juniora-h: 38px;
  --bg: rgb(19, 21, 25);
  --panel: #1c1f26;
  --panel-2: #23272f;
  --ink: #fff;
  --muted: #9aa3ad;
  --good: var(--jn-green, #a0e747);
  --bad: #ff6b6b;
}
* { box-sizing: border-box }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--jn-font); min-height: 100% }
body { padding-bottom: var(--juniora-h); -webkit-tap-highlight-color: transparent; }
.wrap { max-width: 420px; margin: 0 auto; padding: 26px 18px 40px; }
.head { text-align: center; margin-bottom: 18px }
.head h1 { font-size: clamp(20px, 5vw, 25px); margin: 0 0 8px }
.head p { color: var(--muted); font-size: 14px; line-height: 1.9; margin: 0 }

.tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.tab-btn {
  flex: 1; padding: 11px 6px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1);
  background: var(--panel); color: var(--muted); font-family: var(--jn-font);
  font-weight: 700; font-size: 12.5px; cursor: pointer;
}
.tab-btn.active { background: var(--good); color: #10231f; border-color: var(--good); }

.phone {
  background: #0d0f13;
  border-radius: 34px;
  border: 6px solid #2a2e36;
  padding: 10px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.phone-notch {
  width: 70px; height: 16px; background: #2a2e36; border-radius: 0 0 12px 12px;
  margin: 0 auto 6px;
}
.screen {
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border-radius: 22px;
  padding: 16px 14px 18px;
}
.pizza-img { display: flex; justify-content: center; margin-bottom: 8px; }
.pizza-base {
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffcf6b, #e8a83c 70%, #c98a2a);
  border: 5px solid #d9a24d;
  position: relative;
}
.topping { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #b23a2e; }
.t1 { top: 22px; left: 30px; } .t2 { top: 40px; left: 65px; background:#5a8f3c; }
.t3 { top: 65px; left: 25px; background:#5a8f3c; } .t4 { top: 75px; left: 60px; }
.t5 { top: 45px; left: 45px; background:#f2e2b8; }
.pizza-name { text-align: center; margin: 4px 0 14px; font-size: 15px; }

.row-label { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.option-row { display: flex; gap: 6px; margin-bottom: 14px; }
.opt-btn {
  flex: 1; padding: 9px 4px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1);
  background: var(--panel-2); color: var(--ink); font-family: var(--jn-font);
  font-size: 12px; font-weight: 700; cursor: pointer; transition: all .15s ease;
}
.opt-btn.selected { background: var(--good); color: #10231f; border-color: var(--good); }
.opt-btn.shake { animation: shake .3s ease; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.cart-btn {
  width: 100%; padding: 13px; border-radius: 12px; border: none;
  background: var(--good); color: #10231f; font-weight: 900;
  font-family: var(--jn-font); font-size: 14px; cursor: pointer;
}
.cart-btn.disabled-look { opacity: .45; }
.screen-msg {
  text-align: center; font-size: 12.5px; margin: 10px 0 0; min-height: 18px;
  color: var(--good); font-weight: 700;
}
.screen-msg.error { color: var(--bad); }

.explain {
  margin-top: 18px; text-align: center; font-size: 13.5px; color: var(--muted);
  background: var(--panel); border-radius: 12px; padding: 14px; line-height: 1.9;
  min-height: 20px;
}

/* برند جونیورا؛ کوچیک و وسط‌چین پایین صفحه */
.juniora-overlay {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: rgba(13, 15, 19, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
}
.juniora-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #9aa3ad;
  font-family: var(--jn-font);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  opacity: 0.85;
  transition: opacity .15s ease;
}
.juniora-link:hover { opacity: 1; }
.juniora-logo {
  width: 13px;
  height: auto;
  display: block;
  flex-shrink: 0;
}
.juniora-text {
  letter-spacing: normal;
}

