/* Hallmark · component scope: customer surfaces · genre: atmospheric · tone: quiet functional
 * theme: studied-DNA (source: user screenshots) · palette anchor: Maraya plum · macrostructure: existing customer shell
 * pre-emit critique: P5 H5 E5 S5 R5 V5 · contrast: pass (40–41) · slop: pass · mobile: pass (34,49–57)
 */
:root{--plum:#4b2142;--plum-dark:#35172f;--coral:#f56f61;--apricot:#f5be62;--mint:#bfe3d0;--ink:#211c21;--muted:#686068;--page:#f8f5f2;--card:#fff;--line:rgba(75,33,66,.1);--glass:rgba(255,255,255,.72);--shadow:0 12px 34px rgba(55,29,49,.08);--float:0 20px 55px rgba(55,29,49,.15);--r-sm:12px;--r-md:18px;--r-lg:26px;--r-xl:36px;--ease:cubic-bezier(.2,.7,.2,1);--control-ink:#111;--control-surface:#fff;--control-hover:#f5f5f5;--control-line:rgba(17,17,17,.18);--selection-surface:#ececec;--site-canvas-light:#f8f5f2;--site-canvas-dark:#111;--account-choice-gap:8px}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--page);font-family:"Cairo",sans-serif;line-height:1.75}
button,input,select{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
img{max-width:100%;display:block}
.skip-link{position:fixed;top:-100px;right:1rem;z-index:100;background:#fff;color:var(--ink);padding:.6rem 1rem;border-radius:12px}
.skip-link:focus{top:1rem}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--control-ink,var(--ink));outline-offset:3px}

.mobile-header{height:64px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:20;background:rgba(248,245,242,.82);border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}
.app-logo{font-size:1.55rem;font-weight:600;color:var(--plum);text-decoration:none;letter-spacing:-.04em;display:flex;align-items:center;gap:.3rem}
.app-logo span{width:11px;height:19px;border:2px solid var(--coral);border-radius:50%;transform:rotate(20deg)}
.app-logo.inverse{color:#fff}
.circle-button{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.7);display:grid;place-items:center;position:relative;color:var(--plum);cursor:pointer}
.circle-button svg{width:21px;fill:none;stroke:currentColor;stroke-width:1.8}
.circle-button i{position:absolute;width:7px;height:7px;border-radius:50%;background:var(--coral);top:7px;right:7px;border:2px solid #fff}

.shopper-body{padding-bottom:88px;background:radial-gradient(circle at 85% 0,rgba(245,111,97,.08),transparent 24%),var(--page)}
.shopper-shell{max-width:560px;margin:auto;padding:18px 16px 40px}
.welcome{padding:12px 2px 18px}
.welcome p{margin:0;color:var(--coral);font-size:.78rem;font-weight:600}
.welcome h1{font-size:clamp(2rem,9vw,3rem);line-height:1.25;letter-spacing:-.045em;margin:.35rem 0;font-weight:600}
.welcome h1 span{color:var(--plum)}

.journey-strip{list-style:none;margin:0 0 18px;padding:0;display:grid;grid-template-columns:repeat(4,1fr);position:relative}
.journey-strip:before{content:"";position:absolute;right:12.5%;left:12.5%;top:15px;height:1px;background:#d9ced5}
.journey-strip li{display:flex;align-items:center;flex-direction:column;gap:4px;position:relative;color:#8b8389;font-size:.6rem}
.journey-strip b{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#eee8ec;border:3px solid var(--page);font-size:.62rem;font-weight:500}
.journey-strip .active{color:var(--plum);font-weight:600}
.journey-strip .active b{background:var(--plum);color:#fff}

.try-card{min-height:374px;display:grid;grid-template-columns:1.03fr .97fr;position:relative;overflow:hidden;border-radius:var(--r-xl);background:radial-gradient(circle at 15% 8%,rgba(255,255,255,.55),transparent 30%),linear-gradient(145deg,#e5cfd9,#f3d9ca 60%,#f7bf7c);border:1px solid rgba(255,255,255,.85);box-shadow:var(--float)}
.try-card:after{content:"";position:absolute;width:220px;height:220px;border:1px solid rgba(255,255,255,.5);border-radius:50%;left:-110px;bottom:-100px;box-shadow:0 0 0 38px rgba(255,255,255,.12),0 0 0 76px rgba(255,255,255,.07)}
.try-copy{padding:28px 8px 28px 24px;z-index:2;align-self:center}
.status-pill{display:inline-flex;align-items:center;gap:.35rem;background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.8);border-radius:99px;padding:.35rem .65rem;font-size:.62rem;white-space:nowrap}
.status-pill i{width:7px;height:7px;background:#28a46a;border-radius:50%;box-shadow:0 0 0 4px rgba(40,164,106,.12)}
.try-copy h2{font-size:1.75rem;line-height:1.3;margin:1rem 0 .35rem;letter-spacing:-.04em}
.try-copy p{font-size:.76rem;color:#5f555d;margin:0 0 1.25rem}
.upload-button{min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;padding:.65rem 1rem;border-radius:99px;background:var(--plum);color:#fff;box-shadow:0 9px 20px rgba(75,33,66,.2);cursor:pointer;font-weight:600;font-size:.78rem}
.upload-button svg{width:19px;fill:none;stroke:currentColor;stroke-width:1.8}
.portrait-preview{margin:20px 15px 20px 0;border-radius:75px 75px 28px 28px;background:rgba(255,255,255,.34);border:1px solid rgba(255,255,255,.72);box-shadow:inset 0 1px rgba(255,255,255,.8);position:relative;overflow:hidden;z-index:2}
.portrait-preview>img,.demo-after,.demo-after img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.demo-before,.demo-after img{object-position:center top}
.demo-after{clip-path:inset(0 0 100% 0);animation:outfitReveal 5s var(--ease) infinite;z-index:2}
.scan-line{position:absolute;z-index:4;left:8%;right:8%;top:4%;height:2px;border-radius:4px;background:#fff;box-shadow:0 0 9px #fff,0 0 22px rgba(245,190,98,.9);animation:scan 5s var(--ease) infinite}
@keyframes scan{0%,100%{top:4%}
48%,58%{top:94%}
}
@keyframes outfitReveal{0%,8%{clip-path:inset(0 0 100% 0)}
48%,62%{clip-path:inset(0 0 0 0)}
88%,100%{clip-path:inset(0 0 100% 0)}
}

.quick-section,.stores-mobile{margin-top:34px}
.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}
.section-heading small{font-size:.68rem;color:var(--coral);font-weight:600}
.section-heading h2{font-size:1.45rem;line-height:1.35;margin:.15rem 0;letter-spacing:-.035em}
.section-heading>span,.section-heading>a{color:var(--muted);font-size:.67rem;text-decoration:none}
.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.quick-card{min-height:112px;padding:14px;border:1px solid var(--line);border-radius:var(--r-lg);background:rgba(255,255,255,.82);box-shadow:0 8px 25px rgba(55,29,49,.05);text-align:right;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;color:var(--ink);cursor:pointer}
.quick-icon{grid-row:1/3;width:42px;height:42px;border-radius:15px;display:grid;place-items:center;font-weight:600}
.quick-icon.coral{background:#fee0dc;color:#9f4038}
.quick-icon.mint{background:#dff2e8;color:#315f4a}
.quick-icon.apricot{background:#fff0c9;color:#8c6200}
.quick-icon.plum{background:#eadde7;color:var(--plum)}
.quick-card small{align-self:end;color:var(--muted);font-size:.64rem}
.quick-card strong{align-self:start;font-size:.86rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.store-scroll{display:grid;grid-auto-flow:column;grid-auto-columns:38%;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;scrollbar-width:none}
.store-scroll::-webkit-scrollbar{display:none}
.mini-store{scroll-snap-align:start;text-decoration:none;color:var(--ink);border-radius:var(--r-lg);background:#fff;padding:7px 7px 12px;box-shadow:var(--shadow)}
.mini-store img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:20px}
.mini-store strong{display:block;font-size:.76rem;font-weight:500;margin:7px 5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.start-button{min-height:58px;margin-top:26px;padding:0 22px;border-radius:99px;background:linear-gradient(145deg,#65304f,#35172f);color:#fff;display:flex;align-items:center;justify-content:space-between;text-decoration:none;font-weight:600;box-shadow:0 12px 28px rgba(75,33,66,.2)}
.start-button svg{width:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.start-button.disabled{background:#d9d2d6;color:#8f878d;box-shadow:none;pointer-events:none}
.bottom-nav{height:76px;position:fixed;z-index:30;right:10px;left:10px;bottom:max(8px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);align-items:center;padding:6px;border-radius:24px;background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.9);box-shadow:0 13px 36px rgba(55,29,49,.14);backdrop-filter:blur(20px)}
.bottom-nav a{min-height:55px;color:#847b82;text-decoration:none;font-size:.59rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border-radius:17px}
.bottom-nav a span{font-size:1.1rem;line-height:1.2}
.bottom-nav a.active{color:var(--plum);background:#f3ecf0}
.bottom-nav .try-nav{margin-top:-24px;background:var(--plum);color:#fff;border:5px solid var(--page);border-radius:50%;width:62px;height:62px;justify-self:center}
.bottom-nav .try-nav span{font-size:1.2rem}

.bottom-sheet,.campaign-dialog{border:0;padding:0;border-radius:30px 30px 0 0;width:min(560px,100%);max-width:none;margin:0 auto;bottom:0;top:auto;background:#fff;box-shadow:0 -20px 60px rgba(55,29,49,.18)}
dialog::backdrop{background:rgba(31,20,29,.45);backdrop-filter:blur(3px)}
.bottom-sheet form{padding:12px 20px 28px;position:relative}
.sheet-grip{width:42px;height:5px;border-radius:4px;background:#ddd4da;margin:0 auto 18px}
.sheet-close{position:absolute;left:18px;top:18px;width:38px;height:38px;border-radius:50%;border:0;background:#f3eef1;font-size:1.3rem;cursor:pointer}
.bottom-sheet p,.campaign-dialog>form>small{color:var(--coral);font-size:.68rem;margin:0}
.bottom-sheet h2,.campaign-dialog h2{margin:.2rem 0 1rem;font-size:1.6rem}
.sheet-options{display:grid;gap:7px}
.sheet-options button{min-height:50px;border:1px solid var(--line);border-radius:16px;background:#fff;text-align:right;padding:0 16px;cursor:pointer}
.sheet-options button.selected{background:#f2e9ef;color:var(--plum);border-color:rgba(75,33,66,.22)}

.merchant-app-body{background:#f4f1f2;padding-right:250px}
.merchant-sidebar{position:fixed;right:0;top:0;bottom:0;width:250px;background:var(--plum-dark);color:#fff;padding:26px 20px;display:flex;flex-direction:column;z-index:30}
.merchant-identity{display:flex;align-items:center;gap:11px;margin:38px 0 28px;padding-bottom:22px;border-bottom:1px solid rgba(255,255,255,.12)}
.merchant-identity img{width:48px;height:48px;object-fit:cover;border-radius:15px}
.merchant-identity div{display:flex;flex-direction:column}
.merchant-identity small{color:#c8b7c4;font-size:.64rem}
.merchant-identity strong{font-weight:500}
.merchant-sidebar nav{display:grid;gap:5px}
.merchant-sidebar nav a{min-height:48px;border-radius:15px;color:#cdbdc9;text-decoration:none;padding:0 13px;display:flex;align-items:center;gap:12px;font-size:.76rem}
.merchant-sidebar nav a span{font-size:1.1rem}
.merchant-sidebar nav a.active{background:rgba(255,255,255,.12);color:#fff}
.sidebar-help{margin-top:auto;color:#decfd9;text-decoration:none;font-size:.68rem;border-top:1px solid rgba(255,255,255,.12);padding-top:18px}
.dashboard-main{max-width:1440px;margin:auto;padding:38px 48px 70px}
.dashboard-header{display:flex;justify-content:space-between;align-items:center}
.dashboard-header p{margin:0;color:var(--muted);font-size:.72rem}
.dashboard-header h1{margin:.15rem 0;font-size:2rem;letter-spacing:-.035em}
.dashboard-actions{display:flex;gap:9px}
.soft-button{min-height:44px;padding:0 16px;border-radius:15px;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer}
.dashboard-menu{display:none}
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:30px 0}
.metric-card{min-height:164px;border-radius:var(--r-lg);background:#fff;border:1px solid var(--line);padding:22px;position:relative;overflow:hidden;box-shadow:0 8px 24px rgba(55,29,49,.04)}
.metric-card>small{color:var(--muted);font-size:.7rem}
.metric-card>strong{display:block;font:600 2.35rem Inter,sans-serif;margin:.55rem 0 .25rem;direction:ltr;text-align:right}
.metric-card p{margin:0;color:var(--muted);font-size:.66rem}
.metric-card p b{color:#20865a}
.metric-card.featured{background:var(--plum);color:#fff}
.metric-card.featured>small,.metric-card.featured p{color:#decfd9}
.metric-mark{position:absolute;left:-4px;bottom:-25px;color:rgba(255,255,255,.08);font-size:7rem}
.dashboard-section{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:26px;margin-top:14px;box-shadow:0 8px 25px rgba(55,29,49,.04)}
.dashboard-section-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}
.dashboard-section-head small{color:var(--coral);font-size:.65rem;font-weight:600}
.dashboard-section-head h2{font-size:1.55rem;margin:.1rem 0;letter-spacing:-.035em}
.dashboard-section-head p{font-size:.7rem;color:var(--muted);margin:0;max-width:590px}
.primary-button{min-height:48px;border:0;border-radius:16px;background:var(--plum);color:#fff;padding:0 18px;font-weight:600;cursor:pointer;box-shadow:0 8px 20px rgba(75,33,66,.16)}
.primary-button span{margin-left:6px}
.ads-layout{display:grid;grid-template-columns:1.45fr .55fr;gap:12px}
.campaign-card{border:1px solid var(--line);border-radius:22px;padding:18px}
.campaign-top{display:flex;justify-content:space-between}
.campaign-top button{border:0;background:transparent;cursor:pointer}
.live-dot{font-size:.64rem;color:#207a52;background:#e5f5ec;padding:.3rem .6rem;border-radius:99px}
.live-dot i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#28a46a;margin-left:4px}
.campaign-product{display:flex;gap:13px;align-items:center;margin:16px 0}
.campaign-product img{width:74px;height:86px;object-fit:cover;border-radius:16px}
.campaign-product small,.campaign-product p{color:var(--muted);font-size:.62rem;margin:0}
.campaign-product h3{font-size:1rem;margin:.18rem 0;font-weight:500}
.campaign-progress>span{height:7px;border-radius:10px;background:#eee8ec;display:block;overflow:hidden}
.campaign-progress>span b{height:100%;display:block;background:var(--coral);border-radius:10px}
.campaign-progress>div{display:flex;justify-content:space-between;margin-top:6px}
.campaign-progress small{color:var(--muted);font-size:.58rem}
.campaign-progress small b{color:var(--ink)}
.campaign-results{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);margin-top:15px;padding-top:15px}
.campaign-results span{display:flex;flex-direction:column;border-left:1px solid var(--line);padding-right:13px}
.campaign-results span:last-child{border:0}
.campaign-results small{color:var(--muted);font-size:.6rem}
.campaign-results b{font:600 1rem Inter,sans-serif;margin-top:3px}
.ads-summary{border-radius:22px;padding:22px;background:linear-gradient(145deg,#f7ede6,#f4e5ec);display:flex;flex-direction:column}
.ads-summary>small{color:var(--muted);font-size:.65rem}
.ads-summary>strong{font:600 2rem Inter,sans-serif;margin-top:15px;direction:ltr;text-align:right}
.ads-summary>strong span{font:500 .65rem "Cairo",sans-serif}
.ads-summary>p{font-size:.65rem;color:var(--muted);margin:0}
.ads-summary>div{display:grid;gap:6px;font-size:.68rem;margin-top:20px}
.ads-summary>div span:before{content:"✓";color:#20865a;margin-left:6px}
.text-button{border:0;background:transparent;color:var(--plum);font-weight:600;font-size:.68rem;margin-top:auto;text-align:right;cursor:pointer}
.products-panel{margin-top:14px}
.dashboard-table{font-size:.7rem}
.table-head,.table-row{display:grid;grid-template-columns:1.6fr .8fr .7fr .8fr auto;gap:14px;align-items:center;padding:11px 8px}
.table-head{color:var(--muted);border-bottom:1px solid var(--line)}
.table-row{border-bottom:1px solid var(--line)}
.table-row:last-child{border:0}
.table-product{display:flex;align-items:center;gap:10px;min-width:0}
.table-product b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}
.product-swatch{width:38px;height:44px;border-radius:12px;flex:0 0 auto}
.product-swatch.olive{background:#87968a}
.product-swatch.coral{background:#e78172}
.product-swatch.navy{background:#35425d}
.stock{justify-self:start;border-radius:99px;padding:.25rem .55rem;font-size:.58rem}
.stock.ok{background:#e5f5ec;color:#207a52}
.stock.low{background:#fff0d7;color:#8b5c00}
.table-row button{border:0;background:#f3eef1;color:var(--plum);border-radius:11px;padding:.45rem .7rem;cursor:pointer}

.campaign-dialog{border-radius:28px;width:min(520px,calc(100% - 24px));margin:auto;top:50%;bottom:auto;transform:translateY(-50%)}
.campaign-dialog form{padding:28px;position:relative}
.campaign-dialog label{display:block;font-size:.7rem;font-weight:600;margin-top:12px}
.campaign-dialog select,.campaign-dialog input{width:100%;height:50px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:0 12px;margin-top:5px}
.dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.campaign-dialog label{position:relative}
.campaign-dialog label>span{position:absolute;left:12px;bottom:12px;color:var(--muted);font-size:.65rem}
.ad-disclosure{background:#f7f2f5;border-radius:14px;padding:11px;font-size:.62rem;color:var(--muted)}
.primary-button.wide{width:100%}

@media(min-width:720px){.shopper-body{background:linear-gradient(90deg,#efe8ec 0,#f8f5f2 22%,#f8f5f2 78%,#efe8ec 100%)}
.bottom-nav{width:540px;right:50%;left:auto;transform:translateX(50%)}
.mobile-header{max-width:560px;margin:auto;border-inline:1px solid var(--line)}
}

@media(max-width:1040px){.merchant-app-body{padding-right:0}
.merchant-sidebar{transform:translateX(100%);transition:transform .22s var(--ease)}
.merchant-app-body.sidebar-open .merchant-sidebar{transform:none}
.dashboard-main{padding:26px 22px 60px}
.dashboard-menu{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:14px;background:#fff;margin-left:12px}
.dashboard-header>div:nth-child(2){margin-left:auto}
.metric-grid{grid-template-columns:1fr 1fr}
.ads-layout{grid-template-columns:1fr}
.ads-summary{min-height:230px}
}

@media(max-width:680px){.try-card{min-height:350px}
.try-copy{padding:22px 7px 22px 18px}
.try-copy h2{font-size:1.55rem}
.portrait-preview{margin:14px 10px 14px 0}
.dashboard-main{padding:18px 12px 50px}
.dashboard-header h1{font-size:1.45rem}
.dashboard-actions .soft-button{display:none}
.metric-grid{grid-template-columns:1fr 1fr;gap:8px;margin:20px 0}
.metric-card{min-height:135px;padding:16px}
.metric-card>strong{font-size:1.75rem}
.dashboard-section{padding:17px;border-radius:22px}
.dashboard-section-head{align-items:flex-start;flex-direction:column}
.dashboard-section-head .primary-button,.dashboard-section-head .soft-button{width:100%}
.campaign-results span{padding-right:7px}
.dashboard-table{overflow:auto}
.table-head,.table-row{min-width:690px}
.dialog-grid{grid-template-columns:1fr}
}

@media(max-width:390px){.try-card{grid-template-columns:1.12fr .88fr}
.status-pill{font-size:.56rem}
.try-copy p{font-size:.7rem}
.upload-button{padding:.6rem .8rem}
.quick-card{padding:11px}
.store-scroll{grid-auto-columns:43%}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
.scan-line,.demo-after{animation:none}
.demo-after{clip-path:inset(0 0 50% 0)}
.merchant-sidebar{transition:none}
}


/* Maraya discovery flow */
.discovery-body{font-family:"Cairo",sans-serif;background:radial-gradient(circle at 15% 6%,rgba(245,190,98,.24),transparent 22rem),radial-gradient(circle at 92% 22%,rgba(245,111,97,.12),transparent 20rem),#f8f2ea;padding-bottom:96px}

.app-header{height:68px;max-width:1180px;margin:auto;padding:0 clamp(18px,4vw,48px);display:flex;align-items:center;justify-content:space-between}
.brand{font-size:1.45rem;font-weight:600;color:var(--plum);text-decoration:none;letter-spacing:-.06em}
.icon-button{min-width:58px;height:38px;border:1px solid rgba(75,33,66,.12);border-radius:999px;background:rgba(255,255,255,.55);color:var(--plum);font-size:.68rem;cursor:pointer;backdrop-filter:blur(14px)}

.discovery-shell{max-width:1180px;padding:24px clamp(16px,4vw,48px) 54px}
.discovery-intro{max-width:640px}
.eyebrow{display:block;color:var(--coral);font-size:.68rem;font-weight:600;margin-bottom:.4rem}
.discovery-intro h1{margin:0;color:var(--plum);font-size:clamp(2.35rem,7vw,5.2rem);font-weight:500;line-height:1.15;letter-spacing:-.065em}
.discovery-intro h1 span{color:var(--coral)}
.discovery-intro p{max-width:560px;color:var(--muted);font-size:clamp(.76rem,1.8vw,.94rem);line-height:1.9;margin:1rem 0 1.6rem}

.profile-capsule{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(330px,1.28fr);gap:clamp(14px,3vw,28px);padding:clamp(12px,2vw,20px);border:1px solid rgba(255,255,255,.86);border-radius:36px;background:rgba(255,255,255,.5);box-shadow:0 20px 70px rgba(75,33,66,.11),inset 0 1px rgba(255,255,255,.9);backdrop-filter:blur(20px)}

.portrait-upload{min-height:390px;aspect-ratio:9/13;border-radius:28px;overflow:hidden;position:relative;display:grid;place-items:center;background:linear-gradient(145deg,#e8d8df,#f7d7c7);cursor:pointer}
.portrait-upload:after{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.7);border-radius:inherit;pointer-events:none}
.portrait-upload>img{width:100%;height:100%;object-fit:cover}
.portrait-empty{text-align:center;color:var(--plum);display:grid;justify-items:center;gap:.28rem}
.portrait-empty strong{font-size:1rem;font-weight:500}
.portrait-empty small{color:var(--muted);font-size:.62rem}
.upload-mark{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.7);font-size:1.55rem;font-weight:300;box-shadow:0 12px 30px rgba(75,33,66,.11)}

.portrait-upload{width:100%;padding:0;border:0;font:inherit}
.photo-guide{width:min(440px,calc(100% - 24px));border:0;border-radius:28px;padding:0;background:#fff}
.photo-guide::backdrop{background:rgba(32,20,29,.48);backdrop-filter:blur(3px)}
.photo-guide-card{padding:20px}
.photo-guide .dialog-heading{align-items:flex-start}
.photo-guide .dialog-heading>div{display:grid;gap:2px}
.photo-guide .dialog-heading small{color:var(--coral);font-size:.62rem}
.photo-guide .dialog-heading strong{font-size:1.05rem}
.photo-guide-list{list-style:none;margin:18px 0;padding:0;display:grid;gap:10px}
.photo-guide-list li{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:11px;border-radius:16px;background:#faf6f2}
.photo-guide-list li>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f0e3e9;color:var(--plum);font-size:.7rem;font-weight:700}
.photo-guide-list li div{display:grid}
.photo-guide-list strong{font-size:.75rem;font-weight:600}
.photo-guide-list small{color:var(--muted);font-size:.62rem;line-height:1.7}
.choose-photo{width:100%;min-height:52px;border:0;border-radius:999px;background:var(--plum);color:#fff;font-weight:600;cursor:pointer}

.quick-settings{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-content:center}
.setting-row{min-height:86px;padding:16px 18px;border:1px solid rgba(75,33,66,.08);border-radius:22px;background:rgba(255,255,255,.72);color:var(--ink);text-align:right;display:flex;flex-direction:column;justify-content:center;gap:.15rem;cursor:pointer;transition:border-color .18s ease,background .18s ease}
.setting-row:hover{background:#fff;border-color:rgba(75,33,66,.18)}
.setting-row span{color:var(--muted);font-size:.62rem}
.setting-row strong{font-size:.88rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.matches-section{margin-top:56px}
.matches-section .section-heading{align-items:center}
.matches-section h2{margin:0;color:var(--plum);font-size:clamp(1.6rem,4vw,2.6rem);font-weight:500;letter-spacing:-.05em}
.reel-index{direction:ltr;font-size:.72rem!important;color:var(--plum)!important;background:rgba(255,255,255,.62);padding:.48rem .8rem;border-radius:999px}
.product-reel{display:grid;grid-auto-flow:column;grid-auto-columns:min(76vw,330px);gap:14px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-padding-inline:2px;padding:4px 2px 20px;scrollbar-width:none}
.product-reel::-webkit-scrollbar{display:none}
.product-card{scroll-snap-align:start;display:flex;flex-direction:column;min-height:500px;padding:9px;border:1px solid rgba(75,33,66,.08);border-radius:30px;background:rgba(255,255,255,.78);box-shadow:0 15px 40px rgba(55,29,49,.08)}
.product-visual{height:330px;border-radius:23px;overflow:hidden;position:relative;background:#eee7e3}
.product-visual img{width:100%;height:100%;object-fit:cover;object-position:center top}
.product-badge{position:absolute;top:11px;right:11px;padding:.34rem .62rem;border-radius:999px;background:rgba(255,255,255,.82);color:var(--plum);font-size:.55rem;backdrop-filter:blur(10px)}
.product-badge.sponsored{color:#7c483c}
.product-copy{padding:14px 10px 10px}
.product-copy small{color:var(--muted);font-size:.58rem}
.product-copy h3{margin:.12rem 0 .25rem;font-size:.94rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-copy strong{font-size:.76rem;color:var(--plum);font-weight:500}
.try-look-button{min-height:48px;margin-top:auto;border:0;border-radius:999px;background:var(--plum);color:#fff;font-size:.75rem;font-weight:500;cursor:pointer;box-shadow:0 8px 18px rgba(75,33,66,.15)}
.swipe-hint{text-align:center;color:var(--muted);font-size:.58rem;margin:0}

.preferences-dialog{width:min(480px,calc(100% - 24px));border:0;border-radius:28px;padding:0;background:#fff}
.preferences-card{padding:20px}
.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.dialog-heading strong{font-weight:500}
.dialog-heading button{width:38px;height:38px;border:0;border-radius:50%;background:#f4eef1;color:var(--plum);font-size:1.25rem}
.preferences-card .sheet-options button{width:100%;margin-bottom:7px}

.try-dialog{inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#171317}
.try-dialog::backdrop{background:#171317}
.camera-stage{width:100%;height:100%;position:relative;overflow:hidden;background:#171317;color:#fff}
.try-canvas{position:absolute;inset:0;overflow:hidden}
.try-canvas>#camera-person{width:100%;height:100%;object-fit:contain;background:#171317}
.try-canvas:after{content:"";position:absolute;z-index:3;inset:0;background:linear-gradient(180deg,rgba(20,12,18,.22),transparent 25%,transparent 58%,rgba(20,12,18,.84));pointer-events:none}
.try-loading{position:absolute;z-index:4;inset:0;display:grid;place-content:center;justify-items:center;gap:8px;background:rgba(23,19,23,.82);text-align:center}
.try-loading[hidden]{display:none}
.try-loading strong{font-size:1.05rem;font-weight:500}
.try-loading small{color:#e7dce3;font-size:.64rem}
.try-spinner{width:42px;height:42px;border:3px solid rgba(255,255,255,.24);border-top-color:#fff;border-radius:50%;animation:try-spin .8s linear infinite}
@keyframes try-spin{to{transform:rotate(360deg)}
}
.camera-close{position:absolute;z-index:6;top:max(18px,env(safe-area-inset-top));left:18px;width:44px;height:44px;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:rgba(20,12,18,.28);color:#fff;font-size:1.35rem;backdrop-filter:blur(12px)}
.fit-panel{position:absolute;z-index:5;right:16px;left:16px;bottom:88px;padding:13px 14px;border:1px solid rgba(255,255,255,.24);border-radius:24px;background:rgba(35,24,32,.62);box-shadow:0 18px 45px rgba(0,0,0,.2);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.camera-copy{display:flex;flex-direction:column;gap:3px}
.camera-copy small{color:#e7dce3;font-size:.58rem}
.camera-copy strong{font-size:1.05rem;font-weight:500}
.camera-copy span{color:#e7dce3;font-size:.58rem;line-height:1.7}
.camera-copy span.error{color:#ffd0d0}
.camera-actions{position:absolute;z-index:6;right:18px;left:18px;bottom:max(20px,env(safe-area-inset-bottom));display:grid;grid-template-columns:.8fr 1.2fr;gap:9px}
.camera-actions button,.camera-actions a{min-height:54px;border-radius:999px;display:grid;place-items:center;text-decoration:none;font-size:.72rem;font-weight:500}
.camera-actions button{border:1px solid rgba(255,255,255,.36);background:rgba(255,255,255,.12);color:#fff;backdrop-filter:blur(14px)}
.camera-actions a{background:#fff;color:var(--plum)}
.camera-actions a[aria-disabled="true"]{opacity:.45;pointer-events:none}
@media(max-width:520px){.fit-panel{bottom:84px}
}

.discovery-body .bottom-nav{grid-template-columns:repeat(4,1fr)}

@media(min-width:760px){.product-reel{grid-auto-columns:min(38vw,330px)}
.portrait-upload{aspect-ratio:auto}
.discovery-body .bottom-nav{width:520px}
}

@media(max-width:680px){.app-header{height:60px}
.discovery-shell{padding-top:12px}
.profile-capsule{grid-template-columns:42% 58%;gap:10px;border-radius:28px;padding:9px}
.portrait-upload{min-height:316px;aspect-ratio:9/16;border-radius:22px}
.quick-settings{grid-template-columns:1fr;gap:6px}
.setting-row{min-height:47px;padding:8px 12px;border-radius:15px;display:grid;grid-template-columns:.8fr 1.2fr;align-items:center}
.setting-row strong{text-align:left;font-size:.72rem}
.setting-row span{font-size:.55rem}
.matches-section{margin-top:42px}
.product-card{min-height:455px}
.product-visual{height:290px}
}

@media(max-width:380px){.profile-capsule{grid-template-columns:40% 60%}
.portrait-upload{min-height:294px}
.setting-row{padding-inline:9px}
.product-reel{grid-auto-columns:82vw}
}

@media(prefers-reduced-motion:reduce){.setting-row{transition:none}
}


/* Discovery flow v2 — progressive, app-like and vertical */
.discovery-body{padding-bottom:102px}
.discovery-shell{max-width:760px;min-height:100vh;padding-top:0}
.app-header{height:56px}
.brand{font-family:"Cairo",sans-serif;font-size:1.65rem}
.icon-button{display:grid;place-items:center;min-width:76px;text-decoration:none;font-size:.78rem;font-weight:700}
.discovery-intro{min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:16px 16px 22px}
.discovery-intro h1{margin:.18rem 0 0;color:var(--plum);font-size:clamp(2.65rem,8vw,5.7rem);max-width:760px;font-weight:700;line-height:1.16;letter-spacing:0}
.discovery-intro h1 span{color:var(--coral)}

.profile-capsule{max-width:650px;margin:0 auto;grid-template-columns:minmax(230px,.85fr) minmax(280px,1.15fr);align-items:stretch}
.quick-settings[hidden],.matches-section[hidden]{display:none}
.quick-settings{grid-template-columns:1fr 1fr}
.setting-row{min-height:108px}
.setting-row strong{font-size:1rem}
.matches-section{margin-top:70px;scroll-margin-top:24px}
.matches-section .section-heading{justify-content:center;text-align:center;margin-bottom:18px}
.matches-section h2{font-size:clamp(2rem,6vw,3.6rem)}

.discovery-filters{position:sticky;top:10px;z-index:12;display:flex;justify-content:center;gap:8px;margin:0 auto 16px;padding:7px;width:max-content;max-width:100%;border:1px solid rgba(75,33,66,.09);border-radius:999px;background:rgba(248,245,242,.9);box-shadow:0 10px 30px rgba(55,29,49,.08);backdrop-filter:blur(16px)}
.discovery-filters button{display:flex;align-items:center;gap:6px;min-height:42px;padding:0 15px;border:0;border-radius:999px;background:#fff;color:var(--ink);cursor:pointer}
.discovery-filters span{font-size:.58rem;color:var(--muted)}
.discovery-filters strong{font-size:.65rem;font-weight:500}

.banner-ad{min-height:150px;margin:0 auto 22px;padding:24px;border-radius:28px;background:linear-gradient(135deg,var(--plum),#714260);color:#fff;display:grid;align-content:center;gap:5px;position:relative;overflow:hidden}
.banner-ad:after{content:"";position:absolute;width:210px;height:210px;border:1px solid rgba(255,255,255,.2);border-radius:50%;left:-50px;top:-45px}
.banner-ad small{font-size:.55rem;color:#eadde6}
.banner-ad strong{font-size:1.35rem;font-weight:500}
.banner-ad a{color:#fff;font-size:.68rem;width:max-content;position:relative;z-index:1}

.product-reel{display:grid;grid-auto-flow:row;grid-auto-columns:auto;gap:24px;overflow:visible;scroll-snap-type:none;padding:0}
.product-card{min-height:min(68vh,620px);max-width:520px;width:100%;margin-inline:auto;scroll-snap-align:center;padding:10px;border-radius:32px}
.product-visual{height:min(48vh,430px);border-radius:25px}
.product-copy{display:grid;grid-template-columns:1fr auto;align-items:end;column-gap:12px;padding:15px 12px 10px}
.store-link{grid-column:1;color:var(--plum);font-size:.7rem;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.product-copy small{grid-column:1;color:var(--muted)}
.product-copy h3{grid-column:1;margin:.18rem 0;font-size:1.05rem}
.product-copy strong{grid-column:2;grid-row:1/4;font-size:.85rem;align-self:center}
.available-sizes{grid-column:1;color:var(--muted);font-size:.56rem}
.try-look-button{font-size:.8rem}
.products-empty{padding:28px;text-align:center;border:1px dashed rgba(75,33,66,.2);border-radius:24px;color:var(--muted)}

.preferences-dialog{position:fixed;inset:auto 0 0;width:min(560px,100%);max-width:none;margin:0 auto;border-radius:30px 30px 0 0}
.preferences-dialog::backdrop{background:rgba(32,20,29,.42);backdrop-filter:blur(3px)}
.preferences-card{padding:22px 20px max(26px,env(safe-area-inset-bottom))}
.sheet-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.preferences-card .sheet-options button{min-height:54px;margin:0;border:1px solid rgba(75,33,66,.1);border-radius:16px;background:#faf7f9;color:var(--ink);cursor:pointer}
.preferences-card .sheet-options button.selected{border-color:var(--plum);background:var(--plum);color:#fff}

.discovery-body .bottom-nav{grid-template-columns:repeat(5,1fr);width:min(560px,calc(100% - 18px));bottom:9px;border:1px solid rgba(255,255,255,.85);border-radius:24px;box-shadow:0 16px 45px rgba(55,29,49,.18);background:rgba(255,255,255,.88);backdrop-filter:blur(18px)}

@media(max-width:680px){.app-header{height:54px}
.discovery-intro{min-height:0;padding:24px 4px 18px}
.discovery-intro h1{font-size:clamp(1.8rem,8.3vw,2.5rem);line-height:1.35;max-width:360px}
.profile-capsule{display:block;padding:8px;max-width:430px;border:0;box-shadow:none;background:transparent}
.portrait-upload{min-height:170px;aspect-ratio:auto;border-radius:22px}
.portrait-upload:after{display:none}
.portrait-upload.has-photo{min-height:300px;aspect-ratio:4/5}
.quick-settings{grid-template-columns:1fr 1fr;padding:8px 2px 2px;gap:7px}
.setting-row{min-height:74px!important;display:flex!important;padding:11px 13px!important;border-radius:17px!important}
.setting-row strong{text-align:right!important;font-size:.82rem!important}
.matches-section{margin-top:44px}
.product-card{min-height:62vh;border-radius:27px}
.product-visual{height:43vh}
.discovery-filters{top:8px}
.discovery-filters button{padding-inline:12px}
.discovery-body .bottom-nav a{font-size:.56rem}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
}


/* Stores marketplace */
.stores-body{margin:0;padding-bottom:102px;background:#f8f2ea;color:var(--ink);font-family:"Cairo",sans-serif}
.stores-header{height:58px;max-width:720px}
.stores-header>strong{color:var(--plum);font-size:.8rem}
.stores-shell{max-width:720px;margin:auto;padding:12px 14px 44px}
.market-search{height:54px;display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:8px;padding:0 8px 0 12px;border:1px solid rgba(75,33,66,.09);border-radius:18px;background:#fff;box-shadow:0 9px 28px rgba(55,29,49,.07)}
.market-search>span{font-size:1.7rem;line-height:1;color:var(--plum);transform:rotate(-20deg)}
.market-search input{width:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:.75rem}
.market-search button{height:38px;min-width:62px;border:0;border-radius:13px;background:var(--plum);color:#fff;font-size:.68rem;font-weight:600;cursor:pointer}
.market-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:16px 0 12px;padding:5px;border-radius:17px;background:#eee5e9}
.market-tabs button{min-height:42px;border:0;border-radius:13px;background:transparent;color:var(--muted);font-size:.72rem;font-weight:600;cursor:pointer}
.market-tabs button.active{background:#fff;color:var(--plum);box-shadow:0 5px 16px rgba(55,29,49,.08)}

.market-banner{overflow:hidden;margin-bottom:24px}
.market-banner-track{direction:ltr;display:flex;transition:transform .38s var(--ease)}
.market-banner-slide{direction:rtl;flex:0 0 100%;height:178px;position:relative;overflow:hidden;border-radius:24px;background:var(--plum)}
.market-banner-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(35,17,31,.08),rgba(35,17,31,.78))}
.market-banner-slide img{width:100%;height:100%;object-fit:cover}
.market-banner-slide>div{position:absolute;z-index:2;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:20px;color:#fff}
.market-banner-slide small{font-size:.55rem;opacity:.78}
.market-banner-slide strong{max-width:210px;margin:3px 0 13px;font-size:1.18rem;line-height:1.5}
.market-banner-slide button{min-height:37px;padding:0 14px;border:1px solid rgba(255,255,255,.5);border-radius:999px;background:rgba(255,255,255,.18);color:#fff;font:600 .62rem "Cairo";backdrop-filter:blur(8px)}
.market-dots{display:flex;direction:ltr;justify-content:center;gap:5px;margin-top:9px}
.market-dots button{width:6px;height:6px;padding:0;border:0;border-radius:99px;background:#d7ccd2}
.market-dots button.active{width:20px;background:var(--coral)}

.market-viewport{overflow:hidden;scroll-margin-top:12px;touch-action:pan-y}
.market-pages{direction:ltr;display:flex;transition:transform .34s var(--ease)}
.market-pages.show-clothes{transform:translateX(-100%)}
.market-page{direction:rtl;flex:0 0 100%;min-width:0}
.market-section-title{display:flex;align-items:end;justify-content:space-between;margin:4px 2px 12px}
.market-section-title small{color:var(--coral);font-size:.58rem}
.market-section-title h1{margin:1px 0;color:var(--plum);font-size:1.3rem;line-height:1.4}
.market-section-title>span{color:var(--muted);font-size:.6rem}
.stores-list{display:grid}
.market-store-card{min-height:116px;display:grid;grid-template-columns:78px 1fr auto;align-items:center;gap:12px;padding:14px 2px;border-bottom:1px solid rgba(75,33,66,.1)}
.market-store-card>img{width:78px;height:78px;border-radius:22px;object-fit:cover}
.market-store-card h2{margin:0;color:var(--ink);font-size:.9rem}
.market-store-card p{margin:2px 0;color:var(--muted);font-size:.62rem}
.market-store-card small{display:inline-block;color:var(--plum);font-size:.55rem}
.market-store-card>button{min-height:38px;padding:0 12px;border:0;border-radius:999px;background:var(--plum);color:#fff;font-size:.6rem;font-weight:600;white-space:nowrap}
.market-products{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.market-product-card{overflow:hidden;border:1px solid rgba(75,33,66,.08);border-radius:22px;background:#fff;box-shadow:0 9px 25px rgba(55,29,49,.05)}
.market-product-card>img{width:100%;height:210px;object-fit:cover;object-position:center top;background:#eee7e3}
.market-product-copy{padding:11px}
.market-store-name{display:block;padding:0;border:0;background:transparent;color:var(--plum);font:600 .62rem "Cairo";text-decoration:underline;text-underline-offset:3px}
.market-product-copy small{display:block;color:var(--muted);font-size:.52rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.market-product-copy h2{margin:5px 0 2px;font-size:.72rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.market-product-copy strong{color:var(--plum);font-size:.65rem}
.market-empty{grid-column:1/-1;padding:28px;text-align:center;border:1px dashed rgba(75,33,66,.18);border-radius:20px;color:var(--muted);font-size:.7rem}

@media(max-width:430px){.stores-shell{padding-inline:10px}
.market-store-card{grid-template-columns:68px 1fr auto;gap:9px}
.market-store-card>img{width:68px;height:68px;border-radius:19px}
.market-store-card>button{padding-inline:10px}
.market-banner-slide{height:164px}
.market-product-card>img{height:190px}
}

@media(prefers-reduced-motion:reduce){.market-banner-track,.market-pages{transition:none}
}


/* Stores top controls refinement */
.market-search{grid-template-columns:34px 1fr;height:56px;padding:0 16px;border-radius:999px}
.market-search-icon{display:grid;place-items:center!important;transform:none!important}
.market-search-icon svg{width:23px;height:23px;fill:none;stroke:var(--plum);stroke-width:1.8;stroke-linecap:round}
.market-search input{font-size:.78rem}
.market-search input::-webkit-search-cancel-button{opacity:.55}
.market-tabs{margin:24px 0 14px}
.market-banner{margin-bottom:26px}
.market-banner-slide{height:142px;border-radius:16px}
.market-banner-slide>div{padding:17px}
.market-banner-slide strong{font-size:1.02rem;margin-bottom:9px}
.market-banner-slide button{min-height:34px}
.market-dots{gap:7px;margin-top:12px}
.market-dots button{width:8px;height:8px}
.market-dots button.active{width:26px}

@media(max-width:430px){.market-banner-slide{height:134px;border-radius:15px}
}


/* Mobile marketplace visual correction */
.stores-shell{padding-top:0}
.market-search{width:min(92%,520px);height:52px;margin:-2px auto 0;padding-inline:15px;background:#fff;border-color:rgba(75,33,66,.08);box-shadow:0 7px 20px rgba(55,29,49,.09)}
.market-search-icon,.market-search-icon svg{width:24px!important;height:24px!important;min-width:24px;max-width:24px}
.market-search-icon circle,.market-search-icon path{fill:none!important}
.market-tabs{gap:10px;padding:0;background:transparent}
.market-tabs button{min-height:50px;border-radius:17px;color:#fff;font-size:.82rem;font-weight:700;box-shadow:0 8px 20px rgba(55,29,49,.12)}
.market-tabs button:first-child{background:var(--plum)}
.market-tabs button:last-child{background:var(--coral)}
.market-tabs button.active{color:#fff;outline:0;box-shadow:0 10px 26px rgba(55,29,49,.2);transform:translateY(-1px)}

.market-banner-slide{height:122px;border-radius:14px;background:#d9c4df}
.market-banner-slide:nth-child(2){background:#f7c36d}
.market-banner-slide:nth-child(3){background:#bfe3d0}
.market-banner-slide:after{display:none}
.market-banner-slide>img{position:absolute;left:2%;top:4%;width:43%;height:92%;object-fit:contain;object-position:center}
.market-banner-slide>div{inset:0 42% 0 0;width:58%;padding:13px 16px;color:var(--plum)}
.market-banner-slide small{color:var(--plum);opacity:.7}
.market-banner-slide strong{max-width:180px;font-size:.86rem;line-height:1.45;margin:1px 0 7px}
.market-banner-slide button{min-height:30px;padding:0 11px;border:0;background:var(--plum);color:#fff;font-size:.56rem}
.market-dots{margin-top:10px}
.market-dots button{background:#cfc4ca}
.market-dots button.active{background:var(--plum)}

@media(max-width:430px){.market-search{width:94%}
.market-banner-slide{height:116px;border-radius:13px}
.market-tabs button{min-height:48px}
}

.market-banner-slide>div{inset:0 0 0 42%;width:58%}


/* Marketplace filters and readable store details */
.market-tabs button.active{outline:0}
.market-section-title{align-items:center}
.market-section-title h1{font-size:1.38rem}
.market-filter-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px}
.market-filter-row>button{min-height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border:1px solid rgba(75,33,66,.1);border-radius:16px;background:#fff;color:var(--ink);cursor:pointer}
.market-filter-row span{color:var(--muted);font-size:.6rem}
.market-filter-row strong{color:var(--plum);font-size:.68rem;font-weight:600}
.market-store-card h2{font-size:1rem}
.market-store-card p{font-size:.69rem;line-height:1.65}
.market-store-card small{font-size:.62rem;line-height:1.6}
.market-store-card>button{font-size:.64rem}


/* Unified marketplace filter sheet */
.market-banner-slide{height:148px}
.market-tabs button.active{outline:none!important;outline-offset:0!important;border:0!important}
.market-section-title{margin-bottom:18px}
.market-title-actions{display:flex;align-items:center;gap:9px}
.market-title-actions>span{color:var(--muted);font-size:.58rem}
.market-filter-trigger{min-height:42px;display:flex;align-items:center;gap:6px;padding:0 13px;border:0;border-radius:14px;background:var(--plum);color:#fff;box-shadow:0 7px 18px rgba(75,33,66,.16);cursor:pointer}
.market-filter-trigger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.market-filter-trigger b{font-size:.65rem}
.market-filter-groups{display:grid;gap:20px;margin:16px 0 20px}
.market-filter-group{padding-bottom:18px;border-bottom:1px solid rgba(75,33,66,.09)}
.market-filter-group:last-child{border-bottom:0;padding-bottom:0}
.market-filter-group h3{margin:0 0 10px;font-size:.78rem}
.market-filter-group>div{display:flex;flex-wrap:wrap;gap:7px}
.market-filter-group button{min-height:40px;padding:0 15px;border:1px solid rgba(75,33,66,.08);border-radius:999px;background:#f3eef1;color:var(--ink);font-size:.66rem;cursor:pointer}
.market-filter-group button.selected{border-color:var(--plum);background:var(--plum);color:#fff}
.market-filter-group.brand-filter-group>div{display:grid;grid-auto-flow:column;grid-auto-columns:max-content;gap:12px;overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x proximity}
.market-filter-group.brand-filter-group button{width:160px;min-height:154px;display:grid;place-items:center;align-content:center;gap:8px;padding:10px;border-radius:16px;background:#fff!important;scroll-snap-align:start}
.market-filter-group.brand-filter-group button[data-filter-value="الكل"]{width:72px;min-height:46px;align-self:center;border-radius:999px;padding:6px 12px}
.market-filter-group.brand-filter-group button img{width:132px;height:106px;object-fit:contain;border-radius:10px;background:#fff}
.market-filter-group.brand-filter-group button span{max-width:138px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:700;line-height:1.5}
.market-filter-group.brand-filter-group button.selected{background:var(--control-ink,var(--plum))!important;color:#fff!important}
.apply-market-filters{width:100%;min-height:52px;border:0;border-radius:999px;background:var(--plum);color:#fff;font-weight:700;cursor:pointer}
.market-store-card>button{min-width:116px;min-height:42px;padding-inline:18px;font-size:.7rem}

@media(max-width:430px){.market-banner-slide{height:138px}
.market-section-title{margin-bottom:16px}
.market-store-card>button{min-width:108px;padding-inline:13px}
}


/* Store visit and direct try-on */
.selected-store-profile{display:grid;grid-template-columns:86px 1fr;gap:13px;align-items:center;margin:0 0 22px;padding:13px;border-radius:22px;background:linear-gradient(135deg,#efe2e8,#fff3ea);border:1px solid rgba(75,33,66,.08)}
.selected-store-profile[hidden]{display:none}
.selected-store-profile>img{width:86px;height:86px;border-radius:20px;object-fit:cover}
.selected-store-profile>div{display:grid}
.selected-store-profile small{color:var(--coral);font-size:.55rem}
.selected-store-profile h2{margin:0;color:var(--plum);font-size:1.12rem}
.selected-store-profile p{margin:1px 0;color:var(--muted);font-size:.65rem}
.selected-store-profile strong{color:var(--plum);font-size:.61rem;font-weight:600}
.market-product-card{display:flex;flex-direction:column}
.market-try-button{min-height:43px;margin:0 9px 9px;border:0;border-radius:999px;background:var(--plum);color:#fff;font:700 .66rem "Cairo";cursor:pointer;box-shadow:0 7px 17px rgba(75,33,66,.16)}
.market-try-button:disabled{opacity:.55}
.market-product-copy{flex:1}
.stores-body .try-dialog{font-family:"Cairo",sans-serif}

@media(max-width:430px){.selected-store-profile{grid-template-columns:76px 1fr}
.selected-store-profile>img{width:76px;height:76px}
.market-try-button{min-height:42px}
}


/* Unified product actions: Discover and Clothes */
.product-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}

.product-card-actions .try-look-button,.add-product-cart{min-height:48px;margin:0;border:0;border-radius:999px;color:#fff;font:600 .7rem "Cairo",sans-serif;cursor:pointer}

.product-card-actions .try-look-button{background:var(--plum);box-shadow:0 8px 18px rgba(75,33,66,.15)}

.add-product-cart{background:var(--coral);box-shadow:0 8px 18px rgba(242,118,97,.16)}

.add-product-cart:disabled{opacity:.7}

.market-product-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 8px 9px}

.market-product-actions .market-try-button,.market-cart-button{min-height:43px;margin:0;border:0;border-radius:999px;color:#fff;font:700 .58rem "Cairo",sans-serif;cursor:pointer}

.market-product-actions .market-try-button{background:var(--plum);box-shadow:0 7px 17px rgba(75,33,66,.16)}

.market-cart-button{background:var(--coral);box-shadow:0 7px 17px rgba(242,118,97,.14)}

.market-product-actions button:disabled{opacity:.65}

.add-product-cart:has([data-cart-add]),.market-cart-button:has([data-cart-add]){display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 5px;font-size:.86rem}
.add-product-cart [data-cart-add],.add-product-cart [data-cart-remove],.market-cart-button [data-cart-add],.market-cart-button [data-cart-remove]{height:38px;display:grid;place-items:center;border-radius:999px;font-size:1.22rem;font-weight:700}
.add-product-cart b,.market-cart-button b{min-width:24px;color:#fff;font-size:.78rem}
.add-product-cart [data-cart-add]:active,.add-product-cart [data-cart-remove]:active,.market-cart-button [data-cart-add]:active,.market-cart-button [data-cart-remove]:active{background:rgba(255,255,255,.2)}

@media(max-width:380px){.product-card-actions .try-look-button,.add-product-cart{font-size:.64rem}
.market-product-actions{grid-template-columns:1fr}
.market-product-actions .market-try-button,.market-cart-button{min-height:40px;font-size:.58rem}
}

.bottom-nav a{position:relative}
.bottom-nav .merchant-notification-dot{position:absolute;z-index:3;top:7px;right:calc(50% - 27px);width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#ff6f61;box-shadow:0 1px 6px rgba(255,76,68,.45)}

.product-visual,.market-product-image{position:relative;touch-action:pan-y}
.product-color-dots{position:absolute;z-index:4;right:50%;bottom:10px;transform:translateX(50%);display:flex;gap:6px;padding:5px 8px;border-radius:999px;background:rgba(28,19,25,.24);backdrop-filter:blur(8px)}
.product-color-dots span{width:9px;height:9px;padding:0;border:1px solid rgba(255,255,255,.75);border-radius:50%;background:rgba(255,255,255,.52);box-shadow:none}
.product-color-dots span.active{width:11px;height:11px;background:#fff}

.demo-accounts,.customer-notifications{margin:18px 0;padding:18px;border:1px solid rgba(75,33,66,.1);border-radius:24px;background:#fff}
.demo-accounts h2,.customer-notifications h2{margin:0;color:var(--plum);font-size:1.05rem}
.demo-accounts p{color:var(--muted);font-size:.65rem;line-height:1.8}
.demo-accounts>button,.demo-accounts>div button{min-height:52px;border:0;border-radius:999px;color:#fff;font:700 .7rem "Cairo"}
.demo-accounts>button{width:100%;background:var(--plum)}
.demo-accounts>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.demo-accounts>div button:first-child{background:var(--plum)}
.demo-accounts>div button:last-child{background:var(--coral)}
.customer-notifications article{padding:12px 0;border-bottom:1px solid rgba(75,33,66,.1)}
.customer-notifications article:last-child{border-bottom:0}
.customer-notifications article strong{color:var(--plum);font-size:.76rem}
.customer-notifications article p{margin:4px 0;color:var(--ink);font-size:.65rem}
.customer-notifications article small{color:var(--muted);font-size:.54rem}

.market-filter-trigger{width:44px;padding:0;justify-content:center}
.market-filter-trigger svg{width:21px;height:21px}
.market-product-image{height:210px;position:relative;overflow:hidden;background:#eee7e3}
.market-product-image img{width:100%;height:100%;object-fit:cover;object-position:center top}
.market-product-image>span{position:absolute;top:9px;right:9px;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.88);color:var(--plum);font-size:.52rem;font-weight:700}
.camera-copy>strong:first-child{margin-top:0}
@media(max-width:430px){.market-product-image{height:190px}
}

.account-menu{padding:8px 16px}
.account-menu>a,.account-menu>button{min-height:66px;display:grid;grid-template-columns:40px minmax(0,1fr) 18px;gap:12px;padding:10px 2px}
.account-menu span{min-width:0;display:flex;flex-direction:column;line-height:1.45}
.account-menu span strong{color:var(--ink);font-size:.78rem;font-weight:700}
.account-menu span small{margin-top:2px;color:var(--muted);font-size:.56rem;font-weight:400}
.account-menu i{width:38px;height:38px;display:block;position:relative;border-radius:11px;background:#f3edf1;color:var(--plum);font-style:normal}
.account-menu i:before{content:"";position:absolute;inset:7px;background:currentColor;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;mask-position:center;mask-repeat:no-repeat;mask-size:contain}
.account-menu i[data-icon="favorite"]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21s-8-4.7-8-11a4.5 4.5 0 0 1 8-2.8A4.5 4.5 0 0 1 20 10c0 6.3-8 11-8 11Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21s-8-4.7-8-11a4.5 4.5 0 0 1 8-2.8A4.5 4.5 0 0 1 20 10c0 6.3-8 11-8 11Z'/%3E%3C/svg%3E")}
.account-menu i[data-icon="orders"]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m3 7 9-4 9 4-9 4-9-4Zm0 0v10l9 4 9-4V7M7 13H3m4 4H3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m3 7 9-4 9 4-9 4-9-4Zm0 0v10l9 4 9-4V7M7 13H3m4 4H3'/%3E%3C/svg%3E")}
.account-menu i[data-icon="language"]:before{content:"ع";inset:0;display:grid;place-items:center;background:transparent;font-size:1.05rem;font-weight:800}
.account-menu i[data-icon="support"]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M21 11a8 8 0 1 1-4-7v0a8 8 0 0 1 4 7Zm-9 8-3 3v-4m1-9a2.4 2.4 0 1 1 3 2.3c-.7.3-1 1-1 1.7m0 3h.01'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M21 11a8 8 0 1 1-4-7v0a8 8 0 0 1 4 7Zm-9 8-3 3v-4m1-9a2.4 2.4 0 1 1 3 2.3c-.7.3-1 1-1 1.7m0 3h.01'/%3E%3C/svg%3E")}
.account-menu i[data-icon="settings"]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M9.9 2h4.2l.55 2.48c.57.22 1.1.53 1.58.91l2.43-.77 2.1 3.64-1.88 1.72a7.6 7.6 0 0 1 0 2.04l1.88 1.72-2.1 3.64-2.43-.77c-.48.38-1.01.69-1.58.91L14.1 20H9.9l-.55-2.48a7.7 7.7 0 0 1-1.58-.91l-2.43.77-2.1-3.64 1.88-1.72a7.6 7.6 0 0 1 0-2.04L3.24 8.26l2.1-3.64 2.43.77c.48-.38 1.01-.69 1.58-.91L9.9 2Zm2.1 5.75a4.25 4.25 0 1 0 0 8.5 4.25 4.25 0 0 0 0-8.5Zm0 2a2.25 2.25 0 1 1 0 4.5 2.25 2.25 0 0 1 0-4.5Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M9.9 2h4.2l.55 2.48c.57.22 1.1.53 1.58.91l2.43-.77 2.1 3.64-1.88 1.72a7.6 7.6 0 0 1 0 2.04l1.88 1.72-2.1 3.64-2.43-.77c-.48.38-1.01.69-1.58.91L14.1 20H9.9l-.55-2.48a7.7 7.7 0 0 1-1.58-.91l-2.43.77-2.1-3.64 1.88-1.72a7.6 7.6 0 0 1 0-2.04L3.24 8.26l2.1-3.64 2.43.77c.48-.38 1.01-.69 1.58-.91L9.9 2Zm2.1 5.75a4.25 4.25 0 1 1 0 4.5 2.25 2.25 0 0 1 0-4.5Z'/%3E%3C/svg%3E")}
.account-menu i[data-icon="logout"]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M10 4H4v16h6m4-4 4-4-4-4m4 4H8'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M10 4H4v16h6m4-4 4-4-4-4m4 4H8'/%3E%3C/svg%3E")}

@media(max-width:680px){.discovery-intro h1{font-size:clamp(1.48rem,7vw,2rem);line-height:1.42;max-width:330px}
}


/* Account center */
.account-body{margin:0;padding-bottom:102px;background:radial-gradient(circle at 12% 0,rgba(245,190,98,.22),transparent 20rem),#f8f2ea;color:var(--ink);font-family:"Cairo",sans-serif}
.account-header{height:58px;max-width:620px}
.account-header>strong{color:var(--plum);font-size:.8rem}
.account-shell{max-width:620px;margin:auto;padding:20px 14px 50px}
.account-body:not(.account-settings-sheet-page) main#main.account-shell{width:min(100%,620px);min-height:calc(100svh - 28px);display:grid;align-content:center;box-sizing:border-box;padding-block:32px!important}
.account-body.account-guest:not(.account-settings-sheet-page) main#main.account-shell{transform:translateY(-4svh)}
.account-hero{text-align:center;padding:22px 12px 26px}
.account-hero>small{color:var(--coral);font-size:.62rem;font-weight:700}
.account-hero h1{margin:4px 0 8px;color:var(--plum);font-size:clamp(2rem,9vw,3.25rem);line-height:1.25}
.account-hero h1 span{color:var(--coral)}
.account-hero p{max-width:430px;margin:auto;color:var(--muted);font-size:.7rem;line-height:1.9}
.account-types{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.account-type{min-height:170px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:17px;border:0;border-radius:24px;text-align:right;text-decoration:none;cursor:pointer}
.account-type.customer{background:var(--plum);color:#fff}
.account-type.merchant{background:var(--coral);color:#fff}
.account-type span{font-size:.56rem;opacity:.75}
.account-type strong{font-size:.92rem}
.account-type small{margin-top:4px;font-size:.58rem;line-height:1.65;opacity:.82}
.account-menu{margin-top:18px;overflow:hidden;border:1px solid rgba(75,33,66,.08);border-radius:22px;background:#fff}
.account-menu>a,.account-menu>button{width:100%;min-height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border:0;border-bottom:1px solid rgba(75,33,66,.08);background:#fff;color:var(--ink);font:600 .7rem "Cairo";text-decoration:none;text-align:right}
.account-menu>*:last-child{border-bottom:0}
.account-menu b{color:var(--muted);font-size:1rem}
.account-menu strong{color:var(--plum);font-size:.62rem}
.account-menu .danger{color:#a13f46}
.customer-register-dialog .preferences-card>p{color:var(--muted);font-size:.65rem}
.customer-register-dialog label{display:block;margin-top:9px;color:var(--ink);font-size:.65rem}
.customer-register-dialog input,.customer-register-dialog select{width:100%;height:50px;margin-top:4px;padding:0 12px;border:1px solid rgba(75,33,66,.12);border-radius:13px;background:#fff;font:600 1rem "Cairo"}
.customer-register-dialog .choose-photo{margin-top:14px}
.account-success{margin-top:10px;padding:10px;border-radius:12px;background:#e5f5ec;color:#207a52;font-size:.65rem;text-align:center}
@media(max-width:430px){.account-shell{padding-top:8px}
.account-hero{padding-top:14px}
.account-type{min-height:154px;padding:14px}
.account-type strong{font-size:.82rem}
}

.account-shell{padding-top:30px}
.account-field{margin-top:9px;color:var(--ink);font-size:.65rem;font-weight:600}
.account-select{position:relative;margin-top:4px}
.account-select summary{height:50px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border:1px solid rgba(75,33,66,.12);border-radius:14px;background:#fff;font-size:1rem;font-weight:600;list-style:none;cursor:pointer}
.account-select summary::-webkit-details-marker{display:none}
.account-select summary i{width:9px;height:9px;border-inline-end:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(45deg)}
.account-select[open] summary i{transform:rotate(225deg)}
.account-select>div{position:absolute;z-index:20;top:55px;right:0;left:0;max-height:250px;overflow:auto;padding:7px;border:1px solid rgba(75,33,66,.1);border-radius:16px;background:#fff;box-shadow:0 18px 44px rgba(75,33,66,.18)}
.account-select>div button{width:100%;min-height:44px;padding:8px 12px;border:0;border-radius:11px;background:#fff;color:var(--ink);font:600 .96rem "Cairo";text-align:right}
.account-select>div button[aria-selected="true"]{background:#f2e9ef;color:var(--plum)}

.account-create-title{width:100%;margin:0 0 20px;justify-self:stretch;text-align:center;color:var(--plum);font-size:clamp(1.8rem,8vw,2.5rem)}
.account-types{grid-template-columns:1fr;gap:var(--account-choice-gap)}
.account-type{min-height:64px;display:grid;place-items:center;padding:10px;border-radius:999px;color:#fff!important;font-size:1rem;font-weight:700;text-align:center;box-shadow:0 13px 28px rgba(75,33,66,.15),inset 0 -3px 0 rgba(54,18,47,.12)}
.account-type.customer{background:var(--plum)}
.account-type.merchant{background:var(--coral)}

.account-types .account-type{width:100%;min-height:64px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:10px 24px!important;text-align:center!important}

#close-customer-register:focus-visible,.customer-register-dialog .dialog-heading button:focus-visible{outline:0!important;box-shadow:0 0 0 3px rgba(75,33,66,.18)}

.header-account-actions{display:flex;align-items:center;gap:4px}
.header-account-actions a{position:relative;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;color:#241d22}
.header-account-actions svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-notification i{position:absolute;top:6px;right:7px;width:8px;height:8px;border:2px solid #fff;border-radius:50%;background:#ff725e}
.app-cart b{position:absolute;top:1px;right:0;min-width:19px;height:19px;padding:0 4px;display:grid;place-items:center;border:2px solid #fff;border-radius:999px;background:#ff6f61;color:#fff;font:700 .52rem "Cairo",sans-serif;line-height:1}
[aria-label="إغلاق"]:focus,[aria-label="إغلاق"]:focus-visible,.camera-close:focus,.camera-close:focus-visible{outline:0!important;box-shadow:0 0 0 3px rgba(75,33,66,.16)!important}

:where([hidden]){display:none!important}

.quick-settings{grid-template-columns:1fr!important;gap:9px}
.quick-settings .setting-row{min-height:70px!important}
.camera-actions{grid-template-columns:1fr 1fr}
.camera-actions #try-add-cart,.camera-actions #market-try-add-cart{border:0;background:var(--coral);color:#fff}

.camera-actions button:disabled{opacity:.45;cursor:not-allowed}

.account-menu>a,.account-menu>button{align-items:center;text-align:right}
.account-menu span{width:100%;align-items:flex-start;text-align:right;justify-self:stretch}

.account-menu i[data-icon="settings"]:before{inset:7px!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M9.9 2h4.2l.55 2.48c.57.22 1.1.53 1.58.91l2.43-.77 2.1 3.64-1.88 1.72a7.6 7.6 0 0 1 0 2.04l1.88 1.72-2.1 3.64-2.43-.77c-.48.38-1.01.69-1.58.91L14.1 20H9.9l-.55-2.48a7.7 7.7 0 0 1-1.58-.91l-2.43.77-2.1-3.64 1.88-1.72a7.6 7.6 0 0 1 0-2.04L3.24 8.26l2.1-3.64 2.43.77c.48-.38 1.01-.69 1.58-.91L9.9 2Zm2.1 5.75a4.25 4.25 0 1 0 0 8.5 4.25 4.25 0 0 0 0-8.5Zm0 2a2.25 2.25 0 1 1 0 4.5 2.25 2.25 0 0 1 0-4.5Z'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M9.9 2h4.2l.55 2.48c.57.22 1.1.53 1.58.91l2.43-.77 2.1 3.64-1.88 1.72a7.6 7.6 0 0 1 0 2.04l1.88 1.72-2.1 3.64-2.43-.77c-.48.38-1.01.69-1.58.91L14.1 20H9.9l-.55-2.48a7.7 7.7 0 0 1-1.58-.91l-2.43.77-2.1-3.64 1.88-1.72a7.6 7.6 0 0 1 0-2.04L3.24 8.26l2.1-3.64 2.43.77c.48-.38 1.01-.69 1.58-.91L9.9 2Zm2.1 5.75a4.25 4.25 0 1 0 0 8.5 4.25 4.25 0 0 0 0-8.5Zm0 2a2.25 2.25 0 1 1 0 4.5 2.25 2.25 0 0 1 0-4.5Z'/%3E%3C/svg%3E")!important}

.customer-delete-account{width:100%;min-height:48px;margin-top:12px;border:1px solid rgba(161,63,70,.25);border-radius:999px;background:#fff;color:#a13f46;font:700 .68rem "Cairo";cursor:pointer}
.customer-delete-account:hover{background:#fbecee}
.customer-delete-account:focus-visible{outline:3px solid rgba(161,63,70,.25);outline-offset:2px}

.account-menu i[data-icon="friends"]:before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2m7-10a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm13 10v-2a4 4 0 0 0-3-3.87m-2-11.96a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2m7-10a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm13 10v-2a4 4 0 0 0-3-3.87m-2-11.96a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E")}
.demo-customer-switch{margin-top:14px;padding:16px;border:1px solid rgba(75,33,66,.1);border-radius:22px;background:#fff}
.demo-customer-switch>strong{display:block;margin-bottom:10px;color:var(--plum);font-size:.7rem;text-align:right}
.demo-customer-switch>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.demo-customer-switch button{min-height:50px;border:0;border-radius:999px;background:#f3edf1;color:var(--plum);font:700 .65rem "Cairo";cursor:pointer}
.demo-customer-switch button:last-child{background:var(--coral);color:#fff}
.demo-customer-switch button.active{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--plum)}

.customer-notification-row{display:block;padding:14px 2px;border-bottom:1px solid rgba(75,33,66,.1);color:inherit;text-decoration:none}
.customer-notification-row:last-child{border-bottom:0}
.customer-notification-row strong{color:var(--plum);font-size:.76rem}
.customer-notification-row p{margin:4px 0;color:var(--ink);font-size:.63rem;line-height:1.7}
.customer-notification-row small{color:var(--muted);font-size:.52rem}

.customer-notifications-dialog{width:min(92vw,560px);max-height:82vh;padding:0;border:0;border-radius:26px;background:#fff;box-shadow:0 24px 80px rgba(42,20,36,.3)}
.customer-notifications-dialog::backdrop{background:rgba(29,18,26,.52);backdrop-filter:blur(5px)}
.customer-notifications-dialog .customer-notifications{margin:0;border:0;border-radius:26px}
.customer-notifications header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.customer-notifications header h2{margin:0}
.customer-notifications header button{width:42px;height:42px;border:0;border-radius:50%;background:#f3edf1;color:var(--plum);font-size:1.2rem;cursor:pointer}

.stores-body .market-store-card>button,.stores-body .apply-market-filters{border:1px solid #111!important;background:#111!important;color:#fff!important;box-shadow:none!important}

.stores-body.store-focus .market-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
.stores-body.store-focus .market-product-card{position:relative;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
.stores-body.store-focus .market-product-image{height:auto;aspect-ratio:4/5;overflow:hidden;border:1px solid rgba(75,33,66,.18);border-radius:26px;background:#e9e4e1}
.stores-body.store-focus .market-product-image img{width:100%;height:100%;object-fit:cover;object-position:center top}
.stores-body.store-focus .market-product-copy{order:3;min-height:112px;margin-top:0;padding:22px 16px 14px;border:1px solid rgba(75,33,66,.14);border-radius:24px;background:#fff;box-shadow:0 10px 25px rgba(55,29,49,.06)}
.stores-body.store-focus .market-product-copy h2{margin:6px 0 2px;font-size:.86rem}
.stores-body.store-focus .market-product-copy strong{font-size:.78rem}
.stores-body.store-focus .market-product-actions{position:relative;z-index:3;order:2;height:0;display:flex;justify-content:flex-start;gap:8px;margin:0;padding-inline:16px;transform:translateY(-50%)}
.stores-body.store-focus .market-product-actions .market-try-button,.stores-body.store-focus .market-cart-button{width:58px;min-width:58px;height:58px;min-height:58px;display:grid;place-items:center;padding:0;border:1px solid rgba(75,33,66,.24);border-radius:50%;background:#fff;color:#3b2735;box-shadow:0 0 0 7px rgba(255,250,246,.72),0 10px 24px rgba(44,28,40,.14)}
.stores-body.store-focus .market-product-actions svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.stores-body.store-focus .market-cart-button:has(b){width:112px;border-radius:999px;grid-template-columns:32px 1fr 32px}
.stores-body.store-focus .market-cart-button:has(b) span,.stores-body.store-focus .market-cart-button:has(b) b{display:grid;place-items:center;height:100%;font-size:.82rem}
@media(max-width:520px){.stores-body.store-focus .market-products{gap:14px 10px}
.stores-body.store-focus .market-product-image{border-radius:20px}
.stores-body.store-focus .market-product-copy{min-height:104px;padding:20px 12px 12px;border-radius:19px}
.stores-body.store-focus .market-product-copy h2{font-size:.72rem}
.stores-body.store-focus .market-product-actions{padding-inline:10px}
.stores-body.store-focus .market-product-actions .market-try-button,.stores-body.store-focus .market-cart-button{width:52px;min-width:52px;height:52px;min-height:52px}
.stores-body.store-focus .market-product-actions svg{width:23px;height:23px}
}

.stores-body .market-filter-trigger{width:46px!important;height:46px!important;padding:0!important;border:1px solid var(--line)!important;border-radius:15px!important;background:#fff!important;color:#111!important;box-shadow:none!important}
.stores-body .market-filter-trigger svg{stroke:#111!important;stroke-width:2!important}
.stores-body.store-focus .selected-store-profile{border:1px solid var(--line)!important;background:#fff!important;background-image:none!important;color:#111!important;box-shadow:none!important}
.stores-body.store-focus .selected-store-profile>img{border:1px solid var(--line)}
.stores-body.store-focus .selected-store-profile h2,.stores-body.store-focus .selected-store-profile p,.stores-body.store-focus .selected-store-profile strong{color:#111!important}
.stores-body.store-focus .selected-store-profile strong{border:1px solid var(--line)!important;background:#fff!important}
.stores-body.store-focus .market-store-name,.stores-body.store-focus .market-product-copy>small{display:none!important}


/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4 */
/* Store filters use the same monochrome surface as the filter trigger. */
.stores-body .market-filter-group button{border:1px solid var(--control-ink)!important;background:var(--control-surface)!important;color:var(--control-ink)!important;box-shadow:none!important}
.stores-body .market-filter-group button.selected{border-color:var(--control-ink)!important;background:var(--control-ink)!important;color:var(--control-surface)!important}
.stores-body .market-filter-group button:hover{background:var(--control-hover)!important}
.stores-body .market-filter-group button.selected:hover{background:var(--control-ink)!important}
.stores-body .market-filter-group button:focus-visible{outline:3px solid var(--control-ink,var(--ink))!important;outline-offset:2px}
.stores-body .market-filter-group button:active{transform:scale(.98)}
.stores-body .market-filter-group button:disabled{opacity:.5;cursor:not-allowed}


/* Hallmark · component: compact store-card sizing · pre-emit critique: P5 H5 E5 S5 R5 V4 · contrast: pass (40–41) */
.stores-body.store-focus .market-product-copy{position:relative}
.stores-body.store-focus .market-compact-sizes{position:absolute;top:20px;left:16px;display:grid;justify-items:center;gap:5px;color:var(--muted)}
.stores-body.store-focus .market-compact-sizes span{min-width:40px;min-height:30px;display:grid;place-items:center;padding:0 10px;border:1px solid var(--line);border-radius:999px;font-size:.62rem;font-weight:700}
.stores-body.store-focus .market-compact-sizes b{font-size:.56rem;white-space:nowrap}
@media(max-width:520px){.stores-body.store-focus .market-compact-sizes{top:16px;left:12px}
.stores-body.store-focus .market-compact-sizes span{min-width:36px;min-height:28px}
.stores-body.store-focus .market-compact-sizes b{font-size:.5rem}
}


/* Hallmark · component: monochrome close focus · pre-emit critique: P5 H5 E5 S5 R5 V4 · contrast: pass (40–41) */
[aria-label^="إغلاق"]:focus-visible,.sheet-close:focus-visible,.camera-close:focus-visible,.look-remove-x:focus-visible{outline:2px solid var(--control-ink)!important;outline-offset:3px;box-shadow:none!important}


/* Hallmark · component: account actions and delivery badge · theme: studied-DNA (Maraya) · pre-emit critique: P5 H5 E5 S5 R5 V5 · contrast: pass (40–41) */
.account-body .account-type{border:1px solid var(--ink)!important;background:var(--card)!important;color:var(--ink)!important;box-shadow:none!important}
.account-body .account-type:hover{background:var(--page)!important}
.account-body .account-type.selected,.account-body .account-type:active,.account-body .account-type[aria-pressed="true"]{border-color:var(--ink)!important;background:var(--ink)!important;color:var(--card)!important}
.account-body .account-type:focus-visible{outline:3px solid var(--coral)!important;outline-offset:3px}
.account-body .account-type[aria-disabled="true"],.account-body .account-type:disabled{opacity:.55;cursor:not-allowed}

.account-body .customer-register-dialog .choose-photo{width:min(100%,232px);min-height:52px;display:flex;align-items:center;justify-content:center;margin:16px auto 0;padding:0 24px;border:1px solid var(--ink);border-radius:999px;background:var(--ink);color:var(--card);box-shadow:none;font-weight:700;white-space:nowrap}
.account-body .customer-register-dialog .choose-photo:hover{opacity:.9}
.account-body .customer-register-dialog .choose-photo:active{opacity:.78}
.account-body .customer-register-dialog .choose-photo:disabled{opacity:.55;cursor:not-allowed}

.account-body .customer-delete-account{border:1px solid #a13f46;background:#a13f46;color:var(--card)}
.account-body .customer-delete-account:hover{background:#8d343c}
.account-body .customer-delete-account:active{opacity:.8}
.account-body .customer-delete-account:disabled{opacity:.55;cursor:not-allowed}

.stores-body .market-store-card small{width:fit-content;max-width:100%;margin-top:7px;padding:5px 10px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink);font-size:.69rem;font-weight:600;line-height:1.45;white-space:normal}

.account-body.settings-only{display:grid;place-items:center;min-height:100svh}
.account-body.settings-only>.app-header,.account-body.settings-only>.account-shell,.account-body.settings-only>.bottom-nav{display:none!important}


/* Hallmark · component: monochrome controls · pre-emit critique: P5 H5 E5 S5 R5 V4 · contrast: pass (40–41) */
.stores-body .market-search{border:1px solid var(--control-line)!important;background:var(--control-surface)!important;color:var(--control-ink)!important;box-shadow:none!important}
.stores-body .market-search input,.stores-body .market-search input::placeholder{color:var(--control-ink)!important}
.stores-body .market-search input::placeholder{opacity:.58}
.stores-body .market-search-icon svg{stroke:var(--control-ink)!important}

[aria-label^="إغلاق"],.sheet-close,.camera-close{border:1px solid var(--control-line)!important;background:var(--control-surface)!important;color:var(--control-ink)!important;box-shadow:none!important}
.account-select summary,.account-select>div button,.customer-register-dialog select,.customer-register-dialog option{color:var(--control-ink)!important}
.account-select>div button[aria-selected="true"],.customer-register-dialog option:checked,.preferences-card .sheet-options button.selected{border-color:var(--control-line)!important;background:var(--selection-surface)!important;color:var(--control-ink)!important}


/* Hallmark · component: unified canvas and account choices · genre: atmospheric · theme: Maraya
 * states: default · hover · focus · active · disabled · loading · error · success
 * contrast: pass (46–50) · pre-emit critique: P5 H5 E5 S5 R5 V4
 */
:root:not([data-theme="dark"]) body{background:var(--site-canvas-light)!important}

:root[data-theme="dark"] body{background:var(--site-canvas-dark)!important}

.account-body .account-types{gap:var(--account-choice-gap)!important}

.account-body .account-types .account-type.customer,
.account-body .account-types .account-type.customer:hover,
.account-body .account-types .account-type.customer.selected,
.account-body .account-types .account-type.customer:active,
.account-body .account-types .account-type.customer[aria-pressed="true"]{border-color:var(--control-ink)!important;background:var(--control-ink)!important;color:var(--control-surface)!important}

.account-body .account-types .account-type.merchant,
.account-body .account-types .account-type.merchant:hover,
.account-body .account-types .account-type.merchant:active,
.account-body .account-types .account-type.merchant[aria-pressed="true"]{border-color:var(--control-ink)!important;background:var(--control-surface)!important;color:var(--control-ink)!important}

.account-body .account-types .account-type[aria-busy="true"]{cursor:progress;opacity:.72}

.account-body .account-types .account-type[data-state="error"]{outline:2px solid var(--coral)!important;outline-offset:2px}

.account-body .account-types .account-type[data-state="success"]{outline:2px solid var(--ink)!important;outline-offset:2px}


/* Hallmark · component scope: merchant sheet, reel rail, store cards · theme: studied-DNA (Maraya)
 * states: default · hover · focus · active · disabled · loading · success
 * pre-emit critique: P5 H5 E5 S5 R5 V5 · contrast: pass (44–52)
 */
html,body{overflow-x:clip}
.merchant-register-dialog{max-height:min(92svh,860px);overflow:auto}
.customer-register-dialog :is(#customer-register-form,#merchant-register-form){grid-template-columns:minmax(0,1fr)}
.merchant-register-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.merchant-audience-options{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0;padding:0;border:0}
.merchant-audience-options legend{width:100%;margin-bottom:8px;color:var(--ink);font-size:.65rem;font-weight:700}
.merchant-audience-options label{min-height:44px;display:flex;align-items:center;gap:8px;margin:0!important;padding:0 16px;border:1px solid var(--control-line);border-radius:999px;background:var(--control-surface);cursor:pointer;white-space:nowrap}
.merchant-audience-options input{width:16px!important;height:16px!important;margin:0!important;accent-color:var(--control-ink)}
.merchant-dialog-consent{display:flex!important;align-items:center;gap:8px;margin-top:16px!important;color:var(--muted)!important;line-height:1.7}
.merchant-dialog-consent input{width:16px!important;height:16px!important;flex:0 0 auto;margin:0!important;accent-color:var(--control-ink)}

.utility-reel-page{padding-bottom:0!important}
.utility-reel-page>.bottom-nav,.utility-reel-page>.legacy-bottom-nav{display:none!important}
.utility-rail{position:fixed;z-index:90;top:50%;right:max(10px,env(safe-area-inset-right));display:grid;gap:10px;transform:translateY(-50%)}
.utility-rail a{width:56px;height:56px;display:grid;place-items:center;border:1px solid var(--control-line);border-radius:50%;background:var(--control-surface);color:var(--control-ink);box-shadow:0 8px 24px rgba(17,17,17,.09);text-decoration:none}
.utility-rail a:hover{background:var(--control-hover)}
.utility-rail a.active{border:2px solid var(--control-ink)}
.utility-rail a:focus-visible{outline:3px solid var(--control-ink,var(--ink));outline-offset:3px}
.utility-rail a:active{transform:scale(.95)}
.utility-rail svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.stores-body.utility-reel-page .stores-shell{padding-right:82px}
.stores-body .utility-rail{right:max(10px,calc((100vw - 860px)/2))}
.stores-body .stores-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
.stores-body .market-store-card{min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:26px;background:var(--card);box-shadow:0 10px 28px rgba(55,29,49,.06)}
.stores-body .market-store-visual{display:block;overflow:hidden;aspect-ratio:16/10;background:#e9e4e1}
.stores-body .market-store-visual img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .28s var(--ease)}
.stores-body .market-store-visual:hover img{transform:scale(1.025)}
.stores-body .market-store-visual:focus-visible{outline:3px solid var(--control-ink,var(--ink));outline-offset:-3px}
.stores-body .market-store-copy{min-height:92px;display:grid;align-content:center;padding:13px 14px}
.stores-body .market-store-copy h2{margin:0;font-size:.92rem}
.stores-body .market-store-copy p{margin:2px 0;color:var(--muted);font-size:.64rem}
.stores-body .market-store-copy span{margin-top:5px;color:var(--ink);font-size:.58rem;font-weight:700}
.stores-body .selected-store-profile{display:block;padding:14px}
.selected-store-overview{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center}
.selected-store-overview>img{width:96px;height:96px;border:1px solid var(--line);border-radius:22px;object-fit:cover}
.selected-store-overview>div{display:grid;min-width:0}
.selected-store-overview small{color:var(--muted);font-size:.58rem}
.selected-store-overview h2{margin:0;color:var(--ink);font-size:1.15rem;overflow-wrap:anywhere}
.selected-store-overview p{margin:2px 0;color:var(--muted);font-size:.68rem}
.selected-store-overview strong{width:fit-content;margin-top:7px;padding:5px 9px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);font-size:.64rem}
.selected-store-gallery{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(120px,34%);gap:9px;margin-top:14px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}
.selected-store-gallery::-webkit-scrollbar{display:none}
.selected-store-gallery img{width:100%;aspect-ratio:4/5;scroll-snap-align:start;border:1px solid var(--line);border-radius:18px;object-fit:cover;object-position:center top}

@media(max-width:560px){.merchant-register-grid{grid-template-columns:minmax(0,1fr)}
.utility-rail,.stores-body .utility-rail{right:max(7px,env(safe-area-inset-right));gap:8px}
.utility-rail a{width:48px;height:48px}
.utility-rail svg{width:22px;height:22px}
.stores-body.utility-reel-page .stores-shell{padding-right:66px!important;padding-left:10px!important}
.stores-body .stores-list{gap:12px 9px}
.stores-body .market-store-card{grid-template-columns:none!important;padding:0!important;border-radius:20px}
.stores-body .market-store-copy{min-height:82px;padding:11px}
.stores-body .market-store-copy h2{font-size:.78rem!important}
.stores-body .market-store-copy p{font-size:.56rem!important}
.stores-body .market-store-visual{aspect-ratio:4/3}
.selected-store-overview{grid-template-columns:78px minmax(0,1fr)}
.selected-store-overview>img{width:78px;height:78px}
.selected-store-gallery{grid-auto-columns:44%}
}


/* Hallmark · component: canonical phone utility rail and store summary · genre: atmospheric · theme: Maraya
 * states: default · hover · focus · active · disabled · loading · error · success
 * pre-emit critique: P5 H5 E5 S5 R5 V5 · contrast: pass (40–41)
 */
:root{--utility-rail-size:56px;--utility-rail-gap:10px}

.utility-rail,.stores-body .utility-rail{right:max(10px,env(safe-area-inset-right));gap:var(--utility-rail-gap)}

.utility-rail a{width:var(--utility-rail-size);height:var(--utility-rail-size);border-width:1px;box-shadow:0 8px 24px color-mix(in srgb,var(--control-ink) 9%,transparent)}

.utility-rail a.active{border-width:3px}

.utility-rail a[aria-disabled="true"]{opacity:.45;pointer-events:none}

.utility-rail a[aria-busy="true"]{cursor:progress;opacity:.68}

.utility-rail a[data-state="error"]{outline:2px solid var(--coral);outline-offset:2px}

.utility-rail a[data-state="success"]{outline:2px solid var(--control-ink);outline-offset:2px}

.account-body.utility-reel-page .account-shell{padding-right:calc(var(--utility-rail-size) + 26px);padding-left:18px}

.stores-body.utility-reel-page .stores-shell{padding-right:calc(var(--utility-rail-size) + 26px)}

.stores-body .market-store-copy span{display:none!important}

.selected-store-gallery{display:none!important}

@media(max-width:560px){:root{--utility-rail-size:52px;--utility-rail-gap:9px}
.utility-rail,.stores-body .utility-rail{right:max(8px,env(safe-area-inset-right))}
.utility-rail svg{width:23px;height:23px}
.account-body.utility-reel-page .account-shell,.stores-body.utility-reel-page .stores-shell{padding-right:calc(var(--utility-rail-size) + 22px)!important;padding-left:10px!important}
}

/* Hallmark · component: phone product-card typography · genre: atmospheric · theme: Maraya
 * states: default · hover · focus · active · disabled · loading · error · success
 * pre-emit critique: P5 H5 E5 S5 R5 V5 · contrast: pass (40–41)
 */
.stores-body.store-focus .market-product-copy{min-height:124px}
.stores-body.store-focus .market-store-name{display:inline-block!important;font-size:.8rem;line-height:1.5;text-decoration:none}
.stores-body.store-focus .market-product-copy h2{font-size:.94rem;line-height:1.5}
.stores-body.store-focus .market-product-copy strong{font-size:.86rem;font-variant-numeric:tabular-nums}
.stores-body.store-focus .market-compact-sizes span{font-size:.68rem}
.stores-body.store-focus .market-compact-sizes b{font-size:.66rem}
/* Buyer settings use the same quiet row language as the current merchant sheet. */
.account-body.account-settings-sheet-page>.account-shell>.account-menu{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.account-body .account-menu>a,.account-body .account-menu>button{min-height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 8px;border:0;border-bottom:1px solid var(--control-line);border-radius:0;background:transparent;color:var(--control-ink);font:700 16px/1.5 Cairo,sans-serif;text-decoration:none}
.account-body .account-menu>a>span,.account-body .account-menu>button>span{display:block;width:auto;color:inherit;font:inherit}
.account-body .account-menu>button>small{margin-inline-start:auto;color:var(--control-muted);font:500 14px/1.5 Cairo,sans-serif}
.account-body .account-menu>*:last-child{border-bottom:0}

/* Readable notification hierarchy with a compact event label. */
.customer-notification-row{position:relative;padding:16px 2px!important}
.customer-notification-row .notification-kind-badge,.maraya-server-notice .notification-kind-badge,#merchant-notification-list .notification-kind-badge{display:inline-flex;align-items:center;min-height:26px;margin-bottom:7px;padding:2px 10px;border:1px solid var(--control-line);border-radius:999px;background:var(--control-surface-soft,#f4eff2);color:var(--control-ink);font:700 12px/1.4 Cairo,sans-serif}
.customer-notification-row strong{display:block;font-size:18px!important;line-height:1.5}
.customer-notification-row p{font-size:15px!important;line-height:1.75!important}
.customer-notification-row small{font-size:12px!important;line-height:1.5}

@media(max-width:520px){
.stores-body.store-focus .market-product-copy{min-height:124px}
.stores-body.store-focus .market-store-name{font-size:.76rem}
.stores-body.store-focus .market-product-copy h2{font-size:.9rem}
.stores-body.store-focus .market-product-copy strong{font-size:.84rem}
.stores-body.store-focus .market-compact-sizes span{font-size:.68rem}
.stores-body.store-focus .market-compact-sizes b{font-size:.66rem}
}

/* Hallmark · component: compact marketplace names · genre: atmospheric · theme: Maraya
 * states: default · hover · focus · active · disabled · loading · error · success
 * pre-emit critique: P5 H5 E5 S5 R5 V5 · contrast: pass (40–41)
 */
.stores-body .market-product-copy>small{display:none!important}
.stores-body :is(.market-store-name,.market-product-copy h2,.market-store-copy h2){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stores-body .market-store-name{width:100%;display:block!important;text-align:right}

/* Hallmark · component: notification contrast · genre: atmospheric · theme: Maraya
 * states: default · hover · focus · active · disabled · loading · error · success
 * pre-emit critique: P5 H5 E5 S5 R5 V5 · contrast: pass (40–41)
 */
:root[data-theme="light"] .account-body .customer-notifications,
:root[data-theme="light"] .account-body .customer-notifications :is(h2,strong,p,small){color:var(--control-ink)!important}
:root[data-theme="light"] .account-body .customer-notification-row{border-color:var(--control-line)!important;color:var(--control-ink)!important}

:root[data-theme="dark"] .account-body .customer-notifications-dialog,
:root[data-theme="dark"] .account-body .customer-notifications{border-color:var(--night-line)!important;background:var(--night-panel)!important;color:var(--night-ink)!important}
:root[data-theme="dark"] .account-body .customer-notifications :is(h2,strong,p,small){color:var(--night-ink)!important}
:root[data-theme="dark"] .account-body .customer-notification-row{border-color:var(--night-line)!important;color:var(--night-ink)!important}
:root[data-theme="dark"] .account-body .customer-notifications header button{border:1px solid var(--control-line)!important;background:var(--control-surface)!important;color:var(--control-ink)!important}

.account-body.account-settings-sheet-page{min-height:100svh;display:grid!important;place-items:end center;padding:12px!important;box-sizing:border-box;overflow:hidden}
.account-body.account-settings-sheet-page>.app-header,.account-body.account-settings-sheet-page>.bottom-nav,.account-body.account-settings-sheet-page>.shopper-rail,.account-body.account-settings-sheet-page>.shopper-quick-actions{display:none!important}
.account-body>.utility-rail,.account-body>.shopper-rail,.account-body>.shopper-quick-actions{display:none!important}
.account-body.account-settings-sheet-page>.account-shell{position:relative;z-index:2;width:min(100%,440px);min-height:0!important;max-height:calc(100svh - 24px);margin:0;padding:20px;overflow:auto;border:1px solid var(--control-line);border-radius:28px;background:var(--control-surface);box-shadow:0 24px 70px rgba(45,32,40,.18);animation:account-settings-sheet-in .2s var(--ease-out,ease-out) both}
body.phone-shell-page.account-settings-sheet-page main#main.account-shell{width:min(100%,440px)!important;height:auto!important;min-height:0!important;margin:0 auto!important;padding:20px!important}
.account-body.account-settings-sheet-page>.account-shell>.account-menu{display:grid;width:100%}
.account-body.account-settings-sheet-page #demo-customer-switch{display:none!important}
@keyframes account-settings-sheet-in{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.account-body.account-settings-sheet-page>.account-shell{animation:none}}
