/*
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  ***************/


}

.top-bar {
           
            color: white;
            padding: 10px 20px;
            display: flex;
            align-items: center;
            font-size: 14px;
            font-weight: bold;
        }

        .nav-item {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: white;
            padding: 0 15px;
            border-right: 1px solid rgba(255, 255, 255, 0.3);
            transition: opacity 0.2s;
        }

        .nav-item:last-child {
            border-right: none;
        }

        .nav-item:hover {
            opacity: 0.8;
        }

        .nav-item i {
            margin-right: 8px;
            font-size: 18px;
        }

        /* Tùy chỉnh riêng cho icon "Khuyến mại" nếu bạn có ảnh riêng */
        .promo-icon {
            width: 20px;
            height: 20px;
            margin-right: 8px;
        }

        .logo-text {
            font-size: 18px;
            margin-right: 15px;
        }
.container, .container-width, .full-width .ubermenu-nav, .row {
    max-width: 90% !important;
}


/* search form */
/* Tổng thể khung tìm kiếm */
.search-form {
    max-width: 500px; /* Giới hạn độ rộng */
    margin: 0 auto;
}

/* Tùy chỉnh ô nhập liệu (Input field) */
.header-search-form input[type="search"] {
    border-radius: 30px 0px 0px 30px!important; /* Bo tròn cực mạnh */
    border: 2px solid #ddd !important; /* Viền xám nhạt */
    padding-left: 20px !important;
    height: 40px !important;
    transition: all 0.3s ease;
}

/* Hiệu ứng khi nhấn vào ô tìm kiếm */
.header-search-form input[type="search"]:focus {
    border-color: #006333 !important; /* Đổi màu viền sang xanh khi click */
    box-shadow: 0 0 8px rgba(0, 99, 51, 0.2);
}

/* Tùy chỉnh nút tìm kiếm (Button) */
.header-search-form button[type="submit"] {
    border-radius: 0 30px 30px 0 !important; /* Bo tròn góc phải */
    background-color: #006333 !important; /* Màu nền nút */
    color: #fff !important;
    padding: 0 20px !important;
    right: 0;
    height: 40px !important;
}

/* Thay đổi màu icon tìm kiếm */
.header-search-form .icon-search {
    color: #ffffff !important;
}


.flex-col.hide-for-medium.flex-left.flex-grow {
   position: absolute;
    left: 50%;
    transform: translate(-50%);
    width: 40%;
}
