body {
  background:
    radial-gradient(700px 400px at 100% -10%, rgba(177, 132, 66, .08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

.app { max-width: 480px; margin: 0 auto; min-height: 100dvh; position: relative; padding: 0 16px calc(104px + env(safe-area-inset-bottom)); }

/* ---------- الهيدر ---------- */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: max(10px, env(safe-area-inset-top)) 0 10px;
  background: linear-gradient(var(--bg) 70%, rgba(255, 251, 242, 0));
}
.back {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--card); border: 1px solid var(--line2); color: var(--text); margin-inline-end: -4px;
  transition: opacity .25s, transform .25s, width .25s, margin .25s;
}
.back[hidden] { display: grid; opacity: 0; width: 0; margin: 0; border: 0; pointer-events: none; transform: scale(.5); }
.brand { display: flex; align-items: center; }
.brand .logo { height: 40px; }
.steps { margin-inline-start: auto; display: flex; gap: 4px; list-style: none; transition: opacity .3s; }
.steps li {
  font-size: 11.5px; color: var(--dim); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line2);
  transition: all .3s var(--ease); background: var(--card);
}
.steps li.done { color: var(--green); border-color: rgba(25, 109, 98, .35); }
.steps li.on { background: var(--green); color: #fff; border-color: var(--green); font-weight: 700; }
.steps.hide { opacity: 0; pointer-events: none; }

/* ---------- الشاشات ---------- */
.screen { display: none; }
.screen.on { display: block; animation: screenIn .5s var(--ease) both; }
.screen.on.rev { animation-name: screenInRev; }
@keyframes screenIn { from { opacity: 0; transform: translateX(-24px); } }
@keyframes screenInRev { from { opacity: 0; transform: translateX(24px); } }

.head { margin: 6px 2px 16px; }
.head h2 { font-size: 27px; font-weight: 800; line-height: 1.25; }
.head p { color: var(--muted); font-size: 14px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 16px; margin-bottom: 14px; box-shadow: 0 1px 0 rgba(20, 86, 78, .03); }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-weight: 700; }
.card-head .hint { font-size: 12px; color: var(--muted); font-weight: 500; transition: color .2s; }
.card-head .hint.warn { color: var(--danger); }
.card-head .hint.good { color: var(--ok); }
.card-head b { font-weight: 700; color: var(--gold); font-size: 14px; }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13.5px; color: var(--muted); margin: 0 4px 6px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; background: var(--card); border: 1.5px solid var(--line2); border-radius: 18px;
  padding: 14px 18px; font-size: 17px; font-weight: 500; outline: none; transition: border-color .2s, box-shadow .2s; resize: none;
}
.field input:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); font-weight: 400; }

/* ---------- البطل ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: 28px; padding: 22px 20px 0; margin: 2px 0 16px;
  background: linear-gradient(150deg, #1d7a6d, var(--deep) 70%);
  color: #fffbf2; box-shadow: var(--shadow);
}
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgba(255, 251, 242, .09); pointer-events: none; }
.hero-text { position: relative; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 500; color: #e8d3ac; background: rgba(255, 251, 242, .1); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.hero h1 { font-size: 31px; line-height: 1.2; font-weight: 800; }
.hero p { color: rgba(255, 251, 242, .78); font-size: 14px; margin-top: 8px; max-width: 250px; }
.hero p b { color: #fff; }
.hero-scene { position: relative; height: 104px; margin-top: 4px; }
.scene-car { position: absolute; bottom: 12px; left: 16px; width: 150px; animation: drive 3.6s var(--ease) infinite alternate; }
.scene-pin { position: absolute; bottom: 70px; left: 72px; width: 34px; animation: bob 1.8s ease-in-out infinite; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .25)); }
.scene-pin svg { display: block; width: 100%; }
.scene-road { position: absolute; left: -20px; right: -20px; bottom: 5px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255, 251, 242, .35) 0 22px, transparent 22px 40px); animation: road 1.2s linear infinite; }
@keyframes drive { from { transform: translateX(0); } to { transform: translateX(8px); } }
@keyframes bob { 50% { transform: translateY(-7px); } }
@keyframes road { to { background-position: -40px 0; } }

/* ---------- الأقسام ---------- */
.cats {
  position: sticky; top: 60px; z-index: 15; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -16px 6px; padding: 6px 16px 10px; background: linear-gradient(var(--bg) 80%, rgba(255, 251, 242, 0));
  scroll-snap-type: x proximity;
}
.cats::-webkit-scrollbar { display: none; }
.cats button {
  flex: none; display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line2); color: var(--text); font-weight: 700; font-size: 14.5px;
  transition: all .25s var(--ease); scroll-snap-align: start;
}
.cats button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cats button[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 8px 18px -10px rgba(25, 109, 98, .9); }
.cats .cnt { font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; background: var(--gold); color: #fff; padding: 0 5px; }

.cat-head { display: flex; align-items: baseline; justify-content: space-between; margin: 4px 2px 12px; }
.cat-head h2 { font-size: 22px; font-weight: 800; }
.cat-head span { font-family: Georgia, serif; font-size: 13px; color: var(--muted); }

/* ---------- المنتجات ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.item {
  position: relative; text-align: start; display: flex; flex-direction: column; cursor: pointer;
  border-radius: 22px; padding: 10px 12px 12px; border: 1px solid var(--line2); background: var(--card);
  animation: itemIn .45s var(--ease) both; transition: border-color .25s, transform .2s, box-shadow .25s;
}
.item:hover { box-shadow: var(--shadow); }
.item:active { transform: scale(.98); }
@keyframes itemIn { from { opacity: 0; transform: translateY(12px); } }
.item-art { aspect-ratio: 1.15; display: grid; place-items: center; margin-bottom: 6px; position: relative; }
.item-art::before { content: ''; position: absolute; inset: 14% 10% 4%; border-radius: 50%; background: radial-gradient(closest-side, var(--bg2), transparent); }
.item-art img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--spring); filter: drop-shadow(0 10px 10px rgba(20, 60, 50, .16)); }
.item:hover .item-art img { transform: translateY(-4px) rotate(-3deg); }
.item h3 { font-size: 16px; font-weight: 800; line-height: 1.3; }
.item .en { font-family: Georgia, serif; font-size: 12px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.item-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 10px; }
.prices { display: flex; gap: 12px; }
.prices span { display: flex; flex-direction: column; font-size: 11px; color: var(--muted); line-height: 1.2; }
.prices b, .price { font-size: 20px; font-weight: 800; color: var(--green); letter-spacing: -.01em; }
.price small { font-size: 11px; color: var(--muted); font-weight: 500; opacity: 1; }
.cal { font-size: 11px; color: var(--dim); margin-top: 4px; }
.add {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--green); color: #fff; box-shadow: 0 6px 14px -6px rgba(25, 109, 98, .9);
  transition: transform .25s var(--spring);
}
.add:active { transform: scale(.85); }
.add svg { width: 18px; height: 18px; }
.badge {
  position: absolute; top: 10px; inset-inline-start: 10px; z-index: 1; min-width: 26px; height: 26px; padding: 0 7px;
  border-radius: 999px; display: grid; place-items: center; background: var(--gold); color: #fff;
  font-weight: 800; font-size: 14px; animation: pop .35s var(--spring);
}
.item.in-cart { border-color: rgba(177, 132, 66, .6); }

/* ---------- الشريط السفلي ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; pointer-events: none;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(rgba(255, 251, 242, 0), var(--bg) 45%);
  transition: transform .45s var(--spring), opacity .3s;
}
.dock.hide { transform: translateY(110%); opacity: 0; }
.dock > * { pointer-events: auto; }
.dock .btn { width: 100%; max-width: 448px; margin: 0 auto; display: flex; height: 60px; font-size: 17px; }
.dock .btn .count {
  min-width: 30px; height: 30px; border-radius: 999px; padding: 0 8px; display: grid; place-items: center;
  background: #fffbf2; color: var(--green); font-size: 16px; font-weight: 800;
}
.dock .btn .sum { margin-inline-start: auto; font-size: 19px; font-weight: 800; }
.dock .btn .sum small { color: inherit; }
.dock .btn.bump { animation: bump .45s var(--spring); }
@keyframes bump { 30% { transform: scale(1.04); } }
.spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid currentColor; border-top-color: transparent; animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

.site-foot { text-align: center; padding: 26px 0 0; }

/* ---------- ورقة المنتج ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.sheet.open { visibility: visible; }
.sheet-bg { position: absolute; inset: 0; background: rgba(14, 54, 57, .45); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.sheet.open .sheet-bg { opacity: 1; }
.sheet-panel {
  position: absolute; bottom: 0; left: 50%; width: 100%; max-width: 480px;
  transform: translate(-50%, 105%); transition: transform .5s var(--spring);
  background: var(--bg); border-radius: 30px 30px 0 0; padding: 10px 20px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -20px 50px -20px rgba(14, 54, 57, .5);
}
.sheet.open .sheet-panel { transform: translate(-50%, 0); }
.grab { width: 44px; height: 5px; border-radius: 5px; background: var(--line2); margin: 0 auto 6px; }
.sheet-art { width: 200px; height: 170px; margin: 0 auto 4px; animation: float 3s ease-in-out infinite; }
.sheet-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(20, 60, 50, .2)); }
@keyframes float { 50% { transform: translateY(-6px); } }
.sheet h3 { font-size: 24px; font-weight: 800; text-align: center; }
.sheet .desc { color: var(--muted); text-align: center; font-size: 13.5px; margin-bottom: 16px; font-family: Georgia, serif; }
.sheet .desc span { font-family: var(--font); color: var(--dim); }
.seg { display: flex; gap: 10px; margin-bottom: 16px; }
.seg button {
  flex: 1; border-radius: 18px; padding: 10px 6px; border: 1.5px solid var(--line2); background: var(--card);
  display: flex; flex-direction: column; align-items: center; gap: 4px; transition: all .25s var(--ease); font-weight: 700;
}
.seg button i { font-style: normal; font-size: 15px; color: var(--green); font-weight: 800; }
.seg button .s-ico { width: 18px; height: 22px; border: 2px solid currentColor; border-top-width: 3px; border-radius: 2px 2px 6px 6px; opacity: .55; transition: transform .25s var(--spring); }
.seg button[aria-pressed="true"] { border-color: var(--green); background: var(--accent-soft); color: var(--green); }
.seg button[aria-pressed="true"] .s-ico { opacity: 1; }
.sheet-row { display: flex; align-items: center; gap: 12px; }
.qty { display: flex; align-items: center; gap: 4px; background: var(--card); border: 1.5px solid var(--line2); border-radius: 999px; padding: 4px; }
.qty button { width: 44px; height: 44px; border-radius: 50%; font-size: 22px; display: grid; place-items: center; color: var(--green); }
.qty button:active { background: var(--accent-soft); }
.qty output { min-width: 26px; text-align: center; font-size: 20px; font-weight: 800; }
.sheet-row .btn { flex: 1; height: 56px; }

/* ---------- مسرح السيارة ---------- */
.car-stage { position: relative; height: 120px; margin: -6px 0 10px; display: grid; place-items: center; }
.car-big { width: 240px; position: relative; z-index: 1; animation: carIn .8s var(--spring) both; }
.car-big.swap { animation: carSwap .5s var(--spring); }
@keyframes carIn { from { transform: translateX(-120px); opacity: 0; } }
@keyframes carSwap { 40% { transform: translateY(-6px) scale(1.03); } }
.car-glow { position: absolute; width: 240px; height: 60px; bottom: 14px; border-radius: 50%; filter: blur(26px); opacity: .3; transition: background .5s; }
.road { position: absolute; bottom: 14px; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--line2) 0 18px, transparent 18px 34px); }

/* ---------- اللوحة ---------- */
.plate-card.complete { border-color: rgba(44, 154, 95, .5); }
.plate-wrap { display: grid; place-items: center; padding: 6px 0 4px; }
.plate-wrap .plate { transition: transform .5s var(--spring); }
.plate-wrap.shake .plate { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.plate-wrap.shine .plate { overflow: hidden; }
.plate-wrap.shine .plate::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .9) 50%, transparent 65%);
  animation: shine .9s var(--ease) forwards;
}
@keyframes shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.plate-tips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.plate-tips button {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 8px;
  text-align: start; padding: 9px 12px; border-radius: 16px; border: 1.5px solid var(--line2); background: var(--bg);
  font-weight: 700; font-size: 13.5px; transition: all .2s;
}
.plate-tips button.on { border-color: var(--gold); background: var(--gold-soft); }
.plate-tips .tip-ico { grid-row: span 2; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line2); font-size: 12px; font-weight: 800; color: var(--green); }
.plate-tips b { font-family: var(--num); font-size: 15px; color: var(--dim); }
.plate-tips b.full { color: var(--ok); }
.plate-tips i { grid-column: 2 / 4; font-style: normal; font-size: 11px; color: var(--muted); font-weight: 500; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.swatch {
  width: 38px; height: 38px; border-radius: 50%; position: relative;
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .25), inset 0 4px 8px rgba(255, 255, 255, .35), 0 0 0 1px rgba(0, 0, 0, .12);
  transition: transform .3s var(--spring);
}
.swatch[aria-pressed="true"] { transform: scale(1.12); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .25), inset 0 4px 8px rgba(255, 255, 255, .35), 0 0 0 3px var(--card), 0 0 0 5px var(--gold); }
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.types button {
  border: 1.5px solid var(--line2); border-radius: 16px; padding: 8px 4px 6px; font-size: 11.5px; color: var(--muted); font-weight: 700;
  display: flex; flex-direction: column; align-items: center; gap: 2px; transition: all .25s; background: var(--bg);
}
.types button .car { width: 100%; max-width: 70px; }
.types button[aria-pressed="true"] { border-color: var(--green); background: var(--accent-soft); color: var(--green); }

/* ---------- المراجعة ---------- */
.receipt {
  position: relative; background: var(--card); border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 6px 6px; padding: 16px 18px 22px; margin-bottom: 14px;
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 6.5px, #000 7px) 0 100% / 18px 14px repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 13px) no-repeat;
          mask: radial-gradient(circle 7px at 50% 100%, transparent 6.5px, #000 7px) 0 100% / 18px 14px repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 13px) no-repeat;
}
.r-line { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line2); }
.r-line .r-art { width: 46px; height: 46px; flex: none; }
.r-line .r-art img { width: 100%; height: 100%; object-fit: contain; }
.r-line .r-name { flex: 1; min-width: 0; }
.r-line .r-name b { display: block; font-weight: 800; font-size: 14.5px; }
.r-line .r-name span { font-size: 12px; color: var(--muted); }
.r-line .r-qty { display: flex; align-items: center; gap: 2px; background: var(--bg2); border-radius: 999px; }
.r-line .r-qty button { width: 30px; height: 30px; border-radius: 50%; font-size: 17px; color: var(--green); font-weight: 700; }
.r-line .r-qty output { font-weight: 800; font-size: 15px; min-width: 14px; text-align: center; }
.r-line .r-sum { font-weight: 800; font-size: 15px; min-width: 50px; text-align: end; }
.r-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; font-weight: 700; }
.r-total .price { font-size: 26px; }
.r-empty { text-align: center; padding: 20px 0; color: var(--muted); }

.who { display: flex; align-items: center; gap: 12px; }
.who .who-car { width: 88px; flex: none; }
.who .who-info { flex: 1; min-width: 0; }
.who .who-info b { display: block; font-size: 16px; margin-bottom: 6px; }
.who .edit { font-size: 13px; color: var(--gold); font-weight: 700; padding: 8px; }

.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay button {
  height: 60px; border-radius: 18px; border: 1.5px solid var(--line2); display: flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; transition: all .25s var(--ease); color: var(--muted); background: var(--bg);
}
.pay button svg { width: 24px; height: 24px; }
.pay button[aria-pressed="true"] { border-color: var(--green); background: var(--accent-soft); color: var(--green); }

/* ---------- التتبّع ---------- */
.ticket {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 24px; margin: 2px 0 6px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.ticket .t-num { font-family: var(--num); font-size: 54px; font-weight: 700; line-height: .9; color: var(--green); }
.ticket .t-num small { display: block; font-family: var(--font); font-size: 11px; color: var(--muted); font-weight: 500; opacity: 1; margin-bottom: 4px; }
.ticket .t-info { flex: 1; min-width: 0; border-inline-start: 1.5px dashed var(--line2); padding-inline-start: 14px; }
.ticket .t-info b { display: block; font-size: 16px; margin-bottom: 6px; }
.ticket .t-meta { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }

.brew { display: flex; align-items: center; gap: 4px; margin: 6px 0 4px; }
.mug { width: 150px; flex: none; overflow: visible; }
.mug .big-steam { color: rgba(25, 109, 98, .35); opacity: 0; transition: opacity .6s; }
.mug.hot .big-steam { opacity: 1; }
.mug .big-steam path { animation: steam 2.8s ease-in-out infinite; }
.mug .big-steam path:nth-child(2) { animation-delay: .9s; }
.mug .big-steam path:nth-child(3) { animation-delay: 1.8s; }
@keyframes steam { 0% { transform: translateY(14px); opacity: 0; } 40% { opacity: .9; } 100% { transform: translateY(-6px); opacity: 0; } }
.liquid-level { transition: transform 1.6s var(--ease); }
.wave { animation: wave 3.2s linear infinite; }
.wave.w2 { animation-duration: 5s; animation-direction: reverse; opacity: .8; }
@keyframes wave { to { transform: translateX(-110px); } }
.brew-text h2 { font-size: 24px; font-weight: 800; line-height: 1.25; }
.brew-text p { color: var(--muted); font-size: 14px; }

.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 10px 0 18px; position: relative; }
.timeline::before, .timeline::after { content: ''; position: absolute; top: 9px; height: 3px; border-radius: 3px; inset-inline-start: 12.5%; }
.timeline::before { inset-inline-end: 12.5%; background: var(--line2); }
.timeline::after { width: calc(75% * var(--p, 0)); background: var(--green); transition: width 1s var(--ease); }
.timeline li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; color: var(--dim); transition: color .4s; font-weight: 500; }
.timeline li::before { content: ''; width: 21px; height: 21px; border-radius: 50%; background: var(--bg); border: 2.5px solid var(--line2); transition: all .4s var(--spring); }
.timeline li.done { color: var(--muted); }
.timeline li.done::before { background: var(--green); border-color: var(--green); }
.timeline li.now { color: var(--text); font-weight: 800; }
.timeline li.now::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); transform: scale(1.1); }

/* زر وصلت */
.arrive { border-radius: 28px; border: 1px solid var(--line); background: var(--card); padding: 22px 18px; text-align: center; box-shadow: var(--shadow); }
.arrive h3 { font-size: 20px; font-weight: 800; }
.arrive > p { color: var(--muted); font-size: 14px; }
.radar { position: relative; width: 190px; height: 190px; margin: 18px auto 14px; display: grid; place-items: center; }
.radar .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: ring 2.4s var(--ease) infinite; }
.radar .ring:nth-child(2) { animation-delay: .8s; }
.radar .ring:nth-child(3) { animation-delay: 1.6s; }
@keyframes ring { from { transform: scale(.55); opacity: .6; } to { transform: scale(1.05); opacity: 0; } }
.radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(177, 132, 66, .45)); animation: rot 1.6s linear infinite; opacity: 0; transition: opacity .3s; }
.radar.locating .sweep { opacity: 1; }
.radar.locating .ring { border-color: var(--gold); }
.big-btn {
  position: relative; z-index: 1; width: 132px; height: 132px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a8e80, var(--green) 55%, var(--deep));
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 23px; font-weight: 800; box-shadow: 0 18px 36px -14px rgba(25, 109, 98, .9), inset 0 -6px 14px rgba(0, 0, 0, .15);
  transition: transform .2s var(--spring), background .4s;
}
.big-btn:active { transform: scale(.93); }
.big-btn svg { width: 34px; height: 34px; }
.big-btn .acc { font-family: var(--num); font-size: 30px; line-height: 1; }
.big-btn .acc-lbl { font-size: 11.5px; font-weight: 500; }
.radar.locating .big-btn { background: radial-gradient(circle at 35% 30%, #d3a764, var(--gold) 60%, #8d6631); }
.radar.sent .big-btn { background: radial-gradient(circle at 35% 30%, #5fc68d, var(--ok) 60%, #1f7a49); box-shadow: 0 18px 36px -14px rgba(44, 154, 95, .8); }
.radar.sent .ring { border-color: var(--ok); animation-duration: 3.2s; }
.acc-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; max-width: 220px; margin: 0 auto 6px; }
.acc-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--danger), var(--gold), var(--ok)); background-size: 220px 100%; border-radius: 6px; transition: width .6s var(--ease); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 4px 12px; border-radius: 999px; margin-top: 4px; }
.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.spots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.spots button { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line2); font-size: 13px; color: var(--muted); font-weight: 700; transition: all .2s; background: var(--bg); }
.spots button[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.arrive .link { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.arrive .err { color: var(--danger); font-size: 14px; margin-top: 4px; }
.arrive.done-card .btn { margin-top: 16px; }

.bean { position: fixed; top: -30px; z-index: 80; width: 16px; height: 22px; border-radius: 50%; background: #5a321c; pointer-events: none; animation: fall linear forwards; }
.bean::after { content: ''; position: absolute; left: 7px; top: 3px; bottom: 3px; width: 2px; border-radius: 2px; background: rgba(0, 0, 0, .45); transform: rotate(8deg); }
@keyframes fall { to { transform: translateY(110vh) rotate(var(--r)); } }

.flyer { position: fixed; z-index: 70; width: 70px; height: 70px; pointer-events: none; }
.flyer img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- المحل مقفل / منتج خلص ---------- */
.closed-banner {
  margin: 14px 16px 0; padding: 12px 16px; border-radius: 16px; text-align: center; font-weight: 700; font-size: 14.5px;
  background: rgba(196, 81, 63, .1); color: var(--danger); border: 1px solid rgba(196, 81, 63, .25);
}
.closed-banner[hidden] { display: none; }
.item.sold-out { opacity: .55; }
.item.sold-out .item-art img { filter: grayscale(1); }
.sold-tag {
  position: absolute; top: 8px; inset-inline-start: 8px; padding: 3px 10px; border-radius: 999px;
  background: var(--text); color: #fff; font-size: 11.5px; font-weight: 700;
}
.item-art img.no-img, .r-art img.no-img, .sheet-art img.no-img { object-fit: contain; padding: 22%; opacity: .5; filter: none; }
.sheet .desc.long { font-family: var(--font); font-size: 14px; color: var(--text); margin-top: 6px; line-height: 1.6; }
.arrive .pickup-note { margin-top: 6px; font-weight: 700; color: var(--gold); }
