/*			Sidebar		hung		*/

.category .left1,
.single-post .left1 {
    display: none;
}

.left2 {
    display: none;
}

.category .left2,
.single-post .left2 {
    display: block;
}

#sibar-left .block-left {
    background: #33373d none repeat scroll 0 0;

    border-radius: 4px;

    box-sizing: border-box;

    float: left;

    padding-bottom: 7px;

    width: 100%;
}

.block-content {
    /* background: url("images/dm-row2.png") repeat-y scroll left top; */

    box-sizing: border-box;

    float: left;

    padding: 0 4px;

    width: 100%;
}

.block-content>ul {
    /* background: #fff none repeat scroll 0 0; */

    border-radius: 4px;

    box-sizing: border-box;

    float: left;

    padding: 10px 6px;

    width: 100%;
}

.block-content>ul>li {
    background: #fff;

    border-bottom: 1px solid #eaeaea;

    margin-top: 0;
}

ul.products1 li.product {
    float: left;

    width: 100%;

    padding: 20px;
}

ul.products1 li.product a {
    display: block;

    float: left;

    width: 100%;

    overflow: hidden;

    position: relative;
}

ul.products1 li.product a img {
    box-shadow: -1px 8px 12px -6px;

    border: 1px solid #ccc;

    margin-bottom: 10px;

    width: 100%;

    aspect-ratio: 1/1;

    object-fit: cover;
}

ul.products1 li.product a h3 {
    text-align: center;

    position: absolute;

    top: 0;

    width: 100%;

    left: 0;

    visibility: hidden;

    opacity: 0;

    -webkit-transition: 0.5s;

    transition: 0.5s;

    height: auto;

    transform: translateY(-100%);

    margin: 0;

    background: rgba(51, 55, 61, 0.85);

    padding: 5px 0px;

    color: #fff;

    font-size: 13px;
}

ul.products1 li.product:hover h3 {
    visibility: visible;

    opacity: 1;

    transform: translateY(0);
}

.full-content .sp_new_sidebar .price,
.full-content .sp_new_sidebar .price span {
    margin: 0px;

    color: red;

    font-weight: bold;

    font-size: 13px;
}

/*ul.products1 li.product:hover a >h3{display: none;}*/

.block-content ul li a:hover {
    /* background: #f9f9f9; */

    color: #d4a017 !important;
}

.block-content ul li {
    position: relative;
}

#menu-left_vi ul {
    display: none;

    background: #fafafa;
}

#menu-left_vi ul li {
    border-bottom: 1px dashed #eaeaea;
}

#menu-left_vi ul li:last-child {
    border-bottom: none;
}

#menu-left_vi ul li a {
    line-height: 18px;

    color: #555;

    padding: 8px 0 8px 25px;

    display: block;
}

.btn-menu {
    float: right;

    width: 38px;

    height: 38px;

    position: absolute;

    top: 0px;

    right: 0px;

    text-align: center;

    line-height: 38px !important;

    color: #888;

    cursor: pointer;

    font-size: 16px;

    transition: all 0.3s ease;
}

.btn-menu.open {
    transform: rotate(90deg);
}

.block-content>ul>li:first-child {
    margin-top: 0px;
}

.block-content>ul>li>a {
    box-sizing: border-box;

    color: white;

    display: block;

    line-height: 18px;

    padding: 10px 10px;

    width: 100%;
}

#sibar-left {
    color: #fff;

    position: sticky;

    top: 70px;

    /* Offset to clear the sticky top menu (adjust if needed) */

    z-index: 99;

    /* max-height: calc(100vh - 70px - 20px); */

    /* Cho phép scroll khi sidebar cao quá viewport */

    overflow-y: auto;

    box-sizing: border-box;

    background-color: white;

    margin-bottom: 30px;
}

#sibar-right {
    position: sticky;

    top: 70px;

    z-index: 99;

    max-height: calc(100vh - 70px - 20px);

    overflow-y: auto;
}

.sidebar {
    display: block;
}

#woocommerce_widget_cart-2,
#yith-woo-ajax-navigation-8 {
    padding: 10px;
}

#main-frame .widget {
    margin-top: 10px;
}

.block-left {
    margin-bottom: 15px;

    float: left;
}

.block-left .heading_box_sidebar {
    background: rgba(0, 0, 0, 0) url("images/dm-row1.png") no-repeat scroll right top;

    float: left;

    padding: 0;

    position: relative;

    width: 100%;

    z-index: 9;

    border-top-left-radius: 5px;

    border-top-right-radius: 5px;
}

#sibar-left>.block-left>.heading_box_sidebar,
#sibar-left>.group-sidebar-content>.block-left>.heading_box_sidebar {
    color: #ffffff;

    font-family: arial;

    font-size: 15px !important;

    font-weight: bold;

    line-height: 39px;

    text-align: center;

    text-transform: uppercase;
}

.heading_box-buttom {
    float: left;

    height: 20px;

    margin-top: 0;

    margin-left: 9%;

    margin-top: 5%;

    width: 15px;
}

.heading_box-buttom>span {
    background: #fff none repeat scroll 0 0;

    float: left;

    height: 2px;

    margin: 3px 0 0 !important;

    padding: 0;

    width: 100%;
}

.heading_box_sidebar a {
    color: #ffffff;

    float: left;

    text-decoration: none;

    margin-left: 10px;
}

#sibar-left>.block-left>.heading_box_sidebar>a:hover {
    text-decoration: none;

    color: #ffffff;
}

.heading_box {
    border-bottom: 1px solid #989898;

    float: left;

    width: 100%;

    margin-bottom: 10px;

    padding-bottom: 10px;

    color: #fff;
}

.yith-wcan-list.yith-wcan li a {
    padding: 5px 0 !important;

    display: block;

    padding-left: 25px !important;

    background: url("images/icon-select.png") no-repeat scroll 5px 6px rgba(0, 0, 0, 0) !important;
}

.yith-wcan-list li.chosen a {
    background: url("images/icon-selected.png") no-repeat scroll 5px 6px rgba(0, 0, 0, 0) !important;
}

.woocommerce .widget_layered_nav ul li.chosen a::before {
    content: "" !important;

    margin: 0 !important;
}

.yith-wcan-list.yith-wcan,
.widget_shopping_cart_content {
    width: 100%;

    float: left;
}

.yith-wcan-list.yith-wcan li a {
    color: #fff;
}

.heading_box h4::after {
    border-color: transparent transparent transparent #da1818;

    border-style: solid;

    border-width: 42px 0 0 15px;

    content: " ";

    height: 0;

    position: absolute;

    right: -15px;

    top: -1px;

    width: 0;
}

/* .block-left1 {

    border: 1px solid #ccc;

    box-sizing: border-box;

    width: 100%;

    margin-bottom: 20px;

} */

.heading_box_sidebar1 {
    /* background: rgba(0, 0, 0, 0) url("images/row1.png") no-repeat scroll right top -1px; */

    border-bottom: 5px solid #d4a017;

    height: 30px;

    padding-top: 0;

    position: relative;

    width: 100%;

    z-index: 1;
}

.heading_box_sidebar1>a {
    background: #33373d none repeat scroll 0 0;

    color: #fff;

    float: left;

    font-size: 16px;

    font-weight: bold;

    padding: 5px 11px;

    position: relative;

    text-align: left;

    text-shadow: 1px 2px 2px #000;

    text-transform: uppercase;
}

.heading_box_sidebar1>a::after {
    border-color: #0000 #0000 #0000 #33373d;

    border-style: solid;

    border-width: 28px 0 0 39px;

    content: " ";

    height: 0;

    position: absolute;

    right: -39px;

    top: 0;

    width: 0;
}

.heading_box_sidebar1_hotline {
    float: left;

    width: 100%;

    padding: 0px 10px;

    box-sizing: border-box;

    margin-bottom: 20px;
}

.heading_box_sidebar1_hotline>span {
    box-sizing: border-box;

    color: #f00;

    float: left;

    font-size: 16px !important;

    font-weight: 700;

    padding: 10px;

    width: 100%;

    text-transform: uppercase;

    border-bottom: 3px solid #000;
}

.heading_box_sidebar1_hotline>a {
    width: 100%;

    float: left;

    text-align: start;

    color: #d4a017;
}

.heading_box_sidebar1_hotline>a:hover {
    cursor: pointer;
}

.hotro {
    float: left;

    font-size: 14px;

    font-weight: 400;

    width: 100%;

    text-align: left !important;

    line-height: 30px;
}

.hotro i {
    margin-right: 10px;
}

.heading_box_sidebar1_new ul.products {
    margin: 0px !important;
}

.heading_box_sidebar1_new ul.products li.product {
    box-sizing: border-box !important;

    padding: 18px !important;

    width: 100% !important;

    border: none !important;

    margin-bottom: 0px !important;
}

.heading_box_sidebar1_new ul.products li>a>h3 {
    display: none !important;
}

.heading_box_sidebar1_tb ul.products {
    margin: 0px !important;
}

.heading_box_sidebar1_tb ul.products li.product {
    box-sizing: border-box !important;

    padding: 18px !important;

    width: 100% !important;

    border: none !important;

    margin-bottom: 0px !important;
}

.heading_box_sidebar1_tb {
    overflow: hidden;
}

.heading_box_sidebar1_tb ul.products li>a>h3 {
    display: none !important;
}

.button.product_type_simple.ajax_add_to_cart {
    display: none;
}

/* tiá»‡n Ã­c*/

.heading_box_sidebar1_ti {
    width: 100%;

    float: left;
}

.heading_box_sidebar1_ti>ul {
    background: #868686 url("images/bg-tienich.jpg") no-repeat scroll 0 0;
}

.heading_box_sidebar1_ti li {
    width: 100%;

    line-height: 28px;

    padding-left: 55px;

    box-sizing: border-box;
}

.heading_box_sidebar1_ti a {
    color: #fff;

    display: inline-block;

    transition: all 0.5s ease 0s;

    width: 100%;
}

.heading_box_sidebar1_ti a:hover {
    color: #d4a017;
}

/* add new */

#sibar-right .button.product_type_simple {
    display: none;
}

/**** Responsive settings ******/

/*  Layout fix để sticky hoạt động tốt */

#row-wrap-content.home-layout {
    display: grid;

    grid-template-columns: 1fr 4fr;

    /* Tỉ lệ tương đương 20% và 80% */

    gap: 20px;

    align-items: flex-start;
}

.content-box-1.home-full-content {
    width: 100%;
}

@media only screen and (min-width: 800px) {}

@media only screen and (min-width: 800px) and (max-width: 939px) {
    .group-sidebar-content .block-left .block-content * {
        max-width: 100%;
    }

    .heading_box_sidebar {
        font-size: 11px !important;
    }

    .heading_box-buttom {
        margin-top: 9% !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 799px) {
    .group-sidebar-content .block-left .block-content * {
        max-width: 100%;
    }

    .heading_box_sidebar {
        font-size: 11px !important;
    }

    .heading_box-buttom {
        margin-top: 9% !important;
    }
}

@media only screen and (max-width: 767px) {
    #row-wrap-content.home-layout {
        display: block;
    }

    #sibar-left {
        margin: 0px;

        position: static;

        max-height: none;

        overflow-y: visible;
    }

    .sidebar {
        width: 100%;
    }

    .ads-sidebar-content {
        display: none;
    }

    .group-sidebar-content .block-left .block-content * {
        width: 100%;
    }

    .heading_box_sidebar {
        font-size: 11px !important;
    }
}

@media only screen and (max-width: 767px) {

    .sp-nb,
    .no-ttm {
        display: none;
    }

    #sibar-right {
        margin-left: 0px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 599px) {}

@media only screen and (min-width: 320px) and (max-width: 479px) {}

@media only screen and (max-width: 320px) {}