﻿/*-----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-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: 4px 4px;
    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);
            }
        }

       