/* chiều cao header */
:root{
    height: 00%;
}

/* MENU LEFT */
.list-group{
    position: fixed;
    top: var(--header-height);   /* nằm dưới header */
    left: 0;

    width: 300px;
    height: calc(100vh - var(--header-height));

    background: #fff;
    z-index: 999;

    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}
#wp_sidebar{
    background: linear-gradient(175deg, #f9f602, transparent);
    padding:10px;
}
/* item */
.list-group-item{
    padding: 0;
    border: none;
    background: #fff;
}

/* menu */
.list-unstyled{
    margin: 0;
    padding: 0;
}

.list-unstyled li{
    list-style: none;
}

.list-unstyled li a{
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 15px 20px;
    text-decoration: none;

    color: #222;
    border-bottom: 1px solid #eee;

    transition: 0.3s;
}

.list-unstyled li a:hover{
    background: #f5f5f5;
}

.list-unstyled li.active a{
    background: #111;
    color: #fff;
}
#floating-contact,.price_old{
    display:none;
}
/* tránh nội dung bị đè */
#wrapper,
#main-content{
    margin-left: 300px;
    margin-top: var(--header-height);
}
/* ===== IPAD & MOBILE ===== */
/* dưới 1024px sẽ ẩn menu */
@media screen and (max-width: 1024px){

    #wp_sidebar{
        display: none;
    }

    #wrapper,
    #main-content{
        margin-left: 0 !important;
    }
}
/*body{*/
/*    margin:0;*/
/*    font-family: Arial, Helvetica, sans-serif;*/
/*}*/

/* SIDEBAR */
.sidebar{
    position: fixed;
    top: 0;
    left: 0;

    width: 290px;
    height: 100vh;

    background: linear-gradient(180deg, #f7f1a7 0%, #f8e575 45%, #f0d955 100%);

    padding: 24px 18px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    box-shadow: 0 16px 40px rgba(0,0,0,0.12);

    z-index: 101;
}

.sidebar-logo{
    margin-top: 10px;
    margin-bottom: 20px;
}

.sidebar-logo img{
    width: 100%;
    max-width: 100%;
}

.sidebar-menu{
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.sidebar-menu li{
    margin-bottom: 12px;
}

.sidebar-menu li a{
    display: block;
    padding: 18px 22px;
    text-decoration: none;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    border-radius: 999px;
    background: rgba(255,255,255,0.55);
    transition: all 0.3s ease;
}

.sidebar-menu li.active a{
    background: #272b33;
    color: #fff;
}

.sidebar-menu li.active a::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: orange;
    border-radius: 20px 0 0 20px;
}

.sidebar-menu li a:hover{
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.8);
}

.sidebar-menu li.active a {
    box-shadow: inset 4px -6px 0 1px rgb(255 16 16 / 90%);
}


/* CART */
.sidebar-cart-wrapper{
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.sidebar-cart-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.08);
    color: #111;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
}

.sidebar-cart-link:hover{
    background: rgba(0, 0, 0, 0.12);
}

.sidebar-cart-link .cart-total{
    color: #111;
}

.sidebar-cart-link .cart-global{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #111;
}

.sidebar-cart-link .cart-global i{
    font-size: 18px;
}

/* SOCIAL */
.sidebar-social{
    display: flex;
    justify-content: center;
    gap: 12px;

    padding-bottom: 20px;
}

.sidebar-social a{
    width: 50px;
    height: 50px;

    border-radius: 50%;

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

    color: #fff;
    text-decoration: none;

    font-size: 22px;

    transition: 0.3s;
}

.sidebar-social a:hover{
    transform: translateY(-3px);
}

/* COLORS */
.facebook{
    background: #3b5998;
}

.instagram{
    background: #3f729b;
}

.tiktok{
    background: #000;
}

.mail{
    background: #000;
}

.phone{
    background: #5bd14f;
}

/* RESPONSIVE */
@media screen and (max-width:1024px){

    .sidebar{
        display:none;
    }
}