/*
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.   ***************/
.header-nav-main .menu-item a {
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
}

.gap-2 {
    gap: 20px;
}

.logo a {
    text-transform: none;
    font-size: 30px;
    color: var(--terra);
}

.absolute-footer {
    display: none;
}

.menu-footer .ux-menu-link__link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    height: fit-content !important;
    min-height: auto !important;
    padding: 6px 0;
}

.banner p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.menu-footer .ux-menu-link__text {
    line-height: 1;
}

.footer-col h4 {
    color: rgba(255, 255, 255, 0.4);
}

select.f-input {
    padding: 0 .9rem;
}

/* ==================== SUB MENU - Dropdown giống ảnh ==================== */
.sub-menu.nav-dropdown {
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e5e5;
    overflow: hidden;
    padding: 8px 0;
    min-width: 280px;
    position: absolute;
    top: 100%;
    z-index: 999;
}

/* Đường kẻ nâu phía trên (giống ảnh) */
.sub-menu.nav-dropdown:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #c17a3f;
    /* màu nâu cam trong ảnh */
}

/* Style từng item */
.sub-menu .menu-item {
    margin: 0;
}

.sub-menu .menu-item a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sub-menu .menu-item a:hover {
    background: #f8f8f8;
}

/* Style icon (ảnh nhỏ) */
.sub-menu .ux-menu-icon {
    width: 52px !important;
    height: 34px !important;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Text */
.sub-menu .menu-item a {
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

/* Responsive hover */
.sub-menu .menu-item:hover a {
    color: #c17a3f;
}

/* Tổng quan form */
.custom-contact-form {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #555;
    max-width: 600px;
}

/* Label tiêu đề */
.custom-contact-form label {
    display: block;
    font-weight: bold;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Chia cột cho First/Last Name */
.row-flex {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.col-field { flex: 1; }

.full-field {
    margin-bottom: 20px;
}

/* Style cho các ô input, select, textarea */
.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form input[type="tel"],
.custom-contact-form select,
.custom-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background-color: #fafaf8;
    font-size: 15px;
    color: #333;
    transition: border-color 0.3s;
	margin-bottom: 4px;
}

/* Hiệu ứng khi click vào ô */
.custom-contact-form input:focus,
.custom-contact-form select:focus,
.custom-contact-form textarea:focus {
    border-color: #b96a38;
    outline: none;
    background-color: #fff;
}

/* Chiều cao textarea */
.custom-contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Style nút gửi */
.custom-contact-form .submit-field {
    text-align: center;
}

.custom-contact-form input[type="submit"] {
    background-color: #b96a38;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 7px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
    text-transform: uppercase;
    margin-bottom: -30px;
}
.custom-contact-form input[type="submit"]:hover {
    background-color: #a05a2e;
}

/* Tùy chỉnh Select (Dropdown) */
.custom-contact-form select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23666" d="M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
	    padding: 6px 10px;
}

/* Responsive cho mobile */
@media (max-width: 480px) {
    .row-flex {
        flex-direction: column;
        gap: 20px;
    }
}

.c-item svg {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}
.c-item .icon-box-img {
    width: 53px !important;
    height: 50px;
    border-radius: .6rem;
    background: rgba(181, 96, 46, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.c-item {
    margin-bottom: 30px;
}
.c-item p {
    margin-bottom: 9px;
}
@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}