/* NEXUS v772 — phone selling / trade-in cards + product gallery rail */
.nx-phone-action-wrap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:26px 0}
.nx-phone-action{position:relative;display:block;min-height:190px;padding:24px;border-radius:24px;overflow:hidden;text-decoration:none;color:#0f172a;background:linear-gradient(145deg,#fff,#eef7ff);border:1px solid rgba(30,110,210,.13);box-shadow:0 18px 45px rgba(20,70,130,.10),inset 0 1px 0 rgba(255,255,255,.9);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.nx-phone-action:hover{transform:translateY(-5px);box-shadow:0 25px 55px rgba(20,70,130,.15);border-color:rgba(30,130,240,.28)}
.nx-phone-action:after{content:"";position:absolute;width:145px;height:145px;border-radius:50%;left:-55px;bottom:-70px;background:radial-gradient(circle,rgba(56,168,255,.28),rgba(56,168,255,0));pointer-events:none}
.nx-phone-action-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:linear-gradient(145deg,#087cff,#43b0ff);color:#fff;box-shadow:0 12px 28px rgba(22,119,245,.25);font-size:22px}
.nx-phone-action h3{margin:18px 0 7px;font-size:17px}.nx-phone-action p{margin:0;color:#64748b;font-size:12px;line-height:1.9;max-width:360px}.nx-phone-action b.cta{position:absolute;left:22px;bottom:20px;font-size:11px;color:#087cff}
html[data-theme="dark"] .nx-phone-action{background:linear-gradient(145deg,#102039,#0c172b);color:#eef6ff;border-color:rgba(90,170,255,.16);box-shadow:0 20px 48px rgba(0,0,0,.22)}
html[data-theme="dark"] .nx-phone-action p{color:#9db1ca}
.nx-sell-form-card{margin:26px 0;padding:26px;border-radius:24px;background:linear-gradient(145deg,#ffffff,#f5faff);border:1px solid rgba(30,110,210,.12);box-shadow:0 18px 45px rgba(20,70,130,.08)}
html[data-theme="dark"] .nx-sell-form-card{background:linear-gradient(145deg,#0f1d32,#0b1628);border-color:rgba(90,170,255,.15)}
.nx-sell-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.nx-sell-form-grid label{display:grid;gap:6px;font-size:12px;font-weight:800}.nx-sell-form-grid input,.nx-sell-form-grid select,.nx-sell-form-grid textarea{width:100%;box-sizing:border-box;border:1px solid rgba(100,130,170,.22);background:rgba(255,255,255,.78);color:inherit;border-radius:13px;padding:11px 12px;font:inherit;outline:none}.nx-sell-form-grid textarea{min-height:100px;resize:vertical;grid-column:1/-1}.nx-sell-form-grid input:focus,.nx-sell-form-grid select:focus,.nx-sell-form-grid textarea:focus{border-color:#2f9bff;box-shadow:0 0 0 3px rgba(47,155,255,.10)}
html[data-theme="dark"] .nx-sell-form-grid input,html[data-theme="dark"] .nx-sell-form-grid select,html[data-theme="dark"] .nx-sell-form-grid textarea{background:rgba(255,255,255,.05);border-color:rgba(160,190,230,.18)}
.nx-sell-form-submit{margin-top:14px;display:flex;align-items:center;justify-content:space-between;gap:15px}.nx-sell-form-submit button{border:0;border-radius:13px;min-height:45px;padding:0 22px;background:linear-gradient(135deg,#087cff,#38a8ff);color:#fff;font:inherit;font-weight:900;cursor:pointer;box-shadow:0 12px 28px rgba(22,119,245,.22)}.nx-sell-form-note{margin:0;color:#718096;font-size:11px;line-height:1.8}
.nx-request-ok,.nx-request-err{padding:12px 14px;border-radius:13px;margin:14px 0;font-size:12px}.nx-request-ok{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}.nx-request-err{background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}
/* Product gallery thumbnail rail: arrows on both sides, no dots. */
html body.nxd-page .nx-gallery-thumbs-wrap{position:relative;display:flex;align-items:center;gap:7px;margin-top:10px}
html body.nxd-page .nx-gallery-thumbs{display:flex!important;flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-behavior:smooth!important;scroll-snap-type:x proximity!important;scrollbar-width:none!important;justify-content:flex-start!important;direction:ltr!important}
html body.nxd-page .nx-gallery-thumbs::-webkit-scrollbar{display:none!important}
html body.nxd-page .nx-gallery-thumbs .nx-thumb{flex:0 0 72px!important;width:72px!important;height:72px!important;scroll-snap-align:center!important}
html body.nxd-page .nx-gallery-rail-btn{flex:0 0 34px;width:34px;height:34px;border-radius:50%;border:1px solid rgba(100,130,170,.18);background:var(--nxd-card,#fff);color:inherit;display:grid;place-items:center;cursor:pointer;box-shadow:0 5px 16px rgba(15,23,42,.08);font-size:20px;line-height:1;z-index:2}
html body.nxd-page .nx-gallery-rail-btn:hover{border-color:rgba(22,119,245,.4);color:#087cff}
@media(max-width:760px){.nx-phone-action-wrap{grid-template-columns:1fr}.nx-phone-action{min-height:160px}.nx-sell-form-grid{grid-template-columns:1fr}.nx-sell-form-grid textarea{grid-column:auto}.nx-sell-form-submit{align-items:stretch;flex-direction:column}.nx-sell-form-submit button{width:100%}html body.nxd-page .nx-gallery-thumbs .nx-thumb{flex-basis:64px!important;width:64px!important;height:64px!important}}
