/* =====================================================
   LUXE — MOBILE BOTTOM NAV (FINAL)
===================================================== */

/* NAV CONTAINER */
.lx-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    height: 56px;
    background: #ffffff;

    box-shadow: 0 -4px 16px rgba(0,0,0,.08);

    display: flex;
    justify-content: space-around;
    align-items: center;

    z-index: 999;
}

/* HIDE ON DESKTOP */
@media (min-width: 768px) {
    .lx-bottom-nav {
        display: none;
    }
}

/* NAV ITEM */
.lx-nav-item {
    flex: 1;
    text-align: center;
    text-decoration: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding-top: 6px;
    color: #666;
}

/* ICON */
.lx-nav-item .icon {
    width: 18px;
    height: 18px;
    margin-bottom: 3px;

    filter: invert(35%) sepia(6%) saturate(0%)
            hue-rotate(180deg) brightness(90%) contrast(90%);
}

/* TEXT — FIX BASELINE */
.lx-nav-text {
    font-size: 10px;
    line-height: 1;
    display: block;
}

/* ACTIVE */
.lx-nav-item.active {
    color: #b11226;
}

.lx-nav-item.active .icon {
    filter: invert(21%) sepia(88%) saturate(4222%)
            hue-rotate(350deg) brightness(92%) contrast(110%);
}

/* =====================================================
   REELS — SUBTLE HIGHLIGHT
===================================================== */

.lx-nav-reels .lx-reels-bg {
    width: 36px;
    height: 36px;
    border-radius: 10px;

    background: rgba(177,18,38,.08);
    border: 1px solid rgba(177,18,38,.25);

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 3px; /* giữ thẳng text */
}

/* REELS ICON */
.lx-nav-reels .icon {
    width: 18px;
    height: 18px;
    filter: invert(21%) sepia(88%) saturate(4222%)
            hue-rotate(350deg) brightness(92%) contrast(102%);
}

/* ACTIVE REELS */
.lx-nav-reels.active .lx-reels-bg {
    background: rgba(177,18,38,.12);
    border-color: #b11226;
}

.lx-bottom-nav {
    background: #f4f5f7; /* trắng ngà cao cấp */
    border-top: 1px solid rgba(0,0,0,.06);
}


/* =====================================================
   CART ICON + BADGE — FINAL FIX
===================================================== */

.lx-cart-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* BADGE */
.cart-count {
    position: absolute;
    top: -4px;
    right: -6px;

    min-width: 16px;
    height: 16px;
    padding: 0 4px;

    font-size: 9px;
    font-weight: 600;
    line-height: 1;

    color: #fff;

    /* 🎨 LUXURY COLOR */
    background: linear-gradient(135deg, #2b2f36, #0f172a);

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
/* =====================================================
   REELS — ATTENTION EFFECT (SUBTLE)
===================================================== */

.lx-nav-reels {
    position: relative;
}

/* halo pulse */
.lx-nav-reels::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 14px;

    background: radial-gradient(
        circle,
        rgba(177,18,38,.18) 0%,
        rgba(177,18,38,.12) 40%,
        rgba(177,18,38,0) 70%
    );

    opacity: 0;
    animation: reelsPulse 2.8s ease-in-out infinite;
    pointer-events: none;
}

/* animation pulse */
@keyframes reelsPulse {
    0%   { opacity: 0; }
    30%  { opacity: .7; }
    60%  { opacity: .4; }
    100% { opacity: 0; }
}
/* =====================================================
   REELS ICON — COLOR ACCENT
===================================================== */

.lx-nav-reels .lx-reels-bg {
    width: 36px;
    height: 36px;
    border-radius: 10px;

    /* nền trung tính, không tranh ảnh */
    background: #f4f5f7;
    border: 1px solid rgba(0,0,0,.06);

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 3px;
}

/* icon màu nổi bật */
.lx-reels-icon {
    width: 18px;
    height: 18px;

    /* gradient kiểu TikTok nhưng tiết chế */
    color: transparent;
    background: linear-gradient(
        135deg,
        #ff3d81,
        #ff7a00,
        #8b5cf6
    );
    background-clip: text;
    -webkit-background-clip: text;
}

/* ACTIVE STATE */
.lx-nav-reels.active .lx-reels-bg {
    background: #ffffff;
    border-color: rgba(0,0,0,.12);
}
