/* Thiết lập màu nền và font toàn trang */
body {
    background-color: #f7f8fa;
    font-family: 'Inter', sans-serif !important;
    color: #222222;
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Tiêu đề trang phía trên */
.mh-page-hero {
    max-width: 1320px;
    margin: 24px auto 10px auto;
    padding: 0 20px;
}

.mh-page-hero h1 {
    font-size: 26px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 6px;
}

.mh-page-hero p {
    font-size: 15px;
    color: #666666;
    margin: 0;
}

/* Thiết lập chung cho Header */
.mh-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mh-header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Phần Logo & Thương hiệu */
.mh-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.mh-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.mh-brand-text {
    display: flex;
    flex-direction: column;
}

.mh-brand-name {
    font-size: 17px;
    font-weight: 700;
    color: #111111;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mh-brand-slogan {
    font-size: 12px;
    color: #666666;
    font-style: italic;
}

/* Thanh tìm kiếm */
.mh-search-box {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.mh-search-box form {
    position: relative;
    display: flex;
    align-items: center;
}

.mh-search-icon {
    position: absolute;
    left: 16px;
    color: #888888;
    font-size: 14px;
}

.mh-search-input {
    width: 100%;
    background-color: #f4f6f8;
    border: 1px solid transparent;
    border-radius: 30px;
    padding: 11px 16px 11px 44px;
    font-size: 14px;
    color: #333333;
    transition: all 0.3s ease;
}

.mh-search-input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #e60012;
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.1);
}

/* Khu vực hành động bên phải */
.mh-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mh-theme-toggle {
    background: #f4f6f8;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555555;
    cursor: pointer;
    transition: background 0.2s;
}

.mh-theme-toggle:hover {
    background: #eaeaea;
    color: #e60012;
}

.mh-btn-action {
    background-color: #e60012;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 2px 6px rgba(230, 0, 18, 0.25);
    white-space: nowrap;
}

.mh-btn-action:hover {
    background-color: #cc0010;
    color: #ffffff;
}

.mh-btn-action:active {
    transform: scale(0.98);
}

/* Layout tổng thể 2 cột */
.mh-main-container {
    max-width: 1320px;
    margin: 24px auto;
    padding: 0 20px;
}

.mh-layout-wrapper {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* Cột trái: Sidebar */
.mh-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #eaeaea;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.mh-filter-title {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mh-filter-group {
    margin-bottom: 20px;
}

.mh-filter-group h4 {
    font-size: 13px;
    font-weight: 700;
    color: #555555;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mh-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mh-category-list li a {
    display: block;
    padding: 9px 12px;
    color: #444444;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.mh-category-list li a:hover, 
.mh-category-list li a.active {
    background-color: #fce8e6;
    color: #e60012;
    font-weight: 600;
}

/* Cột phải: Khu vực nội dung */
.mh-content-area {
    flex: 1;
}

.mh-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.mh-section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111111;
}

.mh-total-count {
    font-size: 14px;
    color: #666666;
}

/* Lưới thẻ dịch vụ (Card Grid) */
.mh-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.mh-service-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #eaeaea;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.mh-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.mh-card-img {
    position: relative;
    height: 180px;
    background: #f4f6f8;
}

.mh-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mh-badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e60012;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.mh-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mh-card-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 10px;
    line-height: 1.4;
}

.mh-card-desc {
    font-size: 14px;
    color: #555555;
    margin-bottom: 20px;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mh-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f2f5;
    padding-top: 14px;
}

.mh-price {
    font-size: 18px;
    font-weight: 800;
    color: #e60012;
}

.mh-btn-detail {
    background-color: #1d3557;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.mh-btn-detail:hover {
    background-color: #e60012;
    color: #ffffff;
}

/* Responsive di động */
@media (max-width: 768px) {
    .mh-header-container {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .mh-logo-img {
        height: 38px;
    }

    .mh-brand-slogan {
        display: none;
    }

    .mh-brand-name {
        font-size: 13px;
        max-width: 120px;
    }

    .mh-search-box {
        max-width: none;
    }

    .mh-search-input {
        padding: 9px 12px 9px 36px;
        font-size: 13px;
    }
    
    .mh-search-icon {
        left: 12px;
    }

    .mh-btn-action {
        padding: 8px 14px;
        font-size: 13px;
    }

    .mh-layout-wrapper {
        flex-direction: column;
    }
    
    .mh-sidebar {
        width: 100%;
    }
}