/* ==========================================================================
   BỔ SUNG TOÀN DIỆN: HỆ THỐNG HIỆU ỨNG DẬP NỔI KHỐI LỎNG & PHÁT SÁNG 3D
   (Đã tối ưu hóa tương thích 100% với cấu trúc tệp Awesome Theme của bạn)
   ========================================================================== */

/* ---------------- 1. KHU VỰC HEADER MAIN, Ô TÌM KIẾM & GIỎ HÀNG ---------------- */
/* Làm nền xám nhạt đồng bộ cho toàn bộ header theo ảnh thực tế */
.header-main {
  background-color: #eaeaea !important;
  padding: 25px 0 !important;
}

/* Ô TÌM KIẾM: Tạo viền đúc khuôn nổi khối nhẹ nhàng trên nền xám */
.custom-search-emboss {
  background: #eaeaea !important;
  border-radius: 6px !important;
  padding: 2px !important;
  box-shadow: 
    -3px -3px 7px #ffffff,
     3px  3px 7px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
}
/* Trạng thái LÕM XUỐNG: Khi click chuột viết chữ, ô tìm kiếm chìm hẳn xuống lòng nền */
.custom-search-emboss:focus-within {
  box-shadow: 
    inset -3px -3px 6px #ffffff,
    inset  3px  3px 6px rgba(0, 0, 0, 0.15) !important;
}
/* Nút kính lúp đen */
.header_search .input-group-btn {
  background: #000000 !important;
  border-radius: 4px !important;
}

/* KHỐI GIỎ HÀNG: Dập nổi hình viên thuốc thủy tinh lỏng cao cấp */
.custom-cart-emboss {
  background: #eaeaea !important;
  border-radius: 6px !important;
  padding: 8px 18px !important;
  display: inline-block !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 
    -4px -4px 8px #ffffff,
     4px  4px 8px rgba(0, 0, 0, 0.08) !important;
}
/* Hover chuột vào Giỏ hàng: Nút phồng nhô cao rực sáng rõ */
.custom-cart-emboss:hover {
  transform: translateY(-2px) !important;
  box-shadow: 
    -5px -5px 12px #ffffff,
     5px  5px 12px rgba(0, 0, 0, 0.12) !important;
}
/* Nhấn chuột giữ Giỏ Hàng: Ép lõm sập chìm sâu xuống nền xám */
.custom-cart-emboss:active {
  transform: translateY(0) !important;
  box-shadow: 
    inset -3px -3px 6px #ffffff,
    inset  3px  3px 6px rgba(0, 0, 0, 0.18) !important;
}


/* ---------------- 2. THANH NAVBAR NGANG MÀU VÀNG CHÍNH ---------------- */
/* Làm sạch và phẳng nền vàng gốc của bạn để chuẩn bị đổ bóng nổi */
.custom-navbar-yellow {
  background: #fbc02d !important;
  border: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

/* NÚT DANH MỤC SẢN PHẨM (GÓC TRÁI THANH VÀNG) */
.custom-category-btn-emboss {
  background: transparent !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
}
/* Hover nút danh mục: Tạo vệt kính lỏng dập lõm chìm vào thanh vàng */
.custom-category-btn-emboss:hover {
  color: #000000 !important;
  box-shadow: 
    inset -4px -4px 8px rgba(255, 255, 255, 0.5),
    inset  4px  4px 8px rgba(186, 135, 0, 0.6) !important;
}

/* CÁC NÚT PHÍM MENU CHỮ BÊN PHẢI (TRANG CHỦ, SẢN PHẨM...) */
.custom-nav-menu-glass {
  display: flex !important;
  align-items: center !important;
  height: 50px !important;
}
.custom-nav-menu-glass .nav-item {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  margin-right: 4px !important;
}
.custom-nav-menu-glass .nav-item .nav-link {
  color: #333333 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 0 22px !important;
  height: 76% !important; /* Chừa mép trên dưới để lộ khối nổi */
  border-radius: 6px !important;
  border: 1px solid transparent !important;
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* --- HIỆU ỨNG RÊ CHUỘT VÀ GIỮ NỔI CỐ ĐỊNH CHO TRANG CHỦ --- */
/* Hệ thống tự động quét class '.active' gốc từ Liquid của bạn để nút TRANG CHỦ luôn luôn ở trạng thái nổi rực sáng kính mờ */
.custom-nav-menu-glass .nav-item .nav-link:hover,
.custom-nav-menu-glass .nav-item:hover > .nav-link,
.custom-nav-menu-glass .nav-item.active > .nav-link {
  color: #000000 !important; /* Chữ đen đậm nét rõ ràng */
  background-color: rgba(255, 255, 255, 0.85) !important; /* Trắng gương kính lỏng sáng bừng phản quang */
  
  /* Tạo bóng đổ nhô khối phồng phím bấm cơ lên khỏi thanh vàng */
  box-shadow: 
    -4px -4px 10px rgba(255, 255, 255, 0.9),  /* Bóng sáng rực góc trên-trái */
     4px  4px 10px rgba(186, 135, 0, 0.75),   /* Bóng tối cam vàng đậm góc dưới-phải */
     0 4px 6px rgba(0, 0, 0, 0.05) !important;
     
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-2px) scale(1.02) !important; /* Nhấc phím nhô lên 2px */
}

/* --- HIỆU ỨNG NHẤN CHUỘT XUỐNG (LÕM SÂU KHỰNG PHÍM CƠ CHẮC CHẮN) --- */
/* Khi nhấn click giữ vào bất kỳ mục menu nào (kể cả Trang Chủ đang active), nút sập lõm lún sâu */
.custom-nav-menu-glass .nav-item .nav-link:active,
.custom-nav-menu-glass .nav-item.active > .nav-link:active {
  transform: translateY(1px) scale(0.97) !important; /* Lún sát mặt nền và co nhẹ đàn hồi */
  background-color: #e5af26 !important; /* Màu nền chuyển ngả sậm che khuất ánh sáng mặt tiền */
  color: #000000 !important;
  
  /* Đào ngược bóng đổ vào phía trong ruột nút (Inset Shadow) tạo hốc sâu hoắm */
  box-shadow: 
    inset  3px  3px 8px rgba(130, 90, 0, 0.9),     /* Góc tối sâu rìa trên-trái */
    inset -3px -3px 8px rgba(255, 255, 255, 0.6) !important; /* Rìa sáng viền dưới-phải */
    
  border: 1px solid rgba(186, 135, 0, 0.2) !important;
  transition: all 0.05s ease !important; /* Tốc độ khựng phím cơ phản hồi cực nhạy */
}


/* ==========================================================================
   3. KHỐI LIST MENU CON THẢ XUỐNG DẬP LÕM KÍNH LỎNG (PHIÊN BẢN CẢI TIẾN)
   ========================================================================== */
.custom-dropdown-liquid {
  background: rgba(251, 192, 45, 0.98) !important; /* Kính lỏng tiệp tông màu thanh vàng */
  border-radius: 0 0 10px 10px !important; /* Bo góc mềm mại hơn cho khớp khối nổi */
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
  padding: 10px !important; /* Giãn rộng khoảng cách bọc ngoài của hộp menu */
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  
  /* CẢI TIẾN 1: Giãn rộng chiều ngang của menu thả xuống để chữ không bị chật */
  min-width: 230px !important; 
}

.custom-dropdown-liquid li {
  width: 100% !important;
  margin-bottom: 6px !important; /* Giãn rộng khoảng cách giữa các dòng */
}
.custom-dropdown-liquid li:last-child {
  margin-bottom: 0 !important;
}

.custom-dropdown-liquid li a {
  color: #333333 !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  
  /* CẢI TIẾN 1: Giãn rộng không gian bên trong (Tăng đệm trên/dưới và trái/phải) */
  padding: 12px 16px !important; 
  
  /* Kỹ thuật Flexbox giúp đẩy chữ về bên trái và mũi tên về SÁT CUỐI BÊN PHẢI */
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  
  position: relative !important;
  transition: all 0.25s ease !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* CẢI TIẾN 2: Tự động thêm một icon ô vuông dập lõm công nghệ ở ĐẦU DÒNG chữ */
.custom-dropdown-liquid li a::before {
  content: "" !important;
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  background-color: rgba(0, 0, 0, 0.2) !important; /* Ô vuông màu tối ẩn nhẹ */
  border-radius: 2px !important; /* Bo góc ô vuông tinh tế */
  margin-right: 12px !important; /* Khoảng cách từ ô vuông đến chữ */
  flex-shrink: 0 !important;
  transition: all 0.25s ease !important;
  
  /* Hiệu ứng dập lõm siêu nhỏ cho ô vuông */
  box-shadow: 
    inset 1px 1px 2px rgba(0, 0, 0, 0.3),
    1px 1px 1px rgba(255, 255, 255, 0.5) !important;
}

/* Định vị lại mũi tên hệ thống có sẵn của bạn để không bị lệch */
.custom-dropdown-liquid li a i.fa,
.custom-dropdown-liquid li a .fa-chevron-circle-right,
.custom-dropdown-liquid li a .fa-caret-right {
  position: static !important; /* Hủy bỏ định vị tuyệt đối cũ gây đè chữ */
  margin-left: auto !important; /* CỐ ĐỊNH: Ép mũi tên chạy về sát rìa cuối bên phải */
  font-size: 12px !important;
  opacity: 0.7 !important;
  transition: all 0.25s ease !important;
}

/* --- HIỆU ỨNG DI CHUỘT TRONG LIST CON (HOVER) --- */
.custom-dropdown-liquid li:hover > a {
  color: #000000 !important;
  
  /* Giữ hiệu ứng dập lõm sâu vào lòng kính lỏng cực đẹp của bạn */
  box-shadow: 
    inset -3px -3px 6px rgba(255, 255, 255, 0.7),
    inset  3px  3px 6px rgba(186, 135, 0, 0.8) !important;
    
  padding-left: 20px !important; /* Hiệu ứng thụt dòng nhẹ khi hover */
}

/* Khi hover vào, icon ô vuông đầu dòng sẽ phát sáng đen đậm sắc nét */
.custom-dropdown-liquid li:hover > a::before {
  background-color: #000000 !important;
  transform: scale(1.2) !important;
}

/* Khi hover vào, mũi tên cuối dòng sẽ tự động dịch nhẹ sang phải báo hiệu kích hoạt */
.custom-dropdown-liquid li:hover > a i.fa {
  opacity: 1 !important;
  transform: translateX(2px) !important;
}


/* ---------------- 4. DANH MỤC SẢN PHẨM DỌC TRẮNG BÊN TRÁI ---------------- */
.custom-sidebar-links {
  border: none !important;
}
.custom-sidebar-links li {
  padding: 0 10px !important;
  margin-bottom: 3px !important;
}
.custom-sidebar-links li a {
  border-bottom: 1px dashed #e5e5e5 !important;
  border-radius: 6px !important;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
/* HOVER MỤC DỌC: Nhô nổi khối 3D tinh tế sáng rõ trên nền trắng sạch sẽ */
.custom-sidebar-links li:hover > a {
  color: #fbc02d !important; /* Đổi sang màu vàng thương hiệu */
  padding-left: 15px !important;
  background-color: #fafbfc !important;
  box-shadow: 
    -3px -3px 6px rgba(255, 255, 255, 1),
     3px  3px 6px rgba(0, 0, 0, 0.05) !important;
}
/* ACTIVE MỤC DỌC: Nhấn chuột vào phím lập tức lõm chìm xuống lòng bảng */
.custom-sidebar-links li:active > a {
  box-shadow: 
    inset -3px -3px 6px rgba(255, 255, 255, 1),
    inset  3px  3px 6px rgba(0, 0, 0, 0.06) !important;
}


/* ---------------- 5. KHUNG HÌNH ẢNH SLIDE & ẢNH GIẢM GIÁ SALE BÊN PHẢI ---------------- */
/* Bọc ngoài tạo hiệu ứng khối nổi Neumorphic lớn bo góc cho các ảnh */
.slider-container, .single-banner-left, .product-thumb, .main-slider-card, .sale-product-card {
  border-radius: 8px !important;
  cursor: pointer !important;
  box-shadow: 
    -6px -6px 14px #ffffff,
     6px  6px 14px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
/* HOVER HÌNH ẢNH: Toàn bộ khung ảnh nhô nổi cao lên bề mặt web và ảnh sáng rõ nét */
.slider-container:hover, .single-banner-left:hover {
  transform: translateY(-4px) scale(1.005) !important;
  box-shadow: 
    -10px -10px 22px #ffffff,
     10px  10px 22px rgba(0, 0, 0, 0.1) !important;
}
.slider-container:hover img, .single-banner-left:hover img {
  filter: brightness(1.04) !important; /* Tăng độ sáng rõ nét cho ảnh ngọc trai */
}
/* ACTIVE HÌNH ẢNH: Nhấn chuột vào khung ảnh lập tức sập lõm chìm hẳn xuống nền */
.slider-container:active, .single-banner-left:active {
  transform: translateY(0) scale(0.99) !important;
  box-shadow: 
    inset -5px -5px 10px #ffffff,
    inset  5px  5px 10px rgba(0, 0, 0, 0.18) !important;
}


/* ---------------- 6. BA HỘP TIỆN ÍCH MÀU ĐEN PHÍA DƯỚI SLIDE ---------------- */
/* (Miễn phí vận chuyển, Hỗ trợ 24/7, Hoàn tiền trong 30 ngày) */
/* Đoạn code này giả lập cho các thẻ chứa ba dòng chữ đen bên dưới ảnh slide của bạn */
.utility-bar, [class*="utility"], .row + .row .col-md-4 {
  transition: all 0.3s ease !important;
}
/* HOVER TIỆN ÍCH ĐEN: Đổi chữ vàng thương hiệu, nhô nổi viền phát sáng trắng thanh lịch */
.utility-bar div:hover, [class*="utility"]-item:hover {
  color: #fbc02d !important; 
  box-shadow: 
    -3px -3px 8px rgba(255, 255, 255, 0.2),
     3px  3px 8px rgba(0, 0, 0, 0.6) !important;
  transform: translateY(-1px) !important;
}
/* ACTIVE TIỆN ÍCH ĐEN: Nhấn chuột xuống phím dập lõm vào trong lòng nền đen */
.utility-bar div:active, [class*="utility"]-item:active {
  transform: translateY(0) !important;
  box-shadow: 
    inset -2px -2px 5px rgba(255, 255, 255, 0.1),
    inset  2px  2px 5px rgba(0, 0, 0, 0.8) !important;
}
/* ==========================================================================
   ĐỒNG BỘ TOÀN DIỆN: DANH MỤC DỌC TRÁI ĐA CẤP (CẤP 1 & CẤP 2 & CẤP 3)
   (Giữ màu trắng gốc - Chống vỡ hàng - Đồng bộ hoàn hảo theo ảnh thực tế)
   ========================================================================== */

/* 1. SỬA NỀN BẢNG CHA CẤP 1 NGOÀI CÙNG */
.slider-and-category-sidebar .category-sidebar {
  background: #ffffff !important;
  border: 1px solid rgba(220, 225, 230, 0.8) !important;
  border-top: none !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04) !important;
  padding: 10px 0 !important; /* Giãn cách trên dưới cho bảng cha */
}

/* 2. ĐỊNH DẠNG ĐỒNG BỘ KHUNG MENU CON ĐỔ RA (CẤP 2 & CẤP 3) */
.slider-and-category-sidebar .category-sidebar ul li ul.cat-sup-menu,
.slider-and-category-sidebar .category-sidebar ul li ul.sup-cate-child2 {
  background: rgba(255, 255, 255, 0.98) !important;
  border-radius: 8px !important;
  border: 1px solid rgba(220, 225, 230, 0.8) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
  padding: 10px 0 !important;
  min-width: 240px !important; /* Độ rộng hộp con lý tưởng */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

/* Đồng bộ cấu trúc hàng cho tất cả các cấp li */
.slider-and-category-sidebar .category-sidebar ul li {
  width: 100% !important;
  padding: 0 8px !important; /* Giữ đệm khoảng cách an toàn tránh vỡ khối */
  margin: 0 0 4px 0 !important;
  position: relative !important;
}
.slider-and-category-sidebar .category-sidebar ul li:last-child {
  margin-bottom: 0 !important;
}

/* 3. ĐỊNH DẠNG ĐỒNG BỘ CHO THẺ CHỮ CỦA CẢ CẤP 1 VÀ CẤP 2, 3 */
.slider-and-category-sidebar .category-sidebar ul li a,
.slider-and-category-sidebar .category-sidebar ul li ul li a {
  color: #333333 !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  border-bottom: none !important; /* Xóa hoàn toàn các gạch nét đứt cũ làm bẩn menu */
  font-size: 13px !important;
  text-transform: uppercase !important;
  
  /* Tạo không gian giãn dòng thoáng đãng, sang trọng */
  padding: 12px 35px 12px 32px !important; 
  display: block !important;
  width: 100% !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Nút Xem Thêm cuối bảng cấp 1 giữ nền xám nhẹ nhã nhặn */
.slider-and-category-sidebar .category-sidebar ul li a.view-more,
.slider-and-category-sidebar .category-sidebar ul li a[class*="more"] {
  background-color: #fafafa !important;
  color: #777777 !important;
}

/* 4. TỰ ĐỘNG THÊM ICON Ô VUÔNG DẬP LÕM CHO TẤT CẢ CÁC CẤP (CỐ ĐỊNH LEFT) */
.slider-and-category-sidebar .category-sidebar ul li a::before {
  content: "" !important;
  position: absolute !important;
  left: 14px !important; /* Đóng đinh khoảng cách đầu dòng */
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 6px !important;
  height: 6px !important;
  background-color: rgba(0, 0, 0, 0.15) !important; /* Ô vuông trầm tinh tế */
  border-radius: 2px !important;
  transition: all 0.25s ease !important;
  box-shadow: 
    inset 1px 1px 2px rgba(0, 0, 0, 0.2),
    1px 1px 1px #ffffff !important;
}

/* 5. ÉP TẤT CẢ MŨI TÊN (CẤP 1 VÀ CẤP 2) DẠT THẲNG HÀNG SÁT MÉP PHẢI (CỐ ĐỊNH RIGHT) */
.slider-and-category-sidebar .category-sidebar ul li a i.fa {
  position: absolute !important;
  right: 14px !important; /* Áp sát mép biên phải tuyệt đối */
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 11px !important;
  color: #a0aec0 !important;
  transition: all 0.25s ease !important;
}

/* ================= HỆ THỐNG TƯƠNG TÁC ĐỒNG BỘ ĐA CẤP (HOVER) ================= */
/* Rê chuột vào Cấp 1 hay Cấp 2 đều dập lõm sâu rực sáng trắng cực đẹp, co giãn mềm mại */
.slider-and-category-sidebar .category-sidebar ul li:hover > a {
  color: #fbc02d !important; /* Chữ tự động chuyển sang màu vàng thương hiệu */
  padding-left: 36px !important; /* Dịch nhẹ chữ sang phải 4px tạo độ đàn hồi lỏng */
  background-color: rgba(245, 247, 250, 0.7) !important;
  
  /* Vết dập lõm lòng kính Neumorphic đồng bộ */
  box-shadow: 
    inset -3px -3px 6px #ffffff,
    inset  3px  3px 6px rgba(166, 180, 200, 0.35) !important;
}

/* Khi lướt chuột qua, icon ô vuông chuyển sang màu vàng rực sáng */
.slider-and-category-sidebar .category-sidebar ul li:hover > a::before {
  background-color: #fbc02d !important;
  box-shadow: none !important;
}

/* Khi lướt chuột qua, mũi tên đổi màu vàng và nhúc nhích dịch phải báo hiệu */
.slider-and-category-sidebar .category-sidebar ul li:hover > a i.fa {
  color: #fbc02d !important;
  transform: translateY(-50%) translateX(3px) !important; /* Dịch phải 3px giữ thăng bằng trục dọc */
}

/* 6. HIỆU ỨNG NHẤN CHUỘT XUỐNG (ACTIVE) CHO CẢ DANH MỤC DỌC */
.slider-and-category-sidebar .category-sidebar ul li a:active {
  box-shadow: 
    inset -4px -4px 7px #ffffff,
    inset  4px  4px 7px rgba(166, 180, 200, 0.5) !important;
}

/* Giữ nguyên logic cấu trúc hiển thị ẩn hiện đa tầng của theme gốc */
.slider-and-category-sidebar .category-sidebar ul li.lv1_ss:hover > ul.cat-sup-menu,
.slider-and-category-sidebar .category-sidebar ul li.lv2_ss:hover > ul.sup-cate-child2 {
  display: block !important;
}
/* ==========================================================================
   ĐỒNG BỘ TOÀN DIỆN: KHU VỰC TRƯNG BÀY SẢN PHẨM & HỖ TRỢ TRỰC TUYẾN 3D
   (Tương thích tuyệt đối với cấu trúc Awesome Theme và giữ màu nguyên bản)
   ========================================================================== */

/* Nền vùng chứa sản phẩm xám trắng hiện đại tăng độ tương phản khối nổi */
.custom-section-pro-neumorphic {
  background-color: #f4f7f6 !important;
  padding: 40px 0 !important;
}

/* ---------------- 1. KHỐI TIÊU ĐỀ DẬP LÕM VIÊN THUỐC (ĐỒNG BỘ CHÂN TRANG) ---------------- */
.custom-pro-title-emboss {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-bottom: none !important; /* Xóa đường gạch dưới cũ */
  margin: 0 0 20px 0 !important;
  display: inline-block !important;
  padding: 8px 18px !important;
  background-color: #f4f7f6 !important;
  border-radius: 20px !important;
  
  /* Đổ bóng Inset tạo hốc sâu hoắm tinh xảo chìm vào lòng nền */
  box-shadow: 
    inset  3px  3px 6px rgba(166, 180, 200, 0.45),
    inset -3px -3px 6px #ffffff !important;
}
.custom-pro-title-emboss span {
  font-weight: 700 !important;
}

/* ---------------- 2. KHỐI HỖ TRỢ TRỰC TUYẾN BÊN TRÁI ---------------- */
.custom-support-box-3d {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important; /* Dồn khít khoảng cách các mục tư vấn */
}
.custom-support-box-3d .support-card-item {
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(230, 235, 240, 0.5) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  
  /* Tạo khối nhô nổi Neumorphism mịn màng trên nền trắng xám */
  box-shadow: 
    -3px -3px 6px #ffffff,
     3px  3px 6px rgba(166, 180, 200, 0.3) !important;
}
.custom-support-box-3d .support-card-item p {
  margin-bottom: 4px !important;
  color: #555555 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.custom-support-box-3d .support-card-item p.support-type {
  font-weight: 700 !important;
  color: #111111 !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.custom-support-box-3d .support-card-item p.support-type i {
  color: #fbc02d !important; /* Icon mang sắc vàng thương hiệu nổi bật */
  font-size: 13px;
}
.custom-support-box-3d .support-card-item p a {
  color: #fbc02d !important; /* Sđt và Email đổi màu vàng rực sáng rõ */
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* HOVER HỘP HỖ TRỢ: Nhô nổi cao rực sáng rõ rệt */
.custom-support-box-3d .support-card-item:hover {
  background-color: rgba(255, 255, 255, 0.95) !important;
  transform: translateY(-2px) !important;
  box-shadow: 
    -5px -5px 12px #ffffff,
     5px  5px 12px rgba(166, 180, 200, 0.45) !important;
}
/* ACTIVE HỘP HỖ TRỢ: Nhấn vào lõm khựng xuống sát nền */
.custom-support-box-3d .support-card-item:active {
  transform: translateY(0) !important;
  background-color: #edf1f5 !important;
  box-shadow: 
    inset  3px  3px 6px rgba(166, 180, 200, 0.4),
    inset -3px -3px 6px #ffffff !important;
}

/* ---------------- 3. DÃY PHÍM TÁP LỌC SẢN PHẨM PHÍA TRÊN ---------------- */
.custom-title-tab-wrapper {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 2px solid rgba(166, 180, 200, 0.15) !important; /* Thanh ngang nâng đỡ */
  padding-bottom: 8px !important;
  margin-bottom: 25px !important;
}
.custom-tabs-glass-menu {
  display: flex !important;
  list-style: none !important;
  gap: 6px !important;
  border: none !important;
}
.custom-tabs-glass-menu .tab-link {
  cursor: pointer !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}
.custom-tabs-glass-menu .tab-link span {
  display: block !important;
  padding: 8px 18px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #555555 !important;
  text-transform: uppercase !important;
  border-radius: 6px !important;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  
  /* Mặc định nhô nổi nhẹ hình phím cơ */
  box-shadow: 
    -2px -2px 5px #ffffff,
     2px  2px 5px rgba(166, 180, 200, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

/* HOVER & ACTIVE TAB ĐANG CHỌN: Biến thành phím kính lỏng rực sáng tinh tế */
.custom-tabs-glass-menu .tab-link:hover span,
.custom-tabs-glass-menu .tab-link.current span {
  color: #000000 !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  
  /* Phím nhô cao rực sáng viền trắng phản quang */
  box-shadow: 
    -4px -4px 8px #ffffff,
     4px  4px 8px rgba(166, 180, 200, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
}
/* Click nhấn giữ phím lọc: Phím sập chìm lõm khựng xuống */
.custom-tabs-glass-menu .tab-link:active span {
  background-color: #edf1f5 !important;
  box-shadow: 
    inset  2px  2px 4px rgba(166, 180, 200, 0.35),
    inset -2px -2px 4px #ffffff !important;
}

/* ---------------- 4. KHUNG VIỀN ẢNH SẢN PHẨM 3D & NÚT XEM TẤT CẢ ---------------- */
/* Bọc khối nổi bo góc Neumorphism sang trọng quanh 4 ảnh ngọc trai */
.custom-products-grid-3d .item_ix_pro .product-box,
.custom-products-grid-3d .item_ix_pro .product-thumbnail {
  border-radius: 8px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  border: none !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  
  box-shadow: 
    -4px -4px 10px #ffffff,
     4px  4px 10px rgba(166, 180, 200, 0.25) !important;
}
.custom-products-grid-3d .item_ix_pro:hover .product-box {
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow: 
    -8px -8px 18px #ffffff,
     8px  8px 18px rgba(166, 180, 200, 0.4) !important;
}
/* Khi lướt chuột qua, ảnh ngọc trai tăng độ tương phản rực rỡ và sáng rõ */
.custom-products-grid-3d .item_ix_pro:hover img {
  filter: brightness(1.03) contrast(1.02) !important; 
}

/* NÚT XEM TẤT CẢ CUỐI BẢNG */
.custom-view-all-btn {
  width: 100% !important;
  text-align: center !important;
  margin-top: 25px !important;
  clear: both !important;
}
.custom-view-all-btn a {
  display: inline-block !important;
  padding: 10px 28px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #4a5568 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-radius: 6px !important;
  background-color: #f4f7f6 !important;
  transition: all 0.2s ease !important;
  
  /* Tạo khối phím nhô cơ học */
  box-shadow: 
    -3px -3px 7px #ffffff,
     3px  3px 7px rgba(166, 180, 200, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
}
.custom-view-all-btn a:hover {
  color: #000000 !important;
  background-color: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 
    -4px -4px 10px #ffffff,
     4px  4px 10px rgba(166, 180, 200, 0.45) !important;
}
.custom-view-all-btn a:active {
  background-color: #edf1f5 !important;
  box-shadow: 
    inset  3px  3px 5px rgba(166, 180, 200, 0.4),
    inset -3px -3px 5px #ffffff !important;
}
/* ==========================================================================
   BỔ SUNG ĐỒNG BỘ: HIỆU ỨNG 3D CHO KHỐI TIN TỨC & FANPAGE FACEBOOK BÊN TRÁI
   (Giữ màu nguyên bản - Đồng bộ 100% giao diện toàn trang của bạn)
   ========================================================================== */

/* ---------------- 1. KHỐI TIN TỨC / BLOG CẠNH SẢN PHẨM ---------------- */
.custom-blog-sidebar-3d .blog-card-item-3d {
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 15px !important;
  border: 1px solid rgba(230, 235, 240, 0.5) !important;
  box-shadow: 
    -3px -3px 6px #ffffff,
     3px  3px 6px rgba(166, 180, 200, 0.25) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
/* Rê chuột vào bài viết tin tức: Hộp nhô cao rực sáng rõ nét */
.custom-blog-sidebar-3d .blog-card-item-3d:hover {
  transform: translateY(-3px) !important;
  box-shadow: 
    -6px -6px 14px #ffffff,
     6px  6px 14px rgba(166, 180, 200, 0.35) !important;
}

/* Khung ảnh bài viết tinh tế */
.custom-blog-img-emboss {
  border-radius: 6px !important;
  overflow: hidden !important;
  margin-bottom: 12px !important;
  box-shadow: inset 1px 1px 3px rgba(0,0,0,0.1) !important;
}
.blog-text-summary .article_title {
  color: #111111 !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.blog-text-summary .article_title:hover {
  color: #fbc02d !important; /* Đổi chữ sang vàng thương hiệu khi hover */
}
.blog-text-summary .read-more-link {
  color: #fbc02d !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Nút Xem tất cả tin tức dạng chữ dập nổi */
.custom-view-all-text-btn {
  text-align: right !important;
  margin-top: 12px !important;
}
.custom-view-all-text-btn a {
  color: #555555 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  padding: 6px 12px !important;
  border-radius: 4px !important;
  display: inline-block !important;
  transition: all 0.2s ease !important;
  box-shadow: 
    -2px -2px 5px #ffffff,
     2px  2px 5px rgba(166, 180, 200, 0.2) !important;
}
.custom-view-all-text-btn a:hover {
  color: #000000 !important;
  box-shadow: 
    -3px -3px 6px #ffffff,
     3px  3px 6px rgba(166, 180, 200, 0.3) !important;
}
/* ==========================================================================
   TINH CHỈNH: KÉO DÀI KHUNG FACEBOOK TỐI ĐA CHIẾM TRỌN CỘT DỌC BÊN TRÁI
   (Tự động nuốt khoảng trống của Thống kê truy cập để thẳng hàng với Sản phẩm)
   ========================================================================== */

/* Ép cột chứa Facebook (col-md-3) xóa bỏ khoảng trống đệm phía trên */
.section_tab_product .col-md-3 {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Ép khối Fanpage của theme nuốt trọn không gian, đẩy độ cao lên mức tối đa */
.section_tab_product .fanpage.block {
  margin-top: 0 !important; /* Xóa bỏ khoảng trống của khối Thống kê truy cập cũ */
  margin-bottom: 0 !important;
  height: 500px !important; /* ĐẨY ĐỘ CAO MỚI: Kéo dài khung lên 500px thay vì 350px cũ */
  overflow: visible !important;
  display: block !important;
}

/* Khóa chặt luồng hiển thị của iframe Facebook để ép nó kéo dài chân theo hộp bố bọc ngoài */
.section_tab_product .fanpage.block iframe,
.section_tab_product .fb-page,
.section_tab_product .fb-page span,
.section_tab_product .fb-page iframe {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  
  /* ĐỒNG BỘ CHIỀU CAO: Bắt buộc iframe Facebook phải giãn dài ra chạm đáy */
  height: 500px !important; 
  min-height: 500px !important;
}

/* Tự động điều chỉnh thuộc tính nhúng của Facebook để tăng số lượng bài viết hiển thị */
.section_tab_product .fb-page {
  data-height: 500 !important; /* Ép thuộc tính chiều cao nhúng lên 500 */
}



/* 2. CHỈ ĐỔ NỀN XÁM NHẸ VÀ HỘP NỔI CHO RIÊNG KHỐI CHỨA SẢN PHẨM (CỘT col-md-9) */
.section_tab_product .col-md-9 {
  background-color: #f4f7f6 !important; /* Màu nền xám trắng tinh tế */
  border-radius: 12px !important;
  padding: 25px 20px !important;
  /* Đổ bóng dập nổi Neumorphism bọc quanh riêng vùng sản phẩm bên phải */
  box-shadow: 
    -5px -5px 12px #ffffff,
     5px  5px 12px rgba(166, 180, 200, 0.25) !important;
}

/* 3. TIÊU ĐỀ SẢN PHẨM DẬP LÕM VIÊN THUỐC SANG TRỌNG */
.section_tab_product .title_tab h2 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-bottom: none !important; 
  margin: 0 0 20px 0 !important;
  display: inline-block !important;
  padding: 8px 18px !important;
  background-color: #f4f7f6 !important;
  border-radius: 20px !important;
  box-shadow: 
    inset  3px  3px 6px rgba(166, 180, 200, 0.45),
    inset -3px -3px 6px #ffffff !important;
}

/* 4. DÃY PHÍM TÁP LỌC SẢN PHẨM PHÍA TRÊN */
.section_tab_product .title_tab {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 2px solid rgba(166, 180, 200, 0.15) !important;
  padding-bottom: 8px !important;
  margin-bottom: 25px !important;
}
.section_tab_product .tabs-title {
  display: flex !important;
  list-style: none !important;
  gap: 6px !important;
  border: none !important;
}
.section_tab_product .tabs-title .tab-link span {
  display: block !important;
  padding: 8px 18px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #555555 !important;
  text-transform: uppercase !important;
  border-radius: 6px !important;
  box-shadow: 
    -2px -2px 5px #ffffff,
     2px  2px 5px rgba(166, 180, 200, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  transition: all 0.25s ease !important;
}
.section_tab_product .tabs-title .tab-link:hover span,
.section_tab_product .tabs-title .tab-link.current span {
  color: #000000 !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 
    -4px -4px 8px #ffffff,
     4px  4px 8px rgba(166, 180, 200, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
}
.section_tab_product .tabs-title .tab-link:active span {
  background-color: #edf1f5 !important;
  box-shadow: 
    inset  2px  2px 4px rgba(166, 180, 200, 0.35),
    inset -2px -2px 4px #ffffff !important;
}

/* 5. KHUNG VIỀN ẢNH SẢN PHẨM 3D */
.section_tab_product .item_ix_pro .product-box,
.section_tab_product .item_ix_pro .product-thumbnail {
  border-radius: 8px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  border: none !important;
  box-shadow: 
    -4px -4px 10px #ffffff,
     4px  4px 10px rgba(166, 180, 200, 0.25) !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.section_tab_product .item_ix_pro:hover .product-box {
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow: 
    -8px -8px 18px #ffffff,
     8px  18px 18px rgba(166, 180, 200, 0.4) !important;
}
.section_tab_product .item_ix_pro:hover img {
  filter: brightness(1.03) contrast(1.02) !important; 
}

/* 6. NÚT XEM TẤT CẢ */
.section_tab_product .view_more a {
  display: inline-block !important;
  padding: 10px 28px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #4a5568 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-radius: 6px !important;
  background-color: #f4f7f6 !important;
  box-shadow: 
    -3px -3px 7px #ffffff,
     3px  3px 7px rgba(166, 180, 200, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  transition: all 0.2s ease !important;
}
.section_tab_product .view_more a:hover {
  color: #000000 !important;
  background-color: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 
    -4px -4px 10px #ffffff,
     4px  4px 10px rgba(166, 180, 200, 0.45) !important;
}
.section_tab_product .view_more a:active {
  background-color: #edf1f5 !important;
  box-shadow: 
    inset  3px  3px 5px rgba(166, 180, 200, 0.4),
    inset -3px -3px 5px #ffffff !important;
}
/* ==========================================================================
   ĐỒNG BỘ NÂNG CẤP: KHỐI SẢN PHẨM ĐƯỢC ĐÁNH GIÁ MỚI NHẤT (CẬN CUỐI TRANG)
   (Hiệu ứng nhô nổi khối 3D rực sáng kính mờ - An toàn tuyệt đối 100%)
   ========================================================================== */

/* 1. ĐỔ NỀN XÁM NHẠT VÀ TẠO KHỐI DẬP NỔI CHO TOÀN BỘ KHU VỰC SẢN PHẨM ĐÁNH GIÁ */
.section_tab_product, 
.section_product_review, 
[class*="section_tab"] {
  background-color: #f4f7f6 !important; /* Đồng bộ màu nền xám trắng tinh tế của toàn trang */
}

/* 2. TIÊU ĐỀ "Sản phẩm được đánh giá mới nhất" BIẾN THÀNH VIÊN THUỐC DẬP LÕM SÂU */
/* Nhắm mục tiêu vào tất cả tiêu đề h2/h3 của các khu vực sản phẩm cận cuối */
.section_tab_product h2,
.section_tab_product .title_tab h2,
[class*="section_tab"] h2 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-bottom: none !important; /* Loại bỏ đường gạch chân cũ */
  margin: 0 0 25px 0 !important;
  display: inline-block !important;
  padding: 8px 18px !important;
  background-color: #f4f7f6 !important; /* Trùng màu nền để tạo độ chìm */
  border-radius: 20px !important; /* Bo góc viên thuốc mềm mại như chân trang */
  
  /* Đổ bóng Inset tạo hốc sâu hoắm tinh xảo, tách biệt khối */
  box-shadow: 
    inset  3px  3px 6px rgba(166, 180, 200, 0.45),
    inset -3px -3px 6px #ffffff !important;
}

/* 3. KHUNG VIỀN ẢNH SẢN PHẨM 3D: Bo tròn bo góc Neumorphism sang trọng quanh các ảnh ngọc trai */
.item_ix_pro .product-box,
.item_ix_pro .product-thumbnail,
.product-mini-item {
  border-radius: 8px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  border: none !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  
  /* Tạo bóng nổi nhẹ nhàng phồng lên khỏi mặt nền */
  box-shadow: 
    -4px -4px 10px #ffffff,
     4px  4px 10px rgba(166, 180, 200, 0.25) !important;
}

/* --- HIỆU ỨNG TƯƠNG TÁC (HOVER) CHO 4 KHỐI SẢN PHẨM ĐÁNH GIÁ --- */
/* Khi khách hàng lướt chuột qua, thẻ sản phẩm nhô cao lên hẳn bề mặt và ảnh sáng rõ nét */
.item_ix_pro:hover .product-box,
.item_ix_pro:hover .product-thumbnail {
  transform: translateY(-4px) scale(1.01) !important; /* Nhấc nhẹ thẻ ảnh lên 4px */
  box-shadow: 
    -8px -8px 18px #ffffff,
     8px  8px 18px rgba(166, 180, 200, 0.4) !important; /* Đổ bóng rộng và sâu hơn */
}

/* Khi hover, ảnh chuỗi ngọc trai tự động tăng độ tương phản rực rỡ và sáng rõ */
.item_ix_pro:hover img {
  filter: brightness(1.03) contrast(1.02) !important; 
}

/* --- HIỆU ỨNG NHẤN CHUỘT XUỐNG (ACTIVE) --- */
/* Khi click ngón tay hoặc chuột vào xem sản phẩm, thẻ ảnh nẩy khựng ép lõm sập chìm xuống nền */
.item_ix_pro:active .product-box,
.item_ix_pro:active .product-thumbnail {
  transform: translateY(0) scale(0.99) !important;
  box-shadow: 
    inset -4px -4px 8px #ffffff,
    inset  4px  4px 8px rgba(166, 180, 200, 0.4) !important;
}
/* ==========================================================================
   ĐỒNG BỘ TOÀN DIỆN: KHU VỰC ĐĂNG KÝ EMAIL VÀ MẠNG XÃ HỘI CHÂN TRANG
   (Ép thẳng hàng ngang tăm tắp - Đồng bộ màu sắc & Font chữ đậm sắc nét)
   ========================================================================== */

/* Thiết lập màu nền vàng và khoảng cách đồng bộ */
.custom-footer-top-yellow {
  background-color: #fbc02d !important; /* Màu vàng thương hiệu */
  padding: 20px 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Kỹ thuật Flexbox giúp dồn các cột dọc thẳng hàng ngang mượt mà */
.custom-flex-align-center {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

/* Ép dòng chữ và ô nhập email xếp chung một hàng ngang */
.custom-subscribe-row {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  width: 100% !important;
}

/* Dòng chữ "Gửi mail nhận tin" đậm nét xám đen cao cấp */
/* ==========================================================================
   TINH CHỈNH SIÊU CÂN ĐỐI: CĂN GIỮA TRỤC DỌC TUYỆT ĐỐI CHO HÀNG ĐĂNG KÝ EMAIL
   (Ép chữ, ô nhập liệu, nút bấm và icon thẳng hàng tăm tắp 100%)
   ========================================================================== */

/* Ép toàn bộ khung hàng ngang căn giữa chuẩn theo trục dọc */
.custom-subscribe-row {
  display: flex !important;
  align-items: center !important; /* Căn giữa tuyệt đối chiều dọc */
  justify-content: flex-start !important;
  gap: 20px !important;
  width: 100% !important;
  height: 50px !important; /* Khóa độ cao chuẩn cố định */
}

/* Triệt tiêu độ lệch dòng của chữ "Gửi mail nhận tin" */
.custom-top-foo-label {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #2c3e50 !important;
  margin: 0 !important; /* Xóa bỏ margin mặc định gây lệch hàng */
  padding: 0 !important;
  line-height: 1 !important; /* Khóa chiều cao dòng để chữ đứng đúng tâm dọc */
  display: inline-block !important;
  white-space: nowrap !important;
  letter-spacing: 0.5px !important;
}

/* Ép form chứa ô nhập và nút bấm đứng thẳng hàng ngang căn giữa dọc */
.custom-form-inline-emboss {
  display: flex !important;
  align-items: center !important; /* Căn giữa dọc cho ô nhập và nút */
  gap: 10px !important;
  margin: 0 !important; /* Xóa margin ẩn của thẻ form gốc */
  padding: 0 !important;
}

/* Đồng bộ chiều cao cho ô nhập email để khít lề với nút bấm */
.custom-input-newsletter-inset {
  width: 280px !important;
  height: 38px !important; /* Chiều cao khớp khít với nút bên cạnh */
  border: none !important;
  outline: none !important;
  background: #fbc02d !important;
  padding: 0 15px !important;
  font-size: 13.5px !important;
  color: #000000 !important;
  font-weight: 600 !important;
  border-radius: 5px !important;
  box-shadow: 
    inset  3px  3px 6px rgba(186, 135, 0, 0.9),
    inset -3px -3px 6px rgba(255, 255, 255, 0.5) !important;
}

/* Khóa chặt dáng nút bấm Gửi đi để đứng thăng bằng trục dọc */
.custom-btn-submit-3d {
  height: 38px !important; /* Bằng chính xác chiều cao ô nhập liệu */
  border: none !important;
  background: #fbc02d !important;
  color: #2c3e50 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 0 22px !important;
  cursor: pointer !important;
  border-radius: 5px !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important; /* Căn chữ GỬI ĐI nằm đúng tâm nút */
  justify-content: center !important;
  margin: 0 !important;
  line-height: 1 !important;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 
    -3px -3px 6px rgba(255, 255, 255, 0.6),
     3px  3px 6px rgba(186, 135, 0, 0.6) !important;
}

/* Tinh chỉnh cột Bootstrap chứa nút Facebook bên phải để thăng bằng dọc */
.custom-flex-align-center .text-right-desktop {
  display: flex !important;
  align-items: center !important; /* Căn nút Facebook thẳng hàng với cụm bên trái */
  justify-content: flex-end !important;
  height: 50px !important; /* Bằng chiều cao của khối trái */
}


/* Ô NHẬP EMAIL: Dập lõm sâu (Inset) chìm hẳn xuống lòng nền vàng cực nét */
.custom-input-newsletter-inset {
  width: 280px !important;
  height: 38px !important;
  border: none !important;
  outline: none !important;
  background: #fbc02d !important;
  padding: 0 15px !important;
  font-size: 13.5px !important;
  color: #000000 !important;
  font-weight: 600 !important;
  border-radius: 5px !important;
  transition: all 0.3s ease !important;
  box-shadow: 
    inset  3px  3px 6px rgba(186, 135, 0, 0.9),
    inset -3px -3px 6px rgba(255, 255, 255, 0.5) !important;
}
.custom-input-newsletter-inset::placeholder {
  color: rgba(0, 0, 0, 0.4) !important;
}

/* NÚT BẤM GỬI ĐI: Nhô nổi khối 3D phím cơ học, nhấn vào lõm chìm xuống */
.custom-btn-submit-3d {
  height: 38px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #2c3e50 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 0 22px !important;
  cursor: pointer !important;
  border-radius: 5px !important;
  text-transform: uppercase !important;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 
    -3px -3px 6px rgba(255, 255, 255, 0.6),
     3px  3px 6px rgba(186, 135, 0, 0.6) !important;
}
/* Di chuột qua nút Gửi đi: Sáng trắng gương phản quang rực rỡ */
.custom-btn-submit-3d:hover {
  color: #000000 !important;
  background-color: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 
    -4px -4px 10px rgba(255, 255, 255, 0.8),
     4px  4px 10px rgba(186, 135, 0, 0.7) !important;
  transform: translateY(-1px) !important;
}
/* Click nhấn nút Gửi đi: Lún khựng sập chìm */
.custom-btn-submit-3d:active {
  transform: translateY(0) !important;
  background-color: #e5af26 !important;
  box-shadow: 
    inset  3px  3px 6px rgba(130, 90, 0, 0.8),
    inset -3px -3px 6px rgba(255, 255, 255, 0.4) !important;
}

/* ---------------- HỆ THỐNG ĐỒNG BỘ 5 NÚT MẠNG XÃ HỘI TRÒN 3D ĐA SẮC ---------------- */
.text-right-desktop {
  display: flex !important;
  justify-content: flex-end !important;
}

/* Định hình luồng hiển thị cho danh sách nút */
.custom-social-media-round ul {
  display: flex !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 12px !important; /* Khoảng cách giãn đều giữa các nút tròn */
  align-items: center !important;
}

.custom-social-media-round ul li {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* LỚP PHÍM TRÒN GỐC: Đúc khối nhô nổi Neumorphic viên thuốc 3D cho cả 5 nút */
.custom-foo-social-round {
  width: 38px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #2c3e50 !important; /* Màu xám đen mặc định đẳng cấp toàn trang */
  border-radius: 50% !important; /* Ép tròn hoàn hảo */
  text-decoration: none !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  
  box-shadow: 
    -3px -3px 6px rgba(255, 255, 255, 0.6),
     3px  3px 6px rgba(186, 135, 0, 0.6) !important;
}

.custom-foo-social-round i {
  font-size: 14px !important;
  line-height: normal !important;
  display: inline-block !important;
}

/* --- HIỆU ỨNG TƯƠNG TÁC (HOVER) CỦA CẢ 5 NÚT: PHÁT SÁNG THEO ĐÚNG MÀU THƯƠNG HIỆU --- */
/* Rê chuột tới đâu, nút đó nhô nhấc phồng cao lên và đổi sang màu sắc Neon của app đó cực đẹp */

/* ---------------- HỆ THỐNG ĐỒNG BỘ 4 NÚT MẠNG XÃ HỘI HIỆN ĐẠI TRÒN 3D ĐA SẮC ---------------- */
.text-right-desktop {
  display: flex !important;
  justify-content: flex-end !important;
}

/* Định hình luồng hiển thị cho danh sách nút */
.custom-social-media-round ul {
  display: flex !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 14px !important; /* Khoảng cách giãn đều giữa các nút tròn */
  align-items: center !important;
}

.custom-social-media-round ul li {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* LỚP PHÍM TRÒN GỐC: Đúc khối nhô nổi Neumorphic viên thuốc 3D cho cả 4 nút */
.custom-foo-social-round {
  width: 38px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #2c3e50 !important; /* Màu xám đen mặc định đẳng cấp đồng bộ phím menu trên */
  border-radius: 50% !important; /* Ép tròn hoàn hảo */
  text-decoration: none !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  
  box-shadow: 
    -3px -3px 6px rgba(255, 255, 255, 0.6),
     3px  3px 6px rgba(186, 135, 0, 0.6) !important;
}

.custom-foo-social-round i {
  font-size: 15px !important;
  line-height: normal !important;
  display: inline-block !important;
}

/* --- HIỆU ỨNG TƯƠNG TÁC (HOVER) CỦA 4 NÚT: PHÁT SÁNG THEO ĐÚNG MÀU THƯƠNG HIỆU THẾ HỆ MỚI --- */

/* 1. Hover Facebook -> Nền trắng gương kính lỏng, chữ xanh Navy thương hiệu */
.custom-foo-social-round.custom-fb:hover {
  color: #1877f2 !important; 
  background-color: rgba(255, 255, 255, 0.85) !important;
  box-shadow: -4px -4px 8px rgba(255, 255, 255, 0.8), 4px 4px 8px rgba(186, 135, 0, 0.7) !important;
  transform: translateY(-2px) !important;
}

/* 2. Hover TikTok -> Nền trắng gương kính lỏng, chữ đen Neon huyền bí */
.custom-foo-social-round.custom-tiktok:hover {
  color: #010101 !important;
  background-color: rgba(255, 255, 255, 0.85) !important;
  box-shadow: -4px -4px 8px rgba(255, 255, 255, 0.8), 4px 4px 8px rgba(186, 135, 0, 0.7) !important;
  transform: translateY(-2px) !important;
  text-shadow: 1px 1px 0px #fe2c55, -1px -1px 0px #25f4ee !important; /* Hiệu ứng sắc xanh đỏ đặc trưng của logo TikTok */
}

/* 3. Hover Zalo -> Nền trắng gương kính lỏng, chữ xanh Cyan Zalo rực rỡ */
.custom-foo-social-round.custom-zalo:hover {
  color: #0068ff !important;
  background-color: rgba(255, 255, 255, 0.85) !important;
  box-shadow: -4px -4px 8px rgba(255, 255, 255, 0.8), 4px 4px 8px rgba(186, 135, 0, 0.7) !important;
  transform: translateY(-2px) !important;
}

/* 4. Hover YouTube -> Nền trắng gương kính lỏng, chữ đỏ rực rỡ quyền lực */
.custom-foo-social-round.custom-youtube:hover {
  color: #ff0000 !important;
  background-color: rgba(255, 255, 255, 0.85) !important;
  box-shadow: -4px -4px 8px rgba(255, 255, 255, 0.8), 4px 4px 8px rgba(186, 135, 0, 0.7) !important;
  transform: translateY(-2px) !important;
}
/* --- BỔ SUNG HOVER CHO NÚT SHOPEE: Nền trắng gương kính lỏng, chữ Cam Shopee rực cháy --- */
.custom-foo-social-round.custom-shopee:hover {
  color: #ff5722 !important; /* Mã màu cam chuẩn 100% của thương hiệu Shopee */
  background-color: rgba(255, 255, 255, 0.85) !important;
  
  /* Giữ nguyên hệ thống bóng đổ nhô nổi khối 3D rực sáng của bạn */
  box-shadow: 
    -4px -4px 8px rgba(255, 255, 255, 0.8), 
     4px  4px 8px rgba(186, 135, 0, 0.7) !important;
  transform: translateY(-2px) !important; /* Nhấc nhẹ phím lên cao */
}
/* Khóa chặt vị trí và kích thước icon Font Awesome bản cũ nằm đúng trục tâm */
.custom-foo-social-round i.fa {
  font-family: 'FontAwesome' !important; /* Ép buộc gọi đúng font gốc hệ thống */
  font-size: 15px !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  margin: 0 !important;
}
/* ==========================================================================
   TINH CHỈNH ĐỘC QUYỀN: BIẾN BIỂU TƯỢNG MÁY BAY THÀNH CHỮ ZALO CHUẨN 100%
   (Loại bỏ hoàn toàn dáng Telegram - Giữ nguyên khối nổi 3D rực sáng)
   ========================================================================== */

/* 1. Ẩn biểu tượng máy bay giấy cũ đi để lấy chỗ trống */
.custom-foo-social-round.custom-zalo i.fa {
  display: none !important;
}

/* 2. Tự động chèn chữ "Zalo" cách điệu chuẩn phông chữ hiện đại vào giữa tâm nút */
.custom-foo-social-round.custom-zalo::after {
  content: "Zalo" !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: 11px !important; /* Kích thước chữ vừa vặn trong lòng vòng tròn */
  font-weight: 900 !important; /* Đậm nét quyền lực rõ ràng */
  letter-spacing: -0.2px !important; /* Co nhẹ khoảng cách chữ cho giống logo thật */
  display: inline-block !important;
  line-height: 1 !important;
  text-transform: none !important; /* Giữ nguyên chữ Z viết hoa và alo viết thường */
  transition: all 0.25s ease !important;
}

/* 3. Hiệu ứng Hover: Khi di chuột vào, chữ Zalo sẽ bừng sáng màu xanh công nghệ */
.custom-foo-social-round.custom-zalo:hover::after {
  color: #0068ff !important; /* Màu xanh chuẩn 100% của thương hiệu Zalo */
  transform: scale(1.1) !important; /* Phồng nhẹ chữ lên báo hiệu tương tác */
}

/* --- HIỆU ỨNG NHẤN CHUỘT GIỮ XUỐNG (ACTIVE) CHO CẢ 4 NÚT --- */
/* Khi nhấn click vào, phím tròn lập tức sập lõm khựng sâu hoắm xuống dưới nền vàng */
.custom-foo-social-round:active {
  transform: translateY(0) !important;
  background-color: #e5af26 !important;
  box-shadow: 
    inset  2px  2px 4px rgba(130, 90, 0, 0.8),
    inset -2px -2px 4px rgba(255, 255, 255, 0.4) !important;
}
/* ==========================================================================
   TỐI ƯU HÓA CUỐI CÙNG: ĐỒNG BỘ TRANG CHI TIẾT SẢN PHẨM & QUICKVIEW
   (Phím tăng giảm số lượng 3D - Nút Mua Hàng Kính Lỏng nhô nổi rực rỡ)
   ========================================================================== */

/* 1. ĐỒNG BỘ CỤM PHÍM CƠ TĂNG GIẢM SỐ LƯỢNG (MỤC - 1 +) */
.custom-section-pro-neumorphic .quantity-selector,
.form-product .custom-number-input,
.quickview-product .quantity {
  display: inline-flex !important;
  align-items: center !important;
  background: #f4f7f6 !important;
  padding: 4px !important;
  border-radius: 30px !important; /* Dáng viên thuốc nằm ngang */
  gap: 6px !important;
  box-shadow: 
    inset  2px  2px 5px rgba(166, 180, 200, 0.4),
    inset -2px -2px 5px #ffffff !important;
}

/* Định dạng hai nút Đẩy (-) và Cộng (+) */
.custom-section-pro-neumorphic .btn-qty,
.form-product .qtyminus, .form-product .qtyplus,
.quick-view .btn-plus, .quick-view .btn-minus {
  width: 32px !important;
  height: 32px !important;
  border: none !important;
  background: #f4f7f6 !important;
  color: #2c3e50 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: 50% !important; /* Tròn xoe */
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  box-shadow: 
    -2px -2px 5px #ffffff,
     2px  2px 5px rgba(166, 180, 200, 0.25) !important;
}
/* Hover vào nút tăng giảm: Nhô phồng cao sáng rõ */
.custom-section-pro-neumorphic .btn-qty:hover,
.form-product .qtyminus:hover, .form-product .qtyplus:hover {
  background-color: #ffffff !important;
  box-shadow: -3px -3px 6px #ffffff, 3px 3px 6px rgba(166, 180, 200, 0.4) !important;
}
/* Click nhấn nút tăng giảm: Lún khựng bẹp chìm */
.custom-section-pro-neumorphic .btn-qty:active,
.form-product .qtyminus:active, .form-product .qtyplus:active {
  box-shadow: 
    inset  2px  2px 4px rgba(166, 180, 200, 0.4),
    inset -2px -2px 4px #ffffff !important;
}

/* 2. ĐÚC KHỐI NỔI 3D RỰC SÁNG CHO NÚT "THÊM VÀO GIỎ HÀNG" / "MUA NGAY" */
.form-product .btn-add-to-cart,
.quickview-product .btn-add-cart,
.custom-products-grid-3d .btn-buy-now {
  height: 44px !important;
  border: 1px solid transparent !important;
  background: #fbc02d !important; /* Đổ sắc vàng ngọc rực rỡ */
  color: #111111 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  
  /* Tạo khối nhô nổi Neumorphic lớn rực sáng biên cạnh */
  box-shadow: 
    -4px -4px 10px rgba(255, 255, 255, 0.7),
     4px  4px 10px rgba(186, 135, 0, 0.6) !important;
}
/* Hover chuột vào nút Mua: Sáng trắng gương phản chiếu rực lửa */
.form-product .btn-add-to-cart:hover,
.quickview-product .btn-add-cart:hover {
  background-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 
    -6px -6px 14px rgba(255, 255, 255, 0.9),
     6px  6px 14px rgba(186, 135, 0, 0.7) !important;
  transform: translateY(-2px) scale(1.02) !important;
}
/* Click nhấn nút Mua: Nút sập lõm khựng lún sâu hoắm xuống lòng nền vàng */
.form-product .btn-add-to-cart:active,
.quickview-product .btn-add-cart:active {
  transform: translateY(0) scale(0.98) !important;
  background-color: #e5af26 !important;
  box-shadow: 
    inset  4px  4px 8px rgba(130, 90, 0, 0.9),
    inset -4px -4px 8px rgba(255, 255, 255, 0.4) !important;
}
/* ==========================================================================
   NÂNG CẤP TOÀN DIỆN: GIAO DIỆN POPUP GIỎ HÀNG THÀNH CÔNG (NEUMORPHISM 3D)
   (Sửa hoàn toàn lỗi đơ lag - Giãn cách rộng rãi - Đồng bộ màu sắc toàn trang)
   ========================================================================== */

/* Thiết lập bộ khung viền lớn bo tròn cao cấp cho toàn bộ bảng Popup */
.custom-popup-cart-neumorphic {
  background-color: #f4f7f6 !important; /* Đồng bộ nền xám nhạt toàn trang */
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
  padding: 20px !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* 1. DẢI THÔNG BÁO TRÊN CÙNG: Đúc dập lõm chìm sâu dạng viên thuốc màu vàng */
.custom-popup-top-banner {
  background-color: #fbc02d !important; /* Màu vàng thương hiệu */
  padding: 12px 20px !important;
  border-radius: 30px !important; /* Dáng viên thuốc dài mềm mại */
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
  
  box-shadow: 
    inset  3px  3px 6px rgba(186, 135, 0, 0.8),
    inset -3px -3px 6px rgba(255, 255, 255, 0.5) !important;
}
.custom-popup-top-banner .your_product {
  color: #111111 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}
.custom-popup-top-banner .cart-popup-name {
  font-weight: 800 !important;
  color: #000000 !important;
}

/* Dòng hiển thị tổng sản phẩm */
.title-quantity-popup .cart_status {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #2c3e50 !important; /* Tông xám đen đầu trang */
}
.title-quantity-popup .cart-popup-count {
  color: #ff5722 !important; /* Đổi màu cam nổi bật số lượng */
  font-weight: 800 !important;
}

/* 2. TIÊU ĐỀ CHIA CỘT BẢNG (SẢN PHẨM, ĐƠN GIÁ...) */
.custom-popup-thead {
  background: #f4f7f6 !important;
  border-bottom: 2px solid rgba(166, 180, 200, 0.15) !important;
  padding: 12px 10px !important;
  margin-top: 15px !important;
  display: flex !important;
  font-weight: 700 !important;
  color: #555555 !important;
  font-size: 12.5px !important;
  letter-spacing: 0.5px !important;
}

/* 3. THÂN BẢNG CHỨA CÁC SẢN PHẨM: Đúc khối nổi 3D tinh tế quanh hàng */
.custom-popup-tbody .item-popup {
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 15px !important;
  margin-bottom: 10px !important;
  border: 1px solid rgba(230, 235, 240, 0.5) !important;
  display: flex !important;
  align-items: center !important;
  
  box-shadow: 
    -3px -3px 6px #ffffff,
     3px  3px 6px rgba(166, 180, 200, 0.25) !important;
}
.custom-popup-tbody .item-popup .product-image {
  border-radius: 6px !important;
  overflow: hidden !important;
  box-shadow: inset 1px 1px 3px rgba(0,0,0,0.1) !important;
}

/* Ô CỘNG TRỪ SỐ LƯỢNG: Đồng bộ dáng viên thuốc dập lõm */
.custom-popup-tbody .items-count {
  display: inline-flex !important;
  align-items: center !important;
  background: #f4f7f6 !important;
  padding: 2px !important;
  border-radius: 20px !important;
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.05) !important;
}
.custom-popup-tbody .items-count input {
  background: transparent !important;
  border: none !important;
  font-weight: 700 !important;
  color: #000000 !important;
}

/* Khối hiển thị tiền tổng thanh toán */
.tfoot-popup-1 .total-price {
  color: #ff5722 !important; /* Ép giá tiền hiển thị cam rực rỡ dễ nhìn */
  font-weight: 800 !important;
  font-size: 18px !important;
}

/* 4. CỤM 2 NÚT BẤM ĐIỀU HƯỚNG DƯỚI CÙNG */
.custom-popup-actions-group {
  display: flex !important;
  justify-content: space-between !important;
  margin-top: 20px !important;
  gap: 15px !important;
}
.custom-popup-actions-group a {
  flex: 1 !important;
  height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border: none !important;
  transition: all 0.25s ease !important;
}

/* NÚT TIẾP TỤC MUA HÀNG: Phím cơ dập nổi màu vàng nhã nhặn */
.custom-popup-btn-continue {
  background-color: #f4f7f6 !important;
  color: #2c3e50 !important;
  box-shadow: 
    -3px -3px 7px #ffffff,
     3px  3px 7px rgba(166, 180, 200, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
}
.custom-popup-btn-continue:hover {
  color: #000000 !important;
  background-color: #ffffff !important;
  box-shadow: -4px -4px 10px #ffffff, 4px 4px 10px rgba(166, 180, 200, 0.45) !important;
}
.custom-popup-btn-continue:active {
  background-color: #edf1f5 !important;
  box-shadow: inset 3px 3px 5px rgba(166, 180, 200, 0.4), inset -3px -3px 5px #ffffff !important;
}

/* NÚT THANH TOÁN NGAY: Đúc khối kính lỏng rực sáng, kích thích click mua */
.custom-popup-btn-checkout {
  background-color: #fbc02d !important; /* Màu vàng rực */
  color: #111111 !important;
  box-shadow: 
    -4px -4px 8px rgba(255, 255, 255, 0.6),
     4px  4px 8px rgba(186, 135, 0, 0.6) !important;
}
.custom-popup-btn-checkout:hover {
  background-color: rgba(255, 255, 255, 0.85) !important; /* Sáng trắng gương phản quang */
  box-shadow: -5px -5px 12px rgba(255, 255, 255, 0.8), 5px 5px 12px rgba(186, 135, 0, 0.7) !important;
  transform: translateY(-1px) !important;
}
.custom-popup-btn-checkout:active {
  transform: translateY(0) !important;
  background-color: #e5af26 !important;
  box-shadow: inset 3px 3px 6px rgba(130, 90, 0, 0.8), inset -3px -3px 6px rgba(255, 255, 255, 0.4) !important;
}

/* Nút dấu X góc trên */
.custom-popup-close-x {
  color: #777777 !important;
  transition: color 0.2s ease !important;
}
.custom-popup-close-x:hover {
  color: #ff0000 !important;
}