 /* Bộ màu landing Black Friday nhanhoa.com (lấy biến --bf-* nếu trang có, sau dấu phẩy là dự phòng) */
    .nhb-bar { --nhb-red: var(--bf-red, #ef3b45); --nhb-red-2: var(--bf-red-2, #e8304a); --nhb-pink: var(--bf-pink, #fbb6c0);
               --nhb-teal: var(--bf-teal, #4ABAB9); --nhb-black: var(--color-black, #252525); --nhb-text: var(--bf-text, #ffffff);
               --nhb-bd: var(--bf-card-bd, rgba(95, 185, 175, .45));
               position: fixed; top: 0; left: 0; right: 0; z-index: 99; display: none; color: var(--nhb-text); font-family: var(--sf, "URWDIN", sans-serif);
               background: radial-gradient(360px 90px at 22% 50%, rgba(239,59,69,.35), transparent 70%),
                           radial-gradient(300px 90px at 88% 50%, rgba(232,48,74,.22), transparent 70%),
                           linear-gradient(90deg, #0d0d0d 0%, var(--nhb-black) 50%, #0d0d0d 100%);
               border-bottom: 1px solid var(--nhb-bd) }
    .nhb-bar.is-show { display: block; animation: nhbDown .35s ease-out }
    @keyframes nhbDown { from { transform: translateY(-100%) } to { transform: translateY(0) } }
    .nhb-in { max-width: 1200px; margin: 0 auto; padding: 0 52px 0 16px; min-height: 46px;
              display: flex; align-items: center; justify-content: center; gap: 20px }

    /* BLACK trắng — FRIDAY gradient hồng → đỏ, chữ nghiêng đậm như hero landing */
    .nhb-label { font-weight: 900; font-style: italic; font-size: 19px; letter-spacing: .2px; text-transform: uppercase; white-space: nowrap }
    .nhb-label em { font-style: italic; color: var(--nhb-red);
                    background: linear-gradient(90deg, var(--nhb-pink), var(--nhb-red-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent }
    .nhb-sep { width: 1px; height: 18px; background: rgba(255,255,255,.25) }
    .nhb-text { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,.9) }
    /* % giảm: nhãn đỏ xiên như "80%" trên landing */
    .nhb-text b { display: inline-block; margin: 0 4px; padding: 1px 9px; transform: skewX(-12deg); border-radius: 4px;
                  background: linear-gradient(90deg, var(--nhb-red-2), var(--nhb-red)); color: #fff; font-weight: 800; font-style: italic }

    .nhb-count { display: flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums }
    .nhb-count .nhb-phase { font-size: 12px; color: rgba(255,255,255,.75); margin-right: 6px; white-space: nowrap }
    .nhb-count .nhb-phase::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%;
                                    background: var(--nhb-teal); vertical-align: 1px; box-shadow: 0 0 0 3px rgba(74,186,185,.25) }
    .nhb-count .dg { position: relative; overflow: hidden; width: 22px; height: 28px; border-radius: 5px;
                     background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.45); color: #fff;
                     font-weight: 700; font-size: 15px; line-height: 26px; text-align: center }
    .nhb-count .dg span { display: block }
    .nhb-count .dg.flip span { animation: nhbFlip .35s ease-out }
    @keyframes nhbFlip { from { transform: translateY(-100%); opacity: 0 } to { transform: translateY(0); opacity: 1 } }
    .nhb-count .u { font-size: 12px; color: rgba(255,255,255,.6); margin: 0 6px 0 2px }
    .nhb-count .u:last-child { margin-right: 0 }

    .nhb-btn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; border-radius: 999px; white-space: nowrap;
               background: linear-gradient(90deg, var(--nhb-red), var(--nhb-red-2)); color: #fff !important; font-weight: 700; font-size: 14px;
               text-decoration: none !important; box-shadow: 0 4px 14px rgba(239,59,69,.35); transition: transform .2s, box-shadow .2s }
    .nhb-btn:hover { transform: translateX(2px); box-shadow: 0 6px 18px rgba(239,59,69,.5) }
    .nhb-btn svg { width: 14px; height: 14px; transition: transform .2s }
    .nhb-btn:hover svg { transform: translateX(3px) }

    .nhb-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; padding: 0;
                 border: 1.5px solid rgba(255,255,255,.55); border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
                 display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s }
    .nhb-close:hover { border-color: var(--nhb-teal); background: var(--nhb-teal); color: var(--nhb-black) }
    .nhb-close svg { width: 12px; height: 12px }

    @media (max-width: 1100px) {
        .nhb-count .nhb-phase { display: none }
    }
    @media (max-width: 991px) {
        .nhb-sep, .nhb-text { display: none }
    }
    @media (max-width: 575px) {
        /* Mobile: 2 hàng — [nhãn ... nút] / [đồng hồ] */
        .nhb-in { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label btn" "count count";
                  gap: 6px 10px; padding: 8px 44px 8px 12px; text-align: left }
        .nhb-label { grid-area: label; font-size: 16px; align-self: center }
        .nhb-btn { grid-area: btn; padding: 6px 12px; font-size: 13px; margin-right: 15px; }
        .nhb-btn svg { display: none }
        .nhb-count { grid-area: count; justify-content: center }
        .nhb-count .dg { width: 19px; height: 25px; line-height: 23px; font-size: 14px; border-radius: 4px }
        .nhb-count .u { font-size: 11px; margin: 0 5px 0 2px }
        .nhb-count .nhb-phase { display: inline; font-size: 11px; margin-right: 4px }
        .nhb-close { right: 10px; top: 10px; transform: none; width: 24px; height: 24px }
    }
    @media (max-width: 360px) {
        .nhb-count .nhb-phase { display: none }
    }