/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: THPhuoc
Author Url: https://www.facebook.com/tranhuuphuoc.0305/
Template: flatsome
Version: 3.16.2
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/*  */
/* 1. CSS CHUNG CHO KHUNG VIỀN ĐỎ (Giai đoạn 1) */
/* Đảm bảo khung viền đỏ có chiều rộng tối đa hợp lý và căn giữa */
/* Căn giữa và thiết lập mặc định */
.custom-hover-title-3 {
    width: fit-content;
    vertical-align: top;
    margin: 0;
    line-height: 3rem;
    font-weight: 700;
    padding-bottom: 0;
    display: inline-block;
    text-align: center;
}

.section {
    align-items: center;
    display: flex;
    flex-flow: row;
    min-height: auto;
    padding: 30px 0;
    position: relative;
    width: 100%;
    margin-bottom: -20px;
}

.custom-hover-title-2 {
    width: fit-content;
    vertical-align: top;
    margin: 0;
    line-height: 3rem;
    font-weight: 700;
    padding-bottom: 0;
    display: inline-block;
    text-align: center;
}

.custom-hover-title-4 {
    width: fit-content;
    vertical-align: top;
    margin: 0;
    line-height: 3rem;
    font-weight: 700;
    padding-bottom: 0;
    display: inline-block;
    text-align: center;
}

.custom-hover-title {
    width: fit-content;
    vertical-align: top;
    margin: 0;
    line-height: 3rem;
    font-weight: 700;
    padding-bottom: 0;
    display: inline-block;
    text-align: center;
}

/* CHỈ HIỆN MÀU ĐỎ KHI DI CHUỘT VÀO CHỮ */
.custom-hover-title:hover {
    color: #ee0000;
    /* Màu đỏ chuẩn của website Anh */
}

h2:hover {
    color: red;
}

.section4-title1 .section-title:hover {
    color: red;
}

.section5-title1 .section-title-main:hover {
    color: red;
}

.section6-title1 .section-title:hover {
    color: red;
}

/* Section 1 */

.primary,
input[type=submit],
input[type=submit].button {
    background-color: red;
    border-radius: 0;
}

.form-flat input:not([type=submit]),
.form-flat select,
.form-flat textarea {
    background-color: rgba(0, 0, 0, .03);
    border-color: rgba(0, 0, 0, .09);
    border-radius: 0;
    box-shadow: none;
    color: currentColor !important;
}

.section-1 .row-1 {
    border: 1px solid red;
    border-radius: 20px;
    height: 120px !important;
}

.section1-column1 {
    margin-top: 20px;
}

.section1-column2 {
    margin-top: 20px;
}

.section-1__ico1 {
    border-right: 1px solid;
    height: 70px;
}

.section-1__ico2 {
    border-right: 1px solid;
    height: 70px;
}

.section-1__ico3 {
    border-right: 1px solid;
    height: 70px;
}

.section-1__ico4 {
    border-right: 1px solid;
    height: 70px;
}

.section-1__ico5 {
    border-right: 1px solid;
    height: 70px;
}

.section-1__ico6 {
    border-right: 1px solid;
    height: 70px;
}

.section-1__ico7 {
    border-right: 1px solid;
    height: 70px;
}

/* End Section 1 */

/* Custom Footer */
/* Fix lỗi nút đăng ký bị mất chữ và đổi màu đỏ */
#col-999302253 .wpcf7-submit {
    background-color: #ee0000 !important;
    color: #ffffff !important;
    height: 45px !important;
    line-height: 45px !important;
    /* Đẩy chữ hiện lên giữa nút */
    font-weight: bold !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 0 25px !important;
    display: inline-block !important;
}

/* Hiệu ứng khi di chuột */
#col-999302253 .wpcf7-submit:hover {
    background-color: #cc0000 !important;
}

#footer-bottom {
    display: none !important;
}

/* End Custom Footer */

/* Filter */

span.widget-title {
    font-size: 1em;
    font-weight: 600;
    display: none;
}

.widget .is-divider {
    margin-top: .66em;
    display: none;
}

.text-chinh-sach {
    font-size: 16px;
}

.text-thong-tin {
    font-size: 16px;
}

span.amount {
    color: red;
    font-weight: 700;
    white-space: nowrap;
}

.icon-map-pin-fill:before {
    /* content: ""; */
    padding-right: 5px;
}

/* 1. Căn chỉnh tiêu đề Footer có gạch đỏ bên dưới cho đồng bộ */
#row-1193147466 h3 {
    font-size: 16px !important;
    font-weight: bold !important;
    text-transform: uppercase;
    margin-bottom: 20px !important;
    position: relative;
    padding-bottom: 10px;
}

#row-1193147466 h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ee0000;
    /* Màu đỏ chủ đạo của Anh */
}

/* 2. Tối ưu khoảng cách dòng và icon cho Thông tin liên hệ */
#text-736250269 p {
    margin-bottom: 12px !important;
    display: flex;
    align-items: center;
}

#text-736250269 i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* 3. Hiệu ứng Hover cho các đường link Chính sách & Thông tin */
.text-chinh-sach a,
.text-thong-tin a {
    color: #666;
    transition: all 0.3s;
    line-height: 2;
    text-decoration: none;
}

.text-chinh-sach a:hover,
.text-thong-tin a:hover {
    color: #ee0000 !important;
}

/* 4. Tùy chỉnh Form đăng ký nhận tin */
.form-flat input[type="email"] {
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    padding: 10px !important;
}

.form-flat .button {
    background-color: #ee0000 !important;
    border: none !important;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.3s;
}

.form-flat .button:hover {
    background-color: #cf6868 !important;
}

/* 5. Căn chỉnh logo thanh toán và bản quyền */
#image_172931584 {
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 250px;
}

.section-content p:last-child {
    font-size: 13px;
    color: #999;
    margin-top: 15px;
}

/* Rút ngắn tên sản phẩm còn 2 dòng và thêm dấu ... */
.product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Số dòng muốn hiển thị */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.5em;
    /* Đảm bảo các ô có chiều cao tên bằng nhau */
    line-height: 1.25em;
}

.woof_container_inner h4 {
    background-color: #f1f1f1 !important;
    /* Nền xám nhạt */
    padding: 10px 15px !important;
    border-left: 5px solid #ee0000 !important;
    /* Vạch đỏ bên trái */
    font-size: 16px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
}

#absolute-footer {
    display: none !important;
}

.flex-left:hover {
    color: red;
}

.cart-icon:hover strong,
.current-dropdown .cart-icon strong {
    background-color: red;
    color: #fff;
}

.nav-column>li>a,
.nav-dropdown>li>a:hover {
    display: block;
    color: red;
}

/* End Filter */

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

}

