/* ===== scroll_bnr: cột nút cố định mép phải (PC), nằm trên #to_top_btn ===== */
@media only screen and (min-width: 950px) {
    #main_video .scroll_bnr {
        display: flex;
        flex-direction: column;
        gap: 0;
        right: 0;
        bottom: 70px; /* nằm sát trên #to_top_btn (cao 70px) */
        width: 70px;
        overflow: visible;
    }
    #main_video .scroll_bnr .v01,
    #main_video .scroll_bnr .v02,
    #main_video .scroll_bnr .v03 {
        writing-mode: horizontal-tb;
    }
    #main_video .scroll_bnr .v01 a,
    #main_video .scroll_bnr .v02 a,
    #main_video .scroll_bnr .v03 a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 70px;
        height: 80px;
        padding: 0.8rem 0.4rem;
        border-radius: 0;
        color: #fff !important;
        font-size: 1.3rem;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: 0;
        text-decoration: none;
        box-shadow: none;
        transition: 0.3s;
    }
    #main_video .scroll_bnr .v01 a::before,
    #main_video .scroll_bnr .v02 a::before,
    #main_video .scroll_bnr .v03 a::before {
        font-family: "Font Awesome 5 Free";
        font-size: 2.2rem;
        line-height: 1;
        margin-bottom: 0.6rem;
    }
    /* TEL - xanh dương */
    #main_video .scroll_bnr .v01 a {
        background: linear-gradient(180deg, #2f97e0 0%, #1d7fcb 100%);
    }
    #main_video .scroll_bnr .v01 a::before {
        content: "\f095";
        font-weight: 900;
    }
    /* 来店予約 - hồng */
    #main_video .scroll_bnr .v02 a {
        background: linear-gradient(180deg, #f07f9b 0%, #e6577b 100%);
    }
    #main_video .scroll_bnr .v02 a::before {
        content: "\f0e0";
        font-weight: 400;
    }
    /* 料金 - vàng */
    #main_video .scroll_bnr .v03 a {
        background: linear-gradient(180deg, #fbbf1a 0%, #f2a900 100%);
    }
    #main_video .scroll_bnr .v03 a::before {
        content: "\f51e";
        font-weight: 900;
    }
    #main_video .scroll_bnr .v01 a:hover,
    #main_video .scroll_bnr .v02 a:hover,
    #main_video .scroll_bnr .v03 a:hover {
        opacity: 0.8;
    }
}

/* ===== SP/TB: nền header + viền răng cưa ===== */
@media only screen and (max-width: 949px) {
    #site_header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 64px;
        background: rgba(243, 235, 231, 0.95);
        z-index: -1;
    }
    #site_header::after {
        content: "";
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        height: 6px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='6'%3E%3Cpath d='M0 0H32L16 6Z' fill='%23f3ebe7' fill-opacity='0.95'/%3E%3C/svg%3E") repeat-x;
        z-index: -1;
    }
    /* logo chữ tối để nổi trên nền sáng */
    #site_header #site_header_title .first_logo {
        display: none;
    }
    #site_header #site_header_title .second_logo {
        display: block;
    }

    /* header dính cố định khi cuộn (ghi đè .fixed/.subfixed của cmn.css) */
    #site_header,
    #site_header.fixed,
    #site_header.subfixed {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        background-color: transparent !important;
    }
    #site_header.fixed #site_header_title,
    #site_header.subfixed #site_header_title {
        display: block !important;
    }
    #site_header.fixed #site_header_title .second_logo,
    #site_header.subfixed #site_header_title .second_logo {
        display: block !important;
        width: 230px !important;
        top: 1rem !important;
        left: 1rem !important;
    }
}

/* ===== SP/TB: hamburger chuyển lên góc phải header ===== */
@media only screen and (max-width: 949px) {
    #site_header #main_nav_btn {
        top: 0;
        bottom: auto;
        right: 0;
        width: 64px;
        height: 64px;
        background: none;
    }
    #site_header .menubar {
        position: relative;
        width: 64px;
        height: 64px;
        padding: 1.2rem 1.4rem 1rem;
        background: none;
        align-content: center;
    }
    #site_header .menubar_line {
        height: 2px;
        margin-bottom: 7px;
        background: #e8789a;
    }
    #site_header .menubar_line_bottom {
        margin-bottom: 0;
    }
    #site_header .menubar::after {
        content: "MENU";
        display: block;
        width: 100%;
        margin-top: 0.5rem;
        font-size: 1rem;
        line-height: 1;
        letter-spacing: 0.05em;
        text-align: center;
        color: #e8789a;
    }
    #site_header .menubar.active::after {
        margin-top: 1.4rem; /* chừa chỗ cho chữ X khi xoay, tránh đè lên chữ MENU */
    }
    /* giữ hiệu ứng chữ X khi mở menu */
    #site_header .menubar.active .menubar_line_top {
        margin-bottom: 0;
    }
    #site_header .menubar.active .menubar_line_bottom {
        margin-top: -2px;
    }
}

@media only screen and (max-width: 949px) {
	#colmunContainer{
		padding-top: 64px;
	}
    body .footer_nav {
        left: 0;
        width: 100%;
        height: auto;
        gap: 4px;
        padding: 4px;
        background: none;
        box-sizing: border-box;
    }
    body .footer_nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1 1 0;
        width: auto;
        height: 62px;
        padding: 0.4rem;
        border: none;
        border-radius: 8px;
        color: #fff;
        font-weight: 700;
        line-height: 1.2;
        text-decoration: none;
    }
    body .footer_nav a i {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    body .footer_nav a .txt {
        font-size: 1.8rem;
    }
    body .footer_nav a .sub {
        font-size: 1rem;
        font-weight: 500;
    }
    body .footer_nav .btn_sp_reserve {
        flex-grow: 1.4;
    }
    body .footer_nav .btn_sp_reserve .txt {
        font-size: 1.5rem;
    }
    body .footer_nav .btn_sp_tel {
        background: linear-gradient(180deg, #2f97e0 0%, #1d7fcb 100%);
    }
    body .footer_nav .btn_sp_reserve {
        background: linear-gradient(180deg, #f07f9b 0%, #e6577b 100%);
    }
    body .footer_nav .btn_sp_price {
        background: linear-gradient(180deg, #fbbf1a 0%, #f2a900 100%);
    }
}
