/* 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: 10px;
}

body {
    position: relative;
    min-height: 100%;
    color: #000000;
    margin: 0;
    background: #49a504;
    height: 100%;
}
main, .main{
    margin: 0 auto;
    box-shadow: 0px 0px 5px 1px #202020;
    background: #ffffff;
}
a {
    text-decoration: none !important;
}
a:hover {
    color: #000;
    text-decoration: none !important;
}
p {
    font-size: 16px;
    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{

}
li{
    
}

h1, h2, h3, h4, h5 {
  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;
}
.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;
}



/* header được load trước*/
/* FONT AWESOME --------------*/
.fa-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: -0.125em;
    fill: currentColor;
}
/* HEADER ---------------- */
nav {
    display: block;
    unicode-bidi: isolate;
}

/* MAIN HEADER -----------------------------*/
.main-header {
    background: #ffffff;
    height: 68px;
    box-shadow: 0px 0px 3px 0px #000;
    border-bottom: solid 3px #49a504;
}
.main-header-wrap {
    max-width: 1280px;
    margin: 0 auto;
}
/* Nếu bạn muốn container bên trong main-navigation */
.main-header-wrap .main-navigation {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.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;
}
.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: 16px;
    font-weight: bold;
    position: relative;
    z-index: 1;
    line-height: 40px;
    padding: 0 10px;
    color: #009f2a;
}
.main-navigation ul li a:hover{
    background: none;
    color: #000;
    border-radius: 3px;
}
.main-navigation ul ul li a{
    color: #000; 
    border-bottom: solid 1px #cbcbcb
}
/* 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: 1px solid #e5e5e52b; }
.main-navigation ul li ul li:last-child {border-bottom: 0; }
/* Submenu / Dropdown Menu CSS End */
/* Mobile Menu CSS Start*/
.mobile-menu-trigger {
    cursor: pointer; 
    margin-left: 0px; 
    display: none; 
    background: transparent; 
    border: none; 
    
}
.mobile-menu-trigger span {height: 2px; display: block; width: 35px; margin-bottom: 9px; background-color: #000000;}
.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: 30px; 
    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: 00px;
    background: #49a504;
    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; */
}
.slicknav_nav a, .slicknav_row a {
    color: #ffffff;
    font-size: 18px;
    display: inline-block;
}

.sub-menu .item-menu-hassub a:hover{
    color: #009f2a;
}
.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: 0;
    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: 20px !important;
    top: 11px !important;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1;
}
.mobile-menu-container li {
    -ms-transform: translateX(1000px);
    transition: 1s;
    border-top: none !important;
    border-bottom: solid 1px #cbcbcb;
    list-style: none;
    line-height: 46px;
}
#mobile-menu-wrap {
    display: block;
    height: 100%;
    width: 100% !important;
    position: absolute;
    right: 0 !important;
    padding: 52px 20px 0px 20px;
    margin: 0px;
    border-radius: 0px;
    background: linear-gradient(135deg, #009f2a, #49a504);
}
#mobile-menu-wrap .slicknav_nav a:active{
    color: #000;
}

/* 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: 4px;
    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; /* Thêm position relative cho các item menu con */
}

/* Menu level 2 (sub-menu) */
.main-navigation ul > li > ul.sub-menu {
    left: 0;
    top: 48px;
    border-top: 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: 14px 20px;
    line-height: 20px;
    position: relative;
    font-size: 16px;
}

.main-navigation ul li ul li {
    border-bottom: 1px solid #f0f0f0;
}

.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;
    }
    
    /* 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{
        padding: 0px 10px 0px 0px ;
    }
    
}




/* PRODUCT -------------------------------------- */
.main-wrap {
  display: flex;
  max-width: 100%;
  padding: 0px 10px;
}
.main-content {
    max-width: 75%;
    width: 100%;
    padding-right: 30px;
    padding-top: 0px;
    margin-bottom: 20px;
    margin-top: 20px;
}
@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: #009f2a;
}

.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: #49a504;
  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;
  }
}

.product .product-box-form .prices{
    padding: 10px 10px 0px 0px;
}
.product .product-box-form .prices .label {
    font-style: normal;
    color: #000;
    font-weight: bold;
    background: #49a504;
    padding: 10px;
    font-size: 20px;
    border-radius: 3px 3px 0px 0px;
}
.product .product-box-form .prices .prices-box {
    font-weight: bold;
    color: #000000;
    padding: 10px;
    border: solid 2px #49a504;
    margin-bottom: 10px;
}
.product .product-box-form .prices .rrp{
    font-weight: bold;
    color: #ff0000;
}


.product .short_description{
    text-align: justify;
    padding: 10px 0px;
}
.product .description-heading {
    padding: 10px;
    background: linear-gradient(135deg, #009f2a, #49a504);
    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: 5px 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;
}



/* 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 .product-meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}


.products .stock-warning {
    background: #fff3e0;
    color: #f57c00;
}

.products .out-of-stock {
    background: #ffebee;
    color: #d32f2f;
}

.products .subscription-badge {
    background: #e8f5e9;
    color: #388e3c;
}

.products .price {
    font-weight: bold;
    color: #d32f2f;
    font-size: 16px;
    display: block;
    margin: 5px 0;
}
.products .update-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    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: #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 */
.products .update-info {
    background: #f0f7ff;
    border-left: 3px solid #1976d2;
    padding: 8px;
    margin: 8px 0;
    border-radius: 0 4px 4px 0;
}

.products .update-date {
    color: #666;
    font-size: 11px;
}


/* 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: 22px;
}
.products article {
    border-bottom: solid 1px #cbcbcb;
    border-radius: 3px;
    padding-bottom: 0px;
    margin-bottom: 20px;
}

.products article .image-box {
    position: relative;
    width: 100%;
    max-width: 450px;
    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:14px;
}
.products article .price span {
    font-size: 16px;
    color: #000;
}
.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: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0066ff, #49a504);
    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;
    max-width: max-content;
}
.products .title {
    font-size: 24px;
    font-weight: bold;
    line-height: normal;
}
.products .title a{
    color: #49a504;
}
.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;
}
.posts .btn-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 15px;
    background: linear-gradient(135deg, #009f2a, #49a504);
    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 .title a{
    color: #009f2a;
}
.posts .title a:hover{
    color: #000000;
}
.posts article  .post-content .title a{
    color: #49a504;
}
.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: #49a504;
    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: #49a504;
}
.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%;
    transform: translateY(-50%);
    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, #49a504);
    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: #49a504;
}
/* 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, #49a504);
    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: #49a504;
    border: none;
    /* border-radius: 25px; */
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}
.meta-info span{
    line-height: 25px;
}
.meta-info svg {
    fill: #49a504;
}

.meta-info .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0px 0px;
    /* background: linear-gradient(135deg, #ffffff, #78a5e7); */
    color: #49a504;
    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;
}


/* 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 .site-meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}


.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;
}


/* 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 .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, #49a504);
    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, #49a504, #49a504);
    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: #49a504;
}
.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;
}

.breadcrumbs .fa-icon{
    fill: rgb(255 255 255);
}

.breadcrumbs a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.breadcrumbs a:hover {
    color: #0066ff;
    background: rgba(255, 255, 255, 0.8);
}


.breadcrumbs .active {
    color: #ffffff;
    font-weight: 600;
    padding: 6px 12px;
}

@media (max-width: 1024px) {

}

@media (max-width: 768px) {
 
}

@media (max-width: 640px) {
    .breadcrumbs {
        padding: 12px 0;
    }
    
    .breadcrumbs .content-wrapper {
        flex-wrap: wrap;
        gap: 0px;
        padding: 0 5px;
    }
    
}

@media (prefers-color-scheme: dark) {
    
    .breadcrumbs {
        background: linear-gradient(135deg, #009f2a 0%, #49a504 100%);
    }
    
    .breadcrumbs a {
        color: #ffffff;
        font-weight: bold;
    }
    
    .breadcrumbs a:hover {
        color: #e2e8f0;
        background: #009f2a;
    }
    
    .breadcrumbs .active {
        color: #000;
    }
}

/* Home page ----------*/

.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, #49a504);
    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: #49a504;
    color: #000;
}

@media screen and (min-width: 900px){
    .home-page .home-slider{
        display: flex;
        max-width: 100%;
        padding: 10px;
    }
    .home-page .home-slider .slider__section{
        max-width: 100%;
        width: 100%;
        padding-right: 30px;
        padding-top: 0px;
        margin-bottom: 20px;
    }
}    
@media screen and (max-width: 900px){
    .home-page .home-slider{
        display: block;
        max-width: 100%;
        padding: 10px;
    }
    .home-page .home-slider .slider__section{
        max-width: 100%;
        width: 100%;
        padding-right: 0px;
        padding-top: 0px;
        margin-bottom: 0px;
    }
}

.home-page .home-slider .news-item {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
    border-bottom: solid 1px #bcff89;
    padding-bottom: 5px;
}
.home-page .home-slider .news-item img {
  width: 80px;
  height: auto;
}
.home-page .home-slider .news-item a {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #009f2a;
  line-height: 18px;
}
.home-page .home-slider .news-item a:hover {
    color: #000;
}
.home-page .home-slider .news-item h4{
  font-size: 12px;
  color: #646464;
  margin-top: 5px;
  display: block;
}
.home-page .home-slider .news-item span {
    font-size: 12px;
    color: #f5a624;
    margin-top: 5px;
    display: block;
}
.home-page .home-slider .fa-icon {
    display: inline-block;
    width: 14px;
    height: 13px;
    vertical-align: -0.125em;
    fill: #f58e24;
    font-style: italic;
}

.home-page .slider__section{
    padding: 0px;
}
.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;
  margin-bottom: -10px;
}

.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, #009f2a, #49a504);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #49a504;
    line-height: 20px;
}
.home-product .btn-view-all-products:hover{
    background-color: #49a504;
}


.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: #49a504;
    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);
}


/* CATEGORY PRODUCT--------------------------------- */
.category-product{
    margin-top: 20px;
}
.category-product .category-product-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-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.05);
}

.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 .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;
}
.sidebar .sidebar-widget .category-list{
    margin-left: 0px;
}
.sidebar .sidebar-widget .category-list li{
    background: linear-gradient(135deg, #0066ff, #88b2f1);
    margin: 10px 0px;
    padding: 5px 10px;
    border-radius: 50px;
    list-style: none;
}
.sidebar-column{
    margin-top: 20px;
}

.sidebar .sidebar-column .title{
    font-size: 20px;
    background: #1c2638;
    padding: 10px;
    color: #fff;
    border-radius: 3px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #009f2a, #49a504);
    
}
.sidebar-column .news-item p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #009f2a;
    line-height: 1.5;
}


@media (min-width: 576px) {
    .container, .container-sm {
        max-width: 1280px !important;
        width: 100%;
        margin: 0 auto;
    }
}

/*--END SIDEBAR */
/* FOOTER -------------------------------------- */
.footer {
    background: linear-gradient(135deg, #48a505, #004002);
    color: #ffffff;
    padding: 0px;
}
.footer-container {
  max-width: 1290px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-column {
  flex: 1 1 200px;
}
.footer .logo img {
  max-width: 250px;
  margin-bottom: 0px;
}
.footer .footer-column .company-slogan {
    padding: 10px;
    border: solid 1px #fff;
    border-radius: 10px;
    margin: 10px 0px;
}
.footer .footer-column .company-description{
    text-align: justify;
}
.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 {
    padding: 10px;
    border: solid 1px #fff;
    border-radius: 10px;
    margin: 10px 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: #000000;
}
.footer-column .news-item {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    padding: 5px;
    border: solid 1px #fff;
    border-radius: 3px;
}
.news-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.news-item img {
  width: 80px;
  height: auto;
}
.news-item p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}
.news-item p:hover {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  line-height: 1.5;
}
.news-item span {
  font-size: 12px;
  color: #f5a624;
  margin-top: 5px;
  display: block;
}

.copyRightArea {
  margin-top: 0px;
  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
================================ */

.product-box-form {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 0px;
    background: #ffffff;
    padding: 9px 0px;
    max-width: 1200px;
    margin: 10px auto;
    border-top: solid 1px #cbcbcb;
    border-bottom: solid 1px #cbcbcb;
}

/* ===============================
   CỘT TRÁI – GIÁ
================================ */

.product-box-form .prices {
    padding: 16px;
    border-radius: 10px;
    gap: 12px;
}
@media screen and (max-width:768px){
    .product-box-form{
        display: block;
    }
    .product-box-form .prices {
        width: 100%;
        max-width: 100%;
    }
    .product .product-box-form .prices {
        padding: 0px;
    }
}

.product-box-form .prices .label {
    font-size: 15px;
    font-weight: 600;
    color: #444;
}
.product-box-form .prices .prices-box .show-price{
    background: #49a504;
    max-width: max-content;
    padding: 5px;
    border-radius: 3px;
    color: #fff;
}
.product-box-form .prices .prices-box .price span{
    font-size: 12px;
    line-height: 8px;
    padding: 0px;
}
.product-box-form .prices .prices-box .price-pro span{
    font-size: 12px;
    line-height: 8px;
    padding: 0px;
}

.product-box-form .prices .price .label-base, .product-box-form .prices .price-pro .label-pro {
    font-size: 14px;
    color: #000000;
    margin-bottom: 4px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: underline;
}

.product-box-form .prices .price-pro {
    padding-top: 8px;
}

/* ===============================
   NÚT ZALO
================================ */

.product-box-form .zalo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    padding: 10px 0px;
    background: linear-gradient(135deg, #009f2a, #49a504);
    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;
    max-width: max-content;
}

.product-box-form .zalo-btn:hover {
    background: #006fe0;
}

/* ===============================
   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 {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    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;
    }
}