﻿/*-----BOX ----------*/
.ff_one {
  background-color: #ffffff;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(235, 235, 235);
  border-radius: 8px;    
  position: relative;
  padding: 20px 20px 20px 25px;
}
.ff_one:hover{
  box-shadow: 0 1px 10px 7px #eee
}
.ff_one .icon{
  border-radius: 50%;
  background-color: rgba(29, 41, 62, 0.102);
  float: right;
  height: 70px;
  line-height: 70px;
  text-align: center;
  width: 70px;
}
.ff_one .icon span{
  color: #1d293e;
  font-size: 36px;
}
.ff_one.style1{
  border:1px solid #00d306;
  background:#effff3
}
.ff_one.style1 .icon span, .ff_one.style1 .detais .timer{
  color: #00d306;
}
.ff_one.style2{
  border:1px solid #9499da;
  background:#f3f4ff
}
.ff_one.style2 .icon span, .ff_one.style2 .detais .timer{
  color: #9499da;
}
.ff_one.style3{
  border:1px solid #ff5a5f;
  background:#fff6f6
}
.ff_one.style3 .icon span, .ff_one.style3 .detais .timer{
  color: #ff5a5f;
}
.ff_one.style4{
  border:1px solid #ffbc7d;
  background:#fff9f2
}
.ff_one.style4 .icon span, .ff_one.style4 .detais .timer{
  color: #ffbc7d;
}

.ff_one .detais .timer{
  font-size: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
  line-height: 1.2;
  font-weight:600
}
.ff_one .detais p{
  font-size: 16px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: rgb(119, 119, 119);
  margin-bottom: 0;
}
.ff_one.style2 .icon{
  background-color: rgba(148, 153, 218, 0.149);
}
.ff_one.style3 .icon{
  background-color: rgba(255, 90, 95, 0.149);
}
.ff_one.style4 .icon{
  background-color: rgba(255, 188, 125, 0.149);
}
/*-----COLOR---------*/

.bg-orange{background-color: #fd7329;color:#fff}
.text-orange{color: #fd7329}
.btn-outline-orange {
    color: #fd7e14;
    border-color: #fd7e14;
    background-color: transparent;
}
.btn-outline-orange:hover {
    color: #ffffff;
    background-color: #fd7e14;
    border-color: #fd7e14;
}
.btn-orange{
    color: #fff;
    border-color: #fd7e14;
    background-color: #fd7e14;
}

.btn-orange:hover {
    color: #ffffff;
    background-color: #fd7e14;
    border-color: #fd7e14;
}

/*-----LOGIN---------*/

.LoginPanel{ max-width:500px; margin:auto;}
.dnnPrimaryAction, a.dnnPrimaryAction,.dnnSecondaryAction, a.dnnSecondaryAction{ width:49.3%;}
.dnnLogin .LoginPanel .dnnFormItem .dnnLoginRememberMe label{font-size:1.1rem}
.dnnLogin .LoginPanel .dnnFormItem:last-child .dnnLoginActions a {background: transparent;color: #333;border: none;}

/*-----FILTER BOX-------*/

.filter-box {
    background: #fff;
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
}
.price-new {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/*-----CALENDAR---------*/

.ui-datepicker{
   background: #fff;
   padding: 10px;
   box-shadow: 0 1px 5px #ccc;
   border-radius: 8px;
}
.ui-datepicker-calendar td, .ui-datepicker-calendar th{padding:0 10px;}

/*-----TOPBAR-----------*/

.top-bar {
    background-color: var(--dark-color);
    font-size: 0.875rem;
}

/*---------SETTINGS-----------*/

.settings{
 position:absolute;
 z-index:3;
 top:0;
 right:0;
 gap:0.5rem;
 padding:1rem;
 display: flex !important;
}
/*-------Link Cover-------------*/
.link-cover {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}
/*-----------BANNER--------------*/
.carousel-caption{
  z-index:3;
}
/*-----------NEWS--------------*/
.news-category {
    color: #8c8c8c;
    font-size: 0.9rem;
    margin-bottom: 6px;
    display: block;
}

/* Tin nổi bật lớn (Bên trái) */
.featured-news .news-title {
    color: #333333;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    line-height: 1.4;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.featured-news .news-title:hover {
    color: #0d6efd;
}

.featured-news .news-desc {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.featured-img-holder {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
}

.featured-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Danh sách tin phụ (Bên phải) */
.side-news-item {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

/* Xóa đường gạch chân cho tin cuối cùng */
.side-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.side-news-img {
    width: 150px;
    height: 95px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.side-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-news-title {
    color: #212529;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.35;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Giới hạn tối đa 3 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.side-news-title:hover {
    color: #0d6efd;
}

/* Tối ưu kích thước ảnh nhỏ trên Mobile */
@media (max-width: 575.98px) {
    .side-news-img {
        width: 110px;
        height: 75px;
    }
    .side-news-title {
        font-size: 0.875rem;
    }
}

.news-img {   
    object-fit: cover;
    transition: transform 0.5s ease;
}
.sidebar-sticky {
    position: sticky;
    top: 170px;
}
.article-content h2 {
    font-size: 1.5rem;    
    color: #0f172a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}
.article-content h3 {
    font-size: 1.25rem;   
    color: #1e293b;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
blockquote {
    background-color: #f1f5f9;
    border-left: 4px solid #0284c7;
    padding: 1.25rem 1.5rem;
    font-style: italic;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}
.news-row-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
}
.news-img-holder {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background-color: #f1f5f9;
}
.news-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}
/*-----CAROUSEL-------*/
.carousel-control-next, .carousel-control-prev{
    opacity:1 !important;
    top:40%;
    width:50px;
    height:50px;
    background-color: var(--bs-orange) !important;
}
/*-----PRODUCT----------*/
.product-gallery-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}
.promo-box {
    background: #fff5f5;
    border: 1px dashed var(--bs-danger);
    border-radius: 8px;
    padding: 1rem;
}
/*-------MENU MOBILE-----*/
#menuToggle input:checked~span{
    background: #bbbbbb;
}
.nav-item .nav-link {   
    border-bottom: 1px solid #ccc;    
    padding: 10px;
}
.nav-item .nav-link.active {
    background-color:#417998;
    border-bottom: 1px solid #ccc;
    color: #ffffff !important;
    padding: 10px;
}
/*-----USER INFOR DROPDOWN-------*/
.user-dropdown-btn {
    border: 1px solid transparent;  
    padding 0 15px 0 0;    
    border-radius: 50px;
    transition: all 0.2s ease;
    cursor: pointer;
    background:#fff
}

.user-dropdown-btn:hover, 
.user-dropdown-btn[aria-expanded="true"] {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
}

.user-avatar-wrapper {
    position: relative;
    display: inline-block;
}

/* Dấu chấm xanh báo trạng thái Online */
.status-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

/* Tùy chỉnh Menu sổ xuống */
.user-dropdown-menu {
    min-width: 270px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-radius: 12px !important;
    padding: 8px;
    margin-top: 10px !important;
}

/* Header thông tin người dùng trong Menu */
.user-dropdown-header {
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 6px;
}

/* Item danh mục */
.user-dropdown-menu .dropdown-item {
    padding: 9px 12px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #334155;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.user-dropdown-menu .dropdown-item i {
    font-size: 1.05rem;
    width: 24px;
    transition: transform 0.2s ease;
}

.user-dropdown-menu .dropdown-item:hover {
    background-color: #fff5f5;
    color: var(--primary-color);
}

.user-dropdown-menu .dropdown-item:hover i {
    transform: translateX(2px);
    color: var(--primary-color) !important;
}

/* Item Đăng xuất */
.dropdown-item-logout:hover {
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
}

/* Bỏ mũi tên mặc định của Bootstrap Dropdown */
.no-arrow::after {
    display: none !important;
}
.category-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
/*------ Box-------*/
.usp-box {
    background: #fff;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}
.usp-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
/*-------Breacumb-----*/
.brand-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url(https://images.unsplash.com/photo-1578844251758-2f71da64c96f?q=80&w=1200) center / cover;
    color: white;
    padding: 3rem 0;
}
h1{font-size:2rem}
/*-------Title-----*/
.section-title {
    position: relative;
    padding-bottom: 12px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--bs-orange);
}
/*--------Zalo Icon-----------*/
        .floating-zalo {
            position: fixed;
            bottom: 25px;
            right: 25px;
            z-index: 9999;
            display: flex;
            align-items: center;
            background-color: #0068ff;
            color: #ffffff;
            padding: 10px 18px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            box-shadow: 0 4px 15px rgba(0, 104, 255, 0.4);
            transition: all 0.3s ease;
            animation: pulse-zalo 2s infinite;
        }

            .floating-zalo:hover {
                background-color: #0052cc;
                color: #ffffff;
                transform: translateY(-3px);
                box-shadow: 0 6px 20px rgba(0, 104, 255, 0.6);
            }

            .floating-zalo img {
                width: 28px;
                height: 28px;
            }

        @keyframes pulse-zalo {
            0% {
                box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.7);
            }

            70% {
                box-shadow: 0 0 0 15px rgba(0, 104, 255, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(0, 104, 255, 0);
            }
        }

       