/*
Theme Name: imta-theme
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,500;1,400;1,500&display=swap&subset=vietnamese');
.absolute-footer{
	display:none;
}

/* ==========================================
   MISATO - LUXURY BOOKING BUTTON
   Gold Glow + Shimmer Animation
========================================== */

.misato-booking-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 14px 28px !important;
    background: #14110f !important;
    color: #d9a441 !important;

    border: 2px solid #d9a441 !important;
    border-radius: 50px;

    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;

    overflow: hidden;
    isolation: isolate;

    box-shadow:
        0 0 0 3px rgba(217,164,65,.08),
        0 0 12px rgba(217,164,65,.12),
        inset 0 0 10px rgba(217,164,65,.06);

    transition:
        background .35s ease,
        color .35s ease,
        box-shadow .35s ease,
        transform .35s ease;

    /* Nhịp sáng vàng nhẹ */
    animation: misatoGoldPulse 3.5s ease-in-out infinite;
}

/* Icon và chữ */
.misato-booking-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.misato-booking-btn span {
    position: relative;
    z-index: 2;
}

/* Ánh sáng vàng lướt qua nút */
.misato-booking-btn::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: -50%;
    left: -80%;

    width: 45%;
    height: 200%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,225,155,.06),
        rgba(255,225,155,.24),
        rgba(255,225,155,.06),
        transparent
    );

    transform: skewX(-25deg);
    pointer-events: none;

    animation: misatoGoldShine 5s ease-in-out infinite;
}

/* Hiệu ứng nhịp sáng */
@keyframes misatoGoldPulse {
    0%, 100% {
        box-shadow:
            0 0 0 3px rgba(217,164,65,.07),
            0 0 10px rgba(217,164,65,.10),
            inset 0 0 8px rgba(217,164,65,.05);
    }

    50% {
        box-shadow:
            0 0 0 5px rgba(217,164,65,.12),
            0 0 22px rgba(217,164,65,.24),
            inset 0 0 12px rgba(217,164,65,.09);
    }
}

/* Ánh sáng quét chậm, có khoảng nghỉ */
@keyframes misatoGoldShine {
    0%, 15% {
        left: -80%;
    }

    45%, 100% {
        left: 150%;
    }
}

/* Hover */
.misato-booking-btn:hover {
    background: #d9a441 !important;
    color: #14110f !important;
    border-color: #f2c46e !important;

    box-shadow:
        0 0 0 4px rgba(217,164,65,.15),
        0 0 25px rgba(217,164,65,.32) !important;

    transform: translateY(-2px);
    animation-play-state: paused;
}

/* Icon chuyển màu theo nút */
.misato-booking-btn:hover svg {
    color: #14110f !important;
}

/* Khi nhấn */
.misato-booking-btn:active {
    transform: translateY(0) scale(.98);
}

/* Mobile */
@media (max-width: 549px) {
    .misato-booking-btn {
        padding: 12px 22px !important;
        font-size: 15px;
        gap: 9px;
    }

    .misato-booking-btn svg {
        width: 19px;
        height: 19px;
    }
}

/* Hỗ trợ người dùng giảm chuyển động */
@media (prefers-reduced-motion: reduce) {
    .misato-booking-btn,
    .misato-booking-btn::before {
        animation: none !important;
    }
}


/* ===== MISATO HERO ===== */

.banner-hero {
    position: relative;
    overflow: hidden;
}

/* Hình nền */
.banner-hero .banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}



/* Bỏ nền và padding mặc định */
.banner-hero .text-box-content {
    background: transparent !important;
    padding: 0 !important;
}

.banner-hero .text-inner {
    text-align: left !important;
}

/* MISATO */
.banner-hero .misato-hero-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5.5vw, 80px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 1px;
    margin: 0 0 2px !important;
    padding: 0;
    background: linear-gradient(
        110deg,
        #fff0cf 0%,
        #e9b66f 55%,
        #f5bd70 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.misato-hero-title.custom{
	font-family: "Times New Roman", Times, serif !important;
	font-size: clamp(48px, 5.5vw, 60px);
}

/* Japanese Restaurant */
.banner-hero .misato-hero-subtitle {
    font-family: 'Noto Serif', Georgia, serif;
    font-size: clamp(21px, 2.1vw, 27px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.35;
    color: #f2e9df;
    margin: 0 0 18px !important;
}
.misato-contact-item > i {
    color: #E9B968;
}
/* Mô tả */
.banner-hero .misato-hero-description {
    border-left: 3px solid #e11927;
    padding-left: 14px;
    margin: 15px 0 20px !important;
    font-family: 'Noto Serif', Georgia, serif;
    font-size: clamp(15px, 1.3vw, 19px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.45;
    color: #f2e9df;
    text-align: left !important;
	max-width:650px;
}

.banner-hero .misato-hero-description span {
    display: block;
}

/* Nút khám phá thực đơn */
.misato-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    border: 2px solid #ed4949;
    border-radius: 50px;
    background: linear-gradient(
        180deg,
        #d71920 0%,
        #99070b 100%
    );
    color: #fff !important;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none !important;
    box-shadow: 0 2px 0 rgba(0,0,0,.4);
    transition: all .3s ease;
}

.misato-hero-btn:hover {
    background: #e01b23;
    color: #fff !important;
    transform: translateY(-2px);
}

.banner-hero .misato-hero-arrow {
    font-size: 22px;
    line-height: 1;
}

/* ===== TABLET ===== */
@media (max-width: 849px) {
    .banner-hero .text-box.banner-layer {
        left: 7% !important;
        width: 48% !important;
    }

    .banner-hero .misato-hero-title {
        font-size: 50px;
    }

    .banner-hero .misato-hero-subtitle {
        font-size: 23px;
    }

    .banner-hero .misato-hero-description {
        font-size: 15px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 549px) {
    .banner-hero .banner-bg img {
        object-position: 62% center;
    }

    .banner-hero .text-box.banner-layer {
        left: 6% !important;
        width: 88% !important;
        max-width: none;
    }

    .banner-hero .misato-hero-title {
        font-size: 60px;
    }
	.banner-hero .misato-hero-title.custom{
		font-size:35px;
	}

    .banner-hero .misato-hero-subtitle {
        font-size: 20px;
        margin-bottom: 15px !important;
    }

    .banner-hero .misato-hero-description {
        font-size: 15px;
        padding-left: 12px;
        margin-bottom: 17px !important;
			line-height:1.6
    }

    .banner-hero .misato-hero-btn {
        padding: 9px 16px;
        font-size: 11px;
    }
}
.title-h2 h2{
	    font-family: "Times New Roman", Times, serif !important;
    font-size: clamp(27px, 5.5vw, 35px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 1px;
    margin: 0 0 2px !important;
    padding: 0;
    background: linear-gradient( 110deg, #fff0cf 0%, #e9b66f 55%, #f5bd70 100% );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
	margin-bottom:15px !important;
}

/* Khung ảnh MISATO */
.img-border {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1.5px solid #B88945;
    box-sizing: border-box;
}

/* Khung chứa ảnh Flatsome */
.img-border .img-inner {
    border-radius: 23px;
    overflow: hidden;
    line-height: 0;
}

/* Hình ảnh */
.img-border .img-inner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 23px;
    transition: transform 0.4s ease;
}

/* Hover nhẹ */
.img-border:hover .img-inner img {
    transform: scale(1.03);
}

/* Mobile */
@media (max-width: 549px) {
    .img-border {
        border-radius: 16px;
    }

    .img-border .img-inner,
    .img-border .img-inner img {
        border-radius: 15px;
    }
}
.font-time{
	  font-family: "Times New Roman", Times, serif !important;
}


/* MISATO CONTACT */
.misato-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.45;
    color: #fff;
	font-size:15px;
}

/* Icon màu vàng */
.misato-contact-icon {
    color: #E9B968;
    font-size: 16px;
    width: 16px;
    line-height: 1.2;
    text-align: center;
}

/* Nội dung */
.misato-contact-item a,
.misato-contact-item span {
    color: inherit;
}

.misato-contact-item .misato-contact-icon {
    color: #E9B968;
}

.misato-contact-item a {
    text-decoration: none;
    transition: color .3s ease;
}

.misato-contact-item a:hover {
    color: #E9B968;
}

/* Mobile */
@media (max-width: 549px) {
    .misato-contact-item {
        font-size: 18px;
        gap: 14px;
        margin-bottom: 18px;
    }

    .misato-contact-icon {
        font-size: 24px;
        width: 28px;
        min-width: 28px;
    }
}
.menu-footer .ux-menu-link__link{
	min-height:10px;
}

.menu-footer a{
	color:#fff;
	font-size:15px;
	margin-bottom:0px;
}
.menu-footer a:hover{
	color:var(--primary-color) !important;
}
.section-footer{
	border-top:1px solid #d9a441;
	border-bottom:1px solid #d9a441;
}


/* =====================================
   MISATO NEWSLETTER - CF7 + FLATSOME
===================================== */

/* Khung form */
.misato-newsletter {
    display: flex !important;
    align-items: center !important;
    width: 100%;
    max-width: 530px;
    height: 56px;
    padding: 0 !important;
    margin: 0 !important;
    border: 2px solid #B88945;
    border-radius: 50px;
    background: #1B110D;
    box-shadow: 0 0 0 3px rgba(184,137,69,.12);
    overflow: hidden;
    box-sizing: border-box;
}

/* Xử lý thẻ p tự sinh của CF7 */
.misato-newsletter p {
    display: contents !important;
}

.misato-newsletter br {
    display: none !important;
}

/* Vùng nhập email */
.misato-newsletter .misato-newsletter-field {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 12px 0 20px !important;
    margin: 0 !important;
    gap: 12px;
    box-sizing: border-box;
}

/* Icon email */
.misato-newsletter .misato-mail-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    padding: 0 !important;
    margin: 0 !important;
    color: #D9B477;
    line-height: 1;
    visibility: visible !important;
    opacity: 1 !important;
}

.misato-newsletter .misato-mail-icon svg {
    display: block !important;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
}

/* Wrapper CF7 */
.misato-newsletter .wpcf7-form-control-wrap {
    display: block !important;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

/* Input email */
.misato-newsletter input[type="email"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
    font-family: "Times New Roman", Times, serif;
    font-size: 18px !important;
    font-weight: 400;
    line-height: normal !important;
    text-align: left;
}

/* Placeholder */
.misato-newsletter input[type="email"]::placeholder {
    color: #E7D2B3 !important;
    opacity: 1 !important;
}

/* Nút đăng ký */
.misato-newsletter input[type="submit"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 138px;
    width: 138px !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 15px !important;
    margin: 0 !important;
    border: 0 !important;
    border-left: 2px solid #D9A65C !important;
    border-radius: 0 50px 50px 0 !important;
    background: linear-gradient(
        180deg,
        #E01820 0%,
        #A90008 100%
    ) !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
    font-family: "Times New Roman", Times, serif;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: center;
    cursor: pointer;
    transition: background .3s ease;
}

/* Hover */
.misato-newsletter input[type="submit"]:hover {
    background: #E31B23 !important;
    color: #FFFFFF !important;
}

/* Ẩn spinner CF7 */
.misato-newsletter .wpcf7-spinner {
    display: none !important;
}

/* Thông báo CF7 */
.wpcf7 form .wpcf7-response-output {
    margin: 12px 0 0;
    font-size: 13px;
	color:white;
}

/* ===== MOBILE ===== */
@media (max-width: 549px) {

    .misato-newsletter {
        height: 50px;
    }

    .misato-newsletter .misato-newsletter-field {
        padding-left: 14px !important;
        padding-right: 8px !important;
        gap: 8px;
    }

    .misato-newsletter .misato-mail-icon {
        flex-basis: 20px;
        width: 20px;
        height: 20px;
    }

    .misato-newsletter .misato-mail-icon svg {
        width: 20px;
        height: 20px;
    }

    .misato-newsletter input[type="email"] {
        font-size: 15px !important;
    }

    .misato-newsletter input[type="submit"] {
        flex-basis: 105px;
        width: 105px !important;
        font-size: 17px !important;
        padding: 0 8px !important;
    }
}

/* Thu nhỏ form MISATO */
.misato-newsletter {
    max-width: 420px;
    height: 46px;
}

/* Vùng nhập email */
.misato-newsletter .misato-newsletter-field {
    padding-left: 15px !important;
    gap: 9px;
}

/* Icon email */
.misato-newsletter .misato-mail-icon,
.misato-newsletter .misato-mail-icon svg {
    width: 20px;
    height: 20px;
}

.misato-newsletter .misato-mail-icon {
    flex-basis: 20px;
}

/* Chữ nhập email */
.misato-newsletter input[type="email"] {
    font-size: 15px !important;
}

/* Nút đăng ký */
.misato-newsletter input[type="submit"] {
    flex: 0 0 110px;
    width: 110px !important;
    font-size: 16px !important;
}

/* Mobile */
@media (max-width: 549px) {
    .misato-newsletter {
        max-width: 100%;
        height: 44px;
    }

    .misato-newsletter input[type="email"] {
        font-size: 14px !important;
    }

    .misato-newsletter input[type="submit"] {
        flex: 0 0 95px;
        width: 95px !important;
        font-size: 15px !important;
    }
}



/* Overlay banner MISATO trên mobile */
@media (max-width: 549px) {

    .banner-hero .banner-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.80) 0%,
            rgba(0, 0, 0, 0.60) 55%,
            rgba(0, 0, 0, 0.35) 100%
        );
        pointer-events: none;
    }

    /* Đảm bảo chữ nằm trên overlay */
    .banner-hero .banner-layers {
        z-index: 2;
    }

    .banner-hero .misato-hero-title,
    .banner-hero .misato-hero-subtitle,
    .banner-hero .misato-hero-description {
        position: relative;
        z-index: 3;
    }
}




/* ===================================
   MISATO CONTACT FORM 7
=================================== */

.misato-contact-form {
    width: 100%;
    max-width: 650px;
    font-family: Arial, sans-serif;
}

/* Tiêu đề */
.misato-contact-form .misato-form-title {
    font-family: "Times New Roman", Times, serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    color: #F1C782;
    margin: 0 0 22px !important;
    text-transform: none;
    letter-spacing: 0;
}

/* 2 cột */
.misato-contact-form .misato-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

/* Khoảng cách các trường */
.misato-contact-form .misato-form-field {
    min-width: 0;
    margin-bottom: 14px;
}

/* CF7 wrapper */
.misato-contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Input / Select / Textarea */
.misato-contact-form input[type="text"],
.misato-contact-form input[type="tel"],
.misato-contact-form input[type="email"],
.misato-contact-form select,
.misato-contact-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 16px !important;
    height: 44px;
    min-height: 44px;
    border: 1px solid #A9874E !important;
    border-radius: 9px !important;
    background: rgba(17, 14, 12, .65) !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    outline: none;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    transition: border-color .25s ease;
    box-sizing: border-box;
}

/* Placeholder */
.misato-contact-form input::placeholder,
.misato-contact-form textarea::placeholder {
    color: #E4E0DB !important;
    opacity: 1;
}

/* Focus */
.misato-contact-form input:focus,
.misato-contact-form select:focus,
.misato-contact-form textarea:focus {
    border-color: #E9B968 !important;
    box-shadow: 0 0 0 2px rgba(233,185,104,.12) !important;
}

/* Select */
.misato-contact-form select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 42px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23E9B968' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 13px center !important;
    background-size: 18px !important;
}

.misato-contact-form select option {
    background: #211914;
    color: #FFFFFF;
}

/* Textarea */
.misato-contact-form textarea {
    height: 115px !important;
    min-height: 115px !important;
    padding: 14px 16px !important;
    resize: vertical;
}

/* Nút gửi */
.misato-contact-form .misato-form-submit {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.misato-contact-form .misato-send-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 65%;
    max-width: 350px;
    min-height: 48px;
    padding: 10px 22px !important;
    margin: 0 !important;
    border: 1px solid #F2B077 !important;
    border-radius: 50px !important;
    background: linear-gradient(
        180deg,
        #E71920 0%,
        #B6000A 100%
    ) !important;
    color: #FFFFFF !important;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none !important;
    letter-spacing: 0;
    box-shadow: none !important;
    cursor: pointer;
    transition: all .3s ease;
}

.misato-contact-form .misato-send-btn svg {
    display: block;
    width: 23px;
    height: 23px;
    flex-shrink: 0;
    color: #FFE0A4;
}

.misato-contact-form .misato-send-btn:hover {
    background: #F02029 !important;
    transform: translateY(-2px);
}

/* Xử lý thẻ tự sinh CF7 */
.misato-contact-form p {
    display: contents !important;
}

.misato-contact-form br {
    display: none !important;
}

/* Thông báo lỗi */
.misato-contact-form .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #FF7777;
    margin-top: 5px;
}

.misato-contact-form .wpcf7-spinner {
    position: absolute;
}

/* ===== MOBILE ===== */
@media (max-width: 549px) {
    .misato-contact-form .misato-form-title {
        font-size: 27px;
        margin-bottom: 18px !important;
    }

    .misato-contact-form .misato-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .misato-contact-form input[type="text"],
    .misato-contact-form input[type="tel"],
    .misato-contact-form input[type="email"],
    .misato-contact-form select {
        height: 43px;
        min-height: 43px;
        font-size: 14px;
    }

    .misato-contact-form textarea {
        height: 105px !important;
        min-height: 105px !important;
    }

    .misato-contact-form .misato-send-btn {
        width: 100%;
        max-width: 100%;
        min-height: 46px;
        font-size: 15px;
    }
}

/* =====================================
   MISATO CONTACT FORM - LOADING
===================================== */

/* Nút gửi */
.misato-contact-form .misato-send-btn {
    position: relative;
    transition: all .3s ease;
}

/* Ẩn spinner mặc định CF7 */
.wpcf7 form .misato-contact-form ~ .wpcf7-spinner,
.misato-contact-form .wpcf7-spinner {
    display: none !important;
}

/* Trạng thái đang gửi */
.wpcf7 form.submitting
.misato-contact-form .misato-send-btn {
    opacity: .85;
    cursor: wait !important;
    pointer-events: none;
    transform: none !important;
}

/* Ẩn icon máy bay giấy */
.wpcf7 form.submitting
.misato-contact-form .misato-send-btn svg {
    display: none !important;
}

/* Icon loading xoay */
.wpcf7 form.submitting
.misato-contact-form .misato-send-btn::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: misatoContactSpin .7s linear infinite;
}

/* Đổi chữ khi đang gửi */
.wpcf7 form.submitting
.misato-contact-form .misato-send-btn span {
    font-size: 0 !important;
}

.wpcf7 form.submitting
.misato-contact-form .misato-send-btn span::after {
    content: "Đang gửi...";
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
}

/* Hiệu ứng xoay */
@keyframes misatoContactSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile */
@media (max-width: 549px) {
    .wpcf7 form.submitting
    .misato-contact-form .misato-send-btn::before {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }
}
/* Đảm bảo lỗi nằm đúng vị trí */
.misato-contact-form .misato-form-field {
    position: relative;
    min-width: 0;
    margin-bottom: 14px;
    overflow: visible !important;
}

/* Wrapper CF7 */
.misato-contact-form .wpcf7-form-control-wrap {
    position: relative;
    display: block;
    width: 100%;
}

/* Khi có lỗi: thêm khoảng cách phía dưới */
.misato-contact-form
.misato-form-field:has(.wpcf7-not-valid-tip) {
    margin-bottom: 34px !important;
}

/* Xóa giao diện lỗi mặc định */
.misato-contact-form .wpcf7-not-valid-tip {
    position: absolute !important;
    top: calc(100% + 5px) !important;
    left: 0 !important;
    right: auto !important;
    z-index: 5;

    display: block !important;
    width: max-content !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 5px 10px !important;

    background: #351B18 !important;
    border: 1px solid #A94D43 !important;
    border-radius: 5px !important;

    color: #FFAAA0 !important;
    font-family: Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    white-space: normal !important;

    box-shadow: none !important;
    text-shadow: none !important;
}

/* Xóa mũi tên tam giác lỗi */
.misato-contact-form .wpcf7-not-valid-tip::before,
.misato-contact-form .wpcf7-not-valid-tip::after {
    content: none !important;
    display: none !important;
}

/* Input bị lỗi */
.misato-contact-form input.wpcf7-not-valid,
.misato-contact-form select.wpcf7-not-valid,
.misato-contact-form textarea.wpcf7-not-valid {
    border-color: #D65B50 !important;
    background-color: rgba(90,25,20,.15) !important;
}

/* Focus khi lỗi */
.misato-contact-form .wpcf7-not-valid:focus {
    border-color: #F2C46E !important;
    box-shadow: 0 0 0 2px rgba(242,196,110,.12) !important;
}

/* ==========================================
   THÔNG BÁO LỖI TỔNG
========================================== */

.wpcf7 form:has(.misato-contact-form)
.wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 12px 15px !important;

    background: #351B18 !important;
    border: 1px solid #A94D43 !important;
    border-radius: 8px !important;

    color: #FFAAA0 !important;
    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;

    box-shadow: none !important;
}

/* Lỗi xác thực */
.wpcf7 form.invalid:has(.misato-contact-form)
.wpcf7-response-output {
    border-color: #D65B50 !important;
}

/* Gửi thành công */
.wpcf7 form.sent:has(.misato-contact-form)
.wpcf7-response-output {
    background: #172B20 !important;
    border-color: #4D9871 !important;
    color: #A6E4BE !important;
}

/* Lỗi gửi email */
.wpcf7 form.failed:has(.misato-contact-form)
.wpcf7-response-output {
    background: #351B18 !important;
    border-color: #D65B50 !important;
    color: #FFAAA0 !important;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 549px) {

    .misato-contact-form
    .misato-form-field:has(.wpcf7-not-valid-tip) {
        margin-bottom: 32px !important;
    }

    .misato-contact-form .wpcf7-not-valid-tip {
        font-size: 11px !important;
        padding: 5px 8px !important;
    }

    .wpcf7 form:has(.misato-contact-form)
    .wpcf7-response-output {
        font-size: 12px !important;
        padding: 10px 12px !important;
    }

}

/* ====================================
   MISATO COMPANY INFORMATION
   Flatsome - Contact Page
==================================== */

/* Khung tổng */
.misato-company-info {
    width: 100%;
    max-width: 500px;
    font-family: Arial, sans-serif;
}

/* Mỗi dòng thông tin */
.misato-company-info .misato-company-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
    margin: 0;
    min-height: 0;
}

/* Khung icon */
.misato-company-info .misato-company-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 52px;
    flex: 0 0 60px;
    padding: 0;
    margin: 0;
    border: 1px solid #D9A84E;
    border-radius: 13px;
    color: #F2C46E;
    box-sizing: border-box;
}

/* SVG */
.misato-company-info .misato-company-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Nội dung bên phải */
.misato-company-info .misato-company-detail {
    flex: 1;
    min-width: 0;
    padding: 0 0 12px;
    margin: 0;
    border-bottom: 1px solid #6B4C2B;
}

/* Bỏ viền dòng cuối */
.misato-company-info
.misato-company-row:last-child
.misato-company-detail {
    border-bottom: none;
}

/* Tiêu đề */
.misato-company-info .misato-company-label {
    color: #F2CC87;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    text-transform: none;
}

/* Giá trị */
.misato-company-info .misato-company-value,
.misato-company-info .misato-company-value:visited {
    display: block;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    margin: 0;
    padding: 0;
    overflow-wrap: anywhere;
}

/* Hover liên kết */
.misato-company-info a.misato-company-value:hover {
    color: #F2C46E;
    text-decoration: none;
}

/* Chống khoảng cách mặc định Flatsome */
.misato-company-info p {
    margin: 0;
}

/* ====================================
   MOBILE
==================================== */
@media (max-width: 480px) {

    .misato-company-info .misato-company-row {
        gap: 14px;
        padding: 9px 0;
    }

    .misato-company-info .misato-company-icon {
        width: 50px;
        height: 48px;
        flex: 0 0 50px;
        border-radius: 11px;
    }

    .misato-company-info .misato-company-icon svg {
        width: 22px;
        height: 22px;
    }

    .misato-company-info .misato-company-label {
        font-size: 15px;
    }

    .misato-company-info .misato-company-value {
        font-size: 14px;
        line-height: 1.5;
    }

    .misato-company-info .misato-company-detail {
        padding-bottom: 10px;
    }
}



/* =========================================
   MISATO BOOKING V2 - CF7 + FLATSOME
========================================= */

.misato-booking-v2 {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    box-sizing: border-box;
}

.misato-booking-v2 *,
.misato-booking-v2 *::before,
.misato-booking-v2 *::after {
    box-sizing: border-box;
}

/* TIÊU ĐỀ */
.misato-booking-v2 .mbv2-heading {
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 0 28px;
    padding: 0 0 12px;
    color: #F3CF91;
    font-family: "Times New Roman", Times, serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}

.misato-booking-v2 .mbv2-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 68px;
    height: 4px;
    background: #D71920;
    border-radius: 5px;
}

/* GRID 2 CỘT */
.misato-booking-v2 .mbv2-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 12px;
}

/* Ô NHẬP */
.misato-booking-v2 .mbv2-field {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid #A78045;
    border-radius: 7px;
    background: rgba(15, 12, 10, .65);
    transition: border-color .25s ease;
}

.misato-booking-v2 .mbv2-field:focus-within {
    border-color: #F0C57B;
    box-shadow: 0 0 0 2px rgba(240,197,123,.1);
}

/* ICON */
.misato-booking-v2 .mbv2-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #F2C46E;
    font-size: 19px;
    line-height: 1;
    pointer-events: none;
    z-index: 2;
}

.misato-booking-v2 .mbv2-icon i {
    font-size: 19px;
    line-height: 1;
    font-style: normal;
}

/* CF7 WRAPPER */
.misato-booking-v2 .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* INPUT + SELECT */
.misato-booking-v2 .mbv2-field input,
.misato-booking-v2 .mbv2-field select,
.misato-booking-v2 .mbv2-field textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 35px 0 43px !important;
    border: none !important;
    border-radius: 7px !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    color: #FFFFFF !important;
    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: normal !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/* PLACEHOLDER */
.misato-booking-v2 input::placeholder,
.misato-booking-v2 textarea::placeholder {
    color: #E5E0D9 !important;
    opacity: 1 !important;
}

/* SELECT */
.misato-booking-v2 select {
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer;
    padding-right: 34px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23F2C46E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
}

.misato-booking-v2 select option {
    background: #211914;
    color: #FFFFFF;
}

/* DATE */
.misato-booking-v2 input[type="date"] {
    color-scheme: dark;
    cursor: pointer;
}

.misato-booking-v2 input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: sepia(1) saturate(3) hue-rotate(345deg);
}

/* FULL WIDTH */
.misato-booking-v2 .mbv2-full {
    grid-column: 1 / -1;
}

/* TEXTAREA */
.misato-booking-v2 .mbv2-textarea {
    height: 100px;
    align-items: flex-start;
}

.misato-booking-v2 .mbv2-textarea .mbv2-icon {
    top: 16px;
    transform: none;
}

.misato-booking-v2 .mbv2-textarea textarea {
    height: 100% !important;
    min-height: 100% !important;
    padding: 13px 15px 13px 43px !important;
    resize: vertical;
}

/* NÚT GỬI */
.misato-booking-v2 .mbv2-submit {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.misato-booking-v2 .mbv2-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 60%;
    max-width: 350px;
    min-height: 48px;
    margin: 0 !important;
    padding: 10px 22px !important;
    border: 1px solid #F1A35C !important;
    border-radius: 50px !important;
    background: linear-gradient(
        180deg,
        #E91A20 0%,
        #B60009 100%
    ) !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    cursor: pointer;
    transition: all .3s ease;
}

.misato-booking-v2 .mbv2-button svg {
    display: block;
    width: 23px;
    height: 23px;
    color: #FFFFFF;
    flex-shrink: 0;
}

.misato-booking-v2 .mbv2-button:hover {
    background: #F02229 !important;
    transform: translateY(-2px);
}

/* CF7 AUTO FORMAT */
.misato-booking-v2 p {
    display: contents !important;
}

.misato-booking-v2 br {
    display: none !important;
}

/* VALIDATION */
.misato-booking-v2 .wpcf7-not-valid-tip {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 5;
    color: #FF7777;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
}

.misato-booking-v2 .wpcf7-spinner {
    display: none;
}

/* ===== TABLET ===== */
@media (max-width: 849px) {
    .misato-booking-v2 .mbv2-heading {
        font-size: 27px;
    }

    .misato-booking-v2 .mbv2-grid {
        gap: 12px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 549px) {
    .misato-booking-v2 .mbv2-heading {
        font-size: 25px;
        margin-bottom: 22px;
    }

    .misato-booking-v2 .mbv2-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .misato-booking-v2 .mbv2-field {
        height: 43px;
    }

    .misato-booking-v2 .mbv2-textarea {
        height: 105px;
    }

    .misato-booking-v2 .mbv2-field input,
    .misato-booking-v2 .mbv2-field select,
    .misato-booking-v2 .mbv2-field textarea {
        font-size: 13px !important;
    }

    .misato-booking-v2 .mbv2-button {
        width: 100%;
        max-width: 100%;
        min-height: 46px;
        font-size: 15px !important;
    }
}



/* ====================================
   MISATO BOOKING BENEFITS
==================================== */

.misato-booking-benefits {
    width: 100%;
    max-width: 420px;
    font-family: Arial, sans-serif;
}

/* Mỗi dòng */
.misato-booking-benefits .mb-benefit-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    margin: 0;
    border-bottom: 1px solid #59452B;
}

/* Bỏ viền dòng cuối */
.misato-booking-benefits
.mb-benefit-item:last-child {
    border-bottom: none;
}

/* Khung icon */
.misato-booking-benefits .mb-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border: 1px solid #D6A54F;
    border-radius: 9px;
    color: #F2C46E;
    box-sizing: border-box;
}

/* SVG */
.misato-booking-benefits .mb-benefit-icon svg {
    display: block;
    width: 32px;
    height: 32px;
}

/* Nội dung */
.misato-booking-benefits .mb-benefit-content {
    flex: 1;
    min-width: 0;
}

/* Tiêu đề */
.misato-booking-benefits .mb-benefit-title {
    color: #F2CC87;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 3px;
}

/* Mô tả */
.misato-booking-benefits .mb-benefit-desc {
    color: #F5F5F5;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

/* Mobile */
@media (max-width: 549px) {
    .misato-booking-benefits .mb-benefit-item {
        gap: 15px;
        padding: 13px 0;
    }

    .misato-booking-benefits .mb-benefit-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .misato-booking-benefits .mb-benefit-icon svg {
        width: 28px;
        height: 28px;
    }

    .misato-booking-benefits .mb-benefit-title {
        font-size: 15px;
    }

    .misato-booking-benefits .mb-benefit-desc {
        font-size: 13px;
    }
}

/* ====================================
   FIX ICON FORM DAT BAN MISATO
==================================== */

/* SVG icon đồng bộ */
.misato-booking-v2 .mbv2-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px;
    height: 22px;
    color: #F2C46E !important;
    pointer-events: none;
    z-index: 3;
}

.misato-booking-v2 .mbv2-icon svg {
    display: block !important;
    width: 21px !important;
    height: 21px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Input không đè icon */
.misato-booking-v2 .mbv2-field input,
.misato-booking-v2 .mbv2-field select {
    padding-left: 43px !important;
}

/* Select có mũi tên vàng */
.misato-booking-v2 .mbv2-field select {
    -webkit-appearance: none !important;
    appearance: none !important;
    padding-right: 35px !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2C46E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 17px 17px !important;
}

/* Giữ màu dropdown */
.misato-booking-v2 .mbv2-field select option {
    background: #211914 !important;
    color: #FFFFFF !important;
}

/* Ngày đặt */
.misato-booking-v2 .mbv2-date input[type="date"] {
    color-scheme: dark;
    padding-left: 43px !important;
    padding-right: 12px !important;
}

/* Icon lịch mặc định */
.misato-booking-v2
.mbv2-date input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 1;
    cursor: pointer;
    filter: sepia(1) saturate(2) hue-rotate(345deg);
}

/* Icon ghi chú */
.misato-booking-v2 .mbv2-textarea .mbv2-icon {
    top: 14px !important;
    transform: none !important;
}

/* Textarea */
.misato-booking-v2 .mbv2-textarea textarea {
    padding-left: 43px !important;
}

/* Loại bỏ bóng và viền mặc định Flatsome */
.misato-booking-v2 .mbv2-field input,
.misato-booking-v2 .mbv2-field select,
.misato-booking-v2 .mbv2-field textarea {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

/* Responsive */
@media (max-width: 549px) {
    .misato-booking-v2 .mbv2-icon svg {
        width: 19px !important;
        height: 19px !important;
    }

    .misato-booking-v2 .mbv2-field input,
    .misato-booking-v2 .mbv2-field select {
        padding-left: 42px !important;
    }
}

/* ==================================
   MISATO BOOKING - SUBMIT LOADING
================================== */

/* Nút gửi */
.misato-booking-v2 .mbv2-button {
    position: relative;
    transition: all .3s ease;
}

/* Ẩn spinner mặc định của CF7 */
.misato-booking-v2 .wpcf7-spinner {
    display: none !important;
}

/* Khi CF7 đang gửi */
.wpcf7 form.submitting .misato-booking-v2 .mbv2-button {
    opacity: .85;
    cursor: wait !important;
    pointer-events: none;
}

/* Ẩn icon lịch khi loading */
.wpcf7 form.submitting .misato-booking-v2 .mbv2-button svg {
    display: none !important;
}

/* Tạo icon loading */
.wpcf7 form.submitting .misato-booking-v2 .mbv2-button::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: misatoBookingSpin .7s linear infinite;
}

/* Đổi chữ khi đang gửi (CSS) */
.wpcf7 form.submitting .misato-booking-v2 .mbv2-button span {
    font-size: 0 !important;
}

.wpcf7 form.submitting .misato-booking-v2 .mbv2-button span::after {
    content: "Đang gửi yêu cầu...";
    font-size: 15px;
    font-weight: 700;
}

/* Animation */
@keyframes misatoBookingSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile */
@media (max-width: 549px) {
    .wpcf7 form.submitting .misato-booking-v2 .mbv2-button::before {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }
}

/* ==========================================
   MISATO BOOKING - VALIDATION ERROR FIX
   Contact Form 7 + Flatsome
========================================== */

/* Cho phép lỗi hiển thị ngoài khung input */
.misato-booking-v2 .mbv2-field {
    overflow: visible !important;
}

/* Khi có lỗi, tạo khoảng trống phía dưới */
.misato-booking-v2 .mbv2-field:has(.wpcf7-not-valid-tip) {
    margin-bottom: 26px !important;
}

/* Thông báo lỗi từng trường */
.misato-booking-v2 .wpcf7-not-valid-tip {
    position: absolute !important;
    top: calc(100% + 5px) !important;
    left: 0 !important;
    right: auto !important;
    z-index: 5;

    display: inline-flex !important;
    align-items: center;

    max-width: 100%;
    width: max-content;

    padding: 5px 9px !important;
    margin: 0 !important;

    background: #351A18 !important;
    border: 1px solid #9F4039 !important;
    border-radius: 5px !important;

    color: #FF9990 !important;
    font-family: Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    white-space: normal !important;

    box-shadow: none !important;
}

/* Input bị lỗi: viền đỏ nhẹ */
.misato-booking-v2 .mbv2-field:has(.wpcf7-not-valid) {
    border-color: #D65B50 !important;
    background: rgba(90, 25, 20, .12) !important;
}

/* Khi focus input lỗi */
.misato-booking-v2 .mbv2-field:has(.wpcf7-not-valid):focus-within {
    border-color: #F2C46E !important;
}

/* Giữ khoảng cách giữa các hàng */
.misato-booking-v2 .mbv2-grid {
    row-gap: 14px !important;
}

/* ==========================================
   THÔNG BÁO LỖI TỔNG CF7
========================================== */

.wpcf7:has(.misato-booking-v2)
.wpcf7-response-output {
    display: block;
    margin: 16px 0 0 !important;
    padding: 11px 15px !important;

    background: #351A18 !important;
    border: 1px solid #A94D43 !important;
    border-radius: 8px !important;

    color: #FFAAA0 !important;
    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;

    box-shadow: none !important;
}

/* Thông báo gửi thành công */
.wpcf7:has(.misato-booking-v2)
form.sent .wpcf7-response-output {
    background: #14291F !important;
    border-color: #4D9871 !important;
    color: #A6E4BE !important;
}

/* Thông báo lỗi gửi mail */
.wpcf7:has(.misato-booking-v2)
form.failed .wpcf7-response-output,
.wpcf7:has(.misato-booking-v2)
form.aborted .wpcf7-response-output {
    background: #351A18 !important;
    border-color: #D65B50 !important;
    color: #FFAAA0 !important;
}

/* ==========================================
   MOBILE
========================================== */
@media (max-width: 549px) {

    .misato-booking-v2 .mbv2-field:has(.wpcf7-not-valid-tip) {
        margin-bottom: 25px !important;
    }

    .misato-booking-v2 .wpcf7-not-valid-tip {
        font-size: 10px !important;
        padding: 5px 8px !important;
        max-width: 100%;
    }

    .wpcf7:has(.misato-booking-v2)
    .wpcf7-response-output {
        font-size: 12px !important;
        padding: 10px 12px !important;
    }
}



/* ==========================================
   MISATO MOBILE SIDEBAR - FLATSOME
   Dark Luxury + Gold Gradient
   MISATO Font: Times New Roman
========================================== */

@media (max-width: 849px) {

    /* 1. Khung sidebar */
    body #main-menu.mobile-sidebar {
        width: 85vw !important;
        max-width: 340px !important;
        min-height: 100vh;
        min-height: 100dvh;
        background: #17110E !important;
        border-right: 1px solid #8E693A;
        box-shadow: 8px 0 35px rgba(0, 0, 0, .45);
        overflow-y: auto;
        box-sizing: border-box;
    }

    /* 2. Khu vực menu */
    body #main-menu .sidebar-menu {
        width: 100%;
        min-height: 100%;
        padding: 65px 18px 30px !important;
        background: transparent !important;
        box-sizing: border-box;
    }

    /* 3. Tiêu đề MISATO - Times New Roman */
    body #main-menu .sidebar-menu::before {
        content: "MISATO";
        display: block;
        margin: 0 0 20px;
        padding: 0 0 17px;

        border-bottom: 1px solid rgba(217, 164, 65, .35);

        color: #F2C46E !important;
        font-family: "Times New Roman", Times, serif !important;
        font-size: 30px;
        font-weight: 600;
        line-height: 1.2;
        letter-spacing: 4px;
        text-align: center;
    }

    /* 4. Danh sách menu */
    body #main-menu ul.nav-sidebar {
        display: flex !important;
        flex-direction: column !important;
        gap: 7px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    /* 5. Từng mục menu */
    body #main-menu ul.nav-sidebar > li.menu-item {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    /* 6. Link menu */
    body #main-menu ul.nav-sidebar > li.menu-item > a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 48px !important;
        margin: 0 !important;
        padding: 13px 15px !important;

        color: #F4EDE3 !important;
        background: transparent !important;
        border: 1px solid transparent !important;
        border-radius: 9px !important;

        font-family: Arial, sans-serif !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1.5 !important;
        letter-spacing: .3px !important;
        text-transform: none !important;
        text-decoration: none !important;

        transition:
            background .25s ease,
            color .25s ease,
            border-color .25s ease !important;

        box-sizing: border-box;
    }

    /* 7. Bỏ gạch mặc định Flatsome */
    body #main-menu ul.nav-sidebar > li.menu-item > a::before,
    body #main-menu ul.nav-sidebar > li.menu-item > a::after {
        display: none !important;
        content: none !important;
    }

    /* 8. Hover menu */
    body #main-menu ul.nav-sidebar > li.menu-item > a:hover {
        color: #F2C46E !important;
        background: rgba(217, 164, 65, .09) !important;
        border-color: rgba(217, 164, 65, .3) !important;
    }

    /* 9. Menu đang chọn - Gradient vàng */
    body #main-menu ul.nav-sidebar > li.current-menu-item > a,
    body #main-menu ul.nav-sidebar > li.current_page_item > a,
    body #main-menu ul.nav-sidebar > li.current-menu-ancestor > a {
        background: linear-gradient(
            90deg,
            rgba(217, 164, 65, .32) 0%,
            rgba(217, 164, 65, .08) 100%
        ) !important;

        color: #F8D596 !important;
        border: 1px solid rgba(217, 164, 65, .38) !important;
        border-left: 3px solid #D9A441 !important;
        border-radius: 9px !important;
        font-weight: 700 !important;
    }

    /* 10. Hover menu đang chọn */
    body #main-menu ul.nav-sidebar > li.current-menu-item > a:hover,
    body #main-menu ul.nav-sidebar > li.current_page_item > a:hover,
    body #main-menu ul.nav-sidebar > li.current-menu-ancestor > a:hover {
        background: linear-gradient(
            90deg,
            rgba(217, 164, 65, .42),
            rgba(217, 164, 65, .12)
        ) !important;

        color: #F2C46E !important;
    }

    /* 11. Nút đóng menu */
    body .mfp-wrap:has(#main-menu) .mfp-close {
        width: 38px !important;
        height: 38px !important;
        line-height: 38px !important;

        color: #F2C46E !important;
        background: rgba(217, 164, 65, .1) !important;
        border: 1px solid rgba(217, 164, 65, .4) !important;
        border-radius: 50% !important;
        opacity: 1 !important;
    }

    /* 12. Hover nút đóng */
    body .mfp-wrap:has(#main-menu) .mfp-close:hover {
        color: #17110E !important;
        background: #F2C46E !important;
        border-color: #F2C46E !important;
    }

    /* 13. Thanh cuộn */
    body #main-menu.mobile-sidebar::-webkit-scrollbar {
        width: 4px;
    }

    body #main-menu.mobile-sidebar::-webkit-scrollbar-thumb {
        background: #8E693A;
        border-radius: 10px;
    }
}

/* ==========================================
   MOBILE NHỎ - DƯỚI 550PX
========================================== */

@media (max-width: 549px) {

    body #main-menu.mobile-sidebar {
        width: 85vw !important;
        max-width: 320px !important;
    }

    body #main-menu .sidebar-menu {
        padding: 58px 14px 25px !important;
    }

    body #main-menu .sidebar-menu::before {
        font-family: "Times New Roman", Times, serif !important;
        font-size: 27px;
        margin-bottom: 18px;
    }

    body #main-menu ul.nav-sidebar > li.menu-item > a {
        min-height: 46px !important;
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
}

/* ==========================================
   MISATO MOBILE SIDEBAR - MŨI TÊN + MENU CON
========================================== */
@media (max-width: 849px) {

    /* Mục có menu con */
    body #main-menu ul.nav-sidebar > li.has-child {
        position: relative !important;
    }

    /* Chừa chỗ bên phải cho mũi tên */
    body #main-menu ul.nav-sidebar > li.has-child > a {
        padding-right: 52px !important;
    }

    /* Mũi tên nằm bên phải, cùng hàng với link */
    body #main-menu ul.nav-sidebar > li.has-child > .toggle {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        z-index: 2;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 48px !important;
        height: 48px !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #D9A441 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    body #main-menu ul.nav-sidebar > li.has-child > .toggle i {
        font-size: 18px;
        line-height: 1;
        transition: transform .3s ease;
    }

    /* Khi mở menu con: xoay mũi tên */
    body #main-menu ul.nav-sidebar > li.has-child.active > .toggle i {
        transform: rotate(180deg);
    }

    /* Khung menu con */
    body #main-menu ul.nav-sidebar > li > ul.children {
        margin: 6px 0 4px 16px !important;
        padding: 0 0 0 12px !important;
        border-left: 1px solid rgba(217, 164, 65, .3) !important;
        list-style: none !important;
    }

    body #main-menu ul.nav-sidebar ul.children > li {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    /* Link menu con */
    body #main-menu ul.nav-sidebar ul.children > li > a {
        display: block !important;
        padding: 9px 10px !important;
        color: rgba(244, 237, 227, .8) !important;
        background: transparent !important;
        border-radius: 6px !important;
        font-family: Arial, sans-serif !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        line-height: 1.45 !important;
        text-transform: none !important;
        transition: color .25s ease, background .25s ease;
    }

    /* Hover + mục con đang chọn */
    body #main-menu ul.nav-sidebar ul.children > li > a:hover,
    body #main-menu ul.nav-sidebar ul.children > li.current-menu-item > a {
        color: #F2C46E !important;
        background: rgba(217, 164, 65, .08) !important;
    }
}

@media (max-width: 549px) {
    /* Khớp chiều cao link 46px trên mobile nhỏ */
    body #main-menu ul.nav-sidebar > li.has-child > .toggle {
        height: 46px !important;
    }
}

/* =====================================
   MISATO - SIDEBAR BÀI VIẾT MỚI
===================================== */

/* 1. Ẩn thông báo bình luận */
#secondary .flatsome_recent_posts .post_comments {
    display: none !important;
}

/* 2. Tiêu đề bài viết tối đa 2 dòng */
#secondary .flatsome_recent_posts
.recent-blog-posts .flex-grow > a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;

    overflow: hidden !important;
    text-overflow: ellipsis !important;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    max-height: 3em;

    color: inherit;
    text-decoration: none;
}

/* 3. Căn chỉnh danh sách bài viết */
#secondary .flatsome_recent_posts
.recent-blog-posts-li {
    margin-bottom: 10px;
}

/* 4. Căn hình ngày tháng và tiêu đề */
#secondary .flatsome_recent_posts
.recent-blog-posts {
    align-items: flex-start;
}

/* 5. Đảm bảo tiêu đề có thể co giãn */
#secondary .flatsome_recent_posts
.recent-blog-posts .flex-grow {
    min-width: 0;
}






.misato-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 430px;
  border: 1px solid #d8ae68;
  border-radius: 14px;
  background: #28190f;
  color: #fff;
}

.misato-card--auto {
  height: auto;
}

.misato-card--auto .misato-card__content {
  position: relative;
  inset: auto;
  min-height: 340px;
  margin: 8%;
}

.misato-card--fixed {
  height: 480px;
  min-height: 0;
}

.misato-card--fixed .misato-card__content {
  overflow-y: auto;
}

.misato-card__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.misato-card__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(24, 15, 10, 0.42);
  opacity: 0;
  transition: opacity 350ms ease;
}

.misato-card__content {
  position: absolute;
  inset: 8%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(16px, 6%, 32px);
  border: 1px solid rgba(216, 174, 104, 0.58);
  border-radius: 18px;
  background: rgba(27, 19, 15, 0.88);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 350ms ease, transform 350ms ease, visibility 350ms;
}

.misato-card__content > :first-child {
  margin-top: auto;
}

.misato-card__content > :last-child {
  margin-bottom: auto;
}

@media (hover: hover) and (pointer: fine) {
  .misato-card:hover .misato-card__image,
  .misato-card:focus-visible .misato-card__image {
    transform: scale(1.04);
  }

  .misato-card:hover .misato-card__shade,
  .misato-card:focus-visible .misato-card__shade {
    opacity: 1;
  }

  .misato-card:hover .misato-card__content,
  .misato-card:focus-visible .misato-card__content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (hover: none), (pointer: coarse) {
  .misato-card__shade {
    opacity: 1;
  }

  .misato-card__content {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .misato-card__image,
  .misato-card__shade,
  .misato-card__content {
    transition: none;
  }
}

.tabbed-content.tab-tin-tuc > .nav.nav-line {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  min-height: 58px;
  margin: 0 auto 18px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e7e2dc;
  background: #f5f3f0;
  box-shadow: none;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.12));
}

.tabbed-content.tab-tin-tuc > .nav.nav-line > li {
  position: relative;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.tabbed-content.tab-tin-tuc > .nav.nav-line > li.active {
  z-index: 2;
}

.tabbed-content.tab-tin-tuc > .nav.nav-line > li > a {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 56px;
  margin: 0;
  padding: 10px 18px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #191919 !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}

.tabbed-content.tab-tin-tuc > .nav.nav-line > li > a::before {
  display: none !important;
}

.tabbed-content.tab-tin-tuc > .nav.nav-line > li > a::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: #f5f3f0;
  clip-path: polygon(8% 0, 100% 0, 90% 100%, 0 100%);
}

.tabbed-content.tab-tin-tuc > .nav.nav-line > li:last-child > a::after {
  clip-path: polygon(10% 0, 100% 0, 92% 100%, 0 100%);
}

.tabbed-content.tab-tin-tuc > .nav.nav-line > li.active > a {
  color: #fff !important;
}

.tabbed-content.tab-tin-tuc > .nav.nav-line > li.active > a::after {
  background: #b10d0d;
}

.tabbed-content.tab-tin-tuc > .nav.nav-line > li > a > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.tabbed-content.tab-tin-tuc > .nav.nav-line > li > a > span::before {
  display: inline-block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  content: '';
  background-color: #a34d1b;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.tabbed-content.tab-tin-tuc > .nav.nav-line > li:first-child > a > span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M6%203.5h9l3.5%203.5v13H6a2%202%200%200%201-2-2V5.5a2%202%200%200%201%202-2Z'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linejoin='round'/%3E%3Cpath%20d='M15%204v4h4M8%2011h8M8%2014h8M8%2017h5'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M6%203.5h9l3.5%203.5v13H6a2%202%200%200%201-2-2V5.5a2%202%200%200%201%202-2Z'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linejoin='round'/%3E%3Cpath%20d='M15%204v4h4M8%2011h8M8%2014h8M8%2017h5'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}

.tabbed-content.tab-tin-tuc > .nav.nav-line > li:last-child > a > span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Crect%20x='3'%20y='4'%20width='18'%20height='16'%20rx='1'%20fill='none'%20stroke='white'%20stroke-width='1.8'/%3E%3Cpath%20d='M7%208h4v4H7zM14%208h4M14%2011h4M7%2016h11'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Crect%20x='3'%20y='4'%20width='18'%20height='16'%20rx='1'%20fill='none'%20stroke='white'%20stroke-width='1.8'/%3E%3Cpath%20d='M7%208h4v4H7zM14%208h4M14%2011h4M7%2016h11'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}

.tabbed-content.tab-tin-tuc > .nav.nav-line > li.active > a > span::before {
  background-color: #fff;
}

@media (max-width: 600px) {
  .tabbed-content.tab-tin-tuc > .nav.nav-line {
    min-height: 52px;
  }

  .tabbed-content.tab-tin-tuc > .nav.nav-line > li > a {
    min-height: 50px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .tabbed-content.tab-tin-tuc > .nav.nav-line > li > a > span {
    gap: 7px;
  }

  .tabbed-content.tab-tin-tuc > .nav.nav-line > li > a > span::before {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 380px) {
  .tabbed-content.tab-tin-tuc > .nav.nav-line > li > a {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 12px;
  }

  .tabbed-content.tab-tin-tuc > .nav.nav-line > li > a > span {
    gap: 5px;
  }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
