
body {
    font-family: 'Roboto', sans-serif;
    color: #333E48;
    font-size: 13px;
}
.body-bg{
    background: #f4f4f4;
}

.header-top{
    margin-bottom: 20px;
    background: rgb(244, 244, 244);
    border-bottom: 1px solid rgb(204, 204, 204);
}
.header-logo{
    width: 150px;
}

/* Article List Styling */
.list-article {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.list-article-item {
    display: flex;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.list-article-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.list-article-item-image {
    width: 240px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.list-article-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.list-article-item:hover .list-article-item-image img {
    transform: scale(1.05);
}

.list-article-item-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-article-item-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #333;
    line-height: 1.4;
}

.list-article-item-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 767px) {
    .list-article-item {
        flex-direction: column;
    }
    
    .list-article-item-image {
        width: 100%;
        height: 200px;
    }
}

/* Header Dropdown Button Styling */
.header-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.header-dropdown-btn:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-dropdown-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Hide default dropdown arrow */
.header-dropdown-btn::after {
    display: none !important;
}

/* Custom menu icon (three bars) */
.header-dropdown-btn .menu-icon {
    display: inline-block;
    margin-left: 8px;
    width: 20px;
    height: 14px;
    position: relative;
}

.header-dropdown-btn .menu-icon::before,
.header-dropdown-btn .menu-icon::after,
.header-dropdown-btn .menu-icon span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header-dropdown-btn .menu-icon::before {
    top: 0;
}

.header-dropdown-btn .menu-icon::after {
    bottom: 0;
}

.header-dropdown-btn .menu-icon span {
    top: 50%;
    transform: translateY(-50%);
}

/* Optional: Animation for hover effect */
.header-dropdown-btn:hover .menu-icon::before {
    transform: translateY(-1px);
}

.header-dropdown-btn:hover .menu-icon::after {
    transform: translateY(1px);
}
.header-policy label{
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    border-radius: 50%;
    border: 1px solid #c7c7c7;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.header-policy .info-text div:first-child{
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
}
.header-policy .info-text div:last-child{
    font-size: 12px;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.hotline-top{
}
.hotline-top > div{
    line-height: 30px;
    height: 30px;
    position: relative;
    font-size: 12px;
}
.animated-linear-gradient {
    background: repeating-linear-gradient(to right, red 0, #00f 50%, red 100%);
    color: #fff;
    width: 100%;
    background-size: 200% auto;
    background-position: 0 100%;
    animation: 2s linear infinite forwards gradient;
    padding: 0 10px;
    border-radius: 9999px;
    display:block;
    text-decoration: none;
}
.animated-linear-gradient:hover {
    background: repeating-linear-gradient(to right, rgb(167, 8, 8) 0, rgb(15, 84, 196) 50%, rgb(204, 17, 17) 100%);
}
.menu-top ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu-top ul li{
    display: inline-block;
    padding: 0 10px;
}
.menu-top a{
    display: block;
    text-decoration: none;
    height: 30px;
    line-height: 30px;
    color: #333e48;
    cursor: pointer;
    
}
.menu-top a:hover{
    color: #ed1b24;
}
.top-search{
    background: #ed1b24;
    padding: 2px 10px 2px 2px;
    border-radius: 20px;
    transition: all 0.3s;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .1), 0 2px 6px 2px rgba(60, 64, 67, .15);
}
.top-search input{
    border: none;
    border-radius: 20px 0px 0px 20px;
    outline: none;
}
.top-search input::placeholder{
    font-size: 12px;
}
.top-search button{
    border: none;
    background: #ed1b24;
}
/* Css Danh mục sản phẩm */
.category-nav li {
    padding: 0px 5px;
}
.category-nav a{
    text-decoration: none;
    font-size: 14px;
    position: relative;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    color: #333e48;
    padding: 5px 10px;
    white-space: nowrap;
    display: inline-flex;
    text-transform: capitalize;
}
.category-nav a:hover {
    background-color: #ed1b24;
    color:#fff;
    box-shadow: rgba(60, 64, 67, 0.1) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
.btn-view-all{  
    transform: translateY(-11%);
    background: #ed1b24;
    padding: 2px 15px;
    color: #fff;
    border-radius: 10px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}
.product-card{
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .1), 0 2px 6px 2px rgba(60, 64, 67, .15);
}

.product-code{
    display: inline-block;
    font-size: 12px;
    background: #f1f1f1;
    text-transform: uppercase;
    padding: 3px 5px;
    border-radius: 3px;
    margin: 0 5px 0 0;
}
.product-card-image{
    height: 200px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    display: flex;
}
.product-card-image img{
    max-width: 100%;
    object-fit: cover;
}
.product-card .card-title{
    height: 40px;
    overflow: hidden;
}
.product-card .card-title a{
    color: #333e48;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
}
.product-card .sale-price{
    position: relative;
}
.product-card .original-price{
    color:#666;
}
.product-card .original-price span:last-child{
    font-size:11px
}
.product-card .sale-price span, .product-card .hide-price{
    color: #000;
    font-size: 22px;
    font-weight: 600;
    position: relative;
}
.product-card .sale-price span::after{
    content: "₫";
    position: absolute;
    top: 0px;
    right: -10px;
    font-size: 15px;
}

.product-card .product-stock{
    font-size: 14px;
}
.product-card .product-stock i{
    font-weight: 900;
}
.product-card .product-rating img{
    width: 50px;
}
.product-stock-success{
    color: #2cc067;
}
.product-stock-danger{
    color: #ed1b24;
}
.product-card .product-cart{
    font-size: 15px;
    float: right;
    color: #fff;
    margin-top: -3px;
    border-radius: 50%;
    background-color: #ed1b24;
    padding: 5px 8px;
}

/* Article Content Styles */
.article-content {
    color: #2d3748;
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Headings */
.article-content h1 {
    font-size: 2.2rem;
    color: #1a202c;
    margin: 2.5rem 0 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.article-content h2 {
    font-size: 1.8rem;
    color: #2d3748;
    margin: 2.2rem 0 1.3rem;
    font-weight: 600;
    line-height: 1.35;
}

.article-content h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin: 2rem 0 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.article-content h4 {
    font-size: 1.3rem;
    color: #4a5568;
    margin: 1.8rem 0 1.1rem;
    font-weight: 500;
    line-height: 1.45;
}

/* Paragraphs and text elements */
.article-content p {
    margin-bottom: 1.6rem;
    color: #4a5568;
}

/* Links */
.article-content a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-content a:hover {
    color: #2c5282;
    text-decoration: underline;
}

/* Lists */
.article-content ul,
.article-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
    padding: 0;
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* Blockquotes */
.article-content blockquote {
    border-left: 4px solid #e2e8f0;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    color: #4a5568;
    background-color: #f8fafc;
    font-style: italic;
}

/* Images */
.article-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 6px;
    display: block;
}

/* Code blocks */
.article-content pre {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 1.25rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Slide Header Styles */
.slide-header {
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.slide-header:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Custom column spacing for banner section */
.banner-section .row {
    margin-left: -2.5px;
    margin-right: -2.5px;
}

.banner-section [class*="col-"] {
    padding-left: 2.5px;
    padding-right: 2.5px;
}

/* Banner Mini Styles */
.banner-mini {
    height: 400px;
    display: flex;
    flex-direction: column;
    gap: 5px; /* Khoảng cách giữa các item */
}

.banner-mini-item {
    flex: 1;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.banner-mini-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
}

.banner-mini-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.banner-mini-item:hover img {
    transform: scale(1.02);
}

.slide-header .slick-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
}

/* Ẩn dots điều hướng */
.slide-header .slick-dots {
    display: none !important;
}

/* Style cho nút điều hướng */
.slide-header .slick-prev,
.slide-header .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.slide-header:hover .slick-prev,
.slide-header:hover .slick-next {
    opacity: 1;
}

.slide-header .slick-prev {
    left: 15px;
}

.slide-header .slick-next {
    right: 15px;
}

.slide-header .slick-prev:before,
.slide-header .slick-next:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #333;
}

.slide-header .slick-prev:before {
    content: '\f053';
}

.slide-header .slick-next:before {
    content: '\f054';
}

/* Thêm hiệu ứng khi hover */
.slide-header .slick-prev:hover,
.slide-header .slick-next:hover {
    background-color: #fff;
}

.article-content code {
    background-color: #edf2f7;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: #2d3748;
}

/* Tables */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.article-content th,
.article-content td {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.article-content th {
    background-color: #f7fafc;
    font-weight: 600;
}


/* Table of Contents */
.toc {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.toc-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.toc ul, .toc ol {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.toc li {
    margin: 5px 0;
}

.toc a {
    color: #007bff;
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}

.footer-policies{
    background: #fbfbfb;
    border: 1px solid #dadada;
    border-width: 1px 0px;
    padding: 15px 0px;
}
.footer-policies .policy-icon{
    width: 50px;
    height: 50px;
    color: #ed1b24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin-right: 10px;
}
.policy-title{
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}
.policy-description{
    font-size: 12px;
}
.footer-logo img{
 max-width: 150px;   
}
.breadcrumb{
    margin:0px;
}
.breadcrumb-item a{
    text-decoration: none;
    color: #333;
    font-size: 13px;
}
.product-detail-stock{
    font-weight: 700;
}
.product-detail-description{
    background-color: #f4f4f4;
    border-radius: 6px;
    border-bottom: 1px solid #e7e7e7;
}
.product-detail-description p:first-child{
    font-weight: 700;
    font-size: 16px;
}
.product-detail-description p:last-child{
    line-height: 1.7;
}
.product-detail-actions{
    text-align: center;
}
.product-detail-actions a{
    display: inline-block;
    width: 100%;
    margin: 0;
    background: #ed1c24;
    padding: 10px 10px;
    font-size: 15px;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
}
.product-detail-actions a:hover{
    background: #ed1b24;
    animation: 0.3s ease-in-out;    
}
.product-detail-actions b{
    font-size: 21px;
    font-weight: 700;
    text-transform: uppercase;
}
.product-detail-actions span{
    display: block;
}
.product-detail-price{
    background: linear-gradient(to top right, #fcfeff, #eff5ff) padding-box, linear-gradient(to top right, #dbe8fe, #609afa) border-box;
    
    border-radius: 16px;
    padding: 5px 24px;
}
.product-detail-price-title{
    font-size: 16px;
    font-weight: 700;
}
.product-detail-price-value{
    color: #ed1c24;
    font-size: 18px;
}
.product-detail-price-default{
    font-size: 24px;
    font-weight: 700;
}

/* Feedback Slider Styles */
.feedback-section {
    padding: 40px 0;
    background: #fff;
    overflow: hidden;
}

.feedback-header {
    text-align: left;
    margin-bottom: 10px;
}

.feedback-section .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}


.feedback-body {
    position: relative;
    padding: 20px 30px;
    border-radius: 10px;
    background: radial-gradient(circle, rgb(161, 3, 3) 0%, rgb(255 0 0) 100%);

}

.feedback-item {
    padding: 0 5px;
    height: 350px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.feedback-item a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.feedback-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feedback-item:hover img {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Slick Slider Custom Styles */
.feedback-body .slick-prev,
.feedback-body .slick-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: all 0.3s ease;
}

.feedback-body .slick-prev:hover,
.feedback-body .slick-next:hover {
    background: #ed1b24;
}

.feedback-body .slick-prev:before,
.feedback-body .slick-next:before {
    color: #333;
    font-size: 20px;
    opacity: 1;
}

.feedback-body .slick-prev:hover:before,
.feedback-body .slick-next:hover:before {
    color: #fff;
}

.feedback-body .slick-prev {
    left: 15px;
}

.feedback-body .slick-next {
    right: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .feedback-body {
        padding: 0 15px;
    }
    
    .feedback-body .slick-prev {
        left: -20px;
    }
    
    .feedback-body .slick-next {
        right: -20px;
    }
}
.product-detail-price-old{
    text-decoration: line-through;
}
.category-filter .form-select{
    padding: 2px 30px 2px 5px;
    border-radius: 2px;
    font-size: 12px;
}
.category-name{
    font-size: 24px;
    text-transform: uppercase;
}

.contact-box-bottom{
    position: fixed;
    bottom: 54px;
    right: 10px;
    z-index: 10000;
}
.contact-box-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    margin-bottom: 10px;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .08);
    color: #333e48;
}
.ahihi, .ahihi:hover, a, a:hover {
    text-decoration: none;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
.contact-icon-box {
    display: block;
    text-align: center;
    width: 40px;
    height: 40px;
    font-size: 16px;
    line-height: 38px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
}
.contact-info {
    padding-left: 10px;
}
.contact-info b {
    display: block;
}
.contact-info span {
    color: #868686;
    font-size: 12px;
}
.image-style-align-center {
    display: flex;
    justify-content: center;
  }
  
  .image-style-align-center img {
    margin: auto;
  }  
/* Custom container width */
@media (min-width: 1200px) {
    .custom-container {
        max-width: 1240px;
    }
}

@media (min-width: 1600px) {
    .custom-container {
        max-width: 1650px;
    }
}
@media (max-width: 1300px){
    .header-policy .info-text{
        font-size: 10px !important;
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .article-content {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .article-content h1 {
        font-size: 1.8rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
    
    .article-content h4 {
        font-size: 1.1rem;
    }
}
@media (max-width: 576px){
    .header-logo img{
        max-width: 80px;
    }
    .offcanvas-header{
        background-color: #cd3236;
        color:#fff;
    }
    .btn-close{
        color:#fff !important;
    }
}

/* Article Section Styles */
.article-section {
    padding: 2rem 0;
    background-color: #fff;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 3px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-card {
    position: relative;
    padding: 5px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card .card-title {
    margin: 0 0 0.75rem 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}
.article-card .card-title a{
    color: #333;
}
.article-card:hover .card-title a{
    color: #3498db;
}

.article-meta {
    margin-top: auto;
    font-size: 0.85rem;
    color: #7f8c8d;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-date i {
    color: #e74c3c;
}

@media (max-width: 576px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card {
        margin-bottom: 1.5rem;
    }
}

.fixed-right-menu {
    position: fixed;
    right: 5px;
    bottom: 75px;
    cursor: pointer;
    z-index: 9999;
    text-align: center;
    color: #fff;
    font-size: 20px;
}
.fixed-right-menu i {
    line-height: 45px;
}
#phone {
    background: #ed1b24;
}
#chat {
    background: #4267b2;
}
#zalo {
    height: 45px;
    text-align: center;
    background: #1890ff;
    display: flex
;
    justify-content: center;
    padding: 9px;
}
#chat, #gotoTop, #phone, #zalo {
    width: 45px;
    border-radius: 9999px;
    margin-top: 5px;
}
