html, body {
    overflow-x: hidden;
}

.ratio-3-2, .ratio-1-1, .ratio-16-9, .ratio-4-3, .ratio-8-5, .ratio-custome {
    position: relative;
    overflow: hidden;
}

.ratio-8-5 {
    padding-top: 62.5%;
}

.ratio-3-2 iframe, .ratio-3-2 video, .ratio-3-2 img, .ratio-1-1 iframe, .ratio-1-1 video, .ratio-1-1 img, .ratio-16-9 iframe, .ratio-16-9 video, .ratio-16-9 img, .ratio-4-3 iframe, .ratio-4-3 video, .ratio-4-3 img, .ratio-8-5 iframe, .ratio-8-5 video, .ratio-8-5 img, .ratio-custome iframe, .ratio-custome video, .ratio-custome img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

/*--------------------------------------------------------------------------
|  Header
--------------------------------------------------------------------------*/
.bg-higtlight {
    background: var(--color-hightlight);
}

.contact-header a {
    font-size: 18px;
}

.bg-orange {
    background-color: var(--orange);
}

.bg-blue {
    background-color: var(--color-hightlight);
}

.py-7 {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

.font-weight-500 {
    font-weight: 500;
}

.rounded-10 {
    border-radius: 10px;
}

/*--------------------------------------------------------------------------
|  Main
--------------------------------------------------------------------------*/
.brand-section .swiper-pagination {
    position: relative !important;
    bottom: 0;
    margin-top: 1rem;
}

.brand-section .item {
    background: white;
    border-radius: 10px;
}

.brand-section .item img {
    padding: 10px;
    object-fit: contain;
}

.brand-section .slick-slide {
    margin-right: 8px !important;
    margin-left: 8px !important;
    border: 1px solid var(--gray);
    margin: 0;
    border-radius: 5px;
    padding-bottom: 3px;
}

.bg-before:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 3%);
    z-index: 1;
}

.title-section span {
    display: inline-block;
    border-radius: 20px;
    color: var(--white);
    padding: 5px 20px;
    background-color: var(--color-main);
    text-transform: uppercase;
    font-size: 17px;
    margin-bottom: 15px;
    font-weight: 600;
}

.bg-about {
    background: url(/templates/ecommerce01/assets/media/template/bg.png);
}

.item-des-category, .article-home .inner-content.bottom-me.text-center {
    background: rgb(9 60 76 / 71%);
    bottom: 0;
}

.bg-construction {
    background: url(/templates/ecommerce01/assets/media/template/bg-cong-trinh.jpg) no-repeat;
    background-size: cover;
}

.bg-construction .title-section {
    color: #fff;
}

.bg-reg {
    background: url(/templates/ecommerce01/assets/media/template/contact_form.png) no-repeat;
    background-size: cover;
}

.product-item .inner-content {
    min-height: 105px;
}

.article-home .inner-content {
    min-height: 75px;
}

/*Chi tiet san pham*/
.title-content {
    font-weight: 600;
    margin-bottom: 20px;
}

.product-detail-footer .inner-content table {
    border: 0;
    display: table;
    width: 100% !important;
    border-color: transparent;
}

.product-detail-footer .inner-content table tbody > tr:nth-child(2n+1) {
    background-color: var(--light);
}

.product-detail-footer .inner-content table td {
    padding: 7px 15px;
}

.product-description ul, .product-description ol {
    list-style: none;
}

.product-description li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 5px;
    color: var(--black);
    font-size: 17px;
}

.product-description li:before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    z-index: 1;
    display: inline-block;
    width: 15px;
    height: 14px;
    background: url(/templates/ecommerce01/assets/media/template/icon-tick.png);
    background-size: cover;
}

/*Chi tiet san pham*/
/*Danh sach bai viet*/
.list-article > .row > div:first-child .col-sm-4 {
    flex: 0 0 50%;
    max-width: 50%;
}

.list-article > .row > div:first-child .col-sm-8 {
    flex: 0 0 50%;
    max-width: 50%;
}

/*Danh sach bai viet*/
/*--------------------------------------------------------------------------
|  Footer
--------------------------------------------------------------------------*/
.btn-contact {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1;
    background-color: var(--color-main);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px 0 0 0 ;
}

.btn-contact:hover {
    color: var(--white);
}

.icon-call.show {
    transform: translateX(0%);
}

.icon-call {
    position: fixed;
    bottom: 30px;
    right: 15px;
    z-index: 1024;
    transform: translateX(100%);
    transition: all .4s;
}

.icon-call li {
    margin-top: 10px;
    list-style: none;
}

.title-footer {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: var(--white);
}

address i, .link-fb i {
    padding: 5px;
    border-radius: 5px;
    background-color: var(--white);
    display: inline-block;
    color: var(--color-main);
    margin-right: 10px;
    font-size: 18px;
}

/*--------------------------------------------------------------------------
|  Responsive
--------------------------------------------------------------------------*/
@media (min-width: 1024px) {
    .setting-menu .container > .row {
        margin: 0;
        background-color: var(--color-main);
        border-radius: 5px 5px 0 0;
    }

    .menu-section>ul {
        display: table;
        margin: auto;
    }

    .menu-section>ul>li>a {
        border-right: 1px solid rgba(255,255,255,0.1);
    }
}

@media (max-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 768px;
    }

    .btn-action-header {
        width: 40px;
        height: 40px;
        line-height: 40px;
        background-color: var(--color-main);
        border-radius: 5px;
        text-align: center;
        color: var(--white) !important;
        margin-right: 5px;
    }
}

@media (max-width: 576px) {
    .slick-slider .slick-list {
        margin: 0 -5px;
    }

    .slick-slider .slick-slide {
        margin: 0 5px;
    }

    footer .container > .row > div {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .list-article > .row > div:first-child .col-sm-4, .list-article > .row > div:first-child .col-sm-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/*CSS BY HIEUTX*/
.product-detail-head .slogan {
    font-size: 18px;
    background: var(--light);
    padding: 10px 20px;
    border-left: 4px solid var(--color-main);
}

.product-detail-head a.phone {
    color: var(--blue);
}

.product-detail-footer {
    font-size: 17px;
}

.title-tu-van-contact a {
    color: var(--blue);
}

.is-mobile .logo-section img {
    max-height: 60px;
}

@media (max-width: 576px) {
    .contact-header {
        justify-content: space-between !important;
    }

    .slick-next, .slick-prev {
        height: 30px;
        width: 30px;
    }

    .slick-next:before, .slick-prev:before {
        font-size: 19px;
    }

    .slick-arrow {
        background-color: rgb(34 34 34 / 25%);
    }
}

@media (max-width: 1200px) {
    .contact-header .slogan a {
        display: inline-block;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
}

.slider-section .slick-prev {
    left: 0px !important;
    padding-right: 7px;
    border-radius: 0 100px 100px 0;
}

.slider-section .slick-arrow {
    color: var(--white);
    box-shadow: 0 3px 6px 0 rgb(0 0 0 / 16%);
    width: 30px;
    height: 60px;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
}

.slider-section .slick-arrow:before {
    color: var(--white);
    opacity: 1 !important;
}

.slider-section .slick-next {
    right: 0px !important;
    padding-left: 7px;
    border-radius: 100px 0 0 100px;
}

article.article-item-lien-quan .article-title a {
    font-size: 14px;
}

article.article-item-lien-quan .article-title {
    line-height: 1.5 !important;
}

/*Call now*/
.call-now {
    position: fixed;
    left: 0;
    bottom: 0;
    visibility: visible;
    background-color: transparent;
    width: 110px;
    height: 110px;
    cursor: pointer;
    z-index: 200000 !important;
}

.img-phone {
    width: 35px;
    height: 35px;
    text-align: center;
    font-size: 20px;
    color: #fff;
    top: 40px;
    left: 40px;
    position: absolute;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 2px solid transparent;
    background-color: #1777c3;
}

.small-circle {
    width: 60px;
    height: 60px;
    top: 28px;
    left: 28px;
    position: absolute;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    background-color: #03a9f4;
    opacity: .75 !important;
}

.big-circle {
    width: 90px;
    height: 90px;
    top: 12px;
    left: 12px;
    position: absolute;
    background-color: transparent;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 2px solid rgba(30, 30, 30, 0.4);
    opacity: .1;
    border-color: #1777c3;
    opacity: .5;
}

.phone-number {
    position: absolute;
    top: 50%;
    left: calc(100% - 15px);
    padding: 7px 15px;
    border-radius: 15px;
    background: #d24b44;
    color: #fff;
    font-weight: 600;
    transform: translateY(-50%);
}

.zoomIn {
    -webkit-animation-name: zoomIn;
    animation-name: zoomIn;
}

.pulse {
    -webkit-animation-name: pulse;
    animation-name: pulse;
}

.skew {
    -webkit-animation-name: skew;
    animation-name: skew;
}

@-webkit-keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3,.3,.3);
        transform: scale3d(.3,.3,.3);
    }

    50% {
        opacity: 1;
    }
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1);
    }

    50% {
        -webkit-transform: scale3d(1.05,1.05,1.05);
        transform: scale3d(1.05,1.05,1.05);
    }

    100% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1);
    }
}

@-webkit-keyframes skew {
    0% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1);
    }

    10%, 20% {
        -webkit-transform: scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);
        transform: scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);
    }

    30%, 50%, 70%, 90% {
        -webkit-transform: scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);
        transform: scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);
    }

    40%, 60%, 80% {
        -webkit-transform: scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);
        transform: scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);
    }

    100% {
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1);
    }
}

/*Call now*/
a.zalo {
    position: fixed;
    bottom: 110px;
    left: 33px;
    z-index: 10;
}

.zalo.messenger {
    bottom: 180px;
}

.product-detail-footer .title-content {
    font-size: 25px;
}

.slick-active .slideInUp {
    -webkit-animation-name: slideInUp;
    animation-name: slideInUp;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes slideInUp {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
        visibility: visible;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
        visibility: visible;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/*CSS BY HIEUTX*/
.logo-section img {
    max-height: 85px;
}

@media (max-width: 576px) {
    .center-left-me {
        top: 14%;
        width: 80% !important;
        left: 5%;
    }
}

@media (max-width: 767px) {
    .header-mb-01 > .container > .row > div {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .contact-header a {
        font-size: 15px;
    }

    .contact-header .slogan a {
        display: inline-block;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    a.language-picker {
        margin-left: 0;
        font-size: 14px;
    }
}

.topbar-section {
    position: relative;
}

.topbar-section ul.topbar-dropdown {
    position: absolute;
    background: var(--white);
    min-width: 5rem;
    top: 100%;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 1000;
    border-top: 1px solid #e3e3e3;
    margin-bottom: 0;
    -webkit-animation: nav_menu_anim_close 0.3s both;
    -o-animation: nav_menu_anim_close 0.3s both;
    animation: nav_menu_anim_close 0.3s both;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    opacity: 0;
    filter: opacity(0);
    visibility: hidden;
    -webkit-box-shadow: 0 0.2rem 0.3rem rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0.2rem 0.3rem rgba(0, 0, 0, 0.15);
    box-shadow: 0 0.2rem 0.3rem rgba(0, 0, 0, 0.15);
}

.topbar-section:hover ul.topbar-dropdown {
    -webkit-animation: nav_menu_anim_open 0.3s both;
    -o-animation: nav_menu_anim_open 0.3s both;
    animation: nav_menu_anim_open 0.3s both;
    opacity: 1;
    filter: opacity(1);
    visibility: visible;
    pointer-events: unset;
}

.topbar-section ul.topbar-dropdown a {
    padding: 0 1rem;
    /* line-height: 3rem; */
    /* height: 3rem; */
    display: block;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    /* text-overflow: ellipsis; */
}

.header-01 > .container > .row > div:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.zoom-container {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.zoom-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
    transform-origin: center center;
    position: absolute;
    top: 0;
    left: 0;
}

.zoom-container:hover .zoom-image {
    transform: scale(2.5);
    /* Tỉ lệ zoom */
}

.product-detail-footer .content-product-detail *, .product-detail-footer .inner-content * {
    font-family: "Roboto", Arial, Sans-Serif !important;
    font-size: 16px !important;
}
