:root{
  --card:#ffffff;
  --ink:#111;
  --muted:#6b7280;
  --brand:#e5533e;
  --brand2:#ff7a50;
  --line:rgba(17,17,17,.08);
  --shadow:0 20px 60px rgba(0,0,0,.22);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  color:var(--ink);
  background:#0b0b0b;
}
.bg{
  position:fixed; inset:0;
  background:url("images/slide1.webp") center/cover no-repeat;
  filter: blur(2px) saturate(1.1);
  transform: scale(1.02);
}
.topbar{
  position:sticky; top:0;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 18px;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,.25);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.brand{display:flex; gap:10px; align-items:center}
.logo{width:120px; height:44px}
.brandTitle{font-weight:900; color:#fff; letter-spacing:.4px}
.brandSub{font-size:12px; color:rgba(255,255,255,.75)}
.wa{
  color:#fff;
  text-decoration:none;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}

.wrap{position:relative; z-index:2; padding:10px}
.card{
  max-width: 860px;
  margin: 18px auto 10px auto;
  background: var(--card);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.cardHead{
  padding: 18px 18px 14px 18px;
  border-bottom:1px solid var(--line);
}
h1{margin:0 0 6px 0; font-size:22px}
h2{margin:0 0 10px 0; font-size:18px}
.muted{color:var(--muted)}
.small{font-size:15px}
.progress{margin-top:14px}
.progressTop{display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap}
.progressText{font-weight:800}
.trust{display:flex; gap:10px; color:var(--muted); font-size:14px}
.bar{height:10px; background:rgba(17,17,17,.08); border-radius:999px; overflow:hidden}
.barFill{height:100%; width:20%; background: linear-gradient(90deg, var(--brand), var(--brand2)); border-radius:999px; transition:width .25s ease}

.step{padding:18px}

.grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
@media (max-width:840px){ .grid{grid-template-columns: repeat(2, 1fr);} }
@media (max-width:520px){ .grid{grid-template-columns: 1fr;} }

.shoeCard{
  position:relative;
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px;
  background:#fff;
  display:flex;
  gap:5px;
  align-items:center;
}
.shoeCard.active{
  border-color: rgba(229,83,62,.55);
  box-shadow: 0 12px 28px rgba(229,83,62,.16);
}
.shoeImg{
  width:74px; height:74px;
  border-radius:14px;
  background: rgba(0,0,0,.03);
  object-fit:contain;
}
.shoeMeta{flex:1; min-width:0}
.shoeName{font-weight:900; font-size:18px}
.shoeSub{font-size:17px; color:var(--muted); margin-top:2px}
.counter{
  display:flex;
  align-items:center;
  gap:1px;
}
.counter button{
  width:36px; height:36px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:900;
  cursor:pointer;
}
.counter .qty{
  width:28px;
  text-align:center;
  font-weight:900;
}
.badgeOffer{
  position:absolute;
  top:0px;
  inset-inline-end:0px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:400;
  background:rgba(0,0,0,.05);
  color:red;
}
.priceChip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
  font-size: 19px;
  font-weight:900;
}
.old{opacity:.55; text-decoration:line-through; text-decoration-thickness:2px}
.new{color:#d32f2f}
.sar{font-weight:700; font-size:15px; color:var(--muted)}

.totals{
  margin-top:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background: rgba(0,0,0,.02);
  padding:12px;
}
.totRow{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:6px 0;
}
.totRow.grand{
  border-top:1px dashed var(--line);
  margin-top:8px;
  padding-top:10px;
  font-size:18px;
}
.hint{color:var(--muted); font-weight:700}
.note{margin-top:8px; color:var(--muted); font-size:12px; line-height:1.6}

.field{display:block; margin-top:12px}
.field > span{display:block; font-size:12px; color:var(--muted); margin-bottom:6px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  outline:none;
  font-size:15px;
}
textarea{resize:vertical}

.mapWrap{position:relative; margin-top:12px}
.map{
  width:100%;
  height:280px;
  border-radius:16px;
  border:1px solid var(--line);
  overflow:hidden;
}
.mapBtn{
  position:absolute;
  top:12px;
  inset-inline-end:12px;
  background:#fff;
}
.row{display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:12px}
.grow{flex:1}

.actions{
  margin-top:16px;
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.btn{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight:900;
}
.btn:disabled{opacity:.45; cursor:not-allowed}
.primary{
  border:none;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  color:#fff;
}
.msg{margin-top:10px; color:#b91c1c; font-weight:700; min-height:18px}
.msg.ok{color:#166534}
.summary{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  background: rgba(0,0,0,.02);
  line-height:1.9;
}
.otpBox{
  margin-top:12px;
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  background: rgba(0,0,0,.02);
}
.center{text-align:center; padding:10px 0}
.big{font-weight:900; font-size:18px}

.foot{
  max-width:860px;
  margin: 0 auto;
  padding: 10px 6px 26px 6px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(255,255,255,.75);
}
