/* =========================================================================
   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) {
    .bean-header__menu-separator {
        display: none;
    }

    .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: 170px;
    }

    .logo-mb img {
        max-height: 48px;
        width: auto;
        object-fit: contain;
    }

    .menu_baophu {
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 998;
        left: 0;
        top: 0;
        position: fixed;
        width: 100%;
        height: 100%;
        display: none;
    }

    .menu_mobi {
        background: #1a1a1a;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 6px 14px;
        width: 100%;
        position: sticky;
        top: 0;
        z-index: 9999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-sizing: border-box;
    }

    .menu_mobi .menu-res {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        min-height: 60px;
        position: relative;
    }

    .menu-res__left {
        display: flex;
        align-items: center;
        flex: 0 0 88px;
        justify-content: flex-start;
    }

    .icon_menu_mobi {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.14);
        color: #ffffff !important;
        font-size: 18px;
        cursor: pointer;
        margin: 0;
        text-align: center;
        transition: all 0.2s ease;
        box-sizing: border-box;
    }

    .icon_menu_mobi:active {
        transform: scale(0.92);
        background: rgba(223, 107, 130, 0.25);
        border-color: #c81e2b;
        color: #c81e2b !important;
    }

    .logo-mobi {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        text-align: center;
        padding: 6px 0;
    }

    .logo-mobi img {
        max-height: 46px;
        max-width: 180px;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    .menu-res__right {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 88px;
        justify-content: flex-end;
    }

    .mobi-btn-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 16px;
        text-decoration: none;
        cursor: pointer;
        padding: 0;
        margin: 0;
        border: none;
        outline: none;
        transition: all 0.2s ease;
        box-sizing: border-box;
    }

    .mobi-btn-search {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.14);
        color: #ffffff;
    }

    .mobi-btn-search:active,
    .mobi-btn-search.active {
        background: rgba(223, 107, 130, 0.25);
        border-color: #c81e2b;
        color: #c81e2b;
    }

    .mobi-btn-call {
        background: linear-gradient(135deg, #c81e2b 0%, #c81e2b 100%);
        color: #ffffff;
        box-shadow: 0 3px 12px rgba(223, 107, 130, 0.4);
    }

    .mobi-btn-call:active {
        transform: scale(0.92);
        box-shadow: 0 1px 4px rgba(223, 107, 130, 0.25);
    }

    .mobi-search-bar {
        padding: 8px 0 12px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        animation: mobiSearchAnim 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes mobiSearchAnim {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobi-search-form {
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 25px;
        padding: 4px 6px 4px 16px;
        box-sizing: border-box;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .mobi-search-form:focus-within {
        border-color: #c81e2b;
        box-shadow: 0 0 0 3px rgba(223, 107, 130, 0.25);
        background: rgba(255, 255, 255, 0.12);
    }

    .mobi-search-input {
        flex: 1 1 auto;
        background: transparent;
        border: none;
        outline: none;
        color: #ffffff;
        font-size: 14px;
        padding: 6px 0;
        min-width: 0;
    }

    .mobi-search-input::placeholder {
        color: rgba(255, 255, 255, 0.5);
        font-size: 13.5px;
    }

    .mobi-search-submit {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #c81e2b;
        color: #ffffff;
        border: none;
        cursor: pointer;
        font-size: 13px;
        flex-shrink: 0;
        transition: background-color 0.2s ease, transform 0.15s ease;
    }

    .mobi-search-submit:active {
        transform: scale(0.92);
        background: #c55369;
    }

    .menu_mobi_add {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 320px;
        max-width: 84vw;
        background: #181818;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.75);
        transform: translateX(-100%);
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 9999999;
        overflow: hidden;
    }

    .menu_mobi_active {
        left: 0 !important;
        transform: translateX(0) !important;
    }

    .menures_inner {
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
        position: relative;
        background: #181818;
    }

    .menures_header {
        padding: 14px 16px;
        position: relative;
        background: #121212;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 60px;
        box-sizing: border-box;
    }

    .logo-mb {
        display: inline-flex;
        align-items: center;
        max-width: 170px;
    }

    .logo-mb img {
        max-height: 44px;
        width: auto;
        object-fit: contain;
        display: block;
    }

    .close_menu {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        position: static !important;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #ffffff;
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .close_menu:hover,
    .close_menu:active {
        background: rgba(223, 107, 130, 0.25);
        border-color: #c81e2b;
        color: #c81e2b;
        transform: scale(0.92);
    }

    .close_menu svg {
        width: 18px;
        height: 18px;
    }

    .menures_content {
        padding: 12px 14px;
        position: relative;
        overflow-y: auto;
        flex: 1 1 auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

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

    .menu_mobi_add ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        position: relative;
        margin: 0;
        list-style: none;
    }

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

    .menu_mobi_add ul li a,
    .menu_mobi_add .bean-header__menu-link {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px !important;
        font-size: 13.5px !important;
        font-weight: 500 !important;
        color: #e5e5e5 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.4px !important;
        text-decoration: none !important;
        border-radius: 8px !important;
        border: none !important;
        background: transparent !important;
        transition: all 0.2s ease !important;
        position: relative;
        width: 100%;
        box-sizing: border-box;
        white-space: normal !important;
    }

    .menu_mobi_add ul li a:hover,
    .menu_mobi_add ul li a:active,
    .menu_mobi_add .bean-header__menu-link:hover {
        background: rgba(255, 255, 255, 0.05) !important;
        color: #c81e2b !important;
    }

    .menu_mobi_add ul li a.active,
    .menu_mobi_add .bean-header__menu-link.active,
    .menu_mobi_add ul li.active>a {
        background: rgba(223, 107, 130, 0.12) !important;
        color: #c81e2b !important;
        font-weight: 600 !important;
        border-left: 3px solid #c81e2b !important;
        border-radius: 0 8px 8px 0 !important;
    }

    .menu_mobi_add ul li a svg {
        display: none !important;
    }

    .menu_mobi_add ul li a i {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        color: #c81e2b;
        background: rgba(223, 107, 130, 0.12);
        border-radius: 50%;
        transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    }

    .menu_mobi_add ul li a.active2 i {
        transform: translateY(-50%) rotate(90deg);
        color: #ffffff;
        background: #c81e2b;
    }

    .menu_mobi_add ul ul {
        display: none;
        padding-left: 12px;
        margin: 4px 0 8px 0;
        background: rgba(0, 0, 0, 0.25);
        border-radius: 8px;
        border-left: 2px solid rgba(223, 107, 130, 0.35);
    }

    .menu_mobi_active .menu_lvl2>ul {
        padding: 4px 0 4px 8px;
    }

    .menu_mobi_add ul li ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

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

    .menu_mobi_add ul li ul li a,
    .menu_mobi_add ul li ul li .bean-header__menu-link {
        padding: 9px 12px !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        color: #b0b0b0 !important;
        text-transform: none !important;
    }

    .menu_mobi_add ul li ul li a:hover {
        color: #c81e2b !important;
    }

    .menu_mobi_add ul li ul li ul li a {
        padding-left: 18px !important;
        font-size: 12.5px !important;
        color: #999999 !important;
    }

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

    .menures_footer {
        padding: 16px 14px;
        margin-top: auto;
        background: #121212;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .thongtin-mb ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .thongtin-mb ul li,
    .thongtin-mb ul li a {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #c0c0c0;
        font-size: 12.5px;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.2s ease;
        line-height: 1.4;
    }

    .thongtin-mb ul li a:hover {
        color: #c81e2b;
    }

    .thongtin-mb ul li i {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        background: rgba(223, 107, 130, 0.12);
        color: #c81e2b;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12.5px;
        flex-shrink: 0;
    }


    .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: 1fr;
        gap: 24px;
    }

    .prodetail__info {
        padding: 24px;
    }

    .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;
    }
}

/* =========================================================================
   BREAKPOINT: @media (max-width: 870px)
   ========================================================================= */
@media (max-width: 870px) {
    .scrollToTop {
        bottom: 140px
    }
}

/* =========================================================================
   BREAKPOINT: @media (max-width: 767px)
   ========================================================================= */
@media (max-width: 767px) {
    .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 {
        padding-top: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        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 {
        padding: 16px;
    }

    .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) {
    .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 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        position: relative;
    }

    .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;
    }
}

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

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