
.mb-30 {
    margin-bottom: 24px;
}


.custom-padding {
    background: #f6f9f9
}

.new-slider {
    padding-top: 15px;
    position: relative;
}

.new-slider .owl-carousel .owl-nav.disabled {
    display: none !important;
}

.new-slider .owl-item {
    box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.owl-dots {
    position: absolute;
    top: 10px;
    right: 15px;
    display: inline-block;
}

.owl-dots button {
    height: 12px;
    width: 12px;
    border-radius: 100%;
    background: #777 !important;
    margin: 0 5px;
    outline: none;
    box-shadow: none;
    transition: .3s all;
    opacity: 1;
}

.owl-dots button.active,
.owl-dots button:hover {
    background: var(--base-color) !important
}

.boxIndex .owl-dots {
    top: -32px;
}

.boxIndex .owl-dots button.active,
.boxIndex .owl-dots button:hover {
    background: #f1f1f1 !important
}


.header-section {
    background: var(--base-color);
    padding: 10px 15px 10px 15px;
    /*margin-top: 10px;*/
    margin-bottom: 0;
}

.header-section:before {
    display: none;
}

.header-section h5 {
    color: #f1f1f1;
    font-size: 1rem;
    padding: 0;
}

.boxIndex {
    position: relative;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.boxIndex .owl-carousel {
    padding: 10px;
}

.boxIndex .sidebar-slider-item {
    margin-top: 0;
}

.boxIndex .swiper-container {
    padding: 15px
}

.boxIndex .swiper-pagination {
    top: 10px;
    right: 10px;
    z-index: 2222;
}

.boxIndex .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #777 !important;
    margin: 0 5px;
    outline: none !important;
    opacity: 1;
    box-shadow: none !important;
}

.boxIndex .swiper-pagination-bullet.swiper-pagination-bullet-active,
.boxIndex .swiper-pagination-bullet:hover {
    background-color: #f1f1f1 !important;
}

.dropdownProduct .mega-list {
    min-width: 500px;
}

.dropdownProduct .mega-list li {
    width: 48%;
    display: block;
    float: left;
    padding: 10px !important;
    border-left: 5px solid transparent;
}

.dropdownProduct .mega-list li:hover {
    background-color: transparent;
    border-left-color: var(--base-color);
}

.dropdownProduct .mega-list li:hover a {
    background-color: transparent;
}

.dropdownProduct-title {
    display: block;
    color: #000 !important;
    padding: 9.5px;
    font-weight: bold;
    border-bottom: 1px solid #d9d9d9;
}

header .header-wrapper .header-nav .main-navbar .main-menu li .dropdown-mega-menu,
.dropdownProduct .mega-list {
    box-shadow: 0 1px 20px rgba(0, 0, 0, .2) !important;
}

.sidebar-category .sidebar-title {
    font-size: 1rem;
    text-transform: capitalize;
}

.search-nav .form-relative {
    position: relative;
    margin-right: 10px;
    min-width: 300px;
}

.search-nav .form-relative input,
.search-bar .form-relative input {
    background: #f1f5f5;
    border-color: var(--base-color);
    color: #12121
}

.search-nav .form-relative button,
.search-bar .form-relative button {
    position: absolute;
    right: 10px;
    font-size: 1.3rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    box-shadow: none;
    outline: none;
    background: transparent;
    color: var(--base-color);
    cursor: pointer;
}

.cart-header .cart {
    display: inline-block;
    padding: 5px 15px;
    background: #fff;
    border-radius: 4px;
    color: #000 !important;
    position: relative;
}

.cart-header .cart .badge {
    color: #000;
    font-size: 1rem;
    position: absolute;
    left: 55%;
    top: 60%;
    transform: translateY(-50%);
}

.cart-header .cart svg {
    color: red
}

@media screen and (min-width: 992px) {
    .custom-padding .container, .custom-padding .col-lg-2, .full-slider .col-lg-4, .full-slider .col-lg-8, .full-slider .col-lg-12 {
        padding-right: 0;
        padding-left: 0;
    }
}

.price-text p {
    margin-bottom: 0;
}

.price-text p:first-child {
    font-weight: bold;
}

.price-text span {
    padding: .375rem .75rem;
    text-align: center;
    display: inline-block;
    min-width: 130px;
    border: 1px solid #d9d9d9;
    margin-bottom: 3px;
    font-size: 13px;
}

.checkout-total-child p {
    margin-bottom: 0;
    padding: 5px 0 5px 10px;
    margin-left: 10px;
}

.main-checkout {
    background-color: #f1f5f5;
}

.action-right {
    justify-content: flex-end;
}

.action-right .form-control {
    width: 30%;
}

.text-tinhtrang {
    font-size: .9rem;
    color: var(--base-color)
}

.text-over {
    color: #ff0000
}

.product-description .price {
    font-weight: 400;
}

.text-description {
    padding: .5rem 0;
    margin-top: .5rem;
    border-top: 1px solid #d9d9d9;
    max-height: 50px;
    min-height: 50px;
    overflow: hidden;
}

.text-description p {
    font-size: 1rem;
    color: #343434;
    margin-bottom: 0;
    padding: 0;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-align: left;
}

.slider-category .swiper-slide {
    text-align: left;
}

.product-description .price-zone {
    padding: 5px 0
}

.product-soluong {
    padding: 10px;
    border-radius: 4px;
    background: #E9F8FF;
    font-size: 16px;
    color: #434343
}

.product-soluong.alert-red {
    background: #FFF1D0;
}

.product-soluong a {
    font-size: 15px;
    text-decoration: none;
    font-weight: bold;
    color: #ff0022
}

.detail-info {
    padding: 0;
    border-top: 0;
}

.info-hidden {
    position: absolute;
    width: 100%;
    right: 5px;
    top: 5px;
}

.info-hidden a {
    position: absolute;
    z-index: 2;
    right: 0;
    display: block;
    width: 30px;
    line-height: 30px;
    height: 30px;
    text-align: center;
}

.info-hidden p {
    display: none;
}

.info-show p {
    display: block;
    padding: 15px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #E9F8FF;
    font-size: 11px;
    color: #434343;
    position: absolute;
    top: 30px;
    max-width: 140px;
    right: 0;
}

.header.nav-new .header-wrapper .header-nav {
    width: 30%;
}

/*.header-icon {*/
/*    width: 70%;*/
/*}*/

.sidebar-category .sidebar-item > ul > li a {
    border-top: 1px solid #d9d9d9;
}

.sidebar-category .sidebar-item > ul > li > ul > li > a {
    padding-left: 15px;
}

.sidebar-category .sidebar-item > ul > li > ul > li > a svg {
    margin-right: 5px;
}

.checkout-mobile table {
    background-color: #fff;
    margin-bottom: 0;
    font-size: 15px;
}

.checkout-mobile table th {
    font-size: 14px;
    font-weight: bold;
    color: var(--base-color);
    background-color: #f1f5f5;
}

.checkout-mobile table tr td img {
    height: 40px;
    width: 40px;
}

.checkout-mobile table table tr td {
    font-size: 14px;
    padding: 0.375rem
}

.checkout-mobile .table-image > a {
    display: inline-block;
}

.checkout-mobile table .product-name {
    width: calc(100% - 50px);
    display: inline-block;
    margin-bottom: 0;
}

.checkout-mobile table .product-name a {
    font-weight: 400;
    color: #121212;
    font-size: 15px;
}

.checkout-mobile table .action-right {
    width: 100%;
    justify-content: inherit;
}

.checkout-mobile table .action-right > input {
    width: inherit;
}

.atc-index button {
    background-color: rgba(0, 0, 0, .8) !important;
    border-radius: 100%;
    color: #fff;
    height: 40px;
    width: 40px;
    line-height: 20px;
    font-size: 2rem;
    position: absolute;
    top: 10px;
    left: -40px;
    padding: 0;
    text-align: center;
    transition: .3s all;
}

.product-item:hover .atc-index button {
    left: 10px;
}

.atc-index button:hover {
    background-color: var(--base-color) !important;
}

.product-item .product-image img {
    height: 100% !important;
}

.method-ship {
    width: 25%;
}

.page-link {
    font-size: 1.1rem;
}

@media screen and (max-width: 767px) {
    .price-left, .action-right {
        width: 100%;
        margin-bottom: 10px;
    }

    .checkout-price {
        flex-direction: column;
    }

    #js_navbar {
        background: #fff;
        border-bottom: 3px solid var(--base-color);
    }

    .icon-box {
        padding: 15px
    }


    .category-index.boxIndex .header-section {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .category-index.boxIndex .header-section ul {
        padding: 0;
    }

    .boxIndex .swiper-pagination {
        position: relative;
        top: -10px;
    }

    .boxIndex .swiper-container {
        padding: 0;
        padding-bottom: 30px;
        padidng-left: 15px;
    }

    .boxIndex .swiper-pagination-bullet.swiper-pagination-bullet-active, .boxIndex .swiper-pagination-bullet:hover {
        background-color: var(--base-color) !important;
    }

    .owl-dots {
        position: relative;
        top: 10px !important;
        right: unset;
        left: 50%;
        transform: translateX(-50%);
    }

    .boxIndex .owl-carousel {
        padding-bottom: 30px;
    }

    .product-item {
        /*height: 380px;*/
    }

    .boxIndex .owl-dots button.active, .boxIndex .owl-dots button:hover {
        background: var(--base-color) !important;
    }

    .section-icon .container {
        padding-left: .75rem !important;
        padding-right: .75rem !important;
    }

    .owl-new-slider .owl-dots {
        position: absolute;
        bottom: 0px !important;
        top: unset !important;
    }

    .owl-carousel .owl-item img {
        height: 120px;
        object-fit: cover;
    }

    .btn-laphoadon {
        margin-top: 10px;
    }

    .header-navbar .grid-nav ul li ul {
        top: 70px;
    }

    .custom-content {
        padding: 0;
    }

    .danhmucsp, .description {
        padding-top: 0;
    }

    .custom-content .header-section {
        margin-top: 0;
    }

    .custom-content .description .d-block h3 {
        font-size: 1.1rem;
        padding-left: 15px;
    }

    .atc-index {
        background-color: var(--base-color);
        text-align: center;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    .atc-index button {
        position: relative;
        top: unset;
        left: unset;
        height: unset;
        width: unset;
        background-color: transparent !important;
        font-size: 1.2rem;
        padding: 5px 0;
        margin: 0 auto;
        text-align: center;
    }

    .atc-index button.btn-add-cart span {
        font-size: 14px;
    }

    .atc-index button.btn-add-cart svg {
        font-size: 14px;
    }

    .product-item:hover .atc-index button {
        left: unset;
    }

    .method-ship {
        width: 100%;
    }

    .nav-right > a > svg, .dropdown > a svg {
        font-size: 24px;
    }

    .call, .zalo {
        /*bottom: 60px*/
    }

    .zalo {
        bottom: 120px
    }
}

.searchmobile {
    margin-top: 15px;
}

.searchmobile ul {
    padding-left: 0;
    list-style-type: none;
}

.searchmobile button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: 0;
    box-shadow: 0;
    outline: none;
}

.header-navbar .humburger {
    z-index: 99999;
}

@media screen and (max-width: 525px) {
    .category-index.boxIndex .header-section ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-index.boxIndex .header-section ul li a {
        padding-left: 0;
        padding-right: 0;
        border-left: 0;
    }

    .checkout-item {
        padding: 5px;
    }

    .price-text span {
        font-size: 13px;
        min-width: 90px;
    }

    .checkout-price {
        flex-direction: row;
        align-items: flex-start !important
    }

    .price-left {
        width: 50%;
    }

    .action-right {
        width: 50%;
    }

    .custom-cart a.btn-capnhat {
        display: block !important
    }

    .action-right {
        display: flex !important;
        flex-direction: column;
    }

    .action-right > div:nth-child(1) {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
}

@media screen and (max-width: 400px) {
    .checkout-price {
        flex-direction: column;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
    }

    .price-left {
        width: 100%;
    }

    .action-right {
        width: 100%;
    }

    .action-right > div:nth-child(1) {
        justify-content: center !important;
    }
}

.custom-cart a {
    display: flex !important;
    align-items: center;
}


.custom-cart a svg {
    font-size: 1.6rem;
    color: #121212 !important;
}

.custom-cart a .text-giohang {
    padding-left: 5px;
    color: #333;
    font-weight: bold;
}

.custom-cart.cart-header .cart .badge {
    color: #000;
    font-size: 1rem;
    position: absolute;
    left: 22%;
    top: 29%;
    transform: translateY(-50%);
}

#xemdonhang, .btn-laphoadon {
    text-transform: uppercase;
    font-size: 16px;
    padding: 3px 12px;
}

.sidebar-category .sidebar-title a {
    color: #fff;
    border: 0 !important;
}

.contact-main_mail {
    color: var(--gray-900);
    transition: .3s all ease
}

.contact-main_mail:hover {
    color: var(--base-color);
}

.contact-top .contact-text {
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: flex;
    gap: 13px;
    align-items: center;
}

.contact-top .contact-text > a {
    border-radius: 50px;
    padding: 7px 20px !important;
    background-color: var(--base-color-2);
    font-size: 14px;
}

.contact-top .contact-text > a:hover {
    opacity: .9;
}

.contact-top .contact-text a:last-child:before {
    display: none;
}

.header-gear > a {
    display: block;
    position: relative;
    padding: 16px 9px;
    font-size: 14px;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
    transition: all .3s ease;
    font-weight: bold;
    white-space: nowrap;
}

.header-gear > a:hover {
    background-color: var(--base-color-2);
    color: var(--white);
}

#scrollUp {
    bottom: 95px;
    z-index: 10;
}

.floating-contact {
    position: fixed;
    z-index: 10;
    left: 20px;
    bottom: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;

}

.floating-contact__item {
    background-color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .08);
    z-index: 2;
    width: 180px;
    transition: all 0.3s ease-in;
}
.floating-contact__item:hover .text-title{
    color:var(--primary-color);
}


.floating-contact__item .icon {
    flex-shrink: 0;
}
.floating-contact__item .text-title {
    font-weight: 700;
    color:black;
    transition: all 0.3s ease-in;
}
.floating-contact__item .text-number {
    color: #6a6a6a;
}
.floating-contact .floating-phone {


    transition: .3s all ease;
    display: flex;
    align-items: center;
}

.floating-contact .floating-phone .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);

    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--white);
}

.floating-contact .floating-phone .icon > .icon-inner {
    font-size: 1.5em;
    color: var(--white);
}

.floating-contact .floating-phone .text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    line-height: 1.1;
    background: var(--base-color);
    color: var(--white);
    padding: 10px 20px 10px 40px;
    border-radius: 5px;
    margin-left: -32px;
    z-index: -1;
}

.floating-contact .floating-phone .text .text-title {
    font-size: .8em;
    color: var(--white);
    opacity: .9;
    margin-bottom: 4px;
}

.floating-contact .floating-phone .text .text-number {
    font-size: 1.05em;
    font-weight: 700;
    color: var(--white);
}

.floating-contact .floating-phone:hover {
    opacity: .9;
}


@media screen and (max-width: 768px) {

    #scrollUp {
        bottom: 75px;
    }

    .floating-contact{
       left:15px;
        gap:4px;
    }
    .floating-contact .floating-phone .icon{
        width: 50px;
        height: 50px;
    }
    .floating-contact .floating-phone .text {
        padding: 6px 12px 6px 40px;
        margin-left: -32px;
    }
    .floating-contact__item{
        width: 160px;
    }
    .floating-contact__item img{
        width: 35px;
        height: 35px;
    }
    .floating-contact__item .text{
        font-size: 12px;
    }


    .nav-new .header-wrapper .header-nav .nav-right > a {
        border: 1px solid var(--base-color);
        color: var(--base-color);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 4px 12px;
        border-radius: 8px;
        flex-direction: row;
        font-weight: 700;
        white-space: nowrap;
        line-height: 1.3;
    }

    .nav-new .header-wrapper .header-nav .nav-right > a > svg {
        margin-right: 3px;
    }
}
