.custom-sale-img-wrap{ position: relative; display: block; overflow: hidden; }

.custom-sale-img-wrap.is-inactive img{
    filter: grayscale(100%);
    opacity: .5;
}

.custom-sale-status{
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    pointer-events: none;   /* vẫn click được vào ảnh */
    z-index: 2;             /* thấp hơn badge HOT / -% */
}

.custom-sale-status-label{
    max-width: 94%;
    padding: 5px 10px;
    border-radius: 3px;
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .2px;
    box-shadow: 0 2px 6px rgba(0,0,0,.28);
}

.bs-danger   { background: rgba(220,53,69,.94); }
.bs-warning  { background: rgba(230,126,34,.94); }
.bs-info     { background: rgba(13,110,253,.92); }
.bs-success  { background: rgba(25,135,84,.94); }
.bs-secondary{ background: rgba(52,58,64,.92); }

@media (max-width: 575.98px){
    .custom-sale-status-label{ font-size: .65rem; padding: 4px 8px; }
}








.product-card{
    display:flex; flex-direction:column;
    background:#fff; border:1px solid #f0f0f0; border-radius:10px;
    overflow:hidden;
    transition:box-shadow .2s, transform .2s, border-color .2s;
}
.product-card:hover{
    border-color:#e0e0e0;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    transform:translateY(-2px);
}

/* Ảnh */
.product-card__img{
    position:relative; display:block;
    aspect-ratio:1/1; background:#fafafa; overflow:hidden;
}
.product-card__img img{
    width:100%; height:100%; object-fit:contain; padding:8px;
    transition:transform .3s;
}
.product-card:hover .product-card__img img{ transform:scale(1.04); }

/* Badge */
.product-card__code,
.product-card__discount{
    position:absolute; top:8px; z-index:2;
    font-size:11px; font-weight:600; line-height:1;
    padding:4px 7px; border-radius:6px; color:#fff;
}
.product-card__code{ left:8px; background:rgba(0,0,0,.6); }
.product-card__discount{ right:8px; background:#e53935; }

/* Nội dung */
.product-card__body{
    display:flex; flex-direction:column; flex:1 1 auto;
    padding:10px; gap:8px;
}
.product-card__name{
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
    overflow:hidden;
    color:#222; font-size:13px; line-height:1.4; min-height:36px;
    font-weight:500; text-decoration:none;
}
.product-card__name:hover{ color:#e53935; }

/* Giá */
.product-card__price{
    display:flex; align-items:baseline; flex-wrap:wrap; gap:2px 6px;
    margin-top:auto;
}
.price-now{ color:#e53935; font-weight:700; font-size:15px; }
.price-unit{ color:#888; font-size:12px; }
.price-old{ width:100%; color:#999; font-size:12px; text-decoration:line-through; }
.product-card__price--empty{ color:#888; font-weight:600; font-size:14px; }

/* Nút liên hệ */
.product-card__contact{
    display:flex; align-items:center; justify-content:space-between;
    padding:7px 10px; border:1px solid #e53935; border-radius:8px;
    color:#e53935; font-size:13px; font-weight:600; text-decoration:none;
    transition:background .2s, color .2s;
}
.product-card__contact:hover{ background:#e53935; color:#fff; }

/* Card cao bằng nhau trong owl carousel */
.owl-carousel-proser-related .owl-stage{ display:flex; }
.owl-carousel-proser-related .owl-item{ display:flex; }
.owl-carousel-proser-related .owl-item .item{ width:100%; }



.custom-adv-container {
    width: 100%;
}
.custom-adv-left-banner {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.custom-adv-left-banner img {
    border-radius: 12px;
}
.custom-adv-right-box {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.custom-adv-header {
    background-color: #3f5e31;
    padding: 20px;
}
.custom-adv-header h3 {
    font-size: 18px;
    letter-spacing: 0.5px;
}
.custom-adv-header p.text-white-50 {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px;
    line-height: 1.4;
}
.custom-adv-list {
    padding: 0 20px;
}
.custom-adv-item {
    padding: 5px 0;
    border-bottom: 1px dashed #e0e0e0;
}
.custom-adv-item:last-child {
    border-bottom: none;
}
.custom-adv-img {
    width: 110px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}
.custom-adv-cate {
    display: inline-block;
    background-color: #eafaf1;
    color: #2e7d32;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}
.custom-adv-title {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    line-height: 1.4;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.custom-adv-title:hover {
    color: #3f5e31;
}
.custom-adv-views {
    font-size: 12px;
    display: flex;
    align-items: center;
}
.custom-adv-footer {
    padding: 16px 20px 24px 20px;
    text-align: center;
}
.custom-adv-btn-more {
    display: block;
    width: 100%;
    padding: 10px 0;
    border: 1px solid #3f5e31;
    color: #3f5e31;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}
.custom-adv-btn-more:hover {
    background-color: #3f5e31;
    color: #ffffff;
}
@media (max-width: 767px) {
    .custom-adv-left-banner img {
        height: auto;
        min-height: 250px;
    }
    .custom-adv-img {
        width: 90px;
        height: 70px;
    }
    .custom-adv-title {
        font-size: 14px;
    }
}


.custom-sale-wrapper { padding: 24px 24px 0px 24px; border-radius: 12px; }
.custom-sale-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.custom-sale-title { font-size: 20px; font-weight: 600; color: #1a1a1a}
.custom-sale-subtitle { font-size: 14px; color: #666; margin-top: 4px; }
.custom-sale-view-all { color: #2e7d32; font-weight: 600; text-decoration: none; border: 1px solid #2e7d32; padding: 3px 11px; border-radius: 20px; transition: all 0.2s; }
.custom-sale-view-all:hover { background: #2e7d32; color: #fff; text-decoration: none; }
.col-custom-5 { position: relative; width: 100%; padding-right: 5px; padding-left: 5px; flex: 0 0 20%; max-width: 20%; }

.custom-sale-card { background: #ffffff; border-radius: 12px; padding: 16px; transition: all 0.3s ease; position: relative; display: flex; flex-direction: column; }
.custom-sale-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.08); border-color: #dcdcdc; }
.custom-sale-img-wrap { width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.custom-sale-img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.custom-sale-name { font-size: 14px; font-weight: 600; color: #333333; text-decoration: none !important; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; margin-bottom: 8px; }
.custom-sale-name:hover { color: #2e7d32; }
.custom-sale-rating { font-size: 13px; color: #ffc107; margin-bottom: 8px; }
.custom-sale-rating span { color: #999; }


/*.custom-sale-price-current { font-size: 16px; font-weight: 700; color: #d0021c; }*/
.custom-sale-price-current {
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: -0.4px;
    color: #d0021c;
}

.custom-sale-price-unit { font-size: 13px; color: #333; font-weight: normal; }
.custom-sale-price-old { font-size: 13px; color: #999; text-decoration: line-through}
.custom-sale-cart-btn { position: absolute; bottom: 16px; right: 16px; background: #ffffff; border: 1px solid #2e7d32; color: #2e7d32; width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.custom-sale-cart-btn:hover { background: #2e7d32; color: #ffffff; }
.custom-sale-cart-btn svg { width: 18px; height: 18px; stroke: currentColor; }

.custom-sale-card-layout {display: flex;flex-direction: column;height: 100%;}
.custom-sale-info {display: flex;flex-direction: column;flex-grow: 1;}
.custom-sale-badge { position: absolute; top: 12px; left: 12px; background-color: #d0021c; color: #ffffff; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; z-index: 2; }
.custom-badge-hot { background-color: #ff0000 !important; border-radius: 4px !important; }

@media (max-width: 767px) {
    .custom-sale-wrapper { padding: 12px 12px 0px 12px; border-radius: 12px; }
}

/* CSS Phân trang cứng của Bootstrap */
.ajax-pagination-links { display: flex; justify-content: center; margin-top: 30px; }
.ajax-pagination-links .pagination { background-color: #ffffff !important; padding: 6px 12px !important; border-radius: 50px !important; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important; display: inline-flex !important; align-items: center !important; border: 1px solid #f5f5f5 !important; margin: 0 !important; }
.ajax-pagination-links .page-item { margin: 0 4px !important; }
.ajax-pagination-links .page-link { width: 36px !important; height: 36px !important; border-radius: 50% !important; border: none !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 15px !important; font-weight: 600 !important; color: #444444 !important; background-color: #f6f6f6 !important; padding: 0 !important; transition: all 0.2s ease !important; text-decoration: none !important; line-height: 1 !important; }
.ajax-pagination-links .page-item:not(.active) .page-link:hover { background-color: #e5e5e5 !important; color: #0b7321 !important; }
.ajax-pagination-links .page-item.active .page-link, .ajax-pagination-links .page-item.active span.page-link { background-color: #0b7321 !important; color: #ffffff !important; box-shadow: 0 2px 6px rgba(11, 115, 33, 0.4) !important; }
.ajax-pagination-links .page-item:first-child .page-link, .ajax-pagination-links .page-item:first-child span.page-link, .ajax-pagination-links .page-item:last-child .page-link, .ajax-pagination-links .page-item:last-child span.page-link { background-color: transparent !important; color: #0b7321 !important; font-size: 20px !important; font-weight: 700 !important; }
.ajax-pagination-links .page-item:first-child .page-link:hover, .ajax-pagination-links .page-item:last-child .page-link:hover { background-color: #f0f0f0 !important; }
.ajax-pagination-links .page-item.disabled .page-link, .ajax-pagination-links .page-item.disabled span.page-link { color: #cccccc !important; background-color: transparent !important; cursor: not-allowed !important; }

/* Responsive */
@media (max-width: 991px) { .col-custom-5 { flex: 0 0 33.333%; max-width: 33.333%; } }
@media (max-width: 767px) { .col-custom-5 { flex: 0 0 50%; max-width: 50%; } .custom-sale-title { font-size: 18px; } }






.hover-background{position:absolute;width:100%;height:500px;background-color:black;z-index:999;opacity:0.7;display:none;}
.btn-xs {
    padding: 0.125rem 0.25rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 0.15rem;
}
/*.proser-image-main{height:400px}*/

/* ===== Form Wrapper ===== */
.form-wrapper {
    counter-reset: label-counter;
}
.form-wrapper label::before {
    counter-increment: label-counter; 
    content: counter(label-counter) ". ";
    font-weight: 600;
    margin-right: .2rem;
    font-size: .9rem;
}

.text-hr {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 5px auto;
    color: #444;
}
.text-hr__text {
    padding-right: 15px;
}
.text-hr__text:not(:first-child) {
    display: none;
}
.text-hr::after {
    flex: 1;
    background: #c7c7c7;
    content: "";
    height: 5px;
    border-radius: 5px;
}
.text-hr--right .text-hr__text {
    order: 1;
    padding: 0 0 0 15px;
}
.text-hr--double .text-hr__text:nth-child(2) {
    order: 1;
    display: inline;
    padding: 0 0 0 15px;
}
.text-hr--center::before {
    flex: 1;
    background: #c7c7c7;
    content: "";
    height: 5px;
    border-radius: 5px;
}
.text-hr--center .text-hr__text {
    padding: 0 15px;
}
.text-hr--triple .text-hr__text:nth-child(2) {
    order: 2;
    display: inline;
    padding: 0 15px;
}
.text-hr--triple .text-hr__text:nth-child(3) {
    order: 4;
    display: inline;
    padding: 0 0 0 15px;
}
.text-hr--triple::after {
    order: 3;
}
.text-hr--triple::before {
    flex: 1;
    background: #c7c7c7;
    content: "";
    height: 1px;
    order: 1;
}
.text-hr--loud .text-hr__text {
    font-size: 36px;
    font-weight: bold;
}
.text-hr--loud .text-hr__text:nth-child(2) {
    font-size: 12px;
    font-weight: normal;
}
.index_label_title h2{
    width: 100%;
    line-height: 25px;
    font-size: 17px;
    font-weight: bold;
    margin: 6px 0px;
    padding: 0px 10px 0px 10px;
}
/*----------------------Loading--------------------*/
.box-loading {
    width: 100vw;
    height: 100vh;
    margin: 0;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    position:fixed;
    z-index:99999999;
    opacity:0.5;
}
.box-loading >.loading {
    width: 5vmax;
    height: 5vmax;
    border-right: 4px solid #ffffff;
    border-radius: 100%;
    animation: spinRight 800ms linear infinite;
    &:before, &:after {
        content: '';
        width: 6vmax;
        height: 6vmax;
        display: block;
        position: absolute;
        top: calc(50% - 3vmax);
        left: calc(50% - 3vmax);
        border-left: 3px solid #ffffff;
        border-radius: 100%;
        animation: spinLeft 800ms linear infinite;
    }
    &:after {
        width: 4vmax;
        height: 4vmax;
        top: calc(50% - 2vmax);
        left: calc(50% - 2vmax);
        border: 0;
        border-right: 2px solid #ffffff;
        animation: none;
    }
}
@keyframes spinLeft {
    from {transform:rotate(0deg);}
    to {transform:rotate(720deg);}
}
@keyframes spinRight {
    from {transform:rotate(360deg);}
    to {transform:rotate(0deg);}
}
/*------------------End loading------------------*/

.w-5{width:5%}
.w-8{width:8%}
.w-10{width:10%}
.w-12{width:12%}
.w-15{width:15%}
.w-20{width:20%}
.w-25{width:25%}
.w-30{width:30%}
.w-35{width:35%}
.w-40{width:40%}
.w-45{width:45%}
.w-50{width:50%}
.w-55{width:55%}
.w-60{width:60%}
.w-65{width:65%}
.w-70{width:70%}
.w-75{width:75%}
.w-80{width:80%}
.w-85{width:85%}
.w-88{width:88%}
.w-90{width:90%}
.w-95{width:95%}
.size-06{font-size:.6rem}
.size-07{font-size:.7rem}
.size-08{font-size:.8rem}
.size-09{font-size:.9rem}
.size-1{font-size:1rem}
.size-11{font-size:1.1rem}
.size-12{font-size:1.2rem}
.size-13{font-size:1.3rem}
.size-14{font-size:1.4rem}
.size-15{font-size:1.5rem}
.size-16{font-size:1.6rem}
.text-red{color:red}
.text-black{color: black}
.text-green{color: green}
a:hover{text-decoration:none !important}
body{
    /*font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;*/
    background-color:#e9edf0;
}
a{color: #000;font-size: 1rem}
p{font-size:.9rem}
strong{font-weight:600}
label{font-weight:600}
ul li:last-child{border-bottom:0px !important}
.btn-xs {
    padding: .125rem .25rem;
    line-height: 1.5;
    border-radius: .15rem;
}
.container{max-width: 1240px !important}
.container-color-white{background-color:#fff;padding:1rem}
.title_indust {float: left;height: 32px;background-color: #b5b8ba;text-align: center;line-height: 30px;color: #FFF;font-weight: bold;}
.box-info-footer{line-height:1}
.box-four-home:last-child{border-bottom:0px !important}
.box-detail img{max-width:100% !important;max-height:100%}
.box-detail table{max-width:100% !important}
.form-text {display: block;margin-top: 0.25rem;font-size: 14px;color: #dc3545 !important;}
.form-text-blue {display: block;margin-top: 0.25rem;font-size: 14px;color: #004085 !important;}
.btn-user-edit{position:absolute;top:.2rem;right:.2rem;cursor:pointer}
.box-user-info{line-height:1.8}
.box-acti-operation{position:absolute;right:5px;top:5px;}
.border-activities-home{border-right:10px solid #e9edf0}
.btn-sm{padding: .1rem .3rem !important}
.title-header-box{background-color:#c5c8c5}
.row_nineteen{margin-left:-19px !important;margin-right:-19px !important}
.row_nineteen_right{margin-left:-15px !important;margin-right:-19px !important}
.row_nineteen_left{margin-left:-19px !important;margin-right:-15px !important}
.font-weight-bold{font-weight:600 !important}

/*************************/
.content-detail table {
    width: 100% !important;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.content-detail th,
.content-detail td {
    padding: 10px 14px;
    text-align: left;
    border: 1px solid #eaeaea;
}
.content-detail th {
    background: #f7f7f7;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.content-detail tr:nth-child(even) td {
    background: #fafafa;
}
.content-detail tr:hover td {
    background: #f0f8ff;
    transition: background 0.2s ease-in-out;
}
.content-detail tr td img{
    max-width:100px !important;
}
.content-detail img{
    max-width: 100% !important;
    height:auto !important;
    border-radius: 8px;
}


.form-search-mobile>.select2-container--default .select2-selection--single{padding:.46875rem .1rem !important}
.text-title-1{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}
.text-title-2{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.2}
.text-title-3{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;line-height:1.2}
.box-show-captcha{background-color:black;color:white;width:10%;padding:7.5px;text-align:center;font-size:15px;float:left}
.box-input-captcha{text-align:center;border-radius:0px}
.pagination{margin-top:.5rem !important;margin-bottom:.5rem !important}
.box-contact-icon{position:absolute;top:40px;right:10px}
.border-bottom-dotted{border-bottom:1px dotted #ccc}
.object-fit-cover{object-fit:cover}
.object-fit-contain{object-fit:contain}
.border-radius-50{border-radius:50%}
.h-100{height:100%}
.custom-height-image img{object-fit:cover !important;height:170px !important}
.delete-image-multi{position: absolute;right: 0;top: 0;cursor:pointer;}
.box-status-proser{position:absolute;width:100%;top:35%}
.box-status-proser strong {background-color:#ccc;opacity:0.8;color:red;padding:10px 15px}
.btn-search-mobile {position:absolute;right:0;height:38px;z-index:99}
.btn-search-mobile button{background-color:#0d5a86;color:#fff}
/*-------------Custom select2-----------------*/
.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
    padding: .46875rem .75rem;
    height: calc(2.25rem + 2px);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height:20px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    top:60%;
}

#select2-cateId-results li{border-bottom:1px dotted #ccc}
#select2-cateId-results{max-height:400px}

#select2-provinceId-results li{border-bottom:1px dotted #ccc}
#select2-provinceId-results{max-height:400px}

#select2-districtId-results li{border-bottom:1px dotted #ccc}
#select2-districtId-results{max-height:400px}

/*Cate*/
.CateIDM>.select2-search{width:300% !important;background-color:#fff}
#select2-CateIDM-results{width: 300%;background-color:#fff;max-height:400px;border:1px solid #ccc}
#select2-CateIDM-results li{border-bottom:1px dotted #ccc}
#select2-CateIDM-results.select2-dropdown{border:0px !important}
#select2-cateId-results{max-height:400px}

/*Province*/
.ProvinceIDM>.select2-search{width:300% !important;background-color:#fff;margin-left:-100%}
#select2-ProvinceIDM-results{width: 300%;background-color:#fff;max-height:400px;border:1px solid #ccc;margin-left: -100%}
#select2-ProvinceIDM-results li{border-bottom:1px dotted #ccc}
#select2-ProvinceIDM-results > .select2-dropdown{border:0px !important}

/*District*/
.DistrictIDM>.select2-search{width:300% !important;background-color:#fff;margin-left:-200%}
#select2-DistrictIDM-results{width: 300%;background-color:#fff;max-height:400px;border:1px solid #ccc;margin-left: -200%}
#select2-DistrictIDM-results li{border-bottom:1px dotted #ccc}
#select2-DistrictIDM-results.select2-dropdown{border:0px !important}

/*Street*/
.StreetIDM>.select2-search{width:300% !important;background-color:#fff;margin-left:-200%}
#select2-StreetIDM-results{width: 300%;background-color:#fff;max-height:400px;border:1px solid #ccc;margin-left: -200%}
#select2-StreetIDM-results li{border-bottom:1px dotted #ccc}
#select2-StreetIDM-results.select2-dropdown{border:0px !important}

/*-------------End custom select2-----------------*/

#proviceR .select2{width: 100% !important}
#districtR .select2{width: 100% !important}
#wardR .select2{width: 100% !important}
#streetR .select2{width: 100% !important}
/*-------------See more-----------------*/
#seeMore p.collapse:not(.show) {overflow: hidden;display:-webkit-box;-webkit-line-clamp:10;-webkit-box-orient:vertical}
#seeMore p.collapsing {min-height: 100px !important;}
#seeMore span.collapsed:after  {content: '+ Xem thêm';}
#seeMore span:not(.collapsed):after {content: '- Thu gọn';}
#seeMore span{color:blue;cursor:pointer}
/*------------Custome menu desktop---------------*/

.list-result-search-construct {
    border-bottom: 1px dotted #d1d5db;
}
.list-result-search-construct .lrs-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    text-decoration: none;
    color: #212529;
}
.list-result-search-construct .lrs-item:hover {
    background: #f8f9fa;
}
.list-result-search-construct .lrs-left {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
}
.list-result-search-construct .lrs-left img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.list-result-search-construct .lrs-right {
    flex: 1;
    min-width: 0;
}
.list-result-search-construct .lrs-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 2px;
    color: #212529;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.list-result-search-construct .lrs-item:hover .lrs-title {
    color: #0d6efd;
}
/* CODE */
.list-result-search-construct .lrs-code {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 2px;
}
/* PRICE */
.list-result-search-construct .lrs-price {
    font-size: 13px;
}
.list-result-search-construct .lrs-price span {
    font-weight: 700;
    color: #dc3545;
}

/*------------Custom search auto-----------------*/

.inputTypeaheadQuoteDesk .twitter-typeahead{width:100% !important}
.inputTypeaheadQuoteDesk .tt-menu{width:100%;border:1px solid #ddd;background:#fff}
.inputTypeaheadQuoteDesk .tt-menu .header-title-search{padding: .5rem 1rem;background-color: #f8f9fa}
.inputTypeaheadQuoteDesk .tt-menu .list-result-search{padding: .5rem 1rem;width:100%;background-color:#dee2e6}

.inputTypeaheadDesk .twitter-typeahead{width:100% !important}
.inputTypeaheadDesk .tt-menu{
    width: 124%;
    border: 1px solid #ddd;
    background: #eef9ec;
    max-height: 480px;
    overflow-y: scroll;
    overflow-x: hidden;
    top: 120% !important;
    border-radius: 10px;
    margin-left: -9%;
}
.inputTypeaheadDesk .tt-menu .header-title-search{padding: .5rem 1rem;background-color: #f8f9fa}
.inputTypeaheadDesk .tt-menu .list-result-search{padding: .5rem 1rem;width:100%;border-bottom:1px dotted #ccc}

.inputTypeaheadMobi >.twitter-typeahead{width:100% !important}
.inputTypeaheadMobi .tt-menu{
    width: 142%;
    border: 1px solid #ddd;
    background: #eef9ec;
    margin-left: -15%;
    top: 115% !important;
    border-radius: 15px;
}
.inputTypeaheadMobi .tt-menu .header-title-search{padding: .5rem 1rem;background-color: #f8f9fa}
.inputTypeaheadMobi .tt-menu .list-result-search{padding: .5rem 1rem;width:100%;border-bottom:1px dotted #ccc}

.requestSurvey >.twitter-typeahead{width:100% !important}
.requestSurvey .tt-menu{width:100%;border:1px solid #ddd;background:#fff}
.requestSurvey .tt-menu .header-title-search{padding: .5rem 1rem;background-color: #f8f9fa}
.requestSurvey .tt-menu .list-result-search{padding: .5rem 1rem;width:100%;border-bottom:1px dotted #ccc}

/*------------End custom search auto-------------*/

.badge-discount {
    top: 8px;
    right: 8px;
    background-color: #dc3545; /* đỏ */
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.custom-width-mobile{
    width: auto;
}
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    display: block;
    position: relative;
    z-index: 999; 
}
#cssmenu:after,
#cssmenu > ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
    color: #fff;
    width:180px;
}
#cssmenu > ul > li.has-sub > a::after {
    position: absolute;  
    top: 10px;
    right: 0px;
    width: 7px;
    height: 7px;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
}
#cssmenu > ul > li.has-sub:hover > a::after {
    border-color: #e43d1c;
}
#cssmenu ul ul {
    position: absolute;
    left: -9999px;
}
#cssmenu li:hover > ul {
    left:-1rem;
}
#cssmenu.align-right li:hover > ul {
    right: 0;
}
#cssmenu ul ul ul {
    margin-left: 105.7%;
    top: 0;
}
#cssmenu.align-right ul ul ul {
    margin-left: 0;
    margin-right: 100%;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
    color: #e43d1c; 
}
#cssmenu ul ul li.has-sub > a::after {
    position: absolute;
    top: 20px;
    right: 10px;
    width: 4px;
    height: 4px;
}
#cssmenu .child {width:337% !important}
/*------------Edn custom menu desktop------------*/

#bars{position:absolute;z-index:999}
#bars{margin-top:2rem}
#bars ul{background-color:#f5f5f5;list-style:none}
#bars ul li a i{font-size:20px;margin-right:5px}
#bars ul li a strong{margin-left:5px}
.logo{max-width:100%;object-fit:contain}
.logo-mobi{max-width:70%;object-fit:contain}
.cart-quantity{border:1px solid #000;padding:0px 4px;border-radius:39%;font-size:.8rem}
.image-adv-home{max-height:335px;height:335px}
.custome-width-table{
    white-space: nowrap;
    width: 1%;
    background-color: #e9ecef;
}


.custom-category-container {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.custom-category-title {
    font-size: 20px;
    color: #1a1a1a;
}
.custom-category-badge {
    background-color: #2e7d32;
    color: #ffffff;
    padding: 1px 5px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
}
.custom-category-view-all {
    color: #2e7d32;
    font-size: 16px;
    text-decoration: none;
}
.custom-category-view-all:hover {
    color: #1b5e20;
    text-decoration: none;
}
.custom-category-view-all span {
    font-size: 20px;
    line-height: 1;
    vertical-align: text-bottom;
}
.custom-category-card {
    border-radius:12px;
    background: #ffffff;
    transition: all 0.3s ease;
}
.custom-category-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-color: #dcdcdc;
}
.custom-category-link {
    text-decoration: none !important;
    display: block;
    width: 100%;
}
.custom-category-img-wrap {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1px solid #eaeaea;
    padding: 2px; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}
.custom-category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.custom-category-name {
    font-size: 15px;
    font-weight: 600;
    color: #222222;
}
.custom-category-count {
    font-size: 20px;
    font-weight: 700;
    color: #2e7d32;
    margin-top: 6px;
}
.custom-category-label {
    font-size: 14px;
    color: #777777;
    margin-top: 2px;
}
@media (max-width: 576px) {
    .custom-category-container { padding: 16px; }
    .custom-category-title { font-size: 20px; }
    .custom-category-img-wrap { width: 100px; height: 100px; }
    .custom-category-card { padding: 16px 8px; }
    .custom-category-name { font-size: 16px; }
    .custom-category-count { font-size: 18px; }
}

/*Box brand*/
.brand-card {
    background: #fff;
    /*border: 1px solid #eee;*/
    padding: 12px 8px;
    transition: all .25s ease;
    height: 100%;
}
.brand-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    transform: translateY(-3px);
    border-color: #ddd;
}
.brand-thumb img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid #f1f1f1;
    padding: 6px;
    background: #fafafa;
    transition: all .25s ease;
}
.brand-card:hover .brand-thumb img {
    transform: scale(1.05);
    border-color: #ddd;
}
.brand-title {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.brand-title:hover {
    color: #007bff;
    text-decoration: none;
}

/*-------------End See more-----------------*/

@media (max-width: 575.98px) {
    /* CSS cho điện thoại nhỏ */
    .container {width: 100%;padding-right: 5px;padding-left: 5px;margin-right: auto;margin-left: auto;}
    .content-detail table{width: 100% !important}
    .row_nineteen_right{margin-left:-19px !important;margin-right:-19px !important}
    .image-adv-home{max-height:100% !important;height:100% !important}
    .proser-image-main{height:350 !important}
    .custom-width-mobile{width: 100% !important;}
}
@media (min-width: 576px) and (max-width: 767.98px) {
    /* CSS cho sm */
    .custon-padding-none {padding: 0px;}
    .container {width: 100%;padding-right: 5px;padding-left: 5px;margin-right: auto;margin-left: auto;}
    .border-activities-home{border-right:0px}
    .box-show-captcha{background-color:black;color:white;width:40%;padding:7.5px;text-align:center;font-size:15px;float:left}
    .box-input-captcha{width:60%;height:38px !important;float:left;text-align:center;border-radius:0px}
    .text-title-1{overflow: hidden;display: -webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
    .content-detail img{width: 100% !important;height: auto !important;}
    .content-detail table{width: 100% !important;height: auto !important;}
    .row-custom-margin-sm{margin-left:0px !important;margin-right:0px !important}
    .col-custom-padding-sm{padding-left:0px !important;padding-right:2px}
}
@media (min-width: 768px) and (max-width: 991.98px) {
    /* CSS cho md */
    .w-5{width:10% !important}
    .w-90{width:85% !important}
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* CSS cho lg */
    .w-5{width:8% !important}
    .w-90{width:84% !important}
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    /* CSS cho xl */
    .container{max-width: 1240px !important}
}
@media (min-width: 1400px) {
    /* CSS cho xxl */
    .container_cus{max-width: 1000px !important}
}


.owl-stage {
    display: flex;
}
.owl-item {
    display: grid;
    height: auto !important;
}