.vertical-menu{
    height: 100%;
    cursor: pointer;
}
.vertical-menu .btn-dropdown{
    width: 100%;
    border-radius: 0;
    border: none;
    background-color: var(--cl-x);
    text-align: left;
    color: #fff;
    font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    height: 100%;
}
.vertical-menu .dropdown-item{
    padding: 6px 12px;
    transition: all .1s ease-in-out;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
}
.vertical-menu .dropdown-item:hover{
    color: #fff;
    background-color: var(--cl-x);
}
.vertical-menu .dropdown-item{
    white-space: normal;
}

.vertical-menu:hover>.dropdown-menu{
    display: block;
}
.vertical-menu .dropend:hover .dropdown-menu{
    display: block;
}
.vertical-menu .dropend .dropdown-menu{
    left: 99%;
    top: -6px;
}

.vertical-menu .dropdown-item i{
    margin-right: 8px;
}
.vertical-menu .dropdown-menu{
    right: 0;
    left: 0;
    border-radius: 0;
    padding-top: 0;
    padding-bottom: 0px;
    /*width: max-content;*/
}
.vertical-menu .dropend .dropdown-menu{
    width: max-content;
}
.vertical-menu:hover .dropdown-menu{
    /*display: block;*/
}


/*===*/
.widdget{

}

.widdget + .widdget{
    margin-top: 1.5rem;
}

.widdget-title{
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    font-size: var(--fs-24);
    font-weight: 700;
}

.widdget-search-product{
    padding: 1rem;
}

.widdget-search-product form{
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #DCDCDC;
    padding: 0.5rem;
}
.widdget-search-product input{
    border: none;
    outline: none;
    width: 100%;
}
.widdget-search-product button{
    border: none;
    background-color: transparent;
}



/*===*/
.list-post-sidebar .post-item-slidebar + .post-item-slidebar{
    margin-top: 0.5rem;
}
.post-item-slidebar{
    display: flex;
    gap: 0.5rem;
}

.post-item-slidebar .thumbnail{
    width: 30%;
    border-radius: 0.25rem;
    overflow: hidden;
}

.post-item-slidebar .content{
    flex: 1;
}

.post-item-slidebar .title{
    font-size: 1rem;
    transition: all .3s ease-in-out;
}

.post-item-slidebar:hover .title{
    color: var(--cl-x);
}


/*menusidebarr*/
.sidebar-nav {
    padding: 0px;
}
.sidebar-nav h4 {
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 40px;
    margin-bottom: 0;
    padding: 0.5rem 1rem;
    border-radius: 10px 10px 0 0;  
    background-color: var(--cl-x);
}
 .sidebar-nav ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}
.sidebar-nav .nav>ul{
    /*border: 1px solid var(--cl-x);*/
    width: 100%;
}
 .sidebar-nav ul li {
    position: relative;
    width: 100%;
    padding: 0.75rem 1rem;
    /*user-select: none;*/
    /*-webkit-user-select: none;*/
}
 .sidebar-nav .nav>ul li + li{
    border-top: 1px solid #898989;
 }
 .sidebar-nav ul li a {
    color: #000;
    font-weight: 500;
    display: inline-block;
    width: calc(100% - 20px);
}
 .sidebar-nav ul li a:hover {
    border-bottom: 0;
}
 .sidebar-nav ul li.selected a {
     color: #004c84;
     font-weight: bold;
     display: block;
     margin-right: 50px;
}
.sidebar-nav ul li a.menu-toggle {
    position: relative;
    width: 20px;
    text-align: center;
    border-bottom: 0;
    vertical-align: top;
}
 .sidebar-nav ul li a.menu-toggle:after {
    position: relative;
    right: 0;
    text-align: middle;
    font-family: FontAwesome;
    font-size: 12px;
    content: "\f078";
}
 .sidebar-nav ul li a.menu-toggle:focus,
 .sidebar-nav ul li a.menu-toggle:hover,
 .sidebar-nav ul li a.menu-toggle:visited,
 .sidebar-nav ul li a.menu-toggle:link {
    border-bottom: 0;
    text-decoration: none;
}
 .sidebar-nav ul li a.menu-toggle.rotate {
    transform: rotate(180deg);
}
 .sidebar-nav ul.sub-menu {
    display: none;
    font-size: 14px;
}
 .sidebar-nav ul.sub-menu li {
    padding-left: 20px;
}



/*=============== Single Product ===============*/
.single-product-page{  }

/*===*/
.slide_show{
    height: clamp(25rem, 23.75rem + 6.25vw, 31.25rem);
    border: 1px solid #c5c5c5;
}

.slide_show_next:after,
.slide_show_prev:after{
    content: "";
}

.slide_show .slide_show_next,
.slide_show .slide_show_prev{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: #696969;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    pointer-events: all;
    opacity: 0;
    transition: all .3s ease-in-out;
}
.slide_show:hover .slide_show_next,
.slide_show:hover .slide_show_prev{
    opacity: 1;
}
.slide_show:hover .swiper-button-disabled{
    opacity: 0.5;
}

.slide_thumb{
    height: 100px;
}


/*===*/
.single-title{
    margin-bottom: 1rem;
    font-size: var(--fs-28);
    font-weight: bold;
}

.single-rate{
    color: #fcf200;
}

.single-code{
    margin-top: 1rem;
    color: #939393;
}

.single-category{
    
}
.single-brand{
    margin-top: 1rem;
    font-weight: bold;
    font-size: var(--fs-18);
}

.single-description{
    margin-top: 1rem;
}

.single-price{
    display: flex;
    align-items: center;
    font-size: var(--fs-24);
    font-weight: bold;
}

.single-price-regular{
    text-decoration: line-through;
    color: #4A4949;
    font-size: var(--fs-24);
    font-weight: 500;
}

.single-price-discount{
    color: #E20C00;
    margin-right: 0.5rem;
}

.label_discount_price{
    /*background-color: var(--cl-x);*/
    margin-left: 40px;
    padding: 0.25rem 0.5rem;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background-color: var(--cl-y);
}

.box-quantity{
    display: inline-flex;
    align-items: center;
    border: 1px solid #D9D9D9;
    /*border-radius: 50rem;*/
}

.box-quantity input{
    /*flex: 1;*/
    width: clamp(2.5rem, 1.75rem + 3.75vw, 6.25rem);
    height: 40px;
    border: none;
    outline: none;
    background-color: transparent;
    text-align: center;
    font-weight: bold;
}

.box-quantity .btn-sub,
.box-quantity .btn-add{
    width: 40px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    background-color: transparent;
    font-size: 28px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

.box-quantity-cart .qty-down,
.box-quantity-cart .qty-up{
    font-size: var(--fs-18);
}

.box-quantity-cart input{
    width: 20px;
}

/*custom*/
.single-group-button .box-quantity{
    position: relative;
    background-color: #F5F5F5;
}
.single-group-button .box-quantity input{
    width: 50px;
}
.single-group-button .box-quantity button{
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    font-weight: bold;
    /*background-color: #D9D9D9;*/
}

.single-group-button .box-quantity .btn-sub{
    /*position: absolute;*/
    /*left: 5px;*/
}

.single-group-button .box-quantity .btn-add{
    /*position: absolute;*/
    /*right: 5px;*/
}

.single-group-button{
    display: flex;
    gap: 8px;
}

.single-group-button .btn-custom{
    font-size: var(--fs-20);
    font-weight: 700;
}

.single-group-button .btn-call-now{
    animation: shadow-animatiton 1s infinite;
}


.single-group-button .btn-call-now:hover{
    animation: shake-button 0.3s;
    box-shadow: 0 0 4px 2px #9cad8da3;
}
@keyframes shadow-animatiton{
  0% {
    box-shadow: 0 0 0px 0px #9cad8da3;
  }
  100% {
    box-shadow: 0 0 8px 12px #9cad8d00;
  }
}

@keyframes shake-button {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-2deg); }
  40% { transform: rotate(2deg); }
  60% { transform: rotate(-2deg); }
  80% { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}


/*===*/
.group-share-social{
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 6px;

}

.group-share-social li{
    /*width: 32px;*/
    /*height: 32px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*border-radius: 50%;*/
    /*background-color: var(--cl-x);*/
    
}
.group-share-social a{
    font-size: var(--fs-20);
    color: #fff;
}

/*===*/
#single-tab-product{
    border-bottom: 1px solid var(--cl-x);
}

#single-tab-product .nav-link{
    padding: 0.5rem 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
    border-bottom: 1px solid var(--cl-x);
    background-color:  var(--cl-y);
    color: #000;
    font-size: clamp(0.8125rem, 0.75rem + 0.3125vw, 1.125rem);
    font-weight: bold;
}

#single-tab-product .nav-link.active{
    background-color: #85a469;
    color: #fff;
}

#single-tab-content {
    /*background-color: #F8F8F8;*/
    /*padding: 3%;*/
}

#single-tab-content img{
    max-width: 100%;
    height: auto;
}


/* Giỏ hàng ========================================*/
.shopping-summery table th{
    white-space: nowrap;
}
.shopping-summery .col-image img{
    width: clamp(5rem, 4.125rem + 4.375vw, 9.375rem);
    max-width: unset;
}
.form-checkout{
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #eeeeee;
}
.form-checkout .form-control{
    border-radius: 0;
    box-shadow: none !important;
}

.btn-thanhtoan{
    background-color: #fff;
    border: 2px solid var(--cl-x);
    color: var(--cl-x);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}
.btn-thanhtoan.active{
    background-color: var(--cl-x);
    color: #fff;
}

.cate-rating i{
    color: #e9ecef;
    font-size: var(--fs-24);
}
.cate-rating .vote-hover i,
.cate-rating .vote-active i,
.quantity-star i,
.rating-num i{
    color: #f4ec00;
}

#main-nx{
    display: none;
}

.progress-rating .progress-bar{
    background-color: var(--cl-x);
}
.item-progress{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.item-progress .box-progress{
    flex: 1;
}
.item-progress span{
    width: 50px;
}
.item-progress + .item-progress{
    margin-top: 0.5rem;
}

.content-comment form .form-control{
    border-radius: 0;
    box-shadow: none !important;
}

.list-binhluan .item-binhluan + .item-binhluan{
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #ccc;
}

.list-binhluan .accordion-button{
    margin-top: 0.5rem;
    padding-left: 1rem;
    font-size: 14px;
    font-style: italic;
}


/* Singgle Post ========================================*/
.single-post-page .title-single{
    position: relative;
    font-weight: 700;
    font-size: var(--fs-title);
}

.meta-post{
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.meta-post-item{
    color: #848484;
    font-size: clamp(0.75rem, 0.7125rem + 0.1875vw, 0.9375rem);
}

.single-post-description{
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f4f4f4;
    font-style: italic;
}

.content-page img{
    max-width: 100%;
    height: auto;
}


/*pagination*/
.arrow-pagination{
    padding: 0;
}
.arrow-pagination ul{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding-left: 0;
    /*border: 1px solid #ccc;*/
}

.arrow-pagination li a,
.arrow-pagination li .current{
    float: unset;
    margin: 0;
    width: 32px;
    height: 32px;
    border: 1px solid #c5c5c5;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--cl-y);
    box-shadow: none;
    background: #fff;
}
.arrow-pagination li a:hover,
.arrow-pagination li .current:hover{
    border-color: var(--cl-y);
}
/*.arrow-pagination li + li{
    border-left: 1px solid #ccc;
}*/

.arrow-pagination ul li .current{
    background-color: unset;
    color: unset;
}
.arrow-pagination ul li.active:not(.arrow-pagination ul li.active:first-child):not(.arrow-pagination ul li.active:last-child) .current{
    background-color: var(--cl-y);
    color: #fff;
}


/*====toc=====*/
#toc {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
}
#toc .toc-header {
    display: flex;
    align-items: center;
    padding: 0.25rem;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
}
#toc .toc-header i:first-of-type{
    margin-right: 0.25rem;
}
#toc .toc-header i:last-of-type{
    margin-left: auto;
    font-size: 1rem;
}

#toc.show .toc-header i:last-of-type{
    transform: rotate(90deg);
}

#toc ul {
    list-style: none;
    padding-left: 20px;
    display: none; /* Ẩn toàn bộ mục lục ban đầu */
}
#toc li {
    margin: 5px 0;
    position: relative;
}
#toc li .toggle {
    position: absolute;
    left: -20px;
    top: 2px;
    cursor: pointer;
    font-size: 12px;
    color: #000s;
    border: none;
    border-radius: 3px;
    padding: 0 5px;
    display: none; /* Chỉ hiển thị với mục có mục con */
}
#toc li.has-children > .toggle {
  display: inline-block;
}

#toc li.has-children.open > .toggle{
    transform: rotate(90deg);
}

#toc a {
    text-decoration: none;
    color: #000;
}
#toc a:hover {
  text-decoration: underline;
}
.hidden {
    display: none;
}

/*============*/
.wp-fix {
    position: fixed;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 99;
    background: #e7e7e7;
}

.input-fix {
    margin-top: 10%;
    position: relative;
    z-index: 9999;
}

.input-fix input {
    height: 40px;
    min-width: 250px;
    border-radius: 6px;
    border: 0;
    margin-top: 15px;
    padding: 3px 15px;
}

.bg-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-bubbles li {
    position: absolute;
    list-style: none;
    display: block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 0, 0, 0.15);
    bottom: -160px;
    -webkit-animation: square 25s infinite;
    animation: square 25s infinite;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
}

.bg-bubbles li:nth-child(1) {
    left: 10%;
}

.bg-bubbles li:nth-child(2) {
    left: 20%;
    width: 80px;
    height: 80px;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-animation-duration: 20s;
    animation-duration: 20s;
}

.bg-bubbles li:nth-child(3) {
    left: 25%;
    -webkit-animation-delay: 4s;
    animation-delay: 4s;
}

.bg-bubbles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    -webkit-animation-duration: 22s;
    animation-duration: 22s;
    background-color: rgba(255, 0, 0, 0.25);
}

.bg-bubbles li:nth-child(5) {
    left: 70%;
}

.bg-bubbles li:nth-child(6) {
    left: 80%;
    width: 120px;
    height: 120px;
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
    background-color: rgba(255, 0, 0, 0.2);
}

.bg-bubbles li:nth-child(7) {
    left: 32%;
    width: 160px;
    height: 160px;
    -webkit-animation-delay: 7s;
    animation-delay: 7s;
}

.bg-bubbles li:nth-child(8) {
    left: 55%;
    width: 20px;
    height: 20px;
    -webkit-animation-delay: 15s;
    animation-delay: 15s;
    -webkit-animation-duration: 40s;
    animation-duration: 40s;
}

.bg-bubbles li:nth-child(9) {
    left: 25%;
    width: 10px;
    height: 10px;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-animation-duration: 40s;
    animation-duration: 40s;
    background-color: rgba(255, 0, 0, 0.3);
}

.bg-bubbles li:nth-child(10) {
    left: 90%;
    width: 160px;
    height: 160px;
    -webkit-animation-delay: 11s;
    animation-delay: 11s;
}

@-webkit-keyframes square {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -webkit-transform: translateY(-700px) rotate(600deg);
        transform: translateY(-700px) rotate(600deg);
    }
}

@keyframes square {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -webkit-transform: translateY(-700px) rotate(600deg);
        transform: translateY(-700px) rotate(600deg);
    }
}

.wp-fix h1 {
    font-size: 36px;
}

.btn-enter {
    height: 36px;
}

.input-fix {
    margin-top: 18%;
    position: relative;
    z-index: 9999;
}

.input-fix form {
    position: relative;
    display: inline-block;
}

.input-fix input {
    height: 40px;
    min-width: 300px;
    border-radius: 0;
    border: 0;
    margin-top: 0;
    padding: 3px 15px;
}

.btn-enter {
    height: 40px;
    width: 45px;
    background: #ccc;
    border: 0;
    margin-left: -4px;
    position: absolute;
    top: 0;
    right: 0;
}


.back-to-top{
    /*position: fixed;
    right: 7%;
    bottom: 2%;*/
    z-index: 30;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--cl-y);
    color: #fff;
    opacity: 0;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

.back-to-top.show{
    opacity: 1;
    animation: back-to-top 0.3s ease-in;
}

@keyframes back-to-top {
    0% {
        transform: translateY(0.5rem);
    }
    100% {
        transform: translateY(0);
    }
}



/*button contact*/
.button-contact-fixed{
    position: fixed;
    bottom: 2%;
    right: 1%;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.box-ring {
    width: clamp(4rem, 3.8rem + 1vw, 5rem);
    height: clamp(4rem, 3.8rem + 1vw, 5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: visibility .5s;
    position: relative;
}

.box-ring-outline {
    position: absolute;
    width: clamp(4rem, 3.8rem + 1vw, 5rem);
    height: clamp(4rem, 3.8rem + 1vw, 5rem);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-origin: 0 0;
    border: 2px solid rgba(30, 30, 30, 0.5);
    background-color: transparent;
    border-radius: 50%;
    opacity: .5;
    transition: all .5s;
    animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
}

.box-ring-inline {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(3rem, 2.8rem + 1vw, 4rem);
    height: clamp(3rem, 2.8rem + 1vw, 4rem);
    transform: translate(-50%, -50%);
    transform-origin: 0 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all .5s;
    animation: coccoc-alo-circle-fill-anim 2.3s infinite ease-in-out;
}

.box-ring-image{
    width: clamp(2.5rem, 2.4rem + 0.5vw, 3rem);
    height: clamp(2.5rem, 2.4rem + 0.5vw, 3rem);
    padding: 6px;
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: #000;
    opacity: 1;
    animation: coccoc-alo-circle-img-anim 1s infinite ease-in-out;
}

@keyframes coccoc-alo-circle-anim {
    0% {
        transform: rotate(0) scale(.5) skew(1deg) translate(-50%, -50%);
        opacity: .1
    }
    30% {
        transform: rotate(0) scale(.7) skew(1deg) translate(-50%, -50%);
        opacity: .5
    }
    100% {
        transform: rotate(0) scale(1) skew(1deg) translate(-50%, -50%);
        opacity: .1
    }
}

@keyframes coccoc-alo-circle-fill-anim {
    0% {
        transform: rotate(0) scale(.7) skew(1deg) translate(-50%, -50%);
    }
    50% {
        transform: rotate(0) scale(1) skew(1deg) translate(-50%, -50%);
    }
    100% {
        transform: rotate(0) scale(.7) skew(1deg) translate(-50%, -50%);
    }
}

@keyframes coccoc-alo-circle-img-anim {
    0% {
        transform: rotate(0) scale(1) skew(1deg)
    }
    10% {
        transform: rotate(-25deg) scale(1) skew(1deg)
    }
    20% {
        transform: rotate(25deg) scale(1) skew(1deg)
    }
    30% {
        transform: rotate(-25deg) scale(1) skew(1deg)
    }
    40% {
        transform: rotate(25deg) scale(1) skew(1deg)
    }
    50% {
        transform: rotate(0) scale(1) skew(1deg)
    }
    100% {
        transform: rotate(0) scale(1) skew(1deg)
    }
}