/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* Ẩn hoàn toàn thanh tiêu đề Tab (bao gồm cả chữ và đường kẻ) */
.product-footer .container .nav-uppercase,
.product-footer .container hr {
    display: none !important;
}

/* Ép nội dung đẩy lên sát phía trên cho đẹp */
.product-footer .tab-panels {
    padding-top: 0 !important;
    margin-top: -10px !important; /* Đẩy nội dung lên cao hơn */
}

/* Đảm bảo nội dung bên trong không bị ẩn */
.product-footer .panel.active, 
.product-footer .tab-panels .panel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.product-footer .woocommerce-tabs {
    border-top: none;
}
/* Chỉnh sửa nhãn New/Sale: Nhỏ hơn và Thấp xuống */
.badge-inner.new-bubble, 
.badge-inner.sale-bubble {
    /*border-radius: 5px !important;
	/* 1. Độ mờ nền: 0.85 có nghĩa là mờ 15% */
    background-color: rgb(251 67 6 / 85%) !important;
	font-weight: 500;
    
    /* 1. Làm nhỏ hơn: Giảm padding và font-size */
    padding: 10px 10px !important;    /* Số 3px là chiều cao, 10px là chiều rộng */
    font-size: 14px !important;      /* Giảm xuống 11px hoặc 12px để nhỏ gọn hơn */
    
    /* 2. Cho thấp xuống: Điều chỉnh vị trí */
    margin-top: 140px !important;     /* Tăng số này nếu muốn nhãn đẩy thấp xuống dưới */
	margin-left: 0px !important; 
    
    /* Giữ nguyên các thông số cũ */
    width: auto !important;
    height: auto !important;
    /*aspect-ratio: auto !important; */
    line-height: 1.2 !important;
    display: inline-block !important;
}
/* Ẩn khu vực bình luận và tiêu đề */
#comments, .comments-area, .comment-respond {
    display: none !important;
}

/* PHẦN BẢNG THÔNG TIN CĂN HỘ */
/* Bảng thông tin căn hộ tối ưu: Font mặc định & Chiều cao dòng thấp */
.bds-premium-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 15px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid #f05a28; /* Màu cam QuyCanDep */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    /* Sử dụng font chữ mặc định của website */
    font-family: inherit; 
}

/* Tiêu đề bảng */
.bds-premium-table thead th {
    background-color: #f05a28 !important;
    color: #ffffff !important;
    padding: 10px 15px; /* Giảm chiều cao dòng tiêu đề */
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
}

/* Các ô nội dung */
.bds-premium-table td {
    padding: 10px 20px !important; /* Chiều cao dòng thấp hơn theo ý Anh */
    border-bottom: 1px dashed #dbdbdb;
    font-size: 16px;
    line-height: 1.8; /* Ép dòng sát nhau hơn */
}

/* Cột tiêu đề bên trái (Nền xám nhẹ) */
.bds-premium-table td.label-cell {
    background-color: #fcfcfc !important;
    
    font-weight: 500;
    width: 40%;
    border-right: 1px dashed #dbdbdb;
}

/* Cột dữ liệu bên phải */
.bds-premium-table td.data-cell {
    background-color: #ffffff;
    /*color: #f05a28; */
    font-weight: 500;
    text-align: left;
}

/* Dòng cuối cùng không có gạch chân */
.bds-premium-table tr:last-child td {
    border-bottom: none;
}

/* Hiệu ứng di chuột tinh tế */
.bds-premium-table tr:hover td {
    background-color: #fffaf8 !important;
}

/* Thêm icon mũi tên vào trước tiêu đề cột 1 */
.bds-premium-table td.label-cell:before {
    content: "\f105"; /* Mã code của icon fa-angle-right */
    font-family: "Font Awesome 5 Free", "FontAwesome"; /* Đảm bảo nhận diện đúng thư viện icon */
    font-weight: 900;
    color: #f05a28;  /*Màu cam thương hiệu */
    margin-right: 8px; /* Khoảng cách giữa icon và chữ */
    font-size: 14px;
}

/* Thêm icon mũi tên vào trước tiêu đề cột 1 */
.bds-premium-table td.data-cell:before {
    content: "\f0a9"; /* Mã code của icon fa-angle-right */
    font-family: "Font Awesome 5 Free", "FontAwesome"; /* Đảm bảo nhận diện đúng thư viện icon */
    font-weight: 900;
    color: #f05a28;  /*Màu cam thương hiệu */
    margin-right: 8px; /* Khoảng cách giữa icon và chữ */
    font-size: 14px;
}




/* MẪU FROM 1 */
/* Container tổng của Form */
.bds-contact-form-container {
    background-color: #ff4f0a !important; 
    padding: 30px !important;
    border-radius: 20px !important; /* Bo tròn form */
    /*border: 1px solid rgba(240, 90, 40, 0.3); */
    max-width: 500px;
    margin: 0 auto; /* Căn giữa form */
}

/* Tiêu đề Form */
.bds-contact-form-container h3 {
    text-align: center !important;
    color: #ffffff !important;
    font-weight: bold !important;
    margin-bottom: 25px !important;
    font-size: 1.5em !important;
}

/* Tùy chỉnh các ô nhập liệu */
.bds-contact-form-container .form-field {
    margin-bottom: 15px !important;
}

.bds-contact-form-container input:not([type="submit"]), 
.bds-contact-form-container textarea {
    width: 100% !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important; /* Bo tròn các ô nhập liệu */
    padding: 12px 15px !important;
    background-color: #fff !important;
}

/* Dòng ghi chú bảo mật */
.form-note {
    font-size: 13px !important;
    font-style: italic !important;
    color: #ffffff !important;
    margin: 10px 0 !important;
}
/* Đổi màu chữ nhãn nội dung sang màu trắng */
.bds-contact-form-container label {
    color: #ffffff !important;
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
	font-size: 16px !important;
}
/* Căn giữa nút bấm auto cho Form */
.bds-contact-form-container .wpcf7-form-control-wrap,
.bds-contact-form-container .wpcf7-submit-container {
    text-align: center !important; /* Căn giữa khung chứa nút */
    display: block !important;
}

.bds-contact-form-container input[type="submit"] {
    background-color: #1e46ff !important;
    color: #fff !important;
    width: auto !important; /* Vừa vặn với chữ */
    display: inline-block !important; /* Quan trọng để căn giữa */
    padding: 12px 35px !important; /* Tạo độ thoáng cho nút */
    margin-top: 10px !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    border: none !important;
    transition: 0.3s;
    cursor: pointer;
}

/* Đảm bảo khung chứa nút căn giữa */
.bds-contact-form-container .wpcf7-submit-container {
    text-align: center !important;
}

.bds-contact-form-container input[type="submit"]:hover {
    background-color: #1e46ff !important;
    box-shadow: 0 4px 10px rgba(240, 90, 40, 0.3);
}





/* MẪU FROM 2 */
/* Container chính với nền màu Nude/Be sang trọng */
.custom-luxury-form {
    background: linear-gradient(180deg, rgba(229, 209, 194, 0.95) 0%, rgba(188, 167, 152, 0.95) 100%) !important;
    padding: 35px 25px !important;
    border-radius: 25px !important; /* Bo tròn mạnh như mẫu Anh thích */
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    text-align: center;
}

/* Tiêu đề YÊU CẦU TƯ VẤN */
.custom-luxury-form h3 {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: bold !important;
    margin-bottom: 25px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Các ô nhập liệu */
.custom-luxury-form .form-item {
    margin-bottom: 15px !important;
}

.custom-luxury-form input:not([type="submit"]) {
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    width: 100% !important;
    font-size: 15px !important;
}

/* NÚT BẤM MÀU CAM ĐỒNG BỘ THƯƠNG HIỆU */
.custom-luxury-form .form-button input[type="submit"] {
    background: linear-gradient(90deg, #f05a28 0%, #d44a1e 100%) !important; /* Màu cam QuyCanDep */
    border: none !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-weight: bold !important;
    width: 100% !important;
    padding: 18px !important;
    cursor: pointer;
    font-size: 18px !important;
    transition: 0.3s ease;
    margin-top: 10px;
}

.custom-luxury-form .form-button input[type="submit"]:hover {
    box-shadow: 0 8px 20px rgba(240, 90, 40, 0.4);
    transform: translateY(-2px);
}

/* Dòng ghi chú cuối form */
.custom-luxury-form .form-footer-text {
    font-size: 13px !important;
    color: #555 !important;
    margin-top: 20px !important;
}



.section-title-normal {
    border-bottom: 1px solid #ececec;
}
