/* SouqX v1.27.0 — Futuristic Tech. Non-destructive global visual layer. */
:root{--sx27-ink:#0a1022;--sx27-violet:#7543ff;--sx27-electric:#a354ff;--sx27-gold:#d9ac68;--sx27-focus:rgba(128,80,255,.24);--sx27-radius:22px}
html{scroll-behavior:smooth}body{font-family:Inter,"Noto Sans Arabic",Tahoma,Arial,sans-serif!important;-webkit-font-smoothing:antialiased}body:not(.dark){--sx27-surface:#fff;--sx27-surface2:#f5f3fc;--sx27-border:rgba(65,57,119,.12);--sx27-heading:#15162a}body.dark{--sx27-surface:#151528;--sx27-surface2:#1d1a34;--sx27-border:rgba(182,161,255,.16);--sx27-heading:#f6f2ff;background:radial-gradient(ellipse at 80% -10%,rgba(106,57,219,.14),transparent 42%),#0b0d19!important}
:where(.wrap,.market-shell,.sx-page-listing,.sx-seller-hub) :where(h1,h2,h3){letter-spacing:-.025em} :where(.wrap,.app-content,.market-shell) :where(.card,.panel,.stat,.form-section){transition:box-shadow .24s ease,border-color .24s ease,transform .24s ease}
body:not(.dark) :where(.wrap,.app-content) .card{border:1px solid var(--sx27-border);box-shadow:0 14px 42px rgba(30,22,77,.055)}body.dark :where(.wrap,.app-content) .card{border:1px solid var(--sx27-border);box-shadow:0 15px 42px rgba(0,0,0,.17)}
:where(.wrap,.app-content) :where(input:not([type=checkbox]):not([type=radio]),textarea,select){transition:border-color .18s ease,box-shadow .18s ease;min-height:42px}:where(input,textarea,select,button,a):focus-visible{outline:3px solid var(--sx27-focus)!important;outline-offset:2px}
:where(.wrap,.app-content) :where(input:not([type=checkbox]):not([type=radio]),textarea,select):focus{border-color:#8d60ff!important;box-shadow:0 0 0 4px rgba(126,78,245,.1)!important}
:where(.wrap,.app-content) :where(.btn,button[type=submit]){transition:transform .2s ease,filter .2s ease,box-shadow .2s ease}:where(.wrap,.app-content) :where(.btn,button[type=submit]):hover{filter:brightness(1.06);transform:translateY(-1px)}
:where(.wrap,.app-content) :where(table){border-collapse:separate;border-spacing:0;overflow:hidden;border-radius:14px}:where(.wrap,.app-content) :where(th){font-weight:800;background:var(--sx27-surface2)}:where(.wrap,.app-content) :where(td,th){padding-block:12px;border-bottom:1px solid var(--sx27-border)}
/* Global headers, panels, admin and account screens */
body.dark .appbar{background:rgba(12,12,28,.91)!important;backdrop-filter:blur(20px);border-bottom:1px solid rgba(173,140,255,.16)!important}body:not(.dark) .appbar{backdrop-filter:blur(18px);background:rgba(255,255,255,.91)!important}
body.dark .sidebar{background:linear-gradient(175deg,#121426,#17122b)!important;border-inline-end:1px solid rgba(179,145,255,.13)!important}body.dark .sidebar a:hover{background:rgba(131,81,245,.17)!important}
:where(.wrap,.app-content) .pagehead{padding-block:14px;margin-bottom:18px}:where(.wrap,.app-content) .pagehead h1{font-weight:900;font-size:clamp(22px,2.5vw,34px)}
/* Listing visual hierarchy */
.sx-luxe-detail .sx-detail-intro{background:radial-gradient(ellipse at 90% 10%,rgba(207,155,255,.3),transparent 40%),linear-gradient(120deg,#100d25,#282054 55%,#5732b1)!important;box-shadow:0 22px 65px rgba(39,20,100,.22)!important}
.sx-seller-hub .sx-hub-head{background:radial-gradient(circle at 88% 15%,rgba(201,159,255,.24),transparent 32%),linear-gradient(112deg,#0c1025,#211a4b 57%,#512b9b)!important;color:#fff!important;border:1px solid rgba(192,165,255,.26)!important;box-shadow:0 24px 65px rgba(38,23,101,.18)!important}.sx-seller-hub .sx-hub-head :is(h1,p){color:#fff!important}
.sx-seller-hub .sx-listing-card{border-radius:20px!important;overflow:hidden}.sx-seller-hub .sx-listing-card:hover{transform:translateY(-3px);box-shadow:0 20px 46px rgba(64,42,128,.14)!important}
.sx-future-seller-note{display:flex;align-items:center;gap:13px;padding:16px 19px;margin:16px 0 20px;border:1px solid rgba(142,94,255,.26);border-radius:18px;background:linear-gradient(100deg,rgba(132,85,245,.10),rgba(190,149,255,.035))}.sx-future-seller-note div{flex:1;display:flex;flex-direction:column;gap:4px}.sx-future-seller-note strong{font-size:14px}.sx-future-seller-note small{color:var(--muted);font-size:12px}.sx-future-seller-note a{padding:9px 13px;border-radius:12px;background:#753eff;color:#fff!important;font-weight:800;font-size:12px}
/* Buyer compare and saved-search tools */
.sx-future-discovery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 15px;margin:8px 0 16px;border:1px solid var(--sx27-border);border-radius:18px;background:var(--sx27-surface);box-shadow:0 10px 30px rgba(40,20,95,.05)}.sx-future-discovery-label{font-size:13px;font-weight:850;display:flex;gap:9px;align-items:center}.sx-future-pulse{display:inline-block;width:9px;height:9px;flex-shrink:0;border-radius:50%;background:#9c59ff;box-shadow:0 0 0 5px rgba(145,82,255,.12),0 0 15px #9b5bff}.sx-future-tools{display:flex;gap:7px;flex-wrap:wrap}.sx-future-tool{cursor:pointer;border:1px solid var(--sx27-border);border-radius:12px;padding:9px 13px;background:var(--sx27-surface2);color:var(--text);font-size:12px;font-weight:800}.sx-future-tool:hover{border-color:#915aff;background:rgba(133,81,255,.1)}.sx-future-compare-open{background:linear-gradient(115deg,#6535dc,#9855ff);color:#fff!important}.sx-future-compare-open span{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:20px;height:20px;background:rgba(255,255,255,.2);margin-inline-start:4px}
.souqx-market-v180 #latest .market-products>.sx-future-card-wrap{min-width:0;position:relative;display:flex;flex-direction:column}.souqx-market-v180 #latest .sx-future-card-wrap>a.market-product{flex:1;min-width:0;width:100%;height:100%!important;box-shadow:0 14px 32px rgba(24,15,68,.09)!important;border:1px solid rgba(115,87,182,.13)!important;border-radius:19px!important;overflow:hidden}.souqx-market-v180 #latest .sx-future-card-wrap:hover>a.market-product{transform:translateY(-3px);box-shadow:0 22px 45px rgba(50,24,120,.16)!important}.sx-future-compare-btn{position:absolute;z-index:3;inset-inline-start:10px;top:10px;border-radius:10px;padding:7px 10px;background:rgba(12,12,27,.82);color:#fff;border:1px solid rgba(255,255,255,.23);font-weight:800;cursor:pointer;font-size:11px;backdrop-filter:blur(9px)}.sx-future-compare-btn[aria-pressed=true]{background:#7e42ff;border-color:#b99aff}
.sx-future-overlay{position:fixed;inset:0;z-index:99999;background:rgba(7,6,21,.72);backdrop-filter:blur(8px);display:grid;place-items:center;padding:16px}.sx-future-dialog{width:min(900px,100%);max-height:min(82vh,780px);overflow:auto;border-radius:24px;border:1px solid rgba(195,161,255,.32);background:var(--sx27-surface);color:var(--text);padding:22px;box-shadow:0 35px 100px rgba(0,0,0,.4)}.sx-future-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.sx-future-dialog h2{margin:0;font-size:21px}.sx-future-close{border:1px solid var(--sx27-border);border-radius:11px;background:var(--sx27-surface2);color:var(--text);font-size:21px;width:39px;height:39px;cursor:pointer}.sx-future-compare-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:13px}.sx-future-compare-item{padding:12px;border:1px solid var(--sx27-border);border-radius:17px;background:var(--sx27-surface2);min-width:0}.sx-future-compare-item img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;margin-bottom:10px}.sx-future-compare-item h3{font-size:13px;margin:7px 0;line-height:1.6}.sx-future-compare-item strong{color:#a16aff;display:block;margin:5px 0}.sx-future-compare-item p{color:var(--muted);font-size:12px}.sx-future-compare-item a{display:inline-block;background:#7942f0;color:white!important;border-radius:9px;padding:8px 12px;font-size:12px;font-weight:800}.sx-future-compare-item button,.sx-future-saved-row button{border:0;background:transparent;color:var(--text);cursor:pointer}.sx-future-saved-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--sx27-border);padding:13px 0}.sx-future-saved-row a{flex:1;overflow-wrap:anywhere;font-size:13px;color:var(--text)}.sx-future-note{font-size:12px;color:var(--muted);line-height:1.8}
/* Modern auth, chat, payments and forms */
:where(.sx-listing-studio,.sx-page-new_listing) .form-section{border-radius:20px!important}.sx-chat-intro{border-radius:19px!important}.sx-chat-quick button{border-radius:12px!important;transition:transform .2s}.sx-chat-quick button:hover{transform:translateY(-2px)}
body.dark :where(.wrap,.app-content) :where(.card,.form-section){background-color:var(--sx27-surface)!important;color:var(--text)}
@media(max-width:760px){.sx-future-discovery-toolbar{align-items:stretch}.sx-future-tools{width:100%}.sx-future-tool{flex:1 1 auto}.sx-future-seller-note{flex-wrap:wrap}.sx-future-seller-note a{width:100%;text-align:center}.sx-future-dialog{padding:15px;border-radius:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
