/*
 * Trang con (Thực đơn, Không gian, Đặt bàn, Giới thiệu, Liên hệ) và chân trang
 * theo bộ nhận diện của trang chủ. Markup các trang này vẫn dùng class của
 * template nên chỉ ghi đè hình thức, mọi selector nằm dưới .pg (bọc trong view)
 * hoặc .site-footer để không đụng trang Đặt món, đăng nhập, tài khoản.
 */
.pg {
    --ink: #1e1410; --lav: #ebdcc3; --lav-soft: #f5ecdd; --pink: #f28c28; --lime: #d6f56a; --paper: #fffbf2;
    font-family: "Be Vietnam Pro", system-ui, sans-serif;
    font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper);
    overflow-x: clip;
}
.pg h1, .pg h2, .pg h3 { font-family: "Unbounded", "Be Vietnam Pro", sans-serif; font-weight: 800; letter-spacing: -.03em; text-transform: none; color: var(--ink); }
.pg p, .pg li { font-family: inherit; color: var(--ink); }
.pg a { text-decoration: none; }
.pg :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Banner đầu trang: khối lavender, chữ lớn, không ảnh nền */
.pg .dlab-bnr-inr { height: auto !important; min-height: 0; background: var(--lav) !important; background-image: none !important; border-bottom: 2px solid var(--ink); padding: 56px clamp(20px, 5vw, 72px) 44px; }
.pg .dlab-bnr-inr::before, .pg .dlab-bnr-inr::after { display: none !important; }
.pg .dlab-bnr-inr .container { max-width: none; padding: 0; }
.pg .dlab-bnr-inr-entry { display: block; text-align: left; padding: 0; }
.pg .dlab-bnr-inr h1 { font-size: clamp(30px, 4.6vw, 58px); line-height: 1.08; margin: 0 0 16px; max-width: 900px; text-align: left; text-shadow: none; color: var(--ink) !important; }
.pg .dlab-bnr-inr h1::after { display: none; }
.pg .dlab-bnr-inr .sub-title { display: block; font-family: inherit; font-size: 18px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink); opacity: .85; margin-bottom: 20px; text-align: left; }
.pg .dlab-bnr-inr .breadcrumb-row { text-align: left; }
.pg .dlab-bnr-inr .breadcrumb { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; padding: 0; margin: 0; background: none; }
.pg .dlab-bnr-inr .breadcrumb li { display: inline-flex; align-items: center; padding: 0; font: 600 14px "Space Mono", monospace; text-transform: none; color: var(--ink); }
.pg .dlab-bnr-inr .breadcrumb li.active, .pg .dlab-bnr-inr .breadcrumb-item.active { color: var(--ink) !important; opacity: .7; }
.pg .dlab-bnr-inr .breadcrumb li a { color: var(--ink); text-decoration: underline; }
.pg .dlab-bnr-inr .breadcrumb li:after, .pg .dlab-bnr-inr .breadcrumb-row ul li:after { display: none; }
.pg .dlab-bnr-inr .breadcrumb-item + .breadcrumb-item::before { content: "/"; color: var(--ink); padding-right: 6px; }

/* Các khối nội dung */
.pg .section-full { background: var(--paper); padding-left: clamp(20px, 5vw, 72px); padding-right: clamp(20px, 5vw, 72px); }
.pg .section-full.bg-pink-light { background: var(--lav-soft); }
.pg .content-inner, .pg .content-inner-2 { padding-top: 72px; padding-bottom: 72px; font-size: 17px; line-height: 1.6; }
.pg .section-full > .container { max-width: 1200px; padding: 0; }
.pg .section-head, .pg .section-head.text-center, .pg .full-head { text-align: left !important; max-width: 680px; margin-left: 0; margin-right: auto; }
.pg .section-head .title { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.1; }
.pg .section-head .sub-title { font-family: inherit; font-size: 17px; text-transform: none; letter-spacing: 0; color: var(--ink); opacity: .8; }
.pg .main-title { display: inline-block; font: 700 13px "Space Mono", monospace !important; letter-spacing: 0 !important; text-transform: none; color: var(--ink) !important; background: var(--lime); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 14px; margin-bottom: 14px; transform: rotate(-2deg); }
.pg .dlab-separator { display: none !important; }
.pg .contact-box .section-head { padding: 28px 0; }
.pg .contact-box { margin-bottom: 40px; }

/* Ảnh */
.pg .radius-sm, .pg .img-cover { border-radius: 18px; }
.pg img.radius-sm, .pg .contact-box img.img-cover { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.pg .contact-reserve { border: 2px solid var(--ink); border-radius: 22px; box-shadow: 3px 3px 0 var(--ink); }
.pg .contact-reserve .contact-text { background-image: linear-gradient(180deg, transparent, rgba(30, 20, 16, .8) 60%); }
.pg .contact-reserve .title, .pg .contact-reserve .sub-title { text-transform: none; color: #fff; font-family: "Unbounded", sans-serif; }
.pg .contact-reserve .title { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; }
.pg .contact-reserve .sub-title { font-family: "Be Vietnam Pro", sans-serif; font-size: 18px; font-weight: 500; line-height: 1.4; }
.pg iframe { border: 2px solid var(--ink) !important; border-radius: 18px; box-shadow: 3px 3px 0 var(--ink); background: #fff; margin-bottom: 0 !important; }

/* Nút */
.pg .btn, .pg .btn.bg-secondry, .pg button.btn { background-image: none !important; text-transform: none !important; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 2px solid var(--ink); border-radius: 14px; background-color: var(--pink); color: var(--ink) !important; font: 600 16px "Be Vietnam Pro", sans-serif; text-transform: none; letter-spacing: 0; box-shadow: 2px 2px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.pg .btn.bg-secondry { background-color: var(--paper); }
.pg .btn:hover, .pg .btn.bg-secondry:hover { background-color: var(--lime); transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); color: var(--ink) !important; }
.pg .btn::before, .pg .btn::after { display: none; }
.pg .btn-block { width: 100%; }
.pg .picks-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; margin-top: 24px; }
.pg .menu-cta .picks-cta-row { justify-content: center; }

/* Form */
.pg .form-control { height: auto; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); font: 500 16px "Be Vietnam Pro", sans-serif; box-shadow: none; }
.pg .form-control:focus { border-color: var(--ink); box-shadow: 2px 2px 0 var(--pink); outline: none; }
.pg .form-control::placeholder { color: rgba(30, 20, 16, .55); }
.pg .form-group { margin-bottom: 14px; }
.pg .contact-form { background: #fff; border: 2px solid var(--ink); border-radius: 22px; padding: 32px; box-shadow: 3px 3px 0 var(--ink); }
.pg .dzFormMsg { font-weight: 600; }

/* Danh sách thông tin quán */
.pg .visit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-weight: 500; text-align: left; }
.pg .visit-list a { color: var(--ink); text-decoration: underline; }

/* Thư viện ảnh */
.pg .dlab-gallery-box .dlab-thum { border: 2px solid var(--ink); border-radius: 16px; box-shadow: 2px 2px 0 var(--ink); background: #fff; }
.pg .dlab-gallery-box { overflow: visible; padding: 0 2px 2px 0; }

/* Thực đơn */
.pg .order-container { max-width: none; padding: 40px 0 0; margin: 0; }
.pg .menu-en-hint { font-size: 16px; text-align: left; color: var(--ink); opacity: .8; margin: 0 0 28px; padding: 0; max-width: 640px; }
.pg .menu-en-hint a { color: var(--ink); text-decoration: underline; }
.pg .menu-combo-heading { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 20px; text-align: left; color: var(--ink); }
.pg .menu-cat-tabs { justify-content: flex-start; padding-top: 8px; gap: 10px; }
.pg .menu-cat-tabs .cat-btn { padding: 9px 20px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font: 600 15px "Be Vietnam Pro", sans-serif; letter-spacing: 0; text-transform: none; box-shadow: 2px 2px 0 var(--cat-color, var(--ink)); }
.pg .menu-cat-tabs .cat-btn:hover { background: var(--lime); color: var(--ink); }
.pg .menu-cat-tabs .cat-btn.active { background: var(--ink); color: var(--paper); }
.pg .menu-row-card { background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 2px 2px 0 var(--ink); overflow: hidden; transition: transform .12s, box-shadow .12s; }
.pg .menu-row-card::before { display: none; }
.pg .menu-row-card:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.pg .menu-row-img { background: var(--lav-soft); }
.pg .menu-row-body .item-name { font: 800 17px/1.2 "Unbounded", sans-serif; letter-spacing: -.02em; text-transform: none; color: var(--ink); }
.pg .menu-row-body .item-desc { font-family: "Be Vietnam Pro", sans-serif; font-size: 14px; color: var(--ink); opacity: .65; }
.pg .menu-row-body .item-price { font: 700 17px "Space Mono", monospace; color: var(--ink); }
.pg .menu-row-cta { background: var(--ink); color: var(--paper) !important; border: 2px solid var(--ink); border-radius: 999px; font: 600 14px "Be Vietnam Pro", sans-serif; text-transform: none; letter-spacing: 0; }
.pg .menu-row-cta:hover { background: var(--pink); color: var(--ink) !important; }
.pg .best-seller-badge { background: var(--pink); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; font: 600 12px "Be Vietnam Pro", sans-serif; text-transform: none; letter-spacing: 0; box-shadow: none; }
.pg .combo-badge { background: var(--lime); }

/* Chân trang */
.site-footer { background: #1e1410; border-top: 2px solid #1e1410; font-family: "Be Vietnam Pro", system-ui, sans-serif; }
.site-footer .footer-top { background: none; padding: 48px clamp(20px, 5vw, 72px); }
.site-footer .container { max-width: none; padding: 0; }
.site-footer .copyright { font-family: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; color: #fffbf2; margin-bottom: 6px; }
.site-footer .footer-brand { font: 800 20px "Unbounded", sans-serif; letter-spacing: -.02em; color: #ebdcc3; margin-bottom: 14px; }
.site-footer a:hover { color: #f28c28 !important; }
.site-footer .footer-social li a { background: #ebdcc3; color: #1e1410; border: 2px solid #ebdcc3; border-radius: 12px; }
.site-footer .footer-social li a:hover { background: #f28c28; border-color: #f28c28; color: #1e1410 !important; }

@media (max-width: 900px) {
    .pg .content-inner, .pg .content-inner-2 { padding-top: 48px; padding-bottom: 48px; }
    .pg .dlab-bnr-inr { padding-top: 40px; }
    .pg .contact-form { padding: 22px; }
    .site-footer .text-right, .site-footer .text-right * { text-align: left !important; }
}
@media (prefers-reduced-motion: reduce) { .pg .btn, .pg .menu-row-card { transition: none; } }

/* Chỉnh bổ sung sau khi xem thử */
.pg .dlab-bnr-inr h1 { padding-bottom: 8px; }
.pg form .btn.bg-secondry { background-color: var(--pink); }
.pg form .btn.bg-secondry:hover { background-color: var(--lime); }
.pg input[type="date"].form-control, .pg select.form-control { width: 100%; }
.pg .bootstrap-select { width: 100% !important; }
.pg .bootstrap-select > .dropdown-toggle { height: auto; padding: 14px 16px; border: 2px solid var(--ink) !important; border-radius: 12px; background: #fff !important; color: var(--ink) !important; font: 500 16px "Be Vietnam Pro", sans-serif; box-shadow: none !important; text-transform: none; }
.pg .bootstrap-select > .dropdown-toggle .filter-option, .pg .bootstrap-select .filter-option-inner-inner { font: 500 16px "Be Vietnam Pro", sans-serif; color: var(--ink); text-transform: none; }
.pg .bootstrap-select .dropdown-menu { border: 2px solid var(--ink); border-radius: 12px; font-family: "Be Vietnam Pro", sans-serif; }
.pg .bootstrap-select .dropdown-menu li a { font-family: "Be Vietnam Pro", sans-serif; text-transform: none; color: var(--ink); }
.site-footer .copyright, .site-footer .copyright a, .site-footer .footer-nap, .site-footer .footer-nap a { color: #fffbf2 !important; opacity: 1 !important; }
.site-footer .footer-brand { color: #ebdcc3 !important; }
.site-footer .text-right a { color: #ebdcc3 !important; }
.pg form .btn.bg-secondry { background-color: var(--pink) !important; }
.pg form .btn.bg-secondry:hover { background-color: var(--lime) !important; }
.pg .btn.bg-secondry { background-color: var(--paper) !important; }
.pg .btn.bg-secondry:hover { background-color: var(--lime) !important; }
.site-footer .footer-social li a { color: #1e1410 !important; }

/* Trang lỗi 404 và tra cứu đơn */
.pg .error-page { text-align: left !important; max-width: 680px; margin: 0; }
.pg .dlab_error { font: 800 clamp(96px, 18vw, 200px)/.9 "Unbounded", sans-serif; letter-spacing: -.06em; color: var(--ink); margin-bottom: 18px; }
.pg .error-head { font-size: clamp(22px, 3vw, 34px); margin-bottom: 24px; }
.pg .error-head { margin-left: 0 !important; padding-left: 0 !important; text-align: left; }

/* Đăng nhập, đăng ký, tài khoản, tra cứu đơn: các trang này dùng style inline,
   nên phải ghi đè có !important và chỉ trong .pg. */
.pg .section-full > .container > div[style*="background"] { background: #fff !important; border: 2px solid var(--ink) !important; border-radius: 22px !important; box-shadow: 3px 3px 0 var(--ink) !important; padding: 32px !important; }
.pg .section-full > .container > div[style*="background"] > div[style*="background:#F3F3F3"] { background: var(--lav-soft) !important; border: 2px solid var(--ink); border-radius: 14px !important; }
.pg .section-full > .container > div[style*="background"] > div[style*="background:#F3F3F3"] > * { border-radius: 10px !important; font-family: "Be Vietnam Pro", sans-serif; color: var(--ink) !important; }
.pg .section-full > .container > div[style*="background"] > div[style*="background:#F3F3F3"] > span { background: var(--ink) !important; color: var(--paper) !important; box-shadow: none !important; }
.pg input[style], .pg select[style], .pg textarea[style] { border: 2px solid var(--ink) !important; border-radius: 12px !important; background: #fff; color: var(--ink); font: 500 16px "Be Vietnam Pro", sans-serif !important; padding: 13px 15px !important; box-shadow: none; }
.pg input[style]:focus, .pg textarea[style]:focus, .pg select[style]:focus { box-shadow: 2px 2px 0 var(--pink); outline: none; }
.pg input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--ink); }
.pg label { font-family: "Be Vietnam Pro", sans-serif; font-weight: 600; font-size: 15px; color: var(--ink); }
.pg .section-full table { width: 100%; border: 2px solid var(--ink); border-radius: 14px; background: #fff; border-collapse: separate; border-spacing: 0; overflow: hidden; font-family: "Be Vietnam Pro", sans-serif; color: var(--ink); }
.pg .section-full th { background: var(--lav); border-bottom: 2px solid var(--ink); font: 700 14px "Be Vietnam Pro", sans-serif; text-transform: none; }
.pg .section-full td { border-bottom: 1px dashed rgba(30, 20, 16, .25); }
.pg [style*="#E8F5E9"] { background: var(--lime) !important; color: var(--ink) !important; border: 2px solid var(--ink); }
.pg [style*="#FFEBEE"], .pg [style*="#FDECEA"] { background: #ffd9e8 !important; color: var(--ink) !important; border: 2px solid var(--ink); }

/* ===== Thành phần nhỏ dùng chung toàn site ===== */
::selection { background: #f28c28; color: #1e1410; }

/* Viền focus bàn phím: viền tối vô hình trên nền tối, nên đổi sang cam ở thanh menu, chân trang, khối tối */
.site-header :focus-visible, .site-footer :focus-visible, .hm-work :focus-visible { outline: 3px solid #f28c28; outline-offset: 2px; }

/* Nút lên đầu trang */
button.scroltop { background: #f28c28; color: #1e1410 !important; border: 2px solid #1e1410; border-radius: 12px; box-shadow: 2px 2px 0 #1e1410; width: 46px; height: 46px; line-height: 40px; right: 18px; bottom: 18px; font-size: 26px; }
button.scroltop:hover { background: #d6f56a; }
@media (max-width: 1200px) {
    /* Thanh điều hướng dưới cùng cao ~60px, nút phải nằm trên nó chứ không bị đè */
    button.scroltop { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); right: 14px; }
}

/* Thông báo sau khi gửi form liên hệ / đặt bàn */
.alert.alert-success, .alert.alert-danger { margin: 0 0 16px; padding: 12px 16px; border: 2px solid #1e1410; border-radius: 12px; color: #1e1410; font: 600 15px "Be Vietnam Pro", sans-serif; }
.alert.alert-success { background: #d6f56a; }
.alert.alert-danger { background: #f28c28; }

/* Popup xem ảnh (lightGallery) */
.lg-backdrop { background-color: #1e1410; }
.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover { border-color: #f28c28; }
.lg-progress-bar .lg-progress { background-color: #f28c28; }
.lg-toolbar, .lg-actions .lg-next, .lg-actions .lg-prev { background-color: rgba(30, 20, 16, .75); border-radius: 10px; }
.lg-sub-html { font-family: "Be Vietnam Pro", sans-serif; background-color: rgba(30, 20, 16, .75); }

/* Font mặc định toàn site: mọi phần chưa gán font riêng không còn rơi về Merriweather của template */
body, .page-wraper { font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif; }
