/* --- 1. RESET & NỀN --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}

a {
    text-decoration: none !important;
    color: inherit;
}

body {
    /* Thay 'bg-dark-pattern.jpg' bằng tên file ảnh Quang vừa gửi */
    background-image: url('../images/bg1.png');
    background-repeat: repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: auto;
    background-color: #000;
    /* Màu nền dự phòng */
    color: #fff;
    /* Màu chữ mặc định toàn trang chuyển sang trắng */
}


/* --- 2. HEADER & MENU --- */
/* --- MENU CẤP 2 (DROPDOWN) --- */
.nav-item {
    position: relative;
    /* Gốc tọa độ cho menu con */
}

/* Ẩn menu con mặc định */
.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(20, 15, 10, 0.95);
    /* Màu đen nâu sang trọng */
    border: 1px solid #a0732e;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Hiện menu con khi rê chuột vào Sản phẩm */
.nav-item:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Kiểu chữ menu con */
.dropdown-menu-custom li a {
    display: block;
    padding: 10px 20px;
    color: #f4e1a0;
    /* Màu vàng sáng */
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(160, 115, 46, 0.2);
    transition: 0.3s;
}

/* Hiệu ứng khi rê chuột vào mục con */
.dropdown-menu-custom li a:hover {
    background: #a0732e;
    color: #fff;
    padding-left: 30px;
    /* Hiệu ứng dịch sang phải một chút */
}

/* Xóa viền mục cuối cùng */
.dropdown-menu-custom li:last-child a {
    border-bottom: none;
}

/* Mũi tên nhỏ chỉ xuống cho Sản phẩm */
.dropdown-toggle::after {
    content: "\f107";
    /* Icon mũi tên FontAwesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 8px;
    font-size: 14px;
    color: #fff;
}

/* --- TỐI ƯU HEADER HEADER --- */
.header-main-top {
    border-bottom: 1px solid rgba(244, 225, 160, 0.2);
}

/* Hiệu ứng hào quang cho Logo */
.logo-glow {
    filter: drop-shadow(0 0 15px rgba(244, 225, 160, 0.4));
    transition: 0.5s;
    max-height: 200px;
    object-fit: contain;
}


.header-hotline-btn:hover {
    background: #a0732e;
    color: #fff !important;
}

.icon-pulse {
    background: #a0732e;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #fff;
    animation: pulse-gold 2s infinite;
}

/* Thanh tìm kiếm Glassmorphism */
.search-wrapper {
    position: relative;
    max-width: 300px;
    margin-left: auto;
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(244, 225, 160, 0.3);
    border-radius: 50px;
    padding: 10px 50px 10px 20px;
    color: #fff;
    outline: none;
    transition: 0.3s;
}



.search-btn:hover {
    background: #f4e1a0;
    color: #000;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(160, 115, 46, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(160, 115, 46, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(160, 115, 46, 0);
    }
}

.search-mobile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    /* Màu nền trùng với header */
    z-index: 1001;
    display: none;
    /* Mặc định ẩn */
    align-items: center;
    padding: 0 15px;
}

.search-mobile-overlay.active {
    display: flex;
    /* Hiện khi có class active */
    animation: fadeIn 0.3s ease;
}

.search-container-inner {
    position: relative;
    width: 100%;
}

.search-input-mobile {
    width: 100%;
    background: #fff;
    border: 2px solid #a0732e;
    border-radius: 25px;
    padding: 8px 45px 8px 20px;
    outline: none;
}

.close-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0732e;
    font-size: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-logo:hover .logo-glow {
    filter: drop-shadow(0 0 25px rgba(244, 225, 160, 0.7));
    transform: scale(1.05);
}

/* Nút Hotline chuyên nghiệp */
.header-hotline-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(160, 115, 46, 0.1);
    border: 1px solid #a0732e;
    padding: 8px 20px;
    border-radius: 50px;
    color: #f4e1a0 !important;
    transition: 0.3s;
}

.header-hotline-btn strong {
    animation: flash-hotline 1s infinite;
    /* Chớp nháy mỗi 1 giây */
    display: inline-block;
}

/* Áp dụng cho Hotline trên Mobile */
.header-mobile a.text-gold.fw-bold {
    animation: flash-hotline 1.2s infinite;
    /* Mobile cho nháy chậm hơn một xíu cho đỡ rối mắt */
}

/* Định nghĩa hiệu ứng chớp nháy */
@keyframes flash-hotline {
    0% {
        opacity: 1;
        text-shadow: 0 0 5px rgba(244, 225, 160, 0.5);
    }

    50% {
        opacity: 0.4;
        text-shadow: none;
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 15px rgba(244, 225, 160, 0.8);
    }
}

.icon-pulse {
    background: #a0732e;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #fff;
    animation: pulse-gold 2s infinite;
}

.search-input:focus {
    border-color: #f4e1a0;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(244, 225, 160, 0.2);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 40px;
    background: #a0732e;
    border: none;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
}

.search-btn:hover {
    background: #f4e1a0;
    color: #000;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(160, 115, 46, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(160, 115, 46, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(160, 115, 46, 0);
    }
}

.header .header-bottom {
    min-height: 150px;
}

.hotline-header {
    color: #f4e1a0;
    font-size: 25px;
}

.search-box .form-control {
    border-radius: 20px;
    background-color: #f8e474;
    padding-right: 45px;
}

.btn-search {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
}

.menu {
    background: url('../images/background-nav.png') no-repeat center / 100% 100%;
}

.flex-menu h2 {
    padding: 10px;
    font-size: 20px;
    color: #fff;
    font-weight: bolder;
    text-transform: uppercase;
    margin: 0;
}

/* --- 3. BANNER --- */
#wp-banner-carousel {
    position: relative;
    padding-bottom: 5px;
    /* Tạo khoảng trống cho viền */
}

#wp-banner-carousel .carousel-item {
    height: 800px;
    position: relative;
    background: #000;
}

#wp-banner-carousel img {
    height: 100%;
    object-fit: cover;
}

#wp-banner-carousel::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    /* Chiều cao viền */
    background: linear-gradient(to right, #a0732e, #f4e1a0, #a0732e);
    /* Viền chuyển màu vàng đồng sang vàng sáng */
    z-index: 10;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-title {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 4px 6px #000;
}

.btn-gold {
    background: linear-gradient(135deg, #d4af37, #f5e086);
    color: #333;
    font-weight: bold;
    border: none;
    padding: 10px 30px;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 15;
    /* Đảm bảo nằm trên lớp overlay */
    width: 5%;
    /* Thu hẹp vùng click để không đè lên nút "Xem chi tiết" */
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(160, 115, 46, 0.5);
    /* Nền vàng đồng mờ */
    border: 1px solid #f4e1a0;
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    background-size: 50%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* --- 4. LUXURY TITLES --- */
.luxury-title-block {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    background: url('../images/bgtieude2.png') no-repeat center / contain;
}

.luxury-title-text {
    font-family: 'mtd-mitr', sans-serif;
    color: #a0732e;
    font-size: 30px;
    letter-spacing: 3px;
    /* Giãn chữ ra một chút nhìn sẽ rất sang */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8), 0 0 5px rgba(244, 225, 160, 0.3);
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 40px;
    margin: 0;
}

.luxury-title-small {
    color: #f4e1a0;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 1px 1px 2px #000;
}

.title-line {
    height: 2px;
    background: linear-gradient(to right, #f4e1a0, transparent);
}

/* --- 5. PRODUCTS --- */
.product-card {
    border: 2px solid #d4af37 !important;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    position: relative;
    transition: 0.3s;
}

.card-title {
    color: black;
    font-weight: bold;
}

.card-title:hover {
    color: red;
    transition: 0.5s all;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4) !important;
}

.img-container {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-container img {
    max-width: 95%;
    transition: 0.5s;
}

.product-card:hover img {
    transform: scale(1.1);
}

.corner {
    position: absolute;
    width: 45px;
    height: 45px;
    /* Dùng !important để đảm bảo không bị class khác ghi đè mất ảnh */
    background: url("../images/a1.png") no-repeat center / contain !important;
    z-index: 10;
    pointer-events: none;
}

.product-card .top-left {
    top: -2px;
    left: -5px;
}

.product-card .top-right {
    top: -5px;
    right: -2px;
    transform: rotate(90deg);
}

.product-card .bottom-left {
    bottom: -5px;
    left: -2px;
    transform: rotate(-90deg);
}

.product-card .bottom-right {
    bottom: -1px;
    right: -5px;
    transform: rotate(180deg);
}

.project-img-wrapper .corner {
    width: 40px;
    /* Nhỏ hơn một chút cho tinh tế */
    height: 40px;
}

.project-img-wrapper .top-left {
    top: -1px;
    left: -2px;
}

.project-img-wrapper .top-right {
    top: -3px;
    right: -1px;
    transform: rotate(90deg);
}

.project-img-wrapper .bottom-left {
    bottom: -3px;
    left: -1px;
    transform: rotate(-90deg);
}

.project-img-wrapper .bottom-right {
    bottom: -1px;
    right: -3px;
    transform: rotate(180deg);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid #d4af37;
    /* Viền vàng cho tông xuyệt tông */
    width: 45px;
    height: 45px;
    border-radius: 50%;
    z-index: 100;
    /* Mặc định ẩn */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0732e;
    cursor: pointer;
}

.slider-btn:hover {
    background: #d4af37;
    color: #fff;
}

.product-slider-wrapper:hover .slider-btn {
    opacity: 1;
}

.product-slider-wrapper {
    padding: 0 50px;
    /* Tạo khoảng trống 2 bên cho nút */
    position: relative;
}

.prev-btn {
    left: 0px;
}

.next-btn {
    right: 0px;
}

#product-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    transition: transform 0.5s ease-in-out;
}

.product-slider-inner {
    overflow: hidden !important;
    width: 100%;
    display: block;
}

.custom-product-col {
    /* Ép độ rộng chuẩn 25% (cho 4 sản phẩm) và không cho co giãn */
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
    padding: 0 10px;
    /* Khoảng cách giữa các card */
    box-sizing: border-box;
}

/* --- 6. TESTIMONIAL (ẢNH TRÊN) --- */
.custom-indicators-top {
    position: relative !important;
    bottom: 0 !important;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px !important;
}

.custom-indicators-top button {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(244, 225, 160, 0.2) !important;
    padding: 0 !important;
    text-indent: 0 !important;
    opacity: 0.4;
    transition: 0.4s;
    overflow: hidden;
    filter: grayscale(100%);
    /* Cho hơi xám để nổi bật người ở giữa */
}

.custom-indicators-top button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-indicators-top button.active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.3);
    border: 3px solid #f4e1a0 !important;
    /* Thêm vầng sáng nhẹ quanh ảnh cho sang */
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.customer-text {
    color: #ffffff !important;
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 750px;
    margin: 20px auto !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Đổ bóng để chữ dễ đọc trên hoa văn */
}

.customer-name {
    color: #f4e1a0 !important;
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin-bottom: 5px !important;
}

/* Địa chỉ khách hàng */
.customer-location {
    color: #d1d1d1 !important;
    font-size: 0.9rem;
    opacity: 0.8;
}

.custom-nav-btn {
    width: 50px;
    height: 50px;
    top: 60% !important;
    border-radius: 50%;
}

.custom-nav-btn:hover {
    background: #f4e1a0 !important;
}


.custom-nav-btn i {
    color: #f4e1a0;
    /* Màu mũi tên vàng sáng */
    font-size: 22px;
}

.custom-nav-btn:hover i {
    color: #000000;
}

.quote-icon i {
    font-size: 35px;
    color: #f4e1a0;
    opacity: 0.8;
}

/* --- 7. COMMITMENT (CAM KẾT) --- */
.commitment-box {
    background: linear-gradient(145deg, rgba(40, 30, 15, 0.9), rgba(20, 15, 10, 0.9));
    border: 1px solid #a0732e;
    border-radius: 20px;
    position: relative;
    padding: 35px 25px !important;
}

.commitment-box::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(160, 115, 46, 0.2);
    border-radius: 15px;
    pointer-events: none;
}

.commitment-header {
    color: #f4e1a0 !important;
    font-family: 'mtd-mitr', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.icon-circle {
    display: flex;
    justify-content: center;
    /* Căn giữa theo chiều ngang */
    align-items: center;
    /* Căn giữa theo chiều dọc */
    background: linear-gradient(135deg, #a0732e, #614a1a) !important;
    border: 1px solid #f4e1a0;
    box-shadow: 0 0 10px rgba(160, 115, 46, 0.4);
    width: 40px !important;
    height: 40px !important;
}

.icon-circle i {
    color: #fff;
    font-size: 25px;
}

.commitment-list h5 {
    color: #f4e1a0 !important;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.commitment-list p {
    color: #bbb !important;
    /* Màu xám để không át tên cam kết */
    font-size: 0.85rem;
}

.news-card {
    background: rgba(20, 15, 10, 0.7);
    /* Nền nâu đen trong suốt */
    border: 1px solid rgba(160, 115, 46, 0.4);
    /* Viền vàng đồng mờ */
    border-radius: 12px;
    overflow: hidden;
    transition: 0.4s ease;
}

.news-card.big-card:hover {
    border-color: #f4e1a0;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.news-title-big {
    color: #f4e1a0 !important;
    /* Màu vàng sáng để dễ đọc trên nền tối */
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
}

.news-card.small-card {
    height: 120px !important;
    margin-bottom: 12px !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(160, 115, 46, 0.15);
    border-radius: 8px;
    padding: 10px !important;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: 0.3s ease;
}

/* Hiệu ứng HOVER cho card nhỏ */
.news-card.small-card:hover {
    background: rgba(160, 115, 46, 0.1);
    transform: translateX(5px);
    border-color: #f4e1a0;
}

.news-title-sm {
    font-size: 0.95rem !important;
    /* Chữ nhỏ lại để vừa 4 hàng */
    margin-bottom: 5px;
    font-weight: bold;
    line-height: 1.3;
}

.news-title-sm a {
    color: #f4e1a0 !important;
    /* Luôn để màu vàng sáng cho dễ đọc */
    transition: 0.3s;
}

.news-title-sm a:hover {
    color: #f4e1a0 !important;
}

/* Đoạn MÔ TẢ tin nhỏ bạn muốn thêm */
.news-desc-sm {
    color: #aaa !important;
    font-size: 0.75rem !important;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Chỉ hiện 1 dòng duy nhất */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-img-thumb {
    width: 150px;
    /* Thu nhỏ ảnh lại một chút */
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(244, 225, 160, 0.2);
    flex-shrink: 0;
    /* Không cho ảnh bị bóp méo */
}

.news-card.big-card .news-img img {
    height: 420px;
    /* Chỉnh độ cao ảnh lớn cho cân đối với 4 bài nhỏ bên cạnh */
    object-fit: cover;
}

/* Khung chứa cố định chiều cao */
.ticker-container {
    height: 516px;
    /* Chiều cao này phải bằng với bài lớn bên trái */
    overflow: hidden;
    /* Ẩn các bài từ thứ 5 đổ đi */
    position: relative;
    border-radius: 8px;
}

#news-ticker {
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- FOOTER MAIN --- */
.footer-section {
    background: radial-gradient(circle, rgba(97, 74, 26, 0.8) 0%, rgba(26, 22, 16, 1) 100%),
        url('./asset/images/bg1.png') !important;
    background-repeat: repeat;
    /* Sử dụng lại hoa văn nền tối */
    color: #ccc;
    position: relative;
    background-attachment: fixed;
}

.footer-top-border {
    height: 25px;
    background: url('../images/f2.png') repeat-x center;
    background-size: contain;
    width: 100%;
    position: absolute;
    top: -20px;
    z-index: 2;
}

.footer-title {
    color: #f4e1a0;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 25px;
    position: relative;
}

.brand-name {
    color: #f4e1a0;
    font-weight: bold;
    font-size: 1rem;
}

.footer-info p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.text-gold {
    color: #f4e1a0 !important;
}

.map-link {
    color: #f4e1a0;
    font-weight: bold;
    font-style: italic;
    text-decoration: underline !important;
}

/* --- CHÍNH SÁCH --- */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #f4e1a0;
    padding-left: 5px;
}

.subscribe-box .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #614a1a;
    color: #fff;
    font-size: 0.85rem;
}

.btn-gold-sm {
    background: #614a1a;
    color: #f4e1a0;
    border: 1px solid #a0732e;
    font-weight: bold;
    padding: 5px;
}

/* --- FOOTER BOTTOM --- */
.footer-bottom {
    background: #110e0a;
    border-top: 1px solid rgba(244, 225, 160, 0.2);
    color: #888;
}

/* --- STICKY SOCIAL BUTTONS --- */
.sticky-social {
    position: fixed;
    right: 20px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.zalo-btn {
    background: transparent;
}

.phone-btn {
    background: #0084ff;
    border: 2px solid #fff;
}

.mess-btn {
    background: #00c6ff;
    border: 2px solid #fff;
}

.social-btn:hover {
    transform: scale(1.1);
}

/* Khung chứa card công trình */
.project-card {
    position: relative;
    padding: 12px;
    /* Tạo khoảng trống cho hoa văn góc */
    margin-bottom: 30px;
    transition: 0.4s;
    text-align: center;
}

/* Khung viền vàng cho ảnh */
.project-img-wrapper {
    border: 2px solid #a0732e !important;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    border-radius: 4px;
    position: relative;
    z-index: 1;
}

.project-card.vertical .project-img-wrapper {
    height: 480px;
}

.project-card.horizontal .project-img-wrapper {
    height: 300px;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

/* Hiệu ứng khung ảnh */
.project-img {
    width: 100%;
    border: 2px solid #a0732e;
    /* Viền vàng đồng */
    overflow: hidden;
    background: #000;
}

/* Ảnh dọc hoặc ảnh ngang đều cân đối */
.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    display: block;
}

/* Khống chế chiều cao ảnh để giống mẫu (Ảnh 1 thường là ảnh dọc, 2-3 là ngang) */
.project-img {
    /* Thêm 2 dòng này */
    border: 2px solid #a0732e !important;
    /* Màu vàng đồng đậm */
    border-radius: 8px;
    /* Bo góc nhẹ cho mềm mại */

    /* Các thuộc tính cũ của bạn */
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    /* Để nằm dưới hoa văn góc */
}

.project-img.horizontal {
    height: 280px;
    /* Chiều cao cho ảnh ngang bên phải */

}

/* Tên công trình */
.project-info {
    margin-top: 15px;
    min-height: 45px;
}

/* Text mô tả dưới ảnh */
.project-info p {
    color: #f4e1a0 !important;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.4;
    margin: 0;
}

/* Hiệu ứng tỏa sáng khi Hover */
.project-card:hover .project-img-wrapper {
    box-shadow: 0 0 25px rgba(244, 225, 160, 0.4);
    border-color: #f4e1a0 !important;
}

.project-card:hover img {
    transform: scale(1.08);
}


/* --- BANNER NGANG DẠNG ẢNH --- */
.horizontal-banner-img-section {
    width: 100%;
    overflow: hidden;
    /* Ẩn phần thừa nếu ảnh quá rộng */
    position: relative;
    border-top: 2px solid #a0732e;
    /* Thêm đường viền vàng mờ cho sang */
    border-bottom: 2px solid #a0732e;
}

.banner-ngang-link {
    cursor: pointer;
    transition: 0.3s;
}

.banner-ngang-img {
    width: 100%;
    height: auto !important;
    /* Khống chế chiều cao cố định cho Desktop */
    object-fit: contain;
    /* Đảm bảo ảnh không bị bóp méo khi co giãn màn hình */
    object-position: center;
    /* Luôn giữ tâm ảnh ở giữa */
    display: block;
}

/* Hiệu ứng khi hover vào (Ví dụ: hơi sáng lên xíu) */
.banner-ngang-link:hover .banner-ngang-img {
    filter: brightness(1.1);
}

/* Slider cho công trình thực tế */
.project-slider-wrapper {
    padding: 0 50px;
    position: relative;
}

.project-slider-inner {
    overflow: hidden;
    width: 100%;
}

.project-slider-container {
    padding: 0 45px;
    /* Tạo chỗ trống cho nút Next/Prev */
}

#project-real-track {
    display: flex !important;
    align-items: center;
    /* Giúp ảnh ngang và dọc cân bằng tâm */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-slide-item {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    width: 33.333333% !important;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Ép mỗi cột chiếm đúng 1/3 chiều rộng (hiện 3 cái) */
.custom-project-col {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    width: 33.333333% !important;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Tọa độ nút bấm riêng cho phần công trình */
.proj-btn-prev {
    left: 0;
}

.proj-btn-next {
    right: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    /* Giữ style cũ của Quang: tròn, viền vàng */
}

/* Responsive: Trên điện thoại chỉ hiện 1 cái */
@media (max-width: 768px) {
    .custom-project-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}



/* --- TRANG GIỚI THIỆU --- */
.about-page {
    min-height: 80vh;
}

.about-content-box {
    background: rgba(20, 15, 10, 0.85);
    /* Nền tối mờ để thấy hoa văn body */
    border: 1px solid #a0732e;
    border-radius: 15px;
    color: #eee;
}

.about-title-large {
    color: #f4e1a0;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-slogan {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 600;
}

.title-divider {
    width: 200px;
    height: 3px;
    background: linear-gradient(to right, transparent, #f4e1a0, transparent);
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
}

/* Dấu chấm đầu dòng bằng hoa văn vàng nhỏ */
.about-list li::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: #f4e1a0;
    font-size: 14px;
}

.breadcrumb-item a {
    color: #ccc;
}

.breadcrumb-item.active {
    color: #f4e1a0 !important;
}

/* Ép chiều cao cố định cho khung chứa ảnh */
.about-img-frame {
    height: 365px;
    /* Bạn có thể tăng giảm con số này cho phù hợp */
    overflow: hidden;
    border: 2px solid #a0732e;
    padding: 5px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cấu hình ảnh bên trong */
.about-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Quan trọng nhất: giúp ảnh lấp đầy khung mà không bị méo */
    object-position: center;
    /* Giữ tâm ảnh ở giữa khung */
    transition: 0.5s ease;
}

/* Hiệu ứng khi rê chuột vào cho chuyên nghiệp */
.about-img-frame:hover img {
    transform: scale(1.1);
}

/* Tôn màu vàng gold cho các chữ nhấn mạnh */
.text-gold {
    color: #f4e1a0 !important;
}



/* --- TRANG DANH MỤC SẢN PHẨM --- */
.product-category-page {
    background-color: transparent;
    /* Hiện nền hoa văn body */
}

/* Sidebar tinh tế */
.category-sidebar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.sidebar-title {
    color: #f4e1a0;
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 2px solid #a0732e;
    padding-bottom: 10px;
}

.category-list li a {
    color: #ccc;
    padding: 12px 0;
    display: block;
    transition: 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-list li a:hover,
.category-list li a.active {
    color: #f4e1a0;
    padding-left: 10px;
    background: rgba(160, 115, 46, 0.1);
}

/* Tiêu đề trang */
.luxury-category-title {
    color: #f4e1a0;
    font-family: 'mtd-mitr', sans-serif;
    font-size: 1.5rem;
}

/* Cố định ảnh trong danh mục để không bị lệch hàng */
.product-category-page .img-container {
    height: 180px;
    /* Độ cao cố định cho grid 4 cột */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-name-grid {
    font-size: 0.9rem;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Hiện tối đa 2 dòng tên */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* PHÂN TRANG (PAGINATION) GOLD STYLE */
.custom-pagination .page-link {
    background: transparent;
    border: 1px solid #a0732e;
    color: #f4e1a0;
    margin: 0 5px;
    border-radius: 4px !important;
}

.custom-pagination .page-item.active .page-link {
    background: #a0732e;
    color: #fff;
    border-color: #f4e1a0;
}

.custom-pagination .page-link:hover {
    background: rgba(160, 115, 46, 0.3);
    color: #fff;
}

/* Responsive cho Mobile */
@media (max-width: 767px) {
    .product-category-page .img-container {
        height: 150px;
    }
}

/* --- 8. RESPONSIVE --- */
@media (max-width: 768px) {
    #wp-banner-carousel .carousel-item {
        height: 350px;
    }

    .custom-indicators-top button {
        width: 70px !important;
        height: 70px !important;
    }

    .banner-ngang-img {
        height: 180px;
        /* Thu nhỏ chiều cao trên điện thoại cho dễ nhìn */
        object-fit: cover;
    }

    .horizontal-banner-img-section {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .product-slider-wrapper {
        padding: 0 15px !important;
    }

    .custom-product-col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        padding: 0 5px !important;
        /* Giảm padding để card to hơn */
    }

    /* 2. Khôi phục nút Next/Prev trên Mobile */
    .product-slider-wrapper .slider-btn {
        display: flex !important;
        /* Hiện nút */
        width: 30px !important;
        /* Thu nhỏ nút lại cho đỡ chiếm diện tích */
        height: 30px !important;
        background: rgba(255, 255, 255, 0.8) !important;
        border: 1px solid #d4af37 !important;
        z-index: 999 !important;
        /* Đảm bảo luôn nằm trên cùng */
    }

    /* Đưa nút ra sát mép để không đè vào nội dung sản phẩm */
    .prev-btn {
        left: -10px !important;
    }

    .next-btn {
        right: -10px !important;
    }

    .project-slide-item {
        flex: 0 0 80% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 5px !important;
    }

    .project-card.vertical .project-img-wrapper {
        height: 229px !important;
        /* Ảnh dọc để cao hẳn lên */
    }

    .project-card.horizontal .project-img-wrapper {
        height: 154px !important;
        /* Ảnh ngang để thấp xuống */
    }

    #btn-prev-real,
    #btn-next-real {
        display: flex !important;
        /* Hiện nút */
        width: 32px !important;
        height: 32px !important;
        z-index: 999 !important;
        top: 40% !important;
        /* Chỉnh độ cao nút cho khớp với khung ảnh */
        background: rgba(255, 255, 255, 0.9) !important;
        border: 1px solid #a0732e !important;
    }

    /* Đẩy nút ra sát mép màn hình */
    .proj-btn-prev {
        left: -5px !important;
    }

    .proj-btn-next {
        right: -5px !important;
    }

    /* Thu nhỏ hoa văn góc cho đỡ chiếm chỗ */
    .project-img-wrapper .corner {
        width: 25px !important;
        height: 25px !important;
    }

    /* 3. Xử lý ảnh bên trong để không bị bóp méo */
    .project-img-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        /* Cắt ảnh để lấp đầy khung ngang */
        object-position: center !important;
    }

    /* Chỉnh lại ảnh sản phẩm cho to */
    .product-card .img-container {
        height: auto !important;
        aspect-ratio: 1/1;
    }

    /* Ẩn bớt 2 nút mũi tên Next/Prev trên Mobile vì người dùng sẽ vuốt tay */
    /* Hoặc cho nó nhỏ lại và đưa ra sát mép */
    .slider-btn {
        display: none !important;
    }

    .product-card {
        padding: 8px !important;
    }

    .product-name {
        font-size: 0.85rem !important;
        /* Thu nhỏ chữ để không bị tràn dòng */
        min-height: 40px;
    }

    .corner {
        width: 30px !important;
        /* Thu nhỏ hoa văn góc cho đỡ bí */
        height: 30px !important;
    }

    .luxury-title-text {
        font-size: 20px;
        /* Thu nhỏ tiêu đề cho vừa màn hình nhỏ */
        padding: 0 15px;
    }
}

/* Responsive cho mobile */
@media (max-width: 991px) {
    .header-mobile {
        display: block !important;
    }

    .logo-mobile-top {
        padding-top: 25px !important;
        /* Tăng khoảng cách trên */
        padding-bottom: 20px !important;
        /* Tăng khoảng cách dưới */
    }

    /* Tăng kích thước thực của ảnh logo */
    .logo-mobile-top img {
        max-height: 140px !important;
        /* Tăng từ 90px lên 140px */
        width: auto;
        /* Thêm hiệu ứng hào quang cho logo nổi bật trên nền đen */
        filter: drop-shadow(0 0 10px rgba(244, 225, 160, 0.3));
        transition: 0.3s;
    }

    .banner-ngang-img {
        max-height: 250px;
        /* Khống chế chiều cao trên PC để không bị quá to */
        object-fit: cover;
        /* Giúp ảnh lấp đầy khung mà vẫn mảnh */
    }

    .project-img.horizontal {
        margin-top: 0;
        height: 300px;
    }

    .project-img {
        height: 350px;
    }

    .bg-black-luxury {
        background-color: rgba(0, 0, 0, 0.6) !important;
        /* Thêm hiệu ứng mờ kính (Blur) cho sang trọng */
        backdrop-filter: blur(10px);
    }

    .border-gold-y {
        border-top: 2px solid #a0732e;
        border-bottom: 2px solid #a0732e;
    }

    .text-gold {
        font-weight: bold;
        text-shadow: 1px 1px 2px #000;
        /* Thêm bóng cho chữ dễ đọc trên nền trong suốt */
        color: #f4e1a0 !important;
    }

    /* Banner Mobile - Thu nhỏ chiều cao để giống app mobile */
    #wp-banner-carousel .carousel-item {
        height: 300px !important;
        /* Chiều cao theo mẫu ảnh bạn gửi */
    }

    .banner-title {
        font-size: 1.8rem !important;
        text-align: center;
    }

    .banner-desc {
        font-size: 1rem !important;
        display: block !important;
    }

    /* 1. Định vị và tạo hình cho nút chung */
    .custom-banner-nav {
        width: 40px !important;
        /* Thu nhỏ kích thước cho vừa mobile */
        height: 40px !important;
        background-color: rgba(0, 0, 0, 0.5) !important;
        /* Nền đen trong suốt */
        border: 1px solid #a0732e !important;
        /* Viền màu vàng đồng đậm */
        border-radius: 50% !important;
        /* Bo tròn hoàn toàn */
        top: 50% !important;
        transform: translateY(-50%) !important;
        opacity: 0.8 !important;
        /* Hơi mờ khi bình thường */
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 2. Định kiểu cho icon FontAwesome bên trong */
    .custom-banner-nav i {
        color: #f4e1a0 !important;
        /* Màu mũi tên vàng gold sáng */
        font-size: 18px !important;
        /* Kích thước icon vừa phải */
        transition: 0.3s;
    }

    /* 3. Hiệu ứng khi ấn vào (Hover/Active) */
    .custom-banner-nav:hover,
    .custom-banner-nav:active {
        opacity: 1 !important;
        background-color: rgba(160, 115, 46, 0.8) !important;
        /* Nền chuyển sang vàng đồng */
        box-shadow: 0 0 10px rgba(244, 225, 160, 0.5);
        /* Tỏa sáng nhẹ */
    }

    .custom-banner-nav:hover i {
        color: #fff !important;
        /* Icon chuyển sang màu trắng */
    }

    /* 4. Đẩy nút ra sát mép màn hình một chút cho đẹp */
    .carousel-control-prev {
        left: 10px !important;
    }

    .carousel-control-next {
        right: 10px !important;
    }
}