/* =========================================================================
   NASANI FRAMEWORK - RESPONSIVE STYLESHEET (MEDIA.CSS)
   Merged & Grouped by Breakpoint Queries
   ========================================================================= */

/* =========================================================================
   BREAKPOINT: @media (max-width: 1199px)
   ========================================================================= */
@media (max-width: 1199px) {
    .bean-nav__category {
        flex-basis: 210px;
    }

    .bean-nav__inner {
        gap: 12px;
    }

    .bean-nav__list>li>a {
        padding: 0 8px;
        font-size: 13px;
    }

    .restaurant-footer__primary,
    .restaurant-footer__secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .restaurant-footer__branch-map {
        min-height: 360px;
    }

    .grid-news {
        gap: 28px 18px;
    }
}

/* =========================================================================
   BREAKPOINT: @media (max-width: 991px)
   ========================================================================= */
@media (max-width: 991px) {
    .phong-item {
        /* padding: 0 0 70px 0; */
        .slide-img,.info {width: 100%;margin: 0;}
    }
    .home-news-video {
        grid-template-columns: 1fr;
        --home-news-panel-height: 360px;
    }

    .home-news-video .title-main--left {
        min-height: auto;
    }

    .newsnb--vertical .splide__track {
        height: var(--home-news-panel-height) !important;
    }

    .news-detail-layout {
        grid-template-columns: 1fr;
    }

    .home-customer-contact {
        grid-template-columns: 1fr;
        gap: 26px;

    }

    .customer-card {
        min-height: 0;
    }

    .title-list {
        display: block;
        padding: 14px;
        text-align: center;
    }

    .title-list h2 {
        justify-content: center;
        font-size: 34px;
    }

    .title-list h2:after {
        display: none;
    }

    .home-product-cats {
        justify-content: center;
        margin-top: 12px;
    }

    .home-product-ajax-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
    }

    .prodetail__detail-layout {
        grid-template-columns: 1fr;
    }

    .prodetail__hot {
        padding: 16px;
    }

    .title-main h1,
    .title-main h2,
    .title-about h2 {
        font-size: 25px;
    }

    .splide__arrow {
        /* display: none; */
    }

    .header-wrap,
    .menu-main {
        display: none !important
    }

    .menu-res {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .logo-mb {
        display: inline-block;
        text-align: center;
        max-width: 66px;
    }

    .menu_baophu {
        background: #000;
        opacity: .8;
        z-index: 998;
        left: 0;
        top: 0;
        position: fixed;
        width: 100%;
        height: 100%;
        display: none
    }

    .icon_menu_mobi {
        color: var(--color-main);
        font-size: 32px;
        text-decoration: none;
        width: 35px;
        display: block;
        cursor: pointer;
        margin: 0 100px 0 0;
        text-align: center
    }

    .logo-mobi {
        display: inline-block;
        width: 66px;
    }

    .menu_mobi {
        background: #000;
        padding: 5px 10px;
        width: 100%;
        height: 100%;
        cursor: pointer;
        position: sticky;
        top: 0;
        z-index: 10;
        box-shadow: rgba(100, 100, 111, .2) 0 5px 20px
    }

    .menu_mobi_add {
        position: fixed;
        top: 0;
        left: -100%;
        bottom: 0;
        width: 350px;
        max-width: 85%;
        background: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, .05);
        transition: .5s;
        z-index: 9999999
    }

    .menures_inner {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 0;
        bottom: 0;
        height: 100%;
        width: 100%
    }

    .menures_header {
        text-align: center;
        padding: 10px;
        position: relative;
        background: #fff;
        filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .07)) drop-shadow(0 2px 2px rgba(0, 0, 0, .06))
    }

    .menures_content {
        padding: 5px;
        position: relative;
        overflow-y: scroll;
        height: 100%;
        -webkit-overflow-scrolling: touch;
        -ms-scroll-chaining: none;
        overscroll-behavior: none
    }

    .menu_mobi_active {
        left: 0;
        transition: .5s
    }

    .menu_mobi_add ul {
        list-style: none;
        padding: 0;
        margin: 0
    }

    .icon_menu_mobi .menu_mobi_add ul>li {
        border-bottom: 1px solid #f1f1f1;
    }

    .menu_mobi_add ul ul>li {
        border-bottom: none;
    }

    .menu_mobi_add ul li.li-tim {
        display: none
    }

    .menu_mobi_add ul li h2 {
        font-size: 17px;
        margin-bottom: 0
    }

    .menu_mobi_add ul li b {
        display: inline-block;
        vertical-align: top;
        margin-right: 8px
    }

    .menu_mobi_add ul li b img {
        display: inline-block;
        vertical-align: top
    }

    .menu_mobi_add ul li {
        border-bottom: 1px solid #f1f1f1;
    }

    .menu_mobi_add ul li a {
        color: #191919;
        padding: 8px 30px 8px 5px;
        position: relative;
        font-size: 14px;
        transition: .3s !important;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 12px;
        text-transform: uppercase;
    }

    .menu_mobi_add ul li a svg {
        display: none
    }

    .menu_mobi_add ul li a i {
        position: absolute;
        right: 5px;
        transform: rotate(0);
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        color: var(--color-main);
        border-radius: 50%;
        top: calc(50% - 25px / 2)
    }

    .menu_mobi_add ul li a.active2 i {
        transform: rotate(90deg);
        color: #fff;
        box-shadow: 0 0 0 25px var(--color-main) inset
    }

    .menu_mobi_add ul ul {
        display: none;
        padding-left: 15px;
        margin: 5px 0 10px 0
    }

    .menu_mobi_active .menu_lvl2>ul {
        padding: 0
    }

    .menu_mobi_add ul li ul li a {
        padding-left: 20px;
        color: #6f6f6f
    }

    .menu_mobi_add ul li ul li ul li a {
        padding-left: 20px
    }

    .menu_mobi_add ul li:last-child a {
        margin-bottom: 0
    }

    .thongtin-mb ul li {
        list-style: none;
        color: #000;
        font-weight: 500;
        margin-bottom: 15px
    }

    .thongtin-mb ul li:last-child {
        margin-bottom: 0
    }

    .thongtin-mb ul li i {
        font-size: 19px;
        margin-right: 10px;
        color: var(--color-main)
    }

    .close_menu {
        display: inline-block;
        cursor: pointer;
        position: absolute;
        top: 5px;
        right: 5px;
        width: 25px
    }

    .menures_footer {
        padding: 10px;
        margin-top: auto;
        background: #f7f7f7;
        border-top: solid 1px #e4e8ed
    }


    .service-item__info h3 {
        font-size: 25px;
    }

    .footer-main {
        padding-top: 32px;
    }

    .footer-main__left {
        width: 100%;
    }

    .footer-main__map {
        min-height: 420px;
    }

    .wrap-about:after {
        display: none;
    }

    .flex-about {
        padding-right: 0px;
    }

    .about-right {
        width: 100%;
    }

    .about-left {
        width: 100%;
        margin-top: 10px;
    }

    .wr-statistical {
        margin-top: 18px;
    }

    .statistical-card {
        min-height: 96px;
        padding: 14px;
    }

    .statistical-card__number {
        font-size: 24px;
    }

    .news-detail-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .video-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .menu-page__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .prodetail__header {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .prodetail__info {
        
    }

    .product-layout {
        flex-direction: column;
        gap: 20px;
    }

    .left-product {
        position: fixed;
        left: -320px;
        top: 0;
        bottom: 0;
        min-height: 100vh;
        width: 300px;
        z-index: 9999;
        margin: 0;
        border-radius: 0;
        border: none;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .left-product.show {
        left: 0;
    }

    .sidebar-filter__mobile-header {
        display: flex;
    }

    .filter-mobile-btn-wrap {
        display: block;
    }
    .criteria-card:before {left: -33px;}
    .album-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        .item-0,.item-2 {aspect-ratio: 5/7;}
        .item-1,.item-3,.item-4,.item-5,.item-6 {grid-column: span 2;aspect-ratio: 6/4;}
    }
    
}

/* =========================================================================
   BREAKPOINT: @media (max-width: 870px)
   ========================================================================= */
@media (max-width: 870px) {
    .scrollToTop {
        bottom: 140px
    }
    
    .ft-1 {width: 40%;}
    .ft-2 {width: 46%;}
    .ft-3 {width: 48%;}
}

/* =========================================================================
   BREAKPOINT: @media (max-width: 767px)
   ========================================================================= */
@media (max-width: 767px) {
    .home-contact-form {
        .contact-input {grid-column: span 3;}
        .fullname-input {grid-column: span 6;}
    }
    .criteria-card:before {left: -18px;}

    .contact-flex {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-news {
        padding: 28px 0;
    }

    .home-news-video {
        gap: 20px;
        --home-news-panel-height: 270px;
    }

    .newsnb--vertical .splide__track {
        height: var(--home-news-panel-height) !important;
    }

    .home-news-card.news-side-item {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .home-video-player {
        padding: 10px;
    }

    .main-widget {
        bottom: 85px
    }

    .restaurant-footer {
        margin-top: 28px;
    }

    .restaurant-footer__primary,
    .restaurant-footer__secondary {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .restaurant-footer__primary {
        padding: 32px 0 24px;
    }

    .restaurant-footer__secondary,
    .restaurant-footer__branches {
        padding: 24px 0;
    }

    .restaurant-footer__branch-map {
        min-height: 320px;
    }

    .restaurant-footer__branch-tabs {
        top: 34px;
        left: 10px;
        right: 10px;
        gap: 8px;
        max-height: 112px;
        padding: 8px;
    }

    .restaurant-footer__branch-name {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 13px;
    }

    .restaurant-footer__heading {
        font-size: 18px;
    }

    .home-news-video {
        --home-news-panel-height: 270px;
    }

    .home-contact-form .grid {
        grid-template-columns: 1fr;
    }

    .info-custommer {
        padding: 34px 0;
    }

    .home-customer-contact .splide__pagination {
        justify-content: center;
    }

    .home-contact-form {
        padding: 16px;
    }

    .customer-card {
        min-height: 0;
        padding: 22px 18px 20px;
    }

    .customer-card__text {
        -webkit-line-clamp: 3;
        font-size: 14px;
    }

    .customer-card__avatar {
        /* flex-basis: 60px; */
        /* width: 60px; */
        /* height: 60px; */
    }

    .home-product-ajax-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .title-list h2 {
        font-size: 25px;
    }

    .title-list h2:after {
        left: 0px;
    }

    .grid-news {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 14px;
    }

    .news-item__name {
        min-height: auto;
        font-size: 15px;
        line-height: 1.45;
    }

    .news-item__next {
        margin-top: 16px;
    }

    .news-detail-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-card__title {
        font-size: 14px;
    }

    .f-flipbook button {
        font-size: 13px;
    }

    .f-flipbook button {
        display: none;
    }

    .album-grid {
        gap: 12px;
    }

    .menu-page__head h1 {
        font-size: 34px;
    }

    .menu-page__sort-toggle,
    .menu-page__sort-panel {
        width: 100%;
    }

    .menu-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
    }

    .menu-product-card__body {
        padding: 12px;
    }

    .menu-product-card__name {
        min-height: 44px;
        font-size: 14px;
    }

    .menu-product-card__price-new {
        font-size: 15px;
    }

    .menu-product-card__price-old {
        font-size: 12px;
    }

    .prodetail {
        padding-top: 8px;
    }

    .prodetail__info,
    .prodetail__tabs {
        
    }

    .prodetail__title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .prodetail__option {
        gap: 6px 10px;
    }

    .prodetail__option li.line {
        display: none;
    }

    .prodetail__price-new {
        font-size: 24px;
    }

    .prodetail__desc {
        padding: 12px;
        margin-bottom: 16px;
    }

    .prodetail__actions {
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 16px 0;
    }

    .prodetail__btn {
        min-height: 46px;
    }

    .prodetail__qty-group {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin: 16px 0;
    }

    .prodetail__social {
        align-items: flex-start;
        flex-direction: column;
    }

    .prodetail__tab-header {
        gap: 18px;
        overflow-x: auto;
        white-space: nowrap;
    }


    .footer-main__map {
        min-height: 320px;
        border-radius: 16px;
    }
}

/* =========================================================================
   BREAKPOINT: @media (max-width: 575px)
   ========================================================================= */
@media (max-width: 575px) {
    .ft-1 ,.ft-2 ,.ft-3 {width: 100%;}
    .video-page {
        padding-top: 4px;
    }

    .video-list-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .video-list-card__title {
        min-height: auto;
        font-size: 15px;
    }

    .album-grid {
        gap: 10px;
        .item-0 {grid-column: span 4;aspect-ratio: 3/2}
        .item-2 {grid-column: span 2;aspect-ratio: 3/2}
    }

    .service-item__info img {
        display: none;
    }

    .booking-trigger {
        width: 48px;
        height: 48px;
        min-height: 48px;
        padding: 0;
        border-radius: 50%;
    }

    .booking-trigger span {
        display: none;
    }

    #booking .modal-body {
        padding: 16px;
    }

    #booking .grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .info-tags {
        gap: 6px;
    }

    .info-tags a {
        padding: 6px 10px;
        font-size: 13px;
    }
    .home-contact-form {
        .contact-input {grid-column: span 6;}
    }
}

/* =========================================================================
   BREAKPOINT: @media (max-width: 480px)
   ========================================================================= */
@media (max-width: 480px) {
    .grid-news {
        grid-template-columns: 1fr;
    }
    .criteria-card:before {left: -8px;}

}

/* =========================================================================
   BREAKPOINT: @media (max-width: 419px)
   ========================================================================= */
@media (max-width: 419px) {
    .service-item__info h3 {
        font-size: 18px;
    }
}