.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 170px; position: relative; z-index: 1; }
.hero { position: relative; text-align: center; padding: 70px 10px 18px; overflow: hidden; }
.hero svg { position: absolute; z-index: 0; width: 38%; max-width: 220px; }
.hero svg.tl { top: -2px; left: -16px; } .hero svg.br { display: none; }
.hero img.logo { position: relative; z-index: 1; width: min(420px, 86%); }
.hero .info { position: relative; z-index: 1; margin-top: 6px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.closed { background: var(--red); color: #fff; text-align: center; padding: 14px; border-radius: 16px; font-family: var(--display); font-size: 20px; margin-bottom: 14px; }
.tabs { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--cream) 95%, transparent); backdrop-filter: blur(6px); display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; margin: 0 -16px 8px; padding-inline: 16px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; padding: 9px 20px; border-radius: 99px; border: 2px solid var(--orange-m); background: #fff; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--orange-d); }
.tab.on { background: var(--orange); color: #fff; border-color: var(--orange); }
.cat-t { font-size: 26px; color: var(--orange-d); margin: 18px 0 10px; }
.item { display: flex; gap: 12px; align-items: center; padding: 14px 16px; margin-bottom: 10px; }
.item .t { cursor: pointer; }
.item.has-img { padding: 10px; align-items: stretch; }
.item.has-img .t { display: flex; flex-direction: column; justify-content: center; padding: 4px 6px; }
.item .d { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.pic { position: relative; width: 116px; height: 116px; flex-shrink: 0; }
.pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; background: var(--orange-l); cursor: pointer; }
.pic-ctl { position: absolute; bottom: -8px; left: -6px; }
.pic-ctl .addbtn { width: 42px; height: 42px; border-radius: 14px; box-shadow: 0 6px 14px rgba(var(--orange-rgb), .4); }
.pic-ctl .stp { background: #fff; border-radius: 14px; padding: 3px; box-shadow: 0 6px 14px rgba(0,0,0,.18); gap: 2px; }
.pic-ctl .stp button { width: 34px; height: 34px; }
.sec-t { font-size: 24px; color: var(--orange-d); margin: 6px 0 4px; }
.offer.bn { padding: 0; overflow: hidden; aspect-ratio: 2/1; flex-basis: 86%; max-width: 420px; color: #fff; background: var(--ink); }
.offer.bn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bn-t { position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; background: linear-gradient(to top, rgba(0,0,0,.72), transparent); }
.bn-t b { display: block; font-size: 21px; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.bn-t .ob { background: var(--orange); color: var(--on-primary, #fff); }
.pd { position: relative; }
.pd-x { position: absolute; top: 12px; left: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 24px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.pd-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; display: block; }
.pd-p { font-family: var(--display); font-size: 24px; color: var(--orange-d); font-weight: 800; margin: 2px 0 6px; }
.pd-d { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0 0 6px; }
.item .t { flex: 1; min-width: 0; }
.item .n { font-weight: 800; font-size: 18px; }
.item .d { color: var(--muted); font-size: 14px; margin-top: 2px; }
.item .p { font-family: var(--display); color: var(--orange-d); font-size: 20px; font-weight: 800; margin-top: 4px; }
.addbtn { width: 48px; height: 48px; border-radius: 16px; border: 0; background: var(--orange); color: #fff; font-size: 30px; line-height: 1; font-weight: 700; flex-shrink: 0; }
.stp { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.stp button { width: 40px; height: 40px; border-radius: 12px; border: 2px solid var(--orange-m); background: #fff; color: var(--orange-d); font-size: 22px; font-weight: 800; line-height: 1; }
.stp b { min-width: 26px; text-align: center; font-size: 18px; }
.cartbar { position: fixed; bottom: 84px; left: 14px; right: 14px; max-width: 732px; margin: 0 auto; z-index: 20; }
.cartbar .btn { width: 100%; min-height: 62px; font-size: 20px; justify-content: space-between; box-shadow: 0 10px 28px rgba(var(--orange-rgb, 255, 94, 1), .45); }
.sheet-bg { position: fixed; inset: 0; background: rgba(42, 22, 8, .5); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet { background: var(--cream); width: min(640px, 100%); max-height: 94vh; overflow: auto; border-radius: 26px 26px 0 0; padding: 18px 18px 26px; }
.sheet h3 { font-size: 24px; color: var(--orange-d); margin-bottom: 10px; display: flex; align-items: center; }
.sheet h3 button { margin-right: auto; border: 0; background: var(--orange-l); width: 40px; height: 40px; border-radius: 12px; font-size: 22px; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 14px; }
.seg2 button { min-height: 58px; border-radius: 16px; border: 3px solid var(--line); background: #fff; font-family: var(--display); font-size: 19px; font-weight: 800; }
.seg2 button.on { border-color: var(--orange); background: var(--orange-l); color: var(--orange-d); }
.sumr { display: flex; justify-content: space-between; margin: 5px 0; font-weight: 700; color: var(--muted); }
.sumr.big { color: var(--ink); font-family: var(--display); font-size: 26px; font-weight: 800; margin: 10px 0 14px; }
.sumr.big span:last-child { color: var(--orange-d); }
.track { display: flex; justify-content: space-between; margin: 24px 0; position: relative; }
.track::before { content: ''; position: absolute; top: 22px; right: 12%; left: 12%; height: 5px; background: var(--line); }
.stepx { position: relative; z-index: 1; text-align: center; flex: 1; font-weight: 700; color: var(--muted); font-size: 14px; }
.stepx i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 4px solid var(--line); margin: 0 auto 6px; font-style: normal; font-size: 20px; }
.stepx.on { color: var(--orange-d); } .stepx.on i { background: var(--orange); border-color: var(--orange); color: #fff; }
.done-card { text-align: center; padding: 26px 18px; }
.done-card .no { font-family: var(--display); font-size: 64px; color: var(--orange-d); font-weight: 800; line-height: 1.1; }

.offers { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 6px; scroll-snap-type: x mandatory; }
.offer { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; background: linear-gradient(135deg, var(--orange), var(--orange-m)); color: #fff; border-radius: 20px; padding: 14px 16px; position: relative; font-family: var(--display); font-size: 20px; box-shadow: 0 6px 18px rgba(var(--orange-rgb, 42, 75, 255), .28); }
.offer .ot { font-family: inherit; font-size: 15px; opacity: .95; margin-top: 4px; font-weight: 500; }
.offer .ob { display: inline-block; background: #fff; color: var(--orange-d); border-radius: 999px; padding: 2px 10px; font-size: 13px; margin-bottom: 6px; }
.cpn-note { background: var(--orange-l); border: 2px dashed var(--orange); border-radius: 14px; padding: 10px 12px; margin-bottom: 12px; font-weight: 700; text-align: center; }
.cpn-row { display: flex; gap: 8px; margin: 6px 0 10px; } .cpn-row .input { flex: 1; }
.cpn { display: flex; align-items: center; justify-content: center; gap: 12px; background: #fff; border: 3px dashed var(--orange); border-radius: 14px; padding: 10px 14px; margin: 10px 0; font-weight: 800; }
.cpn b { font-family: var(--display); font-size: 30px; letter-spacing: 3px; color: var(--orange-d); }
.cpn-card { background: var(--orange-l); border-radius: 16px; padding: 12px; margin: 12px 0; font-weight: 800; }
.spin-cta { margin: 14px 0; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { transform: scale(1.03); } }
.wheel-box { position: relative; width: min(320px, 82vw); margin: 4px auto 10px; }
.wheel-svg { width: 100%; height: auto; overflow: visible; display: block; }
.wa-fab { position: fixed; left: 14px; bottom: 156px; z-index: 19; background: #25D366; color: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 800; text-decoration: none; display: flex; gap: 6px; align-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }

.ogt { font-weight: 800; color: var(--orange-d); margin: 12px 0 6px; font-family: var(--display); font-size: 19px; } .ogt span { font-size: 13px; color: var(--muted); margin-right: 8px; font-family: inherit; font-weight: 600; }
.optgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-bottom: 6px; }
.optbtn { min-height: 54px; border-radius: 14px; border: 3px solid var(--line); background: #fff; font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.optbtn small { font-size: 13px; color: var(--orange-d); font-family: inherit; } .optbtn.on { border-color: var(--orange); background: var(--orange-l); color: var(--orange-d); }
.sheet .btn.lg { margin-top: 12px; } .addbtn { position: relative; } .addbtn .qb { position: absolute; top: -8px; left: -8px; background: var(--ink); color: #fff; border-radius: 99px; min-width: 22px; height: 22px; font-size: 13px; display: grid; place-items: center; padding: 0 5px; }

.bcode { background: #fff; border: 2px solid var(--orange-l); border-radius: 12px; padding: 8px; margin: 10px auto; text-align: center; max-width: 100%; } .bcode svg { width: 100%; max-width: 320px; height: 70px; display: block; margin: 0 auto 4px; }

.loy { text-align: center; } .stamps { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 10px 0; }
.stamps i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); display: grid; place-items: center; font-style: normal; color: #fff; font-weight: 800; background: #fff; } .stamps i.on { background: var(--orange); border-color: var(--orange); }

/* ================= تصميم الموقع الجديد (يتحكم فيه «مصمم الموقع») ================= */
body.r-soft { --rr: 18px; --r: 18px; } body.r-round { --rr: 28px; --r: 28px; } body.r-sharp { --rr: 8px; --r: 8px; }
.wrap.wide { max-width: 1040px; }
.ann { background: var(--orange); color: var(--on-primary, #fff); text-align: center; padding: 9px 14px; font-weight: 800; font-size: 15px; position: relative; z-index: 2; }
.hero .tag { position: relative; z-index: 1; margin-top: 10px; font-family: var(--display); font-size: 20px; color: var(--muted); }
.hero.cover { padding: 0; margin: 0 -16px 8px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 0 0 var(--rr, 18px) var(--rr, 18px); color: #fff; }
.hero.cover .cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.18) 60%, rgba(0,0,0,.05)); }
.cv-in { position: relative; z-index: 1; text-align: center; padding: 70px 16px 4px; }
.hero.cover .logo { width: min(230px, 56%); background: rgba(255,255,255,.94); border-radius: var(--rr, 18px); padding: 10px 16px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.hero.cover .tag { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.hero.cover .info { position: relative; z-index: 1; padding: 10px 12px 16px; }
.sec { margin: 4px 0 6px; }
.bnr { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 0 6px; }
.bnr::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; aspect-ratio: 2 / 1; scroll-snap-align: start; border-radius: var(--rr, 18px); overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-m)); display: flex; align-items: flex-end; font-family: var(--display); box-shadow: 0 8px 22px rgba(var(--orange-rgb), .22); }
.slide.lk { cursor: pointer; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sl-t { position: relative; width: 100%; padding: 36px 18px 16px; }
.slide.has .sl-t { background: linear-gradient(to top, rgba(0,0,0,.72), transparent); }
.slide:not(.has) { align-items: center; } .slide:not(.has) .sl-t { padding: 18px 22px; }
.sl-t b { display: block; font-size: 24px; line-height: 1.3; text-shadow: 0 1px 4px rgba(0,0,0,.3); }
.sl-t .ot { font-family: inherit; font-size: 15px; font-weight: 500; opacity: .95; margin-top: 3px; }
.sl-t .ob { display: inline-block; background: #fff; color: var(--orange-d); border-radius: 999px; padding: 2px 12px; font-size: 13px; margin-bottom: 6px; }
.dots { display: flex; gap: 6px; justify-content: center; margin: 6px 0 2px; }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line); transition: .25s; } .dots i.on { width: 20px; background: var(--orange); }
@media (min-width: 820px) { .slide { flex-basis: calc(50% - 6px); } }
.fcards { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 10px; scroll-snap-type: x proximity; }
.fcards::-webkit-scrollbar { display: none; }
.fcard { flex: 0 0 168px; scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--rr, 18px); padding: 8px; box-shadow: var(--shadow); cursor: pointer; }
.fimg, .gimg { position: relative; border-radius: calc(var(--rr, 18px) - 6px); overflow: hidden; background: var(--orange-l); aspect-ratio: 1 / 1; }
.fimg img, .gimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: var(--orange-l); } .ph img { width: 46%; opacity: .45; object-fit: contain !important; }
.fn { font-weight: 800; font-size: 16px; margin: 8px 4px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 2px 4px 2px; }
.frow .p { font-family: var(--display); color: var(--orange-d); font-size: 18px; font-weight: 800; }
.frow .addbtn { width: 38px; height: 38px; border-radius: 12px; font-size: 24px; }
.pbadge { position: absolute; top: 8px; right: 8px; background: var(--orange); color: var(--on-primary, #fff); font-size: 12px; font-weight: 800; border-radius: 99px; padding: 3px 10px; box-shadow: 0 2px 8px rgba(0,0,0,.2); z-index: 1; font-family: var(--display); }
.item .n .pbadge { position: static; display: inline-block; margin-inline-start: 8px; vertical-align: middle; }
.pbadge.in { position: static; display: inline-block; margin: 10px 0 0; }
.tabs.circ { gap: 14px; } .tabs.circ .tab { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: transparent; padding: 2px 2px; font-size: 15px; color: var(--ink); }
.tabs.circ .av { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; background: var(--orange-l); border: 3px solid var(--orange-m); display: grid; place-items: center; }
.tabs.circ .av img { width: 100%; height: 100%; object-fit: cover; } .tabs.circ .av i { font-style: normal; font-size: 24px; color: var(--orange-d); font-family: var(--display); }
.items.l { display: grid; grid-template-columns: 1fr; gap: 0 14px; } .items.l .item { margin-bottom: 12px; }
.items.g { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 8px; }
@media (min-width: 820px) { .items.l { grid-template-columns: 1fr 1fr; } .items.g { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .items.g { grid-template-columns: repeat(4, 1fr); } }
.gitem { background: var(--card); border: 1px solid var(--line); border-radius: var(--rr, 18px); padding: 8px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.gitem .gimg { aspect-ratio: 4 / 3; cursor: pointer; } .gb { padding: 8px 4px 4px; display: flex; flex-direction: column; flex: 1; }
.gb .n { font-weight: 800; font-size: 17px; cursor: pointer; } .gb .d { color: var(--muted); font-size: 13px; margin: 2px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.gb .frow { margin: auto 0 0; padding-top: 6px; } .gitem .stp button { width: 34px; height: 34px; } .gitem .stp { gap: 3px; }
.item, .pic img { border-radius: var(--rr, 18px); } .pic img { border-radius: calc(var(--rr, 18px) - 4px); }
.foot { margin-top: 26px; padding: 22px 20px; text-align: center; }
.flogo { width: 150px; max-width: 60%; margin-bottom: 8px; }
.fabout { color: var(--muted); line-height: 1.8; margin: 0 0 12px; }
.frow2 { display: flex; flex-direction: column; gap: 2px; margin: 8px 0; } .frow2 b { color: var(--orange-d); } .frow2 span, .frow2 a { color: var(--ink); }
.socs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.soc { background: var(--orange-l); color: var(--orange-d); font-weight: 800; padding: 9px 16px; border-radius: 99px; text-decoration: none; }

.search { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line); border-radius: 99px; padding: 0 16px; margin: 14px 0 4px; min-height: 50px; }
.search:focus-within { border-color: var(--orange); } .search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; min-height: 46px; color: var(--ink); }

.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
.bnav button { flex: 1; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 2px; font: inherit; font-size: 12px; font-weight: 800; color: var(--muted); padding: 4px 0; cursor: pointer; }
.bnav .ic { font-size: 22px; position: relative; line-height: 1.2; filter: grayscale(.15); }
.bnav .bdg { position: absolute; top: -4px; right: -10px; background: var(--red, #D64545); color: #fff; font-style: normal; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--orange); color: var(--on-primary, #fff); display: grid; place-items: center; font-family: var(--display); font-size: 24px; font-weight: 800; flex-shrink: 0; }
.adr { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }

.stars { display: flex; justify-content: center; gap: 6px; margin: 8px 0; } .star { border: 0; background: transparent; font-size: 40px; line-height: 1; color: #C9B8A8; cursor: pointer; padding: 2px; } .star.on { color: #F5A623; }

.ups { margin: 10px 0; padding: 10px 0 2px; } .ups-t { font-weight: 800; color: var(--orange-d); font-size: 18px; margin-bottom: 6px; } .ups-r { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.ups-c { flex: 0 0 132px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px; display: flex; flex-direction: column; gap: 4px; text-align: center; font-size: 14px; }
.ups-c img, .ups-ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--orange-l); display: grid; place-items: center; font-size: 30px; } .ups-c span { color: var(--orange-d); font-weight: 800; }
