.top-banner-area {
    width: 100%;
    margin: 12px 0;
    overflow: hidden;
}

.top-banner-area .single-banner {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    background: #fff;
}

.top-banner-area .single-banner > a,
.top-banner-area .single-banner > a > .support-contact-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
}

.top-banner-area .single-banner img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.top-banner-area .support-contact-card {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    color: #1268b3;
    text-align: center;
    font-weight: 600;
}

.top-banner-area .support-contact-card .fa {
    font-size: 28px;
}

.home-hot-products {
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 25% auto;
}

#detail .detail-content img,
#detail .skill-content img,
#detail .content_scroll_tab img,
#detail .detail-content iframe,
#detail .content_scroll_tab iframe {
    max-width: 100% !important;
    height: auto !important;
}

@media screen and (min-width: 1024px) {
    .header-mobile {
        display: none;
    }

    .add-to-card-desktop {
        display: block;
    }
}

@media screen and (max-width: 1023px) {
    html,
    body,
    #wrap {
        max-width: 100%;
        overflow-x: hidden;
    }

    .header-desktop {
        display: none;
    }

    .header-mobile {
        display: block;
        overflow-x: hidden;
    }

    body {
        background: #f0eded;
    }

    .p-item {
        width: calc(100% / 3);
    }

    .item .p_price {
        font-size: 18px;
    }

    .title_box_center .h_title {
        font-size: 16px;
        font-weight: 700;
    }

    .add-cart-mobile {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 991.98px) {
    .home-hot-products {
        background-image: none !important;
        padding: 12px;
    }
}

@media screen and (max-width: 769px) {
    #icon-fixed-left {
        display: none;
    }

    #content_left {
        display: none;
    }

    .menu-footer-mobile {
        display: flex;
    }

    #copyright {
        margin-bottom: 100px;
    }

    #product-info .them-vao-gio {
        font-size: 12px;
    }

    #price_detail {
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #button_buy a {
        width: 160px;
    }

    .left-cau-hinh {
        display: flex;
        justify-content: space-between;
    }

    .left-detail-product img {
        max-width: 170px;
    }

    .left-detail-product a {
        font-size: 14px;
    }

    #myTab .nav-item .nav-link.active {
        padding: 4px;
        font-size: 10px;
    }

    #myTab .nav-item .nav-link {
        padding: 4px;
        font-size: 10px;
    }

    .title-product-cate h3 {
        font-size: 12px;
    }

    .gallery-product {
        overflow: hidden;
    }

    .add-to-card-desktop {
        display: none;
    }

    .header-mobile .header {
        position: fixed;
        height: 70px;
        left: 0;
        top: 0;
        float: left;
        width: 100%;
        -ms-transition: all 0.3s ease-out;
        -moz-transition: all 0.3s ease-out;
        -webkit-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
    }

    .mobile-fixed {
        position: fixed;
        width: 100%;
        z-index: 1000;
        top: 0;
        left: 0;
        box-shadow: 0px 2px 4px 0px rgba(136, 167, 192, 0.68);
        -webkit-box-shadow: 0px 2px 4px 0px rgba(137, 156, 172, 0.68);
        -moz-box-shadow: 0px 2px 4px 0px rgba(126, 141, 153, 0.68);
        background-color: #1b84ca;
    }

    .mobile-fixed .logo {
        display: none;
    }

    .mobile-fixed i {
        color: #fff;
    }

    .search-form-mobild {
        display: none;
        position: relative;
        margin-top: 6px;
    }

    .search-form-mobild button {
        position: absolute;
        right: 0px;
        top: 3px;
    }

    .search-form-mobild button i {
        color: rgb(29, 28, 28);
        font-size: 20px;
    }

    .mobile-fixed .search-form-mobild {
        display: block;
    }

    .search-mobile {
        margin-top: 80px;
    }

    .add-card-desktop {
        display: none !important;
    }

    .add-cart-mobile {
        position: fixed;
        bottom: 0px;
        background: linear-gradient(-90deg, rgba(40, 62, 226, 1) 0%, rgba(104, 37, 175, 1) 0%, rgba(26, 105, 200, 1) 100%);
        border-radius: 6px;
        width: 100vw;
        padding: 5px;
        z-index: 1000;
        display: flex;
    }

    .add-cart-mobile .btn {
        width: 50%;
        color: #fff;
        border-radius: 0px;
        font-size: 14px;
    }

    .add-cart-mobile .btn-line-right {
        border-right: 1px solid;
    }

    .add-cart-mobile .btn i {
        font-size: 22px;
    }

    .detail-desktop {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    .top-banner-area .support-contact-card {
        gap: 5px;
        padding: 8px;
        font-size: 12px;
    }

    .p-item {
        width: calc(100% / 2);
    }

    .col-fillter-category {
        display: none;
    }

    .title_box_center {
        display: block;
    }
    #footer-bottom {
        font-size: 13px;
    }
}

@media screen and (max-width: 400px) {
    .p-item {
        width: calc(100% / 2);
        padding: 0px;
    }

    .item .p_price {
        font-size: 16px;
    }

    .info .tittle {
        font-size: 14px;
    }

    .info ul li {
        line-height: 2.1;
    }
}
