/* ==================== RESET & BIẾN TOÀN CỤC ==================== */
:root {
    --primary: #c6ab78;
    --primary-2: #a17c30;
    --primary-dark: #a17c30;
    --secondary: #7a0000;
    --secondary-light: #777777;
    --accent: #d4af37;
    --light-bg: #f9f6f0;
    --card-bg: #ffffff;
    --card-bg-2: #f3dcad;
    --text: #000000;
    --text-hover: #000000;
    --text-light: #000;
    --text-light-hover: #a8a8a8;
    --text-white: #fff;
    --border: #a4a4a4;
    --border-2: #c59c47;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --star-color: #ffc107;
    --header-bg: #000;
    --footer-bg: #000000;
    --topbar-bg: rgb(15, 15, 22);
    --topbar-color: #2b2b2b;
    --main-menu-bg: #fcc758;
    --base-color: #000;
    --section-bg:#000;
    --section-bg-2:#1b1b1b;
    --background: #000;
    
}

.dark-mode {
    --primary: #e0b354;
    --primary-dark: #c49a2e;
    --secondary: #1a120e;
    --secondary-light: #2a1e18;
    --accent: #e6c468;
    --light-bg: #121212;
    --card-bg: #1e1e1e;
    --card-bg-2: #4825131a;
    --text: #f0f0f0;
    --text-hover: #fff;
    --text-light: #b0b0b0;
    --text-white: #fff;
    --border: #3a3a3a;
    --shadow: 0 4px 15px rgba(0,0,0,0.4);
    --header-bg: #1a1a1a;
    --footer-bg: #0f0f0f;
    --topbar-bg: #0a0a0a;
    --topbar-color: #FEF8EC;
    --main-menu-bg: #e0b354;
    --base-color: #000;
    --section-bg:#171412;

}

/* CSS CŨ */
* {
  box-sizing: border-box;
  font-family: sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}


html {
  height: 100%;
}
iframe {
  border: 0;
  max-width: 100%;
  padding: 10px 0px;
}
img{
    max-width: 100%;
    height: auto;
    overflow-clip-margin: content-box;
    overflow: clip;
}

.clear {
    clear: both;
    padding: 5px;
}

body {
  position: relative;
  min-height: 100%;
  color: #000000;
  background-color: #FFFFFF;
  margin: 0;
}
a {
    text-decoration: none !important;
}
a:hover {
    color: #000;
    text-decoration: none !important;
}
p {
    font-size: 14px;
    font-family: sans-serif;
    line-height: 25px;
    display: block;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}




ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 0px;
  unicode-bidi: isolate;
}
ul {
    margin: 0px;
}

li{
    
}

h1, h2, h3, h4, h5 {
  color: #000;
  font-family: sans-serif;
}

.h1, h1 {
    display: block;
    font-size: 30px;
    margin-block-start: 0px;
    margin-block-end: 10px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

.h2, h2 {
    display: block;
    font-size: 24px;
    margin-block-start: 0em;
    margin-block-end: 10px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

.h3, h3 {
    display: block;
    font-size: 22px;
    margin-block-start: 10px;
    margin-block-end: 10px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

.h4, h4 {
    font-size: 18px;
    display: block;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
.h5, h5 {
    font-size: 16px;
}
.h6, h6 {
    font-size: 18px;
}
label{
    font-size: 14px;
    font-weight: bold;
    line-height: 30px;
}
.p-1{
    padding: 10px;
}
.p-2{
    padding: 20px;
}
.py-1 {
    padding: 10 0px;
}
.px-1 {
    padding: 0px 10px;
}
.py-2 {
    padding: 20px 0px;
}
.px-2 {
    padding: 0px 20px;
}
.m-1{
    margin: 10px;
}
.m-2{
    margin: 20px;
}
.my-1 {
    padding: 10 0px;
}
.mx-1 {
    padding: 0px 10px;
}
.my-2 {
    padding: 20px 0px;
}
.mx-2 {
    padding: 0px 20px;
}
.mt-1 {
    margin-top: 10px;
}


.btn-simple{
    border: solid 1px #04a1b0;
    padding: 4px;
    border-radius: 3px;
    background:#fff;
    color: #04a1b0;
}
.btn-simple :hover{
    background:#04a1b0;
    color: #fff;
}
.content-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
.content-wrapper.error {
  padding: 40px 0;
}


.brand-logo{
    padding-left: 10px;
}
/* header được load trước*/
/* FONT AWESOME --------------*/
.fa-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    vertical-align: -0.125em;
    fill: currentColor;
}
/* HEADER ---------------- */
nav {
    display: block;
    unicode-bidi: isolate;
}

/* MAIN HEADER -----------------------------*/
.main-header {
    background: #000000;
    height: 55px;
    position: sticky;
    z-index: 1000;
    top: 0px;
    left: 0px;
}
.header-sticky {
    position: sticky;
    top: 0px;
    z-index: 1000;
}
.main-header-wrap {
    max-width: 1450px;
    margin: 0 auto;
}

/* Nếu bạn muốn container bên trong main-navigation */
.main-header-wrap .main-navigation {
    padding: 0 0px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 55px;
}
.header-navigation-area{
    display: flex;
    gap: 20px;
    width: 100%;
}

.header-right-button {
    display: flex;
    gap: 6px;
}

.main-navigation {
    /* Reset */
    margin: 0;
    padding: 0;
    
    /* Layout */
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    
    /* Size */
    height: 70px;
    width: 100%;
}


.main-navigation {
    position: relative;
    z-index: 100; /* Tạo stacking context mới */
}
/* Sửa dropdown positioning */
.main-navigation ul {
    position: relative;
    z-index: 101;
    line-height: 55px;
}
.main-navigation .menu a.active, .main-navigation .menu a:hover {
    
}
.main-navigation ul li {display: inline-block; position: relative; }

.main-navigation ul li a {
    display: block;
    text-transform: capitalize;
    font-size: 14px;
    font-weight: normal;
    position: relative;
    z-index: 1;
    color: #fff;
    line-height: 56px;
    padding: 0px 10px;
}

.main-navigation ul li:hover {
    color: #ffffff;
    background: #525456;

}

.main-navigation ul li .item-menu-hassub:hover {
    color: #ffffff;
    background: #525456;
    border-radius: 0px;
}
.main-navigation ul ul li a{
    color: #000; 
}

/* Main Menu CSS End*/
/* Submenu / Dropdown Menu CSS */

.main-navigation ul li ul {
    position: absolute;
    width: 250px;
    max-width: 100%;
    min-width: 150px;
    left: 0;
    top: 100%;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    background-color: #fff;
    margin: 0;
    padding: 0;
    list-style: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.main-navigation ul li:hover > ul {opacity: 1; visibility: visible; }
.main-navigation ul li ul li a {padding: 14px 20px; line-height: 40px; }
.main-navigation ul li ul li {display: block; text-align: left; }
.main-navigation ul li ul ul {left: 250px; top: 0; }
.main-navigation ul li ul li {
    border-bottom: solid 1px #cbcbcb;
    
}
.main-navigation ul li ul li:last-child {border-bottom: 0; }
/* Submenu / Dropdown Menu CSS End */

/* Nhóm button đóng mở với width height cố định */
.mobile-menu-button{
    width: 40px;
    height: 40px;
}

/* Mobile Menu CSS Start*/
.mobile-menu-trigger {
    cursor: pointer;
    margin-left: 0px;
    display: none;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    position: absolute;
    top: 14px;
    right: 0px;
}

.mobile-menu-trigger span {
    height: 2px;
    display: block;
    width: 26px;
    margin-bottom: 7px;
    background-color: #fff;
}
.mobile-menu-trigger span:last-child {margin-bottom: 0; }
.mobile-menu-container {position: fixed; top: 0; bottom: 0; left: 0; width: 100%; background-color: #231d1b; z-index: 999999; opacity: 0; visibility: hidden; overflow-y: scroll; -ms-transform: translateX(100%); -webkit-transform: translateX(100%); transform: translateX(100%); overflow-x: hidden; -webkit-transition: .4s; transition: .4s; }
.mobile-menu-container li {opacity: 0; visibility: hidden; -ms-transform: translateX(1000px); -webkit-transform: translateX(1000px); transform: translateX(100px); -webkit-transition: 1s; transition: 1s; border-top: 1px solid rgb(255 255 255 / 8%);}
.mobile-menu-container li:nth-last-child(1) {border-bottom: 1px solid rgb(255 255 255 / 8%); }

.mobile-menu-container.menu-open {opacity: 1; visibility: visible; -ms-transform: translateX(0%); -webkit-transform: translateX(0%); transform: translateX(0%); } 
.mobile-menu-container.menu-open li {opacity: 1; visibility: visible; -ms-transform: translateX(0); -webkit-transform: translateX(0); transform: translateX(0); }
.mobile-menu-close {position: absolute; right: 20px; top: 50px; width: 30px; height: 30px; cursor: pointer; z-index: 1; }
.mobile-menu-close::before {
    left: 15px; 
    -ms-transform: rotate(45deg); 
    -webkit-transform: rotate(45deg); 
    transform: rotate(45deg); 
    
}
.mobile-menu-close::after {
    right: 13px; 
    -ms-transform: rotate(-45deg); 
    -webkit-transform: rotate(-45deg); 
    transform: rotate(-45deg); 
    
}
.mobile-menu-close::before, .mobile-menu-close::after {
    position: absolute;
    height: 24px;
    width: 2px;
    background: #ffffff;
    content: '';
    top: 0;
}
#mobile-menu-wrap {display: block; height: 100%; width: 100%; position: absolute; right: 0; padding: 150px 20px 20px 20px; }
#mobile-menu-wrap div {background-color: transparent; }
#mobile-menu-wrap .slicknav_item i{display: none;}
/*Sidebar Start*/
.slicknav_nav .slicknav_arrow {
  font-size: 0px;
  margin: 0 0 0 0em;
}
.slicknav_nav, .slicknav_nav.slicknav_hidden {display: block !important; text-align: left; }
.slicknav_btn {display: none !important; }
.slicknav_menu {padding-left: 0; }
.slicknav_nav li > a {display: block; font-weight: 400; } 
.slicknav_item.slicknav_row a {border-bottom: 0; }
.slicknav_nav .slicknav_row, .slicknav_nav a {padding: 0px 0px; margin: 0; }
.slicknav_nav .slicknav_arrow {
    font-size: 0;
    height: 100%;
    width: 20px;
    right: 0px;
    display: inline-block;
    position: absolute;
    top: 0px;
}
.slicknav_nav ul {margin: 0 0 0 0px; }
.slicknav_nav .menu-item-has-children ul {
    margin-bottom: 0px;
    padding: 0px 20px;
}
.slicknav_nav .menu-item-has-children ul a {
    color: #000;
    font-style:italic;
}

.slicknav_nav .menu-item-has-children ul li {padding-left: 0px; }
.sub-menu .menu-item-has-children a i {position: absolute; right: 20px; top: 20px; }
.slicknav_nav a:hover, .slicknav_nav .slicknav_row:hover {background-color: transparent; }
.slicknav_nav .slicknav_row:hover, .slicknav_nav a:hover {border-radius: 0; }
.slicknav_item.slicknav_row {display: inline-block; width: 100%; position: relative; }
.slicknav_arrow {
    -webkit-transition: .3s;
    transition: .3s;
    right: 0;
    top: 17px;
    /* position: absolute; */
}
#main-menu .menu-item-has-children{
    padding-right: 10px;
}
#main-menu .menu-item-has-children:hover{
    background: #353535;
}
#main-menu .menu-item-no-children:hover{
    background: #353535;
}
.slicknav_nav a, .slicknav_row a {
    color: #034b91;
    font-size: 20px;
    display: inline-block;
}
.sub-menu .item-menu-hassub{
    line-height: 40px;
    height: 40px;
}
.sub-menu .item-menu-hassub a:hover {
    color: #ffffff;
    line-height: 40px;
}
.sub-menu .has-submenu-level-3{
    content: "\f07c"; /* fas fa-folder-open */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 0px;
    font-size: 13px;
    color: #888;
}
/*Sidebar Start*/            
/* Mobile Menu CSS End*/
.fa-icon-mobile{
    position: absolute;
    top: 14px;
}


.mobile-menu-container {
    position: fixed;
    top: 68px;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff !important;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    overflow-y: scroll;
    -ms-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    overflow-x: hidden;
    -webkit-transition: .4s;
    transition: .4s;
}
.mobile-menu-close {
    position: absolute;
    right: 3px !important;
    top: 14px !important;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 9999;
    display: none;
    transition: all 0.3s ease;
}
/* Khi menu mở, hiển thị nút close */
.mobile-menu-container.menu-open ~ .mobile-menu-close,
.mobile-menu-container.menu-open + .mobile-menu-close {
    display: block;
}

.mobile-menu-container li {
    -ms-transform: translateX(1000px);
    transition: 1s;
    border-top: none !important;
    border-bottom: solid 1px #c6c6c6;
    list-style: none;
    line-height: 55px;
}
#mobile-menu-wrap {
    display: block;
    height: 100%;
    width: 100% !important;
    position: absolute;
    right: 0 !important;
    padding: 10px 20px 0px 20px;
    margin: 0px;
    border-radius: 0px;
    background: #fff;
}
#mobile-menu-wrap .slicknav_nav a:active{
    color: #000;
}
#mobile-menu-wrap ul{
    margin: 0px;
}

/* Hover state */
.slicknav_nav a:hover,
.slicknav_row a:hover {
    color: #000000;
}


@media only screen and (max-width: 991px){
    /*Menu*/
    .header-navigation-area {display: none; }
    .mobile-menu-trigger {display: block; }
    .fa-icon-pc{
        display: none;
    }
}             
/* ------------------------------- */            

/* Cập nhật CSS cho dropdown menu */
/* Main Menu CSS End*/

/* Submenu / Dropdown Menu CSS - CẬP NHẬT */
.main-navigation ul li ul {
    position: absolute;
    width: 250px;
    max-width: 100%;
    min-width: 220px;
    left: 0;
    top: 100%;
    z-index: 1002; /* Tăng z-index */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    background-color: #fff;
    margin: 0;
    padding: 0;
    list-style: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0px 0px 4px 0px;
    overflow: visible; /* Thay đổi từ hidden thành visible */
}

.main-navigation ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    font-size: 14px;
}


.main-navigation ul li ul li {
    display: block;
    text-align: left;
    position: relative; 
}

/* Menu level 2 (sub-menu) */
.main-navigation ul > li > ul.sub-menu {
    left: 0;
    top: 55px;
    border: solid 1px #cbcbcb;
}

/* Menu level 3 (sub-menu bên trong) */
.main-navigation ul li ul li ul.sub-menu {
    position: absolute;
    left: 100%; /* Hiển thị sang bên phải của menu cha */
    top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 1003; /* Cao hơn menu level 2 */
}

/* Hiển thị menu level 3 khi hover vào menu level 2 có chứa menu level 3 */
.main-navigation ul li ul li.menu-item-has-children:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Tăng khoảng cách và sửa positioning cho menu level 2 có menu level 3 */
.main-navigation ul li.menu-item-has-children.has-submenu-level-3 > a {
    position: relative;
}

/* Thêm padding bên phải để tạo khoảng trống cho mũi tên */
.main-navigation ul li.menu-item-has-children > a {
    padding-right: 20px;
}

/* Định dạng mũi tên trong menu desktop */
.main-navigation .menu .slicknav_arrow {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
}

/* CSS cho các mũi tên trong menu đa cấp */
.main-navigation ul li ul li.menu-item-has-children > a .slicknav_arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg); /* Xoay mũi tên */
}

.main-navigation ul li ul li a {
    padding: 0px 10px;
    line-height: 55px;
    position: relative;
    font-size: 14px;
}

.main-navigation ul li ul li {
    
}

.main-navigation ul li ul li:last-child {
    border-bottom: 0;
}

/* Đảm bảo không có khoảng trống giữa các menu level */
.main-navigation ul li ul li:hover > ul {
    opacity: 1;
    visibility: visible;
}

/* Fix cho các menu level 3 không bị che khuất */
.main-navigation ul li ul li ul.sub-menu.level-3 {
    margin-left: 0;
}

/* Submenu / Dropdown Menu CSS End */

/* Thêm CSS cho responsive nếu cần */
@media only screen and (min-width: 992px) {
    /* Đảm bảo menu hiển thị đúng trên desktop */
    .main-navigation ul li {
        position: relative;
        height: 55px;
        padding: 0px 0px;
    }
    
    /* Tăng z-index cho các submenu để chồng lên nhau đúng cách */
    .main-navigation ul li ul {
        z-index: 1000;
    }
    
    .main-navigation ul li ul ul {
        z-index: 1001;
    }
    
    /* Đảm bảo không bị che khuất khi hover */
    .main-navigation ul li:hover > ul,
    .main-navigation ul li ul li:hover > ul {
        opacity: 1;
        visibility: visible;
    }
    /* ITEM MENU ------------*/
    .item-menu{

    }
    .mobile-menu-button{
        display: none; 
    }
    
}




/* PRODUCT -------------------------------------- */
.main-wrap {
  display: flex;
  max-width: 100%;
  padding: 0px 10px;
}

.main-content {
    max-width: 75%;
    width: 100%;
    padding-right: 20px;
    padding-top: 0px;
    margin-bottom: 20px;
    margin-top: 30px;
}
@media only screen and (max-width: 860px){
    .main-content {
        max-width: 100%;
        width: 100%;
    }
    .main-wrap {
        display: block;
        max-width: 100%;
    }
    aside ul,li .home-product-thumb{
        height: 80px;
    } 
}


/* Product Simple Page
=====================
*/
/* =========================
   ITEM HEADER DETAILS
========================= */
.product .title {
    display: block;
    font-size: 24px;
    margin-block-start: 0px;
    margin-block-end: 10px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    color: #01409b;
}

.product .item-header__details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 10px;
    padding: 0px 0px;
    margin: 0px 0 10px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: #374151;
}

/* Từng item */
.product .item-header__details span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Link tác giả */
.product .item-header__details a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.product .item-header__details a:hover {
  text-decoration: underline;
}

/* Số lượt cài đặt */
.product .item-header__details strong {
  font-weight: 700;
  color: #111827;
}

/* Badge cập nhật */
.product .item-header__details .updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 600;
  font-size: 13px;
}

/* Icon */
.product .item-header__details .fa-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* =========================
   HOVER EFFECT (nhẹ)
========================= */
.product .item-header__details span:hover {
  color: #111827;
}

/* =========================
   RESPONSIVE MOBILE
========================= */
@media (max-width: 768px) {
    .product .item-header__details {
        gap: 8px 12px;
        padding: 3px 0px;
        font-size: 13px;
    }

  .product .item-header__details .updated {
    padding: 3px 8px;
    font-size: 12px;
  }
}

                                    /* Container chính */
.prices {
    background: #5aadff;
    border-radius: 12px;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Label "Báo giá tham khảo" */
.prices > .label {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    border-left: 4px solid #3b82f6;
    padding-left: 12px;
}

/* Box chứa các phiên bản */
.prices-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Style chung cho cả price và */
.prices-box .price {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Label base */
.label-base {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

/* Label pro */
.label-pro {
    font-size: 20px;
    font-weight: 700;
    color: #7e22ce;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #7e22ce, #a855f7);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mô tả ngắn */
.price span {
    display: block;
    color: #475569;
}

/* Giá hiển thị */
.show-price {
    background: #f1f5f9;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    border-left: 3px solid #3b82f6;
    margin-top: 8px;
}

.show-price {
    border-left-color: #a855f7;
}

/* Responsive */
@media (max-width: 640px) {
    .prices-box {
        flex-direction: column;
    }
    
    .price{
        flex: auto;
    }
}
.price-form{
    text-align: center;
}

.product .short_description{
    text-align: justify;
    padding: 10px 0px;
}
.product .description-heading {
    padding: 10px;
    background: linear-gradient(135deg, #0066ff, #00409f);
    max-width: max-content;
    margin-top: 10px;
    color: #fff;
    font-weight: bold;
    border-radius: 2px 2px 0px 0px;
}

.product .description-content{
    border: solid 1px #cbcbcb;
    padding: 10px;
    border-radius: 3px;
}
.product .description-content ul{
    padding-left: 30px;
}
.product .description-content li{

}

/* table -------------------- */
.tab-content .tab-pane {display:none;}
.tab-content .tab-pane.active {display:block;}
#tabs {display:flex; gap:8px; list-style:none; padding:0; margin:0;}
#tabs li a {text-decoration:none; padding:8px 15px; display:block;}
#tabs li.active a {
    background: #f7f7f7;
    color: #000000;
    border-radius: 4px 4px 0px 0px;
}

/* ============================================
PRODUCTS
============================================= */
/* Các style cũ giữ nguyên */
.products{
    margin: 0px 0px;
}

.products .product-rating {
    margin: 0px 0;
}

.products .star {
    color: #ddd;
    font-size: 14px;
}

.products .star.filled {
    color: #ffc107;
}

.products .rating-text {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

/* Style cho links */
.products .category-link, .tag-link, .brand-link {
    color: #1976d2;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 11px;
}

.products .category-link:hover, .tag-link:hover, .brand-link:hover {
    color: #0d47a1;
    text-decoration: underline;
}

.products .demo-link {
    color: #5ba11d;
    text-decoration: none;
    font-style: italic;
    font-size: 12px;
}

.products .demo-link:hover {
    text-decoration: underline;
}

/* Style cho các loại tag */
.products .product-categories, .product-tags, .product-brands, .product-origins, .product-styles {
    margin: 3px 0;
    color: #666;
    font-size: 12px;
}

.products .origin-tag, .style-tag {
    background: #e8f5e9;
    color: #388e3c;
    padding: 1px 6px;
    border-radius: 3px;
    margin: 0 2px;
}

.products .demos-list {
    background: #f5f5f5;
    padding: 0px;
    border-radius: 4px;
    font-size: 12px;
}

.products .demos-list ul {
    list-style: none;
    padding-left: 6px;
    border-left: solid 1px #909090;
}

.products .demos-list li {
    font-size: 12px;
    margin-bottom: 2px;
}


.products .demos-list ul li {
    position: relative;
    padding-left: 0px;
    margin-bottom: 0px;
    line-height: 18px;
}

.products .product-meta {
    margin: 5px 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.products .demo-badge, .stock-warning, .out-of-stock, .subscription-badge {
    display: inline-block;
    padding: 2px 0px;
    font-size: 11px;
    border-radius: 3px;
    font-weight: bold;
}


.products .stock-warning {
    background: #fff3e0;
    color: #f57c00;
}

.products .out-of-stock {
    background: #ffebee;
    color: #d32f2f;
}

.products .subscription-badge {
    background: #e8f5e9;
    color: #388e3c;
}

.price {
    font-weight: bold;
    color: #ff0000;
    font-size: 20px;
    display: block;
    margin: 5px 0;
    display: flex;
    gap: 10px;
}
.products .update-badge {
    position: absolute;
    top: 3px;
    right: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.products .new-update {
    background: linear-gradient(135deg, #ff3366, #ff6633);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 5px rgba(255, 51, 102, 0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.products .version-badge {
    background: #71bc2f;
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    align-self: flex-end;
}

/* Thông tin cập nhật */
.products .update-info {
    background: #f0f7ff;
    border-left: 3px solid #909090
    padding: 8px;
    margin: 8px 0;
    border-radius: 0 4px 4px 0;
}

.products .update-date {
    color: #666;
    font-size: 11px;
}

.products .changelog-preview {
    margin-top: 5px;
    color: #555;
    font-size: 11px;
    line-height: 1.4;
}

/* Badge cập nhật nhỏ */
.products .update-badge-span {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.products .update-badge-span i {
    font-size: 10px;
}

/* Đảm bảo article có position relative */
.products article {
    position: relative;
    /* Các style khác giữ nguyên */
}

/* Layout */

.products article{
    display: flex;
    align-items: flex-start;
}
.products #heading{
    display: flex;
    justify-content: space-between;
    align-items: center; 
}


/* Styling */

.products #heading h1 span{
    font-size: 1em;
    color: #71BC2F;
}
.products article h2 {
    padding: 0px;
    line-height: 22px;
    font-size: 16px;
}
.products article {
    border: solid 1px #cbcbcb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.products article .image-box {
    position: relative;
    width: 100%;
    max-width: 236px;
    margin-right: 20px;
}

.products article .image-box img {
    width: 100%;
    height: auto;
    display: block;
}

.products article .cat-tag{
    width: 450px;
    max-width: 100%;
    padding: 10px 0px;
}
/* link */
.products article .cat-tag a {
    color: #000000;
    text-decoration: none;
    opacity: 1;
    margin-right: 0px;
    white-space: nowrap;
    font-size: 12px;
    line-height: 18px;
}

.products article .cat-tag a:hover {
    opacity: 1;
    text-decoration: underline;
}

.products article .description{
    line-height: 20px;
    font-size: 12px;
}
.products article .price span {
    color: #000;
}
.products article .update-info .changelog-preview span{
    font-size: 11px;
}
.products article .product-categories span{
    font-size: 12px;
    font-weight: bold;
}
.products article .product-tags  span{
    font-size: 11px;
}

.products article .btn-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 7px 10px;
    background: #212121;
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 106px;
    max-width: max-content;
}
.products .title {
    font-size: 24px;
    font-weight: bold;
    line-height: normal;
}
.products .title a{
    color: #00409f;
}
.products .title a:hover{
    color: #000000;
}
.products .product-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    align-items: center;
    padding-top: 5px;
    border-top: 1px solid #f0f0f0;
}
@media only screen and (min-width: 992px) and (max-width:1080px){
    .products article .image-box {
        position: relative;
        width: 100%;
        max-width: 330px;
        margin-right: 20px;
    }
}
@media only screen and (min-width: 992px) and (max-width:1080px){
    .products article .image-box {
        position: relative;
        width: 100%;
        max-width: 300px;
        margin-right: 20px;
    }
}

/* CATEGORY post--------------------------------- */
.category-post{
    margin-top: 20px;
}
.category-post .category-post-deltail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-bottom: solid 1px #04909f;
    padding: 10px;
}

.category-post .category-post-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-post .category-post-image img:hover {
  transform: scale(1.05);
}

.category-post .category-post-description {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.category-post .category-post-description p {
  margin-bottom: 1em;
}


/* Responsive: màn hình nhỏ thì xếp 1 cột */
@media (max-width: 768px) {
    .category-post .category-post-deltail {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .category-post .category-post-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}


/* ============================================
Posts
============================================= */
/* Các style cũ giữ nguyên */
.posts{
    margin: 20px 0px;
}

.posts #heading{
    display: flex;
    justify-content: space-between;
    align-items: center; 
}
.posts #heading h1 span{
    font-size: 1em;
    color: #71BC2F;
}

.posts article {
    position: relative;
    /* Các style khác giữ nguyên */
}

/* Layout */

.posts article{
    display: flex;
    align-items: flex-start;
}

/* Styling */


.posts article {
    margin-bottom: 20px;
    border: solid 1px #cbcbcb;
    padding: 10px;
    border-radius: 3px;
}

.posts article .image-box {
    position: relative;
    width: 100%;
    max-width: 230px;
    margin-right: 20px;
}

.posts article .image-box img {
    width: 100%;
    height: auto;
    display: block;
}
.posts article  .post-content .post-excerpt{
    line-height: 20px;
    font-size:14px;
}

.post .description{
    margin-top: 30px;
}

.post .description p{
    margin-bottom: 10px;
}
.posts .btn-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 15px;
    background: linear-gradient(135deg, #0066ff, #00409f);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    height: 26px;
}
.posts .title {
    font-size: 20px;
    font-weight: bold;
    line-height: normal;
}
.posts article  .post-content .title a{
    color: #00409f;
}
.posts article  .post-content .title a:hover{
    color: #000000;
}

.posts article .btn-read-more{
    background: #1976d2;
    color: #fff;
    padding: 10px;
    line-height: 40px;
}

.posts .post-tags{
    line-height: 20px;
    font-size: 14px;
}

.posts .post-tags span{
    font-size: 14px;
}
.posts .post-tags a{
    font-size: 14px;
}

.posts .cat-tag{
    line-height: 20px;
    font-size: 14px;
}
.posts .cat-tag a{
    font-size: 14px;
}
@media only screen and (min-width: 992px) and (max-width:1080px){
    .posts article .image-box {
        position: relative;
        width: 100%;
        max-width: 230px;
        margin-right: 20px;
    }
}
@media only screen and (min-width: 992px) and (max-width:1080px){
    .posts article .image-box {
        position: relative;
        width: 100%;
        max-width: 230px;
        margin-right: 20px;
    }
}


/* POST CSS---------------- */
.post-detail article .title{
    margin-bottom: 10px 0px;
}

.post-detail .meta-info .date, .post-detail .meta-info .category-badge{
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0px 0px;
    /* background: linear-gradient(135deg, #ffffff, #78a5e7); */
    color: #002b6f;
    border: none;
    /* border-radius: 25px; */
    font-size: 14px;
    font-style: italic;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* border-bottom: solid 1px rgba(0, 102, 255, 0.25); */
}


.post .wrapper.gallery-layout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}


/* POSTS PHIÊN BẢN GRID =====================================
========================================================================
*/
/* ============================================
Posts Grid Modern Layout
============================================= */



/* GRID POST - SPLIDEJS
========================================
*/

.slider-post #heading{
    display: flex;
    justify-content: space-between;
    align-items: center; 
}


/* Styling */

.slider-post #heading h1 span{
    font-size: 1em;
    color: #71BC2F;
}

/* Grid Card Styling - giữ lại vì article có class post-card-grid */
.grid-post-slider .posts-grid article { /* Cần đổi thành .post-card-grid */
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #eaeaea;
    position: relative;
    height: 100%;
}


/* Image Container */
.grid-post-slider .post-image-grid {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 10px;
}

.grid-post-slider .post-image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Content Grid */
.grid-post-slider .post-content-grid {
    display: grid;
    gap: 0px;
    padding: 1px;
    grid-template-rows: auto auto 1fr auto;
}
.grid-post-slider .post-content-grid .post-content {
    padding: 10px;
    border-radius: 3px;
    border: solid 1px #c3c3c3;
}

/* Title Styling */
.grid-post-slider .post-title-grid {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}
.grid-post-slider .post-title-grid a{
    color: #00409f;
}
.grid-post-slider .post-title-grid a:hover{
    color: #000;
}
/* Meta Information Grid */
.grid-post-slider .post-meta-grid {
    display: flex; /* Giữ lại flex */
    gap: 0px; /* Có thể điều chỉnh gap */
    padding: 5px 0;
    border-top: 1px solid #f0f0f0;
}
.grid-post-slider .splide__arrow{
    -ms-flex-align: center;
    align-items: center;
    background: #ccc;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: -ms-flexbox;
    display: flex;
    height: 2em;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: .7;
    padding: 0;
    position: absolute;
    top: 30%;
    width: 2em;
    z-index: 1;
}

.grid-post-slider .meta-item-grid {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.875rem;
    color: #1976d2;
    padding: 5px;
    border-radius: 6px;
    background: rgba(245, 245, 245, 0.5);
    transition: all 0.3s ease;
    border: solid 1px #c3c3c3;
    margin-right: 5px;
}
.grid-post-slider .meta-item-grid svg{
    color: #0062f4;
}
.grid-post-slider .view-all-posts-container{
    text-align: right;
    margin-top: 0px;
    padding: 10px 0;
}
.grid-post-slider .btn-view-all-posts{
    display: inline-block;
    padding: 10px 12px;
    background: linear-gradient(135deg, #0066ff, #00409f);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #007bff;
    line-height: 20px;
}
.grid-post-slider .btn-view-all-posts:hover{
    background-color: #00409f;
}
/* Excerpt Grid */
.grid-post-slider .post-excerpt-grid {
    line-height: 1.6;
    font-size: 0.95rem;
    color: #555;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.grid-post-slider .post-excerpt-grid p {
    font-size: 14px;
    font-family: sans-serif;
    line-height: 20px;
    display: block;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

/* Tags */
.grid-post-slider .tag-item-grid {
    padding: 4px 7px;
    background: #cadfff;
    color: #5f6060;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-style: italic;
}

/* Button Grid */
.grid-post-slider .post-footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    align-items: center;
    padding-top: 5px;
    border-top: 1px solid #f0f0f0;
}

.grid-post-slider .btn-detail-grid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0066ff, #00409f);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 140px;
}

/* Category Badge - CẦN THÊM vì có trong HTML */
.grid-post-slider .category-badge-grid {
    /* Thêm styles cho class này */
}

/* Post Tags Grid - CẦN THÊM vì có trong HTML */
.grid-post-slider .post-tags-grid {
    /* Thêm styles cho class này */
}

.grid-post-slider .tags-label-grid {
    /* Thêm styles cho class này */
}

.grid-post-slider .tags-container-grid {
    /* Thêm styles cho class này */
}


/* POST - trang bài viết chi tiết
========================================================================
*/

/* Meta info container */
.meta-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0px 0px;
    /* background: linear-gradient(135deg, #ffffff, #78a5e7); */
    color: #a3a3a3;
    border: none;
    /* border-radius: 25px; */
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.meta-info span{
    line-height: 25px;
}
.meta-info svg {
    fill: #a3a3a3;
    height: 1em;
    width: 12px;
}

.meta-info .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0px 0px;
    /* background: linear-gradient(135deg, #ffffff, #78a5e7); */
    color: #002b6f;
    border: none;
    /* border-radius: 25px; */
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-bottom: solid 1px rgba(0, 102, 255, 0.25);
    margin-bottom: 10px;
}

@media only screen and (min-width: 769px) and (max-width:991px){
    .main-wrap {
        display: block;
        max-width: 100%;
        padding: 0px 10px;
    }
    .main-content {
        max-width: 100%;
        width: 100%;
        padding-right: 10px;
        padding-top: 10px;
        margin-bottom: 20px;
    }
    .products article .image-box {
        position: relative;
        width: 100%;
        max-width: 330px;
        margin-right: 20px;
    }
}
@media (max-width: 768px){
    .products article{
        flex-direction: column;
    }
    .products article .image-box {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-right: 20px;
    }

    .products article .image-box img {
        width: 100%;
        height: auto;
        display: block;
        margin-bottom: 0px;
    }
}

/* mobile tối ưu */
@media (max-width: 480px) {
    .products article .cat-tag {
        font-size: 11px;
        padding: 0px 0px;
    }
}


/* SITES ---------
=================================================
*/
/* ============================================
siteS
============================================= */
/* Các style cũ giữ nguyên */
.sites{
    margin-top: 20px;
}
.site-detail .image-box{
    margin-bottom: 20px;
}



.sites .site-rating {
    margin: 5px 0;
}

.sites .star {
    color: #ddd;
    font-size: 14px;
}

.sites .star.filled {
    color: #ffc107;
}

.sites .rating-text {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

/* Style cho links */
.sites .category-link, .tag-link, .brand-link {
    color: #1976d2;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 11px;
}

.sites .category-link:hover, .tag-link:hover, .brand-link:hover {
    color: #0d47a1;
    text-decoration: underline;
}

.sites .demo-link {
    color: #1976d2;
    text-decoration: none;
    font-style: italic;
    font-size: 12px;
}

.sites .demo-link:hover {
    text-decoration: underline;
}

/* Style cho các loại tag */
.sites .site-categories, .site-tags, .site-brands, .site-origins, .site-styles {
    margin: 3px 0;
    color: #666;
    font-size: 12px;
}

.sites .origin-tag, .style-tag {
    background: #e8f5e9;
    color: #388e3c;
    padding: 1px 6px;
    border-radius: 3px;
    margin: 0 2px;
}

.sites .demos-list {
    background: #f5f5f5;
    padding: 0px;
    border-radius: 4px;
    font-size: 12px;
}

.sites .demos-list ul {
    list-style: none;
    padding-left: 6px;
    border-left: solid 3px #1976d2;
}


.sites .demos-list li {
    font-size: 12px;
    margin-bottom: 2px;
}


.sites .demos-list ul li {
    position: relative;
    padding-left: 0px;
    margin-bottom: 0px;
    line-height: 18px;
}

.sites .site-meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.sites .demo-badge, .stock-warning, .out-of-stock, .subscription-badge {
    display: inline-block;
    padding: 2px 0px;
    font-size: 11px;
    border-radius: 3px;
    font-weight: bold;
}


.sites .stock-warning {
    background: #fff3e0;
    color: #f57c00;
}

.sites .out-of-stock {
    background: #ffebee;
    color: #d32f2f;
}

.sites .subscription-badge {
    background: #e8f5e9;
    color: #388e3c;
}

.sites .price {
    font-weight: bold;
    color: #d32f2f;
    font-size: 16px;
    display: block;
    margin: 5px 0;
}
.sites .update-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.sites .new-update {
    background: linear-gradient(135deg, #ff3366, #ff6633);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 5px rgba(255, 51, 102, 0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.sites .version-badge {
    background: #1976d2;
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    align-self: flex-end;
}

/* Thông tin cập nhật */
.sites .update-info {
    background: #f0f7ff;
    border-left: 3px solid #1976d2;
    padding: 8px;
    margin: 8px 0;
    border-radius: 0 4px 4px 0;
}

.sites .update-date {
    color: #666;
    font-size: 11px;
}

.sites .changelog-preview {
    margin-top: 5px;
    color: #555;
    font-size: 11px;
    line-height: 1.4;
}

/* Badge cập nhật nhỏ */
.sites .update-badge-span {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.sites .update-badge-span i {
    font-size: 10px;
}

/* Đảm bảo article có position relative */
.sites article {
    position: relative;
    /* Các style khác giữ nguyên */
}

/* Layout */

.sites article{
    display: flex;
    align-items: flex-start;
}
.sites #heading{
    display: flex;
    justify-content: space-between;
    align-items: center; 
}


/* Styling */

.sites #heading h1 span{
    font-size: 1em;
    color: #71BC2F;
}
.sites article h2 {
    padding: 0px;
    line-height: 22px;
    font-size: 22px;
}
.sites article {
    margin-bottom: 20px;
    /* border: solid 1px #cbcbcb; */
    /* padding: 10px; */
    border-radius: 0px;
    margin-bottom: 30px;
    border-bottom: solid 1px rgba(0, 102, 255, 0.25);
    padding-bottom: 20px;
}

.sites article .image-box {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin-right: 20px;
}

.sites article .image-box img {
    width: 100%;
    height: auto;
    display: block;
}

.sites article .cat-tag{
    width: 300px;
    max-width: 100%;
    padding: 10px 0px;
}
/* link */
.sites article .cat-tag a {
    color: #000000;
    text-decoration: none;
    opacity: 1;
    margin-right: 0px;
    white-space: nowrap;
    font-size: 12px;
    line-height: 18px;
}

.sites article .cat-tag a:hover {
    opacity: 1;
    text-decoration: underline;
}

.sites article .description{
    line-height: 20px;
    font-size:14px;
}
.sites article .price span {
    font-size: 16px;
    color: #000;
}
.sites article .update-info .changelog-preview span{
    font-size: 11px;
}
.sites article .site-categories span{
    font-size: 12px;
    font-weight: bold;
}
.sites article .site-tags  span{
    font-size: 11px;
}

.sites article .btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #0066ff, #00409f);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.sites article .btn-detail:hover {
    background: linear-gradient(135deg, #00409f, #002b6f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.25);
}


.sites .title {
    font-size: 24px;
    font-weight: bold;
    line-height: normal;
}
.sites .title a{
    color: #00409f;
}
.sites .title a:hover{
    color: #000000;
}
@media only screen and (min-width: 992px){
    .sidebar-column {
        
    }
}
@media only screen and (max-width: 992px){
    .sidebar-column {
        padding: 0px;
        border-left: none;
    }
}
@media only screen and (min-width: 992px) and (max-width:1080px){
    .sites article .image-box {
        position: relative;
        width: 100%;
        max-width: 300px;
        margin-right: 20px;
    }
}
@media only screen and (min-width: 992px) and (max-width:1080px){
    .sites article .image-box {
        position: relative;
        width: 100%;
        max-width: 300px;
        margin-right: 20px;
    }
}

@media only screen and (min-width: 769px) and (max-width:991px){
    .main-wrap {
        display: block;
        max-width: 100%;
        padding: 0px 10px;
    }
    .main-content {
        max-width: 100%;
        width: 100%;
        padding-right: 0px;
        padding-top: 10px;
        margin-bottom: 20px;
    }
    .sites article .image-box {
        position: relative;
        width: 100%;
        max-width: 330px;
        margin-right: 20px;
    }
    .sidebar {
        width: 100%;
        max-width: 100%;
    }
    .sidebar-column {
        padding: 0px;
        border-left: none;
    }
}
@media (max-width: 768px){
    .main-content {
        max-width: 100%;
        width: 100%;
        padding-right: 0px;
        padding-top: 10px;
        margin-bottom: 20px;
    }
    .sidebar-column {
        padding: 0px;
        border-left: none;
    }
    .sites article{
        flex-direction: column;
    }
    .sites article .image-box {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-right: 20px;
    }

    .sites article .image-box img {
        width: 100%;
        height: auto;
        display: block;
        margin-bottom: 0px;
    }
    .sidebar {
        width: 100%;
        max-width: 100%;
    }
}

/* mobile tối ưu */
@media (max-width: 480px) {
    .sites article .cat-tag {
        font-size: 11px;
        padding: 0px 0px;
    }
}


/* ------------------
======================SITE -----------------
*/
.site-detail{
    margin-top: 30px;
}
.site-detail .description{
    margin-top: 20px;
}
.site-detail .description p{
    line-height: 26px;
}
.site-detail .description ul{
    margin-left: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}




/* ============================================
BREADCRUMBS - MINIMALIST
============================================= */
.breadcrumbs {
    padding: 8px 0;
    background: linear-gradient(135deg, #00204f 0%, #002151 100%);
    position: relative;
    overflow: hidden;
}


.breadcrumbs .content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0px;
    display: flex;
    align-items: center;
    gap: 0px;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.breadcrumbs .fa-icon{
    fill: #000;
    width: 15px;
    height: 15px;
}

.breadcrumbs a {
    color: #ffffff;
    font-weight: normal;
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.breadcrumbs a:hover {
    color: #000;
    font-weight: bold;
    transform: translateY(-1px);

}


.breadcrumbs .active {
    color: #ffffff;
    font-weight: 500;
    padding: 0px 0px;
}

@media (max-width: 1024px) {

}

@media (max-width: 768px) {
    .main-content {
        margin-top:0px;
    }
    .product .title {
        display: block;
        font-size: 20px;
        margin-block-start: 0px;
        margin-block-end: 10px;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        font-weight: bold;
        unicode-bidi: isolate;
        color: #01409b;
    }
}

@media (max-width: 640px) {
    .breadcrumbs {
        padding: 12px 0;
    }
    
    .breadcrumbs .content-wrapper {
        flex-wrap: wrap;
        gap: 3px;
        padding: 0 5px;
    }
    
}

@media (prefers-color-scheme: dark) {
    
    .breadcrumbs {
        background: linear-gradient(135deg, #d6d6d6 0%, #dadfe7 100%);
    }
    
    .breadcrumbs a {
        color: #000000;
        font-weight: normal;
    }
    
    .breadcrumbs a:hover {
        color: #000;
    }
    
    .breadcrumbs .active {
        color: #000000;
    }
}

/* Home page ----------*/
.home-product h1{
    font-size: 18px;
}
.home-product .view-all-products-container{
    text-align: right;
    margin-top: 0px;
    padding: 10px 0;
}
.home-product .btn-view-all-products{
    display: inline-block;
    padding: 10px 12px;
    background: linear-gradient(135deg, #0066ff, #00409f);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #007bff;
    line-height: 20px;
}
.home-product .btn-view-all-products:hover{
    background-color: #00409f;
}


.home-page .slider__section{
    padding: 0px;
    margin-top: 50px;
}
.home-page .slider__section .slider-title-box{
    background: #b9b9b98f;
    padding: 10px;
}
.home-page .slider__section .slider-title-box .slider-title{
    font-size: 16px;
    font-weight: bold;
    font-style: italic;
}
.home-page .splide__slide img {
    vertical-align: bottom;
}
.home-page .button-style {
  border: none;
  background: transparent;
  padding: 20px calc(24px + 1.5625vw);
}

.home-page .my-slider-progress {
  background: #ccc;
  border-radius: 6px;
}

.home-page .splide__pagination {
  padding: 25px;
}

.home-page .my-slider-progress-bar {
  background: red;
  height: 2px;
  transition: width 400ms ease;
  width: 0;
  border-radius: 6px;
}

.home-page .icon {
  font-size: clamp(1em, -0.875rem + 8.3333vw, 2em);
  color: white;
  opacity: 0.6;
}

.home-page .icon:hover {
  opacity: 1;
}

.home-page .slide__content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.home-page .image,
.home-page .overlay,
.home-page .content {
  grid-area: 1 / 1 / 2 / 2;
}

.home-page .image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .overlay {
  background: rgb(13, 13, 13);
  background: linear-gradient(
    180deg,
    rgba(13, 13, 13, 0) 0%,
    rgba(13, 13, 13, 0.24833683473389356) 25%,
    rgba(13, 13, 13, 0.49763655462184875) 50%,
    rgba(13, 13, 13, 0.7497373949579832) 75%,
    rgba(13, 13, 13, 1) 100%
  );
    border-radius: 6px 6px 0px 0px;
}

.home-page .content {
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: calc(24px + 1.5625vw);
}
.home-page .left{
    border: double 4px #fff;
    padding: 20px;
    background: #08080873;
    max-width: 100%;
}

.home-page .right a {
  text-decoration: none;
}

.home-page .type {
  font-size: clamp(1em, -0.875rem + 8.3333vw, 1.5em);
  padding-bottom: 15px;
  font-weight: 100;
}

/* Home LayOut Full
=======================================================
*/
/* Home page ----------*/
.home-layout-full .main-wrap {
    display: flex;
    max-width: 100%;
    padding: 0px 10px;
}
.home-layout-full .main-content {
    max-width: 100%;
    width: 100%;
    padding-right: 10px;
    padding-top: 10px;
    margin-bottom: 20px;
}
@media (min-width: 576px) {
    .home-layout-full .container, .home-layout-full .container-sm {
        max-width: 1280px !important;
        width: 100%;
        margin: 0 auto;
    }
}

.home-product .view-all-products-container{
    text-align: right;
    margin-top: 0px;
    padding: 10px 0;
}
.home-product .btn-view-all-products{
    display: inline-block;
    padding: 10px 12px;
    background: linear-gradient(135deg, #0066ff, #00409f);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #007bff;
    line-height: 20px;
}
.home-product .btn-view-all-products:hover{
    background-color: #00409f;
}


.home-layout-full .slider__section{
    padding: 0px;
}
.home-layout-full .slider__section .slider-title-box{
    background: #b9b9b98f;
    padding: 10px;
}
.home-layout-full .slider__section .slider-title-box .slider-title{
    font-size: 16px;
    font-weight: bold;
    font-style: italic;
}
.home-layout-full .splide__slide img {
    vertical-align: bottom;
}
.home-layout-full .button-style {
  border: none;
  background: transparent;
  padding: 20px calc(24px + 1.5625vw);
}

.home-layout-full .my-slider-progress {
  background: #ccc;
  border-radius: 6px;
}

.home-layout-full .splide__pagination {
  padding: 25px;
}

.home-layout-full .my-slider-progress-bar {
  background: red;
  height: 2px;
  transition: width 400ms ease;
  width: 0;
  border-radius: 6px;
}

.home-layout-full .icon {
  font-size: clamp(1em, -0.875rem + 8.3333vw, 2em);
  color: white;
  opacity: 0.6;
}

.home-layout-full .icon:hover {
  opacity: 1;
}

.home-layout-full .slide__content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.home-layout-full .image,
.home-layout-full .overlay,
.home-layout-full .content {
  grid-area: 1 / 1 / 2 / 2;
}

.home-layout-full .image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-layout-full .overlay {
  background: rgb(13, 13, 13);
  background: linear-gradient(
    180deg,
    rgba(13, 13, 13, 0) 0%,
    rgba(13, 13, 13, 0.24833683473389356) 25%,
    rgba(13, 13, 13, 0.49763655462184875) 50%,
    rgba(13, 13, 13, 0.7497373949579832) 75%,
    rgba(13, 13, 13, 1) 100%
  );
    border-radius: 6px 6px 0px 0px;
}

.home-layout-full .content {
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: calc(24px + 1.5625vw);
}
.home-layout-full .left{
    border: double 4px #fff;
    padding: 20px;
    background: #08080873;
    max-width: 100%;
}

.home-layout-full .right a {
  text-decoration: none;
}

.home-layout-full .type {
  font-size: clamp(1em, -0.875rem + 8.3333vw, 1.5em);
  padding-bottom: 15px;
  font-weight: 100;
}

.about-section .section-header .section-subtitle {
    font-size: 26px;
    color: #00409f;
    max-width: max-content;
    margin: 25px auto 0;
    line-height: 1.6;
    font-style: italic;
    padding: 10px 37px;
    border-radius: 35px;
    background: linear-gradient(135deg, #f4f9ff, #5b9dff);
}

/* ============================================================
   SLIDER CÔNG NGHỆ - WebSieutoc (tiền tố ws-)
   ============================================================ */

/* ----- RESET cục bộ ----- */
.ws-slider-wrapper * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 
   👉 Container chính – bạn có thể set chiều cao theo ý muốn
   Mặc định chiều cao tự động theo nội dung (min-height: 500px)
   Nếu muốn full màn hình, thêm height: 100vh (nhưng không khuyến khích)
*/
.ws-slider-wrapper {
  position: relative;
  width: 100%;
  min-height: 500px;          
  background: #000000;
  overflow: hidden;          
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #fff;
  border-radius: 0;           
  /* Nếu muốn giới hạn chiều cao tối đa: */
  /* max-height: 900px;       */
}

/* ----- CONTAINER các slide (dạng flex) ----- */
.ws-slider-container {
  display: flex;
  width: 100%;
  height: 100%;               /* tự động theo wrapper */
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* ----- Mỗi slide ----- */
.ws-slide {
  flex: 0 0 100%;
  height: 100%;              /* chiều cao bằng container */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0px 5% 0px;    /* padding dưới để chừa chỗ cho controls */
  background: #000000;
  overflow: hidden;
}

/* (giữ nguyên hiệu ứng nền động & grid như cũ) */
.ws-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.15;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0, 200, 255, 0.3) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(100, 0, 255, 0.2) 0%, transparent 60%),
    repeating-linear-gradient(45deg,
      transparent,
      transparent 40px,
      rgba(0, 200, 255, 0.03) 40px,
      rgba(0, 200, 255, 0.03) 41px),
    repeating-linear-gradient(-45deg,
      transparent,
      transparent 40px,
      rgba(100, 0, 255, 0.03) 40px,
      rgba(100, 0, 255, 0.03) 41px);
  pointer-events: none;
}

.ws-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ----- Nội dung slide ----- */
.ws-slide-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.ws-slide.ws-active .ws-slide-content {
  opacity: 1;
  transform: translateY(0);
}

/* ----- TEXT bên trái ----- */
.ws-slide-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ws-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 200, 255, 0.12);
  border: 1px solid rgba(0, 200, 255, 0.25);
  border-radius: 100px;
  padding: 6px 20px 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #00e5ff;
  width: fit-content;
  backdrop-filter: blur(4px);
}

.ws-slide-badge i {
  font-size: 0.9rem;
}

.ws-slide-title {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #71bc2f;
  font-family: serif;
}

.ws-highlight {
  background: linear-gradient(135deg, #00e5ff, #a855f7, #00e5ff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ws-gradShift 4s ease-in-out infinite;
  font-family: monospace;;
}

@keyframes ws-gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.ws-slide-desc {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 520px;
}

.ws-slide-desc strong {
  color: #fff;
  font-weight: 600;
}

/* ----- NÚT ----- */
.ws-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.ws-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #00c8ff, #7c3aed);
  border: none;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.25);
  letter-spacing: 0.3px;
}

.ws-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 50px rgba(0, 200, 255, 0.45);
}

.ws-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(4px);
}

.ws-btn-secondary:hover {
  border-color: #00e5ff;
  background: rgba(0, 200, 255, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.1);
}

/* ----- VISUAL bên phải ----- */
.ws-slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ws-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ws-tech-orb {
  width: 80%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 200, 255, 0.2), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(0, 200, 255, 0.15);
  box-shadow: 0 0 80px rgba(0, 200, 255, 0.08), inset 0 0 80px rgba(0, 200, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ws-floatOrb 6s ease-in-out infinite;
  position: relative;
}

.ws-icon-big {
  font-size: clamp(5rem, 12vw, 9rem);
  color: rgba(0, 200, 255, 0.3);
  text-shadow: 0 0 60px rgba(0, 200, 255, 0.15);
  animation: ws-pulseIcon 3s ease-in-out infinite;
}

@keyframes ws-floatOrb {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-18px); }
}

@keyframes ws-pulseIcon {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Vòng tròn quỹ đạo */
.ws-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 200, 255, 0.08);
  animation: ws-spinRing 20s linear infinite;
}

.ws-orbit-ring:nth-child(1) {
  width: 130%;
  height: 130%;
  animation-duration: 25s;
}
.ws-orbit-ring:nth-child(2) {
  width: 160%;
  height: 160%;
  animation-duration: 35s;
  animation-direction: reverse;
}
.ws-orbit-ring:nth-child(3) {
  width: 190%;
  height: 190%;
  animation-duration: 45s;
}

@keyframes ws-spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ws-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 20px #00e5ff;
  opacity: 0.4;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.ws-orbit-ring:nth-child(2) .ws-dot {
  background: #a855f7;
  box-shadow: 0 0 20px #a855f7;
  opacity: 0.3;
  width: 6px;
  height: 6px;
  top: -3px;
}

.ws-orbit-ring:nth-child(3) .ws-dot {
  background: #f59e0b;
  box-shadow: 0 0 20px #f59e0b;
  opacity: 0.25;
  width: 10px;
  height: 10px;
  top: -5px;
}

/* ----- MÀU SẮC RIÊNG CHO TỪNG SLIDE ----- */
.ws-slide:nth-child(2) .ws-tech-orb {
  background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.2), rgba(0, 200, 255, 0.05));
  border-color: rgba(168, 85, 247, 0.2);
}
.ws-slide:nth-child(2) .ws-slide-badge {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.25);
  color: #c084fc;
}
.ws-slide:nth-child(2) .ws-btn-primary {
    background: linear-gradient(135deg, #0042fb, #518f00);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.25);
}
.ws-slide:nth-child(2) .ws-btn-primary:hover {
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.45);
}
.ws-slide:nth-child(2) .ws-highlight {

}

.ws-slide:nth-child(3) .ws-tech-orb {
  background: radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.2), rgba(0, 200, 255, 0.05));
  border-color: rgba(245, 158, 11, 0.2);
}
.ws-slide:nth-child(3) .ws-slide-badge {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
}
.ws-slide:nth-child(3) .ws-btn-primary {

}
.ws-slide:nth-child(3) .ws-btn-primary:hover {

}
.ws-slide:nth-child(3) .ws-highlight {

}

/* ===== ĐIỀU KHIỂN (nằm trong luồng, không absolute) ===== */
.ws-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px 8px;
    margin: 0 auto 5px;
    background: rgba(10, 14, 23, 0.7);
    backdrop-filter: blur(16px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    width: fit-content;
    max-width: 90%;
    position: relative;
    z-index: 10;
}

/* Đảm bảo controls luôn ở cuối slider */
.ws-slider-wrapper {
  display: flex;
  flex-direction: column;
}
.ws-slider-container {
  flex: 1 0 auto;
}
.ws-slider-controls {
  flex-shrink: 0;
}

.ws-dots {
  display: flex;
  gap: 12px;
}

.ws-dot-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
}

.ws-dot-btn.ws-active {
  background: #00e5ff;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.5);
  transform: scale(1.2);
}

.ws-dot-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}
.ws-dot-btn.ws-active:hover {
  background: #00e5ff;
}

.ws-arrow-btn {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ws-arrow-btn:hover {
  background: rgba(0, 200, 255, 0.12);
  border-color: rgba(0, 200, 255, 0.3);
  transform: scale(1.05);
}
.ws-arrow-btn:active {
  transform: scale(0.95);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .ws-slide-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .ws-slide-text {
    align-items: center;
  }
  .ws-slide-desc {
    max-width: 100%;
  }
  .ws-slide-actions {
    justify-content: center;
  }
  .ws-visual-wrapper {
    max-width: 300px;
  }
  .ws-slide-title {
    font-size: clamp(2rem, 6vw, 3.2rem);
  }
  .ws-slider-controls {
    gap: 20px;
    padding: 12px 20px;
  }
}

@media (max-width: 600px) {
  .ws-slide {
    padding: 40px 4% 80px;
  }
  .ws-slide-title {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }
  .ws-slide-desc {
    font-size: 0.95rem;
  }
  .ws-btn-primary,
  .ws-btn-secondary {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  .ws-slider-controls {
    gap: 5px;
    padding: 4px 7px;
  }
  .ws-dot-btn {
    width: 10px;
    height: 10px;
  }
    .ws-arrow-btn {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
  .ws-visual-wrapper {
    max-width: 200px;
  }
  .ws-icon-big {
    font-size: 4rem;
  }
}

@media (max-width: 420px) {
  .ws-slider-controls {
    gap: 5px;
    padding: 5px 7px;
  }
  .ws-dot-btn {
    width: 4px;
    height: 4px;
  }
  .ws-arrow-btn {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .ws-slide-actions {
    flex-direction: column;
    align-items: center;
  }
  .ws-slide-actions .ws-btn-primary,
  .ws-slide-actions .ws-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}


/* CATEGORY PRODUCT--------------------------------- */
@media (min-width:768px){
    .category-product{
        margin-top: 20px;
    }
    .category-product .category-product-deltail {
        display: grid;
        grid-template-columns: 250px 1fr;
        gap: 20px;
        align-items: start;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        border-bottom: solid 1px #04909f;
        padding: 10px;
        background: #d8d8d8;
    }
}
@media (max-width:767px){
    .category-product{
        margin-top: 0px;
    }
    
    .category-product .category-product-deltail {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: start;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        border-bottom: solid 1px #04909f;
        padding: 10px;
        background: #d8d8d8;
    }
}


.category-product .category-product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-product .category-product-image img:hover {
  transform: scale(1);
}

.category-product .category-product-description {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.category-product .category-product-description p {
  margin-bottom: 1em;
}

/* Responsive: màn hình nhỏ thì xếp 1 cột */
@media (max-width: 768px) {
    .category-product .category-product-deltail {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .category-product .category-product-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* PRODUCT CHANGE LOG -----------------------------------------------------*/
.product .changelog-heading {
    padding: 10px;
    background: linear-gradient(135deg, #0066ff, #00409f);
    max-width: max-content;
    margin-top: 10px;
    color: #fff;
    font-weight: bold;
    border-radius: 2px 2px 0px 0px;
}
.product .changelog{
    border: solid 1px #cbcbcb;
    padding: 10px;
    border-radius: 3px;
}
.product .changelog ul, .changelog li{
    margin-left: 20px;
}
.product .changelog-heading h2{
    font-size: 24px;
}

/* -DEMO -------------------------------------------------*/
.product .demo-heading {
    padding: 10px;
    max-width: max-content;
    margin-top: 10px;
    color: #fff;
    font-weight: bold;
    border-radius: 6px 6px 0px 0px;
    background: linear-gradient(135deg, #0066ff, #00409f);
}
.product .demolist{
    border: solid 1px #cbcbcb;
    padding: 10px;
    border-radius: 3px;
}
.product .demo-item{
    border: solid 1px #cbcbcb;
    padding: 10px;
    margin-bottom: 10px;
}
.product .demo-desc {
    color: #000;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.product .demo-item a {
    display: inline-block;
    padding: 8px 7px;
    background: #0686c1;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
    height: 32px;
    right: 0px;
    border-radius: 0px;
}

.product .demo-item a:hover {
    background: #0056b3;
}
.product .demo-item .demobox p{
    font-size: 14px;
    font-weight: bold;
}

.product .demo-item .input-wrap {
    position: relative;
    width: 100%;
}

.product .demo-url {
    width: 100%;
    padding: 10px 111px 7px 10px;
    border-radius: 3px;
    border: 1px solid #cbcbcb;
    box-shadow: none;
}

.product .btn-detail {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    height: 26px;
    padding: 0 10px;
    border: none;
    border-radius: 3px;
    background: #0066ff;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
}

.product .btn-detail:hover {
    background: #004ed9;
}

/* ---------------------------------------------------
    SIDEBAR
----------------------------------------------------- */
.sidebar{
    margin-top: 0px;
    margin-bottom: 30px;
}
.sidebar .news-posts{
    padding: 20px;
    margin-top: 15px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
}
.sidebar .news-posts h3 .news-posts-title{
    font-size: 18px;
}
.sidebar-column .news-item p {
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    color: #000;
    line-height: 20px;
}
.sidebar .news-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    /* padding: 10px; */
    /* border: 1px solid #095edf; */
    /* border-radius: 10px; */
    max-width: 100%;
}

/* Khóa vùng chứa ảnh ở đúng 100x100 */ 
.sidebar .news-item .news-item-img {
    width: 70px;
    min-width: 70px;
    height: 70px;
    flex: 0 0 70px;
    overflow: hidden;
    border-radius: 7px;
}
/* Ảnh luôn phủ đầy vùng 100x100 */ 
.sidebar .news-item .news-item-img img { 
    display: block; 
    width: 100%; 
    height: 100%; 
    max-width: none; 
    object-fit: cover; } 
/* Phần nội dung chiếm không gian còn lại */ 
.sidebar .news-item .news-item-img + div { 
    flex: 1; 
    min-width: 0; } 
.sidebar-column .news-item p { 
    margin: 0; 
    font-size: 14px; 
    font-weight: normal; 
    color: #000; 
    line-height: 20px; } 

.sidebar .news-item p:hover { 
    color: #58acff; 
    
}
.sidebar .news-item {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.sidebar .news-item img {
}

.sidebar .news-item p:hover {
    color: #58acff;
}
.sidebar.news-item span {
  font-size: 12px;
  color: #646464;
  margin-top: 5px;
  display: block;
}
@media (min-width: 992px){
    .sidebar {
        margin-top: 0px;
        width: 100%;
        max-width: 280px;
    }
    .main-wrap {
        display: flex;
        align-items: flex-start;
    }
}
@media (max-width: 991px){
    .sidebar {
        margin-top: 0px;
        width: 100%;
        max-width: 100%;
    }
    .main-wrap {
        display: block;
        align-items: flex-start;
    }
}


@media (min-width: 576px) {
    .container, .container-sm {
        max-width: 1280px !important;
        width: 100%;
        margin: 0 auto;
    }
}
/* FORM ELEMENT ======================================
========CONTACT FORM ====================
*/

/* Wrapper của input + icon */
.form-element {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s, background 0.3s;
}

.form-element:hover {
    background: #ffffff;
}

.form-element:focus-within {
    border-color: #ff8300;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12);
}

/* Icon bên trong */
.form-element i {
    flex-shrink: 0;
    width: 44px;
    text-align: center;
    color: #888;
    font-size: 18px;
    transition: color 0.3s;
}

.form-element:focus-within i {
    color: #ff8300;
}

.form-element i.active {
    color: #ff8300;
}

/* Input, textarea */
.form-element input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: var(--text-light);
    outline: none;
    font-family: inherit;
    min-height: 36px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Roboto';
}

.form-element textarea {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 14px 12px 12px;
    font-size: 15px;
    color: #222;
    outline: none;
    font-family: inherit;
    min-height: 48px;
    width: 100%;
    box-sizing: border-box;
}

.form-element textarea {
    min-height: 60px;
    resize: vertical;
    padding-top: 12px;
}

/* Khi textarea lớn hơn */
.form-element.size-xl textarea {
    min-height: 60px;
}

/* Placeholder */
.form-element input::placeholder,
.form-element textarea::placeholder {
    color: #aaa;
    font-weight: 400;
}

/* Trạng thái lỗi */
.form-element.error {
    
}

.form-element.error:focus-within {
    
}

.form-element.error i {
    color: #dc3545;
}

/* Thông báo lỗi validation (hiển thị dưới form-element) */
.validation-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 0;
    font-weight: 500;
    padding-left: 4px;
}

/* Container hiển thị lỗi chung (dành cho server errors) */
.errors {
    color: #dc3545;
    background: #fff0f0;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 12px;
    font-size: 14px;
    border-left: 4px solid #dc3545;
    display: none;
}

.errors:not(:empty) {
    display: block;
}

/* Nút submit */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.25s, transform 0.1s, box-shadow 0.2s;
    letter-spacing: 0.4px;
    min-width: 160px;
}

.btn:hover {
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.4);
    transform: translateY(-1px);
}

.btn:active {
    transform: scale(0.97);
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn i.fa-spinner {
    margin-right: 8px;
}

.btn-submit{
    background: var(--btn-submit);
    color: #fff;
    max-width: 130px;
    border: solid 2px #a4a4a4;
}
.btn-submit:hover{
    background: var(--btn-submit-hover);
}
/* ===== MESSAGE SUCCESS ===== */
.success {
    background: #d4edda;
    border-left: 5px solid #28a745;
    padding: 20px 25px;
    border-radius: 8px;
    color: #155724;
    font-size: 16px;
}

.success h2 {
    margin: 0 0 8px 0;
    color: #155724;
    font-size: 24px;
}

.success p {
    margin: 6px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .contact-form-orders {
        padding: 20px 16px 30px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    }

    .form-element input {
        font-size: 14px;
        padding: 10px 10px 10px 0;
        min-height: 36px;
    }
    .form-element textarea {
        font-size: 14px;
        padding: 10px 12px 10px 10px;
        min-height: 42px;
    }

    .form-element i {
        width: 36px;
        font-size: 16px;
    }

    .btn {
        width: 100%;
        padding: 12px 0px;
        font-size: 15px;
        min-width: unset;
    }

    .col-12.pad-r-2 {
        padding-right: 0;
    }

    .pad-y-2 {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .validation-error {
        font-size: 12px;
    }
}

/* ===== DARK MODE (tuỳ chọn) ===== */
@media (prefers-color-scheme: dark) {
    .contact-form-orders {
        background: var(--background-light);
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }

    .contact-form-orders label {
        color: var(--text-light);
        font-weight: bold;
    }

    .contact-form-orders > p:first-of-type {
        color: var(--text-light);
        border-bottom-color: #333;
    }

    .form-element {
        background: var(--background-light);
        border-color: var(--border);
    }

    .form-element:hover {
        background: var(--background-light-hover);
    }

    .form-element:focus-within {
        border-color: #ff8300;
        background: var(--background-light-hover);
        box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
    }

    .form-element input,
    .form-element textarea {
        color: #ffffff;
    }

    .form-element input::placeholder,
    .form-element textarea::placeholder {
        color: #888;
    }

    .form-element i {
        color: #999;
    }

    .form-element:focus-within i {
        color: #ff8300;
    }

    .form-element.error {
        
    }

    .validation-error {
        color: #f5a0a0;
    }

    .errors {
        background: #3a1a1a;
        color: #f5a0a0;
        border-left-color: #dc3545;
    }

    .success {
        background: #1a3a1a;
        color: #a0d4a0;
        border-left-color: #28a745;
    }

    .success h2 {
        color: #a0d4a0;
    }

    .btn {
        
    }
}



/*--END SIDEBAR */
/* FOOTER -------------------------------------- */
.footer {
    background: #000;
    color: #ffffff;
    padding: 0px;
}
.footer-container {
  max-width: 1290px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
.footer-column {
  flex: 1 1 200px;
}
.footer .logo img {
  max-width: 180px;
  margin-bottom: 0px;
}
.footer .footer-column .company-slogan {
    padding: 10px;
    margin: 10px 0px;
    color: #ffbd03;
    border-radius: 3px;
    font-style: italic;
    font-size: 26px;
    font-family: auto;
    border: solid 2px #ffbd03;
}
.footer .footer-column .company-descriptio{
    
}
.footer-column h5 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px;
}
.footer-column p {
  font-size: 16px;
  line-height: 1.6;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column ul li {
    margin-bottom: 10px;
    padding: 5px 0px;
}
.footer-column ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
  line-height: 24px;
}
.footer-column ul li a:hover {
  color: #58acff;
}

.copyRightArea {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 20px;
}
.copyRightArea p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
}
/*
PRODUCT BOX FORM – 2 CỘT LỚN
================================ */

/* ===============================
   CỘT PHẢI – FORM
================================ */

.footer-column {
    padding: 15px;
    color: #ddd;
    font-family: Arial, sans-serif;
}

.footer-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #fff;
    text-transform: uppercase;
    border-bottom: 2px solid #3c3c3c3c;
    padding-bottom: 6px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-link-item:hover {
    transform: translateX(4px);
}

.footer-link-item .fa-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: #facc15; /* vàng nhạt */
    flex-shrink: 0;
}

.footer-link {
    text-decoration: none;
    color: #ddd;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #fff;
}

.no-posts {
    font-size: 14px;
    color: #aaa;
    font-style: italic;
}
/* -----------------------------------------------------------
=========== CTA BUTTON =========================================
*/
/* Vùng chính chứa nút */
#cta-main-div {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}

#cta-main-div img{
    max-width: 70%;
    height: auto;
}

/* Nút chính */
#main-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 55px;
  width: 55px;
  font-size: 22px;
  color: #0064f3;
  background-color: #fff;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

#main-button:hover {
  transform: rotate(20deg) scale(1.05);
}

/* Các nút con */
.fab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 50px;
  width: 50px;
  font-size: 18px;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  text-decoration: none;
  opacity: 0;
  z-index: -1;
  transition: all .3s ease;
}

/* Khi mở menu */
#main-button.open ~ .fab-btn {
  opacity: 1;
  z-index: 1;
}

/* Vị trí khi mở */
#main-button.open ~ .fab-btn:nth-of-type(1) {
  bottom: 70px;
}
#main-button.open ~ .fab-btn:nth-of-type(2) {
  bottom: 130px;
}
#main-button.open ~ .fab-btn:nth-of-type(3) {
  bottom: 190px;
}
#main-button.open ~ .fab-btn:nth-of-type(4) {
  bottom: 250px;
}

/* Màu riêng cho từng nút */
.phone-color { background: linear-gradient(45deg, #1ecc8c, #13a06a); }
.signup-color { background: linear-gradient(45deg, #ff9800, #ff5722); }
.facebook-color { background: linear-gradient(45deg, #3b5998, #2196f3); }
.zalo-color { background: linear-gradient(45deg, #0068ff, #00c6ff); }

/* Hiệu ứng wave cho nút chính */
.wave {
  animation: wave 1s linear infinite;
}
@keyframes wave {
  0% { box-shadow: 0 0 0px 0px rgba(0,100,243,.5); }
  100% { box-shadow: 0 0 0px 15px rgba(0,100,243,0); }
}


/* 
=========================================================================
Phân trang 
========================================
*/
.pagination-container {
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 5px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-link {
    display: inline-block;
    padding: 8px 15px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

.page-link:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.page-link.current {
    background: #007bff;
    color: white;
    border-color: #007bff;
    font-weight: bold;
}

.page-link.prev,
.page-link.next {
    padding: 8px 20px;
}

.page-dots {
    padding: 8px 5px;
    color: #666;
}

.pagination-info {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .pagination {
        gap: 3px;
    }
    
    .page-link {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 35px;
    }
    
    .page-link.prev,
    .page-link.next {
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .page-link {
        padding: 5px 8px;
        font-size: 12px;
        min-width: 30px;
    }
    
    .page-link.prev,
    .page-link.next {
        padding: 5px 10px;
        font-size: 11px;
    }
}


/* =========== 
*/

/* ----- Ô TÌM KIẾM ----- */
/* ===== HEADER SEARCH ===== */
.header-search {
  position: relative;
  flex: 1;
  max-width: 450px;
    margin: auto;
    width: 100%;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

/* Input tìm kiếm */
.search-input {
  width: 100%;
    padding: 4px 45px 4px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  font-size: 18px;
  outline: none;
  transition: all 0.3s ease;
  background: #f7fafc;
  color: #2d3748;
}

.search-input::placeholder {
  color: #a0aec0;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: #71bc2f;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.15);
}

.search-input:focus::placeholder {
  color: #cbd5e0;
  transform: translateX(5px);
  opacity: 0.7;
}

.search-input:hover {
  background: #ffffff;
}

/* Nút tìm kiếm */
.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    border: none;
    width: 30px;
    height: 29px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    background: none;
}
.search-btn:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 15px rgba(66, 153, 225, 0.4);
  color: #000;
}

.search-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.search-btn i {
  font-size: 14px;
}

/* ============================================================
   TOP KEYWORDS SUGGESTION STYLES
   ============================================================ */

/* Container chính - ẩn mặc định, hiện khi có class .show */
.search-keyword-suggestions,
.mobile-keyword-suggestions {
    display: none;
    position: absolute;
    top: 100%;                  /* nằm ngay dưới ô input */
    left: 0;
    right: 0;
    z-index: 999;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 12px 16px;
    margin-top: 2px;
    max-height: 320px;
    overflow-y: auto;
    animation: fadeInDown 0.2s ease-out;
}

/* Khi hiển thị */
.search-keyword-suggestions.show,
.mobile-keyword-suggestions.show {
    display: block;
}

/* Nhãn tiêu đề */
.keyword-suggestion-label,
.mobile-keyword-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 10px;
}

.keyword-suggestion-label i,
.mobile-keyword-title i {
    color: #ff6b35; /* màu cam nổi bật cho icon fire */
    font-size: 16px;
}

/* Danh sách các từ khóa */
.keyword-suggestion-list,
.mobile-keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Mỗi từ khóa là một button */
.top-keyword-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #f5f7fa;
    border: 1px solid #e8ecf1;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-weight: 500;
    line-height: 1.4;
}

.top-keyword-item:hover {
    background: #eef2f7;
    border-color: #d0d7e3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.top-keyword-item:active {
    transform: scale(0.96);
    background: #e2e8f0;
}

/* Mobile: điều chỉnh kích thước và padding */
.mobile-keyword-suggestions .top-keyword-item {
    padding: 8px 16px;
    font-size: 15px;
    border-radius: 24px;
    background: #f0f2f5;
}

/* Custom scroll cho danh sách dài */
.search-keyword-suggestions::-webkit-scrollbar,
.mobile-keyword-suggestions::-webkit-scrollbar {
    width: 6px;
}
.search-keyword-suggestions::-webkit-scrollbar-track,
.mobile-keyword-suggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.search-keyword-suggestions::-webkit-scrollbar-thumb,
.mobile-keyword-suggestions::-webkit-scrollbar-thumb {
    background: #c1c7d0;
    border-radius: 4px;
}
.search-keyword-suggestions::-webkit-scrollbar-thumb:hover,
.mobile-keyword-suggestions::-webkit-scrollbar-thumb:hover {
    background: #a8b0ba;
}

/* Animation hiện mượt mà */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   RESPONSIVE: Ẩn top keywords khi trên mobile?
   (Tùy chỉnh theo nhu cầu)
   ============================================================ */
@media (max-width: 768px) {
    .search-keyword-suggestions {
        left: 10px;
        right: 10px;
        border-radius: 8px;
        margin-top: 4px;
    }
}

/* ===== KẾT QUẢ TÌM KIẾM ===== */
.search-group{
    border-bottom: solid #a4a4a4 1px;
    margin-bottom: 10px;
}
.search-group-title{
    line-height: 40px;
}

.search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
  padding: 8px 0;
}

.search-results.active {
  display: block;
  animation: slideDown 0.25s ease;
}

/* Scrollbar cho kết quả */
.search-results::-webkit-scrollbar {
  width: 6px;
}

.search-results::-webkit-scrollbar-track {
  background: #f7fafc;
  border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}


/* Item kết quả */
.search-result-item {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 12px;
  color: #2d3748;
  text-decoration: none;
}

.search-result-item:hover {
  background: #f7fafc;
}

.search-result-item:active {
  background: #edf2f7;
}

.search-result-item img {
    width: 70px;
    height: 70px;
    border-radius: 3px;
    object-fit: cover;
    flex-shrink: 0;
}

.result-item .result-title{
    font-size: 18px;
}

.result-item .result-content .result-item .description{
    font-size: 18px;
}

.search-result-item .info {
  flex: 1;
  min-width: 0;
}

.search-result-item .name {
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-item .price {
    font-size: 13px;
    color: #4299e1;
    font-weight: 600;
}

.search-result-item .category {
    font-size: 12px;
    color: #a0aec0;
}

/* Highlight từ khóa trong kết quả */
.search-result-item .highlight {
  background: #ebf8ff;
  color: #2b6cb0;
  padding: 0 2px;
  border-radius: 2px;
}

/* Trạng thái loading */
.search-loading {
  padding: 20px;
  text-align: center;
  color: #a0aec0;
  font-size: 14px;
}

.search-loading i {
  animation: spin 1s linear infinite;
  margin-right: 8px;
}

/* Không có kết quả */
.search-no-result {
  padding: 20px;
  text-align: center;
  color: #a0aec0;
  font-size: 14px;
}

.search-no-result i {
  font-size: 30px;
  display: block;
  margin-bottom: 10px;
  color: #e2e8f0;
}

.result-desc{
    font-size: 14px;
}

/* ===== ANIMATION ===== */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-search {
    max-width: 100%;
    margin: 10px 0;
    order: 3;
    flex-basis: 100%;
  }
  
  .search-input {
    padding: 10px 45px 10px 16px;
    font-size: 14px;
  }
  
  .search-btn {
    width: 34px;
    height: 34px;
    font-size: 13px;
    right: 4px;
  }
  
  .search-results {
    max-height: 300px;
  }
  
  .search-result-item {
    padding: 8px 14px;
  }
  
  .search-result-item .name {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .search-input {
    padding: 8px 40px 8px 14px;
    font-size: 13px;
    border-radius: 30px;
  }
  
  .search-btn {
    width: 30px;
    height: 30px;
    font-size: 12px;
    right: 3px;
  }
  
  .search-btn i {
    font-size: 12px;
  }
}

/* Dropdown kết quả gợi ý */
.search-results {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 1001;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    border: 1px solid var(--border);
}

.search-results.show {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover,
.search-result-item.active {
    background: var(--light-bg);
}

.result-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 3px;
}

.result-info {
    flex: 1;
}

.result-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    font-size: 15px;
}

.result-price {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
}

.search-no-result {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
}

/* SEARCH MOBILE ==============
*/

/* ============================================
   MOBILE SEARCH OVERLAY (trượt từ phải)
   ============================================ */
.mobile-search-icon {
    display: none !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border-radius: 50%;
    color: #c6c6c6;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 20px;
    
}
#mobile-search-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#mobile-search-overlay.active {
    transform: translateX(0);
}

/* Header overlay */
.mobile-search-header {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #000;
}

.close-search {
    width: 108px;
    height: 36px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
    cursor: pointer;
    border-radius: 25px;
    transition: background 0.2s;
    border: none;
    display: flex;
    gap: 10px;
    background: #5b5b5b;
    border: solid 2px #c8c8c8;
}

.close-search:hover {
    background: #edf2f7;
}

.close-search:active {
    transform: scale(0.9);
}

/* Form tìm kiếm */
.mobile-search-form {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
    background: #f7fafc;
    color: #2d3748;
}

.mobile-search-input:focus {
    border-color: #4299e1;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.15);
}

.mobile-search-btn {
    background: #4299e1;
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-search-btn:hover {
    background: #3182ce;
}

.mobile-search-btn:active {
    transform: scale(0.95);
}
/* ======SEARCH PAGE ============================
=========================================
===============*/
.seach-page{
    
}
.search-form-box .btn-detail{
    border: solid 2px #0057ad;
    border-radius: 25px;
    margin-left: 10px;
    width: 125px;
    height: 37px;
    background: #0062c2;
    color: #fff;
}

.search-form-box{
    max-width: 550px;
    margin: 30px auto;
}
.search-results-grid{
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.search-results-grid .result-item{
    border: solid 2px #e2e8f0;
    border-radius: 10px;
}
.search-results-grid .result-item .image-box img{
    border-radius: 7px 7px 0px 0px;
}

.search-results-grid .result-item .result-content{
    padding: 15px;
}
/* Từ khóa phổ biến */
.popular-keywords {
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.popular-title {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.popular-title i {
    color: #f56565;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popular-tag {
    background: #edf2f7;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #2d3748;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
    border: 1px solid transparent;
}

.popular-tag:hover {
    background: #e2e8f0;
}

.popular-tag:active {
    transform: scale(0.95);
    background: #cbd5e0;
}

/* Kết quả tìm kiếm trên mobile */
.mobile-search-results {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
    background: #ffffff;
    display: none; /* ẩn mặc định, hiện khi có kết quả */
}

.mobile-search-results.show {
    display: block;
}

/* Item kết quả mobile */
.mobile-search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    gap: 14px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f0f4f8;
}

.mobile-search-result-item:last-child {
    border-bottom: none;
}

.mobile-search-result-item:hover,
.mobile-search-result-item:active {
    background: #f7fafc;
}

.mobile-result-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #edf2f7;
}

.mobile-result-info {
    flex: 1;
    min-width: 0;
}

.mobile-result-name {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-result-desc {
    font-size: 13px;
    color: #718096;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-result-price {
    font-size: 14px;
    font-weight: 700;
    color: #4299e1;
    margin-top: 2px;
}

.mobile-result-price .old-price {
    font-size: 12px;
    font-weight: 400;
    color: #a0aec0;
    text-decoration: line-through;
    margin-left: 6px;
}

/* Badge loại (nếu có) */
.result-item .badge {
    background: #ebf8ff;
    color: #0062c2;
    line-height: 40px;
    padding: 5px 15px;
    border-radius: 25px;
    margin-left: 0px;
}

/* Loading và no-result trên mobile */
.mobile-search-results .search-loading,
.mobile-search-results .search-no-result {
    padding: 40px 20px;
    text-align: center;
    color: #a0aec0;
    font-size: 15px;
}

.mobile-search-results .search-loading i {
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}

/* Ẩn phần từ khóa phổ biến khi đang tìm kiếm */
.popular-keywords.hidden {
    display: none;
}

/* Tùy chỉnh scroll */
#mobile-search-overlay::-webkit-scrollbar {
    width: 4px;
}
#mobile-search-overlay::-webkit-scrollbar-track {
    background: #f7fafc;
}
#mobile-search-overlay::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}
@media screen and (max-width: 992px){
    .mobile-search-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: none;
        border-radius: 50%;
        color: #c6c6c6;
        cursor: pointer;
        transition: all 0.2s;
        font-size: 20px;
        
    }
    .search-keyword-suggestions,
    .mobile-keyword-suggestions {
        display: none;
        position: static;
        top: auto;                  /* nằm ngay dưới ô input */
        left: 0;
        right: 0;
        z-index: 999;
        background: #ffffff;
        border: 1px solid #e0e0e0;
        border-top: none;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        padding: 12px 16px;
        margin-top: 2px;
        max-height: 320px;
        overflow-y: auto;
        animation: fadeInDown 0.2s ease-out;
    }
}