
:root{--ns-bg:#070d1a;--ns-panel:#111827;--ns-panel2:#171c2a;--ns-text:#f7f8ff;--ns-muted:#9ba6bd;--ns-purple:#8b3dff;--ns-purple2:#b04bff;--ns-cyan:#31d4d8;--ns-line:rgba(255,255,255,.1)}
*{box-sizing:border-box}.nexsell-theme{margin:0;background:var(--ns-bg);color:var(--ns-text);font-family:Inter,Segoe UI,Arial,sans-serif}.nexsell-theme a{text-decoration:none}.ns-wrap{width:min(1180px,calc(100% - 40px));margin:auto}.ns-header{position:sticky;top:0;z-index:1000;background:rgba(8,13,25,.92);backdrop-filter:blur(18px);border-bottom:1px solid var(--ns-line)}.ns-nav{height:78px;display:flex;align-items:center;gap:38px}.ns-brand{display:flex;align-items:center;gap:10px;color:white;min-width:160px}.ns-logo{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#6e31f2,#b338ff);font-weight:900;color:#fff;box-shadow:0 10px 30px #7d34ff44}.ns-brand b{display:block;font-size:18px}.ns-brand small{display:block;color:#8d96aa;font-size:10px}.ns-links{display:flex;gap:28px;flex:1}.ns-links a,.ns-login{color:#b8c0d2;font-weight:700;font-size:13px}.ns-links a:hover,.ns-login:hover{color:white}.ns-actions{display:flex;align-items:center;gap:16px}.ns-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 22px;border-radius:12px;background:linear-gradient(135deg,#7432f4,#a834ff);color:#fff!important;font-weight:800;border:1px solid #a760ff;box-shadow:0 14px 40px #7d34ff33}.ns-btn-small{padding:11px 16px;font-size:12px}.ns-btn-ghost{background:#141b2b;border-color:#2b354c;box-shadow:none}.ns-mobile-toggle,.ns-mobile-menu{display:none}.ns-hero{position:relative;overflow:hidden;padding:92px 0 82px;background:radial-gradient(circle at 75% 30%,#2b1b5c55,transparent 34%),linear-gradient(180deg,#080e1c,#0b1222)}.ns-glow{position:absolute;border-radius:50%;filter:blur(80px);opacity:.25}.ns-g1{width:400px;height:400px;background:#7c32ff;right:-150px;top:0}.ns-g2{width:280px;height:280px;background:#12cbd2;left:-120px;bottom:-100px}.ns-hero-grid{position:relative;display:grid;grid-template-columns:1fr 1.08fr;align-items:center;gap:55px}.ns-kicker{font-size:12px;font-weight:900;letter-spacing:1.5px;color:#bd8aff;margin-bottom:20px}.ns-kicker span{display:inline-block;width:8px;height:8px;border-radius:50%;background:#a23cff;box-shadow:0 0 16px #a23cff;margin-right:8px}.ns-hero h1{font-size:54px;line-height:1.04;letter-spacing:-2px;margin:0 0 24px;font-weight:900}.ns-hero h1 em{font-style:normal;background:linear-gradient(90deg,#a24cff,#4ce0dc);-webkit-background-clip:text;color:transparent}.ns-hero p{font-size:18px;line-height:1.7;color:var(--ns-muted);max-width:600px}.ns-hero-actions{display:flex;gap:12px;margin:32px 0 24px}.ns-trust{display:flex;gap:18px;flex-wrap:wrap;color:#8591a8;font-size:12px}.ns-dashboard{perspective:1200px}.ns-window{background:#0d1423;border:1px solid #35405a;border-radius:18px;overflow:hidden;box-shadow:0 40px 90px #0008;transform:rotateY(-2deg) rotateX(1deg)}.ns-windowbar{height:44px;background:#161d2b;border-bottom:1px solid #30384a;display:flex;align-items:center;gap:7px;padding:0 14px}.ns-windowbar i{width:8px;height:8px;border-radius:50%;background:#596174}.ns-windowbar i:first-child{background:#ff5b6b}.ns-windowbar i:nth-child(2){background:#f5c451}.ns-windowbar i:nth-child(3){background:#3dd58a}.ns-windowbar b{margin-left:auto;font-size:9px;letter-spacing:1px;color:#7d87a0}.ns-dashbody{display:grid;grid-template-columns:135px 1fr;min-height:355px}.ns-dashbody aside{padding:18px 10px;background:#101724;border-right:1px solid #2a3244;display:flex;flex-direction:column;gap:9px}.ns-dashbody aside strong{width:30px;height:30px;background:#8a3cff;border-radius:8px;display:grid;place-items:center;margin-bottom:10px}.ns-dashbody aside span{font-size:9px;padding:9px;border-radius:7px;color:#aab3c8}.ns-dashbody aside .active{background:#20304a;color:#fff}.ns-dashbody article{padding:24px}.ns-dashbody article small{color:#a84cff;font-weight:900}.ns-dashbody h3{font-size:22px;margin:7px 0 18px}.ns-statrow{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.ns-statrow div{background:#171f30;border:1px solid #30394d;padding:13px;border-radius:10px}.ns-statrow b{display:block;font-size:20px}.ns-statrow span{font-size:8px;color:#8791a7}.ns-chart{height:100px;margin:15px 0;background:#111827;border:1px solid #2c3548;border-radius:10px;display:flex;align-items:end;gap:10px;padding:15px}.ns-chart i{flex:1;background:linear-gradient(#9943ff,#4030a8);border-radius:4px 4px 0 0}.ns-chart i:nth-child(1){height:35%}.ns-chart i:nth-child(2){height:58%}.ns-chart i:nth-child(3){height:44%}.ns-chart i:nth-child(4){height:78%}.ns-chart i:nth-child(5){height:66%}.ns-chart i:nth-child(6){height:92%}.ns-chart i:nth-child(7){height:80%}.ns-table{display:grid;gap:7px}.ns-table span{height:12px;border-radius:4px;background:linear-gradient(90deg,#242e42 55%,#17202f 55%)}.ns-section{padding:95px 0;background:#0a101d}.ns-section-head{text-align:center;max-width:760px;margin:0 auto 48px}.ns-section-head>span{color:#a14aff;font-weight:900;font-size:11px;letter-spacing:1.5px}.ns-section h2,.ns-cta h2{font-size:38px;line-height:1.15;margin:10px 0 16px;font-weight:900}.ns-section-head p,.ns-split p,.ns-cta p{color:var(--ns-muted);font-size:16px;line-height:1.7}.ns-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.ns-card{background:linear-gradient(145deg,#121a2a,#0e1522);border:1px solid #263148;border-radius:16px;padding:28px;min-height:210px;transition:.25s}.ns-card:hover{transform:translateY(-4px);border-color:#7040b9}.ns-card i{font-size:24px;color:#a348ff;width:48px;height:48px;border-radius:12px;background:#8b3dff18;display:grid;place-items:center}.ns-card h3{font-size:18px;margin:20px 0 10px}.ns-card p{color:#8e99af;line-height:1.65;font-size:14px}.ns-dark{background:#070c17}.ns-split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.ns-checks{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:25px;color:#c6cede}.ns-checks div{background:#111827;border:1px solid #293247;border-radius:10px;padding:12px}.ns-api-card{background:#101725;border:1px solid #303a51;border-radius:18px;padding:18px;box-shadow:0 30px 70px #0007}.ns-api-head{display:flex;justify-content:space-between;padding:8px 5px 17px;font-size:10px;color:#8893a9}.ns-api-head b{color:#3fe0a0}.ns-shop{display:grid;grid-template-columns:1.2fr 1fr auto;gap:12px;align-items:center;background:#171f2e;border:1px solid #303a4d;border-radius:11px;padding:16px;margin:10px 0}.ns-shop span{color:#8e98ad;font-size:12px}.ns-shop em{font-style:normal;font-size:10px;color:#44dba0;background:#173d35;padding:6px 9px;border-radius:20px}.ns-pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}.ns-price{background:#111827;border:1px solid #293349;border-radius:18px;padding:30px}.ns-price.featured{border-color:#8e44ff;transform:scale(1.035);box-shadow:0 25px 60px #7d34ff22}.ns-price small{color:#a44cff;font-weight:900}.ns-price h3{font-size:25px;margin:8px 0}.ns-price strong{display:block;color:#d9def0;margin:14px 0}.ns-price p{color:#8f9ab0;min-height:72px}.ns-price a{display:block;text-align:center;padding:12px;border-radius:10px;border:1px solid #6840a6;color:white;font-weight:800;margin-top:25px}.ns-price.featured a{background:#8a3cff}.ns-cta{padding:65px 0;background:linear-gradient(100deg,#131b34,#29165b);border-top:1px solid #493079;border-bottom:1px solid #493079}.ns-cta .ns-wrap{display:flex;align-items:center;justify-content:space-between;gap:30px}.ns-cta span{color:#b36cff;font-weight:900;letter-spacing:2px;font-size:11px}.ns-cta h2{max-width:760px;margin-bottom:8px}.ns-footer{background:#050913;padding:38px 0;color:#818ba0}.ns-footer .ns-wrap{display:grid;grid-template-columns:1fr auto;gap:25px;align-items:center}.ns-footer-brand{display:flex;gap:10px;align-items:center;color:white}.ns-footer-brand b,.ns-footer-brand small{display:block}.ns-footer-brand small{color:#707b91;font-size:10px}.ns-footer-links{display:flex;gap:20px}.ns-footer-links a{color:#8f99ad}.ns-footer p{grid-column:1/-1;border-top:1px solid #1d2638;padding-top:20px;margin:0;font-size:12px}
@media(max-width:900px){.ns-links,.ns-actions{display:none}.ns-mobile-toggle{display:block;margin-left:auto;background:#151d2c;color:white;border:1px solid #303a4e;border-radius:9px;padding:9px 12px}.ns-mobile-menu.open{display:flex;position:absolute;top:78px;left:0;right:0;background:#0d1422;border-bottom:1px solid #2a3448;padding:18px 25px;flex-direction:column;gap:14px}.ns-mobile-menu a{color:#c7cee0}.ns-hero{padding-top:55px}.ns-hero-grid,.ns-split{grid-template-columns:1fr}.ns-hero h1{font-size:42px}.ns-dashboard{margin-top:10px}.ns-cards,.ns-pricing{grid-template-columns:1fr 1fr}.ns-price.featured{transform:none}.ns-cta .ns-wrap{display:block}.ns-cta .ns-btn{margin-top:20px}.ns-footer .ns-wrap{grid-template-columns:1fr}.ns-footer-links{flex-wrap:wrap}}
@media(max-width:600px){.ns-wrap{width:min(100% - 28px,1180px)}.ns-nav{height:68px}.ns-mobile-menu.open{top:68px}.ns-hero h1{font-size:35px;letter-spacing:-1px}.ns-hero p{font-size:15px}.ns-hero-actions{flex-direction:column}.ns-trust{display:grid;gap:8px}.ns-dashbody{grid-template-columns:82px 1fr;min-height:290px}.ns-dashbody aside span{font-size:0}.ns-dashbody aside span:before{content:'•';font-size:16px}.ns-dashbody article{padding:14px}.ns-statrow b{font-size:15px}.ns-cards,.ns-pricing,.ns-checks{grid-template-columns:1fr}.ns-section{padding:65px 0}.ns-section h2,.ns-cta h2{font-size:30px}.ns-shop{grid-template-columns:1fr}.ns-footer-links{display:grid;grid-template-columns:1fr 1fr}}


/* ==========================================================
   NexSell Theme v1.1 — global light/dark system
   Common header owns the switch, therefore every current and
   future page using this theme inherits the selected palette.
   ========================================================== */
:root{
 --nx-page:#f5f7fb; --nx-page-alt:#eef3f9; --nx-surface:#ffffff; --nx-surface-2:#f8fafc;
 --nx-text:#111827; --nx-muted:#64748b; --nx-line:#dbe3ef; --nx-nav:#ffffff;
 --nx-shadow:rgba(15,23,42,.10); --nx-purple:#8b3dff; --nx-cyan:#18bfc8;
}
html.nx-dark{
 --nx-page:#070d1a; --nx-page-alt:#0a101d; --nx-surface:#111827; --nx-surface-2:#171f2e;
 --nx-text:#f7f8ff; --nx-muted:#9ba6bd; --nx-line:rgba(255,255,255,.10); --nx-nav:#080d19;
 --nx-shadow:rgba(0,0,0,.48); --nx-purple:#8b3dff; --nx-cyan:#31d4d8;
}
html,body,.nexsell-theme{background:var(--nx-page)!important;color:var(--nx-text)!important}
.nexsell-theme{--ns-bg:var(--nx-page);--ns-panel:var(--nx-surface);--ns-panel2:var(--nx-surface-2);--ns-text:var(--nx-text);--ns-muted:var(--nx-muted);--ns-line:var(--nx-line)}
.ns-header{background:color-mix(in srgb,var(--nx-nav) 94%,transparent)!important;border-color:var(--nx-line)!important}
.ns-brand,.ns-brand b,.ns-links a,.ns-login{color:var(--nx-text)!important}
.ns-brand small{color:var(--nx-muted)!important}
.ns-links a:hover,.ns-login:hover{color:var(--nx-purple)!important}
.nx-theme-toggle{width:44px;height:44px;flex:0 0 44px;border-radius:12px;border:1px solid var(--nx-line);background:var(--nx-surface);color:var(--nx-text);display:grid;place-items:center;cursor:pointer;font-size:17px;transition:.18s ease}
.nx-theme-toggle:hover{border-color:var(--nx-purple);transform:translateY(-1px)}
.ns-hero,.ns-section,.ns-dark{background:var(--nx-page)!important;color:var(--nx-text)!important}
.ns-hero{background-image:radial-gradient(circle at 75% 30%,rgba(139,61,255,.15),transparent 34%)!important}
.ns-section:nth-of-type(even){background-color:var(--nx-page-alt)!important}
.ns-hero h1,.ns-section h1,.ns-section h2,.ns-section h3,.ns-cta h2{color:var(--nx-text)!important}
.ns-hero p,.ns-section-head p,.ns-split p,.ns-cta p,.ns-card p,.ns-price p{color:var(--nx-muted)!important}
.ns-card,.ns-price,.ns-checks div,.ns-api-card,.ns-shop{background:var(--nx-surface)!important;color:var(--nx-text)!important;border-color:var(--nx-line)!important;box-shadow:0 16px 45px var(--nx-shadow)}
.ns-price strong,.ns-checks{color:var(--nx-text)!important}
.ns-price a{color:var(--nx-text)!important}
.ns-price.featured a,.ns-btn{color:#fff!important}
.ns-btn-ghost{background:var(--nx-surface)!important;color:var(--nx-text)!important;border-color:var(--nx-line)!important}
.ns-cta{background:linear-gradient(100deg,color-mix(in srgb,var(--nx-purple) 10%,var(--nx-page)),color-mix(in srgb,var(--nx-purple) 24%,var(--nx-page)))!important;border-color:color-mix(in srgb,var(--nx-purple) 40%,var(--nx-line))!important}
.ns-footer{background:var(--nx-surface)!important;color:var(--nx-muted)!important;border-top:1px solid var(--nx-line)}
.ns-footer-brand{color:var(--nx-text)!important}.ns-footer-links a{color:var(--nx-muted)!important}.ns-footer p{border-color:var(--nx-line)!important;color:var(--nx-muted)!important}

/* OpenCart pages + future theme pages: generic surfaces inherit palette */
.nexsell-theme #content,.nexsell-theme main,.nexsell-theme .container{color:var(--nx-text)}
.nexsell-theme .breadcrumb,.nexsell-theme .list-group-item,.nexsell-theme .panel,.nexsell-theme .well,
.nexsell-theme .card,.nexsell-theme .modal-content,.nexsell-theme .dropdown-menu{
 background:var(--nx-surface)!important;color:var(--nx-text)!important;border-color:var(--nx-line)!important}
.nexsell-theme .form-control,.nexsell-theme input,.nexsell-theme select,.nexsell-theme textarea{
 background:var(--nx-surface)!important;color:var(--nx-text)!important;border-color:var(--nx-line)!important}
.nexsell-theme h1,.nexsell-theme h2,.nexsell-theme h3,.nexsell-theme h4,.nexsell-theme h5,.nexsell-theme h6{color:var(--nx-text)}
.nexsell-theme p,.nexsell-theme label,.nexsell-theme td,.nexsell-theme th{border-color:var(--nx-line)}
.nexsell-theme hr{border-color:var(--nx-line)}
.nexsell-theme table{color:var(--nx-text)}
.nexsell-theme .table>tbody>tr>td,.nexsell-theme .table>thead>tr>th{border-color:var(--nx-line)!important}

/* Dashboard mockup intentionally stays dark in both modes */
.ns-window,.ns-window *{color:#f7f8ff}
.ns-window{background:#0d1423!important}
.ns-window .ns-windowbar{background:#161d2b!important}
.ns-window .ns-dashbody aside{background:#101724!important}
.ns-window .ns-dashbody article{background:#0d1423!important}
.ns-window .ns-statrow div,.ns-window .ns-chart{background:#171f30!important}

/* Future NexSell sections should use ns-section/ns-card or these variables.
   This means no per-page JavaScript is required. */
@media(max-width:900px){
 .ns-mobile-menu.open{background:var(--nx-surface)!important;border-color:var(--nx-line)!important}
 .ns-mobile-menu a{color:var(--nx-text)!important}
 .ns-mobile-toggle{background:var(--nx-surface)!important;color:var(--nx-text)!important;border-color:var(--nx-line)!important}
}

/* v1.3 — Store Theme owns Account Light/Dark appearance */
.nx-account-modal{background:var(--nx-surface,#fff)!important;color:var(--nx-text,#111827)!important}
.nx-account-modal .nx-modal-head{border-color:var(--nx-line,#e5e7eb)!important}
.nx-account-modal .nx-modal-title{color:var(--nx-text,#111827)!important}
.nx-account-modal .nx-close{color:var(--nx-text,#111827)!important;border-color:var(--nx-line,#e5e7eb)!important;background:var(--nx-surface-2,#f8fafc)!important}
.nx-account-modal .nx-field input{background:var(--nx-surface-2,#fff)!important;color:var(--nx-text,#111827)!important;border-color:var(--nx-line,#dbe2ea)!important;-webkit-text-fill-color:var(--nx-text,#111827)!important}
.nx-account-modal .nx-field input::placeholder{color:var(--nx-muted,#7b8798)!important;opacity:1!important}
.nx-account-modal .nx-links a{color:var(--nx-purple,#6d5dfc)!important}
.nx-account-modal .nx-eye{color:var(--nx-text,#111827)!important;opacity:1!important}
html.nx-dark .nx-account-modal{background:var(--nx-surface,#070d19)!important}
html.nx-dark .nx-account-modal .nx-field input{background:var(--nx-surface-2,#111a2b)!important}


/* v1.3.1 — Account fields must never be light in Store Theme dark mode */
html.nx-dark .nx-account-modal .nx-field input{
 background:#111a2b!important;
 color:#f3f6fb!important;
 -webkit-text-fill-color:#f3f6fb!important;
 border-color:#2b3850!important;
}
html.nx-dark .nx-account-modal .nx-field input::placeholder{
 color:#9aa6b8!important;
 -webkit-text-fill-color:#9aa6b8!important;
 opacity:1!important;
}
html.nx-dark .nx-account-modal .nx-eye{color:#f3f6fb!important}

/* v1.4.0 — authoritative Account palette */
html:not(.nx-dark) .nx-account-modal{background:#ffffff!important;color:#111827!important}
html:not(.nx-dark) .nx-account-modal .nx-field input{background:#ffffff!important;color:#111827!important;-webkit-text-fill-color:#111827!important;border-color:#d8dee8!important}
html:not(.nx-dark) .nx-account-modal .nx-field input::placeholder{color:#7b8798!important;-webkit-text-fill-color:#7b8798!important}
html:not(.nx-dark) .nx-account-modal .nx-eye{color:#111827!important}

html.nx-dark .nx-account-modal{background:#0f1726!important;color:#f5f7fb!important;border-color:#28364d!important}
html.nx-dark .nx-account-modal .nx-modal-title{color:#f5f7fb!important}
html.nx-dark .nx-account-modal .nx-modal-head{border-color:#28364d!important}
html.nx-dark .nx-account-modal .nx-close{background:#111a2b!important;color:#f5f7fb!important;border-color:#334155!important}
html.nx-dark .nx-account-modal .nx-field input{
 background:#111a2b!important;background-color:#111a2b!important;
 color:#f5f7fb!important;-webkit-text-fill-color:#f5f7fb!important;border-color:#334155!important;
}
html.nx-dark .nx-account-modal .nx-field input::placeholder{color:#94a3b8!important;-webkit-text-fill-color:#94a3b8!important;opacity:1!important}
html.nx-dark .nx-account-modal .nx-links a{color:#9b5cff!important}
html.nx-dark .nx-account-modal .nx-eye{color:#f5f7fb!important}


/* Theme v1.4.0 — Chrome/Android autofill must follow Store Theme */
html.nx-dark .nx-account-modal input:-webkit-autofill,
html.nx-dark .nx-account-modal input:-webkit-autofill:hover,
html.nx-dark .nx-account-modal input:-webkit-autofill:focus,
html.nx-dark .nx-account-modal input:-webkit-autofill:active{
 -webkit-box-shadow:0 0 0 1000px #111a2b inset!important;
 box-shadow:0 0 0 1000px #111a2b inset!important;
 -webkit-text-fill-color:#f5f7fb!important;
 caret-color:#f5f7fb!important;
 border-color:#334155!important;
 transition:background-color 99999s ease-out 0s!important;
}
html:not(.nx-dark) .nx-account-modal input:-webkit-autofill,
html:not(.nx-dark) .nx-account-modal input:-webkit-autofill:hover,
html:not(.nx-dark) .nx-account-modal input:-webkit-autofill:focus{
 -webkit-box-shadow:0 0 0 1000px #ffffff inset!important;
 box-shadow:0 0 0 1000px #ffffff inset!important;
 -webkit-text-fill-color:#111827!important;
 caret-color:#111827!important;
}


/* Theme v1.4.0 — header logout: match "Кабинет" typography exactly */
.ns-actions .nx-header-logout,
.ns-actions .nx-header-logout:visited {
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
    font-family:Inter,Arial,sans-serif !important;
    font-size:14px !important;
    font-weight:700 !important;
    line-height:1 !important;
    text-decoration:none !important;
    margin-left:20px !important;
}
.ns-actions .nx-header-logout:hover,
.ns-actions .nx-header-logout:focus {
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
    text-decoration:none !important;
}

/* Theme v1.4.0 — OpenCart primary/Continue button text follows global mode */
html.nx-dark .btn-primary,
html.nx-dark a.btn-primary,
html.nx-dark input.btn-primary,
html.nx-dark button.btn-primary {
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
}
html:not(.nx-dark) .btn-primary,
html:not(.nx-dark) a.btn-primary,
html:not(.nx-dark) input.btn-primary,
html:not(.nx-dark) button.btn-primary {
    color:#000000 !important;
    -webkit-text-fill-color:#000000 !important;
}


/* Theme v1.4.0 — exact OpenCart "Продолжить" button on account/logout */
html.nx-dark #content .buttons a.btn,
html.nx-dark #content .buttons a.btn-primary,
html.nx-dark #content .buttons .pull-right a,
html.nx-dark #content .buttons a[href*="route=common/home"],
html.nx-dark #content .buttons a[href$="/"] {
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
}
html.nx-dark #content .buttons a.btn:hover,
html.nx-dark #content .buttons a.btn:focus,
html.nx-dark #content .buttons a.btn:active,
html.nx-dark #content .buttons a.btn-primary:hover,
html.nx-dark #content .buttons a.btn-primary:focus,
html.nx-dark #content .buttons a.btn-primary:active {
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
}
html:not(.nx-dark) #content .buttons a.btn,
html:not(.nx-dark) #content .buttons a.btn-primary,
html:not(.nx-dark) #content .buttons .pull-right a,
html:not(.nx-dark) #content .buttons a[href*="route=common/home"],
html:not(.nx-dark) #content .buttons a[href$="/"] {
    color:#000000 !important;
    -webkit-text-fill-color:#000000 !important;
}


/* Theme v1.4.0 — FINAL logout Continue text color */
html[data-nx-theme="dark"] body.nexsell-theme .buttons .btn-primary,
html[data-nx-theme="dark"] body.nexsell-theme .buttons a.btn,
html.nx-dark body.nexsell-theme .buttons .btn-primary {
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
}
html[data-nx-theme="light"] body.nexsell-theme .buttons .btn-primary,
html[data-nx-theme="light"] body.nexsell-theme .buttons a.btn,
html:not(.nx-dark) body.nexsell-theme .buttons .btn-primary {
    color:#000000 !important;
    -webkit-text-fill-color:#000000 !important;
}


/* Theme v1.4.0 — OpenCart Continue button, NexSell palette */
html.nx-dark body.nexsell-theme #content .buttons a.btn.btn-primary,
html[data-nx-theme="dark"] body.nexsell-theme #content .buttons a.btn.btn-primary {
    background:#111a2b !important;
    background-color:#111a2b !important;
    border-color:#334155 !important;
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
}
html:not(.nx-dark) body.nexsell-theme #content .buttons a.btn.btn-primary,
html[data-nx-theme="light"] body.nexsell-theme #content .buttons a.btn.btn-primary {
    background:#ffffff !important;
    background-color:#ffffff !important;
    border-color:#d8dee8 !important;
    color:#000000 !important;
    -webkit-text-fill-color:#000000 !important;
}

/* Shared mobile layout: public pages and account pages using the NexSell theme. */
html:has(body.nexsell-theme){overflow-x:hidden}
body.nexsell-theme img{max-width:100%;height:auto}
@media(max-width:900px){
  body.nexsell-theme .container{width:100%;max-width:100%;padding-left:16px;padding-right:16px}
  .ns-nav{gap:12px;padding-left:0;padding-right:0}
  .ns-brand{min-width:0}.ns-brand b{font-size:16px}
  .ns-mobile-menu.open{left:0;right:0;padding:16px;box-shadow:0 16px 35px var(--nx-shadow)}
  .ns-mobile-menu a{padding:10px 4px;font-size:14px;border-bottom:1px solid var(--nx-line)}
  .ns-mobile-menu a:last-child{border-bottom:0}
  body.nexsell-theme #content .row{margin-left:-8px;margin-right:-8px}
  body.nexsell-theme #content [class*="col-"]{padding-left:8px;padding-right:8px}
  body.nexsell-theme .table-responsive{border:1px solid var(--nx-line);border-radius:10px}
}
@media(max-width:600px){
  .ns-nav{height:64px}.ns-logo{width:38px;height:38px;border-radius:11px}
  .nx-theme-toggle{width:38px;height:38px;flex-basis:38px;font-size:15px}
  .ns-mobile-toggle{padding:8px 10px}
  .ns-mobile-menu.open{top:64px}
  .ns-hero{padding:42px 0 48px}.ns-section{padding:46px 0}
  .ns-hero h1{font-size:31px;line-height:1.1}.ns-section h2,.ns-cta h2{font-size:26px}
  .ns-card,.ns-price{padding:20px}.ns-hero-actions .ns-btn{width:100%}
  .ns-footer{padding:28px 0}.ns-footer-links{grid-template-columns:1fr!important;gap:10px}
  body.nexsell-theme .breadcrumb{padding:10px 0;font-size:12px;white-space:nowrap;overflow:auto}
  body.nexsell-theme #content h1{font-size:26px}body.nexsell-theme #content h2{font-size:22px}
  body.nexsell-theme #content .buttons{display:flex;gap:8px;flex-wrap:wrap}
  body.nexsell-theme #content .buttons .btn{flex:1 1 140px;min-height:42px}
  body.nexsell-theme input[type="text"],body.nexsell-theme input[type="email"],body.nexsell-theme input[type="password"],body.nexsell-theme input[type="tel"],body.nexsell-theme select,body.nexsell-theme textarea{max-width:100%}
}
