/* Favorites, live site preview and seller management */
article.card{position:relative}
.marketFavoriteButton{display:grid;width:38px;height:38px;place-items:center;border:1px solid #dce4f4;border-radius:50%;background:#fff;color:#687592;box-shadow:0 5px 18px #0c183326;cursor:pointer;transition:transform .16s ease,color .16s ease,background .16s ease,border-color .16s ease}
.marketFavoriteButton:hover{transform:translateY(-1px);color:#ef3f87;border-color:#f4a4c5}
.marketFavoriteButton svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.marketFavoriteButton.isFavorite{color:#ed3682;background:#fff1f7;border-color:#f4a4c5}
.marketFavoriteButton.isFavorite svg{fill:#ed3682}
.priceLine .marketCardActions{display:flex;align-items:center;gap:5px;margin-left:auto}.priceLine .marketCardActions .marketFavoriteButton{position:static;width:34px;height:32px;flex:0 0 34px;border-radius:9px;box-shadow:none}.priceLine .marketCardActions .add,.priceLine .marketCardActions .marketCardDetails{flex:0 0 auto}
.modalShade .summary{position:relative;padding-right:48px}
.marketModalFavorite{position:absolute;top:10px;right:54px;z-index:5}
.modalShade .summary{position:relative}
.marketSalesLayer{position:fixed;inset:0;z-index:1420;display:grid;place-items:center;padding:16px;background:#06102abf;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.marketSalesLayer[hidden]{display:none!important}
.marketSalesDialog{display:flex;width:min(980px,100%);max-height:min(850px,calc(100dvh - 32px));flex-direction:column;overflow:hidden;border:1px solid #e4e9f4;border-radius:18px;background:#fff;color:#142044;box-shadow:0 28px 90px #06102a55;outline:none}
.marketSalesHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px 16px;border-bottom:1px solid #e9edf5}
.marketSalesEyebrow{margin:0 0 5px;color:#623cff;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.marketSalesHeader h2{margin:0;color:#101b3e;font-size:24px}
.marketSalesHeader p:last-child{margin:6px 0 0;color:#74819d;font-size:13px}
.marketSalesClose{display:grid;width:38px;height:38px;place-items:center;border:0;border-radius:10px;background:#eef2fa;color:#213252;font-size:24px;cursor:pointer}
.marketSalesContent{min-height:0;overflow:auto;padding:16px 24px}
.marketSalesRow{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid #edf0f6}
.marketSalesThumb{display:grid;width:92px;height:68px;place-items:center;overflow:hidden;border:1px solid #e3e9f4;border-radius:10px;background:linear-gradient(145deg,#08133c,#5234e9);color:#fff}
.marketSalesThumb img{width:100%;height:100%;object-fit:cover}
.marketSalesInfo{min-width:0}
.marketSalesInfo h3{margin:0 0 5px;overflow:hidden;color:#162448;font-size:15px;text-overflow:ellipsis;white-space:nowrap}
.marketSalesInfo p{margin:0 0 6px;color:#7885a0;font-size:12px}
.marketSalesInfo strong{color:#5333e9;font-size:13px}
.marketSalesActions{display:flex;align-items:center;gap:8px}
.marketSalesActions button,.marketSalesBack,.marketSalesNew,.marketSalesFooterClose{min-height:38px;padding:8px 12px;border:1px solid #d6def0;border-radius:9px;background:#fff;color:#283858;font-size:12px;font-weight:750;cursor:pointer}
.marketSalesActions .marketSalesEdit,.marketSalesNew{border-color:#5f3bfa;background:#5f3bfa;color:#fff}
.marketSalesFooter{display:flex;justify-content:flex-end;gap:10px;padding:14px 24px;border-top:1px solid #e9edf5}
.marketSalesEmpty{display:grid;min-height:280px;place-content:center;justify-items:center;padding:26px;text-align:center}
.marketSalesEmpty>span{display:grid;width:52px;height:52px;place-items:center;border-radius:15px;background:#f0edff;color:#6339fa;font-size:28px}
.marketSalesEmpty h3{margin:14px 0 4px;color:#172448}
.marketSalesEmpty p{max-width:430px;margin:0;color:#7885a0;font-size:13px;line-height:1.55}
.marketSalesDetail{padding:2px 0 12px}
.marketSalesBack{margin-bottom:14px}
.marketSalesDetailIntro{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.marketSalesDetailIntro .marketSalesThumb{width:120px;height:82px}
.marketSalesDetailIntro h3{margin:0 0 6px;color:#142044;font-size:18px}
.marketSalesDetailIntro p{margin:0;color:#7a86a0;font-size:12px}
.marketSalesMetrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.marketSalesMetrics article{display:flex;min-height:135px;flex-direction:column;gap:8px;padding:16px;border:1px solid #e2e8f4;border-radius:13px;background:#f9faff}
.marketSalesMetrics span{color:#667492;font-size:12px;font-weight:700}
.marketSalesMetrics strong{color:#5635f2;font-size:30px;line-height:1}
.marketSalesMetrics small{color:#8994ab;font-size:11px;line-height:1.4}
.marketSalesDetail>.marketSalesFooterClose{margin-top:16px}
.marketSalesRemoveFavorite{color:#d84075!important}
.marketSalesToast{position:fixed;z-index:1500;left:50%;bottom:22px;max-width:calc(100vw - 32px);padding:12px 18px;border:1px solid #d8cef9;border-radius:12px;background:#17133a;color:#fff;font-size:13px;box-shadow:0 12px 36px #10183b40;opacity:0;pointer-events:none;transform:translate(-50%,10px);transition:opacity .2s,transform .2s}
.marketSalesToast.isVisible{opacity:1;transform:translate(-50%,0)}
@media(max-width:700px){
 .marketSalesLayer{padding:8px}
 .marketSalesDialog{max-height:calc(100dvh - 16px);border-radius:13px}
 .marketSalesHeader{padding:16px 16px 12px}
 .marketSalesHeader h2{font-size:20px}
 .marketSalesContent{padding:10px 15px}
 .marketSalesRow{grid-template-columns:64px minmax(0,1fr);gap:10px}
 .marketSalesThumb{width:64px;height:58px}
 .marketSalesActions{grid-column:2;justify-content:flex-start;flex-wrap:wrap}
 .marketSalesActions button{min-height:34px;padding:6px 9px;font-size:11px}
 .marketSalesFooter{padding:11px 15px}
 .marketSalesMetrics{grid-template-columns:minmax(0,1fr)}
 .marketSalesMetrics article{min-height:100px}
}



@media(max-width:760px){.priceLine .marketCardActions .marketFavoriteButton{width:28px;height:27px;flex-basis:28px}.priceLine .marketCardActions{gap:4px}.marketModalFavorite{right:52px}}

/* Share controls on cards and the copy-link dialog. */
.priceLine .marketCardActions .marketFavoriteButton{order:0}
.priceLine .marketCardActions .marketShareButton,.priceLine .marketCardActions .add{order:1}
.marketShareButton{display:grid;width:34px;height:32px;flex:0 0 34px;place-items:center;border:1px solid #88a7ff;border-radius:9px;background:#fff;color:#1768ff;cursor:pointer}
.marketShareButton:hover{background:#1768ff;color:#fff}
.marketShareButton svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.marketShareShade[hidden]{display:none!important}
.marketShareShade{position:fixed;inset:0;z-index:1600;display:grid;place-items:center;padding:16px;background:#07112bbf;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.marketShareDialog{position:relative;width:min(460px,100%);padding:27px;border:1px solid #e2e8f4;border-radius:18px;background:#fff;color:#142044;box-shadow:0 26px 85px #06102a55}
.marketShareClose{position:absolute;top:12px;right:12px;display:grid;width:36px;height:36px;place-items:center;border:0;border-radius:10px;background:#eef2fa;color:#213252;font-size:24px;cursor:pointer}
.marketShareIcon{display:grid;width:46px;height:46px;place-items:center;margin-bottom:13px;border-radius:13px;background:#f1edff;color:#6240f4}
.marketShareIcon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.marketShareDialog h2{margin:0 42px 5px 0;color:#111c3e;font-size:21px}
.marketShareProductTitle{margin:0 0 18px;color:#6c7a98;font-size:13px}
.marketShareLabel{display:grid;gap:7px;color:#354563;font-size:12px;font-weight:750}
.marketShareLabel input{width:100%;height:42px;padding:0 11px;border:1px solid #d5deef;border-radius:9px;background:#f9fbff;color:#52617f;font-size:12px}
.marketShareCopy{display:flex;width:100%;height:44px;align-items:center;justify-content:center;gap:9px;margin-top:12px;border:0;border-radius:10px;background:linear-gradient(100deg,#563bff,#792cf3);color:#fff;font-size:13px;font-weight:850;cursor:pointer}
.marketShareCopy svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.marketShareStatus{min-height:18px;margin:9px 0 0;color:#137b5c;font-size:12px;text-align:center}
@media(max-width:760px){.priceLine .marketCardActions .marketFavoriteButton{width:28px;height:27px;flex-basis:28px}.marketShareButton{width:28px;height:27px;flex-basis:28px}.marketShareDialog{padding:22px 17px;border-radius:15px}.marketShareDialog h2{font-size:18px}}

.marketSalesNew[hidden]{display:none!important}

.marketMembershipGate[hidden]{display:none!important}
.marketMembershipGate{position:fixed;inset:0;z-index:1750;display:grid;place-items:center;padding:18px;background:#06102ac9;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.marketMembershipDialog{position:relative;width:min(480px,100%);padding:34px 30px 28px;border:1px solid #a6bbff;border-radius:21px;background:linear-gradient(145deg,#fff,#f4f7ff);color:#13244b;text-align:center;box-shadow:0 28px 90px #06102a66}
.marketMembershipClose{position:absolute;top:12px;right:12px;width:36px;height:36px;border:0;border-radius:10px;background:#eaf0fb;color:#283958;font-size:24px;cursor:pointer}
.marketMembershipIcon{display:grid;width:50px;height:50px;place-items:center;margin:0 auto 14px;border-radius:15px;background:#e5f7ff;color:#087bd3;font-size:25px}
.marketMembershipEyebrow{margin:0 0 7px;color:#1675d1;font-size:10px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}
.marketMembershipDialog h2{margin:0;color:#101c3b;font-size:24px;line-height:1.18}
.marketMembershipDialog>p:not(.marketMembershipEyebrow){margin:11px 0 21px;color:#687695;font-size:13px;line-height:1.55}
.marketMembershipJoin,.marketMembershipBack{width:100%;min-height:45px;border-radius:10px;font-size:13px;font-weight:800;cursor:pointer}
.marketMembershipJoin{border:0;background:linear-gradient(100deg,#176bfa,#8b31ec);color:#fff;box-shadow:0 10px 24px #5634ed35}
.marketMembershipBack{margin-top:9px;border:1px solid #d8e0ef;background:#fff;color:#354462}
@media(max-width:520px){.marketMembershipDialog{padding:30px 19px 22px;border-radius:17px}.marketMembershipDialog h2{font-size:21px}}
