:root {
  --bg: #FFFFFF; --soft: #F5F6F8; --card: #FFFFFF; --blue: #0A6BA8; --blue-d: #08578A; --tint: #E9F3FA;
  --red: #D4202C; --ink: #14202B; --ink-2: #5B6875; --line: #E6EAEE; --ok: #0F8A4B; --ok-bg: #E6F5EC;
  --r: 16px; --shadow: 0 2px 10px rgba(20,32,43,.08);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased;
       font-family: "Cairo", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; font-size: 15px; line-height: 1.5; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
main { overflow-x: clip; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px; }

/* ---------- app bar ---------- */
.appbar { position: sticky; top: 0; z-index: 20; background: var(--bg); box-shadow: 0 1px 0 var(--line); padding: 10px 0 12px; }
.row1 { display: flex; align-items: center; gap: 10px; }
.logo img { width: 112px; height: auto; }
.where { display: flex; align-items: center; gap: 6px; min-width: 0; margin-inline-start: auto; padding: 6px 10px; min-height: 44px;
         border: 0; border-radius: 12px; background: var(--soft); text-align: start; }
.where svg { width: 18px; height: 18px; flex: none; fill: var(--red); }
.where .chev { fill: var(--ink-2); }
.where span { display: grid; min-width: 0; line-height: 1.25; }
.where small { font-size: 11.500px; color: var(--ink-2); }
.where b { font-size: 13.500px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iconbtn { position: relative; width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: var(--soft); display: grid; place-items: center; }
.iconbtn svg { width: 22px; height: 22px; fill: var(--ink); }
.iconbtn b { position: absolute; top: -4px; inset-inline-start: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
             background: var(--red); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.search { position: relative; display: block; margin-top: 10px; }
.search svg { position: absolute; inset-inline-start: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: var(--ink-2); }
.search input { width: 100%; height: 46px; padding-block: 0; padding-inline: 44px 14px; border: 1px solid transparent; border-radius: 12px; background: var(--soft); }
.search input::placeholder { color: var(--ink-2); }
.search input:focus { outline: none; border-color: var(--blue); background: #fff; }

/* ---------- banners ---------- */
.banners { display: flex; gap: 12px; margin: 16px -16px 0; padding: 0 16px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.banners::-webkit-scrollbar, .hrow::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
.banner { position: relative; flex: 0 0 86%; max-width: 420px; min-height: 132px; padding: 18px; border-radius: 20px; color: #fff;
          scroll-snap-align: center; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.banner h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; line-height: 1.35; text-wrap: balance; max-width: 15em; }
.banner p { margin: 0; font-size: 13.500px; opacity: .92; max-width: 19em; }
.banner::after { content: ""; position: absolute; inset-inline-end: -40px; bottom: -50px; width: 170px; height: 170px; border-radius: 50%;
                 background: rgba(255,255,255,.14); box-shadow: -60px -70px 0 -30px rgba(255,255,255,.10); }
.banner.b1 { background: linear-gradient(135deg, #0A6BA8, #064C7A); }
.banner.b2 { background: linear-gradient(135deg, #D4202C, #9E1420); }
.banner.b3 { background: linear-gradient(135deg, #0F8A4B, #0A6337); }

/* ---------- sections ---------- */
.block { margin-top: 24px; }
.block h2, .rhead h2 { margin: 0; font-size: 18px; font-weight: 700; }
.rhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.rhead a { flex: none; font-size: 13.500px; font-weight: 600; color: var(--blue); text-decoration: none; padding: 6px 0; }
.cats { margin-top: 4px; }
.cgroup { margin: 14px 0 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; text-align: center; }
.cat i { display: grid; place-items: center; width: 100%; max-width: 86px; aspect-ratio: 1; border-radius: 18px; background: var(--soft); overflow: hidden; transition: transform .15s ease; }
.cat i img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.cat:hover i { transform: translateY(-2px); }
.cat span { font-size: 11.500px; font-weight: 600; line-height: 1.3; }
.hrow { display: flex; gap: 12px; margin: 0 -16px; padding: 2px 16px 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.hrow .p { flex: 0 0 148px; scroll-snap-align: start; }

/* ---------- product card ---------- */
.p { position: relative; display: flex; flex-direction: column; min-width: 0; }
.p .ph { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); background: var(--soft); aspect-ratio: 1; overflow: hidden; }
.p .ph img { width: 100%; height: 100%; object-fit: contain; padding: 12px; mix-blend-mode: multiply; }
.p h3 { margin: 8px 0 2px; font-size: 13.500px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.p .price { margin-top: 2px; }
.price { font-weight: 700; font-size: 15.500px; font-variant-numeric: tabular-nums; }
.price small { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.badge { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 1; padding: 2px 8px; border-radius: 999px; background: #fff; color: var(--red);
         font-size: 11.500px; font-weight: 700; box-shadow: var(--shadow); }
.ctl { position: absolute; z-index: 2; inset-inline-end: 8px; top: calc(100% - 8px); transform: translateY(-100%); }
.p .ctl { top: auto; transform: none; }
.p .ph + .ctl { position: absolute; }
.add { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: var(--shadow);
       font-size: 24px; font-weight: 500; line-height: 1; display: grid; place-items: center; }
.add:hover { background: var(--blue); color: #fff; }
.qty { display: flex; align-items: center; height: 36px; border-radius: 18px; background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.qty button { width: 34px; height: 36px; border: 0; background: none; color: #fff; font-size: 20px; font-weight: 600; line-height: 1; }
.qty button:disabled { opacity: .4; cursor: default; }
.qty span { min-width: 20px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.imgwrap { position: relative; }
.imgwrap .ctl { position: absolute; inset-inline-end: 8px; bottom: 8px; top: auto; transform: none; }

/* ---------- listing ---------- */
.lhead { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.lhead h1 { margin: 0; font-size: 20px; font-weight: 700; }
.lcount { margin-inline-start: auto; font-size: 13px; color: var(--ink-2); }
.back { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--soft); display: grid; place-items: center; }
.back svg { width: 20px; height: 20px; }
.chips { position: sticky; top: 124px; z-index: 10; display: flex; gap: 8px; margin: 12px -16px 0; padding: 8px 16px; overflow-x: auto; background: var(--bg); scrollbar-width: none; }
.chips a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--soft); font-size: 13.500px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.chips a[aria-current="true"] { background: var(--ink); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; margin-top: 10px; }
.none { padding: 40px 0; text-align: center; color: var(--ink-2); }
.none .btn { display: inline-flex; width: auto; padding: 0 20px; }
.sk { border-radius: var(--r); background: linear-gradient(90deg, #F0F2F5, #F8F9FB, #F0F2F5); background-size: 200% 100%; animation: sh 1.200s linear infinite; }
.sk.card { flex: 0 0 148px; height: 220px; } .sk.ban { height: 132px; margin-top: 16px; border-radius: 20px; }
@keyframes sh { to { background-position: -200% 0; } }

/* ---------- footer ---------- */
.foot { margin-top: 36px; padding: 24px 0 120px; background: var(--soft); font-size: 13px; color: var(--ink-2); }
.finfo { display: grid; gap: 12px; margin-bottom: 14px; }
.finfo div { padding: 14px; border-radius: var(--r); background: #fff; }
.finfo b { display: block; color: var(--ink); font-size: 14.500px; margin-bottom: 2px; }
.finfo a { display: inline-block; margin-top: 6px; margin-inline-end: 14px; color: var(--blue); font-weight: 600; text-decoration: none; }

/* ---------- cart bar ---------- */
.cartdock { position: fixed; z-index: 15; inset-inline: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); max-width: 520px; margin: 0 auto;
            border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(20,32,43,.22); overflow: hidden; }
.goal { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 12.5px; font-weight: 600; color: #0A6337; background: var(--ok-bg); }
.goal i { flex: 0 0 64px; height: 6px; border-radius: 3px; background: rgba(15,138,75,.2); overflow: hidden; }
.goal i b { display: block; height: 100%; background: var(--ok); border-radius: 3px; transition: width .3s ease; }
.goal.won { color: #fff; background: var(--ok); } .goal.won i { display: none; }
.cartbar { width: 100%; height: 56px; padding: 0 16px;
           display: flex; align-items: center; gap: 12px; border: 0; border-radius: 0; background: var(--blue); color: #fff; }
.cartbar b { font-size: 16px; font-weight: 700; }
.cartbar .n { min-width: 28px; height: 28px; padding: 0 6px; border-radius: 9px; background: rgba(255,255,255,.22); display: grid; place-items: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cartbar .t { margin-inline-start: auto; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- sheets ---------- */
.overlay { position: fixed; inset: 0; z-index: 30; background: rgba(20,32,43,.5); display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease; }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: 92dvh; overflow-y: auto; padding: 6px 16px calc(22px + env(safe-area-inset-bottom));
         background: var(--bg); border-radius: 24px 24px 0 0; animation: up .24s cubic-bezier(.2,.8,.2,1); }
.grab { width: 40px; height: 4px; margin: 4px auto 6px; border-radius: 2px; background: var(--line); }
.shead { position: sticky; top: -6px; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 8px 0; background: var(--bg); }
.shead h2 { margin: 0; font-size: 19px; font-weight: 700; }
.x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); font-size: 22px; line-height: 1; }
.x.float { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; }
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
@keyframes fade { from { opacity: 0; } }

.bopt { display: block; width: 100%; padding: 14px; margin-bottom: 10px; text-align: start; border: 1.500px solid var(--line); border-radius: var(--r); background: #fff; }
.bopt[aria-pressed="true"] { border-color: var(--blue); background: var(--tint); }
.bopt b { display: block; font-size: 15.500px; font-weight: 700; }
.bopt span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.bopt em { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 600; font-style: normal; }
.bopt em.alt { background: var(--soft); color: var(--ink-2); }

.pbig { display: grid; place-items: center; margin: 4px 0 12px; border-radius: 20px; background: var(--soft); aspect-ratio: 4/3; }
.pbig img { width: 70%; height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.pcat { margin: 0; font-size: 12.500px; font-weight: 600; color: var(--blue); }
#prodSheet h2 { margin: 2px 0 6px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.pprice { margin: 0; font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pstock { margin: 4px 0 14px; font-size: 13px; color: var(--ok); font-weight: 600; }
#pCtl .btn { margin-top: 0; }
#pCtl .qty { height: 52px; border-radius: 14px; justify-content: space-between; padding: 0 8px; }
#pCtl .qty button { width: 52px; height: 52px; font-size: 24px; }
#pCtl .qty span { font-size: 17px; }

.line { display: grid; grid-template-columns: 60px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line .th { width: 60px; height: 60px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; }
.line .th img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.line h4 { margin: 0 0 6px; font-size: 13.500px; font-weight: 500; line-height: 1.4; }
.line .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.line .lp { font-weight: 700; font-variant-numeric: tabular-nums; }
.line .qty { box-shadow: none; }
.progress { margin: 14px 0 4px; padding: 12px; border-radius: 12px; background: var(--ok-bg); }
.progress div { height: 6px; border-radius: 3px; background: rgba(15,138,75,.18); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 3px; background: var(--ok); transition: width .3s ease; }
.progress p { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #0A6337; }
.sum, .totals div { display: flex; justify-content: space-between; padding: 10px 0 2px; font-variant-numeric: tabular-nums; }
.totals { margin: 16px 0 6px; padding: 6px 14px 10px; background: var(--soft); border-radius: var(--r); }
.totals .grand { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 700; }

.btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin-top: 12px; border: 0; border-radius: 14px;
       font-weight: 700; font-size: 16px; text-decoration: none; }
.btn.primary { background: var(--blue); color: #fff; } .btn.primary:hover { background: var(--blue-d); } .btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { height: 46px; margin-top: 6px; background: var(--soft); color: var(--ink); font-size: 14.500px; font-weight: 600; }
.link { border: 0; background: none; color: var(--blue); font-weight: 600; padding: 6px; }
.link.center { display: block; margin: 6px auto 0; }
.hint { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); } .hint.ok { color: var(--ok); font-weight: 600; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 14px 0 0; padding: 0; border: 0; }
.seg legend { padding: 0 0 6px; font-weight: 600; font-size: 14px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; min-height: 48px; padding: 0 8px; text-align: center; border-radius: 12px; border: 1.500px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; }
.seg input:checked + span { border-color: var(--blue); background: var(--tint); color: var(--blue-d); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 1px; }
.seg input:disabled + span { opacity: .45; cursor: default; }
.f { display: block; margin-top: 12px; font-weight: 600; font-size: 14px; }
.f input, .f select, .f textarea { display: block; width: 100%; min-height: 48px; margin-top: 6px; padding: 10px 12px; border-radius: 12px; border: 1.500px solid var(--line); background: #fff; font-weight: 400; }
.f textarea { min-height: 68px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--blue); }
.err { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #FDECEC; color: #8E1620; font-weight: 600; font-size: 14px; }
.done { padding: 24px 0 6px; text-align: center; }
.done svg { width: 64px; height: 64px; fill: var(--ok); }
.done h3 { margin: 8px 0 4px; font-size: 21px; font-weight: 700; }
.done p { margin: 4px 0; color: var(--ink-2); } .done b { color: var(--ink); }

/* ---------- larger screens ---------- */
@media (min-width: 720px) {
  .appbar .wrap { display: flex; align-items: center; gap: 16px; }
  .row1 { display: contents; }
  .logo { order: 1; } .search { order: 2; flex: 1; margin-top: 0; max-width: 520px; } .where { order: 3; margin-inline-start: auto; } .iconbtn { order: 4; }
  .logo img { width: 132px; }
  .banners { margin: 20px 0 0; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(3, 1fr); }
  .banner { flex: none; max-width: none; min-height: 150px; }
  .catgrid { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .cat i { max-width: 96px; } .cat span { font-size: 13.500px; }
  .hrow { margin: 0; padding: 2px 0 10px; } .hrow .p { flex-basis: 168px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 24px 16px; }
  .chips { top: 70px; margin: 12px 0 0; padding: 8px 0; }
  .finfo { grid-template-columns: 1fr 1fr; }
  .overlay { align-items: center; }
  .sheet { border-radius: 24px; max-height: 88dvh; } .grab { display: none; }
  .sheet.small { max-width: 440px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (min-width: 980px) { .catgrid { grid-template-columns: repeat(8, 1fr); } }

/* card add-to-cart: full-width button under the price (v2.1, owner asked for an explicit "أضف للسلة") */
.p .ctl { position: static; transform: none; margin-top: 8px; }
.p .add { width: 100%; height: 40px; border-radius: 12px; background: var(--tint); color: var(--blue-d); box-shadow: none;
          font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; }
.p .add svg { width: 17px; height: 17px; fill: currentColor; }
.p .add:hover { background: var(--blue); color: #fff; }
.p .qty { width: 100%; height: 40px; border-radius: 12px; justify-content: space-between; box-shadow: none; }
.p .qty button { width: 44px; height: 40px; }
.line .add { width: 36px; height: 36px; border-radius: 50%; font-size: 0; }

.p h3 a { color: inherit; text-decoration: none; }
.pmed { margin: -6px 0 14px; padding: 10px 12px; border-radius: 12px; background: #FFF6E5; color: #7A4B00; font-size: 13px; font-weight: 600; }
/* server-rendered content shown before the script takes over (and to search engines) */
#ssr { padding-top: 16px; } .ssr-h1 { margin: 0 0 12px; font-size: 20px; font-weight: 700; }
#ssr .cats { display: flex; flex-wrap: wrap; gap: 8px; } #ssr .cat span { display: block; padding: 8px 12px; border-radius: 999px; background: var(--soft); }
#ssr h2 a { color: inherit; text-decoration: none; } #ssr .cat { text-decoration: none; }
.pdetail img { width: 220px; height: 220px; object-fit: contain; margin: 0 auto; }

/* ---------- banners v2: text + real product cutouts ---------- */
.banner { flex-direction: row; align-items: center; gap: 8px; min-height: 150px; padding: 18px 16px; text-decoration: none; }
.btext { position: relative; z-index: 1; flex: 1; min-width: 0; }
.banner h3 { font-size: 19px; margin-bottom: 4px; }
.banner p { font-size: 13px; }
.bcta { display: inline-block; margin-top: 10px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 700; }
.bimgs { position: relative; z-index: 1; flex: 0 0 120px; height: 120px; }
.bp { position: absolute; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.18); overflow: hidden; }
.bp img { width: 78%; height: 78%; object-fit: contain; }
.bp0 { width: 86px; height: 86px; inset-inline-end: 0; top: 0; z-index: 2; }
.bp1 { width: 64px; height: 64px; inset-inline-start: 0; top: 46px; }
.bp2 { width: 52px; height: 52px; inset-inline-end: 22px; bottom: -4px; z-index: 3; }
.banner.b4 { background: linear-gradient(135deg, #5B3FD6, #3A238F); }
.banner.b5 { background: linear-gradient(135deg, #E0607E, #B43358); }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .2s ease, background .2s ease; }
.dots i.on { width: 18px; background: var(--blue); }
@media (min-width: 720px) {
  .banners { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .dots { display: none; }
}

.pnrow{display:flex;align-items:flex-start;gap:10px;justify-content:space-between}.pnrow h2{flex:1;margin:0}
.pshare{flex:none;display:inline-flex;align-items:center;gap:5px;height:34px;padding:0 12px;border:1px solid #d9e2ee;border-radius:999px;background:#fff;color:#2563A8;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.pshare svg{width:16px;height:16px;fill:currentColor}.pshare.ok{background:#e8f5ec;border-color:#9fd3b0;color:#1f7a3f}

/* simple checkout preview (2026-11-24) */
.pv-simple #locNote,.pv-simple #zoneMiss{display:none}
.pv-simple #zoneNote{display:block;margin-top:6px;padding:8px 10px;border-radius:10px;background:#eef4fb;color:#1d4f86;font-weight:700;font-size:13px}

/* in-stock alternative card on on-request pages (2026-11-24) */
.palt{margin:10px 0;padding:10px 12px;border:2px solid #1d8a4e;border-radius:14px;background:#effaf3}
.palt-h{margin:0 0 8px;font-weight:800;color:#146c3c;font-size:14px}
.palt-r{display:flex;align-items:center;gap:10px}
.palt-r img{width:64px;height:64px;object-fit:contain;background:#fff;border-radius:10px;display:block}
.palt-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.palt-t a{color:inherit;text-decoration:none;font-weight:700;font-size:14px;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.palt-t b{color:#146c3c}
.palt .ctl{flex:none}
.palt-add{flex:none;border:0;border-radius:12px;background:#1d8a4e;color:#fff;font:inherit;font-weight:800;font-size:14px;padding:10px 14px;cursor:pointer}
.palt-add:active{transform:scale(.97)}

/* recent searches (2026-11-24) */
.recq{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px;padding:10px;background:#fff;border-radius:14px;box-shadow:0 4px 14px rgba(0,0,0,.08)}
.recq span{width:100%;font-size:12px;color:#667;font-weight:700}
.recq button{border:1px solid #d6dde8;background:#f5f8fc;color:#1d3557;border-radius:999px;padding:6px 12px;font:inherit;font-size:13px;cursor:pointer}
.recq .rqx{border:0;background:none;color:#c0392b;font-weight:700;margin-inline-start:auto}

/* one h1 per page (2026-11-27) */
.lhead h2#ltitle { margin: 0; font-size: 20px; font-weight: 700; }

/* Clarity UX preview pv=1 (2026-11-27) */
.pv-ui .pstock.tap{cursor:pointer;color:#1d4f86;text-decoration:underline;text-underline-offset:3px}
.pv-ui .pstock.tap::after{content:" ←";text-decoration:none}
.recq .pq{background:#fff;border-color:#2563A8;color:#2563A8;font-weight:700}
.zfees{margin-top:14px;padding-top:12px;border-top:1px solid #e3e8ef}
.zfees h3{margin:0 0 8px;font-size:15px}
.zfees input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid #d6dde8;border-radius:12px;font:inherit;font-size:14px;margin-bottom:8px}
.zfees ul{list-style:none;margin:0;padding:0;max-height:42vh;overflow:auto}
.zfees li{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:9px 2px;border-bottom:1px solid #f0f2f5}
.zfees li span{font-weight:800;color:#146c3c}
.zfees li small{grid-column:1/-1;color:#667;font-size:12px}
.zfees li.none{display:block;color:#667}
.arbar{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:center;gap:12px;background:#2563A8;color:#fff;padding:8px 12px;font-size:14px}
.arbar a{color:#fff;font-weight:800;text-decoration:none}
.arbar button{border:0;background:none;color:#fff;font-size:20px;line-height:1;cursor:pointer;padding:0 4px}

/* flash sale section (2026-11-27) */
.fsale{background:linear-gradient(135deg,#fff1f4,#fff);border:2px solid #e0245e;border-radius:18px;padding:12px 10px 6px}
.fsale .rhead h2{color:#c2185b}
.fsale .fsend{font-size:13px;font-weight:700;color:#c2185b}
.fsale .fsend b{direction:ltr;display:inline-block;background:#c2185b;color:#fff;border-radius:8px;padding:1px 7px;font-variant-numeric:tabular-nums}
.fstag{position:absolute;bottom:8px;inset-inline-start:8px;z-index:2;max-width:calc(100% - 16px);background:#c2185b;color:#fff;font-size:11px;font-weight:800;padding:3px 8px;border-radius:10px;line-height:1.3}
.imgwrap{position:relative}
.fsp{display:inline-block;background:#c2185b;color:#fff;font-style:normal;font-size:12px;font-weight:800;padding:2px 8px;border-radius:10px;vertical-align:middle}

.fsale{overflow:hidden}.fsale .hrow{margin-inline:0;padding-inline:0}

/* search suggestions as rows (owner 2026-11-28, ?pv=1 first) */
.recq.v2{display:block;padding:4px 0 6px;overflow:hidden}
.recq.v2 .sqh{display:flex;justify-content:space-between;align-items:center;padding:10px 16px 4px}
.recq.v2 .sqh span{width:auto;font-size:12.5px;color:#667;font-weight:700}
.recq.v2 .sqh .rqx{padding:4px 0;font-size:13px}
.recq.v2 .sqr{display:flex;align-items:center;gap:12px;width:100%;min-height:46px;margin:0;padding:0 16px;border:0;border-radius:0;background:none;color:#1d3557;font-size:15px;font-weight:500;text-align:start;cursor:pointer}
.recq.v2 .sqr bdi{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.recq.v2 .sqr svg{width:18px;height:18px;flex:none;color:#9aa5b4}
.recq.v2 .sqr:active,.recq.v2 .sqr:hover{background:#f3f6fa}
.recq.v2 .sqg{display:grid;grid-template-columns:1fr 1fr}

/* warehouse (imported) items, 1-3 working days (owner 2026-11-28) */
.badge.wh{background:#EEF4FF;color:#1E4E8C;top:auto;bottom:8px}
.lwh{font-size:12px;color:#1E4E8C;font-weight:600;margin-top:2px}

/* shop by brand (owner 2026-11-28, ?pv=1 first) */
.btile{flex:0 0 116px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 8px;background:#fff;border:1px solid #e6ebf2;border-radius:14px;text-decoration:none;color:inherit;text-align:center}
.btile .bpic{width:72px;height:72px;display:grid;place-items:center}
.btile .bpic img{max-width:72px;max-height:72px;object-fit:contain}
.btile b{font-size:14px;line-height:1.2;color:#1d3557;direction:ltr}
.btile small{font-size:12px;color:#667}
.ballg{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}
.ballg .btile{flex:none}

.btile.lg{justify-content:center}.btile.lg .bpic{width:100px;height:72px}.btile.lg .bpic img{max-width:100px;max-height:60px}

/* bigger size, better value (owner 2026-11-28, ?pv=1) */
.palt.big{border-color:#2563A8;background:#EEF4FF}.palt.big .palt-h{color:#1E4E8C}

/* cart nudges (owner 2026-11-28, ?pv=1 first) */
.codebar{margin:0 0 12px;padding:12px;border-radius:14px;background:#FFF6E5;border:1.5px solid #F2C46D}
.codebar p{margin:0 0 8px;font-size:14px;line-height:1.5;color:#5c3b00}
.codebar.done{background:#EAF7EF;border-color:#7CC59A}.codebar.done p{margin:0;color:#0A6337}
.cbar{height:8px;border-radius:4px;background:#F6E2B8;overflow:hidden}.cbar i{display:block;height:100%;background:#E8A317;border-radius:4px;transition:width .3s}
.cpick{display:flex;align-items:center;gap:10px;margin-top:10px;padding:8px;background:#fff;border-radius:10px}
.cpick img{width:44px;height:44px;object-fit:contain;flex:none}
.cpick span{flex:1;font-size:13px;line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.cpick small{display:block;color:#8a6a2a;font-weight:700}
.cpick button{flex:none;border:0;border-radius:10px;background:#E8A317;color:#fff;font:inherit;font-weight:800;padding:8px 14px;cursor:pointer}
.saverow.big{background:#EAF7EF;border-radius:10px;padding:8px 10px;color:#0A6337;font-weight:800}
.saverow.big b{color:#0A6337;font-size:16px}

#grid.bview{display:block}

/* Cairo font preview (owner 2026-11-28) */
body,button,input,select,textarea{font-family:"Cairo","IBM Plex Sans Arabic","Segoe UI",Tahoma,sans-serif}

/* category icon tiles + text sub-filters (owner 2026-11-28, ?pv=1 first) */
html.pv-tabs .chips{gap:10px;padding:10px 16px 8px;align-items:flex-start}
html.pv-tabs .chips a{display:flex;flex-direction:column;align-items:center;gap:4px;width:68px;padding:0;background:none;border-radius:0;color:#475467;font-weight:600;font-size:12px;white-space:normal;text-align:center;line-height:1.25}
html.pv-tabs .chips .ci{width:58px;height:58px;border-radius:16px;background:#f1f4f8;display:grid;place-items:center;border:2px solid transparent;overflow:hidden}
html.pv-tabs .chips .ci img{width:46px;height:46px;object-fit:contain}
html.pv-tabs .chips a[aria-current="true"]{background:none;color:#0b4fb3;font-weight:800}
html.pv-tabs .chips a[aria-current="true"] .ci{background:#e3edff;border-color:#0b5cd5}
html.pv-tabs .subs{gap:18px;padding:6px 0 10px;border-bottom:1px solid #e6ebf2;margin-bottom:12px}
html.pv-tabs .subs button{border:0;background:none;border-radius:0;color:#667085;padding:6px 0;font-weight:600;border-bottom:2px solid transparent}
html.pv-tabs .subs button[aria-pressed=true]{background:none;color:#0b4fb3;border-bottom-color:#0b5cd5;font-weight:800}
html.pv-tabs .subs button[aria-pressed=true] small{color:#5b7fc4}

html.pv-tabs #lintro{display:none!important}

/* uniform product cards (owner 2026-11-28, ?pv=1 first) */
html.pv-card .p{height:100%}
html.pv-card .p .ph{border-radius:16px}
html.pv-card .p .ph img{padding:8px}
html.pv-card .p h3{font-size:13.5px;line-height:1.45;min-height:2.9em;max-height:2.9em;-webkit-line-clamp:2;margin:8px 0 4px;font-weight:600}
html.pv-card .p .price{margin-top:auto}
html.pv-card .p .ctl{margin-top:8px}
html.pv-card .grid{align-items:stretch}
html.pv-card .hrow{align-items:stretch;scroll-padding-inline:16px}
html.pv-card .hrow .p{flex:0 0 46%;max-width:170px}

/* offers row (owner 2026-11-28) */
.block.offers .rhead h2::before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#d92d20;margin-inline-end:8px;vertical-align:middle}

/* add-to-cart button solid blue (owner 2026-11-29) */
html .p .add{background:#1f5fa8;color:#fff}
html .p .add:hover{background:#174a85;color:#fff}
.lrx{font-size:12px;color:#B42318;font-weight:700;margin-top:2px}
