/* =========================================================
   1. HỆ THỐNG BIẾN MÀU LUXURY (CSS VARIABLES)
========================================================= */
:root {
    /* --- Tông màu Chủ đạo (Brand Colors) --- */
    --primary: #c0662a; /* Bronze - Logo, CTA, Icon, Highlight (30%) */
    --primary-dark: #9e4f1a; /* Bronze đậm - Khi hover CTA */
    --primary-light: rgba(192, 102, 42, 0.1); /* Bronze siêu nhạt cho nền phụ */

    --secondary: #1b3a6b; /* Navy Blue - Trust, Nút phụ, Footer, Topbar (10%) */
    --secondary-dark: #12284b; /* Navy đậm - Khi hover nút phụ */

    /* --- Tông màu Nền (Backgrounds - 60%) --- */
    --bg-main: #fff; /* Trắng - Nền toàn trang, không gian thoáng */
    --bg-alt: #f8fafc; /* Kem nhạt - Section xen kẽ, Card BĐS */
    --bg-dark: #1c1209; /* Nâu than - Hero Section, Banner tối */

    /* --- Tông màu Chữ (Typography) --- */
    --text-heading: #1c1209; /* Nâu than đậm - Tiêu đề H1, H2 */
    --text-body: #3d3d3d; /* Xám đậm - Chữ thường (Body) */
    --text-muted: #7a7a7a; /* Xám trung - Chữ phụ, Label, Caption */
    --text-light: #ffffff; /* Trắng - Chữ trên nền tối */

    /* --- Tông màu Trạng thái (Badges/Alerts) --- */
    --status-success: #2e7d32; /* Xanh lá - Còn hàng */
    --status-danger: #c62828; /* Đỏ - Hot deal */
    --status-warning: #c4912a; /* Gold - Nổi bật (giữ nguyên cho badge) */

    /* --- Đổ bóng & Hiệu ứng (Shadows & Transitions) --- */
    --shadow-gold: 0 8px 24px rgba(192, 102, 42, 0.18); /* Shadow Bronze cho Card BĐS */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 16px 36px rgba(18, 40, 75, 0.18);
    --transition: 0.3s ease;
    --border: #e5e7eb;
    --primary-rgb: 179, 134, 64;
}

/* =========================================================
   2. RESET CƠ BẢN & TYPOGRAPHY
========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
    font-size: 15px;
    color: var(--text-body);
    background: var(--bg-main); /* Đổi nền web thành Trắng kem */
    line-height: 1.65;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-heading);
    font-weight: 700;
}
a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}
img {
    max-width: 100%;
    height: auto;
}
ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Tùy chỉnh thanh cuộn (Scrollbar) theo tông Gold */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* =========================================================
   3. CLASS TIỆN ÍCH DÙNG CHUNG (UTILITIES)
========================================================= */
.text-primary-brand {
    color: var(--primary) !important;
}
.bg-primary-brand {
    background: var(--primary) !important;
}
.bg-alt-section {
    background: var(--bg-alt) !important;
} /* Class dùng cho section chẵn */
.fw-800 {
    font-weight: 800 !important;
}
.fw-900 {
    font-weight: 900 !important;
}
/* =========================================================
   QUẢN LÝ MÀU CHỮ & TYPOGRAPHY (GHI ĐÈ BOOTSTRAP)
========================================================= */
/* Ghi đè màu text-muted mặc định của Bootstrap thành màu Xám trung tinh tế hơn */
.text-muted {
    color: var(--text-muted) !important;
}

/* Tiêu đề của các Section (Dự án nổi bật, Tin tức...) */
.section-title {
    color: var(--text-heading);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* Tiêu đề phụ của các Section */
.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Màu hiển thị Giá tiền (Luôn là màu Gold sang trọng) */
.price-text {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.25rem;
}

/* Hiệu ứng: Khi trỏ chuột vào Card, tiêu đề tự động chuyển sang màu Gold */
.card-title-link {
    color: var(--text-heading);
    text-decoration: none;
    transition: color var(--transition);
}
.hover-up:hover .card-title-link {
    color: var(--primary); /* Đổi sang Vàng Gold khi hover */
}

/* Icon nhỏ đi kèm text (như icon vị trí, phòng ngủ...) */
.icon-muted {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Nút CTA Chính (Màu Gold - Hành động quan trọng nhất: Xem nhà, Liên hệ) */
.btn-primary-brand,
.btn-primary-theme {
    background: linear-gradient(135deg, #deae48, var(--primary)) !important;
    color: var(--text-light) !important;
    border: none !important;
    border-radius: 8px;
    padding: 0.6rem 1.4rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(196, 145, 42, 0.2) !important;
}
.btn-primary-brand:hover,
.btn-primary-theme:hover {
    background: var(--primary-dark) !important;
    color: var(--text-light) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold) !important;
    border-color: var(--primary-dark) !important;
}
.btn-primary-brand:focus,
.btn-primary-theme:focus {
    background: var(--primary-dark) !important;
    color: var(--text-light) !important;
    box-shadow: var(--shadow-gold) !important;
    outline: none;
}

/* Nút Tin cậy / Phụ (Màu Navy - Tư vấn miễn phí, Đăng ký) */
.btn-secondary-theme {
    background: var(--secondary);
    color: var(--text-light) !important;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.4rem;
    font-weight: 700;
    transition: all var(--transition);
}
.btn-secondary-theme:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(27, 58, 107, 0.3);
}

/* Nút Outline (Chữ Gold, viền Gold, nền trong suốt - Nút Xem thêm) */
.btn-outline-theme {
    background: transparent;
    color: var(--primary) !important;
    border: 1.5px solid var(--primary);
    border-radius: 8px;
    padding: 0.6rem 1.4rem;
    font-weight: 700;
    transition: all var(--transition);
}
.btn-outline-theme:hover {
    background: var(--primary);
    color: var(--text-light) !important;
}

/* Các nhãn trạng thái (Badges) */
.badge-moi {
    background: var(--status-success);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}
.badge-hot {
    background: var(--status-danger);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}
.badge-noi-bat {
    background: var(--status-warning);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Giới hạn dòng chữ (Text Truncate) */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hiệu ứng trỏ chuột vào Card BĐS / Dự án (Dùng Shadow Gold siêu sang) */
.hover-up {
    transition: all 0.3s ease;
    background: #fff;
}
.hover-up:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold) !important;
    border-color: var(--primary-light);
}

/* =========================================================
   4. CSS RIÊNG CỦA CÁC COMPONENT (HEADER / BREADCRUMB)
========================================================= */
/* Breadcrumb */
.breadcrumb-wrap {
    background: var(--bg-alt);
    border-bottom: 1px solid rgba(196, 145, 42, 0.1);
    padding: 0.7rem 0;
}
.breadcrumb {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
}
.breadcrumb-item {
    color: var(--text-muted);
}
.breadcrumb-item a {
    color: var(--secondary);
    font-weight: 500;
}
.breadcrumb-item a:hover {
    color: var(--primary);
}
.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 600;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #d1d5db;
    margin-right: 0.3rem;
}

/* Topbar (Nền Navy Blue cho sự tin cậy) */
.topbar {
    background: var(--secondary);
    padding: 0.45rem 0;
    font-size: 0.8rem;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.topbar-left span,
.topbar-left a {
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.topbar-left i {
    color: var(--primary);
    font-size: 0.75rem;
}
.topbar-phone {
    background: var(--primary);
    color: var(--text-light) !important;
    font-weight: 800;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s;
}
.topbar-phone:hover {
    background: var(--primary-dark);
}
.topbar-socials {
    display: flex;
    gap: 0.5rem;
}
.topbar-socials a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s;
}
.topbar-socials a:hover {
    background: var(--primary);
    color: #fff;
}

/* Navbar Chính */
.main-navbar {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s;
}
.main-navbar.scrolled {
    box-shadow: 0 4px 20px rgba(28, 18, 9, 0.08);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
    gap: 0.5rem;
    flex-wrap: nowrap;
}
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: center;
}
.nav-item {
    position: relative;
    margin: 0 5px;
    padding: 3px;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem 0.6rem;
    color: var(--text-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}
.nav-arrow {
    font-size: 0.6rem;
    color: var(--text-muted);
    transition: transform 0.25s;
}
.nav-item.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Nút CTA Ký gửi trên Menu (Nền Gold) */
.nav-link-cta {
    background: var(--primary) !important;
    color: var(--text-light) !important;
    border-radius: 8px;
    padding: 0.5rem 1rem !important;
}
.nav-link-cta:hover {
    background: var(--primary-dark) !important;
    box-shadow: var(--shadow-gold);
}

/* Dropdown Menu */
.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(28, 18, 9, 0.1);
    border: 1px solid var(--border);
    min-width: 240px;
    padding: 0.6rem;
    z-index: 999;
    animation: dropIn 0.2s ease;
}
@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.nav-item.has-dropdown:hover > .nav-dropdown {
    display: block;
}
.nav-dropdown a {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.85rem;
    color: var(--text-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.15s;
}
.nav-dropdown a span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}
.nav-dropdown a:hover {
    background: var(--bg-alt);
    color: var(--primary);
    font-weight: 600;
}
.nav-dropdown a i {
    color: var(--primary);
    width: 18px;
    text-align: center;
}
.nav-dropdown a small {
    color: var(--text-muted);
    font-size: 0.75rem;
    padding-left: 0.5rem;
}
.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.4rem 0.6rem;
}
.dropdown-all {
    background: var(--bg-alt);
    font-weight: 700 !important;
    color: var(--secondary) !important;
    border-radius: 8px;
    margin-bottom: 0.2rem;
}
.dropdown-all i {
    color: var(--secondary) !important;
}
.dropdown-all:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}

/* Highlight link */
.highlight-link {
    color: var(--primary) !important;
    font-weight: 600 !important;
}
.highlight-link i {
    color: var(--primary) !important;
}
.highlight-link:hover {
    background: var(--bg-alt) !important;
}
.highlight-link-blue {
    color: var(--secondary) !important;
    font-weight: 600 !important;
}
.highlight-link-blue i {
    color: var(--secondary) !important;
}
.highlight-link-blue:hover {
    background: rgba(27, 58, 107, 0.05) !important;
}

/* Mega Menu Bất động sản */
.can-ho-mega {
    padding: 0 !important;
    overflow: hidden;
    left: 50% !important;
    transform: translateX(-50%) !important;
    min-width: 550px;
}
.can-ho-mega-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.can-ho-col {
    padding: 1rem 0.5rem;
}
.can-ho-col-right {
    border-left: 1px solid var(--border);
    background: var(--bg-main);
}
.can-ho-col-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    padding: 0.15rem 0.85rem 0.6rem;
    border-bottom: 2px solid var(--primary-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.badge-pn {
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--border);
    color: var(--secondary);
    padding: 0.12rem 0.5rem;
    border-radius: 20px;
}
.badge-pn-blue {
    background: rgba(27, 58, 107, 0.1);
    color: var(--secondary);
}
.can-ho-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
    padding: 0.7rem 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.can-ho-footer a {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}
.can-ho-footer a i {
    color: var(--primary);
    font-size: 0.8rem;
}
.can-ho-footer a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.can-ho-footer a:hover i {
    color: #fff;
}

/* Icons Yêu thích, Gọi... */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.action-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bg-alt);
    border: 1px solid rgba(196, 145, 42, 0.2);
    color: var(--secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.action-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.05);
}
.action-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--status-danger);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Profile Khách Hàng Menu */
.kh-profile-wrap {
    position: relative;
}
.kh-avatar-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.2s;
}
.kh-avatar-btn:hover {
    background: var(--bg-alt);
    border-color: rgba(196, 145, 42, 0.2);
}
.kh-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(196, 145, 42, 0.3);
}
.kh-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-heading);
}
.kh-chevron {
    font-size: 0.65rem;
    color: var(--text-muted);
    transition: transform 0.25s;
}
.kh-profile-wrap.open .kh-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.kh-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(0.97);
    transform-origin: top right;
    transition: all 0.22s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2000;
    border: 1px solid var(--primary-light);
}
.kh-profile-wrap.open .kh-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0) scale(1);
}
.kh-dd-header {
    background: var(--secondary);
    border-radius: 15px 15px 0 0;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.kh-dd-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}
.kh-dd-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
}
.kh-dd-sdt {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}
.kh-dd-body {
    padding: 0.5rem 0;
}
.kh-dd-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    padding: 0.6rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
    transition: all 0.15s;
}
.kh-dd-item:hover {
    background: var(--bg-alt);
    color: var(--primary);
}
.kh-dd-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: var(--bg-main);
    color: var(--secondary);
    transition: all 0.2s;
}
.kh-dd-item:hover .kh-dd-icon {
    background: var(--primary);
    color: #fff;
}
.kh-dd-arr {
    font-size: 0.6rem;
    color: var(--border);
    margin-left: auto;
}
.kh-dd-divider {
    height: 1px;
    background: var(--border);
    margin: 0.4rem 1rem;
}

/* Responsive Mobile */
/* ── Nút đăng nhập mobile ── */
.btn-login-mobile {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #deae48, var(--primary));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-login-mobile:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ── Nút close trong menu mobile ── */
.nav-close-item {
    display: none;
    width: 100%;
    justify-content: flex-end;
    padding: 0.5rem 0.5rem 0;
    border-bottom: none !important;
}
.nav-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.nav-close-btn:hover {
    background: var(--status-danger);
    color: #fff;
    border-color: var(--status-danger);
}

/* ── Số điện thoại trong menu mobile ── */
.nav-mobile-contact {
    width: 100%;
    padding: 1rem;
    margin-top: auto;
    border-top: 1px solid var(--border) !important;
}
.nav-mobile-phone {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--primary);
    color: #fff !important;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    justify-content: center;
}

/* ── Hamburger ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    order: -1; /* luôn bên trái */
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
    background: var(--primary);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
    background: var(--primary);
}

/* ── Logo ── */
.navbar-logo-img {
    height: 36px;
}

/* ── Overlay ── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28, 18, 9, 0.7);
    z-index: 998;
    backdrop-filter: blur(2px);
}
.nav-overlay.show {
    display: block;
}

/* ════════════════════════════
   RESPONSIVE ≤ 1199px
════════════════════════════ */
/* Dropdown mobile: mặc định ẩn, dùng height transition */
@media (max-width: 1199px) {
    /* Reset lại dropdown mobile */
    .nav-item.has-dropdown .nav-dropdown,
    .nav-item.has-dropdown .can-ho-mega {
        display: block !important; /* luôn render trong DOM */
        max-height: 0;
        overflow: hidden;
        transition:
            max-height 0.35s ease,
            padding 0.2s ease;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        opacity: 0;
        pointer-events: none;
    }

    .nav-item.has-dropdown.mobile-open .nav-dropdown,
    .nav-item.has-dropdown.mobile-open .can-ho-mega {
        max-height: 600px; /* đủ lớn để chứa nội dung */
        overflow-y: auto; /* scroll bên trong dropdown */
        padding-top: 0.3rem !important;
        padding-bottom: 0.5rem !important;
        opacity: 1;
        pointer-events: all;
    }

    /* Mega menu: 2 cột → 1 cột trên mobile */
    .can-ho-mega-inner {
        grid-template-columns: 1fr;
    }

    /* Giới hạn số item hiển thị trong mega menu mobile */
    .can-ho-col {
        padding: 0.5rem 0.3rem !important;
    }

    .can-ho-col-title {
        font-size: 0.7rem;
        padding: 0.1rem 0.85rem 0.4rem;
    }

    /* Thu gọn từng link trong dropdown */
    .nav-dropdown a,
    .can-ho-mega a {
        padding: 0.45rem 0.7rem !important;
        font-size: 0.85rem !important;
    }

    /* Ẩn phần footer mega menu trên mobile để bớt dài */
    .can-ho-footer {
        display: none !important;
    }
    .can-ho-mega-inner {
        grid-template-columns: 1fr !important;
        display: flex;
        flex-direction: column;
    }

    .can-ho-col-right {
        display: block !important;
        border-left: none !important;
        border-top: 1px solid var(--border);
        background: transparent !important;
        padding-top: 0.3rem;
    }

    /* Mỗi cột giới hạn chiều cao, có scroll riêng nếu quá nhiều item */
    .can-ho-col {
        padding: 0.4rem 0.3rem !important;
    }

    /* Thu nhỏ link để vừa màn hình */
    .can-ho-mega a,
    .nav-dropdown a {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.84rem !important;
    }

    /* Badge nhỏ lại cho gọn */
    .badge-pn {
        font-size: 0.65rem;
        padding: 0.08rem 0.35rem;
    }

    /* Tiêu đề cột nhỏ lại */
    .can-ho-col-title {
        font-size: 0.68rem !important;
        padding: 0.1rem 0.6rem 0.35rem !important;
    }

    /* Dropdown mega giới hạn chiều cao tổng, scroll bên trong */
    .nav-item.has-dropdown.mobile-open .can-ho-mega {
        max-height: 370px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Ẩn footer mega (3 nút nhanh) để bớt dài */
    .can-ho-footer {
        display: none !important;
    }

    /* Nav menu cho phép scroll bên trong */
    .nav-menu {
        overflow-y: auto !important;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    /* Chỉ scroll bên trong dropdown, không đẩy toàn bộ menu */
    .nav-item.has-dropdown.mobile-open .nav-dropdown,
    .nav-item.has-dropdown.mobile-open .can-ho-mega {
        max-height: 280px; /* giới hạn cứng */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}
@media (max-width: 1199px) {
    .hamburger {
        display: flex;
    }

    .nav-close-item {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: min(320px, 85vw);
        height: 100dvh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 0 2rem;
        gap: 0;
        overflow-y: auto;
        z-index: 999;
        box-shadow: 5px 0 30px rgba(28, 18, 9, 0.2);
        transition: left 0.3s ease;
        flex: none;
    }
    .nav-menu.open {
        left: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--bg-alt);
    }
    .nav-link {
        width: 100%;
        padding: 0.85rem 1.2rem;
        font-size: 0.95rem;
        border-radius: 0;
    }

    /* Dropdown trên mobile: ẩn hover, dùng click */
    .nav-item.has-dropdown:hover > .nav-dropdown,
    .nav-item.has-dropdown:hover > .can-ho-mega {
        display: none;
    }
    .nav-item.has-dropdown.mobile-open > .nav-dropdown,
    .nav-item.has-dropdown.mobile-open > .can-ho-mega {
        display: block !important;
    }

    .nav-dropdown,
    .can-ho-mega {
        position: static !important;
        width: 100% !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 0 0.5rem 0 !important;
        animation: none !important;
        background: var(--bg-alt);
        border-left: 3px solid var(--primary-light) !important;
        margin: 0 0 0 1rem;
        min-width: auto;
    }
    .can-ho-mega-inner {
        grid-template-columns: 1fr;
    }
    .can-ho-col-right {
        border-left: none;
        border-top: 1px solid var(--border);
        background: transparent;
    }
    .can-ho-footer {
        flex-wrap: wrap;
    }

    /* Navbar actions thu gọn */
    .navbar-actions {
        gap: 0.4rem;
    }
    .action-btn {
        width: 36px;
        height: 36px;
    }
}

/* ════════════════════════════
   RESPONSIVE ≤ 575px
════════════════════════════ */
@media (max-width: 575px) {
    .topbar {
        display: none !important;
    }

    .navbar-inner {
        height: 60px;
    }

    .navbar-logo-img {
        height: 30px;
    }

    .nav-menu {
        width: min(300px, 88vw);
    }

    /* Ẩn icon yêu thích khi màn hình quá nhỏ để tránh tràn */
    .action-btn {
        display: none;
    }

    /* Chỉ giữ nút đăng nhập + avatar */
    .btn-login-mobile {
        padding: 0.4rem 0.7rem;
        font-size: 0.78rem;
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    .auth-modal {
        padding: 1.5rem 1.2rem;
    }
}

/* =========================================================
   5. AUTH MODAL (ĐĂNG NHẬP / ĐĂNG KÝ / OTP)
========================================================= */
.kh-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(215, 213, 212, 0.75);
    z-index: 1050;
    backdrop-filter: blur(1px);
}
.kh-modal-backdrop.show {
    display: block;
}
.kh-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #fff;
    border-radius: 16px;
    z-index: 1051;
    width: 90%;
    max-width: 440px;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
    border: 1px solid var(--primary-light);
}
.kh-modal.show {
    display: block;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.kh-modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.kh-modal-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.kh-modal-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 2px;
}
.kh-modal-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.kh-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition);
    padding: 0;
}
.kh-modal-close:hover {
    color: var(--status-danger);
}

.kh-field {
    margin-bottom: 1rem;
}
.kh-field-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-body);
}
.kh-field-label i {
    color: var(--primary);
    margin-right: 4px;
    opacity: 0.8;
}
.kh-field-label span {
    color: var(--status-danger);
}

.kh-field-input {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
    color: var(--text-body);
    background: var(--bg-main);
}
.kh-field-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: #fff;
}
.kh-field-input.error {
    border-color: var(--status-danger);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.kh-pw-wrap {
    position: relative;
}
.kh-pw-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}
.kh-pw-eye:hover {
    color: var(--primary);
}
.kh-field-err {
    color: var(--status-danger);
    font-size: 0.78rem;
    margin-top: 5px;
    display: none;
    align-items: center;
    gap: 4px;
}

.otp-box {
    width: 46px;
    height: 54px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 900;
    border: 2px solid var(--border);
    border-radius: 10px;
    outline: none;
    transition: all 0.2s;
    color: var(--secondary);
    font-family: inherit;
    background: var(--bg-main);
}
.otp-box:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: #fff;
}

/* =========================================================
   6. FOOTER & NEWSLETTER (LUXURY THEME)
========================================================= */
.footer-newsletter {
    background: linear-gradient(
        135deg,
        var(--secondary) 0%,
        var(--secondary-dark) 100%
    );
    padding: 2.5rem 0;
}
.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.newsletter-text {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}
.newsletter-icon {
    font-size: 2.2rem;
    color: var(--primary);
    flex-shrink: 0;
}
.newsletter-text h5 {
    margin: 0 0 0.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}
.newsletter-text p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.newsletter-form {
    flex: 1;
    min-width: 280px;
    max-width: 480px;
}
.newsletter-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    overflow: hidden;
    padding: 0 0 0 1rem;
    transition: all var(--transition);
}
.newsletter-input-wrap:focus-within {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(196, 145, 42, 0.2);
}
.newsletter-input-wrap > i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-right: 0.5rem;
}
.newsletter-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.9rem;
    padding: 0.8rem 0;
}
.newsletter-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.newsletter-input-wrap button {
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.8rem 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition);
    border-radius: 0 50px 50px 0;
}
.newsletter-input-wrap button:hover {
    background: var(--primary-dark);
    padding-right: 1.8rem;
} /* Hiệu ứng nút dài ra mượt mà */
.newsletter-note {
    margin: 0.6rem 0 0 1rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.site-footer {
    background: var(--bg-main);
    color: var(--text-body);
    padding-top: 0;
}
.footer-top-border {
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--secondary) 0%,
        var(--primary) 40%,
        var(--primary-light) 60%,
        var(--secondary) 100%
    );
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    padding: 2rem 0 0.5rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.2rem;
    transition: transform var(--transition);
}
.footer-logo:hover {
    transform: scale(1.05);
}
.footer-desc {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.footer-license {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.footer-license-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-license-item i {
    color: var(--primary);
    margin-top: 0.2rem;
    font-size: 0.75rem;
}
.footer-license-item strong {
    color: var(--text-heading);
}

.footer-socials {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.footer-col-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--secondary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(196, 145, 42, 0.2);
}
.footer-col-title i {
    font-size: 0.85rem;
    color: var(--primary);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all var(--transition);
    border-radius: 6px;
}
.footer-links a i {
    color: var(--primary);
    font-size: 0.7rem;
    transition: transform var(--transition);
}
.footer-links a:hover {
    color: var(--primary);
    padding-left: 0.8rem;
    background: rgba(196, 145, 42, 0.05);
}
.footer-links a:hover i {
    transform: translateX(3px);
} /* Hiệu ứng mũi tên bay nhẹ sang phải */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    transition: transform var(--transition);
}
.footer-contact li:hover {
    transform: translateX(5px);
}
.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--primary-light);
    border: 1px solid rgba(196, 145, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.footer-contact li:hover .contact-icon {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-gold);
}
.contact-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.contact-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}
.contact-body span,
.contact-body a {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.6;
    transition: color var(--transition);
}
.contact-phone {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    letter-spacing: 0.5px;
}
.contact-body a:hover {
    color: var(--primary) !important;
}

.footer-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom-left p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-bottom-left strong {
    color: var(--secondary);
    font-weight: 800;
}
.footer-bottom-sub {
    font-size: 0.75rem !important;
    color: #a0aec0 !important;
    margin-top: 0.3rem !important;
}
.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.footer-bottom-right a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-bottom-right a:hover {
    color: var(--primary);
}

/* --- BACK TO TOP --- */
.back-to-top {
    position: fixed;
    bottom: 172px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 980;
    visibility: hidden;
}
.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}
.back-to-top:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(27, 58, 107, 0.4);
}

@media (max-width: 1199px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 2rem;
    }
    .footer-col-brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        padding: 2rem 0 1.5rem;
    }
    .newsletter-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }
}
@media (max-width: 576px) {
    .back-to-top {
        bottom: 152px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   7. CONTACT PANEL (LUXURY THEME)
========================================================= */

/* Nút Toggle */
.cp-toggle-btn {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(0deg, var(--primary-light), var(--primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1045;
    transition:
        transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55),
        box-shadow 0.3s;
    box-shadow: var(--shadow-gold);
    padding: 0;
}
.cp-toggle-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(196, 145, 42, 0.4);
}
.cp-toggle-btn.active {
    background: linear-gradient(
        135deg,
        var(--secondary-dark),
        var(--secondary)
    );
    box-shadow: 0 4px 18px rgba(27, 58, 107, 0.4);
}
.cp-btn-inner {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.cp-toggle-btn.active .cp-btn-inner {
    transform: rotate(90deg);
}
.cp-pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 20px;
    border: 2px solid rgba(196, 145, 42, 0.45);
    animation: cpRingPulse 2.5s ease-out infinite;
    pointer-events: none;
}
.cp-toggle-btn.active .cp-pulse-ring {
    display: none;
}
@keyframes cpRingPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.cp-online-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    background: var(--status-success);
    border-radius: 50%;
    border: 2px solid #fff;
    animation: cpDotPulse 2s ease-in-out infinite;
}
.cp-toggle-btn.active .cp-online-dot {
    display: none;
}
@keyframes cpDotPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(46, 204, 113, 0);
    }
}

/* Panel Tổng thể */
.cp-panel {
    position: fixed;
    bottom: 160px;
    right: 24px;
    width: 310px;
    background: #fff;
    border-radius: 20px;
    z-index: 1044;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(14px) scale(0.96);
    transform-origin: bottom right;
    pointer-events: none;
    transition:
        opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1),
        transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}
.cp-panel.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Header Panel (Navy Blue sang trọng) */
.cp-panel-header {
    position: relative;
    padding: 0.8rem 0.5rem 0.7rem;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--secondary),
        var(--secondary-dark)
    );
}
.cp-header-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(
            circle at 10% 20%,
            rgba(255, 255, 255, 0.12) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 50%
        );
}
.cp-header-bg::after {
    content: "";
    position: absolute;
    right: -20px;
    top: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.cp-header-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.15rem;
}
.cp-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.cp-brand-logo {
    width: 70px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(196, 145, 42, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}
.cp-brand-name {
    font-size: 0.95rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.2px;
}
.cp-brand-sub {
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.15rem;
}
.cp-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--status-success);
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(46, 204, 113, 0.8);
    animation: cpDotPulse 2s infinite;
}
.cp-btn-close {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    flex-shrink: 0;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}
.cp-btn-close:hover {
    background: var(--status-danger);
    border-color: var(--status-danger);
}

/* Các kênh liên lạc */
.cp-channels {
    padding: 0.75rem 0.7rem 0.5rem;
}
.cp-section-title {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0 0.3rem 0.45rem;
}
.cp-section-title--mt {
    padding-top: 0.6rem;
}
.cp-channel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    text-decoration: none !important;
    color: var(--text-heading) !important;
    transition:
        background 0.15s,
        transform 0.15s;
    margin-bottom: 0.35rem;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}
.cp-channel:hover {
    background: var(--bg-alt);
    border-color: rgba(196, 145, 42, 0.2);
    transform: translateX(2px);
}
.cp-channel:last-of-type {
    margin-bottom: 0;
}

/* Icon Kênh */
.cp-ch-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
    position: relative;
}
.cp-channel--phone .cp-ch-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow: 0 4px 12px rgba(196, 145, 42, 0.35);
}
.cp-channel--zalo .cp-ch-icon {
    background: linear-gradient(135deg, #0068ff, #00a8ff);
    box-shadow: 0 4px 12px rgba(0, 104, 255, 0.3);
}
.cp-channel--email .cp-ch-icon {
    background: linear-gradient(
        135deg,
        var(--secondary),
        var(--secondary-dark)
    );
    box-shadow: 0 4px 12px rgba(27, 58, 107, 0.3);
}

/* Sóng Ripple cho Hotline */
.cp-ch-ripple {
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    border: 2px solid rgba(196, 145, 42, 0.4);
    animation: chRipple 2s ease-out infinite;
}
@keyframes chRipple {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}
.cp-channel:not(.cp-channel--phone) .cp-ch-ripple {
    display: none;
}

.cp-ch-info {
    flex: 1;
    min-width: 0;
}
.cp-ch-name {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-heading);
}
.cp-ch-detail {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.05rem;
}
.cp-ch-badge--live {
    background: var(--status-danger);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 900;
    padding: 0.12rem 0.4rem;
    border-radius: 5px;
    letter-spacing: 0.5px;
    animation: badgeBlink 2s infinite;
}
@keyframes badgeBlink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}
.cp-ch-arrow {
    font-size: 0.65rem;
    color: var(--primary);
    opacity: 0;
    transition:
        opacity 0.15s,
        transform 0.15s;
}
.cp-channel:hover .cp-ch-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Mạng xã hội */
.cp-social-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.1rem;
}
.cp-social {
    flex: 1;
    padding: 0.55rem 0.4rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none !important;
    font-size: 0.65rem;
    font-weight: 700;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    border: 1.5px solid transparent;
    background: var(--bg-alt);
}
.cp-social span {
    color: var(--text-body);
}
.cp-social:hover {
    transform: translateY(-3px);
    border-color: rgba(196, 145, 42, 0.2);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.cp-social--fb i {
    font-size: 1.1rem;
    color: #1877f2;
}
.cp-social--tt i {
    font-size: 1.1rem;
    color: #010101;
}
.cp-social--yt i {
    font-size: 1.1rem;
    color: #ff0000;
}

/* Footer */
.cp-panel-footer {
    background: var(--bg-alt);
    border-top: 1px solid rgba(196, 145, 42, 0.15);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}
.cp-panel-footer i {
    color: var(--primary);
    flex-shrink: 0;
}
.cp-panel-footer span {
    flex: 1;
}
.cp-map-link {
    color: var(--primary) !important;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none !important;
    font-size: 0.68rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.15s;
}
.cp-map-link:hover {
    color: var(--primary-dark) !important;
}
.cp-map-link i {
    font-size: 0.55rem;
}

/* Mobile */
@media (max-width: 576px) {
    .cp-toggle-btn {
        bottom: 87px;
        right: 20px;
    }
    .cp-panel {
        bottom: 158px;
        right: 20px;
        width: calc(100vw - 40px);
        max-width: 310px;
    }
}

/* =========================================================
   8. CHAT WIDGET
========================================================= */
#chatWidgetBtn {
    position: fixed;
    bottom: 20px;
    right: 24px;
    min-height: 56px;
    padding: 8px 16px 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    cursor: pointer;
    background: linear-gradient(135deg, #1f4c8f, #173764);
    color: #fff;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 12px 34px rgba(23, 55, 100, 0.34);
    transition: all 0.28s;
}
#chatWidgetBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(23, 55, 100, 0.42);
}
#chatWidgetBtn.active {
    background: linear-gradient(135deg, var(--text-muted), #6b7280);
    padding: 0;
    width: 52px;
    min-height: 52px;
    border-radius: 50%;
    justify-content: center;
}
.cw-btn-inner {
    display: flex;
    align-items: center;
    gap: 9px;
}
.cw-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0b15a, var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #fff;
    box-shadow: 0 4px 14px rgba(192, 102, 42, 0.35);
    transition: transform 0.25s;
}
#chatWidgetBtn:hover .cw-btn-icon {
    transform: rotate(-8deg) scale(1.06);
}
.cw-btn-label {
    display: flex;
    flex-direction: column;
    line-height: 1.12;
    text-align: left;
}
.cw-btn-label strong {
    font-size: 0.8rem;
    font-weight: 800;
    color: #fff;
}
.cw-btn-label small {
    font-size: 0.63rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}
.cw-unread-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    background: var(--status-danger);
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 900;
    color: #fff;
}
.cw-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 2px solid rgba(37, 77, 143, 0.35);
    animation: cwPulse 2.2s ease-out infinite;
    pointer-events: none;
}
@keyframes cwPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.22);
        opacity: 0;
    }
}
#chatWidgetBtn.active .cw-btn-label {
    display: none;
}
#chatWidgetBtn.active .cw-btn-icon {
    width: 34px;
    height: 34px;
}
#chatWidgetBtn.active .cw-pulse {
    display: none;
}

.chat-window {
    position: fixed;
    bottom: 86px;
    right: 24px;
    width: 376px;
    height: 560px;
    max-height: 78vh;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 22px 52px rgba(18, 40, 75, 0.32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.97);
    transform-origin: bottom right;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid #dce5f1;
}
.chat-window.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}
.chat-header {
    background: linear-gradient(135deg, #1f4c8f, #173764);
    color: #fff;
    padding: 12px 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.chat-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.chat-brand-mark {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}
.chat-brand-avatar {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.23);
    flex-shrink: 0;
}
.chat-brand-copy {
    flex: 1;
    min-width: 0;
}
.chat-brand-copy h6 {
    margin: 0;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chat-brand-copy small {
    display: block;
    margin-top: 1px;
    font-size: 0.69rem;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chat-brand-copy small i {
    color: #52d684;
    font-size: 0.5rem;
    margin-right: 4px;
    vertical-align: middle;
}
.chat-head-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}
.chat-icon-btn,
.chat-close-btn {
    width: 31px;
    height: 31px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}
.chat-icon-btn:hover,
.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.24);
}
.chat-context-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    margin-top: 9px;
    padding: 7px 9px;
}
.chat-context-note i {
    color: #f7c77a;
}

.chat-stage {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    background: linear-gradient(180deg, #fbfdff 0%, #f6f9fc 100%);
    position: relative;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 12px 8px;
}
.chat-body::-webkit-scrollbar {
    width: 5px;
}
.chat-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.chat-ai-thinking {
    padding: 0 12px 8px;
}
.chat-ai-thinking-bubble {
    width: fit-content;
    max-width: 82%;
    border: 1px solid #dbe4f0;
    background: linear-gradient(135deg, #ffffff, #f7faff);
    color: #375272;
    border-radius: 16px 16px 16px 4px;
    padding: 7px 11px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}
.chat-ai-thinking-label {
    font-size: 0.74rem;
    font-weight: 700;
    color: #4a6485;
}
.chat-ai-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.chat-ai-dots i {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.35;
    animation: chatAiDot 1.2s infinite ease-in-out;
}
.chat-ai-dots i:nth-child(2) {
    animation-delay: 0.18s;
}
.chat-ai-dots i:nth-child(3) {
    animation-delay: 0.36s;
}
@keyframes chatAiDot {
    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.35;
    }
    40% {
        transform: translateY(-3px);
        opacity: 1;
    }
}
.chat-guest-block {
    padding: 10px 12px 0;
}
.chat-guest-card {
    border: 1px solid #e5ebf3;
    border-radius: 14px;
    background: #fff;
    padding: 12px;
    box-shadow: var(--shadow-sm);
}
.chat-guest-card h6 {
    margin: 0 0 6px;
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--secondary);
}
.chat-guest-card h6 i {
    color: var(--primary);
}
.chat-guest-card p {
    margin: 0 0 9px;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.45;
}
.chat-guest-form .chat-field {
    margin-bottom: 8px;
}
.chat-guest-form .chat-field.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}
.chat-guest-form .form-control {
    border-radius: 10px;
    border: 1px solid #dbe3ee;
    font-size: 0.78rem;
}
.chat-guest-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}
.chat-guest-alert {
    margin-top: 9px;
    margin-bottom: 8px;
    font-size: 0.69rem;
    border: 1px solid #f4d7a1;
    background: #fff8ea;
    color: #8a6112;
    border-radius: 9px;
    padding: 7px 9px;
}
.chat-verify-btn {
    border-radius: 10px;
    font-size: 0.76rem;
}
.chat-transfer-wrap {
    border-top: 1px dashed #e1e7f0;
    padding: 9px 12px;
    background: #fff;
}
.chat-transfer-card {
    border: 1px solid #e3e9f3;
    border-radius: 11px;
    padding: 8px 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #f8fafd;
    flex-wrap: wrap;
}
.chat-transfer-copy {
    min-width: 0;
}
.chat-transfer-copy strong {
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}
.chat-transfer-copy small {
    display: block;
    margin-top: 2px;
    font-size: 0.67rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}
.chat-transfer-card .btn {
    border-radius: 9px;
    font-size: 0.73rem;
    font-weight: 700;
    padding: 0.34rem 0.58rem;
    flex-shrink: 0;
}

#chatBackToBotBtn {
    border-color: #cbd5e1;
}
.chat-footer {
    border-top: 1px solid #ebf0f6;
    background: #fff;
    padding: 9px 12px 11px;
}
.chat-input-wrap {
    display: flex;
    align-items: center;
    background: #f7f9fc;
    border: 1px solid #dce4ef;
    border-radius: 999px;
    padding: 4px 5px;
}
.chat-input-icon {
    width: 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
}
.chat-input-wrap .form-control {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 0.84rem;
    padding-left: 2px !important;
}
.chat-input-wrap .btn {
    min-width: 36px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fe-chat-row {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 12px;
}
.fe-msg-bubble {
    max-width: 82%;
    padding: 9px 12px;
    font-size: 0.82rem;
    line-height: 1.48;
    word-wrap: break-word;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.fe-msg-system {
    background: #edf2f7;
    color: #4f5e72;
    font-size: 0.76rem;
    padding: 6px 12px;
    border-radius: 999px;
    align-self: center;
    text-align: center;
    box-shadow: none;
}
.fe-msg-customer {
    background: linear-gradient(135deg, #ca8646, var(--primary));
    color: #fff;
    border-radius: 18px 18px 4px 18px;
    align-self: flex-end;
}
.fe-msg-admin {
    background: linear-gradient(135deg, #ffffff, #f9fbff);
    color: var(--text-heading);
    border-radius: 18px 18px 18px 4px;
    align-self: flex-start;
    border: 1px solid var(--border);
}
.fe-msg-time {
    font-size: 0.64rem;
    margin-top: 4px;
    opacity: 0.85;
}
.fe-msg-customer .fe-msg-time {
    text-align: right;
}

/* =========================================================
   9. SO SÁNH BAR
========================================================= */
#so-sanh-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: #fff;
    padding: 0.8rem 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    animation: slideUpBar 0.3s ease;
}
@keyframes slideUpBar {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.ss-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.ss-bar-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.ss-bar-title {
    font-weight: 700;
    font-size: 0.85rem;
}
.ss-bar-title i {
    color: var(--primary);
}
.ss-item-chip {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.ss-item-remove {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 0.75rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.ss-item-remove:hover {
    opacity: 1;
    color: var(--status-danger);
}
.ss-bar-actions {
    display: flex;
    gap: 0.6rem;
}
.ss-btn-compare {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.ss-btn-compare:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}
.ss-btn-page {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
}
.ss-btn-page:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.ss-btn-clear {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: #ffb3ae;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}
.ss-btn-clear:hover {
    background: var(--status-danger);
    color: #fff;
}

/* =========================================================
   10. MODAL KHÁCH HÀNG (HỒ SƠ / MẬT KHẨU)
========================================================= */
.kh-tab-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-main);
    border-bottom: 2px solid var(--border);
    padding: 0.4rem 0.5rem 0;
    gap: 0.3rem;
}
.kh-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.8rem 0.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.2s;
}
.kh-tab:hover {
    color: var(--primary);
}
.kh-tab.active {
    background: #fff;
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.kh-tab-panel {
    display: none;
}
.kh-tab-panel.active {
    display: block;
    animation: khFadeIn 0.25s ease;
}
.kh-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.2rem;
    min-width: 260px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-left: 4px solid var(--status-success);
    transform: translateY(20px) scale(0.97);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}
.kh-toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.kh-toast.error {
    border-left-color: var(--status-danger);
}

@media (max-width: 576px) {
    .cp-toggle-btn {
        bottom: 80px;
        right: 16px;
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }
    .cp-panel {
        bottom: 138px;
        right: 16px;
        width: calc(100vw - 32px);
        max-width: 310px;
    }
    #chatWidgetBtn {
        bottom: 16px;
        right: 16px;
        height: 48px;
        padding: 0 14px 0 9px;
    }
    #chatWidgetBtn.active {
        width: 48px;
        height: 48px;
    }
    .chat-window {
        width: calc(100vw - 32px);
        right: 16px;
        bottom: 84px;
        height: 76vh;
        max-height: 540px;
        border-radius: 18px;
    }
    .ss-btn-page,
    .ss-bar-title span {
        display: none;
    }
}
