@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* =========================================
   1. CẤU HÌNH MÀU SẮC (THEME PUBG LIGHT)
   ================================********* */
:root {
    --bg-body: #f4f6f8;       /* Nền xám xanh cực nhạt cho dịu mắt */
    --bg-card: #ffffff;       /* Nền khối trắng */
    --text-main: #111827;     /* Chữ đen đậm (gần như đen tuyệt đối) */
    --text-sub: #6b7280;      /* Chữ phụ xám */
    
    --accent: #F2A900;        /* CAM VÀNG PUBG (Màu chủ đạo) */
    --accent-hover: #d99600;  /* Màu hover đậm hơn */
    --accent-text: #000000;   /* Chữ trên nền cam */
    
    --price-color: #d32f2f;   /* Giá tiền màu đỏ đậm cho nổi bật */
    --border: #e5e7eb;        /* Viền xám nhạt */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 12px;           /* Bo góc chuẩn */
}

/* =========================================
   2. CẤU TRÚC CƠ BẢN
   ================================********* */
body {
    background-color: var(--bg-body);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    font-size: 14.5px;
    line-height: 1.5;
}

a { text-decoration: none; transition: 0.2s ease; color: var(--text-main); }
a:hover { color: var(--accent-hover); }
ul { padding: 0; margin: 0; list-style: none; }
img { max-width: 100%; height: auto; }

/* BOOTSTRAP OVERRIDES (Ghi đè màu mặc định) */
.text-warning { color: var(--accent) !important; }
.bg-warning { background-color: var(--accent) !important; color: var(--accent-text) !important; font-weight: 700; }
.btn-warning { 
    background-color: var(--accent) !important; 
    border-color: var(--accent) !important; 
    color: var(--accent-text) !important; 
    font-weight: 700;
}
.btn-warning:hover { background-color: var(--accent-hover) !important; }

/* =========================================
   3. HEADER & LOGO
   ================================********* */
.main-header {
    background: #fff; 
    border-bottom: 1px solid var(--border);
    padding: 12px 0; 
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.logo-text { 
    font-weight: 900; font-size: 24px; color: var(--accent); 
    text-transform: uppercase; letter-spacing: 0.5px; 
    display: flex; align-items: center; gap: 8px; 
}
.logo-text i { font-size: 28px; }

/* =========================================
   4. PROFILE TACTICAL (BỐ CỤC LỆCH TRÁI)
   ================================********* */
.profile-tactical {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    position: relative;
    border: 1px solid var(--border);
}

.pt-cover{
    width:100%;
    aspect-ratio:1920 / 800;
    background-position:center center;
    background-repeat:no-repeat;
    background-size:contain;
    background-color:#fff;
}

@media (min-width:768px){
    .pt-cover{
        min-height:300px;
    }
}

@media (max-width:768px){
    .pt-cover{
        height:200px;
        aspect-ratio:auto;
        background-size:100% auto;
        background-position:center top;
    }

    .pt-avatar-box{
        margin-top:-1px!important;
    }
}

.pt-body {
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -60px; /* Mobile: Đẩy lên */
}

.pt-avatar-box {
    position: relative;
    margin-bottom: 15px;
    z-index: 5;
}

.pt-avatar {
    width: 130px; height: 130px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background: #fff;
    object-fit: cover;
}

.pt-info { flex: 1; z-index: 5; padding-top: 5px; }

.pt-name {
    font-size: 22px; font-weight: 800;
    color: var(--text-main); margin-bottom: 5px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    text-transform: uppercase;
}

.pt-rank-badge { color: #007bff; font-size: 18px; } /* Icon tích xanh/rank */

.pt-bio {
    color: var(--text-sub); font-size: 14px; margin-bottom: 15px;
}
.pt-bio p { margin-bottom: 4px; }

/* Nút bấm Profile */
.pt-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn-tactical {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 24px; border-radius: 6px;
    font-weight: 700; font-size: 13px; text-decoration: none !important;
    transition: all 0.2s; border: none; text-transform: uppercase;
    min-width: 130px;
}
.btn-tactical:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.btn-zalo-tac { background: #0088FF; color: #fff; }
.btn-fb-tac { background: #1877F2; color: #fff; }

/* PC: Chuyển sang hàng ngang */
@media (min-width: 768px) {
    .pt-cover { height: 260px; }
    .pt-body {
        flex-direction: row; align-items: flex-end; text-align: left;
        padding: 20px 30px 30px 30px; margin-top: 0; gap: 25px;
    }
    .pt-avatar-box { margin-bottom: 0; margin-top: -80px; }
    .pt-avatar { width: 160px; height: 160px; border: 5px solid #fff; }
    .pt-name, .pt-actions { justify-content: flex-start; }
    .pt-info { padding-top: 0; }
}

/* =========================================
   5. BỘ LỌC CHUẨN (NO UPPERCASE - MEDIUM WEIGHT)
   ================================********* */

/* 1. Thanh tìm kiếm */
.search-bar-unified {
    display: flex; gap: 0; margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border-radius: 8px; overflow: hidden;
}
.inp-search-unified {
    flex: 1; padding: 12px 20px; 
    border: 1px solid #e5e7eb; border-right: none;
    border-radius: 8px 0 0 8px; background: #fff; 
    outline: none; font-size: 15px; font-weight: 400; /* Chữ thường */
}
.inp-search-unified:focus { border-color: #EF4444; position: relative; z-index: 2; }

.btn-search-unified {
    background: #EF4444; color: #fff; font-weight: 700; 
    border: 1px solid #EF4444; border-radius: 0 8px 8px 0; 
    padding: 0 25px; text-transform: uppercase; font-size: 14px;
    cursor: pointer; transition: 0.2s; white-space: nowrap;
}
.btn-search-unified:hover { background: #dc2626; border-color: #dc2626; }

/* 2. Lưới Danh mục (3 Cột) */
.grid-category {
    display: grid; grid-template-columns: repeat(2, 1fr); 
    gap: 12px; margin-bottom: 15px;
}

/* 3. Style Nút Danh mục (Solid - Chữ thường - Đậm vừa) */
.btn-solid{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;

    height:52px;
    padding:0 18px;

    border-radius:16px;

    background:#ffffff;
    color:#111827!important;

    border:1.5px solid #dbe4f0;

    font-size:15px;
    font-weight:800;

    box-shadow:
        0 5px 14px rgba(0,0,0,.06);

    transition:all .2s ease;

    overflow:hidden;
}

.btn-solid i{
    margin-right:8px;
    font-size:18px;
}

.btn-solid:hover{
    transform:translateY(-2px);

    box-shadow:
        0 10px 24px rgba(0,0,0,.12);
}
.btn-solid i { margin-right: 8px; font-size: 18px; margin-bottom: 2px; opacity: 0.95; }
.btn-solid:hover { opacity: 0.9; transform: translateY(-1px); }

/* --- MÀU SẮC & ACTIVE --- */

/* Đỏ */
.btn-solid.active{
    background:#111827!important;
    color:#f2a900!important;
    border:2px solid #f2a900!important;

    box-shadow:
        0 0 0 3px rgba(242,169,0,.15),
        0 10px 25px rgba(0,0,0,.16)!important;
}

.btn-solid.active i{
    color:#f2a900!important;
}

.btn-solid.active::after{
    content:"✓";
    position:absolute;
    top:-8px;
    right:-8px;
    width:24px;
    height:24px;
    border-radius:50%;
    background:#f2a900;
    color:#111827;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:900;
}


/* 4. Lưới Giá tiền (4 Cột) */
.grid-price {
    display: grid; grid-template-columns: repeat(8, 1fr);
    gap: 12px; margin-bottom: 30px;
}
@media (max-width: 768px) { .grid-price { grid-template-columns: repeat(3, 1fr); } }

.btn-price-flat {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    height: 44px; background: #fff;
    border: 1px solid #e5e7eb; border-radius: 6px;
    color: #4b5563; 
    font-weight: 500; /* Chữ mảnh hơn nút màu */
    font-size: 14px;
    text-decoration: none !important; transition: 0.2s;
    overflow: hidden;
}
.btn-price-flat i { margin-right: 6px; color: #9ca3af; font-size: 16px; }

/* GIÁ TIỀN - TẤT CẢ NÚT ĐỔI MÀU THEO TAB/DANH MỤC */
.grid-price.theme-sell {
    --price-theme: #15803d;
    --price-theme-hover: #166534;
}

.grid-price.theme-rental {
    --price-theme: #0e7490;
    --price-theme-hover: #155e75;
}

.grid-price.theme-new {
    --price-theme: #d97706;
    --price-theme-hover: #b45309;
}

.grid-price.theme-sold {
    --price-theme: #111827;
    --price-theme-hover: #030712;
}

.grid-price .btn-price-flat {
    background: var(--price-theme);
    border-color: var(--price-theme);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.grid-price .btn-price-flat i {
    color: #fff;
}

.grid-price .btn-price-flat:hover {
    background: var(--price-theme-hover);
    border-color: var(--price-theme-hover);
    color: #fff;
    transform: translateY(-1px);
}

.grid-price .btn-price-flat:hover i {
    color: #fff;
}

/* NÚT ĐANG CHỌN: giữ cùng màu, chỉ thêm dấu check */
.grid-price .btn-price-flat.active {
    background: var(--price-theme);
    color: #fff;
    border-color: var(--price-theme);
    font-weight: 800;
}

.grid-price .btn-price-flat.active i {
    color: #fff;
}

.grid-price .btn-price-flat.active::after {
    content: '\2713';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.95) 50%);
    color: var(--price-theme);
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 3px 2px 0;
}
/* =========================================
   6. DANH SÁCH SẢN PHẨM (CARD)
   ================================********* */
.list-header-wrapper {
    margin-bottom: 20px; padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}

.product-card {
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    overflow: hidden; transition: 0.2s; position: relative;
    height: auto !important; display: flex; flex-direction: column;
}
.product-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); border-color: #d1d5db;
}

@media (min-width:769px){

    .product-card{
        height:100%;
        display:flex;
        flex-direction:column;
    }

    .product-thumb-box{
        aspect-ratio:12 / 10;
        background:#f6f7f9;

        display:flex;
        align-items:center;
        justify-content:center;

        overflow:hidden;
    }

    .product-thumb{
        width:100%;
        height:100%;
        object-fit:contain;
        object-position:center;
    }

    .product-body{
        flex:1;
        display:flex;
        flex-direction:column;
    }

    .product-meta{
        margin-top:auto;
    }
}
@media (max-width:768px){

    .product-thumb-box{
        height:auto!important;
        aspect-ratio:auto!important;
        background:none!important;
    }

    .product-thumb{
        width:100%!important;
        height:auto!important;
        object-fit:unset!important;
    }
}
.product-thumb { position: static !important; width: 100%; height: auto !important; display: block; object-fit: cover; }

.product-body { padding: 15px; flex-grow: 1; }
.product-title {
    font-weight: 700; color: var(--text-main); font-size: 15px;
    margin-bottom: 8px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.product-title:hover { color: var(--accent-hover); }

/* Nút Copy & Chi tiết */
.btn-copy-code {
    background: #f3f4f6; color: var(--text-sub); border: none; border-radius: 4px;
    padding: 2px 8px; font-size: 11px; font-weight: 600; cursor: pointer;
    display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
}
.btn-copy-code:hover { background: #e5e7eb; color: #000; }

.product-meta {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 12px; margin-top: 10px; border-top: 1px solid #f3f4f6;
}
.price-tag { color: var(--price-color); font-weight: 800; font-size: 17px; }
.btn-detail {
    background: #f3f4f6; color: var(--text-main); padding: 6px 12px;
    border-radius: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase;
}
.btn-detail:hover { background: var(--text-main); color: #fff; }

/* Masonry Helper (Giữ lại để lưới xếp gạch hoạt động) */
.feed-item-scroll { margin-bottom: 24px; float: left !important; }
#productGrid { display: block !important; }
#productGrid::after { content: ''; display: block; clear: both; }

/* =========================================
   7. PHÂN TRANG (PAGINATION)
   ================================********* */
.pagination-container-modern {
    display: flex; justify-content: center; align-items: center; gap: 8px;
    margin: 40px 0; position: relative; z-index: 100;
}
.pagi-nav-btn {
    width: 40px; height: 40px; background: #fff; border: 1px solid var(--border);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--text-sub); cursor: pointer; transition: 0.2s;
}
.pagi-nav-btn:hover { border-color: var(--accent); color: var(--accent-hover); }
.pagi-nav-btn.disabled { opacity: 0.5; pointer-events: none; background: #f9fafb; }

.pagi-main-btn {
    background: #fff; border: 1px solid var(--border); border-radius: 8px;
    padding: 0 20px; height: 40px; display: flex; align-items: center; justify-content: center;
    gap: 8px; font-weight: 700; color: var(--text-main); font-size: 14px;
    cursor: pointer; min-width: 140px;
}
.pagi-main-btn:hover, .pagi-main-btn.is-open { border-color: var(--accent); color: var(--accent-hover); }

/* Dropdown chọn trang */
.pagi-dropdown {
    position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%) translateY(10px) scale(0.9);
    width: 280px; background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 10px; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    opacity: 0; pointer-events: none; transition: 0.2s; visibility: hidden;
}
.pagi-dropdown.show { opacity: 1; transform: translateX(-50%) translateY(-5px) scale(1); pointer-events: auto; visibility: visible; }
.pagi-grid-wrapper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; max-height: 180px; overflow-y: auto; }
.pagi-num {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 6px; cursor: pointer; font-weight: 600; color: var(--text-sub); transition: 0.2s;
}
.pagi-num:hover { background: #f3f4f6; color: var(--text-main); }
.pagi-num.active { background: var(--accent); color: #000; font-weight: 800; }

/* =========================================
   8. TRANG CHI TIẾT (CHUẨN 1200PX & FONT ĐẸP)
   ================================********* */

/* 1. Container: Giới hạn 1200px + Căn giữa */
.detail-container {
    margin: 0 auto; 
    padding: 0 15px; /* Cách lề 1 chút trên mobile */
}

/* 2. Khung Header */
.detail-header {
    background: #fff; 
    padding: 10px 20px; 
    border-radius: 12px; 
    border: 1px solid #e5e7eb;
    margin-bottom: 30px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); 
    text-align: center;
}

/* 3. Tiêu đề: Giảm độ đậm, Font bình thường lại */
.detail-title {
    font-size: 30px; 
    font-weight: 700; /* Giảm từ 900 xuống 700 cho đỡ ghê */
    color: #111;
    margin-bottom: 10px; 
    text-transform: uppercase;
}

/* 4. Lượt xem (To hơn) */
.detail-views {
    font-size: 16px; /* Tăng từ small (12px) lên 16px */
    color: #6b7280;
    margin-bottom: 15px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* 5. Giá tiền: Font đẹp, không quá dày */
.detail-price-lg {
    display: block; 
    color: #EF4444; 
    font-weight: 700; /* Giảm độ đậm */
    font-size: 40px; 
    margin: 10px 0 0px 0;
    line-height: 1;
}
.detail-price-lg span {
    font-size: 20px; color: #374151; font-weight: 600; 
    vertical-align: middle; margin-right: 8px; text-transform: uppercase;
}

/* 6. Admin Note */
.alert-warning {
    background-color: #FFFBEB !important;
    border: 1px dashed #F59E0B !important;
    color: #92400E !important;
    border-radius: 8px; padding: 12px 15px;
    display: flex; align-items: center; gap: 8px;
    max-width: 800px; margin: 0 auto 20px auto; 
}

/* 7. Nút Mua */
.btn-buy-lg {
    background: #F2A900; color: #000; 
    font-weight: 700; font-size: 18px;
    text-transform: uppercase; 
    width: 100%; max-width: 450px; 
    padding: 16px; border-radius: 8px; border: none; 
    transition: all 0.2s; cursor: pointer;
    box-shadow: 0 4px 15px rgba(242, 169, 0, 0.25);
    margin: 0 auto; 
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-buy-lg:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(242, 169, 0, 0.4); }

/* Gallery ảnh */
.feed-gallery { display: flex; flex-direction: column; gap: 20px; }
.feed-item {
    background: #fff; border-radius: 12px; overflow: hidden;
    border: 1px solid #e5e7eb; box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.feed-item img { width: 100%; height: auto; display: block; }

/* =========================================
   9. ADMIN BUTTONS (NÚT TRÒN TRÊN ẢNH)
   ================================********* */
.btn-admin-circle {
    width: 32px; height: 32px; border-radius: 50%; border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.2); transition: 0.2s;
    text-decoration: none !important; z-index: 10;
}
.btn-edit-home { background: #fff; color: #0088FF; }
.btn-edit-home:hover { background: #0088FF; color: #fff; transform: scale(1.1); }
.btn-del-home { background: #fff; color: #ef4444; }
.btn-del-home:hover { background: #ef4444; color: #fff; transform: scale(1.1); }
/* CHẶN IOS TỰ ZOOM KHI BẤM VÀO INPUT */
@media screen and (max-width: 768px) {
    input, textarea, select {
        font-size: 16px !important;
    }
}
/* --- THÊM ĐOẠN NÀY VÀO --- */
    @media (max-width: 768px) {
        .detail-header {
            padding: 0 !important; /* Bỏ padding trên mobile */
        }
        
        /* Tùy chọn: Giảm padding cho khung card để rộng hơn */
        .card-body {
            padding: 0 !important; /* Giảm padding từ 1.5rem xuống 1rem */
        }
        button.btn.btn-success.rounded-pill.px-4.py-2.fs-5 {
    margin-top: 15px;
}

.detail-title {
    font-size: 25px;
    padding: 0px 20px 0px 20px;
}
    }
    
.mode-tabs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
    margin-bottom: 16px;
    width: 100%;
    padding: 0 !important;
    background: none !important;
}
.mode-tab {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    padding: 13px 8px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    color: #fff !important;
}
.mode-tab i { font-size: 18px; flex-shrink: 0; }
/* Tab MUA - không active */
.mode-tab.tab-sell:not(.active) {
    background: #15803d !important;
}
/* Tab THUÊ - không active */
.mode-tab.tab-rental:not(.active) {
    background: #0e7490 !important;
}
.mode-tab.tab-sell.active {
    background: #15803d !important;
    box-shadow: 0 4px 14px rgba(21,128,61,0.35);
}

.mode-tab.tab-rental.active {
    background: #0e7490 !important;
    box-shadow: 0 4px 14px rgba(14,116,144,0.35);
}
.mode-tab:hover { opacity: 1 !important; }
@media (max-width: 480px) {
    .mode-tab { font-size: 13px; padding: 11px 6px; }
    .mode-tab i { font-size: 15px; }
}    
/* ===== BADGE ACC ĐỀ XUẤT - DÁN CUỐI assets/css/style.css ===== */
.product-meta{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
}

.product-meta .price-tag{
    margin-right:auto!important;
}

.tt-recommend-badge{
    position:relative;
    overflow:hidden;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
    border-radius:12px;
    background:linear-gradient(135deg,#0f9f4f,#067a39);
    color:#ffd44a;
    font-size:12px;
    font-weight:900;
    white-space:nowrap;
    box-shadow:
        0 0 0 1px rgba(255,212,74,.35) inset,
        0 0 18px rgba(16,139,69,.35);
}

.tt-recommend-badge::after{
    content:"";
    position:absolute;
    top:-45%;
    left:-75%;
    width:45%;
    height:190%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,.82), transparent);
    transform:rotate(25deg);
    animation:ttBadgeShine 3.8s ease-in-out infinite;
}

@keyframes ttBadgeShine{
    0%{left:-75%;}
    42%{left:-75%;}
    75%{left:135%;}
    100%{left:135%;}
}

@media (max-width:768px){
    .product-meta{
        flex-wrap:wrap!important;
    }

    .tt-recommend-badge{
        padding:8px 11px;
        font-size:11px;
    }
}
.mode-tab,
.grid-category .btn-solid,
.grid-price .btn-price-flat{

    border-radius:16px!important;

    font-weight:800!important;

    box-shadow:
        0 5px 14px rgba(0,0,0,.06)!important;

    transition:.2s!important;
}

.mode-tab:hover,
.grid-category .btn-solid:hover,
.grid-price .btn-price-flat:hover{

    transform:translateY(-2px);

    box-shadow:
        0 10px 24px rgba(0,0,0,.12)!important;
}

.mode-tab.active,
.grid-category .btn-solid.active,
.grid-price .btn-price-flat.active{

    background:#111827!important;

    color:#f2a900!important;

    border:2px solid #f2a900!important;

    box-shadow:
        0 0 0 3px rgba(242,169,0,.15),
        0 10px 25px rgba(0,0,0,.16)!important;
}
/* ===== LOADING LỌC ACC KHÔNG GIẬT ===== */
#ttPageLoader{
    position:fixed;
    inset:0;
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    background:rgba(248,250,252,.55);
    backdrop-filter:blur(6px);
}

#ttPageLoader.show{
    display:flex;
}

#ttPageLoader .spin{
    width:54px;
    height:54px;
    border-radius:50%;
    border:5px solid rgba(242,169,0,.2);
    border-top-color:#f2a900;
    animation:ttSpin .75s linear infinite;
}

@keyframes ttSpin{
    to{transform:rotate(360deg);}
}
.mode-tab,
.grid-category .btn-solid,
.grid-price .btn-price-flat,
.pagi-nav-btn,
.pagi-num{
    transition:all .18s ease!important;
}

.mode-tab:active,
.grid-category .btn-solid:active,
.grid-price .btn-price-flat:active,
.pagi-nav-btn:active,
.pagi-num:active{
    transform:scale(.96)!important;
}

/* ===== ÉP DANH MỤC + GIÁ VỀ TRẮNG ĐEN PUBG ===== */

/* Nút danh mục: MUA ACC / THUÊ ACC / ACC MỚI NHẤT / ACC ĐÃ BÁN */
.mode-tab,
.mode-tab.tab-sell,
.mode-tab.tab-rental,
.mode-tab.tab-sell:not(.active),
.mode-tab.tab-rental:not(.active),
.grid-category .btn-solid,
.grid-category .btn-solid.solid-red,
.grid-category .btn-solid.solid-dark,
.grid-category .btn-solid.solid-blue{
    background:#ffffff!important;
    color:#111827!important;
    border:1.5px solid #e5e7eb!important;
    border-radius:16px!important;
    box-shadow:0 5px 14px rgba(0,0,0,.06)!important;
    font-weight:900!important;
}

/* Nút lọc giá */
.grid-price .btn-price-flat,
.grid-price.theme-sell .btn-price-flat,
.grid-price.theme-new .btn-price-flat,
.grid-price.theme-rental .btn-price-flat,
.grid-price.theme-sold .btn-price-flat{
    background:#ffffff!important;
    color:#111827!important;
    border:1.5px solid #e5e7eb!important;
    border-radius:16px!important;
    box-shadow:0 5px 14px rgba(0,0,0,.06)!important;
    font-weight:900!important;
}

/* Icon */
.mode-tab i,
.grid-category .btn-solid i,
.grid-price .btn-price-flat i{
    color:#111827!important;
}

/* Hover */
.mode-tab:hover,
.grid-category .btn-solid:hover,
.grid-price .btn-price-flat:hover{
    transform:translateY(-2px)!important;
    box-shadow:0 10px 24px rgba(0,0,0,.12)!important;
}

/* Đang chọn */
.mode-tab.active,
.grid-category .btn-solid.active,
.grid-price .btn-price-flat.active{
    background:#111827!important;
    color:#f2a900!important;
    border:2px solid #f2a900!important;
    box-shadow:
        0 0 0 3px rgba(242,169,0,.15),
        0 10px 25px rgba(0,0,0,.16)!important;
}

.mode-tab.active i,
.grid-category .btn-solid.active i,
.grid-price .btn-price-flat.active i{
    color:#f2a900!important;
}

/* Dấu tích tròn */
.mode-tab.active::after,
.grid-category .btn-solid.active::after,
.grid-price .btn-price-flat.active::after{
    content:"✓"!important;
    position:absolute!important;
    top:-8px!important;
    right:-8px!important;
    width:24px!important;
    height:24px!important;
    border-radius:50%!important;
    background:#f2a900!important;
    color:#111827!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:13px!important;
    font-weight:900!important;
}
.mode-tab.tab-sell.active{
    background:linear-gradient(135deg,#0f9f4f,#067a39)!important;
    color:#ffd44a!important;
    border:2px solid #ffd44a!important;

    box-shadow:
        0 0 0 3px rgba(255,212,74,.15),
        0 10px 25px rgba(0,0,0,.18)!important;
}

.mode-tab.tab-sell.active i{
    color:#ffd44a!important;
}

/* THEME Ú - XANH TÍM GAMING */
:root {
    --bg-body: #eef4ff !important;
    --bg-card: #ffffff !important;
    --text-main: #16213e !important;
    --text-sub: #5b6b88 !important;
    --accent: #4f46e5 !important;
    --accent-hover: #3730a3 !important;
    --accent-text: #ffffff !important;
    --price-color: #e11d48 !important;
    --border: #dbe4ff !important;
}

body {
    background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 50%, #eef4ff 100%) !important;
}

.main-header,
.profile-tactical,
.product-card,
.detail-header,
.feed-item,
.search-bar-unified,
.empty-state-box {
    background: #ffffff !important;
    border-color: #dbe4ff !important;
    box-shadow: 0 8px 25px rgba(79,70,229,.10) !important;
}

.logo-text,
.grid-category .btn-solid i,
.grid-price .btn-price-flat i {
    color: #4f46e5 !important;
}

.price-tag,
.detail-price-lg {
    color: #e11d48 !important;
}

.btn-search-unified,
.btn-tactical,
.mode-tab.active,
.grid-category .btn-solid.active,
.grid-price .btn-price-flat.active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
    color: #fff !important;
    border-color: #4f46e5 !important;
}

.mode-tab,
.grid-category .btn-solid,
.grid-price .btn-price-flat {
    background: #fff !important;
    color: #16213e !important;
    border: 1.5px solid #dbe4ff !important;
    border-radius: 16px !important;
    font-weight: 900 !important;
    box-shadow: 0 6px 18px rgba(79,70,229,.08) !important;
}

.mode-tab.active i,
.grid-category .btn-solid.active i,
.grid-price .btn-price-flat.active i {
    color: #fff !important;
}

.btn-detail {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    border: 1px solid #c7d2fe !important;
}

.btn-detail:hover {
    background: #4f46e5 !important;
    color: #fff !important;
}

.floating-contact {
    background: rgba(255,255,255,.94) !important;
    border: 1px solid #dbe4ff !important;
    box-shadow: 0 12px 32px rgba(79,70,229,.18) !important;
}

.btn-text {
    color: #16213e !important;
}