/* ==========================================================================
   BẢNG MÀU PHIÊN BẢN MỚI 2026 - WESTOX PAINT
   File: SmartCsm.Web/Content/css/bang-mau-2026.css
   Mục đích: Định kiểu giao diện độc lập cho route /bang-mau-2026, không xung đột
   ========================================================================== */

#bang-mau-2026-wrapper {
    font-family: 'Jura', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

#bang-mau-2026-wrapper * {
    box-sizing: border-box;
}

/* ==========================================================================
   1. COLOR PREVIEW BANNER (KHU VỰC PREVIEW TRÊN CÙNG)
   ========================================================================== */
.bm-preview-section {
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease,
                padding 0.4s ease,
                background-color 0.35s ease;
    background-color: #f5a5ae; /* Màu mặc định */
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bm-preview-section.is-open {
    max-height: 900px;
    opacity: 1;
    padding: 50px 0 55px 0;
    overflow: visible;
}

/* Tự điều chỉnh màu chữ theo độ tương phản */
.bm-preview-section.is-light {
    color: #1a1a1a;
}
.bm-preview-section.is-dark {
    color: #ffffff;
}

.bm-preview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.bm-preview-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 55px;
}

/* Cột trái: Ảnh phòng nội thất phối cảnh thực tế */
.bm-preview-col-image {
    flex: 0 0 380px;
    max-width: 380px;
    width: 380px;
}

.bm-room-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Chuẩn hình vuông 1:1 theo kích thước ảnh upload */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #f5a5ae;
    transition: background-color 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lớp màu nền bên dưới tấm ảnh PNG transparent */
.bm-room-color-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5a5ae;
    z-index: 1;
    transition: background-color 0.35s ease;
    pointer-events: none;
}

.bm-room-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ôm trọn khung vuông 1:1 chuẩn xác, không méo hình */
    display: block;
    z-index: 2;
    transition: opacity 0.3s ease, filter 0.4s ease;
}

/* Khi là ảnh PNG transparent, ẩn lớp tint hue để màu tường hiển thị nguyên bản và trung thực */
.bm-room-card.is-transparent-png .bm-room-tint-overlay {
    display: none !important;
}

/* Lớp phủ đổi màu tường theo mã màu được chọn (cho ảnh JPG cũ) */
.bm-room-tint-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 72%; /* Chỉ phủ phần tường trên */
    pointer-events: none;
    mix-blend-mode: hue;
    opacity: 0.72;
    z-index: 3;
    transition: background-color 0.4s ease;
}

/* Cột phải: Thông tin màu sắc & Nút hành động */
.bm-preview-col-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bm-preview-code {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 6px 0;
    letter-spacing: -1px;
}

.bm-preview-name {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 42px 0;
}

.bm-preview-meta {
    margin-bottom: 34px;
}

.bm-preview-collection-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    opacity: 0.85;
    margin-bottom: 2px;
}

.bm-preview-collection-link {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.bm-preview-collection-link:hover {
    opacity: 0.75;
}

/* Hàng nút bấm: Phối màu & Download */
.bm-preview-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bm-btn-phoi-mau {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 34px;
    font-size: 15px;
    font-weight: 500;
    color: inherit;
    background-color: transparent;
    border: 1px solid currentColor;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.bm-btn-phoi-mau:hover {
    background-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
    color: inherit;
}

.bm-preview-section.is-light .bm-btn-phoi-mau:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.bm-btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 38px;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff !important;
    background-color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.bm-btn-download:hover {
    background-color: #333333;
    border-color: #333333;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    color: #ffffff;
}

/* Nút Nhận màu mẫu (kế bên Phối màu và Download) */
.bm-btn-sample {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(135deg, #e11d48, #be123c);
    border: 1px solid #be123c;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
    transition: all 0.25s ease;
}

.bm-btn-sample:hover {
    background: linear-gradient(135deg, #be123c, #9f1239);
    border-color: #9f1239;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.45);
    color: #ffffff;
}

/* Nút đóng Preview */
.bm-preview-close {
    position: absolute;
    top: 18px;
    right: 24px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    color: inherit;
    cursor: pointer;
    opacity: 0.65;
    background: transparent;
    border: none;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.bm-preview-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.08);
}
.bm-preview-section.is-dark .bm-preview-close:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   2. TIÊU ĐỀ TRANG (PAGE TITLE)
   ========================================================================== */
.bm-header-title-box {
    text-align: center;
    padding: 42px 15px 32px 15px;
}

.bm-header-title-box h1 {
    font-size: 52px;
    font-weight: 700;
    color: #111111;
    margin: 0;
    letter-spacing: -0.5px;
}

/* ==========================================================================
   3. LƯỚI BẢNG MÀU (COLOR GRID)
   ========================================================================== */
.bm-main-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.bm-color-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3.5px;
    width: 100%;
    transition: all 0.35s ease;
}

/* Ô màu đơn lẻ */
.bm-color-card {
    position: relative;
    height: 88px;
    background-color: #e0e0e0;
    cursor: pointer;
    user-select: none;
    transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.22s ease,
                height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                z-index 0.22s ease;
    z-index: 1;
}

/* Trạng thái thu gọn khi đang mở Preview (Hình 2) */
.preview-active .bm-color-card {
    height: 58px;
}

/* Thông tin mã màu và tên màu góc dưới trái */
.bm-card-info {
    position: absolute;
    bottom: 7px;
    left: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    line-height: 1.2;
}

.bm-card-name {
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bm-card-code {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.2px;
}

/* Tự điều chỉnh màu chữ trong ô */
.bm-color-card.text-light .bm-card-name,
.bm-color-card.text-light .bm-card-code {
    color: #ffffff;
}

.bm-color-card.text-dark .bm-card-name,
.bm-color-card.text-dark .bm-card-code {
    color: #1a1a1a;
}

/* Icon cọ/thẻ màu góc trên bên phải khi Hover */
.bm-card-hover-icon {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: scale(0.65);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.bm-color-card.text-light .bm-card-hover-icon svg {
    fill: #ffffff;
}

.bm-color-card.text-dark .bm-card-hover-icon svg {
    fill: #1a1a1a;
}

/* Hiệu ứng HOVER mượt mà (chuẩn như ô Coral Pink trong Hình 1) */
.bm-color-card:hover {
    transform: scale(1.1);
    z-index: 30;
    border-radius: 3px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24), 0 0 0 2.5px #ffffff;
}

.bm-color-card:hover .bm-card-hover-icon {
    opacity: 1;
    transform: scale(1);
}

/* Trạng thái được chọn (Selected/Active) */
.bm-color-card.is-selected {
    box-shadow: 0 0 0 3px #1a1a1a, 0 8px 20px rgba(0, 0, 0, 0.18);
    z-index: 10;
}

/* ==========================================================================
   4. PHÂN TRANG (PAGINATION)
   ========================================================================== */
.bm-pagination-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 36px 0 65px 0;
    gap: 8px;
}

.bm-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    text-decoration: none;
    border-radius: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bm-page-btn:hover {
    background-color: #f0f0f0;
    color: #111111;
}

.bm-page-btn.active {
    background-color: #1a1a1a;
    color: #ffffff;
    font-weight: 600;
}

.bm-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    color: #777777;
    font-size: 14px;
    user-select: none;
}

/* ==========================================================================
   5. BANNER CTA PHÍA DƯỚI (EXPLORE CTA BANNER)
   ========================================================================== */
.bm-cta-section {
    width: 100%;
    background-color: #f0f0f0;
    margin-top: 30px;
}

.bm-cta-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 75px 48px 85px 48px;
}

.bm-cta-title {
    font-size: 42px;
    font-weight: 700;
    color: #111111;
    line-height: 1.28;
    max-width: 660px;
    margin: 0 0 32px 0;
    letter-spacing: -0.5px;
}

.bm-btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    color: #ffffff !important;
    padding: 14px 34px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
}

.bm-btn-cta:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS (DESKTOP, TABLET, MOBILE)
   ========================================================================== */

/* ==========================================================================
   BỘ LỌC NHÓM MÀU & THANH TÌM KIẾM (COLOR FILTER & SEARCH BAR)
   ========================================================================== */
.bm-filter-search-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 760px;
    margin: 0 auto 30px auto;
}

.bm-filter-group-wrap {
    flex: 0 0 auto;
}

.bm-select-dropdown {
    padding: 8px 36px 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #111111;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 30px;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    min-width: 175px;
    height: 42px;
}

.bm-select-dropdown:focus {
    border-color: #111111;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.bm-search-wrap {
    max-width: 560px;
    margin: 0 auto 30px auto;
}

.bm-filter-search-row .bm-search-box {
    flex: 1;
    margin: 0;
}

.bm-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 30px;
    padding: 4px 18px;
    height: 42px;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.bm-search-box:focus-within {
    border-color: #111111;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.bm-search-icon {
    font-size: 16px;
    color: #94a3b8;
    margin-right: 12px;
}

.bm-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: #1e293b;
    background: transparent;
    padding: 6px 0;
}

.bm-search-input::placeholder {
    color: #94a3b8;
    font-size: 14px;
}

.bm-search-clear {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 6px;
    transition: color 0.2s ease;
}

.bm-search-clear:hover {
    color: #0f172a;
}

/* ==========================================================================
   MODAL ĐĂNG KÝ NHẬN MÀU MẪU (SAMPLE MODAL)
   ========================================================================== */
body.bm-modal-open {
    overflow: hidden;
}

.bm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.bm-modal-dialog {
    background-color: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    padding: 28px 32px;
    position: relative;
    animation: bmModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bmModalPop {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.bm-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
}

.bm-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.bm-modal-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.bm-modal-close-btn {
    background: transparent;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s ease;
}

.bm-modal-close-btn:hover {
    color: #0f172a;
}

/* Huy hiệu màu đang chọn trong modal */
.bm-modal-color-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 18px;
}

.bm-modal-color-swatch {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.bm-modal-color-details {
    display: flex;
    flex-direction: column;
}

.bm-modal-color-code {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.bm-modal-color-name {
    font-size: 13px;
    color: #64748b;
}

/* Form Styles */
.bm-sample-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bm-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bm-form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin: 0;
}

.bm-required {
    color: #e11d48;
}

.bm-form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background-color: #ffffff;
}

.bm-form-control:focus {
    border-color: #be123c;
    box-shadow: 0 0 0 3px rgba(190, 18, 60, 0.12);
}

.bm-form-control.is-invalid {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.bm-textarea {
    resize: vertical;
    min-height: 72px;
    font-family: inherit;
}

.bm-form-error {
    font-size: 12px;
    color: #ef4444;
    display: none;
    margin-top: 2px;
}

/* Alerts */
.bm-sample-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.bm-alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.bm-alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Captcha group */
.bm-captcha-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bm-captcha-input {
    width: 120px !important;
}

.bm-captcha-img {
    height: 36px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.bm-captcha-refresh {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bm-captcha-refresh:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Footer buttons */
.bm-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.bm-btn-modal-cancel {
    background-color: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bm-btn-modal-cancel:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.bm-btn-modal-submit {
    background: linear-gradient(135deg, #e11d48, #be123c);
    border: 1px solid #be123c;
    color: #ffffff;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
    transition: all 0.25s ease;
}

.bm-btn-modal-submit:hover {
    background: linear-gradient(135deg, #be123c, #9f1239);
    border-color: #9f1239;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.4);
}

.bm-btn-modal-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .bm-preview-row {
        gap: 35px;
    }

    .bm-preview-col-image {
        flex: 0 0 300px;
        max-width: 300px;
    }

    .bm-preview-code {
        font-size: 44px;
    }

    .bm-preview-name {
        font-size: 22px;
        margin-bottom: 28px;
    }

    .bm-header-title-box h1 {
        font-size: 42px;
    }

    .bm-color-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
    }

    .bm-color-card {
        height: 82px;
    }

    .preview-active .bm-color-card {
        height: 64px;
    }

    .bm-cta-title {
        font-size: 34px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .bm-preview-section.is-open {
        padding: 40px 0 45px 0;
    }

    .bm-preview-row {
        flex-direction: column;
        gap: 28px;
    }

    .bm-preview-col-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .bm-preview-col-info {
        text-align: center;
        align-items: center;
    }

    .bm-preview-code {
        font-size: 38px;
    }

    .bm-preview-name {
        font-size: 20px;
        margin-bottom: 22px;
    }

    .bm-preview-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .bm-filter-search-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        max-width: 100%;
        margin-bottom: 22px;
    }

    .bm-select-dropdown {
        width: 100%;
        min-width: 100%;
    }

    .bm-btn-phoi-mau,
    .bm-btn-download,
    .bm-btn-sample {
        padding: 11px 20px;
        font-size: 14px;
    }

    .bm-modal-dialog {
        padding: 22px 18px;
    }

    .bm-header-title-box {
        padding: 28px 15px 22px 15px;
    }

    .bm-header-title-box h1 {
        font-size: 32px;
    }

    /* Grid 2 hoặc 3 cột trên mobile */
    .bm-color-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .bm-color-card {
        height: 74px;
    }

    .preview-active .bm-color-card {
        height: 68px;
    }

    /* Hover trên mobile thành touch active */
    .bm-color-card:active {
        transform: scale(1.04);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

    .bm-cta-container {
        padding: 45px 20px 55px 20px;
    }

    .bm-cta-title {
        font-size: 24px;
        line-height: 1.35;
    }

    .bm-btn-cta {
        padding: 12px 28px;
        font-size: 15px;
    }
}

