/* ============================================================== */
/* PHONG CÁCH TRANG CHỦ MINH HOÀNG (FONT 15.5PX - 16PX SÁNG ĐẸP)   */
/* ============================================================== */

body {
    background-color: #f8fafc !important;
    overflow-x: hidden !important;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-size: 15.5px;
    color: #334155;
    line-height: 1.6;
}

.home-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
}

/* ============================================================== */
/* MEGA HERO SECTION: BỐ CỤC 3 CỘT KHÓA CHIỀU CAO 410PX CHUẨN      */
/* ============================================================== */
.mega-hero-layout {
    display: grid;
    grid-template-columns: 290px 1fr 265px;
    gap: 14px;
    margin: 18px 0 16px;
    height: 410px; /* Khóa chiều cao cố định để 3 cột luôn bằng nhau tuyệt đối */
    box-sizing: border-box;
}

/* -------------------------------------------------------------- */
/* CỘT 1: SIDEBAR 7 DANH MỤC THOÁNG ĐÃNG, FONT 15PX RÕ NÉT        */
/* -------------------------------------------------------------- */
.hero-sidebar-nav {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.hero-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.hero-cat-list li {
    margin: 0;
    flex: 1;
    display: flex;
    border-bottom: 1px solid #f1f5f9;
}
.hero-cat-list li:last-child {
    border-bottom: none;
}

.hero-cat-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    width: 100%;
    text-decoration: none;
    transition: all 0.18s ease;
    border-left: 3.5px solid transparent;
    box-sizing: border-box;
}

.cat-item-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.cat-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

.cat-item-sub {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.25;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.hero-cat-list li a .arrow-ico {
    margin-left: auto;
    opacity: 0.35;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

/* HIỆU ỨNG HOVER & ACTIVE (CHỮ ĐỎ + VẠCH ĐỎ) */
.hero-cat-list li a:hover,
.hero-cat-list li.active a {
    background: #fef2f2;
    border-left-color: #e60012;
}

.hero-cat-list li a:hover .cat-item-title,
.hero-cat-list li.active a .cat-item-title {
    color: #e60012;
}

.hero-cat-list li a:hover .cat-item-icon,
.hero-cat-list li.active a .cat-item-icon {
    background: rgba(230, 0, 18, 0.1);
    color: #e60012;
}

.hero-cat-list li a:hover .arrow-ico,
.hero-cat-list li.active a .arrow-ico {
    opacity: 1;
    color: #e60012;
    transform: translateX(3px);
}

/* -------------------------------------------------------------- */
/* CỘT 2: SLIDER NỀN XANH BIỂN SÁNG CAO CẤP, HÌNH ẢNH DỊU MẮT    */
/* -------------------------------------------------------------- */
.hero-main-slider {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    box-sizing: border-box;
}

.slider-viewport {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    height: 100%;
}

.mega-slide {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    padding: 42px 42px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TONE MÀU NỀN MỚI: SÁNG, DỊU MẮT, KHÔNG BỊ TỐI */
.slide-srv {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
    color: #0f172a;
}

.slide-hw {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    color: #0f172a;
}

.slide-badge-pill {
    display: inline-block;
    padding: 5px 14px;
    background: #ffffff;
    border: 1px solid #fecaca;
    color: #e60012;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 14px;
    align-self: flex-start;
    box-shadow: 0 1px 3px rgba(230, 0, 18, 0.08);
}

.mega-slide h2 {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.32;
    margin: 0 0 12px;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.mega-slide p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 90%;
}

.slide-action-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero-hotline {
    padding: 11px 22px;
    background: #e60012;
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 14px rgba(230, 0, 18, 0.22);
}
.btn-hero-hotline:hover {
    background: #cc0010;
    transform: translateY(-1px);
}

.btn-hero-view {
    padding: 11px 20px;
    background: #ffffff;
    color: #0284c7;
    border: 1.5px solid #bae6fd;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    transition: all 0.15s ease;
}
.btn-hero-view:hover {
    background: #f0f9ff;
    border-color: #0284c7;
}

.mega-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #cbd5e1;
    color: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    z-index: 5;
    transition: all 0.15s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.mega-arrow:hover {
    background: #e60012;
    color: #ffffff;
    border-color: #e60012;
}
.mega-prev { left: 14px; }
.mega-next { right: 14px; }

.mega-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.mega-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}
.mega-dot.active {
    width: 24px;
    border-radius: 8px;
    background: #e60012;
}

/* -------------------------------------------------------------- */
/* CỘT 3: 2 BANNER PHỤ CÂN BẰNG CHIỀU CAO 410PX                   */
/* -------------------------------------------------------------- */
.hero-side-banners {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    box-sizing: border-box;
}

.side-banner-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    box-sizing: border-box;
}

.card-support {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border-color: #bbf7d0;
}

.card-hardware {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border-color: #bfdbfe;
}

.side-banner-tag {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    background: #16a34a;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.side-banner-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.4;
}

.side-banner-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 12px;
    line-height: 1.5;
}

.side-banner-btn {
    font-size: 13.5px;
    font-weight: 600;
    color: #0284c7;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s ease;
}
.side-banner-btn:hover {
    color: #0369a1;
}

/* -------------------------------------------------------------- */
/* HÀNG 4 BANNER MINI DƯỚI ĐÁY HERO (BOTTOM STRIP - NỀN TRẮNG)   */
/* -------------------------------------------------------------- */
.hero-bottom-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 38px;
}

.strip-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.strip-item:hover {
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(2, 132, 199, 0.08);
}

.strip-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.strip-text h4 {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    color: #0f172a;
}

.strip-text p {
    margin: 2px 0 0;
    font-size: 12.5px;
    color: #64748b;
}

/* ============================================================== */
/* TIÊU ĐỀ SECTION CHUNG VÀ CÁC CARD TRANG CHỦ                    */
/* ============================================================== */
.sec-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    gap: 10px;
}

.sec-tag {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.sec-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.sec-more-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.category-tabs-wrap {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.category-tabs-wrap::-webkit-scrollbar {
    display: none;
}

.cat-tab-btn {
    padding: 8px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}
.cat-tab-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}
.cat-tab-btn.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

/* LƯỚI DỊCH VỤ */
.grid-srv {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.srv-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.srv-card:hover {
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.08);
}

.srv-thumb {
    width: 100%;
    height: 160px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}
.srv-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.srv-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.srv-body h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.4;
}

.srv-body p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 0 16px;
    line-height: 1.5;
    flex: 1;
}

.srv-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

/* LƯỚI LINH KIỆN MÁY TÍNH */
.grid-hw {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 18px;
}

.hw-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
    position: relative;
}
.hw-card:hover {
    border-color: #0284c7;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.09);
}

.hw-thumb {
    width: 100%;
    height: 175px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-sizing: border-box;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}
.hw-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.hw-card:hover .hw-thumb img {
    transform: scale(1.05);
}

.hw-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hw-tag-header-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.hw-category-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    color: #e60012;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    padding: 3px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hw-sub-install-badge {
    font-size: 11px;
    color: #16a34a;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    padding: 3px 9px;
    border-radius: 6px;
    font-weight: 600;
}

.hw-card-title {
    margin: 0 0 12px;
    height: 44px;
}
.hw-card-title a {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}
.hw-card-title a:hover {
    color: #0284c7;
}

.hw-specs-list {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hw-spec-row {
    font-size: 13.5px;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.35;
}
.hw-spec-lbl {
    color: #64748b;
    white-space: nowrap;
    flex-shrink: 0;
}
.hw-spec-val {
    color: #0f172a;
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
}

.hw-bottom-row {
    margin-top: auto;
    border-top: 1px dashed #e2e8f0;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.hw-price-col {
    min-width: 0;
    flex: 1;
}
.hw-price-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: #e60012;
    line-height: 1.2;
    white-space: nowrap;
}

.hw-btn-action {
    padding: 8px 16px;
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.hw-btn-action:hover {
    background: #0369a1;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* KHỐI PHẦN MỀM & TIỆN ÍCH */
.section-software-wrapper {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 38px 0 46px;
    margin-bottom: 48px;
    position: relative;
    clear: both;
}

.grid-soft {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 18px;
}

.soft-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}
.soft-card:hover {
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.09);
}

.soft-top-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.soft-icon-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    object-fit: contain;
    padding: 4px;
    background: #ffffff;
    flex-shrink: 0;
}

.soft-brand-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #0284c7;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.soft-card-title {
    margin: 0 0 12px;
    height: 44px;
}
.soft-card-title a {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s;
}
.soft-card-title a:hover {
    color: #0284c7;
}

.soft-specs-list {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.soft-spec-row {
    font-size: 13.5px;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    line-height: 1.35;
}
.soft-spec-lbl {
    color: #64748b;
    white-space: nowrap;
    flex-shrink: 0;
}
.soft-spec-val {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.soft-bottom-row {
    margin-top: auto;
    border-top: 1px dashed #e2e8f0;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.soft-price-col {
    min-width: 0;
    flex: 1;
}
.soft-price-lbl {
    font-size: 11px;
    color: #64748b;
    display: block;
    margin-bottom: 1px;
}
.soft-price-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e60012;
    line-height: 1.2;
    white-space: nowrap;
}

.btn-buy-key {
    padding: 8px 16px;
    background: #0284c7;
    color: #ffffff;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    flex-shrink: 0;
}
.btn-buy-key:hover {
    background: #0369a1;
}

/* KHỐI PLUGIN & THEME */
.grid-plg {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.plg-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: all 0.2s ease;
}
.plg-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.plg-banner {
    position: relative;
    width: 100%;
    height: 140px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}
.plg-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plg-badge-type {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.plg-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.plg-card-title a {
    font-size: 14.5px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.plg-gift-box {
    font-size: 12.5px;
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.btn-plg-download {
    color: #16a34a;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
}

/* NÚT XEM THÊM */
.load-more-wrap {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 14px;
}

.btn-load-more {
    padding: 10px 24px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}
.btn-load-more:hover {
    border-color: #0284c7;
    color: #0284c7;
    background: #f0f9ff;
}

/* MODAL ĐẶT LỊCH VÀ THÔNG BÁO */
.home-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2600;
    padding: 16px;
    box-sizing: border-box;
}

.home-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 460px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.home-modal-header {
    background: #0f172a;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #e60012;
    color: #ffffff;
}
.home-modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}
.home-modal-close {
    cursor: pointer;
    color: #94a3b8;
    font-size: 20px;
    line-height: 1;
}

.home-modal-form {
    padding: 20px;
}
.home-form-group {
    margin-bottom: 12px;
}
.home-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}
.home-form-input,
.home-form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    background: #ffffff;
}
.home-form-input:focus,
.home-form-textarea:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.home-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}
.btn-home-cancel {
    padding: 9px 16px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
}
.btn-home-submit {
    padding: 9px 20px;
    background: #e60012;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.btn-home-submit:hover {
    background: #cc0010;
}

.home-success-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
    box-sizing: border-box;
}
.home-success-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.home-success-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 6px;
}
.home-success-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 18px;
}
.home-btn-zalo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px;
    background: #0068ff;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 8px;
    box-sizing: border-box;
    font-size: 14px;
}
.home-btn-close {
    width: 100%;
    padding: 10px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
}

/* ============================================================== */
/* RESPONSIVE TABLET & MOBILE                                     */
/* ============================================================== */
@media (max-width: 1080px) {
    .mega-hero-layout {
        grid-template-columns: 260px 1fr;
        height: auto;
    }
    .hero-side-banners {
        display: none;
    }
}

@media (max-width: 860px) {
    .home-container {
        padding: 0 10px !important;
    }
    .mega-hero-layout {
        grid-template-columns: 1fr !important;
        margin: 10px 0 14px !important;
        gap: 10px !important;
        height: auto !important;
    }
    .hero-sidebar-nav {
        border-radius: 12px;
        height: auto;
    }
    .hero-cat-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .hero-cat-list li {
        border-bottom: 1px solid #f1f5f9;
        border-right: 1px solid #f1f5f9;
    }
    .hero-cat-list li:nth-child(2n) {
        border-right: none;
    }
    .cat-item-icon {
        display: none;
    }
    .hero-cat-list li a .arrow-ico {
        display: none;
    }
    .hero-cat-list li a {
        padding: 12px 10px;
    }
    .cat-item-title {
        font-size: 13.5px;
    }
    .cat-item-sub {
        font-size: 11px;
    }
    .hero-main-slider {
        border-radius: 12px !important;
        min-height: 280px;
    }
    .mega-slide {
        padding: 26px 20px !important;
    }
    .mega-slide h2 {
        font-size: 1.35rem !important;
    }
    .mega-arrow {
        display: none !important;
    }
    .hero-side-banners {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        height: auto;
    }
    .hero-bottom-strip {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 !important;
        gap: 8px !important;
        margin-bottom: 24px !important;
    }
    .sec-header {
        margin-bottom: 14px !important;
    }
    .sec-title {
        font-size: 1.3rem !important;
    }
    .grid-srv,
    .grid-hw,
    .grid-soft,
    .grid-plg {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    .srv-thumb,
    .hw-thumb {
        height: 125px !important;
        padding: 8px !important;
        margin-bottom: 8px !important;
    }
    .plg-banner {
        height: 95px !important;
    }
    .srv-body,
    .hw-body,
    .soft-card,
    .plg-body {
        padding: 10px 8px !important;
    }
    .srv-body h3,
    .hw-card-title a,
    .soft-card-title a,
    .plg-card-title a {
        font-size: 13px !important;
        line-height: 1.35 !important;
    }
    .section-software-wrapper {
        padding: 24px 0 28px !important;
        margin-bottom: 28px !important;
    }
    .hw-card {
        padding: 10px 8px !important;
        border-radius: 12px !important;
    }
    .hw-tag-header-row {
        gap: 4px !important;
        margin-bottom: 6px !important;
    }
    .hw-category-tag,
    .hw-sub-install-badge {
        font-size: 10px !important;
        padding: 2px 5px !important;
    }
    .hw-card-title {
        height: 34px !important;
        margin-bottom: 6px !important;
    }
    .hw-spec-row.row-condition {
        display: none !important;
    }
    .hw-specs-list {
        padding: 6px 8px !important;
        margin-bottom: 8px !important;
    }
    .hw-spec-row {
        font-size: 11px !important;
    }
    .hw-bottom-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
        padding-top: 8px !important;
    }
    .hw-price-val {
        font-size: 14.5px !important;
        text-align: left !important;
    }
    .hw-btn-action {
        width: 100% !important;
        padding: 8px 4px !important;
        font-size: 12px !important;
        justify-content: center !important;
        border-radius: 8px !important;
    }
    .soft-card {
        padding: 10px 8px !important;
        border-radius: 12px !important;
    }
    .soft-top-bar {
        gap: 6px !important;
        margin-bottom: 6px !important;
    }
    .soft-icon-img {
        width: 34px !important;
        height: 34px !important;
        border-radius: 6px !important;
        padding: 2px !important;
    }
    .soft-brand-badge {
        font-size: 9.5px !important;
        padding: 2px 5px !important;
    }
    .soft-card-title {
        height: 34px !important;
        margin-bottom: 6px !important;
    }
    .soft-specs-list {
        padding: 6px 8px !important;
        margin-bottom: 8px !important;
        gap: 3px !important;
    }
    .soft-spec-row {
        font-size: 11px !important;
    }
    .soft-bottom-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
        padding-top: 8px !important;
    }
    .soft-price-lbl {
        display: none !important;
    }
    .soft-price-val {
        font-size: 14.5px !important;
        text-align: left !important;
    }
    .btn-buy-key {
        width: 100% !important;
        padding: 8px 4px !important;
        font-size: 12px !important;
        justify-content: center !important;
        border-radius: 8px !important;
    }
}
