/* SouqX 2.3.0 — real listing details experience; scoped to avoid affecting admin/home */
.sx23-listing{--sx23-ink:#111a3c;--sx23-violet:#713df0;--sx23-cyan:#1fcbe3;--sx23-stroke:#e0e6f2;max-width:1450px!important;margin-inline:auto!important;padding-inline:clamp(12px,2.2vw,30px)!important;min-width:0!important;overflow:visible!important}
.sx23-listing *{box-sizing:border-box}
.sx23-listing .sx23-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,42%);position:relative;isolation:isolate;min-height:215px;overflow:hidden;border-radius:27px;background:linear-gradient(118deg,#101b3a 0%,#242359 54%,#6f3ee8 100%);color:#fff;box-shadow:0 18px 48px rgba(26,22,91,.19);margin:15px 0 20px}
.sx23-listing .sx23-hero-content{z-index:2;padding:clamp(22px,3vw,42px);display:flex;flex-direction:column;justify-content:center;min-width:0}
.sx23-listing .sx23-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:9px;color:#d3d9ff;font-size:12px;margin-bottom:20px}.sx23-breadcrumb a{color:#e1e6ff!important;text-decoration:none}.sx23-breadcrumb span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:230px}
.sx23-eyebrow{font-size:10px;font-weight:900;letter-spacing:1.4px;color:#81eafa}.sx23-listing .sx23-hero h1{font-size:clamp(26px,3.4vw,45px)!important;line-height:1.3!important;margin:10px 0 8px!important;color:#fff!important;font-weight:900!important;overflow-wrap:anywhere}.sx23-hero p{font-size:13px;color:#e0e4ff;margin:0 0 18px}
.sx23-hero-meta{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.sx23-hero-meta span{font-size:12px;color:#f2f3ff;border:1px solid #ffffff30;background:#ffffff13;padding:7px 12px;border-radius:99px}.sx23-hero-meta .sx23-live{background:#0b9e8170;border-color:#43d9bd88}
.sx23-hero-art{position:relative;min-width:0;overflow:hidden;background:linear-gradient(145deg,#44337a,#14233e)}.sx23-hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#20234e 0%,transparent 65%);pointer-events:none}.sx23-hero-art img{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0}.sx23-hero-art>span{display:grid;place-items:center;height:100%;font-size:95px}
.sx23-listing .listing-shell{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,345px)!important;gap:18px!important;align-items:start!important;min-width:0!important;direction:ltr!important}.sx23-listing .listing-shell>*{min-width:0!important;direction:rtl}.sx23-listing .sx23-gallery{grid-column:1!important;grid-row:1!important}.sx23-listing .sx23-summary{grid-column:2!important;grid-row:1!important}
html[dir=ltr] .sx23-listing .listing-shell>*{direction:ltr}
.sx23-listing .sx23-gallery,.sx23-listing .sx23-summary,.sx23-listing .sx-luxe-section,.sx23-listing .sx-luxe-report{border:1px solid var(--sx23-stroke)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 9px 30px #101b3a0c!important}
.sx23-listing .sx23-gallery{padding:9px!important;overflow:hidden}.sx23-listing .main-photo-wrap{border-radius:15px!important;background:#e9eef8!important;overflow:hidden!important;aspect-ratio:16/10;max-height:580px}.sx23-listing .main-photo{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;cursor:zoom-in}.sx23-listing .thumbs{display:flex!important;gap:8px!important;overflow-x:auto!important;scrollbar-width:thin;padding:8px 2px 3px!important}.sx23-listing .thumb{flex:0 0 94px!important;width:94px!important;height:72px!important;border-radius:11px!important;overflow:hidden!important;border:2px solid transparent!important}.sx23-listing .thumb.active{border-color:#7848f6!important}.sx23-listing .thumb img{width:100%;height:100%;object-fit:cover}
.sx23-listing .sx23-summary{position:sticky!important;top:82px!important;padding:22px!important;min-width:0}.sx23-panel-kicker{color:#6655d7;font-weight:900;letter-spacing:1px;font-size:11px;margin-bottom:13px}.sx23-listing .sx23-summary h1{font-size:clamp(19px,2vw,25px)!important;line-height:1.45!important;overflow-wrap:anywhere;margin:15px 0!important}.sx23-price-label{font-size:12px;color:#64708e;margin:12px 0 0}.sx23-listing .detail-price{font-size:clamp(29px,3vw,39px)!important;color:#151d43!important;font-weight:950!important;line-height:1.35!important;margin:0!important}.sx23-listing .detail-price small{font-size:14px!important;color:#47577b}.sx23-listing .sx-price-note{font-size:11px;color:#7b849b;margin:4px 0 16px}.sx23-listing .detail-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.sx23-listing .detail-meta span{background:#f2f5fc!important;border-radius:9px;padding:8px 11px;font-size:12px}.sx23-listing .seller-card{border:1px solid #e6eaf4!important;border-radius:14px!important;padding:12px!important;margin:12px 0!important}.sx23-listing .sx-contact-label{font-weight:850;margin:16px 0 10px}.sx23-listing .sx23-actions{display:grid;gap:9px}.sx23-listing .sx23-actions form{margin:0}.sx23-listing .sx23-actions .btn{min-height:44px!important;border-radius:12px!important;width:100%;font-weight:800}.sx23-listing .sx23-actions .contact-btn{background:linear-gradient(105deg,#543af4,#a328ee)!important;color:white!important;border:0!important;box-shadow:0 9px 20px #673af22a}.sx23-listing .sx23-actions .sx23-share{background:#f5f7fc!important;color:#29335c!important}
.sx23-listing .sx23-tabs{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:17px 0 8px;padding:9px;border-radius:15px;background:#e9effb}.sx23-tabs a{padding:10px 17px;border-radius:10px;color:#24325c!important;text-decoration:none!important;font-weight:800;font-size:12px}.sx23-tabs a:hover,.sx23-tabs a:focus-visible{background:linear-gradient(110deg,#6046f2,#9543ed);color:#fff!important}
.sx23-listing .sx-luxe-section,.sx23-listing .sx-luxe-report{padding:22px!important;margin-top:14px!important;scroll-margin-top:90px}.sx23-listing .sx-luxe-section h2,.sx23-listing .sx-luxe-report h2{font-size:20px!important;font-weight:900!important;margin:0 0 16px!important}.sx23-listing .specs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important}.sx23-listing .specs>div{background:#f4f7fd!important;border:1px solid #e5eaf5!important;border-radius:12px!important;padding:13px!important;min-width:0;overflow-wrap:anywhere}.sx23-listing .description{white-space:pre-wrap;line-height:1.95;overflow-wrap:anywhere}
.sx23-listing .detail-ad,.sx23-listing .detail-ad-empty{max-width:100%;overflow:hidden;border-radius:16px}
html[dir=rtl] .sx23-listing .sx23-hero{direction:rtl}html[dir=ltr] .sx23-listing .sx23-hero{direction:ltr}html[dir=rtl] .sx23-hero-art:after{background:linear-gradient(270deg,#20234e 0%,transparent 65%)}
/* Both themes retain legibility; dark surfaces are deliberate, never transparent text. */
html[data-theme=dark] .sx23-listing .sx23-gallery,html[data-theme=dark] .sx23-listing .sx23-summary,html[data-theme=dark] .sx23-listing .sx-luxe-section,html[data-theme=dark] .sx23-listing .sx-luxe-report,body.dark .sx23-listing .sx23-gallery,body.dark .sx23-listing .sx23-summary,body.dark .sx23-listing .sx-luxe-section,body.dark .sx23-listing .sx-luxe-report{background:#161c35!important;border-color:#323c5c!important;color:#f1f3ff!important}
html[data-theme=dark] .sx23-listing .detail-price,body.dark .sx23-listing .detail-price{color:#f6f4ff!important}html[data-theme=dark] .sx23-listing .detail-meta span,html[data-theme=dark] .sx23-listing .specs>div,body.dark .sx23-listing .detail-meta span,body.dark .sx23-listing .specs>div{background:#242c48!important;border-color:#3a4564!important;color:#f3f4ff!important}
html[data-theme=dark] .sx23-listing .sx23-actions .sx23-share,body.dark .sx23-listing .sx23-actions .sx23-share{background:#252e4b!important;color:#eaf0ff!important}
@media(max-width:950px){.sx23-listing .listing-shell{grid-template-columns:minmax(0,1fr) minmax(270px,310px)!important}.sx23-listing .sx23-summary{padding:15px!important}}
@media(max-width:740px){.sx23-listing .sx23-hero{grid-template-columns:1fr;min-height:0}.sx23-listing .sx23-hero-art{display:none}.sx23-listing .sx23-hero-content{padding:24px}.sx23-listing .listing-shell{grid-template-columns:minmax(0,1fr)!important}.sx23-listing .sx23-gallery{grid-column:1!important;grid-row:1!important}.sx23-listing .sx23-summary{grid-column:1!important;grid-row:2!important;position:static!important}.sx23-listing .main-photo-wrap{aspect-ratio:4/3}.sx23-listing .specs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.sx23-listing .specs{grid-template-columns:1fr}.sx23-listing .sx23-tabs a{padding:8px 10px}.sx23-listing .thumb{flex-basis:74px!important;width:74px!important;height:58px!important}}
@media(prefers-reduced-motion:reduce){.sx23-listing *{animation:none!important;transition:none!important}}
