/* trang chá»§ */
.trang_chu{
    .product-list {
        width: 99%;
        display: grid;
        grid-template-columns: repeat(6, 1fr); 
        gap: 20px; 
        margin: 0 5px;
    }
}

.search-header {
    position: relative;
    display: inline-block;
    width: 100%;
}
.search-header::before{
    content: "\f002";
    font-family: FontAwesome;
    position: absolute;
    left: 10px; /* Adjust the position */
    top: 50%;
    transform: translateY(-50%);
    color: #29a591; /* Icon color */
}
#headerMenu #navWrap ul li a span:hover {
    color: #f8f8f8 !important;
}
.search-header input {
    padding-left: 30px !important; /* Add space for the icon */
}
.search-header .ux-search-submit {
    background-color: white !important;
} 
.ux-search-submit .fa-chevron-right{
    font-size: 23px;
    top: 3px;
    left: 27px;
    color: #29a591;
}
#navWrap ul li span.trangchu {
    font-size: 22px !important;
    text-transform: uppercase !important;
}
#navWrap ul li .tab {
    overflow: hidden;
    border: 1px solid #21a28f;
    background-color: #f1f1f1;
    border-radius: 10px;
    margin-top: 8px;
     display: flex;
    justify-content: center; /* Căn giữa các nút */
    gap: 5px; /* Khoảng cách giữa hai nút */
  }
  #navWrap ul li .tab button.tablinks {
  	padding: 5px 10px; /* Giảm đệm trong */
    background-color: #fff; /* Màu nền */
    color: #21a28f; /* Màu chữ */
  	font-size: 14px; /* Kích thước chữ nhỏ hơn */
  	font-weight: 600;
  	text-transform: capitalize;
    cursor: pointer; /* Hiển thị con trỏ khi rê chuột */
    transition: all 0.3s ease; /* Hiệu ứng mượt khi hover */
    flex: 0; /* Đảm bảo kích thước theo nội dung */
    text-align: center; /* Canh giữa chữ */
    min-width: 100px; /* Đặt chiều rộng tối thiểu để nút đồng đều */
    border: none;
	outline: none;
	border-left: 1px solid;
   
  }
  /* Change background color of buttons on hover */
  #navWrap ul li .tab button:hover {
    background-color: #21a28f;
    color: #fff;
  }
  
  /* Create an active/current tablink class */
  #navWrap ul li .tab button.active {
    background-color: #21a28f;
  }

  #navWrap ul li .cartBox {
    position: relative;
    display: inline-block;
    padding: 2px 20px;
    background-color: #f8f8f8;
    font-size: 16px;
    cursor: pointer;
}
#navWrap ul li .cartBox::before {
    content: '\f07a'; /* FontAwesome cart icon (example) */
    font-family: FontAwesome;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: #21a28f;
}

#navWrap ul li .cart-text {
    margin-left: 30px; /* Adjust to make room for the icon */
    text-transform: uppercase !important;
    font-size: 14px !important;
}
#navWrap ul li .cart-count {
    margin-left: 30px;
    font-size: 12px !important;
    font-style: italic;
    font-weight: 100 !important;
}
#navWrap ul li .cart-count .numberCart{
    color: #ff0000 !important;
    font-size: 14px !important;
    font-style: normal !important;
}
/* slider carousel */
.owl-carousel .owl-dots {
    display: block !important;
}
#insPages .headingPage {
    text-align: center;
    margin-top: 15px;
}
.background-title {
    background-image: url(../image/line-01.png);
    background-repeat: no-repeat;
    font-weight: bold;
    width: 100%;
    margin: 0 auto;
    height: 120px;
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
    background-position: center;
}
.background-title h1.title{
    position: absolute;
    margin: 0 auto;
    text-align: center;
    top: 48px;
    font-weight: 700;
    color: #fff;
    font-family: 'Roboto';
}
.background-title h1.title_doi_tac{
    left:572px;
}
.background-title h1.title-kh{
    left: 414px;
}
.background-title h1.title_chothuoc,
.background-title h1.title_uudai{
    left: 524px;
}
.background-title h1.title_sp{
    left:500px;
}
.img_left11 {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 14px 0px;
    padding: 5px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px -20px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;;
}

/* .product-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px; 
    margin: 0 30px;
} */

.dat_hang {
    .product-list {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
        margin: 0 30px;
    }
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    margin: 10px 5px;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    border: 1px solid #ddd;
}

.product-title {
    font-size: 18px;
    color: #333;
    margin: 10px 0 5px;
     display: -webkit-box; /* Dùng box layout để giới hạn dòng */
    -webkit-line-clamp: 2; /* Hiển thị tối đa 2 dòng */
    -webkit-box-orient: vertical; /* Đặt chiều hướng của box */
    overflow: hidden; /* Ẩn phần dư thừa */
    text-overflow: ellipsis; /* Thêm "..." khi bị cắt */
    line-height: 1.5; /* Dòng cách giữa các dòng */
    max-height: 3em; /* Tính toán: 2 dòng * line-height (1.5em) */
    font-weight: bold;
}

.product-price {
    font-size: 16px;
    color: #007bff;
}
.product-lists {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -10px; /* Adjust for spacing between items */
}

.product-lists .product-item {
    width: calc(16.66% - 20px); /* 6 items per row */
    margin: 10px;
    box-sizing: border-box;
    text-align: center;
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: box-shadow 0.3s ease;
}

.product-lists .product-item img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.product-lists .product-item h3 {
    font-size: 18px;
    margin: 10px 0;
}

.product-lists .product-item p {
    font-size: 16px;
    color: #666;
}
/* card */
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: left;
    width:17.5rem !important;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img {
    width: 100%;
    height: auto;
    display: block;
}

.card-content {
    padding: 20px;
}

.card-title {
   font-size: 24px;
    margin-bottom: 8px;
    color: #21a28f;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 32px; 
}

.card-description {
    font-size: 14px;
    color: #000;
    margin: 0 0 20px;
    line-height: 1;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    max-height: 4.5em; /* Äiá»u chá»‰nh Ä‘á»ƒ phĂ¹ há»£p vá»›i chiá»u cao cá»§a 3 dĂ²ng */
}
/* Mobile Styles */
@media (max-width: 768px) {
    .card {
      max-width: 100%;
      margin: 15px;
    }
  
    .card-title {
      font-size: 1.2rem;
    }
  
    .card-description {
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 480px) {
    .card {
      max-width: 100%;
      margin: 10px;
    }
  
    .card-title {
      font-size: 1rem;
    }
  
    .card-description {
      font-size: 0.8rem;
    }
  
    .card-button {
      width: 100%;
      padding: 15px;
    }
  }
/* end card */
/* tab xá»­ lĂ½ Ä‘Æ¡n hĂ ng */
.tab-container {
    width: 100%;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.tab-list {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 15px 5px;
    margin: 0 auto;
    width: 80%;
}

.tab-item {
    border: 1px solid #21a28f;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    color: #21a28f;
    text-align: center;
    /* border-bottom: 3px solid transparent; */
    transition: border-color 0.3s ease;
    background-color: #f1f1f1;
}

.tab-list li h2 {
    color: #21a28f !important;
    font-weight: 600;
}
.tab-item:hover {
    background-color: #21a28f;
    h2{
        color: #fff !important;
    }
    
}
.tab1{
    left: 30px;
}
.tab2{
    right: 30px;
}
.tab-item.active {
    border-bottom: 3px solid #21a28f;
    color: #fff !important;
    background-color: #21a28f ;
    position: relative;
    h2{
        color: #fff !important;
    }
}

.tab-content {
    display: none;
    padding: 20px 10px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-top: none;
    min-height:500px;
    height: 100%;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
.tab-content .background-tab-1 img{
    border-radius: 10px;
    width: 95%;
}
.tab-content.active {
    display: block;
}
.step-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 20px;
    padding-left: 65px;
    width: 100%;
}
#tab2 .step {
    margin-bottom: 42px;
}
.step-number {
    width: 50px;
    height: 50px;
    background-color: #21a28f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    position: absolute;
    left: 0;
}

.step-content {
    background-color: #f0f0f0;
    padding: 10px 20px;
    width: 100%;
}

.step p {
    margin: 0;
    font-size: 16px;
    color: #21a28f;
    font-weight: 500;
}
/* dang sÆ°a 09-09 */
.step::after {
    content: '';
    position: absolute;
    top: 63px;
    bottom: -20px;
    left: 10px;
    display: inline-block;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #21a28f;
    vertical-align: middle;
}

.step:last-child::after {
    display: none;
}
.background-tab-1  .figure-img {
    position: relative;
}
.figure img{
	width: 95%;
	height: auto;
}
.background-tab-1 .figure-caption,
.background-tab-2 .figure-caption {
    position: absolute;
    bottom: 8px;
    width: 638px;
    left: 40px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
}
.background-tab-1 .figure-caption h3,
.background-tab-2 .figure-caption h3 {
    font-size: 16px;
    font-weight: bold;
}
/* end tab */
/* card khĂ¡ch hĂ ng nĂ³i gĂ¬ vá» báº£n */
#comment_list {
    min-height: 500px;
    height: 100%;
}
.content-kh .card {
    width: 100% !important;
    margin: 0;
}
.content-kh .card-bottom {
    opacity: 0.9;
    height: 100%;
}
.content-kh .card:hover{
    transform:none;
}
.content-kh .card-bottom .card-ho-ten {
    text-align: left;
    color: #21a28f;
    font-weight: 600;
    font-style: inherit;
    font-size: 18px;
}
.content-kh .card-bottom .card-tinh {
    text-align: left;
    font-style: italic;
    color: #000;
    font-weight: 600;
    font-size: 16px;
}
.content-kh .card-bottom .card-text
{
    color: #000;
    font-weight: 600;
    font-size: 14px;
    opacity: 2;
}
.video-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow:  rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.video-container {
    width: 100%;
    background-color: #000;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.video-card .card-content {
    padding: 15px;
    text-align: center;
}

.video-card .card-content h3 {
    margin: 10px 0;
    font-size: 20px;
    color: #21a28f;
}


/* end card*/
/* Ä‘á»‘i tĂ¡c */
.partner-img {
    box-shadow:  rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px !important;
}
/* end Ä‘á»‘i tĂ¡c */
.insFooter.styleNew .topFooter img {
    width: 80px;
    margin-bottom: 20px;
}
.insFooter.styleNew .topFooter h4 {
    font-weight: 600;
    text-transform: uppercase;
    color: #21a28f !important;
}
.insFooter.styleNew .topFooter .ulLinks span {
    color: #000 !important;
}
.insFooter.styleNew .topFooter .copy .hotline::before {
    content: "\260E "; /* Unicode for a phone icon */
    font-family: "Font Awesome 5 Free"; /* Specify the Font Awesome font */
    font-weight: 900; /* Ensure the icon uses the solid style */
    font-size: 18px;
    color: #21a28f;
    margin-right: 5px;
}


@media (min-width: 1200px) {
    #headerPage {
        background-color: #21a28f !important;
        padding: 0px !important;
    }
    .hidden-md {
        display: none;
    }
}
@media (max-width: 1200px) {

    .product-list {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on medium screens */
    }
}

@media (max-width: 768px) {
    
    .product-list {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
    }
    
    .product-lists {
        display: block;
    }

    .product-lists .product-item {
        width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    #headerPage {
        background-color: #f8f8f8 !important;
        position: relative;
        top: 24px;
    }
    #headerPage .insHeaderWrap {
        min-height: 0 !important;
    }
    #headerPage img {
        width: 20px !important;
        height: 14px;
        position: relative;
        left: 5px;
        top: -5px;
    }
    #headerPage i{
        color: #21a28f !important;
    }
    #headerPage #headerSearch {
        position: relative;
        top: -21px;
        left: 25px;
    }
    #headerLogo {
        position: relative;
        top: -9px;
    }
    
    .search-field {
        border: 1px solid #000 !important;
    }
    #headerPage .cartBox {
        position: relative;
        display: inline-block;
        background-color: #f8f8f8;
        font-size: 12px;
        cursor: pointer;
    }
    #headerPage  .cartBox::before {
        content: '\f07a'; /* FontAwesome cart icon (example) */
        font-family: FontAwesome;
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 22px;
        color: #21a28f;
    }
    
    #headerPage .cart-text {
        margin-left: 31px; /* Adjust to make room for the icon */
        text-transform: uppercase !important;
        font-size: 12px !important;
        font-weight: 600;
        color: #21a28f !important;
    }

    #headerPage  .cart-count {
        margin-left: 30px;
        font-size: 12px !important;
        font-style: italic;
        font-weight: 100 !important;
        color: #21a28f;
    }
    #headerPage .cart-count .numberCart{
        color: #ff0000 !important;
        font-size: 14px !important;
        font-style: normal !important;
    }
    .product-list {
        grid-template-columns: 1fr; /* 1 column on very small screens */
    }
    .tab-list{
        width: 100%;
        position: relative;
       
    }
    .tab-list .active.tab1 {
        left: 15px;
    }
    .tab-list .active.tab2 {
        left: -25px;
    }
    .tab-list h2 {
        font-size: 12px !important;
    }
    .tab-list .tab-item {
        padding: 5px 15px;
    }
    #insPages .headingPage h1 {
        /* width: 339px; */
	width: 100%;
    }
    .content-kh-mobile {
        .slider-container {
            position: relative;
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
            overflow: hidden;
        }
        .slider {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }
        
        .card {
            min-width: 100%; /* Show one card at a time */
            box-sizing: border-box;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 10px;
            text-align: center;
            position: relative;
            height: 100%;
            box-shadow: none;
        }
        .card .card-top {
            width: 100%;
            box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
            border-radius: 5px;
            padding: 0 5px;
        }
        .card .card-bottom {
            box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
            border-radius: 5px ;
            z-index: 9999;
            opacity: 0.6;
        }
        .card .card-bottom .card-body {
            text-align: left;
        }
        .card img {
            max-width: 100%;
            border-radius: 10px;
            margin-bottom: 15px;
        }
        
        .card h3 {
            font-size: 20px;
            margin-bottom: 10px;
            color: #21a28f;
            font-weight: 600;
        }
        
        .card p {
            font-size: 16px;
            color: #000;
        }
        
        button.prev, button.next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 10px;
            cursor: pointer;
            font-size: 18px;
        }
        
        button.prev {
            left: 10px;
        }
        
        button.next {
            right: 10px;
        }
        
        button.prev:hover, button.next:hover {
            background-color: #21a28f;
        }
    }
    .trang_chu .background-title{
        background-position: 50% top;
        background-repeat: no-repeat;
        background-size: 200% auto;
        position: relative;
        height: 35px;
    }
    .trang_chu .background-title h1.title-kh{
        position: absolute;
        color: #fff;
        top: 8px;
        left: 6px;
        font-size: 10px !important;
        font-weight: bold;
    }
    .trang_chu .background-title h1.title_doi_tac {
        font-size: 14px !important;
        top: 5px;
        left: 7px;
        font-weight: bold;
    }
     
    .trang_chu .background-title h1.title_chothuoc, .trang_chu .background-title h1.title_uudai ,.trang_chu .background-title h1.title_sp{
        color: #fff;
        position: absolute;
        top: 5px;
        left: 0;
        font-size: 14px !important;
        font-weight: bold;
    }
    .trang_chu .owl-nav div {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5);
        border: none;
        color: white;
        font-size: 18px;
        padding: 10px;
        cursor: pointer;
    }
    .trang_chu .custom-prev-icon, .custom-next-icon {
        font-size: 24px;
        color: white;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 10px;
        border-radius: 50%;
        cursor: pointer;
    }
    .trang_chu .owl-nav .owl-prev {
        position: absolute;
        top: 50%;
        left: -11px;
        transform: translateY(-50%);
    }
    .trang_chu .owl-nav .owl-next {
        position: absolute;
        top: 50%;
        right: -11px;
        transform: translateY(-50%);
    }
    .img_left11 {
        box-shadow: none !important;
    }
}
/* tin tuc */
.tin_tuc {
    .image-top{
        padding: 0px 15px 0px 15px;
    }
    .gallery-container{
        position: relative;
    }
    .gallery-container .right {
        top: -78px;
    }
    .figure {
        position: relative;
        width: 100%;
        margin: 20px 0;
    }
    .figure img {
        width: 100%;
        height: auto;
    }
    .figure .figure-caption {
        position: absolute;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5); /* Táº¡o ná»n má» */
        color: white;
        width: 100%;
        text-align: center;
        padding: 20px;
        box-sizing: border-box;
        font-size: 18px;
        text-transform: uppercase;
    }
    .image-item{
        box-shadow:none!important;
    }
    .card {
        width: 100% !important;

    }
    .card .card-body {
        min-height: 80px;
        height: 100%;
    }
    .card img {
        width: 100%;
        /* min-height: 200px; */
    }
    .card h5 {
        text-align: center;
    }
    .card h5 a{
        color: #000;
        font-size: 18px;
        text-transform: capitalize;
        text-align: center;
        font-weight: 500;

    }
    .gallery-tt {
        display: flex;
        flex-wrap: wrap;
        gap: 9px;
    }
    .image-item1 {
            width: calc(50% - 5px);
    }
}
.bai_viet {
    line-height: 2;
    .main-content h1{
        color: #21a28f;
        text-align: center;
        border-radius: 0;
        background-color: #fff;
        font-style: normal;
        text-transform: uppercase;
        font-weight: bold;
    }
    .main-content img {
        width: 100%;
    }
    .content-baiviet p {
        font-size: 14px;
        color: #000;
        text-align: left;
        line-height: 2;
    }
}
.news-list .card {
    box-shadow: none !important;
    transition: none !important;
}
.news-list .card:hover {
    transition: none !important;
    transform:none !important;
}
.dat_hang{
    
    .table-container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    }
    h2{
        text-transform: uppercase;
        font-weight: bold;
        text-align: center;
        margin-bottom: 20px;
    }
    table {
        width: 100%;
        margin-bottom: 10px;
    }

    table, th, td {
        border-bottom: 1px solid #ddd;
    }

    th, td {
        padding: 12px;
        text-align: left;
    }

    th {
        background-color: #fff;
    }

    tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .pagination-cart {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .pagination-cart a {
        color: #21a28f;
        padding: 8px 16px;
        text-decoration: none;
        border: 1px solid #ddd;
        margin: 0 2px;
        border-radius: 50%;
    }

    .pagination-cart a.active {
        background-color: #21a28f;
        color: white;
        border: 1px solid #21a28f;
    }

    .pagination-cart a:hover:not(.active) {
        background-color: #ddd;
    }
    .text-danger {
        color: red;
        font-weight: 600;
    }
    td .price {
        font-style: italic;
        color: #706262;
    }
    .sum_price {
        margin-top: 20px;
    }
    .sum_price h3 {
        font-weight: bold;
        text-transform: uppercase;
        font-size: 20px;
    }
    .sum_price p {
        font-size: 20px;
    }
    select {
        width: 100%;
        padding: 5px;
        font-size: 16px;
        border: 1px solid #21a28f;
        border-radius: 4px;
        margin: 5px 0;
    }
    .product-list {
        display: flex;
        width: 100%;
        margin: auto;
    }
    
    .product-item {
        display: flex;
        width: 100%;
        border-radius: 5px;
        padding: 15px;
        margin: 20px 0px;
        text-align: left;
        align-items: center;
    }
    
    .product-item:hover {
        transform: scale(1.05);
    }
    
    .product-item img {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
        margin-right: 20px;
    }
    .product-details {
        flex: 1; /* Äáº£m báº£o chi tiáº¿t sáº£n pháº©m chiáº¿m toĂ n bá»™ khĂ´ng gian cĂ²n láº¡i */
    }
    .product-title {
        margin: 15px 0;
        text-align: left;
    }
    
    .product-description {
        font-size: 0.9em;
        color: #555;
        margin-bottom: 15px;
    }
    
    .product-price {
        font-size: 1.2em;
        color: #333;
        margin-bottom: 15px;
    }
    
    .product-button {
        background-color: #4CAF50;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    
    .product-button:hover {
        background-color: #45a049;
    }

    .quantity-control {
        display: flex;
        align-items: center;
    }
    .quantity-control input {
        width: 70%;
        text-align: center;
    }
    .quantity-btn {
        width: 40px;
        height: 40px;
        border: 1px solid #21a28f;
        background-color: #21a28f;
        color: #fff;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s;
    }
    
    .quantity-btn:active {
        background-color: #ddd;
    }
    .minus {
        border-radius: 5px 0 0 5px;
    }
    
    .plus {
        border-radius: 0 5px 5px 0;
    }
    
    input[type="number"] {
        height: 40px;
        border: 1px solid #ccc;
        text-align: center;
        font-size: 16px;
        border-left: 0;
        border-right: 0;
        outline: none;
    }
}
.gio_hang {
    background-color: #ddd;
    .order-form {
        max-width: 500px;
        margin: 0 auto;
        padding: 20px;
        background-color: #f9f9f9;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .order-form h2 {
        text-align: center;
        margin-bottom: 20px;
    }

    .order-form label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .order-form input, .order-form select, .order-form textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box;
    }

    .order-form button {
        width: 100%;
        padding: 10px;
        background-color: #28a745;
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        cursor:auto;
    }
    .cart_gio_hang {
        border-radius: 20px;
        margin: 5px;
        border: 1px solid #ddd;
        background: #fff;
    }
}
.trang_ca_nhan {
    .profile-detail {
        width: 100%;
        display: block;
        padding: 20px;
        color: #000;
    }
    .profile-detail h2 span.name{
        font-size: 28px;
        color: #000;
        text-transform: capitalize;
        font-weight: 600;
    }
    .profile-detail p {
        font-size: 20px;
        font-weight: 500;
    }
    .profile-detail .sdt {
        font-size: 18px;
        font-style: italic;
    }
    .profile-detail .address {
        font-size: 16px;
        font-style: italic;
        text-transform: capitalize;
    }
    .profile-detail .left {
        float: left;
        color: #21a28f;
    }
    .profile-detail .left img {
        position: relative;
        top: -2px;
        right: 5px;
    }
    .profile-detail .right {
        float: right;
       
    }
    .profile-detail .right a {
        color: #21a28f;
    }
    .profile-detail .icon-edit{
        float: right;
        margin-right: 5px;
    }
    .profile-detail .icon-edit i {
        color: #21a28f;
    }
    .history_dat_hang {
        margin:20px 0;
    }
    .history_dat_hang h2 {
        text-align: center;
        font-size: 20px;
        font-weight: 600;
        margin:20px 0;
        color: #006353;
        text-transform: uppercase;
    }
    .history_dat_hang .table-container{
        width: 80%;
        margin: auto;
        overflow: hidden;
    }
    .history_dat_hang table, 
    .history_dat_hang tr, 
    .history_dat_hang td{
        border-bottom: 1px solid #21a28f;
        font-weight: bold;
        font-size: 18px;
    }
    .history_dat_hang td span.tt {
        font-style: italic;
        font-size: 14px;
        font-weight: 500;
    }
    .history_dat_hang td sub{
        color: red;
    }
    .history_dat_hang td:hover {
        color: #21a28f;
    }
    .pagination-cart {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
    .pagination-cart a {
        color: #21a28f;
        padding: 8px 16px;
        text-decoration: none;
        border: 1px solid #ddd;
        margin: 0 2px;
        border-radius: 50%;
    }
    .pagination-cart a.active {
        background-color: #21a28f;
        color: white;
        border: 1px solid #21a28f;
    }

    .form-khieunai {
        display: none;
        margin: 0 auto;
        padding: 20px;
        background-color: #f9f9f9;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: 100%;
    }
    .form-khieunai label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }
    .form-khieunai select, .form-khieunai textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box;
    }
    
    .form-khieunai button {
        font-weight: 600;
        color: #fff;
        background-color: #21a28f;
        padding: 5px;
        text-transform: uppercase;
        border-radius: 10px;
        border: none;
        margin: 0 auto;
    }
    .thong_tin_don_hang {
        width: 100%;
        padding: 20px;
    }
    .thong_tin_don_hang p.donhang {
        color: #000;
        font-size: 18px;
        font-weight: 500;
        margin-right: 15px;
    }
    .thong_tin_don_hang p.donhang span {
        color: #21a28f;
        text-transform: uppercase;
        font-weight: 600;
        margin: 0 20px;

    }
    .thong_tin_don_hang p.donhang span.khieunai {
        font-style: italic;
        font-size: 13px;
        color: #000;
        text-transform: lowercase;
        float: right;
    }
    .thong_tin_don_hang p.time {
        font-size: 14px;
        font-style: italic;
        color:#000;
    }
    .thong_tin_don_hang p.sum_price {
        font-size: 20px;
        text-transform: uppercase;
        color: #000;
        font-weight: bold;
    }
    .thong_tin_don_hang p.sum_price span {
        font-size: 14px;
        font-style: italic;
        text-transform: none;
    }
    .noi_dung_khieunai p {
        padding-left: 10px;
        color: #000;
    }
}
@media (max-width: 480px) {
    .trang_ca_nhan {
        .box-profile {
            position: relative;
            top: 35px;
            right: 71px;
            width: 200px;
            height: 100px;
            float: left;
        }
        .profile-detail{
            padding: 20px 0;
            font-size: 13px !important;
        }
    }
    .ux-search-submit {
        background-color: #fff !important;
    }
    #headerPage {
        background-color: #fff !important;
    }
}
.thong_tin_ca_nhan{
    .form-container {
        width: 400px;
        margin: 0 auto;
        padding: 20px;
        background-color: white;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }
    
    h2 {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .avatar-section {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }
    
    input[type="file"] {
        display: block;
        margin: 10px auto;
    }
    
    form label {
        display: block;
        margin-bottom: 8px;
    }
    
    form input {
        width: 100%;
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    
    button[type="submit"] {
        margin: 0 auto;
        padding: 10px;
        background-color: #009879;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }
    
    button[type="submit"]:hover {
        background-color: #007b63;
    }
    .password-wrapper {
        position: relative;
        width: 100%;
    }
    input[type="password"],
    input[type="text"] {
    width: 100%;
    padding: 10px;
    padding-right: 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    }

    .toggle-password {
        position: absolute;
        right: 10px;
        top: 35%;
        transform: translateY(-50%);
        cursor: pointer;
        font-size: 18px;
        color: #666;
    }
    
}

/* popup Ä‘Äƒng kĂ½ */
.popup {
    display: none;
    position:absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    background-color: #00000057;
    z-index: 100;
    margin: 0 auto;
}

.popup-notify{
    position: relative; 
    width: 100%; z-index: 1;
    top: 26em;
}

.popup-notify .close {    
    position: absolute;
    top: 16px;
    right: 14em;
    font-size: 30px;
    color: #e40e0e;
    cursor: pointer;
    z-index: 2;
    background: transparent; 
    opacity: 1;
}

.popup-content {
    position: relative;
    margin: 2% auto;
    padding: 20px;
    background-color: white;
    width: 400px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.popup-content h2 {
    text-align: center;
}

.popup-content form {
    display: flex;
    flex-direction: column;
}

.popup-content label {
    margin-bottom: 8px;
}

.popup-content input,
.popup-content select {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.popup-content button {
    padding: 10px;
    background-color: #009879;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    border-radius: 10px;
}

.popup-content button:hover {
    background-color: #007b63;
}
.popup-content p {
    color: #006353;
    text-align: center;
}
.popup-content a {
    color: #21a28f;
}
/* Close button styling */
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}


@media only screen and (max-width: 426px){
	.chothuoc24h {
		.content {
		    display: grid;
			grid-template-columns: repeat(2, 1fr);
			gap: 10px;

		}
	}
}

@media only screen and (max-width: 600px) {
    .popup-notify .close {
           right: 0em;
    }
    .popup {
       width: 100%;
       height: auto;
       background-color: #0000004a;
    }
}


#myModal {
    background-color: #0000006b;
    /* Modal container */
    .modal {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 1000;
    }
 
    /* Modal content */
    .modal-content {
        position: relative;
        max-height: 80%;
        overflow: hidden;
        border-radius: 10px;
        top: 14em;
    }
 
    /* Modal image */
    #img01 {
        width: 100%;
        height: auto
    }

    /* Close button */
    .close {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 30px;
        color: red;
        cursor: pointer;
        z-index: 10;
        padding: 5px 10px;
        background: transparent;
        opacity: 1;
    }
}


@media only screen and (max-width: 991px) {
    .partner-img {
        margin: 2px ;
    }
    #openPopupBtn {
        width:45% !important;
    }
    #openPopupBtnDN {
        width:54% !important;
    }

    #navWrap{
        padding-top:60px !important;
    }
}

@media only screen and (max-width: 990px) {
    .partner-img {
        height: 4rem !important;
        margin: 5px 0px !important;
    }
}


@media (max-width: 768px) {
    .content-chothuoc24h {
        .col-xs-6 {
            width: 100%;
        }
        .card {
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
            text-align: center;
            margin: 10px;
        }

        .card-img {
            width: 100% !important;
            height: auto;
        }

        .card-content {
            padding: 15px;
        }

        .card-title {
            font-size: 1.2em;
            margin-bottom: 10px;
        }

        .card-description {
            font-size: 0.9em;
            color: #555;
        }
    }
}
.modal-dangnv3{
    /* Modal Overlay */
    display: flex; /* Hiển thị modal và căn giữa */
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    background-color: rgba(0, 0, 0, 0.5);

    /* Nội dung Modal */
    .modal-content {
        position: relative; /* Để định vị chính xác nút đóng */
        background-color: #fff;
        border-radius: 8px;
        padding: 20px;
        max-width: 50%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        text-align: center;
    }
    /*nút đóng modal*/
    .close {
        position: absolute; /* Đặt trên modal-content */
        top: 10px;
        right: 10px;
        font-size: 24px;
        color: #333;
        cursor: pointer;
        z-index: 1001; /* Đảm bảo nút luôn nằm trên modal-content */
    }

    .close:hover,
    .close:focus {
        color: red;
        text-decoration: none;
    }
}

/*mobile sửa ngày 05/12*/
@media screen and (max-width: 767px) {
    .wrapperBlogPage, .wrapperPage, .wrapperArticlePage {
        margin-top: 0px;
    }
}

@media only screen and (max-width: 700px) {
    .modal-dangnv3{
        .modal-content {
            max-width: 80%;
        } 
    }
}


.chothuoc24h-mobile{
    /* General Slider Styles */
        .splide__slide {
             display: flex;
             justify-content: center;
             align-items: center; /* Căn giữa các card */
             margin: 0 !important;
           }
   
           .card {
             width: 100% !important;
             max-width: 340px !important;
             border: 1px solid #ddd;
             border-radius: 8px;
             overflow: hidden;
             background-color: #fff;
             text-align: center;
           }
   
           .card-img {
             width: 100% !important;
             height: 160px !important;
             object-fit: cover;
           }
   
           .card-content {
             padding: 15px;
           }
   
           .card-title {
             font-size: 1.1em;
             margin-bottom: 10px;
           }
   
           .card-description {
             font-size: 0.9em;
             color: #555;
           }
   }


   @media only screen and (max-width: 426px) {
    .chothuoc24h-mobile{
        .card {
            width: 100% !important;
            max-width: 340px !important;
            border: 1px solid #ddd;
            border-radius: 8px;
            overflow: hidden;
            background-color: #fff;
            text-align: center;
            margin-left: 12px !important;
        }
    }    
}
