@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 8px 0;
    }

    .logo-img {
        height: 36px;
    }

    .hero-slider-section,
    .page-header {
        margin-top: 52px !important;
    }

    .slider-container {
        height: 260px;
        border-radius: 16px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .section-header-left {
        margin-bottom: 22px;
    }

    .section-title-simple {
        font-size: 22px;
    }

    .products-section {
        padding: 40px 0 55px 0;
        margin-top: 25px;
    }

    #productsGrid .product-card {
        flex: 0 0 260px;
    }

    .services-section {
        padding: 45px 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .news-section {
        padding: 45px 0 60px 0;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .footer {
        padding: 40px 0 20px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-desc {
        max-width: 360px;
        margin: 0 auto 16px auto;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-nav h4, .footer-contact h4 {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 16px;
    }

    .contact-info {
        align-items: center;
    }

    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 7px 0;
    }

    .navbar .container {
        padding: 0 14px;
    }

    .logo-img {
        height: 32px;
    }

    .user-credits {
        padding: 4px 10px;
        font-size: 11.5px;
    }

    .user-avatar-trigger {
        width: 32px;
        height: 32px;
    }

    .hero-slider-section {
        margin-top: 66px;
    }

    .slider-container {
        height: 190px;
        border-radius: 14px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .slider-prev {
        left: 6px;
    }

    .slider-next {
        right: 6px;
    }

    .slider-indicators {
        bottom: 8px;
        gap: 5px;
    }

    .slider-indicator {
        width: 14px;
        height: 3px;
    }

    .slider-indicator.active {
        width: 22px;
    }

    .section-header-left {
        margin-bottom: 16px;
        align-items: center;
    }

    .section-title-simple {
        font-size: 19px;
        padding-bottom: 6px;
    }

    .section-title-simple::after {
        width: 32px;
        height: 3px;
    }

    .btn-header-link {
        font-size: 12.5px;
    }

    .products-section {
        padding: 30px 0 45px 0;
        margin-top: 18px;
    }

    #productsGrid {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 4px 0 12px 0;
        margin: 0 -4px;
        -webkit-overflow-scrolling: touch;
    }

    #productsGrid::-webkit-scrollbar {
        display: none;
    }

    #productsGrid .product-card {
        flex: 0 0 52%;
        min-width: 170px;
        scroll-snap-align: start;
        border-radius: 12px;
    }

    .product-img-wrapper {
        padding-top: 60%;
    }

    .product-info {
        padding: 8px 10px;
    }

    .product-code {
        font-size: 10px;
        margin-bottom: 2px;
    }

    .product-title {
        font-size: 12px;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-divider {
        margin-bottom: 6px;
    }

    .product-price-container {
        margin-bottom: 6px;
        gap: 2px;
    }

    .product-price-current {
        font-size: 14px;
    }

    .btn-buy-full {
        padding: 6px 8px;
        font-size: 11px;
        border-radius: 6px;
    }

    .services-section {
        padding: 30px 0;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 14px;
    }

    .service-card {
        padding: 14px 10px;
        border-radius: 12px;
    }

    .service-icon-box {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-bottom: 8px;
    }

    .service-title {
        font-size: 12.5px;
        font-weight: 700;
        margin-bottom: 3px;
        line-height: 1.3;
        white-space: normal;
    }

    .service-desc {
        font-size: 10.5px;
        line-height: 1.35;
        opacity: 0.8;
    }

    .news-section {
        padding: 25px 0 35px 0;
    }

    .news-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .news-card {
        border-radius: 10px;
        border: 1px solid var(--border-color);
    }

    .news-img-wrapper {
        padding-top: 56.25%;
    }

    .news-info {
        padding: 8px 6px;
    }

    .news-tag {
        font-size: 8.5px;
        padding: 1px 5px;
        border-radius: 4px;
        margin-bottom: 3px;
    }

    .news-date {
        font-size: 9px;
        margin-bottom: 3px;
        opacity: 0.7;
    }

    .news-title {
        font-size: 11px;
        font-weight: 700;
        white-space: normal;
        line-height: 1.3;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-desc {
        font-size: 9.5px;
        line-height: 1.35;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        opacity: 0.8;
    }

    .btn-readmore {
        font-size: 9.5px;
        font-weight: 600;
    }

    .footer {
        padding: 16px 0 10px 0;
        background: #090e17;
        border-top: 1px solid var(--border-color);
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .footer-logo {
        font-size: 16px;
        font-weight: 800;
        margin-bottom: 0;
    }

    .footer-desc {
        font-size: 10px;
        line-height: 1.35;
        max-width: 250px;
        margin: 0 auto;
        opacity: 0.65;
    }

    .footer-socials {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 2px;
    }

    .footer-socials .social-icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .footer-nav, .footer-contact {
        display: none;
    }

    .footer-bottom {
        padding: 8px 0 2px 0;
        margin-top: 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 9.5px;
        color: rgba(255, 255, 255, 0.45);
        display: flex;
        flex-direction: column;
        gap: 2px;
        text-align: center;
        line-height: 1.35;
    }

    .floating-contact-widget {
        bottom: 14px;
        right: 12px;
    }

    .widget-trigger {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .modal-dialog {
        width: 92% !important;
        max-width: 390px !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
        max-height: 88vh !important;
    }

    .modal-content {
        border-radius: 16px !important;
    }

    .login-header {
        padding: 18px 18px 14px 18px !important;
    }

    .login-header h2 {
        font-size: 17px !important;
    }

    .login-form {
        padding: 18px 18px 22px 18px !important;
    }

    .form-group {
        margin-bottom: 12px !important;
    }

    .form-label {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }

    .form-input {
        height: 42px !important;
        font-size: 13px !important;
        padding: 0 12px !important;
        border-radius: 10px !important;
    }

    .btn-submit-login {
        height: 42px !important;
        font-size: 13.5px !important;
        border-radius: 10px !important;
        margin-top: 8px !important;
    }

    .login-social-divider {
        margin: 14px 0 10px 0 !important;
    }

    .login-social-divider span {
        font-size: 11px !important;
        padding: 0 10px !important;
    }

    .login-social-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 6px !important;
        margin-top: 8px !important;
    }

    .btn-social {
        flex: 1 !important;
        height: 34px !important;
        font-size: 11px !important;
        padding: 0 4px !important;
        border-radius: 8px !important;
        gap: 4px !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }

    .btn-social i {
        font-size: 12.5px !important;
    }

    .login-register-prompt {
        margin-top: 14px !important;
        font-size: 12px !important;
    }

    .btn-close-promo {
        width: 30px !important;
        height: 30px !important;
        font-size: 13px !important;
        top: 10px !important;
        right: 10px !important;
    }

    .profile-header {
        padding: 20px 0 16px 0 !important;
        margin-top: 64px !important;
    }

    .profile-container {
        margin-top: 14px !important;
        margin-bottom: 35px !important;
        padding: 0 12px !important;
    }

    .profile-wrapper {
        flex-direction: column !important;
        gap: 14px !important;
    }

    .profile-sidebar-card {
        width: 100% !important;
        border-radius: 14px !important;
    }

    .profile-menu-header {
        padding: 10px 14px !important;
    }

    .profile-menu-header h3 {
        font-size: 13px !important;
    }

    .menu-text-desktop {
        display: none !important;
    }

    .menu-text-mobile {
        display: inline !important;
    }

    .profile-menu-list {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 4px !important;
        padding: 4px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .profile-menu-list::-webkit-scrollbar {
        display: none !important;
    }

    .profile-menu-item {
        flex: none !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 6px 2px !important;
        font-size: 10.5px !important;
        border-radius: 6px !important;
        gap: 4px !important;
        white-space: nowrap !important;
        justify-content: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
        font-weight: 600 !important;
    }

    .profile-menu-item i {
        font-size: 11.5px !important;
        width: auto !important;
    }

    .profile-menu-divider,
    .profile-menu-item.logout-item,
    .profile-menu-item#passwordTrigger,
    .profile-menu-item[href*="change_password"],
    .profile-menu-item[href*="backend/dashboard"],
    .profile-menu-item[href*="user_logout"] {
        display: none !important;
    }

    .profile-content-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }

    .profile-identity-section {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 10px !important;
    }

    .profile-identity-avatar {
        width: 66px !important;
        height: 66px !important;
    }

    .identity-avatar-placeholder {
        font-size: 24px !important;
    }

    .identity-name {
        font-size: 16px !important;
        margin-bottom: 4px !important;
    }

    .provider-capsule {
        font-size: 10.5px !important;
        padding: 4px 10px !important;
    }

    .profile-card-divider {
        margin: 14px 0 !important;
    }

    .profile-financial-summary {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: var(--bg-tertiary) !important;
        border: 1px solid var(--border-color) !important;
        padding: 10px 8px !important;
        border-radius: 10px !important;
        gap: 6px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .financial-box {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        min-width: 0 !important;
    }

    .financial-box-divider {
        width: 1px !important;
        height: 28px !important;
        background-color: var(--border-color) !important;
        margin: 0 2px !important;
        flex-shrink: 0 !important;
    }

    .financial-label {
        font-size: 10.5px !important;
        font-weight: 500 !important;
        color: var(--text-muted) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        margin-bottom: 2px !important;
        white-space: nowrap !important;
    }

    .financial-label i {
        font-size: 11px !important;
        color: var(--accent-blue) !important;
    }

    .financial-value {
        font-size: 14.5px !important;
        font-weight: 800 !important;
        color: var(--text-main) !important;
        font-family: 'Kanit', sans-serif !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .profile-form-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-top: 10px !important;
    }

    .profile-form-grid .form-group label {
        font-size: 11px !important;
        margin-bottom: 3px !important;
    }

    .form-control-capsule {
        height: 38px !important;
        font-size: 12px !important;
        padding: 0 10px !important;
        border-radius: 8px !important;
    }

    .shop-header, .product-header, .sell-header, .topup-header, .terms-header, .privacy-header, .rules-header {
        padding: 20px 0 16px 0 !important;
        margin-top: 64px !important;
    }

    .shop-header {
        padding: 16px 0 12px 0 !important;
        margin-top: 64px !important;
    }

    .shop-header .page-title {
        font-size: 18px !important;
        margin-bottom: 2px !important;
    }

    .shop-header .page-subtitle {
        font-size: 11px !important;
    }

    .shop-header,
    .products-section {
        padding: 14px 0 35px 0 !important;
        min-height: 40vh !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    #productsGrid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        margin: 0 !important;
        padding: 4px 2px 14px 2px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #productsGrid::-webkit-scrollbar {
        display: none !important;
    }

    #productsGrid .product-card {
        flex: 0 0 calc(50% - 5px) !important;
        width: calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        min-width: calc(50% - 5px) !important;
        scroll-snap-align: start !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: var(--shadow-premium) !important;
    }

    .products-section .products-grid,
    .shop-section .products-grid,
    .page-shop .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .products-section .products-grid .product-card,
    .shop-section .products-grid .product-card,
    .page-shop .products-grid .product-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 1 1 0% !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        box-shadow: var(--shadow-premium) !important;
        box-sizing: border-box !important;
    }

    .products-grid .product-img-wrapper {
        padding-top: 60% !important;
    }

    .products-grid .product-discount-tag {
        top: 6px !important;
        right: 6px !important;
        padding: 2px 6px !important;
        font-size: 9px !important;
        border-radius: 4px !important;
    }

    .products-grid .product-info {
        padding: 8px 6px !important;
    }

    .products-grid .product-code {
        font-size: 9.5px !important;
        margin-bottom: 2px !important;
    }

    .products-grid .product-title {
        font-size: 11.5px !important;
        font-weight: 700 !important;
        margin-bottom: 4px !important;
        line-height: 1.25 !important;
    }

    .products-grid .product-divider {
        margin-bottom: 4px !important;
        margin-top: 2px !important;
    }

    .products-grid .product-price-container {
        margin-bottom: 6px !important;
        gap: 2px !important;
    }

    .products-grid .price-label, .products-grid .price-label-current {
        font-size: 9.5px !important;
    }

    .products-grid .product-price-original {
        font-size: 10.5px !important;
    }

    .products-grid .product-price-current {
        font-size: 13.5px !important;
        font-weight: 800 !important;
    }

    .products-grid .btn-buy-full {
        padding: 5px 6px !important;
        font-size: 10.5px !important;
        border-radius: 6px !important;
        width: 100% !important;
        text-align: center !important;
        font-weight: 600 !important;
    }

    .product-detail-section {
        padding: 12px 0 30px 0 !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .product-detail-section .container {
        padding: 0 10px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .product-detail-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-gallery-column, .product-info-column {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-gallery-card {
        padding: 8px !important;
        border-radius: 12px !important;
        gap: 6px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .gallery-main-display {
        height: 180px !important;
        border-radius: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .gallery-nav-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }

    .gallery-prev-btn {
        left: 6px !important;
    }

    .gallery-next-btn {
        right: 6px !important;
    }

    .gallery-thumbnails {
        gap: 6px !important;
        margin-top: 4px !important;
        padding-bottom: 4px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .gallery-thumbnail-item {
        width: 46px !important;
        height: 34px !important;
        border-radius: 5px !important;
        flex-shrink: 0 !important;
    }

    .product-notice-card {
        padding: 10px !important;
        border-radius: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-notice-list {
        gap: 6px !important;
    }

    .product-notice-list li {
        font-size: 10.5px !important;
        line-height: 1.35 !important;
        gap: 6px !important;
    }

    .notice-icon {
        font-size: 13px !important;
    }

    .product-info-card {
        padding: 12px 10px !important;
        border-radius: 12px !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-meta-row {
        margin-bottom: 4px !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
    }

    .product-id-tag, .product-status-tag {
        font-size: 10px !important;
        padding: 2px 7px !important;
        border-radius: 4px !important;
    }

    .product-detail-title {
        font-size: 14.5px !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }

    .product-desc-box {
        padding: 10px 8px !important;
        border-radius: 8px !important;
        margin-bottom: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-spec-list {
        gap: 4px !important;
    }

    .product-spec-list li {
        padding: 6px 4px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
    }

    .spec-item-left {
        gap: 6px !important;
        font-size: 11px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .spec-item-left i {
        font-size: 12px !important;
        width: 16px !important;
    }

    .spec-check-icon {
        font-size: 12px !important;
    }

    .product-price-row {
        padding: 8px 10px !important;
        border-radius: 8px !important;
        margin-bottom: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .price-label {
        font-size: 11.5px !important;
    }

    .price-amount {
        font-size: 17px !important;
    }

    .product-discount-container {
        padding: 8px 8px !important;
        border-radius: 8px !important;
        margin-bottom: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        gap: 6px !important;
    }

    .discount-label {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }

    .discount-input-row {
        gap: 4px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .discount-input {
        height: 34px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
        padding: 0 8px !important;
        min-width: 0 !important;
        flex: 1 !important;
    }

    .btn-apply-discount {
        height: 34px !important;
        font-size: 11px !important;
        padding: 0 10px !important;
        border-radius: 6px !important;
        flex-shrink: 0 !important;
    }

    .btn-buy-product {
        height: 40px !important;
        font-size: 13.5px !important;
        border-radius: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .guarantee-tag {
        font-size: 10px !important;
        padding: 4px 8px !important;
    }

    .coupon-input-group {
        flex-direction: row !important;
        gap: 6px !important;
    }

    .coupon-input {
        height: 38px !important;
        font-size: 12px !important;
    }

    .btn-apply-coupon {
        height: 38px !important;
        font-size: 11.5px !important;
        padding: 0 12px !important;
    }

    .btn-purchase-now {
        height: 44px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
    }

    .sell-section {
        padding: 24px 0 40px 0 !important;
    }

    .sell-section-title {
        font-size: 17px !important;
        margin-bottom: 3px !important;
    }

    .sell-section-subtitle {
        font-size: 11.5px !important;
        margin-bottom: 16px !important;
    }

    .btn-text-desktop {
        display: none !important;
    }

    .btn-text-mobile {
        display: inline !important;
    }

    .sell-channels-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .sell-channel-card {
        padding: 10px 4px !important;
        border-radius: 10px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 4px !important;
        min-height: fit-content !important;
    }

    .channel-icon-box {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
        margin-bottom: 2px !important;
    }

    .channel-badge, .channel-desc {
        display: none !important;
    }

    .channel-title {
        font-size: 10.5px !important;
        font-weight: 700 !important;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    .btn-channel {
        padding: 4px 2px !important;
        height: 28px !important;
        font-size: 10px !important;
        border-radius: 6px !important;
        gap: 3px !important;
        width: 100% !important;
        justify-content: center !important;
        white-space: nowrap !important;
        font-weight: 600 !important;
    }

    .btn-channel i {
        font-size: 10.5px !important;
    }

    .sell-steps-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .sell-step-card {
        padding: 10px 8px !important;
        border-radius: 10px !important;
        text-align: center !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .step-num-badge {
        position: absolute !important;
        top: 5px !important;
        right: 5px !important;
        font-size: 8px !important;
        font-weight: 700 !important;
        padding: 1px 5px !important;
        border-radius: 4px !important;
        line-height: 1.2 !important;
    }

    .step-icon {
        font-size: 16px !important;
        margin-bottom: 3px !important;
    }

    .step-title {
        font-size: 11px !important;
        font-weight: 700 !important;
        margin-bottom: 2px !important;
    }

    .step-desc {
        font-size: 9.5px !important;
        line-height: 1.3 !important;
        opacity: 0.85 !important;
    }

    .topup-section {
        padding: 12px 0 30px 0 !important;
    }

    .topup-section .container {
        padding: 0 10px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .topup-section .profile-card {
        padding: 12px 10px !important;
        border-radius: 12px !important;
        margin-bottom: 12px !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .topup-section .profile-card > div:first-child {
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        text-align: center !important;
    }

    .topup-section .profile-card img {
        width: 44px !important;
        height: 44px !important;
    }

    .topup-section .profile-card h2 {
        font-size: 15px !important;
        margin-bottom: 2px !important;
    }

    .topup-section .profile-card span {
        font-size: 10.5px !important;
        word-break: break-all !important;
    }

    .topup-section .profile-card > div:last-child {
        padding: 8px 12px !important;
        border-radius: 8px !important;
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .topup-section .profile-card .user-credits-amount {
        font-size: 18px !important;
    }

    .topup-tabs-container {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        margin-bottom: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .topup-tab-btn {
        flex: none !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 6px 2px !important;
        height: 34px !important;
        font-size: 10px !important;
        border-radius: 6px !important;
        gap: 3px !important;
        justify-content: center !important;
        white-space: nowrap !important;
        font-weight: 600 !important;
    }

    .topup-tab-btn i {
        font-size: 11px !important;
    }

    .topup-tab-content > div {
        padding: 14px 10px !important;
        border-radius: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .bank-account-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 10px !important;
        border-radius: 12px !important;
        margin-bottom: 14px !important;
        gap: 10px !important;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(16, 185, 129, 0.05)) !important;
        border: 1.5px solid rgba(37, 99, 235, 0.25) !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .bank-account-card::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 4px !important;
        height: 100% !important;
        background: linear-gradient(180deg, #2563eb, #10b981) !important;
    }

    .bank-card-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .bank-logo-badge {
        width: 40px !important;
        height: 40px !important;
        font-size: 17px !important;
        border-radius: 10px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(16, 185, 129, 0.15)) !important;
        border: 1px solid rgba(37, 99, 235, 0.25) !important;
        color: var(--accent-blue) !important;
    }

    .bank-details-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        flex: 1 !important;
        min-width: 0 !important;
        width: 100% !important;
        text-align: left !important;
    }

    .bank-name-tag {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        color: var(--text-muted) !important;
    }

    .bank-tag-dot {
        width: 6px !important;
        height: 6px !important;
        border-radius: 50% !important;
        background-color: #10b981 !important;
        flex-shrink: 0 !important;
    }

    .bank-acc-num {
        font-size: 17px !important;
        font-weight: 800 !important;
        letter-spacing: 1px !important;
        font-family: 'Kanit', monospace !important;
        color: var(--text-main) !important;
        word-break: break-all !important;
        line-height: 1.2 !important;
    }

    .bank-owner-name {
        font-size: 11px !important;
        color: var(--text-muted) !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        flex-wrap: wrap !important;
    }

    .bank-owner-name i {
        color: #10b981 !important;
        font-size: 11px !important;
        flex-shrink: 0 !important;
    }

    .btn-copy-account {
        height: 36px !important;
        padding: 0 12px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
        width: 100% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        font-weight: 600 !important;
        background: var(--accent-blue) !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
    }

    .topup-tab-content h3 {
        font-size: 14px !important;
        margin-bottom: 4px !important;
        gap: 6px !important;
    }

    .topup-tab-content p {
        font-size: 10.5px !important;
        line-height: 1.35 !important;
        margin-bottom: 10px !important;
    }

    .topup-tab-content label {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }

    .topup-input-wrapper {
        margin-bottom: 10px !important;
    }

    .topup-input-field {
        height: 36px !important;
        font-size: 11.5px !important;
        padding: 0 8px 0 32px !important;
        border-radius: 6px !important;
    }

    .topup-input-wrapper i {
        font-size: 12px !important;
        left: 10px !important;
    }

    #btnSubmitPromptPay, #btnSubmitTruemoney, #btnSubmitSlip2Go {
        height: 38px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
    }

    #promptpayModal {
        padding: 10px !important;
    }

    #promptpayModal > div > div {
        padding: 16px 12px !important;
        max-width: 95% !important;
        border-radius: 14px !important;
    }

    #promptpayModal h3 {
        font-size: 16px !important;
        margin-bottom: 2px !important;
    }

    #promptpayModal p {
        font-size: 11px !important;
        margin-bottom: 10px !important;
    }

    #promptpayQrImg {
        width: 170px !important;
        height: 170px !important;
    }

    #promptpayModalAmount {
        font-size: 20px !important;
    }

    #btnClosePromptPayModal {
        height: 36px !important;
        font-size: 12.5px !important;
        border-radius: 8px !important;
    }

    .history-content-card {
        padding: 10px 0 !important;
        border-radius: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .history-table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        width: 100% !important;
    }

    .history-table-responsive::-webkit-scrollbar {
        height: 3px !important;
    }

    .history-table-responsive::-webkit-scrollbar-track {
        background: transparent !important;
    }

    .history-table-responsive::-webkit-scrollbar-thumb {
        background: rgba(37, 99, 235, 0.35) !important;
        border-radius: 3px !important;
    }

    .history-table {
        min-width: 520px !important;
        font-size: 10.5px !important;
        width: 100% !important;
        border-collapse: collapse !important;
    }

    .history-table th {
        font-size: 10px !important;
        padding: 8px 6px !important;
        height: auto !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        text-align: center !important;
        background: var(--bg-tertiary) !important;
        color: var(--text-muted) !important;
        font-weight: 700 !important;
        border-top: 1px solid var(--border-color) !important;
        border-bottom: 1px solid var(--border-color) !important;
    }

    .history-table td {
        padding: 8px 6px !important;
        font-size: 10.5px !important;
        line-height: 1.3 !important;
        vertical-align: middle !important;
    }

    .history-table th:first-child,
    .history-table td:first-child {
        padding-left: 12px !important;
    }

    .history-table th:last-child,
    .history-table td:last-child {
        padding-right: 12px !important;
    }

    .history-table th.nowrap-cell, 
    .history-table td.nowrap-cell {
        width: auto !important;
        white-space: nowrap !important;
    }

    .history-badge {
        padding: 2px 6px !important;
        font-size: 9.5px !important;
        border-radius: 4px !important;
    }

    .btn-history-view {
        padding: 4px 6px !important;
        font-size: 9.5px !important;
        height: 26px !important;
        border-radius: 5px !important;
        white-space: nowrap !important;
    }

    .product-title-cell {
        max-width: 130px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 10.5px !important;
    }

    .rules-content-card, .terms-content-card, .privacy-content-card {
        padding: 16px 12px !important;
        border-radius: 14px !important;
    }

    .rules-content-card h2, .terms-content-card h2, .privacy-content-card h2 {
        font-size: 15.5px !important;
        margin-bottom: 6px !important;
    }

    .rules-content-card p, .terms-content-card p, .privacy-content-card p, .rules-content-card li, .terms-content-card li, .privacy-content-card li {
        font-size: 12px !important;
        line-height: 1.55 !important;
    }

    body {
        padding-bottom: 60px !important;
    }

    .mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 58px !important;
        background: rgba(15, 23, 42, 0.94) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45) !important;
        z-index: 99999 !important;
        align-items: center !important;
        justify-content: space-around !important;
        padding: 0 4px !important;
    }

    .mobile-nav-item {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
        color: rgba(255, 255, 255, 0.55) !important;
        text-decoration: none !important;
        position: relative !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        gap: 2px !important;
    }

    .mobile-nav-active-dot {
        position: absolute !important;
        top: 3px !important;
        width: 4px !important;
        height: 4px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        box-shadow: 0 0 6px #ffffff, 0 0 10px var(--accent-blue) !important;
        opacity: 0 !important;
        transform: scale(0) !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .mobile-nav-icon-wrapper {
        width: 34px !important;
        height: 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 12px !important;
        font-size: 16px !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .mobile-nav-label {
        font-size: 10px !important;
        font-weight: 500 !important;
        letter-spacing: -0.2px !important;
        line-height: 1 !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .mobile-nav-item.active {
        color: #ffffff !important;
    }

    .mobile-nav-item.active .mobile-nav-active-dot {
        opacity: 1 !important;
        transform: scale(1) !important;
    }

    .mobile-nav-item.active .mobile-nav-icon-wrapper {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.45), rgba(29, 78, 216, 0.55)) !important;
        color: #ffffff !important;
        box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35) !important;
        transform: translateY(-1px) !important;
    }

    .mobile-nav-item.active .mobile-nav-label {
        font-weight: 700 !important;
        color: #ffffff !important;
    }

    .floating-contact-widget {
        bottom: 72px !important;
        right: 12px !important;
    }
}
