/* ============================================================
   SMILE · shell.css — VogaCloset's structure in SMILE's colours (the manager's grey, yellow, white and black)
   Loaded after story.css and paper.css, before motion.css.
   Screens: a tab (Discover, Deals, Wishlist) sits over For You (z 48), a pushed screen over the tab (z 49),
   the bottom nav over both (z 50); the product view (70), sheets (75) and the chat (77) stay above.
   ============================================================ */
:root { --sh-bg: #FFFFFF; --sh-soft: #F3F3F1; --sh-surface: #FFFFFF; --sh-ink: #141413; --sh-ink2: #45443F; --sh-muted: #77766F; --sh-line: #E3E3DF; --sh-yellow: #FFE45C; --sh-yellow-soft: #FFF6C7; --sh-red: #C8322B; }

/* ---------- the five tabs (VogaCloset: For You · Discover · Hot Deals · Bag · Wishlist) ---------- */
.bottomnav, html.phone .bottomnav { background: var(--sh-surface); backdrop-filter: none; -webkit-backdrop-filter: none; border-top: 1px solid var(--sh-line); grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bottomnav button { color: var(--sh-muted); font: 500 11.5px/1.2 var(--font-body); gap: 3px; }
.bottomnav button svg { width: 26px; height: 26px; stroke-width: 1.5; }
.bottomnav button svg .nf { fill: transparent; }
.bottomnav button.active { color: var(--sh-ink); font-weight: 700; }
.bottomnav button.active svg .nf { fill: var(--sh-yellow); }
.bottomnav button.active::after { top: 0; width: 100%; height: 2px; border-radius: 0; background: var(--sh-ink); }
.bottomnav .bag-dot { background: var(--sh-ink); color: var(--sh-yellow); }
html.phone #btnWish { display: none; }
.desknav [data-tab].on { color: var(--st-yellow); }

/* ---------- screens ---------- */
.scr { position: fixed; inset-inline: 0; top: 0; bottom: calc(var(--nav-h) + var(--safe-b)); z-index: 48; background: var(--sh-bg); color: var(--sh-ink); display: flex; flex-direction: column; }
.scr[hidden] { display: none !important; }
html:not(.phone) .scr { top: var(--hdr, 0px); bottom: 0; }
.scr__scroll { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: 104px; }
.scr--push { z-index: 49; transform: translateX(-100%); transition: transform var(--mo-page, 300ms) var(--mo-ease, cubic-bezier(.2, .8, .2, 1)); }
.scr--push.is-in { transform: none; }
.scr--filter { background: var(--sh-surface); }
.scr--filter .scr__scroll { padding-bottom: 16px; }
html.scr-lock body, html.gal-open body { overflow: hidden; }

/* the top bar (sticky in every screen) */
.scr__bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 6px; min-height: 62px; padding: 8px 12px; padding-top: calc(8px + env(safe-area-inset-top, 0px)); background: var(--sh-surface); border-bottom: 1px solid var(--sh-line); }
.scr__title { flex: 1; min-width: 0; margin: 0; font: 700 25px/1.45 var(--font-display); color: var(--sh-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr__icons { display: flex; gap: 2px; margin-inline-start: auto; flex: none; }
.scr__btn { position: relative; flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--sh-ink); background: none; border: 0; cursor: pointer; }
.scr__btn svg, .scr__search svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scr__btn:active { background: var(--sh-soft); }
.scr__dot { position: absolute; top: 9px; inset-inline-end: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--sh-red); border: 2px solid var(--sh-surface); }
.scr__search { flex: 1; min-width: 0; height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--sh-line); background: var(--sh-soft); color: var(--sh-muted); font: 500 15px var(--font-body); text-align: start; cursor: text; }
.scr__search span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr__search svg { width: 20px; height: 20px; flex: none; }
.scr__cam { border: 1px solid var(--sh-line); }
.scr__clear { flex: none; font: 600 14px var(--font-body); color: var(--sh-ink); background: none; border: 0; padding: 8px; cursor: pointer; text-decoration: underline; text-decoration-color: var(--sh-yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.strip { margin: 0; background: var(--sh-ink); color: #fff; text-align: center; font: 600 13px/1.4 var(--font-body); padding: 10px 16px; }
.strip b { color: var(--sh-yellow); font: 500 13px var(--font-mono); }

/* ---------- the product card (VogaCloset's, in SMILE's colours) ---------- */
.card.vcard { background: transparent; border: 0; border-radius: 0; overflow: visible; padding: 0; box-shadow: none; transform: none !important; opacity: 1; animation: none; display: flex; flex-direction: column; min-width: 0; }
.vcard .card__media { position: relative; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; background: var(--sh-surface); }
.vcard .card__media::before { display: none; }
.vcard__imgs { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.vcard__imgs::-webkit-scrollbar { display: none; }
.vcard .vcard__imgs img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; scroll-snap-align: start; scroll-snap-stop: always; position: static; opacity: 0; transition: opacity var(--mo, 220ms) var(--mo-ease, ease); }
.vcard .vcard__imgs img.loaded { opacity: 1; }
.vcard__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; background: #111; }
.vcard .card__wish { top: 8px; inset-inline-end: 8px; width: 38px; height: 38px; background: var(--sh-surface); box-shadow: 0 1px 4px rgba(0, 0, 0, .14); z-index: 2; }
.vcard .card__wish svg { width: 20px; height: 20px; stroke: var(--sh-ink); stroke-width: 1.7; }
.vcard .card__wish.on svg { fill: var(--sh-red); stroke: var(--sh-red); }
.vcard__full, .vcard__play { position: absolute; z-index: 2; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; }
.vcard__full { top: 52px; inset-inline-end: 10px; width: 34px; height: 34px; background: rgba(255, 255, 255, .88); color: var(--sh-ink); }
.vcard__full svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.vcard__play { bottom: 10px; inset-inline-start: 10px; width: 38px; height: 38px; background: var(--sh-ink); color: #fff; }
.vcard__play svg { width: 14px; height: 14px; fill: currentColor; stroke: none; margin-inline-start: 2px; }
.vcard__play.on { background: var(--sh-yellow); color: var(--sh-ink); }
.vcard__dots { position: absolute; z-index: 2; bottom: 13px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px 7px; border-radius: 999px; background: rgba(255, 255, 255, .8); pointer-events: none; }
.vcard__dots i { width: 6px; height: 6px; border-radius: 50%; background: #C9C9C4; }
.vcard__dots i.on { background: var(--sh-ink); }
.vcard__colors { position: absolute; z-index: 2; bottom: 10px; inset-inline-end: 10px; display: flex; align-items: center; gap: 0; padding: 4px 8px 4px 6px; border-radius: 999px; background: var(--sh-surface); font: 600 12px/1 var(--font-body); color: var(--sh-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); pointer-events: none; }
.vcard__colors i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--sh-surface); margin-inline-end: -4px; }
.vcard__colors i:last-of-type { margin-inline-end: 5px; }
.vcard .card__body { padding: 10px 2px 0; display: grid; gap: 5px; }
.vbadge { justify-self: start; display: inline-flex; align-items: center; gap: 5px; font: 600 12px/1 var(--font-body); padding: 5px 8px; border-radius: 4px; background: var(--sh-soft); color: var(--sh-ink); }
.vbadge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.vbadge--new, .vbadge--fast { background: var(--sh-yellow-soft); }
.vbadge--low { background: #FDE4E1; color: #9E1F17; }
.vbadge--best { background: #EAEAE6; }
.vcard__row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.card.vcard .card__brand { display: block; margin: 0; font: 700 15px/1.3 var(--font-body); letter-spacing: .02em; text-transform: uppercase; color: var(--sh-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcard .card__add { position: static; flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--sh-ink); color: #fff; box-shadow: none; }
.vcard .card__add svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.vcard .card__add.done { background: #1B7446; }
.card.vcard .card__name { margin: 0; font: 400 14px/1.45 var(--font-body); color: var(--sh-ink2); min-height: 2.9em; -webkit-line-clamp: 2; }
.vcard .card__price, .chatcard .card__price, .pick__head .card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 0; }
.vcard .card__price s, .chatcard .card__price s, .pick__head .card__price s { font: 500 15px var(--font-body); color: var(--sh-muted); }
.vcard .card__price b, .chatcard .card__price b, .pick__head .card__price b { font: 700 17px var(--font-body); color: var(--sh-red); }
.vcode { justify-self: start; display: inline-flex; max-width: 100%; border: 1px solid var(--sh-ink); border-radius: 4px; overflow: hidden; font: 600 11px/1 var(--font-body); margin-top: 2px; white-space: nowrap; }
.vcode b { background: var(--sh-ink); color: #fff; padding: 6px 7px; font-weight: 600; }
.vcode span { padding: 6px 7px; font-family: var(--font-mono); font-weight: 500; font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; }

/* grids and rows of cards */
.vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; padding: 8px 16px 24px; }
.hrow, .choices #choicesRow { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 16px 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
.hrow::-webkit-scrollbar, #choicesRow::-webkit-scrollbar { display: none; }
.hrow .vcard, #choicesRow .vcard { flex: 0 0 44%; scroll-snap-align: start; }
.catalogue .grid .card.vcard { padding: 0; box-shadow: none; background: transparent; }
.catalogue .grid { gap: 28px 12px; }
.search-ov__res { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
.choices { padding: 36px 0 20px; }
.choices .sec__head { padding: 0 16px 8px; }

/* ---------- lists of pieces ---------- */
.lcount { margin: 0; padding: 14px 16px 4px; font: 500 13px var(--font-body); color: var(--sh-muted); }
.lcount b { color: var(--sh-ink); font-weight: 700; }
.lclear { background: none; border: 0; padding: 0; font: 600 13px var(--font-body); color: var(--sh-ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--sh-yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.lsub { margin: 0; padding: 12px 16px 0; color: var(--sh-ink2); font-size: 14px; }
.lempty { margin: 0; padding: 40px 24px; text-align: center; color: var(--sh-ink2); }
.lchips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 16px 0; scrollbar-width: none; }
.lchips::-webkit-scrollbar { display: none; }
.lchip { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--sh-line); background: var(--sh-surface); font: 600 14px var(--font-body); color: var(--sh-ink); cursor: pointer; }
.lchip[aria-pressed="true"] { background: var(--sh-ink); color: #fff; border-color: var(--sh-ink); }
.wbanner { position: relative; display: block; height: 150px; margin: 14px 16px 0; border-radius: 16px; overflow: hidden; background: var(--tint, var(--sh-ink)); color: #fff; text-decoration: none; }
.wbanner__word { position: absolute; inset-inline-start: 18px; top: 8px; font: 700 64px/1.5 var(--font-display); color: rgba(255, 255, 255, .2); white-space: nowrap; pointer-events: none; }
.wbanner img { position: absolute; inset-inline-end: 12px; bottom: 0; height: 142px; width: auto; max-width: 55%; object-fit: contain; object-position: bottom; }
.wbanner__go { position: absolute; inset-inline-start: 16px; bottom: 16px; font: 600 14px var(--font-body); background: var(--sh-surface); color: var(--sh-ink); padding: 8px 14px; border-radius: 999px; }
.ffab { position: absolute; z-index: 4; top: calc(76px + env(safe-area-inset-top, 0px)); inset-inline-end: 14px; width: 56px; height: 56px; border-radius: 50%; background: var(--sh-ink); color: #fff; display: grid; place-items: center; border: 0; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .55); cursor: pointer; }
.ffab svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.ffab__n { position: absolute; top: 2px; inset-inline-start: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--sh-yellow); color: var(--sh-ink); font: 700 12px/20px var(--font-body); font-style: normal; text-align: center; }
#scrList.is-brands .ffab { display: none; }
.shoppill { position: fixed; z-index: 55; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 16px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px; border-radius: 999px; background: var(--sh-yellow-soft); border: 1.5px solid var(--sh-ink); color: var(--sh-ink); font: 700 16px var(--font-body); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .5); cursor: pointer; white-space: nowrap; }
.shoppill svg { width: 22px; height: 22px; fill: var(--sh-ink); }
.shoppill[hidden] { display: none !important; }
html:not(.phone) .shoppill { bottom: 28px; }

/* ---------- the filter (VogaCloset's: one row per question, a list of answers behind each) ---------- */
.frows { display: grid; }
.frow { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 76px; padding: 14px 20px; border: 0; border-bottom: 1px solid var(--sh-line); background: none; text-align: start; color: var(--sh-ink); cursor: pointer; }
.frow b { display: block; font: 700 15px/1.4 var(--font-body); letter-spacing: .02em; }
.frow small { display: block; margin-top: 2px; font: 400 14px/1.4 var(--font-body); color: var(--sh-muted); }
.frow > svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--sh-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fopts { list-style: none; margin: 0; padding: 0; }
.fopt { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 20px; border: 0; border-bottom: 1px solid var(--sh-line); background: none; font: 500 16px var(--font-body); color: var(--sh-ink); text-align: start; cursor: pointer; }
.fopt__l { flex: 1; min-width: 0; }
.fopt small { color: var(--sh-muted); font: 500 13px var(--font-mono); }
.fopt__tick { position: relative; flex: none; width: 22px; height: 22px; border: 1.5px solid var(--sh-ink); border-radius: 5px; background: var(--sh-surface); }
.fopt[role="radio"] .fopt__tick { border-radius: 50%; }
.fopt[aria-checked="true"] .fopt__tick { background: var(--sh-yellow); }
.fopt[role="checkbox"][aria-checked="true"] .fopt__tick::after { content: ""; position: absolute; left: 5px; top: 5px; width: 9px; height: 5px; border: solid var(--sh-ink); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.fopt[role="radio"][aria-checked="true"] .fopt__tick { box-shadow: inset 0 0 0 4px var(--sh-surface); }
.fopt:disabled { opacity: .4; cursor: default; }
.fopt__sw { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--sh-line); }
.scr__foot { flex: none; padding: 12px 16px; border-top: 1px solid var(--sh-line); background: var(--sh-surface); }
.scr__foot .btn { height: 56px; border-radius: 12px; font: 700 18px var(--font-body); }
.scr__foot .btn[disabled] { opacity: .45; }

/* ---------- Discover ---------- */
.drows { display: grid; gap: 12px; padding: 16px; }
.drow { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 20px; align-items: center; gap: 14px; min-height: 76px; padding: 12px 18px; background: var(--sh-surface); border: 0; border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 18px -12px rgba(0, 0, 0, .2); text-align: start; color: var(--sh-ink); cursor: pointer; }
.drow b { font: 700 18px/1.3 var(--font-body); }
.drow small { color: var(--sh-muted); font: 500 13px var(--font-body); white-space: nowrap; }
.drow__ic svg { width: 34px; height: 34px; stroke: var(--sh-ink); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.drow__ic--txt { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--sh-yellow); font: 700 18px var(--font-latin); }
.drow__go svg { width: 20px; height: 20px; stroke: var(--sh-muted); fill: none; stroke-width: 2; }
.dmore__t { text-align: center; font: 700 26px/1.45 var(--font-display); margin: 14px 0 10px; }
.dmore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 16px; }
.dtile { display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 118px; padding: 14px 8px; border: 1.5px solid var(--sh-ink); border-radius: 12px; background: var(--sh-surface); font: 700 14px/1.3 var(--font-body); color: var(--sh-ink); text-align: center; cursor: pointer; }
.dtile--on { background: var(--sh-yellow-soft); }
.dtile svg { width: 34px; height: 34px; fill: none; stroke: var(--sh-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.dbanner { display: grid; gap: 2px; width: calc(100% - 32px); margin: 18px 16px 8px; padding: 20px 22px; border-radius: 14px; border: 0; background: var(--st-w1, #6B1E2B); color: #fff; text-align: start; cursor: pointer; }
.dbanner__k { font: 700 22px/1.45 var(--font-display); }
.dbanner__big { font: 700 22px/1.3 var(--font-body); }
.dbanner__big .sf { font: 600 46px/1 var(--font-latin); color: var(--sh-yellow); }
.dbanner__s { font-size: 14px; opacity: .88; }
#scrDiscover .indexsec { margin: 24px 12px 0; border-radius: 22px; }

/* ---------- Deals ---------- */
.dhead { padding: 18px 16px 0; }
.dhead__t { margin: 0; font: 700 30px/1.45 var(--font-display); }
.dhead p { margin: 2px 0 0; color: var(--sh-ink2); }

/* ---------- Wishlist (VogaCloset: sign in first, then why an account helps) ---------- */
.wlogin { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 30px 20px 6px; }
.wlogin__art { width: 240px; height: 170px; }
.wlogin h2 { margin: 6px 0 0; font: 800 22px/1.4 var(--font-body); }
.wlogin p { margin: 0; color: var(--sh-ink2); font-size: 16px; max-width: 34ch; }
.wlogin .btn { width: min(100%, 420px); height: 56px; border-radius: 12px; font: 700 18px var(--font-body); margin-top: 14px; }
.why__t { text-align: center; font: 700 24px/1.45 var(--font-display); margin: 26px 0 14px; }
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 16px 16px; }
.why > div { background: var(--sh-surface); border-radius: 10px; padding: 20px 12px; display: grid; justify-items: center; gap: 10px; text-align: center; font: 600 14px/1.4 var(--font-body); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.why svg { width: 42px; height: 42px; fill: none; stroke: var(--sh-ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the Bag: on phones the cart sheet is the Bag tab, a page between the top and the tabs ---------- */
html.phone #sheetCart { top: 0; bottom: calc(var(--nav-h) + var(--safe-b)); max-height: none; max-width: none; border-radius: 0; z-index: 49; transform: none; transition: none; background: var(--sh-bg); }
html.phone #sheetCart .sheet__handle, html.phone #sheetCart .sheet__head [data-close-sheet] { display: none; }
html.phone #sheetCart .sheet__head { min-height: 62px; padding: 8px 12px; padding-top: calc(8px + env(safe-area-inset-top, 0px)); background: var(--sh-surface); border-bottom: 1px solid var(--sh-line); }
html.phone #sheetCart .sheet__head h3 { flex: 1; font: 700 25px/1.45 var(--font-display); }
html.phone #sheetCart .sheet__body { padding: 0 0 16px; }
html.phone #sheetCart .sheet__body > :not(.cart-empty):not(.hrow):not(.bx__t) { margin-inline: 16px; }
html.phone #sheetCart .sheet__body > .freeship { margin-top: 16px; }
html.phone #sheetCart .sheet__foot { background: var(--sh-surface); }
html.phone body:has(#sheetCart.open) .scrim { opacity: 0 !important; pointer-events: none !important; }
.cart-empty { display: grid; justify-items: center; gap: 16px; padding: 42px 16px 40px; background: var(--sh-soft); text-align: center; }
.cart-empty svg { display: none; }
.cart-empty h4 { margin: 0; font: 800 22px/1.4 var(--font-body); }
.cart-empty .btn { width: min(100%, 360px); height: 56px; border-radius: 10px; font: 700 18px var(--font-body); }
.bx__t { text-align: center; font: 700 25px/1.45 var(--font-display); margin: 26px 0 8px; }
#sheetCart .hrow .vcard { flex-basis: 44%; }
#cartBody #couponIn { min-width: 0; width: 0; } /* the input kept its natural width and pushed «تطبيق» off the screen */

/* ---------- the size and colour picker (every «add») ---------- */
.pick__head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 4px 0 14px; border-bottom: 1px solid var(--sh-line); }
.pick__head img { width: 76px; height: 96px; object-fit: cover; object-position: top; border-radius: 6px; background: var(--sh-soft); }
.pick__head b { display: block; font: 500 15px/1.45 var(--font-body); }
.pick__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 0 10px; font: 600 15px var(--font-body); }
.pick__guide { background: none; border: 0; padding: 4px 0; font: 600 13px var(--font-body); color: var(--sh-ink); text-decoration: underline; text-decoration-color: var(--sh-yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; cursor: pointer; }
.pick__low { margin: 10px 0 0; font-size: 13px; color: #9E1F17; }
#sheetPick .size { height: 46px; min-width: 56px; font-size: 16px; }
#sheetPick .btn--block { height: 54px; border-radius: 12px; font: 700 17px var(--font-body); }
#sheetPick .btn[disabled] { opacity: .45; }

/* ---------- «تسوّق مع سمايل»: the chat full screen on phones (VogaCloset's Vogie), cards inside ---------- */
html.phone #assist.open { left: 0 !important; right: 0 !important; top: 0 !important; bottom: calc(var(--nav-h) + var(--safe-b)) !important; width: auto !important; max-width: none !important; height: auto !important; max-height: none !important; border-radius: 0 !important; border: 0; box-shadow: none; transform: none !important; animation: none; background: var(--sh-surface); }
html.phone .assist-tail { display: none !important; }
html.phone #assist .assist__head { min-height: 66px; padding: 10px 12px; padding-top: calc(10px + env(safe-area-inset-top, 0px)); background: var(--sh-surface); color: var(--sh-ink); border-bottom: 1px solid var(--sh-line); cursor: default; touch-action: auto; }
html.phone #assist .assist__head::before { display: none; }
html.phone #assist .assist__head small { color: var(--sh-muted); }
.assist__who b { font: 700 19px var(--font-body); }
#assistNew svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
html.phone #assist .assist__log { padding: 16px; gap: 14px; }
html.phone #assist .msg { font-size: 15px; line-height: 1.7; }
.assist .msg--bot { background: #F1F1EF; border-radius: 4px 18px 18px 18px; position: relative; margin-inline-start: 44px; }
.assist .msg--bot::before { content: ""; position: absolute; top: 0; inset-inline-start: -44px; width: 34px; height: 34px; border-radius: 50%; background: #F1F1EF url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='46' fill='%23FFD21F' stroke='%23C98D00' stroke-width='3'/><ellipse cx='36' cy='40' rx='6' ry='9' fill='%23141413'/><ellipse cx='64' cy='40' rx='6' ry='9' fill='%23141413'/><path fill='%23141413' d='M23 58c6 13 16 20 27 20s21-7 27-20c-8 7-17 11-27 11s-19-4-27-11z'/></svg>") center / 24px no-repeat; }
.assist .msg--bot:has(.chatrow) { max-width: calc(100% - 44px); }
.assist .msg--me { background: var(--sh-ink); color: #fff; border-radius: 18px 4px 18px 18px; }
.msg__img { display: block; width: 170px; max-width: 100%; border-radius: 12px; margin-bottom: 8px; }
.chatrow { display: flex; gap: 12px; overflow-x: auto; margin: 10px -4px 0; padding: 2px 4px 6px; scrollbar-width: none; }
.chatrow::-webkit-scrollbar { display: none; }
.chatcard { flex: 0 0 196px; display: grid; gap: 6px; align-content: start; }
.chatcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 20%; border-radius: 6px; background: var(--sh-surface); cursor: pointer; }
.chatcard .card__brand { display: block; margin: 2px 0 0; font: 700 16px/1.3 var(--font-body); text-transform: uppercase; color: var(--sh-ink); }
.chatcard__name { font: 400 14px/1.45 var(--font-body); color: var(--sh-ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; cursor: pointer; }
.chatcard__size { height: 46px; border: 1px solid #CFCFCA; border-radius: 4px; padding: 0 12px; font: 500 15px var(--font-body); background: var(--sh-surface); color: var(--sh-ink); }
.chatcard__size.need { border-color: var(--sh-red); box-shadow: 0 0 0 3px #FDE4E1; }
.chatcard__add { height: 46px; background: var(--sh-ink); color: #fff; border: 0; border-radius: 3px; font: 600 15px var(--font-body); cursor: pointer; }
.chatcard__add.done { background: #1B7446; }
.assist .assist__chips { flex-wrap: wrap; overflow: visible; gap: 8px; padding: 4px 16px 8px; }
.assist .assist__chips button { background: var(--sh-yellow-soft); border: 0; border-radius: 12px; padding: 11px 14px; font: 500 14px/1.3 var(--font-body); color: var(--sh-ink); }
.assist__tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 10px 16px 0; }
.assist__tools span { margin-inline-end: auto; font: 500 13px var(--font-body); color: var(--sh-muted); }
.assist__tool { width: 56px; height: 50px; border: 1px solid var(--sh-line); border-radius: 10px; background: var(--sh-surface); color: var(--sh-ink); display: grid; place-items: center; cursor: pointer; }
.assist__tool svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.assist .assist__form { border-top: 0; padding: 10px 16px 14px; align-items: center; }
.assist .assist__form input { height: 54px; border-radius: 16px; background: #F1F1EF; border: 0; font-size: 16px; padding-inline: 18px; }
.assist__send { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; background: none; color: var(--sh-ink); display: grid; place-items: center; cursor: pointer; }
.assist__send svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.search__cam { flex: none; width: 40px; height: 40px; border: 0; background: none; color: var(--sh-ink); display: grid; place-items: center; cursor: pointer; }
.search__cam svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }

/* ---------- the photo album (a small sheet from below, like the iPhone Photos album) ---------- */
.alb { position: fixed; inset: 0; z-index: 97; display: grid; align-items: end; background: rgba(20, 20, 19, .45); opacity: 0; transition: opacity var(--mo, 220ms) var(--mo-ease, ease); }
.alb.show { opacity: 1; }
.alb__sheet { width: 100%; max-width: 560px; margin: 0 auto; max-height: 72dvh; display: flex; flex-direction: column; background: var(--sh-surface); border-radius: 22px 22px 0 0; padding-bottom: var(--safe-b, 0px); transform: translateY(24px); transition: transform var(--mo-page, 300ms) var(--mo-ease, ease), max-height var(--mo, 220ms) var(--mo-ease, ease); }
.alb.show .alb__sheet { transform: none; }
.alb__sheet.is-big { max-height: 88dvh; }
.alb__grab { width: 40px; height: 5px; border-radius: 3px; background: var(--sh-line); margin: 8px auto 2px; }
.alb__head { display: flex; align-items: center; gap: 8px; padding: 6px 12px 10px 16px; }
.alb__head b { font: 700 15px/1.4 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alb__head span { font: 500 13px var(--font-body); color: var(--sh-muted); white-space: nowrap; }
.alb__x { margin-inline-start: auto; width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%; background: var(--sh-soft); color: var(--sh-ink); display: grid; place-items: center; cursor: pointer; }
.alb__x svg, .alb__back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.alb__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; overflow-y: auto; }
.alb__cell { aspect-ratio: 1; padding: 0; border: 0; background: var(--sh-soft); cursor: pointer; overflow: hidden; }
.alb__cell img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.alb__big { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.alb__big[hidden], .alb__grid[hidden] { display: none !important; }
.alb__track { flex: 1; min-height: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--sh-soft); }
.alb__track::-webkit-scrollbar { display: none; }
.alb__track figure { flex: 0 0 100%; margin: 0; display: grid; place-items: center; scroll-snap-align: center; height: min(64dvh, 560px); }
.alb__track img { max-width: 100%; max-height: 100%; object-fit: contain; }
.alb__back { position: absolute; top: 10px; inset-inline-start: 10px; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); font: 600 13px var(--font-body); color: var(--sh-ink); cursor: pointer; }
.alb__n { margin: 0; padding: 10px; text-align: center; font: 500 13px var(--font-mono); color: var(--sh-muted); }

/* ---------- the update screen ---------- */
.upd { position: fixed; inset: 0; z-index: 99; display: grid; place-items: end center; padding: 16px; padding-bottom: calc(16px + var(--safe-b, 0px)); background: rgba(20, 20, 19, .5); opacity: 0; transition: opacity var(--mo, 220ms) var(--mo-ease, ease); }
.upd.show { opacity: 1; }
.upd__card { width: min(100%, 440px); background: var(--sh-surface); color: var(--sh-ink); border-radius: 22px; padding: 24px 22px 20px; transform: translateY(24px); transition: transform var(--mo-page, 300ms) var(--mo-ease, ease); }
.upd.show .upd__card { transform: none; }
.upd__badge { display: inline-block; font: 500 12px var(--font-mono); background: var(--sh-yellow); color: var(--sh-ink); padding: 4px 10px; border-radius: 999px; }
.upd h2 { margin: 10px 0 2px; font: 700 32px/1.45 var(--font-display); }
.upd p { margin: 0; color: var(--sh-ink2); }
.upd ul { margin: 8px 0 18px; padding-inline-start: 20px; display: grid; gap: 6px; color: var(--sh-ink2); font-size: 15px; }
.upd .btn { height: 54px; border-radius: 12px; font: 700 17px var(--font-body); }

/* ---------- computers: the same places, wider ---------- */
@media (min-width: 700px) {
  .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hrow .vcard, #choicesRow .vcard { flex-basis: 30%; }
  .upd { place-items: center; }
}
@media (min-width: 1024px) {
  .vgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; padding: 16px 40px 40px; }
  .hrow .vcard, #choicesRow .vcard { flex-basis: 240px; }
  .hrow, .choices #choicesRow { padding-inline: 44px; }
  .choices .sec__head { padding-inline: 44px; }
  .scr__scroll > * { max-width: 1320px; margin-inline: auto; }
  .scr__bar { padding-inline: 40px; }
  .drows, .dmore { max-width: 760px; margin-inline: auto; }
  .wbanner { margin-inline: 40px; height: 180px; }
  .wbanner img { height: 172px; }
  .ffab { top: 84px; inset-inline-end: 40px; }
}

/* ---------- Smile has its own corner (VogaCloset): it never moves; while the chat fills the phone it steps aside ---------- */
.assist-fab.smiley { cursor: pointer; touch-action: manipulation; }
html.phone body:has(#assist.open) #assistFab { visibility: hidden; }

/* ---------- the manager's palette: white leads; black and yellow are the accents (28 Sep 2026) ---------- */
:root { --st-stage: #FFFFFF; --st-paper: #FFFFFF; }
html, body, .app { background: #FFFFFF; }
.sec--paper { background-color: #FFFFFF; }
.sec--ink { color: #FFFFFF; }
.header, html.phone .header { background: #FFFFFF; color: var(--st-ink); border-bottom: 1px solid var(--sh-line); }
.header .icon-btn { color: var(--st-ink); }
.header .icon-btn:active { background: var(--sh-soft); }
.header .logo, .header .logo__mark { color: var(--st-ink); }
.desknav a { color: var(--st-ink2); }
.desknav a:hover, .desknav [data-tab].on { color: var(--st-ink); text-decoration: underline; text-decoration-color: var(--st-yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.tabs__item { color: var(--st-muted); }
.tabs__item.active { color: var(--st-ink); border-bottom-color: var(--st-ink); }
.drow { box-shadow: 0 0 0 1px var(--sh-line), 0 8px 18px -14px rgba(0, 0, 0, .25); }
.why > div { box-shadow: 0 0 0 1px var(--sh-line); }

/* Smiley shows, doesn't take (Zara style): the pieces that go with it, and buttons the shopper taps */
.msg__pairT { margin: 10px 0 4px; font-size: 12px; font-weight: 700; color: var(--sh-muted); }
.msg__gos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg__gos .btn { background: #FFFFFF; border: 1.5px solid #141413; color: #141413; }

/* ---------- gentle motion everywhere (the owner, 28 Sep 2026: «خلي كلشي ظريف وحنين») ----------
   The chat slides up softly and fades, and slides down when it closes; tabs fade in. Only opacity and translate move. */
@keyframes softIn { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: none; } }
@keyframes softOut { from { opacity: 1; translate: none; } to { opacity: 0; translate: 0 16px; } }
@keyframes softFade { from { opacity: 0; } to { opacity: 1; } }
#assist.open, html.phone #assist.open { animation: softIn .34s cubic-bezier(.2, .8, .2, 1) both; }
#assist.is-closing { display: flex; pointer-events: none; animation: softOut .22s cubic-bezier(.4, 0, .6, 1) both; }
html.phone #assist.is-closing { left: 0 !important; right: 0 !important; top: 0 !important; bottom: calc(var(--nav-h) + var(--safe-b)) !important; width: auto !important; max-width: none !important; height: auto !important; max-height: none !important; border-radius: 0 !important; border: 0; box-shadow: none; transform: none !important; background: var(--sh-surface); }
.scr--tab:not([hidden]) { animation: softFade .22s ease-out both; }
@media (prefers-reduced-motion: reduce) { #assist.open, html.phone #assist.open, #assist.is-closing, .scr--tab:not([hidden]) { animation: none; } }

/* ---------- the chat, refined (the owner: «نسقها مع جمال الموقع») ---------- */
#assist .assist__who b { font: 700 21px/1.3 var(--font-display); }
#assist .assist__who small { display: block; max-width: 56vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
html.phone #assist .assist__head { min-height: 62px; }
html.phone #assist .assist__log { padding: 16px 14px 8px; gap: 12px; }
.assist .msg { font-size: 14.5px; line-height: 1.7; }
.assist .msg--me { padding: 10px 14px; }
/* words in their bubble, the pieces under it without one */
.assist .msg--rich { background: none !important; padding: 0 !important; max-width: none !important; border-radius: 0 !important; }
.assist .msg--rich .msg__txt { display: inline-block; max-width: 100%; background: #F1F1EF; padding: 10px 14px; border-radius: 4px 18px 18px 18px; margin-bottom: 10px; }
.assist .msg--rich::before { top: 2px; }
.ccrow { display: flex; gap: 10px; overflow-x: auto; margin-inline-end: -14px; padding: 2px 0 6px; padding-inline-end: 14px; scroll-snap-type: x proximity; scrollbar-width: none; }
.ccrow::-webkit-scrollbar { display: none; }
.cc { flex: 0 0 148px; display: grid; gap: 3px; align-content: start; scroll-snap-align: start; }
.cc__img { position: relative; display: block; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #F3F3F1; cursor: pointer; }
.cc__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.cc__off { position: absolute; top: 8px; inset-inline-start: 8px; padding: 3px 7px; border-radius: 999px; background: #FFFFFF; color: #C8322B; font: 700 11px/1.2 var(--font-body); font-style: normal; }
.cc__brand { margin-top: 5px; font: 800 11.5px/1.3 var(--font-body); letter-spacing: .03em; color: var(--sh-ink); }
.cc__name { padding: 0; border: 0; background: none; color: var(--sh-ink2); font: 400 12.5px/1.45 var(--font-body); text-align: start; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.cc__price { display: flex; align-items: baseline; gap: 6px; }
.cc__price b { font: 800 13.5px var(--font-body); color: var(--sh-ink); }
.cc__price s { font: 500 11.5px var(--font-body); color: var(--sh-muted); }
.cc__sizes { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.cc__sizes[hidden] { display: none; }
.cc__sz { min-width: 36px; height: 32px; padding: 0 8px; border: 1px solid #D9D9D5; border-radius: 8px; background: #FFFFFF; color: var(--sh-ink); font: 600 12.5px/1 var(--font-body); cursor: pointer; }
.cc__sz.low { border-style: dashed; }
.cc__sz:active { background: var(--sh-ink); color: #FFFFFF; }
.cc__add { margin-top: 6px; height: 36px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid var(--sh-ink); border-radius: 999px; background: #FFFFFF; color: var(--sh-ink); font: 700 13px/1 var(--font-body); cursor: pointer; transition: background-color .15s, color .15s; }
.cc__add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cc__add.is-open { border-color: #D9D9D5; color: var(--sh-muted); }
.cc__add.done { background: var(--sh-ink); color: #FFFFFF; }
.assist .msg__pairT { margin: 12px 0 6px; }
.assist .msg__gos { margin-top: 8px; }
/* suggestions: soft yellow pills */
.assist .assist__chips { gap: 6px; padding: 2px 14px 6px; }
.assist .assist__chips button { border-radius: 999px; padding: 8px 14px; font-size: 13.5px; }
/* the photo search: two small round buttons, not big boxes */
.assist__tools { padding: 6px 14px 0; gap: 8px; }
.assist__tools span { font-size: 12px; }
.assist__tool { width: 40px; height: 40px; border-radius: 50%; background: #F3F3F1; border: 0; }
.assist__tool svg { width: 20px; height: 20px; stroke-width: 1.7; }
.assist .assist__form { padding: 8px 14px 12px; }
.assist .assist__form input { height: 48px; border-radius: 24px; font-size: 15px; }

/* ---------- everything fits the screen, on every phone (the owner's 360px phone showed cut buttons) ---------- */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.peek { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
.peek img { width: 104px; }
.peek__info { min-width: 0; }
.peek__info b { overflow-wrap: anywhere; }
.peek .sizes { flex-wrap: wrap; }
.peek__acts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.peek__acts .btn { padding-inline: 10px; min-width: 0; }
