/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/*************** ADD CUSTOM CSS HERE.   ***************/
body {
	font-family: "Inter", sans-serif;
}
b, strong {
	font-weight: 800;
}
.account-item.has-icon a.nav-top-not-logged-in {
	background-color: #155dfc;
    color: #fff !important;
    padding: 3px 20px;
    border-radius: 6px;
    box-shadow: 0px 2px 4px 0px #155dfc;
}
.section > .section-content > .row > .col {
	padding-bottom: 0;
}
p {
	margin-bottom: 10px !important;
}
p:last-child {
	margin-bottom: 0 !important;
}
.button i, button i {
	top: 0;
}
.sub-title {
	border: 1px solid oklch(93.2% 0.032 255.585);
	border-radius: 30px;
	padding: 3px 10px;
    display: inline-flex;
    align-items: center;
}
.sub-title svg {
	width: 14px;
    margin-right: 8px;
}
.icon-box-left h3 {
	margin-bottom: 5px;
}
.ux-menu-link__link {
	font-size: 14px;
	color: #62748e;
}
h2, h3, h4 {
	line-height: inherit !important;
	margin-bottom: 10px !important;
}
.absolute-footer {
	border-top: 1px solid #f9f3f4;
}
.custom-ux-add-to-cart-wrapper .button {
	margin: 0;
}
.custom-ux-add-to-cart-wrapper .button:hover {
	box-shadow: inset 0 0 0 100px rgba(0,0,0,.2) !important;
}
.section-gradient {
    /* Màu nền tổng thể (trắng hoặc xám cực nhạt) */
    background-color: #ffffff; 
    
    /* Kết hợp nhiều gradient tỏa tròn để tạo các vùng sáng blur */
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 40%, #0ea5e9 100%);
    
    /* Tùy chọn thêm để background luôn phủ kín mượt mà */
    background-repeat: no-repeat;
    background-size: cover;
}
.section-gradient:before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    pointer-events: none;
}
.section-gradient:after {
    content: '';
    position: absolute;
    bottom: -140px;
    left: -60px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    pointer-events: none;
}
.text-gradient {
	background: linear-gradient(90deg, #ffde59, #ff9f43);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-gradient-2 {
    background-color: #ffffff;
    background-image: /* Vùng sáng xanh lơ rõ nhất ở góc trên bên trái */ radial-gradient(circle at 15% 10%, rgba(214, 234, 255, 0.7) 0%, transparent 40%), /* Vùng sáng xanh rất nhạt ở góc trên bên phải */ radial-gradient(circle at 85% 15%, rgba(240, 245, 255, 0.5) 0%, transparent 40%), /* Vùng sáng xanh/tím cực nhạt ở giữa phía dưới (tùy chọn để nền sâu hơn) */ radial-gradient(circle at 50% 80%, rgba(235, 240, 255, 0.4) 0%, transparent 50%);
    background-repeat: no-repeat;
    background-size: cover;
}

/* =========================================================
   1. STYLE TRẠNG THÁI CHƯA ĐĂNG NHẬP (FORM LOGIN & REGISTER)
========================================================= */

/* Căn giữa và tạo khung viền cho form đăng nhập Flatsome */
.account-login-container {
    max-width: 900px !important;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f0f4f8;
}

/* Tách biệt 2 cột bằng đường kẻ mờ */
.account-login-inner .col-1 {
    border-right: 1px solid #e2e8f0;
    padding: 40px 50px !important;
}
.account-login-inner .col-2 {
    padding: 40px 50px !important;
    background: #f8fafc; /* Phân biệt nhẹ cột Đăng ký */
}

/* Chỉnh lại tiêu đề Form */
.account-login-inner h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1e325c;
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* Style cho Input box */
.woocommerce-form-login input.input-text,
.woocommerce-form-register input.input-text {
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
}
.woocommerce-form-login input.input-text:focus,
.woocommerce-form-register input.input-text:focus {
    border-color: #1e325c;
    box-shadow: 0 0 0 3px rgba(30, 50, 92, 0.1);
}

/* Nút Đăng nhập / Đăng ký */
.woocommerce-form-login .button,
.woocommerce-form-register .button {
    background-color: #1e325c;
    color: #fff;
    border-radius: 8px;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.2s ease;
}
.woocommerce-form-login .button:hover,
.woocommerce-form-register .button:hover {
    background-color: #e53e3e; /* Đổi sang đỏ khi hover giống nút Mua ngay */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 62, 62, 0.3);
}

/* =========================================================
   2. STYLE TRẠNG THÁI ĐÃ ĐĂNG NHẬP (DASHBOARD WOOCOMMERCE)
========================================================= */

/* Box menu điều hướng bên trái */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid #f1f5f9;
}
.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

/* Link trong Menu */
.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 16px 20px;
    color: #475569;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
}

/* Trạng thái Active hoặc Hover menu */
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
    background: #1e325c;
    color: #fff;
    padding-left: 25px; /* Hiệu ứng đẩy nhẹ text sang phải */
}

/* Vùng hiển thị nội dung bên phải */
.woocommerce-MyAccount-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

/* Style bảng dữ liệu (Đơn hàng, Tải xuống...) */
.woocommerce-MyAccount-content table.shop_table {
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.woocommerce-MyAccount-content table.shop_table th {
    background: #f8fafc;
    color: #1e325c;
    font-weight: 700;
    padding: 15px;
}
.woocommerce-MyAccount-content table.shop_table td {
    padding: 15px;
    border-top: 1px solid #e2e8f0;
}

/* NẾU ANH MUỐN ẨN LUÔN FORM ĐĂNG NHẬP CŨ ĐỂ ÉP DÙNG GOOGLE */
/* Xóa comment 2 dòng dưới nếu muốn áp dụng */
.woocommerce-form.woocommerce-form-login.login, 
.woocommerce-form-login p.form-row,
.woocommerce-form-login .woocommerce-ResetPassword {
    display: none !important;
} 

.box-login {
    max-width: 600px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0px 2px 4px #ddd;
    padding: 30px;
    text-align: center;
    margin: 0 auto;
}
.account-login-inner h3 {
    text-align: center;
}
.nsl-container-buttons {
    margin: auto;
    display: table !important;
}
.page-wrapper.my-account {
    padding: 80px 0;
}
.normal-title {
    display: none;
}


/* Responsive: Ẩn viền chia 2 cột trên điện thoại */
@media screen and (max-width: 849px) {
    .account-login-inner .col-1 {
        border-right: none;
        border-bottom: 1px dashed #cbd5e1;
    }
}



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


}