*{
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-family: Roboto, Arial, "Microsoft YaHei", sans-serif,Helvetica, "Source Han Sans";
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
    color: inherit;
}
body {
    background-color: #f4f5f8;
    color: #333;
    overflow-x: hidden;
    font-size: 13px;
}
body, button, input, select, textarea {
    font: 13px / 1.5 "Roboto", Arial, "Microsoft YaHei", sans-serif;
}
/***
 * 
 * 
 * 
***/
.z-container,
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}



/* 1. Global Platform Top Header */
.mic-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
    font-size: 13px;
    position: relative;
    z-index: 1000;
}

.mic-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mic-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mic-logo img {
    max-width: 250px;
}

.mic-nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #333;
}

.mic-nav-right > a:hover,
.dropdown-wrapper:hover > a {
    color: #e60012;
}

.dropdown-wrapper {
    position: relative;
    display: inline-block;
    height: 100%;
    padding-bottom: 5px;
}

.dropdown-wrapper > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 0;
    font-size: 13px;
    color: #333;
}

.dropdown-wrapper > a .fa-chevron-down {
    transition: transform 0.2s ease;
}

.dropdown-wrapper:hover > a .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    z-index: 1001;
    padding: 10px 0;
}

.dropdown-wrapper::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
    display: block;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 25px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

.dropdown-wrapper:hover .dropdown-menu {
    display: block;
}

.dropdown-supplier { left: -10px; width: 210px; }
.dropdown-about { left: -10px; width: 190px; }

.dropdown-help {
    left: -130px;
    width: 291px;
    /*left: -10px; 
    width: 180px;*/ 
}

.dropdown-menu.dropdown-help::before{
    left: 150px;
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    font-size: 14px;
    line-height: 1.4;
    transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:hover {
    /*background-color: #f5f5f5;*/
    color: #e60012;
}

.dropdown-auth {
    right: 0;
    width: 290px;
    padding: 20px;
}

.dropdown-auth::before {
    left: auto;
    right: 35px;
}

.auth-box h4 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.auth-box p {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-auth-login {
    flex: 1;
    background: #e60012;
    color: #fff;
    padding: 8px 0;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-auth-login:hover {
    background: #c5000f;
    color: #fff !important;
}

.btn-auth-register {
    flex: 1;
    background: #fff;
    color: #212121;
    padding: 8px 0;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    border: 1px solid #e60012;
    cursor: pointer;
    transition: background 0.2s;
}

/*.btn-auth-register:hover {
    background: #fff0f1;
    color: #e60012 !important;
}*/

.auth-divider {
    text-align: center;
    font-size: 11px;
    color: #aaa;
    margin-bottom: 12px;
    position: relative;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #eee;
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.social-login {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #555;
    transition: all 0.2s;
}

.social-btn:hover {
    background: #f5f5f5;
    color: #e60012 !important;
}

.dropdown-lang {
    right: 0;
    width: 256px;
    padding: 0;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.dropdown-lang::before {
    left: auto;
    right: 55px;
}

.dropdown-wrapper:hover .dropdown-lang {
    display: grid;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.dropdown-menu.dropdown-lang.notranslate .lang-item:hover {
    background-color: #f0f0f0;
    color: #1e82d2;
}

.lang-item .fi {
    font-size: 14px;
    border-radius: 2px;
    box-shadow: 0 0 1px rgba(0,0,0,0.3);
}

/* 2. Supplier Header Bar */
.supplier-bar {
    background-color: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.supplier-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.supplier-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 15px;
}

.company-name-cut {
    max-width: 150px; 
    white-space: nowrap; 
    overflow: hidden;     
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

.badge-diamond {
    color: #0084ff;
    font-size: 12px;
    font-weight: normal;
}

.badge-audited {
    color: #1e82d2;
    font-size: 12px;
    font-weight: bold;
}

.supplier-actions {
    display: flex;
    gap: 10px;
}

.btn-inquiry {
    border: 1px solid #e60012;
    color: #e60012;
    background: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

.btn-chat {
    border: 1px solid #1e82d2;
    color: #1e82d2;
    background: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 3. BANNER */
/*.company-banner {
    background-image: linear-gradient(90deg, rgba(10, 25, 47, 0.6) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(10, 25, 47, 0.4) 100%), 
    url('<?php echo $banner_bg_url; ?>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 125px;
    color: #fff;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.15);
}*/

.company-banner {
    background-image: 
        linear-gradient(90deg, rgba(10, 25, 47, 0.75) 0%, rgba(10, 25, 47, 0.25) 50%, rgba(10, 25, 47, 0.65) 100%),
        url('https://vietb2b.com/themes/vietb2b/images/logo.png'),
        url('https://vietb2b.com/themes/vietb2b/images/bg-tab-supplier.jpg');

    background-position: 
        center center,
        right 10% center,
        center center;

    background-size: 
        cover,
        260px auto,
        cover;

    background-repeat: 
        no-repeat,
        no-repeat,
        no-repeat;

    height: 125px;
    color: #fff;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.company-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.company-logo-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.company-logo-text > div:first-child {
    border-radius: 6px;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);*/
}

.supplier-logo {
    height: 100px;
    width: 150px;
}

.supplier-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-name-title h2 {
    /*font-size: 19px;*/
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.3px;
}

.banner-slogan {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.banner-contact {
    font-size: 13px;
    text-align: right;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.banner-contact div {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    font-weight: 500;
}

/* 4. SUPPLIER MENU */
/*.supplier-menu {
    background-color: #1e82d2;
    height: 44px;
    position: relative;
    z-index: 900;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.supplier-menu .container {
    height: 100%;
}

.supplier-menu > ul {
    display: flex;
    list-style: none;
    height: 100%;
    align-items: center;
}

.supplier-menu > div.container > ul > li > ul{
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    list-style: none;
}

.supplier-menu .div.container > ul > li.menu-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.supplier-menu .menu-item a {
    display: flex;
    align-items: center;
    padding: 0 22px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    height: 100%;
    gap: 8px;
    transition: all 0.2s ease-in-out;
    position: relative;
}

.supplier-menu .menu-item a:hover {
    background-color: #1565c0;
}

.supplier-menu .menu-item.active a {
    background-color: #0d47a1;
}

.supplier-menu .menu-item.active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffeb3b;
}

.verified-badge {
    height: 16px;
    vertical-align: middle;
}*/

/* Reset cÆ¡ báº£n */
.supplier-menu * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ThÃ¢n menu */
.supplier-menu {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    z-index: 999;
}

.supplier-menu .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Danh sÃ¡ch menu chÃ­nh */
.supplier-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.supplier-menu .menu-item {
    position: relative;
}

.supplier-menu .menu-item > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.supplier-menu .menu-item > a:hover,
.supplier-menu .menu-item.active > a {
    color: #0066cc;
    background-color: #f8f9fa;
}

.supplier-menu .menu-item > a::after {
    content: '';
    position: absolute;
    /*bottom: -3px;*/
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #0066cc;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.supplier-menu .menu-item:has(ul) > a::after {
    bottom: 0px;
}

.supplier-menu .menu-item:hover > a::after,
.supplier-menu .menu-item.active > a::after {
    width: 80%;
}

.supplier-menu .verified-badge {
    height: 18px;
    width: auto;
    vertical-align: middle;
}

.supplier-menu .menu-item ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 8px 8px;
    border-top: 1px solid #0066cc;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.supplier-menu .menu-item:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.supplier-menu .menu-item ul li a {
    padding: 12px 20px;
    color: #555555;
    text-decoration: none;
    font-size: 14px;
    display: block;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-bottom: 1px solid #f1f1f1;
}

.supplier-menu .menu-item ul li:last-child a {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.supplier-menu .menu-item ul li a:hover {
    background-color: #f0f7ff;
    color: #0066cc;
    padding-left: 24px;
}

.supplier-menu .menu-item:has(ul) > a::before {
    content: "▾";
    order: 2;
    margin-left: 4px;
    font-size: 20px;
}

/*** 
 * 
 * cau hinh menu cap 3 (dropdown con)
 * 
***/

.supplier-menu .menu-item ul li {
    position: relative;
}

.supplier-menu .menu-item ul li ul {
    top: 0;
    left: 100%;
    border-top: none;
    border-left: 2px solid #0066cc;
    border-radius: 0 8px 8px 8px;
    transform: translateX(10px);
}

.supplier-menu .menu-item ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.supplier-menu .menu-item ul li.has-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.supplier-menu .menu-item ul li.has-submenu > a::after {
    content: "▸";
    font-size: 14px;
    margin-left: 10px;
    color: #888;
    /* Ghi Ä‘e hieu ung gach chan cua cap 1 */
    position: static;
    width: auto;
    height: auto;
    background: none;
}

.supplier-menu .menu-item ul li.has-submenu:hover > a::after {
    color: #0066cc;
}

/***
 *  
 * 5. SLIDE FULL
 * 
***/
.full-slider-container {
    width: 100%;
    height: calc(100vh - 220px); 
    min-height: 550px; 
    background: #111;
    position: relative;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    width: 100%;
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.slide-content h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 650px;
    line-height: 1.5;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.btn-slide {
    display: inline-block;
    background: #e60012;
    color: #fff;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(230, 0, 18, 0.4);
}

.btn-slide:hover {
    background: #c5000f;
    transform: translateY(-2px);
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    width: 55px;
    height: 55px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn { left: 30px; }
.next-btn { right: 30px; }

.full-slider-container:hover .slider-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

.full-slider-container:hover .prev-btn { left: 20px; }
.full-slider-container:hover .next-btn { right: 20px; }

.slider-btn:hover {
    background: #e60012 !important;
    border-color: #e60012;
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #e60012;
    width: 32px;
    border-radius: 10px;
}

.trade-messenger {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid #ccc;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 100;
}

/* ===================================================
   6. Thanh ngon ngu (LANG BAR)
=================================================== */
.lang-bar-wrapper {
    position: relative;
    overflow: hidden;
}

.lang-bar-container {
    position: relative;
    padding: 0 15px;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.slide-btn.prev-btn { left: -15px; }
.slide-btn.next-btn { right: -15px; }

.slide-btn:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.lang-bar-container:hover .slide-btn.is-active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .slide-btn.prev-btn { left: 5px; }
    .slide-btn.next-btn { right: 5px; }
}
/******/

.lang-list {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 15px 0;
    background: #fff;
    border-radius: 10px;
    margin: 30px 0;
}

.lang-list::-webkit-scrollbar {
    display: none;
}

.lang-item {
    flex: 0 0 calc((100% - (12px * 9)) / 10);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    transition: transform 0.2s ease;
}

.item-flag.align-center p {
    margin-bottom: 10px;
}

.item-flag.align-center{
    text-align: center;
}

.lang-item:hover {
    transform: translateY(-3px);
}

.lang-list .lang-item .fi {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 1.5px solid #ffffff;
}

.lang-list .lang-item .lang-name {
    font-size: 11px;
    color: #444;
    margin-top: 5px;
    font-weight: 500;
    white-space: nowrap;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.slide-btn.prev-btn { left: 10px; }
.slide-btn.next-btn { right: 10px; }

.slide-btn:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.lang-bar-wrapper:hover .slide-btn.is-active {
    opacity: 1;
    visibility: visible;
}

/* ===================================================
   7. BANNER FULL
=================================================== */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 520px; 
    background: url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(14, 52, 105, 0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.hero-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
    margin-bottom: 12px;
    text-transform: uppercase;
    font-family: math;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 25px;
    opacity: 0.9;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0066cc;
    color: #fff !important;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    background-color: #004da6;
    transform: scale(1.05);
}


@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-card.card-big {
        grid-row: auto;
    }
    .card-big .img-box {
        padding-top: 75%;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card.card-big {
    grid-row: span 2;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-big-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.img-box-big {
    flex: 1;
    position: relative;
    width: 100%;
    background-color: #f9fafb;
    overflow: hidden;
    min-height: 320px;
}

.img-box-big img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.4s ease;
}

.product-card.card-big:hover .img-box-big img {
    transform: scale(1.03); 
}

.card-big-footer {
    padding: 18px 16px;
    text-align: center;
}

.card-big-footer .big-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.btn-contact-supplier {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background-color: #0066cc;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.2);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.btn-contact-supplier:hover {
    background-color: #0052a3;
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.35);
    transform: translateY(-2px);
}

.img-overlay-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
}

.img-overlay-tag i {
    color: #0066cc;
    margin-right: 4px;
}

.banner3-page {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner3-page img{
    max-width: unset;
    height: 100%;
}

/* RESPONSIVE (MOBILE/TABLET) */
@media (max-width: 991px) {
    .lang-list {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        flex-wrap: nowrap;
    }
    .hero-banner {
        min-height: 380px;
    }
    .hero-title {
        font-size: 26px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
}

/***
 * 
 * Nhom san pham 
 * 
 * ***/

.category-section {
    background-color: #f8f9fa;
}

.supp-banner img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 25px;
}

div.section-title-nsp {
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    color: #222;
    margin: -10px 0 20px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /*grid-template-rows: repeat(2, 1fr);*/
    /* grid-template-rows - Máº·c Ä‘á»‹nh hiá»‡n 2 dÃ²ng */
    gap: 20px;
    padding: 0 10px;
}

.sp-card {
    background: #ffffff;
    /*border: 1px solid #e9ecef;*/
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.sp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.sp-card .img-box {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f1f3f5;
}

.sp-card .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/*.sp-card:hover .img-box img {
    transform: scale(1.06);
}*/

.sp-card .card-info {
    padding: 12px 14px 15px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    text-align: left;
}

.sp-card .sp-title {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
}

.sp-card:hover .sp-title {
    color: #0056b3;
}

.sp-card .price {
    font-size: 15px;
    font-weight: 700;
    color: #d9534f;
    margin-bottom: 2px;
}

.sp-card .moq {
    font-size: 11px;
    color: #8c98a4;
    font-weight: 500;
}

.sp-card.hidden {
    display: none !important;
}

.action-container {
    text-align: center;
}

.btn-view-more {
    background: #ffffff;
    border: 1.5px solid #0056b3;
    color: #0056b3;
    padding: 8px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 86, 179, 0.15);
}

.btn-view-more:hover {
    background: #0056b3;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.sp-card .img-box {
    display: block;
}

.sp-card .sp-title {
    text-decoration: none;
    display: -webkit-box;
}

/* Responsive */
@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .sp-card .img-box { height: 140px; }
}

/***
 * 
 * machine production + Featured Products 
 * 
***/
.featured-section {
    background-color: #f4f6f8;
    padding: 0px 0 20px 0;
}
.section-title {
    font-size: 25px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
    text-align: center;
}

.product-grid-5cols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px; 
}
.card-big {
    grid-column: span 2;
    grid-row: span 2;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card-big:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.card-big .img-box-big {
    position: relative;
    width: 100%;
    height: 320px;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-big .img-box-big img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
.play-icon {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 26px;
    height: 26px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}
.card-big-info {
    padding-top: 14px;
}
.card-big-title {
    font-size: 17px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-big-price {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin-bottom: 4px;
}
.card-big-price span {
    font-size: 14px;
    color: #777;
    font-weight: 400;
}

.featured-product {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #d9534f !important;
    margin-bottom: 4px;
}

p.price-old {
    font-weight: normal;
    font-size: 12px;
    color: #998686;
    text-decoration: line-through;
}
.card-big-moq {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
}
.card-big-moq span {
    color: #888;
    font-weight: 400;
}
.btn-contact-now {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    color: #333;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-contact-now:hover {
    border-color: #999;
    background: #f9f9f9;
}
.product-card-small {
    position: relative;
    height: 279px;
}

.product-card-small .card-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    box-sizing: border-box;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid transparent; /* GiÃƒÆ’Ã‚Âºp phÃƒÆ’Ã‚Â¢n tÃƒÆ’Ã‚Â¡ch viÃƒÂ¡Ã‚Â»Ã‚Ân rÃƒÆ’Ã‚Âµ rÃƒÆ’Ã‚Â ng */
    transition: box-shadow 0.25s ease, transform 0.25s ease, z-index 0.25s ease, border-color 0.25s ease;
    z-index: 1;
}

.product-card-small .img-box {
    position: relative;
    width: 100%;
    height: 220px;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.product-card-small .img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
.product-card-small .product-title {
    font-size: 13px;
    color: #444;
    line-height: 1.35;
    margin: 0;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 10px 0;
}

span.price-km {
    font-size: 15px !important;
    font-weight: bold !important;
    color: #d9534f !important;
}

span.old-inline {
    text-decoration: line-through;
}

.hover-details {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.25s ease, max-height 0.25s ease, margin-top 0.25s ease;
}

.hover-details .price {
    font-size: 13px;
    color: #111;
    line-height: 1.2;
}
.hover-details .price span {
    font-size: 11px;
    color: #777;
    font-weight: 400;
}
.hover-details .moq {
    font-size: 11px;
    font-weight: 700;
    color: #222;
    margin-top: 2px;
}
.hover-details .moq span {
    color: #888;
    font-weight: 400;
}

.product-card-small:hover .card-inner {
    z-index: 99;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    border-color: #eee;
    transform: translateY(-2px);
}

.product-card-small:hover .hover-details {
    opacity: 1;
    visibility: visible;
    max-height: 60px;
    margin-top: -10px;
}

@media (max-width: 992px) {
    .product-grid-5cols { grid-template-columns: repeat(2, 1fr); }
    .card-big { grid-column: span 2; }
}


/***
 * 
 * product line section
 * 
***/

.prodline-section {
    position: relative;
    width: 100%;
    padding: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    box-sizing: border-box;
}

.prodline-section * {
    box-sizing: border-box;
}

/* Edit Bar (7 SP) */
.prodline-edit-bar {
    margin-bottom: 15px;
    padding-left: 20px;
}

.btn-open-prodline-modal {
    background-color: #28a745;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
}

.btn-open-prodline-modal:hover {
    background-color: #218838;
}

.prodline-section-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin: 0px 0 20px 0;
    color: #222222;

    /*font: 24px / 1.5 Roboto, Arial, "Microsoft YaHei", sans-serif,Helvetica, "Source Han Sans";*/
}

.prodline-grid-5cols {
    display: grid;
    grid-template-columns: 2.2fr repeat(3, 1fr);
    grid-gap: 15px;
    align-items: stretch;
}

/* Common Image Overlay (Overlay khi hover Ä‘á»ƒ sá»­a/thay áº£nh) */
.prodline-img-edit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.25s ease;
    cursor: pointer;
    z-index: 5;
}

.prodline-img-edit-overlay i {
    font-size: 22px;
    margin-bottom: 6px;
}

.prodline-img-edit-overlay span {
    font-size: 13px;
    font-weight: 500;
}

.prodline-img-box-big:hover .prodline-img-edit-overlay,
.prodline-img-box:hover .prodline-img-edit-overlay {
    opacity: 1;
}

/* ==========================================
   CARD Lá»šN BÃŠN TRÃI (Big Product)
   ========================================== */
.prodline-card-big {
    grid-row: span 2;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.prodline-img-box-big {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Ratio 1:1 */
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
}

.prodline-img-box-big img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.prodline-card-big-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prodline-card-big-title {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
    margin: 0;
}

.prodline-card-big-price {
    font-size: 18px;
    font-weight: 700;
    color: #d93025;
}

.prodline-card-big-price .prodline-price-old {
    font-size: 13px;
    color: #888888;
    text-decoration: line-through;
    font-weight: normal;
    margin-top: 2px;
}

.prodline-card-big-moq {
    font-size: 13px;
    color: #666666;
}

.btn-prodline-contact-now {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    color: #333;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-prodline-contact-highlight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #f57c00;
    color: #ffffff !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
}

/* ==========================================
   CARD NHá»Ž BÃŠN PHáº¢I (Small Products)
   ========================================== */
.prodline-product-card-small {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.prodline-product-card-small:hover {
    border-color: #ff6a00;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.prodline-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.prodline-img-box {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.prodline-img-box span.prodline-play-icon,
.prodline-img-box-big span.prodline-play-icon{
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #fff;
    padding: 6px 10px;
    font-size: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.prodline-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.prodline-product-title {
    font-size: 13px;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
}

.prodline-product-title a {
    color: #333333;
    text-decoration: none;
}

.prodline-product-title a:hover {
    color: #007bff;
}

.prodline-hover-details {
    margin-top: auto;
}

.prodline-price span {
    font-size: 14px;
    color: #777;
    font-weight: 400;
}

span.prodline-price-km {
    color: #d93025;
    font-size: 15px;
    font-weight: bold;
}

span.btn-prodline-contact-small {
    color: #fff;
    font-size: 13px;
}

span.dvt {
    color: #111;
}

.prodline-price .prodline-old-inline {
    font-size: 12px;
    color: #999999;
    text-decoration: line-through;
    font-weight: normal;
}

.prodline-hover-details {
    font-size: 14px;
}

.btn-prodline-contact-small {
    display: inline-block;
    background-color: #e65100;
    color: #ffffff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.prodline-moq {
    font-size: 12px;
    color: #777777;
    margin-top: 4px;
}

/* Content Editable Highlight Effect */
[contenteditable="true"] {
    outline: none;
    border-bottom: 1px dashed transparent;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

[contenteditable="true"]:hover {
    border-bottom-color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

[contenteditable="true"]:focus {
    border-bottom-color: #28a745;
    background-color: #ffffff;
}

/* ==========================================
   MODAL DIALOG (Popups cho chá»n SP & Edit)
   ========================================== */
.pl-modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* Äiá»u khiá»ƒn hiá»ƒn thá»‹ báº±ng JS */
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.pl-modal-box {
    background: #ffffff;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.pl-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 12px;
}

.pl-modal-header h3 {
    margin: 0;
    font-size: 17px;
    color: #333333;
}

.pl-modal-header span {
    font-size: 24px;
    color: #888888;
    line-height: 1;
}

.pl-search-box {
    margin: 15px 0 10px 0;
}

.pl-search-box input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 14px;
}

.pl-product-list {
    flex: 1;
    overflow-y: auto;
    max-height: 380px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
}

.pl-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}

.pl-item:last-child {
    border-bottom: none;
}

.pl-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
}

.pl-item-info {
    flex: 1;
}

.pl-item-info .title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.pl-item-info .price {
    font-size: 12px;
    color: #d93025;
}

.pl-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eeeeee;
    padding-top: 12px;
    margin-top: 15px;
}

.pl-counter {
    font-size: 13px;
    color: #666666;
    font-weight: 500;
}

.pl-btn-close {
    background: #e0e0e0;
    color: #333333;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 8px;
}

.pl-btn-save {
    background: #007bff;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

/* Quick Edit Modal Forms */
.pl-img-preview-box {
    text-align: center;
    margin-bottom: 12px;
}

.pl-img-preview-box img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pl-edit-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.pl-edit-form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #555555;
    margin-bottom: 4px;
}

.pl-edit-form-group input {
    padding: 8px 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 13px;
}

.pl-edit-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 12px;
}

@media (max-width: 992px) {
    .prodline-grid-5cols {
        grid-template-columns: repeat(3, 1fr);
    }
    .prodline-card-big {
        grid-row: auto;
        grid-column: span 3;
    }
}

@media (max-width: 576px) {
    .prodline-grid-5cols {
        grid-template-columns: repeat(2, 1fr);
    }
    .prodline-card-big {
        grid-column: span 2;
    }
}

.prodline-items-price span {
    color: #111;
    font-size: 14px;
    font-weight: normal;
}

span.prodline-product-price {
    font-size: 20px;
    font-weight: 700;
    color: #d93025;
}


/*.section-title {
    font-size: 25px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
}

.product-grid-5cols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px; 
}

.card-big {
    grid-column: span 2;
    grid-row: span 2;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card-big:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.card-big .img-box-big {
    position: relative;
    width: 100%;
    height: 320px;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-big .img-box-big img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.play-icon {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 26px;
    height: 26px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}
.card-big-info {
    padding-top: 14px;
}
.card-big-title {
    font-size: 17px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-big-price {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin-bottom: 4px;
}
.card-big-price span {
    font-size: 14px;
    color: #777;
    font-weight: 400;
}
span.price-sales {
    font-size: 20px;
    font-weight: bold;
    color: #d9534f !important;
}
span.dvt {
    color: #111;
}
p.price-old {
    font-weight: normal;
    font-size: 12px;
    color: #998686;
    text-decoration: line-through;
}
.card-big-moq {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
}
.card-big-moq span {
    color: #888;
    font-weight: 400;
}
.btn-contact-now {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    color: #333;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-contact-now:hover {
    border-color: #999;
    background: #f9f9f9;
}

.product-card-small {
    position: relative;
    height: 250px; 
}

.product-card-small .card-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    box-sizing: border-box;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid transparent;
    transition: box-shadow 0.25s ease, transform 0.25s ease, z-index 0.25s ease, border-color 0.25s ease;
    z-index: 1;
}

.product-card-small .img-box {
    position: relative;
    width: 100%;
    height: 220px;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.product-card-small .img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
.product-card-small .product-title {
    font-size: 13px;
    color: #444;
    line-height: 1.35;
    height: 36px;
    margin: 0;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

span.old-inline {
    text-decoration: line-through;
}

.hover-details {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.25s ease, max-height 0.25s ease, margin-top 0.25s ease;
}

.hover-details .price {
    font-size: 13px;
    font-weight: normal !important;
    color: #111;
    line-height: 1.2;
}
.hover-details .price span {
    font-size: 11px;
    color: #777;
    font-weight: 400;
}
.hover-details .moq {
    font-size: 11px;
    font-weight: 700;
    color: #222;
    margin-top: 2px;
}
.hover-details .moq span {
    color: #888;
    font-weight: 400;
}

.product-card-small:hover .card-inner {
    z-index: 99;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    border-color: #eee;
    transform: translateY(-2px);
}

.product-card-small:hover .hover-details {
    opacity: 1;
    visibility: visible;
    max-height: 60px;
    margin-top: -10px;
}

@media (max-width: 992px) {
    .product-grid-5cols { grid-template-columns: repeat(2, 1fr); }
    .card-big { grid-column: span 2; }
}*/

/***
 * 
 * metal melting unit
 *
***/
.mmu-wrapper {
    /*background-color: #f7f8fa;*/
    padding: 0px 20px;
    font-family: Arial, sans-serif;
}

.mmu-section-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 24px;
}

.mmu-main-banner {
    max-width: 1440px;
    margin: 0 auto;
    border-radius: 12px;
    background: linear-gradient(135deg, #7a2b1e 0%, #3a1c18 35%, #1e1e1e 100%);
    padding: 24px;
    display: flex;
    gap: 20px;
    box-sizing: border-box;
}

/* === CÃ¡Â»ËœT TRÃƒÂI: DÃƒâ‚¬NH CHO CATEGORY & BTN === */
.mmu-category-side {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 10px 10px 5px;
}

.mmu-category-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.mmu-btn-viewmore {
    display: inline-block;
    width: fit-content;
    padding: 7px 22px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.mmu-btn-viewmore:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

/* === CÃ¡Â»ËœT PHÃ¡ÂºÂ¢I: LÃ†Â¯Ã¡Â»Å¡I 4 SÃ¡ÂºÂ¢N PHÃ¡ÂºÂ¨M === */
.mmu-products-grid {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.mmu-product-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mmu-product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Khung Ã¡ÂºÂ£nh sÃ¡ÂºÂ£n phÃ¡ÂºÂ©m */
.mmu-image-container {
    position: relative;
    width: 170px;
    height: 170px;
    flex-shrink: 0;
    background-color: #f9f9f9;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mmu-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mmu-video-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
}

/* Chi tiÃ¡ÂºÂ¿t nÃ¡Â»â„¢i dung sÃ¡ÂºÂ£n phÃ¡ÂºÂ©m */
.mmu-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.mmu-item-title {
    font-size: 14px;
    color: #333333;
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mmu-price-text {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 6px;
}

.mmu-price-text span {
    font-size: 11px;
    color: #666666;
    font-weight: 400;
}

.mmu-moq-text {
    font-size: 13px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 9px;
}

.mmu-moq-text span {
    color: #888888;
    font-weight: 400;
}

.mmu-btn-contact {
    display: inline-block;
    width: fit-content;
    padding: 4px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background-color: #f7f7f7;
    color: #333333;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mmu-btn-contact:hover {
    background-color: #eeeeee;
    border-color: #cccccc;
}

/* Reponsive cho mÃƒÂ n hÃƒÂ¬nh nhÃ¡Â»Â */
@media (max-width: 850px) {
    .mmu-main-banner {
        flex-direction: column;
    }
    .mmu-category-side {
        width: 100%;
        gap: 15px;
    }
    .mmu-products-grid {
        grid-template-columns: 1fr;
    }
}

/***
 * 
 * Company About 
 * 
***/
/* Container bao ngoÃƒÂ i mÃƒÂ u xÃƒÂ¡m nhÃ¡ÂºÂ¡t */
.company-about-section {
  /*background-color: #f2f4f7;*/
  padding: 40px 20px;
  color: #333;
}

/* ThÃ¡ÂºÂ» chÃ¡Â»Â©a bÃ¡Â»â€˜ cÃ¡Â»Â¥c 2 cÃ¡Â»â„¢t chÃƒÂ­nh */
.company-about-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  background-color: #eef2f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

/* CÃ¡Â»â„¢t video bÃƒÂªn trÃƒÂ¡i */
.company-about-media {
  flex: 1;
  position: relative;
  background-color: #000;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-about-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* NÃƒÂºt Play dÃ¡ÂºÂ¡ng hÃƒÂ¬nh trÃƒÂ²n Ã„â€˜ÃƒÂ¨ lÃƒÂªn video */
.company-about-play-btn {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.company-about-play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.company-about-play-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

/* TrÃ¡ÂºÂ¡ng thÃƒÂ¡i Ã¡ÂºÂ©n nÃƒÂºt play khi Ã„â€˜ang phÃƒÂ¡t video */
.company-about-media.is-playing .company-about-play-btn {
  opacity: 0;
  pointer-events: none;
}

/* CÃ¡Â»â„¢t nÃ¡Â»â„¢i dung bÃƒÂªn phÃ¡ÂºÂ£i */
.company-about-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  background: #E6ECF2;
}

.company-about-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #1a1a1a;
}

.company-about-subtitle {
  font-size: 14px;
  color: #666;
}

.company-about-divider {
  width: 40px;
  height: 2px;
  background-color: #999;
  border: none;
  margin: 12px 0 20px 0;
}

/* Ã„ÂoÃ¡ÂºÂ¡n text cuÃ¡Â»â„¢n dÃ¡Â»Âc */
.company-about-scrollbox {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 15px;
  line-height: 1.6;
  font-size: 14px;
  color: #4a4a4a;
}

/* TÃƒÂ¹y chÃ¡Â»â€°nh thanh scrollbar nhÃ¡Â»Â gÃ¡Â»Ân giÃ¡Â»â€˜ng hÃƒÂ¬nh */
.company-about-scrollbox::-webkit-scrollbar {
  width: 5px;
}

.company-about-scrollbox::-webkit-scrollbar-track {
  background: #dcdcdc;
  border-radius: 4px;
}

.company-about-scrollbox::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

/* Responsive cho mÃƒÂ n hÃƒÂ¬nh thiÃ¡ÂºÂ¿t bÃ¡Â»â€¹ di Ã„â€˜Ã¡Â»â„¢ng */
@media (max-width: 768px) {
  .company-about-container {
    flex-direction: column;
  }
  .company-about-media {
    min-height: 240px;
  }
}

/* Ã¡ÂºÂ¨n nÃƒÂºt Play khi cÃƒÂ³ class .is-playing */
.company-about-media.is-playing .company-about-play-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Con trÃ¡Â»Â chuÃ¡Â»â„¢t dÃ¡ÂºÂ¡ng pointer khi di vÃƒÂ o khung video */
.company-about-media {
  cursor: pointer;
}

/***
 * 
 * company profile
 *
***/
/* Container tÃ¡Â»â€¢ng cÃƒÂ³ hÃƒÂ¬nh nÃ¡Â»Ân mÃ¡Â»Â tÃ¡Â»â€˜i phÃƒÂ­a sau */
.corp-profile-section {
  position: relative;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  padding: 60px 20px;
  color: #ffffff;
  font-family: Arial, sans-serif;
  overflow: hidden;
}

/* LÃ¡Â»â€ºp phÃ¡Â»Â§ Ã„â€˜en lÃƒÂ m mÃ¡Â»Â nÃ¡Â»Ân */
.corp-profile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 30, 0.75);
  z-index: 1;
}

/* KhÃ¡Â»â€˜i nÃ¡Â»â„¢i dung chÃƒÂ­nh */
.corp-profile-container {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}

/* TiÃƒÂªu Ã„â€˜Ã¡Â»Â */
.corp-profile-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.corp-profile-divider {
  width: 50px;
  height: 2px;
  background-color: #888;
  margin: 0 auto 25px auto;
}

/* KhÃ¡Â»â€˜i VÃ„Æ’n bÃ¡ÂºÂ£n Scroll */
.corp-profile-scrollbox {
  max-height: 180px;
  overflow-y: auto;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  padding-right: 15px;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.7;
  color: #d1d5db;
}

/* TÃƒÂ¹y chÃ¡Â»â€°nh thanh cuÃ¡Â»â„¢n Scrollbar */
.corp-profile-scrollbox::-webkit-scrollbar {
  width: 5px;
}
.corp-profile-scrollbox::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.corp-profile-scrollbox::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
}

/* --- KhÃ¡Â»â€˜i Slider 4 hÃƒÂ¬nh --- */
.corp-profile-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.corp-profile-slider-track-container {
  overflow: hidden;
  border-radius: 8px;
}

.corp-profile-slider-track {
  display: flex;
  gap: 15px;
  transition: transform 0.4s ease-in-out;
}

/* MÃ¡Â»â€”i thÃ¡ÂºÂ» hÃƒÂ¬nh Ã¡ÂºÂ£nh */
.corp-profile-card {
  flex: 0 0 calc((100% - 45px) / 4); /* HiÃ¡Â»Æ’n thÃ¡Â»â€¹ Ã„â€˜ÃƒÂºng 4 hÃƒÂ¬nh trÃƒÂªn 1 hÃƒÂ ng */
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  height: 160px;
}

.corp-profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.corp-profile-card:hover img {
  transform: scale(1.05);
  opacity: 1;
}

/* Huy hiÃ¡Â»â€¡u & NÃƒÂºt bÃ¡ÂºÂ¥m mÃ¡ÂºÂ«u Ã„â€˜ÃƒÂ¨ lÃƒÂªn Ã¡ÂºÂ£nh */
.corp-profile-card-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.3);
}

.corp-profile-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding-left: 3px;
}

/* --- NÃƒÂºt bÃ¡ÂºÂ¥m Prev/Next --- */
.corp-profile-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  
  /* Ã¡ÂºÂ¨n hoÃƒÂ n toÃƒÂ n mÃ¡ÂºÂ·c Ã„â€˜Ã¡Â»â€¹nh */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.corp-profile-prev-btn {
  left: -20px;
}

.corp-profile-next-btn {
  right: -20px;
}

.corp-profile-nav-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}

/* HIÃ¡Â»â€ U Ã¡Â»Â¨NG HOVER: Hover vÃƒÂ o slider wrapper mÃ¡Â»â€ºi hiÃ¡Â»â€¡n nÃƒÂºt bÃ¡ÂºÂ¥m cÃƒÂ³ sÃ¡ÂºÂµn class .is-visible */
.corp-profile-slider-wrapper:hover .corp-profile-nav-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Responsive cho mÃƒÂ n hÃƒÂ¬nh nhÃ¡Â»Â hÃ†Â¡n */
@media (max-width: 992px) {
  .corp-profile-card {
    flex: 0 0 calc((100% - 15px) / 2); /* HiÃ¡Â»â€¡n 2 hÃƒÂ¬nh */
  }
}

@media (max-width: 576px) {
  .corp-profile-card {
    flex: 0 0 100%; /* HiÃ¡Â»â€¡n 1 hÃƒÂ¬nh */
  }
}



/***
 * 
 * Authentication
 * 
***/
.supplier-info-global{
    /*background: #E6ECF2;*/
}
.supplier-info-wrapper {
    /*background-color: #F4F5F8;*/
    padding: 20px;
    color: #333333;
    font-size: 13px;
    line-height: 1.6;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
}

.supplier-section {
  margin-bottom: 20px;
}

.supplier-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 16px 0;
}

.supplier-grid-container {
  display: flex;
  gap: 40px;
}

.supplier-grid-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.supplier-info-item {
  display: flex;
  align-items: flex-start;
}

.supplier-label {
  font-weight: 600;
  color: #444444;
  white-space: nowrap;
  margin-right: 4px;
}

.supplier-value {
  color: #333333;
}

.supplier-links a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.supplier-links a:hover {
  text-decoration: underline;
  color: #004499;
}
.supplier-features-list {
  display: flex;
  gap: 40px;
  align-items: center;
}

.supplier-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333333;
  font-weight: 500;
}

.supplier-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666666;
}

/* Thanh nÃƒÂºt bÃ¡ÂºÂ¥m */
.supplier-action-bar {
  background-color: #dbe3ed;
  padding: 16px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

/* CÃ¡ÂºÂ¥u trÃƒÂºc nÃƒÂºt bÃ¡ÂºÂ¥m */
.supplier-btn {
  height: 38px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.supplier-btn-primary {
  background-color: #e54343;
  color: #ffffff;
}

.supplier-btn-primary:hover {
  background-color: #d03030;
}

.supplier-btn-secondary {
  background-color: #ffffff;
  color: #333333;
  border-color: #333333;
}

.supplier-btn-secondary:hover {
  background-color: #f5f5f5;
  border-color: #000000;
}

.supplier-btn-chat {
  gap: 8px;
}

.supplier-chat-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2.5px solid #0066cc;
  display: inline-block;
}
@media (max-width: 768px) {
  .supplier-grid-container {
    flex-direction: column;
    gap: 12px;
  }
  
  .supplier-action-bar {
    flex-direction: column;
    width: 100%;
  }

  .supplier-btn {
    width: 100%;
  }
}
/***
 * 
 * inquiry msg 
 * 
***/
.inquiry-msg-wrapper {
    padding: 0 20px;
    color: #333333;
    box-sizing: border-box;
}

.inquiry-msg-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
}

.leftsupp-block {
    width: 100%;
}

.sr-sendMsg-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 980px;
    margin: 0 auto;
}

.sr-sendMsg-row {
    display: flex;
    align-items: center;
}

.sr-sendMsg-row:nth-child(3) {
    align-items: flex-start;
}

.sr-sendMsg-label {
    width: 110px;
    text-align: right;
    padding-right: 12px;
    font-size: 13px;
    color: #333333;
    font-weight: 500;
    flex-shrink: 0;
    box-sizing: border-box;
}

.sr-sendMsg-label em {
    color: #e54343;
    font-style: normal;
    margin-right: 3px;
}

.sr-sendMsg-field {
    flex: 1;
    display: flex;
    align-items: center;
}

.sr-sendMsg-input {
    width: 100%;
    height: 34px;
    padding: 6px 10px;
    border: 1px solid #cccccc;
    border-radius: 2px;
    font-size: 13px;
    color: #333333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.sr-sendMsg-area {
    width: 100%;
    height: 120px;
    padding: 8px 10px;
    border: 1px solid #cccccc;
    border-radius: 2px;
    font-size: 13px;
    color: #333333;
    outline: none;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.sr-sendMsg-input:focus,
.sr-sendMsg-area:focus {
    border-color: #0066cc;
}

.sr-sendMsg-input::placeholder,
.sr-sendMsg-area::placeholder {
    color: #a0a0a0;
    font-size: 12px;
}

/* Avatar vÃƒÂ  TÃƒÂªn (Arrive / To) */
.sr-sendMsg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sr-sendMsg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sr-sendMsg-name p {
    font-size: 13px;
    color: #333333;
    font-weight: 500;
}

/* NÃƒÂºt bÃ¡ÂºÂ¥m Send */
.sr-sendMsg-row:last-child .sr-sendMsg-field {
  margin-left: 110px; /* ThÃ¡Â»Â¥t lÃƒÂ¹i vÃƒÂ o bÃ¡ÂºÂ±ng khoÃ¡ÂºÂ£ng rÃ¡Â»â„¢ng cÃ¡Â»Â§a Label */
}

.sr-sendMsg-btn {
  background-color: #e54343;
  color: #ffffff;
  border: none;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.sr-sendMsg-btn:hover {
  background-color: #d03030;
}

/* XÃƒÂ³a float cÃ…Â© nÃ¡ÂºÂ¿u cÃƒÂ³ */
.clearboth, .clearfix {
  clear: both;
}

/* Responsive cho mÃƒÂ n hÃƒÂ¬nh nhÃ¡Â»Â */
@media (max-width: 640px) {
  .sr-sendMsg-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .sr-sendMsg-label {
    width: 100%;
    text-align: left;
    margin-bottom: 5px;
  }
  
  .sr-sendMsg-row:last-child .sr-sendMsg-field {
    margin-left: 0;
  }
}
/***
 * 
 * Footer supplier
 * 
***/

/* Khung bao ngoÃƒÂ i phÃ¡ÂºÂ§n Footer vÃ¡Â»â€ºi mÃƒÂ u nÃ¡Â»Ân xÃƒÂ¡m nhÃ¡ÂºÂ¡t */
.mic-footer-wrapper {
  background-color: #e5e8ed;
  padding: 22px 15px 30px 15px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #666666;
  border-top: 1px solid #d5dadf;
  width: 100%;
  box-sizing: border-box;
}

/* Khung cÃ„Æ’n giÃ¡Â»Â¯a nÃ¡Â»â„¢i dung */
.mic-footer-container {
    max-width: 1440px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* DÃƒÂ²ng chÃ¡Â»Â©a cÃƒÂ¡c liÃƒÂªn kÃ¡ÂºÂ¿t */
.mic-footer-links-row,
.mic-footer-lang-row,
.mic-footer-copy-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    line-height: 1.6;
}

/* NhÃƒÂ£n cho ngÃƒÂ´n ngÃ¡Â»Â¯ */
.mic-footer-lang-label {
    color: #555555;
    margin-right: 5px;
    font-size: 13px;
}

/* DÃ¡ÂºÂ¥u gÃ¡ÂºÂ¡ch phÃƒÂ¢n cÃƒÂ¡ch giÃ¡Â»Â¯a cÃƒÂ¡c liÃƒÂªn kÃ¡ÂºÂ¿t */
.mic-footer-divider {
    color: #a0a0a0;
    margin: 0 6px;
    font-size: 10px;
}

.mic-footer-link {
    color: #555555;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 13px;
}

.mic-footer-link:hover {
    color: #0066cc;
    text-decoration: underline;
}

.mic-footer-copy-text {
    color: #666666;
    font-size: 13px;
}

@media (max-width: 768px) {
    .mic-footer-wrapper {
        padding: 15px 10px;
    }

    .mic-footer-divider {
        margin: 0 3px;
    }
}

/***
 * 
 * login success - hover show picture
 * 
***/
.company-banner {
    position: relative;
}

/* Khá»‘i nÃºt báº¥m náº±m á»Ÿ gÃ³c dÆ°á»›i bÃªn pháº£i banner */
.banner-upload-overlay {
    position: absolute;
    top: 12px;
    left: 15px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-in-out;
}

/* Khi di chuá»™t vÃ o khu vá»±c Banner thÃ¬ nÃºt má»›i hiá»‡n ra */
.company-banner:hover .banner-upload-overlay {
    opacity: 1;
    visibility: visible;
}

.btn-change-banner {
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-change-banner:hover {
    background: #2563eb;
    border-color: #2563eb;
}

/***
 * 
 * Featured_Products
 * 
***/


/* NÃºt LiÃªn há»‡ nhÃ  cung cáº¥p Ä‘áº·t thay tháº¿ cho giÃ¡ trong sáº£n pháº©m nhá» */
.btn-contact-supplier-small {
    display: inline-block;
    padding: 4px 10px;
    background-color: #ff6a00;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 12px;
    border-radius: 3px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(255, 106, 0, 0.2);
}

.product-card-small:hover .btn-contact-supplier-small {
    background-color: #e05d00;
}

/* NÃºt liÃªn há»‡ ná»•i báº­t trong Card lá»›n */
.btn-contact-supplier-highlight {
    display: inline-block;
    padding: 8px 16px;
    background-color: #ff6a00;
    color: #ffffff !important;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
}
/***
 * 
 * Banner Full MÃ n HÃ¬nh
 * 
***/

.supp-banner-full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 35px;
    background-color: #0f172a; /* Màu nền chờ tải ảnh */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.supp-banner-full img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center; /* Đảm bảo góc hình đẹp nhất luôn ở giữa */
    display: block;
    transition: transform 0.5s ease;
}

.product-grid-4cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* responsive */
@media (max-width: 992px) {
    .product-grid-4cols { grid-template-columns: repeat(3, 1fr); }
    .supp-banner-full img { height: 180px; }
}
@media (max-width: 768px) {
    .product-grid-4cols { grid-template-columns: repeat(2, 1fr); }
    .supp-banner-full img { height: 140px; }
}

/* áº¨n bá»›t sáº£n pháº©m dÆ° */
.sp-card.hidden {
    display: none !important;
}

/* Thiáº¿t Láº­p Tháº» Sáº£n Pháº©m */
.sp-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    padding: 10px;
}

.sp-card:hover {
    border-color: #ff6a00;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Tráº¡ng thÃ¡i Hover hiá»‡n chi tiáº¿t/nÃºt liÃªn há»‡ */
.sp-card .hover-details {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.sp-card:hover .hover-details {
    opacity: 1;
    visibility: visible;
}

/* NÃºt View More Ná»•i Báº­t */
.action-container {
    text-align: center;
    margin:0 0 20px 0;
}

.btn-view-more {
    padding: 10px 35px;
    background-color: #ffffff;
    color: #ff6a00;
    border: 1.5px solid #ff6a00;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-more:hover {
    background-color: #ff6a00;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(255, 106, 0, 0.3);
}

/* NÃºt liÃªn há»‡ thay tháº¿ vá»‹ trÃ­ GiÃ¡ */
.btn-contact-supplier-small {
    display: inline-block;
    padding: 5px 12px;
    background-color: #ff6a00;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 12px;
    border-radius: 4px;
    text-decoration: none;
}
a.editpage {
    display: inline-block;
    padding: 5px 12px;
    background-color: #ff6a00;
    color: #fff;
}
a.editpage:hover{
    color: #000 !important;
}
span.price-km {
    font-size: 15px !important;
    font-weight: bold !important;
    color: #d9534f !important;
}





/***
 * 
 * Metal Melting Unit
 * 
***/

.mmu-wrapper { font-family: Arial, sans-serif; margin: 20px 0; }
.mmu-btn-edit { background: #2563eb; color: #fff; border: none; padding: 8px 14px; border-radius: 4px; cursor: pointer; }
.mmu-btn-edit:hover { background: #1d4ed8; }

.mmu-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9999; justify-content: center; align-items: center; }
.mmu-modal-overlay.active { display: flex; }
.mmu-modal-content { background: #fff; width: 90%; max-width: 600px; border-radius: 8px; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.mmu-modal-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e5e7eb; padding-bottom: 10px; }
.mmu-modal-close { font-size: 24px; cursor: pointer; color: #6b7280; }

.mmu-catalog-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-bottom: 1px solid #f3f4f6; cursor: pointer; }
.mmu-catalog-item:hover { background: #f9fafb; }
.mmu-catalog-item img { width: 45px; height: 45px; object-fit: cover; border-radius: 4px; border: 1px solid #eee; }

.mmu-btn-cancel { background: #9ca3af; color: #fff; border: none; padding: 8px 16px; border-radius: 4px; cursor: pointer; }
.mmu-btn-save { background: #16a34a; color: #fff; border: none; padding: 8px 16px; border-radius: 4px; cursor: pointer; }




/* Khung chứa lưới 4 sản phẩm (2 cột x 2 hàng) */
.mmu-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
    flex: 1;
}

/* Thẻ card từng sản phẩm - Tăng chiều cao để chứa vừa ảnh 170px */
.mmu-card-item {
    display: flex;
    /*align-items: center;*/
    background: #ffffff;
    border-radius: 8px;
    padding: 12px;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    height: 194px; /* 170px ảnh + 24px padding top/bottom */
    box-sizing: border-box;
}

.mmu-card-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Thẻ chứa ảnh chuẩn kích thước 170x170px */
.mmu-card-thumb {
    width: 170px;
    height: 170px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: block;
}

/* Giữ tỉ lệ ảnh không bị méo/bể hình */
.mmu-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cắt tỉ lệ ảnh thông minh, chống vỡ/méo hình */
    object-position: center;
    transition: transform 0.3s ease;
}

.mmu-card-item:hover .mmu-card-thumb img {
    transform: scale(1.05);
}

/* Khung thông tin bên phải */
.mmu-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    /*height: 100%;*/
    min-width: 0;
    padding: 5px 0;
}

/* Tiêu đề sản phẩm (cho phép hiển thị tối đa 3-4 dòng) */
.mmu-card-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    max-height: 80px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mmu-card-title a {
    color: #222222;
    text-decoration: none;
    transition: color 0.2s;
}

.mmu-card-title a:hover {
    color: #e62e04;
}

/* Khu vực hiển thị giá */
.mmu-card-price {
    margin-top: 8px;
}

.mmu-price-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mmu-price-sale {
    color: #d92d20;
    font-weight: 700;
    font-size: 16px;
}

span.mmu-price-sale e {
    color: #111;
    font-size: 13px;
}

.mmu-price-old {
    color: #888888;
    font-size: 12px;
    text-decoration: line-through;
}

.mmu-price-main {
    color: #d92d20;
    font-weight: 700;
    font-size: 16px;
}

.mmu-price-contact {
    display: inline-block;
    color: #027a48;
    background-color: #ecfdf3;
    border: 1px solid #abef wire;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mmu-price-contact:hover {
    background-color: #027a48;
    color: #ffffff;
}

@media (max-width: 992px) {
    .mmu-products-grid {
        grid-template-columns: 1fr;
    }
}

.mmu-card-mod {
    color: #888888;
    font-size: 13px;
    margin-top: 10px;
}
span.mmu-unit {
    color: #111;
    font-size: 13px;
}

.ncc-tab {
    padding: 20px 20px 0px 20px;
    color: #333333;
    box-sizing: border-box;
}
.ncc-tab-body {
    /*background-color: #ffffff;*/
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);*/

}

.ncc-tab .ncc-tab-body .tabcontent-content {
    line-height: 27px;
}

/***
 * 
 * tab=profile
 * 
***/
.mainsupp-left {
    float: left;
    margin-right: 20px;
    min-height: 1px;
    width: 300px;
}
.mainsupp-right  {
    overflow: inherit;
    width: -moz-calc(100% - 300px - 20px);
    width: -webkit-calc(100% - 300px - 20px);
    width: calc(100% - 300px - 20px);
    float: left;
    padding-bottom: 50px;
}
.leftsupp-block {
    padding: 30px 29px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e9eef4;
    border-radius: 10px;
}
.titlesupp-nhom h2 {
    font-size: 18px;
    font-weight: normal !important;
    display: inline-block;
    vertical-align: middle;
    word-break: break-word;
    margin: 0;
}

.sr-side-proGroup-list {
    list-style: none;
    padding: 0;
    margin: 0 -30px;
}
.flex.items-flex, .items-info-verify {
    display: flex;
    gap: 10px;
    width: 100%;
}
.flex-40 {
    flex: 0 0 40%;
    overflow: hidden;
}
.flex-60 {
    flex: 0 0 60%;
}
.items-info-verify {
    font-size: 14px;
    margin-bottom: 15px;
}

.flex.items-flex, .items-info-verify {
    display: flex;
    gap: 10px;
    width: 100%;
}
.mar-bottom15{
    margin-bottom: 15px;
}
.flex.items-flex.mar-bottom15 .flex-25 {
    flex: 0 0 25%;
}
.flex-35 {
    flex: 0 0 35%;
    overflow: hidden;
    color: #888;
}
.flex-65 {
    padding: 0 10px;
}

.flex-25 .icon-yes2, .flex-35 .icon-yes2 {
    color: #00c88c;
    vertical-align: -2px;
    margin-right: 10px;
}
.flex-35 .ob-icon {
    font-family: "Mic-icon" !important;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    vertical-align: middle;
    text-decoration: none !important;
}
.flex-25 i.fa-check, 
.flex-35 i.fa-check {
    color: #00c88c;
    margin-right: 10px;
    font-size: 13px;
}
.ob-icon.icon-yes2::before {
    content: "\e900";
}
@media (min-width: 1440px) {
    .lang-bar-container,
    .featured-section .container,
    .category-section .container,
    .prodline-section .container,
    .corp-profile-slider-wrapper{
        padding: 0 !important;
    }

    .supplier-info-global {
        margin: 0 auto !important;
        max-width: 1440px;
        padding: 40px 20px;
    }
    .inquiry-msg-container{
        padding: 0px;
    }
    .z-container{
        padding: 0 !important;
    }

    .leftsupp-block {
        width: 97%;
        margin: 0 20px;
    }
}
.cat-suppmenu {
    margin-bottom: 15px;
    border-left: 4px solid #0066cc;
    padding-left: 10px;
}
.cat-suppmenu h3 {
    font-size: 20px;
}
.dropdown-menu.dropdown-about li,
.dropdown-menu.dropdown-help li {
    list-style: none;
}
section.company-about-section.mar-top20 {
    margin-top: 20px;
}
.marB0{
    margin-bottom: 0;
}
.mar-top20{
    margin-top: 20px;
}
span.xxx-level img {
    max-width: 80px;
}
.tabcontent-title{
    font-size: 18px;
}
.product-group-ncc {
    background: #fff;
    border-radius: 10px;
    padding: 20px 20px 10px 20px;
    margin-bottom: 20px;
}

/***
 * 
 * khung tông tab
 * 
***/
.ncc-global-tab {
    display: flex;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto; /* Căn giữa khung tổng 1440px */
    padding: 0;      /* Màn hình lớn padding = 0 */
    box-sizing: border-box;
    gap: 20px;
}

.ncctab-left {
    width: 300px;
    flex-shrink: 0;
}

.ncctab-right {
    flex: 1;
    min-width: 0;
}
@media (max-width: 1440px) {
    .ncc-global-tab {
        padding: 0 20px;
    }
}
.leftsupp-block {
    padding: 30px 29px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e9eef4;
}
.titlesupp-nhom {
    margin-bottom: 10px;
}
.titlesupp-nhom h2 {
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
    word-break: break-word;
    margin: 0;
}
.sr-side-proGroup-list li {
    position: relative;
}
.sr-side-proGroup-list li:hover {
    background: #e6ecf2;
}
.sr-side-proGroup-list li a {
    line-height: 21px;
    padding: 10px 0 10px 30px;
    color: #222;
    text-decoration: none;
    display: block;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.J-linkTo-comInfo {
    position: relative;
    display: flex;
    align-items: center;
    padding: 13px 15px;
    background: linear-gradient(90deg, #E6ECF2 -16%, rgba(236, 241, 245, 0.09) 105%);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    cursor: pointer;
    justify-content: flex-start;
    margin: 0 -30px;
}
.J-linkTo-comInfo .sr-com-logo {
    margin-right: 15px;
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 4px;
    background: #fff;
    font-size: 0;
    overflow: hidden;
    flex-shrink: 0;
}
.J-linkTo-comInfo .sr-com-logo img {
    max-width: 48px;
    width: 100%;
    max-height: 48px;
    vertical-align: middle;
}
.sr-com-info {
    width: 0;
    flex: 1;
}
.sr-comInfo-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.sr-comInfo-title {
    color: #222;
    font-size: 18px;
}
.sr-comInfo-wrappers {
    display: flex;
    align-items: center;
    margin-top: 5px;
}
.sr-comInfo-sign {
    display: flex;
    margin-top: unset;
}
.disprotent-line {
    position: relative;
    display: flex;
    padding: 5px 0;
    align-items: center;
}
.disprotent-line .icon-diamond {
    background: url(../images/icon-diamond.png) no-repeat;
    background-size: contain;
}
.disprotent-line .icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 3px;
    vertical-align: -5px;
}
.infocompany-body {
    padding: 15px 15px 0px;
    margin: 0 -30px;
}
.combody {
    display: flex;
    margin-bottom: 15px;
}
.contSupplier-pic {
    float: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #e6ecf2;
    margin-right: 15px;
}
.contSupplier-name {
    max-width: 200px;
    font-size: 20px;
    font-weight: 600;
    color: #222;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.contSupplier-position {
    margin-bottom: unset;
    font-size: 14px;
    color: #555;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
a.dispro-lhncc.toungle {
    border: 1.5px solid #e64545;
    display: block;
    color: #e64545;
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-radius: 22px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}
a.dispro-lhncc.toungle:hover {
    background: #e645451a;
    text-decoration: none;
}
p.content-desc {
    line-height: 25px;
}
.contSupplier-pic {
    float: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #e6ecf2;
    margin-right: 15px;
}
.contSupplier-pic img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}
.sign-item.disprotent-line img {
    max-width: 80px;
}
.tabcontent-content p {
    margin-bottom: 10px;
}

.lfex-lienhe {
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 5px 16px;
    font-size: 14px;
}
.lfex-lienhe .label,
.lfex-lienhe > span:first-child {
    flex: 0 0 20%;
    max-width: 20%;
    font-weight: 600;
    color: #475569;
}