/*
Theme Name: ADBH Corporate Theme
Theme URI: https://adbhnew.com
Author: ADBH Dev Team
Version: 1.0.0
Text Domain: adbh-corporate
*/

/* --- Định nghĩa bảng màu biến (Variables) --- */
:root {
    --color-navy: #1A2B48;     /* Màu nền tối, header */
    --color-gold: #C5A059;     /* Màu nhấn, viền, icon */
    --color-text-dark: #333333;/* Chữ body chính */
    --color-text-light: #A0B2CB;/* Chữ mô tả mỏng */
    --color-white: #FFFFFF;
}

/* Base Reset theo phong cách BRG: Thoáng đãng, font không chân */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--color-text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
/* --- Cấu hình Header Sticky --- */
.site-header {
    position: fixed; /* Giữ nguyên cố định khi cuộn */
    top: 35px; /* Đẩy xuống đúng 35px để không bị thanh Top-bar màu đỏ đè lên */
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.95); /* Nền trắng trong nhẹ tinh tế */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 8px 0; /* Khoảng cách padding đã thu gọn giúp header mảnh mai */
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Bỏ bớt padding 15px trên dưới ở đây */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo svg {
    display: block;
    height: 55px; /* Khống chế chiều cao hiển thị trên thanh điều hướng */
    width: auto;  /* Tự động tính toán chiều rộng theo tỉ lệ viewBox */
    transition: transform 0.2s ease;
}

.site-logo svg:hover {
    transform: scale(1.02); /* Hiệu ứng phóng nhẹ khi di chuột vào logo */
}

/* --- TOP-BAR TINH TẾ --- */
.site-top-bar {
    background-color: #9C2723; /* Màu xanh Navy tối sang trọng: #0B1424 */
    color: #FFFFFF;
    font-size: 12px;
    height: 35px;
    line-height: 35px;
    width: 100%;
    position: fixed;
	top: 0;
	left: 0;
    z-index: 10000;
}

.top-bar-container {
    max-width: 1200px; /* Khống chế bằng chiều rộng an toàn của khung web */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between; /* Đẩy mạnh 2 khối về 2 rìa đối lập */
    align-items: center;
    height: 100%;
}

/* Khối bên trái (Hotline/Email) */
.top-bar-left {
    display: flex;
    gap: 20px; /* Tạo khoảng cách thông thoáng giữa hotline và email */
}

.info-item {
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* Khối bên phải (Ngôn ngữ/Mạng xã hội) */
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Cụm Ngôn ngữ VN | EN */
.lang-selector {
    display: flex;
    align-items: center;
}

.lang-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.lang-link:hover, 
.lang-link.active {
    color: var(--color-gold, #C5A059); /* Màu vàng kim điểm nhấn */
}

.lang-slash {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.15);
}

/* Cụm Mạng xã hội */
.top-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #FFFFFF;
    text-decoration: none;
    font-family: inherit;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: var(--color-gold, #C5A059);
}

/* --- ĐIỀU CHỈNH LẠI HEADER CHÍNH ĐỂ KHÔNG BỊ LỖI PHỦ ĐÈ --- */
.site-header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Đảm bảo chiều cao và padding của header chính không bị dính líu đến top-bar */
    padding: 15px 0; 
}

/* --- Cấu hình Menu --- */
.main-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-menu li a {
    text-decoration: none;
    color: var(--color-navy);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.main-menu li a:hover {
    color: var(--color-gold); /* Hover đổi sang màu vàng kim sang trọng */
}

/* --- Cấu hình Hero Banner (Full màn hình) --- */
.hero-banner {
    position: relative;
    height: 70vh; /* Chiếm 70% chiều cao màn hình hiển thị */
    width: 100%;
    margin-top: 105; /* Tạo khoảng trống ở trên để đẩy nội dung banner xuống dưới menu */
    background-image: url('images/page/hero-banner-1.jfif'); /* Ảnh tòa nhà hiện đại tạm thời, có thể thay đổi sau */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Lớp phủ tối giúp chữ màu trắng luôn rõ ràng sắc nét */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 43, 72, 0.4); /* Phủ nhẹ một lớp màu Navy */
    z-index: 1;
}

.hero-caption {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    color: var(--color-white);
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 15px;
}

.hero-line {
    width: 80px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 0 auto;
}
/* --- SECTION 2: LĨNH VỰC HOẠT ĐỘNG (BRG STYLE) --- */
.services-slider-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    background-color: #9C2723; /* Màu đỏ đô giả lập thanh tiêu đề */
    padding: 15px 0;
}

.section-title {
    font-size: 24px;
    color: #FFFFFF;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Khung bọc Slider */
.brg-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 40px; /* Chừa chỗ cho 2 nút mũi tên */
}

.slider-viewport {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* Khoảng cách giữa các cột */
    gap: 20px; 
}

/* Chia 3 cột trên Desktop */
.slide-item {
    flex: 0 0 calc((100% - 40px) / 3); 
    box-sizing: border-box;
}

/* --- Cấu trúc Card BRG Style --- */
.brg-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Ép các hộp dài bằng nhau */
    background: #F9F9F9;
    border: 1px solid #EBEBEB;
}

.card-image-box {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #000;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Làm tối ảnh để nổi chữ trắng */
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.brg-card:hover .card-image-box img {
    opacity: 1;
    transform: scale(1.05);
}

/* Chữ nổi giữa ảnh (Pharma, Hospitality...) */
.image-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 1px;
    z-index: 2;
    pointer-events: none;
}

.card-content-box {
    padding: 30px 20px;
    text-align: center;
    flex-grow: 1; /* Đẩy phần dư thừa xuống dưới, cân bằng layout */
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 16px;
    margin: 0 0 15px 0;
}

.card-title a {
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.card-title a:hover {
    color: #9C2723;
}

.card-excerpt {
    font-size: 14.5px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

/* Nút mũi tên đè lên mép ảnh giống BRG */
.slider-arrow {
    position: absolute;
    top: 35%; /* Căn giữa theo ảnh */
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: rgba(0,0,0,0.8);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

/* Responsive cho điện thoại & Tablet */
@media (max-width: 992px) {
    .slide-item { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 768px) {
    .slide-item { flex: 0 0 100%; }
    .brg-slider-wrapper { padding: 0 30px; }
}
/* --- SECTION 3: TIN TỨC & SỰ KIỆN (GRID) --- */
.news-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Lưới 3 cột đều nhau */
    gap: 40px; /* Khoảng cách giữa các bài viết khá rộng để tạo không gian thở */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-card {
    display: flex;
    flex-direction: column;
}

/* Ảnh đại diện bài viết */
.news-thumbnail {
    width: 100%;
    height: 240px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #F0F0F0;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-thumbnail:hover img {
    transform: scale(1.05);
}

/* Nội dung bài viết */
.news-date {
    font-size: 12px;
    color: #888888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-title {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.news-title a {
    color: var(--color-navy);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.news-title a:hover {
    color: var(--color-gold);
}

.news-excerpt {
    font-size: 15px;
    color: #666666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 300;
}

.read-more {
    font-size: 14px;
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    margin-top: auto; /* Ép nút bấm luôn nằm dưới cùng dù text dài ngắn khác nhau */
}

.read-more:hover {
    color: var(--color-navy);
}

/* Responsive cho khối Tin tức */
@media (max-width: 992px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
}
/* --- FOOTER PHONG CÁCH TẬP ĐOÀN --- */
.site-footer {
    background-color: var(--color-navy); /* Nền xanh Navy tối sang trọng */
    color: #E2E8F0;
    width: 100%;
    display: block;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Thanh Logo 4 Lĩnh Vực --- */
.footer-subsidiaries {
    background-color: #111E33; /* Màu tối hơn hẳn một tông để tách biệt */
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.subsidiaries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Chia đều 4 cột */
    gap: 20px;
    align-items: center;
}

.subsidiary-item a {
    text-decoration: none;
    display: block;
}

/* Thiết kế khung logo tạm thời dạng văn bản mỏng, sang trọng */
.sub-logo-placeholder {
    color: var(--color-text-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-align: center;
    padding: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.subsidiary-item a:hover .sub-logo-placeholder {
    color: var(--color-gold); /* Đổi màu vàng kim khi hover */
    border-color: var(--color-gold);
    background-color: rgba(197, 160, 89, 0.05);
}

/* --- Khu vực Footer chính --- */
.footer-main {
    padding: 60px 0;
}

.main-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Cột thông tin rộng gấp đôi các cột khác */
    gap: 50px;
}

.footer-heading {
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 0 25px 0;
    position: relative;
    padding-bottom: 10px;
}

/* Đường gạch chân tiêu đề mỏng */
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--color-gold);
}

.company-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #A0B2CB;
    margin-bottom: 20px;
    font-weight: 300;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details li {
    font-size: 13.5px;
    margin-bottom: 12px;
    color: #A0B2CB;
    font-weight: 300;
}

/* Menu chân trang */
.footer-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-links li {
    margin-bottom: 12px;
}

.footer-menu-links li a {
    color: #A0B2CB;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    font-weight: 300;
}

.footer-menu-links li a:hover {
    color: var(--color-gold);
}

/* Khối Bộ Công Thương */
.bct-img {
    max-width: 130px;
    height: auto;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.bct-img:hover {
    opacity: 1;
}

/* --- Thanh Bản Quyền dưới đáy --- */
.footer-bottom {
    background-color: #0B1424;
    padding: 20px 0;
    font-size: 12px;
    color: #64748B;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text {
    margin: 0;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 992px) {
    .main-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-column.footer-compliance { grid-column: span 2; }
    .subsidiaries-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-footer-grid { grid-template-columns: 1fr; }
    .footer-column.footer-compliance { grid-column: span 1; }
    .subsidiaries-grid { grid-template-columns: 1fr; }
}
/* --- SECTION 4: LIÊN HỆ & BẢN ĐỒ --- */
.contact-map-section {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contact-form-area {
    background-color: #B2B4B8; /* Màu xám giống nền form BRG */
    padding: 60px 0;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Phần Header Form */
.contact-header {
    margin-bottom: 30px;
}

.mail-icon {
    width: 50px;
    height: 50px;
    color: #FFFFFF; /* Icon hộp thư màu trắng nổi bật trên nền xám */
    margin-bottom: 15px;
}

.contact-desc {
    font-size: 14px;
    color: #FFFFFF;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* Phần Form Nhập liệu */
.adbh-contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    width: 100%;
}

.form-cols-2 {
    display: flex;
    gap: 15px;
}

.adbh-contact-form input,
.adbh-contact-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: #FFFFFF;
    font-family: inherit;
    font-size: 14px;
    color: #333333;
    box-sizing: border-box;
    outline: none;
}

.adbh-contact-form input:focus,
.adbh-contact-form textarea:focus {
    box-shadow: 0 0 0 2px var(--color-navy) inset; /* Hiệu ứng viền trong khi click vào ô nhập */
}

/* Nút Gửi */
.submit-btn {
    background-color: #A32A26; /* Màu đỏ thẫm giống nút Gửi của BRG */
    color: #FFFFFF;
    border: none;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%; /* Nút gửi kéo dài full width giống ảnh */
}

.submit-btn:hover {
    background-color: var(--color-navy); /* Hover chuyển sang màu Navy */
}

/* Bản đồ dưới Form */
.map-outer-wrapper {
    width: 100%;
    background-color: #A32A26; /* Đổ nền màu đỏ thẫm cho 2 bên rìa */
    border-top: 60px solid #FFFFFF; /* Tạo dải băng màu trắng phía trên bản đồ giống ảnh */
}

.map-inner-container {
    max-width: 1200px; /* Khống chế chiều rộng bản đồ bằng với khung website (không tràn viền) */
    margin: 0 auto; /* Căn giữa bản đồ */
    background-color: #EBEBEB;
    line-height: 0;
}

.map-inner-container iframe {
    width: 100%;
    height: 450px;
    display: block;
    filter: grayscale(10%); /* Hạ màu nhẹ để bản đồ không bị quá rực, sang trọng hơn */
}

/* Responsive cho Form */
@media (max-width: 600px) {
    .form-cols-2 {
        flex-direction: column; /* Trên điện thoại 2 ô Tên/Email xếp dọc */
    }
}

/* ==========================================
   INTERIOR STYLE: Y TẾ & CHĂM SÓC SỨC KHỎE
   ========================================== */
:root {
    --med-navy: #1A2B48;
    --med-red: #9C2723;
    --med-border: #E2E8F0;
    --med-gray-bg: #FAFAFA;
}

/* 1. HERO BANNER */
.medical-hero-banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    margin-top: 52px;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(26, 43, 72, 0.75), rgba(26, 43, 72, 0.45));
    z-index: 1;
}
.banner-container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}
.banner-title {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.banner-desc {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 2. BREADCRUMB */
.medical-breadcrumb {
    font-size: 14px;
    color: #666666;
    border-bottom: 1px solid var(--med-border);
    padding: 20px 0 15px;
}
.medical-breadcrumb a {
    color: var(--med-navy);
    text-decoration: none;
}
.medical-breadcrumb .current-crumb {
    color: var(--med-red);
    font-weight: bold;
}

/* 3. TIÊU ĐỀ KHỐI CHUNG */
.medical-section-title {
    text-align: center;
    margin-bottom: 40px;
}
.medical-section-title h2 {
    color: var(--med-navy);
    font-size: 30px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 700;
}
.medical-section-title .title-line {
    width: 80px;
    height: 3px;
    background-color: var(--med-red);
    margin: 0 auto;
}

/* 4. LAYOUT GRID DANH MỤC */
.medical-categories-section {
    padding: 60px 0;
    background: var(--med-gray-bg);
}
.categories-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Cấu trúc chống đè cho thẻ Danh Mục */
.med-cat-card {
    background: #ffffff;
    border: 1px solid var(--med-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Thiết lập luồng dọc để đẩy chân */
    height: 100%; /* Đảm bảo các hộp có chiều cao bằng nhau trong hàng */
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.med-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 43, 72, 0.1);
    border-color: var(--med-navy);
}
.cat-image-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-bottom: 1px solid var(--med-border);
}
.cat-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cat-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Chiếm trọn không gian trống ở giữa */
    text-align: center;
}
.cat-card-title {
    font-size: 18px;
    color: var(--med-navy);
    margin: 0 0 12px 0;
    font-weight: 600;
}
.cat-card-desc {
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Khóa cứng tối đa 3 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.med-cat-card .btn-view-more {
    margin-top: auto; /* BÍ QUYẾT: Ép văng nút bấm dính chặt vào đáy hộp */
    display: inline-block;
    padding: 8px 25px;
    border: 1px solid var(--med-navy);
    color: var(--med-navy);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: center;
}
.med-cat-card:hover .btn-view-more {
    background: var(--med-navy);
    color: #ffffff;
}

/* 5. LAYOUT GRID SẢN PHẨM TIÊU BIỂU */
.medical-products-section {
    padding: 60px 0;
    background: #ffffff;
}
.products-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* Cấu trúc chống đè cho thẻ Sản phẩm */
.med-product-card {
    background: #ffffff;
    border: 1px solid var(--med-border);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.med-product-card:hover {
    border-color: var(--med-navy);
    box-shadow: 0 8px 20px rgba(26, 43, 72, 0.08);
}
.product-image-thumb {
    display: block;
    aspect-ratio: 1/1;
    margin-bottom: 15px;
}
.product-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.no-image-placeholder {
    width: 100%;
    height: 100%;
    background: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-size: 14px;
    border-radius: 6px;
}
.product-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-card-title {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 15px 0;
}
.product-card-title a {
    color: #333333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Khóa cứng tiêu đề tối đa 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-title a:hover {
    color: var(--med-red);
}
.product-card-footer {
    margin-top: auto; /* BÍ QUYẾT: Đồng bộ hàng chân giá và nút bấm luôn bằng tăm tắp */
}
.product-price {
    font-size: 16px;
    font-weight: bold;
    color: var(--med-red);
    margin-bottom: 12px;
}
.btn-product-detail {
    display: block;
    text-align: center;
    background: var(--med-navy);
    color: #ffffff;
    padding: 10px 0;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
}
.btn-product-detail:hover {
    background: var(--med-red);
}

/* KHỐI NÚT XEM TẤT CẢ DƯỚI CÙNG */
.view-all-action {
    text-align: center;
    margin-top: 40px;
}
.btn-view-all {
    display: inline-block;
    background: var(--med-red);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s ease;
}
.btn-view-all:hover {
    background: var(--med-navy);
}
.empty-notify {
    grid-column: 1/-1;
    text-align: center;
    color: #666666;
    padding: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .banner-title { font-size: 28px; }
    .banner-desc { font-size: 15px; }
    .categories-layout-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .products-layout-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}
@media (max-width: 480px) {
    .categories-layout-grid { grid-template-columns: 1fr; }
    .products-layout-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   STYLE CHO TRANG VĂN PHÒNG THAM VẤN TÂM LÝ (ADBH MHC)
   ========================================================================== */
.psy-section {
    padding: 70px 0;
}
.bg-white { background-color: #ffffff; }
.bg-warm { background-color: #FBF9F6; } /* Màu be ấm áp tạo cảm giác an tâm */

/* Định dạng cấu trúc lưới */
.psy-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.psy-grid-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Kiểu dáng Banner có điều hướng Breadcrumbs */
section.hero-banner.psychology-hero {
    display: block; /* Thoát khỏi ảnh hưởng flexbox của class hero-banner cũ */
    width: 100%;
    height: 60vh; 
    
    /* Dùng 'cover' để ảnh lấp đầy khung, không bị viền trắng */
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat;
    align-content: center;
    position: relative;
    overflow: hidden;
}
/*
.hero-banner.psychology-hero .container {
    display: none;
}
*/
.hero-content-box {
    position: relative;
	text-align: center;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.hero-banner.psychology-hero .banner-breadcrumbs {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    
    background: rgba(11, 20, 36, 0.75); 
    color: #ffffff;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.hero-banner.psychology-hero .banner-breadcrumbs a {
    color: #C5A059; /* Màu vàng kim chuẩn */
    text-decoration: none;
    transition: color 0.2s;
}
.hero-banner.psychology-hero .banner-breadcrumbs a:hover {
    color: #ffffff;
}
.hero-banner.psychology-hero .banner-breadcrumbs .sep {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.4);
}
.hero-banner.psychology-hero .banner-breadcrumbs .current {
    color: #ffffff;
}

/* Khối giới thiệu bác sỹ */
.doctor-img-wrapper {
    position: relative;
    border: 1px solid rgba(156, 39, 35, 0.1);
    padding: 10px;
    background: #fff;
}
.doctor-img-wrapper img {
    width: 100%;
    height: auto;
}
.img-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(156, 39, 35, 0.95);
    color: #fff;
    padding: 6px 15px;
    font-size: 13px;
    font-weight: 500;
}
.title-decor {
    font-size: 12px;
    color: var(--color-gold, #C5A059);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.psy-heading {
    font-size: 32px;
    color: #9C2723; /* Đỏ BRG */
    margin-bottom: 20px;
    font-weight: 600;
}
.psy-desc {
    color: #555;
    margin-bottom: 15px;
    font-weight: 300;
    text-align: justify;
}
.mục-tiêu-box {
    background: #FDFBFA;
    border-left: 3px solid var(--color-gold, #C5A059);
    padding: 15px 20px;
    margin-top: 20px;
}
.mục-tiêu-box h4 { color: #9C2723; margin-bottom: 5px; font-weight: 600;}
.mục-tiêu-box p { font-size: 14px; color:#666; font-weight: 300;}

/* Tiêu đề phần chung */
.psy-section-header {
    text-align: center;
    margin-bottom: 45px;
}
.psy-section-title {
    font-size: 26px;
    text-transform: uppercase;
    color: #9C2723;
    letter-spacing: 1px;
}
.title-line {
    width: 60px;
    height: 2px;
    background: var(--color-gold, #C5A059);
    margin: 15px auto 0 auto;
}

/* Card lĩnh vực */
.field-item-card {
    background: #fff;
    padding: 30px 25px;
    border: 1px solid rgba(0,0,0,0.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    position: relative;
}
.card-num {
    font-size: 28px;
    color: rgba(156, 39, 35, 0.15);
    font-weight: 700;
    margin-bottom: 10px;
}
.field-item-card h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}
.field-item-card p {
    font-size: 13.5px;
    color: #666;
    line-height: 1.6;
    font-weight: 300;
}

/* Thư viện ảnh */
.psy-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.gallery-cell {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.gallery-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-cell:hover img {
    transform: scale(1.05);
}

/* Lịch và Bảng */
.schedule-box, .booking-form-box {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.02);
    padding: 35px;
    width: 100%;
}
.box-title {
    font-size: 18px;
    color: #9C2723;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    font-weight: 600;
}
.psy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.psy-table th {
    background: #F8F5F0;
    padding: 12px;
    text-align: left;
    color: #333;
    font-weight: 600;
}
.psy-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-weight: 300;
}
.text-red { color: #9C2723; font-weight: 500; }
.text-gold { color: var(--color-gold, #C5A059); font-weight: 500; }
.text-gray { color: #999; }

/* Form đặt lịch hẹn */
.adbh-form .form-group {
    margin-bottom: 15px;
}
.adbh-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.adbh-form label {
    display: block;
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}
.adbh-form input, .adbh-form select, .adbh-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: inherit;
    color: #333;
}
.adbh-form input:focus, .adbh-form select:focus, .adbh-form textarea:focus {
    border-color: #9C2723;
    outline: none;
}
.btn-submit-booking {
    width: 100%;
    background: #9C2723;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}
.btn-submit-booking:hover { background: #7E1F1A; }

/* Thông báo alert */
.alert {
    padding: 12px 15px;
    font-size: 14px;
    margin-bottom: 15px;
    border-radius: 2px;
}
.alert-success { background: #E6F4EA; color: #137333; border: 1px solid #CEEAD6; }
.alert-danger { background: #FCE8E6; color: #C5221F; border: 1px solid #FAD2CF; }

/* Responsive cơ bản */
@media (max-width: 768px) {
    .psy-grid-two, .psy-grid-four, .psy-gallery-grid { grid-template-columns: 1fr !important; gap: 30px; }
	section.hero-banner.psychology-hero {
        height: 25vh; /* Chiều cao hoàn hảo cho màn hình dọc điện thoại */
        background-position: center center;
    }
    .hero-banner.psychology-hero .banner-breadcrumbs {
        bottom: 10px; /* Đẩy sát lên một chút trên màn hình nhỏ */
        font-size: 11px;
        padding: 5px 14px;
    }
}
/* ==========================================================================
   STYLE TRANG PHỤ TÙNG Ô TÔ (LƯỚI TAXONOMY)
   ========================================================================== */
   
/* Tinh chỉnh lại banner nếu cần cho trang Auto */
section.auto-parts-hero {
    background-position: center center;
    background-size: cover;
    background-color: #ffffff; /* Nền dự phòng */
}

/* Cấu trúc Lưới 3 cột - Khắc phục triệt để lỗi chống chéo phần tử theo chiều dọc */
.auto-parts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* Khoảng cách an toàn giữa các khối */
    align-items: stretch; /* Đảm bảo các hộp trên cùng 1 hàng có chiều cao bằng nhau */
}

/* Đảm bảo class brg-card tái sử dụng hoạt động tốt trong grid */
.auto-parts-grid .brg-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box; /* Cố định kích thước hộp */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auto-parts-grid .brg-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

/* Responsive cho điện thoại và máy tính bảng */
@media (max-width: 992px) {
    .auto-parts-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .auto-parts-grid { 
        grid-template-columns: 1fr; 
    }
}
/* ==========================================================================
   STYLE TRANG DANH MỤC SẢN PHẨM ĐA NGÀNH (ARCHIVE CATEGORY)
   ========================================================================== */
.archive-container {
    max-width: 1200px;
    margin: 140px auto 40px auto;
    padding: 0 20px;
}

/* Thanh điều hướng và Sắp xếp kết quả */
.archive-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E5E5E5;
}

.archive-breadcrumb {
    font-size: 14px;
}

.archive-breadcrumb a {
    color: #888888;
    text-decoration: none;
    text-transform: uppercase;
}

.archive-breadcrumb a:hover {
    color: #9C2723;
}

.archive-breadcrumb .current-category {
    color: #9C2723;
    text-transform: uppercase;
    font-weight: bold;
}

.archive-sorting select {
    padding: 8px 12px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    outline: none;
    font-family: inherit;
    color: var(--color-text-dark);
}

/* Cấu trúc chia cột */
.archive-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Sidebar và Menu bên trái */
.archive-sidebar {
    flex: 0 0 250px;
    width: 250px;
}

.archive-sidebar .sidebar-title {
    background-color: var(--color-navy);
    color: #ffffff;
    margin: 0;
    padding: 15px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.sidebar-category-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #f0f0f0;
    border-top: none;
}

.sidebar-category-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-category-menu li a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #444444;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-category-menu li:hover a,
.sidebar-category-menu li.is-active a {
    color: #9C2723;
    background-color: #f9f9f9;
    border-left-color: #9C2723;
    font-weight: bold;
}

/* Lưới hiển thị sản phẩm chính (Bảo vệ hộp không bị xô lệch chiều dọc) */
.archive-main {
    flex: 1;
}

.archive-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cột đều nhau tăm tắp */
    gap: 20px;
    align-items: stretch;
}

.archive-product-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.product-card-image {
    border: 1px solid #E5E5E5;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.archive-product-card:hover .product-card-image {
    border-color: #9C2723;
}

.product-card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    aspect-ratio: 1/1;
}

/* Khung bọc ảnh thay thế tinh tế */
.no-image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1; /* Ép khung luôn vuông vắn đồng bộ với lưới sản phẩm */
    background: linear-gradient(135deg, #FDFDFD 0%, #F4F6F9 100%); /* Nền chuyển màu xám nhẹ sang trọng */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 1px dashed #E2E8F0; /* Viền đứt nét mảnh tinh tế */
    box-sizing: border-box;
    padding: 20px;
    transition: all 0.3s ease;
}

/* Chữ Logo Adbh chìm tinh tế */
.no-image-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 28px;
    letter-spacing: 1px;
    background: linear-gradient(to right, rgba(209, 52, 56, 0.15) 50%, rgba(10, 102, 194, 0.15) 50%); /* Đỏ và xanh mờ theo thương hiệu */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    text-transform: uppercase;
}

/* Dòng chữ thông báo nhỏ phía dưới */
.no-image-text {
    font-size: 11px;
    color: #A0B2CB; /* Chữ màu ghi xám mỏng nhẹ */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* Hiệu ứng tương tác khi di chuột vào thẻ sản phẩm */
.archive-product-card:hover .no-image-placeholder {
    background: linear-gradient(135deg, #F4F6F9 0%, #EBF0F6 100%);
    border-color: #9C2723; /* Đổi màu viền sang đỏ đô khi hover */
}

.product-card-image > a {
    text-decoration: none;
    border-bottom: none; /* Đề phòng theme dùng border để làm đường gạch chân */
    display: block;      /* Đảm bảo thẻ a bao trọn khối placeholder bên trong */
}

.product-card-image > a:hover,
.product-card-image > a:focus,
.product-card-image > a:visited {
    text-decoration: none;
    border-bottom: none;
}

.product-card-title {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    text-transform: uppercase;
    flex-grow: 1; /* Ép tên sản phẩm tự căn khớp hàng */
}

.product-card-title a {
    text-decoration: none;
    color: #444444;
    font-weight: 500;
    transition: color 0.2s ease;
}

.archive-product-card:hover .product-card-title a {
    color: #9C2723;
}

/* Khối thông báo trống */
.archive-no-posts {
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    border-radius: 4px;
    font-size: 14px;
}

/* Thanh phân trang hình tròn tinh tế giống bản vẽ */
.archive-pagination {
    margin-top: 50px;
    text-align: center;
}

.archive-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 8px;
}

.archive-pagination li a, 
.archive-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid #444444;
    border-radius: 50%;
    text-decoration: none;
    color: #444444;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}

.archive-pagination li span.current {
    background-color: var(--color-navy);
    color: #ffffff;
    border-color: var(--color-navy);
}

.archive-pagination li a:hover {
    background-color: #9C2723;
    color: #ffffff;
    border-color: #9C2723;
}

/* ==========================================================================
   MÀN HÌNH RESPONSIVE CHO ĐIỆN THOẠI & TABLET
   ========================================================================== */
@media (max-width: 992px) {
    .archive-layout {
        flex-direction: column; /* Đẩy Sidebar lên trên hoặc xuống dưới lưới */
        gap: 30px;
    }
    .archive-sidebar {
        flex: 1;
        width: 100%;
    }
    .archive-product-grid {
        grid-template-columns: repeat(3, 1fr); /* Tablet hiển thị lưới 3 cột */
    }
}

@media (max-width: 768px) {
    .archive-product-grid {
        grid-template-columns: repeat(2, 1fr); /* Điện thoại lớn hiển thị 2 cột */
    }
    .archive-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .archive-product-grid {
        grid-template-columns: 1fr; /* Điện thoại nhỏ hiển thị 1 cột đơn */
    }
}
/* ==========================================================================
   STYLE TRANG CHI TIẾT SẢN PHẨM ĐA NGÀNH (SINGLE.PHP)
   ========================================================================== */
.product-meta-specifications p {
    margin: 8px 0;
    font-size: 14px;
    color: #4A5568;
}
.product-meta-specifications p strong {
    color: var(--color-navy);
    display: inline-block;
    width: 130px; /* Căn lề thẳng hàng cho các chữ tiêu đề thông số */
}
.btn-action:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.product-thumbs-slider .swiper-slide-thumb-active {
    opacity: 1 !important;
    border: 2px solid #9C2723;
}

/* Responsive cho Điện thoại & Máy tính bảng */
@media (max-width: 768px) {
    .product-essential-wrapper {
        flex-direction: column; /* Biến 2 cột thành 1 cột dọc trên Mobile */
        gap: 25px !important;
    }
    .product-meta-specifications p strong {
        width: 110px;
    }
    .product-action-buttons {
        flex-direction: column; /* Hai nút bấm xếp chồng lên nhau trên điện thoại */
    }
}