/* ==========================================================================
   khomaucnc.vn - UI refresh (12/2026)
   File riêng, nạp SAU CÙNG. Muốn quay về giao diện cũ: bỏ enqueue 'bk-ui-refresh'
   trong functions.php (hoặc xóa file này).
   Chỉ chỉnh trình bày, không đổi chức năng.
   ========================================================================== */

:root {
    --bk-primary: #f05a22;
    --bk-primary-2: #f7892c;
    --bk-primary-dark: #c2410c;
    --bk-text: #1f2937;
    --bk-muted: #6b7280;
    --bk-border: #e8eaee;
    --bk-bg-soft: #f6f7f9;
    --bk-radius: 12px;
    --bk-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
    --bk-shadow-hover: 0 10px 24px rgba(16, 24, 40, .10), 0 2px 6px rgba(16, 24, 40, .06);
    --bk-green: #16a34a;
}

/* Khối xám lộ ra dưới footer ở các trang ngắn (đăng nhập, tài khoản...) */
html {
    background: #fff;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Tiêu đề khu vực: "Sản Phẩm Mới", "Xu Hướng Chọn Mua"... ---------- */
.section-title-main,
.header-title-home,
.title-home h2 {
    position: relative;
    letter-spacing: -.01em;
}

.section-title-normal .section-title-main {
    padding-left: 14px;
    border-bottom: 0;
}

.section-title-normal .section-title-main:before {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--bk-primary), var(--bk-primary-2));
}

/* ==========================================================================
   THẺ SẢN PHẨM (trang chủ, danh mục, sản phẩm tương tự)
   ========================================================================== */
.banve-home-list {
    display: flex;
}

.sp-banve-home,
.sp-sanphammoi-home {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid var(--bk-border);
    border-radius: var(--bk-radius) !important;
    box-shadow: var(--bk-shadow) !important;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sp-banve-home:hover,
.sp-sanphammoi-home:hover {
    transform: translateY(-3px);
    box-shadow: var(--bk-shadow-hover) !important;
    border-color: #f3c3ad;
}

.sp-banve-home > a,
.sp-sanphammoi-home > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

/* Ảnh: khung cố định 4:3, nền xám nhạt, ảnh "contain" -> mọi thẻ cao bằng nhau, không méo ảnh */
.sp-banve-home .product-thumbnail,
.sp-sanphammoi-home .product-thumbnail {
    height: auto !important;
    aspect-ratio: 4 / 3;
    background: var(--bk-bg-soft);
    border-radius: 0 !important;
    padding: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-banve-home .product-thumbnail img,
.sp-sanphammoi-home .product-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    transition: transform .3s ease;
}

.sp-banve-home:hover .product-thumbnail img,
.sp-sanphammoi-home:hover .product-thumbnail img {
    transform: scale(1.04);
}

.sp-banve-home .product-content,
.sp-sanphammoi-home .product-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 12px 14px 14px;
    text-align: left;
}

/* Tên mẫu: tối đa 2 dòng, chiều cao cố định -> giá luôn thẳng hàng */
.sp-banve-home .product-content h3,
.sp-sanphammoi-home .product-content h3 {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--bk-text);
    margin: 0 0 10px;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sp-banve-home:hover .product-content h3,
.sp-sanphammoi-home:hover .product-content h3 {
    color: var(--bk-primary-dark);
}

.sp-banve-home .price-wrapper,
.sp-sanphammoi-home .price-wrapper {
    margin-top: auto;
    font-size: 16px;
}

.gia-sanpham-home b {
    color: var(--bk-primary);
    font-weight: 700;
}

/* "Free" -> nhãn xanh */
.gia-lienhe-sp-home b,
.price-wrapper .gia-lienhe-sp-home b {
    display: inline-block;
    color: var(--bk-green);
    background: #dcfce7;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 13px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

/* Ô danh mục dạng slider trên trang chủ */
.box-category .box-image {
    border-radius: var(--bk-radius);
    overflow: hidden;
}

.box-category .box-image img {
    transition: transform .3s ease;
}

.box-category:hover .box-image img {
    transform: scale(1.05);
}

/* Phân trang */
.page-numbers li > a,
.page-numbers li > span,
.nav-pagination li > a,
.nav-pagination li > span {
    border-radius: 8px !important;
    min-width: 38px;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.page-numbers li > a:hover,
.nav-pagination li > a:hover {
    border-color: var(--bk-primary) !important;
    color: var(--bk-primary) !important;
}

/* ==========================================================================
   TRANG SẢN PHẨM
   ========================================================================== */
.download-body {
    border-radius: var(--bk-radius);
}

.download-body .btn-download {
    box-shadow: 0 6px 16px rgba(240, 90, 34, .28);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.download-body .btn-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(240, 90, 34, .35);
    filter: saturate(1.08);
}

.download-body .btn-download:active {
    transform: translateY(0);
}

/* ==========================================================================
   TRANG TÀI KHOẢN
   ========================================================================== */
/* 3 ô thống kê cao bằng nhau, bo góc, có viền màu */
.info-profile-dashboard {
    height: 100%;
}

.info-profile-dashboard .dashboard-stat {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
    height: 100%;
    padding: 16px 18px !important;
    background: #fff;
    border: 1px solid var(--bk-border);
    border-radius: var(--bk-radius);
    box-shadow: var(--bk-shadow);
    transition: transform .18s ease, box-shadow .18s ease;
    border-left: 4px solid var(--bk-primary);
}

.info-profile-dashboard .dashboard-stat.green {
    border-left-color: var(--bk-green);
}

.info-profile-dashboard .dashboard-stat.purple {
    border-left-color: #7c3aed;
}

.info-profile-dashboard .dashboard-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--bk-shadow-hover);
}

.info-profile-dashboard .visual-left i {
    font-size: 40px !important;
    color: #fde3d6 !important;
}

.info-profile-dashboard .dashboard-stat.green .visual-left i {
    color: #d1fae5 !important;
}

.info-profile-dashboard .dashboard-stat.purple .visual-left i {
    color: #ede9fe !important;
}

.info-profile-dashboard .details-right {
    text-align: right;
}

.info-profile-dashboard .details-right .number {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--bk-text) !important;
}

.info-profile-dashboard .details-right .desc {
    color: var(--bk-muted);
    font-size: 14px;
}

/* Số dư: nổi bật màu thương hiệu thay vì xám */
.us-page-profile .us-money,
.us-page-profile .us-span {
    background: linear-gradient(90deg, var(--bk-primary), var(--bk-primary-2)) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 4px 14px !important;
    box-shadow: 0 4px 12px rgba(240, 90, 34, .25);
}

/* Khung "Bình luận mới nhất", "GD bán mới nhất" */
.portlet.light.bordered {
    border: 1px solid var(--bk-border) !important;
    border-radius: var(--bk-radius);
    box-shadow: var(--bk-shadow);
}

/* Menu bên trái trang tài khoản */
.bk-sidebar .box-author,
.bk-sidebar .us-box {
    border-radius: var(--bk-radius);
    overflow: hidden;
}

/* ==========================================================================
   ĐĂNG NHẬP / ĐĂNG KÝ / POPUP
   ========================================================================== */
.login-area,
.thongtin-login {
    border-radius: var(--bk-radius);
    overflow: hidden;
}

.form-dang-nhap input[type="text"],
.form-dang-nhap input[type="email"],
.form-dang-nhap input[type="password"],
.woocommerce-form-login input.input-text,
.woocommerce-form-register input.input-text {
    border-radius: 8px !important;
    height: 44px;
    border-color: #d9dde3 !important;
    box-shadow: none !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form-dang-nhap input:focus,
.woocommerce-form-login input.input-text:focus,
.woocommerce-form-register input.input-text:focus {
    border-color: var(--bk-primary) !important;
    box-shadow: 0 0 0 3px rgba(240, 90, 34, .15) !important;
}

/* Thông báo SweetAlert (khi tải mẫu, hết lượt 10 mẫu/ngày...) */
.swal2-popup {
    border-radius: 16px !important;
    padding: 1.6em 1.4em !important;
}

.swal2-styled.swal2-confirm {
    background: linear-gradient(90deg, var(--bk-primary), var(--bk-primary-2)) !important;
    border-radius: 999px !important;
    padding: .6em 2em !important;
    box-shadow: 0 6px 16px rgba(240, 90, 34, .28) !important;
}

.swal2-html-container b {
    color: var(--bk-primary-dark);
}

/* Thông báo trong modal tải bản vẽ */
.modal-redirect .alert {
    border-radius: 10px;
    border: 0;
}

/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width: 549px) {
    .sp-banve-home .product-content,
    .sp-sanphammoi-home .product-content {
        padding: 10px;
    }

    .sp-banve-home .product-content h3,
    .sp-sanphammoi-home .product-content h3 {
        font-size: 13.5px;
    }

    .sp-banve-home .price-wrapper,
    .sp-sanphammoi-home .price-wrapper {
        font-size: 14.5px;
    }

    .sp-banve-home:hover,
    .sp-sanphammoi-home:hover {
        transform: none;
    }

    .info-profile-dashboard .dashboard-stat {
        min-height: 80px;
        margin-bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sp-banve-home,
    .sp-sanphammoi-home,
    .sp-banve-home .product-thumbnail img,
    .sp-sanphammoi-home .product-thumbnail img,
    .info-profile-dashboard .dashboard-stat {
        transition: none !important;
    }
}

/* ==========================================================================
   QUẢNG CÁO GOOGLE (Auto ads) - ô quảng cáo không có quảng cáo thì ẩn,
   tránh khoảng trắng ~300px giữa các khối (vd. dưới slider danh mục trang chủ).
   ========================================================================== */
ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

.google-auto-placed {
    margin: 12px auto !important;
}

/* ==========================================================================
   TRANG CHỦ - 3 nút "Hướng dẫn nạp tiền / Video / Vẽ mẫu theo yêu cầu"
   ========================================================================== */
.section .button.is-large.expand[style*="border-radius:99px"] {
    background-image: none !important;
    box-shadow: 0 6px 16px rgba(16, 24, 40, .12) !important;
    letter-spacing: .02em;
    font-weight: 700;
    min-height: 50px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.section .button.secondary.is-large.expand[style*="border-radius:99px"] {
    background: linear-gradient(90deg, var(--bk-primary), var(--bk-primary-2)) !important;
}

.section .button.primary.is-large.expand[style*="border-radius:99px"] {
    background: linear-gradient(90deg, #334d7a, #4a6aa5) !important;
}

.section .button.is-large.expand[style*="border-radius:99px"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(16, 24, 40, .18) !important;
    filter: saturate(1.08);
}

.section .button.is-gloss[style*="border-radius:99px"]:after,
.section .button.is-bevel[style*="border-radius:99px"]:after {
    display: none !important;
}

/* ==========================================================================
   TRANG CHỦ - slider danh mục (Mâm trần, Tranh cá, Bàn ghế...)
   ========================================================================== */
.home-sec1 .row-slider {
    padding-bottom: 30px;
}

.home-sec1 .product-category {
    padding-top: 6px !important;
    padding-bottom: 10px !important;
}

/* Bỏ bóng xám đậm + viền dưới của Flatsome */
.home-sec1 .product-category .col-inner,
.home-sec1 .has-shadow .col-inner {
    box-shadow: none !important;
    background: transparent !important;
}

.home-sec1 .box-category {
    background: #fff;
    border: 1px solid var(--bk-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--bk-shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-sec1 .box-category:hover {
    transform: translateY(-3px);
    box-shadow: var(--bk-shadow-hover);
    border-color: #f3c3ad;
}

/* Ảnh vuông, phủ kín khung -> các ô đều nhau, không còn ô ảnh lửng lơ */
.home-sec1 .box-category .box-image {
    border-radius: 0 !important;
    aspect-ratio: 1 / 1;
    background: var(--bk-bg-soft);
}

.home-sec1 .box-category .box-image > div,
.home-sec1 .box-category .box-image img {
    width: 100% !important;
    height: 100% !important;
}

.home-sec1 .box-category .box-image img {
    object-fit: cover;
    transition: transform .35s ease;
}

.home-sec1 .box-category:hover .box-image img {
    transform: scale(1.06);
}

.home-sec1 .box-category .box-text {
    padding: 12px 8px 14px !important;
    background: #fff !important;
}

.home-sec1 .box-category .header-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--bk-text) !important;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-sec1 .box-category:hover .header-title {
    color: var(--bk-primary-dark) !important;
}

.home-sec1 .box-category .count {
    display: inline-block;
    background: #fff1ea;
    color: var(--bk-primary-dark) !important;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 600;
    opacity: 1 !important;
}

/* Chấm phân trang nằm dưới các ô thay vì đè lên */
.home-sec1 .flickity-page-dots {
    bottom: 2px !important;
}

.home-sec1 .flickity-page-dots .dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border: 0;
    background: #d6d9de;
    opacity: 1;
    transition: width .2s ease, background-color .2s ease;
}

.home-sec1 .flickity-page-dots .dot.is-selected {
    width: 22px;
    border-radius: 99px;
    background: var(--bk-primary);
}

/* ==========================================================================
   POPUP MUA / TẢI BẢN VẼ
   ========================================================================== */
.modal-download.bk-buy {
    border-radius: 16px;
    overflow: hidden;
    color: var(--bk-text);
    box-shadow: 0 24px 60px rgba(16, 24, 40, .25);
}

.bk-buy .modal-title {
    background: linear-gradient(120deg, var(--bk-primary), var(--bk-primary-2));
    padding: 18px 22px 16px;
    text-align: center;
}

.bk-buy .modal-title h3 {
    font-size: 18px !important;
    letter-spacing: .04em;
}

.bk-buy__item {
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bk-buy .modal-body {
    padding: 18px 22px 8px;
}

.bk-buy__user {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left !important;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--bk-border);
}

.bk-buy__avatar {
    flex: 0 0 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff1ea;
    color: var(--bk-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.bk-buy__who {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.35;
}

.bk-buy__who b {
    font-size: 15px;
}

.bk-buy__who small {
    color: var(--bk-muted);
    font-size: 12.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bk-buy__bill {
    margin: 14px 0 0;
    background: var(--bk-bg-soft);
    border-radius: 12px;
    padding: 6px 16px;
    font-size: 15px !important;
}

.bk-buy__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
}

.bk-buy__row + .bk-buy__row {
    border-top: 1px solid #eceef1;
}

.bk-buy__row span {
    color: var(--bk-muted);
}

.bk-buy__row b {
    font-size: 16px;
    white-space: nowrap;
}

.bk-buy__row--total b {
    font-size: 18px;
    color: var(--bk-text);
}

.bk-buy__row s {
    color: var(--bk-muted);
    font-weight: 400;
    margin-right: 4px;
}

.bk-buy__zero {
    font-style: normal;
    color: var(--bk-green);
}

.bk-buy__quota {
    margin-top: 12px;
    font-size: 13px;
}

.bk-buy__quota-text {
    display: flex;
    justify-content: space-between;
    color: var(--bk-muted);
    margin-bottom: 6px;
}

.bk-buy__quota-text b {
    color: var(--bk-text);
}

.bk-buy__quota-bar {
    height: 6px;
    border-radius: 99px;
    background: #eceef1;
    overflow: hidden;
}

.bk-buy__quota-bar i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--bk-green), #4ade80);
}

.bk-buy--limit .bk-buy__quota-bar i {
    background: linear-gradient(90deg, #dc2626, #f87171);
}

.bk-buy .bk-buy__note {
    font-size: 14.5px !important;
    line-height: 1.55;
    padding: 14px 4px 6px !important;
    color: var(--bk-text) !important;
}

.bk-buy--poor .bk-buy__note,
.bk-buy--limit .bk-buy__note,
.bk-buy--error .bk-buy__note {
    color: #b91c1c !important;
}

.bk-buy--owned .bk-buy__note,
.bk-buy--author .bk-buy__note {
    color: #15803d !important;
}

.bk-buy__actions {
    padding: 6px 0 14px;
}

.bk-buy .modal-button a.bk-buy-btn,
.bk-buy .modal-button a#downloadBST {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 360px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(90deg, var(--bk-primary), var(--bk-primary-2));
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    box-shadow: 0 8px 20px rgba(240, 90, 34, .3);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.bk-buy .modal-button a.bk-buy-btn--topup {
    background: linear-gradient(90deg, #16a34a, #22c55e);
    box-shadow: 0 8px 20px rgba(22, 163, 74, .3);
}

.bk-buy .modal-button a.bk-buy-btn:hover,
.bk-buy .modal-button a#downloadBST:hover {
    transform: translateY(-1px);
    filter: saturate(1.1);
}

.bk-buy .modal-button a.is-loading {
    pointer-events: none;
    opacity: .75;
}

.bk-alert {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
}

.bk-alert--success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.bk-alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.bk-alert--info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.bk-alert a {
    font-weight: 600;
    text-decoration: underline;
}

.bk-buy .modal-button a.bk-open-link,
a.bk-open-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #16a34a;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
}

.bk-buy .modal-button a.bk-open-link:hover,
a.bk-open-link:hover {
    background: #15803d;
}

.bk-buy__footer {
    background: var(--bk-bg-soft);
    color: var(--bk-muted);
    text-align: center;
    padding: 12px;
    font-size: 13.5px;
}

.bk-buy__footer a {
    color: var(--bk-primary-dark);
    font-weight: 600;
}

/* Popup lightbox Flatsome rộng 45% -> trên màn nhỏ cho rộng hơn */
@media (max-width: 849px) {
    #download.lightbox-content,
    .lightbox-content#download {
        width: 94% !important;
        max-width: 520px;
    }
}

@media (max-width: 549px) {
    .bk-buy .modal-body {
        padding: 14px 14px 6px;
    }

    .bk-buy__row b {
        font-size: 15px;
    }

    .home-sec1 .box-category .header-title {
        font-size: 12.5px;
    }
}

.bk-buy .modal-button a.bk-open-link {
    background: #16a34a !important;
    box-shadow: 0 6px 14px rgba(22, 163, 74, .28);
    width: auto;
    min-height: 0;
    font-size: 14.5px;
}

.bk-buy.is-done .bk-buy__bill,
.bk-buy.is-done .bk-buy__quota,
.bk-buy.is-done .bk-buy__note {
    display: none;
}

/* Khung trắng vuông của lightbox Flatsome lộ ra sau góc bo của popup */
.mfp-content .lightbox-content:has(.bk-buy) {
    background: transparent !important;
    box-shadow: none !important;
}

.bk-buy .modal-button a.bk-open-link {
    padding: 9px 18px !important;
    line-height: 1.3 !important;
    height: auto !important;
    border-radius: 999px !important;
    text-decoration: none !important;
}

/* Tiêu đề khu vực: chừa chỗ cho vạch màu (CSS cũ ghi đè padding) */
.section-title-normal .section-title-main {
    padding-left: 14px !important;
    display: inline-block;
}

/* Chấm slider danh mục: chỉ 1 kiểu nổi bật */
.home-sec1 .flickity-page-dots .dot {
    opacity: 1 !important;
    background: #d6d9de !important;
}

.home-sec1 .flickity-page-dots .dot.is-selected {
    background: var(--bk-primary) !important;
}

/* Khung bọc ô thống kê cũ có nền + padding riêng -> các ô lệch nhau trên mobile */
.info-profile-dashboard {
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

/* giang-nt.css có class chung ".green { margin-left: 20px }" làm ô "Lượt bán" bị thụt vào */
.info-profile-dashboard .dashboard-stat {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ==========================================================================
   TRANG SẢN PHẨM - chi tiết
   ========================================================================== */
/* Thông tin file: dạng bảng gọn */
.product-info .show-thongtin-file {
    background: #fff;
    border: 1px solid var(--bk-border);
    border-radius: var(--bk-radius);
    padding: 4px 16px;
    box-shadow: var(--bk-shadow);
}

.product-info .danh-muc-thongtin {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    margin: 0 !important;
    font-size: 15px;
    line-height: 1.4;
}

.product-info .danh-muc-thongtin + .danh-muc-thongtin {
    border-top: 1px dashed #eceef1;
}

.product-info .danh-muc-thongtin img {
    width: 22px;
    height: 22px;
    opacity: .75;
    margin: 0 !important;
}

.product-info .danh-muc-thongtin b {
    font-weight: 500;
    color: var(--bk-muted);
    white-space: nowrap;
}

.product-info .danh-muc-thongtin span {
    margin-left: auto;
    font-weight: 600;
    color: var(--bk-text);
    text-align: right;
    word-break: break-word;
}

/* "Công cụ": checkbox chỉ để xem -> hiển thị thành nhãn, phần mềm dùng được thì nổi bật */
.list-congcu h3 {
    font-size: 16px !important;
    margin: 18px 0 10px !important;
}

.list-congcu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
}

.list-congcu ul li {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
}

.list-congcu ul li input[type="checkbox"] {
    display: none !important;
}

.list-congcu ul li label {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 5px 12px !important;
    border-radius: 999px;
    border: 1px solid var(--bk-border);
    background: var(--bk-bg-soft);
    color: #9aa1ab !important;
    font-size: 13.5px !important;
    font-weight: 500;
    cursor: default;
}

.list-congcu ul li input:checked + label {
    background: #fff1ea;
    border-color: #f9c4ab;
    color: var(--bk-primary-dark) !important;
    font-weight: 600;
}

.list-congcu ul li input:checked + label:before {
    content: "\f00c"; /* fa-check */
    font-family: FontAwesome;
    font-size: 12px;
}

/* Hộp "Phí download" bên phải: bám theo khi cuộn, bo góc */
@media (min-width: 850px) {
    #product-sidebar {
        position: sticky;
        top: 16px;
    }
}

.product-download {
    border-radius: var(--bk-radius);
    overflow: hidden;
    box-shadow: var(--bk-shadow) !important;
    border: 1px solid var(--bk-border);
}

.product-download .product-line {
    height: 4px !important;
    background: linear-gradient(90deg, var(--bk-primary), var(--bk-primary-2)) !important;
}

.product-download .download-body h3 {
    color: var(--bk-muted) !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.product-download .download-price .gia-sanpham-home b {
    font-size: 34px;
    letter-spacing: -.01em;
}

/* Nút "Link download dự phòng" không có chức năng (chưa có xử lý) -> ẩn để khách khỏi bấm nhầm */
.product-download .download-btn a.link {
    display: none !important;
}

.product-download a.btn-like,
.product-download a.btn-remove-like {
    background: #fff !important;
    border: 1px solid var(--bk-border) !important;
    color: var(--bk-text) !important;
    box-shadow: none !important;
    transition: border-color .15s ease, color .15s ease;
}

.product-download a.btn-like:hover,
.product-download a.btn-remove-like:hover {
    border-color: var(--bk-primary) !important;
    color: var(--bk-primary) !important;
}

.product-download a.btn-like i {
    color: #e11d48;
}

/* Hộp "Người đăng" */
.box-author-product {
    border-radius: var(--bk-radius);
    overflow: hidden;
    border: 1px solid var(--bk-border);
    box-shadow: var(--bk-shadow) !important;
}

/* Tiêu đề sản phẩm + mã bản vẽ */
.product-title h1,
.product-header h1 {
    letter-spacing: -.01em;
}

/* =====================================================================
   POPUP NẠP TIỀN (#naptien) – 12/2026
   Header dạng thẻ (avatar · tên · số dư), mức nạp dạng ô chọn (grid),
   nút thanh toán nổi bật, hướng dẫn = link phụ, hotline = thẻ nhỏ.
   ===================================================================== */
#naptien.lightbox-content { max-width: 720px !important; width: 100%; border-radius: 16px; overflow: hidden; padding: 0 !important; }
#naptien .naptien-area { background: #fff; color: #1f2937; }
#naptien .naptien-title { display: block; padding: 22px 24px 18px; background: linear-gradient(135deg, #fff5ef 0%, #fff 70%); border-bottom: 1px solid #f1e4dc; }
#naptien .naptien-title h3 { font-size: 19px; font-weight: 800; letter-spacing: .2px; color: #111827; margin: 0 0 14px !important; padding-right: 30px; }
#naptien .naptien-user { display: flex; align-items: center; gap: 12px; }
#naptien .naptien-user__avatar img { width: 44px; height: 44px; border-radius: 50%; display: block; box-shadow: 0 0 0 3px #fff, 0 0 0 4px #f4c7ae; }
#naptien .naptien-user__info { flex: 1; min-width: 0; line-height: 1.35; }
#naptien .naptien-user__info b { display: block; font-size: 15px; color: #111827; }
#naptien .naptien-user__info small { display: block; font-size: 12.5px; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#naptien .naptien-user__money { text-align: right; background: #fff; border: 1px solid #d9f0c4; border-radius: 12px; padding: 6px 14px; line-height: 1.25; }
#naptien .naptien-user__money small { display: block; font-size: 11.5px; color: #6b7280; }
#naptien .naptien-user__money b { font-size: 18px; color: #4d9a0c !important; margin: 0 !important; }

/* Tabs phương thức */
#naptien .bk-payment-tab { background: none !important; padding: 16px 24px 0 !important; }
#naptien .bk-payment-tab ul { gap: 8px; flex-wrap: wrap; border-bottom: 1px solid #eee; padding-bottom: 12px; }
#naptien .bk-payment-tab ul li { padding: 0 !important; border-radius: 99px !important; background: #f3f4f6; }
#naptien .bk-payment-tab ul li a { display: block; padding: 7px 16px; font-size: 13px; color: #374151; letter-spacing: .3px; }
#naptien .bk-payment-tab ul li.active { background: linear-gradient(90deg, #ef4318, #f17828); box-shadow: 0 4px 12px rgba(239, 67, 24, .25); }
#naptien .bk-payment-tab ul li.active a { color: #fff; }
#naptien .bk-payment-panel { padding: 18px 24px 24px; }

/* Tab VNPAY */
#naptien .vapy_shome_lk { margin: 0 !important; display: flex; flex-wrap: wrap; gap: 18px; align-items: stretch; }
#naptien .vapy_shome_lk > .col { padding: 0 !important; }
#naptien .vapy_shome_lk > .col:first-child { flex: 1 1 360px; max-width: none; }
#naptien .vapy_shome_lk > .col:last-child { flex: 0 1 220px; max-width: none; display: flex; flex-direction: column; gap: 12px; }
#naptien .bg-pop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
#naptien .bg-pop > div { display: block; margin: 0; position: relative; }
#naptien .bg-pop > .note, #naptien .bg-pop > div:last-child { grid-column: 1 / -1; }
#naptien .bg-pop .note b { margin: 0; color: #374151; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
#naptien .bg-pop input[type="radio"] { position: absolute !important; opacity: 0; width: 1px !important; height: 1px !important; pointer-events: none; }
#naptien .bg-pop input[type="radio"] + label {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    margin: 0 !important; padding: 12px 6px; min-height: 64px; border: 1.5px solid #e5e7eb; border-radius: 12px;
    background: #fff; font-size: 12px; color: #6b7280; font-weight: 500; text-align: center; transition: all .15s ease; user-select: none;
}
#naptien .bg-pop input[type="radio"] + label b { font-size: 17px; color: #111827; font-weight: 800; }
#naptien .bg-pop input[type="radio"] + label:hover { border-color: #f6a57d; background: #fffaf6; }
#naptien .bg-pop input[type="radio"]:checked + label { border-color: #ef4318; background: #fff3ec; box-shadow: 0 0 0 3px rgba(239, 67, 24, .12); color: #c2410c; }
#naptien .bg-pop input[type="radio"]:checked + label b { color: #ef4318; }
#naptien .bg-pop input[type="radio"]:checked + label::after {
    content: "\f00c"; font-family: FontAwesome; position: absolute; top: 6px; right: 8px; width: 18px; height: 18px; line-height: 18px;
    border-radius: 50%; background: #ef4318; color: #fff; font-size: 10px; text-align: center;
}
#naptien .bg-pop input[type="radio"]:focus-visible + label { outline: 2px solid #ef4318; outline-offset: 2px; }
#naptien #btnPayment {
    display: block; width: 100%; margin: 6px 0 0 !important; padding: 0 16px; text-align: center; font-weight: 700; font-size: 16px !important;
    line-height: 50px !important; border-radius: 12px; box-shadow: 0 8px 20px rgba(239, 67, 24, .28);
}
#naptien #btnPayment:hover { filter: brightness(1.05); transform: translateY(-1px); }
#naptien #btnPayment.is-loading { opacity: .75; cursor: wait; transform: none; }
#naptien #btnPayment::after { content: " \f105"; font-family: FontAwesome; margin-left: 6px; }
#naptien #btnPayment.is-loading::after { content: none; }
#naptien .bk-topup-msg { grid-column: 1 / -1; margin: 4px 0 0; }

#naptien .bg-popss { margin: 0; }
#naptien a.naptien-guide {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px dashed #f6b08c; border-radius: 12px;
    background: #fffaf6; color: #c2410c; font-weight: 600; font-size: 13.5px; line-height: 1.35; text-decoration: none;
}
#naptien a.naptien-guide:first-letter { text-transform: uppercase; }
#naptien a.naptien-guide .fa { font-size: 18px; color: #ef4318; }
#naptien a.naptien-guide:hover { background: #fff1e8; border-style: solid; }
#naptien .bg_popss_hotl { flex: 1; display: flex; }
#naptien .bg_popss_hotl ul { margin: 0; padding: 0; width: 100%; display: flex; }
#naptien .bg_popss_hotl li {
    width: 100%; margin: 0 !important; padding: 14px; border-radius: 12px; background: #f9fafb; border: 1px solid #eef0f3;
    font-size: 12px; font-weight: 600; letter-spacing: .3px; color: #6b7280; text-transform: uppercase; line-height: 1.5;
    display: flex; flex-direction: column; justify-content: center; text-align: center;
}
#naptien .bg_popss_hotl li br { display: none; }
#naptien .bg_popss_hotl li a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; font-size: 20px; color: #ef4318; letter-spacing: .5px; }
#naptien .bg_popss_hotl li a::before { content: "\f095"; font-family: FontAwesome; font-size: 16px; }

/* Chưa đăng nhập */
.thongbao-tknoptien { padding: 28px 24px; text-align: center; font-size: 15px; color: #374151; line-height: 2; }
.thongbao-tknoptien a { font-weight: 700; color: #ef4318; }

@media (max-width: 549px) {
    #naptien .naptien-title { padding: 18px 16px 14px; }
    #naptien .naptien-user { flex-wrap: wrap; }
    #naptien .naptien-user__money { flex: 1 1 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; }
    #naptien .bk-payment-tab { padding: 12px 16px 0 !important; }
    #naptien .bk-payment-panel { padding: 14px 16px 18px; }
    #naptien .bg-pop input[type="radio"] + label b { font-size: 15px; }
    #naptien .vapy_shome_lk > .col:last-child { flex-basis: 100%; }
}

/* ===== Fix 12/2026: tiêu đề danh mục trang chủ bị mảnh/xám (main-home.css đặt font-weight:100)
   và hover-invert của Flatsome làm chữ trắng khó đọc khi rê chuột ===== */
.home-sec1 .box-category .box-text.show-on-hover,
.home-sec1 .box-category:hover .box-text.show-on-hover {
    opacity: 1 !important; transform: none !important; background: #fff !important; position: relative !important;
}
.home-sec1 .box-category .box-text.hover-invert h5.uppercase.header-title,
.home-sec1 .box-category .box-text h5.header-title {
    font-weight: 700 !important; font-size: 14.5px !important; color: #1f2937 !important; letter-spacing: .02em;
    height: auto !important; line-height: 1.35 !important; margin: 2px 0 8px !important; transition: color .15s ease;
}
.home-sec1 .box-category:hover .box-text.hover-invert h5.header-title { color: #ef4318 !important; }
.home-sec1 .box-category .box-text.hover-invert .count { color: #c2410c !important; background: #fff1ea !important; font-weight: 700; letter-spacing: .03em; }
.home-sec1 .box-category:hover .box-text.hover-invert .count { background: #ef4318 !important; color: #fff !important; }
.home-sec1 .box-category { border: 1px solid #eef0f3; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.home-sec1 .box-category:hover { border-color: #f6b08c; box-shadow: 0 10px 24px rgba(239, 67, 24, .14); transform: translateY(-3px); }
.home-sec1 .box-category .box-image .overlay, .home-sec1 .box-category .box-image::after { display: none !important; }
@media (max-width: 549px) {
    .home-sec1 .box-category .box-text h5.header-title { font-size: 13px !important; }
}

/* ===== Fix 12/2026: nút DOWNLOAD NGAY và LƯU VÀO YÊU THÍCH dính vào nhau ===== */
.product-download .download-btn { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.product-download .download-btn > a { margin: 0 !important; }
.product-download .download-btn a.btn-download { margin-bottom: 0 !important; }
.product-download .download-link { margin-top: 14px; }
.product-download .download-body { padding: 20px 22px 18px !important; }
.product-download .download-price { margin: 6px 0 18px !important; }
.product-download .download-price p { margin: 0 !important; }
.product-download .download-btn > a { width: 100% !important; box-sizing: border-box; text-align: center; border-radius: 12px !important; }
.product-download a.btn-download { line-height: 50px !important; height: auto !important; font-size: 16px !important; }
.product-download a.btn-like, .product-download a.btn-remove-like { line-height: 44px !important; height: auto !important; font-size: 14px !important; font-weight: 600; }
#naptien .bg_popss_hotl li a { display: block; font-size: 17px; line-height: 1.5; }
#naptien .bg_popss_hotl li a::before { display: block; margin: 0 auto 4px; width: 34px; height: 34px; line-height: 34px; border-radius: 50%; background: #fff1ea; }

/* =====================================================================
   POPUP / TRANG ĐĂNG NHẬP – 12/2026
   ===================================================================== */
#dangnhap.lightbox-content { max-width: 440px !important; width: 100%; padding: 0 !important; border-radius: 16px; overflow: hidden; }
.login-area .thongtin-login { background: #fff; border-radius: 16px; }
.login-area .top-dangnhap h3 {
    background: linear-gradient(135deg, #fff5ef 0%, #fff 75%) !important; color: #111827 !important; font-weight: 800 !important;
    font-size: 21px !important; text-transform: none; text-align: left; padding: 24px 28px 4px !important; letter-spacing: 0;
}
.login-area .top-dangnhap h3::after { content: "Đăng nhập để tải mẫu, nạp tiền và quản lý bản vẽ của bạn."; display: block; margin-top: 4px; font-size: 13.5px; font-weight: 400; color: #6b7280; }
.login-area .top-dangnhap { background: linear-gradient(135deg, #fff5ef 0%, #fff 75%); }

/* Đăng nhập nhanh Facebook / Google */
.login-area .login-speend { background: linear-gradient(135deg, #fff5ef 0%, #fff 75%) !important; padding: 14px 28px 18px !important; display: block; }
.login-area .login-speend .wp-social-login-provider-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; padding: 0 !important; }
.login-area .login-speend .wp-social-login-provider-list::before { display: none !important; }
.login-area .wp-social-login-provider-list a {
    width: auto !important; display: flex !important; align-items: center; justify-content: center; gap: 8px; height: 44px; margin: 0 !important;
    border: 1.5px solid #e5e7eb; border-radius: 10px; background: #fff; color: #1f2937; font-weight: 600; font-size: 14px; text-decoration: none; transition: all .15s ease;
}
.login-area .wp-social-login-provider-list a img { width: 22px !important; height: 22px !important; border-radius: 4px; }
.login-area .wp-social-login-provider-list a.wp-social-login-provider-facebook::after { content: "Facebook"; }
.login-area .wp-social-login-provider-list a.wp-social-login-provider-google::after { content: "Google"; }
.login-area .wp-social-login-provider-list a:hover { border-color: #f6a57d; background: #fffaf6; transform: translateY(-1px); }
.login-area .wp-social-login-widget-clearing { display: none; }

/* Form */
.login-area .form-dang-nhap { padding: 4px 28px 22px !important; position: relative; }
.login-area .form-dang-nhap::before {
    content: "hoặc đăng nhập bằng tài khoản"; display: block; text-align: center; font-size: 12.5px; color: #9ca3af; margin: 6px 0 16px;
    background: linear-gradient(#eceef1, #eceef1) left center / 22% 1px no-repeat, linear-gradient(#eceef1, #eceef1) right center / 22% 1px no-repeat;
}
.login-area .form-dang-nhap p { margin-bottom: 14px; }
.login-area .form-dang-nhap label { display: block; margin: 0 0 6px !important; padding: 0 !important; width: auto !important; font-size: 13.5px; font-weight: 600; color: #374151; }
.login-area .form-dang-nhap label b { color: #ef4318 !important; }
.login-area .form-dang-nhap input.input-login { width: 100%; height: 46px !important; margin: 0 !important; font-size: 15px; padding: 0 14px; background: #fff; }
.login-area .login-remember { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 16px; font-size: 14px; }
.login-area .login-remember__check { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; font-weight: 500 !important; color: #374151; cursor: pointer; }
.login-area .login-remember__check input { margin: 0 !important; width: 16px; height: 16px; accent-color: #ef4318; }
.login-area .login-remember a { color: #ef4318; font-weight: 500; }
.login-area .login-captcha { display: flex; justify-content: center; margin: 0 0 16px; min-height: 0; }
.login-area p.login-submit { margin: 0 0 14px !important; }
.login-area p.login-submit input#wp-submit {
    display: block; width: 100%; height: 48px; margin: 0 !important; border: 0; border-radius: 12px !important; font-size: 16px !important; font-weight: 700;
    text-transform: none; background: linear-gradient(90deg, #ef4318, #f17828) !important; color: #fff; box-shadow: 0 8px 20px rgba(239, 67, 24, .26);
}
.login-area p.login-submit input#wp-submit:hover { filter: brightness(1.05); }
.login-area p.form-text { margin: 0 !important; padding-top: 14px; border-top: 1px solid #f0f1f3; font-size: 14px !important; color: #6b7280 !important; }
.login-area p.form-text a { font-weight: 700; }
.login-area .alert { border-radius: 10px; font-size: 14px; }
@media (max-width: 549px) {
    .login-area .top-dangnhap h3 { padding: 20px 18px 4px !important; }
    .login-area .login-speend { padding: 12px 18px 14px !important; }
    .login-area .form-dang-nhap { padding: 4px 18px 18px !important; }
}

/* =====================================================================
   HEADER – 12/2026: khối tài khoản gọn (avatar trái, tên + mã TV + số dư),
   thông báo dạng chuông + badge, Thoát là link phụ, 2 nút trên thanh menu đồng bộ.
   ===================================================================== */
.header-home-acount ul { gap: 6px; margin: 0; }
.header-home-acount > ul > li { padding-right: 0 !important; }
.header-home-acount a.account-link {
    display: flex !important; flex-direction: row-reverse; align-items: center; gap: 10px; padding: 4px 14px 4px 4px;
    border: 1px solid #eef0f3; border-radius: 99px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.header-home-acount a.account-link:hover { border-color: #f6b08c; box-shadow: 0 4px 14px rgba(239, 67, 24, .12); }
.header-home-acount .account-header-avatar { float: none !important; display: block; line-height: 0; }
.header-home-acount .account-header-avatar img { margin: 0 !important; width: 40px !important; height: 40px !important; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #f4c7ae; }
.header-home-acount .account-header-name { float: none !important; padding: 0 !important; line-height: 1.25; }
.header-home-acount .account-header-name h5 { font-size: 14px; font-weight: 700; color: #111827; max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none; }
.header-home-acount .account-header-name p { margin: 2px 0 0 !important; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #6b7280; white-space: nowrap; }
.header-home-acount .account-header-name .acc-money { color: #ef4318; font-weight: 700; font-size: 13.5px; }
.header-home-acount .account-header-name .acc-money sup { font-size: 9px; }

/* Thông báo */
.header-home-acount li.notification > a {
    display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 99px; font-size: 14px; color: #374151; transition: background .15s ease;
}
.header-home-acount li.notification > a:hover { background: #f5f6f8; }
.header-home-acount li.notification > a > i { color: #6b7280 !important; font-size: 17px; }
.header-home-acount .notification-alert.alert-2 {
    height: 20px; line-height: 20px; padding: 0 7px; border-radius: 99px; font-size: 11.5px; min-width: 20px;
    background: #ef4318 !important; color: #fff; box-shadow: 0 2px 6px rgba(239, 67, 24, .3);
}

/* Thoát */
.header-home-acount a.logout { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 10px; border-radius: 99px; font-size: 14px; color: #6b7280 !important; }
.header-home-acount a.logout i { color: inherit !important; }
.header-home-acount a.logout:hover { color: #ef4318 !important; background: #fff1ea; }

/* Nạp tiền (nút chính) */
a.naptien { line-height: 42px !important; padding: 0 20px !important; border-radius: 99px !important; font-weight: 700; box-shadow: 0 6px 16px rgba(239, 67, 24, .28) !important; }
a.naptien i { color: #fff !important; margin-right: 4px; }
a.naptien:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* Khách: Đăng nhập / Đăng ký */
.header-home-top ul { display: flex; align-items: center; gap: 4px; margin: 0; }
.header-home-top ul li a.dangnhap, .header-home-top ul li a.dangky { display: inline-block; line-height: 40px; padding: 0 14px; border-radius: 99px; font-weight: 600; font-size: 14.5px; color: #374151; }
.header-home-top ul li a.dangnhap:hover { background: #f5f6f8; }
.header-home-top ul li a.dangky { border: 1.5px solid #f6b08c; color: #ef4318; line-height: 37px; margin-right: 6px; }
.header-home-top ul li a.dangky:hover { background: #fff1ea; }

/* Thanh menu: 2 nút phải cùng kiểu (nền trắng mờ trên thanh cam) */
a.bosuutap-top, a.dangbaiviet-top {
    background: rgba(255, 255, 255, .14) !important; border: 1px solid rgba(255, 255, 255, .35); box-shadow: none !important;
    line-height: 32px !important; padding: 0 16px !important; font-size: 13.5px !important; font-weight: 700; letter-spacing: .02em;
}
a.dangbaiviet-top { background: #fff !important; color: #c2410c !important; border-color: #fff; }
a.bosuutap-top:hover { background: rgba(255, 255, 255, .26) !important; }
a.dangbaiviet-top:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, .15) !important; }
a.bosuutap-top i, a.dangbaiviet-top i { margin-right: 4px; }
.login-area .wp-social-login-provider-list a::after { content: none !important; }
.login-area .wp-social-login-provider-list a i { font-size: 18px; width: 22px; text-align: center; }
.login-area .wp-social-login-provider-list a.wp-social-login-provider-facebook i { color: #1877f2; }
.login-area .wp-social-login-provider-list a.wp-social-login-provider-google i { color: #ea4335; }
/* Header: tên dài / số dư không xuống dòng, khoảng cách mã TV - số dư */
.header-home-acount .account-header-name .acc-id { color: #9ca3af; }

/* =====================================================================
   MENU DANH MỤC DỌC + BANNER TRANG CHỦ – 12/2026
   ===================================================================== */
#mega-menu-title { font-weight: 700; letter-spacing: .02em; }
ul#mega_menu {
    background: #fff !important; border-radius: 0 0 14px 14px; overflow: visible; padding: 6px 0 !important;
    box-shadow: 0 12px 28px rgba(17, 24, 39, .10) !important; border: 1px solid #f0f1f3 !important; border-top: 0 !important;
}
#mega_menu > li { position: relative; }
#mega_menu > li > a {
    display: flex !important; align-items: center; gap: 10px; border-top: 0 !important; padding: 11px 18px 11px 20px !important;
    font-size: 13.5px !important; font-weight: 600 !important; color: #1f2937 !important; letter-spacing: .02em; line-height: 1.3 !important;
    transition: background .15s ease, color .15s ease, padding .15s ease; position: relative;
}
#mega_menu > li + li > a::before { content: ""; position: absolute; left: 20px; right: 18px; top: 0; height: 1px; background: #f3f4f6; }
#mega_menu > li > a::after { content: none !important; }
#mega_menu > li:hover > a, #mega_menu > li.sfHover > a {
    background: linear-gradient(90deg, #fff1ea, #fff) !important; color: #ef4318 !important; padding-left: 24px !important;
    box-shadow: inset 3px 0 0 #ef4318;
}
#mega_menu > li:hover > a::before, #mega_menu > li:hover + li > a::before { opacity: 0; }
#mega_menu > li.menu-item-has-children > a { padding-right: 34px !important; }
#mega_menu li.menu-item-has-children > a .sf-sub-indicator, #mega_menu li.menu-item-has-children > a > .fa { display: none !important; }
#mega_menu > li.menu-item-has-children > a { background-image: none; }
#mega_menu > li.menu-item-has-children > a:not(:only-child)::after,
#mega_menu > li.menu-item-has-children > a::after {
    content: "\f105" !important; font-family: FontAwesome; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    color: #c0c4cc; font-size: 15px; transition: color .15s ease, right .15s ease; display: block !important;
}
#mega_menu > li.menu-item-has-children:hover > a::after { color: #ef4318; right: 14px; }

/* Menu con */
#mega_menu ul.sub-menu {
    background: #fff !important; border: 1px solid #f0f1f3 !important; border-radius: 12px; padding: 8px !important;
    box-shadow: 0 16px 36px rgba(17, 24, 39, .14) !important; min-width: 230px;
}
#mega_menu ul.sub-menu li a {
    border: 0 !important; border-radius: 8px; padding: 9px 12px !important; font-size: 13.5px !important; font-weight: 500 !important;
    color: #374151 !important; text-transform: none; transition: background .12s ease, color .12s ease;
}
#mega_menu ul.sub-menu li:hover > a { background: #fff3ec !important; color: #ef4318 !important; }

/* Banner slider cạnh menu */
.home #content > .section:first-child .slider-wrapper { border-radius: 14px; overflow: hidden; box-shadow: 0 10px 26px rgba(17, 24, 39, .10); }
.home #content > .section:first-child .slider-wrapper .img-inner img { display: block; }
.home #content > .section:first-child .flickity-page-dots { bottom: 12px !important; }
.home #content > .section:first-child .flickity-page-dots .dot {
    width: 8px; height: 8px; margin: 0 4px; border: 0 !important; background: rgba(255, 255, 255, .65) !important; opacity: 1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: width .2s ease, background .2s ease;
}
.home #content > .section:first-child .flickity-page-dots .dot.is-selected { width: 22px; border-radius: 99px; background: #ef4318 !important; }
.home #content > .section:first-child .flickity-prev-next-button { opacity: 0; transition: opacity .2s ease; }
.home #content > .section:first-child .slider-wrapper:hover .flickity-prev-next-button { opacity: .9; }
/* bỏ mũi tên tam giác cũ của plugin (vẽ bằng border) -> chỉ còn chevron */
#mega_menu.sf-arrows li > a.sf-with-ul::after, #mega_menu > li.menu-item-has-children > a::after {
    border: 0 !important; width: auto !important; height: auto !important; margin: 0 !important; line-height: 1;
}
#mega_menu ul.sub-menu li.menu-item-has-children > a { position: relative; padding-right: 28px !important; }
#mega_menu ul.sub-menu li.menu-item-has-children > a::after {
    content: "\f105" !important; font-family: FontAwesome; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #c0c4cc;
}
#mega_menu ul.sub-menu li.menu-item-has-children:hover > a::after { color: #ef4318; }

/* =====================================================================
   FOOTER – 12/2026: tiêu đề có gạch cam, liên hệ dạng icon tròn + chữ xám đậm,
   link chính sách rõ chữ (trước bị mảnh/cam nhạt), hover cam.
   ===================================================================== */
.footer-1 p.gioithieu-footer { color: #4b5563 !important; font-size: 15.5px !important; line-height: 1.75; max-width: 820px; margin: 4px auto 10px; }
.footer-1 .info-footer .widgettitle, .footer-1 .info-footer h2 {
    position: relative; font-size: 15px !important; font-weight: 800 !important; letter-spacing: .04em; text-transform: uppercase;
    color: #111827 !important; padding-bottom: 10px; margin-bottom: 18px !important;
}
.footer-1 .info-footer .widgettitle::after, .footer-1 .info-footer h2::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #ef4318, #f17828);
}
.footer-1 .info-footer .text { font-size: 15px !important; line-height: 1.5 !important; }
.footer-1 .info-footer .text p {
    display: flex; align-items: center; gap: 12px; margin: 0 0 12px !important; color: #374151 !important; font-size: 14.5px; font-weight: 500;
}
.footer-1 .info-footer .text p i.fa {
    flex: 0 0 34px; width: 34px; height: 34px; line-height: 34px; border-radius: 50%; text-align: center;
    background: #fff1ea; color: #ef4318 !important; font-size: 15px;
}
.footer-1 .info-footer ul.menu { margin: 0; }
.footer-1 .info-footer ul.menu > li { border: 0 !important; margin: 0 !important; }
.footer-1 .info-footer ul.menu > li > a {
    display: inline-flex !important; align-items: center; gap: 8px; padding: 7px 0 !important; font-size: 14.5px !important;
    font-weight: 500 !important; color: #374151 !important; text-transform: none; letter-spacing: 0; transition: color .15s ease, transform .15s ease;
}
.footer-1 .info-footer ul.menu > li > a::before { content: "\f105"; font-family: FontAwesome; color: #ef4318; font-size: 14px; width: 10px; }
.footer-1 .info-footer ul.menu > li > a:hover { color: #ef4318 !important; transform: translateX(3px); }
.footer-1 iframe[src*="facebook.com"] { border-radius: 12px; box-shadow: 0 8px 22px rgba(17, 24, 39, .10); background: #fff; }
.footer-1 .fb-page, .footer-1 .fb_iframe_widget { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 22px rgba(17, 24, 39, .10); }
@media (max-width: 849px) {
    .footer-1 .info-footer { margin-bottom: 8px; }
}
.footer-1 .info-footer h2.widgettitle { height: auto !important; display: block !important; overflow: visible !important; line-height: 1.3 !important; -webkit-line-clamp: unset; }
.footer-1 .info-footer .text p { padding-bottom: 0 !important; line-height: 1.45 !important; }
