/* ===== واجهة الزبون — مطابقة لتصميم «بيتسا قندهار» ===== */
body { padding-bottom: calc(76px + var(--safe-b)); background: var(--bg); }
@media (min-width: 761px) { body { padding-bottom: 0; } }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 560px; }
h1, h2, h3, .brand { font-weight: 800; }

/* ---------- الشريط العلوي ---------- */
.topbar { position: sticky; top: 0; z-index: 500; background: var(--bg); }
.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { font-size: 1.75rem; font-weight: 900; color: var(--red); text-decoration: none; white-space: nowrap; letter-spacing: 0; }
.topnav { display: none; gap: 6px; margin-inline-start: auto; align-items: center; }
.topnav a { position: relative; padding: 8px 16px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.05rem; }
.topnav a.active { color: var(--red); }
.topnav a.active::after { content: ''; position: absolute; inset-inline: 10px; bottom: -4px; height: 3px; border-radius: 3px; background: var(--red); }
.topnav a.orders-link { border: 2px solid var(--red); border-radius: 12px; color: var(--red); display: inline-flex; gap: 6px; align-items: center; margin-inline-start: 10px; padding: 6px 16px; }
.topnav a.orders-link.active::after { display: none; }
.top-cart { display: none; min-height: 46px; padding: 0 22px; font-size: 1.05rem; }
.mcart { margin-inline-start: auto; position: relative; width: 46px; height: 46px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 3px 0 var(--red-dark); }
.badge { position: absolute; top: -6px; inset-inline-start: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--green); color: #fff; font-size: .78rem; display: grid; place-items: center; font-weight: 800; }
.head-wave { display: block; width: 100%; height: 22px; margin-bottom: -22px; position: relative; pointer-events: none; }
@media (min-width: 761px) { .topnav { display: flex; } .top-cart { display: inline-flex; } .mcart { display: none; } .topbar .wrap { height: 76px; } .brand { font-size: 2.3rem; } }

/* ---------- شريط التنقل السفلي (الهاتف) ---------- */
.bottomnav { position: fixed; inset-inline: 0; bottom: 0; z-index: 600; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: var(--safe-b); box-shadow: 0 -4px 16px rgba(60, 30, 10, .06); }
.bottomnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 64px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: .85rem; position: relative; }
.bottomnav a svg.i { width: 1.6rem; height: 1.6rem; }
.bottomnav a.active { color: var(--red); }
.bottomnav a.active::after { content: ''; position: absolute; top: 0; width: 40px; height: 3px; border-radius: 0 0 3px 3px; background: var(--red); }
.bottomnav .badge { top: 6px; inset-inline-start: calc(50% - 26px); }
@media (min-width: 761px) { .bottomnav { display: none; } }

/* ---------- الواجهة الرئيسية ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fffaf2, var(--bg)); }
.hero-photo { height: 230px; background: url('/img/photos/hero.jpg') center 40% / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); mask-image: linear-gradient(180deg, #000 75%, transparent); }
.hero-in { position: relative; padding-top: 4px; padding-bottom: 44px; }
.hero-text { text-align: center; position: relative; }
.hero h1 { white-space: nowrap; font-size: clamp(3rem, 11vw, 5.6rem); color: var(--red); margin: 0; line-height: 1.15; letter-spacing: 0; font-weight: 900; }
.tagline { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--green); font-weight: 800; font-size: clamp(1.15rem, 3.4vw, 2rem); margin: 4px 0 22px; }
.tagline::before, .tagline::after { content: ''; width: 40px; height: 3px; border-radius: 2px; background: var(--green); }
.hero .btn-lg { min-width: 230px; font-size: 1.25rem; min-height: 60px; border-radius: 12px; }
.deco { position: absolute; color: #e0a385; opacity: .55; pointer-events: none; }
.deco svg.i { width: 64px; height: 64px; stroke-width: 1.2; }
.deco.d1 { top: -10px; inset-inline-end: 0; transform: rotate(-20deg); color: #e49a83; }
.deco.d2 { top: 10px; inset-inline-start: 4%; color: #b8b48a; }
.deco.d3 { bottom: 4px; inset-inline-start: 10%; transform: scaleX(-1); color: #b8b48a; }
.wave { display: block; width: 100%; height: 34px; }
.hero-wave { position: absolute; inset-inline: 0; bottom: -1px; }
@media (min-width: 761px) {
  .hero { min-height: 470px; }
  .hero-photo { position: absolute; inset-block: 0; left: 0; width: 54%; height: auto; background-position: 30% 50%; -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 22%); mask-image: linear-gradient(270deg, transparent 0, #000 22%); }
  .hero-in { min-height: 470px; display: flex; align-items: center; padding-bottom: 60px; }
  .hero-text { width: 48%; }
  .wave { height: 48px; }
  .deco.d1 { inset-inline-end: 6%; }
}
@media (max-width: 760px) { .deco { display: none; } }

/* شرائح الفئات */
.cats { display: flex; gap: 10px; overflow-x: auto; padding: 16px 16px; margin: 0 -16px; scrollbar-width: none; position: sticky; top: 66px; z-index: 50; background: var(--bg); }
@media (min-width: 761px) { .cats { top: 76px; justify-content: center; padding: 22px 16px 10px; } }
.cats::-webkit-scrollbar { display: none; }
.cats button { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid #e2d6bd; background: #f7f0e1; color: #4b3a2c; font-weight: 800; font-size: 1.02rem; cursor: pointer; }
.cats button svg.i { width: 1.35em; height: 1.35em; }
.cats button.active { background: var(--green); border-color: var(--green); color: #fff; }

.section-title { display: flex; align-items: center; gap: 14px; font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; color: var(--red); margin: 22px 0 16px; }
.section-title::after { content: ''; width: 64px; height: 3px; border-radius: 2px; background: var(--green); }

.grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.pcard { background: #fff; border-radius: 14px; overflow: hidden; cursor: pointer; box-shadow: 0 4px 16px rgba(80, 40, 10, .09); transition: box-shadow .15s, transform .15s; display: flex; flex-direction: column; }
.pcard:hover { box-shadow: 0 10px 28px rgba(80, 40, 10, .16); transform: translateY(-2px); }
.pimg-wrap { aspect-ratio: 2.55; overflow: hidden; background: #3b2316; }
.pcard .pimg { width: 100%; height: 100%; object-fit: cover; }
.pcard .pbody { padding: 14px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-size: 1.45rem; margin: 0 0 2px; color: #2b1d16; }
.pcard .desc { color: #5f5047; font-size: .95rem; margin: 0 0 14px; }
.pcard .pfoot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pcard .pprice { text-align: end; line-height: 1.1; }
.pcard .pprice .price { color: var(--red); font-weight: 800; font-size: 1.55rem; }
.pcard .from { display: block; font-size: .78rem; color: var(--muted); font-weight: 500; }
.pcard .btn-sm { min-height: 42px; font-size: .98rem; padding: 0 16px; border-radius: 8px; }
.sample-tag { font-size: .72rem; background: var(--amber-soft); color: var(--amber); padding: 1px 8px; border-radius: 6px; font-weight: 700; vertical-align: middle; }

/* ---------- صفحة تخصيص البيتسا ---------- */
.pd-layout { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1100px) { .pd-layout { grid-template-columns: minmax(0, 1fr) 440px; } }
.pd-side { display: none; }
@media (min-width: 1100px) { .pd-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 92px; margin-top: 52px; } }
.pd { padding-bottom: 130px; }
@media (min-width: 761px) { .pd { padding-bottom: 40px; } }
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 22px 0 12px; font-weight: 700; color: #3b2b20; font-size: .98rem; }
.crumbs a { color: var(--red); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.crumbs a + span, .crumbs span:not(:last-child) { color: var(--muted); }
.crumbs a:nth-of-type(2) { color: #3b2b20; }

.pd-hero { position: relative; display: grid; grid-template-columns: 1fr; background: #fff; border-radius: 18px 18px 0 0; overflow: hidden; box-shadow: var(--shadow); }
.pd-photo { height: 210px; }
.pd-photo img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { position: relative; padding: 16px 20px 46px; }
.pd-info h1 { font-weight: 900; font-size: clamp(2.2rem, 7vw, 3.4rem); color: var(--red); margin: 0 0 6px; }
.pd-info p { margin: 0 0 10px; font-size: 1.08rem; color: #3b2b20; }
.pd-leaf { position: absolute; top: 10px; inset-inline-start: 18px; color: var(--green); opacity: .6; }
.pd-leaf svg.i { width: 34px; height: 34px; }
.pd-wave { position: absolute; inset-inline: 0; bottom: -1px; height: 36px; }
@media (min-width: 761px) {
  .pd-hero { grid-template-columns: 1fr 1fr; min-height: 260px; }
  .pd-photo { height: auto; order: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
  .pd-info { display: flex; flex-direction: column; justify-content: center; padding: 24px 28px 56px; }
}

.pd-card { background: #fffaf2; border-radius: 0 0 18px 18px; box-shadow: var(--shadow); padding: 6px 18px 18px; border: 1px solid var(--line); border-top: 0; }
.sec { padding: 16px 0 6px; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec h2 { display: flex; align-items: center; gap: 10px; color: var(--red); font-size: 1.35rem; margin: 0 0 14px; }
.sec h2 svg.i { width: 1.5em; height: 1.5em; color: var(--red); }

.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 12px; }
.opt { position: relative; border: 2px solid #e6dcc9; border-radius: 12px; background: #fff; padding: 12px 8px; text-align: center; cursor: pointer; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; transition: border-color .15s, background .15s; }
.opt b { font-size: 1.2rem; color: #2b1d16; }
.opt .oi { color: var(--red); }
.opt .oi svg.i { width: 30px; height: 30px; stroke-width: 1.5; }
.opt .onote { font-size: .9rem; color: #5f5047; }
.opt .price { color: var(--red); font-weight: 800; font-size: 1.25rem; }
.opt.sel { border-color: var(--green); background: #eef3df; box-shadow: inset 0 0 0 1px var(--green); }
.opt.sel::before { content: ''; position: absolute; top: -11px; inset-inline-start: -11px; width: 26px; height: 26px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; border: 2px solid #fff; }
.opt:disabled { opacity: .5; cursor: not-allowed; }

.modes { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .modes { grid-template-columns: repeat(3, 1fr); } }
.mode { flex-direction: row; justify-content: space-between; gap: 10px; text-align: start; padding: 14px 16px; min-height: 104px; }
.mode .mtxt { display: flex; flex-direction: column; gap: 4px; }
.mode .mt { font-weight: 800; font-size: 1.15rem; color: var(--red); }
.mode.sel .mt { color: #2b1d16; }
.mode .md { font-size: .88rem; color: #5f5047; line-height: 1.4; }
.mode .mode-ic { width: 76px; height: 76px; flex: none; }
@media (min-width: 640px) { .mode { flex-direction: column-reverse; justify-content: flex-start; text-align: center; padding-top: 16px; } .mode .mtxt { align-items: center; } }

.tops-banner { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 10px; background: #eef1dc; margin-bottom: 14px; }
.tops-banner > svg.i { width: 40px; height: 40px; color: var(--red); stroke-width: 1.4; }
.tops-banner b { display: block; color: var(--green); font-size: 1.25rem; }
.tops-banner span { color: #5f5047; font-size: .9rem; }

.halfbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 12px; margin-bottom: 14px; }
.halfbtn { border: 2px solid transparent; border-radius: 12px; padding: 12px 10px; cursor: pointer; text-align: center; min-height: 86px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.halfbtn .ht { font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 1.05rem; }
.halfbtn .hs { font-size: .85rem; color: #5f5047; display: block; line-height: 1.35; background: #fff; border-radius: 8px; padding: 6px 8px; }
.halfbtn.r { background: #f8e6e0; }
.halfbtn.r .ht { color: var(--red); }
.halfbtn.l { background: #eef1dc; }
.halfbtn.l .ht { color: var(--green); }
.halfbtn.r.on { border-color: var(--red); }
.halfbtn.l.on { border-color: var(--green); }
.pizza-vis { width: 110px; height: 110px; align-self: center; }
.half-hint { text-align: center; font-weight: 800; margin: -4px 0 12px; }
@media (max-width: 520px) { .halfbar { grid-template-columns: 1fr 1fr; } .halfbar .pizza-vis { grid-row: 1; grid-column: 1 / 3; justify-self: center; } }

.slicepick { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-bottom: 14px; }
.slicepick .slices-svg { width: 240px; height: 240px; }
.slice-q { font-size: 1.15rem; margin: 0 0 4px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 640px) { .slicepick { grid-template-columns: 1fr; justify-items: center; text-align: center; } .slicepick .slicectl { width: 100%; } .quick { justify-content: center; } .slicepick .slices-svg { width: min(78vw, 280px); height: min(78vw, 280px); } }

.tops { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .tops { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); } }
.top { display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 6px 10px; border: 1.5px solid #e6dcc9; border-radius: 10px; background: #fff; cursor: pointer; text-align: start; }
.top .tn { flex: 1; font-weight: 800; font-size: 1rem; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.top .tp { font-size: .78rem; color: var(--muted); font-weight: 500; }
.top .ti { font-size: 1.45rem; line-height: 1; }
.top .box { width: 24px; height: 24px; border-radius: 6px; border: 2px solid #b9ab94; display: grid; place-items: center; flex: none; color: #fff; background: #fff; }
.top .box svg.i { width: 16px; height: 16px; stroke-width: 3; }
.top.on { border-color: #c9d6a2; background: #f6f8ec; }
.top.on .box { background: var(--green); border-color: var(--green); }
.top.on.r .box { background: var(--red); border-color: var(--red); }
.top.act { outline: 3px solid var(--green); outline-offset: 2px; }
.top:disabled { opacity: .5; }

.summary { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .97rem; }
.summary > div { margin: 3px 0; }

.addbar { position: fixed; inset-inline: 0; bottom: calc(64px + var(--safe-b)); z-index: 400; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(60, 30, 10, .08); }
.addbar .wrap { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.addbar .qty-group .ql { display: none; }
.addbar .total { display: flex; flex-direction: column; line-height: 1.1; }
.addbar .total small { color: #3b2b20; font-size: .82rem; font-weight: 700; }
.addbar .total .price { font-size: 1.45rem; font-weight: 800; color: var(--red); }
.addbar .btn { flex: 1; white-space: nowrap; padding: 0 .8em; }
@media (min-width: 761px) {
  .addbar { position: static; box-shadow: none; border: 0; border-top: 1px solid var(--line); background: none; margin-top: 16px; }
  .addbar .wrap { padding: 16px 0 0; gap: 28px; }
  .addbar .qty-group { display: flex; align-items: center; gap: 14px; }
  .addbar .qty-group .ql { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 1.2rem; }
  .addbar .qty-group .ql svg.i { color: var(--red); }
  .addbar .total { margin-inline-start: auto; align-items: center; }
  .addbar .total .price { font-size: 2rem; }
  .addbar .btn { flex: 0 1 300px; min-height: 60px; font-size: 1.3rem; border-radius: 10px; }
}
.qty { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1.5px solid #e6dcc9; border-radius: 10px; padding: 3px; }
.qty .icon-btn { width: 38px; height: 38px; border: 0; border-radius: 8px; background: #eef1dc; color: var(--green); font-size: 1.3rem; }
.qty span { min-width: 30px; text-align: center; font-weight: 800; font-size: 1.1rem; }
.qty.sm .icon-btn { width: 28px; height: 28px; font-size: 1rem; }
.qty.sm span { min-width: 22px; font-size: .95rem; }

/* ---------- لوحات بعنوان أحمر (طلبك الحالي، طلباتي، ...) ---------- */
.panel { background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.panel-h { margin: 0; display: flex; align-items: center; gap: 10px; padding: 12px 18px; color: #fff; font-size: 1.3rem; background: linear-gradient(90deg, #8e0d14, #b3121b 60%); position: relative; }
.panel-h::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, transparent, #7a9a2a 40%, transparent); opacity: .5; }
.panel-h.green { background: linear-gradient(90deg, #3f5512, #5b7a1c 60%); }
.panel-b { padding: 16px; }
.sline { display: grid; grid-template-columns: 62px 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.sline img { width: 62px; height: 62px; border-radius: 10px; object-fit: cover; }
.sinfo b { display: block; font-size: 1.02rem; }
.sinfo span { font-size: .84rem; color: #5f5047; }
.sctl { display: grid; grid-template-columns: auto auto; gap: 6px 8px; justify-items: end; align-items: center; }
.sctl .sp { color: var(--red); grid-column: 1 / 3; }
.icon-btn.sm { width: 30px; height: 30px; border: 0; background: none; color: var(--muted); }
.stotals { padding: 10px 16px 14px; }
.stotals .tr { display: flex; justify-content: space-between; margin: 3px 0; font-weight: 700; }
.stotals .grand { background: #eef1dc; border-radius: 10px; padding: 10px 12px; margin-top: 8px; font-size: 1.25rem; font-weight: 800; color: var(--green); }
.stotals .grand .price { color: var(--red); font-size: 1.45rem; }
.srow { display: grid; grid-template-columns: 1fr auto auto 14px; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.srow .snum { display: flex; flex-direction: column; line-height: 1.25; }
.srow .snum small { color: var(--muted); }
.srow .price { color: var(--red); }
.srow .chev { color: var(--muted); font-size: 1.3rem; }
.all-orders { display: flex; margin: 10px auto 14px; width: max-content; border-radius: 999px; }
.disabled-link { opacity: .55; }

/* بطاقات الصفحات الأخرى بعنوان أحمر */
.block { padding: 16px; margin-top: 16px; }
.card.block > h2:first-child { margin: -16px -16px 14px; padding: 12px 16px; color: #fff; background: linear-gradient(90deg, #8e0d14, #b3121b 60%); font-size: 1.2rem; border-radius: 15px 15px 0 0; display: flex; align-items: center; gap: 8px; }
.card.block > h2:first-child .step { width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; font-size: .9rem; flex: none; }

/* السلة */
.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--surface-2); }
.cart-line h3 { font-size: 1.12rem; margin: 0; }
.cart-line .det { font-size: .88rem; color: #5a4a3f; margin: 4px 0 8px; }
.cart-line .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cart-line .row b .price { color: var(--red); }
.totals { padding: 14px; }
.totals .tr { display: flex; justify-content: space-between; margin: 4px 0; }
.totals .grand { font-size: 1.25rem; font-weight: 800; color: var(--green); background: #eef1dc; border-radius: 10px; padding: 10px 12px; margin-top: 10px; }
.totals .grand .price { color: var(--red); }
.empty { text-align: center; padding: 50px 16px; }
.empty .big svg.i { width: 64px; height: 64px; color: var(--red); stroke-width: 1.3; }

/* إتمام الطلب */
.two { display: grid; gap: 16px; }
@media (min-width: 900px) { .two { grid-template-columns: 1.4fr 1fr; align-items: start; } .two > .sticky { position: sticky; top: 92px; } }
.choice2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border: 2px solid #e6dcc9; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 800; font-size: 1.1rem; min-height: 92px; justify-content: center; color: var(--text); }
.choice .ic svg.i { width: 30px; height: 30px; }
.choice small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.choice.sel { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 3px 0 var(--red-dark); }
.choice.sel small { color: #ffe1dc; }
.choice.sel::before { content: ''; position: absolute; top: -9px; inset-inline-start: -9px; width: 24px; height: 24px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3121b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; border: 2px solid var(--red); }
.question { font-size: 1.12rem; font-weight: 800; margin: 0 0 10px; }
.mapbox { height: 300px; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--line); margin: 10px 0; position: relative; z-index: 1; }
@media (min-width: 761px) { .mapbox { height: 360px; } }
.locbar { display: flex; flex-wrap: wrap; gap: 8px; }
.locstatus { margin-top: 8px; }
.checkrow { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 500; }
.checkrow input { width: 22px; height: 22px; accent-color: var(--green); }
.paybox { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border: 2px solid var(--green); background: #f6f8ec; border-radius: 12px; font-weight: 800; font-size: 1.15rem; }
.paybox .pcheck { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.paybox .pcheck svg.i { width: 16px; height: 16px; stroke-width: 3; }

/* طلباتي ومتابعة الطلب */
.ocard { padding: 14px; margin-bottom: 12px; display: block; text-decoration: none; color: inherit; }
.ocard .oh { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ocard .onum { font-weight: 800; font-size: 1.1rem; }
.ocard .oitems { color: var(--muted); font-size: .9rem; margin: 6px 0; }
.ocard.latest { border: 2px solid var(--red); }
.latest-label { display: inline-block; background: var(--red); color: #fff; font-size: .78rem; font-weight: 800; padding: 2px 10px; border-radius: 8px; margin-bottom: 8px; }
.status-big { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; font-size: 1.25rem; font-weight: 800; margin: 10px 0; }
.status-big svg.i { width: 2rem; height: 2rem; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--green); font-weight: 700; }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.page-title { display: flex; align-items: center; gap: 10px; font-size: 2rem; font-weight: 800; color: var(--red); margin: 22px 0 12px; }
.minimap { height: 200px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin-top: 8px; position: relative; z-index: 1; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--muted); text-decoration: none; font-weight: 700; }
footer.foot { text-align: center; color: var(--muted); font-size: .9rem; padding: 30px 16px; display: flex; gap: 8px; justify-content: center; align-items: center; }
footer.foot b { color: var(--red); }

/* ضبط الهاتف */
@media (max-width: 760px) {
  #sizes.opts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .opt.size { min-height: 88px; padding: 10px 4px; }
  .opt.size b { font-size: 1.05rem; }
  .opt.size .price { font-size: 1.05rem; }
  .sec h2 { font-size: 1.15rem; }
  .addbar .wrap { gap: 8px; }
  .addbar .total { white-space: nowrap; }
  .addbar .total small { font-size: .72rem; }
  .addbar .total .price { font-size: 1.2rem; }
  .addbar .btn { min-height: 48px; font-size: 1rem; }
  .mode .mode-ic { width: 64px; height: 64px; }
}
@media (max-width: 400px) { .addbar .btn { min-width: 0; padding: 0 .6em; } .addbar .btn svg.i { display: none; } }
