/* Client UI — shared styles consolidated from client views
 * Light mode base. Dark mode overrides: deposit-dark.css
 */

/* Product name links: theme primary #3378ff is ~4.0:1 on white (fails AA for 14px). */
a.product-detail-link,
#showProduct a.product-detail-link,
#showProduct .col-product-name a {
    color: #1d4ed8 !important;
}
a.product-detail-link:hover,
#showProduct a.product-detail-link:hover,
#showProduct .col-product-name a:hover {
    color: #1e40af !important;
}
body.dark a.product-detail-link,
body.dark #showProduct a.product-detail-link,
body.dark #showProduct .col-product-name a {
    color: #93c5fd !important;
}
body.dark a.product-detail-link:hover,
body.dark #showProduct a.product-detail-link:hover,
body.dark #showProduct .col-product-name a:hover {
    color: #bfdbfe !important;
}

/* --- home.php --- */
.deposit-card {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden;
}
.deposit-card > .card-header,
.card-header.card-product {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    background-image: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 14px 18px !important;
}
.deposit-card > .card-header b,
.deposit-card > .card-header .card-title,
.card-header.card-product .card-title {
    color: #fff !important;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}
.deposit-warning-box,
.home-notice-box {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
}
.home-top-html {
    background: #fff;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    padding: 18px 20px;
    margin-bottom: 16px;
    color: #334155;
    line-height: 1.7;
    font-size: 14px;
}
.home-top-html a { color: #5e5df0; font-weight: 600; }
.home-top-raw .alert,
.home-top-raw .alert-marquee,
.home-top-raw marquee.alert {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.22);
    margin-bottom: 16px !important;
}
.home-alert {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden;
}
.home-alert .home-alert-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}
.home-alert .home-alert-toggle {
    display: none;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px !important;
    margin-bottom: 0;
}
.home-alert .home-alert-toggle i {
    transition: transform .2s ease;
}
.home-alert .iq-alert-text {
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
}
.home-alert .iq-alert-text a { color: #5e5df0; font-weight: 600; }
.home-marquee {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.22);
    padding: 10px 14px !important;
}
.home-suggest-card {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}
.home-suggest-card a { color: #5e5df0; }
/* --- category page hero --- */
.category-page-hero {
    margin: -4px -4px 16px;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(94, 93, 240, 0.06) 0%, rgba(123, 108, 246, 0.1) 100%);
    border: 1px solid rgba(94, 93, 240, 0.12);
}
.category-page-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.4;
}
.category-page-crumb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5e5df0;
    font-weight: 600;
    text-decoration: none !important;
}
.category-page-crumb-link:hover {
    color: #4338ca;
}
.category-page-crumb-sep {
    font-size: 9px;
    color: #cbd5e1;
}
.category-page-crumb-current {
    color: #64748b;
    font-weight: 600;
}
.category-page-hero-body {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.category-page-hero-media {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(94, 93, 240, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(94, 93, 240, 0.12);
}
.category-page-hero-media img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.category-page-hero-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5e5df0;
    font-size: 22px;
    background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
}
.category-page-hero-info {
    min-width: 0;
    flex: 1 1 auto;
}
.category-page-title {
    margin: 0 0 6px;
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    word-break: break-word;
}
.category-page-meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}
.category-page-meta-dot {
    color: #cbd5e1;
}
.home-shop-wrap {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    padding: 16px;
}
.site-seo-intro {
    margin: 16px 0 8px;
    padding: 0;
}
.site-seo-intro__card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(94, 93, 240, 0.1) 0%, transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(94, 93, 240, 0.14);
    border-radius: 16px;
    padding: 22px 22px 20px;
    box-shadow: 0 8px 24px rgba(94, 93, 240, 0.08);
}
.site-seo-intro__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5e5df0 0%, #7b6cf6 55%, #a78bfa 100%);
}
.site-seo-intro__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}
.site-seo-intro__badge {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff !important;
    font-size: 16px;
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.28);
}
.site-seo-intro__badge i {
    color: #fff !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #fff;
}
.site-seo-intro__head-text {
    min-width: 0;
    flex: 1 1 auto;
}
.site-seo-intro__eyebrow {
    margin: 0 0 4px;
    font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5e5df0;
}
.site-seo-intro__title {
    margin: 0;
    font-family: inherit;
    font-size: 17px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.4;
}
.site-seo-intro__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.site-seo-intro__paragraph,
.site-seo-intro__body p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 13.5px;
    line-height: 1.7;
    color: #64748b;
}
.site-seo-intro__paragraph-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin-top: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff !important;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(94, 93, 240, 0.24);
}
.site-seo-intro__paragraph-icon i {
    color: #fff !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #fff;
    margin: 0 !important;
    font-size: inherit;
}
.site-seo-intro__paragraph-text {
    min-width: 0;
    flex: 1 1 auto;
}
.site-seo-intro__trust-block {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(94, 93, 240, 0.12);
}
.site-seo-intro__trust-title {
    margin: 0 0 12px;
    font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    line-height: 1.4;
}
.site-seo-intro__desc {
    margin: 0 0 12px;
    max-width: 980px;
    font-size: 13px;
    line-height: 1.65;
    color: #64748b;
}
.site-seo-intro__trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-seo-intro__trust-item,
.site-seo-intro__trust li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 12px 12px 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(94, 93, 240, 0.08) 0%, rgba(123, 108, 246, 0.12) 100%);
    border: 1px solid rgba(94, 93, 240, 0.14);
    box-shadow: 0 4px 12px rgba(94, 93, 240, 0.06);
    font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.45;
    color: #4338ca;
}
.site-seo-intro__trust-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    border: 0;
    color: #fff !important;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(94, 93, 240, 0.28);
}
.site-seo-intro__trust-icon i,
.site-seo-intro__trust-item .site-seo-intro__trust-icon i,
.site-seo-intro__trust li .site-seo-intro__trust-icon i {
    color: #fff !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #fff;
    margin: 0 !important;
    font-size: inherit;
}
.site-seo-intro__trust-text {
    min-width: 0;
    flex: 1 1 auto;
}
.site-seo-intro__trust li i {
    color: #5e5df0;
    font-size: 11px;
    margin-top: 0;
    flex-shrink: 0;
}
body.dark .site-seo-intro__card {
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(94, 93, 240, 0.16) 0%, transparent 55%),
        linear-gradient(180deg, #1c1c1c 0%, #181818 100%);
    border-color: rgba(129, 140, 248, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
body.dark .site-seo-intro__eyebrow {
    color: #a5b4fc;
}
body.dark .site-seo-intro__title {
    color: #e2e8f0;
}
body.dark .site-seo-intro__paragraph,
body.dark .site-seo-intro__body p,
body.dark .site-seo-intro__desc {
    color: #94a3b8;
}
body.dark .site-seo-intro__paragraph-icon {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
body.dark .site-seo-intro__paragraph-icon i {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}
body.dark .site-seo-intro__trust-block {
    border-top-color: rgba(129, 140, 248, 0.16);
}
body.dark .site-seo-intro__trust-title {
    color: #cbd5e1;
}
body.dark .site-seo-intro__trust-item,
body.dark .site-seo-intro__trust li {
    background: linear-gradient(135deg, rgba(94, 93, 240, 0.18) 0%, rgba(123, 108, 246, 0.24) 100%);
    border-color: rgba(129, 140, 248, 0.22);
    color: #c7d2fe;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}
body.dark .site-seo-intro__trust-icon {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    border: 0;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
body.dark .site-seo-intro__trust-icon i,
body.dark .site-seo-intro__badge i {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}
body.dark .site-seo-intro__trust li i {
    color: #fff !important;
}
@media (max-width: 767.98px) {
    .site-seo-intro__trust {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 575.98px) {
    .site-seo-intro {
        margin: 12px 0 6px;
    }
    .site-seo-intro__card {
        padding: 16px 14px 14px;
        border-radius: 14px;
    }
    .site-seo-intro__badge {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 14px;
    }
    .site-seo-intro__title {
        font-size: 15px;
    }
    .site-seo-intro__paragraph,
    .site-seo-intro__body p,
    .site-seo-intro__desc {
        font-size: 12.5px;
        gap: 10px;
    }
    .site-seo-intro__paragraph-icon {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        font-size: 11px;
    }
    .site-seo-intro__trust-title {
        font-size: 13px;
    }
    .site-seo-intro__trust-item,
    .site-seo-intro__trust li {
        padding: 10px;
        font-size: 12px;
    }
    .site-seo-intro__trust-icon {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}
#pills-tab-1 .nav-item:nth-child(1) {
    display: block !important;
}
.home-shop-wrap .nav-pills,
.home-category-pills {
    display: flex;
    gap: 8px;
    margin-bottom: 14px !important;
    flex-wrap: wrap;
    min-height: 48px;
    contain: layout style;
}
#pills-tabContent-1,
#showProduct {
    min-height: 280px;
}
#showProduct .col-product-name > img,
#showProduct .col-product-name img.mr-1,
#showProduct .col-product-name img {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    object-fit: contain !important;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    align-self: center;
    display: inline-block;
    vertical-align: middle;
    border-radius: 6px;
}
#showProduct .deposit-card > .card-header img,
#showProduct .deposit-card > .card-header .card-title img,
#showProduct .card-header.card-product img,
#showProduct .card-header .header-title img,
#showProduct .card-header b > img {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    padding: 0 !important;
    object-fit: contain !important;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    vertical-align: middle;
    border-radius: 6px;
}
body.modal-open {
    padding-right: 0 !important;
}
.home-category-pills.nav-fill .nav-item {
    flex: 1 1 auto;
    text-align: center;
    min-width: 0;
}
.home-category-pills.nav-fill .nav-link {
    display: inline-flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.home-shop-wrap .nav-pills .nav-item,
.home-category-pills .nav-item {
    margin: 0 !important;
}
.home-shop-wrap .nav-pills .nav-link,
.home-category-pills .nav-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.02em;
    padding: 7px 12px 7px 7px !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.25;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease;
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.22);
    text-decoration: none !important;
}
.home-shop-wrap .nav-pills .nav-link .home-cat-icon,
.home-category-pills .nav-link .home-cat-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    /* background: rgba(255, 255, 255, 0.28); */
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 12px;
    line-height: 1;
}
.home-shop-wrap .nav-pills .nav-link .home-cat-icon img,
.home-category-pills .nav-link .home-cat-icon img,
.home-shop-wrap .nav-pills .nav-link img,
.home-category-pills .nav-link img {
    width: 16px !important;
    height: 16px !important;
    object-fit: contain;
    margin: 0 !important;
    border-radius: 3px;
}
.home-shop-wrap .nav-pills .nav-link .home-cat-label,
.home-category-pills .nav-link .home-cat-label {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-shop-wrap .nav-pills .nav-link:hover,
.home-category-pills .nav-link:hover {
    background: linear-gradient(135deg, #4b4ad8 0%, #6a5de8 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 10px 22px rgba(94, 93, 240, 0.34);
    transform: translateY(-1px);
}
.home-shop-wrap .nav-pills .nav-link:hover .home-cat-icon,
.home-category-pills .nav-link:hover .home-cat-icon {
    background: rgba(255, 255, 255, 0.36);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.home-shop-wrap .nav-pills .nav-link.active,
.home-category-pills .nav-link.active {
    background: linear-gradient(135deg, rgba(94, 93, 240, 0.12) 0%, rgba(123, 108, 246, 0.16) 100%) !important;
    color: #4338ca !important;
    border-color: rgba(94, 93, 240, 0.28) !important;
    box-shadow: 0 8px 18px rgba(94, 93, 240, 0.2);
    outline: none;
    transform: translateY(-1px);
}
.home-shop-wrap .nav-pills .nav-link.active .home-cat-icon,
.home-category-pills .nav-link.active .home-cat-icon {
    background: rgba(94, 93, 240, 0.18);
    border-color: rgba(94, 93, 240, 0.2);
    color: #5e5df0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.search-result-hint {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}
.search-result-hint b {
    color: #5e5df0;
}
.deposit-list-table {
    margin: 0;
    border: 0 !important;
}
.deposit-list-table thead th,
#showProduct .deposit-card .deposit-list-table thead th {
    background: #f8fafc !important;
    border-bottom: 1px solid #e8edf5 !important;
    border-top: 0 !important;
    color: #475569 !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap;
    padding: 12px 14px !important;
}
#showProduct table thead th,
#showProduct .table-color-heading {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap;
    padding: 12px 14px !important;
}
#showProduct .deposit-card .deposit-list-table thead th {
    background: #f8fafc !important;
    color: #475569 !important;
    border-bottom: 1px solid #e8edf5 !important;
}
.deposit-list-table td,
#showProduct table td {
    border-top: 1px solid #edf2f7 !important;
    border-bottom: 0 !important;
    vertical-align: middle !important;
    font-size: 13px;
    padding: 12px 14px !important;
    background: #fff !important;
}
#showProduct table.table-striped tbody tr:nth-of-type(odd) td {
    background: #f8fafc !important;
}
#showProduct table tbody tr:hover td {
    background: #eef2ff !important;
}
#showProduct .deposit-card {
    margin-bottom: 0;
}
#showProduct .deposit-card > .card-header img {
    vertical-align: middle;
}
#showProduct .table-responsive {
    border-radius: 0;
    overflow: hidden;
    border: 0;
}
#showProduct .basic-drop-shadow,
#showProduct .shadow-showcase {
    border: 1px solid #e8edf5 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
    background: #fff;
}
.btn-deposit {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px !important;
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.28);
}
.btn-deposit:hover,
.btn-deposit:focus {
    background: linear-gradient(135deg, #4b4ad8 0%, #6a5de8 100%) !important;
    color: #fff !important;
}
.btn-deposit-outline {
    background: #fff !important;
    border: 1px solid #c7d2fe !important;
    color: #5e5df0 !important;
    font-weight: 600;
    border-radius: 10px !important;
}
.btn-deposit-outline:hover {
    background: #eef2ff !important;
    color: #4b4ad8 !important;
}
#showProduct .btn-primary,
#modalBuy .btn-primary {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.28);
}
#showProduct .btn-outline-danger,
#showProduct .btn-outline-info,
#showProduct .btn-outline-success,
#showProduct .btn-outline-warning {
    border-radius: 8px !important;
    font-weight: 600;
}
.home-feed-body {
    max-height: 420px;
    overflow-x: hidden;
    overflow-y: auto;
}
.home-feed-table td {
    border-top: 1px solid #edf2f7 !important;
    font-size: 13px;
    padding: 10px 14px !important;
    vertical-align: middle !important;
}
.home-feed-table tr:hover td { background: #f8fafc !important; }
.home-feed-badge {
    background: #eef2ff !important;
    color: #5e5df0 !important;
    border-radius: 999px;
    font-weight: 600;
    font-size: 11px;
    padding: 4px 10px;
}
#modalBuy .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}
#modalBuy .modal-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
    border: 0;
}
#modalBuy .modal-header .modal-title { color: #fff; font-weight: 700; }
#modalBuy .modal-body { background: #f5f7fb; }
#notice_popup .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}
#notice_popup .modal-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
    border: 0;
}
#notice_popup .modal-header .modal-title { color: #fff; font-weight: 700; }

/* Mobile homepage */
@media (max-width: 991.98px) {
    .home-alert .home-alert-toggle {
        display: inline-flex;
    }
    .home-alert .home-alert-body {
        display: none;
        margin-top: 10px;
    }
    .home-alert.is-expanded .home-alert-body {
        display: block;
    }
    .home-alert.is-expanded .home-alert-toggle i {
        transform: rotate(180deg);
    }
    .content-page {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }
    .content-page > .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 4px;
    }
    .content-page .col-lg-12:has(> .home-shop-wrap),
    .content-page .col-lg-12.mt-3:has(.home-shop-wrap) {
        margin-top: 4px !important;
    }
    .home-shop-wrap {
        padding: 6px 8px 10px;
        border-radius: 12px;
    }
    .home-shop-wrap .nav-pills,
    .home-category-pills {
        margin-bottom: 8px !important;
    }
    .home-top-html,
    .home-alert,
    .home-suggest-card .card-body,
    .home-marquee {
        padding-left: 12px !important;
        padding-right: 12px !important;
        font-size: 13px;
    }
    .home-alert .iq-alert-text,
    .home-top-html {
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .home-top-raw marquee,
    .home-top-raw .alert-marquee,
    .home-top-raw marquee.alert,
    .home-marquee {
        display: none !important;
    }
    .home-top-raw {
        margin-bottom: 0 !important;
        padding: 0 !important;
        line-height: 0;
        font-size: 0;
    }
    .col-lg-12:has(> .home-marquee) {
        display: none !important;
    }
    /* Mobile: wrap theo độ dài text — 2/3/4 item mỗi hàng, căn đều 2 bên */
    .home-shop-wrap .nav-pills,
    .home-category-pills {
        display: flex !important;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: space-between;
        gap: 6px;
        margin-bottom: 8px !important;
        min-height: 0;
        overflow: visible;
    }
    .home-shop-wrap .nav-pills .nav-item,
    .home-category-pills .nav-item,
    .home-category-pills.nav-fill .nav-item {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: max-content;
        max-width: 100%;
        text-align: center;
    }
    .home-shop-wrap .nav-pills .nav-link,
    .home-category-pills .nav-link,
    .home-category-pills.nav-fill .nav-link {
        width: 100% !important;
        max-width: 100%;
        margin: 0 !important;
        padding: 6px 10px 6px 6px !important;
        font-size: 11px !important;
        font-weight: 600;
        line-height: 1.25;
        white-space: nowrap;
        justify-content: center;
        border-radius: 10px !important;
        box-shadow: 0 4px 12px rgba(94, 93, 240, 0.18) !important;
        gap: 6px;
    }
    .home-shop-wrap .nav-pills .nav-link.active,
    .home-category-pills .nav-link.active {
        outline: none !important;
        box-shadow: 0 6px 14px rgba(94, 93, 240, 0.22) !important;
    }
    .home-shop-wrap .nav-pills .nav-link .home-cat-icon,
    .home-category-pills .nav-link .home-cat-icon {
        flex: 0 0 26px;
        width: 26px;
        height: 26px;
        border-radius: 8px;
        font-size: 11px;
    }
    .home-shop-wrap .nav-pills .nav-link .home-cat-icon img,
    .home-category-pills .nav-link .home-cat-icon img,
    .home-shop-wrap .nav-pills .nav-link img,
    .home-category-pills .nav-link img {
        width: 14px !important;
        height: 14px !important;
        margin: 0 !important;
    }
    .home-shop-wrap .nav-pills .nav-link .home-cat-label,
    .home-category-pills .nav-link .home-cat-label {
        flex: 0 1 auto;
        min-width: 0;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .home-feed-body {
        max-height: 280px;
    }
    .home-feed-table td {
        font-size: 12px;
        padding: 8px 10px !important;
        word-break: break-word;
    }
    #showProduct .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    #showProduct .deposit-card > .card-header {
        padding: 12px 14px !important;
    }
    #showProduct .deposit-card > .card-header b,
    #showProduct .deposit-card > .card-header .card-title {
        font-size: 14px;
        word-break: break-word;
    }
    .search-result-hint {
        font-size: 12px;
        line-height: 1.5;
        word-break: break-word;
    }
}
@media (max-width: 575.98px) {
    .content-page > .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }
    .home-shop-wrap .nav-pills .nav-link,
    .home-category-pills .nav-link {
        font-size: 10px !important;
        padding: 5px 8px 5px 5px !important;
        border-radius: 9px !important;
    }
    .home-shop-wrap .nav-pills .nav-item,
    .home-category-pills .nav-item,
    .home-category-pills.nav-fill .nav-item {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: max-content;
        max-width: 100%;
    }
    .home-shop-wrap .nav-pills .nav-link .home-cat-icon,
    .home-category-pills .nav-link .home-cat-icon {
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
    }
    .home-shop-wrap .nav-pills .nav-link .home-cat-icon img,
    .home-category-pills .nav-link .home-cat-icon img,
    .home-shop-wrap .nav-pills .nav-link img,
    .home-category-pills .nav-link img {
        width: 12px !important;
        height: 12px !important;
        margin: 0 !important;
    }
    #showProduct table td,
    .deposit-list-table td {
        font-size: 12px;
        padding: 10px !important;
    }
    .col-product-name h3 {
        font-size: 14px !important;
        line-height: 1.4;
        word-break: break-word;
    }
    .content-mota {
        font-size: 12px !important;
        word-break: break-word;
    }
}
.home-floating-actions {
    position: fixed;
    right: 20px;
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    z-index: 1030;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    overflow: visible;
}

/* Purchase social-proof toast — fixed, không đẩy layout (tránh CLS/SEO noise) */
.purchase-toast-root {
    position: fixed;
    left: 16px;
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    z-index: 1025;
    width: min(340px, calc(100vw - 88px));
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-12px, 10px, 0);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.purchase-toast-root.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
}
.purchase-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    text-decoration: none !important;
    color: inherit;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(94, 93, 240, 0.16);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.purchase-toast:hover,
.purchase-toast:focus-visible {
    border-color: rgba(94, 93, 240, 0.32);
    box-shadow: 0 12px 30px rgba(94, 93, 240, 0.16);
}
.purchase-toast__thumb {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
    font-size: 14px;
}
.purchase-toast__thumb img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    display: block;
}
.purchase-toast__body {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
.purchase-toast__line {
    font-size: 12px;
    color: #64748b;
    line-height: 1.35;
}
.purchase-toast__buyer {
    color: #16a34a;
    font-weight: 700;
}
.purchase-toast__product {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.purchase-toast__time {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}
.purchase-toast__close {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.purchase-toast__close:hover,
.purchase-toast__close:focus-visible {
    color: #64748b;
    background: rgba(148, 163, 184, 0.16);
}
body.dark .purchase-toast {
    background: rgba(28, 28, 28, 0.96);
    border-color: rgba(129, 140, 248, 0.22);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
body.dark .purchase-toast__line {
    color: #94a3b8;
}
body.dark .purchase-toast__product {
    color: #e2e8f0;
}
body.dark .purchase-toast__time,
body.dark .purchase-toast__close {
    color: #64748b;
}
@media (max-width: 575.98px) {
    .purchase-toast-root {
        left: 10px;
        bottom: calc(45px + env(safe-area-inset-bottom, 0px));
        width: min(300px, calc(100vw - 20px));
    }
}
@media (prefers-reduced-motion: reduce) {
    .purchase-toast-root {
        transition: opacity 0.15s ease;
        transform: none;
    }
    .purchase-toast-root.is-visible {
        transform: none;
    }
}
.home-float-telegram-wrap {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.home-float-telegram-wrap::before,
.home-float-telegram-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(0, 136, 204, 0.42);
    animation: homeTelegramPulse 2.6s ease-out infinite;
    pointer-events: none;
}
.home-float-telegram-wrap::after {
    animation-delay: 1.3s;
}
.home-float-telegram {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #1d9bf0 0%, #0088cc 100%);
    box-shadow: 0 8px 22px rgba(0, 136, 204, 0.35);
    text-decoration: none !important;
    transition: box-shadow .25s ease, background .25s ease, transform .25s ease;
    animation: homeTelegramShake 4s ease-in-out infinite;
    transform-origin: center center;
}
.home-float-has-tip {
    overflow: visible;
}
.home-float-tip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    z-index: 2;
    display: block;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    white-space: nowrap;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.14),
        0 2px 8px rgba(15, 23, 42, 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) translateX(10px) scale(0.96);
    transition:
        opacity .22s ease,
        visibility .22s ease,
        transform .22s cubic-bezier(.2, .8, .2, 1);
}
.home-float-tip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 3px -3px 6px rgba(15, 23, 42, 0.04);
}
.home-float-has-tip:hover .home-float-tip,
.home-float-has-tip:focus-visible .home-float-tip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0) scale(1);
}
.home-float-telegram:hover,
.home-float-telegram:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, #0ea5e9 0%, #0077b5 100%);
    box-shadow: 0 12px 28px rgba(0, 136, 204, 0.48);
    transform: translateY(-3px) scale(1.06);
    animation: none;
    outline: none;
}
@keyframes homeTelegramPulse {
    0% {
        transform: scale(1);
        opacity: 0.65;
    }
    70%, 100% {
        transform: scale(1.9);
        opacity: 0;
    }
}
@keyframes homeTelegramShake {
    0%, 86%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    88% {
        transform: translate(-1px, 0) rotate(-2deg);
    }
    90% {
        transform: translate(1px, 0) rotate(2deg);
    }
    92% {
        transform: translate(-1px, 0) rotate(-1deg);
    }
    94% {
        transform: translate(1px, 0) rotate(1deg);
    }
}
.home-float-telegram i {
    font-size: 22px;
    line-height: 1;
}
.home-float-telegram-wrap--bot::before,
.home-float-telegram-wrap--bot::after {
    border-color: rgba(34, 197, 94, 0.42);
}
.home-float-telegram--bot {
    background: linear-gradient(135deg, #34d399 0%, #16a34a 100%);
    box-shadow: 0 8px 22px rgba(22, 163, 74, 0.35);
    animation: none;
}
.home-float-telegram--bot:hover,
.home-float-telegram--bot:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.48);
    transform: translateY(-3px) scale(1.06);
}
.home-float-telegram--bot .home-float-tip {
    color: #14532d;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border-color: rgba(22, 163, 74, 0.18);
    box-shadow:
        0 10px 28px rgba(22, 163, 74, 0.16),
        0 2px 8px rgba(15, 23, 42, 0.06);
}
.home-float-telegram--bot .home-float-tip::after {
    background: #f7fef9;
    border-color: rgba(22, 163, 74, 0.18);
}
.home-float-telegram:not(.home-float-telegram--bot) .home-float-tip {
    color: #0c4a6e;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border-color: rgba(0, 136, 204, 0.16);
}
.home-float-telegram:not(.home-float-telegram--bot) .home-float-tip::after {
    background: #f5fbff;
    border-color: rgba(0, 136, 204, 0.16);
}
.home-float-telegram--bot i {
    font-size: 20px;
}
body.dark .home-float-telegram--bot {
    box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
}
.home-scroll-top {
    position: static;
    right: auto;
    bottom: auto;
    width: 46px;
    height: 46px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    box-shadow: 0 8px 22px rgba(94, 93, 240, .35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px) scale(.9);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease, box-shadow .25s ease, background .25s ease;
    overflow: visible;
}
.home-scroll-top .home-float-tip {
    color: #3730a3;
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
    border-color: rgba(94, 93, 240, 0.18);
}
.home-scroll-top .home-float-tip::after {
    background: #f5f6ff;
    border-color: rgba(94, 93, 240, 0.18);
}
.home-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.home-scroll-top.is-visible:hover,
.home-scroll-top.is-visible:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, #4b4ad8 0%, #6959eb 100%);
    box-shadow: 0 12px 28px rgba(94, 93, 240, 0.48);
    transform: translateY(-3px) scale(1.06);
    outline: none;
}
.home-scroll-top i {
    font-size: 17px;
}
body.dark .home-scroll-top {
    box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
}
body.dark .home-float-telegram {
    box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
}
body.dark .home-float-tip {
    color: #e2e8f0;
    background: rgba(30, 41, 59, 0.98);
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
body.dark .home-float-tip::after {
    background: rgba(30, 41, 59, 0.98);
    border-color: rgba(148, 163, 184, 0.22);
}
body.dark .home-float-telegram--bot .home-float-tip {
    color: #bbf7d0;
    background: rgba(20, 83, 45, 0.95);
    border-color: rgba(74, 222, 128, 0.25);
}
body.dark .home-float-telegram--bot .home-float-tip::after {
    background: rgba(20, 83, 45, 0.95);
    border-color: rgba(74, 222, 128, 0.25);
}
body.dark .home-float-telegram:not(.home-float-telegram--bot) .home-float-tip {
    color: #bae6fd;
    background: rgba(12, 74, 110, 0.95);
    border-color: rgba(56, 189, 248, 0.25);
}
body.dark .home-float-telegram:not(.home-float-telegram--bot) .home-float-tip::after {
    background: rgba(12, 74, 110, 0.95);
    border-color: rgba(56, 189, 248, 0.25);
}
body.dark .home-scroll-top .home-float-tip {
    color: #ddd6fe;
    background: rgba(55, 48, 163, 0.95);
    border-color: rgba(167, 139, 250, 0.25);
}
body.dark .home-scroll-top .home-float-tip::after {
    background: rgba(55, 48, 163, 0.95);
    border-color: rgba(167, 139, 250, 0.25);
}
@media (max-width: 575.98px) {
    .home-floating-actions {
        right: 14px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        gap: 10px;
    }
    .home-float-telegram-wrap,
    .home-float-telegram,
    .home-scroll-top {
        width: 42px;
        height: 42px;
    }
    .home-float-telegram i {
        font-size: 20px;
    }
    .home-float-telegram--bot i {
        font-size: 18px;
    }
    .home-float-tip {
        display: none;
    }
}
@media (hover: hover) and (pointer: fine) {
    .home-float-tip {
        display: block;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-scroll-top,
    .home-float-telegram,
    .home-float-tip,
    .home-float-telegram-wrap::before,
    .home-float-telegram-wrap::after,
    .home-float-telegram-wrap--bot::before,
    .home-float-telegram-wrap--bot::after {
        transition: none;
        animation: none;
    }
}

/* --- recharge.php --- */
.deposit-card {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    margin-bottom: 20px;
}
.deposit-card > .card-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
    border: 0;
    padding: 14px 18px;
}
.deposit-card > .card-header .card-title,
.deposit-card > .card-header b {
    color: #fff;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}
.deposit-warning-box {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}
#exampleModal .deposit-modal-fee-notice {
    margin-top: 14px;
    margin-bottom: 14px;
    font-size: 12px;
}
.deposit-bank-pick {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
    cursor: pointer;
    height: 100%;
    transition: box-shadow .2s, border-color .2s, transform .15s;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.deposit-bank-pick:hover {
    border-color: #c7d2fe;
    box-shadow: 0 10px 24px rgba(94, 93, 240, 0.12);
    transform: translateY(-2px);
}
.deposit-bank-pick img {
    max-width: 100%;
    height: 72px;
    object-fit: contain;
}
.recharge-overview-row {
    align-items: stretch;
    margin-left: -8px;
    margin-right: -8px;
}
.recharge-overview-col {
    display: flex;
    padding-left: 8px;
    padding-right: 8px;
}
.recharge-feature-card {
    width: 100%;
    min-height: 100%;
    border: 1px solid rgba(94, 93, 240, 0.12);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}
.recharge-feature-card > .recharge-feature-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 14px 16px;
    overflow: hidden;
}
.recharge-feature-card > .recharge-feature-head::after {
    content: "";
    position: absolute;
    right: -22px;
    top: -38px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}
.recharge-promo-card > .recharge-feature-head {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}
.recharge-feature-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 17px;
}
.recharge-feature-icon i {
    color: #fff !important;
}
.recharge-feature-heading {
    position: relative;
    z-index: 1;
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.recharge-feature-heading b {
    font-size: 14px !important;
    letter-spacing: 0.025em;
    line-height: 1.3;
}
.recharge-feature-heading span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.35;
}
.recharge-feature-count {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}
.recharge-invoice-body,
.recharge-promo-body {
    padding: 16px !important;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}
.recharge-bank-grid {
    margin: -5px;
}
.recharge-bank-col {
    display: flex;
    padding: 5px;
}
.recharge-invoice-card .deposit-bank-pick {
    width: 100%;
    min-height: 156px;
    padding: 14px 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e7eaf8;
    background: #fff;
    color: #334155;
    appearance: none;
    -webkit-appearance: none;
}
.recharge-invoice-card .deposit-bank-pick:hover,
.recharge-invoice-card .deposit-bank-pick:focus-visible {
    border-color: rgba(94, 93, 240, 0.42);
    color: #4338ca;
    outline: none;
}
.deposit-bank-logo {
    width: 100%;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.deposit-bank-logo--generic {
    width: 72px;
    height: 72px;
    margin: 0 auto 10px;
    border-radius: 18px;
    background: linear-gradient(145deg, #eef0ff 0%, #e4e8ff 100%);
    color: #5e5df0;
    font-size: 30px;
    box-shadow: inset 0 0 0 1px rgba(94, 93, 240, 0.12);
}
.deposit-bank-logo--generic i {
    line-height: 1;
}
.recharge-invoice-card .deposit-bank-logo img {
    max-width: 128px;
    width: auto;
    height: 58px;
    object-fit: contain;
}
.recharge-bank-grid--single .deposit-bank-pick {
    min-height: 248px;
    padding: 24px 18px 20px;
}
.recharge-bank-grid--single .deposit-bank-logo {
    height: 132px;
    margin-bottom: 12px;
}
.recharge-bank-grid--single .deposit-bank-logo--generic {
    width: 112px;
    height: 112px;
    margin: 0 auto 12px;
    border-radius: 28px;
    font-size: 48px;
}
.recharge-invoice-card .recharge-bank-grid--single .deposit-bank-logo img {
    width: auto;
    max-width: min(82%, 280px);
    height: 120px;
}
.recharge-bank-grid--single .deposit-bank-name {
    font-size: 15px;
}
.recharge-bank-grid--single .deposit-bank-action {
    margin-top: 14px;
    font-size: 12px;
}
.deposit-bank-name {
    width: 100%;
    color: #1e293b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.deposit-bank-action {
    margin-top: 7px;
    color: #6366f1;
    font-size: 10.5px;
    font-weight: 700;
}
.deposit-bank-action i {
    margin-left: 3px;
    font-size: 9px;
    transition: transform 0.2s ease;
}
.deposit-bank-action--cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 168px;
    min-height: 44px;
    margin-top: 14px;
    padding: 0 18px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 20px rgba(94, 93, 240, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.deposit-bank-action--cta i {
    margin: 0;
    font-size: 13px;
    line-height: 1;
    transform: none;
}
.deposit-bank-pick:hover .deposit-bank-action--cta,
.deposit-bank-pick:focus-visible .deposit-bank-action--cta {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 14px 26px rgba(94, 93, 240, 0.34);
}
.deposit-bank-pick:hover .deposit-bank-action i {
    transform: translateX(3px);
}
.deposit-bank-pick:hover .deposit-bank-action--cta i {
    transform: none;
}
.recharge-bank-grid--single .deposit-bank-action--cta {
    min-width: 196px;
    min-height: 48px;
    margin-top: 16px;
    font-size: 14px;
    border-radius: 14px;
}
.recharge-promo-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.recharge-promo-tier {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid #ece8fb;
    border-radius: 12px;
    background: #fff;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.recharge-promo-tier:hover {
    transform: translateY(-1px);
    border-color: #d8ccfa;
    box-shadow: 0 7px 18px rgba(124, 58, 237, 0.08);
}
.recharge-promo-rank {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f1edff;
    color: #7c3aed;
    font-size: 12px;
    font-weight: 800;
}
.recharge-promo-main {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.recharge-promo-label {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.recharge-promo-main strong {
    color: #334155;
    font-size: 13px;
    line-height: 1.35;
}
.recharge-promo-bonus {
    flex: 0 0 auto;
    min-width: 68px;
    padding: 7px 9px;
    border-radius: 10px;
    text-align: center;
    background: linear-gradient(135deg, #ecfdf5 0%, #dcfce7 100%);
    color: #16a34a;
    font-size: 12px;
}
.recharge-promo-bonus strong {
    font-size: 16px;
}
.recharge-promo-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 11px;
    background: #f8f6ff;
    color: #6d5acb;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
}
.recharge-promo-note i {
    color: #8b5cf6;
}
.recharge-empty-state {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
    text-align: center;
}
@media (max-width: 991.98px) {
    .recharge-overview-col + .recharge-overview-col {
        margin-top: 16px;
    }
}
@media (max-width: 575.98px) {
    .recharge-feature-card > .recharge-feature-head {
        min-height: 70px;
        padding: 12px;
        gap: 10px;
    }
    .recharge-feature-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 15px;
    }
    .recharge-feature-heading span {
        font-size: 10.5px;
    }
    .recharge-invoice-body,
    .recharge-promo-body {
        padding: 12px !important;
    }
    .recharge-invoice-card .deposit-bank-pick {
        min-height: 142px;
        padding: 11px 8px 10px;
    }
    .recharge-invoice-card .deposit-bank-logo img {
        max-width: 104px;
        height: 52px;
    }
    .recharge-bank-grid--single .deposit-bank-pick {
        min-height: 210px;
        padding: 18px 12px 16px;
    }
    .recharge-bank-grid--single .deposit-bank-logo {
        height: 106px;
        margin-bottom: 10px;
    }
    .recharge-bank-grid--single .deposit-bank-logo--generic {
        width: 88px;
        height: 88px;
        margin: 0 auto 10px;
        border-radius: 22px;
        font-size: 38px;
    }
    .recharge-invoice-card .recharge-bank-grid--single .deposit-bank-logo img {
        max-width: min(82%, 220px);
        height: 96px;
    }
    .recharge-bank-grid--single .deposit-bank-name {
        font-size: 14px;
    }
    .recharge-bank-grid--single .deposit-bank-action {
        font-size: 11px;
    }
    .recharge-bank-grid--single .deposit-bank-action--cta {
        min-width: 168px;
        min-height: 44px;
        margin-top: 12px;
        font-size: 13px;
    }
    .deposit-bank-action {
        font-size: 9.5px;
    }
    .recharge-promo-tier {
        gap: 8px;
        padding: 9px;
    }
    .recharge-promo-rank {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
    }
    .recharge-promo-bonus {
        min-width: 60px;
        padding: 6px 7px;
    }
    .recharge-promo-bonus strong {
        font-size: 14px;
    }
}
.deposit-syntax-card {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    padding: 16px;
    height: 100%;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
}
.deposit-qr-wrap {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border: 1px solid #e8edf5;
    border-radius: 12px;
    padding: 12px;
}
.deposit-qr-wrap img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 8px;
}
.deposit-info-item {
    background: #f8fafc;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
}
.deposit-info-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .35px;
    margin-bottom: 8px;
}
.deposit-copy-field {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.deposit-copy-field input {
    flex: 1;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: #fff;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
    padding: 10px 12px;
    color: #0f172a;
    width: 100%;
}
.deposit-auto-hint {
    margin-top: auto;
    text-align: center;
    font-size: 12px;
    color: #64748b;
    padding-top: 8px;
}
.deposit-promo-table {
    margin: 0;
    border: 0 !important;
}
.deposit-promo-table thead th {
    background: #f8fafc !important;
    border-bottom: 1px solid #e8edf5 !important;
    border-top: 0 !important;
    color: #475569 !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    padding: 12px 14px !important;
}
.deposit-promo-table td {
    border-top: 1px solid #edf2f7 !important;
    vertical-align: middle;
    padding: 12px 14px !important;
    background: #fff !important;
}
.deposit-promo-table tbody tr:hover td {
    background: #f8fafc !important;
}
.btn-deposit {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px !important;
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.28);
}
.btn-deposit:hover,
.btn-deposit:focus {
    background: linear-gradient(135deg, #4b4ad8 0%, #6a5de8 100%) !important;
    color: #fff !important;
}
.deposit-copy-btn {
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
    font-weight: 600;
    padding: 0 14px;
    white-space: nowrap;
}
.deposit-copy-btn:hover { background: linear-gradient(135deg, #4b4ad8 0%, #6a5de8 100%); color: #fff; }
#btnDepositOrder.btn-primary {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
}

#exampleModal .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}
#exampleModal .modal-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
    border: 0;
    padding: 16px 22px;
}
#exampleModal .modal-header .modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
#exampleModal .modal-header .close {
    color: #fff;
    opacity: .9;
    text-shadow: none;
}
#exampleModal .modal-body { background: #f5f7fb; padding: 20px; }
#exampleModal .modal-footer {
    border-top: 1px solid #e8edf5;
    background: #fff;
}
.deposit-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}
.deposit-summary-box {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    padding: 14px;
}
.deposit-summary-box .label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .35px;
    margin-bottom: 8px;
}
.deposit-summary-box .value {
    font-size: 18px;
    font-weight: 700;
    word-break: break-all;
}
.deposit-summary-box.pay .value { color: #2563eb; }
.deposit-summary-box.receive .value { color: #16a34a; }
#exampleModal .form-control {
    border-radius: 10px;
    border: 1px solid #dbe3ef;
    padding: 12px 14px;
}

/* --- nav.php --- */
.iq-top-navbar {
    display: flex !important;
    align-items: center !important;
    min-height: 73px !important;
}
.iq-top-navbar .iq-navbar-custom {
    width: 100%;
    display: flex !important;
    align-items: center !important;
}
.iq-top-navbar .iq-navbar-custom > nav.navbar {
    width: 100%;
    min-height: 73px !important;
    height: 73px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px;
}
.iq-top-navbar .side-menu-bt-sidebar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.nav-header-center {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
    padding: 0 8px;
}
/* --- nav category mega menu --- */
.nav-category-menu {
    position: relative;
    flex: 0 0 auto;
}
.nav-category-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(94, 93, 240, 0.2);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(94, 93, 240, 0.08) 0%, rgba(123, 108, 246, 0.12) 100%);
    color: #4338ca;
    font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all .15s ease;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
}
.nav-category-toggle:hover,
.nav-category-toggle.is-active,
.nav-category-menu.show .nav-category-toggle {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(94, 93, 240, 0.28);
}
.nav-category-toggle::after {
    display: none;
}
.nav-category-toggle-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: #4338ca;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
}
.nav-category-toggle.is-active .nav-category-toggle-count,
.nav-category-menu.show .nav-category-toggle .nav-category-toggle-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}
.nav-category-dropdown {
    width: min(720px, calc(100vw - 24px));
    max-height: min(70vh, 520px);
    overflow: hidden;
    padding: 0;
    margin-top: 8px;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}
.iq-top-navbar .dropdown-menu.nav-category-dropdown {
    overflow: hidden !important;
    max-height: min(70vh, 520px);
    padding: 0 !important;
}
.iq-top-navbar .dropdown-menu.nav-category-dropdown.show {
    display: flex !important;
    flex-direction: column;
}
.nav-category-dropdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 0 0 auto;
    padding: 14px 16px;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(135deg, #fafbff 0%, #f8fafc 100%);
}
.nav-category-dropdown-title {
    margin: 0;
    font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    -webkit-font-smoothing: antialiased;
}
.nav-category-all-link {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #5e5df0;
    text-decoration: none !important;
    white-space: nowrap;
}
.nav-category-all-link:hover,
.nav-category-all-link.is-active {
    color: #4338ca;
}
.nav-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 10px 12px 12px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(94, 93, 240, 0.5) rgba(94, 93, 240, 0.08);
    scrollbar-gutter: stable;
}
.nav-category-grid::-webkit-scrollbar {
    width: 6px;
}
.nav-category-grid::-webkit-scrollbar-track {
    margin: 6px 0;
    background: rgba(94, 93, 240, 0.06);
    border-radius: 999px;
}
.nav-category-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(94, 93, 240, 0.55) 0%, rgba(123, 108, 246, 0.7) 100%);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.nav-category-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5e5df0 0%, #7b6cf6 100%);
}
.nav-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    background: #fff;
    text-decoration: none !important;
    transition: all .15s ease;
    min-width: 0;
}
.nav-category-item:hover {
    border-color: rgba(94, 93, 240, 0.35);
    background: rgba(94, 93, 240, 0.04);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.1);
}
.nav-category-item.is-active {
    border-color: rgba(94, 93, 240, 0.45);
    background: rgba(94, 93, 240, 0.08);
    box-shadow: inset 0 0 0 1px rgba(94, 93, 240, 0.12);
}
.nav-category-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.nav-category-item-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.nav-category-item-icon i {
    color: #5e5df0;
    font-size: 16px;
}
.nav-category-item-name {
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    text-align: center;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.nav-category-item.is-active .nav-category-item-name {
    color: #4338ca;
}
@media (max-width: 767.98px) {
    .nav-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .nav-category-toggle-label {
        display: none;
    }
    .nav-category-toggle {
        padding: 0 12px;
    }
}
@media (max-width: 479.98px) {
    .nav-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.site-language-switcher.site-language-switcher-mobile {
    display: none !important;
}
.nav-header-mobile-language-only {
    display: none;
}
.nav-header-categories-only {
    justify-content: flex-start;
}
@media (min-width: 992px) {
    .nav-header-categories-only {
        justify-content: center;
    }
}
.nav-header-search {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 380px;
}
.nav-header-search .form-control {
    height: 34px;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    font-size: 12px;
    padding: 6px 10px;
    box-shadow: none;
    background: #f8fafc;
}
.nav-header-search .form-control:focus {
    border-color: #c7d2fe;
    box-shadow: none;
    background: #fff;
}
.nav-header-search .btn-nav-search-submit,
.nav-header-search .btn-nav-search-clear {
    height: 34px;
    min-width: 34px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
    flex: 0 0 auto;
}
.nav-header-search .btn-nav-search-submit {
    box-shadow: 0 4px 12px rgba(94, 93, 240, 0.22);
}
@media (max-width: 991.98px) {
    .iq-top-navbar {
        padding: 0 !important;
    }
    .nav-header-center {
        display: flex !important;
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        padding: 0;
        margin-top: 2px;
    }
    .nav-header-search {
        max-width: 100%;
    }
    .nav-header-search .form-control {
        flex: 1 1 auto;
        min-width: 0;
    }
    .iq-top-navbar .iq-navbar-custom > nav.navbar {
        height: auto !important;
        min-height: 0 !important;
        flex-wrap: wrap;
        align-items: center;
        padding: 8px 10px !important;
        gap: 8px;
    }
    .iq-top-navbar {
        min-height: 0 !important;
    }
    .iq-top-navbar .side-menu-bt-sidebar {
        flex: 1 1 auto;
        min-width: 0;
        gap: 6px;
    }
    .iq-top-navbar .nav-btn {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
    .iq-top-navbar .nav-header-right {
        flex: 0 0 auto;
        flex-wrap: nowrap !important;
        margin-left: auto !important;
        padding-right: 0;
        order: 2;
        gap: 8px;
    }
    .iq-top-navbar .nav-header-right .navbar-toggler {
        display: none !important;
    }
    .iq-top-navbar .nav-header-right .navbar-collapse,
    .iq-top-navbar .nav-header-right .nav-header-actions {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-basis: auto !important;
        flex-grow: 0 !important;
        align-items: center !important;
    }
    .iq-top-navbar .nav-header-right .navbar-nav,
    .iq-top-navbar .nav-header-right .navbar-list,
    .iq-top-navbar .nav-header-right .nav-header-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .iq-top-navbar .nav-header-right .navbar-list > li,
    .iq-top-navbar .nav-header-right .nav-header-actions > li {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
    }
    .nav-page-spacer {
        padding-top: 100px !important;
    }
}
@media (max-width: 575.98px) {
    .iq-top-navbar .iq-navbar-custom > nav.navbar {
        padding: 7px 8px !important;
        gap: 6px;
    }
    .iq-top-navbar .nav-header-right {
        gap: 5px;
    }
    .iq-top-navbar .nav-header-right > .site-language-switcher {
        display: none;
    }
    .site-language-switcher.site-language-switcher-mobile {
        display: inline-flex !important;
        flex: 0 0 auto;
    }
    .nav-header-center {
        gap: 6px;
        margin-top: 0;
        flex-wrap: nowrap;
    }
    .nav-header-search {
        flex: 1 1 auto;
        min-width: 0;
    }
    .site-language-switcher button {
        min-width: 25px;
        width: 25px;
        padding: 0;
        font-size: 13px;
    }
    .site-language-switcher .site-lang-label {
        display: none;
    }
    .iq-top-navbar .change-mode,
    .iq-top-navbar .change-mode .custom-control,
    .iq-top-navbar .change-mode .custom-switch-inner,
    .iq-top-navbar .change-mode .custom-control-label {
        width: 34px !important;
        min-width: 34px !important;
    }
    .iq-top-navbar .change-mode .custom-control-input:not(:checked) ~ .custom-control-label .switch-icon-right,
    .iq-top-navbar .change-mode .custom-control-input:checked ~ .custom-control-label .switch-icon-left {
        display: none !important;
    }
    .iq-top-navbar .change-mode .custom-control-label .switch-icon-left,
    .iq-top-navbar .change-mode .custom-control-label .switch-icon-right {
        left: 3px;
        right: auto;
    }
    .nav-page-spacer {
        padding-top: 96px !important;
    }
    .iq-top-navbar .nav-btn-login b,
    .iq-top-navbar .nav-btn-admin b {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
    .iq-top-navbar .nav-btn-wallet {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .iq-top-navbar .nav-user-chip .user-name {
        display: none;
    }
    .iq-top-navbar .nav-header-right a.nav-user-chip {
        width: 34px !important;
        min-width: 34px !important;
        padding: 2px !important;
        justify-content: center;
    }
}
.iq-top-navbar .nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 10px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    padding: 8px 12px !important;
    line-height: 1.2 !important;
    border: 0 !important;
    text-decoration: none !important;
    transition: all .15s ease;
    white-space: nowrap;
}
.iq-top-navbar .nav-btn-wallet {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(94, 93, 240, 0.28);
}
.iq-top-navbar .nav-btn-wallet:hover {
    color: #fff !important;
    filter: brightness(1.05);
}
.iq-top-navbar .nav-btn-login {
    background: #fff !important;
    color: #5e5df0 !important;
    border: 1px solid #c7d2fe !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.iq-top-navbar .nav-btn-login:hover {
    background: #eef2ff !important;
    color: #4b4ad8 !important;
}
.iq-top-navbar .nav-btn-admin {
    background: #fff !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
}
.iq-top-navbar .nav-btn-admin:hover {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}
.site-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 34px;
    padding: 3px;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    background: #f8fafc;
}
.site-language-switcher button {
    height: 26px;
    min-width: 34px;
    padding: 0 7px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    line-height: 26px;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.site-language-switcher .site-lang-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
}
.site-language-switcher button:hover,
.site-language-switcher button.active {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
}
.iq-top-navbar .nav-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding-right: 4px;
    height: 100%;
}
.iq-top-navbar .nav-header-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}
.iq-top-navbar .nav-header-actions > li {
    float: none !important;
    display: flex !important;
    align-items: center !important;
}
.iq-top-navbar .nav-header-right .navbar-collapse {
    margin-left: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
}
.iq-top-navbar .nav-header-right .navbar-list {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
}
.iq-top-navbar .nav-header-right .navbar-list > li,
.iq-top-navbar .nav-header-right .navbar-list > li.nav-item,
.iq-top-navbar .nav-header-right .navbar-list > li.nav-icon {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1 !important;
}
.iq-top-navbar .nav-header-right .nav-icon,
.iq-top-navbar .nav-header-right a.nav-icon {
    line-height: 1 !important;
    height: auto !important;
    min-height: 0 !important;
}
.iq-top-navbar .nav-header-right .nav-item.nav-icon > a.nav-notify-btn,
.iq-top-navbar .nav-header-right a.nav-notify-btn {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    line-height: 1 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #f8fafc !important;
    border: 1px solid #e8edf5 !important;
    position: relative;
    box-shadow: none;
    transition: all .15s ease;
}
.iq-top-navbar .nav-header-right .nav-item.nav-icon > a.nav-user-chip,
.iq-top-navbar .nav-header-right a.nav-user-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px;
    width: auto !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 2px 8px 2px 2px !important;
    line-height: 1 !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e8edf5 !important;
    text-decoration: none !important;
    transition: all .15s ease;
    overflow: hidden;
}
.iq-top-navbar .nav-user-chip:hover,
.iq-top-navbar .nav-header-right a.nav-user-chip:hover {
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
}
.iq-top-navbar .nav-user-chip .img-fluid.avatar-rounded,
.iq-top-navbar .navbar-list li > a.nav-user-chip > img {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid #fff !important;
    box-shadow: none !important;
    line-height: 1 !important;
    flex: 0 0 28px !important;
}
.iq-top-navbar .nav-user-chip .user-name {
    color: #334155;
    font-weight: 600;
    font-size: 12.5px;
    line-height: 1 !important;
    margin: 0 !important;
}
.iq-top-navbar .nav-notify-btn:hover,
.iq-top-navbar .nav-header-right a.nav-notify-btn:hover {
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
}
.iq-top-navbar .nav-notify-btn svg {
    width: 18px !important;
    height: 18px !important;
}
.iq-top-navbar .nav-notify-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
}
.iq-top-navbar .dropdown-menu {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14) !important;
    overflow: hidden;
    padding: 6px !important;
}
.iq-top-navbar .dropdown-menu .dropdown-item {
    border-radius: 10px;
    padding: 10px 12px;
}
.iq-top-navbar .dropdown-menu .dropdown-item:hover {
    background: #eef2ff;
}
.iq-top-navbar .dropdown-menu .dropdown-item a {
    color: #334155;
    font-weight: 500;
}
.iq-top-navbar .change-mode {
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    height: 34px;
}
.iq-top-navbar .change-mode .custom-control {
    padding-left: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: 34px;
}
.iq-top-navbar .change-mode .custom-control-inline {
    margin-right: 0 !important;
}
.iq-top-navbar .change-mode .custom-switch-inner {
    height: 34px;
}
.iq-top-navbar .change-mode .custom-switch-inner > p {
    display: none;
}
.iq-top-navbar .change-mode .custom-control-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.iq-top-navbar .change-mode .custom-control-label {
    width: 62px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e8edf5 !important;
    box-shadow: none;
    cursor: pointer;
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
    transition: all .15s ease;
}
.iq-top-navbar .change-mode .custom-control-label::before,
.iq-top-navbar .change-mode .custom-control-label::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
}
.iq-top-navbar .change-mode .custom-control-label .switch-icon-left,
.iq-top-navbar .change-mode .custom-control-label .switch-icon-right {
    position: absolute;
    top: 3px;
    transform: none;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .18s ease;
}
.iq-top-navbar .change-mode .custom-control-label .switch-icon-left {
    left: 3px;
}
.iq-top-navbar .change-mode .custom-control-label .switch-icon-right {
    right: 3px;
}
.iq-top-navbar .change-mode .custom-control-label svg {
    width: 14px !important;
    height: 14px !important;
    color: #94a3b8;
}
.iq-top-navbar .change-mode .custom-control-input:not(:checked) ~ .custom-control-label .switch-icon-left {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    box-shadow: 0 3px 8px rgba(94, 93, 240, 0.25);
}
.iq-top-navbar .change-mode .custom-control-input:not(:checked) ~ .custom-control-label .switch-icon-left svg {
    color: #fff;
}
.iq-top-navbar .change-mode .custom-control-input:checked ~ .custom-control-label {
    background: #1e1e28 !important;
    border-color: #333 !important;
}
.iq-top-navbar .change-mode .custom-control-input:checked ~ .custom-control-label .switch-icon-right {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    box-shadow: 0 3px 8px rgba(94, 93, 240, 0.25);
}
.iq-top-navbar .change-mode .custom-control-input:checked ~ .custom-control-label .switch-icon-right svg {
    color: #fff;
}
.iq-top-navbar .change-mode .custom-control-label:hover {
    border-color: #c7d2fe !important;
    background: #eef2ff !important;
}
.nav-page-spacer {
    padding-top: 90px;
}
/* Dark mode header — keep after light rules so !important wins correctly */
body.dark .iq-top-navbar {
    background: #181818 !important;
    border-bottom: 1px solid #252525 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
}
body.dark .iq-top-navbar .wrapper-menu,
body.dark .iq-top-navbar .navbar-toggler svg,
body.dark .iq-top-navbar .text-secondary {
    color: #c7cbd3 !important;
}
body.dark .iq-top-navbar .nav-btn-admin {
    background: #222 !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    color: #fca5a5 !important;
}
body.dark .iq-top-navbar .nav-btn-admin:hover {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #fecaca !important;
}
body.dark .iq-top-navbar .nav-btn-login {
    background: #222 !important;
    border: 1px solid rgba(94, 93, 240, 0.45) !important;
    color: #a5b4fc !important;
}
body.dark .iq-top-navbar .nav-btn-login:hover {
    background: rgba(94, 93, 240, 0.18) !important;
    color: #c7d2fe !important;
}
body.dark .iq-top-navbar .nav-header-right a.nav-notify-btn,
body.dark .iq-top-navbar .nav-header-right .nav-item.nav-icon > a.nav-notify-btn,
body.dark .iq-top-navbar .nav-header-right a.nav-user-chip,
body.dark .iq-top-navbar .nav-header-right .nav-item.nav-icon > a.nav-user-chip,
body.dark .iq-top-navbar .change-mode .custom-control-label,
body.dark .iq-top-navbar .site-language-switcher {
    background: #222 !important;
    border: 1px solid #333 !important;
    box-shadow: none !important;
}
body.dark .iq-top-navbar .site-language-switcher button {
    color: #aeb4bf;
}
body.dark .iq-top-navbar .site-language-switcher button.active,
body.dark .iq-top-navbar .site-language-switcher button:hover {
    color: #fff;
}
body.dark .iq-top-navbar .nav-header-right a.nav-notify-btn:hover,
body.dark .iq-top-navbar .nav-header-right a.nav-user-chip:hover,
body.dark .iq-top-navbar .nav-user-chip:hover,
body.dark .iq-top-navbar .change-mode .custom-control-label:hover {
    background: #2a2a2a !important;
    border-color: rgba(94, 93, 240, 0.45) !important;
}
body.dark .iq-top-navbar .change-mode .custom-control-input:checked ~ .custom-control-label {
    background: #1a1a24 !important;
    border-color: #333 !important;
}
body.dark .iq-top-navbar .change-mode .custom-control-label svg {
    color: #94a3b8 !important;
}
body.dark .iq-top-navbar .nav-header-right a.nav-notify-btn svg {
    color: #c7cbd3 !important;
}
body.dark .iq-top-navbar .nav-header-right a.nav-user-chip .user-name {
    color: #c7cbd3 !important;
}
body.dark .iq-top-navbar .navbar-list li > a.nav-user-chip > img {
    border-color: #333 !important;
}
body.dark .iq-top-navbar .dropdown-menu,
body.dark .iq-top-navbar .iq-sub-dropdown {
    background: #181818 !important;
    border: 1px solid #252525 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
}
body.dark .iq-top-navbar .dropdown-menu .dropdown-item:hover {
    background: #252538 !important;
}
body.dark .iq-top-navbar .dropdown-menu .dropdown-item a,
body.dark .iq-top-navbar .dropdown-menu .svg-icon {
    color: #c7cbd3 !important;
}
body.dark .nav-header-search .form-control {
    background: #222 !important;
    border-color: #333 !important;
    color: #c7cbd3 !important;
}
body.dark .nav-header-search .form-control:focus {
    background: #181818 !important;
    border-color: rgba(94, 93, 240, 0.45) !important;
}
body.dark .nav-header-search .form-control::placeholder {
    color: #6b7280 !important;
}
body.dark .nav-header-search .btn-nav-search-clear {
    background: #222 !important;
    border-color: #333 !important;
    color: #a5b4fc !important;
}
body.dark .nav-category-toggle {
    background: rgba(94, 93, 240, 0.12) !important;
    border-color: rgba(94, 93, 240, 0.25) !important;
    color: #c7d2fe !important;
}
body.dark .nav-category-toggle:hover,
body.dark .nav-category-toggle.is-active,
body.dark .nav-category-menu.show .nav-category-toggle {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
}
body.dark .nav-category-toggle-count {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #eef2ff !important;
}
body.dark .nav-category-dropdown {
    background: #181818 !important;
    border-color: #333 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
}
body.dark .nav-category-dropdown-head {
    background: #1f1f2a !important;
    border-bottom-color: #333 !important;
}
body.dark .nav-category-dropdown-title {
    color: #eef2ff !important;
}
body.dark .nav-category-grid {
    scrollbar-color: rgba(123, 108, 246, 0.55) rgba(255, 255, 255, 0.06);
}
body.dark .nav-category-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
}
body.dark .nav-category-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(94, 93, 240, 0.65) 0%, rgba(123, 108, 246, 0.8) 100%);
    border-color: rgba(255, 255, 255, 0.12);
}
body.dark .nav-category-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #6d6cf5 0%, #9588f8 100%);
}
body.dark .nav-category-item {
    background: #1f1f2a !important;
    border-color: #333 !important;
}
body.dark .nav-category-item:hover,
body.dark .nav-category-item.is-active {
    background: rgba(94, 93, 240, 0.12) !important;
    border-color: rgba(94, 93, 240, 0.35) !important;
}
body.dark .nav-category-item-icon {
    background: #252530 !important;
}
body.dark .nav-category-item-name {
    color: #c7cbd3 !important;
}
body.dark .nav-category-item.is-active .nav-category-item-name {
    color: #c7d2fe !important;
}
body.dark .category-page-hero {
    background: rgba(94, 93, 240, 0.08) !important;
    border-color: rgba(94, 93, 240, 0.2) !important;
}
body.dark .category-page-title {
    color: #eef2ff !important;
}
body.dark .category-page-meta,
body.dark .category-page-crumb-current {
    color: #8f9fbc !important;
}
body.dark .category-page-hero-media {
    background: #1f1f2a !important;
    border-color: #333 !important;
}
body.dark .category-page-hero-placeholder {
    background: #252530 !important;
}

/* --- header.php --- */
body {
        <?=$CMSNT->site('font_family');
        ?>
    }

    .card-product {
        color: white;
        background-image: linear-gradient(to right, <?=$CMSNT->site('theme_color'); ?>, <?=$CMSNT->site('theme_color'); ?>, <?=$CMSNT->site('theme_color2'); ?>);
    }

    #loading-center {
        width: 100%;
        height: 100%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
    }

    .change-mode .custom-switch.custom-switch-icon label.custom-control-label:after {
        top: 0;
        left: 0;
        width: 35px;
        height: 30px;
        border-radius: 5px 0 0 5px;
        background-color: <?=$CMSNT->site('theme_color'); ?>;
        border-color: <?=$CMSNT->site('theme_color'); ?>;
        z-index: 0;
    }

/* --- sidebar.php --- */
.iq-sidebar {
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 55%),
        radial-gradient(90% 60% at 100% 100%, rgba(15, 23, 42, 0.18) 0%, transparent 50%),
        linear-gradient(168deg, #4338ca 0%, #5e5df0 48%, #7c6ff7 100%) !important;
    border-right: 0 !important;
    box-shadow: 10px 0 32px rgba(67, 56, 202, 0.22);
}
.iq-sidebar-logo {
    padding: 18px 18px 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 74px;
}
.iq-sidebar .sidebar-native-scroll {
    height: calc(100vh - 74px) !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
.iq-sidebar .sidebar-native-scroll::-webkit-scrollbar {
    width: 6px;
}
.iq-sidebar .sidebar-native-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.iq-sidebar .sidebar-native-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 999px;
}
.iq-sidebar .sidebar-native-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.45);
}
.iq-sidebar-logo .header-logo img {
    max-height: 42px;
    width: auto;
}
.iq-sidebar .side-menu-bt-sidebar-1 .wrapper-menu {
    opacity: .85;
    transition: opacity .15s ease, transform .15s ease;
}
.iq-sidebar .side-menu-bt-sidebar-1 .wrapper-menu:hover {
    opacity: 1;
    transform: scale(1.04);
}
.iq-sidebar-menu {
    padding: 12px 12px 28px !important;
}
.iq-sidebar .side-menu {
    padding: 0 !important;
}
.iq-sidebar .side-menu > li.sidebar-layout {
    margin: 0 0 5px !important;
}
.iq-sidebar .side-menu > li.sidebar-layout > a.svg-icon,
.iq-sidebar .side-menu li.sidebar-layout > a.svg-icon {
    display: flex !important;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 12px !important;
    padding: 8px 10px !important;
    margin: 0 !important;
    font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 500;
    font-size: 13.5px;
    line-height: 1.3;
    letter-spacing: 0.01em;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
    border: 1px solid transparent;
    text-decoration: none !important;
}
.iq-sidebar .side-menu li.sidebar-layout > a.svg-icon > span {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 0 !important;
}
.iq-sidebar .side-menu li.sidebar-layout > a.svg-icon > i {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    text-align: center;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.iq-sidebar .side-menu li.sidebar-layout > a.svg-icon > svg.iq-arrow-right,
.iq-sidebar .side-menu li.sidebar-layout > a.svg-icon > svg.arrow-active {
    flex: 0 0 16px;
    width: 16px !important;
    min-width: 16px;
    height: 16px;
    margin-left: auto;
    opacity: .7;
    transition: transform .18s ease, opacity .18s ease;
}
.iq-sidebar .side-menu li.sidebar-layout > a.svg-icon[aria-expanded="true"] > svg.iq-arrow-right,
.iq-sidebar .side-menu li.sidebar-layout > a.svg-icon:not(.collapsed) > svg.iq-arrow-right {
    transform: rotate(90deg);
    opacity: 1;
}
.iq-sidebar .side-menu li.sidebar-layout > a.svg-icon:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.1);
}
.iq-sidebar .side-menu li.sidebar-layout > a.svg-icon:hover > i {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}
.iq-sidebar .side-menu li.sidebar-layout.active > a.svg-icon,
.iq-sidebar .side-menu li.active > a.svg-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    font-weight: 600;
}
.iq-sidebar .side-menu li.sidebar-layout.active > a.svg-icon > i,
.iq-sidebar .side-menu li.active > a.svg-icon > i {
    background: #fff;
    color: #5e5df0;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
}
.iq-sidebar .side-menu .submenu {
    background: rgba(15, 23, 42, 0.03) !important;
    border-radius: 14px;
    margin: 4px 0 10px !important;
    padding: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.iq-sidebar .side-menu .submenu li > a.svg-icon {
    gap: 10px;
    padding: 7px 9px !important;
    font-size: 13px;
    border-radius: 10px !important;
}
.iq-sidebar .side-menu .submenu li > a.svg-icon > i {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 9px;
    font-size: 12px;
}
.iq-sidebar .side-menu .submenu li > a.svg-icon img {
    flex: 0 0 28px;
    width: 28px !important;
    height: 28px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-right: 0 !important;
}
.iq-sidebar .side-menu .submenu li.active > a.svg-icon,
.iq-sidebar .side-menu .submenu li > a.svg-icon:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
}
.iq-sidebar .side-menu .submenu li.active > a.svg-icon > i,
.iq-sidebar .side-menu .submenu li > a.svg-icon:hover > i {
    background: #fff;
    color: #5e5df0;
    border-color: transparent;
}
.iq-sidebar .sidebar-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 2px 10px;
    padding: 0 6px;
    color: rgba(255, 255, 255, 0.58) !important;
    font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.iq-sidebar .sidebar-section-label::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 90%);
}
.iq-sidebar .sidebar-balance-box {
    margin: 6px 0 14px;
    padding: 14px 14px 13px;
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 8px 20px rgba(15, 23, 42, 0.1);
}
.iq-sidebar .sidebar-balance-box .label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 6px;
}
.iq-sidebar .sidebar-balance-box .money {
    color: #fde68a;
    font-weight: 800;
    font-size: 16px;
}
.iq-sidebar .sidebar-balance-box .discount {
    color: #fecaca;
    font-weight: 700;
}
.iq-sidebar .sidebar-balance-box .meta {
    color: rgba(255, 255, 255, 0.88);
    font-size: 12.5px;
    line-height: 1.5;
}
.iq-sidebar .dropdown-toggle {
    color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 10px !important;
    padding: 8px 10px !important;
}
.iq-sidebar .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}
.iq-sidebar .iq-sub-dropdown.dropdown-menu {
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18) !important;
    overflow: hidden;
}
.iq-sidebar .dropdown-item-1:hover {
    background: #eef2ff !important;
}
.change-mode .custom-switch.custom-switch-icon label.custom-control-label:after {
    top: 0;
    left: 0;
    width: 35px;
    height: 30px;
    border-radius: 5px 0 0 5px;
    background-color: <?=$CMSNT->site('theme_color');?>;
    border-color: <?=$CMSNT->site('theme_color');?>;
    z-index: 0;
}

/* --- change-password.php --- */
.deposit-card {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden;
}
.deposit-card > .card-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 14px 18px !important;
}
.deposit-card > .card-header .card-title {
    color: #fff !important;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}
.deposit-card .card-body {
    padding: 22px 20px !important;
    background: #fff;
}
.deposit-card .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #475569 !important;
    margin-bottom: 6px;
}
.deposit-card .form-control {
    border-radius: 10px !important;
    border: 1px solid #dbe3ef !important;
    min-height: 44px;
    background: #f8fafc !important;
    color: #0f172a !important;
    box-shadow: none !important;
}
.deposit-card .form-control:focus {
    border-color: #5e5df0 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(94, 93, 240, 0.15) !important;
}
.deposit-card .card-footer {
    background: #f8fafc !important;
    border-top: 1px solid #e8edf5 !important;
    padding: 14px 20px !important;
}
.btn-deposit {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px !important;
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.28);
    min-height: 42px;
    padding: 8px 18px !important;
}
.btn-deposit:hover,
.btn-deposit:focus {
    background: linear-gradient(135deg, #4b4ad8 0%, #6a5de8 100%) !important;
    color: #fff !important;
}
.btn-deposit-danger {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
    font-weight: 600;
    border-radius: 10px !important;
    min-height: 42px;
    padding: 8px 18px !important;
}
.btn-deposit-danger:hover {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

/* --- contact.php --- */
.deposit-card {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden;
}
.deposit-card > .card-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 14px 18px !important;
}
.deposit-card > .card-header b {
    color: #fff !important;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}
.deposit-contact-body {
    padding: 24px 22px;
    color: #334155;
    line-height: 1.7;
    font-size: 14px;
}
.deposit-contact-body a {
    color: #5e5df0;
    font-weight: 600;
}
.deposit-contact-body a:hover {
    color: #4b4ad8;
}
.deposit-contact-body h1,
.deposit-contact-body h2,
.deposit-contact-body h3,
.deposit-contact-body h4 {
    color: #0f172a;
    font-weight: 700;
}
.deposit-contact-body img {
    max-width: 100%;
    border-radius: 12px;
}
.deposit-contact-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e8edf5;
}
.deposit-contact-body table th,
.deposit-contact-body table td {
    padding: 12px 14px;
    border-top: 1px solid #edf2f7;
    vertical-align: middle;
}
.deposit-contact-body table tr:first-child th,
.deposit-contact-body table tr:first-child td {
    border-top: 0;
    background: #f8fafc;
}

/* --- crypto.php --- */
.crypto-info-card {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}
.crypto-info-card .card-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
    border: 0;
    padding: 14px 18px;
}
.crypto-info-item {
    background: #f8fafc;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}
.crypto-info-item:last-child { margin-bottom: 0; }
.crypto-info-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 8px;
}
.crypto-info-label-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    color: #0f172a;
}
.crypto-info-icon-wrap {
    position: relative;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
}
.crypto-info-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e8edf5;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}
.crypto-info-icon-network {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #f8fafc;
    padding: 1px;
}
.crypto-copy-field {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.crypto-copy-field input {
    flex: 1;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: #fff;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
    padding: 10px 12px;
    color: #0f172a;
}
.crypto-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 10px;
    background: #5e5df0;
    color: #fff;
    font-weight: 600;
    padding: 0 14px;
    white-space: nowrap;
}
.crypto-copy-btn i {
    font-size: 12px;
    line-height: 1;
}
.crypto-copy-btn:hover { background: #4b4ad8; color: #fff; }
.crypto-note-list {
    margin: 14px 0 0;
    padding-left: 18px;
    color: #475569;
    font-size: 13px;
}
.crypto-note-list li { margin-bottom: 6px; }

#modalCryptoInvoice.modal {
    padding: 0.75rem !important;
}
#modalCryptoInvoice .modal-dialog {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
}
#modalCryptoInvoice .modal-dialog.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1.5rem);
}
#modalCryptoInvoice.modal.fade .modal-dialog,
#modalCryptoInvoice.modal.show .modal-dialog {
    transform: none !important;
    transition: none !important;
}
#modalCryptoInvoice .modal-content {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
    width: 100%;
    max-height: calc(100vh - 1.5rem);
    display: flex;
    flex-direction: column;
}
#modalCryptoInvoice .modal-header,
#modalCryptoInvoice .modal-footer {
    flex-shrink: 0;
}
#modalCryptoInvoice .modal-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
    border: 0;
    padding: 10px 16px;
    align-items: center;
}
.crypto-invoice-header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.crypto-invoice-header-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
#modalCryptoInvoice .modal-header .modal-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.25;
}
#modalCryptoInvoice .modal-header .close {
    color: #fff;
    opacity: .9;
    text-shadow: none;
    margin: -6px -6px -6px auto;
    padding: 6px;
    font-size: 1.35rem;
}
#modalCryptoInvoice .modal-body {
    background: linear-gradient(180deg, #f8faff 0%, #f1f5f9 100%);
    padding: 12px 14px 14px;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
}
#modalCryptoInvoice .modal-footer {
    border-top: 1px solid #e8edf5;
    background: #fff;
    padding: 10px 14px;
}
.crypto-invoice-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.crypto-invoice-check-btn {
    min-width: 170px;
    padding: 8px 14px;
    font-size: 13px;
}
.crypto-invoice-close-btn {
    min-width: 88px;
    padding: 8px 14px;
    font-size: 13px;
}
.visually-hidden-copy {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.crypto-invoice-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 10px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.crypto-invoice-status-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.crypto-invoice-status-label {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .35px;
}
.crypto-invoice-status-hint {
    font-size: 11px;
    color: #64748b;
}
#modalCryptoInvoice .crypto-waiting-badge {
    padding: 4px 10px;
    font-size: 11px;
    gap: 6px;
}

.crypto-invoice-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(130px, 0.75fr);
    gap: 10px;
    margin-bottom: 10px;
}
.crypto-invoice-hero-main,
.crypto-invoice-hero-timer {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.crypto-invoice-hero-main {
    padding: 12px 14px;
    position: relative;
    overflow: hidden;
}
.crypto-invoice-hero-main:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #26A17B 0%, #5e5df0 100%);
}
.crypto-invoice-hero-label {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .35px;
    margin-bottom: 6px;
}
.crypto-invoice-hero-amount {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.crypto-invoice-hero-amount .crypto-amount-usdt-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
}
.crypto-invoice-hero-amount-value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
    letter-spacing: -.02em;
}
.crypto-invoice-hero-amount-unit {
    font-size: 14px;
    font-weight: 700;
    color: #16a34a;
}
.crypto-invoice-hero-receive {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}
.crypto-invoice-hero-receive strong {
    color: #16a34a;
    font-size: 14px;
    font-weight: 700;
    margin-left: 4px;
}
.crypto-invoice-copy-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #4338ca;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.crypto-invoice-copy-chip:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    transform: translateY(-1px);
}
.crypto-invoice-hero-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 10px;
    background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
    border-color: #fecaca;
}
.crypto-invoice-timer-ring {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fef2f2;
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-bottom: 4px;
}
.crypto-invoice-timer-label {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .35px;
}
.crypto-invoice-timer-value {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.05;
    color: #dc2626;
    margin: 2px 0;
    font-variant-numeric: tabular-nums;
}
.crypto-invoice-timer-at {
    font-size: 10px;
    color: #94a3b8;
    line-height: 1.2;
}

.crypto-invoice-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}
.crypto-invoice-meta-item {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    padding: 8px 10px;
    min-width: 0;
}
.crypto-invoice-meta-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .35px;
    margin-bottom: 4px;
}
.crypto-invoice-meta-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    word-break: break-all;
    line-height: 1.3;
}
.crypto-invoice-meta-method {
    color: #4338ca;
}

.crypto-pay-methods {
    margin-bottom: 10px;
}
.crypto-pay-method-panel {
    display: none;
}
#modalCryptoInvoice .crypto-pay-card {
    padding: 12px !important;
    border-radius: 12px !important;
}
#modalCryptoInvoice .crypto-pay-card-head {
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 8px;
}
#modalCryptoInvoice .crypto-network-icon-sm {
    width: 28px;
    height: 28px;
}
#modalCryptoInvoice .crypto-pay-title {
    font-size: 13px;
    line-height: 1.25;
}
#modalCryptoInvoice .crypto-pay-subtitle {
    font-size: 11px;
    line-height: 1.3;
    margin-top: 1px;
    display: none;
}
.crypto-pay-body-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(190px, 0.95fr);
    gap: 10px;
    align-items: start;
}
.crypto-pay-subtitle {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    margin-top: 2px;
}
.crypto-pay-address-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-bottom: 5px;
}
.crypto-pay-qr-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#modalCryptoInvoice .crypto-pay-steps li {
    padding: 0 0 8px 30px;
    font-size: 12px;
    line-height: 1.35;
}
#modalCryptoInvoice .crypto-pay-steps li:before {
    width: 20px;
    height: 20px;
    font-size: 10px;
    line-height: 20px;
}
#modalCryptoInvoice .crypto-pay-steps li:after {
    left: 9px;
    top: 20px;
}
#modalCryptoInvoice .crypto-qr-wrap {
    padding: 10px;
    border-radius: 10px;
}
#modalCryptoInvoice .crypto-qr-wrap img {
    width: 120px;
    height: 120px;
    padding: 4px;
}
#modalCryptoInvoice .crypto-copy-field input {
    font-size: 11px;
    padding: 7px 8px;
}
#modalCryptoInvoice .crypto-copy-btn {
    padding: 0 10px;
    font-size: 12px;
    gap: 5px;
}
#modalCryptoInvoice .crypto-copy-btn i {
    font-size: 11px;
}
#modalCryptoInvoice .crypto-warning-box {
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.4;
    gap: 8px;
}
#modalCryptoInvoice .crypto-warning-box i {
    margin-top: 1px;
    font-size: 12px;
}
.crypto-modal-language {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: 12px;
    padding: 3px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .15);
}
.crypto-modal-language button {
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: rgba(255, 255, 255, .82);
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
}
.crypto-modal-language button:hover,
.crypto-modal-language button.active {
    background: #fff;
    color: #5e5df0;
}
.crypto-page-language {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: max-content;
    max-width: 100%;
    margin: 0 auto 16px;
    padding: 4px;
    border: 1px solid #e0e7ff;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
}
.crypto-page-language button {
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.crypto-page-language button:hover,
.crypto-page-language button.active {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
}
body.dark .crypto-page-language {
    background: #181818;
    border-color: #303030;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
body.dark .crypto-page-language button {
    color: #aeb4bf;
}
body.dark .crypto-page-language button.active,
body.dark .crypto-page-language button:hover {
    color: #fff;
}
@media (max-width: 575.98px) {
    #modalCryptoInvoice .modal-header {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 10px 14px;
    }
    #modalCryptoInvoice .modal-header .modal-title {
        width: calc(100% - 34px);
        font-size: 16px;
    }
    .crypto-modal-language {
        order: 3;
        width: 100%;
        justify-content: center;
        margin: 8px 0 0;
    }
    .crypto-modal-language button {
        flex: 1;
        padding: 6px 8px;
    }
    .crypto-page-language {
        width: 100%;
    }
    .crypto-page-language button {
        flex: 1;
        padding: 7px 5px;
        font-size: 11px;
    }
}

.crypto-invoice-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
@media (min-width: 992px) {
    .crypto-invoice-summary {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.crypto-summary-box {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    padding: 14px;
    min-height: 92px;
}
.crypto-summary-box .label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .35px;
    margin-bottom: 8px;
}
.crypto-summary-box .value {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    word-break: break-all;
}
.crypto-summary-box.amount .value { color: #dc2626; font-size: 22px; line-height: 1.1; }
.crypto-pay-amount-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.crypto-amount-usdt-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: contain;
    flex: 0 0 24px;
    box-shadow: 0 2px 6px rgba(38, 161, 123, 0.22);
}
.crypto-pay-amount-value .crypto-amount-unit {
    font-size: 14px;
    font-weight: 700;
    color: #16a34a;
    letter-spacing: 0.2px;
}
.crypto-summary-box.receive .value { color: #16a34a; font-size: 18px; line-height: 1.2; }
.crypto-summary-box .copy-inline {
    margin-top: 8px;
    display: flex;
    gap: 6px;
}
.crypto-summary-box .copy-inline input {
    flex: 1;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    font-size: 12px;
    padding: 6px 8px;
    background: #f8fafc;
    color: #dc2626;
    font-weight: 700;
    width: 100px;
}
.crypto-summary-box .copy-inline button {
    border: 0;
    border-radius: 8px;
    background: #eef2ff;
    color: #5e5df0;
    font-size: 12px;
    font-weight: 700;
    padding: 0 10px;
}

.crypto-pay-methods > [class*="col-"] { display: flex; }
.crypto-pay-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8edf5 !important;
    border-radius: 16px !important;
    padding: 18px !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}
.crypto-pay-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f7;
}
.crypto-pay-icon-wrap {
    position: relative;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
}
.crypto-pay-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e8edf5;
    padding: 7px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
.crypto-pay-icon-badge {
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #fff;
    object-fit: contain;
    padding: 2px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
.crypto-pay-card-head-body {
    flex: 1;
    min-width: 0;
}
.crypto-pay-card-head .crypto-pay-badge {
    margin-bottom: 6px;
}
.crypto-pay-card-head .crypto-pay-title {
    margin-bottom: 0;
}
.crypto-pay-card-trc20 {
    border-top: 3px solid #26A17B !important;
}
.crypto-pay-card-bep20 {
    border-top: 3px solid #F3BA2F !important;
}
.crypto-pay-card-payid {
    border-top: 3px solid #F3BA2F !important;
}
.crypto-pay-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.crypto-pay-badge.trc20 { background: #fef3c7; color: #b45309; }
.crypto-pay-badge.bep20 { background: #ffedd5; color: #c2410c; }
.crypto-pay-badge.payid { background: #dbeafe; color: #1d4ed8; }
.crypto-method-options {
    display: grid;
    gap: 10px;
}
.crypto-method-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}
.crypto-method-hint {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
    font-family: inherit;
}
.crypto-method-option {
    display: block;
    margin: 0;
    cursor: pointer;
    height: 100%;
}
.crypto-method-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.crypto-method-option-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 148px;
    height: 100%;
    padding: 16px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    text-align: center;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease;
}
@media (hover: hover) {
    .crypto-method-option:hover .crypto-method-option-body {
        border-color: #a5b4fc;
        box-shadow: 0 10px 24px rgba(94, 93, 240, 0.14);
    }
    .crypto-method-option:hover .crypto-network-icon {
        transform: scale(1.06);
        box-shadow: 0 6px 18px rgba(94, 93, 240, 0.18);
    }
    .crypto-method-option:hover input:checked + .crypto-method-option-body {
        border-color: #5e5df0;
        box-shadow: 0 0 0 3px rgba(94, 93, 240, .16), 0 10px 24px rgba(94, 93, 240, 0.14);
    }
}
.crypto-network-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transition: transform .15s ease, box-shadow .15s ease;
}
.crypto-network-icon-sm {
    width: 34px;
    height: 34px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.crypto-method-option input:checked + .crypto-method-option-body {
    border-color: #5e5df0;
    box-shadow: 0 0 0 3px rgba(94, 93, 240, .12);
}
.crypto-method-option-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
}
.crypto-method-available {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 11px;
    font-weight: 600;
}
.crypto-method-available:before {
    content: "✓";
    font-size: 10px;
    font-weight: 800;
}
body.dark .crypto-method-option-body {
    background: linear-gradient(180deg, #1c1c1c 0%, #222 100%);
    border-color: #333;
    color: #c7cbd3;
}
body.dark .crypto-method-option input:checked + .crypto-method-option-body {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.16);
    background: linear-gradient(180deg, #1e1e2a 0%, #262636 100%);
}
body.dark .crypto-method-option-title {
    color: #e2e8f0;
}
body.dark .crypto-method-hint {
    color: #8f9fbc;
}
body.dark .crypto-method-available {
    background: rgba(16, 185, 129, 0.14);
    color: #6ee7b7;
}
body.dark .crypto-method-option .crypto-network-icon {
    border: 1px solid #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
@media (hover: hover) {
    body.dark .crypto-method-option:hover .crypto-method-option-body {
        border-color: #6366f1;
        background: linear-gradient(180deg, #222 0%, #2a2a2a 100%);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(129, 140, 248, 0.22);
    }
    body.dark .crypto-method-option:hover .crypto-network-icon {
        transform: scale(1.06);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(129, 140, 248, 0.2);
    }
    body.dark .crypto-method-option:hover input:checked + .crypto-method-option-body {
        border-color: #818cf8;
        background: linear-gradient(180deg, #1e1e2a 0%, #2a2a38 100%);
        box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2), 0 10px 24px rgba(0, 0, 0, 0.35);
    }
}
@media (max-width: 767.98px) {
    .crypto-deposit-card .card-body {
        padding: 14px 14px 10px !important;
    }
    .crypto-deposit-card .form-group {
        margin-bottom: 10px;
    }
    .crypto-deposit-card .form-group label {
        margin-bottom: 4px;
        font-size: 13px;
    }
    .crypto-deposit-card .form-control {
        min-height: 40px;
        padding: 8px 12px;
    }
    .crypto-deposit-card .crypto-rate-box {
        padding: 8px 10px;
        margin-top: 8px !important;
    }
    .crypto-deposit-card .crypto-rate-line,
    .crypto-deposit-card .crypto-receive-line {
        font-size: 12px;
    }
    .crypto-deposit-card .crypto-receive-line {
        margin-top: 6px;
        padding-top: 6px;
    }
    .crypto-deposit-card .crypto-receive-line strong {
        font-size: 15px;
    }
    .crypto-deposit-card .crypto-rate-note {
        font-size: 11px;
        margin-top: 6px;
        line-height: 1.4;
    }
    .crypto-deposit-card .crypto-method-hint {
        font-size: 13px;
        margin-bottom: 8px !important;
        line-height: 1.45;
    }
    .crypto-deposit-card .crypto-method-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .crypto-deposit-card .crypto-method-option-body {
        min-height: 0;
        padding: 10px 6px 8px;
        gap: 6px;
        border-radius: 10px;
    }
    .crypto-deposit-card .crypto-network-icon {
        width: 34px;
        height: 34px;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    }
    .crypto-deposit-card .crypto-method-option-title {
        font-size: 12px;
        line-height: 1.4;
    }
    .crypto-deposit-card .crypto-method-available {
        display: none;
    }
    .crypto-deposit-card-header {
        align-items: center;
    }
    .crypto-deposit-subtitle {
        font-size: 11px;
        margin-top: 4px;
    }
    .crypto-deposit-header-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        padding: 5px;
    }
    .crypto-deposit-panel-main .crypto-deposit-rate-strip {
        margin-top: 10px !important;
        padding: 10px 12px;
    }
    .crypto-deposit-rate-value {
        font-size: 14px;
    }
    .crypto-amount-field .form-control {
        min-height: 44px;
        padding-right: 64px;
        font-size: 16px;
    }
    .crypto-deposit-panel-side {
        padding: 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .crypto-deposit-panel-side .crypto-deposit-guide {
        padding: 12px 14px;
        border: 1px solid #e8edf5;
        border-radius: 12px;
        background: #f8fafc;
    }
    .crypto-deposit-guide-title {
        font-size: 13px;
    }
    .crypto-deposit-guide {
        margin-top: 14px;
        padding: 12px 14px;
    }
    .crypto-deposit-guide-list {
        font-size: 13px;
        line-height: 1.5;
    }
    .crypto-deposit-guide-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .crypto-deposit-card .crypto-method-option input:checked + .crypto-method-option-body {
        transform: none;
        box-shadow: 0 0 0 2px rgba(94, 93, 240, .12);
    }
    body.dark .crypto-deposit-card .crypto-method-option input:checked + .crypto-method-option-body {
        box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.22);
    }
    body.dark .crypto-deposit-card .crypto-network-icon {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    .crypto-deposit-actions {
        margin-top: 14px;
    }
    .crypto-deposit-panel-side .crypto-deposit-actions .crypto-deposit-submit.btn-block {
        display: flex;
        width: 100%;
    }
    .crypto-deposit-submit {
        min-height: 40px;
        padding: 8px 16px !important;
    }
}
.crypto-history-method {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.crypto-history-method-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
.crypto-history-method-label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
}
.crypto-suspended-box {
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
}
.crypto-pay-method-panel.is-hidden {
    display: none !important;
}
.crypto-pay-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
    line-height: 1.35;
}
.crypto-pay-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: crypto-step;
}
.crypto-pay-steps li {
    position: relative;
    padding: 0 0 14px 36px;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 12px;
    color: #334155;
    line-height: 1.5;
}
.crypto-pay-steps li:last-child {
    padding-bottom: 0;
}
.crypto-pay-steps li:before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    transform: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(94, 93, 240, 0.25);
    z-index: 1;
}
.crypto-pay-steps li:after {
    content: "";
    position: absolute;
    left: 11px;
    top: 24px;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}
.crypto-pay-steps li:last-child:after {
    display: none;
}
.crypto-qr-wrap {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border: 1px solid #e8edf5;
    border-radius: 14px;
    padding: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.crypto-qr-wrap img {
    width: 168px;
    height: 168px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.crypto-pay-footer { margin-top: 0; }
.crypto-pay-footer .crypto-copy-field input { font-size: 11px; padding: 10px 12px; }

.crypto-warning-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}
.crypto-warning-box i {
    color: #ea580c;
    margin-top: 2px;
    flex-shrink: 0;
}

.crypto-waiting-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fcd34d;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
}
.crypto-waiting-spinner {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(180, 83, 9, .25);
    border-top-color: #b45309;
    border-radius: 50%;
    animation: cryptoWaitSpin .8s linear infinite;
}
.crypto-waiting-dots::after {
    content: "";
    display: inline-block;
    width: 1.2em;
    text-align: left;
    animation: cryptoWaitDots 1.4s steps(4, end) infinite;
}
@keyframes cryptoWaitSpin {
    to { transform: rotate(360deg); }
}
@keyframes cryptoWaitDots {
    0% { content: ""; }
    25% { content: "."; }
    50% { content: ".."; }
    75% { content: "..."; }
    100% { content: ""; }
}

.crypto-waiting-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b45309;
    font-size: 12px;
    font-weight: 600;
}
.crypto-waiting-hint .crypto-waiting-spinner {
    width: 11px;
    height: 11px;
    border-width: 2px;
}

.crypto-rate-box {
    background: #f8fafc;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    padding: 12px 14px;
}

.crypto-deposit-card {
    margin-bottom: 20px;
    font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
    text-rendering: optimizeLegibility;
}

.crypto-history-section {
    font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
    text-rendering: optimizeLegibility;
}

.crypto-deposit-body-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
    align-items: stretch;
}

.crypto-deposit-panel-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.crypto-deposit-panel-side {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px 22px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e8edf5;
}

.crypto-deposit-panel-side .crypto-deposit-method-group {
    margin-bottom: 0;
}

.crypto-deposit-panel-side .crypto-method-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.crypto-deposit-panel-side .crypto-method-option-body {
    min-height: 128px;
    padding: 12px 8px;
    gap: 8px;
}

.crypto-deposit-panel-side .crypto-network-icon {
    width: 44px;
    height: 44px;
}

.crypto-deposit-panel-side .crypto-method-option-title {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
}

.crypto-deposit-panel-side .crypto-deposit-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.crypto-deposit-panel-side .crypto-deposit-actions .crypto-deposit-submit.btn-block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 168px;
    padding-left: 22px;
    padding-right: 22px;
}

.crypto-deposit-panel-side .crypto-deposit-guide {
    margin-top: 16px;
    background: #fff;
}

@media (max-width: 991.98px) {
    .crypto-deposit-body-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .crypto-deposit-panel-side {
        padding: 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .crypto-deposit-panel-side .crypto-deposit-guide {
        border: 1px solid #e8edf5;
        border-radius: 12px;
        background: #f8fafc;
    }
}

.crypto-deposit-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.crypto-deposit-header-text b {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.crypto-deposit-subtitle {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.crypto-deposit-header-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.16);
    padding: 6px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.crypto-deposit-rate-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(94, 93, 240, 0.08) 0%, rgba(123, 108, 246, 0.12) 100%);
    border: 1px solid rgba(94, 93, 240, 0.14);
}

.crypto-deposit-panel-main .crypto-deposit-rate-strip {
    margin-bottom: 0;
}

.crypto-deposit-rate-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.crypto-deposit-rate-value {
    font-size: 16px;
    font-weight: 700;
    color: #5e5df0;
}

.crypto-amount-field {
    position: relative;
    display: flex;
    align-items: stretch;
}

.crypto-amount-field .form-control {
    padding-right: 72px;
    font-size: 18px;
    font-weight: 700;
    min-height: 52px;
    width: 100%;
}

.crypto-amount-field-unit {
    position: absolute;
    top: 0;
    right: 14px;
    bottom: 0;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #16a34a;
    letter-spacing: 0;
    pointer-events: none;
}

.crypto-deposit-amount-group label,
.crypto-deposit-method-group label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.crypto-deposit-guide {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e8edf5;
}

.crypto-deposit-guide-title {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.crypto-deposit-guide-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.55;
}

.crypto-deposit-guide-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.crypto-deposit-guide-item + .crypto-deposit-guide-item {
    margin-top: 10px;
}

.crypto-deposit-guide-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1;
}

.crypto-deposit-guide-icon-wallet {
    background: rgba(94, 93, 240, 0.12);
    color: #5e5df0;
}

.crypto-deposit-guide-icon-invoice {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.crypto-deposit-guide-icon-time {
    background: rgba(245, 158, 11, 0.14);
    color: #d97706;
}

.crypto-deposit-guide-text {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.5;
}

.crypto-deposit-guide-text b {
    color: #5e5df0;
    font-weight: 700;
}

.crypto-deposit-actions {
    margin-top: 22px;
}

.crypto-deposit-submit {
    min-height: 48px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
}
.crypto-rate-line,
.crypto-receive-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #475569;
}
.crypto-receive-line {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #dbe3ef;
}
.crypto-rate-box .crypto-receive-line:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
.crypto-receive-line strong {
    color: #16a34a;
    font-size: 18px;
    font-weight: 700;
}
.crypto-rate-line strong {
    color: #5e5df0;
    font-weight: 700;
}
.crypto-rate-note {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.45;
}
.crypto-promo-badge {
    display: inline-block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 999px;
    padding: 4px 10px;
}

.deposit-card {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden;
}
.deposit-card > .card-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 14px 18px !important;
}
.deposit-card > .card-header b,
.deposit-card > .card-header .card-title {
    color: #fff !important;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}
.deposit-list-table {
    margin: 0;
    border: 0 !important;
}
.deposit-list-table thead th {
    background: #f8fafc !important;
    border-bottom: 1px solid #e8edf5 !important;
    border-top: 0 !important;
    color: #475569 !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap;
    padding: 12px 14px !important;
}
.deposit-list-table td {
    border-top: 1px solid #edf2f7 !important;
    border-bottom: 0 !important;
    vertical-align: middle !important;
    font-size: 13px;
    padding: 12px 14px !important;
    background: #fff !important;
}
.deposit-list-table tbody tr:hover td {
    background: #f8fafc !important;
}
.deposit-list-filter {
    padding: 14px 16px 0;
    background: #fff;
}
.deposit-list-filter .form-control {
    border-radius: 10px;
    border: 1px solid #dbe3ef;
}

/* Crypto history — compact filter + table on mobile */
.crypto-history-filter {
    padding: 12px 14px 10px;
}
.crypto-history-filter > [class*="col"] {
    margin-bottom: 0;
}
.crypto-history-filter .form-control {
    height: 38px;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.4;
}
.crypto-history-filter-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    height: 38px;
}
.crypto-history-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(94, 93, 240, 0.2);
}
.crypto-history-btn i {
    font-size: 12px;
}
.crypto-history-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(94, 93, 240, 0.2);
}
.crypto-history-view-btn i {
    font-size: 11px;
}
@media (min-width: 768px) {
    .crypto-history-section .crypto-history-filter {
        padding: 14px 16px 12px;
    }
    .crypto-history-section .crypto-history-filter > [class*="col"] {
        display: flex;
        align-items: center;
    }
    .crypto-history-section .crypto-history-filter > [class*="col"] .form-control {
        width: 100%;
    }
    .crypto-history-section .crypto-history-filter-actions {
        margin-left: auto;
        flex-shrink: 0;
        padding-left: 4px;
    }
}
@media (max-width: 767px) {
    .crypto-history-section .deposit-list-filter {
        padding: 12px 12px 10px;
    }
    .crypto-history-section .crypto-history-filter > [class*="col"] {
        margin-bottom: 10px;
    }
    .crypto-history-section .crypto-history-filter > .crypto-history-filter-actions {
        margin-bottom: 0;
        margin-top: 4px;
        height: auto;
        flex-wrap: wrap;
    }
    .crypto-history-section .crypto-history-filter .form-control {
        height: 36px;
        min-height: 36px;
        padding: 6px 10px;
        font-size: 13px;
        border-radius: 8px;
    }
    .crypto-history-section .crypto-history-filter-actions {
        gap: 10px;
        margin-top: 4px;
    }
    .crypto-history-section .crypto-history-filter-actions .crypto-history-btn {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
        height: 36px;
        padding: 0 10px;
        font-size: 12px;
        border-radius: 8px !important;
        box-shadow: none;
    }
    .crypto-history-section .deposit-list-table thead th,
    .crypto-history-section .deposit-list-table td {
        padding: 8px 10px !important;
        font-size: 11px;
        vertical-align: middle;
    }
    .crypto-history-section .deposit-list-table td .crypto-history-view-btn {
        display: inline-flex;
        width: auto;
        margin-bottom: 0 !important;
        padding: 5px 8px;
        font-size: 11px;
    }
    .crypto-history-section .crypto-history-method {
        gap: 6px;
    }
    .crypto-history-section .crypto-history-method-icon {
        width: 18px;
        height: 18px;
    }
    .crypto-history-section .crypto-history-method-label {
        font-size: 11px;
    }
}
@media (max-width: 575.98px) {
    .crypto-history-section .deposit-list-table td .btn {
        display: inline-flex;
        width: auto;
        margin-bottom: 0 !important;
    }
}

.btn-deposit {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px !important;
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.28);
}
.btn-deposit:hover,
.btn-deposit:focus {
    background: linear-gradient(135deg, #4b4ad8 0%, #6a5de8 100%) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(94, 93, 240, 0.35);
}
.btn-deposit-outline {
    background: #fff !important;
    border: 1px solid #c7d2fe !important;
    color: #5e5df0 !important;
    font-weight: 600;
    border-radius: 10px !important;
}
.btn-deposit-outline:hover {
    background: #eef2ff !important;
    color: #4b4ad8 !important;
}
.crypto-copy-btn,
#btnSubmit.btn-primary,
#btnCheckCryptoPayment.btn-primary {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
}

@media (max-width: 767px) {
    .crypto-invoice-hero {
        grid-template-columns: 1fr;
    }
    .crypto-invoice-meta {
        grid-template-columns: 1fr;
    }
    .crypto-pay-body-grid {
        grid-template-columns: 1fr;
    }
    .crypto-invoice-hero-amount-value {
        font-size: 24px;
    }
    .crypto-invoice-timer-value {
        font-size: 22px;
    }
    .crypto-invoice-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .crypto-invoice-check-btn,
    .crypto-invoice-close-btn {
        width: 100%;
        min-width: 0;
    }
}

/* --- dong-tien.php --- */
.deposit-card {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden;
}
.deposit-card > .card-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 14px 18px !important;
}
.deposit-card > .card-header .card-title {
    color: #fff !important;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}
.deposit-list-table {
    margin: 0;
    border: 0 !important;
}
.deposit-list-table thead th {
    background: #f8fafc !important;
    border-bottom: 1px solid #e8edf5 !important;
    border-top: 0 !important;
    color: #475569 !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap;
    padding: 12px 14px !important;
}
.deposit-list-table td {
    border-top: 1px solid #edf2f7 !important;
    border-bottom: 0 !important;
    vertical-align: middle !important;
    font-size: 13px;
    padding: 12px 14px !important;
    background: #fff !important;
    color: #334155;
}
.deposit-list-table tbody tr:hover td {
    background: #f8fafc !important;
}
.money-before { color: #16a34a !important; font-weight: 700; }
.money-change { color: #dc2626 !important; font-weight: 700; }
.money-after { color: #2563eb !important; font-weight: 700; }
.deposit-empty {
    text-align: center;
    padding: 36px 16px;
    color: #64748b;
    font-size: 14px;
}

/* --- forgot-password.php --- */
.bg-image {
    background-position: 0 50%;
    background-size: cover;
}

/* --- history.php --- */
.deposit-card {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden;
}
.deposit-card > .card-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 14px 18px !important;
}
.deposit-card > .card-header .card-title {
    color: #fff !important;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}
.deposit-list-table {
    margin: 0;
    border: 0 !important;
}
.deposit-list-table thead th {
    background: #f8fafc !important;
    border-bottom: 1px solid #e8edf5 !important;
    border-top: 0 !important;
    color: #475569 !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap;
    padding: 12px 14px !important;
}
.deposit-list-table td {
    border-top: 1px solid #edf2f7 !important;
    border-bottom: 0 !important;
    vertical-align: middle !important;
    font-size: 13px;
    padding: 12px 14px !important;
    background: #fff !important;
    color: #334155;
}
.deposit-list-table tbody tr:hover td {
    background: #f8fafc !important;
}
.deposit-empty {
    text-align: center;
    padding: 36px 16px;
    color: #64748b;
    font-size: 14px;
}

/* --- invoices.php --- */
.deposit-card {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}
.deposit-card > .card-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
    border: 0;
    padding: 14px 18px;
}
.deposit-card > .card-header b {
    color: #fff;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}
.deposit-warning-box {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.deposit-invoice-table {
    margin: 0;
    border: 0 !important;
}
.invoice-page-notice {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
}
.invoice-page-notice-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(249, 115, 22, 0.12);
    color: #ea580c;
}
.invoice-history-card {
    border: 1px solid rgba(94, 93, 240, 0.12);
}
.invoice-history-card > .invoice-history-head {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
}
.invoice-history-card .recharge-feature-heading {
    overflow: visible;
}
.invoice-history-card .recharge-feature-heading b {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: normal !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    white-space: normal;
}
.invoice-history-card .recharge-feature-heading span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.4;
}
.invoice-list-card {
    border: 1px solid rgba(94, 93, 240, 0.12);
}
.invoice-list-card > .invoice-history-head {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
}
.invoice-list-card .recharge-feature-heading {
    overflow: visible;
}
.invoice-list-card .recharge-feature-heading b {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: normal !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    white-space: normal;
}
.invoice-list-card .recharge-feature-heading span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.4;
}
.invoice-history-body {
    padding: 16px !important;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}
.invoice-table-wrap {
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background: #fff;
    overflow-x: auto;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.035);
}
.deposit-invoice-table thead th {
    background: #f7f7ff !important;
    border-bottom: 1px solid #e8edf5 !important;
    border-top: 0 !important;
    color: #475569 !important;
    font-family: 'DM Sans', 'Segoe UI', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    padding: 14px !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.deposit-invoice-table.dataTable thead th.sorting,
.deposit-invoice-table.dataTable thead th.sorting_asc,
.deposit-invoice-table.dataTable thead th.sorting_desc {
    padding-right: 14px !important;
}
.deposit-invoice-table.dataTable thead th.sorting::before,
.deposit-invoice-table.dataTable thead th.sorting::after,
.deposit-invoice-table.dataTable thead th.sorting_asc::before,
.deposit-invoice-table.dataTable thead th.sorting_asc::after,
.deposit-invoice-table.dataTable thead th.sorting_desc::before,
.deposit-invoice-table.dataTable thead th.sorting_desc::after {
    display: none !important;
    content: none !important;
}
.deposit-invoice-table td {
    border-top: 1px solid #edf2f7 !important;
    border-bottom: 0 !important;
    vertical-align: middle !important;
    font-size: 13px;
    padding: 13px 14px !important;
    background: #fff !important;
    color: #475569;
    white-space: nowrap;
    transition: background-color .18s ease;
}
.deposit-invoice-table tbody tr:hover td {
    background: #fafaff !important;
}
.invoice-row-number {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f1f0ff;
    color: #6366f1;
    font-size: 11px;
    font-weight: 800;
}
.deposit-invoice-table a.trans-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5e5df0;
    font-weight: 700;
}
.deposit-invoice-table a.trans-link:hover {
    color: #4b4ad8;
    text-decoration: none;
}
.invoice-trans-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eeedff;
    color: #6366f1;
    font-size: 12px;
}
.invoice-payment-method,
.invoice-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.invoice-payment-method {
    padding: 7px 9px;
    border-radius: 9px;
    background: #f8fafc;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
}
.invoice-payment-method i,
.invoice-date i {
    color: #94a3b8;
    font-size: 11px;
}
.invoice-amount {
    font-size: 12.5px;
    font-weight: 800;
}
.invoice-amount.is-received {
    color: #dc2626;
}
.invoice-amount.is-payment {
    color: #16a34a;
}
.invoice-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 5px 9px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
}
.invoice-status-pill.is-waiting {
    background: #fff7ed;
    color: #c2410c;
}
.invoice-status-pill.is-success {
    background: #ecfdf5;
    color: #15803d;
}
.invoice-status-pill.is-failed {
    background: #fef2f2;
    color: #dc2626;
}
.invoice-status-pill.is-neutral {
    background: #f1f5f9;
    color: #64748b;
}
.invoice-status-pill .badge {
    padding: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: inherit !important;
}
.invoice-date {
    color: #64748b;
    font-size: 11.5px;
    font-weight: 600;
}
.invoice-amount.is-quantity {
    color: #2563eb;
}
.order-history-table {
    width: 100% !important;
    min-width: 1060px;
    table-layout: fixed;
}
.order-history-table .order-col-index {
    width: 5%;
}
.order-history-table .order-col-transaction {
    width: 17%;
}
.order-history-table .order-col-product {
    width: 26%;
}
.order-history-table .order-col-quantity {
    width: 8%;
}
.order-history-table .order-col-payment {
    width: 10%;
}
.order-history-table .order-col-time {
    width: 14%;
}
.order-history-table .order-col-action {
    width: 20%;
}
.order-history-table td.order-product-cell {
    max-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.5;
}
.order-history-table .order-product-cell a,
.order-history-table .order-product-cell b {
    display: inline;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.order-history-table .order-action-cell {
    white-space: normal;
}
.order-history-table .order-action-buttons {
    display: grid;
    grid-template-columns: repeat(3, 58px);
    align-items: center;
    gap: 4px;
}
.order-history-table .order-action-cell .order-action-btn {
    box-sizing: border-box !important;
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    margin: 0 !important;
    padding: 0 5px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px !important;
    border-radius: 8px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    font-family: 'DM Sans', 'Segoe UI', Arial, sans-serif !important;
    line-height: 12px !important;
    white-space: nowrap;
    vertical-align: middle;
    border-width: 1px !important;
    border-style: solid !important;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none !important;
}
.order-history-table .order-action-cell .btn-deposit.order-action-btn {
    border-color: transparent !important;
    color: #fff !important;
}
.order-history-table .order-action-cell .btn-deposit.order-action-btn span,
.order-history-table .order-action-cell .btn-deposit.order-action-btn i {
    color: #fff !important;
}
.order-history-table .order-action-cell .order-action-btn i {
    flex: 0 0 auto;
    width: 11px;
    height: 12px;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px !important;
    line-height: 12px !important;
}
.order-history-table .order-action-cell .order-action-btn span {
    min-width: 0;
    height: 12px;
    display: inline-flex;
    align-items: center;
    line-height: 12px !important;
}
.crypto-history-trans {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5e5df0;
}
.crypto-history-unit {
    margin-left: 3px;
    color: #16a34a;
    font-size: 11px;
}
.invoice-list-card .crypto-history-filter {
    margin: 0 0 14px !important;
    padding: 12px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background: #f8fafc;
}
.invoice-list-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}
.invoice-list-card .crypto-history-filter .form-control {
    min-height: 40px;
    border: 1px solid #dfe5ef;
    border-radius: 10px;
    background: #fff;
    font-size: 12px;
}
.invoice-list-card .dataTables_wrapper > .row:first-child,
.invoice-list-card .dataTables_wrapper > .row:last-child {
    margin: 0;
    padding: 12px 4px;
}
.invoice-list-card .dataTables_wrapper > .row:first-child {
    align-items: center;
    padding-top: 0;
}
.invoice-list-card .dataTables_wrapper .dataTables_length label,
.invoice-list-card .dataTables_wrapper .dataTables_filter label,
.invoice-list-card .dataTables_wrapper .dataTables_info {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}
.invoice-list-card .dataTables_wrapper .dataTables_filter input,
.invoice-list-card .dataTables_wrapper .dataTables_length select {
    min-height: 38px;
    margin-left: 7px;
    border: 1px solid #dfe5ef;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    outline: none;
    box-shadow: none;
}
.invoice-list-card .dataTables_wrapper .dataTables_filter input:focus,
.invoice-list-card .dataTables_wrapper .dataTables_length select:focus {
    border-color: #a5b4fc;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.invoice-list-card .dataTables_wrapper .pagination,
.invoice-list-pagination .pagination {
    display: flex;
    gap: 6px;
    margin: 0;
}
.invoice-list-pagination {
    display: flex;
    padding: 16px 4px 2px;
}
.invoice-list-pagination .paging_simple_numbers {
    display: block;
}
.invoice-list-card .page-item .page-link,
.invoice-list-pagination .page-item .page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #64748b !important;
    font-size: 12px;
    font-weight: 700;
    box-shadow: none !important;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.invoice-list-card .page-item:not(.disabled) .page-link:hover,
.invoice-list-pagination .page-item:not(.disabled) .page-link:hover {
    transform: translateY(-1px);
    border-color: #c7d2fe !important;
    background: #f1f0ff !important;
    color: #5e5df0 !important;
}
.invoice-list-card .page-item.active .page-link,
.invoice-list-pagination .page-item.active .page-link {
    border-color: transparent !important;
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(94, 93, 240, 0.22) !important;
}
.invoice-list-card .page-item.disabled .page-link,
.invoice-list-pagination .page-item.disabled .page-link {
    background: #f8fafc !important;
    color: #cbd5e1 !important;
    cursor: not-allowed;
}
.invoice-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid #dddafe;
    border-radius: 10px;
    background: #f5f4ff;
    color: #5e5df0;
    font-size: 11.5px;
    font-weight: 700;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.invoice-view-btn:hover,
.invoice-view-btn:focus {
    transform: translateY(-1px);
    border-color: #c4bfff;
    background: #eceaff;
    color: #4b4ad8;
    text-decoration: none;
}
.invoice-empty-state {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    color: #94a3b8;
    text-align: center;
}
.invoice-empty-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #f1f0ff;
    color: #7c6ff7;
    font-size: 26px;
}
.invoice-empty-state strong {
    margin-bottom: 4px;
    color: #334155;
    font-size: 15px;
}
.invoice-empty-state > span:not(.invoice-empty-icon) {
    margin-bottom: 16px;
    font-size: 12px;
}
.invoice-status-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-top-color: #f59e0b;
    border-radius: 50%;
    flex: 0 0 14px;
    animation: invoice-status-spin .75s linear infinite;
}
@keyframes invoice-status-spin {
    to {
        transform: rotate(360deg);
    }
}
@media (prefers-reduced-motion: reduce) {
    .invoice-status-spinner {
        animation-duration: 1.5s;
    }
}
@media (max-width: 767.98px) {
    .invoice-history-body {
        padding: 10px !important;
    }
    .invoice-table-wrap {
        border-radius: 11px;
    }
    .deposit-invoice-table thead th,
    .deposit-invoice-table td {
        padding: 11px 10px !important;
    }
    .invoice-view-btn span {
        display: none;
    }
    .invoice-view-btn {
        width: 34px;
        padding: 7px;
    }
    .invoice-list-card .dataTables_wrapper .dataTables_filter {
        margin-top: 10px;
        text-align: left;
    }
    .invoice-list-card .dataTables_wrapper .dataTables_filter input {
        width: calc(100% - 62px);
    }
    .invoice-list-card .dataTables_wrapper .dataTables_paginate,
    .invoice-list-pagination {
        justify-content: center;
        overflow-x: auto;
    }
    .invoice-list-card .dataTables_wrapper .pagination,
    .invoice-list-pagination .pagination {
        justify-content: center;
    }
}
.btn-deposit {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px !important;
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.28);
    display: inline-block;
}
.btn-deposit:hover,
.btn-deposit:focus {
    background: linear-gradient(135deg, #4b4ad8 0%, #6a5de8 100%) !important;
    color: #fff !important;
    text-decoration: none;
}
body.dark .deposit-invoice-table thead th {
    background: #222 !important;
    border-bottom-color: #333 !important;
    color: #cbd5e1 !important;
}
body.dark .deposit-invoice-table td {
    background: #181818 !important;
    border-top-color: #2f2f2f !important;
    color: #d1d5db !important;
}
body.dark .deposit-invoice-table tbody tr:hover td {
    background: #252538 !important;
}
body.dark .deposit-invoice-table a.trans-link {
    color: #a5b4fc !important;
}
body.dark .deposit-invoice-table a.trans-link:hover {
    color: #c7d2fe !important;
}
body.dark .deposit-invoice-table td > b:not([style]) {
    color: #e5e7eb !important;
}
body.dark .dataTables_wrapper,
body.dark .dataTables_wrapper .dataTables_info,
body.dark .dataTables_wrapper .dataTables_length,
body.dark .dataTables_wrapper .dataTables_filter,
body.dark .dataTables_wrapper .dataTables_paginate {
    color: #aeb4bf !important;
}
body.dark .dataTables_wrapper input,
body.dark .dataTables_wrapper select {
    background: #222 !important;
    border-color: #3a3a3a !important;
    color: #e5e7eb !important;
}
body.dark .dataTables_wrapper .paginate_button {
    color: #cbd5e1 !important;
}
body.dark .dataTables_wrapper .paginate_button.current,
body.dark .dataTables_wrapper .paginate_button:hover {
    background: #2d2d45 !important;
    border-color: #4f46e5 !important;
    color: #fff !important;
}

/* --- login.php --- */
.auth-page {
    min-height: 100vh !important;
    scrollbar-gutter: stable;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 28px 16px !important;
    margin: 0 !important;
    overflow-y: auto;
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(94, 93, 240, 0.28), transparent 55%),
        radial-gradient(900px 420px at 100% 0%, rgba(123, 108, 246, 0.22), transparent 50%),
        linear-gradient(165deg, #eef2ff 0%, #f8fafc 45%, #f1f5f9 100%);
    background-size: cover;
}
.auth-page #loading {
    display: none !important;
}
.auth-page .wrapper {
    width: 100% !important;
    max-width: 100%;
    flex: 0 1 auto;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
.auth-page .login-content {
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}
.auth-page .login-content .container {
    width: 100%;
}
.auth-page .login-content .row {
    min-height: 0 !important;
    margin: 0 !important;
}
.auth-card {
    border: 0 !important;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12) !important;
    background: #fff !important;
    margin: 0 auto !important;
}
.auth-card-head {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    padding: 22px 24px 18px;
    text-align: center;
    color: #fff;
}
.auth-card-head .auth-logo img {
    max-height: 48px;
    width: auto;
}
.auth-card-head h3 {
    margin: 14px 0 4px;
    color: #fff !important;
    font-size: 22px;
    font-weight: 800;
}
.auth-card-head p {
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 13px;
}
.auth-card .card-body {
    padding: 24px 24px 28px !important;
}
.auth-card .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #475569 !important;
    margin-bottom: 6px;
}
.auth-card .form-control {
    border-radius: 10px !important;
    border: 1px solid #dbe3ef !important;
    min-height: 44px;
    background: #f8fafc !important;
    color: #0f172a !important;
    box-shadow: none !important;
}
.auth-card .form-control:focus {
    border-color: #5e5df0 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(94, 93, 240, 0.15) !important;
}
.auth-card a {
    color: #5e5df0;
    font-weight: 600;
}
.auth-card a:hover { color: #4b4ad8; }
.auth-card .btn-deposit {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: 10px !important;
    min-height: 46px;
    box-shadow: 0 8px 18px rgba(94, 93, 240, 0.3);
}
.auth-card .btn-deposit:hover,
.auth-card .btn-deposit:focus {
    background: linear-gradient(135deg, #4b4ad8 0%, #6a5de8 100%) !important;
    color: #fff !important;
}
.auth-card .auth-footer-text {
    color: #64748b;
    font-size: 14px;
}
body.dark.auth-page {
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(94, 93, 240, 0.22), transparent 55%),
        radial-gradient(900px 420px at 100% 0%, rgba(123, 108, 246, 0.16), transparent 50%),
        linear-gradient(165deg, #121212 0%, #1a1a1a 50%, #181818 100%);
}
body.dark .auth-card {
    background: #181818 !important;
    border: 1px solid #252525 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45) !important;
}
body.dark .auth-card .form-group label { color: #aeb4bf !important; }
body.dark .auth-card .form-control {
    background: #222 !important;
    border-color: #333 !important;
    color: #eff0f1 !important;
}
body.dark .auth-card .form-control:focus {
    background: #222 !important;
    border-color: #5e5df0 !important;
}
body.dark .auth-card a { color: #a5b4fc; }
body.dark .auth-card .auth-footer-text { color: #8f9fbc; }

/* --- order-service.php --- */
.form-control{
    border: 1px solid '.$CMSNT->site('theme_color').';
}

/* --- order.php --- */
.deposit-card {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden;
}
.deposit-card > .card-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 14px 18px !important;
}
.deposit-card > .card-header .card-title,
.deposit-card > .card-header b {
    color: #fff !important;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}
.deposit-card .card-body {
    background: #fff;
}
.deposit-card .card-body.order-document-body {
    padding: 22px 20px !important;
}
.order-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}
.order-toolbar .btn-group-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.order-detail-card {
    border: 1px solid rgba(94, 93, 240, 0.12);
}
.order-detail-body {
    padding: 16px !important;
}
.order-detail-table td {
    white-space: normal !important;
}
.order-detail-table .order-action-cell {
    white-space: nowrap !important;
}
.order-account-cell {
    min-width: 220px;
}
.order-account-input {
    border-radius: 10px !important;
    border: 1px solid #e8edf5 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-size: 13px;
    line-height: 1.45;
    min-height: 88px;
    height: auto;
    resize: vertical;
    box-shadow: none !important;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-y: auto;
}
.order-account-input:focus {
    border-color: #5e5df0 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(94, 93, 240, 0.12) !important;
}
.order-detail-table .order-action-btn {
    width: 100%;
    justify-content: center;
}
.order-detail-table .order-action-btn + .order-action-btn {
    margin-top: 6px;
}
.btn-deposit {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px !important;
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.28);
}
.btn-deposit:hover,
.btn-deposit:focus {
    background: linear-gradient(135deg, #4b4ad8 0%, #6a5de8 100%) !important;
    color: #fff !important;
}
.btn-deposit-outline {
    background: #fff !important;
    border: 1px solid #c7d2fe !important;
    color: #5e5df0 !important;
    font-weight: 600;
    border-radius: 10px !important;
}
.btn-deposit-outline:hover {
    background: #eef2ff !important;
    color: #4b4ad8 !important;
}
.btn-deposit-soft {
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    color: #c2410c !important;
    font-weight: 600;
    border-radius: 10px !important;
}
.btn-deposit-soft:hover {
    background: #ffedd5 !important;
    color: #9a3412 !important;
}
.btn-deposit-danger {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
    font-weight: 600;
    border-radius: 10px !important;
}
.btn-deposit-danger:hover {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}
.order-rating-card .card-body {
    padding: 22px 20px !important;
}
.order-rating-card .card-title,
.order-rating-card .card-label {
    color: #334155 !important;
    font-size: 16px;
    font-weight: 700;
}
.order-rating-card .card-label i {
    color: #5e5df0 !important;
    font-style: normal;
}
.order-rating-card .progress {
    height: 8px;
    border-radius: 999px;
    background: #e8edf5;
    margin-bottom: 10px;
}
.order-rating-card .progress-bar {
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
}
.order-rating-card .progress-label-left,
.order-rating-card .progress-label-right {
    font-size: 12px;
    color: #64748b;
}
.order-rating-card #average_rating {
    color: #f59e0b;
}
.order-document-title {
    color: #334155;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}
.order-document-meta {
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.order-document-content {
    color: #334155;
    font-size: 14px;
    line-height: 1.8;
}
.order-document-content img {
    max-width: 100%;
    height: auto;
}
#exampleModal .modal-content,
#review_modal .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}
#exampleModal .modal-header,
#review_modal .modal-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
    border: 0;
}
#exampleModal .modal-header .modal-title,
#review_modal .modal-header .modal-title {
    color: #fff;
    font-weight: 700;
}
#exampleModal .modal-header .close,
#review_modal .modal-header .close {
    color: #fff;
    opacity: .9;
    text-shadow: none;
}
#exampleModal .modal-body,
#review_modal .modal-body {
    background: #f5f7fb;
}
#exampleModal .modal-footer,
#review_modal .modal-footer {
    border-top: 1px solid #e8edf5;
    background: #fff;
}
#exampleModal .form-control,
#review_modal .form-control {
    border-radius: 10px !important;
    border: 1px solid #dbe3ef !important;
    background: #fff !important;
}
#review_content .card {
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden;
    margin-bottom: 12px;
}
#review_content .card-header {
    background: #f8fafc !important;
    border-bottom: 1px solid #e8edf5 !important;
    padding: 12px 16px !important;
}
#review_content .card-body {
    padding: 14px 16px !important;
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
}
#review_content .card-footer {
    background: #fff !important;
    border-top: 1px solid #e8edf5 !important;
    color: #64748b;
    font-size: 12px;
}
@media (max-width: 575.98px) {
    .order-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .order-toolbar .btn-group-actions {
        width: 100%;
    }
    .order-toolbar .btn-group-actions .btn {
        flex: 1 1 auto;
    }
    .order-detail-table .order-action-cell {
        min-width: 140px;
    }
    .order-detail-table .order-action-btn {
        width: 100%;
        margin-bottom: 6px;
    }
}

/* --- orders.php --- */
.deposit-card {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden;
}
.deposit-card > .card-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 14px 18px !important;
}
.deposit-card > .card-header b,
.deposit-card > .card-header .card-title {
    color: #fff !important;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}
.deposit-warning-box {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
}
.deposit-list-table {
    margin: 0;
    border: 0 !important;
}
.deposit-list-table thead th {
    background: #f8fafc !important;
    border-bottom: 1px solid #e8edf5 !important;
    border-top: 0 !important;
    color: #475569 !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap;
    padding: 12px 14px !important;
}
.deposit-list-table td {
    border-top: 1px solid #edf2f7 !important;
    border-bottom: 0 !important;
    vertical-align: middle !important;
    font-size: 13px;
    padding: 12px 14px !important;
    background: #fff !important;
}
.deposit-list-table tbody tr:hover td {
    background: #f8fafc !important;
}
.order-action-cell {
    white-space: nowrap;
}
.order-action-cell .order-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 11px;
    font-weight: 600;
    padding: 0.28rem 0.55rem;
    border-radius: 8px !important;
    line-height: 1.2;
    box-shadow: none !important;
}
.order-action-cell .order-action-btn i {
    font-size: 10px;
    line-height: 1;
}
.order-action-cell .order-action-btn.mb-1 {
    margin-bottom: 0.25rem !important;
}
@media (max-width: 575.98px) {
    .deposit-list-table .order-action-cell {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        white-space: normal;
    }
    .deposit-list-table td.order-action-cell .order-action-btn {
        display: inline-flex;
        width: auto;
        flex: 1 1 calc(50% - 4px);
        margin-bottom: 0 !important;
    }
}
.btn-deposit {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px !important;
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.28);
}
.btn-deposit:hover,
.btn-deposit:focus {
    background: linear-gradient(135deg, #4b4ad8 0%, #6a5de8 100%) !important;
    color: #fff !important;
}
.btn-deposit-outline {
    background: #fff !important;
    border: 1px solid #c7d2fe !important;
    color: #5e5df0 !important;
    font-weight: 600;
    border-radius: 10px !important;
}
.btn-deposit-outline:hover {
    background: #eef2ff !important;
    color: #4b4ad8 !important;
}
.btn-deposit-soft {
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    color: #c2410c !important;
    font-weight: 600;
    border-radius: 10px !important;
}
.btn-deposit-soft:hover {
    background: #ffedd5 !important;
    color: #9a3412 !important;
}
.btn-deposit-danger {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
    font-weight: 600;
    border-radius: 10px !important;
}
.btn-deposit-danger:hover {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}
#modal-default .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}
#modal-default .modal-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
    border: 0;
}
#modal-default .modal-header .modal-title { color: #fff; font-weight: 700; }
#modal-default .modal-header .close { color: #fff; opacity: .9; text-shadow: none; }
#modal-default .modal-body { background: #f5f7fb; }
#modal-default .modal-footer { border-top: 1px solid #e8edf5; background: #fff; }

/* --- otp-order.php --- */
.dataTables_length {
    display: none;
}

/* --- payment.php --- */
body.payment-page {
        background: #f5f7fb;
        min-height: 100vh;
        font-family: 'DM Sans', 'Segoe UI', sans-serif;
        color: #334155;
    }
    .payment-wrap {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px 16px;
    }
    .payment-wrap .container {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
    }
    .payment-language-switcher {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: max-content;
        max-width: 100%;
        margin: 0 auto 14px;
        padding: 4px;
        border: 1px solid #e0e7ff;
        border-radius: 11px;
        background: #fff;
        box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
    }
    .payment-language-switcher button {
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #64748b;
        padding: 7px 12px;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
        white-space: nowrap;
    }
    .payment-language-switcher button:hover,
    .payment-language-switcher button.active {
        background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
        color: #fff;
    }
    body.payment-page .deposit-card {
        border: 0 !important;
        border-radius: 14px !important;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
        overflow: hidden;
        background: #fff;
    }
    body.payment-page .deposit-card > .card-header {
        background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
        color: #fff !important;
        border: 0 !important;
        padding: 14px 18px !important;
    }
    body.payment-page .deposit-card > .card-header .card-title {
        color: #fff !important;
        margin: 0;
        font-size: 15px;
        font-weight: 700;
    }
    body.payment-page .deposit-card .card-body {
        padding: 20px 18px !important;
        background: #fff;
    }
    .payment-info-row {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 0;
        border-bottom: 1px solid #edf2f7;
    }
    .payment-info-row:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
    .payment-info-row:first-child {
        padding-top: 0;
    }
    .payment-info-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: #eef2ff;
        color: #5e5df0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 15px;
    }
    .payment-info-label {
        font-size: 12px;
        font-weight: 600;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: .3px;
        margin-bottom: 4px;
    }
    .payment-info-value {
        font-size: 15px;
        font-weight: 600;
        color: #0f172a;
        word-break: break-word;
    }
    .payment-info-value.is-amount {
        color: #5e5df0;
        font-size: 20px;
    }
    .payment-info-value.is-transfer {
        color: #0f766e;
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 14px;
    }
    .payment-copy-btn {
        border: 0;
        background: #eef2ff;
        color: #5e5df0;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        margin-left: 0;
        cursor: pointer;
        flex-shrink: 0;
    }
    .payment-copy-btn:hover {
        background: #e0e7ff;
    }
    .payment-transfer-wrap {
        flex: 1;
        min-width: 0;
    }
    .payment-transfer-line {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }
    .payment-transfer-line .payment-info-value {
        flex: 1;
        min-width: 0;
        word-break: break-all;
    }
    .payment-status-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 999px;
        background: #fff7ed;
        color: #c2410c;
        font-size: 13px;
        font-weight: 600;
    }
    .payment-status-badge.is-success {
        background: #ecfdf5;
        color: #059669;
    }
    .payment-status-badge.is-cancelled {
        background: #fef2f2;
        color: #dc2626;
    }
    .payment-qr-body {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow-x: hidden;
    }
    .payment-qr-frame {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .payment-qr-body img,
    .payment-qr-frame img {
        display: block;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        margin: 0 auto;
        border-radius: 12px;
    }
    .payment-qr-frame > div,
    .payment-qr-frame > svg,
    .payment-qr-frame > table {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
    }
    .payment-qr-title {
        font-size: 18px;
        font-weight: 700;
        color: #334155;
        margin-bottom: 8px;
    }
    .payment-qr-hint {
        color: #64748b;
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    .payment-highlight {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 8px;
        background: #eef2ff;
        color: #5e5df0;
        font-weight: 700;
    }
    .payment-highlight.is-danger {
        background: #fef2f2;
        color: #dc2626;
    }
    .payment-note {
        margin-top: 20px;
        padding: 14px 16px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #e8edf5;
        color: #64748b;
        font-size: 13px;
        line-height: 1.6;
    }
    .btn-deposit {
        background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
        border: 0 !important;
        color: #fff !important;
        font-weight: 600;
        border-radius: 10px !important;
        box-shadow: 0 6px 16px rgba(94, 93, 240, 0.28);
        padding: 10px 20px;
    }
    .btn-deposit:hover,
    .btn-deposit:focus {
        background: linear-gradient(135deg, #4b4ad8 0%, #6a5de8 100%) !important;
        color: #fff !important;
    }
    .btn-deposit-outline {
        background: #fff !important;
        border: 1px solid #c7d2fe !important;
        color: #5e5df0 !important;
        font-weight: 600;
        border-radius: 10px !important;
        padding: 10px 20px;
    }
    .btn-deposit-outline:hover {
        background: #eef2ff !important;
        color: #4b4ad8 !important;
    }
    .payment-loader {
        position: fixed;
        inset: 0;
        background: #f5f7fb;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }
    .payment-loader-inner {
        width: 42px;
        height: 42px;
        border: 3px solid #e8edf5;
        border-top-color: #5e5df0;
        border-radius: 50%;
        animation: payment-spin .8s linear infinite;
    }
    @keyframes payment-spin {
        to { transform: rotate(360deg); }
    }
    body.dark.payment-page {
        background: #121212;
        color: #c7cbd3;
    }
    body.dark.payment-page .deposit-card {
        background: #181818 !important;
        border: 1px solid #252525 !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    }
    body.dark.payment-page .deposit-card .card-body {
        background: #181818 !important;
    }
    body.dark .payment-info-row {
        border-bottom-color: #2a2a2a;
    }
    body.dark .payment-info-icon {
        background: #252525;
        color: #a5b4fc;
    }
    body.dark .payment-info-label {
        color: #94a3b8;
    }
    body.dark .payment-info-value {
        color: #e2e8f0;
    }
    body.dark .payment-info-value.is-amount {
        color: #a5b4fc;
    }
    body.dark .payment-info-value.is-transfer {
        color: #5eead4;
    }
    body.dark .payment-copy-btn {
        background: #2a2a3d;
        color: #c7d2fe;
    }
    body.dark .payment-copy-btn:hover {
        background: #343454;
        color: #fff;
    }
    body.dark .payment-status-badge {
        background: rgba(245, 158, 11, .14);
        color: #fbbf24;
        border: 1px solid rgba(245, 158, 11, .25);
    }
    body.dark .payment-status-badge.is-success {
        background: rgba(16, 185, 129, .14);
        color: #34d399;
        border-color: rgba(16, 185, 129, .25);
    }
    body.dark .payment-status-badge.is-cancelled {
        background: rgba(239, 68, 68, .14);
        color: #f87171;
        border-color: rgba(239, 68, 68, .25);
    }
    body.dark .payment-note {
        background: #1f1f1f;
        border-color: #2f2f2f;
        color: #cbd5e1;
    }
    body.dark .payment-highlight {
        background: #252525;
        color: #a5b4fc;
    }
    body.dark .payment-highlight.is-danger {
        background: #2a1f1f;
        color: #f87171;
    }
    body.dark .payment-qr-title {
        color: #e2e8f0;
    }
    body.dark .payment-qr-hint {
        color: #b8c0cc;
    }
    body.dark .payment-page,
    body.dark .payment-wrap {
        color: #d1d5db;
    }
    body.dark .payment-wrap .text-muted {
        color: #aeb8c7 !important;
    }
    body.dark .payment-loader {
        background: #121212;
    }
    body.dark .payment-highlight {
        border: 1px solid #343454;
    }
    body.dark .payment-language-switcher {
        background: #181818;
        border-color: #303030;
        box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    }
    body.dark .payment-language-switcher button {
        color: #aeb4bf;
    }
    body.dark .payment-language-switcher button.active,
    body.dark .payment-language-switcher button:hover {
        color: #fff;
    }
    @media (max-width: 991.98px) {
        .payment-wrap {
            align-items: flex-start;
            padding: 16px 12px 24px;
        }
    }
    @media (max-width: 575.98px) {
        .payment-wrap {
            padding: 12px 10px 20px;
        }
        .payment-language-switcher {
            width: 100%;
        }
        .payment-language-switcher button {
            flex: 1;
            padding: 7px 5px;
            font-size: 11px;
        }
        body.payment-page .deposit-card .card-body {
            padding: 16px 14px !important;
        }
        .payment-info-card > .card-header {
            padding: 10px 14px !important;
        }
        .payment-info-card > .card-header .card-title {
            font-size: 14px;
        }
        .payment-info-card .card-body {
            padding: 12px 12px !important;
        }
        .payment-info-row {
            gap: 8px;
            padding: 8px 0;
        }
        .payment-info-icon {
            width: 30px;
            height: 30px;
            font-size: 13px;
            border-radius: 8px;
        }
        .payment-info-label {
            font-size: 11px;
            margin-bottom: 2px;
            letter-spacing: 0;
        }
        .payment-info-value {
            font-size: 14px;
            line-height: 1.35;
        }
        .payment-info-value.is-amount {
            font-size: 17px;
        }
        .payment-info-value.is-transfer {
            font-size: 13px;
        }
        .payment-transfer-line {
            gap: 6px;
        }
        .payment-copy-btn {
            width: 28px;
            height: 28px;
            border-radius: 7px;
            font-size: 12px;
        }
        .payment-status-badge {
            font-size: 11px;
            gap: 6px;
            padding: 5px 10px;
            flex-wrap: wrap;
        }
        .payment-info-card .payment-status-badge.mt-1 {
            margin-top: 2px !important;
        }
        .payment-qr-body {
            padding-left: 4px !important;
            padding-right: 4px !important;
        }
        .payment-qr-frame {
            max-width: 280px;
        }
        .payment-qr-title {
            font-size: 16px;
        }
        .payment-qr-hint {
            font-size: 13px;
            margin-bottom: 14px;
        }
    }

/* --- profile-ctv.php --- */
.text-white {
    color: #fff!important;
}
.pb-2, .py-2 {
    padding-bottom: 0.5rem!important;
}
.pt-2, .py-2 {
    padding-top: 0.5rem!important;
}
.rounded-circle {
    border-radius: 50%!important;
}
.bg-danger {
    background-color: #dc3545!important;
}
*, ::after, ::before {
    box-sizing: border-box;
}
user agent stylesheet
div {
    display: block;
}
.bg-warning {
    background-color: #ffc107!important;
}
.progress-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background-color: #007bff;
    transition: width .6s ease;
}
.progress {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: .75rem;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}
.progress-label-left {
    float: left;
    margin-right: 0.5em;
    line-height: 1em;
}
.progress-label-right {
    float: right;
    margin-left: 0.3em;
    line-height: 1em;
}

/* --- profile.php --- */
.deposit-card {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden;
    margin-bottom: 20px;
}
.deposit-card > .card-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 14px 18px !important;
}
.deposit-card > .card-header .card-title {
    color: #fff !important;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}
.deposit-card .card-body {
    padding: 22px 20px !important;
    background: #fff;
}
.deposit-card .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #475569 !important;
    margin-bottom: 6px;
}
.deposit-card .form-control {
    border-radius: 10px !important;
    border: 1px solid #dbe3ef !important;
    min-height: 44px;
    background: #f8fafc !important;
    color: #0f172a !important;
    box-shadow: none !important;
}
.deposit-card .form-control:focus {
    border-color: #5e5df0 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(94, 93, 240, 0.15) !important;
}
.deposit-card .form-control[readonly] {
    background: #eef2ff !important;
    color: #475569 !important;
}
.deposit-card .card-footer {
    background: #f8fafc !important;
    border-top: 1px solid #e8edf5 !important;
    padding: 14px 20px !important;
}
.btn-deposit {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px !important;
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.28);
    min-height: 42px;
    padding: 8px 18px !important;
}
.btn-deposit:hover,
.btn-deposit:focus {
    background: linear-gradient(135deg, #4b4ad8 0%, #6a5de8 100%) !important;
    color: #fff !important;
}
.btn-deposit-danger {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
    font-weight: 600;
    border-radius: 10px !important;
    min-height: 42px;
    padding: 8px 18px !important;
}
.btn-deposit-danger:hover {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}
.profile-hero {
    border: 0 !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    margin-bottom: 20px;
    background: #fff;
}
.profile-hero-top {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    padding: 28px 20px 36px;
    text-align: center;
    color: #fff;
}
.profile-hero-top img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.9);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
    margin-bottom: 12px;
}
.profile-hero-top h3 {
    margin: 0 0 6px;
    color: #fff !important;
    font-size: 20px;
    font-weight: 800;
}
.profile-hero-top .profile-balance {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,.95);
}
.profile-hero-body {
    padding: 18px 18px 20px;
}
.profile-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background: #f8fafc;
    margin-bottom: 10px;
}
.profile-info-row:last-child { margin-bottom: 0; }
.profile-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef2ff;
    color: #5e5df0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.profile-info-text {
    min-width: 0;
}
.profile-info-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #94a3b8;
    margin-bottom: 2px;
}
.profile-info-value {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    word-break: break-word;
}
.profile-stat {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    background: #fff !important;
    height: 100%;
    margin-bottom: 20px;
}
.profile-stat .card-body {
    padding: 20px 16px !important;
    text-align: center;
}
.profile-stat .stat-value {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}
.profile-stat .stat-label {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}
.profile-stat.stat-primary .stat-value { color: #5e5df0; }
.profile-stat.stat-success .stat-value { color: #16a34a; }
.profile-stat.stat-warning .stat-value { color: #d97706; }
.deposit-warning-box {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
}

/* --- register.php --- */
.auth-page {
    min-height: 100vh !important;
    scrollbar-gutter: stable;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 28px 16px !important;
    margin: 0 !important;
    overflow-y: auto;
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(94, 93, 240, 0.28), transparent 55%),
        radial-gradient(900px 420px at 100% 0%, rgba(123, 108, 246, 0.22), transparent 50%),
        linear-gradient(165deg, #eef2ff 0%, #f8fafc 45%, #f1f5f9 100%);
    background-size: cover;
}
.auth-page #loading {
    display: none !important;
}
.auth-page .wrapper {
    width: 100% !important;
    max-width: 100%;
    flex: 0 1 auto;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
.auth-page .login-content {
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}
.auth-page .login-content .container {
    width: 100%;
}
.auth-page .login-content .row {
    min-height: 0 !important;
    margin: 0 !important;
}
.auth-card {
    border: 0 !important;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12) !important;
    background: #fff !important;
    margin: 0 auto !important;
}
.auth-card-head {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    padding: 22px 24px 18px;
    text-align: center;
    color: #fff;
}
.auth-card-head .auth-logo img {
    max-height: 48px;
    width: auto;
}
.auth-card-head h3 {
    margin: 14px 0 4px;
    color: #fff !important;
    font-size: 22px;
    font-weight: 800;
}
.auth-card-head p {
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 13px;
}
.auth-card .card-body {
    padding: 24px 24px 28px !important;
}
.auth-card .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #475569 !important;
    margin-bottom: 6px;
}
.auth-card .form-control {
    border-radius: 10px !important;
    border: 1px solid #dbe3ef !important;
    min-height: 44px;
    background: #f8fafc !important;
    color: #0f172a !important;
    box-shadow: none !important;
}
.auth-card .form-control:focus {
    border-color: #5e5df0 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(94, 93, 240, 0.15) !important;
}
.auth-card a {
    color: #5e5df0;
    font-weight: 600;
}
.auth-card a:hover { color: #4b4ad8; }
.auth-card .btn-deposit {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: 10px !important;
    min-height: 46px;
    box-shadow: 0 8px 18px rgba(94, 93, 240, 0.3);
}
.auth-card .btn-deposit:hover,
.auth-card .btn-deposit:focus {
    background: linear-gradient(135deg, #4b4ad8 0%, #6a5de8 100%) !important;
    color: #fff !important;
}
.auth-card .auth-footer-text {
    color: #64748b;
    font-size: 14px;
}
.auth-card .custom-control-label {
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}
.auth-card .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #5e5df0 !important;
    border-color: #5e5df0 !important;
}
body.dark.auth-page {
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(94, 93, 240, 0.22), transparent 55%),
        radial-gradient(900px 420px at 100% 0%, rgba(123, 108, 246, 0.16), transparent 50%),
        linear-gradient(165deg, #121212 0%, #1a1a1a 50%, #181818 100%);
}
body.dark .auth-card {
    background: #181818 !important;
    border: 1px solid #252525 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45) !important;
}
body.dark .auth-card .form-group label { color: #aeb4bf !important; }
body.dark .auth-card .form-control {
    background: #222 !important;
    border-color: #333 !important;
    color: #eff0f1 !important;
}
body.dark .auth-card .form-control:focus {
    background: #222 !important;
    border-color: #5e5df0 !important;
}
body.dark .auth-card a { color: #a5b4fc; }
body.dark .auth-card .auth-footer-text,
body.dark .auth-card .custom-control-label { color: #8f9fbc; }

/* --- security.php --- */
.deposit-card {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden;
}
.deposit-card > .card-header {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 14px 18px !important;
}
.deposit-card > .card-header .card-title {
    color: #fff !important;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.deposit-card > .card-header .card-title img,
.deposit-card > .card-header img,
.card-header.card-product .card-title img,
.card-header.card-product img {
    width: 26px !important;
    height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    padding: 0 !important;
    object-fit: contain !important;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    vertical-align: middle;
    border-radius: 6px;
}
.deposit-card .card-body {
    padding: 22px 20px !important;
    background: #fff;
}
.deposit-card .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #475569 !important;
    margin-bottom: 6px;
}
.deposit-card .form-control {
    border-radius: 10px !important;
    border: 1px solid #dbe3ef !important;
    min-height: 44px;
    background: #f8fafc !important;
    color: #0f172a !important;
    box-shadow: none !important;
}
.deposit-card .form-control:focus {
    border-color: #5e5df0 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(94, 93, 240, 0.15) !important;
}
.deposit-hint {
    display: block;
    margin-top: 8px;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
}
.deposit-qr-box {
    display: inline-block;
    background: #f8fafc;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 8px;
}
.deposit-qr-box img,
.deposit-qr-box svg {
    max-width: 180px;
    height: auto;
}
.deposit-card .card-footer {
    background: #f8fafc !important;
    border-top: 1px solid #e8edf5 !important;
    padding: 14px 20px !important;
}
.btn-deposit {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px !important;
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.28);
    min-height: 42px;
    padding: 8px 18px !important;
}
.btn-deposit:hover,
.btn-deposit:focus {
    background: linear-gradient(135deg, #4b4ad8 0%, #6a5de8 100%) !important;
    color: #fff !important;
}
.btn-deposit-danger {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
    font-weight: 600;
    border-radius: 10px !important;
    min-height: 42px;
    padding: 8px 18px !important;
}
.btn-deposit-danger:hover {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

/* --- shop-account.php --- */
.custom-block {
    padding: 0;
}

.custom-block .custom-control-label2:hover {
    color: #403E10;
    box-shadow: <?=$CMSNT->site('theme_color');
    ?>-1px 1px,
    <?=$CMSNT->site('theme_color');
    ?>-2px 2px,
    <?=$CMSNT->site('theme_color');
    ?>-3px 3px,
    <?=$CMSNT->site('theme_color');
    ?>-4px 4px,
    <?=$CMSNT->site('theme_color');
    ?>-5px 5px,
    <?=$CMSNT->site('theme_color');
    ?>-6px 6px;
    transform: translate3d(6px, -6px, 0);
    transition-delay: 0s;
    transition-duration: 0.4s;
    transition-property: all;
    transition-timing-function: line;
}

.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
}

.custom-block .custom-control-label2 {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid <?=$CMSNT->site('theme_color');
    ?>;
    border-radius: 0.2rem;
    cursor: pointer;
}

.p-2 {
    padding: 0.5rem !important;
}

.custom-control-label2 {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ml-2,
.mx-2 {
    margin-left: 0.5rem !important;
}

.text-muted {
    color: #6c757d !important;
}

.font-size-sm {
    font-size: .875rem !important;
}

.d-block {
    display: block !important;
}

.font-size-sm {
    font-size: .875rem !important;
}

.bg-black-5 {
    background-color: rgba(0, 0, 0, .05) !important;
}

.item {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    -webkit-transition: opacity .25s ease-out, -webkit-transform .25s ease-out;
    transition: opacity .25s ease-out, -webkit-transform .25s ease-out;
    transition: opacity .25s ease-out, transform .25s ease-out;
    transition: opacity .25s ease-out, transform .25s ease-out, -webkit-transform .25s ease-out;
}

.item.item-circle {
    border-radius: 50%;
    border: 1px solid <?=$CMSNT->site('theme_color');
    ?>;
}

.custom-control-primary.custom-block .custom-block-indicator,
.custom-control-primary.custom-radio .custom-control-input:checked~.custom-control-label2:before {
    background-color: #0665d0;
}

.font-w700 {
    font-weight: 700 !important;
}

/* --- shop-account.php --- */
.list-category {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

@media (min-width: 768px) {
    .content-heading {
        margin-bottom: 1.5rem;
        padding-top: 2.5rem;
    }
}

.content-heading {
    margin-bottom: 0.875rem;
    padding-top: 2rem;
    padding-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.75;
    border-bottom: 1px solid #e4e7ed;
}

@media (min-width: 768px) {
    .content-heading {
        margin-bottom: 1.5rem;
        padding-top: 2.5rem;
    }
}

.content-heading {
    margin-bottom: 0.875rem;
    padding-top: 2rem;
    padding-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.75;
    border-bottom: 1px solid #e4e7ed;
}

.block.block-rounded>.block-content:last-child {
    border-bottom-right-radius: 0.875rem 1rem;
    border-bottom-left-radius: 0.875rem 1rem;
}

.block-content.block-content-full {
    padding-bottom: 1.625rem;
}

.block-content.block-content-full {
    padding-bottom: 1.625rem;
}

.block-content {
    transition: opacity .2s ease-out;
    width: 100%;
    margin: 0 auto;
    padding: 1.625rem 1.625rem 1px;
    overflow-x: visible;
}

.block-content {
    transition: opacity .2s ease-out;
    width: 100%;
    margin: 0 auto;
    padding: 1.625rem 1.625rem 1px;
    overflow-x: visible;
}

.action:hover {
    transform: scale(1.1);

}

.fw-semibold {
    font-weight: 400 !important;
}

.fs-3 {
    font-size: calc(1.275rem + .3vw) !important;
}

.hvr-underline-from-center {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1200px) {
    .fs-3 {
        font-size: 1.5rem !important;
    }

    .fw-semibold {
        font-weight: 600 !important;
    }

    .fs-3 {
        font-size: calc(1.275rem + .3vw) !important;
    }
}

@media (min-width: 1200px) {
    .fs-3 {
        font-size: 1.5rem !important;
    }

    .fw-semibold {
        font-weight: 600 !important;
    }

    .fs-3 {
        font-size: calc(1.275rem + .3vw) !important;
    }

    .col-xl-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

/* --- spin.php --- */
.fortune__body {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 20px;
    overflow: hidden
}

.fortune__wheel {
    width: 80%
}

.fortune__form {
    min-height: 350px;
    -webkit-flex-basis: 20%;
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -moz-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.fortune__form-subtitle,
.fortune__form-title {
    margin-bottom: 25px;
    font-size: 30px;
    white-space: nowrap
}

.fortune__form-logo {
    margin: 0 auto 25px;
    max-width: 80%;
    width: 100%;
    display: block
}

.fortune__form-btn {
    margin: 0 auto;
    max-width: 200px
}

.fortune__form-btn:hover {
    opacity: .8
}

.fortune__form-text {
    text-align: center;
    font-size: 20px;
    font-weight: 500
}

.fortune__form .form-error {
    text-align: center
}

.fortune__text {
    margin-bottom: 25px
}

.fortune__text-item {
    margin-bottom: 25px;
    color: #4072b0;
    line-height: 1.4
}

.fortune__text-card {
    padding: 15px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 135px;
    background-color: #f0f0f0;
    border: 1px solid rgba(0, 0, 0, .125);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #222c38
}

.fortune__text-row {
    margin-bottom: 10px
}

.fortune__prize-desc a {
    color: #4172b0;
    text-decoration: underline
}

.blinking {
    -webkit-animation: blinkingText 1.2s infinite;
    -moz-animation: blinkingText 1.2s infinite;
    -o-animation: blinkingText 1.2s infinite;
    animation: blinkingText 1.2s infinite
}

@-webkit-keyframes blinkingText {
    0% {
        color: #4172b0
    }

    49% {
        color: #4172b0
    }

    60% {
        color: rgba(0, 0, 0, 0)
    }

    99% {
        color: rgba(0, 0, 0, 0)
    }

    to {
        color: #4172b0
    }
}

@-moz-keyframes blinkingText {
    0% {
        color: #4172b0
    }

    49% {
        color: #4172b0
    }

    60% {
        color: rgba(0, 0, 0, 0)
    }

    99% {
        color: rgba(0, 0, 0, 0)
    }

    to {
        color: #4172b0
    }
}

@-o-keyframes blinkingText {
    0% {
        color: #4172b0
    }

    49% {
        color: #4172b0
    }

    60% {
        color: rgba(0, 0, 0, 0)
    }

    99% {
        color: rgba(0, 0, 0, 0)
    }

    to {
        color: #4172b0
    }
}

@keyframes blinkingText {
    0% {
        color: #4172b0
    }

    49% {
        color: #4172b0
    }

    60% {
        color: rgba(0, 0, 0, 0)
    }

    99% {
        color: rgba(0, 0, 0, 0)
    }

    to {
        color: #4172b0
    }
}

.wheelText {
    font-size: 16px;
    font-family: Arial Black, Gadget, sans-serif;
    font-weight: 400;
    text-align: center;
    text-shadow: 2px 2px #434343;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-box-shadow: 3px 3px 6px 6px #434343;
    -moz-box-shadow: 3px 3px 6px 6px #434343;
    box-shadow: 3px 3px 6px 6px #434343;
    fill: #fff
}

@media (max-width:1220px) {
    .fortune__body {
        padding-top: 50px;
        padding-bottom: 30px
    }

    .fortune__wheel {
        -webkit-transform: scale(1.25);
        -moz-transform: scale(1.25);
        -ms-transform: scale(1.25);
        -o-transform: scale(1.25);
        transform: scale(1.25)
    }
}

@media (max-width:920px) {
    .fortune__body {
        max-width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 50px
    }

    .fortune__wheel {
        width: 100%
    }

    .fortune__form {
        min-height: 120px
    }

    .fortune__form-subtitle,
    .fortune__form-title {
        font-size: 20px;
        white-space: normal
    }

    .fortune__form-logo {
        display: none
    }
}

@media (max-width:480px) {
    .fortune__body {
        padding-left: 10px;
        padding-right: 10px
    }
}

@media (max-width:350px) {
    .fortune__form {
        min-height: 350px
    }

    .fortune__form-subtitle,
    .fortune__form-title {
        font-size: 24px
    }
}

/*# sourceMappingURL=wheel.css.map*/

/* --- home #showProduct overrides (must be last) ---
 * Trước đây CSS trang chủ load sau cùng trong <head>.
 * Sau khi gom file, rule .deposit-card .card-body từ profile/security/payment
 * ghi đè card-body p-0 của list sản phẩm — đặc biệt trên mobile.
 */
#showProduct .deposit-card {
    margin-bottom: 0;
}
#showProduct .deposit-card > .card-body {
    padding: 0 !important;
    background: #fff;
}
#showProduct .table-responsive {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    border: 0;
}
/* Nút MUA NGAY trong list sản phẩm — gọn hơn (PC + mobile) */
#showProduct .btn-deposit.btn-sm,
#showProduct .btn-deposit.btn-block,
#showProduct .product-mobile-buy .btn-deposit,
#showProduct .product-mobile-buy .btn-secondary {
    min-height: 0 !important;
    padding: 7px 10px !important;
    font-size: 12px !important;
    line-height: 1.35;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(94, 93, 240, 0.22) !important;
}
#showProduct .btn-deposit.btn-sm i,
#showProduct .btn-deposit.btn-block i,
#showProduct .product-mobile-buy .btn i {
    font-size: 11px;
}
@media (max-width: 991.98px) {
    #showProduct .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    #showProduct .deposit-card > .card-header {
        padding: 12px 14px !important;
    }
    #showProduct .deposit-card > .card-header b,
    #showProduct .deposit-card > .card-header .card-title {
        font-size: 14px;
        word-break: break-word;
    }
}
@media (max-width: 600px) {
    #showProduct thead {
        display: none !important;
    }
    #showProduct .table,
    #showProduct .deposit-list-table {
        width: 100% !important;
        display: table !important;
    }
    #showProduct .col-product-name {
        display: grid !important;
    }
    #showProduct .deposit-list-table td,
    #showProduct table td {
        white-space: normal !important;
        word-break: break-word;
        border-top: none !important;
    }
    /* Giá + còn lại cùng một hàng; bỏ gạch trên nút MUA NGAY */
    #showProduct .product-mobile-meta,
    #showProduct .d-none-more-than-601 > .col-md-12:first-child {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 8px;
        border-bottom: 0 !important;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    #showProduct .product-mobile-meta .btn,
    #showProduct .d-none-more-than-601 > .col-md-12:first-child .btn {
        margin-bottom: 0 !important;
        width: auto;
        flex: 0 0 auto;
    }
    #showProduct .product-mobile-buy,
    #showProduct .d-none-more-than-601 > .col-md-12:last-child {
        border-top: 0 !important;
        margin-top: 8px !important;
        padding-top: 0 !important;
        box-shadow: none !important;
    }
    #showProduct .product-mobile-buy::before,
    #showProduct .product-mobile-buy::after {
        display: none !important;
        content: none !important;
    }
    #showProduct .product-mobile-buy .btn-deposit,
    #showProduct .product-mobile-buy .btn-secondary,
    #showProduct .product-mobile-buy .btn-block,
    #showProduct .d-none-more-than-601 > .col-md-12:last-child .btn-deposit,
    #showProduct .d-none-more-than-601 > .col-md-12:last-child .btn-secondary,
    #showProduct .d-none-more-than-601 > .col-md-12:last-child .btn-block {
        border-top: 0 !important;
        padding: 7px 10px !important;
        font-size: 12px !important;
    }
    #showProduct .deposit-list-table tbody tr.lazy-product-item td {
        border-top: none !important;
    }
    #showProduct .deposit-list-table tbody tr.lazy-product-item + tr.lazy-product-item td {
        padding-top: 14px !important;
    }
}
@media (max-width: 575.98px) {
    #showProduct table td,
    #showProduct .deposit-list-table td {
        font-size: 12px;
        padding: 10px !important;
    }
    #showProduct .col-product-name h3 {
        font-size: 14px !important;
        line-height: 1.4;
        word-break: break-word;
    }
    #showProduct .content-mota {
        font-size: 12px !important;
        word-break: break-word;
    }
}
body.dark #showProduct .deposit-card > .card-body {
    background: #181818 !important;
}

/* Lazy-load sentinel: giữ chiều cao cố định, không neo scroll — tránh giật khi append */
#showProduct .product-lazy-sentinel {
    min-height: 48px;
    overflow-anchor: none;
}
#showProduct .product-lazy-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-anchor: none;
    transition: opacity 0.15s ease;
}
#showProduct .product-lazy-loading.is-active {
    opacity: 1;
    visibility: visible;
}
#showProduct [data-lazy-category] {
    overflow-anchor: auto;
}

/* Skeleton loading — cùng khung bảng với list sản phẩm thật */
#showProduct.is-loading {
    overflow: hidden;
}
#showProduct.is-loading.is-loading-overlay {
    position: relative;
}
#showProduct.is-loading.is-loading-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.62);
}
#showProduct.is-loading.is-loading-overlay > * {
    opacity: 0.55;
    pointer-events: none;
}
body.dark #showProduct.is-loading.is-loading-overlay::after {
    background: rgba(12, 12, 12, 0.55);
}
#showProduct .product-skeleton-card {
    margin-bottom: 0;
}
#showProduct .product-skeleton-table {
    margin: 0;
}
#showProduct .product-skeleton-item td {
    pointer-events: none;
}
#showProduct .product-skeleton-block {
    display: block;
    background: linear-gradient(90deg, #e8edf3 0%, #f4f7fa 45%, #e8edf3 90%);
    background-size: 200% 100%;
    animation: product-skeleton-shimmer 1.15s ease-in-out infinite;
    border-radius: 8px;
}
#showProduct .product-skeleton-block.skeleton-header {
    display: inline-block;
    width: 148px;
    height: 18px;
    vertical-align: middle;
    border-radius: 6px;
}
#showProduct .product-skeleton-block.skeleton-th {
    height: 12px;
    width: 72%;
    border-radius: 6px;
}
#showProduct .product-skeleton-block.skeleton-th-short {
    width: 56%;
    margin: 0 auto;
}
#showProduct .product-skeleton-block.skeleton-title {
    width: 68%;
    height: 18px;
    margin-bottom: 8px;
}
#showProduct .product-skeleton-block.skeleton-desc {
    width: 92%;
    height: 12px;
    margin-bottom: 0;
}
#showProduct .product-skeleton-block.skeleton-desc-short {
    display: none;
}
#showProduct .product-mobile-meta .product-skeleton-block.skeleton-pill,
#showProduct .product-skeleton-item td.text-center .product-skeleton-block.skeleton-pill {
    display: inline-block;
    width: 88px;
    height: 31px;
    border-radius: 999px;
    vertical-align: middle;
}
#showProduct .product-skeleton-block.skeleton-pill-short {
    width: 72px;
}
#showProduct .product-mobile-buy .product-skeleton-block.skeleton-button {
    display: block;
    width: 100%;
    max-width: 120px;
    height: 31px;
}
#showProduct .product-skeleton-block.skeleton-button-sm {
    width: 96px;
    height: 31px;
    margin: 0 auto;
}
@keyframes product-skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
    #showProduct .product-skeleton-block {
        animation: none;
        background: #e8edf3;
    }
}
@media (max-width: 600px) {
    #showProduct .product-skeleton-item + .product-skeleton-item td {
        padding-top: 14px !important;
    }
    #showProduct .product-skeleton-block.skeleton-desc-short {
        display: block;
        width: 62%;
        height: 11px;
        margin-top: 6px;
        margin-bottom: 8px;
    }
    #showProduct .product-skeleton-block.skeleton-title {
        width: 76%;
        height: 14px;
        margin-bottom: 8px;
    }
    #showProduct .product-skeleton-block.skeleton-desc {
        width: 100%;
        height: 11px;
    }
    #showProduct .product-skeleton-item .product-mobile-meta {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 8px;
        margin-bottom: 0;
    }
    #showProduct .product-skeleton-item .product-mobile-meta .product-skeleton-block.skeleton-pill {
        width: 82px;
        height: 28px;
        margin-bottom: 0;
    }
    #showProduct .product-skeleton-item .product-mobile-meta .product-skeleton-block.skeleton-pill-short {
        width: 68px;
    }
    #showProduct .product-skeleton-item .product-mobile-buy {
        margin-top: 8px !important;
        padding-top: 0 !important;
    }
    #showProduct .product-skeleton-item .product-mobile-buy .product-skeleton-block.skeleton-button {
        max-width: 118px;
        height: 30px;
    }
    #showProduct .product-skeleton-block.skeleton-header {
        width: 52%;
        max-width: 160px;
        height: 16px;
    }
}
@media (max-width: 575.98px) {
    #showProduct .product-skeleton-item td {
        padding: 10px !important;
    }
}
body.dark #showProduct .product-skeleton-block {
    background: linear-gradient(90deg, #2a2a2a 0%, #353535 45%, #2a2a2a 90%);
    background-size: 200% 100%;
}
@media (prefers-reduced-motion: reduce) {
    body.dark #showProduct .product-skeleton-block {
        background: #2a2a2a;
    }
}

/* Skeleton loading — trang chi tiết sản phẩm */
body.product-detail-page.is-loading-detail #productDetailContent {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}
body.product-detail-page.is-loading-detail #productDetailSkeleton {
    display: block;
}
#productDetailSkeleton {
    display: none;
}
#productDetailSkeleton .product-skeleton-block {
    display: block;
    background: linear-gradient(90deg, #e8edf3 0%, #f4f7fa 45%, #e8edf3 90%);
    background-size: 200% 100%;
    animation: product-skeleton-shimmer 1.15s ease-in-out infinite;
    border-radius: 8px;
}
#productDetailSkeleton .product-detail-skeleton-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
}
#productDetailSkeleton .skeleton-crumb {
    height: 14px;
    width: 72px;
    border-radius: 6px;
}
#productDetailSkeleton .skeleton-crumb-short {
    width: 96px;
}
#productDetailSkeleton .skeleton-crumb-long {
    width: min(42%, 280px);
    flex: 1 1 160px;
}
#productDetailSkeleton .product-detail-skeleton-hero,
#productDetailSkeleton .product-detail-skeleton-tabs,
#productDetailSkeleton .product-detail-skeleton-panel,
#productDetailSkeleton .product-detail-skeleton-buy-card {
    padding: 16px;
    margin-bottom: 16px;
}
#productDetailSkeleton .product-detail-skeleton-buy-mobile {
    margin-bottom: 16px;
}
#productDetailSkeleton .product-detail-skeleton-buy-card {
    margin-bottom: 0;
}
#productDetailSkeleton .product-detail-skeleton-media {
    padding: 12px;
}
#productDetailSkeleton .skeleton-image {
    width: 100%;
    min-height: 180px;
    border-radius: 12px;
}
#productDetailSkeleton .product-detail-skeleton-info {
    padding: 16px 16px 16px 4px;
}
#productDetailSkeleton .skeleton-id {
    width: 56px;
    height: 12px;
    margin-bottom: 10px;
}
#productDetailSkeleton .skeleton-title {
    width: 88%;
    height: 22px;
    margin-bottom: 8px;
}
#productDetailSkeleton .skeleton-title-short {
    width: 62%;
    height: 18px;
    margin-bottom: 12px;
}
#productDetailSkeleton .skeleton-rating {
    width: 148px;
    height: 16px;
    margin-bottom: 14px;
}
#productDetailSkeleton .product-detail-skeleton-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}
#productDetailSkeleton .skeleton-stat {
    width: 96px;
    height: 44px;
    border-radius: 10px;
}
#productDetailSkeleton .skeleton-price {
    width: 120px;
    height: 28px;
    margin-top: 8px;
}
#productDetailSkeleton .product-detail-skeleton-buy {
    padding: 16px;
    border-left: 1px solid rgba(15, 23, 42, 0.06);
}
#productDetailSkeleton .skeleton-buy-label {
    width: 72px;
    height: 12px;
    margin-bottom: 10px;
}
#productDetailSkeleton .skeleton-buy-field {
    width: 100%;
    height: 40px;
    margin-bottom: 12px;
}
#productDetailSkeleton .skeleton-buy-total {
    width: 100%;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 10px;
}
#productDetailSkeleton .skeleton-buy-btn {
    width: 100%;
    height: 42px;
    border-radius: 10px;
}
#productDetailSkeleton .product-detail-skeleton-tab-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
#productDetailSkeleton .skeleton-tab {
    width: 132px;
    height: 34px;
    border-radius: 8px;
}
#productDetailSkeleton .skeleton-line {
    width: 100%;
    height: 12px;
    margin-bottom: 10px;
}
#productDetailSkeleton .skeleton-line-short {
    width: 72%;
}
#productDetailSkeleton .skeleton-panel-head {
    width: 168px;
    height: 16px;
    margin-bottom: 16px;
}
#productDetailSkeleton .skeleton-related-card {
    width: 100%;
    height: 108px;
    margin-bottom: 12px;
    border-radius: 12px;
}
#productDetailSkeleton .skeleton-category-row {
    width: 100%;
    height: 38px;
    margin-bottom: 8px;
    border-radius: 8px;
}
body.dark #productDetailSkeleton .product-skeleton-block {
    background: linear-gradient(90deg, #2a2a2a 0%, #353535 45%, #2a2a2a 90%);
    background-size: 200% 100%;
}
body.dark #productDetailSkeleton .product-detail-skeleton-crumb,
body.dark #productDetailSkeleton .product-detail-skeleton-buy {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.08);
}
@media (prefers-reduced-motion: reduce) {
    #productDetailSkeleton .product-skeleton-block {
        animation: none;
        background: #e8edf3;
    }
    body.dark #productDetailSkeleton .product-skeleton-block {
        background: #2a2a2a;
    }
}
@media (max-width: 767.98px) {
    #productDetailSkeleton .product-detail-skeleton-buy {
        display: none !important;
    }
    #productDetailSkeleton .skeleton-image {
        min-height: 140px;
    }
    #productDetailSkeleton .product-detail-skeleton-related .col-md-4:nth-child(n+5) {
        display: none;
    }
}
@media (max-width: 575.98px) {
    #productDetailSkeleton .product-detail-skeleton-crumb {
        padding: 8px 12px;
    }
    #productDetailSkeleton .skeleton-title {
        width: 96%;
        height: 18px;
    }
}

/* --- product detail page --- */
body.product-detail-page .product-detail-wrap {
    padding-bottom: 24px;
}
body.product-detail-page .product-detail-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 28px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    font-size: 13px;
    line-height: 1.4;
    list-style: none;
}
body.product-detail-page .product-detail-crumb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5e5df0;
    font-weight: 600;
    text-decoration: none !important;
    max-width: 100%;
}
body.product-detail-page .product-detail-crumb-link:hover {
    color: #4b4ad8;
}
body.product-detail-page .product-detail-crumb-link img {
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
body.product-detail-page .product-detail-crumb-sep {
    font-size: 10px;
    color: #cbd5e1;
    flex-shrink: 0;
}
body.product-detail-page .product-detail-crumb-current {
    color: #64748b;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 180px;
    max-width: 100%;
}
body.product-detail-page .product-detail-layout {
    align-items: flex-start;
}
body.product-detail-page .product-detail-hero-wrap {
    margin-bottom: 28px;
}
body.product-detail-page .product-detail-buy-mobile-wrap {
    margin-bottom: 20px;
}
body.product-detail-page .product-detail-buy-mobile-wrap .product-detail-buy-mobile-card {
    margin-bottom: 0;
}
body.product-detail-page .product-detail-tabs-wrap {
    margin-bottom: 20px;
}
body.product-detail-page .product-detail-main-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
body.product-detail-page .product-detail-main-col > * {
    margin-bottom: 0;
}
body.product-detail-page .product-detail-sidebar-col {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
body.product-detail-page .product-detail-buy-card {
    margin-bottom: 0;
    flex-shrink: 0;
    overflow: visible;
}
body.product-detail-page .product-detail-categories.deposit-card {
    overflow: visible;
    flex: 1 1 auto;
    min-height: 0;
}
body.product-detail-page .product-detail-hero.deposit-card {
    overflow: hidden;
    border: 1px solid #e2e8f8;
    border-radius: 18px;
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.07),
        0 2px 8px rgba(15, 23, 42, 0.03);
}
body.product-detail-page .product-detail-hero-unified {
    margin-bottom: 0;
    position: relative;
}
body.product-detail-page .product-detail-hero-unified::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5e5df0 0%, #7b6cf6 45%, #22c55e 100%);
    z-index: 2;
    pointer-events: none;
}
body.product-detail-page .product-detail-hero-buy {
    flex-direction: column;
    background: linear-gradient(180deg, #f5f7ff 0%, #eef2ff 100%);
    border-left: 1px solid #e2e8f8;
    padding: 16px;
}
body.product-detail-page .product-detail-buy-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}
body.product-detail-page .product-detail-buy-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 16px 18px;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(135deg, rgba(94, 93, 240, 0.09) 0%, rgba(123, 108, 246, 0.05) 100%);
}
body.product-detail-page .product-detail-buy-panel-head-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #5e5df0;
    background: rgba(94, 93, 240, 0.12);
    font-size: 18px;
}
body.product-detail-page .product-detail-buy-panel-head-text {
    min-width: 0;
}
body.product-detail-page .product-detail-buy-panel-body {
    padding: 18px;
    flex: 1 1 auto;
}
body.product-detail-page .product-detail-buy-panel-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px;
    line-height: 1.3;
}
body.product-detail-page .product-detail-buy-panel-sub {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}
body.product-detail-page .product-detail-buy-panel-product {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body.product-detail-page .product-detail-hero-media {
    background:
        radial-gradient(circle at 30% 20%, rgba(94, 93, 240, 0.12) 0%, transparent 52%),
        radial-gradient(circle at 70% 80%, rgba(34, 197, 94, 0.08) 0%, transparent 48%),
        linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
    border-right: 1px solid #e8edf5;
}
body.product-detail-page .product-detail-hero-row {
    min-height: 0;
}
body.product-detail-page .product-detail-hero-unified .product-detail-hero-media {
    display: flex;
    flex-direction: column;
}
body.product-detail-page .product-detail-hero-unified .product-detail-gallery-inner {
    flex: 1 1 auto;
    min-height: 220px;
}
body.product-detail-page .product-detail-gallery-inner {
    min-height: 180px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
}
body.product-detail-page .product-detail-image {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 10px 24px rgba(94, 93, 240, 0.18));
}
body.product-detail-page .product-detail-image-placeholder {
    width: 108px;
    height: 108px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(94, 93, 240, 0.16) 0%, rgba(123, 108, 246, 0.1) 100%);
    color: #5e5df0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: inset 0 0 0 1px rgba(94, 93, 240, 0.12);
}
body.product-detail-page .product-detail-hero-info {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
body.product-detail-page .product-detail-hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
body.product-detail-page .product-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    border: 1px solid transparent;
}
body.product-detail-page .product-detail-badge img {
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
body.product-detail-page .product-detail-badge-id {
    color: #475569;
    background: #f1f5f9;
    border-color: #e2e8f0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
body.product-detail-page .product-detail-badge-cat {
    color: #3730a3;
    background: #eef2ff;
    border-color: #c7d2fe;
    max-width: 100%;
}
body.product-detail-page .product-detail-badge-cat:hover {
    color: #312e81;
    background: #e0e7ff;
}
body.product-detail-page .product-detail-badge-cat span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
}
body.product-detail-page .product-detail-badge-stock {
    gap: 5px;
}
body.product-detail-page .product-detail-badge-stock i {
    font-size: 7px;
    vertical-align: middle;
}
body.product-detail-page .product-detail-badge-stock.is-in-stock {
    color: #15803d;
    background: #f0fdf4;
    border-color: #bbf7d0;
}
body.product-detail-page .product-detail-badge-stock.is-out-stock {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
}
body.product-detail-page .product-detail-id {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 8px;
}
body.product-detail-page .product-detail-title {
    font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 12px;
    word-break: break-word;
    overflow-wrap: break-word;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}
body.product-detail-page .product-detail-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
body.product-detail-page .product-detail-stars {
    color: #f59e0b;
    font-size: 13px;
}
body.product-detail-page .product-detail-stars .is-dim {
    color: #e2e8f0;
}
body.product-detail-page .product-detail-rating-text {
    font-size: 12px;
    color: #64748b;
}
body.product-detail-page .product-detail-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
    gap: 10px;
}
body.product-detail-page .product-detail-stats-inline {
    margin: 14px 0 16px;
}
body.product-detail-page .product-detail-stat {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e8edf5;
    border-radius: 12px;
    padding: 10px 10px 10px 12px;
    text-align: left;
    overflow: hidden;
}
body.product-detail-page .product-detail-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, #5e5df0, #7b6cf6);
}
body.product-detail-page .product-detail-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 11px;
    color: #5e5df0;
    background: rgba(94, 93, 240, 0.1);
}
body.product-detail-page .product-detail-trust-list {
    list-style: none;
    margin: 0 0 4px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
body.product-detail-page .product-detail-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e8edf5;
}
body.product-detail-page .product-detail-trust-list li i {
    color: #5e5df0;
    font-size: 11px;
}
body.product-detail-page .product-detail-trust-list li:has(.product-detail-trust-link) {
    padding: 0;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
body.product-detail-page .product-detail-trust-list li:has(.product-detail-trust-link):hover,
body.product-detail-page .product-detail-trust-list li:has(.product-detail-trust-link):focus-within {
    border-color: rgba(94, 93, 240, 0.28);
    background: rgba(94, 93, 240, 0.06);
    box-shadow: 0 2px 8px rgba(94, 93, 240, 0.08);
}
body.product-detail-page .product-detail-trust-list a.product-detail-trust-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
body.product-detail-page .product-detail-trust-list a.product-detail-trust-link:hover,
body.product-detail-page .product-detail-trust-list a.product-detail-trust-link:focus-visible {
    color: #4338ca;
    outline: none;
}
body.product-detail-page .product-detail-stat-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
    margin-bottom: 2px;
}
body.product-detail-page .product-detail-stat-value {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #2563eb;
    line-height: 1.2;
}
body.product-detail-page .product-detail-stat-value.is-sold {
    color: #16a34a;
}
body.product-detail-page .product-detail-stat-value.is-stock {
    color: #2563eb;
}
body.product-detail-page .product-detail-stat-value.is-empty {
    color: #dc2626;
}
body.product-detail-page .product-detail-hero-price {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}
body.product-detail-page .product-detail-price-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 2px;
    text-transform: none;
    letter-spacing: normal;
}
body.product-detail-page .product-detail-price {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    font-weight: 800;
    color: #dc2626;
    line-height: 1.2;
}
body.product-detail-page .product-detail-buy-card .card-body {
    padding: 18px;
}
body.product-detail-page .product-detail-hero-buy .product-detail-buy-form {
    flex: 1 1 auto;
}
body.product-detail-page .product-detail-buy-form {
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
}
body.product-detail-page .product-detail-buy-form .product-detail-buy-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
}
body.product-detail-page .product-detail-buy-form .product-detail-buy-label i {
    color: #5e5df0;
    font-size: 12px;
}
body.product-detail-page .product-detail-buy-form .product-detail-buy-hint {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: #64748b !important;
    margin-bottom: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}
body.product-detail-page .product-detail-buy-form .product-detail-buy-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 14px;
}
body.product-detail-page .product-detail-buy-form .product-detail-buy-field {
    margin-bottom: 0;
}
body.product-detail-page .product-detail-buy-form .product-detail-buy-field-compact {
    margin-bottom: 10px;
}
body.product-detail-page .product-detail-input-shell {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
body.product-detail-page .product-detail-input-shell:focus-within {
    border-color: #5e5df0;
    box-shadow: 0 0 0 3px rgba(94, 93, 240, 0.12);
    background: #fff;
}
body.product-detail-page .product-detail-input-shell .form-control {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 10px 0;
    height: auto;
    min-height: 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    color: #0f172a;
    letter-spacing: normal;
    text-transform: none;
}
body.product-detail-page .product-detail-input-shell .form-control::placeholder {
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: #94a3b8;
    opacity: 1;
    letter-spacing: normal;
    text-transform: none;
}
body.product-detail-page .product-detail-input-shell-coupon {
    gap: 10px;
}
body.product-detail-page .product-detail-input-prefix {
    color: #5e5df0;
    font-size: 14px;
    flex-shrink: 0;
}
body.product-detail-page .product-detail-buy-coupon {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body.product-detail-page .product-detail-coupon-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 8px 14px;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}
body.product-detail-page .product-detail-coupon-toggle i {
    color: #5e5df0;
}
body.product-detail-page .product-detail-coupon-toggle:hover,
body.product-detail-page .product-detail-coupon-toggle:focus-visible {
    border-color: #5e5df0;
    background: rgba(94, 93, 240, 0.06);
    color: #4338ca;
    outline: none;
}
body.product-detail-page .product-detail-coupon-toggle.is-active {
    border-style: solid;
    border-color: rgba(94, 93, 240, 0.35);
    background: rgba(94, 93, 240, 0.08);
    color: #4338ca;
}
body.product-detail-page .product-detail-buy-qty-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 0;
}
body.product-detail-page .product-detail-buy-qty-row .product-detail-input-shell {
    flex: 1 1 auto;
    min-width: 0;
}
body.product-detail-page .product-detail-buy-qty-row .product-detail-btn-buy {
    flex: 0 0 auto;
    min-width: 112px;
    max-width: 42%;
    white-space: nowrap;
    padding-left: 12px !important;
    padding-right: 12px !important;
}
body.product-detail-page .product-detail-buy-form .product-detail-buy-total-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
}
body.product-detail-page .product-detail-buy-form .product-detail-amount-input {
    border-radius: 0;
    font-weight: 600;
    font-size: 15px;
    color: #0f172a;
    text-align: left;
}
body.product-detail-page .product-detail-buy-form .product-detail-amount-input::placeholder {
    font-weight: 400;
    font-size: 14px;
    color: #94a3b8;
}
body.product-detail-page .product-detail-buy-checkout {
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
body.product-detail-page .product-detail-buy-form .product-detail-buy-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(135deg, #fff7f7 0%, #fff 55%, #f5f3ff 100%);
    border: 1.5px solid #fecaca;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
body.product-detail-page .product-detail-buy-total-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
body.product-detail-page .product-detail-buy-total-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    font-size: 14px;
}
body.product-detail-page .product-detail-buy-form .product-detail-buy-total-value {
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 900;
    color: #dc2626;
    text-align: right;
    white-space: nowrap;
    min-width: 72px;
    min-height: 1.35em;
    flex: 0 0 auto;
    transition: opacity 0.15s ease;
    letter-spacing: -0.02em;
}
body.product-detail-page .product-detail-buy-form .product-detail-buy-total-value.is-calculating {
    opacity: 0.45;
}
body.product-detail-page .product-detail-btn-buy-main {
    min-height: 50px;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(94, 93, 240, 0.28);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
body.product-detail-page .product-detail-btn-buy-main:not(:disabled):hover,
body.product-detail-page .product-detail-btn-buy-main:not(:disabled):focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(94, 93, 240, 0.34);
}
body.product-detail-page .product-detail-buy-total.is-insufficient {
    background: linear-gradient(135deg, #fff7ed 0%, #fff 100%);
    border-color: #fdba74;
}
body.product-detail-page .product-detail-buy-total.is-insufficient .product-detail-buy-total-value {
    color: #c2410c;
}
body.product-detail-page .product-detail-buy-total.is-insufficient .product-detail-buy-total-icon {
    color: #ea580c;
    background: rgba(234, 88, 12, 0.12);
}
body.product-detail-page .product-detail-buy-balance-alert {
    margin-top: 8px;
}
body.product-detail-page .product-detail-balance-alert-inner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    font-size: 12px;
    line-height: 1.45;
}
body.product-detail-page .product-detail-balance-alert-inner > i {
    margin-top: 2px;
    color: #ea580c;
    flex-shrink: 0;
}
body.product-detail-page .product-detail-balance-alert-body strong {
    display: block;
    margin-bottom: 4px;
    color: #c2410c;
}
body.product-detail-page .product-detail-balance-meta {
    color: #9a3412;
    margin-bottom: 6px;
}
body.product-detail-page .product-detail-balance-meta b {
    color: #c2410c;
}
body.product-detail-page .product-detail-balance-recharge {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #5e5df0;
    text-decoration: none !important;
}
body.product-detail-page .product-detail-balance-recharge:hover {
    color: #4b4ad8;
    text-decoration: underline !important;
}
body.dark.product-detail-page .product-detail-hero.deposit-card {
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
body.dark.product-detail-page .product-detail-hero-media {
    background:
        radial-gradient(circle at 30% 20%, rgba(94, 93, 240, 0.18) 0%, transparent 52%),
        radial-gradient(circle at 70% 80%, rgba(34, 197, 94, 0.1) 0%, transparent 48%),
        linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-right-color: rgba(148, 163, 184, 0.14);
}
body.dark.product-detail-page .product-detail-hero-buy {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-left-color: rgba(148, 163, 184, 0.14);
}
body.dark.product-detail-page .product-detail-buy-panel {
    background: #111827;
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
body.dark.product-detail-page .product-detail-buy-panel-head {
    background: linear-gradient(135deg, rgba(94, 93, 240, 0.16) 0%, rgba(123, 108, 246, 0.08) 100%);
    border-bottom-color: rgba(148, 163, 184, 0.14);
}
body.dark.product-detail-page .product-detail-buy-panel-title {
    color: #f1f5f9;
}
body.dark.product-detail-page .product-detail-badge-id {
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.12);
    border-color: rgba(148, 163, 184, 0.18);
}
body.dark.product-detail-page .product-detail-badge-cat {
    color: #ddd6fe;
    background: rgba(94, 93, 240, 0.22);
    border-color: rgba(167, 139, 250, 0.35);
}
body.dark.product-detail-page .product-detail-stat {
    background: linear-gradient(180deg, #1e293b 0%, #111827 100%);
    border-color: rgba(148, 163, 184, 0.14);
}
body.dark.product-detail-page .product-detail-trust-list li {
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.08);
    border-color: rgba(148, 163, 184, 0.14);
}
body.dark.product-detail-page .product-detail-trust-list li:has(.product-detail-trust-link):hover,
body.dark.product-detail-page .product-detail-trust-list li:has(.product-detail-trust-link):focus-within {
    border-color: rgba(129, 140, 248, 0.35);
    background: rgba(129, 140, 248, 0.1);
}
body.dark.product-detail-page .product-detail-trust-list a.product-detail-trust-link:hover,
body.dark.product-detail-page .product-detail-trust-list a.product-detail-trust-link:focus-visible {
    color: #a5b4fc;
}
body.dark.product-detail-page .product-detail-buy-stock {
    background: rgba(94, 93, 240, 0.12);
    border-color: rgba(167, 139, 250, 0.2);
    color: #cbd5e1;
}
body.dark.product-detail-page .product-detail-buy-price {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(17, 24, 39, 1) 100%);
    border-color: rgba(248, 113, 113, 0.24);
}
body.dark.product-detail-page .product-detail-input-shell {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.18);
}
body.dark.product-detail-page .product-detail-input-shell:focus-within {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.16);
}
body.dark.product-detail-page .product-detail-coupon-toggle {
    background: rgba(148, 163, 184, 0.08);
    border-color: rgba(148, 163, 184, 0.22);
    color: #cbd5e1;
}
body.dark.product-detail-page .product-detail-buy-checkout {
    border-top-color: rgba(148, 163, 184, 0.14);
}
body.dark.product-detail-page .product-detail-buy-form .product-detail-buy-total {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(17, 24, 39, 1) 100%);
    border-color: rgba(248, 113, 113, 0.28);
}
body.dark.product-detail-page .product-detail-buy-form .product-detail-amount-input {
    color: #f1f5f9;
}
body.dark.product-detail-page .product-detail-input-shell .form-control::placeholder,
body.dark.product-detail-page .product-detail-buy-form .product-detail-amount-input::placeholder {
    color: #64748b;
}
body.dark.product-detail-page .product-detail-buy-total.is-insufficient,
body.dark.product-detail-page .product-detail-balance-alert-inner {
    background: rgba(234, 88, 12, 0.12);
    border-color: rgba(251, 146, 60, 0.45);
    color: #fdba74;
}
body.dark.product-detail-page .product-detail-balance-alert-body strong,
body.dark.product-detail-page .product-detail-balance-meta b {
    color: #fdba74;
}
body.product-detail-page .product-detail-buy-mobile-card {
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 16px;
}
body.product-detail-page .product-detail-buy-panel-head-mobile {
    border-radius: 0;
}
body.product-detail-page .product-detail-buy-mobile-card .card-body {
    padding-top: 16px;
}
body.product-detail-page .product-detail-hotdeal:empty {
    display: none;
}
body.product-detail-page .product-detail-hotdeal {
    margin-bottom: 10px;
}
body.product-detail-page .product-detail-buy-price {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1.5px solid rgba(220, 38, 38, 0.16);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 0;
}
body.product-detail-page .product-detail-buy-price-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    font-size: 16px;
}
body.product-detail-page .product-detail-buy-price-body {
    min-width: 0;
}
body.product-detail-page .product-detail-buy-price .product-detail-price {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}
body.product-detail-page .product-detail-buy-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
body.product-detail-page .product-detail-buy-stock {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(94, 93, 240, 0.07) 0%, #fff 100%);
    border: 1.5px solid rgba(94, 93, 240, 0.14);
}
body.product-detail-page .product-detail-buy-stock-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #5e5df0;
    background: rgba(94, 93, 240, 0.12);
    font-size: 16px;
}
body.product-detail-page .product-detail-buy-stock-body {
    min-width: 0;
}
body.product-detail-page .product-detail-buy-stock-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 2px;
    text-transform: none;
    letter-spacing: normal;
}
body.product-detail-page .product-detail-buy-stock-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
    color: #2563eb;
    line-height: 1.2;
}
body.product-detail-page .product-detail-buy-stock i {
    color: #5e5df0;
}
body.product-detail-page .product-detail-buy-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
body.product-detail-page .product-detail-btn-buy,
body.product-detail-page .product-detail-btn-category,
body.product-detail-page .product-detail-btn-home {
    border-radius: 11px !important;
    font-weight: 700;
}
body.product-detail-page .product-detail-btn-buy:not(:disabled) {
    overflow: visible;
}
body.product-detail-page .product-detail-btn-buy:not(:disabled) .product-detail-btn-buy-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1em;
    height: 1.1em;
    margin-right: 0.55rem;
    vertical-align: -0.08em;
    flex-shrink: 0;
}
body.product-detail-page .product-detail-btn-buy:not(:disabled) .product-detail-btn-buy-icon::before,
body.product-detail-page .product-detail-btn-buy:not(:disabled) .product-detail-btn-buy-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    animation: product-buy-icon-pulse 2.6s ease-out infinite;
    pointer-events: none;
}
body.product-detail-page .product-detail-btn-buy:not(:disabled) .product-detail-btn-buy-icon::after {
    animation-delay: 1.3s;
}
@keyframes product-buy-icon-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    70%, 100% {
        transform: scale(2.5);
        opacity: 0;
    }
}
@keyframes product-buy-icon-nudge {
    0%, 82%, 100% {
        transform: rotate(0deg) scale(1);
    }
    84% {
        transform: rotate(-10deg) scale(1.1);
    }
    86% {
        transform: rotate(9deg) scale(1.1);
    }
    88% {
        transform: rotate(-6deg) scale(1.06);
    }
    90% {
        transform: rotate(5deg) scale(1.06);
    }
    92% {
        transform: rotate(0deg) scale(1);
    }
}
body.product-detail-page .product-detail-btn-buy:not(:disabled) .product-detail-btn-buy-icon i {
    position: relative;
    z-index: 1;
    display: inline-block;
    animation: product-buy-icon-nudge 3s ease-in-out infinite;
    transform-origin: center center;
}
body.product-detail-page .product-detail-btn-buy:not(:disabled):hover .product-detail-btn-buy-icon::before,
body.product-detail-page .product-detail-btn-buy:not(:disabled):hover .product-detail-btn-buy-icon::after,
body.product-detail-page .product-detail-btn-buy:not(:disabled):focus-visible .product-detail-btn-buy-icon::before,
body.product-detail-page .product-detail-btn-buy:not(:disabled):focus-visible .product-detail-btn-buy-icon::after,
body.product-detail-page .product-detail-btn-buy:not(:disabled):active .product-detail-btn-buy-icon::before,
body.product-detail-page .product-detail-btn-buy:not(:disabled):active .product-detail-btn-buy-icon::after {
    animation: none;
    opacity: 0;
}
body.product-detail-page .product-detail-btn-buy:not(:disabled):hover .product-detail-btn-buy-icon i,
body.product-detail-page .product-detail-btn-buy:not(:disabled):focus-visible .product-detail-btn-buy-icon i,
body.product-detail-page .product-detail-btn-buy:not(:disabled):active .product-detail-btn-buy-icon i {
    animation: none;
}
@media (prefers-reduced-motion: reduce) {
    body.product-detail-page .product-detail-btn-buy:not(:disabled) .product-detail-btn-buy-icon::before,
    body.product-detail-page .product-detail-btn-buy:not(:disabled) .product-detail-btn-buy-icon::after,
    body.product-detail-page .product-detail-btn-buy:not(:disabled) .product-detail-btn-buy-icon i {
        animation: none;
    }
}
body.product-detail-page .product-detail-btn-home {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}
body.product-detail-page .product-detail-panel.deposit-card > .card-header {
    padding: 12px 16px !important;
    background: #f8fafc !important;
    background-image: none !important;
    color: #0f172a !important;
    border: 0 !important;
    border-bottom: 1px solid #e8edf5 !important;
    box-shadow: none !important;
}
body.product-detail-page .product-detail-panel.deposit-card > .card-header .card-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: #0f172a !important;
}
body.product-detail-page .product-detail-panel.deposit-card > .card-header .card-title i {
    color: #5e5df0;
}
body.product-detail-page .product-detail-panel-body {
    background: #fff !important;
    padding: 16px !important;
}
body.product-detail-page .product-detail-panel .card-body.p-0,
body.product-detail-page .product-detail-panel .product-detail-panel-body.p-0 {
    padding: 0 !important;
    background: #fff !important;
}
body.product-detail-page .product-detail-related.deposit-card,
body.product-detail-page .product-detail-categories.deposit-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
body.product-detail-page .product-detail-related.deposit-card > .card-body,
body.product-detail-page .product-detail-categories.deposit-card > .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
body.product-detail-page .product-detail-category-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 360px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    flex: 1 1 auto;
    min-height: 0;
}
body.product-detail-page .product-detail-category-list li {
    border-bottom: 1px solid #f1f5f9;
}
body.product-detail-page .product-detail-category-list li:last-child {
    border-bottom: 0;
}
body.product-detail-page .product-detail-category-list a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 10px 14px 10px 12px;
    color: #334155;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
}
body.product-detail-page .product-detail-category-list a:hover {
    background: #f8fafc;
    color: #5e5df0;
}
body.product-detail-page .product-detail-category-list img,
body.product-detail-page .product-detail-category-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #eef2ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5e5df0;
    font-size: 12px;
    grid-column: 1;
}
body.product-detail-page .product-detail-category-name {
    grid-column: 2;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
}
body.product-detail-page .product-detail-category-arrow {
    grid-column: 3;
    font-size: 10px;
    color: #cbd5e1;
    flex-shrink: 0;
}
body.product-detail-page .product-detail-category-tag {
    grid-column: 3;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #3730a3;
    background: #eef2ff;
    border-radius: 999px;
    padding: 2px 6px;
    flex-shrink: 0;
    white-space: nowrap;
}
body.product-detail-page .product-detail-category-list li.is-current a {
    background: rgba(94, 93, 240, 0.06);
    grid-template-columns: 28px minmax(0, 1fr) auto;
}
body.product-detail-page .product-detail-panel {
    margin-bottom: 0;
}
body.product-detail-page .product-detail-tabs-wrap {
    margin-bottom: 28px;
}
body.product-detail-page .product-detail-tabs {
    overflow: hidden;
}
body.product-detail-page .product-detail-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0 12px;
    margin: 0;
    border-bottom: 1px solid #e8edf5;
    background: #f8fafc;
}
body.product-detail-page .product-detail-tab-nav .nav-item {
    margin-bottom: -1px;
}
body.product-detail-page .product-detail-tab-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: color .15s ease, border-color .15s ease;
}
body.product-detail-page .product-detail-tab-nav .nav-link:hover {
    color: #4338ca;
}
body.product-detail-page .product-detail-tab-nav .nav-link.active {
    color: #4338ca;
    background: transparent;
    border-bottom-color: #5e5df0;
}
body.product-detail-page .product-detail-tab-content {
    padding: 0;
}
body.product-detail-page .product-detail-tab-content > .tab-pane {
    padding: 18px 20px;
}
body.product-detail-page .product-warranty-policy {
    color: #334155;
    font-size: 14px;
    line-height: 1.65;
}
body.product-detail-page .product-warranty-list {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}
body.product-detail-page .product-warranty-list li {
    position: relative;
    padding: 10px 12px 10px 34px;
    margin-bottom: 8px;
    background: #f8fafc;
    border: 1px solid #e8edf5;
    border-radius: 10px;
}
body.product-detail-page .product-warranty-list li:last-child,
body.product-detail-page #productTabDesc > p:last-child,
body.product-detail-page #productTabDesc ul li:last-child,
body.product-detail-page #productTabDesc ol li:last-child {
    margin-bottom: 0;
}
body.product-detail-page .product-warranty-list li::before,
body.product-detail-page #productTabDesc > p::before,
body.product-detail-page #productTabDesc ul li::before,
body.product-detail-page #productTabDesc ol li::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 12px;
    top: 11px;
    color: #5e5df0;
    font-size: 13px;
}
body.product-detail-page #productTabDesc {
    line-height: 1.65;
}
body.product-detail-page #productTabDesc > p,
body.product-detail-page #productTabDesc ul li,
body.product-detail-page #productTabDesc ol li {
    position: relative;
    padding: 10px 12px 10px 34px;
    margin-bottom: 8px;
    background: #f8fafc;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    list-style: none;
}
body.product-detail-page #productTabDesc > p > i,
body.product-detail-page #productTabDesc ul li > i,
body.product-detail-page #productTabDesc ol li > i {
    display: none;
}
body.product-detail-page #productTabDesc ul,
body.product-detail-page #productTabDesc ol {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}
body.product-detail-page #productTabDesc > p:last-child {
    margin-bottom: 0;
}
body.product-detail-page #productTabDesc > p.product-detail-empty-desc,
body.product-detail-page #productTabDesc > p.text-muted {
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
}
body.product-detail-page #productTabDesc > p.product-detail-empty-desc::before,
body.product-detail-page #productTabDesc > p.text-muted::before {
    content: none;
    display: none;
}
body.product-detail-page .product-detail-fallback-desc {
    color: #334155;
    font-size: 14px;
    line-height: 1.75;
}
body.product-detail-page .product-detail-fallback-desc > p {
    position: static;
    padding: 0;
    margin: 0 0 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
}
body.product-detail-page .product-detail-fallback-desc > p::before {
    content: none;
    display: none;
}
body.product-detail-page .product-detail-fallback-desc__intro {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #e8edf5;
}
body.product-detail-page .product-detail-fallback-desc__price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    margin: 0 2px;
    font-weight: 700;
    vertical-align: baseline;
}
body.product-detail-page .product-detail-fallback-desc__price .price-vnd {
    color: #dc2626;
    font-size: 1.05em;
}
body.product-detail-page .product-detail-fallback-desc__price .price-usd,
body.product-detail-page .product-detail-fallback-desc__price .price-cny {
    color: #64748b;
    font-size: 0.92em;
    font-weight: 600;
}
body.product-detail-page .product-detail-fallback-desc__title {
    margin: 14px 0 10px;
    padding: 0;
    background: transparent;
    border: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.45;
}
body.product-detail-page .product-detail-fallback-desc__trust {
    margin: 0 0 12px;
}
body.product-detail-page .product-detail-fallback-desc__category {
    margin-bottom: 0;
}
body.product-detail-page .product-detail-fallback-desc__category a {
    color: #5e5df0;
    font-weight: 600;
    text-decoration: none;
}
body.product-detail-page .product-detail-fallback-desc__category a:hover {
    text-decoration: underline;
}
body.dark.product-detail-page .product-detail-fallback-desc {
    color: #cbd5e1;
}
body.dark.product-detail-page .product-detail-fallback-desc__intro {
    border-bottom-color: #334155;
}
body.dark.product-detail-page .product-detail-fallback-desc__title {
    color: #e2e8f0;
}
body.dark.product-detail-page .product-detail-fallback-desc__category a {
    color: #a5b4fc;
}
body.product-detail-page .product-warranty-note {
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 13px;
    line-height: 1.55;
}
body.product-detail-page .product-warranty-note strong {
    color: #c2410c;
}
body.product-detail-page .product-detail-content {
    color: #334155;
    font-size: 14px;
    line-height: 1.75;
    word-break: break-word;
}
body.product-detail-page .product-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
body.product-detail-page .product-detail-related-grid {
    align-items: stretch;
    margin-left: -8px;
    margin-right: -8px;
    row-gap: 12px;
}
body.product-detail-page .product-detail-related-grid > [class*="col-"] {
    display: flex;
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 0 !important;
}
body.product-detail-page .product-related-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #f8fafc;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    padding: 12px;
    text-decoration: none !important;
    color: inherit;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
body.product-detail-page .product-related-card:hover {
    transform: translateY(-2px);
    border-color: rgba(94, 93, 240, 0.35);
    box-shadow: 0 8px 20px rgba(94, 93, 240, 0.1);
}
body.product-detail-page .product-related-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.9em;
    flex: 1 1 auto;
}
body.product-detail-page .product-related-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}
body.product-detail-page .product-related-price {
    font-size: 13px;
    font-weight: 800;
    color: #dc2626;
}
body.product-detail-page .product-related-stock {
    font-size: 12px;
    color: #64748b;
}
body.product-detail-page .product-related-link {
    font-size: 12px;
    font-weight: 700;
    color: #5e5df0;
    margin-top: auto;
}
body.product-detail-page .product-detail-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(8px);
}
body.product-detail-page .product-detail-mobile-price {
    flex: 1 1 auto;
    min-width: 0;
}
body.product-detail-page .product-detail-mobile-price-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
}
body.product-detail-page .product-detail-mobile-price-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: #dc2626;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body.product-detail-page .product-detail-mobile-buy {
    flex: 0 0 auto;
    border-radius: 11px !important;
    font-weight: 700;
    padding: 11px 16px !important;
    white-space: nowrap;
}
@media (min-width: 992px) {
    body.product-detail-page .product-detail-layout > .col-lg-8 {
        padding-right: 8px;
    }
    body.product-detail-page .product-detail-layout > .col-lg-4 {
        padding-left: 8px;
    }
    body.product-detail-page .product-detail-layout > .col-lg-8.product-detail-main-col,
    body.product-detail-page .product-detail-layout > .col-lg-4.product-detail-sidebar-col {
        display: flex;
        flex-direction: column;
    }
    body.product-detail-page .product-detail-main-col .product-detail-related {
        flex: 1 1 auto;
    }
    body.product-detail-page .product-detail-sidebar-col .product-detail-categories {
        flex: 1 1 auto;
        height: 100%;
    }
    body.product-detail-page .product-detail-category-list {
        max-height: none;
    }
    body.product-detail-page .product-detail-hero-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
@media (max-width: 991.98px) {
    body.product-detail-page .product-detail-wrap {
        padding-bottom: 24px;
    }
    body.product-detail-page .product-detail-crumb {
        margin-bottom: 10px;
        padding: 8px 10px;
        font-size: 12px;
    }
    body.product-detail-page .product-detail-crumb-current {
        display: none;
    }
    body.product-detail-page .product-detail-crumb-sep:last-of-type {
        display: none;
    }
    body.product-detail-page .product-detail-hero-wrap {
        margin-bottom: 10px;
    }
    body.product-detail-page .product-detail-buy-mobile-wrap {
        margin-bottom: 12px;
    }
    body.product-detail-page .product-detail-tabs-wrap {
        margin-bottom: 16px;
    }
    body.product-detail-page .product-detail-hero-unified .product-detail-hero-row {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
    }
    body.product-detail-page .product-detail-hero-unified .product-detail-hero-media,
    body.product-detail-page .product-detail-hero-unified .product-detail-hero-info {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }
    body.product-detail-page .product-detail-hero-unified .product-detail-hero-media {
        flex: 0 0 76px;
        width: 76px;
        border-right: 1px solid #eef2f7;
        border-bottom: 0;
    }
    body.product-detail-page .product-detail-hero-unified .product-detail-hero-info {
        flex: 1 1 auto;
        min-width: 0;
        padding: 10px 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    body.product-detail-page .product-detail-hero-unified .product-detail-gallery-inner {
        min-height: 0;
        width: 76px;
        height: 76px;
        padding: 8px;
    }
    body.product-detail-page .product-detail-image {
        max-width: 56px;
        max-height: 56px;
    }
    body.product-detail-page .product-detail-image-placeholder {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    body.product-detail-page .product-detail-id {
        margin-bottom: 4px;
        font-size: 10px;
    }
    body.product-detail-page .product-detail-title {
        font-size: 0.95rem;
        line-height: 1.35;
        margin-bottom: 6px;
        display: block;
        overflow: visible;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    body.product-detail-page .product-detail-rating {
        margin-bottom: 0;
        gap: 4px;
    }
    body.product-detail-page .product-detail-rating-text {
        font-size: 11px;
    }
    body.product-detail-page .product-detail-stars {
        font-size: 11px;
    }
    body.product-detail-page .product-detail-stats-inline {
        display: none;
    }
    body.product-detail-page .product-detail-hero-price {
        margin-top: 6px;
        display: flex;
        align-items: baseline;
        gap: 6px;
    }
    body.product-detail-page .product-detail-hero-price .product-detail-price-label {
        font-size: 10px;
        margin-bottom: 0;
    }
    body.product-detail-page .product-detail-hero-price .product-detail-price {
        font-size: 1.05rem;
    }
    body.product-detail-page .product-detail-buy-mobile-wrap .card-body {
        padding: 12px 14px !important;
    }
    body.product-detail-page .product-detail-buy-mobile-wrap .product-detail-buy-form .product-detail-buy-label {
        font-size: 13px;
    }
    body.product-detail-page .product-detail-buy-mobile-wrap .product-detail-buy-hint {
        font-size: 11px;
    }
    body.product-detail-page .product-detail-buy-mobile-wrap .product-detail-amount-input {
        font-size: 15px;
        font-weight: 600;
        padding: 8px 10px;
        min-height: 42px;
    }
    body.product-detail-page .product-detail-buy-mobile-wrap .product-detail-amount-input::placeholder {
        font-size: 14px;
        font-weight: 400;
    }
    body.product-detail-page .product-detail-buy-mobile-wrap .product-detail-buy-total {
        margin-bottom: 0;
        padding: 8px 12px;
    }
    body.product-detail-page .product-detail-buy-mobile-wrap .product-detail-buy-total-value {
        font-size: 1rem;
        white-space: nowrap;
    }
    body.product-detail-page .product-detail-buy-mobile-wrap .product-detail-buy-qty-row .product-detail-btn-buy {
        min-height: 42px;
        font-size: 13px;
    }
    body.product-detail-page .product-detail-sidebar-col {
        display: none;
    }
}
@media (max-width: 575.98px) {
    body.product-detail-page .product-detail-crumb {
        font-size: 12px;
        padding: 8px 12px;
    }
    body.product-detail-page .product-detail-crumb-current {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    body.product-detail-page .product-detail-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Client alert popup (SweetAlert2) */
.swal2-container {
    z-index: 20000 !important;
}
.swal2-popup.client-alert-popup {
    width: min(92vw, 420px);
    padding: 22px 22px 18px;
    border-radius: 16px;
    border: 1px solid #e8edf5;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
    font-family: "DM Sans", sans-serif;
}
.swal2-popup.client-alert-popup .client-alert-title,
.swal2-popup.client-alert-popup .swal2-title {
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}
.swal2-popup.client-alert-popup .client-alert-html,
.swal2-popup.client-alert-popup .swal2-html-container {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    text-align: center;
}
.swal2-popup.client-alert-popup .client-alert-message {
    margin: 0;
}
.swal2-popup.client-alert-popup .client-alert-login-hint {
    margin: 14px 0 0;
}
.swal2-popup.client-alert-popup .client-alert-login-link,
.client-alert-inline-login .client-alert-login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5e5df0;
    font-weight: 600;
    text-decoration: none;
}
.swal2-popup.client-alert-popup .client-alert-login-link .client-alert-btn-icon,
.swal2-popup.client-alert-popup .client-alert-login-link i,
.client-alert-inline-login .client-alert-login-link i {
    margin-right: 0;
}
.swal2-popup.client-alert-popup .client-alert-login-link:hover,
.client-alert-inline-login .client-alert-login-link:hover {
    color: #4a49d8;
    text-decoration: underline;
}
.swal2-popup.client-alert-popup .swal2-icon {
    margin: 4px auto 14px;
    transform: scale(0.82);
}
.swal2-popup.client-alert-popup .swal2-actions {
    gap: 8px;
    margin-top: 18px;
}
.swal2-popup.client-alert-popup .client-alert-confirm,
.swal2-popup.client-alert-popup .client-alert-cancel {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    border: 0;
    box-shadow: none;
}
.swal2-popup.client-alert-popup .client-alert-btn-icon {
    font-size: 0.9em;
    line-height: 1;
    flex-shrink: 0;
    margin-right: 8px;
}
.swal2-popup.client-alert-popup .client-alert-confirm span,
.swal2-popup.client-alert-popup .client-alert-cancel span {
    line-height: 1.2;
}
.swal2-popup.client-alert-popup .client-alert-confirm {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
}
.swal2-popup.client-alert-popup .client-alert-confirm:hover {
    filter: brightness(1.05);
}
.swal2-popup.client-alert-popup .client-alert-cancel {
    background: #f1f5f9;
    color: #475569;
}
.swal2-popup.client-alert-popup .client-alert-cancel:hover {
    background: #e2e8f0;
}
.client-alert-inline-login {
    display: inline-block;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.45;
    text-align: left;
}
body.product-detail-page .product-detail-buy-total .client-alert-inline-login {
    font-size: 0.82rem;
}
body.product-detail-page .product-detail-buy-total .client-alert-login-link {
    font-size: 0.82rem;
}

/* --- auth bear mascot (login) --- */
.auth-card-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 24px 18px;
    overflow: hidden;
    min-height: 252px;
    contain: layout style;
}
.auth-bear-scene {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto 0;
    height: 140px;
    overflow: hidden;
    flex-shrink: 0;
}
.auth-bear {
    width: 168px;
    height: 147px;
    display: block;
    overflow: hidden;
    flex-shrink: 0;
    --bear-head-rotate: 0deg;
    --bear-pupil-x: 0px;
    --bear-pupil-y: 0px;
}
.auth-bear__head {
    transform-origin: 120px 145px;
    transform: rotate(var(--bear-head-rotate));
    transition: transform 0.18s ease-out;
}
.auth-bear__pupil--left,
.auth-bear__pupil--right,
.auth-bear__pupil-shine--left,
.auth-bear__pupil-shine--right {
    transition: transform 0.18s ease-out;
}
.auth-bear__pupil--left,
.auth-bear__pupil-shine--left {
    transform: translate(var(--bear-pupil-x), var(--bear-pupil-y));
}
.auth-bear__pupil--right,
.auth-bear__pupil-shine--right {
    transform: translate(var(--bear-pupil-x), var(--bear-pupil-y));
}
.auth-bear__arm {
    transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.25s ease;
    transform-origin: 52px 158px;
}
.auth-bear__arm--right {
    transform-origin: 188px 158px;
}
.auth-bear__eyelid {
    opacity: 0;
    transition: opacity 0.22s ease;
}
.auth-bear__paws {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}
.auth-bear__paw {
    transform: translateY(52px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.22s ease;
}
.auth-bear__eye,
.auth-bear__pupil,
.auth-bear__pupil-shine {
    transition: opacity 0.22s ease, transform 0.18s ease-out;
}
.auth-bear.is-password .auth-bear__head {
    transform: rotate(0deg) !important;
    transition: transform 0.25s ease;
}
.auth-bear.is-password .auth-bear__arm--left {
    transform: translate(40px, -50px) rotate(-12deg);
    opacity: 1;
}
.auth-bear.is-password .auth-bear__arm--right {
    transform: translate(-40px, -50px) rotate(12deg);
    opacity: 1;
}
.auth-bear.is-password .auth-bear__paws {
    opacity: 1;
}
.auth-bear.is-password .auth-bear__paw {
    opacity: 1;
    transform: translateY(0);
}
.auth-bear.is-password .auth-bear__eye,
.auth-bear.is-password .auth-bear__pupil,
.auth-bear.is-password .auth-bear__pupil-shine {
    opacity: 0;
    transform: translate(0, 0);
}
.auth-bear.is-password .auth-bear__eyelid {
    opacity: 1;
}
.auth-bear__like-hand {
    opacity: 0;
    transform: translate(14px, 40px) scale(0.65) rotate(10deg);
    transform-origin: 182px 72px;
    transform-box: fill-box;
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
    pointer-events: none;
}
.auth-bear.is-like:not(.is-password) .auth-bear__arm--right {
    opacity: 0;
}
.auth-bear.is-like:not(.is-password) .auth-bear__like-hand {
    opacity: 1;
    animation: authBearLikePop 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) forwards,
        authBearLikeIdle 1.4s ease-in-out 0.55s infinite;
}
.auth-bear.is-like:not(.is-password).is-watching .auth-bear__head {
    transform: rotate(var(--bear-head-rotate));
}
@keyframes authBearLikePop {
    0% {
        opacity: 0;
        transform: translate(14px, 40px) scale(0.55) rotate(14deg);
    }
    55% {
        transform: translate(0, 0) scale(1.08) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}
@keyframes authBearLikeIdle {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(0, 0) scale(1.04) rotate(-3deg);
    }
}
.auth-bear.is-watching .auth-bear__head {
    transition: transform 0.12s ease-out;
}
.auth-card-head .auth-logo {
    margin-top: 0;
}
.auth-card-head h3 {
    margin: 14px 0 4px;
    flex-shrink: 0;
}
.auth-card-head p {
    margin-bottom: 0;
    flex-shrink: 0;
}

/* --- auth language switcher --- */
.auth-language-bar {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1000;
    pointer-events: none;
}
.auth-language-switcher {
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
    pointer-events: auto;
}
body.dark .auth-language-switcher {
    background: #181818;
    border-color: #303030;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
body.dark .auth-language-switcher button {
    color: #aeb4bf;
}
@media (max-width: 575.98px) {
    .auth-page {
        justify-content: center !important;
        align-items: center !important;
        padding: 32px 12px !important;
    }
    .auth-page .wrapper {
        margin-block: auto;
    }
    .auth-language-bar {
        top: max(10px, env(safe-area-inset-top, 0px));
        right: 10px;
    }
    .auth-language-switcher .site-lang-label {
        display: none;
    }
    .auth-language-switcher button {
        min-width: 30px;
        padding: 0 5px;
    }
    .auth-card-head {
        min-height: 196px;
        padding: 12px 14px 10px;
    }
    .auth-card-head h3 {
        margin: 8px 0 2px;
        font-size: 20px;
    }
    .auth-card-head p {
        font-size: 12px;
        line-height: 1.35;
    }
    .auth-bear-scene {
        height: 108px;
        margin: 4px auto 0;
    }
    .auth-bear {
        width: 132px;
        height: 115px;
    }
    .auth-card .card-body {
        padding: 14px 14px 18px !important;
    }
    .auth-card .form-group {
        margin-bottom: 0.55rem;
    }
    .auth-card .row > [class*="col-"].mt-2,
    .auth-card .row > .col-lg-12.mt-2 {
        margin-top: 0.45rem !important;
    }
    .auth-card .form-group label {
        margin-bottom: 4px;
        font-size: 12px;
    }
    .auth-card .form-control {
        min-height: 40px;
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
        font-size: 14px;
    }
    .auth-card .btn-deposit {
        min-height: 42px;
        margin-top: 0.45rem !important;
    }
    .auth-card .auth-footer-text {
        font-size: 13px;
    }
    .auth-card .custom-control {
        min-height: 1.2rem;
        padding-left: 1.35rem;
    }
    .auth-card .custom-control-label {
        font-size: 12px;
        line-height: 1.35;
    }
    .auth-card .custom-control-label::before,
    .auth-card .custom-control-label::after {
        top: 0.1rem;
    }
    .auth-card .col-lg-12.mt-3 {
        margin-top: 0.75rem !important;
    }
    .auth-card center.mb-3 {
        margin-bottom: 0.65rem !important;
    }
}

/* --- password visibility toggle --- */
.auth-password-field {
    position: relative;
}
.auth-password-field .form-control {
    padding-right: 44px !important;
}

/* --- PageSpeed / Core Web Vitals (trang client) --- */
html {
    scrollbar-gutter: stable;
}
.iq-sidebar-logo .header-logo img {
    width: auto;
    height: 40px;
    max-width: 140px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
/* Bỏ loader.gif (~1MB/404) — spinner CSS thuần, 0 request ảnh */
#loading-center,
.dark #loading-center {
    background: none !important;
    background-image: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
#loading-center::after {
    content: '';
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(94, 93, 240, 0.22);
    border-top-color: #5e5df0;
    animation: cmsnt-loader-spin 0.7s linear infinite;
}
.dark #loading-center::after {
    border-color: rgba(255, 255, 255, 0.18);
    border-top-color: #8b8af8;
}
@keyframes cmsnt-loader-spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    #loading-center::after {
        animation: none;
        border-top-color: #5e5df0;
        opacity: 0.85;
    }
}
body.modal-open {
    padding-right: 0 !important;
}
.modal-open .wrapper {
    padding-right: 0 !important;
}
#showSpin {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}
body.cmsnt-page-ready #showSpin {
    visibility: visible;
    opacity: 1;
}
#showSpin img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
}
#loading {
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
#loading.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.iq-sidebar-menu .svg-icon i,
.nav-header-right i,
.btn i {
    display: inline-block;
    min-width: 1em;
    text-align: center;
}
.auth-password-field__toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 0.15s ease, background-color 0.15s ease;
}
.auth-password-field__toggle:hover,
.auth-password-field__toggle:focus {
    color: #5e5df0;
    background: rgba(94, 93, 240, 0.1);
    outline: none;
}
.auth-password-field__icon {
    font-size: 15px;
    line-height: 1;
    pointer-events: none;
}
body.dark .auth-password-field__toggle {
    color: #94a3b8;
}
body.dark .auth-password-field__toggle:hover,
body.dark .auth-password-field__toggle:focus {
    color: #a5b4fc;
    background: rgba(165, 180, 252, 0.12);
}

/* Product SEO content: compact editorial layout instead of repeated checklist rows. */
body.product-detail-page .product-seo-auto {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}
body.product-detail-page .product-seo-auto > p {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 14px 15px 14px 44px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background: #f8fafc;
}
body.product-detail-page .product-seo-auto > p::before {
    content: "\f00c";
    position: absolute;
    top: 15px;
    left: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #eef2ff;
    color: #5e5df0;
    font-family: "Font Awesome 5 Free";
    font-size: 10px;
    font-weight: 900;
}
body.product-detail-page .product-seo-auto > p:first-of-type {
    grid-column: 1 / -1;
    padding: 18px 18px 18px 54px;
    border-color: rgba(94, 93, 240, .18);
    background: linear-gradient(135deg, rgba(94, 93, 240, .08), rgba(168, 85, 247, .05));
    color: #334155;
    font-size: 15px;
    font-weight: 600;
}
body.product-detail-page .product-seo-auto > p:first-of-type::before {
    content: "\f54e";
    top: 17px;
    left: 17px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, #5e5df0, #8b5cf6);
    color: #fff;
    font-size: 12px;
}
body.product-detail-page .product-seo-auto > h2 {
    grid-column: 1 / -1;
    position: relative;
    margin: 8px 0 0;
    padding: 13px 15px 13px 48px;
    border: 1px solid rgba(94, 93, 240, .14);
    border-radius: 11px;
    background: linear-gradient(135deg, #f8faff, #f5f3ff);
    color: #312e81;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}
body.product-detail-page .product-seo-auto > h2::before {
    content: "\f3ed";
    position: absolute;
    top: 50%;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: linear-gradient(135deg, #5e5df0, #8b5cf6);
    color: #fff;
    font-family: "Font Awesome 5 Free";
    font-size: 11px;
    font-weight: 900;
    transform: translateY(-50%);
}
body.product-detail-page .product-seo-auto > ul {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.product-detail-page .product-seo-auto > ul > li {
    position: relative;
    margin: 0;
    padding: 11px 12px 11px 38px;
    border: 1px solid rgba(94, 93, 240, .13);
    border-radius: 10px;
    background: #fff;
    color: #4338ca;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}
body.product-detail-page .product-seo-auto > ul > li::before {
    content: "\f058";
    top: 12px;
    left: 13px;
    color: #5e5df0;
}

/* Home/category SEO block: lighter, shorter and easier to scan. */
.site-seo-intro {
    margin-top: 20px;
}
.site-seo-intro__card {
    padding: 18px 20px;
    border-color: #e8edf5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .05);
}
.site-seo-intro__card::before {
    height: 2px;
}
.site-seo-intro__head {
    align-items: center;
    margin-bottom: 16px;
}
.site-seo-intro__badge {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: none;
}
.site-seo-intro__title {
    font-size: 16px;
}
.site-seo-intro__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}
.site-seo-intro__paragraph,
.site-seo-intro__body p {
    gap: 10px;
    padding: 0;
    font-size: 13px;
    line-height: 1.65;
}
.site-seo-intro__paragraph-icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #eef2ff;
    color: #5e5df0 !important;
    box-shadow: none;
}
.site-seo-intro__paragraph-icon i {
    color: #5e5df0 !important;
    -webkit-text-fill-color: #5e5df0;
}
.site-seo-intro__trust-block {
    margin-top: 15px;
    padding-top: 14px;
}
.site-seo-intro__trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.site-seo-intro__trust-item,
.site-seo-intro__trust li {
    padding: 9px 10px;
    border-radius: 9px;
    background: #f8fafc;
    border-color: #e8edf5;
    box-shadow: none;
    color: #475569;
    font-size: 12px;
}
.site-seo-intro__trust-icon {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    box-shadow: none;
    font-size: 10px;
}
body.dark.product-detail-page .product-seo-auto {
    color: #cbd5e1;
}
body.dark.product-detail-page .product-seo-auto > p,
body.dark.product-detail-page .product-seo-auto > ul > li {
    border-color: #30343b;
    background: #202124;
    color: #cbd5e1;
}
body.dark.product-detail-page .product-seo-auto > p:first-of-type {
    border-color: rgba(129, 140, 248, .25);
    background: linear-gradient(135deg, rgba(94, 93, 240, .18), rgba(139, 92, 246, .1));
    color: #e2e8f0;
}
body.dark.product-detail-page .product-seo-auto > h2 {
    border-color: rgba(129, 140, 248, .24);
    background: linear-gradient(135deg, rgba(94, 93, 240, .15), rgba(139, 92, 246, .08));
    color: #c7d2fe;
}
body.dark .site-seo-intro__card {
    background: #1c1c1c;
    border-color: #30343b;
}
body.dark .site-seo-intro__paragraph-icon {
    background: rgba(94, 93, 240, .18);
    color: #a5b4fc !important;
}
body.dark .site-seo-intro__paragraph-icon i {
    color: #a5b4fc !important;
    -webkit-text-fill-color: #a5b4fc;
}
body.dark .site-seo-intro__trust-item,
body.dark .site-seo-intro__trust li {
    background: #222;
    border-color: #30343b;
    color: #cbd5e1;
}

/* Product list only shows a short summary; full SEO copy belongs to detail page. */
#showProduct .content-mota {
    display: -webkit-box;
    max-width: 720px;
    margin-top: 4px;
    overflow: hidden;
    color: #64748b;
    font-family: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 12.5px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.55;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
body.dark #showProduct .content-mota {
    color: #94a3b8;
}
@media (max-width: 991.98px) {
    .site-seo-intro__trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767.98px) {
    body.product-detail-page .product-seo-auto,
    body.product-detail-page .product-seo-auto > ul,
    .site-seo-intro__body,
    .site-seo-intro__trust {
        grid-template-columns: 1fr;
    }
    body.product-detail-page .product-seo-auto > p:first-of-type,
    body.product-detail-page .product-seo-auto > h2,
    body.product-detail-page .product-seo-auto > ul {
        grid-column: 1;
    }
}
@media (max-width: 575.98px) {
    .site-seo-intro__card {
        padding: 15px 13px;
    }
    body.product-detail-page .product-detail-tab-content > .tab-pane {
        padding: 14px;
    }
    body.product-detail-page .product-seo-auto > p {
        padding: 12px 12px 12px 40px;
    }
}

/* --- Client site footer --- */
.site-client-footer.iq-footer {
    padding: 18px 16px 22px !important;
    background: transparent !important;
    box-shadow: none !important;
    border-top: 0 !important;
}
.site-client-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 18px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(94, 93, 240, 0.14);
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
}
.site-client-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}
.site-client-footer-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%);
    color: #fff;
    font-size: 15px;
    box-shadow: 0 8px 18px rgba(94, 93, 240, 0.28);
    flex-shrink: 0;
}
.site-client-footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.site-client-footer-brand-text strong {
    color: #1e1b4b;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}
.site-client-footer-brand-text span {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}
.site-client-footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 auto;
}
.site-client-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 11px;
    border: 1px solid #e8edf5;
    background: #fff;
    color: #475569 !important;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.site-client-footer-link i {
    color: #6366f1;
    font-size: 12px;
}
.site-client-footer-link:hover,
.site-client-footer-link:focus {
    border-color: #c7d2fe;
    background: #eef2ff;
    color: #4b4ad8 !important;
    box-shadow: 0 6px 16px rgba(94, 93, 240, 0.12);
    transform: translateY(-1px);
}
.site-client-footer-copy {
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    text-align: right;
    line-height: 1.45;
    min-width: 160px;
}
.site-client-footer-copy a {
    color: #5e5df0 !important;
    font-weight: 800;
    text-decoration: none !important;
}
.site-client-footer-copy a:hover {
    color: #4b4ad8 !important;
    text-decoration: underline !important;
}
@media (max-width: 991.98px) {
    .site-client-footer-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }
    .site-client-footer-nav {
        justify-content: flex-start;
    }
    .site-client-footer-copy {
        text-align: left;
        min-width: 0;
    }
}
@media (max-width: 575.98px) {
    .site-client-footer.iq-footer {
        padding: 12px 10px 18px !important;
    }
    .site-client-footer-inner {
        padding: 14px;
        border-radius: 14px;
        gap: 12px;
    }
    .site-client-footer-link {
        width: 100%;
        justify-content: flex-start;
    }
    .site-client-footer-brand-text strong {
        font-size: 13px;
    }
}

/* --- Legal pages (privacy / terms) --- */
.legal-page-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}
.legal-page-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.legal-page-card {
    border: 1px solid rgba(94, 93, 240, 0.12);
}
.legal-page-body {
    padding: 18px !important;
}
.legal-page-body .deposit-contact-body {
    padding: 0;
    max-width: 920px;
    margin: 0 auto;
}
.legal-page-content {
    max-width: 920px;
    margin: 0 auto;
    color: #334155;
    font-size: 14.5px;
    line-height: 1.7;
}
.legal-page-content > *:first-child {
    margin-top: 0 !important;
}
.legal-page-content > *:last-child {
    margin-bottom: 0 !important;
}
.legal-page-content h1,
.legal-page-content h2,
.legal-page-content h3,
.legal-page-content h4,
.legal-page-content h5 {
    color: #1e1b4b !important;
    font-weight: 800;
    line-height: 1.35;
    margin: 1.35em 0 .65em;
}
.legal-page-content h1 { font-size: 1.45rem; }
.legal-page-content h2 { font-size: 1.22rem; }
.legal-page-content h3 { font-size: 1.08rem; }
.legal-page-content p {
    margin: 0 0 0.95em;
}
.legal-page-content ul,
.legal-page-content ol {
    margin: 0 0 1em;
    padding-left: 1.25rem;
}
.legal-page-content li {
    margin-bottom: .45em;
}
.legal-page-content a {
    color: #5e5df0;
    font-weight: 700;
    text-decoration: none;
}
.legal-page-content a:hover {
    color: #4b4ad8;
    text-decoration: underline;
}
.legal-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}
.legal-page-content table {
    width: 100%;
    margin: 0 0 1em;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.legal-page-content table th,
.legal-page-content table td {
    padding: 10px 12px;
    border-top: 1px solid #edf2f7;
    vertical-align: top;
}
.legal-page-content table tr:first-child th,
.legal-page-content table tr:first-child td {
    border-top: 0;
    background: #f7f7ff;
    font-weight: 700;
    color: #475569;
}
.legal-page-content blockquote {
    margin: 0 0 1em;
    padding: 12px 14px;
    border-left: 3px solid #5e5df0;
    border-radius: 0 12px 12px 0;
    background: #f8fafc;
    color: #475569;
}
@media (max-width: 575.98px) {
    .legal-page-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .legal-page-toolbar-actions {
        width: 100%;
        flex-direction: column;
    }
    .legal-page-toolbar .btn,
    .legal-page-toolbar-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .legal-page-body {
        padding: 14px !important;
    }
    .legal-page-content {
        font-size: 14px;
    }
}
