/* ==========================================================================
   Nexgino Elements — design layer
   Brand: #2982FF (Nexgino blue) · #0B1B3F (deep navy) · hexagon motif
   Loaded after app.css. Admin "Custom CSS" still loads after this file.
   ========================================================================== */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pjs-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/pjs-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/pjs-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/pjs-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/pjs-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/pjs-ext-400.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/pjs-ext-600.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/pjs-ext-700.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --nx-blue: var(--primary_color, #2982ff);
    --nx-blue-600: #1a6cf0;
    --nx-blue-700: #1557d0;
    --nx-blue-50: #eef5ff;
    --nx-blue-100: #dceaff;
    --nx-blue-200: #bbd7ff;
    --nx-navy: #0b1b3f;
    --nx-navy-900: #081634;
    --nx-ink: #0b1b3f;
    --nx-text: #334155;
    --nx-muted: #7a879e;
    --nx-line: #e3eaf6;
    --nx-surface: #ffffff;
    --nx-bg: #f5f8ff;
    --nx-r-sm: 10px;
    --nx-r: 16px;
    --nx-r-lg: 22px;
    --nx-shadow-xs: 0 1px 2px rgba(11, 27, 63, .05);
    --nx-shadow-sm: 0 2px 8px rgba(11, 27, 63, .06), 0 1px 2px rgba(11, 27, 63, .04);
    --nx-shadow: 0 10px 30px -10px rgba(21, 87, 208, .22), 0 4px 10px -4px rgba(11, 27, 63, .06);
    --nx-shadow-lg: 0 24px 60px -20px rgba(21, 87, 208, .35), 0 8px 20px -8px rgba(11, 27, 63, .08);
    --nx-ease: cubic-bezier(.22, 1, .36, 1);
    --nx-spring: cubic-bezier(.34, 1.56, .64, 1);
    --nx-header-h: 72px;
    --nx-tabbar-h: 64px;
    --bs-primary: #2982ff;
    --bs-primary-rgb: 41, 130, 255;
    --bs-link-color: #2982ff;
    --bs-border-radius: 12px;
    --plyr-color-main: #2982ff;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    color: var(--text_color);
    background: var(--background_color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
}
body.bg-white { background: #fff !important; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--heading_color); font-weight: 700; letter-spacing: -.02em; }
::selection { background: rgba(41, 130, 255, .18); color: var(--nx-ink); }
a { transition: color .25s var(--nx-ease), opacity .25s var(--nx-ease), background-color .25s var(--nx-ease), border-color .25s var(--nx-ease), transform .25s var(--nx-ease), box-shadow .25s var(--nx-ease); }
a:hover { opacity: 1; color: var(--nx-blue-700); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid rgba(41, 130, 255, .45); outline-offset: 2px; border-radius: 6px; }
.container-custom { max-width: 1320px; }
@media (min-width: 1600px) { .container-custom { max-width: 1440px; } }

/* scrollbar */
@media (pointer: fine) {
    ::-webkit-scrollbar { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: #c9d6ee; border-radius: 20px; border: 2px solid transparent; background-clip: content-box; }
    ::-webkit-scrollbar-thumb:hover { background: #9fb7e2; background-clip: content-box; border: 2px solid transparent; }
}

/* ---------- Buttons ---------- */
.btn {
    --bs-btn-font-weight: 600;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: -.005em;
    padding: 10px 20px;
    transition: transform .2s var(--nx-ease), box-shadow .25s var(--nx-ease), background-color .25s var(--nx-ease), color .25s var(--nx-ease), border-color .25s var(--nx-ease) !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 14px 26px; border-radius: 14px; }
.btn-sm { border-radius: 9px; padding: 6px 12px; }
.btn-md { padding: 11px 22px; }
.btn-padding { padding-inline: 13px !important; }
.btn-primary, .btn-primary:disabled, .btn-primary.disabled {
    background: linear-gradient(135deg, #3d8fff 0%, var(--nx-blue) 45%, var(--nx-blue-700) 100%);
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 8px 18px -8px rgba(41, 130, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .25) !important;
}
.btn-primary:hover, .btn-primary:focus { background: linear-gradient(135deg, #4a97ff 0%, #1f7aff 45%, #134fc0 100%); color: #fff; box-shadow: 0 14px 28px -10px rgba(41, 130, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25) !important; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(.97); }
.btn-outline-primary { color: var(--nx-blue) !important; border: 1.5px solid var(--nx-blue-200) !important; background: #fff; }
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary.active { background: var(--nx-blue) !important; border-color: var(--nx-blue) !important; color: #fff !important; box-shadow: 0 10px 20px -10px rgba(41, 130, 255, .8) !important; }
.btn-outline-secondary { color: var(--nx-ink) !important; border: 1.5px solid var(--nx-line) !important; background: #fff; }
.btn-outline-secondary:hover, .btn-outline-secondary:focus { background: var(--nx-ink) !important; border-color: var(--nx-ink) !important; color: #fff !important; }
.btn-secondary { background: var(--nx-navy); border-color: var(--nx-navy); }
.btn-secondary:hover { background: #142b5e; border-color: #142b5e; }
.btn-outline-light { border-color: var(--nx-line); color: var(--nx-ink); }
.btn-outline-premium, .btn-premium { border-radius: 12px; }
.btn-light { background: var(--nx-blue-50); border-color: var(--nx-blue-50); color: var(--nx-blue-700); }
.btn-light:hover { background: var(--nx-blue-100); border-color: var(--nx-blue-100); color: var(--nx-blue-700); }
.btn-danger { background: #ef4444; border-color: #ef4444; }
.btn-success { background: #12b886; border-color: #12b886; }

/* ripple (added by nexgino.js) */
.nx-ripple { position: absolute; border-radius: 50%; transform: scale(0); background: currentColor; opacity: .25; pointer-events: none; animation: nxRipple .6s var(--nx-ease) forwards; z-index: -1; }
@keyframes nxRipple { to { transform: scale(2.6); opacity: 0; } }

/* ---------- Forms ---------- */
.form-control, .form-select, .bootstrap-select > .dropdown-toggle, .input-group-text {
    border: 1.5px solid var(--nx-line) !important;
    border-radius: 12px;
    background-color: #fff;
    color: var(--nx-ink);
    min-height: 46px;
    font-size: 15px;
    transition: border-color .2s var(--nx-ease), box-shadow .2s var(--nx-ease), background-color .2s var(--nx-ease);
}
textarea.form-control { min-height: 110px; }
.form-control-md { min-height: 46px; }
.form-control-lg { min-height: 54px; border-radius: 14px; }
.form-control:hover, .form-select:hover { border-color: #c9d8f2 !important; }
.form-control:focus, .form-select:focus { border-color: var(--nx-blue) !important; box-shadow: 0 0 0 4px rgba(41, 130, 255, .14) !important; background: #fff; }
.form-control::placeholder { color: #9aa7bd; }
.form-label { font-weight: 600; color: var(--nx-ink); font-size: 14px; margin-bottom: 8px; }
.form-check-input { width: 1.15em; height: 1.15em; border: 1.5px solid #c9d6ee; }
.form-check-input:checked { background-color: var(--nx-blue); border-color: var(--nx-blue); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(41, 130, 255, .15); border-color: var(--nx-blue); }
.form-switch .form-check-input { width: 2.4em; height: 1.3em; }
.input-group > .form-control, .input-group > .btn { border-radius: 12px; }
.input-group-text { background: var(--nx-blue-50); color: var(--nx-blue-700); font-weight: 600; }

/* ---------- Cards / surfaces ---------- */
.card-v, .card, .dashboard-card, .accordion-custom .accordion-item, .plan, .blog-post, .comment, .item-review, .cart-item, .error-card {
    border-radius: var(--nx-r) !important;
    border: 1px solid var(--nx-line) !important;
    background: #fff;
    box-shadow: var(--nx-shadow-xs);
}
.card-v { padding: 32px; }
@media (max-width: 575.98px) { .card-v { padding: 22px; } }
.card-v.border, .card-v.card-bg { border: 1px solid var(--nx-line) !important; }
.card-header { background: transparent; border-bottom: 1px solid var(--nx-line); }
.text-primary { color: var(--nx-blue) !important; }
.bg-primary { background-color: var(--nx-blue) !important; }
.text-muted { color: var(--nx-muted) !important; }
.border-primary { border-color: var(--nx-blue) !important; }
.badge { border-radius: 8px; font-weight: 600; letter-spacing: .01em; }
.alert { border-radius: 14px; border-width: 1px; }
.alert-primary { background: var(--nx-blue-50); border-color: var(--nx-blue-100); color: var(--nx-blue-700); }
.table > :not(caption) > * > * { padding: 14px 16px; border-color: var(--nx-line); }
.table thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--nx-muted); font-weight: 700; background: #f8faff; }
.modal-content { border: 0; border-radius: 20px; box-shadow: var(--nx-shadow-lg); }
.modal-header, .modal-footer { border-color: var(--nx-line); }
.modal-backdrop.show { opacity: .45; background: #061230; }
.modal.fade .modal-dialog { transform: translateY(24px) scale(.98); transition: transform .35s var(--nx-ease); }
.modal.show .modal-dialog { transform: none; }
.pagination { gap: 6px; flex-wrap: wrap; }
.pagination .page-link { border-radius: 10px !important; border: 1.5px solid var(--nx-line); color: var(--nx-ink); font-weight: 600; min-width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; }
.pagination .page-item.active .page-link { background: var(--nx-blue); border-color: var(--nx-blue); color: #fff; box-shadow: 0 8px 16px -8px rgba(41, 130, 255, .8); }
.pagination .page-link:hover { background: var(--nx-blue-50); border-color: var(--nx-blue-200); color: var(--nx-blue-700); }
.breadcrumb.custom .breadcrumb-item, .breadcrumb .breadcrumb-item { font-size: 13.5px; font-weight: 500; }
.breadcrumb.custom .breadcrumb-item a { color: var(--nx-muted); }
.breadcrumb.custom .breadcrumb-item a:hover { color: var(--nx-blue); }
.breadcrumb.custom .breadcrumb-item.active { color: var(--nx-blue); font-weight: 600; }
.nav-pills .nav-link { border-radius: 10px; font-weight: 600; color: var(--nx-text); }
.nav-pills .nav-link.active { background: var(--nx-blue); }

/* ---------- Dropdowns (site-wide component) ---------- */
.drop-down .drop-down-btn { cursor: pointer; }
.drop-down .drop-down-menu {
    border-radius: 14px !important;
    border: 1px solid var(--nx-line) !important;
    padding: 6px;
    box-shadow: var(--nx-shadow-lg) !important;
    transform: translateY(8px) scale(.98) !important;
    transform-origin: top center;
    transition: opacity .2s var(--nx-ease), transform .25s var(--nx-ease), visibility .2s !important;
    z-index: 1050;
}
.drop-down.active .drop-down-menu { transform: translateY(0) scale(1) !important; }
.drop-down .drop-down-menu .drop-down-item { border-radius: 9px !important; padding: 9px 12px; font-weight: 500; font-size: 14.5px; color: var(--nx-text); }
.drop-down .drop-down-menu .drop-down-item i { color: var(--nx-blue); width: 24px; transition: color .2s; }
.drop-down .drop-down-menu .drop-down-item:hover, .drop-down .drop-down-menu .drop-down-item.active { background: var(--nx-blue-50) !important; color: var(--nx-blue-700) !important; }
.drop-down .drop-down-menu .drop-down-item.text-danger:hover { background: #fff1f1 !important; color: #e03131 !important; }
.drop-down .drop-down-menu .drop-down-item.text-danger i { color: #e03131; }
.drop-down .drop-down-menu .drop-down-divider { margin: 6px 4px; }

/* ==========================================================================
   Header
   ========================================================================== */
.announcement {
    position: relative;
    z-index: 1031;
    padding: 10px 44px 10px 12px;
    background: linear-gradient(90deg, #0b1b3f 0%, #1557d0 50%, #2982ff 100%) !important;
    background-size: 200% 100% !important;
    animation: nxSlideBg 12s ease-in-out infinite alternate;
    font-size: 14px;
    font-weight: 500;
}
@keyframes nxSlideBg { to { background-position: 100% 0; } }
.announcement .announcement-text { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; }
.announcement .announcement-text span { display: inline; }
.nx-announce-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ff0c8; box-shadow: 0 0 0 0 rgba(127, 240, 200, .7); animation: nxPulse 2s infinite; flex-shrink: 0; }
.nx-announce-btn { display: inline-flex; align-items: center; padding: 5px 14px; border-radius: 30px; background: rgba(255, 255, 255, .16); color: #fff !important; font-weight: 600; font-size: 13px; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.nx-announce-btn:hover { background: #fff; color: var(--nx-blue-700) !important; }
.announcement .announcement-close { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; top: 50%; transform: translateY(-50%); right: 8px; }
.announcement .announcement-close:hover { background: rgba(255, 255, 255, .15); }
@keyframes nxPulse { 0% { box-shadow: 0 0 0 0 rgba(127, 240, 200, .7); } 70% { box-shadow: 0 0 0 10px rgba(127, 240, 200, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 240, 200, 0); } }

.nx-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(227, 234, 246, .9);
    transition: box-shadow .3s var(--nx-ease), background-color .3s var(--nx-ease);
}
.nx-header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(11, 27, 63, .18); background: rgba(255, 255, 255, .94); }
.nx-header-row { display: flex; align-items: center; gap: 14px; height: var(--nx-header-h); }
.nx-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nx-logo img { height: 34px; width: auto; max-width: 220px; object-fit: contain; transition: transform .3s var(--nx-ease); }
.nx-logo:hover img { transform: scale(1.02); }
.nx-header-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.nx-header-actions .btn { padding: 9px 18px; }
.nx-btn-ghost { color: var(--nx-ink) !important; border: 0; background: transparent; }
.nx-btn-ghost:hover { background: var(--nx-blue-50); color: var(--nx-blue-700) !important; }
.nx-btn-cta { padding-inline: 20px !important; }

.nx-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--nx-line);
    background: #fff;
    color: var(--nx-ink);
    font-size: 16px;
    flex-shrink: 0;
    transition: all .25s var(--nx-ease);
}
.nx-icon-btn:hover { border-color: var(--nx-blue-200); color: var(--nx-blue); background: var(--nx-blue-50); }
.nx-icon-btn:active { transform: scale(.92); }
.nx-badge {
    position: absolute;
    top: -6px;
    inset-inline-end: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 20px;
    background: #ff4d6d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    animation: nxPop .5s var(--nx-spring);
}
@keyframes nxPop { 0% { transform: scale(0); } 100% { transform: scale(1); } }

.nx-burger { flex-direction: column; gap: 4px; }
.nx-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--nx-ease), opacity .3s; }
.nx-burger span:nth-child(2) { width: 12px; align-self: center; margin-inline-start: -6px; }

.nx-premium-btn {
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    color: #9a5b00 !important;
    background: linear-gradient(135deg, #fff6dc, #ffe7a8);
    border: 1px solid #ffe08a;
}
.nx-premium-btn i { color: #f2a100; }
.nx-premium-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(242, 161, 0, .7); }

/* search pill */
.nx-search { position: relative; display: flex; align-items: center; flex: 1 1 auto; max-width: 560px; margin-inline: 12px; }
.nx-search input {
    width: 100%;
    height: 46px;
    border-radius: 14px;
    border: 1.5px solid var(--nx-line);
    background: #f4f7fd;
    padding: 0 54px 0 44px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--nx-ink);
    outline: none;
    transition: all .25s var(--nx-ease);
}
.nx-search input::placeholder { color: #8c99b1; }
.nx-search input:focus { background: #fff; border-color: var(--nx-blue); box-shadow: 0 0 0 4px rgba(41, 130, 255, .14); }
.nx-search-icon { position: absolute; inset-inline-start: 16px; color: #8c99b1; font-size: 15px; pointer-events: none; }
.nx-search-btn { position: absolute; inset-inline-end: 5px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--nx-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all .25s var(--nx-ease); transform: scale(.85); opacity: 0; }
.nx-search input:focus ~ .nx-search-btn, .nx-search input:valid ~ .nx-search-btn { transform: scale(1); opacity: 1; }
[dir="rtl"] .nx-search input { padding: 0 44px 0 54px; }

.nx-search-mobile { max-width: none; margin: 0 0 12px; display: none; }
.nx-search-mobile.is-open { display: flex; animation: nxDrop .35s var(--nx-ease); }
@keyframes nxDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* user menu inside header */
.nx-header .user-menu { margin: 0 !important; }
.nx-header .user-menu .drop-down-btn { display: flex; align-items: center; gap: 8px; padding: 3px; padding-inline-end: 10px; border-radius: 14px; border: 1px solid var(--nx-line); background: #fff; transition: all .25s var(--nx-ease); }
.nx-header .user-menu .drop-down-btn:hover { border-color: var(--nx-blue-200); background: var(--nx-blue-50); }
.nx-header .user-menu .user-img { width: 34px !important; height: 34px !important; border-radius: 10px !important; margin: 0 !important; object-fit: cover; }
.nx-header .user-menu .user-name { display: none; font-weight: 600; font-size: 14px; color: var(--nx-ink); max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-header .user-menu .drop-down-btn i { display: inline-block !important; color: var(--nx-muted); font-size: 12px; margin: 0 !important; }
.nx-header .user-menu .drop-down-menu { top: 50px !important; right: 0; left: auto; min-width: 230px; }
[dir="rtl"] .nx-header .user-menu .drop-down-menu { left: 0; right: auto; }
@media (min-width: 1200px) { .nx-header .user-menu .user-name { display: inline; } }
@media (max-width: 767.98px) { .nx-header .user-menu .drop-down-btn { padding-inline-end: 3px; } .nx-header .user-menu .drop-down-btn i { display: none !important; } }
.nx-header .drop-down-img .drop-down-btn { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 12px; font-weight: 600; color: var(--nx-ink); font-size: 14px; }
.nx-header .drop-down-img .drop-down-btn:hover { background: var(--nx-blue-50); }
.nx-header .drop-down-img .drop-down-btn-img img, .nx-drawer .drop-down-img .drop-down-btn-img img, .nx-header .drop-down-img .drop-down-item-img img, .nx-drawer .drop-down-item-img img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.nx-header .drop-down-img .drop-down-menu { top: 48px; }
.nx-header .drop-down-img .drop-down-item, .nx-drawer .drop-down-img .drop-down-item { display: flex; align-items: center; gap: 8px; }

/* sub navigation (categories) */
.nx-header-sub { border-top: 1px solid rgba(227, 234, 246, .8); transition: margin .35s var(--nx-ease), opacity .3s; }
.nx-sub-row { display: flex; align-items: center; justify-content: space-between; height: 48px; gap: 20px; }
.nx-cats, .nx-sub-links { display: flex; align-items: center; gap: 4px; }
.nx-cat { position: relative; }
.nx-cat .drop-down-btn, .nx-cat-link, .nx-sub-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--nx-text);
    font-weight: 600;
    font-size: 14px;
    transition: all .2s var(--nx-ease);
}
.nx-cat .drop-down-btn i { font-size: 11px; color: var(--nx-muted); transition: transform .3s var(--nx-ease); }
.nx-cat .drop-down-btn:hover, .nx-cat-link:hover, .nx-cat.active .drop-down-btn { background: var(--nx-blue-50); color: var(--nx-blue-700); }
.nx-cat.active .drop-down-btn i { transform: rotate(180deg); color: var(--nx-blue); }
.nx-cat .drop-down-menu { top: 44px !important; left: 0; right: auto; }
.nx-sub-links .nx-cat .drop-down-menu { left: auto; right: 0; }
.nx-sub-link { color: var(--nx-muted); font-weight: 500; font-size: 13.5px; }
.nx-sub-link:hover { color: var(--nx-blue); background: var(--nx-blue-50); }
.nx-header.is-scrolled.is-down .nx-header-sub { margin-top: -49px; opacity: 0; pointer-events: none; }

/* hide legacy navbars if any custom view still prints them */
.nav-bar { display: none !important; }
.body-style { padding-top: 0; }

/* ---------- Drawer (mobile menu) ---------- */
.nx-drawer { position: fixed; inset: 0; z-index: 1060; visibility: hidden; pointer-events: none; }
.nx-drawer.is-open { visibility: visible; pointer-events: auto; }
.nx-drawer-overlay { position: absolute; inset: 0; background: rgba(6, 18, 48, .45); opacity: 0; transition: opacity .35s var(--nx-ease); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.nx-drawer.is-open .nx-drawer-overlay { opacity: 1; }
.nx-drawer-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(86vw, 360px);
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(-105%);
    transition: transform .42s var(--nx-ease);
    box-shadow: 20px 0 60px -20px rgba(6, 18, 48, .4);
    border-radius: 0 24px 24px 0;
    padding-bottom: env(safe-area-inset-bottom);
}
[dir="rtl"] .nx-drawer-panel { left: auto; right: 0; transform: translateX(105%); border-radius: 24px 0 0 24px; }
.nx-drawer.is-open .nx-drawer-panel { transform: none; }
.nx-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; padding-top: calc(16px + env(safe-area-inset-top)); border-bottom: 1px solid var(--nx-line); }
.nx-drawer-head .nx-logo img { height: 30px; }
.nx-drawer-body { flex: 1; overflow-y: auto; padding: 16px 18px 28px; overscroll-behavior: contain; }
.nx-drawer-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.nx-drawer-auth .btn { padding: 11px; }
.nx-drawer-user, .nx-drawer-premium { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--nx-blue-50); color: var(--nx-ink); margin-bottom: 12px; }
.nx-drawer-user img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.nx-drawer-user strong, .nx-drawer-premium strong { display: block; font-size: 15px; }
.nx-drawer-user small, .nx-drawer-premium small { color: var(--nx-muted); font-size: 12.5px; }
.nx-drawer-user i, .nx-drawer-premium > i { color: var(--nx-muted); font-size: 12px; }
.nx-drawer-premium { background: linear-gradient(135deg, #fff8e6, #ffefc4); }
.nx-drawer-premium-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ffc93c, #f29d00); color: #fff; flex-shrink: 0; }
.nx-drawer-label { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nx-muted); margin: 18px 4px 8px; }
.nx-acc { display: flex; flex-direction: column; gap: 2px; }
.nx-acc-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 12px; border-radius: 12px; border: 0; background: transparent; color: var(--nx-ink); font-weight: 600; font-size: 15px; text-align: start; }
.nx-acc-btn:hover, .nx-acc-item.open > .nx-acc-btn { background: var(--nx-blue-50); color: var(--nx-blue-700); }
.nx-acc-btn i { font-size: 12px; color: var(--nx-muted); transition: transform .3s var(--nx-ease); }
.nx-acc-item.open > .nx-acc-btn i { transform: rotate(180deg); color: var(--nx-blue); }
.nx-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--nx-ease); }
.nx-acc-item.open .nx-acc-panel { grid-template-rows: 1fr; }
.nx-acc-panel > div { overflow: hidden; padding-inline-start: 12px; }
.nx-acc-link { display: block; padding: 9px 12px; margin: 2px 0; border-radius: 10px; color: var(--nx-text); font-size: 14.5px; border-inline-start: 2px solid var(--nx-line); border-radius: 0 10px 10px 0; }
.nx-acc-link:hover { color: var(--nx-blue); border-color: var(--nx-blue); background: var(--nx-blue-50); }
.nx-drawer-currency { margin-top: 16px; }
.nx-drawer-currency .drop-down { position: relative; }
.nx-drawer-currency .drop-down-btn { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--nx-line); font-weight: 600; }
.nx-drawer-currency .drop-down-menu { position: static !important; display: none; transform: none !important; margin-top: 8px; box-shadow: none !important; }
.nx-drawer-currency .drop-down.active .drop-down-menu { display: block; }
body.nx-lock { overflow: hidden; }

/* ---------- Mobile tab bar ---------- */
.nx-tabbar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 1040;
    height: var(--nx-tabbar-h);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding: 0 6px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border: 1px solid rgba(227, 234, 246, .95);
    border-radius: 22px;
    box-shadow: 0 18px 40px -16px rgba(11, 27, 63, .35), 0 2px 6px rgba(11, 27, 63, .06);
    transition: transform .35s var(--nx-ease);
}
.nx-tabbar.is-hidden { transform: translateY(calc(100% + 30px)); }
.nx-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; color: #8391aa; font-size: 10.5px; font-weight: 600; letter-spacing: .01em; }
.nx-tab i { font-size: 19px; transition: transform .3s var(--nx-spring); }
.nx-tab:hover { color: var(--nx-blue); }
.nx-tab:active i { transform: scale(.85); }
.nx-tab.active { color: var(--nx-blue); }
.nx-tab.active::before { content: ""; position: absolute; top: 6px; width: 34px; height: 30px; border-radius: 10px; background: var(--nx-blue-50); z-index: -1; animation: nxPop .4s var(--nx-spring); }
.nx-tab.active i { transform: translateY(-1px); }
.nx-tab-main { color: var(--nx-ink); }
.nx-tab-fab { width: 46px; height: 46px; margin-top: -26px; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; background: linear-gradient(135deg, #4a97ff, #1557d0); box-shadow: 0 12px 22px -8px rgba(41, 130, 255, .9), 0 0 0 5px #fff; transform: rotate(0deg); transition: transform .35s var(--nx-spring); }
.nx-tab-main:active .nx-tab-fab { transform: scale(.9); }
.nx-tab-main.active::before { display: none; }
.nx-tab-badge { position: absolute; top: 7px; left: 50%; margin-left: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 10px; background: #ff4d6d; color: #fff; font-style: normal; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
@media (max-width: 991.98px) {
    .footer .footer-lower { padding-bottom: calc(var(--nx-tabbar-h) + 34px + env(safe-area-inset-bottom)) !important; }
    body:not(:has(.footer)) { padding-bottom: calc(var(--nx-tabbar-h) + 22px + env(safe-area-inset-bottom)); }
    .cookies { bottom: calc(var(--nx-tabbar-h) + 22px + env(safe-area-inset-bottom)) !important; }
    .cookies:not(.show) { bottom: -150% !important; }
}

.nx-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 1035; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--nx-navy); color: #fff; box-shadow: var(--nx-shadow-lg); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: all .35s var(--nx-ease); }
.nx-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.nx-to-top:hover { background: var(--nx-blue); }
@media (max-width: 991.98px) { .nx-to-top { display: none; } }

/* scroll progress */
.nx-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #7fb6ff, #2982ff, #1557d0); z-index: 2000; pointer-events: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.nx-hero { overflow: hidden; background-color: #0b1b3f; }
.nx-hero.header-image::before { background: radial-gradient(1200px 500px at 50% 0%, rgba(41, 130, 255, .25), transparent 60%), linear-gradient(180deg, rgba(6, 16, 44, .25), rgba(6, 16, 44, .35)); }
.nx-hero .header-inner { min-height: 640px; padding-top: 90px; padding-bottom: 130px; }
.nx-hero .header-container { max-width: 900px; margin-inline: auto; text-align: center; position: relative; z-index: 2; }
.nx-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 40px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #dbe8ff; font-size: 13.5px; font-weight: 600; margin-bottom: 22px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nx-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ff0c8; animation: nxPulse 2s infinite; }
.nx-hero .header-title { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; color: #fff; width: 100%; margin-bottom: 20px; text-wrap: balance; }
.nx-hero .header-text { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.7; color: #c8d8f5; width: 100%; max-width: 720px; text-wrap: balance; }
.nx-hero .header-search { max-width: 720px; margin: 34px auto 0; }
.search .search-input input { border-radius: 18px !important; padding: 22px 160px 22px 56px !important; font-size: 16px; font-weight: 500; color: var(--nx-ink); box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .45), 0 0 0 6px rgba(255, 255, 255, .12) !important; transition: box-shadow .3s var(--nx-ease) !important; }
.search .search-input input:focus { box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .45), 0 0 0 6px rgba(41, 130, 255, .45) !important; }
.search .search-input::before { content: "\f002"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: #93a3bf; z-index: 2; font-size: 17px; }
[dir="rtl"] .search .search-input::before { left: auto; right: 22px; }
[dir="rtl"] .search .search-input input { padding: 22px 56px 22px 160px !important; }
.search .search-input .btn { border-radius: 13px !important; padding: 14px 26px !important; }
.header-bg .search .search-input input, .header-sm .search .search-input input { box-shadow: var(--nx-shadow) !important; border: 1.5px solid var(--nx-line) !important; }
.nx-popular { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.nx-popular-label { color: #9fb3d8; font-size: 13.5px; font-weight: 600; margin-inline-end: 4px; }
.nx-chip { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 30px; font-size: 13px; font-weight: 600; color: #e6efff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.nx-chip:hover { background: #fff; color: var(--nx-blue-700); border-color: #fff; transform: translateY(-2px); }
.nx-hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.nx-hero-stat { min-width: 150px; padding: 14px 20px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-align: center; }
.nx-hero-stat strong { display: block; color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.nx-hero-stat strong i { color: #7ff0c8; }
.nx-hero-stat span { color: #a9bde3; font-size: 12.5px; font-weight: 600; }
.nx-hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; z-index: 3; }
.nx-hero-wave path { fill: var(--background_color); }
body.bg-white .nx-hero-wave path { fill: #fff; }

/* animated hexagons */
.nx-hero-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.nx-hex { position: absolute; display: block; aspect-ratio: 1.1547 / 1; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .02)); animation: nxFloat 14s ease-in-out infinite; }
.nx-hex-1 { width: 120px; top: 14%; left: 6%; animation-duration: 13s; }
.nx-hex-2 { width: 70px; top: 62%; left: 14%; animation-duration: 10s; animation-delay: -3s; background: linear-gradient(160deg, rgba(127, 182, 255, .55), rgba(41, 130, 255, .05)); }
.nx-hex-3 { width: 160px; top: 10%; right: 7%; animation-duration: 16s; animation-delay: -6s; }
.nx-hex-4 { width: 60px; top: 70%; right: 16%; animation-duration: 11s; animation-delay: -2s; background: linear-gradient(160deg, rgba(127, 240, 200, .45), rgba(127, 240, 200, .02)); }
.nx-hex-5 { width: 40px; top: 38%; right: 28%; animation-duration: 9s; animation-delay: -5s; background: rgba(255, 255, 255, .18); }
@keyframes nxFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-26px) rotate(12deg); } }
.nx-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); }
@media (max-width: 991.98px) {
    .nx-hero .header-inner { min-height: 0; padding-top: 48px; padding-bottom: 90px; }
    .nx-hex-1, .nx-hex-3 { width: 80px; }
    .nx-hex-5 { display: none; }
    .nx-hero-stats { gap: 10px; margin-top: 28px; }
    .nx-hero-stat { min-width: 0; flex: 1 1 0; padding: 12px 10px; }
    .nx-hero-stat strong { font-size: 17px; }
    .nx-hero-stat span { font-size: 11px; }
}
@media (max-width: 575.98px) {
    .search .search-input input { padding: 18px 70px 18px 48px !important; font-size: 15px; border-radius: 16px !important; }
    .search .search-input::before { left: 18px; }
    .search .search-input .btn { padding: 12px 16px !important; right: 7px; }
    .nx-popular { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -12px; padding: 2px 12px; scrollbar-width: none; }
    .nx-popular::-webkit-scrollbar { display: none; }
    .nx-chip, .nx-popular-label { flex-shrink: 0; }
    .nx-eyebrow { font-size: 12px; }
    .nx-hero-wave { height: 40px; }
}

/* inner page headers */
.header-bg, .header-sm:not(.header-image) {
    background: radial-gradient(800px 260px at 85% -20%, rgba(41, 130, 255, .18), transparent 70%), radial-gradient(600px 220px at 0% 120%, rgba(41, 130, 255, .1), transparent 70%), linear-gradient(180deg, #eef4ff 0%, #f6f9ff 100%) !important;
    border-bottom: 1px solid var(--nx-line);
    position: relative;
    overflow: hidden;
}
.header-bg::after, .header-sm:not(.header-image)::after {
    content: "";
    position: absolute;
    width: 220px;
    aspect-ratio: 1.1547 / 1;
    right: -40px;
    top: -40px;
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    background: linear-gradient(160deg, rgba(41, 130, 255, .14), rgba(41, 130, 255, 0));
    animation: nxFloat 16s ease-in-out infinite;
    pointer-events: none;
}
.header-bg .header-title, .header-sm .header-title { font-weight: 800; letter-spacing: -.03em; color: var(--nx-ink); }
.header-bg .header-inner, .header-sm .header-inner { position: relative; z-index: 1; }
.header-sm .header-inner { padding-top: 48px; padding-bottom: 48px; }
.header-profile { overflow: hidden; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-top: 72px; padding-bottom: 72px; }
.section .section-title { margin-bottom: 14px; }
.section .section-title-text { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; color: var(--nx-ink); }
.section .section-title-divider { width: 44px; height: 5px; border-radius: 10px; margin-top: 14px; background: linear-gradient(90deg, var(--nx-blue), #7fb6ff); }
.section .section-title-divider::after { content: ""; position: absolute; left: calc(100% + 6px); width: 10px; height: 5px; border-radius: 10px; background: var(--nx-blue-200); }
.section .section-text { color: var(--nx-muted); font-size: 16px; max-width: 640px; }
.section-header { margin-bottom: 34px; }
@media (max-width: 767.98px) {
    .section { padding-top: 48px; padding-bottom: 48px; }
    .section-header { margin-bottom: 22px; }
}

/* category tiles */
.categories-swiper { gap: 10px; }
.home-category {
    padding: 26px 16px 22px !important;
    border-radius: 20px !important;
    background: #fff;
    border: 1px solid var(--nx-line);
    box-shadow: var(--nx-shadow-xs);
    transition: transform .35s var(--nx-ease), box-shadow .35s var(--nx-ease), border-color .35s var(--nx-ease) !important;
    position: relative;
    overflow: hidden;
}
.home-category::before { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 80%; background: radial-gradient(closest-side, rgba(41, 130, 255, .14), transparent); opacity: 0; transition: opacity .35s var(--nx-ease); }
.home-category:hover { transform: translateY(-6px); box-shadow: var(--nx-shadow); border-color: var(--nx-blue-200); }
.home-category:hover::before { opacity: 1; }
.home-category .home-category-img img { width: 92px !important; height: 92px !important; border-radius: 22px; transition: transform .45s var(--nx-spring); }
.home-category:hover .home-category-img { transform: none !important; }
.home-category:hover .home-category-img img { transform: scale(1.08) rotate(-3deg); }
.home-category .home-category-title { color: var(--nx-ink) !important; font-weight: 700; font-size: 15px; position: relative; }
.home-category:hover .home-category-title { color: var(--nx-blue) !important; }
.swiper-button-prev, .swiper-button-next, .categories-swiper .swiper-actions > div {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    background: #fff !important;
    border: 1px solid var(--nx-line) !important;
    color: var(--nx-ink) !important;
    box-shadow: var(--nx-shadow-sm);
    transition: all .25s var(--nx-ease) !important;
}
.swiper-button-prev:hover, .swiper-button-next:hover { background: var(--nx-blue) !important; border-color: var(--nx-blue) !important; color: #fff !important; }
.swiper-button-prev::after, .swiper-button-next::after { display: none; }
.swiper-pagination-bullet-active { background: var(--nx-blue); }
.testimonials-swiper-actions .swiper-button-prev, .testimonials-swiper-actions .swiper-button-next { background: #fff !important; color: var(--nx-ink) !important; }
.testimonials-swiper-actions .swiper-button-disabled { opacity: .4 !important; }

/* tabs (latest items) */
.custom-tabs-item {
    padding: 10px 18px !important;
    border-radius: 40px !important;
    border: 1.5px solid var(--nx-line) !important;
    background: #fff;
    color: var(--nx-text) !important;
    font-weight: 600;
    font-size: 14px;
}
.custom-tabs-item:hover { border-color: var(--nx-blue-200) !important; color: var(--nx-blue-700) !important; background: var(--nx-blue-50); }
.custom-tabs-item.active { background: var(--nx-ink) !important; border-color: var(--nx-ink) !important; color: #fff !important; box-shadow: 0 10px 20px -10px rgba(11, 27, 63, .6); }
@media (max-width: 767.98px) {
    .custom-tabs > .row { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start !important; margin-inline: -12px; padding: 4px 12px 8px; scrollbar-width: none; }
    .custom-tabs > .row::-webkit-scrollbar { display: none; }
    .custom-tabs > .row > .col { flex-shrink: 0; }
}
.tab-pane.fade { transition: opacity .35s var(--nx-ease); }

/* ==========================================================================
   Item card
   ========================================================================== */
.item {
    border-radius: 20px !important;
    border: 1px solid var(--nx-line);
    background: #fff;
    box-shadow: var(--nx-shadow-xs);
    overflow: hidden;
    transition: transform .4s var(--nx-ease), box-shadow .4s var(--nx-ease), border-color .4s var(--nx-ease) !important;
    will-change: transform;
}
.item:hover { transform: translateY(-6px); box-shadow: var(--nx-shadow-lg); border-color: var(--nx-blue-200); }
.item .item-header { overflow: hidden; background: var(--nx-blue-50); }
.item .item-header > a { display: block; overflow: hidden; }
.item .item-img { display: block; width: 100%; height: auto !important; aspect-ratio: 1200 / 610; object-fit: cover; border-radius: 0 !important; transition: transform .7s var(--nx-ease), filter .4s; }
.item:hover .item-img { transform: scale(1.06); }
.item .item-header::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 27, 63, .25)); opacity: 0; transition: opacity .4s var(--nx-ease); pointer-events: none; }
.item:hover .item-header::after { opacity: 1; }
.item .item-body { padding: 18px 18px 18px !important; }
.item .item-title { font-weight: 700 !important; font-size: 16px !important; color: var(--nx-ink) !important; letter-spacing: -.01em; margin-bottom: 6px !important; }
.item .item-title:hover { color: var(--nx-blue) !important; }
.item .item-text { font-size: 13.5px !important; margin-bottom: 10px !important; }
.item .item-text a { color: var(--nx-text); font-weight: 600; }
.item .item-text a:hover { color: var(--nx-blue); }
.item .item-purchase { padding-top: 14px; border-top: 1px dashed var(--nx-line); }
.item-price .item-price-number { font-size: 20px; font-weight: 800; color: var(--nx-ink); letter-spacing: -.02em; }
.item-price .item-price-through { color: var(--nx-muted); text-decoration: line-through; font-size: 13px; margin-inline-end: 4px; }
.item .item-sales { color: var(--nx-muted); font-size: 12.5px !important; font-weight: 500; }
.item .item-purchase .btn { width: 40px; height: 40px; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.item .item-purchase .btn-outline-primary { background: var(--nx-blue) !important; border-color: var(--nx-blue) !important; color: #fff !important; box-shadow: 0 8px 16px -8px rgba(41, 130, 255, .9) !important; }
.item .item-purchase .btn-outline-primary:hover { background: var(--nx-blue-700) !important; transform: translateY(-2px); }
.item .item-purchase .btn-outline-secondary { background: var(--nx-blue-50) !important; border-color: transparent !important; color: var(--nx-blue-700) !important; }
.item .item-purchase .btn-outline-secondary:hover { background: var(--nx-ink) !important; color: #fff !important; }
.item-badge {
    top: 14px !important;
    inset-inline-start: 14px !important;
    left: 14px;
    padding: 6px 11px !important;
    border-radius: 30px !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: .04em;
    box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 2;
}
[dir="rtl"] .item-badge { left: auto; }
.ratings i, .item-ratings i, .rating-stars i { color: #ffb800; }
.item.item-list, .item-list .item { border-radius: 18px !important; }

/* item single page */
.item-single-title { font-weight: 800; letter-spacing: -.03em; }
.item-single-preview, .item-single-img { border-radius: 18px; overflow: hidden; }
.item-single-img img { border-radius: 14px; }
.license-option, .item-license, [class*="license"] .form-check { border-radius: 14px; }
.share-buttons .btn, .socials .social-btn, .social-btn { border-radius: 12px !important; transition: transform .25s var(--nx-spring), box-shadow .25s !important; }
.socials .social-btn:hover, .social-btn:hover { transform: translateY(-3px); }
.preview-nav { background: var(--item_preview_navbar_background); }

/* list / grid toggles + filters */
.filter-item, .filters .card-v { border-radius: 16px; }
.grid-buttons .btn.active, .grid-btn.active { background: var(--nx-blue); color: #fff; }

/* ==========================================================================
   Testimonials · FAQ · Blog · Plans
   ========================================================================== */
.testimonial { border-radius: 22px !important; border: 1px solid var(--nx-line); text-align: start !important; padding: 30px !important; box-shadow: var(--nx-shadow-xs); position: relative; overflow: hidden; }
.testimonial::before { content: "\201C"; position: absolute; top: -18px; inset-inline-end: 18px; font-size: 140px; line-height: 1; font-family: Georgia, serif; color: var(--nx-blue-50); z-index: 0; }
.testimonial > * { position: relative; z-index: 1; }
.testimonial:hover { transform: translateY(-6px) !important; box-shadow: var(--nx-shadow); border-color: var(--nx-blue-200); }
.testimonial .testimonial-img { margin-inline: 0 !important; width: 64px !important; height: 64px !important; }
.testimonial .testimonial-img img { border-radius: 18px !important; }
.testimonial .testimonial-quote { width: 26px !important; height: 26px !important; font-size: 11px; border: 2px solid #fff; }
.testimonial .testimonial-text { color: var(--nx-text) !important; font-size: 15px; line-height: 1.75; }
.testimonial .testimonial-author { align-items: flex-start !important; }
.testimonial .testimonial-author::before { width: 32px !important; }
.testimonial .testimonial-name { font-weight: 700; color: var(--nx-ink); margin-bottom: 4px !important; }

.accordion-custom .accordion-item { margin-bottom: 12px; overflow: hidden; transition: box-shadow .3s var(--nx-ease), border-color .3s; }
.accordion-custom .accordion-item:hover { border-color: var(--nx-blue-200) !important; }
.accordion-custom .accordion-button { font-weight: 700; color: var(--nx-ink); padding: 20px 22px; background: #fff; border-radius: 16px !important; box-shadow: none !important; font-size: 15.5px; }
.accordion-custom .accordion-button:not(.collapsed) { color: var(--nx-blue-700); background: linear-gradient(180deg, var(--nx-blue-50), #fff); }
.accordion-custom .accordion-button::after { width: 30px; height: 30px; border-radius: 10px; background-color: var(--nx-blue-50); background-position: center; background-size: 14px; }
.accordion-custom .accordion-button:not(.collapsed)::after { background-color: var(--nx-blue-100); }
.accordion-custom .accordion-body { color: var(--nx-text); line-height: 1.75; padding: 4px 22px 22px; }

.blog-post { overflow: hidden; transition: transform .35s var(--nx-ease), box-shadow .35s var(--nx-ease) !important; }
.blog-post:hover { transform: translateY(-5px); box-shadow: var(--nx-shadow); }
.blog-post img { transition: transform .6s var(--nx-ease); }
.blog-post:hover img { transform: scale(1.05); }
.article-body, .card-v .article-body { line-height: 1.85; font-size: 16px; }

.plan { padding: 30px !important; transition: transform .35s var(--nx-ease), box-shadow .35s var(--nx-ease) !important; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--nx-shadow-lg); }
.plan.active, .plan.plan-featured, .plan-featured { border: 2px solid var(--nx-blue) !important; box-shadow: var(--nx-shadow); }
.plan-switcher { border-radius: 40px !important; padding: 5px !important; background: #fff; border: 1px solid var(--nx-line); }

/* featured author */
.section-profile, .featured-author { border-radius: 22px; }
.user-avatar, .author-img img { border-radius: 16px; }

/* ==========================================================================
   Auth pages
   ========================================================================== */
.sign-box { position: relative; }
.sign-box .card-v { padding: 40px !important; border-radius: 24px !important; box-shadow: var(--nx-shadow-lg); border: 1px solid var(--nx-line) !important; animation: nxRise .6s var(--nx-ease); }
@media (max-width: 575.98px) { .sign-box .card-v { padding: 26px 20px !important; border-radius: 20px !important; } }
.sign-box .sign-box-title { font-weight: 800; letter-spacing: -.03em; font-size: 28px; }
.sign-box-text { font-size: 15px; }
.login-with { color: var(--nx-muted); font-size: 13px; }
.login-with::before, .login-with::after { background-color: var(--nx-line) !important; }
.btn-social, .oauth-btn { border-radius: 12px !important; border: 1.5px solid var(--nx-line) !important; background: #fff !important; font-weight: 600; }
.btn-social:hover { border-color: var(--nx-blue-200) !important; background: var(--nx-blue-50) !important; }
@keyframes nxRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.section.my-auto { background: radial-gradient(900px 400px at 100% 0%, rgba(41, 130, 255, .1), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(41, 130, 255, .08), transparent 60%); }

/* ==========================================================================
   Cart · checkout
   ========================================================================== */
.cart-item { padding: 18px !important; transition: box-shadow .3s var(--nx-ease); }
.cart-item:hover { box-shadow: var(--nx-shadow); }
.cart-item img { border-radius: 12px; }
.payment-method { border-radius: 14px !important; border: 1.5px solid var(--nx-line) !important; transition: all .25s var(--nx-ease); }
.payment-method:hover { border-color: var(--nx-blue-200) !important; }
.payment-method.active, .payment-method input:checked + * { border-color: var(--nx-blue) !important; box-shadow: 0 0 0 4px rgba(41, 130, 255, .12); }

/* ==========================================================================
   Workspace (user dashboard)
   ========================================================================== */
.dashboard { background: var(--nx-bg); }
.dashboard-sidebar { background: linear-gradient(180deg, #0b1b3f 0%, #081634 100%) !important; }
.dashboard-sidebar .dashboard-sidebar-header, .dashboard-sidebar-header { background: transparent !important; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.dashboard-sidebar-link { border-radius: 12px !important; margin: 2px 10px; transition: all .25s var(--nx-ease) !important; }
.dashboard-sidebar-link:hover { background: rgba(255, 255, 255, .06) !important; }
.dashboard-sidebar-link.active, .dashboard-sidebar-link.current { background: linear-gradient(135deg, #3d8fff, #1557d0) !important; color: #fff !important; box-shadow: 0 10px 20px -10px rgba(41, 130, 255, .9); }
.dashboard-sidebar-links-title { color: #6f82a8 !important; letter-spacing: .1em; font-size: 11px !important; }
.dashboard-nav { background: rgba(255, 255, 255, .9) !important; -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--nx-line); }
.dashboard-card, .dashboard-counter, .dashboard-chart-card { transition: transform .3s var(--nx-ease), box-shadow .3s var(--nx-ease); }
.dashboard-counter:hover, .dashboard-card.dashboard-counter:hover { transform: translateY(-4px); box-shadow: var(--nx-shadow); }
.dashboard-counter .dashboard-counter-icon, .counter-icon { border-radius: 14px !important; }
.dashboard-tabs, .settings-links { border-radius: 16px; }
.dashboard-body { animation: nxFadeIn .45s var(--nx-ease); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    position: relative;
    background: radial-gradient(900px 400px at 100% 0%, rgba(41, 130, 255, .18), transparent 60%), linear-gradient(180deg, #0b1b3f 0%, #081634 100%) !important;
    border-top: 0 !important;
    color: #c4d1ea;
}
.nx-footer-glow { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(127, 182, 255, .6), transparent); }
.footer .footer-upper { padding-block: 72px 56px; }
.footer .logo img { height: 36px; width: auto; }
.footer .footer-text { color: var(--footer_text_color) !important; line-height: 1.75; font-size: 14.5px; }
.footer .footer-title { text-transform: none !important; margin-bottom: 18px !important; }
.footer .footer-title .h5 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.footer .footer-title .footer-title-divider { width: 22px !important; height: 3px !important; margin-top: 8px !important; }
.footer .footer-links a { position: relative; display: inline-block; }
.footer .footer-links a:hover { color: #fff !important; transform: translateX(4px); }
[dir="rtl"] .footer .footer-links a:hover { transform: translateX(-4px); }
.footer .social-btn { width: 40px; height: 40px; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 12px !important; background: rgba(255, 255, 255, .06) !important; border: 1px solid rgba(255, 255, 255, .1) !important; color: #dbe7ff !important; }
.footer .social-btn:hover { background: var(--nx-blue) !important; border-color: var(--nx-blue) !important; color: #fff !important; }
.footer-counter { padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.footer-counter .footer-counter-text { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.footer-counter .footer-counter-title { font-size: 12.5px; font-weight: 600; }
.footer .footer-lower { border-top: 1px solid rgba(255, 255, 255, .07) !important; }
.footer-payment { padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.footer-subscribe { border-radius: 20px; padding: 28px !important; background: linear-gradient(135deg, rgba(41, 130, 255, .25), rgba(41, 130, 255, .05)); border: 1px solid rgba(127, 182, 255, .2) !important; }
@media (max-width: 991.98px) {
    .footer .footer-upper { padding-block: 48px 36px; }
    .footer .footer-lower { padding-bottom: 20px; }
}

/* ==========================================================================
   Misc components
   ========================================================================== */
.cookies { border-radius: 20px !important; border: 1px solid var(--nx-line); box-shadow: var(--nx-shadow-lg) !important; padding: 24px !important; }
.cookies img, .cookies svg { max-height: 56px; }
@media (max-width: 575.98px) { .cookies { left: 12px !important; right: 12px; width: auto !important; max-width: none !important; } }
.vironeer-toast, .toast { border-radius: 14px !important; box-shadow: var(--nx-shadow-lg) !important; }
.empty, .dashboard-card-empty, .card-empty { border-radius: 18px; }
.text-premium { color: #f2a100 !important; }
.user-badge img, .author-badge img { transition: transform .3s var(--nx-spring); }
.user-badge img:hover { transform: scale(1.15) rotate(-6deg); }
.plyr--video, .plyr--audio { border-radius: 14px; }
.ck.ck-editor__main > .ck-editor__editable { border-radius: 0 0 12px 12px !important; }
.dropzone { border-radius: 16px !important; border: 2px dashed var(--nx-blue-200) !important; background: var(--nx-blue-50) !important; }
hr { border-color: var(--nx-line); opacity: 1; }
.list-group-item { border-color: var(--nx-line); }
.list-group-item.active { background: var(--nx-blue); border-color: var(--nx-blue); }

/* page entrance */
@keyframes nxFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.section > .container > .section-body { animation: nxFadeIn .55s var(--nx-ease) both; }

body > *:not(.nx-header):not(.nx-tabbar):not(.nx-drawer):not(.nx-progress) { transition: opacity .25s ease; }
body.nx-leaving > *:not(.nx-header):not(.nx-tabbar):not(.nx-drawer):not(.nx-progress):not(.announcement) { opacity: .55; }

/* reveal on scroll (for elements without AOS) */
.nx-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--nx-ease), transform .7s var(--nx-ease); transition-delay: var(--nx-delay, 0s); }
.nx-reveal.is-visible { opacity: 1; transform: none; }

/* skeleton shimmer for images while loading */
img.nx-loading { background: linear-gradient(100deg, #eef3fc 30%, #f8fbff 50%, #eef3fc 70%); background-size: 300% 100%; animation: nxShimmer 1.3s linear infinite; }
@keyframes nxShimmer { to { background-position: -150% 0; } }

/* touch devices: no sticky hover lift, crisper taps */
@media (hover: none) {
    .item:hover, .home-category:hover, .testimonial:hover, .blog-post:hover, .plan:hover { transform: none; }
    .item:hover .item-img { transform: none; }
    .item:active { transform: scale(.985); }
    .home-category:active { transform: scale(.96); }
}

/* app-like feel on phones */
@media (max-width: 991.98px) {
    :root { --nx-header-h: 62px; }
    .nx-logo img { height: 28px; }
    .nx-header-row { gap: 10px; }
    .nx-icon-btn { width: 40px; height: 40px; border-radius: 12px; }
    .nx-header-actions { gap: 6px; }
    .container-custom { padding-inline: 16px; }
    .item .item-body { padding: 14px !important; }
    .item-price .item-price-number { font-size: 18px; }
    input, select, textarea { font-size: 16px !important; } /* stops iOS zoom on focus */
}
@media (max-width: 575.98px) {
    .nx-header .nx-cart { display: none; } /* cart lives in the tab bar */
    .section .section-title-text { font-size: 24px; }
    .btn-md { padding: 10px 18px; }
}
@media (display-mode: standalone) {
    .announcement { display: none; }
    .nx-header { padding-top: env(safe-area-inset-top); }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .nx-reveal { opacity: 1; transform: none; }
}

/* ---------- Mobile: horizontal item rails (app-style) ---------- */
@media (max-width: 767.98px) {
    .nx-rail { flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px !important; padding: 4px 16px 14px; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; justify-content: flex-start !important; }
    .nx-rail::-webkit-scrollbar { display: none; }
    .nx-rail > .col { flex: 0 0 80% !important; max-width: 80% !important; scroll-snap-align: start; }
    .nx-rail > .col:only-child { flex-basis: 100% !important; max-width: 100% !important; }
    .categories-swiper .swiper-actions { display: none !important; }
    .categories-swiper { margin-inline: -16px; }
    .categories-swiper .swiper { padding: 4px 16px 12px; }
    .home-category { padding: 18px 10px 16px !important; border-radius: 18px !important; }
    .home-category .home-category-img img { width: 64px !important; height: 64px !important; border-radius: 16px; }
    .home-category .home-category-title { font-size: 13px; margin-top: 10px !important; }
    .section-header .section-title { align-items: center; }
    .announcement { padding: 8px 40px 8px 12px; font-size: 12.5px; }
    .announcement .announcement-text { flex-wrap: nowrap; justify-content: flex-start; gap: 8px; padding-inline-end: 30px; }
    .announcement .announcement-close { right: 0; }
    .announcement .announcement-text > span:not(.nx-announce-dot) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
    .nx-announce-btn { padding: 3px 10px; font-size: 12px; flex-shrink: 0; white-space: nowrap; }
}

/* ---------- Compact cookie bar ---------- */
.cookies { display: grid !important; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; max-width: 440px !important; padding: 18px !important; }
.cookies .cookies-img { grid-row: span 2; }
.cookies .cookies-img svg { width: 44px; height: 44px; }
.cookies .cookies-text { text-align: start !important; margin: 0 !important; font-size: 13.5px; line-height: 1.55; color: var(--nx-text); }
.cookies > .d-flex { justify-content: flex-start !important; gap: 8px; margin-top: 8px; }
.cookies > .d-flex .btn { padding: 8px 18px !important; margin: 0 !important; font-size: 14px; }
@media (max-width: 575.98px) {
    .cookies { grid-template-columns: 1fr; padding: 14px 16px !important; }
    .cookies .cookies-img { display: none; }
    .cookies .cookies-text { font-size: 13px; }
    .cookies > .d-flex .btn { flex: 1; }
}

/* ---------- Workspace sidebar refinements ---------- */
.dashboard-sidebar-link { margin: 0 0 4px !important; background: transparent !important; box-shadow: none !important; }
.dashboard-sidebar-link:hover { background: transparent !important; }
.dashboard-sidebar-link .dashboard-sidebar-link-title { background: transparent !important; border-radius: 12px !important; padding: 12px 16px !important; color: #b9c7e3 !important; font-weight: 600; font-size: 14.5px; transition: background-color .25s var(--nx-ease), color .25s var(--nx-ease), transform .25s var(--nx-ease) !important; }
.dashboard-sidebar-link .dashboard-sidebar-link-title i { color: #7f95c2; transition: color .25s; }
.dashboard-sidebar-link .dashboard-sidebar-link-title:hover { background: rgba(255, 255, 255, .06) !important; color: #fff !important; transform: translateX(3px); }
.dashboard-sidebar-link .dashboard-sidebar-link-title:hover i { color: #fff; }
.dashboard-sidebar-link.current > .dashboard-sidebar-link-title, .dashboard-sidebar-link.active > .dashboard-sidebar-link-title { background: linear-gradient(135deg, #3d8fff, #1557d0) !important; color: #fff !important; box-shadow: 0 10px 22px -10px rgba(41, 130, 255, .95); }
.dashboard-sidebar-link.current > .dashboard-sidebar-link-title i, .dashboard-sidebar-link.active > .dashboard-sidebar-link-title i { color: #fff; }
.dashboard-sidebar-link .dashboard-sidebar-link-menu a { color: #9fb0cf; border-radius: 10px; }
.dashboard-sidebar-link .dashboard-sidebar-link-menu a:hover, .dashboard-sidebar-link .dashboard-sidebar-link-menu a.current { color: #fff; }
.dashboard-balance { margin: 12px 10px 18px !important; border-radius: 16px !important; background: linear-gradient(135deg, rgba(41, 130, 255, .28), rgba(41, 130, 255, .08)) !important; border: 1px solid rgba(127, 182, 255, .2); padding: 14px 16px !important; }
.dashboard-balance .dashboard-balance-title { color: #9fc4ff !important; font-weight: 600; }
.dashboard-balance .dashboard-balance-number { color: #fff !important; font-size: 20px; font-weight: 800; }
.dashboard-balance .dashboard-balance-icon a { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; color: #fff; }
.dashboard-sidebar-header .logo img { height: 30px; width: auto; }
.dashboard-counter { border-radius: 18px !important; }
.dashboard-footer { background: transparent !important; }
.dashboard-sidebar-links { padding-inline: 10px; }

/* ---------- Workspace on phones ---------- */
@media (max-width: 991.98px) {
    .dashboard-body { padding-bottom: calc(var(--nx-tabbar-h) + 24px + env(safe-area-inset-bottom)); }
    .dashboard-container { padding-inline: 14px !important; }
}
@media (max-width: 767.98px) {
    .dashboard .row.g-3 > .col-12.col-lg-6:has(> .dashboard-counter) { flex: 0 0 50%; max-width: 50%; }
    .dashboard-counter { flex-direction: column; align-items: flex-start !important; gap: 10px; padding: 16px !important; height: 100%; }
    .dashboard-counter .dashboard-counter-icon { width: 44px !important; height: 44px !important; font-size: 18px !important; margin: 0 !important; }
    .dashboard-counter .dashboard-counter-title { font-size: 11.5px !important; letter-spacing: .03em; margin-bottom: 4px !important; }
    .dashboard-counter .dashboard-counter-number { font-size: 20px !important; font-weight: 800; margin: 0; }
    .settings-links { margin-inline: -14px; }
    .settings-links .settings-links-inner { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; gap: 8px; padding: 2px 14px 8px; scrollbar-width: none; }
    .settings-links .settings-links-inner::-webkit-scrollbar { display: none; }
    .settings-links .settings-link { flex-shrink: 0; white-space: nowrap; margin: 0 !important; padding: 9px 14px !important; font-size: 14px; }
    .dashboard-container h3 { font-size: 24px; }
}
.settings-link { border-radius: 12px !important; font-weight: 600; transition: all .25s var(--nx-ease); }
.settings-link.active { background: var(--nx-blue) !important; color: #fff !important; box-shadow: 0 8px 18px -10px rgba(41, 130, 255, .9); }

/* profile header */
.header-profile .user-avatar img { border: 4px solid #fff; border-radius: 22px !important; box-shadow: var(--nx-shadow); background: #fff; }
.header-profile .nav-tabs, .section-profile .nav-tabs { border-color: transparent; }
.user-avatar img { object-fit: cover; }
.error-card .btn, .error-card a.btn { border-radius: 12px !important; }

/* ==========================================================================
   v2 — ALL-BLUE PALETTE (no red / orange / yellow / green accents)
   ========================================================================== */
:root { --nx-blue-800: #0f3a99; --nx-sky: #7fb6ff; }
.nx-badge, .nx-tab-badge { background: var(--nx-blue) !important; }
.nx-announce-dot, .nx-eyebrow-dot { background: #9fd0ff !important; animation-name: nxPulseBlue !important; }
@keyframes nxPulseBlue { 0% { box-shadow: 0 0 0 0 rgba(159, 208, 255, .7); } 70% { box-shadow: 0 0 0 10px rgba(159, 208, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(159, 208, 255, 0); } }
.nx-hero-stat strong i { color: #9fd0ff; }
.nx-hex-4 { background: linear-gradient(160deg, rgba(159, 208, 255, .45), rgba(159, 208, 255, .02)) !important; }
.nx-premium-btn { color: var(--nx-blue-700) !important; background: linear-gradient(135deg, #eef5ff, #dceaff) !important; border-color: var(--nx-blue-200) !important; }
.nx-premium-btn i { color: var(--nx-blue) !important; }
.nx-premium-btn:hover { box-shadow: 0 10px 20px -10px rgba(41, 130, 255, .7) !important; }
.btn.btn-premium { background: linear-gradient(135deg, #3d8fff, #1557d0) !important; border-color: transparent !important; color: #fff !important; }
.btn.btn-outline-premium { color: var(--nx-blue) !important; border-color: var(--nx-blue-200) !important; background: #fff !important; }
.btn.btn-outline-premium:hover { background: var(--nx-blue) !important; color: #fff !important; }
.text-premium { color: var(--nx-blue) !important; }
.border-premium { border-color: var(--nx-blue) !important; }
.item-badge, .item-badge.item-badge-premium, .item-badge.item-badge-trending, .item-badge.item-badge-sale, .item-badge.item-badge-free { color: #fff !important; }
.item-badge.item-badge-premium { background: linear-gradient(135deg, #0b1b3f, #1557d0) !important; }
.item-badge.item-badge-trending { background: linear-gradient(135deg, #3d8fff, #1a6cf0) !important; }
.item-badge.item-badge-sale { background: linear-gradient(135deg, #1a6cf0, #0f3a99) !important; }
.item-badge.item-badge-free { background: linear-gradient(135deg, #0f3a99, #0b1b3f) !important; }
.ratings i, .item-ratings i, .rating-stars i, .fa-star, .ratings .fa-star, .ratings-selective i { color: var(--nx-blue) !important; }
.ratings .fa-regular.fa-star, .rating-stars .fa-regular.fa-star { color: var(--nx-blue-200) !important; }
.text-danger { color: var(--nx-blue-800) !important; }
.drop-down .drop-down-menu .drop-down-item.text-danger, .drop-down .drop-down-menu .drop-down-item.text-danger i { color: var(--nx-ink) !important; }
.drop-down .drop-down-menu .drop-down-item.text-danger:hover { background: var(--nx-blue-50) !important; color: var(--nx-blue-700) !important; }
.text-success { color: var(--nx-blue-700) !important; }
.text-warning { color: var(--nx-blue) !important; }
.badge.bg-success, .bg-success { background-color: var(--nx-blue) !important; }
.badge.bg-warning, .bg-warning { background-color: var(--nx-sky) !important; color: #0b1b3f !important; }
.badge.bg-danger, .bg-danger { background-color: var(--nx-navy) !important; }
.btn-success { background: var(--nx-blue) !important; border-color: var(--nx-blue) !important; }
.btn-danger { background: var(--nx-navy) !important; border-color: var(--nx-navy) !important; }
.btn-outline-danger { color: var(--nx-navy) !important; border-color: var(--nx-line) !important; }
.btn-outline-danger:hover { background: var(--nx-navy) !important; color: #fff !important; }
.alert-success, .alert-warning, .alert-danger { background: var(--nx-blue-50) !important; border-color: var(--nx-blue-100) !important; color: var(--nx-blue-800) !important; }
.alert-danger .alert-heading, .alert-warning .alert-heading { color: var(--nx-ink) !important; }
.dashboard-counter .dashboard-counter-icon, .dashboard-counter.dashboard-counter-warning .dashboard-counter-icon, .dashboard-counter.dashboard-counter-danger .dashboard-counter-icon, .dashboard-counter.dashboard-counter-info .dashboard-counter-icon, .dashboard-counter.dashboard-counter-secondary .dashboard-counter-icon { color: var(--nx-blue) !important; }
.dashboard-counter .dashboard-counter-icon::before, .dashboard-counter.dashboard-counter-warning .dashboard-counter-icon::before, .dashboard-counter.dashboard-counter-danger .dashboard-counter-icon::before, .dashboard-counter.dashboard-counter-info .dashboard-counter-icon::before, .dashboard-counter.dashboard-counter-secondary .dashboard-counter-icon::before { background-color: var(--nx-blue) !important; }
.dashboard-counter .dashboard-counter-number, .dashboard-counter.dashboard-counter-warning .dashboard-counter-number, .dashboard-counter.dashboard-counter-danger .dashboard-counter-number, .dashboard-counter.dashboard-counter-info .dashboard-counter-number, .dashboard-counter.dashboard-counter-secondary .dashboard-counter-number { color: var(--nx-ink) !important; font-weight: 800; }
.dashboard-counter.dashboard-counter-danger .dashboard-counter-icon, .dashboard-counter:nth-child(odd) .dashboard-counter-icon { color: var(--nx-blue-700) !important; }
.social-btn, .share-buttons a, .share-buttons .btn, [class*="social-"].social-btn { background: var(--nx-blue-50) !important; color: var(--nx-blue-700) !important; border: 1px solid var(--nx-blue-100) !important; }
.social-btn:hover, .share-buttons a:hover { background: var(--nx-blue) !important; color: #fff !important; }
.footer .social-btn { background: rgba(255, 255, 255, .06) !important; color: #dbe7ff !important; border-color: rgba(255, 255, 255, .1) !important; }
.nx-drawer-premium { background: var(--nx-blue-50) !important; }
.nx-drawer-premium-icon { background: linear-gradient(135deg, #3d8fff, #1557d0) !important; }
.testimonial .testimonial-quote { background: var(--nx-blue) !important; }
.plyr { --plyr-color-main: #2982ff; }
.item-price-number { color: var(--nx-ink); }
.form-check-input:checked { background-color: var(--nx-blue) !important; border-color: var(--nx-blue) !important; }

/* ==========================================================================
   v2 — MOBILE APP SHELL (< 992px)
   ========================================================================== */
.nx-back { display: inline-flex; }
@media (max-width: 991.98px) {
    /* flat, native-style tab bar */
    .nx-tabbar {
        left: 0 !important; right: 0 !important; bottom: 0 !important;
        height: calc(64px + env(safe-area-inset-bottom)) !important;
        padding: 6px 6px env(safe-area-inset-bottom) !important;
        border-radius: 0 !important;
        border: 0 !important;
        border-top: 1px solid var(--nx-line) !important;
        background: rgba(255, 255, 255, .96) !important;
        box-shadow: 0 -8px 24px -18px rgba(11, 27, 63, .35) !important;
        align-items: stretch;
    }
    .nx-tab { font-size: 10.5px; gap: 4px; color: #8f9cb4; }
    .nx-tab i { font-size: 20px; }
    .nx-tab.active { color: var(--nx-blue); }
    .nx-tab.active::before { top: 5px; width: 54px; height: 30px; border-radius: 12px; }
    .nx-tab-badge { top: 4px; margin-left: 6px; }
    .nx-tabbar.is-hidden { transform: none; }
    :root { --nx-tabbar-h: 64px; }
    .footer { display: none !important; }
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
    .cookies { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
    .cookies:not(.show) { bottom: -150% !important; }

    /* app bar */
    .nx-header { border-bottom-color: transparent; background: rgba(245, 248, 255, .9); }
    .nx-header.is-scrolled { background: rgba(255, 255, 255, .95); border-bottom-color: var(--nx-line); }
    .nx-header .nx-cart { display: inline-flex !important; }
    .nx-logo img { height: 26px; }
    .nx-back + .nx-logo img { height: 24px; }

    /* inner page titles: big, left, no breadcrumbs */
    .header-bg, .header-sm:not(.header-image) { background: transparent !important; border-bottom: 0; }
    .header-bg::after, .header-sm:not(.header-image)::after { display: none; }
    .header-bg .header-inner, .header-sm .header-inner { padding: 10px 0 6px !important; min-height: 0 !important; }
    .header-bg .breadcrumb, .header-sm .breadcrumb, .section-header .breadcrumb, .nx-item-page .breadcrumb { display: none !important; }
    .header-bg .header-title, .header-sm .header-title { font-size: 28px !important; text-align: start; }
    .header-bg .header-container, .header-sm .header-container { text-align: start; }
    .header-bg + .section, .header-sm + .section { padding-top: 12px; }
    .header-bg .form-search, .header-bg form .form-search { margin-top: 4px; }

    /* sections like an app */
    .nx-hide-m { display: none !important; }
    .section { padding-top: 22px; padding-bottom: 10px; }
    .section-header { margin-bottom: 12px !important; }
    .section-header > .row { justify-content: space-between !important; flex-wrap: nowrap !important; align-items: center !important; }
    .nx-item-page .section-header > .row { flex-wrap: wrap !important; }
    .section-header .col-lg-7 { width: 100%; }
    .section .section-title { margin-bottom: 0 !important; align-items: flex-start !important; text-align: start; }
    .section .section-title-text { font-size: 19px !important; letter-spacing: -.02em; }
    .section .section-title-divider, .section .section-text { display: none !important; }
    .section-header { text-align: start !important; }
    .nx-see-all { flex-shrink: 0; }
    .nx-see-all a { font-size: 13.5px; font-weight: 700; }
    .nx-see-all i { display: none; }
    .section-body > .text-center.mt-5 { margin-top: 14px !important; }
    .section-body > .text-center.mt-5 .btn { width: 100%; }

    /* compact cards in rails */
    .nx-rail > .col { flex: 0 0 72% !important; max-width: 72% !important; }
    .item { border-radius: 22px !important; box-shadow: 0 10px 24px -18px rgba(11, 27, 63, .35) !important; }
    .item .item-body { padding: 12px 14px 14px !important; }
    .item .item-title { font-size: 15px !important; }
    .item .item-text { font-size: 12px !important; margin-bottom: 6px !important; }
    .item .item-purchase { padding-top: 10px; border-top: 0; }
    .item .item-purchase .btn-outline-secondary { display: none !important; }
    .item .item-purchase .col:has(> .btn-outline-secondary) { display: none; }
    .item-price .item-price-number { font-size: 18px; }
    .item-badge { top: 10px !important; inset-inline-start: 10px !important; left: 10px; font-size: 10px !important; padding: 5px 9px !important; }
}

/* ---------- Mobile home ---------- */
.nx-mhome { padding: 4px 0 6px; }
.nx-hello p { color: var(--nx-muted); font-size: 13.5px; font-weight: 500; margin: 0; }
.nx-hello h1 { font-size: 26px; line-height: 1.18; font-weight: 800; letter-spacing: -.035em; color: var(--nx-ink); margin: 4px 0 0; }
.nx-hello h1 span { color: var(--nx-blue); }
.nx-msearch { display: flex; gap: 10px; margin-top: 16px; }
.nx-msearch-in { flex: 1; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--nx-line), 0 8px 18px -12px rgba(11, 27, 63, .3); margin: 0; cursor: text; transition: box-shadow .25s var(--nx-ease); }
.nx-msearch-in:focus-within { box-shadow: 0 0 0 2px var(--nx-blue), 0 8px 18px -12px rgba(41, 130, 255, .5); }
.nx-msearch-in i { color: var(--nx-ink); }
.nx-msearch-in input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; font-weight: 500; color: var(--nx-ink); min-width: 0; }
.nx-msearch-in input::placeholder { color: #97a3b9; }
.nx-msearch-btn { width: 52px; height: 52px; flex-shrink: 0; border: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff !important; font-size: 17px; background: linear-gradient(135deg, #4a97ff, #1557d0); box-shadow: 0 12px 22px -10px rgba(41, 130, 255, .9); }
.nx-msearch-btn:active { transform: scale(.94); }
.nx-promo-wrap { margin-top: 18px; }
.nx-promo-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 24px; }
.nx-promo-track::-webkit-scrollbar { display: none; }
.nx-promo { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: 158px; padding: 20px; border-radius: 24px; overflow: hidden; color: #fff !important; background: linear-gradient(120deg, #0b1b3f 0%, #163f9e 55%, #2982ff 100%); display: flex; flex-direction: column; align-items: flex-start; }
.nx-promo:nth-child(2) { background: linear-gradient(120deg, #0f3a99 0%, #1a6cf0 60%, #5aa2ff 100%); }
.nx-promo:nth-child(3) { background: linear-gradient(120deg, #081634 0%, #0f3a99 60%, #2982ff 100%); }
.nx-promo strong { position: relative; z-index: 1; display: block; font-size: 20px; line-height: 1.22; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 14px; max-width: 64%; }
.nx-promo-tag { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nx-promo-tag b { width: 6px; height: 6px; border-radius: 50%; background: #9fd0ff; }
.nx-promo-btn { position: relative; z-index: 1; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 12px; background: #fff; color: var(--nx-blue-700); font-weight: 700; font-size: 13px; }
.nx-hexs { position: absolute; aspect-ratio: 1.1547 / 1; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.nx-hexs-1 { width: 160px; right: -24px; top: -16px; background: linear-gradient(160deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .03)); animation: nxFloat 12s ease-in-out infinite; }
.nx-hexs-2 { width: 86px; right: 76px; bottom: -16px; background: rgba(127, 182, 255, .35); animation: nxFloat 9s ease-in-out infinite reverse; }
.nx-hexs-3 { width: 66px; right: 20px; bottom: 20px; background: #fff; display: flex; align-items: center; justify-content: center; }
.nx-hexs-3 img { width: 34px; height: 34px; object-fit: contain; }
.nx-promo-dots { display: flex; justify-content: center; gap: 5px; margin-top: 10px; }
.nx-promo-dots i { width: 6px; height: 6px; border-radius: 6px; background: #c8d6ee; transition: width .3s var(--nx-ease), background .3s; }
.nx-promo-dots i.active { width: 20px; background: var(--nx-blue); }
.nx-mhead { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 12px; }
.nx-mhead h2 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--nx-ink); margin: 0; }
.nx-mhead a { font-size: 13.5px; font-weight: 700; }
.nx-mcats { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; scroll-padding-inline: 16px; }
.nx-mcats::-webkit-scrollbar { display: none; }
.nx-mcat { flex: 0 0 70px; max-width: 70px; text-align: center; scroll-snap-align: start; color: var(--nx-ink) !important; }
.nx-mcat-ic { width: 66px; height: 66px; margin: 0 auto; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px var(--nx-line); transition: transform .3s var(--nx-spring); }
.nx-mcat-ic img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.nx-mcat.active .nx-mcat-ic { background: linear-gradient(135deg, #4a97ff, #1557d0); box-shadow: 0 10px 18px -8px rgba(41, 130, 255, .9); color: #fff; font-size: 22px; }
.nx-mcat small { display: block; margin-top: 7px; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-mcat:active .nx-mcat-ic { transform: scale(.92); }

/* ---------- Explore (all widths) ---------- */
.nx-explore-search { margin: 0 0 14px; max-width: 640px; }
.nx-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 16px; padding-bottom: 2px; }
.nx-chips::-webkit-scrollbar { display: none; }
.nx-chip-pill { flex-shrink: 0; padding: 9px 16px; border-radius: 30px; background: #fff; color: var(--nx-text) !important; font-weight: 700; font-size: 13.5px; box-shadow: 0 0 0 1px var(--nx-line); }
.nx-chip-pill:hover { box-shadow: 0 0 0 1px var(--nx-blue-200); color: var(--nx-blue-700) !important; background: var(--nx-blue-50); }
.nx-chip-pill.active { background: var(--nx-ink); color: #fff !important; box-shadow: none; }
.nx-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
@media (min-width: 768px) { .nx-tiles { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1200px) { .nx-tiles { grid-template-columns: repeat(4, 1fr); } }
.nx-tile { position: relative; background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--nx-line); overflow: hidden; transition: transform .3s var(--nx-ease), box-shadow .3s var(--nx-ease); }
.nx-tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--nx-blue-200), var(--nx-shadow); }
.nx-tile-main { display: block; padding: 16px; color: var(--nx-ink) !important; }
.nx-tile-main strong { display: block; margin-top: 12px; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.nx-tile-main small { display: block; margin-top: 2px; color: var(--nx-muted); font-size: 12.5px; font-weight: 500; }
.nx-tile-ic { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 21px; background: linear-gradient(135deg, #4a97ff, #1557d0); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); aspect-ratio: 1.1547 / 1; width: 60px; height: auto; }
.nx-tile-ic-white { background: #fff; }
.nx-tile-ic-white img { width: 32px; height: 32px; object-fit: contain; }
.nx-tile-go { position: absolute; top: 16px; inset-inline-end: 16px; width: 30px; height: 30px; border-radius: 10px; background: var(--nx-blue-50); color: var(--nx-blue); display: flex; align-items: center; justify-content: center; font-size: 11px; transition: transform .3s var(--nx-ease); }
.nx-tile:hover .nx-tile-go { transform: translateX(3px); }
.nx-tile-subs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 16px; }
.nx-sub-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 10px; background: var(--nx-blue-50); color: var(--nx-blue-700) !important; font-size: 12.5px; font-weight: 700; }
.nx-sub-chip em { font-style: normal; font-size: 10.5px; background: #fff; border-radius: 6px; padding: 1px 6px; color: var(--nx-blue); }
.nx-sub-chip:hover { background: var(--nx-blue); color: #fff !important; }
.nx-tile-feature { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 16px; background: linear-gradient(120deg, #0b1b3f, #1a4fc4 70%, #2982ff); color: #fff !important; box-shadow: none; }
.nx-tile-feature .nx-tile-txt strong { display: block; font-size: 16px; font-weight: 800; }
.nx-tile-feature .nx-tile-txt small { color: #b9cdf3; font-size: 12.5px; }
.nx-tile-feature .nx-tile-go { position: static; margin-inline-start: auto; background: rgba(255, 255, 255, .15); color: #fff; }
@media (max-width: 767.98px) {
    .nx-tile-subs { display: none; }
    .nx-tile-main strong { font-size: 15px; }
}

/* ---------- Me page ---------- */
.nx-me { padding: 8px 0 30px; }
.nx-me-inner { max-width: 640px; margin: 0 auto; }
.nx-page-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 14px; }
.nx-page-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.035em; margin: 0; }
.nx-pro { position: relative; overflow: hidden; border-radius: 26px; padding: 18px; color: #fff; background: linear-gradient(125deg, #0b1b3f, #1a4fc4 70%, #2982ff); box-shadow: 0 20px 40px -24px rgba(21, 87, 208, .8); }
.nx-pro-hex { position: absolute; width: 170px; aspect-ratio: 1.1547 / 1; right: -40px; top: -40px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: rgba(255, 255, 255, .1); animation: nxFloat 14s ease-in-out infinite; }
.nx-pro-top { position: relative; display: flex; align-items: center; gap: 12px; }
.nx-pro-avatar { width: 54px; height: 54px; border-radius: 17px; object-fit: cover; background: #fff; border: 2px solid rgba(255, 255, 255, .5); }
.nx-pro-name strong { display: block; font-size: 18px; font-weight: 800; }
.nx-pro-name small { color: #b9cdf3; font-size: 12.5px; }
.nx-pro-edit { margin-inline-start: auto; width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .15); color: #fff !important; }
.nx-pro-bal { position: relative; margin-top: 16px; display: flex; align-items: flex-end; justify-content: space-between; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.nx-pro-bal small { display: block; color: #b9cdf3; font-size: 12px; font-weight: 600; }
.nx-pro-bal strong { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.nx-pro-bal a { padding: 8px 13px; border-radius: 12px; background: #fff; color: var(--nx-blue-700) !important; font-weight: 700; font-size: 13px; }
.nx-pro-guest { text-align: center; padding: 26px 20px; }
.nx-pro-logo { position: relative; width: 60px; height: 60px; padding: 8px; border-radius: 18px; background: #fff; object-fit: contain; }
.nx-pro-guest strong { position: relative; display: block; font-size: 20px; font-weight: 800; margin-top: 12px; }
.nx-pro-guest small { position: relative; display: block; color: #c4d6f6; font-size: 13.5px; margin-top: 4px; }
.nx-pro-actions { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.nx-pro-actions .btn { padding: 12px; }
.nx-btn-white { background: #fff !important; color: var(--nx-blue-700) !important; border: 0 !important; }
.nx-pro-actions .btn-light { background: rgba(255, 255, 255, .14) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .25) !important; }
.nx-qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.nx-qa-item { text-align: center; color: var(--nx-ink) !important; font-size: 11.5px; font-weight: 600; }
.nx-qa-item span { width: 60px; height: 60px; margin: 0 auto 7px; border-radius: 19px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--nx-blue); background: #fff; box-shadow: 0 0 0 1px var(--nx-line); transition: transform .3s var(--nx-spring), background .25s, color .25s; }
.nx-qa-item:hover span { background: var(--nx-blue); color: #fff; }
.nx-qa-item:active span { transform: scale(.9); }
.nx-list-label { margin: 20px 6px 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--nx-muted); }
.nx-list { background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--nx-line); overflow: hidden; }
.nx-li { display: flex; align-items: center; gap: 12px; padding: 13px 14px; font-size: 14.5px; font-weight: 600; color: var(--nx-ink) !important; border-bottom: 1px solid #eef2f9; }
.nx-li:last-child { border-bottom: 0; }
.nx-li:hover { background: var(--nx-blue-50); }
.nx-li-ic { width: 36px; height: 36px; flex-shrink: 0; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--nx-blue-50); color: var(--nx-blue); font-size: 14px; }
.nx-li-ch { margin-inline-start: auto; color: #b4bfd2; font-size: 12px; }
.nx-li-out { color: var(--nx-blue-800) !important; }
.nx-li-out .nx-li-ic { background: var(--nx-ink); color: #fff; }
.nx-me-currency { margin-top: 16px; }
.nx-me-currency .drop-down-btn { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--nx-line); font-weight: 600; }
.nx-me-currency .drop-down-btn-img img, .nx-me-currency .drop-down-item-img img { width: 22px; height: 22px; border-radius: 50%; }
.nx-me-currency .drop-down-item { display: flex !important; align-items: center; gap: 8px; }
.nx-me-copy { text-align: center; color: var(--nx-muted); font-size: 12.5px; margin: 22px 0 0; }

/* ---------- Item page on phones ---------- */
.nx-mitem-hero { position: relative; margin-top: calc(-1 * var(--nx-header-h)); }
.nx-mitem-hero img { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: cover; }
.nx-mitem-hero::after { content: ""; position: absolute; inset: 0 0 auto; height: 90px; background: linear-gradient(180deg, rgba(6, 16, 44, .35), transparent); pointer-events: none; }
.nx-mitem-top { position: absolute; z-index: 2; top: calc(var(--nx-header-h) + 10px); left: 16px; right: 16px; display: flex; justify-content: space-between; }
.nx-glass-btn { width: 42px; height: 42px; border: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .92); color: var(--nx-ink) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); position: relative; overflow: hidden; }
.nx-buybar { position: fixed; z-index: 1041; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--nx-line); box-shadow: 0 -12px 30px -18px rgba(11, 27, 63, .35); animation: nxUp .45s var(--nx-ease); }
@keyframes nxUp { from { transform: translateY(100%); } to { transform: none; } }
.nx-buybar-price small { display: block; font-size: 11.5px; color: var(--nx-muted); font-weight: 600; }
.nx-buybar-price strong { font-size: 22px; font-weight: 800; color: var(--nx-ink); letter-spacing: -.02em; display: inline-block; }
.nx-bump { animation: nxPop .45s var(--nx-spring); }
.nx-buybar-cart { margin-inline-start: auto; width: 52px; height: 52px; border: 0; border-radius: 16px; background: var(--nx-blue-50); color: var(--nx-blue); font-size: 18px; position: relative; overflow: hidden; }
.nx-buybar-main { margin-inline-start: auto; height: 52px; padding: 0 22px; border: 0; border-radius: 16px; display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 700; font-size: 15px; background: linear-gradient(135deg, #4a97ff, #1557d0); box-shadow: 0 12px 22px -10px rgba(41, 130, 255, .9); position: relative; overflow: hidden; }
.nx-buybar-cart + .nx-buybar-main { margin-inline-start: 0; }
.nx-buybar-main:disabled, .nx-buybar-cart:disabled { opacity: .5; }
.nx-buybar form { margin-inline-start: auto; }
@media (max-width: 991.98px) {
    body:has(.nx-buybar) .nx-tabbar { display: none !important; }
    body:has(.nx-buybar) { padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
    body:has(.nx-mitem-hero) .nx-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border: 0; pointer-events: none; opacity: 0; }
    body:has(.nx-mitem-hero) .nx-header.is-scrolled { background: rgba(255, 255, 255, .95); opacity: 1; pointer-events: auto; border-bottom: 1px solid var(--nx-line); transition: opacity .3s; }
    body:has(.nx-mitem-hero) .nx-mitem-hero { margin-top: 0; }
    body:has(.nx-mitem-hero) .nx-mitem-top { top: calc(10px + env(safe-area-inset-top)); }
    .nx-has-mhero { position: relative; z-index: 2; margin-top: -28px; border-radius: 28px 28px 0 0; background: var(--background_color); padding-top: 22px !important; }
    .nx-has-mhero .item-single-img { display: none; }
    .nx-has-mhero .nx-m-hide { display: none !important; }
    .nx-has-mhero .item-single-preview > .item-badge { display: none; }
    .nx-item-page .section-header .row.row-cols-auto { flex-wrap: wrap; row-gap: 6px; }
    .nx-item-page .section-header .col-auto.d-inline.d-lg-none { display: none !important; }
    .nx-item-page .item-single-title { font-size: 24px !important; }
    .nx-item-page .section-header .btn { border-radius: 12px; }
    .nx-item-page .tabs-custom .row.row-cols-1 { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 0 16px 4px; }
    .nx-item-page .tabs-custom .row.row-cols-1::-webkit-scrollbar { display: none; }
    .nx-item-page .tabs-custom .row.row-cols-1 > .col { flex: 0 0 auto; width: auto; }
    .nx-item-page .tabs-custom .row.row-cols-1 > .col .btn { width: auto !important; white-space: nowrap; border-radius: 30px; padding: 9px 16px; }
    .nx-item-page .card-v { border-radius: 22px !important; }
}

/* ---------- Phones: 2-column product grid on list pages ---------- */
@media (max-width: 767.98px) {
    .items > .row.row-cols-1 { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
    .items > .row.row-cols-1 > .col:not(.w-100) { flex: 0 0 50%; max-width: 50%; }
    .items > .row > .col:not(.w-100) .item { border-radius: 18px !important; }
    .items > .row > .col:not(.w-100) .item .item-body { padding: 10px 11px 12px !important; }
    .items > .row > .col:not(.w-100) .item .item-title { font-size: 13.5px !important; margin-bottom: 2px !important; }
    .items > .row > .col:not(.w-100) .item .item-text { display: none; }
    .items > .row > .col:not(.w-100) .item .item-ratings { margin-bottom: 4px; }
    .items > .row > .col:not(.w-100) .item .item-ratings .col:first-child i { font-size: 10px; }
    .items > .row > .col:not(.w-100) .item .item-sales { display: none; }
    .items > .row > .col:not(.w-100) .item .item-purchase { padding-top: 6px; }
    .items > .row > .col:not(.w-100) .item .item-purchase > .row { flex-wrap: nowrap; --bs-gutter-x: 6px; }
    .items > .row > .col:not(.w-100) .item .item-price-number { font-size: 16px; }
    .items > .row > .col:not(.w-100) .item .item-price-through { display: none; }
    .items > .row > .col:not(.w-100) .item .item-purchase .btn { width: 34px; height: 34px; border-radius: 11px; font-size: 13px; }
    .items > .row > .col:not(.w-100) .item-badge { font-size: 9px !important; padding: 4px 7px !important; top: 8px !important; inset-inline-start: 8px !important; left: 8px; }
    .dashboard-nav .dashboard-toggle-btn { display: none !important; }
    .dashboard-nav .logo-toggle { margin-inline-start: 10px !important; }
    .dashboard-nav .nx-back { width: 40px; height: 40px; }
}

/* ==========================================================================
   v3 — SOFT & CLEAN (calm motion, light hero, light footer)
   ========================================================================== */
:root { --nx-bg: #f7f9fd; }
body { background: #f7f9fd !important; }
body.bg-white { background: #fff !important; }

/* no scroll animations anywhere */
[data-aos], [data-aos].aos-animate { opacity: 1 !important; transform: none !important; transition: none !important; }
.nx-reveal { opacity: 1 !important; transform: none !important; }
.section > .container > .section-body, .dashboard-body, .sign-box .card-v { animation: none !important; }
.nx-progress { display: none !important; }
.nx-hex, .nx-hexs-1, .nx-hexs-2, .nx-pro-hex, .header-bg::after, .header-sm:not(.header-image)::after { animation: none !important; }
.header-bg::after, .header-sm:not(.header-image)::after { display: none !important; }
.nx-header.is-scrolled.is-down .nx-header-sub { margin-top: 0 !important; opacity: 1 !important; pointer-events: auto !important; }
.btn:active { transform: none; }

/* calmer buttons */
.btn-primary, .btn-primary:disabled, .btn-primary.disabled { background: var(--nx-blue) !important; box-shadow: 0 6px 14px -8px rgba(41, 130, 255, .55) !important; }
.btn-primary:hover, .btn-primary:focus { background: var(--nx-blue-600) !important; transform: none !important; box-shadow: 0 8px 18px -10px rgba(41, 130, 255, .7) !important; }

/* calmer cards */
.item { box-shadow: 0 1px 2px rgba(11, 27, 63, .04) !important; border-color: #e8eef8 !important; }
.item:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(11, 27, 63, .22) !important; border-color: var(--nx-blue-100) !important; }
.item:hover .item-img { transform: scale(1.025); }
.item .item-header::after { display: none; }
.home-category:hover, .testimonial:hover, .plan:hover, .blog-post:hover, .nx-tile:hover { transform: translateY(-2px) !important; }

/* ---------- clean desktop hero ---------- */
.nx-hero2 {
    position: relative;
    background:
        radial-gradient(700px 320px at 50% -60px, rgba(41, 130, 255, .10), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
    border-bottom: 1px solid #eef2f9;
}
.nx-hero2-inner { max-width: 780px; margin: 0 auto; padding: 84px 0 76px; text-align: center; }
.nx-hero2-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 30px; background: var(--nx-blue-50); color: var(--nx-blue-700); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.nx-hero2 h1 { font-size: clamp(34px, 3.6vw, 50px); line-height: 1.14; font-weight: 800; letter-spacing: -.035em; color: var(--nx-ink); margin: 0 0 16px; text-wrap: balance; }
.nx-hero2 h1 span { color: var(--nx-blue); }
.nx-hero2 p { font-size: 17px; line-height: 1.7; color: #5b6880; max-width: 620px; margin: 0 auto; text-wrap: balance; }
.nx-hero2 .header-search { max-width: 640px; margin: 32px auto 0; }
.nx-hero2 .search .search-input input { box-shadow: 0 0 0 1px #e3eaf6, 0 12px 30px -18px rgba(11, 27, 63, .25) !important; padding: 20px 150px 20px 54px !important; }
.nx-hero2 .search .search-input input:focus { box-shadow: 0 0 0 2px var(--nx-blue), 0 12px 30px -18px rgba(41, 130, 255, .35) !important; }
.nx-hero2-tags { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: 13.5px; }
.nx-hero2-tags span { color: var(--nx-muted); font-weight: 600; margin-inline-end: 2px; }
.nx-hero2-tags a { padding: 5px 13px; border-radius: 30px; background: #fff; border: 1px solid #e3eaf6; color: var(--nx-text); font-weight: 600; }
.nx-hero2-tags a:hover { border-color: var(--nx-blue-200); color: var(--nx-blue-700); background: var(--nx-blue-50); }

/* ---------- light footer ---------- */
.footer { background: #fff !important; border-top: 1px solid #eef2f9 !important; color: var(--nx-text); }
.footer .footer-upper { padding-block: 56px 40px; }
.footer .footer-text { color: #66748c !important; }
.footer .footer-title .h5 { color: var(--nx-ink) !important; }
.footer .footer-title .footer-title-divider { display: none; }
.footer .footer-links a { color: #66748c !important; }
.footer .footer-links a:hover { color: var(--nx-blue) !important; transform: none; }
.footer .footer-lower { border-top: 1px solid #eef2f9 !important; }
.footer .footer-copyright { color: #8a96ab !important; }
.footer .social-btn { background: var(--nx-blue-50) !important; border: 0 !important; color: var(--nx-blue-700) !important; }
.footer .social-btn:hover { background: var(--nx-blue) !important; color: #fff !important; }

/* ---------- inner page header: soft ---------- */
.header-bg, .header-sm:not(.header-image) { background: linear-gradient(180deg, #ffffff, #f7f9fd) !important; border-bottom: 1px solid #eef2f9; }

/* ---------- mobile: soft promo + profile cards ---------- */
.nx-promo, .nx-promo:nth-child(2), .nx-promo:nth-child(3) { background: linear-gradient(135deg, #eaf3ff 0%, #dceaff 100%) !important; color: var(--nx-ink) !important; box-shadow: inset 0 0 0 1px #d6e5fb; }
.nx-promo strong { color: var(--nx-ink); }
.nx-promo-tag { background: #fff !important; border-color: #d6e5fb !important; color: var(--nx-blue-700); }
.nx-promo-tag b { background: var(--nx-blue) !important; }
.nx-promo-btn { background: var(--nx-blue) !important; color: #fff !important; }
.nx-hexs-1 { background: rgba(41, 130, 255, .10) !important; }
.nx-hexs-2 { background: rgba(41, 130, 255, .16) !important; }
.nx-hexs-3 { box-shadow: 0 10px 20px -10px rgba(41, 130, 255, .5); }
.nx-pro { background: linear-gradient(135deg, #3d8fff 0%, #2982ff 55%, #1f74f0 100%) !important; box-shadow: 0 16px 34px -22px rgba(41, 130, 255, .9) !important; }
.nx-pro-name small, .nx-pro-bal small, .nx-pro-guest small { color: #dbe9ff !important; }
.nx-tile-feature { background: linear-gradient(135deg, #3d8fff, #2982ff) !important; }
.nx-tile-feature .nx-tile-txt small { color: #dbe9ff !important; }
.nx-mcat.active .nx-mcat-ic, .nx-msearch-btn, .nx-buybar-main { background: var(--nx-blue) !important; }
.nx-tile-ic { background: var(--nx-blue) !important; }
.nx-tile-ic-white { background: #fff !important; }
.section { padding-top: 64px; padding-bottom: 64px; }
@media (max-width: 991.98px) { .section { padding-top: 22px; padding-bottom: 10px; } }

/* page content (privacy, terms...) easier to read */
.card-v .article-body h3, .page-body h3, .card-v h3 { font-size: 19px; font-weight: 700; margin-top: 26px; margin-bottom: 10px; }
.card-v ul, .card-v ol { padding-inline-start: 20px; }
.card-v li { margin-bottom: 6px; line-height: 1.7; }
.section .section-body h3 { font-size: 20px; font-weight: 700; margin-top: 28px; margin-bottom: 10px; letter-spacing: -.01em; }
.section .section-body p, .section .section-body li { line-height: 1.75; }

/* ==========================================================================
   v4 — APPROVED SOFT DESIGN (single-row header, 2-col hero, soft cards)
   ========================================================================== */
:root { --nx-ink: #0f1f3d; --nx-line: #edf1f7; --nx-soft: #f0f6ff; }
h1, h2, h3, h4, h5, h6 { color: var(--nx-ink); }

/* ---------- header: one clean row ---------- */
.nx-header { background: rgba(255, 255, 255, .92) !important; border-bottom: 1px solid var(--nx-line) !important; }
.nx-header.is-scrolled { box-shadow: 0 6px 20px -16px rgba(15, 31, 61, .25) !important; }
.nx-header-row { height: 70px; gap: 12px; }
.nx-nav { align-items: center; gap: 2px; margin-inline-start: 18px; }
.nx-nav-link, .nx-nav .drop-down-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: #475569 !important; transition: background .2s, color .2s; }
.nx-nav .drop-down-btn i { font-size: 11px; color: #94a3b8; }
.nx-nav-link:hover, .nx-nav .drop-down-btn:hover, .nx-nav-link.active, .nx-nav .nx-cat.active .drop-down-btn { background: var(--nx-soft); color: var(--nx-ink) !important; }
.nx-nav .drop-down-menu { top: 46px !important; left: 0; right: auto; }
.nx-header-actions { gap: 10px; }
.nx-icon-btn { border-color: var(--nx-line); }
.nx-signin { align-items: center; height: 40px; padding: 0 10px; font-weight: 600; font-size: 14.5px; color: var(--nx-ink) !important; }
.nx-signin:hover { color: var(--nx-blue) !important; }
.nx-btn-cta { height: 40px; padding: 0 18px !important; border-radius: 12px; align-items: center; font-size: 14.5px; }
.nx-header .nx-cart { display: inline-flex !important; }
.nx-search-mobile { display: none; max-width: 640px; margin: 0 auto 14px; }
.nx-search-mobile.is-open { display: flex; }
.nx-header-sub { display: none !important; }
@media (max-width: 1199.98px) { .nx-nav-link, .nx-nav .drop-down-btn { padding: 0 9px; font-size: 14px; } .nx-nav { margin-inline-start: 6px; } }

/* ---------- hero (2 columns) ---------- */
.nx-hero3 { background: radial-gradient(800px 360px at 85% 30%, rgba(41, 130, 255, .08), transparent 70%), linear-gradient(180deg, #fff 0%, #fafbfd 100%); border-bottom: 1px solid var(--nx-line); }
.nx-hero3-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 64px 0 60px; }
.nx-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 30px; background: #fff; border: 1px solid var(--nx-line); font-size: 13px; font-weight: 600; color: #475569; }
.nx-pill b { background: var(--nx-soft); color: var(--nx-blue-600); padding: 3px 9px; border-radius: 20px; font-size: 12px; }
.nx-hero3 h1 { font-size: clamp(38px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -.04em; font-weight: 800; margin: 18px 0 16px; text-wrap: balance; }
.nx-hero3 h1 span { color: var(--nx-blue); }
.nx-hero3 p { font-size: 17px; line-height: 1.7; color: #5b6880; max-width: 520px; margin: 0; }
.nx-hero3-search { margin-top: 28px; max-width: 540px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 6px 6px 6px 18px; box-shadow: 0 0 0 1px var(--nx-line), 0 16px 32px -24px rgba(15, 31, 61, .35); transition: box-shadow .2s; }
.nx-hero3-search:focus-within { box-shadow: 0 0 0 2px var(--nx-blue), 0 16px 32px -24px rgba(41, 130, 255, .4); }
.nx-hero3-search i { color: #94a3b8; }
.nx-hero3-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; font-weight: 500; color: var(--nx-ink); height: 44px; }
.nx-hero3-search input::placeholder { color: #9aa6b8; }
.nx-hero3-search .btn { height: 46px; padding: 0 24px; border-radius: 12px; }
.nx-hero3-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; }
.nx-hero3-tags em { font-style: normal; color: #8391a7; font-weight: 600; }
.nx-hero3-tags a { padding: 5px 12px; border-radius: 20px; background: #fff; border: 1px solid var(--nx-line); color: #475569; font-weight: 600; }
.nx-hero3-tags a:hover { border-color: var(--nx-blue-200); color: var(--nx-blue-700); }
.nx-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.nx-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--nx-ink); }
.nx-trust i { width: 28px; height: 28px; border-radius: 9px; background: var(--nx-soft); color: var(--nx-blue); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.nx-hero3-art { position: relative; height: 410px; }
.nx-hero3-blob { position: absolute; inset: 20px 0 0 40px; border-radius: 40px; background: linear-gradient(160deg, #eef5ff, #e3eeff); }
.nx-art-card { position: absolute; display: block; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 44px -26px rgba(15, 31, 61, .4), 0 0 0 1px var(--nx-line); transition: transform .3s var(--nx-ease); }
.nx-art-card:hover { transform: translateY(-4px); }
.nx-art-card img { display: block; width: 100%; aspect-ratio: 12 / 7; object-fit: cover; }
.nx-art-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.nx-art-in b { display: block; font-size: 14px; color: var(--nx-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.nx-art-in small { display: block; font-size: 12px; color: #8391a7; }
.nx-art-in em { font-style: normal; font-weight: 800; color: var(--nx-ink); }
.nx-art-card-1 { width: 330px; left: 70px; top: 44px; }
.nx-art-card-2 { width: 260px; right: 8px; top: 160px; }
.nx-art-logo { width: 220px; height: 220px; left: 50%; top: 50%; transform: translate(-40%, -50%); display: flex; align-items: center; justify-content: center; }
.nx-art-logo img { width: 120px; height: 120px; aspect-ratio: auto; object-fit: contain; }
.nx-art-tag { position: absolute; left: 30px; bottom: 26px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 20px 34px -22px rgba(15, 31, 61, .45), 0 0 0 1px var(--nx-line); }
.nx-art-tag > i { width: 34px; height: 34px; border-radius: 11px; background: var(--nx-blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.nx-art-tag b { display: block; font-size: 13.5px; color: var(--nx-ink); }
.nx-art-tag small { font-size: 12px; color: #8391a7; }

/* ---------- section headers: left, with subtitle ---------- */
.section { padding-top: 56px; padding-bottom: 20px; }
.section:last-of-type { padding-bottom: 56px; }
.section-header { margin-bottom: 20px !important; text-align: start !important; }
.section-header > .row { justify-content: space-between !important; align-items: flex-end !important; }
.section-header .col-lg-7 { width: 100%; max-width: 100%; margin: 0 !important; flex: 0 0 100%; }
.section .section-title { align-items: flex-start !important; margin-bottom: 0 !important; }
.section .section-title-text { font-size: 25px !important; letter-spacing: -.03em; }
.section .section-title-divider { display: none !important; }
.section .section-text { display: block; margin: 4px 0 0 !important; font-size: 14.5px !important; color: #8391a7 !important; max-width: 620px; text-align: start; }
.section-header .section-text.mt-3 { margin-top: 4px !important; }
.nx-see-all a { font-weight: 700; font-size: 14px; }
.custom-tabs > .row { justify-content: flex-start !important; }
.custom-tabs-item { padding: 8px 15px !important; font-size: 13.5px; }
.custom-tabs-item.active { background: var(--nx-ink) !important; }

/* ---------- categories grid ---------- */
.nx-catgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.nx-catcard { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 10px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--nx-line); color: var(--nx-ink) !important; transition: box-shadow .2s, transform .2s; }
.nx-catcard span { width: 48px; height: 48px; border-radius: 14px; background: var(--nx-soft); color: var(--nx-blue); display: flex; align-items: center; justify-content: center; font-size: 19px; transition: background .2s, color .2s; }
.nx-catcard b { margin-top: 10px; font-size: 14.5px; }
.nx-catcard small { font-size: 12.5px; color: #8391a7; }
.nx-catcard:hover { box-shadow: 0 0 0 1.5px var(--nx-blue); transform: translateY(-2px); }
.nx-catcard:hover span { background: var(--nx-blue); color: #fff; }
@media (max-width: 1199.98px) { .nx-catgrid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- item card (soft) ---------- */
.item { padding: 10px; border-radius: 20px !important; border: 0 !important; box-shadow: 0 0 0 1px var(--nx-line) !important; background: #fff; }
.item:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--nx-blue-100), 0 18px 34px -24px rgba(15, 31, 61, .3) !important; }
.item .item-header { border-radius: 14px; overflow: hidden; background: var(--nx-soft); }
.item .item-img { border-radius: 14px !important; aspect-ratio: 12 / 7 !important; }
.item:hover .item-img { transform: scale(1.03); }
.item-badge { top: 10px !important; inset-inline-start: 10px !important; left: 10px; background: rgba(255, 255, 255, .94) !important; color: var(--nx-blue-600) !important; box-shadow: none !important; font-size: 11px !important; letter-spacing: .02em; text-transform: none !important; padding: 4px 10px !important; font-weight: 700; }
.item-badge i { display: none; }
.item .item-body { padding: 12px 6px 4px !important; }
.item .item-title { font-size: 15.5px !important; font-weight: 700 !important; margin-bottom: 5px !important; }
.nx-card-author { display: flex; align-items: center; gap: 6px; font-size: 12.5px !important; color: #8391a7 !important; margin-bottom: 0 !important; white-space: nowrap; overflow: hidden; }
.nx-card-author a { color: #8391a7 !important; font-weight: 500 !important; }
.nx-card-author a:hover { color: var(--nx-blue) !important; }
.nx-card-av { width: 18px; height: 18px; flex-shrink: 0; border-radius: 6px; background: var(--nx-blue-100); color: var(--nx-blue-600); font-size: 9.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.nx-card-dot { color: #c3cbd8; }
.item .nx-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px !important; padding-top: 0 !important; border-top: 0 !important; }
.nx-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.nx-card-price .item-price-number { font-size: 18px !important; font-weight: 800; color: var(--nx-ink); }
.nx-card-price .item-price-through { font-size: 12.5px; color: #a3aec0; text-decoration: line-through; }
.nx-card-meta { display: inline-flex; gap: 8px; font-size: 12px; color: #8391a7; white-space: nowrap; }
.nx-card-meta i { color: var(--nx-blue); font-size: 10px; }
.nx-card-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; border: 0; border-radius: 11px; background: var(--nx-soft); color: var(--nx-blue-600) !important; font-weight: 700; font-size: 13px; transition: background .2s, color .2s; }
.nx-card-btn:hover { background: var(--nx-blue); color: #fff !important; }
.nx-card-btn:disabled { opacity: .5; }
.item.item-inline { padding: 10px; }
.item.item-inline .item-body { padding: 8px 16px !important; }

/* ---------- why + cta + strip ---------- */
.nx-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nx-why-card { padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--nx-line); }
.nx-why-card span { width: 42px; height: 42px; border-radius: 13px; background: var(--nx-soft); color: var(--nx-blue); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.nx-why-card b { display: block; margin-top: 14px; font-size: 15.5px; color: var(--nx-ink); }
.nx-why-card p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.65; color: #8391a7; }
.nx-cta { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 36px; border-radius: 24px; background: linear-gradient(120deg, #eef5ff, #e1edff); }
.nx-cta h3 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.nx-cta p { margin: 6px 0 0; color: #5b6880; font-size: 14.5px; }
.nx-strip { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 20px; background: linear-gradient(120deg, #eef5ff, #e1edff); color: var(--nx-ink) !important; }
.nx-strip-ic { width: 42px; height: 42px; border-radius: 13px; background: #fff; color: var(--nx-blue); display: flex; align-items: center; justify-content: center; }
.nx-strip b { display: block; font-size: 14.5px; }
.nx-strip small { font-size: 12px; color: #5b6880; }
.nx-strip-go { margin-inline-start: auto; width: 32px; height: 32px; border-radius: 10px; background: var(--nx-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; }

/* FAQ softer */
.accordion-custom .accordion-item { box-shadow: 0 0 0 1px var(--nx-line) !important; border: 0 !important; }
.accordion-custom .accordion-button { font-size: 15px; }

/* ---------- phones ---------- */
.nx-mchips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
.nx-mchips::-webkit-scrollbar { display: none; }
.nx-mchip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--nx-line); font-size: 13.5px; font-weight: 700; color: var(--nx-ink) !important; }
.nx-mchip i { color: var(--nx-blue); }
.nx-mchip.active { background: var(--nx-ink); color: #fff !important; box-shadow: none; }
.nx-mchip.active i { color: #fff; }
@media (max-width: 991.98px) {
    .nx-header-row { height: 62px; }
    .nx-search-mobile { max-width: none; }
    .section { padding-top: 22px !important; padding-bottom: 6px !important; }
    .section-header { margin-bottom: 12px !important; }
    .section .section-title-text { font-size: 19px !important; }
    .section .section-text { display: none !important; }
    .nx-rail { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 !important; padding: 0 !important; overflow: visible !important; }
    .nx-rail > .col { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; margin: 0 !important; }
    .nx-rail > .col:nth-child(n+5) { display: none; }
    .item { padding: 8px; border-radius: 18px !important; }
    .item .item-body { padding: 9px 4px 2px !important; }
    .item .item-title { font-size: 13.5px !important; margin-bottom: 2px !important; }
    .nx-card-author .nx-card-av, .nx-card-author a:first-of-type, .nx-card-author .nx-card-dot { display: none; }
    .nx-card-price { flex-direction: column; gap: 0; align-items: flex-start; }
    .nx-card-price .item-price-number { font-size: 15.5px !important; }
    .nx-card-meta { display: none; }
    .nx-card-btn { width: 32px; height: 32px; padding: 0; justify-content: center; border-radius: 10px; }
    .nx-card-btn span { display: none; }
    .item-badge { font-size: 10px !important; padding: 3px 8px !important; top: 6px !important; inset-inline-start: 6px !important; left: 6px; }
    .nx-why { grid-template-columns: 1fr 1fr; gap: 10px; }
    .nx-why-card { padding: 14px; border-radius: 18px; }
    .nx-why-card b { font-size: 14px; margin-top: 10px; }
    .nx-why-card p { font-size: 12.5px; }
    .nx-cta { margin-top: 16px; flex-direction: column; align-items: flex-start; padding: 20px; border-radius: 20px; }
    .nx-cta h3 { font-size: 19px; }
    .nx-cta .btn { width: 100%; justify-content: center; }
    .nx-why-sec { padding-bottom: 24px !important; }
    .items > .row > .col:not(.w-100) .item .item-purchase .btn, .items > .row > .col:not(.w-100) .nx-card-btn { width: 32px; height: 32px; }
    .item .item-purchase .col:has(> .btn-outline-secondary) { display: block; }
}
.nx-nav-link, .nx-nav .drop-down-btn, .nx-signin, .nx-btn-cta { white-space: nowrap; }
@media (max-width: 1599.98px) { .nx-nav > :nth-child(n+7) { display: none !important; } }
@media (max-width: 1299.98px) { .nx-nav > :nth-child(n+5) { display: none !important; } }
.nx-art-card-1 { width: 310px; left: 60px; top: 36px; }
.nx-art-card-2 { width: 250px; right: 6px; top: 196px; }
.nx-art-tag { bottom: 18px; }
.nx-art-card-1 { width: 290px; left: 40px; top: 36px; }
.nx-art-card-2 { width: 230px; right: 0; top: 210px; }
.item .item-badge, .item .item-badge.item-badge-premium, .item .item-badge.item-badge-trending, .item .item-badge.item-badge-sale, .item .item-badge.item-badge-free { background: rgba(255, 255, 255, .94) !important; color: var(--nx-blue-600) !important; }
/* item previews are 1200x610 — show them uncropped */
.item .item-img { aspect-ratio: 1200 / 610 !important; }
.nx-art-card img { aspect-ratio: 1200 / 610; }
.nx-art-card-2 .nx-art-in b { max-width: 130px; }
.nx-art-in em { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 991.98px) { .nx-rail > .col, .nx-rail .item, .items > .row > .col { min-width: 0; } .nx-rail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; } }
.item .item-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== v5: CTA with brand artwork (text left, art right) ===== */
.nx-cta { flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; min-height: 280px; padding: 40px 48px; background: #eef5ff url(../../images/nexgino-cta-bg.jpg?v=nx7) right center / cover no-repeat; }
.nx-cta > div { max-width: 46%; }
.nx-cta h3 { font-size: 28px; }
@media (max-width: 1199.98px) { .nx-cta > div { max-width: 52%; } }
@media (max-width: 991.98px) {
    .nx-cta { min-height: 0; padding: 22px 20px; background: linear-gradient(120deg, #eef5ff, #e1edff); }
    .nx-cta > div { max-width: none; }
    .nx-cta h3 { font-size: 19px; }
}

/* Nexgino fix: selected Yes/No toggle buttons were blue text on blue background (text invisible) */
.btn-check:checked + .btn-outline-primary,
.btn-check:active + .btn-outline-primary { background: var(--nx-blue) !important; border-color: var(--nx-blue) !important; color: #fff !important; }
.btn-check:checked + .btn-outline-secondary,
.btn-check:active + .btn-outline-secondary { background: var(--nx-ink) !important; border-color: var(--nx-ink) !important; color: #fff !important; }
